@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,1416 @@
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 Horizontal
16
+ blocks:
17
+ - id: flex_basic
18
+ type: Flex
19
+ properties:
20
+ gap: 8
21
+ blocks:
22
+ - id: flex_basic_btn1
23
+ type: Button
24
+ layout:
25
+ flex: 0 0 auto
26
+ properties:
27
+ title: One
28
+ color: primary
29
+ variant: solid
30
+ - id: flex_basic_btn2
31
+ type: Button
32
+ layout:
33
+ flex: 0 0 auto
34
+ properties:
35
+ title: Two
36
+ color: primary
37
+ variant: outlined
38
+ - id: flex_basic_btn3
39
+ type: Button
40
+ layout:
41
+ flex: 0 0 auto
42
+ properties:
43
+ title: Three
44
+ color: primary
45
+ variant: dashed
46
+
47
+ - title: Vertical Layout
48
+ blocks:
49
+ - id: flex_vertical
50
+ type: Flex
51
+ properties:
52
+ vertical: true
53
+ gap: 12
54
+ blocks:
55
+ - id: flex_vert_card1
56
+ type: Card
57
+ properties:
58
+ title: First
59
+ size: small
60
+ blocks:
61
+ - id: flex_vert_card1_p
62
+ type: Paragraph
63
+ properties:
64
+ content: Stacked vertically.
65
+ - id: flex_vert_card2
66
+ type: Card
67
+ properties:
68
+ title: Second
69
+ size: small
70
+ blocks:
71
+ - id: flex_vert_card2_p
72
+ type: Paragraph
73
+ properties:
74
+ content: Below the first card.
75
+ - id: flex_vert_card3
76
+ type: Card
77
+ properties:
78
+ title: Third
79
+ size: small
80
+ blocks:
81
+ - id: flex_vert_card3_p
82
+ type: Paragraph
83
+ properties:
84
+ content: Below the second card.
85
+
86
+ - title: Gap Presets
87
+ blocks:
88
+ - id: flex_gap_small_label
89
+ type: Markdown
90
+ properties:
91
+ content: '**gap: small (8px)**'
92
+ - id: flex_gap_small
93
+ type: Flex
94
+ properties:
95
+ gap: small
96
+ blocks:
97
+ - id: flex_gs_1
98
+ type: Tag
99
+ layout:
100
+ flex: 0 0 auto
101
+ properties:
102
+ title: Tag A
103
+ color: blue
104
+ - id: flex_gs_2
105
+ type: Tag
106
+ layout:
107
+ flex: 0 0 auto
108
+ properties:
109
+ title: Tag B
110
+ color: blue
111
+ - id: flex_gs_3
112
+ type: Tag
113
+ layout:
114
+ flex: 0 0 auto
115
+ properties:
116
+ title: Tag C
117
+ color: blue
118
+ - id: flex_gap_middle_label
119
+ type: Markdown
120
+ properties:
121
+ content: '**gap: middle (16px)**'
122
+ - id: flex_gap_middle
123
+ type: Flex
124
+ properties:
125
+ gap: middle
126
+ blocks:
127
+ - id: flex_gm_1
128
+ type: Tag
129
+ layout:
130
+ flex: 0 0 auto
131
+ properties:
132
+ title: Tag A
133
+ color: green
134
+ - id: flex_gm_2
135
+ type: Tag
136
+ layout:
137
+ flex: 0 0 auto
138
+ properties:
139
+ title: Tag B
140
+ color: green
141
+ - id: flex_gm_3
142
+ type: Tag
143
+ layout:
144
+ flex: 0 0 auto
145
+ properties:
146
+ title: Tag C
147
+ color: green
148
+ - id: flex_gap_large_label
149
+ type: Markdown
150
+ properties:
151
+ content: '**gap: large (24px)**'
152
+ - id: flex_gap_large
153
+ type: Flex
154
+ properties:
155
+ gap: large
156
+ blocks:
157
+ - id: flex_gl_1
158
+ type: Tag
159
+ layout:
160
+ flex: 0 0 auto
161
+ properties:
162
+ title: Tag A
163
+ color: orange
164
+ - id: flex_gl_2
165
+ type: Tag
166
+ layout:
167
+ flex: 0 0 auto
168
+ properties:
169
+ title: Tag B
170
+ color: orange
171
+ - id: flex_gl_3
172
+ type: Tag
173
+ layout:
174
+ flex: 0 0 auto
175
+ properties:
176
+ title: Tag C
177
+ color: orange
178
+ - id: flex_gap_custom_label
179
+ type: Markdown
180
+ properties:
181
+ content: '**gap: 40 (custom number)**'
182
+ - id: flex_gap_custom
183
+ type: Flex
184
+ properties:
185
+ gap: 40
186
+ blocks:
187
+ - id: flex_gc_1
188
+ type: Tag
189
+ layout:
190
+ flex: 0 0 auto
191
+ properties:
192
+ title: Tag A
193
+ color: purple
194
+ - id: flex_gc_2
195
+ type: Tag
196
+ layout:
197
+ flex: 0 0 auto
198
+ properties:
199
+ title: Tag B
200
+ color: purple
201
+ - id: flex_gc_3
202
+ type: Tag
203
+ layout:
204
+ flex: 0 0 auto
205
+ properties:
206
+ title: Tag C
207
+ color: purple
208
+
209
+ - title: Justify Content
210
+ fullWidth: true
211
+ blocks:
212
+ - id: flex_j_start_label
213
+ type: Markdown
214
+ properties:
215
+ content: '**justify: flex-start**'
216
+ - id: flex_j_start
217
+ type: Flex
218
+ class: bg-bg-layout p-2 rounded
219
+ properties:
220
+ justify: flex-start
221
+ gap: 8
222
+ blocks:
223
+ - id: flex_js_1
224
+ type: Button
225
+ layout:
226
+ flex: 0 0 auto
227
+ properties:
228
+ title: A
229
+ color: primary
230
+ variant: solid
231
+ size: small
232
+ - id: flex_js_2
233
+ type: Button
234
+ layout:
235
+ flex: 0 0 auto
236
+ properties:
237
+ title: B
238
+ color: primary
239
+ variant: solid
240
+ size: small
241
+ - id: flex_js_3
242
+ type: Button
243
+ layout:
244
+ flex: 0 0 auto
245
+ properties:
246
+ title: C
247
+ color: primary
248
+ variant: solid
249
+ size: small
250
+ - id: flex_j_center_label
251
+ type: Markdown
252
+ properties:
253
+ content: '**justify: center**'
254
+ - id: flex_j_center
255
+ type: Flex
256
+ class: bg-bg-layout p-2 rounded
257
+ properties:
258
+ justify: center
259
+ gap: 8
260
+ blocks:
261
+ - id: flex_jc_1
262
+ type: Button
263
+ layout:
264
+ flex: 0 0 auto
265
+ properties:
266
+ title: A
267
+ color: blue
268
+ variant: solid
269
+ size: small
270
+ - id: flex_jc_2
271
+ type: Button
272
+ layout:
273
+ flex: 0 0 auto
274
+ properties:
275
+ title: B
276
+ color: blue
277
+ variant: solid
278
+ size: small
279
+ - id: flex_jc_3
280
+ type: Button
281
+ layout:
282
+ flex: 0 0 auto
283
+ properties:
284
+ title: C
285
+ color: blue
286
+ variant: solid
287
+ size: small
288
+ - id: flex_j_end_label
289
+ type: Markdown
290
+ properties:
291
+ content: '**justify: flex-end**'
292
+ - id: flex_j_end
293
+ type: Flex
294
+ class: bg-bg-layout p-2 rounded
295
+ properties:
296
+ justify: flex-end
297
+ gap: 8
298
+ blocks:
299
+ - id: flex_je_1
300
+ type: Button
301
+ layout:
302
+ flex: 0 0 auto
303
+ properties:
304
+ title: A
305
+ color: green
306
+ variant: solid
307
+ size: small
308
+ - id: flex_je_2
309
+ type: Button
310
+ layout:
311
+ flex: 0 0 auto
312
+ properties:
313
+ title: B
314
+ color: green
315
+ variant: solid
316
+ size: small
317
+ - id: flex_je_3
318
+ type: Button
319
+ layout:
320
+ flex: 0 0 auto
321
+ properties:
322
+ title: C
323
+ color: green
324
+ variant: solid
325
+ size: small
326
+ - id: flex_j_between_label
327
+ type: Markdown
328
+ properties:
329
+ content: '**justify: space-between**'
330
+ - id: flex_j_between
331
+ type: Flex
332
+ class: bg-bg-layout p-2 rounded
333
+ properties:
334
+ justify: space-between
335
+ blocks:
336
+ - id: flex_jb_1
337
+ type: Button
338
+ layout:
339
+ flex: 0 0 auto
340
+ properties:
341
+ title: A
342
+ color: orange
343
+ variant: solid
344
+ size: small
345
+ - id: flex_jb_2
346
+ type: Button
347
+ layout:
348
+ flex: 0 0 auto
349
+ properties:
350
+ title: B
351
+ color: orange
352
+ variant: solid
353
+ size: small
354
+ - id: flex_jb_3
355
+ type: Button
356
+ layout:
357
+ flex: 0 0 auto
358
+ properties:
359
+ title: C
360
+ color: orange
361
+ variant: solid
362
+ size: small
363
+ - id: flex_j_around_label
364
+ type: Markdown
365
+ properties:
366
+ content: '**justify: space-around**'
367
+ - id: flex_j_around
368
+ type: Flex
369
+ class: bg-bg-layout p-2 rounded
370
+ properties:
371
+ justify: space-around
372
+ blocks:
373
+ - id: flex_ja_1
374
+ type: Button
375
+ layout:
376
+ flex: 0 0 auto
377
+ properties:
378
+ title: A
379
+ color: purple
380
+ variant: solid
381
+ size: small
382
+ - id: flex_ja_2
383
+ type: Button
384
+ layout:
385
+ flex: 0 0 auto
386
+ properties:
387
+ title: B
388
+ color: purple
389
+ variant: solid
390
+ size: small
391
+ - id: flex_ja_3
392
+ type: Button
393
+ layout:
394
+ flex: 0 0 auto
395
+ properties:
396
+ title: C
397
+ color: purple
398
+ variant: solid
399
+ size: small
400
+ - id: flex_j_evenly_label
401
+ type: Markdown
402
+ properties:
403
+ content: '**justify: space-evenly**'
404
+ - id: flex_j_evenly
405
+ type: Flex
406
+ class: bg-bg-layout p-2 rounded
407
+ properties:
408
+ justify: space-evenly
409
+ blocks:
410
+ - id: flex_jev_1
411
+ type: Button
412
+ layout:
413
+ flex: 0 0 auto
414
+ properties:
415
+ title: A
416
+ color: red
417
+ variant: solid
418
+ size: small
419
+ - id: flex_jev_2
420
+ type: Button
421
+ layout:
422
+ flex: 0 0 auto
423
+ properties:
424
+ title: B
425
+ color: red
426
+ variant: solid
427
+ size: small
428
+ - id: flex_jev_3
429
+ type: Button
430
+ layout:
431
+ flex: 0 0 auto
432
+ properties:
433
+ title: C
434
+ color: red
435
+ variant: solid
436
+ size: small
437
+
438
+ - title: Align Items
439
+ fullWidth: true
440
+ blocks:
441
+ - id: flex_a_start_label
442
+ type: Markdown
443
+ properties:
444
+ content: '**align: flex-start**'
445
+ - id: flex_a_start
446
+ type: Flex
447
+ class: bg-bg-layout p-2 rounded
448
+ style:
449
+ .element:
450
+ minHeight: 80px
451
+ properties:
452
+ align: flex-start
453
+ gap: 8
454
+ blocks:
455
+ - id: flex_as_1
456
+ type: Button
457
+ layout:
458
+ flex: 0 0 auto
459
+ properties:
460
+ title: Short
461
+ color: primary
462
+ variant: solid
463
+ - id: flex_as_2
464
+ type: Button
465
+ layout:
466
+ flex: 0 0 auto
467
+ properties:
468
+ title: Tall
469
+ color: primary
470
+ variant: solid
471
+ size: large
472
+ - id: flex_as_3
473
+ type: Button
474
+ layout:
475
+ flex: 0 0 auto
476
+ properties:
477
+ title: Short
478
+ color: primary
479
+ variant: solid
480
+ size: small
481
+ - id: flex_a_center_label
482
+ type: Markdown
483
+ properties:
484
+ content: '**align: center**'
485
+ - id: flex_a_center
486
+ type: Flex
487
+ class: bg-bg-layout p-2 rounded
488
+ style:
489
+ .element:
490
+ minHeight: 80px
491
+ properties:
492
+ align: center
493
+ gap: 8
494
+ blocks:
495
+ - id: flex_ac_1
496
+ type: Button
497
+ layout:
498
+ flex: 0 0 auto
499
+ properties:
500
+ title: Short
501
+ color: blue
502
+ variant: solid
503
+ - id: flex_ac_2
504
+ type: Button
505
+ layout:
506
+ flex: 0 0 auto
507
+ properties:
508
+ title: Tall
509
+ color: blue
510
+ variant: solid
511
+ size: large
512
+ - id: flex_ac_3
513
+ type: Button
514
+ layout:
515
+ flex: 0 0 auto
516
+ properties:
517
+ title: Short
518
+ color: blue
519
+ variant: solid
520
+ size: small
521
+ - id: flex_a_end_label
522
+ type: Markdown
523
+ properties:
524
+ content: '**align: flex-end**'
525
+ - id: flex_a_end
526
+ type: Flex
527
+ class: bg-bg-layout p-2 rounded
528
+ style:
529
+ .element:
530
+ minHeight: 80px
531
+ properties:
532
+ align: flex-end
533
+ gap: 8
534
+ blocks:
535
+ - id: flex_ae_1
536
+ type: Button
537
+ layout:
538
+ flex: 0 0 auto
539
+ properties:
540
+ title: Short
541
+ color: green
542
+ variant: solid
543
+ - id: flex_ae_2
544
+ type: Button
545
+ layout:
546
+ flex: 0 0 auto
547
+ properties:
548
+ title: Tall
549
+ color: green
550
+ variant: solid
551
+ size: large
552
+ - id: flex_ae_3
553
+ type: Button
554
+ layout:
555
+ flex: 0 0 auto
556
+ properties:
557
+ title: Short
558
+ color: green
559
+ variant: solid
560
+ size: small
561
+ - id: flex_a_stretch_label
562
+ type: Markdown
563
+ properties:
564
+ content: '**align: stretch**'
565
+ - id: flex_a_stretch
566
+ type: Flex
567
+ class: bg-bg-layout p-2 rounded
568
+ style:
569
+ .element:
570
+ minHeight: 80px
571
+ properties:
572
+ align: stretch
573
+ gap: 8
574
+ blocks:
575
+ - id: flex_ax_1
576
+ type: Card
577
+ layout:
578
+ flex: 1 1 0
579
+ properties:
580
+ size: small
581
+ blocks:
582
+ - id: flex_ax_1_p
583
+ type: Paragraph
584
+ properties:
585
+ content: Stretches to fill.
586
+ - id: flex_ax_2
587
+ type: Card
588
+ layout:
589
+ flex: 1 1 0
590
+ properties:
591
+ size: small
592
+ blocks:
593
+ - id: flex_ax_2_p
594
+ type: Paragraph
595
+ properties:
596
+ content: Same height as tallest sibling.
597
+ - id: flex_a_baseline_label
598
+ type: Markdown
599
+ properties:
600
+ content: '**align: baseline**'
601
+ - id: flex_a_baseline
602
+ type: Flex
603
+ class: bg-bg-layout p-2 rounded
604
+ properties:
605
+ align: baseline
606
+ gap: 16
607
+ blocks:
608
+ - id: flex_ab_1
609
+ type: Title
610
+ layout:
611
+ flex: 0 0 auto
612
+ properties:
613
+ content: Large Title
614
+ level: 2
615
+ - id: flex_ab_2
616
+ type: Paragraph
617
+ layout:
618
+ flex: 0 0 auto
619
+ properties:
620
+ content: Body text aligned to the same baseline.
621
+ - id: flex_ab_3
622
+ type: Title
623
+ layout:
624
+ flex: 0 0 auto
625
+ properties:
626
+ content: Small
627
+ level: 5
628
+
629
+ - title: Wrap
630
+ fullWidth: true
631
+ blocks:
632
+ - id: flex_wrap_label
633
+ type: Markdown
634
+ properties:
635
+ content: '**wrap: true** - items wrap to next line when space runs out'
636
+ - id: flex_wrap
637
+ type: Flex
638
+ class: bg-bg-layout p-2 rounded
639
+ properties:
640
+ wrap: true
641
+ gap: 8
642
+ blocks:
643
+ - id: flex_w_1
644
+ type: Button
645
+ layout:
646
+ flex: 0 0 auto
647
+ properties:
648
+ title: Alpha
649
+ color: primary
650
+ variant: solid
651
+ - id: flex_w_2
652
+ type: Button
653
+ layout:
654
+ flex: 0 0 auto
655
+ properties:
656
+ title: Bravo
657
+ color: blue
658
+ variant: solid
659
+ - id: flex_w_3
660
+ type: Button
661
+ layout:
662
+ flex: 0 0 auto
663
+ properties:
664
+ title: Charlie
665
+ color: green
666
+ variant: solid
667
+ - id: flex_w_4
668
+ type: Button
669
+ layout:
670
+ flex: 0 0 auto
671
+ properties:
672
+ title: Delta
673
+ color: orange
674
+ variant: solid
675
+ - id: flex_w_5
676
+ type: Button
677
+ layout:
678
+ flex: 0 0 auto
679
+ properties:
680
+ title: Echo
681
+ color: purple
682
+ variant: solid
683
+ - id: flex_w_6
684
+ type: Button
685
+ layout:
686
+ flex: 0 0 auto
687
+ properties:
688
+ title: Foxtrot
689
+ color: red
690
+ variant: solid
691
+ - id: flex_w_7
692
+ type: Button
693
+ layout:
694
+ flex: 0 0 auto
695
+ properties:
696
+ title: Golf
697
+ color: cyan
698
+ variant: solid
699
+ - id: flex_w_8
700
+ type: Button
701
+ layout:
702
+ flex: 0 0 auto
703
+ properties:
704
+ title: Hotel
705
+ color: magenta
706
+ variant: solid
707
+ - id: flex_w_9
708
+ type: Button
709
+ layout:
710
+ flex: 0 0 auto
711
+ properties:
712
+ title: India
713
+ color: gold
714
+ variant: solid
715
+ - id: flex_w_10
716
+ type: Button
717
+ layout:
718
+ flex: 0 0 auto
719
+ properties:
720
+ title: Juliet
721
+ color: lime
722
+ variant: solid
723
+
724
+ - title: Flex Shorthand Property
725
+ fullWidth: true
726
+ blocks:
727
+ - id: flex_prop_label
728
+ type: Markdown
729
+ properties:
730
+ content: '**flex** property on the Flex container itself sets the CSS flex shorthand'
731
+ - id: flex_prop_outer
732
+ type: Flex
733
+ properties:
734
+ gap: 16
735
+ blocks:
736
+ - id: flex_prop_grow
737
+ type: Flex
738
+ layout:
739
+ flex: 1 1 0
740
+ class: bg-bg-layout p-4 rounded
741
+ properties:
742
+ flex: 1
743
+ justify: center
744
+ align: center
745
+ blocks:
746
+ - id: flex_prop_grow_txt
747
+ type: Paragraph
748
+ properties:
749
+ content: flex 1 (grows)
750
+ - id: flex_prop_fixed
751
+ type: Flex
752
+ layout:
753
+ flex: 0 0 auto
754
+ class: bg-bg-layout p-4 rounded
755
+ properties:
756
+ flex: none
757
+ justify: center
758
+ align: center
759
+ blocks:
760
+ - id: flex_prop_fixed_txt
761
+ type: Paragraph
762
+ properties:
763
+ content: flex none (fixed)
764
+ - id: flex_prop_grow2
765
+ type: Flex
766
+ layout:
767
+ flex: 2 1 0
768
+ class: bg-bg-layout p-4 rounded
769
+ properties:
770
+ flex: 2
771
+ justify: center
772
+ align: center
773
+ blocks:
774
+ - id: flex_prop_grow2_txt
775
+ type: Paragraph
776
+ properties:
777
+ content: flex 2 (grows 2x)
778
+
779
+ - title: Custom Element Type
780
+ blocks:
781
+ - id: flex_component_nav
782
+ type: Flex
783
+ properties:
784
+ component: nav
785
+ gap: 16
786
+ justify: center
787
+ blocks:
788
+ - id: flex_component_nav_link1
789
+ type: Button
790
+ layout:
791
+ flex: 0 0 auto
792
+ properties:
793
+ title: Home
794
+ color: primary
795
+ variant: link
796
+ - id: flex_component_nav_link2
797
+ type: Button
798
+ layout:
799
+ flex: 0 0 auto
800
+ properties:
801
+ title: About
802
+ color: primary
803
+ variant: link
804
+ - id: flex_component_nav_link3
805
+ type: Button
806
+ layout:
807
+ flex: 0 0 auto
808
+ properties:
809
+ title: Contact
810
+ color: primary
811
+ variant: link
812
+
813
+ - title: Theme Token Overrides
814
+ blocks:
815
+ - id: flex_theme_padding
816
+ type: Flex
817
+ properties:
818
+ gap: 12
819
+ theme:
820
+ padding: 24
821
+ margin: 8
822
+ blocks:
823
+ - id: flex_theme_padding_btn1
824
+ type: Button
825
+ layout:
826
+ flex: 0 0 auto
827
+ properties:
828
+ title: Custom Padding
829
+ color: primary
830
+ variant: solid
831
+ - id: flex_theme_padding_btn2
832
+ type: Button
833
+ layout:
834
+ flex: 0 0 auto
835
+ properties:
836
+ title: And Margin
837
+ color: primary
838
+ variant: outlined
839
+
840
+ - id: flex_theme_bg
841
+ type: Flex
842
+ properties:
843
+ gap: 12
844
+ blocks:
845
+ - id: flex_theme_bg_btn1
846
+ type: Button
847
+ layout:
848
+ flex: 0 0 auto
849
+ properties:
850
+ title: Token A
851
+ color: green
852
+ variant: solid
853
+ - id: flex_theme_bg_btn2
854
+ type: Button
855
+ layout:
856
+ flex: 0 0 auto
857
+ properties:
858
+ title: Token B
859
+ color: green
860
+ variant: outlined
861
+
862
+ - id: flex_theme_combined
863
+ type: Flex
864
+ properties:
865
+ gap: 16
866
+ vertical: true
867
+ theme:
868
+ padding: 20
869
+ margin: 4
870
+ blocks:
871
+ - id: flex_theme_combined_title
872
+ type: Title
873
+ properties:
874
+ content: All Theme Tokens
875
+ level: 5
876
+ - id: flex_theme_combined_p
877
+ type: Paragraph
878
+ properties:
879
+ content: Combining padding, margin, and colorBgContainer tokens for a fully themed Flex container.
880
+
881
+ - title: Styled with CSS Keys
882
+ blocks:
883
+ - id: flex_style_inline
884
+ type: Flex
885
+ style:
886
+ .element:
887
+ padding: 16px
888
+ borderRadius: 8px
889
+ border: 1px dashed #91caff
890
+ properties:
891
+ gap: 12
892
+ justify: center
893
+ blocks:
894
+ - id: flex_style_inline_btn1
895
+ type: Button
896
+ layout:
897
+ flex: 0 0 auto
898
+ properties:
899
+ title: Styled Container
900
+ color: primary
901
+ variant: solid
902
+ - id: flex_style_inline_btn2
903
+ type: Button
904
+ layout:
905
+ flex: 0 0 auto
906
+ properties:
907
+ title: With Dashed Border
908
+ color: primary
909
+ variant: outlined
910
+
911
+ - id: flex_style_dark
912
+ type: Flex
913
+ style:
914
+ .element:
915
+ backgroundColor: '#1f1f1f'
916
+ padding: 20px
917
+ borderRadius: 12px
918
+ properties:
919
+ gap: 12
920
+ justify: space-between
921
+ align: center
922
+ blocks:
923
+ - id: flex_style_dark_title
924
+ type: Title
925
+ layout:
926
+ flex: 0 0 auto
927
+ class: text-white
928
+ properties:
929
+ content: Dark Panel
930
+ level: 5
931
+ - id: flex_style_dark_btn
932
+ type: Button
933
+ layout:
934
+ flex: 0 0 auto
935
+ properties:
936
+ title: Action
937
+ color: primary
938
+ variant: solid
939
+ size: small
940
+
941
+ - title: Tailwind Class Styling
942
+ blocks:
943
+ - id: flex_tw_gradient
944
+ type: Flex
945
+ class:
946
+ element: bg-gradient-to-r from-primary/100 to-purple-600 p-6 rounded-xl shadow-lg
947
+ properties:
948
+ gap: 16
949
+ align: center
950
+ justify: space-between
951
+ blocks:
952
+ - id: flex_tw_gradient_title
953
+ type: Title
954
+ layout:
955
+ flex: 0 0 auto
956
+ class: text-white
957
+ properties:
958
+ content: Gradient Flex
959
+ level: 4
960
+ - id: flex_tw_gradient_btn
961
+ type: Button
962
+ layout:
963
+ flex: 0 0 auto
964
+ properties:
965
+ title: Learn More
966
+ color: default
967
+ variant: solid
968
+ size: small
969
+
970
+ - id: flex_tw_bordered
971
+ type: Flex
972
+ class:
973
+ element: border-2 border-dashed border-border p-4 rounded-lg hover:border-blue-400 transition-colors duration-200
974
+ properties:
975
+ gap: 12
976
+ justify: center
977
+ wrap: true
978
+ blocks:
979
+ - id: flex_tw_bordered_tag1
980
+ type: Tag
981
+ layout:
982
+ flex: 0 0 auto
983
+ properties:
984
+ title: Hover me
985
+ color: blue
986
+ - id: flex_tw_bordered_tag2
987
+ type: Tag
988
+ layout:
989
+ flex: 0 0 auto
990
+ properties:
991
+ title: Dashed border
992
+ color: cyan
993
+ - id: flex_tw_bordered_tag3
994
+ type: Tag
995
+ layout:
996
+ flex: 0 0 auto
997
+ properties:
998
+ title: Transitions
999
+ color: purple
1000
+
1001
+ - id: flex_tw_ring
1002
+ type: Flex
1003
+ class:
1004
+ element: ring-2 ring-green-400 ring-offset-2 p-4 rounded-lg bg-bg-layout
1005
+ properties:
1006
+ gap: 8
1007
+ align: center
1008
+ blocks:
1009
+ - id: flex_tw_ring_icon
1010
+ type: Icon
1011
+ layout:
1012
+ flex: 0 0 auto
1013
+ properties:
1014
+ name: AiOutlineCheckCircle
1015
+ color: '#52c41a'
1016
+ size: 24
1017
+ - id: flex_tw_ring_text
1018
+ type: Paragraph
1019
+ layout:
1020
+ flex: 0 0 auto
1021
+ properties:
1022
+ content: Ring utility applied to the element CSS key.
1023
+
1024
+ - title: Application Toolbar
1025
+ fullWidth: true
1026
+ blocks:
1027
+ - id: flex_app_toolbar
1028
+ type: Flex
1029
+ class: bg-bg-container p-3 rounded-lg shadow-sm border
1030
+ properties:
1031
+ justify: space-between
1032
+ align: center
1033
+ gap: 8
1034
+ blocks:
1035
+ - id: flex_app_toolbar_left
1036
+ type: Flex
1037
+ properties:
1038
+ gap: 8
1039
+ align: center
1040
+ blocks:
1041
+ - id: flex_app_toolbar_title
1042
+ type: Title
1043
+ layout:
1044
+ flex: 0 0 auto
1045
+ properties:
1046
+ content: Dashboard
1047
+ level: 5
1048
+ - id: flex_app_toolbar_tag
1049
+ type: Tag
1050
+ layout:
1051
+ flex: 0 0 auto
1052
+ properties:
1053
+ title: Live
1054
+ color: success
1055
+ - id: flex_app_toolbar_right
1056
+ type: Flex
1057
+ properties:
1058
+ gap: 8
1059
+ blocks:
1060
+ - id: flex_app_toolbar_btn_filter
1061
+ type: Button
1062
+ layout:
1063
+ flex: 0 0 auto
1064
+ properties:
1065
+ title: Filter
1066
+ icon: AiOutlineFilter
1067
+ color: default
1068
+ variant: outlined
1069
+ size: small
1070
+ events:
1071
+ onClick:
1072
+ - id: flex_app_toolbar_filter_msg
1073
+ type: DisplayMessage
1074
+ params:
1075
+ content: Filter panel toggled.
1076
+ status: info
1077
+ - id: flex_app_toolbar_btn_export
1078
+ type: Button
1079
+ layout:
1080
+ flex: 0 0 auto
1081
+ properties:
1082
+ title: Export
1083
+ icon: AiOutlineDownload
1084
+ color: primary
1085
+ variant: solid
1086
+ size: small
1087
+ events:
1088
+ onClick:
1089
+ - id: flex_app_toolbar_export_msg
1090
+ type: DisplayMessage
1091
+ params:
1092
+ content: Export started.
1093
+ status: success
1094
+
1095
+ - title: Statistics Dashboard Row
1096
+ blocks:
1097
+ - id: flex_stats_row
1098
+ type: Flex
1099
+ properties:
1100
+ gap: 16
1101
+ wrap: true
1102
+ blocks:
1103
+ - id: flex_stats_card1
1104
+ type: Card
1105
+ layout:
1106
+ flex: 1 1 200px
1107
+ properties:
1108
+ title: Users
1109
+ size: small
1110
+ hoverable: true
1111
+ blocks:
1112
+ - id: flex_stats_stat1
1113
+ type: Statistic
1114
+ properties:
1115
+ title: Total
1116
+ value: 1234
1117
+ - id: flex_stats_tag1
1118
+ type: Tag
1119
+ properties:
1120
+ title: +8.2%
1121
+ color: success
1122
+ - id: flex_stats_card2
1123
+ type: Card
1124
+ layout:
1125
+ flex: 1 1 200px
1126
+ properties:
1127
+ title: Revenue
1128
+ size: small
1129
+ hoverable: true
1130
+ blocks:
1131
+ - id: flex_stats_stat2
1132
+ type: Statistic
1133
+ properties:
1134
+ title: Monthly
1135
+ value: 8650
1136
+ prefix: $
1137
+ - id: flex_stats_tag2
1138
+ type: Tag
1139
+ properties:
1140
+ title: +12.5%
1141
+ color: success
1142
+ - id: flex_stats_card3
1143
+ type: Card
1144
+ layout:
1145
+ flex: 1 1 200px
1146
+ properties:
1147
+ title: Orders
1148
+ size: small
1149
+ hoverable: true
1150
+ blocks:
1151
+ - id: flex_stats_stat3
1152
+ type: Statistic
1153
+ properties:
1154
+ title: This Week
1155
+ value: 56
1156
+ - id: flex_stats_tag3
1157
+ type: Tag
1158
+ properties:
1159
+ title: -3.1%
1160
+ color: error
1161
+
1162
+ - title: User Profile Header
1163
+ fullWidth: true
1164
+ blocks:
1165
+ - id: flex_profile_header
1166
+ type: Flex
1167
+ class: bg-bg-container p-6 rounded-xl shadow-sm border
1168
+ properties:
1169
+ gap: 24
1170
+ align: center
1171
+ wrap: true
1172
+ blocks:
1173
+ - id: flex_profile_avatar
1174
+ type: Avatar
1175
+ layout:
1176
+ flex: 0 0 auto
1177
+ properties:
1178
+ icon: AiOutlineUser
1179
+ size: 72
1180
+ color: '#fff'
1181
+ backgroundColor: '#1677ff'
1182
+ - id: flex_profile_info
1183
+ type: Flex
1184
+ layout:
1185
+ flex: 1 1 200px
1186
+ properties:
1187
+ vertical: true
1188
+ gap: 4
1189
+ blocks:
1190
+ - id: flex_profile_name
1191
+ type: Title
1192
+ properties:
1193
+ content: Jane Cooper
1194
+ level: 4
1195
+ - id: flex_profile_role
1196
+ type: Paragraph
1197
+ properties:
1198
+ content: Senior Product Designer at Acme Corp
1199
+ - id: flex_profile_tags
1200
+ type: Flex
1201
+ properties:
1202
+ gap: 8
1203
+ wrap: true
1204
+ blocks:
1205
+ - id: flex_profile_tag1
1206
+ type: Tag
1207
+ layout:
1208
+ flex: 0 0 auto
1209
+ properties:
1210
+ title: Design
1211
+ color: blue
1212
+ - id: flex_profile_tag2
1213
+ type: Tag
1214
+ layout:
1215
+ flex: 0 0 auto
1216
+ properties:
1217
+ title: UX Research
1218
+ color: purple
1219
+ - id: flex_profile_tag3
1220
+ type: Tag
1221
+ layout:
1222
+ flex: 0 0 auto
1223
+ properties:
1224
+ title: Figma
1225
+ color: cyan
1226
+ - id: flex_profile_actions
1227
+ type: Flex
1228
+ layout:
1229
+ flex: 0 0 auto
1230
+ properties:
1231
+ gap: 8
1232
+ blocks:
1233
+ - id: flex_profile_btn_msg
1234
+ type: Button
1235
+ layout:
1236
+ flex: 0 0 auto
1237
+ properties:
1238
+ title: Message
1239
+ icon: AiOutlineMail
1240
+ color: primary
1241
+ variant: outlined
1242
+ events:
1243
+ onClick:
1244
+ - id: flex_profile_msg_action
1245
+ type: DisplayMessage
1246
+ params:
1247
+ content: Opening message composer...
1248
+ status: info
1249
+ - id: flex_profile_btn_follow
1250
+ type: Button
1251
+ layout:
1252
+ flex: 0 0 auto
1253
+ properties:
1254
+ title: Follow
1255
+ icon: AiOutlineUserAdd
1256
+ color: primary
1257
+ variant: solid
1258
+ events:
1259
+ onClick:
1260
+ - id: flex_profile_follow_action
1261
+ type: SetState
1262
+ params:
1263
+ following: true
1264
+ - id: flex_profile_follow_msg
1265
+ type: DisplayMessage
1266
+ params:
1267
+ content: You are now following Jane Cooper.
1268
+ status: success
1269
+
1270
+ - title: Feature Comparison Cards
1271
+ blocks:
1272
+ - id: flex_features_row
1273
+ type: Flex
1274
+ properties:
1275
+ gap: 16
1276
+ wrap: true
1277
+ align: stretch
1278
+ blocks:
1279
+ - id: flex_feature_card1
1280
+ type: Card
1281
+ layout:
1282
+ flex: 1 1 240px
1283
+ properties:
1284
+ hoverable: true
1285
+ blocks:
1286
+ - id: flex_feature1_icon_row
1287
+ type: Flex
1288
+ properties:
1289
+ gap: 12
1290
+ align: center
1291
+ blocks:
1292
+ - id: flex_feature1_icon
1293
+ type: Icon
1294
+ layout:
1295
+ flex: 0 0 auto
1296
+ properties:
1297
+ name: AiOutlineThunderbolt
1298
+ color: '#1677ff'
1299
+ size: 28
1300
+ - id: flex_feature1_title
1301
+ type: Title
1302
+ layout:
1303
+ flex: 0 0 auto
1304
+ properties:
1305
+ content: Fast Builds
1306
+ level: 5
1307
+ - id: flex_feature1_desc
1308
+ type: Paragraph
1309
+ properties:
1310
+ content: Incremental compilation and smart caching reduce build times by up to 80% compared to traditional frameworks.
1311
+ - id: flex_feature1_btn
1312
+ type: Button
1313
+ properties:
1314
+ title: Learn More
1315
+ color: primary
1316
+ variant: link
1317
+ size: small
1318
+ events:
1319
+ onClick:
1320
+ - id: flex_feature1_link
1321
+ type: Link
1322
+ params:
1323
+ url: https://docs.lowdefy.com
1324
+ newTab: true
1325
+ - id: flex_feature_card2
1326
+ type: Card
1327
+ layout:
1328
+ flex: 1 1 240px
1329
+ properties:
1330
+ hoverable: true
1331
+ blocks:
1332
+ - id: flex_feature2_icon_row
1333
+ type: Flex
1334
+ properties:
1335
+ gap: 12
1336
+ align: center
1337
+ blocks:
1338
+ - id: flex_feature2_icon
1339
+ type: Icon
1340
+ layout:
1341
+ flex: 0 0 auto
1342
+ properties:
1343
+ name: AiOutlineSafety
1344
+ color: '#52c41a'
1345
+ size: 28
1346
+ - id: flex_feature2_title
1347
+ type: Title
1348
+ layout:
1349
+ flex: 0 0 auto
1350
+ properties:
1351
+ content: Secure by Default
1352
+ level: 5
1353
+ - id: flex_feature2_desc
1354
+ type: Paragraph
1355
+ properties:
1356
+ content: Built-in authentication, role-based access control, and automatic input sanitization protect your application out of the box.
1357
+ - id: flex_feature2_btn
1358
+ type: Button
1359
+ properties:
1360
+ title: Learn More
1361
+ color: primary
1362
+ variant: link
1363
+ size: small
1364
+ events:
1365
+ onClick:
1366
+ - id: flex_feature2_link
1367
+ type: Link
1368
+ params:
1369
+ url: https://docs.lowdefy.com
1370
+ newTab: true
1371
+ - id: flex_feature_card3
1372
+ type: Card
1373
+ layout:
1374
+ flex: 1 1 240px
1375
+ properties:
1376
+ hoverable: true
1377
+ blocks:
1378
+ - id: flex_feature3_icon_row
1379
+ type: Flex
1380
+ properties:
1381
+ gap: 12
1382
+ align: center
1383
+ blocks:
1384
+ - id: flex_feature3_icon
1385
+ type: Icon
1386
+ layout:
1387
+ flex: 0 0 auto
1388
+ properties:
1389
+ name: AiOutlineExpandAlt
1390
+ color: '#722ed1'
1391
+ size: 28
1392
+ - id: flex_feature3_title
1393
+ type: Title
1394
+ layout:
1395
+ flex: 0 0 auto
1396
+ properties:
1397
+ content: Fully Extensible
1398
+ level: 5
1399
+ - id: flex_feature3_desc
1400
+ type: Paragraph
1401
+ properties:
1402
+ content: Custom plugins for blocks, connections, operators, and actions let you extend functionality to match any requirement.
1403
+ - id: flex_feature3_btn
1404
+ type: Button
1405
+ properties:
1406
+ title: Learn More
1407
+ color: primary
1408
+ variant: link
1409
+ size: small
1410
+ events:
1411
+ onClick:
1412
+ - id: flex_feature3_link
1413
+ type: Link
1414
+ params:
1415
+ url: https://docs.lowdefy.com
1416
+ newTab: true