@lowdefy/blocks-antd 5.6.0 → 6.1.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 (285) 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/Button.js +11 -2
  21. package/dist/blocks/Button/gallery.yaml +718 -0
  22. package/dist/blocks/Button/meta.js +4 -0
  23. package/dist/blocks/Button/tests/Button.e2e.yaml +246 -0
  24. package/dist/blocks/Button/tests.yaml +109 -0
  25. package/dist/blocks/ButtonSelector/gallery.yaml +891 -0
  26. package/dist/blocks/ButtonSelector/tests/ButtonSelector.e2e.yaml +188 -0
  27. package/dist/blocks/ButtonSelector/tests.yaml +167 -0
  28. package/dist/blocks/Calendar/gallery.yaml +128 -0
  29. package/dist/blocks/Calendar/tests/Calendar.e2e.yaml +136 -0
  30. package/dist/blocks/Calendar/tests.yaml +50 -0
  31. package/dist/blocks/Card/gallery.yaml +1035 -0
  32. package/dist/blocks/Card/tests/Card.e2e.yaml +209 -0
  33. package/dist/blocks/Card/tests.yaml +75 -0
  34. package/dist/blocks/Carousel/gallery.yaml +1971 -0
  35. package/dist/blocks/Carousel/tests/Carousel.e2e.yaml +211 -0
  36. package/dist/blocks/Carousel/tests.yaml +117 -0
  37. package/dist/blocks/CheckboxSelector/gallery.yaml +781 -0
  38. package/dist/blocks/CheckboxSelector/tests/CheckboxSelector.e2e.yaml +272 -0
  39. package/dist/blocks/CheckboxSelector/tests.yaml +325 -0
  40. package/dist/blocks/CheckboxSwitch/gallery.yaml +457 -0
  41. package/dist/blocks/CheckboxSwitch/tests/CheckboxSwitch.e2e.yaml +126 -0
  42. package/dist/blocks/CheckboxSwitch/tests.yaml +96 -0
  43. package/dist/blocks/Collapse/gallery.yaml +1079 -0
  44. package/dist/blocks/Collapse/tests/Collapse.e2e.yaml +206 -0
  45. package/dist/blocks/Collapse/tests.yaml +265 -0
  46. package/dist/blocks/ColorSelector/gallery.yaml +807 -0
  47. package/dist/blocks/ColorSelector/tests/ColorSelector.e2e.yaml +77 -0
  48. package/dist/blocks/ColorSelector/tests.yaml +84 -0
  49. package/dist/blocks/ConfigProvider/gallery.yaml +1003 -0
  50. package/dist/blocks/ConfigProvider/tests.yaml +62 -0
  51. package/dist/blocks/ConfirmModal/gallery.yaml +1043 -0
  52. package/dist/blocks/ConfirmModal/tests/ConfirmModal.e2e.yaml +410 -0
  53. package/dist/blocks/ConfirmModal/tests.yaml +95 -0
  54. package/dist/blocks/Content/gallery.yaml +528 -0
  55. package/dist/blocks/Content/tests/Content.e2e.yaml +71 -0
  56. package/dist/blocks/Content/tests.yaml +42 -0
  57. package/dist/blocks/ControlledList/ControlledList.js +1 -1
  58. package/dist/blocks/ControlledList/gallery.yaml +481 -0
  59. package/dist/blocks/ControlledList/{style.module.css → style.css} +3 -3
  60. package/dist/blocks/ControlledList/tests/ControlledList.e2e.yaml +161 -0
  61. package/dist/blocks/ControlledList/tests.yaml +57 -0
  62. package/dist/blocks/DateRangeSelector/DateRangeSelector.js +7 -0
  63. package/dist/blocks/DateRangeSelector/e2e.js +28 -2
  64. package/dist/blocks/DateRangeSelector/gallery.yaml +858 -0
  65. package/dist/blocks/DateRangeSelector/meta.js +2 -0
  66. package/dist/blocks/DateRangeSelector/tests/DateRangeSelector.e2e.yaml +204 -0
  67. package/dist/blocks/DateRangeSelector/tests.yaml +129 -0
  68. package/dist/blocks/DateSelector/DateSelector.js +6 -0
  69. package/dist/blocks/DateSelector/e2e.js +28 -2
  70. package/dist/blocks/DateSelector/gallery.yaml +691 -0
  71. package/dist/blocks/DateSelector/meta.js +6 -0
  72. package/dist/blocks/DateSelector/tests/DateSelector.e2e.yaml +229 -0
  73. package/dist/blocks/DateSelector/tests.yaml +117 -0
  74. package/dist/blocks/DateTimeSelector/DateTimeSelector.js +7 -0
  75. package/dist/blocks/DateTimeSelector/e2e.js +26 -2
  76. package/dist/blocks/DateTimeSelector/gallery.yaml +770 -0
  77. package/dist/blocks/DateTimeSelector/meta.js +2 -0
  78. package/dist/blocks/DateTimeSelector/tests/DateTimeSelector.e2e.yaml +163 -0
  79. package/dist/blocks/DateTimeSelector/tests.yaml +140 -0
  80. package/dist/blocks/Descriptions/gallery.yaml +839 -0
  81. package/dist/blocks/Descriptions/tests/Descriptions.e2e.yaml +143 -0
  82. package/dist/blocks/Descriptions/tests.yaml +256 -0
  83. package/dist/blocks/Divider/gallery.yaml +375 -0
  84. package/dist/blocks/Divider/tests/Divider.e2e.yaml +107 -0
  85. package/dist/blocks/Divider/tests.yaml +58 -0
  86. package/dist/blocks/Drawer/gallery.yaml +1257 -0
  87. package/dist/blocks/Drawer/tests/Drawer.e2e.yaml +562 -0
  88. package/dist/blocks/Drawer/tests.yaml +80 -0
  89. package/dist/blocks/DropdownButton/gallery.yaml +606 -0
  90. package/dist/blocks/DropdownButton/tests/DropdownButton.e2e.yaml +243 -0
  91. package/dist/blocks/DropdownMenu/gallery.yaml +578 -0
  92. package/dist/blocks/DropdownMenu/tests/DropdownMenu.e2e.yaml +267 -0
  93. package/dist/blocks/Flex/gallery.yaml +1416 -0
  94. package/dist/blocks/Flex/tests/Flex.e2e.yaml +95 -0
  95. package/dist/blocks/Flex/tests.yaml +92 -0
  96. package/dist/blocks/FloatButton/gallery.yaml +518 -0
  97. package/dist/blocks/FloatButton/tests/FloatButton.e2e.yaml +73 -0
  98. package/dist/blocks/FloatButton/tests.yaml +59 -0
  99. package/dist/blocks/Footer/gallery.yaml +355 -0
  100. package/dist/blocks/Footer/tests/Footer.e2e.yaml +70 -0
  101. package/dist/blocks/Footer/tests.yaml +28 -0
  102. package/dist/blocks/Header/gallery.yaml +249 -0
  103. package/dist/blocks/Header/tests/Header.e2e.yaml +77 -0
  104. package/dist/blocks/Header/tests.yaml +36 -0
  105. package/dist/blocks/Label/Label.js +1 -1
  106. package/dist/blocks/Label/gallery.yaml +762 -0
  107. package/dist/blocks/Label/{style.module.css → style.css} +28 -28
  108. package/dist/blocks/Label/tests/Label.e2e.yaml +247 -0
  109. package/dist/blocks/Label/tests.yaml +212 -0
  110. package/dist/blocks/Layout/gallery.yaml +548 -0
  111. package/dist/blocks/Layout/tests/Layout.e2e.yaml +86 -0
  112. package/dist/blocks/Layout/tests.yaml +28 -0
  113. package/dist/blocks/ListSelector/gallery.yaml +223 -0
  114. package/dist/blocks/Masonry/gallery.yaml +989 -0
  115. package/dist/blocks/Masonry/tests/Masonry.e2e.yaml +128 -0
  116. package/dist/blocks/Masonry/tests.yaml +42 -0
  117. package/dist/blocks/MasonryList/gallery.yaml +224 -0
  118. package/dist/blocks/MasonryList/tests/MasonryList.e2e.yaml +55 -0
  119. package/dist/blocks/MasonryList/tests.yaml +42 -0
  120. package/dist/blocks/Menu/gallery.yaml +974 -0
  121. package/dist/blocks/Menu/tests/Menu.e2e.yaml +484 -0
  122. package/dist/blocks/Menu/tests.yaml +1053 -0
  123. package/dist/blocks/Message/gallery.yaml +860 -0
  124. package/dist/blocks/Message/tests/Message.e2e.yaml +246 -0
  125. package/dist/blocks/Message/tests.yaml +54 -0
  126. package/dist/blocks/MobileMenu/gallery.yaml +1172 -0
  127. package/dist/blocks/MobileMenu/tests/MobileMenu.e2e.yaml +314 -0
  128. package/dist/blocks/MobileMenu/tests.yaml +359 -0
  129. package/dist/blocks/Modal/gallery.yaml +1039 -0
  130. package/dist/blocks/Modal/tests/Modal.e2e.yaml +493 -0
  131. package/dist/blocks/Modal/tests.yaml +75 -0
  132. package/dist/blocks/MonthSelector/MonthSelector.js +6 -0
  133. package/dist/blocks/MonthSelector/e2e.js +26 -2
  134. package/dist/blocks/MonthSelector/gallery.yaml +687 -0
  135. package/dist/blocks/MonthSelector/meta.js +6 -0
  136. package/dist/blocks/MonthSelector/tests/MonthSelector.e2e.yaml +167 -0
  137. package/dist/blocks/MonthSelector/tests.yaml +124 -0
  138. package/dist/blocks/MultipleSelector/gallery.yaml +1245 -0
  139. package/dist/blocks/MultipleSelector/tests/MultipleSelector.e2e.yaml +445 -0
  140. package/dist/blocks/MultipleSelector/tests.yaml +201 -0
  141. package/dist/blocks/Notification/gallery.yaml +1376 -0
  142. package/dist/blocks/Notification/tests/Notification.e2e.yaml +362 -0
  143. package/dist/blocks/Notification/tests.yaml +97 -0
  144. package/dist/blocks/NumberInput/gallery.yaml +753 -0
  145. package/dist/blocks/NumberInput/tests/NumberInput.e2e.yaml +228 -0
  146. package/dist/blocks/NumberInput/tests.yaml +116 -0
  147. package/dist/blocks/PageHeaderMenu/PageHeaderMenu.js +1 -1
  148. package/dist/blocks/PageHeaderMenu/gallery.yaml +480 -0
  149. package/dist/blocks/PageHeaderMenu/tests/PageHeaderMenu.e2e.yaml +110 -0
  150. package/dist/blocks/PageHeaderMenu/tests.yaml +173 -0
  151. package/dist/blocks/PageSidebarLayout/PageSidebarLayout.js +10 -1
  152. package/dist/blocks/PageSidebarLayout/gallery.yaml +302 -0
  153. package/dist/blocks/PageSidebarLayout/meta.js +1 -0
  154. package/dist/blocks/PageSidebarLayout/tests/PageSidebarLayout.e2e.yaml +216 -0
  155. package/dist/blocks/PageSidebarLayout/tests.yaml +174 -0
  156. package/dist/blocks/PageSiderMenu/PageSiderMenu.js +1 -1
  157. package/dist/blocks/PageSiderMenu/gallery.yaml +516 -0
  158. package/dist/blocks/PageSiderMenu/tests/PageSiderMenu.e2e.yaml +175 -0
  159. package/dist/blocks/PageSiderMenu/tests.yaml +211 -0
  160. package/dist/blocks/Pagination/gallery.yaml +503 -0
  161. package/dist/blocks/Pagination/tests/Pagination.e2e.yaml +159 -0
  162. package/dist/blocks/Pagination/tests.yaml +80 -0
  163. package/dist/blocks/Paragraph/gallery.yaml +458 -0
  164. package/dist/blocks/Paragraph/tests/Paragraph.e2e.yaml +153 -0
  165. package/dist/blocks/Paragraph/tests.yaml +176 -0
  166. package/dist/blocks/ParagraphInput/gallery.yaml +1483 -0
  167. package/dist/blocks/ParagraphInput/tests/ParagraphInput.e2e.yaml +189 -0
  168. package/dist/blocks/ParagraphInput/tests.yaml +163 -0
  169. package/dist/blocks/PasswordInput/gallery.yaml +420 -0
  170. package/dist/blocks/PasswordInput/tests/PasswordInput.e2e.yaml +188 -0
  171. package/dist/blocks/PasswordInput/tests.yaml +78 -0
  172. package/dist/blocks/PhoneNumberInput/gallery.yaml +677 -0
  173. package/dist/blocks/PhoneNumberInput/tests/PhoneNumberInput.e2e.yaml +279 -0
  174. package/dist/blocks/PhoneNumberInput/tests.yaml +25 -0
  175. package/dist/blocks/Popover/gallery.yaml +1301 -0
  176. package/dist/blocks/Popover/tests/Popover.e2e.yaml +249 -0
  177. package/dist/blocks/Popover/tests.yaml +105 -0
  178. package/dist/blocks/Progress/gallery.yaml +772 -0
  179. package/dist/blocks/Progress/tests/Progress.e2e.yaml +167 -0
  180. package/dist/blocks/Progress/tests.yaml +114 -0
  181. package/dist/blocks/QRCode/gallery.yaml +492 -0
  182. package/dist/blocks/QRCode/tests/QRCode.e2e.yaml +66 -0
  183. package/dist/blocks/QRCode/tests.yaml +113 -0
  184. package/dist/blocks/RadioSelector/gallery.yaml +816 -0
  185. package/dist/blocks/RadioSelector/tests/RadioSelector.e2e.yaml +269 -0
  186. package/dist/blocks/RadioSelector/tests.yaml +339 -0
  187. package/dist/blocks/RatingSlider/gallery.yaml +627 -0
  188. package/dist/blocks/RatingSlider/tests/RatingSlider.e2e.yaml +188 -0
  189. package/dist/blocks/RatingSlider/tests.yaml +116 -0
  190. package/dist/blocks/Result/gallery.yaml +925 -0
  191. package/dist/blocks/Result/tests/Result.e2e.yaml +126 -0
  192. package/dist/blocks/Result/tests.yaml +75 -0
  193. package/dist/blocks/Search/Search.js +1 -1
  194. package/dist/blocks/Search/SearchModal.js +18 -9
  195. package/dist/blocks/Search/gallery.yaml +170 -0
  196. package/dist/blocks/Search/meta.js +2 -1
  197. package/dist/blocks/Search/{style.module.css → style.css} +19 -12
  198. package/dist/blocks/Search/tests/Search.e2e.yaml +125 -0
  199. package/dist/blocks/Search/useSearchIndex.js +24 -2
  200. package/dist/blocks/SegmentedSelector/gallery.yaml +725 -0
  201. package/dist/blocks/SegmentedSelector/tests/SegmentedSelector.e2e.yaml +115 -0
  202. package/dist/blocks/SegmentedSelector/tests.yaml +141 -0
  203. package/dist/blocks/Selector/gallery.yaml +1055 -0
  204. package/dist/blocks/Selector/tests/Selector.e2e.yaml +427 -0
  205. package/dist/blocks/Selector/tests.yaml +196 -0
  206. package/dist/blocks/Sider/gallery.yaml +994 -0
  207. package/dist/blocks/Sider/tests/Sider.e2e.yaml +162 -0
  208. package/dist/blocks/Sider/tests.yaml +20 -0
  209. package/dist/blocks/Slider/gallery.yaml +600 -0
  210. package/dist/blocks/Slider/tests/Slider.e2e.yaml +190 -0
  211. package/dist/blocks/Slider/tests.yaml +68 -0
  212. package/dist/blocks/Splitter/gallery.yaml +1511 -0
  213. package/dist/blocks/Splitter/tests/Splitter.e2e.yaml +114 -0
  214. package/dist/blocks/Splitter/tests.yaml +79 -0
  215. package/dist/blocks/Statistic/gallery.yaml +460 -0
  216. package/dist/blocks/Statistic/tests/Statistic.e2e.yaml +137 -0
  217. package/dist/blocks/Statistic/tests.yaml +77 -0
  218. package/dist/blocks/Steps/gallery.yaml +550 -0
  219. package/dist/blocks/Switch/gallery.yaml +502 -0
  220. package/dist/blocks/Switch/tests/Switch.e2e.yaml +132 -0
  221. package/dist/blocks/Switch/tests.yaml +87 -0
  222. package/dist/blocks/Tabs/gallery.yaml +1353 -0
  223. package/dist/blocks/Tabs/tests/Tabs.e2e.yaml +370 -0
  224. package/dist/blocks/Tabs/tests.yaml +349 -0
  225. package/dist/blocks/Tag/gallery.yaml +598 -0
  226. package/dist/blocks/Tag/tests/Tag.e2e.yaml +173 -0
  227. package/dist/blocks/Tag/tests.yaml +51 -0
  228. package/dist/blocks/TagMultipleSelector/TagMultipleSelector.js +53 -0
  229. package/dist/blocks/TagMultipleSelector/e2e.js +36 -0
  230. package/dist/blocks/TagMultipleSelector/gallery.yaml +70 -0
  231. package/dist/blocks/TagMultipleSelector/meta.js +91 -0
  232. package/dist/blocks/TagMultipleSelector/tests/TagMultipleSelector.e2e.yaml +93 -0
  233. package/dist/blocks/TagSelector/TagSelector.js +49 -0
  234. package/dist/blocks/TagSelector/e2e.js +36 -0
  235. package/dist/blocks/TagSelector/gallery.yaml +70 -0
  236. package/dist/blocks/TagSelector/meta.js +91 -0
  237. package/dist/blocks/TagSelector/tests/TagSelector.e2e.yaml +93 -0
  238. package/dist/blocks/TextArea/gallery.yaml +618 -0
  239. package/dist/blocks/TextArea/tests/TextArea.e2e.yaml +218 -0
  240. package/dist/blocks/TextArea/tests.yaml +100 -0
  241. package/dist/blocks/TextInput/gallery.yaml +560 -0
  242. package/dist/blocks/TextInput/tests/TextInput.e2e.yaml +287 -0
  243. package/dist/blocks/TextInput/tests.yaml +114 -0
  244. package/dist/blocks/TimelineList/gallery.yaml +431 -0
  245. package/dist/blocks/TimelineList/tests/TimelineList.e2e.yaml +244 -0
  246. package/dist/blocks/TimelineList/tests.yaml +251 -0
  247. package/dist/blocks/Title/gallery.yaml +483 -0
  248. package/dist/blocks/Title/tests/Title.e2e.yaml +180 -0
  249. package/dist/blocks/Title/tests.yaml +175 -0
  250. package/dist/blocks/TitleInput/gallery.yaml +1006 -0
  251. package/dist/blocks/TitleInput/tests/TitleInput.e2e.yaml +195 -0
  252. package/dist/blocks/TitleInput/tests.yaml +181 -0
  253. package/dist/blocks/Tooltip/gallery.yaml +1214 -0
  254. package/dist/blocks/Tooltip/tests/Tooltip.e2e.yaml +195 -0
  255. package/dist/blocks/Tooltip/tests.yaml +92 -0
  256. package/dist/blocks/Tour/gallery.yaml +2305 -0
  257. package/dist/blocks/Tour/tests/Tour.e2e.yaml +90 -0
  258. package/dist/blocks/Tour/tests.yaml +151 -0
  259. package/dist/blocks/TreeInput/gallery.yaml +78 -0
  260. package/dist/blocks/TreeInput/tests/TreeInput.e2e.yaml +139 -0
  261. package/dist/blocks/TreeInput/tests.yaml +140 -0
  262. package/dist/blocks/TreeMultipleSelector/gallery.yaml +67 -0
  263. package/dist/blocks/TreeSelector/gallery.yaml +81 -0
  264. package/dist/blocks/Watermark/gallery.yaml +479 -0
  265. package/dist/blocks/Watermark/tests/Watermark.e2e.yaml +62 -0
  266. package/dist/blocks/Watermark/tests.yaml +86 -0
  267. package/dist/blocks/WeekSelector/WeekSelector.js +6 -0
  268. package/dist/blocks/WeekSelector/e2e.js +26 -2
  269. package/dist/blocks/WeekSelector/gallery.yaml +589 -0
  270. package/dist/blocks/WeekSelector/meta.js +6 -0
  271. package/dist/blocks/WeekSelector/tests/WeekSelector.e2e.yaml +154 -0
  272. package/dist/blocks/WeekSelector/tests.yaml +122 -0
  273. package/dist/blocks.js +2 -0
  274. package/dist/disabledDate.js +91 -19
  275. package/dist/e2e.js +2 -0
  276. package/dist/getPresets.js +151 -0
  277. package/dist/getTagColor.js +44 -0
  278. package/dist/getTagSelectorOptions.js +30 -0
  279. package/dist/metas.js +2 -0
  280. package/dist/pickerPresetsStyle.css +26 -0
  281. package/dist/schemas/disabledDates.js +6 -2
  282. package/dist/schemas/index.js +1 -0
  283. package/dist/schemas/presets.js +111 -0
  284. package/dist/tagSelectorStyle.css +68 -0
  285. package/package.json +13 -13
@@ -0,0 +1,781 @@
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: Basic
16
+ blocks:
17
+ - id: basic_label_value
18
+ type: CheckboxSelector
19
+ properties:
20
+ title: Select Toppings
21
+ options:
22
+ - label: Cheese
23
+ value: cheese
24
+ - label: Pepperoni
25
+ value: pepperoni
26
+ - label: Mushrooms
27
+ value: mushrooms
28
+ - label: Onions
29
+ value: onions
30
+ - label: Peppers
31
+ value: peppers
32
+ - id: basic_string_options
33
+ type: CheckboxSelector
34
+ properties:
35
+ title: Hobbies
36
+ options:
37
+ - Reading
38
+ - Cooking
39
+ - Hiking
40
+ - Gaming
41
+ - Music
42
+
43
+ - title: Direction - Horizontal
44
+ blocks:
45
+ - id: horizontal_default
46
+ type: CheckboxSelector
47
+ properties:
48
+ title: Horizontal (Default)
49
+ direction: horizontal
50
+ options:
51
+ - label: Frontend
52
+ value: frontend
53
+ - label: Backend
54
+ value: backend
55
+ - label: DevOps
56
+ value: devops
57
+ - label: Design
58
+ value: design
59
+ - label: QA
60
+ value: qa
61
+ - label: Product
62
+ value: product
63
+
64
+ - title: Direction - Vertical
65
+ blocks:
66
+ - id: vertical_checkbox
67
+ type: CheckboxSelector
68
+ properties:
69
+ title: Vertical Layout
70
+ direction: vertical
71
+ options:
72
+ - label: Email notifications
73
+ value: email
74
+ - label: SMS notifications
75
+ value: sms
76
+ - label: Push notifications
77
+ value: push
78
+ - label: In-app notifications
79
+ value: in_app
80
+
81
+ - title: Wrap
82
+ blocks:
83
+ - id: wrap_enabled
84
+ type: CheckboxSelector
85
+ properties:
86
+ title: Wrap Enabled (Default)
87
+ direction: horizontal
88
+ wrap: true
89
+ options:
90
+ - JavaScript
91
+ - TypeScript
92
+ - Python
93
+ - Go
94
+ - Rust
95
+ - Java
96
+ - C++
97
+ - Ruby
98
+ - Swift
99
+ - Kotlin
100
+ - PHP
101
+ - Scala
102
+ - id: wrap_disabled
103
+ type: CheckboxSelector
104
+ properties:
105
+ title: Wrap Disabled
106
+ direction: horizontal
107
+ wrap: false
108
+ options:
109
+ - JavaScript
110
+ - TypeScript
111
+ - Python
112
+ - Go
113
+ - Rust
114
+ - Java
115
+ - C++
116
+ - Ruby
117
+
118
+ - title: Alignment
119
+ blocks:
120
+ - id: align_start
121
+ type: CheckboxSelector
122
+ properties:
123
+ title: Start Alignment
124
+ align: start
125
+ options:
126
+ - Apple
127
+ - Banana
128
+ - Cherry
129
+ - id: align_center
130
+ type: CheckboxSelector
131
+ properties:
132
+ title: Center Alignment
133
+ align: center
134
+ options:
135
+ - Apple
136
+ - Banana
137
+ - Cherry
138
+ - id: align_end
139
+ type: CheckboxSelector
140
+ properties:
141
+ title: End Alignment
142
+ align: end
143
+ options:
144
+ - Apple
145
+ - Banana
146
+ - Cherry
147
+ - id: align_baseline
148
+ type: CheckboxSelector
149
+ properties:
150
+ title: Baseline Alignment
151
+ align: baseline
152
+ options:
153
+ - Apple
154
+ - Banana
155
+ - Cherry
156
+
157
+ - title: Custom Color
158
+ blocks:
159
+ - id: color_green
160
+ type: CheckboxSelector
161
+ properties:
162
+ title: Green Checkboxes
163
+ color: '#52c41a'
164
+ options:
165
+ - label: Lettuce
166
+ value: lettuce
167
+ - label: Spinach
168
+ value: spinach
169
+ - label: Broccoli
170
+ value: broccoli
171
+ - id: color_orange
172
+ type: CheckboxSelector
173
+ properties:
174
+ title: Orange Checkboxes
175
+ color: '#fa8c16'
176
+ options:
177
+ - label: Carrot
178
+ value: carrot
179
+ - label: Pumpkin
180
+ value: pumpkin
181
+ - label: Sweet Potato
182
+ value: sweet_potato
183
+ - id: color_purple
184
+ type: CheckboxSelector
185
+ properties:
186
+ title: Purple Checkboxes
187
+ color: '#722ed1'
188
+ options:
189
+ - label: Eggplant
190
+ value: eggplant
191
+ - label: Grape
192
+ value: grape
193
+ - label: Plum
194
+ value: plum
195
+ - id: color_red
196
+ type: CheckboxSelector
197
+ properties:
198
+ title: Red Checkboxes
199
+ color: '#f5222d'
200
+ options:
201
+ - label: Tomato
202
+ value: tomato
203
+ - label: Strawberry
204
+ value: strawberry
205
+ - label: Cherry
206
+ value: cherry
207
+ - id: color_hex_custom
208
+ type: CheckboxSelector
209
+ properties:
210
+ title: Custom Hex Color
211
+ color: '#e64980'
212
+ options:
213
+ - label: Pink option A
214
+ value: a
215
+ - label: Pink option B
216
+ value: b
217
+ - label: Pink option C
218
+ value: c
219
+
220
+ - title: Disabled - Entire Block
221
+ blocks:
222
+ - id: disabled_all
223
+ type: CheckboxSelector
224
+ properties:
225
+ title: All Disabled
226
+ disabled: true
227
+ options:
228
+ - label: Option A
229
+ value: a
230
+ - label: Option B
231
+ value: b
232
+ - label: Option C
233
+ value: c
234
+
235
+ - title: Disabled - Individual Options
236
+ blocks:
237
+ - id: disabled_some
238
+ type: CheckboxSelector
239
+ properties:
240
+ title: Some Options Disabled
241
+ options:
242
+ - label: Available
243
+ value: available
244
+ - label: Sold Out
245
+ value: sold_out
246
+ disabled: true
247
+ - label: In Stock
248
+ value: in_stock
249
+ - label: Backordered
250
+ value: backordered
251
+ disabled: true
252
+ - label: Pre-order
253
+ value: pre_order
254
+
255
+ - title: Styled Options
256
+ blocks:
257
+ - id: styled_options
258
+ type: CheckboxSelector
259
+ properties:
260
+ title: Options with Custom Styles
261
+ options:
262
+ - label: High Priority
263
+ value: high
264
+ style:
265
+ color: '#f5222d'
266
+ fontWeight: bold
267
+ - label: Medium Priority
268
+ value: medium
269
+ style:
270
+ color: '#fa8c16'
271
+ fontWeight: 500
272
+ - label: Low Priority
273
+ value: low
274
+ style:
275
+ color: '#52c41a'
276
+ - id: styled_background
277
+ type: CheckboxSelector
278
+ properties:
279
+ title: Options with Backgrounds
280
+ options:
281
+ - label: Success
282
+ value: success
283
+ style:
284
+ padding: '2px 8px'
285
+ borderRadius: 4
286
+ - label: Warning
287
+ value: warning
288
+ style:
289
+ padding: '2px 8px'
290
+ borderRadius: 4
291
+ - label: Error
292
+ value: error
293
+ style:
294
+ padding: '2px 8px'
295
+ borderRadius: 4
296
+
297
+ - title: HTML Labels
298
+ blocks:
299
+ - id: html_labels
300
+ type: CheckboxSelector
301
+ properties:
302
+ title: HTML in Labels
303
+ options:
304
+ - label: '<b>Bold</b> option'
305
+ value: bold
306
+ - label: '<i>Italic</i> option'
307
+ value: italic
308
+ - label: '<span style="color: #1677ff">Blue</span> option'
309
+ value: blue
310
+ - label: 'Option with <code>code</code>'
311
+ value: code
312
+
313
+ - title: Mixed Option Types
314
+ blocks:
315
+ - id: number_options
316
+ type: CheckboxSelector
317
+ properties:
318
+ title: Numeric Options
319
+ options:
320
+ - label: 'One'
321
+ value: 1
322
+ - label: 'Two'
323
+ value: 2
324
+ - label: 'Three'
325
+ value: 3
326
+ - label: 'Four'
327
+ value: 4
328
+ - id: boolean_options
329
+ type: CheckboxSelector
330
+ properties:
331
+ title: Boolean Options
332
+ options:
333
+ - label: 'Yes'
334
+ value: true
335
+ - label: 'No'
336
+ value: false
337
+
338
+ - title: Label Options
339
+ blocks:
340
+ - id: label_default
341
+ type: CheckboxSelector
342
+ properties:
343
+ title: Default Label
344
+ options:
345
+ - Red
346
+ - Green
347
+ - Blue
348
+ - id: label_with_colon
349
+ type: CheckboxSelector
350
+ properties:
351
+ title: Pick a Color
352
+ label:
353
+ colon: true
354
+ options:
355
+ - Red
356
+ - Green
357
+ - Blue
358
+ - id: label_no_colon
359
+ type: CheckboxSelector
360
+ properties:
361
+ title: Pick a Color
362
+ label:
363
+ colon: false
364
+ options:
365
+ - Red
366
+ - Green
367
+ - Blue
368
+ - id: label_with_extra
369
+ type: CheckboxSelector
370
+ properties:
371
+ title: Select Sizes
372
+ label:
373
+ extra: Select all sizes that apply.
374
+ options:
375
+ - Small
376
+ - Medium
377
+ - Large
378
+ - Extra Large
379
+ - id: label_right_aligned
380
+ type: CheckboxSelector
381
+ properties:
382
+ title: Right Aligned Label
383
+ label:
384
+ align: right
385
+ inline: true
386
+ span: 8
387
+ options:
388
+ - Option A
389
+ - Option B
390
+ - Option C
391
+
392
+ - title: Inline Label
393
+ blocks:
394
+ - id: label_inline
395
+ type: CheckboxSelector
396
+ properties:
397
+ title: Inline Label
398
+ label:
399
+ inline: true
400
+ span: 6
401
+ options:
402
+ - Cat
403
+ - Dog
404
+ - Bird
405
+ - id: label_inline_wide
406
+ type: CheckboxSelector
407
+ properties:
408
+ title: Wide Inline Label
409
+ label:
410
+ inline: true
411
+ span: 10
412
+ options:
413
+ - Cat
414
+ - Dog
415
+ - Bird
416
+
417
+ - title: No Label
418
+ blocks:
419
+ - id: no_label
420
+ type: CheckboxSelector
421
+ properties:
422
+ label:
423
+ disabled: true
424
+ options:
425
+ - label: I agree to the Terms of Service
426
+ value: tos
427
+ - label: I want to receive marketing emails
428
+ value: marketing
429
+ - label: I agree to the Privacy Policy
430
+ value: privacy
431
+
432
+ - title: Label with Feedback
433
+ blocks:
434
+ - id: label_feedback_on
435
+ type: CheckboxSelector
436
+ properties:
437
+ title: Feedback Enabled (Default)
438
+ label:
439
+ hasFeedback: true
440
+ options:
441
+ - Option A
442
+ - Option B
443
+ - Option C
444
+ - id: label_feedback_off
445
+ type: CheckboxSelector
446
+ properties:
447
+ title: Feedback Disabled
448
+ label:
449
+ hasFeedback: false
450
+ options:
451
+ - Option A
452
+ - Option B
453
+ - Option C
454
+
455
+ - title: Vertical with Disabled Items
456
+ blocks:
457
+ - id: vertical_mixed_disabled
458
+ type: CheckboxSelector
459
+ properties:
460
+ title: Feature Flags
461
+ direction: vertical
462
+ options:
463
+ - label: Dark Mode
464
+ value: dark_mode
465
+ - label: Beta Features
466
+ value: beta
467
+ - label: Analytics (Coming Soon)
468
+ value: analytics
469
+ disabled: true
470
+ - label: Custom Themes
471
+ value: custom_themes
472
+ - label: AI Assistant (Coming Soon)
473
+ value: ai_assistant
474
+ disabled: true
475
+
476
+ - title: Many Options - Horizontal Wrap
477
+ blocks:
478
+ - id: many_options_wrap
479
+ type: CheckboxSelector
480
+ properties:
481
+ title: Select Countries
482
+ direction: horizontal
483
+ wrap: true
484
+ options:
485
+ - USA
486
+ - Canada
487
+ - Mexico
488
+ - Brazil
489
+ - UK
490
+ - France
491
+ - Germany
492
+ - Italy
493
+ - Spain
494
+ - Japan
495
+ - China
496
+ - India
497
+ - Australia
498
+ - South Africa
499
+ - Egypt
500
+
501
+ - title: Custom Style and Class
502
+ blocks:
503
+ - id: custom_style
504
+ type: CheckboxSelector
505
+ properties:
506
+ title: Styled Container
507
+ options:
508
+ - Alpha
509
+ - Beta
510
+ - Gamma
511
+ style:
512
+ .element:
513
+ padding: 12
514
+ borderRadius: 8
515
+ border: '1px solid #d9d9d9'
516
+ - id: custom_class
517
+ type: CheckboxSelector
518
+ class: p-4 bg-bg-layout rounded-lg
519
+ properties:
520
+ title: Tailwind Styled
521
+ options:
522
+ - Alpha
523
+ - Beta
524
+ - Gamma
525
+
526
+ - title: Theme Token Overrides
527
+ blocks:
528
+ - id: theme_large_checkbox
529
+ type: CheckboxSelector
530
+ properties:
531
+ title: Large Checkbox (controlInteractiveSize)
532
+ options:
533
+ - label: Option A
534
+ value: a
535
+ - label: Option B
536
+ value: b
537
+ - label: Option C
538
+ value: c
539
+ theme:
540
+ controlInteractiveSize: 24
541
+ - id: theme_custom_colors
542
+ type: CheckboxSelector
543
+ properties:
544
+ title: Custom Primary Color via Theme
545
+ options:
546
+ - label: Option A
547
+ value: a
548
+ - label: Option B
549
+ value: b
550
+ - label: Option C
551
+ value: c
552
+ theme:
553
+ colorPrimary: '#eb2f96'
554
+ - id: theme_custom_border
555
+ type: CheckboxSelector
556
+ properties:
557
+ title: Custom Border via Theme
558
+ options:
559
+ - label: Option A
560
+ value: a
561
+ - label: Option B
562
+ value: b
563
+ - label: Option C
564
+ value: c
565
+ theme:
566
+ colorBorder: '#d48806'
567
+ lineWidth: 2
568
+ borderRadiusSM: 6
569
+ - id: theme_combined
570
+ type: CheckboxSelector
571
+ properties:
572
+ title: Combined Token Overrides
573
+ options:
574
+ - label: Option A
575
+ value: a
576
+ - label: Option B
577
+ value: b
578
+ - label: Option C
579
+ value: c
580
+ theme:
581
+ colorPrimary: '#13c2c2'
582
+ colorPrimaryHover: '#36cfc9'
583
+ controlInteractiveSize: 20
584
+ borderRadiusSM: 4
585
+ fontSize: 16
586
+ - id: theme_font_size
587
+ type: CheckboxSelector
588
+ properties:
589
+ title: Large Font Size
590
+ options:
591
+ - Option A
592
+ - Option B
593
+ - Option C
594
+ theme:
595
+ fontSize: 18
596
+
597
+ - title: Color + Direction Combinations
598
+ blocks:
599
+ - id: combo_green_vertical
600
+ type: CheckboxSelector
601
+ properties:
602
+ title: Green Vertical
603
+ color: '#52c41a'
604
+ direction: vertical
605
+ options:
606
+ - label: Task 1
607
+ value: task_1
608
+ - label: Task 2
609
+ value: task_2
610
+ - label: Task 3
611
+ value: task_3
612
+ - id: combo_purple_horizontal
613
+ type: CheckboxSelector
614
+ properties:
615
+ title: Purple Horizontal
616
+ color: '#722ed1'
617
+ direction: horizontal
618
+ options:
619
+ - label: Tag A
620
+ value: tag_a
621
+ - label: Tag B
622
+ value: tag_b
623
+ - label: Tag C
624
+ value: tag_c
625
+ - label: Tag D
626
+ value: tag_d
627
+
628
+ - title: Real-World Examples
629
+ blocks:
630
+ - id: example_permissions
631
+ type: CheckboxSelector
632
+ properties:
633
+ title: User Permissions
634
+ direction: vertical
635
+ label:
636
+ extra: Assign the appropriate permissions for this user role.
637
+ options:
638
+ - label: '<b>Read</b> - View content'
639
+ value: read
640
+ - label: '<b>Write</b> - Create and edit content'
641
+ value: write
642
+ - label: '<b>Delete</b> - Remove content'
643
+ value: delete
644
+ style:
645
+ color: '#f5222d'
646
+ - label: '<b>Admin</b> - Full access'
647
+ value: admin
648
+ style:
649
+ color: '#fa8c16'
650
+ fontWeight: bold
651
+ - id: example_newsletter
652
+ type: CheckboxSelector
653
+ properties:
654
+ title: Newsletter Preferences
655
+ direction: vertical
656
+ color: '#1677ff'
657
+ label:
658
+ extra: Choose which newsletters you would like to receive.
659
+ options:
660
+ - label: Product Updates
661
+ value: product
662
+ - label: Engineering Blog
663
+ value: engineering
664
+ - label: Community Events
665
+ value: community
666
+ - label: Partner Offers
667
+ value: partners
668
+ - id: example_survey
669
+ type: CheckboxSelector
670
+ properties:
671
+ title: How did you hear about us?
672
+ direction: vertical
673
+ label:
674
+ colon: false
675
+ options:
676
+ - Search Engine
677
+ - Social Media
678
+ - Friend or Colleague
679
+ - Blog Post
680
+ - Conference or Event
681
+ - Other
682
+
683
+ - title: Per-option Color
684
+ blocks:
685
+ - id: checkbox_per_option_color
686
+ type: CheckboxSelector
687
+ properties:
688
+ title: 'Each checked box in its option color'
689
+ options:
690
+ - label: Low
691
+ value: low
692
+ color: '#16a34a'
693
+ - label: Medium
694
+ value: medium
695
+ color: '#d97706'
696
+ - label: High
697
+ value: high
698
+ color: '#dc2626'
699
+ - title: Data driven (valueKey)
700
+ blocks:
701
+ - id: data_checkbox_selector
702
+ type: CheckboxSelector
703
+ properties:
704
+ title: Permissions
705
+ data:
706
+ - { id: 1, name: Read }
707
+ - { id: 2, name: Write }
708
+ - { id: 3, name: Admin }
709
+ html: '{{ item.name }}'
710
+ valueKey: id
711
+ - title: Columns
712
+ blocks:
713
+ - id: columns_two
714
+ type: CheckboxSelector
715
+ properties:
716
+ title: Two columns
717
+ columns: 2
718
+ options:
719
+ - Weekday mornings
720
+ - Weekday afternoons
721
+ - Weekday evenings
722
+ - Weekend mornings
723
+ - Weekend afternoons
724
+ - Weekend evenings
725
+ - id: columns_four
726
+ type: CheckboxSelector
727
+ properties:
728
+ title: Four columns
729
+ columns: 4
730
+ options:
731
+ - January
732
+ - February
733
+ - March
734
+ - April
735
+ - May
736
+ - June
737
+ - July
738
+ - August
739
+ - id: columns_responsive
740
+ type: CheckboxSelector
741
+ properties:
742
+ title: One column below md, three from md up
743
+ columns:
744
+ xs: 1
745
+ md: 3
746
+ options:
747
+ - Email
748
+ - SMS
749
+ - Push notification
750
+ - Webhook
751
+ - In-app message
752
+ - Weekly digest
753
+ - id: columns_gutter
754
+ type: CheckboxSelector
755
+ properties:
756
+ title: Wider gutter
757
+ columns: 2
758
+ gutter: [24, 12]
759
+ options:
760
+ - Read
761
+ - Write
762
+ - Delete
763
+ - Administer
764
+ - id: columns_per_option_color
765
+ type: CheckboxSelector
766
+ properties:
767
+ title: Coloured options in a grid
768
+ columns: 2
769
+ options:
770
+ - label: Low
771
+ value: low
772
+ color: '#16a34a'
773
+ - label: Medium
774
+ value: medium
775
+ color: '#d97706'
776
+ - label: High
777
+ value: high
778
+ color: '#dc2626'
779
+ - label: Critical
780
+ value: critical
781
+ color: '#7e22ce'