@lowdefy/blocks-antd 5.6.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/dist/TagPillRow.js +88 -0
  2. package/dist/blocks/Affix/gallery.yaml +399 -0
  3. package/dist/blocks/Affix/tests/Affix.e2e.yaml +72 -0
  4. package/dist/blocks/Affix/tests.yaml +29 -0
  5. package/dist/blocks/Alert/gallery.yaml +701 -0
  6. package/dist/blocks/Alert/tests/Alert.e2e.yaml +161 -0
  7. package/dist/blocks/Alert/tests.yaml +261 -0
  8. package/dist/blocks/AutoComplete/gallery.yaml +713 -0
  9. package/dist/blocks/AutoComplete/tests/AutoComplete.e2e.yaml +330 -0
  10. package/dist/blocks/AutoComplete/tests.yaml +178 -0
  11. package/dist/blocks/Avatar/gallery.yaml +1037 -0
  12. package/dist/blocks/Avatar/tests/Avatar.e2e.yaml +125 -0
  13. package/dist/blocks/Avatar/tests.yaml +76 -0
  14. package/dist/blocks/Badge/gallery.yaml +1090 -0
  15. package/dist/blocks/Badge/tests/Badge.e2e.yaml +195 -0
  16. package/dist/blocks/Badge/tests.yaml +91 -0
  17. package/dist/blocks/Breadcrumb/gallery.yaml +484 -0
  18. package/dist/blocks/Breadcrumb/tests/Breadcrumb.e2e.yaml +165 -0
  19. package/dist/blocks/Breadcrumb/tests.yaml +106 -0
  20. package/dist/blocks/Button/gallery.yaml +718 -0
  21. package/dist/blocks/Button/tests/Button.e2e.yaml +246 -0
  22. package/dist/blocks/Button/tests.yaml +104 -0
  23. package/dist/blocks/ButtonSelector/gallery.yaml +891 -0
  24. package/dist/blocks/ButtonSelector/tests/ButtonSelector.e2e.yaml +188 -0
  25. package/dist/blocks/ButtonSelector/tests.yaml +167 -0
  26. package/dist/blocks/Calendar/gallery.yaml +128 -0
  27. package/dist/blocks/Calendar/tests/Calendar.e2e.yaml +136 -0
  28. package/dist/blocks/Calendar/tests.yaml +50 -0
  29. package/dist/blocks/Card/gallery.yaml +1035 -0
  30. package/dist/blocks/Card/tests/Card.e2e.yaml +209 -0
  31. package/dist/blocks/Card/tests.yaml +75 -0
  32. package/dist/blocks/Carousel/gallery.yaml +1971 -0
  33. package/dist/blocks/Carousel/tests/Carousel.e2e.yaml +211 -0
  34. package/dist/blocks/Carousel/tests.yaml +117 -0
  35. package/dist/blocks/CheckboxSelector/gallery.yaml +781 -0
  36. package/dist/blocks/CheckboxSelector/tests/CheckboxSelector.e2e.yaml +272 -0
  37. package/dist/blocks/CheckboxSelector/tests.yaml +325 -0
  38. package/dist/blocks/CheckboxSwitch/gallery.yaml +457 -0
  39. package/dist/blocks/CheckboxSwitch/tests/CheckboxSwitch.e2e.yaml +126 -0
  40. package/dist/blocks/CheckboxSwitch/tests.yaml +96 -0
  41. package/dist/blocks/Collapse/gallery.yaml +1079 -0
  42. package/dist/blocks/Collapse/tests/Collapse.e2e.yaml +206 -0
  43. package/dist/blocks/Collapse/tests.yaml +265 -0
  44. package/dist/blocks/ColorSelector/gallery.yaml +807 -0
  45. package/dist/blocks/ColorSelector/tests/ColorSelector.e2e.yaml +77 -0
  46. package/dist/blocks/ColorSelector/tests.yaml +84 -0
  47. package/dist/blocks/ConfigProvider/gallery.yaml +1003 -0
  48. package/dist/blocks/ConfigProvider/tests.yaml +62 -0
  49. package/dist/blocks/ConfirmModal/gallery.yaml +1043 -0
  50. package/dist/blocks/ConfirmModal/tests/ConfirmModal.e2e.yaml +410 -0
  51. package/dist/blocks/ConfirmModal/tests.yaml +95 -0
  52. package/dist/blocks/Content/gallery.yaml +528 -0
  53. package/dist/blocks/Content/tests/Content.e2e.yaml +71 -0
  54. package/dist/blocks/Content/tests.yaml +42 -0
  55. package/dist/blocks/ControlledList/ControlledList.js +1 -1
  56. package/dist/blocks/ControlledList/gallery.yaml +481 -0
  57. package/dist/blocks/ControlledList/{style.module.css → style.css} +3 -3
  58. package/dist/blocks/ControlledList/tests/ControlledList.e2e.yaml +161 -0
  59. package/dist/blocks/ControlledList/tests.yaml +57 -0
  60. package/dist/blocks/DateRangeSelector/DateRangeSelector.js +7 -0
  61. package/dist/blocks/DateRangeSelector/e2e.js +28 -2
  62. package/dist/blocks/DateRangeSelector/gallery.yaml +858 -0
  63. package/dist/blocks/DateRangeSelector/meta.js +2 -0
  64. package/dist/blocks/DateRangeSelector/tests/DateRangeSelector.e2e.yaml +204 -0
  65. package/dist/blocks/DateRangeSelector/tests.yaml +129 -0
  66. package/dist/blocks/DateSelector/DateSelector.js +6 -0
  67. package/dist/blocks/DateSelector/e2e.js +28 -2
  68. package/dist/blocks/DateSelector/gallery.yaml +691 -0
  69. package/dist/blocks/DateSelector/meta.js +6 -0
  70. package/dist/blocks/DateSelector/tests/DateSelector.e2e.yaml +229 -0
  71. package/dist/blocks/DateSelector/tests.yaml +117 -0
  72. package/dist/blocks/DateTimeSelector/DateTimeSelector.js +7 -0
  73. package/dist/blocks/DateTimeSelector/e2e.js +26 -2
  74. package/dist/blocks/DateTimeSelector/gallery.yaml +770 -0
  75. package/dist/blocks/DateTimeSelector/meta.js +2 -0
  76. package/dist/blocks/DateTimeSelector/tests/DateTimeSelector.e2e.yaml +163 -0
  77. package/dist/blocks/DateTimeSelector/tests.yaml +140 -0
  78. package/dist/blocks/Descriptions/gallery.yaml +839 -0
  79. package/dist/blocks/Descriptions/tests/Descriptions.e2e.yaml +143 -0
  80. package/dist/blocks/Descriptions/tests.yaml +256 -0
  81. package/dist/blocks/Divider/gallery.yaml +375 -0
  82. package/dist/blocks/Divider/tests/Divider.e2e.yaml +107 -0
  83. package/dist/blocks/Divider/tests.yaml +58 -0
  84. package/dist/blocks/Drawer/gallery.yaml +1257 -0
  85. package/dist/blocks/Drawer/tests/Drawer.e2e.yaml +562 -0
  86. package/dist/blocks/Drawer/tests.yaml +80 -0
  87. package/dist/blocks/DropdownButton/gallery.yaml +606 -0
  88. package/dist/blocks/DropdownButton/tests/DropdownButton.e2e.yaml +243 -0
  89. package/dist/blocks/DropdownMenu/gallery.yaml +578 -0
  90. package/dist/blocks/DropdownMenu/tests/DropdownMenu.e2e.yaml +267 -0
  91. package/dist/blocks/Flex/gallery.yaml +1416 -0
  92. package/dist/blocks/Flex/tests/Flex.e2e.yaml +95 -0
  93. package/dist/blocks/Flex/tests.yaml +92 -0
  94. package/dist/blocks/FloatButton/gallery.yaml +518 -0
  95. package/dist/blocks/FloatButton/tests/FloatButton.e2e.yaml +73 -0
  96. package/dist/blocks/FloatButton/tests.yaml +59 -0
  97. package/dist/blocks/Footer/gallery.yaml +355 -0
  98. package/dist/blocks/Footer/tests/Footer.e2e.yaml +70 -0
  99. package/dist/blocks/Footer/tests.yaml +28 -0
  100. package/dist/blocks/Header/gallery.yaml +249 -0
  101. package/dist/blocks/Header/tests/Header.e2e.yaml +77 -0
  102. package/dist/blocks/Header/tests.yaml +36 -0
  103. package/dist/blocks/Label/Label.js +1 -1
  104. package/dist/blocks/Label/gallery.yaml +762 -0
  105. package/dist/blocks/Label/{style.module.css → style.css} +28 -28
  106. package/dist/blocks/Label/tests/Label.e2e.yaml +247 -0
  107. package/dist/blocks/Label/tests.yaml +212 -0
  108. package/dist/blocks/Layout/gallery.yaml +548 -0
  109. package/dist/blocks/Layout/tests/Layout.e2e.yaml +86 -0
  110. package/dist/blocks/Layout/tests.yaml +28 -0
  111. package/dist/blocks/ListSelector/gallery.yaml +223 -0
  112. package/dist/blocks/Masonry/gallery.yaml +989 -0
  113. package/dist/blocks/Masonry/tests/Masonry.e2e.yaml +128 -0
  114. package/dist/blocks/Masonry/tests.yaml +42 -0
  115. package/dist/blocks/MasonryList/gallery.yaml +224 -0
  116. package/dist/blocks/MasonryList/tests/MasonryList.e2e.yaml +55 -0
  117. package/dist/blocks/MasonryList/tests.yaml +42 -0
  118. package/dist/blocks/Menu/gallery.yaml +974 -0
  119. package/dist/blocks/Menu/tests/Menu.e2e.yaml +484 -0
  120. package/dist/blocks/Menu/tests.yaml +1053 -0
  121. package/dist/blocks/Message/gallery.yaml +860 -0
  122. package/dist/blocks/Message/tests/Message.e2e.yaml +246 -0
  123. package/dist/blocks/Message/tests.yaml +54 -0
  124. package/dist/blocks/MobileMenu/gallery.yaml +1172 -0
  125. package/dist/blocks/MobileMenu/tests/MobileMenu.e2e.yaml +314 -0
  126. package/dist/blocks/MobileMenu/tests.yaml +359 -0
  127. package/dist/blocks/Modal/gallery.yaml +1039 -0
  128. package/dist/blocks/Modal/tests/Modal.e2e.yaml +493 -0
  129. package/dist/blocks/Modal/tests.yaml +75 -0
  130. package/dist/blocks/MonthSelector/MonthSelector.js +6 -0
  131. package/dist/blocks/MonthSelector/e2e.js +26 -2
  132. package/dist/blocks/MonthSelector/gallery.yaml +687 -0
  133. package/dist/blocks/MonthSelector/meta.js +6 -0
  134. package/dist/blocks/MonthSelector/tests/MonthSelector.e2e.yaml +167 -0
  135. package/dist/blocks/MonthSelector/tests.yaml +124 -0
  136. package/dist/blocks/MultipleSelector/gallery.yaml +1245 -0
  137. package/dist/blocks/MultipleSelector/tests/MultipleSelector.e2e.yaml +445 -0
  138. package/dist/blocks/MultipleSelector/tests.yaml +201 -0
  139. package/dist/blocks/Notification/gallery.yaml +1376 -0
  140. package/dist/blocks/Notification/tests/Notification.e2e.yaml +362 -0
  141. package/dist/blocks/Notification/tests.yaml +97 -0
  142. package/dist/blocks/NumberInput/gallery.yaml +753 -0
  143. package/dist/blocks/NumberInput/tests/NumberInput.e2e.yaml +228 -0
  144. package/dist/blocks/NumberInput/tests.yaml +116 -0
  145. package/dist/blocks/PageHeaderMenu/PageHeaderMenu.js +1 -1
  146. package/dist/blocks/PageHeaderMenu/gallery.yaml +480 -0
  147. package/dist/blocks/PageHeaderMenu/tests/PageHeaderMenu.e2e.yaml +110 -0
  148. package/dist/blocks/PageHeaderMenu/tests.yaml +173 -0
  149. package/dist/blocks/PageSidebarLayout/PageSidebarLayout.js +10 -1
  150. package/dist/blocks/PageSidebarLayout/gallery.yaml +302 -0
  151. package/dist/blocks/PageSidebarLayout/meta.js +1 -0
  152. package/dist/blocks/PageSidebarLayout/tests/PageSidebarLayout.e2e.yaml +216 -0
  153. package/dist/blocks/PageSidebarLayout/tests.yaml +174 -0
  154. package/dist/blocks/PageSiderMenu/PageSiderMenu.js +1 -1
  155. package/dist/blocks/PageSiderMenu/gallery.yaml +516 -0
  156. package/dist/blocks/PageSiderMenu/tests/PageSiderMenu.e2e.yaml +175 -0
  157. package/dist/blocks/PageSiderMenu/tests.yaml +211 -0
  158. package/dist/blocks/Pagination/gallery.yaml +503 -0
  159. package/dist/blocks/Pagination/tests/Pagination.e2e.yaml +159 -0
  160. package/dist/blocks/Pagination/tests.yaml +80 -0
  161. package/dist/blocks/Paragraph/gallery.yaml +458 -0
  162. package/dist/blocks/Paragraph/tests/Paragraph.e2e.yaml +153 -0
  163. package/dist/blocks/Paragraph/tests.yaml +176 -0
  164. package/dist/blocks/ParagraphInput/gallery.yaml +1483 -0
  165. package/dist/blocks/ParagraphInput/tests/ParagraphInput.e2e.yaml +189 -0
  166. package/dist/blocks/ParagraphInput/tests.yaml +163 -0
  167. package/dist/blocks/PasswordInput/gallery.yaml +420 -0
  168. package/dist/blocks/PasswordInput/tests/PasswordInput.e2e.yaml +188 -0
  169. package/dist/blocks/PasswordInput/tests.yaml +78 -0
  170. package/dist/blocks/PhoneNumberInput/gallery.yaml +677 -0
  171. package/dist/blocks/PhoneNumberInput/tests/PhoneNumberInput.e2e.yaml +279 -0
  172. package/dist/blocks/PhoneNumberInput/tests.yaml +25 -0
  173. package/dist/blocks/Popover/gallery.yaml +1301 -0
  174. package/dist/blocks/Popover/tests/Popover.e2e.yaml +249 -0
  175. package/dist/blocks/Popover/tests.yaml +105 -0
  176. package/dist/blocks/Progress/gallery.yaml +772 -0
  177. package/dist/blocks/Progress/tests/Progress.e2e.yaml +167 -0
  178. package/dist/blocks/Progress/tests.yaml +114 -0
  179. package/dist/blocks/QRCode/gallery.yaml +492 -0
  180. package/dist/blocks/QRCode/tests/QRCode.e2e.yaml +66 -0
  181. package/dist/blocks/QRCode/tests.yaml +113 -0
  182. package/dist/blocks/RadioSelector/gallery.yaml +816 -0
  183. package/dist/blocks/RadioSelector/tests/RadioSelector.e2e.yaml +269 -0
  184. package/dist/blocks/RadioSelector/tests.yaml +339 -0
  185. package/dist/blocks/RatingSlider/gallery.yaml +627 -0
  186. package/dist/blocks/RatingSlider/tests/RatingSlider.e2e.yaml +188 -0
  187. package/dist/blocks/RatingSlider/tests.yaml +116 -0
  188. package/dist/blocks/Result/gallery.yaml +925 -0
  189. package/dist/blocks/Result/tests/Result.e2e.yaml +126 -0
  190. package/dist/blocks/Result/tests.yaml +75 -0
  191. package/dist/blocks/Search/Search.js +1 -1
  192. package/dist/blocks/Search/SearchModal.js +18 -9
  193. package/dist/blocks/Search/gallery.yaml +170 -0
  194. package/dist/blocks/Search/meta.js +2 -1
  195. package/dist/blocks/Search/{style.module.css → style.css} +19 -12
  196. package/dist/blocks/Search/tests/Search.e2e.yaml +125 -0
  197. package/dist/blocks/Search/useSearchIndex.js +24 -2
  198. package/dist/blocks/SegmentedSelector/gallery.yaml +725 -0
  199. package/dist/blocks/SegmentedSelector/tests/SegmentedSelector.e2e.yaml +115 -0
  200. package/dist/blocks/SegmentedSelector/tests.yaml +141 -0
  201. package/dist/blocks/Selector/gallery.yaml +1055 -0
  202. package/dist/blocks/Selector/tests/Selector.e2e.yaml +427 -0
  203. package/dist/blocks/Selector/tests.yaml +196 -0
  204. package/dist/blocks/Sider/gallery.yaml +994 -0
  205. package/dist/blocks/Sider/tests/Sider.e2e.yaml +162 -0
  206. package/dist/blocks/Sider/tests.yaml +20 -0
  207. package/dist/blocks/Slider/gallery.yaml +600 -0
  208. package/dist/blocks/Slider/tests/Slider.e2e.yaml +190 -0
  209. package/dist/blocks/Slider/tests.yaml +68 -0
  210. package/dist/blocks/Splitter/gallery.yaml +1511 -0
  211. package/dist/blocks/Splitter/tests/Splitter.e2e.yaml +114 -0
  212. package/dist/blocks/Splitter/tests.yaml +79 -0
  213. package/dist/blocks/Statistic/gallery.yaml +460 -0
  214. package/dist/blocks/Statistic/tests/Statistic.e2e.yaml +137 -0
  215. package/dist/blocks/Statistic/tests.yaml +77 -0
  216. package/dist/blocks/Steps/gallery.yaml +550 -0
  217. package/dist/blocks/Switch/gallery.yaml +502 -0
  218. package/dist/blocks/Switch/tests/Switch.e2e.yaml +132 -0
  219. package/dist/blocks/Switch/tests.yaml +87 -0
  220. package/dist/blocks/Tabs/gallery.yaml +1353 -0
  221. package/dist/blocks/Tabs/tests/Tabs.e2e.yaml +370 -0
  222. package/dist/blocks/Tabs/tests.yaml +349 -0
  223. package/dist/blocks/Tag/gallery.yaml +598 -0
  224. package/dist/blocks/Tag/tests/Tag.e2e.yaml +173 -0
  225. package/dist/blocks/Tag/tests.yaml +51 -0
  226. package/dist/blocks/TagMultipleSelector/TagMultipleSelector.js +53 -0
  227. package/dist/blocks/TagMultipleSelector/e2e.js +36 -0
  228. package/dist/blocks/TagMultipleSelector/gallery.yaml +70 -0
  229. package/dist/blocks/TagMultipleSelector/meta.js +91 -0
  230. package/dist/blocks/TagMultipleSelector/tests/TagMultipleSelector.e2e.yaml +93 -0
  231. package/dist/blocks/TagSelector/TagSelector.js +49 -0
  232. package/dist/blocks/TagSelector/e2e.js +36 -0
  233. package/dist/blocks/TagSelector/gallery.yaml +70 -0
  234. package/dist/blocks/TagSelector/meta.js +91 -0
  235. package/dist/blocks/TagSelector/tests/TagSelector.e2e.yaml +93 -0
  236. package/dist/blocks/TextArea/gallery.yaml +618 -0
  237. package/dist/blocks/TextArea/tests/TextArea.e2e.yaml +218 -0
  238. package/dist/blocks/TextArea/tests.yaml +100 -0
  239. package/dist/blocks/TextInput/gallery.yaml +560 -0
  240. package/dist/blocks/TextInput/tests/TextInput.e2e.yaml +287 -0
  241. package/dist/blocks/TextInput/tests.yaml +114 -0
  242. package/dist/blocks/TimelineList/gallery.yaml +431 -0
  243. package/dist/blocks/TimelineList/tests/TimelineList.e2e.yaml +244 -0
  244. package/dist/blocks/TimelineList/tests.yaml +251 -0
  245. package/dist/blocks/Title/gallery.yaml +483 -0
  246. package/dist/blocks/Title/tests/Title.e2e.yaml +180 -0
  247. package/dist/blocks/Title/tests.yaml +175 -0
  248. package/dist/blocks/TitleInput/gallery.yaml +1006 -0
  249. package/dist/blocks/TitleInput/tests/TitleInput.e2e.yaml +195 -0
  250. package/dist/blocks/TitleInput/tests.yaml +181 -0
  251. package/dist/blocks/Tooltip/gallery.yaml +1214 -0
  252. package/dist/blocks/Tooltip/tests/Tooltip.e2e.yaml +195 -0
  253. package/dist/blocks/Tooltip/tests.yaml +92 -0
  254. package/dist/blocks/Tour/gallery.yaml +2305 -0
  255. package/dist/blocks/Tour/tests/Tour.e2e.yaml +90 -0
  256. package/dist/blocks/Tour/tests.yaml +151 -0
  257. package/dist/blocks/TreeInput/gallery.yaml +78 -0
  258. package/dist/blocks/TreeInput/tests/TreeInput.e2e.yaml +139 -0
  259. package/dist/blocks/TreeInput/tests.yaml +140 -0
  260. package/dist/blocks/TreeMultipleSelector/gallery.yaml +67 -0
  261. package/dist/blocks/TreeSelector/gallery.yaml +81 -0
  262. package/dist/blocks/Watermark/gallery.yaml +479 -0
  263. package/dist/blocks/Watermark/tests/Watermark.e2e.yaml +62 -0
  264. package/dist/blocks/Watermark/tests.yaml +86 -0
  265. package/dist/blocks/WeekSelector/WeekSelector.js +6 -0
  266. package/dist/blocks/WeekSelector/e2e.js +26 -2
  267. package/dist/blocks/WeekSelector/gallery.yaml +589 -0
  268. package/dist/blocks/WeekSelector/meta.js +6 -0
  269. package/dist/blocks/WeekSelector/tests/WeekSelector.e2e.yaml +154 -0
  270. package/dist/blocks/WeekSelector/tests.yaml +122 -0
  271. package/dist/blocks.js +2 -0
  272. package/dist/disabledDate.js +91 -19
  273. package/dist/e2e.js +2 -0
  274. package/dist/getPresets.js +151 -0
  275. package/dist/getTagColor.js +44 -0
  276. package/dist/getTagSelectorOptions.js +30 -0
  277. package/dist/metas.js +2 -0
  278. package/dist/pickerPresetsStyle.css +26 -0
  279. package/dist/schemas/disabledDates.js +6 -2
  280. package/dist/schemas/index.js +1 -0
  281. package/dist/schemas/presets.js +111 -0
  282. package/dist/tagSelectorStyle.css +68 -0
  283. package/package.json +13 -13
@@ -0,0 +1,718 @@
1
+ # Copyright 2020-2026 Lowdefy, Inc
2
+
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ - title: Variants
16
+ blocks:
17
+ - id: variant_solid
18
+ type: Button
19
+ layout:
20
+ flex: 0 0 auto
21
+ properties:
22
+ title: solid
23
+ color: primary
24
+ variant: solid
25
+ - id: variant_outlined
26
+ type: Button
27
+ layout:
28
+ flex: 0 0 auto
29
+ properties:
30
+ title: outlined
31
+ color: primary
32
+ variant: outlined
33
+ - id: variant_dashed
34
+ type: Button
35
+ layout:
36
+ flex: 0 0 auto
37
+ properties:
38
+ title: dashed
39
+ color: primary
40
+ variant: dashed
41
+ - id: variant_filled
42
+ type: Button
43
+ layout:
44
+ flex: 0 0 auto
45
+ properties:
46
+ title: filled
47
+ color: primary
48
+ variant: filled
49
+ - id: variant_text
50
+ type: Button
51
+ layout:
52
+ flex: 0 0 auto
53
+ properties:
54
+ title: text
55
+ color: primary
56
+ variant: text
57
+ - id: variant_link
58
+ type: Button
59
+ layout:
60
+ flex: 0 0 auto
61
+ properties:
62
+ title: link
63
+ color: primary
64
+ variant: link
65
+
66
+ - title: Colors
67
+ blocks:
68
+ - id: colors_preset_row
69
+ type: Box
70
+ layout:
71
+ gap: 6
72
+ justify: flex-start
73
+ blocks:
74
+ - id: color_primary
75
+ type: Button
76
+ layout:
77
+ flex: 0 0 auto
78
+ properties:
79
+ title: primary
80
+ color: primary
81
+ variant: solid
82
+ size: small
83
+ - id: color_danger
84
+ type: Button
85
+ layout:
86
+ flex: 0 0 auto
87
+ properties:
88
+ title: danger
89
+ color: danger
90
+ variant: solid
91
+ size: small
92
+ - id: color_blue
93
+ type: Button
94
+ layout:
95
+ flex: 0 0 auto
96
+ properties:
97
+ title: blue
98
+ color: blue
99
+ variant: solid
100
+ size: small
101
+ - id: color_green
102
+ type: Button
103
+ layout:
104
+ flex: 0 0 auto
105
+ properties:
106
+ title: green
107
+ color: green
108
+ variant: solid
109
+ size: small
110
+ - id: color_purple
111
+ type: Button
112
+ layout:
113
+ flex: 0 0 auto
114
+ properties:
115
+ title: purple
116
+ color: purple
117
+ variant: solid
118
+ size: small
119
+ - id: colors_hex_row
120
+ type: Box
121
+ layout:
122
+ gap: 6
123
+ justify: flex-start
124
+ blocks:
125
+ - id: hex_coral
126
+ type: Button
127
+ layout:
128
+ flex: 0 0 auto
129
+ properties:
130
+ title: '#ff6b6b'
131
+ color: '#ff6b6b'
132
+ variant: solid
133
+ size: small
134
+ - id: hex_teal
135
+ type: Button
136
+ layout:
137
+ flex: 0 0 auto
138
+ properties:
139
+ title: '#20c997'
140
+ color: '#20c997'
141
+ variant: solid
142
+ size: small
143
+ - id: hex_indigo
144
+ type: Button
145
+ layout:
146
+ flex: 0 0 auto
147
+ properties:
148
+ title: '#4c6ef5'
149
+ color: '#4c6ef5'
150
+ variant: solid
151
+ size: small
152
+ - id: colors_outlined_row
153
+ type: Box
154
+ layout:
155
+ gap: 6
156
+ justify: flex-start
157
+ blocks:
158
+ - id: co_primary
159
+ type: Button
160
+ layout:
161
+ flex: 0 0 auto
162
+ properties:
163
+ title: primary
164
+ color: primary
165
+ variant: outlined
166
+ size: small
167
+ - id: co_danger
168
+ type: Button
169
+ layout:
170
+ flex: 0 0 auto
171
+ properties:
172
+ title: danger
173
+ color: danger
174
+ variant: outlined
175
+ size: small
176
+ - id: co_hex_pink
177
+ type: Button
178
+ layout:
179
+ flex: 0 0 auto
180
+ properties:
181
+ title: '#e64980'
182
+ color: '#e64980'
183
+ variant: outlined
184
+ size: small
185
+
186
+ - title: Sizes
187
+ blocks:
188
+ - id: size_small
189
+ type: Button
190
+ layout:
191
+ flex: 0 0 auto
192
+ properties:
193
+ title: Small
194
+ size: small
195
+ color: primary
196
+ variant: solid
197
+ - id: size_default
198
+ type: Button
199
+ layout:
200
+ flex: 0 0 auto
201
+ properties:
202
+ title: Default
203
+ color: primary
204
+ variant: solid
205
+ - id: size_large
206
+ type: Button
207
+ layout:
208
+ flex: 0 0 auto
209
+ properties:
210
+ title: Large
211
+ size: large
212
+ color: primary
213
+ variant: solid
214
+
215
+ - title: Shapes
216
+ blocks:
217
+ - id: shape_square
218
+ type: Button
219
+ layout:
220
+ flex: 0 0 auto
221
+ properties:
222
+ title: Square (default)
223
+ color: primary
224
+ variant: solid
225
+ - id: shape_round
226
+ type: Button
227
+ layout:
228
+ flex: 0 0 auto
229
+ properties:
230
+ title: Round
231
+ shape: round
232
+ color: primary
233
+ variant: solid
234
+ - id: shape_circle
235
+ type: Button
236
+ layout:
237
+ flex: 0 0 auto
238
+ properties:
239
+ icon: AiOutlineSearch
240
+ shape: circle
241
+ color: primary
242
+ variant: solid
243
+ hideTitle: true
244
+ - id: shape_circle_outlined
245
+ type: Button
246
+ layout:
247
+ flex: 0 0 auto
248
+ properties:
249
+ icon: AiOutlinePlus
250
+ shape: circle
251
+ color: primary
252
+ variant: outlined
253
+ hideTitle: true
254
+
255
+ - title: Icons
256
+ blocks:
257
+ - id: icon_download
258
+ type: Button
259
+ layout:
260
+ flex: 0 0 auto
261
+ properties:
262
+ title: Download
263
+ icon: AiOutlineDownload
264
+ color: primary
265
+ variant: solid
266
+ - id: icon_search
267
+ type: Button
268
+ layout:
269
+ flex: 0 0 auto
270
+ properties:
271
+ title: Search
272
+ icon: AiOutlineSearch
273
+ color: primary
274
+ variant: outlined
275
+ - id: icon_delete
276
+ type: Button
277
+ layout:
278
+ flex: 0 0 auto
279
+ properties:
280
+ title: Delete
281
+ icon: AiOutlineDelete
282
+ color: danger
283
+ variant: solid
284
+ - id: icon_only
285
+ type: Button
286
+ layout:
287
+ flex: 0 0 auto
288
+ properties:
289
+ icon: AiOutlineStar
290
+ color: gold
291
+ variant: filled
292
+ hideTitle: true
293
+ - id: icon_custom
294
+ type: Button
295
+ layout:
296
+ flex: 0 0 auto
297
+ properties:
298
+ title: Custom
299
+ icon:
300
+ name: AiOutlineThunderbolt
301
+ color: '#faad14'
302
+ color: primary
303
+ variant: outlined
304
+
305
+ - title: Ghost Buttons
306
+ blocks:
307
+ - id: ghost_bg
308
+ type: Box
309
+ class: bg-gradient-to-br from-teal-300 to-purple-400 p-4 rounded-lg
310
+ layout:
311
+ gap: 8
312
+ blocks:
313
+ - id: ghost_primary
314
+ type: Button
315
+ layout:
316
+ flex: 0 0 auto
317
+ properties:
318
+ title: Primary
319
+ ghost: true
320
+ color: primary
321
+ variant: solid
322
+ - id: ghost_default
323
+ type: Button
324
+ layout:
325
+ flex: 0 0 auto
326
+ properties:
327
+ title: Default
328
+ ghost: true
329
+ color: default
330
+ variant: solid
331
+ - id: ghost_danger
332
+ type: Button
333
+ layout:
334
+ flex: 0 0 auto
335
+ properties:
336
+ title: Danger
337
+ ghost: true
338
+ color: danger
339
+ variant: solid
340
+
341
+ - title: Full Width
342
+ blocks:
343
+ - id: block_primary
344
+ type: Button
345
+ properties:
346
+ title: Full Width Primary
347
+ block: true
348
+ color: primary
349
+ variant: solid
350
+ icon: AiOutlineArrowRight
351
+ - id: block_outlined
352
+ type: Button
353
+ properties:
354
+ title: Full Width Outlined
355
+ block: true
356
+ color: primary
357
+ variant: outlined
358
+ - id: block_danger
359
+ type: Button
360
+ properties:
361
+ title: Full Width Danger
362
+ block: true
363
+ color: danger
364
+ variant: solid
365
+ icon: AiOutlineWarning
366
+
367
+ - title: Disabled State
368
+ blocks:
369
+ - id: dis_solid
370
+ type: Button
371
+ layout:
372
+ flex: 0 0 auto
373
+ properties:
374
+ title: Solid
375
+ disabled: true
376
+ color: primary
377
+ variant: solid
378
+ - id: dis_outlined
379
+ type: Button
380
+ layout:
381
+ flex: 0 0 auto
382
+ properties:
383
+ title: Outlined
384
+ disabled: true
385
+ color: primary
386
+ variant: outlined
387
+ - id: dis_text
388
+ type: Button
389
+ layout:
390
+ flex: 0 0 auto
391
+ properties:
392
+ title: Text
393
+ disabled: true
394
+ color: primary
395
+ variant: text
396
+
397
+ - title: Link Buttons
398
+ blocks:
399
+ - id: href_link
400
+ type: Button
401
+ layout:
402
+ flex: 0 0 auto
403
+ properties:
404
+ title: Visit Lowdefy
405
+ href: https://lowdefy.com
406
+ color: primary
407
+ variant: link
408
+ - id: href_solid
409
+ type: Button
410
+ layout:
411
+ flex: 0 0 auto
412
+ properties:
413
+ title: Go to Docs
414
+ href: https://docs.lowdefy.com
415
+ color: primary
416
+ variant: solid
417
+ icon: AiOutlineLink
418
+ - id: href_text
419
+ type: Button
420
+ layout:
421
+ flex: 0 0 auto
422
+ properties:
423
+ title: Learn more
424
+ href: https://lowdefy.com
425
+ color: default
426
+ variant: text
427
+
428
+ - title: HTML in Title
429
+ blocks:
430
+ - id: html_bold
431
+ type: Button
432
+ layout:
433
+ flex: 0 0 auto
434
+ properties:
435
+ title: '<b>Bold</b> text'
436
+ color: primary
437
+ variant: solid
438
+ - id: html_emoji
439
+ type: Button
440
+ layout:
441
+ flex: 0 0 auto
442
+ properties:
443
+ title: 'Launch &#x1F680;'
444
+ color: purple
445
+ variant: solid
446
+ - id: html_styled
447
+ type: Button
448
+ layout:
449
+ flex: 0 0 auto
450
+ properties:
451
+ title: '<span style="letter-spacing: 2px">SUBMIT</span>'
452
+ color: green
453
+ variant: solid
454
+
455
+ - title: Keyboard Shortcuts
456
+ blocks:
457
+ - id: shortcut_save
458
+ type: Button
459
+ layout:
460
+ flex: 0 0 auto
461
+ properties:
462
+ title: Save
463
+ icon: AiOutlineSave
464
+ color: primary
465
+ variant: solid
466
+ events:
467
+ onClick:
468
+ shortcut: mod+shift+s
469
+ try:
470
+ - id: save_msg
471
+ type: DisplayMessage
472
+ params:
473
+ content: Saved!
474
+ status: success
475
+ - id: shortcut_new
476
+ type: Button
477
+ layout:
478
+ flex: 0 0 auto
479
+ properties:
480
+ title: New Item
481
+ icon: AiOutlinePlus
482
+ color: primary
483
+ variant: outlined
484
+ events:
485
+ onClick:
486
+ shortcut: alt+n
487
+ try:
488
+ - id: new_msg
489
+ type: DisplayMessage
490
+ params:
491
+ content: Creating new item...
492
+ status: info
493
+ - id: shortcut_delete
494
+ type: Button
495
+ layout:
496
+ flex: 0 0 auto
497
+ properties:
498
+ title: Delete
499
+ icon: AiOutlineDelete
500
+ color: danger
501
+ variant: solid
502
+ events:
503
+ onClick:
504
+ shortcut: mod+shift+d
505
+ try:
506
+ - id: delete_msg
507
+ type: DisplayMessage
508
+ params:
509
+ content: Item deleted
510
+ status: warning
511
+
512
+ - title: Style and CSS
513
+ blocks:
514
+ - id: css_shadow
515
+ type: Button
516
+ layout:
517
+ flex: 0 0 auto
518
+ class: shadow-lg
519
+ properties:
520
+ title: Shadow
521
+ color: primary
522
+ variant: solid
523
+ - id: css_rounded
524
+ type: Button
525
+ layout:
526
+ flex: 0 0 auto
527
+ class: rounded-full
528
+ properties:
529
+ title: Rounded Full
530
+ color: purple
531
+ variant: solid
532
+ - id: css_gradient_bg
533
+ type: Box
534
+ class: bg-gradient-to-r from-slate-900 to-slate-700 p-4 rounded-lg
535
+ layout:
536
+ gap: 8
537
+ blocks:
538
+ - id: css_on_dark_solid
539
+ type: Button
540
+ layout:
541
+ flex: 0 0 auto
542
+ properties:
543
+ title: On Dark
544
+ color: primary
545
+ variant: solid
546
+ - id: css_on_dark_ghost
547
+ type: Button
548
+ layout:
549
+ flex: 0 0 auto
550
+ properties:
551
+ title: Ghost
552
+ ghost: true
553
+ color: primary
554
+ variant: outlined
555
+
556
+ - title: Theme Token Overrides
557
+ blocks:
558
+ - id: theme_radius
559
+ type: Button
560
+ layout:
561
+ flex: 0 0 auto
562
+ properties:
563
+ title: Large Radius
564
+ color: primary
565
+ variant: solid
566
+ theme:
567
+ borderRadius: 20
568
+ - id: theme_font
569
+ type: Button
570
+ layout:
571
+ flex: 0 0 auto
572
+ properties:
573
+ title: Large Font
574
+ color: primary
575
+ variant: solid
576
+ theme:
577
+ fontSize: 18
578
+ - id: theme_pill
579
+ type: Button
580
+ layout:
581
+ flex: 0 0 auto
582
+ properties:
583
+ title: Pill Button
584
+ color: green
585
+ variant: solid
586
+ size: large
587
+ theme:
588
+ borderRadius: 40
589
+ controlHeight: 48
590
+
591
+ - title: Button in Contact Form
592
+ blocks:
593
+ - id: contact_card
594
+ type: Card
595
+ properties:
596
+ title: Contact Us
597
+ size: small
598
+ blocks:
599
+ - id: contact_name
600
+ type: TextInput
601
+ required: true
602
+ properties:
603
+ label:
604
+ title: Name
605
+ placeholder: Your full name
606
+ - id: contact_email
607
+ type: TextInput
608
+ required: true
609
+ properties:
610
+ label:
611
+ title: Email
612
+ placeholder: you@example.com
613
+ - id: contact_message
614
+ type: TextArea
615
+ required: true
616
+ properties:
617
+ label:
618
+ title: Message
619
+ placeholder: How can we help?
620
+ rows: 4
621
+ - id: contact_actions
622
+ type: Box
623
+ layout:
624
+ gap: 8
625
+ justify: flex-end
626
+ blocks:
627
+ - id: contact_cancel
628
+ type: Button
629
+ layout:
630
+ flex: 0 0 auto
631
+ properties:
632
+ title: Cancel
633
+ color: default
634
+ variant: outlined
635
+ events:
636
+ onClick:
637
+ - id: cancel_reset
638
+ type: ResetValidation
639
+ - id: cancel_msg
640
+ type: DisplayMessage
641
+ params:
642
+ content: Form cleared
643
+ status: info
644
+ - id: contact_submit
645
+ type: Button
646
+ layout:
647
+ flex: 0 0 auto
648
+ properties:
649
+ title: Send Message
650
+ color: primary
651
+ variant: solid
652
+ icon: AiOutlineSend
653
+ events:
654
+ onClick:
655
+ - id: submit_validate
656
+ type: Validate
657
+ params:
658
+ - contact_name
659
+ - contact_email
660
+ - contact_message
661
+ - id: submit_msg
662
+ type: DisplayMessage
663
+ params:
664
+ content: Message sent successfully!
665
+ status: success
666
+
667
+ - title: Button in Confirmation Dialog
668
+ blocks:
669
+ - id: confirm_card
670
+ type: Card
671
+ blocks:
672
+ - id: confirm_result
673
+ type: Result
674
+ properties:
675
+ status: warning
676
+ title: Delete Project?
677
+ subTitle: This action cannot be undone. All files, settings, and deployment history will be permanently removed.
678
+ - id: confirm_actions
679
+ type: Box
680
+ layout:
681
+ gap: 8
682
+ justify: center
683
+ blocks:
684
+ - id: confirm_keep
685
+ type: Button
686
+ layout:
687
+ flex: 0 0 auto
688
+ properties:
689
+ title: Keep Project
690
+ color: default
691
+ variant: outlined
692
+ events:
693
+ onClick:
694
+ - id: keep_msg
695
+ type: DisplayMessage
696
+ params:
697
+ content: Project kept. No changes made.
698
+ status: info
699
+ - id: confirm_delete
700
+ type: Button
701
+ layout:
702
+ flex: 0 0 auto
703
+ properties:
704
+ title: Delete Permanently
705
+ color: danger
706
+ variant: solid
707
+ icon: AiOutlineDelete
708
+ events:
709
+ onClick:
710
+ - id: delete_msg
711
+ type: DisplayMessage
712
+ params:
713
+ content: Project deleted.
714
+ status: success
715
+ - id: delete_nav
716
+ type: Link
717
+ params:
718
+ pageId: introduction