PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / gpa-calculator / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/gpa-calculator/block.json

172 lines 2.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "$schema": "https://schemas.wp.org/trunk/block.json",
4 "name": "blockenberg/gpa-calculator",
5 "title": "GPA Calculator",
6 "category": "bkbg-calculators",
7 "icon": "awards",
8 "description": "Interactive GPA calculator for students. Enter courses, credit hours, and letter grades to calculate cumulative GPA on a 4.0 or custom scale.",
9 "keywords": [
10 "gpa",
11 "grade",
12 "calculator",
13 "student",
14 "college",
15 "university",
16 "academic",
17 "points"
18 ],
19 "textdomain": "blockenberg",
20 "editorScript": "bkbg-gpa-calculator-editor",
21 "style": "bkbg-gpa-calculator-style",
22 "viewScript": "bkbg-gpa-calculator-frontend",
23 "supports": {
24 "html": false,
25 "anchor": true,
26 "className": true,
27 "align": [
28 "wide",
29 "full"
30 ]
31 },
32 "attributes": {
33 "title": {
34 "type": "string",
35 "default": "GPA Calculator"
36 },
37 "subtitle": {
38 "type": "string",
39 "default": "Enter your courses, credits, and grades to calculate your GPA."
40 },
41 "showTitle": {
42 "type": "boolean",
43 "default": true
44 },
45 "showSubtitle": {
46 "type": "boolean",
47 "default": true
48 },
49 "scale": {
50 "type": "string",
51 "default": "4.0"
52 },
53 "showGradeClass": {
54 "type": "boolean",
55 "default": true
56 },
57 "showTotals": {
58 "type": "boolean",
59 "default": true
60 },
61 "showHelp": {
62 "type": "boolean",
63 "default": true
64 },
65 "defaultCourses": {
66 "type": "array",
67 "default": [
68 {
69 "name": "Mathematics",
70 "grade": "A",
71 "credits": 3
72 },
73 {
74 "name": "English",
75 "grade": "B+",
76 "credits": 3
77 },
78 {
79 "name": "Biology",
80 "grade": "A-",
81 "credits": 4
82 },
83 {
84 "name": "History",
85 "grade": "B",
86 "credits": 3
87 }
88 ]
89 },
90 "accentColor": {
91 "type": "string",
92 "default": "#6c3fb5"
93 },
94 "cardBg": {
95 "type": "string",
96 "default": "#ffffff"
97 },
98 "resultBg": {
99 "type": "string",
100 "default": "#f5f3ff"
101 },
102 "resultBorder": {
103 "type": "string",
104 "default": "#ede9fe"
105 },
106 "gpaColor": {
107 "type": "string",
108 "default": "#6c3fb5"
109 },
110 "tableHeaderBg": {
111 "type": "string",
112 "default": "#f9fafb"
113 },
114 "titleColor": {
115 "type": "string",
116 "default": "#1e1b4b"
117 },
118 "subtitleColor": {
119 "type": "string",
120 "default": "#6b7280"
121 },
122 "labelColor": {
123 "type": "string",
124 "default": "#374151"
125 },
126 "sectionBg": {
127 "type": "string",
128 "default": ""
129 },
130 "titleSize": {
131 "type": "number",
132 "default": 28
133 },
134 "gpaSize": {
135 "type": "number",
136 "default": 56
137 },
138 "cardRadius": {
139 "type": "number",
140 "default": 16
141 },
142 "inputRadius": {
143 "type": "number",
144 "default": 8
145 },
146 "maxWidth": {
147 "type": "number",
148 "default": 680
149 },
150 "paddingTop": {
151 "type": "number",
152 "default": 60
153 },
154 "paddingBottom": {
155 "type": "number",
156 "default": 60
157 },
158 "titleFontWeight": {
159 "type": "string",
160 "default": "700"
161 },
162 "typoTitle": {
163 "type": "object",
164 "default": {}
165 },
166 "typoGpa": {
167 "type": "object",
168 "default": {}
169 }
170 }
171 }
172