@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,713 @@
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
18
+ type: AutoComplete
19
+ properties:
20
+ title: Fruit
21
+ placeholder: Type a fruit name
22
+ options:
23
+ - Apple
24
+ - Apricot
25
+ - Avocado
26
+ - Banana
27
+ - Blueberry
28
+ - Cherry
29
+ - Grape
30
+ - Mango
31
+ - Orange
32
+ - Peach
33
+ - id: basic_countries
34
+ type: AutoComplete
35
+ properties:
36
+ title: Country
37
+ placeholder: Search countries
38
+ options:
39
+ - Australia
40
+ - Austria
41
+ - Belgium
42
+ - Brazil
43
+ - Canada
44
+ - Denmark
45
+ - France
46
+ - Germany
47
+ - Japan
48
+ - United Kingdom
49
+ - United States
50
+
51
+ - title: Sizes
52
+ blocks:
53
+ - id: size_small
54
+ type: AutoComplete
55
+ properties:
56
+ title: Small
57
+ size: small
58
+ placeholder: Type to search
59
+ options:
60
+ - Apple
61
+ - Banana
62
+ - Cherry
63
+ - id: size_default
64
+ type: AutoComplete
65
+ properties:
66
+ title: Default
67
+ placeholder: Type to search
68
+ options:
69
+ - Apple
70
+ - Banana
71
+ - Cherry
72
+ - id: size_large
73
+ type: AutoComplete
74
+ properties:
75
+ title: Large
76
+ size: large
77
+ placeholder: Type to search
78
+ options:
79
+ - Apple
80
+ - Banana
81
+ - Cherry
82
+
83
+ - title: Allow Clear
84
+ blocks:
85
+ - id: allow_clear_true
86
+ type: AutoComplete
87
+ properties:
88
+ title: With Clear Button (default)
89
+ allowClear: true
90
+ placeholder: Select and clear
91
+ options:
92
+ - Option A
93
+ - Option B
94
+ - Option C
95
+ - id: allow_clear_false
96
+ type: AutoComplete
97
+ properties:
98
+ title: Without Clear Button
99
+ allowClear: false
100
+ placeholder: No clear button
101
+ options:
102
+ - Option A
103
+ - Option B
104
+ - Option C
105
+
106
+ - title: Backfill Mode
107
+ blocks:
108
+ - id: backfill_enabled
109
+ type: AutoComplete
110
+ properties:
111
+ title: Backfill Enabled
112
+ backfill: true
113
+ placeholder: Use arrow keys to backfill
114
+ options:
115
+ - JavaScript
116
+ - TypeScript
117
+ - Python
118
+ - Ruby
119
+ - Go
120
+ - Rust
121
+ - id: backfill_disabled
122
+ type: AutoComplete
123
+ properties:
124
+ title: Backfill Disabled (default)
125
+ backfill: false
126
+ placeholder: Arrow keys highlight only
127
+ options:
128
+ - JavaScript
129
+ - TypeScript
130
+ - Python
131
+ - Ruby
132
+ - Go
133
+ - Rust
134
+
135
+ - title: Default Open
136
+ blocks:
137
+ - id: default_open_true
138
+ type: AutoComplete
139
+ properties:
140
+ title: Dropdown Open on Render
141
+ defaultOpen: true
142
+ placeholder: Dropdown visible immediately
143
+ options:
144
+ - Red
145
+ - Green
146
+ - Blue
147
+ - Yellow
148
+ - Purple
149
+
150
+ - title: Placeholder Variations
151
+ blocks:
152
+ - id: placeholder_custom
153
+ type: AutoComplete
154
+ properties:
155
+ title: Custom Placeholder
156
+ placeholder: Start typing to search languages...
157
+ options:
158
+ - JavaScript
159
+ - TypeScript
160
+ - Python
161
+ - Ruby
162
+ - Java
163
+ - C++
164
+ - id: placeholder_default
165
+ type: AutoComplete
166
+ properties:
167
+ title: Default Placeholder
168
+ options:
169
+ - Alpha
170
+ - Beta
171
+ - Gamma
172
+ - Delta
173
+
174
+ - title: Variants
175
+ blocks:
176
+ - id: variant_outlined
177
+ type: AutoComplete
178
+ properties:
179
+ title: Outlined (default)
180
+ variant: outlined
181
+ placeholder: Standard border
182
+ options:
183
+ - Option A
184
+ - Option B
185
+ - Option C
186
+ - id: variant_filled
187
+ type: AutoComplete
188
+ properties:
189
+ title: Filled
190
+ variant: filled
191
+ placeholder: Filled background
192
+ options:
193
+ - Option A
194
+ - Option B
195
+ - Option C
196
+ - id: variant_borderless
197
+ type: AutoComplete
198
+ properties:
199
+ title: Borderless
200
+ variant: borderless
201
+ placeholder: No border style
202
+ options:
203
+ - Option A
204
+ - Option B
205
+ - Option C
206
+
207
+ - title: Disabled
208
+ blocks:
209
+ - id: disabled_true
210
+ type: AutoComplete
211
+ properties:
212
+ title: Disabled
213
+ disabled: true
214
+ placeholder: Cannot interact
215
+ options:
216
+ - Option A
217
+ - Option B
218
+ - Option C
219
+ - id: disabled_false
220
+ type: AutoComplete
221
+ properties:
222
+ title: Enabled (default)
223
+ disabled: false
224
+ placeholder: Can interact
225
+ options:
226
+ - Option A
227
+ - Option B
228
+ - Option C
229
+
230
+ - title: AutoFocus
231
+ blocks:
232
+ - id: autofocus_true
233
+ type: AutoComplete
234
+ properties:
235
+ title: AutoFocus Enabled
236
+ autoFocus: true
237
+ placeholder: Focused on page load
238
+ options:
239
+ - Mercury
240
+ - Venus
241
+ - Earth
242
+ - Mars
243
+ - Jupiter
244
+ - Saturn
245
+
246
+ - title: Many Options
247
+ blocks:
248
+ - id: many_options
249
+ type: AutoComplete
250
+ properties:
251
+ title: Programming Languages
252
+ placeholder: Type to filter languages
253
+ options:
254
+ - Assembly
255
+ - Bash
256
+ - C
257
+ - C++
258
+ - C#
259
+ - Clojure
260
+ - COBOL
261
+ - Dart
262
+ - Elixir
263
+ - Erlang
264
+ - F#
265
+ - Fortran
266
+ - Go
267
+ - Groovy
268
+ - Haskell
269
+ - Java
270
+ - JavaScript
271
+ - Julia
272
+ - Kotlin
273
+ - Lisp
274
+ - Lua
275
+ - MATLAB
276
+ - Objective-C
277
+ - OCaml
278
+ - Pascal
279
+ - Perl
280
+ - PHP
281
+ - PowerShell
282
+ - Python
283
+ - R
284
+ - Ruby
285
+ - Rust
286
+ - Scala
287
+ - Shell
288
+ - SQL
289
+ - Swift
290
+ - TypeScript
291
+ - VBA
292
+ - Zig
293
+
294
+ - title: Label Options
295
+ blocks:
296
+ - id: label_title
297
+ type: AutoComplete
298
+ properties:
299
+ title: Custom Label Title
300
+ label:
301
+ title: Choose a color
302
+ placeholder: Type a color
303
+ options:
304
+ - Red
305
+ - Green
306
+ - Blue
307
+ - Yellow
308
+ - id: label_extra
309
+ type: AutoComplete
310
+ properties:
311
+ title: Label with Extra
312
+ label:
313
+ title: City
314
+ extra: Select the city you live in
315
+ placeholder: Type a city name
316
+ options:
317
+ - New York
318
+ - London
319
+ - Tokyo
320
+ - Paris
321
+ - Berlin
322
+ - Sydney
323
+ - id: label_no_colon
324
+ type: AutoComplete
325
+ properties:
326
+ title: Label without Colon
327
+ label:
328
+ title: Animal
329
+ colon: false
330
+ placeholder: Type an animal
331
+ options:
332
+ - Cat
333
+ - Dog
334
+ - Elephant
335
+ - Giraffe
336
+ - Lion
337
+ - id: label_inline
338
+ type: AutoComplete
339
+ properties:
340
+ title: Inline Label
341
+ label:
342
+ title: Framework
343
+ inline: true
344
+ span: 8
345
+ placeholder: Type to search
346
+ options:
347
+ - React
348
+ - Vue
349
+ - Angular
350
+ - Svelte
351
+ - Solid
352
+ - id: label_inline_right
353
+ type: AutoComplete
354
+ properties:
355
+ title: Inline Label Right Aligned
356
+ label:
357
+ title: Database
358
+ inline: true
359
+ span: 8
360
+ align: right
361
+ placeholder: Type to search
362
+ options:
363
+ - PostgreSQL
364
+ - MySQL
365
+ - MongoDB
366
+ - Redis
367
+ - SQLite
368
+
369
+ - title: Hidden Label
370
+ blocks:
371
+ - id: label_hidden
372
+ type: AutoComplete
373
+ properties:
374
+ label:
375
+ disabled: true
376
+ placeholder: No label displayed
377
+ options:
378
+ - Option A
379
+ - Option B
380
+ - Option C
381
+ - id: label_hidden_large
382
+ type: AutoComplete
383
+ properties:
384
+ label:
385
+ disabled: true
386
+ size: large
387
+ placeholder: Large with no label
388
+ options:
389
+ - First
390
+ - Second
391
+ - Third
392
+
393
+ - title: Style Overrides
394
+ blocks:
395
+ - id: style_element
396
+ type: AutoComplete
397
+ style:
398
+ .element:
399
+ borderColor: '#722ed1'
400
+ properties:
401
+ title: Custom Border Color
402
+ placeholder: Purple border
403
+ options:
404
+ - Option A
405
+ - Option B
406
+ - Option C
407
+ - id: style_background
408
+ type: AutoComplete
409
+ style:
410
+ .element:
411
+ properties:
412
+ title: Custom Background
413
+ placeholder: Light green background
414
+ options:
415
+ - Option A
416
+ - Option B
417
+ - Option C
418
+ - id: style_label
419
+ type: AutoComplete
420
+ style:
421
+ .label:
422
+ fontWeight: bold
423
+ color: '#1677ff'
424
+ properties:
425
+ title: Styled Label
426
+ placeholder: Blue bold label
427
+ options:
428
+ - Option A
429
+ - Option B
430
+ - Option C
431
+
432
+ - title: Class Overrides
433
+ blocks:
434
+ - id: class_element
435
+ type: AutoComplete
436
+ class:
437
+ element: rounded-lg shadow-sm
438
+ properties:
439
+ title: Custom Class
440
+ placeholder: Tailwind classes applied
441
+ options:
442
+ - JavaScript
443
+ - TypeScript
444
+ - Python
445
+
446
+ - title: Theme Token Overrides
447
+ blocks:
448
+ - id: theme_border_radius
449
+ type: AutoComplete
450
+ properties:
451
+ title: Large Border Radius
452
+ placeholder: Rounded corners
453
+ options:
454
+ - Option A
455
+ - Option B
456
+ - Option C
457
+ theme:
458
+ borderRadius: 16
459
+ - id: theme_font_size
460
+ type: AutoComplete
461
+ properties:
462
+ title: Large Font Size
463
+ placeholder: Bigger text
464
+ options:
465
+ - Option A
466
+ - Option B
467
+ - Option C
468
+ theme:
469
+ fontSize: 18
470
+ - id: theme_custom_colors
471
+ type: AutoComplete
472
+ properties:
473
+ title: Custom Colors
474
+ placeholder: Styled with theme tokens
475
+ options:
476
+ - Red
477
+ - Green
478
+ - Blue
479
+ theme:
480
+ colorPrimary: '#722ed1'
481
+ colorPrimaryHover: '#9254de'
482
+ - id: theme_option_selected
483
+ type: AutoComplete
484
+ properties:
485
+ title: Custom Selected Option Style
486
+ placeholder: Custom option highlight
487
+ options:
488
+ - Apple
489
+ - Banana
490
+ - Cherry
491
+ - Dragonfruit
492
+ theme:
493
+ optionSelectedColor: '#531dab'
494
+ optionSelectedFontWeight: 700
495
+ - id: theme_option_height
496
+ type: AutoComplete
497
+ properties:
498
+ title: Taller Options
499
+ placeholder: Taller dropdown items
500
+ options:
501
+ - First Item
502
+ - Second Item
503
+ - Third Item
504
+ theme:
505
+ optionHeight: 44
506
+ optionFontSize: 16
507
+ - id: theme_control_height
508
+ type: AutoComplete
509
+ properties:
510
+ title: Custom Control Height
511
+ placeholder: Taller input
512
+ options:
513
+ - Option A
514
+ - Option B
515
+ - Option C
516
+ theme:
517
+ controlHeight: 44
518
+ controlHeightLG: 52
519
+ - id: theme_combined
520
+ type: AutoComplete
521
+ properties:
522
+ title: Combined Token Overrides
523
+ placeholder: Multiple tokens combined
524
+ options:
525
+ - React
526
+ - Vue
527
+ - Angular
528
+ - Svelte
529
+ theme:
530
+ borderRadius: 12
531
+ colorPrimary: '#52c41a'
532
+ colorPrimaryHover: '#73d13d'
533
+ fontSize: 15
534
+ controlHeight: 40
535
+
536
+ - title: Sizes with Disabled
537
+ blocks:
538
+ - id: disabled_small
539
+ type: AutoComplete
540
+ properties:
541
+ title: Disabled Small
542
+ size: small
543
+ disabled: true
544
+ placeholder: Disabled small
545
+ options:
546
+ - Alpha
547
+ - Beta
548
+ - id: disabled_default
549
+ type: AutoComplete
550
+ properties:
551
+ title: Disabled Default
552
+ disabled: true
553
+ placeholder: Disabled default
554
+ options:
555
+ - Alpha
556
+ - Beta
557
+ - id: disabled_large
558
+ type: AutoComplete
559
+ properties:
560
+ title: Disabled Large
561
+ size: large
562
+ disabled: true
563
+ placeholder: Disabled large
564
+ options:
565
+ - Alpha
566
+ - Beta
567
+
568
+ - title: Sizes with Variants
569
+ blocks:
570
+ - id: filled_small
571
+ type: AutoComplete
572
+ properties:
573
+ title: Filled Small
574
+ size: small
575
+ variant: filled
576
+ placeholder: Filled small
577
+ options:
578
+ - One
579
+ - Two
580
+ - Three
581
+ - id: filled_default
582
+ type: AutoComplete
583
+ properties:
584
+ title: Filled Default
585
+ variant: filled
586
+ placeholder: Filled default
587
+ options:
588
+ - One
589
+ - Two
590
+ - Three
591
+ - id: filled_large
592
+ type: AutoComplete
593
+ properties:
594
+ title: Filled Large
595
+ size: large
596
+ variant: filled
597
+ placeholder: Filled large
598
+ options:
599
+ - One
600
+ - Two
601
+ - Three
602
+
603
+ - title: AutoComplete in Search Form
604
+ blocks:
605
+ - id: applied_search_form
606
+ type: Card
607
+ properties:
608
+ title: Product Search
609
+ blocks:
610
+ - id: applied_search_input
611
+ type: AutoComplete
612
+ properties:
613
+ title: Search Products
614
+ placeholder: Start typing a product name...
615
+ size: large
616
+ options:
617
+ - MacBook Pro 16"
618
+ - MacBook Air M3
619
+ - iPad Pro 13"
620
+ - iPhone 16 Pro
621
+ - Apple Watch Ultra
622
+ - AirPods Pro
623
+ events:
624
+ onChange:
625
+ - id: search_message
626
+ type: DisplayMessage
627
+ params:
628
+ content:
629
+ _string.concat:
630
+ - 'Searching for: '
631
+ - _state: applied_search_input
632
+ duration: 1
633
+ - id: applied_search_button
634
+ type: Button
635
+ properties:
636
+ title: Search
637
+ icon: AiOutlineSearch
638
+ type: primary
639
+ size: large
640
+ events:
641
+ onClick:
642
+ - id: search_action
643
+ type: DisplayMessage
644
+ params:
645
+ content:
646
+ _if:
647
+ test:
648
+ _ne:
649
+ - _state: applied_search_input
650
+ - null
651
+ then:
652
+ _string.concat:
653
+ - 'Searching for: '
654
+ - _state: applied_search_input
655
+ else: Please enter a search term
656
+
657
+ - title: AutoComplete in User Profile Form
658
+ blocks:
659
+ - id: applied_profile_card
660
+ type: Card
661
+ properties:
662
+ title: Profile Settings
663
+ blocks:
664
+ - id: applied_profile_name
665
+ type: TextInput
666
+ properties:
667
+ title: Full Name
668
+ placeholder: Enter your full name
669
+ - id: applied_profile_role
670
+ type: AutoComplete
671
+ properties:
672
+ title: Job Title
673
+ label:
674
+ extra: Select a common title or type your own
675
+ placeholder: e.g. Software Engineer
676
+ options:
677
+ - Software Engineer
678
+ - Senior Software Engineer
679
+ - Staff Engineer
680
+ - Engineering Manager
681
+ - Product Manager
682
+ - Designer
683
+ - Data Scientist
684
+ - DevOps Engineer
685
+ - QA Engineer
686
+ - Technical Lead
687
+ - id: applied_profile_department
688
+ type: AutoComplete
689
+ properties:
690
+ title: Department
691
+ placeholder: Select or type department
692
+ options:
693
+ - Engineering
694
+ - Product
695
+ - Design
696
+ - Marketing
697
+ - Sales
698
+ - Operations
699
+ - Finance
700
+ - Human Resources
701
+ - id: applied_profile_save
702
+ type: Button
703
+ properties:
704
+ title: Save Profile
705
+ type: primary
706
+ icon: AiOutlineSave
707
+ events:
708
+ onClick:
709
+ - id: save_action
710
+ type: DisplayMessage
711
+ params:
712
+ content: Profile saved successfully
713
+ status: success