@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,375 @@
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: Type
16
+ fullWidth: true
17
+ blocks:
18
+ - id: type_horizontal
19
+ type: Divider
20
+ - id: type_horizontal_titled
21
+ type: Divider
22
+ properties:
23
+ title: Horizontal Divider
24
+ - id: type_vertical_row
25
+ type: Box
26
+ layout:
27
+ gap: 0
28
+ blocks:
29
+ - id: type_vt_text_1
30
+ type: Paragraph
31
+ layout:
32
+ flex: 0 0 auto
33
+ properties:
34
+ content: Home
35
+ - id: type_vt_divider_1
36
+ type: Divider
37
+ layout:
38
+ flex: 0 0 auto
39
+ properties:
40
+ orientation: vertical
41
+ - id: type_vt_text_2
42
+ type: Paragraph
43
+ layout:
44
+ flex: 0 0 auto
45
+ properties:
46
+ content: Settings
47
+ - id: type_vt_divider_2
48
+ type: Divider
49
+ layout:
50
+ flex: 0 0 auto
51
+ properties:
52
+ orientation: vertical
53
+ - id: type_vt_text_3
54
+ type: Paragraph
55
+ layout:
56
+ flex: 0 0 auto
57
+ properties:
58
+ content: Profile
59
+
60
+ - title: Title
61
+ fullWidth: true
62
+ blocks:
63
+ - id: title_plain_text
64
+ type: Divider
65
+ properties:
66
+ title: Section Title
67
+ - id: title_html_bold
68
+ type: Divider
69
+ properties:
70
+ title: '<b>Bold Section Header</b>'
71
+ - id: title_html_styled
72
+ type: Divider
73
+ properties:
74
+ title: '<span style="color: #1677ff; font-size: 16px">Highlighted Title</span>'
75
+
76
+ - title: Title Placement
77
+ fullWidth: true
78
+ blocks:
79
+ - id: orient_start
80
+ type: Divider
81
+ properties:
82
+ title: Start
83
+ titlePlacement: start
84
+ - id: orient_center
85
+ type: Divider
86
+ properties:
87
+ title: Center (default)
88
+ titlePlacement: center
89
+ - id: orient_end
90
+ type: Divider
91
+ properties:
92
+ title: End
93
+ titlePlacement: end
94
+
95
+ - title: Dashed
96
+ fullWidth: true
97
+ blocks:
98
+ - id: dashed_simple
99
+ type: Divider
100
+ properties:
101
+ dashed: true
102
+ - id: dashed_with_title
103
+ type: Divider
104
+ properties:
105
+ dashed: true
106
+ title: Dashed with Title
107
+ - id: dashed_left_title
108
+ type: Divider
109
+ properties:
110
+ dashed: true
111
+ title: Dashed Start
112
+ titlePlacement: start
113
+
114
+ - title: Plain Style
115
+ fullWidth: true
116
+ blocks:
117
+ - id: plain_center
118
+ type: Divider
119
+ properties:
120
+ title: Plain Center
121
+ plain: true
122
+ - id: plain_left
123
+ type: Divider
124
+ properties:
125
+ title: Plain Start
126
+ plain: true
127
+ titlePlacement: start
128
+ - id: plain_dashed
129
+ type: Divider
130
+ properties:
131
+ title: Plain Dashed
132
+ plain: true
133
+ dashed: true
134
+
135
+ - title: Style and CSS
136
+ fullWidth: true
137
+ blocks:
138
+ - id: css_tailwind_margin
139
+ type: Divider
140
+ class: my-8
141
+ properties:
142
+ title: Extra Margin via Tailwind
143
+ - id: css_inline_color
144
+ type: Divider
145
+ style:
146
+ .element:
147
+ borderColor: '#1677ff'
148
+ - id: css_inline_thick
149
+ type: Divider
150
+ style:
151
+ .element:
152
+ borderWidth: 3px
153
+ - id: css_inline_title_color
154
+ type: Divider
155
+ properties:
156
+ title: Styled Title
157
+ style:
158
+ .element:
159
+ color: '#722ed1'
160
+ borderColor: '#722ed1'
161
+
162
+ - title: Theme Token Overrides
163
+ fullWidth: true
164
+ blocks:
165
+ - id: theme_text_padding
166
+ type: Divider
167
+ properties:
168
+ title: Wide Text Padding
169
+ theme:
170
+ textPaddingInline: '3em'
171
+ - id: theme_orientation_tight
172
+ type: Divider
173
+ properties:
174
+ title: Tight Orientation Margin
175
+ titlePlacement: start
176
+ theme:
177
+ orientationMargin: 0
178
+ - id: theme_orientation_wide
179
+ type: Divider
180
+ properties:
181
+ title: Wide Orientation Margin
182
+ titlePlacement: start
183
+ theme:
184
+ orientationMargin: 0.25
185
+ - id: theme_vertical_margin
186
+ type: Box
187
+ layout:
188
+ gap: 0
189
+ blocks:
190
+ - id: theme_vm_text_1
191
+ type: Paragraph
192
+ layout:
193
+ flex: 0 0 auto
194
+ properties:
195
+ content: Item A
196
+ - id: theme_vm_divider
197
+ type: Divider
198
+ layout:
199
+ flex: 0 0 auto
200
+ properties:
201
+ orientation: vertical
202
+ theme:
203
+ verticalMarginInline: 24
204
+ - id: theme_vm_text_2
205
+ type: Paragraph
206
+ layout:
207
+ flex: 0 0 auto
208
+ properties:
209
+ content: Item B
210
+
211
+ - title: Divider in Settings Page
212
+ fullWidth: true
213
+ blocks:
214
+ - id: settings_card
215
+ type: Card
216
+ properties:
217
+ title: Account Settings
218
+ size: small
219
+ blocks:
220
+ - id: settings_profile_heading
221
+ type: Divider
222
+ properties:
223
+ title: Profile
224
+ titlePlacement: start
225
+ plain: true
226
+ - id: settings_name
227
+ type: TextInput
228
+ properties:
229
+ label:
230
+ title: Display Name
231
+ placeholder: Enter your name
232
+ - id: settings_email
233
+ type: TextInput
234
+ properties:
235
+ label:
236
+ title: Email Address
237
+ placeholder: you@company.com
238
+ - id: settings_notifications_heading
239
+ type: Divider
240
+ properties:
241
+ title: Notifications
242
+ titlePlacement: start
243
+ plain: true
244
+ - id: settings_notify_toggle
245
+ type: Switch
246
+ properties:
247
+ label:
248
+ title: Email Notifications
249
+ - id: settings_danger_heading
250
+ type: Divider
251
+ properties:
252
+ title: '<span style="color: #ff4d4f">Danger Zone</span>'
253
+ titlePlacement: start
254
+ plain: true
255
+ dashed: true
256
+ style:
257
+ .element:
258
+ borderColor: '#ff4d4f'
259
+ - id: settings_delete_row
260
+ type: Box
261
+ layout:
262
+ gap: 8
263
+ justify: flex-end
264
+ blocks:
265
+ - id: settings_delete_btn
266
+ type: Button
267
+ layout:
268
+ flex: 0 0 auto
269
+ properties:
270
+ title: Delete Account
271
+ color: danger
272
+ variant: outlined
273
+ icon: AiOutlineDelete
274
+ events:
275
+ onClick:
276
+ - id: settings_delete_msg
277
+ type: DisplayMessage
278
+ params:
279
+ content: Account deletion requested.
280
+ status: warning
281
+
282
+ - title: Divider in Article Layout
283
+ fullWidth: true
284
+ blocks:
285
+ - id: article_card
286
+ type: Card
287
+ blocks:
288
+ - id: article_title
289
+ type: Markdown
290
+ properties:
291
+ content: |
292
+ ## Building Config-Driven Applications
293
+ A practical guide to rapid development with declarative frameworks.
294
+ - id: article_meta_row
295
+ type: Box
296
+ layout:
297
+ gap: 0
298
+ blocks:
299
+ - id: article_author
300
+ type: Paragraph
301
+ layout:
302
+ flex: 0 0 auto
303
+ properties:
304
+ content: By Jane Smith
305
+ - id: article_meta_divider_1
306
+ type: Divider
307
+ layout:
308
+ flex: 0 0 auto
309
+ properties:
310
+ orientation: vertical
311
+ - id: article_date
312
+ type: Paragraph
313
+ layout:
314
+ flex: 0 0 auto
315
+ properties:
316
+ content: March 2026
317
+ - id: article_meta_divider_2
318
+ type: Divider
319
+ layout:
320
+ flex: 0 0 auto
321
+ properties:
322
+ orientation: vertical
323
+ - id: article_reading_time
324
+ type: Paragraph
325
+ layout:
326
+ flex: 0 0 auto
327
+ properties:
328
+ content: 5 min read
329
+ - id: article_intro_divider
330
+ type: Divider
331
+ - id: article_body
332
+ type: Markdown
333
+ properties:
334
+ content: |
335
+ Config-driven frameworks allow teams to ship features faster by reducing boilerplate.
336
+ Instead of writing repetitive UI code, developers describe what they want in YAML or JSON.
337
+ - id: article_section_divider
338
+ type: Divider
339
+ properties:
340
+ title: Key Takeaways
341
+ titlePlacement: start
342
+ plain: true
343
+ - id: article_takeaways
344
+ type: Markdown
345
+ properties:
346
+ content: |
347
+ - Declarative configs reduce development time by up to 60%
348
+ - Schema validation catches errors before deployment
349
+ - Teams can onboard new developers faster with standardized patterns
350
+ - id: article_footer_divider
351
+ type: Divider
352
+ properties:
353
+ dashed: true
354
+ - id: article_footer_row
355
+ type: Box
356
+ layout:
357
+ gap: 8
358
+ justify: flex-end
359
+ blocks:
360
+ - id: article_share_btn
361
+ type: Button
362
+ layout:
363
+ flex: 0 0 auto
364
+ properties:
365
+ title: Share Article
366
+ color: primary
367
+ variant: outlined
368
+ icon: AiOutlineShareAlt
369
+ events:
370
+ onClick:
371
+ - id: article_share_msg
372
+ type: DisplayMessage
373
+ params:
374
+ content: Link copied to clipboard!
375
+ status: success
@@ -0,0 +1,107 @@
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
+ id: divider
16
+ type: Box
17
+
18
+ blocks:
19
+ # ============================================
20
+ # BASIC RENDERING
21
+ # ============================================
22
+
23
+ - id: divider_basic
24
+ type: Divider
25
+
26
+ - id: divider_with_title
27
+ type: Divider
28
+ properties:
29
+ title: Section Title
30
+
31
+ # ============================================
32
+ # ORIENTATION TESTS (horizontal/vertical)
33
+ # ============================================
34
+
35
+ - id: divider_horizontal
36
+ type: Divider
37
+ properties:
38
+ orientation: horizontal
39
+
40
+ - id: divider_vertical_container
41
+ type: Box
42
+ properties:
43
+ style:
44
+ display: flex
45
+ alignItems: center
46
+ height: 50px
47
+ blocks:
48
+ - id: text_before
49
+ type: Span
50
+ properties:
51
+ content: Left
52
+
53
+ - id: divider_vertical
54
+ type: Divider
55
+ properties:
56
+ orientation: vertical
57
+
58
+ - id: text_after
59
+ type: Span
60
+ properties:
61
+ content: Right
62
+
63
+ # ============================================
64
+ # STYLE TESTS
65
+ # ============================================
66
+
67
+ - id: divider_dashed
68
+ type: Divider
69
+ properties:
70
+ dashed: true
71
+
72
+ - id: divider_plain
73
+ type: Divider
74
+ properties:
75
+ title: Plain Title
76
+ plain: true
77
+
78
+ # ============================================
79
+ # TITLE PLACEMENT TESTS (start/center/end)
80
+ # ============================================
81
+
82
+ - id: divider_start
83
+ type: Divider
84
+ properties:
85
+ title: Start Aligned
86
+ titlePlacement: start
87
+
88
+ - id: divider_center
89
+ type: Divider
90
+ properties:
91
+ title: Center Aligned
92
+ titlePlacement: center
93
+
94
+ - id: divider_end
95
+ type: Divider
96
+ properties:
97
+ title: End Aligned
98
+ titlePlacement: end
99
+
100
+ # ============================================
101
+ # HTML TITLE
102
+ # ============================================
103
+
104
+ - id: divider_html
105
+ type: Divider
106
+ properties:
107
+ title: '<strong>Bold</strong> Title'
@@ -0,0 +1,58 @@
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
+ - id: default
16
+ type: Divider
17
+ - id: properties.title
18
+ type: Divider
19
+ properties:
20
+ title: Divider title
21
+ - id: 'properties.dashed: true'
22
+ type: Divider
23
+ properties:
24
+ dashed: true
25
+ - id: 'properties.titlePlacement: start'
26
+ type: Divider
27
+ properties:
28
+ title: Divider title
29
+ titlePlacement: start
30
+ - id: 'properties.titlePlacement: end'
31
+ type: Divider
32
+ properties:
33
+ title: Divider title
34
+ titlePlacement: end
35
+ - id: 'properties.titlePlacement: center'
36
+ type: Divider
37
+ properties:
38
+ title: Divider title
39
+ titlePlacement: center
40
+ - id: 'properties.orientation: vertical'
41
+ type: Divider
42
+ properties:
43
+ title: Divider title
44
+ orientation: vertical
45
+ - id: 'properties.orientation: horizontal'
46
+ type: Divider
47
+ properties:
48
+ title: Divider title
49
+ orientation: horizontal
50
+ - id: 'properties.plain: true'
51
+ type: Divider
52
+ properties:
53
+ title: Divider title
54
+ plain: true
55
+ - id: 'with html in title'
56
+ type: Divider
57
+ properties:
58
+ title: '<div style="background-color:yellow">Html Title</div>'