@lowdefy/blocks-antd 5.5.1 → 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 (288) 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/CheckboxSelector.js +54 -29
  36. package/dist/blocks/CheckboxSelector/gallery.yaml +781 -0
  37. package/dist/blocks/CheckboxSelector/meta.js +24 -4
  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 +4 -4
  106. package/dist/blocks/Label/gallery.yaml +762 -0
  107. package/dist/blocks/Label/labelLogic.js +4 -1
  108. package/dist/blocks/Label/{style.module.css → style.css} +28 -28
  109. package/dist/blocks/Label/tests/Label.e2e.yaml +247 -0
  110. package/dist/blocks/Label/tests.yaml +212 -0
  111. package/dist/blocks/Layout/gallery.yaml +548 -0
  112. package/dist/blocks/Layout/tests/Layout.e2e.yaml +86 -0
  113. package/dist/blocks/Layout/tests.yaml +28 -0
  114. package/dist/blocks/ListSelector/gallery.yaml +223 -0
  115. package/dist/blocks/Masonry/gallery.yaml +989 -0
  116. package/dist/blocks/Masonry/tests/Masonry.e2e.yaml +128 -0
  117. package/dist/blocks/Masonry/tests.yaml +42 -0
  118. package/dist/blocks/MasonryList/gallery.yaml +224 -0
  119. package/dist/blocks/MasonryList/tests/MasonryList.e2e.yaml +55 -0
  120. package/dist/blocks/MasonryList/tests.yaml +42 -0
  121. package/dist/blocks/Menu/gallery.yaml +974 -0
  122. package/dist/blocks/Menu/tests/Menu.e2e.yaml +484 -0
  123. package/dist/blocks/Menu/tests.yaml +1053 -0
  124. package/dist/blocks/Message/gallery.yaml +860 -0
  125. package/dist/blocks/Message/tests/Message.e2e.yaml +246 -0
  126. package/dist/blocks/Message/tests.yaml +54 -0
  127. package/dist/blocks/MobileMenu/gallery.yaml +1172 -0
  128. package/dist/blocks/MobileMenu/tests/MobileMenu.e2e.yaml +314 -0
  129. package/dist/blocks/MobileMenu/tests.yaml +359 -0
  130. package/dist/blocks/Modal/gallery.yaml +1039 -0
  131. package/dist/blocks/Modal/tests/Modal.e2e.yaml +493 -0
  132. package/dist/blocks/Modal/tests.yaml +75 -0
  133. package/dist/blocks/MonthSelector/MonthSelector.js +6 -0
  134. package/dist/blocks/MonthSelector/e2e.js +26 -2
  135. package/dist/blocks/MonthSelector/gallery.yaml +687 -0
  136. package/dist/blocks/MonthSelector/meta.js +6 -0
  137. package/dist/blocks/MonthSelector/tests/MonthSelector.e2e.yaml +167 -0
  138. package/dist/blocks/MonthSelector/tests.yaml +124 -0
  139. package/dist/blocks/MultipleSelector/gallery.yaml +1245 -0
  140. package/dist/blocks/MultipleSelector/tests/MultipleSelector.e2e.yaml +445 -0
  141. package/dist/blocks/MultipleSelector/tests.yaml +201 -0
  142. package/dist/blocks/Notification/gallery.yaml +1376 -0
  143. package/dist/blocks/Notification/tests/Notification.e2e.yaml +362 -0
  144. package/dist/blocks/Notification/tests.yaml +97 -0
  145. package/dist/blocks/NumberInput/gallery.yaml +753 -0
  146. package/dist/blocks/NumberInput/tests/NumberInput.e2e.yaml +228 -0
  147. package/dist/blocks/NumberInput/tests.yaml +116 -0
  148. package/dist/blocks/PageHeaderMenu/PageHeaderMenu.js +1 -1
  149. package/dist/blocks/PageHeaderMenu/gallery.yaml +480 -0
  150. package/dist/blocks/PageHeaderMenu/tests/PageHeaderMenu.e2e.yaml +110 -0
  151. package/dist/blocks/PageHeaderMenu/tests.yaml +173 -0
  152. package/dist/blocks/PageSidebarLayout/PageSidebarLayout.js +10 -1
  153. package/dist/blocks/PageSidebarLayout/gallery.yaml +302 -0
  154. package/dist/blocks/PageSidebarLayout/meta.js +1 -0
  155. package/dist/blocks/PageSidebarLayout/tests/PageSidebarLayout.e2e.yaml +216 -0
  156. package/dist/blocks/PageSidebarLayout/tests.yaml +174 -0
  157. package/dist/blocks/PageSiderMenu/PageSiderMenu.js +1 -1
  158. package/dist/blocks/PageSiderMenu/gallery.yaml +516 -0
  159. package/dist/blocks/PageSiderMenu/tests/PageSiderMenu.e2e.yaml +175 -0
  160. package/dist/blocks/PageSiderMenu/tests.yaml +211 -0
  161. package/dist/blocks/Pagination/gallery.yaml +503 -0
  162. package/dist/blocks/Pagination/tests/Pagination.e2e.yaml +159 -0
  163. package/dist/blocks/Pagination/tests.yaml +80 -0
  164. package/dist/blocks/Paragraph/gallery.yaml +458 -0
  165. package/dist/blocks/Paragraph/tests/Paragraph.e2e.yaml +153 -0
  166. package/dist/blocks/Paragraph/tests.yaml +176 -0
  167. package/dist/blocks/ParagraphInput/gallery.yaml +1483 -0
  168. package/dist/blocks/ParagraphInput/tests/ParagraphInput.e2e.yaml +189 -0
  169. package/dist/blocks/ParagraphInput/tests.yaml +163 -0
  170. package/dist/blocks/PasswordInput/gallery.yaml +420 -0
  171. package/dist/blocks/PasswordInput/tests/PasswordInput.e2e.yaml +188 -0
  172. package/dist/blocks/PasswordInput/tests.yaml +78 -0
  173. package/dist/blocks/PhoneNumberInput/gallery.yaml +677 -0
  174. package/dist/blocks/PhoneNumberInput/tests/PhoneNumberInput.e2e.yaml +279 -0
  175. package/dist/blocks/PhoneNumberInput/tests.yaml +25 -0
  176. package/dist/blocks/Popover/gallery.yaml +1301 -0
  177. package/dist/blocks/Popover/tests/Popover.e2e.yaml +249 -0
  178. package/dist/blocks/Popover/tests.yaml +105 -0
  179. package/dist/blocks/Progress/gallery.yaml +772 -0
  180. package/dist/blocks/Progress/tests/Progress.e2e.yaml +167 -0
  181. package/dist/blocks/Progress/tests.yaml +114 -0
  182. package/dist/blocks/QRCode/gallery.yaml +492 -0
  183. package/dist/blocks/QRCode/tests/QRCode.e2e.yaml +66 -0
  184. package/dist/blocks/QRCode/tests.yaml +113 -0
  185. package/dist/blocks/RadioSelector/RadioSelector.js +50 -25
  186. package/dist/blocks/RadioSelector/gallery.yaml +816 -0
  187. package/dist/blocks/RadioSelector/meta.js +23 -3
  188. package/dist/blocks/RadioSelector/tests/RadioSelector.e2e.yaml +269 -0
  189. package/dist/blocks/RadioSelector/tests.yaml +339 -0
  190. package/dist/blocks/RatingSlider/gallery.yaml +627 -0
  191. package/dist/blocks/RatingSlider/tests/RatingSlider.e2e.yaml +188 -0
  192. package/dist/blocks/RatingSlider/tests.yaml +116 -0
  193. package/dist/blocks/Result/gallery.yaml +925 -0
  194. package/dist/blocks/Result/tests/Result.e2e.yaml +126 -0
  195. package/dist/blocks/Result/tests.yaml +75 -0
  196. package/dist/blocks/Search/Search.js +1 -1
  197. package/dist/blocks/Search/SearchModal.js +18 -9
  198. package/dist/blocks/Search/gallery.yaml +170 -0
  199. package/dist/blocks/Search/meta.js +2 -1
  200. package/dist/blocks/Search/{style.module.css → style.css} +19 -12
  201. package/dist/blocks/Search/tests/Search.e2e.yaml +125 -0
  202. package/dist/blocks/Search/useSearchIndex.js +24 -2
  203. package/dist/blocks/SegmentedSelector/gallery.yaml +725 -0
  204. package/dist/blocks/SegmentedSelector/tests/SegmentedSelector.e2e.yaml +115 -0
  205. package/dist/blocks/SegmentedSelector/tests.yaml +141 -0
  206. package/dist/blocks/Selector/gallery.yaml +1055 -0
  207. package/dist/blocks/Selector/tests/Selector.e2e.yaml +427 -0
  208. package/dist/blocks/Selector/tests.yaml +196 -0
  209. package/dist/blocks/Sider/gallery.yaml +994 -0
  210. package/dist/blocks/Sider/tests/Sider.e2e.yaml +162 -0
  211. package/dist/blocks/Sider/tests.yaml +20 -0
  212. package/dist/blocks/Slider/gallery.yaml +600 -0
  213. package/dist/blocks/Slider/tests/Slider.e2e.yaml +190 -0
  214. package/dist/blocks/Slider/tests.yaml +68 -0
  215. package/dist/blocks/Splitter/gallery.yaml +1511 -0
  216. package/dist/blocks/Splitter/tests/Splitter.e2e.yaml +114 -0
  217. package/dist/blocks/Splitter/tests.yaml +79 -0
  218. package/dist/blocks/Statistic/gallery.yaml +460 -0
  219. package/dist/blocks/Statistic/tests/Statistic.e2e.yaml +137 -0
  220. package/dist/blocks/Statistic/tests.yaml +77 -0
  221. package/dist/blocks/Steps/gallery.yaml +550 -0
  222. package/dist/blocks/Switch/gallery.yaml +502 -0
  223. package/dist/blocks/Switch/tests/Switch.e2e.yaml +132 -0
  224. package/dist/blocks/Switch/tests.yaml +87 -0
  225. package/dist/blocks/Tabs/gallery.yaml +1353 -0
  226. package/dist/blocks/Tabs/tests/Tabs.e2e.yaml +370 -0
  227. package/dist/blocks/Tabs/tests.yaml +349 -0
  228. package/dist/blocks/Tag/gallery.yaml +598 -0
  229. package/dist/blocks/Tag/tests/Tag.e2e.yaml +173 -0
  230. package/dist/blocks/Tag/tests.yaml +51 -0
  231. package/dist/blocks/TagMultipleSelector/TagMultipleSelector.js +53 -0
  232. package/dist/blocks/TagMultipleSelector/e2e.js +36 -0
  233. package/dist/blocks/TagMultipleSelector/gallery.yaml +70 -0
  234. package/dist/blocks/TagMultipleSelector/meta.js +91 -0
  235. package/dist/blocks/TagMultipleSelector/tests/TagMultipleSelector.e2e.yaml +93 -0
  236. package/dist/blocks/TagSelector/TagSelector.js +49 -0
  237. package/dist/blocks/TagSelector/e2e.js +36 -0
  238. package/dist/blocks/TagSelector/gallery.yaml +70 -0
  239. package/dist/blocks/TagSelector/meta.js +91 -0
  240. package/dist/blocks/TagSelector/tests/TagSelector.e2e.yaml +93 -0
  241. package/dist/blocks/TextArea/gallery.yaml +618 -0
  242. package/dist/blocks/TextArea/tests/TextArea.e2e.yaml +218 -0
  243. package/dist/blocks/TextArea/tests.yaml +100 -0
  244. package/dist/blocks/TextInput/gallery.yaml +560 -0
  245. package/dist/blocks/TextInput/tests/TextInput.e2e.yaml +287 -0
  246. package/dist/blocks/TextInput/tests.yaml +114 -0
  247. package/dist/blocks/TimelineList/gallery.yaml +431 -0
  248. package/dist/blocks/TimelineList/tests/TimelineList.e2e.yaml +244 -0
  249. package/dist/blocks/TimelineList/tests.yaml +251 -0
  250. package/dist/blocks/Title/gallery.yaml +483 -0
  251. package/dist/blocks/Title/tests/Title.e2e.yaml +180 -0
  252. package/dist/blocks/Title/tests.yaml +175 -0
  253. package/dist/blocks/TitleInput/gallery.yaml +1006 -0
  254. package/dist/blocks/TitleInput/tests/TitleInput.e2e.yaml +195 -0
  255. package/dist/blocks/TitleInput/tests.yaml +181 -0
  256. package/dist/blocks/Tooltip/gallery.yaml +1214 -0
  257. package/dist/blocks/Tooltip/tests/Tooltip.e2e.yaml +195 -0
  258. package/dist/blocks/Tooltip/tests.yaml +92 -0
  259. package/dist/blocks/Tour/gallery.yaml +2305 -0
  260. package/dist/blocks/Tour/tests/Tour.e2e.yaml +90 -0
  261. package/dist/blocks/Tour/tests.yaml +151 -0
  262. package/dist/blocks/TreeInput/gallery.yaml +78 -0
  263. package/dist/blocks/TreeInput/tests/TreeInput.e2e.yaml +139 -0
  264. package/dist/blocks/TreeInput/tests.yaml +140 -0
  265. package/dist/blocks/TreeMultipleSelector/gallery.yaml +67 -0
  266. package/dist/blocks/TreeSelector/gallery.yaml +81 -0
  267. package/dist/blocks/Watermark/gallery.yaml +479 -0
  268. package/dist/blocks/Watermark/tests/Watermark.e2e.yaml +62 -0
  269. package/dist/blocks/Watermark/tests.yaml +86 -0
  270. package/dist/blocks/WeekSelector/WeekSelector.js +6 -0
  271. package/dist/blocks/WeekSelector/e2e.js +26 -2
  272. package/dist/blocks/WeekSelector/gallery.yaml +589 -0
  273. package/dist/blocks/WeekSelector/meta.js +6 -0
  274. package/dist/blocks/WeekSelector/tests/WeekSelector.e2e.yaml +154 -0
  275. package/dist/blocks/WeekSelector/tests.yaml +122 -0
  276. package/dist/blocks.js +2 -0
  277. package/dist/disabledDate.js +91 -19
  278. package/dist/e2e.js +2 -0
  279. package/dist/getPresets.js +151 -0
  280. package/dist/getTagColor.js +44 -0
  281. package/dist/getTagSelectorOptions.js +30 -0
  282. package/dist/metas.js +2 -0
  283. package/dist/pickerPresetsStyle.css +26 -0
  284. package/dist/schemas/disabledDates.js +6 -2
  285. package/dist/schemas/index.js +1 -0
  286. package/dist/schemas/presets.js +111 -0
  287. package/dist/tagSelectorStyle.css +68 -0
  288. package/package.json +13 -13
@@ -0,0 +1,618 @@
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: Sizes
16
+ blocks:
17
+ - id: size_small
18
+ type: TextArea
19
+ properties:
20
+ title: Small
21
+ size: small
22
+ placeholder: Small textarea
23
+ - id: size_middle
24
+ type: TextArea
25
+ properties:
26
+ title: Middle (Default)
27
+ size: middle
28
+ placeholder: Middle textarea
29
+ - id: size_large
30
+ type: TextArea
31
+ properties:
32
+ title: Large
33
+ size: large
34
+ placeholder: Large textarea
35
+ - title: Placeholder
36
+ blocks:
37
+ - id: placeholder_default
38
+ type: TextArea
39
+ properties:
40
+ title: With Placeholder
41
+ placeholder: Enter your comments here...
42
+ - id: placeholder_long
43
+ type: TextArea
44
+ properties:
45
+ title: Descriptive Placeholder
46
+ placeholder: Please provide a detailed description of the issue you encountered, including steps to reproduce, expected behavior, and actual behavior.
47
+ - id: placeholder_none
48
+ type: TextArea
49
+ properties:
50
+ title: No Placeholder
51
+ label:
52
+ extra: TextArea with no placeholder text.
53
+ - title: Row Variations
54
+ blocks:
55
+ - id: rows_1
56
+ type: TextArea
57
+ properties:
58
+ title: 1 Row
59
+ rows: 1
60
+ placeholder: Single row
61
+ - id: rows_2
62
+ type: TextArea
63
+ properties:
64
+ title: 2 Rows
65
+ rows: 2
66
+ placeholder: Two rows
67
+ - id: rows_3
68
+ type: TextArea
69
+ properties:
70
+ title: 3 Rows (Default)
71
+ placeholder: Three rows (default when no rows or autoSize specified)
72
+ - id: rows_4
73
+ type: TextArea
74
+ properties:
75
+ title: 4 Rows
76
+ rows: 4
77
+ placeholder: Four rows
78
+ - id: rows_6
79
+ type: TextArea
80
+ properties:
81
+ title: 6 Rows
82
+ rows: 6
83
+ placeholder: Six rows
84
+ - id: rows_10
85
+ type: TextArea
86
+ properties:
87
+ title: 10 Rows
88
+ rows: 10
89
+ placeholder: Ten rows - suitable for large text content
90
+ - title: Auto Size (Boolean)
91
+ blocks:
92
+ - id: auto_size_true
93
+ type: TextArea
94
+ properties:
95
+ title: Auto Size Enabled
96
+ autoSize: true
97
+ placeholder: Start typing and the textarea will grow automatically as you add more lines of text
98
+ - id: auto_size_false
99
+ type: TextArea
100
+ properties:
101
+ title: Auto Size Disabled (Default)
102
+ autoSize: false
103
+ placeholder: Fixed height, does not grow
104
+ - title: Auto Size (Min / Max Rows)
105
+ blocks:
106
+ - id: auto_size_min2_max4
107
+ type: TextArea
108
+ properties:
109
+ title: Min 2, Max 4 Rows
110
+ autoSize:
111
+ minRows: 2
112
+ maxRows: 4
113
+ placeholder: Grows from 2 to 4 rows
114
+ - id: auto_size_min3_max6
115
+ type: TextArea
116
+ properties:
117
+ title: Min 3, Max 6 Rows
118
+ autoSize:
119
+ minRows: 3
120
+ maxRows: 6
121
+ placeholder: Grows from 3 to 6 rows
122
+ - id: auto_size_min1_max10
123
+ type: TextArea
124
+ properties:
125
+ title: Min 1, Max 10 Rows
126
+ autoSize:
127
+ minRows: 1
128
+ maxRows: 10
129
+ placeholder: Compact start, generous max
130
+ - id: auto_size_min5_max5
131
+ type: TextArea
132
+ properties:
133
+ title: Min 5, Max 5 Rows (Fixed via autoSize)
134
+ autoSize:
135
+ minRows: 5
136
+ maxRows: 5
137
+ placeholder: Fixed at exactly 5 rows using autoSize object
138
+ - id: auto_size_min_only
139
+ type: TextArea
140
+ properties:
141
+ title: Min 2 Rows (No Max)
142
+ autoSize:
143
+ minRows: 2
144
+ placeholder: Starts at 2 rows, grows indefinitely
145
+ - title: Allow Clear
146
+ blocks:
147
+ - id: allow_clear_true
148
+ type: TextArea
149
+ properties:
150
+ title: Allow Clear Enabled
151
+ allowClear: true
152
+ placeholder: Type something then click the clear icon
153
+ - id: allow_clear_false
154
+ type: TextArea
155
+ properties:
156
+ title: Allow Clear Disabled (Default)
157
+ allowClear: false
158
+ placeholder: No clear icon will appear
159
+ - id: allow_clear_with_rows
160
+ type: TextArea
161
+ properties:
162
+ title: Allow Clear with 4 Rows
163
+ allowClear: true
164
+ rows: 4
165
+ placeholder: Clearable with 4 rows
166
+ - title: Character Count (showCount)
167
+ blocks:
168
+ - id: show_count_basic
169
+ type: TextArea
170
+ properties:
171
+ title: Show Count
172
+ showCount: true
173
+ placeholder: Character count displayed below
174
+ - id: show_count_with_max
175
+ type: TextArea
176
+ properties:
177
+ title: Show Count with Max Length (100)
178
+ showCount: true
179
+ maxLength: 100
180
+ placeholder: Max 100 characters
181
+ - id: show_count_max_200
182
+ type: TextArea
183
+ properties:
184
+ title: Show Count with Max Length (200)
185
+ showCount: true
186
+ maxLength: 200
187
+ placeholder: Max 200 characters
188
+ - id: show_count_max_50
189
+ type: TextArea
190
+ properties:
191
+ title: Show Count with Max Length (50)
192
+ showCount: true
193
+ maxLength: 50
194
+ placeholder: Short limit - 50 characters
195
+ - id: show_count_false
196
+ type: TextArea
197
+ properties:
198
+ title: Show Count Disabled (Default)
199
+ showCount: false
200
+ placeholder: No character count
201
+ - title: Max Length (without showCount)
202
+ blocks:
203
+ - id: max_length_20
204
+ type: TextArea
205
+ properties:
206
+ title: Max 20 Characters
207
+ maxLength: 20
208
+ placeholder: Limited to 20 characters
209
+ - id: max_length_500
210
+ type: TextArea
211
+ properties:
212
+ title: Max 500 Characters
213
+ maxLength: 500
214
+ placeholder: Limited to 500 characters
215
+ - id: max_length_with_count
216
+ type: TextArea
217
+ properties:
218
+ title: Max 150 with Count
219
+ maxLength: 150
220
+ showCount: true
221
+ placeholder: Shows count and limits input
222
+ - title: Bordered / Borderless
223
+ blocks:
224
+ - id: bordered_true
225
+ type: TextArea
226
+ properties:
227
+ title: Bordered (Default)
228
+ bordered: true
229
+ placeholder: Standard bordered textarea
230
+ - id: bordered_false
231
+ type: TextArea
232
+ properties:
233
+ title: Borderless
234
+ bordered: false
235
+ placeholder: No border style
236
+ - id: borderless_with_rows
237
+ type: TextArea
238
+ properties:
239
+ title: Borderless with 6 Rows
240
+ bordered: false
241
+ rows: 6
242
+ placeholder: Larger borderless textarea
243
+ - title: Disabled State
244
+ blocks:
245
+ - id: disabled_empty
246
+ type: TextArea
247
+ properties:
248
+ title: Disabled (Empty)
249
+ disabled: true
250
+ placeholder: Cannot edit this field
251
+ - id: disabled_with_value
252
+ type: TextArea
253
+ properties:
254
+ title: Disabled (With Value)
255
+ disabled: true
256
+ events:
257
+ onMount:
258
+ - id: set_default
259
+ type: SetState
260
+ params:
261
+ disabled_with_value: This textarea is disabled and contains pre-filled content that cannot be edited.
262
+ - id: disabled_with_rows
263
+ type: TextArea
264
+ properties:
265
+ title: Disabled with 6 Rows
266
+ disabled: true
267
+ rows: 6
268
+ placeholder: Cannot edit
269
+ - id: disabled_borderless
270
+ type: TextArea
271
+ properties:
272
+ title: Disabled & Borderless
273
+ disabled: true
274
+ bordered: false
275
+ placeholder: Disabled without border
276
+ - title: Label Options
277
+ blocks:
278
+ - id: label_default
279
+ type: TextArea
280
+ properties:
281
+ title: Default Label
282
+ placeholder: Standard label above
283
+ - id: label_custom_title
284
+ type: TextArea
285
+ properties:
286
+ title: Custom Title
287
+ label:
288
+ title: <b>Bold Label</b> with HTML
289
+ placeholder: Label supports HTML content
290
+ - id: label_with_extra
291
+ type: TextArea
292
+ properties:
293
+ title: Label with Extra
294
+ label:
295
+ extra: This is extra helper text below the textarea.
296
+ placeholder: Extra text appears below
297
+ - id: label_with_colon
298
+ type: TextArea
299
+ properties:
300
+ title: With Colon
301
+ label:
302
+ colon: true
303
+ placeholder: Colon appended to label
304
+ - id: label_no_colon
305
+ type: TextArea
306
+ properties:
307
+ title: Without Colon
308
+ label:
309
+ colon: false
310
+ placeholder: No colon on label
311
+ - title: Label Inline
312
+ blocks:
313
+ - id: label_inline
314
+ type: TextArea
315
+ properties:
316
+ title: Inline Label
317
+ label:
318
+ inline: true
319
+ placeholder: Label and input on the same line
320
+ - id: label_inline_right
321
+ type: TextArea
322
+ properties:
323
+ title: Inline Right Aligned
324
+ label:
325
+ inline: true
326
+ align: right
327
+ placeholder: Right-aligned inline label
328
+ - id: label_inline_span
329
+ type: TextArea
330
+ properties:
331
+ title: Inline with Span
332
+ label:
333
+ inline: true
334
+ span: 8
335
+ placeholder: Custom label span width
336
+ - id: label_inline_extra
337
+ type: TextArea
338
+ properties:
339
+ title: Inline with Extra
340
+ label:
341
+ inline: true
342
+ extra: Helper text beneath inline textarea.
343
+ placeholder: Inline with extra text
344
+ - title: Label Disabled / Hidden
345
+ blocks:
346
+ - id: label_disabled
347
+ type: TextArea
348
+ properties:
349
+ title: Hidden Label
350
+ label:
351
+ disabled: true
352
+ placeholder: Label is hidden but title still set
353
+ - id: label_feedback_disabled
354
+ type: TextArea
355
+ properties:
356
+ title: No Feedback
357
+ label:
358
+ hasFeedback: false
359
+ placeholder: Validation feedback text will not appear
360
+ - title: Combined Features - Count + AutoSize
361
+ blocks:
362
+ - id: combo_count_autosize
363
+ type: TextArea
364
+ properties:
365
+ title: Count + Auto Size
366
+ showCount: true
367
+ maxLength: 300
368
+ autoSize:
369
+ minRows: 2
370
+ maxRows: 8
371
+ placeholder: Auto-growing textarea with character count
372
+ - id: combo_count_autosize_clear
373
+ type: TextArea
374
+ properties:
375
+ title: Count + Auto Size + Clear
376
+ showCount: true
377
+ maxLength: 500
378
+ autoSize:
379
+ minRows: 3
380
+ maxRows: 10
381
+ allowClear: true
382
+ placeholder: All features combined
383
+ - title: Combined Features - Size + Rows
384
+ blocks:
385
+ - id: combo_small_2rows
386
+ type: TextArea
387
+ properties:
388
+ title: Small with 2 Rows
389
+ size: small
390
+ rows: 2
391
+ placeholder: Compact small textarea
392
+ - id: combo_large_6rows
393
+ type: TextArea
394
+ properties:
395
+ title: Large with 6 Rows
396
+ size: large
397
+ rows: 6
398
+ placeholder: Spacious large textarea
399
+ - id: combo_large_autosize
400
+ type: TextArea
401
+ properties:
402
+ title: Large with Auto Size
403
+ size: large
404
+ autoSize:
405
+ minRows: 2
406
+ maxRows: 6
407
+ placeholder: Large auto-growing textarea
408
+ - title: Combined Features - Disabled Variants
409
+ blocks:
410
+ - id: combo_disabled_count
411
+ type: TextArea
412
+ properties:
413
+ title: Disabled with Count
414
+ disabled: true
415
+ showCount: true
416
+ maxLength: 200
417
+ events:
418
+ onMount:
419
+ - id: set_default
420
+ type: SetState
421
+ params:
422
+ combo_disabled_count: Pre-filled disabled text
423
+ - id: combo_disabled_clear
424
+ type: TextArea
425
+ properties:
426
+ title: Disabled with Allow Clear
427
+ disabled: true
428
+ allowClear: true
429
+ events:
430
+ onMount:
431
+ - id: set_default
432
+ type: SetState
433
+ params:
434
+ combo_disabled_clear: You cannot clear this
435
+ - id: combo_disabled_borderless_value
436
+ type: TextArea
437
+ properties:
438
+ title: Disabled Borderless with Value
439
+ disabled: true
440
+ bordered: false
441
+ events:
442
+ onMount:
443
+ - id: set_default
444
+ type: SetState
445
+ params:
446
+ combo_disabled_borderless_value: Disabled borderless text content that is read-only.
447
+ - title: Use Case - Feedback Form
448
+ blocks:
449
+ - id: usecase_feedback
450
+ type: TextArea
451
+ properties:
452
+ title: Your Feedback
453
+ placeholder: Tell us what you think about our product...
454
+ autoSize:
455
+ minRows: 3
456
+ maxRows: 8
457
+ showCount: true
458
+ maxLength: 1000
459
+ allowClear: true
460
+ label:
461
+ extra: Please be specific with your feedback. Maximum 1000 characters.
462
+ - title: Use Case - Code / JSON Input
463
+ blocks:
464
+ - id: usecase_code
465
+ type: TextArea
466
+ properties:
467
+ title: JSON Configuration
468
+ rows: 8
469
+ placeholder: |
470
+ {
471
+ "key": "value",
472
+ "nested": {
473
+ "property": true
474
+ }
475
+ }
476
+ label:
477
+ extra: Paste your JSON configuration here.
478
+ - title: Use Case - Notes Field
479
+ blocks:
480
+ - id: usecase_notes
481
+ type: TextArea
482
+ properties:
483
+ title: Notes
484
+ rows: 4
485
+ placeholder: Add optional notes...
486
+ allowClear: true
487
+ label:
488
+ colon: false
489
+ - title: Use Case - Bio / Description
490
+ blocks:
491
+ - id: usecase_bio
492
+ type: TextArea
493
+ properties:
494
+ title: Bio
495
+ placeholder: Write a short bio about yourself...
496
+ showCount: true
497
+ maxLength: 250
498
+ autoSize:
499
+ minRows: 2
500
+ maxRows: 5
501
+ label:
502
+ extra: A brief description shown on your profile.
503
+ - title: CSS Styling
504
+ blocks:
505
+ - id: css_element
506
+ type: TextArea
507
+ properties:
508
+ title: Custom Element Style
509
+ placeholder: Styled textarea element
510
+ style:
511
+ .element:
512
+ borderColor: '#597ef7'
513
+ borderRadius: 8
514
+ - id: css_label
515
+ type: TextArea
516
+ properties:
517
+ title: Custom Label Style
518
+ placeholder: Styled label text
519
+ style:
520
+ .label:
521
+ color: '#531dab'
522
+ fontWeight: bold
523
+ fontSize: 16
524
+ - id: css_extra
525
+ type: TextArea
526
+ properties:
527
+ title: Styled Extra Text
528
+ placeholder: Extra text below is styled
529
+ label:
530
+ extra: This extra text has custom styling.
531
+ style:
532
+ .extra:
533
+ color: '#08979c'
534
+ fontStyle: italic
535
+ - id: css_combined
536
+ type: TextArea
537
+ properties:
538
+ title: Combined CSS Styles
539
+ placeholder: Multiple style keys applied
540
+ label:
541
+ extra: Custom styled textarea with extra text.
542
+ style:
543
+ .element:
544
+ borderColor: '#ffa940'
545
+ .label:
546
+ color: '#d46b08'
547
+ fontWeight: 600
548
+ .extra:
549
+ color: '#ad6800'
550
+ - title: CSS Class Names
551
+ blocks:
552
+ - id: class_rounded
553
+ type: TextArea
554
+ class: rounded-lg shadow-md
555
+ properties:
556
+ title: Rounded with Shadow
557
+ placeholder: Using Tailwind classes
558
+ - id: class_border
559
+ type: TextArea
560
+ class: border-2 border-blue-400 rounded-md
561
+ properties:
562
+ title: Blue Border
563
+ placeholder: Tailwind border classes
564
+ label:
565
+ disabled: true
566
+ - title: Theme Token Overrides
567
+ blocks:
568
+ - id: theme_active_border
569
+ type: TextArea
570
+ properties:
571
+ title: Custom Active Border Color
572
+ placeholder: Click to see custom focus color
573
+ theme:
574
+ colorPrimary: '#722ed1'
575
+ - id: theme_font_size
576
+ type: TextArea
577
+ properties:
578
+ title: Larger Font Size
579
+ placeholder: 18px font size
580
+ theme:
581
+ fontSize: 18
582
+ - id: theme_padding_combined
583
+ type: TextArea
584
+ properties:
585
+ title: Custom Padding (Both)
586
+ placeholder: Extra padding in both directions
587
+ theme:
588
+ paddingInline: 24
589
+ paddingBlock: 16
590
+ - id: theme_purple
591
+ type: TextArea
592
+ properties:
593
+ title: Purple Theme
594
+ placeholder: Purple-themed textarea
595
+ theme:
596
+ colorPrimary: '#722ed1'
597
+ colorPrimaryHover: '#9254de'
598
+ colorBorder: '#d3adf7'
599
+ borderRadius: 12
600
+ - id: theme_warm
601
+ type: TextArea
602
+ properties:
603
+ title: Warm Theme
604
+ placeholder: Warm-themed textarea
605
+ theme:
606
+ colorPrimary: '#d4380d'
607
+ colorPrimaryHover: '#ff7a45'
608
+ colorBorder: '#ffbb96'
609
+ borderRadius: 10
610
+ fontSize: 15
611
+ - title: AutoFocus
612
+ blocks:
613
+ - id: auto_focus_false
614
+ type: TextArea
615
+ properties:
616
+ title: No Auto Focus (Default)
617
+ autoFocus: false
618
+ placeholder: Does not auto focus