PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.11
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.11
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 / tip-calculator / block.json

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

180 lines 4.3 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/tip-calculator",
5 "title": "Tip Calculator",
6 "category": "bkbg-calculators",
7 "icon": "tickets-alt",
8 "description": "Interactive bill, tip and split calculator. Enter the bill amount, choose a tip percentage with quick preset buttons, split by number of people, and instantly see total and per-person amounts.",
9 "keywords": [
10 "tip",
11 "bill",
12 "gratuity",
13 "split",
14 "calculator",
15 "restaurant",
16 "dining"
17 ],
18 "textdomain": "blockenberg",
19 "editorScript": "bkbg-tip-calculator-editor",
20 "style": "bkbg-tip-calculator-style",
21 "viewScript": "bkbg-tip-calculator-frontend",
22 "supports": {
23 "html": false,
24 "anchor": true,
25 "className": true,
26 "align": [
27 "wide",
28 "full"
29 ]
30 },
31 "attributes": {
32 "title": {
33 "type": "string",
34 "default": "Tip Calculator"
35 },
36 "showTitle": {
37 "type": "boolean",
38 "default": true
39 },
40 "subtitle": {
41 "type": "string",
42 "default": "Calculate tip and split the bill with ease."
43 },
44 "showSubtitle": {
45 "type": "boolean",
46 "default": true
47 },
48 "currency": {
49 "type": "string",
50 "default": "$"
51 },
52 "currencyPos": {
53 "type": "string",
54 "default": "before"
55 },
56 "defaultBill": {
57 "type": "number",
58 "default": 50
59 },
60 "defaultTip": {
61 "type": "number",
62 "default": 15
63 },
64 "defaultPeople": {
65 "type": "number",
66 "default": 2
67 },
68 "quickTips": {
69 "type": "array",
70 "default": [
71 10,
72 15,
73 18,
74 20,
75 25
76 ]
77 },
78 "showSplitter": {
79 "type": "boolean",
80 "default": true
81 },
82 "showPerPerson": {
83 "type": "boolean",
84 "default": true
85 },
86 "showTipAmount": {
87 "type": "boolean",
88 "default": true
89 },
90 "showTotal": {
91 "type": "boolean",
92 "default": true
93 },
94 "allowCustomTip": {
95 "type": "boolean",
96 "default": true
97 },
98 "accentColor": {
99 "type": "string",
100 "default": "#6c3fb5"
101 },
102 "quickBtnBg": {
103 "type": "string",
104 "default": "#f3f4f6"
105 },
106 "quickBtnColor": {
107 "type": "string",
108 "default": "#374151"
109 },
110 "activeBtnBg": {
111 "type": "string",
112 "default": "#6c3fb5"
113 },
114 "activeBtnColor": {
115 "type": "string",
116 "default": "#ffffff"
117 },
118 "resultBg": {
119 "type": "string",
120 "default": "#f5f3ff"
121 },
122 "resultBorder": {
123 "type": "string",
124 "default": "#ede9fe"
125 },
126 "cardBg": {
127 "type": "string",
128 "default": "#ffffff"
129 },
130 "titleColor": {
131 "type": "string",
132 "default": "#1e1b4b"
133 },
134 "subtitleColor": {
135 "type": "string",
136 "default": "#6b7280"
137 },
138 "labelColor": {
139 "type": "string",
140 "default": "#374151"
141 },
142 "resultNumColor": {
143 "type": "string",
144 "default": "#6c3fb5"
145 },
146 "bgColor": {
147 "type": "string",
148 "default": ""
149 },
150 "titleTypo": {
151 "type": "object",
152 "default": {}
153 },
154 "resultTypo": {
155 "type": "object",
156 "default": {}
157 },
158 "cardRadius": {
159 "type": "number",
160 "default": 16
161 },
162 "btnRadius": {
163 "type": "number",
164 "default": 8
165 },
166 "maxWidth": {
167 "type": "number",
168 "default": 520
169 },
170 "paddingTop": {
171 "type": "number",
172 "default": 60
173 },
174 "paddingBottom": {
175 "type": "number",
176 "default": 60
177 }
178 }
179 }
180