@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,762 @@
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 Label
16
+ fullWidth: true
17
+ blocks:
18
+ - id: label_basic
19
+ type: Label
20
+ properties:
21
+ title: Field Label
22
+ blocks:
23
+ - id: label_basic_input
24
+ type: TextInput
25
+
26
+ - id: label_no_title
27
+ type: Label
28
+ blocks:
29
+ - id: label_no_title_input
30
+ type: TextInput
31
+
32
+ - title: Title with HTML
33
+ fullWidth: true
34
+ blocks:
35
+ - id: label_html_title
36
+ type: Label
37
+ properties:
38
+ title: '<span style="color: #1677ff;">Blue Label</span>'
39
+ blocks:
40
+ - id: label_html_title_input
41
+ type: TextInput
42
+
43
+ - id: label_html_bold
44
+ type: Label
45
+ properties:
46
+ title: '<b>Bold</b> with <i>italic</i>'
47
+ blocks:
48
+ - id: label_html_bold_input
49
+ type: TextInput
50
+
51
+ - title: Colon
52
+ fullWidth: true
53
+ blocks:
54
+ - id: label_colon_true
55
+ type: Label
56
+ properties:
57
+ title: With Colon (default)
58
+ colon: true
59
+ blocks:
60
+ - id: label_colon_true_input
61
+ type: TextInput
62
+
63
+ - id: label_colon_false
64
+ type: Label
65
+ properties:
66
+ title: Without Colon
67
+ colon: false
68
+ blocks:
69
+ - id: label_colon_false_input
70
+ type: TextInput
71
+
72
+ - title: Disabled Label
73
+ fullWidth: true
74
+ blocks:
75
+ - id: label_disabled
76
+ type: Label
77
+ properties:
78
+ title: This title is hidden
79
+ disabled: true
80
+ blocks:
81
+ - id: label_disabled_input
82
+ type: TextInput
83
+
84
+ - id: label_disabled_extra
85
+ type: Label
86
+ properties:
87
+ title: Also hidden
88
+ disabled: true
89
+ extra: Extra text still appears when label is disabled.
90
+ blocks:
91
+ - id: label_disabled_extra_input
92
+ type: TextInput
93
+
94
+ - title: Extra Text
95
+ fullWidth: true
96
+ blocks:
97
+ - id: label_extra_short
98
+ type: Label
99
+ properties:
100
+ title: Username
101
+ extra: Must be between 3 and 20 characters.
102
+ blocks:
103
+ - id: label_extra_short_input
104
+ type: TextInput
105
+
106
+ - id: label_extra_html
107
+ type: Label
108
+ properties:
109
+ title: Website
110
+ extra: 'Enter a full URL, e.g. <b>https://example.com</b>'
111
+ blocks:
112
+ - id: label_extra_html_input
113
+ type: TextInput
114
+
115
+ - title: Required Indicator
116
+ fullWidth: true
117
+ blocks:
118
+ - id: label_required
119
+ type: Label
120
+ required: true
121
+ properties:
122
+ title: Email Address
123
+ blocks:
124
+ - id: label_required_input
125
+ type: TextInput
126
+
127
+ - id: label_required_extra
128
+ type: Label
129
+ required: true
130
+ properties:
131
+ title: Password
132
+ extra: Minimum 8 characters.
133
+ blocks:
134
+ - id: label_required_extra_input
135
+ type: TextInput
136
+
137
+ - title: Sizes
138
+ fullWidth: true
139
+ blocks:
140
+ - id: label_size_small
141
+ type: Label
142
+ properties:
143
+ title: Small
144
+ size: small
145
+ blocks:
146
+ - id: label_size_small_input
147
+ type: TextInput
148
+ properties:
149
+ size: small
150
+
151
+ - id: label_size_default
152
+ type: Label
153
+ properties:
154
+ title: Default
155
+ size: default
156
+ blocks:
157
+ - id: label_size_default_input
158
+ type: TextInput
159
+
160
+ - id: label_size_large
161
+ type: Label
162
+ properties:
163
+ title: Large
164
+ size: large
165
+ blocks:
166
+ - id: label_size_large_input
167
+ type: TextInput
168
+ properties:
169
+ size: large
170
+
171
+ - title: Align
172
+ fullWidth: true
173
+ blocks:
174
+ - id: label_align_left
175
+ type: Label
176
+ properties:
177
+ title: Left Aligned (default)
178
+ align: left
179
+ inline: true
180
+ span: 6
181
+ blocks:
182
+ - id: label_align_left_input
183
+ type: TextInput
184
+
185
+ - id: label_align_right
186
+ type: Label
187
+ properties:
188
+ title: Right Aligned
189
+ align: right
190
+ inline: true
191
+ span: 6
192
+ blocks:
193
+ - id: label_align_right_input
194
+ type: TextInput
195
+
196
+ - title: Inline Layout
197
+ fullWidth: true
198
+ blocks:
199
+ - id: label_inline
200
+ type: Label
201
+ properties:
202
+ title: Inline Label
203
+ inline: true
204
+ blocks:
205
+ - id: label_inline_input
206
+ type: TextInput
207
+
208
+ - id: label_inline_span4
209
+ type: Label
210
+ properties:
211
+ title: Span 4
212
+ inline: true
213
+ span: 4
214
+ blocks:
215
+ - id: label_inline_span4_input
216
+ type: TextInput
217
+
218
+ - id: label_inline_span8
219
+ type: Label
220
+ properties:
221
+ title: Span 8
222
+ inline: true
223
+ span: 8
224
+ blocks:
225
+ - id: label_inline_span8_input
226
+ type: TextInput
227
+
228
+ - id: label_inline_extra
229
+ type: Label
230
+ properties:
231
+ title: Inline with Extra
232
+ inline: true
233
+ span: 6
234
+ extra: Helper text shown below the input.
235
+ blocks:
236
+ - id: label_inline_extra_input
237
+ type: TextInput
238
+
239
+ - title: Inline Sizes
240
+ fullWidth: true
241
+ blocks:
242
+ - id: label_inline_small
243
+ type: Label
244
+ properties:
245
+ title: Small Inline
246
+ size: small
247
+ inline: true
248
+ span: 6
249
+ blocks:
250
+ - id: label_inline_small_input
251
+ type: TextInput
252
+ properties:
253
+ size: small
254
+
255
+ - id: label_inline_default
256
+ type: Label
257
+ properties:
258
+ title: Default Inline
259
+ size: default
260
+ inline: true
261
+ span: 6
262
+ blocks:
263
+ - id: label_inline_default_input
264
+ type: TextInput
265
+
266
+ - id: label_inline_large
267
+ type: Label
268
+ properties:
269
+ title: Large Inline
270
+ size: large
271
+ inline: true
272
+ span: 6
273
+ blocks:
274
+ - id: label_inline_large_input
275
+ type: TextInput
276
+ properties:
277
+ size: large
278
+
279
+ - title: Wrapping Various Input Types
280
+ fullWidth: true
281
+ blocks:
282
+ - id: label_wrap_number
283
+ type: Label
284
+ properties:
285
+ title: Quantity
286
+ blocks:
287
+ - id: label_wrap_number_input
288
+ type: NumberInput
289
+ properties:
290
+ min: 0
291
+ max: 100
292
+
293
+ - id: label_wrap_switch
294
+ type: Label
295
+ properties:
296
+ title: Enable Notifications
297
+ blocks:
298
+ - id: label_wrap_switch_input
299
+ type: Switch
300
+
301
+ - id: label_wrap_select
302
+ type: Label
303
+ properties:
304
+ title: Country
305
+ blocks:
306
+ - id: label_wrap_select_input
307
+ type: Selector
308
+ properties:
309
+ options:
310
+ - label: United States
311
+ value: us
312
+ - label: United Kingdom
313
+ value: uk
314
+ - label: Germany
315
+ value: de
316
+
317
+ - title: Theme Token Overrides
318
+ fullWidth: true
319
+ blocks:
320
+ - id: label_theme_purple
321
+ type: Label
322
+ required: true
323
+ properties:
324
+ title: Purple Label Theme
325
+ extra: Extra text inherits theme
326
+ theme:
327
+ labelColor: '#722ed1'
328
+ labelFontSize: 16
329
+ labelRequiredMarkColor: '#722ed1'
330
+ blocks:
331
+ - id: label_theme_purple_input
332
+ type: TextInput
333
+
334
+ - id: label_theme_green_mark
335
+ type: Label
336
+ required: true
337
+ properties:
338
+ title: Green Required Mark
339
+ theme:
340
+ labelRequiredMarkColor: '#52c41a'
341
+ blocks:
342
+ - id: label_theme_green_mark_input
343
+ type: TextInput
344
+
345
+ - id: label_theme_colon_spacing
346
+ type: Label
347
+ properties:
348
+ title: Wide Colon Spacing
349
+ theme:
350
+ labelColonMarginInlineStart: 8
351
+ labelColonMarginInlineEnd: 16
352
+ blocks:
353
+ - id: label_theme_colon_input
354
+ type: TextInput
355
+
356
+ - id: label_theme_error_colors
357
+ type: Label
358
+ properties:
359
+ title: Custom Feedback Colors
360
+ theme:
361
+ colorError: '#cf1322'
362
+ colorWarning: '#d48806'
363
+ colorSuccess: '#389e0d'
364
+ blocks:
365
+ - id: label_theme_error_colors_input
366
+ type: TextInput
367
+
368
+ - id: label_theme_description
369
+ type: Label
370
+ properties:
371
+ title: Custom Description Color
372
+ extra: This extra text uses a custom description color.
373
+ theme:
374
+ colorTextDescription: '#722ed1'
375
+ fontSize: 13
376
+ blocks:
377
+ - id: label_theme_description_input
378
+ type: TextInput
379
+
380
+ - title: Style and CSS Overrides
381
+ fullWidth: true
382
+ blocks:
383
+ - id: label_css_label
384
+ type: Label
385
+ properties:
386
+ title: Styled Label Text
387
+ extra: Styled extra text
388
+ class:
389
+ label: text-purple-600 font-bold
390
+ extra: text-purple-400 italic
391
+ blocks:
392
+ - id: label_css_label_input
393
+ type: TextInput
394
+
395
+ - id: label_css_element
396
+ type: Label
397
+ properties:
398
+ title: Bordered Container
399
+ class:
400
+ element: border border-border p-3 rounded-lg
401
+ blocks:
402
+ - id: label_css_element_input
403
+ type: TextInput
404
+
405
+ - id: label_css_feedback
406
+ type: Label
407
+ properties:
408
+ title: Feedback Styling
409
+ class:
410
+ feedback: font-semibold text-xs
411
+ blocks:
412
+ - id: label_css_feedback_input
413
+ type: TextInput
414
+
415
+ - id: label_style_inline
416
+ type: Label
417
+ properties:
418
+ title: Inline Style Overrides
419
+ extra: Styled with inline CSS
420
+ style:
421
+ .label:
422
+ color: '#d46b08'
423
+ fontWeight: bold
424
+ fontSize: 16px
425
+ .extra:
426
+ color: '#d48806'
427
+ fontStyle: italic
428
+ .element:
429
+ border: 1px solid #ffd591
430
+ padding: 12px
431
+ borderRadius: 8px
432
+ blocks:
433
+ - id: label_style_inline_input
434
+ type: TextInput
435
+
436
+ - title: Label in Registration Form
437
+ fullWidth: true
438
+ blocks:
439
+ - id: label_reg_card
440
+ type: Card
441
+ properties:
442
+ title: Create Account
443
+ blocks:
444
+ - id: label_reg_name
445
+ type: Label
446
+ required: true
447
+ properties:
448
+ title: Full Name
449
+ blocks:
450
+ - id: label_reg_name_input
451
+ type: TextInput
452
+
453
+ - id: label_reg_email
454
+ type: Label
455
+ required: true
456
+ properties:
457
+ title: Email Address
458
+ extra: We will never share your email with anyone.
459
+ blocks:
460
+ - id: label_reg_email_input
461
+ type: TextInput
462
+
463
+ - id: label_reg_password
464
+ type: Label
465
+ required: true
466
+ properties:
467
+ title: Password
468
+ extra: Minimum 8 characters with at least one number.
469
+ blocks:
470
+ - id: label_reg_password_input
471
+ type: PasswordInput
472
+
473
+ - id: label_reg_age
474
+ type: Label
475
+ properties:
476
+ title: Age
477
+ blocks:
478
+ - id: label_reg_age_input
479
+ type: NumberInput
480
+ properties:
481
+ min: 18
482
+ max: 120
483
+
484
+ - id: label_reg_bio
485
+ type: Label
486
+ properties:
487
+ title: Bio
488
+ extra: Optional short description about yourself.
489
+ colon: false
490
+ blocks:
491
+ - id: label_reg_bio_input
492
+ type: TextArea
493
+ properties:
494
+ rows: 3
495
+
496
+ - id: label_reg_actions_row
497
+ type: Box
498
+ layout:
499
+ gap: 8
500
+ justify: flex-end
501
+ blocks:
502
+ - id: label_reg_cancel
503
+ type: Button
504
+ layout:
505
+ flex: 0 0 auto
506
+ properties:
507
+ title: Cancel
508
+ color: default
509
+ variant: outlined
510
+ events:
511
+ onClick:
512
+ - id: label_reg_cancel_link
513
+ type: Link
514
+ params:
515
+ home: true
516
+
517
+ - id: label_reg_submit
518
+ type: Button
519
+ layout:
520
+ flex: 0 0 auto
521
+ properties:
522
+ title: Register
523
+ color: primary
524
+ variant: solid
525
+ events:
526
+ onClick:
527
+ - id: label_reg_submit_validate
528
+ type: Validate
529
+ params:
530
+ - label_reg_name
531
+ - label_reg_email
532
+ - label_reg_password
533
+ - id: label_reg_submit_msg
534
+ type: DisplayMessage
535
+ params:
536
+ content: Account created successfully!
537
+ status: success
538
+
539
+ - title: Label in Settings Panel
540
+ fullWidth: true
541
+ blocks:
542
+ - id: label_settings_card
543
+ type: Card
544
+ properties:
545
+ title: Notification Settings
546
+ size: small
547
+ blocks:
548
+ - id: label_settings_email_notif
549
+ type: Label
550
+ properties:
551
+ title: Email Notifications
552
+ inline: true
553
+ span: 8
554
+ align: right
555
+ extra: Receive updates about your account activity.
556
+ blocks:
557
+ - id: label_settings_email_notif_input
558
+ type: Switch
559
+
560
+ - id: label_settings_frequency
561
+ type: Label
562
+ properties:
563
+ title: Frequency
564
+ inline: true
565
+ span: 8
566
+ align: right
567
+ blocks:
568
+ - id: label_settings_frequency_input
569
+ type: Selector
570
+ properties:
571
+ options:
572
+ - label: Immediately
573
+ value: immediate
574
+ - label: Daily Digest
575
+ value: daily
576
+ - label: Weekly Summary
577
+ value: weekly
578
+
579
+ - id: label_settings_sms
580
+ type: Label
581
+ properties:
582
+ title: SMS Alerts
583
+ inline: true
584
+ span: 8
585
+ align: right
586
+ extra: Standard messaging rates may apply.
587
+ blocks:
588
+ - id: label_settings_sms_input
589
+ type: Switch
590
+
591
+ - id: label_settings_phone
592
+ type: Label
593
+ properties:
594
+ title: Phone Number
595
+ inline: true
596
+ span: 8
597
+ align: right
598
+ blocks:
599
+ - id: label_settings_phone_input
600
+ type: PhoneNumberInput
601
+
602
+ - id: label_settings_save_row
603
+ type: Box
604
+ layout:
605
+ justify: flex-end
606
+ gap: 8
607
+ blocks:
608
+ - id: label_settings_save
609
+ type: Button
610
+ layout:
611
+ flex: 0 0 auto
612
+ properties:
613
+ title: Save Preferences
614
+ color: primary
615
+ variant: solid
616
+ events:
617
+ onClick:
618
+ - id: label_settings_save_state
619
+ type: SetState
620
+ params:
621
+ settingsSaved: true
622
+ - id: label_settings_save_msg
623
+ type: DisplayMessage
624
+ params:
625
+ content: Preferences saved.
626
+ status: success
627
+
628
+ - title: Label in Data Entry Form
629
+ fullWidth: true
630
+ blocks:
631
+ - id: label_data_card
632
+ type: Card
633
+ properties:
634
+ title: Add Product
635
+ blocks:
636
+ - id: label_data_name
637
+ type: Label
638
+ required: true
639
+ properties:
640
+ title: Product Name
641
+ size: large
642
+ blocks:
643
+ - id: label_data_name_input
644
+ type: TextInput
645
+ properties:
646
+ size: large
647
+
648
+ - id: label_data_row
649
+ type: Box
650
+ layout:
651
+ gap: 16
652
+ blocks:
653
+ - id: label_data_price
654
+ type: Label
655
+ layout:
656
+ flex: 1 1 0
657
+ required: true
658
+ properties:
659
+ title: Price
660
+ blocks:
661
+ - id: label_data_price_input
662
+ type: NumberInput
663
+ properties:
664
+ min: 0
665
+
666
+ - id: label_data_category
667
+ type: Label
668
+ layout:
669
+ flex: 1 1 0
670
+ required: true
671
+ properties:
672
+ title: Category
673
+ blocks:
674
+ - id: label_data_category_input
675
+ type: Selector
676
+ properties:
677
+ options:
678
+ - label: Electronics
679
+ value: electronics
680
+ - label: Clothing
681
+ value: clothing
682
+ - label: Home & Garden
683
+ value: home
684
+
685
+ - id: label_data_stock
686
+ type: Label
687
+ layout:
688
+ flex: 1 1 0
689
+ properties:
690
+ title: Stock Quantity
691
+ blocks:
692
+ - id: label_data_stock_input
693
+ type: NumberInput
694
+ properties:
695
+ min: 0
696
+
697
+ - id: label_data_desc
698
+ type: Label
699
+ properties:
700
+ title: Description
701
+ extra: '<i>Markdown formatting is supported.</i>'
702
+ colon: false
703
+ blocks:
704
+ - id: label_data_desc_input
705
+ type: TextArea
706
+ properties:
707
+ rows: 4
708
+
709
+ - id: label_data_active
710
+ type: Label
711
+ properties:
712
+ title: Active Listing
713
+ inline: true
714
+ span: 6
715
+ extra: Toggle off to save as draft.
716
+ blocks:
717
+ - id: label_data_active_input
718
+ type: Switch
719
+
720
+ - id: label_data_actions_row
721
+ type: Box
722
+ layout:
723
+ gap: 8
724
+ justify: flex-end
725
+ blocks:
726
+ - id: label_data_save_draft
727
+ type: Button
728
+ layout:
729
+ flex: 0 0 auto
730
+ properties:
731
+ title: Save Draft
732
+ color: default
733
+ variant: outlined
734
+ events:
735
+ onClick:
736
+ - id: label_data_draft_msg
737
+ type: DisplayMessage
738
+ params:
739
+ content: Draft saved.
740
+ status: info
741
+
742
+ - id: label_data_publish
743
+ type: Button
744
+ layout:
745
+ flex: 0 0 auto
746
+ properties:
747
+ title: Publish Product
748
+ color: primary
749
+ variant: solid
750
+ events:
751
+ onClick:
752
+ - id: label_data_publish_validate
753
+ type: Validate
754
+ params:
755
+ - label_data_name
756
+ - label_data_price
757
+ - label_data_category
758
+ - id: label_data_publish_msg
759
+ type: DisplayMessage
760
+ params:
761
+ content: Product published successfully!
762
+ status: success