@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,1090 @@
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 Badge with Count
16
+ blocks:
17
+ - id: basic_count_5
18
+ type: Badge
19
+ layout:
20
+ flex: 0 0 auto
21
+ properties:
22
+ count: 5
23
+ blocks:
24
+ - id: basic_count_5_child
25
+ type: Avatar
26
+ properties:
27
+ shape: square
28
+ content: U
29
+ - id: basic_count_25
30
+ type: Badge
31
+ layout:
32
+ flex: 0 0 auto
33
+ properties:
34
+ count: 25
35
+ blocks:
36
+ - id: basic_count_25_child
37
+ type: Avatar
38
+ properties:
39
+ shape: square
40
+ content: U
41
+ - id: basic_count_100
42
+ type: Badge
43
+ layout:
44
+ flex: 0 0 auto
45
+ properties:
46
+ count: 100
47
+ blocks:
48
+ - id: basic_count_100_child
49
+ type: Avatar
50
+ properties:
51
+ shape: square
52
+ content: U
53
+
54
+ - title: Show Zero Count
55
+ blocks:
56
+ - id: zero_hidden
57
+ type: Badge
58
+ layout:
59
+ flex: 0 0 auto
60
+ properties:
61
+ count: 0
62
+ blocks:
63
+ - id: zero_hidden_child
64
+ type: Avatar
65
+ properties:
66
+ shape: square
67
+ content: U
68
+ - id: zero_shown
69
+ type: Badge
70
+ layout:
71
+ flex: 0 0 auto
72
+ properties:
73
+ count: 0
74
+ showZero: true
75
+ blocks:
76
+ - id: zero_shown_child
77
+ type: Avatar
78
+ properties:
79
+ shape: square
80
+ content: U
81
+
82
+ - title: Dot Badge
83
+ blocks:
84
+ - id: dot_on_avatar
85
+ type: Badge
86
+ layout:
87
+ flex: 0 0 auto
88
+ properties:
89
+ dot: true
90
+ blocks:
91
+ - id: dot_on_avatar_child
92
+ type: Avatar
93
+ properties:
94
+ shape: square
95
+ content: U
96
+ - id: dot_on_icon_avatar
97
+ type: Badge
98
+ layout:
99
+ flex: 0 0 auto
100
+ properties:
101
+ dot: true
102
+ blocks:
103
+ - id: dot_on_icon_avatar_child
104
+ type: Avatar
105
+ properties:
106
+ icon: AiOutlineBell
107
+ shape: square
108
+ - id: dot_on_button
109
+ type: Badge
110
+ layout:
111
+ flex: 0 0 auto
112
+ properties:
113
+ dot: true
114
+ blocks:
115
+ - id: dot_on_button_child
116
+ type: Button
117
+ properties:
118
+ title: Notifications
119
+ color: primary
120
+ variant: outlined
121
+
122
+ - title: Standalone Badge (No Child)
123
+ blocks:
124
+ - id: standalone_count
125
+ type: Badge
126
+ layout:
127
+ flex: 0 0 auto
128
+ properties:
129
+ count: 25
130
+ - id: standalone_dot
131
+ type: Badge
132
+ layout:
133
+ flex: 0 0 auto
134
+ properties:
135
+ dot: true
136
+ - id: standalone_text
137
+ type: Badge
138
+ layout:
139
+ flex: 0 0 auto
140
+ properties:
141
+ count: New
142
+
143
+ - title: Badge Sizes
144
+ blocks:
145
+ - id: size_def
146
+ type: Badge
147
+ layout:
148
+ flex: 0 0 auto
149
+ properties:
150
+ count: 11
151
+ size: default
152
+ blocks:
153
+ - id: size_def_child
154
+ type: Avatar
155
+ properties:
156
+ shape: square
157
+ content: U
158
+ - id: size_sm
159
+ type: Badge
160
+ layout:
161
+ flex: 0 0 auto
162
+ properties:
163
+ count: 11
164
+ size: small
165
+ blocks:
166
+ - id: size_sm_child
167
+ type: Avatar
168
+ properties:
169
+ shape: square
170
+ content: U
171
+ - id: size_def_large_count
172
+ type: Badge
173
+ layout:
174
+ flex: 0 0 auto
175
+ properties:
176
+ count: 999
177
+ overflowCount: 999
178
+ size: default
179
+ blocks:
180
+ - id: size_def_large_count_child
181
+ type: Avatar
182
+ properties:
183
+ shape: square
184
+ content: U
185
+ - id: size_sm_large_count
186
+ type: Badge
187
+ layout:
188
+ flex: 0 0 auto
189
+ properties:
190
+ count: 999
191
+ overflowCount: 999
192
+ size: small
193
+ blocks:
194
+ - id: size_sm_large_count_child
195
+ type: Avatar
196
+ properties:
197
+ shape: square
198
+ content: U
199
+
200
+ - title: Overflow Count
201
+ blocks:
202
+ - id: overflow_default
203
+ type: Badge
204
+ layout:
205
+ flex: 0 0 auto
206
+ properties:
207
+ count: 150
208
+ blocks:
209
+ - id: overflow_default_child
210
+ type: Avatar
211
+ properties:
212
+ shape: square
213
+ content: U
214
+ - id: overflow_10
215
+ type: Badge
216
+ layout:
217
+ flex: 0 0 auto
218
+ properties:
219
+ count: 150
220
+ overflowCount: 10
221
+ blocks:
222
+ - id: overflow_10_child
223
+ type: Avatar
224
+ properties:
225
+ shape: square
226
+ content: U
227
+ - id: overflow_999
228
+ type: Badge
229
+ layout:
230
+ flex: 0 0 auto
231
+ properties:
232
+ count: 2000
233
+ overflowCount: 999
234
+ blocks:
235
+ - id: overflow_999_child
236
+ type: Avatar
237
+ properties:
238
+ shape: square
239
+ content: U
240
+
241
+ - title: Preset Colors
242
+ blocks:
243
+ - id: preset_blue
244
+ type: Badge
245
+ layout:
246
+ flex: 0 0 auto
247
+ properties:
248
+ color: blue
249
+ count: 5
250
+ blocks:
251
+ - id: preset_blue_child
252
+ type: Avatar
253
+ properties:
254
+ shape: square
255
+ content: A
256
+ - id: preset_green
257
+ type: Badge
258
+ layout:
259
+ flex: 0 0 auto
260
+ properties:
261
+ color: green
262
+ count: 5
263
+ blocks:
264
+ - id: preset_green_child
265
+ type: Avatar
266
+ properties:
267
+ shape: square
268
+ content: B
269
+ - id: preset_purple
270
+ type: Badge
271
+ layout:
272
+ flex: 0 0 auto
273
+ properties:
274
+ color: purple
275
+ count: 5
276
+ blocks:
277
+ - id: preset_purple_child
278
+ type: Avatar
279
+ properties:
280
+ shape: square
281
+ content: C
282
+ - id: preset_gold
283
+ type: Badge
284
+ layout:
285
+ flex: 0 0 auto
286
+ properties:
287
+ color: gold
288
+ count: 5
289
+ blocks:
290
+ - id: preset_gold_child
291
+ type: Avatar
292
+ properties:
293
+ shape: square
294
+ content: D
295
+
296
+ - title: Custom Hex Colors
297
+ blocks:
298
+ - id: hex_coral
299
+ type: Badge
300
+ layout:
301
+ flex: 0 0 auto
302
+ properties:
303
+ color: '#ff6b6b'
304
+ count: 3
305
+ blocks:
306
+ - id: hex_coral_child
307
+ type: Avatar
308
+ properties:
309
+ shape: square
310
+ content: A
311
+ - id: hex_teal
312
+ type: Badge
313
+ layout:
314
+ flex: 0 0 auto
315
+ properties:
316
+ color: '#20c997'
317
+ count: 7
318
+ blocks:
319
+ - id: hex_teal_child
320
+ type: Avatar
321
+ properties:
322
+ shape: square
323
+ content: B
324
+ - id: hex_indigo
325
+ type: Badge
326
+ layout:
327
+ flex: 0 0 auto
328
+ properties:
329
+ color: '#4c6ef5'
330
+ count: 12
331
+ blocks:
332
+ - id: hex_indigo_child
333
+ type: Avatar
334
+ properties:
335
+ shape: square
336
+ content: C
337
+
338
+ - title: Text Content
339
+ blocks:
340
+ - id: text_new
341
+ type: Badge
342
+ layout:
343
+ flex: 0 0 auto
344
+ properties:
345
+ count: New
346
+ blocks:
347
+ - id: text_new_child
348
+ type: Avatar
349
+ properties:
350
+ shape: square
351
+ content: U
352
+ - id: text_hot
353
+ type: Badge
354
+ layout:
355
+ flex: 0 0 auto
356
+ properties:
357
+ count: Hot
358
+ color: red
359
+ blocks:
360
+ - id: text_hot_child
361
+ type: Avatar
362
+ properties:
363
+ shape: square
364
+ content: U
365
+ - id: text_beta
366
+ type: Badge
367
+ layout:
368
+ flex: 0 0 auto
369
+ properties:
370
+ count: Beta
371
+ color: blue
372
+ blocks:
373
+ - id: text_beta_child
374
+ type: Avatar
375
+ properties:
376
+ shape: square
377
+ content: U
378
+
379
+ - title: Status Indicators
380
+ blocks:
381
+ - id: status_success
382
+ type: Badge
383
+ layout:
384
+ flex: 0 0 auto
385
+ properties:
386
+ status: success
387
+ text: Success
388
+ - id: status_processing
389
+ type: Badge
390
+ layout:
391
+ flex: 0 0 auto
392
+ properties:
393
+ status: processing
394
+ text: Processing
395
+ - id: status_default
396
+ type: Badge
397
+ layout:
398
+ flex: 0 0 auto
399
+ properties:
400
+ status: default
401
+ text: Default
402
+ - id: status_error
403
+ type: Badge
404
+ layout:
405
+ flex: 0 0 auto
406
+ properties:
407
+ status: error
408
+ text: Error
409
+ - id: status_warning
410
+ type: Badge
411
+ layout:
412
+ flex: 0 0 auto
413
+ properties:
414
+ status: warning
415
+ text: Warning
416
+
417
+ - title: Status Dots Without Text
418
+ blocks:
419
+ - id: status_dot_success
420
+ type: Badge
421
+ layout:
422
+ flex: 0 0 auto
423
+ properties:
424
+ status: success
425
+ - id: status_dot_processing
426
+ type: Badge
427
+ layout:
428
+ flex: 0 0 auto
429
+ properties:
430
+ status: processing
431
+ - id: status_dot_error
432
+ type: Badge
433
+ layout:
434
+ flex: 0 0 auto
435
+ properties:
436
+ status: error
437
+
438
+ - title: Icon in Badge
439
+ blocks:
440
+ - id: icon_bell
441
+ type: Badge
442
+ layout:
443
+ flex: 0 0 auto
444
+ properties:
445
+ icon: AiOutlineBell
446
+ blocks:
447
+ - id: icon_bell_child
448
+ type: Avatar
449
+ properties:
450
+ shape: square
451
+ content: U
452
+ - id: icon_clock
453
+ type: Badge
454
+ layout:
455
+ flex: 0 0 auto
456
+ properties:
457
+ icon:
458
+ name: AiOutlineClockCircle
459
+ color: '#1677ff'
460
+ blocks:
461
+ - id: icon_clock_child
462
+ type: Avatar
463
+ properties:
464
+ shape: square
465
+ content: U
466
+ - id: icon_exclamation
467
+ type: Badge
468
+ layout:
469
+ flex: 0 0 auto
470
+ properties:
471
+ icon:
472
+ name: AiOutlineExclamation
473
+ color: '#faad14'
474
+ blocks:
475
+ - id: icon_exclamation_child
476
+ type: Avatar
477
+ properties:
478
+ shape: square
479
+ content: U
480
+
481
+ - title: Badge Offset
482
+ blocks:
483
+ - id: offset_none
484
+ type: Badge
485
+ layout:
486
+ flex: 0 0 auto
487
+ properties:
488
+ count: 5
489
+ blocks:
490
+ - id: offset_none_child
491
+ type: Avatar
492
+ properties:
493
+ shape: square
494
+ content: U
495
+ - id: offset_right
496
+ type: Badge
497
+ layout:
498
+ flex: 0 0 auto
499
+ properties:
500
+ count: 5
501
+ offset:
502
+ - 10
503
+ - 0
504
+ blocks:
505
+ - id: offset_right_child
506
+ type: Avatar
507
+ properties:
508
+ shape: square
509
+ content: U
510
+ - id: offset_both
511
+ type: Badge
512
+ layout:
513
+ flex: 0 0 auto
514
+ properties:
515
+ count: 5
516
+ offset:
517
+ - -5
518
+ - 10
519
+ blocks:
520
+ - id: offset_both_child
521
+ type: Avatar
522
+ properties:
523
+ shape: square
524
+ content: U
525
+
526
+ - title: Hover Title Tooltip
527
+ blocks:
528
+ - id: title_tooltip
529
+ type: Badge
530
+ layout:
531
+ flex: 0 0 auto
532
+ properties:
533
+ count: 5
534
+ title: You have 5 unread messages
535
+ blocks:
536
+ - id: title_tooltip_child
537
+ type: Avatar
538
+ properties:
539
+ shape: square
540
+ content: U
541
+ - id: title_tooltip_custom
542
+ type: Badge
543
+ layout:
544
+ flex: 0 0 auto
545
+ properties:
546
+ count: 99
547
+ title: 99 pending tasks
548
+ blocks:
549
+ - id: title_tooltip_custom_child
550
+ type: Avatar
551
+ properties:
552
+ shape: square
553
+ icon: AiOutlineUser
554
+
555
+ - title: Badge Wrapping Different Blocks
556
+ blocks:
557
+ - id: wrap_avatar_circle
558
+ type: Badge
559
+ layout:
560
+ flex: 0 0 auto
561
+ properties:
562
+ count: 3
563
+ blocks:
564
+ - id: wrap_avatar_circle_child
565
+ type: Avatar
566
+ properties:
567
+ content: JD
568
+ color: '#1677ff'
569
+ - id: wrap_button_solid
570
+ type: Badge
571
+ layout:
572
+ flex: 0 0 auto
573
+ properties:
574
+ count: 5
575
+ blocks:
576
+ - id: wrap_button_solid_child
577
+ type: Button
578
+ properties:
579
+ title: Messages
580
+ color: primary
581
+ variant: solid
582
+ - id: wrap_icon_bell
583
+ type: Badge
584
+ layout:
585
+ flex: 0 0 auto
586
+ properties:
587
+ count: 12
588
+ blocks:
589
+ - id: wrap_icon_bell_child
590
+ type: Icon
591
+ properties:
592
+ name: AiOutlineBell
593
+ size: 24
594
+ - id: wrap_icon_mail
595
+ type: Badge
596
+ layout:
597
+ flex: 0 0 auto
598
+ properties:
599
+ dot: true
600
+ blocks:
601
+ - id: wrap_icon_mail_child
602
+ type: Icon
603
+ properties:
604
+ name: AiOutlineMail
605
+ size: 24
606
+
607
+ - title: Style and CSS Examples
608
+ blocks:
609
+ - id: css_indicator_shadow
610
+ type: Badge
611
+ layout:
612
+ flex: 0 0 auto
613
+ properties:
614
+ count: 5
615
+ style:
616
+ .indicator:
617
+ boxShadow: 0 0 0 2px #1677ff
618
+ blocks:
619
+ - id: css_indicator_shadow_child
620
+ type: Avatar
621
+ properties:
622
+ shape: square
623
+ content: U
624
+ - id: css_indicator_green
625
+ type: Badge
626
+ layout:
627
+ flex: 0 0 auto
628
+ properties:
629
+ count: 5
630
+ style:
631
+ .indicator:
632
+ backgroundColor: '#52c41a'
633
+ blocks:
634
+ - id: css_indicator_green_child
635
+ type: Avatar
636
+ properties:
637
+ shape: square
638
+ content: U
639
+ - id: css_indicator_bold
640
+ type: Badge
641
+ layout:
642
+ flex: 0 0 auto
643
+ properties:
644
+ count: 42
645
+ style:
646
+ .indicator:
647
+ fontWeight: bold
648
+ fontSize: 14px
649
+ blocks:
650
+ - id: css_indicator_bold_child
651
+ type: Avatar
652
+ properties:
653
+ shape: square
654
+ content: U
655
+ size: large
656
+
657
+ - title: Tailwind CSS Classes
658
+ blocks:
659
+ - id: tw_element_margin
660
+ type: Badge
661
+ class:
662
+ element: mr-8
663
+ layout:
664
+ flex: 0 0 auto
665
+ properties:
666
+ count: 3
667
+ blocks:
668
+ - id: tw_element_margin_child
669
+ type: Avatar
670
+ properties:
671
+ shape: square
672
+ content: A
673
+ - id: tw_indicator_animate
674
+ type: Badge
675
+ class:
676
+ indicator: animate-bounce
677
+ layout:
678
+ flex: 0 0 auto
679
+ properties:
680
+ count: 7
681
+ blocks:
682
+ - id: tw_indicator_animate_child
683
+ type: Avatar
684
+ properties:
685
+ shape: square
686
+ content: B
687
+ - id: tw_badge_in_box
688
+ type: Badge
689
+ class:
690
+ element: p-1
691
+ layout:
692
+ flex: 0 0 auto
693
+ properties:
694
+ count: 3
695
+ blocks:
696
+ - id: tw_badge_in_box_child
697
+ type: Box
698
+ class: bg-bg-layout rounded-lg p-4
699
+ blocks:
700
+ - id: tw_badge_in_box_text
701
+ type: Paragraph
702
+ properties:
703
+ content: Inbox
704
+
705
+ - title: Theme Token Overrides
706
+ blocks:
707
+ - id: theme_large_indicator
708
+ type: Badge
709
+ layout:
710
+ flex: 0 0 auto
711
+ properties:
712
+ count: 8
713
+ theme:
714
+ indicatorHeight: 28
715
+ textFontSize: 16
716
+ textFontWeight: bold
717
+ blocks:
718
+ - id: theme_large_indicator_child
719
+ type: Avatar
720
+ properties:
721
+ shape: square
722
+ content: U
723
+ size: large
724
+ - id: theme_small_indicator
725
+ type: Badge
726
+ layout:
727
+ flex: 0 0 auto
728
+ properties:
729
+ count: 3
730
+ size: small
731
+ theme:
732
+ indicatorHeightSM: 18
733
+ textFontSizeSM: 10
734
+ blocks:
735
+ - id: theme_small_indicator_child
736
+ type: Avatar
737
+ properties:
738
+ shape: square
739
+ content: U
740
+ - id: theme_large_dot
741
+ type: Badge
742
+ layout:
743
+ flex: 0 0 auto
744
+ properties:
745
+ dot: true
746
+ theme:
747
+ dotSize: 12
748
+ blocks:
749
+ - id: theme_large_dot_child
750
+ type: Avatar
751
+ properties:
752
+ shape: square
753
+ content: U
754
+ - id: theme_blue_badge
755
+ type: Badge
756
+ layout:
757
+ flex: 0 0 auto
758
+ properties:
759
+ count: 15
760
+ theme:
761
+ colorError: '#1677ff'
762
+ colorErrorHover: '#4096ff'
763
+ blocks:
764
+ - id: theme_blue_badge_child
765
+ type: Avatar
766
+ properties:
767
+ shape: square
768
+ content: U
769
+ - id: theme_large_status
770
+ type: Badge
771
+ layout:
772
+ flex: 0 0 auto
773
+ properties:
774
+ status: processing
775
+ text: Processing
776
+ theme:
777
+ statusSize: 10
778
+ - id: theme_combined
779
+ type: Badge
780
+ layout:
781
+ flex: 0 0 auto
782
+ properties:
783
+ count: 42
784
+ theme:
785
+ indicatorHeight: 26
786
+ textFontSize: 14
787
+ textFontWeight: bold
788
+ textLineHeight: 26
789
+ colorError: '#722ed1'
790
+ colorErrorHover: '#9254de'
791
+ indicatorZIndex: 10
792
+ blocks:
793
+ - id: theme_combined_child
794
+ type: Avatar
795
+ properties:
796
+ shape: square
797
+ content: U
798
+ size: large
799
+
800
+ - title: Notification Bell Header
801
+ blocks:
802
+ - id: rw_notif_header
803
+ type: Box
804
+ layout:
805
+ gap: 24
806
+ align: center
807
+ justify: end
808
+ class: bg-bg-container p-4 rounded-lg shadow-sm border border-border
809
+ blocks:
810
+ - id: rw_notif_search
811
+ type: TextInput
812
+ layout:
813
+ flex: 1 1 0
814
+ properties:
815
+ placeholder: Search...
816
+ prefixIcon: AiOutlineSearch
817
+ - id: rw_notif_badge_mail
818
+ type: Badge
819
+ layout:
820
+ flex: 0 0 auto
821
+ properties:
822
+ count: 4
823
+ size: small
824
+ blocks:
825
+ - id: rw_notif_mail_btn
826
+ type: Button
827
+ properties:
828
+ icon: AiOutlineMail
829
+ color: default
830
+ variant: text
831
+ hideTitle: true
832
+ events:
833
+ onClick:
834
+ - id: rw_notif_mail_action
835
+ type: DisplayMessage
836
+ params:
837
+ content: You have 4 unread messages.
838
+ status: info
839
+ - id: rw_notif_badge_bell
840
+ type: Badge
841
+ layout:
842
+ flex: 0 0 auto
843
+ properties:
844
+ dot: true
845
+ blocks:
846
+ - id: rw_notif_bell_btn
847
+ type: Button
848
+ properties:
849
+ icon: AiOutlineBell
850
+ color: default
851
+ variant: text
852
+ hideTitle: true
853
+ events:
854
+ onClick:
855
+ - id: rw_notif_bell_action
856
+ type: DisplayMessage
857
+ params:
858
+ content: You have new notifications.
859
+ status: info
860
+ - id: rw_notif_avatar
861
+ type: Avatar
862
+ layout:
863
+ flex: 0 0 auto
864
+ properties:
865
+ content: JD
866
+ color: '#fff'
867
+ backgroundColor: '#1677ff'
868
+
869
+ - title: Order Status Dashboard
870
+ blocks:
871
+ - id: rw_orders_card
872
+ type: Card
873
+ properties:
874
+ title: Recent Orders
875
+ slots:
876
+ extra:
877
+ blocks:
878
+ - id: rw_orders_extra_btn
879
+ type: Button
880
+ layout:
881
+ flex: 0 0 auto
882
+ properties:
883
+ title: View All
884
+ color: primary
885
+ variant: link
886
+ size: small
887
+ events:
888
+ onClick:
889
+ - id: rw_orders_link_action
890
+ type: DisplayMessage
891
+ params:
892
+ content: Navigating to full orders list.
893
+ status: info
894
+ blocks:
895
+ - id: rw_order_row1
896
+ type: Box
897
+ layout:
898
+ gap: 16
899
+ align: center
900
+ class: py-3 border-b border-border
901
+ blocks:
902
+ - id: rw_order1_id
903
+ type: Paragraph
904
+ layout:
905
+ flex: 0 0 120px
906
+ properties:
907
+ content: '#ORD-1042'
908
+ - id: rw_order1_customer
909
+ type: Paragraph
910
+ layout:
911
+ flex: 1 1 0
912
+ properties:
913
+ content: Sarah Johnson
914
+ - id: rw_order1_status
915
+ type: Badge
916
+ layout:
917
+ flex: 0 0 auto
918
+ properties:
919
+ status: success
920
+ text: Delivered
921
+ - id: rw_order_row2
922
+ type: Box
923
+ layout:
924
+ gap: 16
925
+ align: center
926
+ class: py-3 border-b border-border
927
+ blocks:
928
+ - id: rw_order2_id
929
+ type: Paragraph
930
+ layout:
931
+ flex: 0 0 120px
932
+ properties:
933
+ content: '#ORD-1043'
934
+ - id: rw_order2_customer
935
+ type: Paragraph
936
+ layout:
937
+ flex: 1 1 0
938
+ properties:
939
+ content: Michael Chen
940
+ - id: rw_order2_status
941
+ type: Badge
942
+ layout:
943
+ flex: 0 0 auto
944
+ properties:
945
+ status: processing
946
+ text: Shipping
947
+ - id: rw_order_row3
948
+ type: Box
949
+ layout:
950
+ gap: 16
951
+ align: center
952
+ class: py-3 border-b border-border
953
+ blocks:
954
+ - id: rw_order3_id
955
+ type: Paragraph
956
+ layout:
957
+ flex: 0 0 120px
958
+ properties:
959
+ content: '#ORD-1044'
960
+ - id: rw_order3_customer
961
+ type: Paragraph
962
+ layout:
963
+ flex: 1 1 0
964
+ properties:
965
+ content: Emily Davis
966
+ - id: rw_order3_status
967
+ type: Badge
968
+ layout:
969
+ flex: 0 0 auto
970
+ properties:
971
+ status: warning
972
+ text: Pending Payment
973
+ - id: rw_order_row4
974
+ type: Box
975
+ layout:
976
+ gap: 16
977
+ align: center
978
+ class: py-3
979
+ blocks:
980
+ - id: rw_order4_id
981
+ type: Paragraph
982
+ layout:
983
+ flex: 0 0 120px
984
+ properties:
985
+ content: '#ORD-1045'
986
+ - id: rw_order4_customer
987
+ type: Paragraph
988
+ layout:
989
+ flex: 1 1 0
990
+ properties:
991
+ content: James Wilson
992
+ - id: rw_order4_status
993
+ type: Badge
994
+ layout:
995
+ flex: 0 0 auto
996
+ properties:
997
+ status: error
998
+ text: Cancelled
999
+
1000
+ - title: Sidebar Navigation with Badges
1001
+ blocks:
1002
+ - id: rw_sidebar
1003
+ type: Box
1004
+ layout:
1005
+ direction: column
1006
+ gap: 0
1007
+ class: bg-bg-container rounded-lg shadow-sm border border-border p-2 max-w-xs
1008
+ blocks:
1009
+ - id: rw_nav_inbox_btn
1010
+ type: Button
1011
+ class: justify-start w-full
1012
+ properties:
1013
+ title: Inbox
1014
+ icon: AiOutlineInbox
1015
+ color: primary
1016
+ variant: text
1017
+ events:
1018
+ onClick:
1019
+ - id: rw_nav_inbox_action
1020
+ type: SetState
1021
+ params:
1022
+ selectedNav: inbox
1023
+ blocks:
1024
+ - id: rw_nav_inbox_badge
1025
+ type: Badge
1026
+ layout:
1027
+ flex: 0 0 auto
1028
+ properties:
1029
+ count: 12
1030
+ size: small
1031
+ theme:
1032
+ colorError: '#1677ff'
1033
+ - id: rw_nav_alerts_btn
1034
+ type: Button
1035
+ class: justify-start w-full
1036
+ properties:
1037
+ title: Alerts
1038
+ icon: AiOutlineAlert
1039
+ color: default
1040
+ variant: text
1041
+ events:
1042
+ onClick:
1043
+ - id: rw_nav_alerts_action
1044
+ type: SetState
1045
+ params:
1046
+ selectedNav: alerts
1047
+ blocks:
1048
+ - id: rw_nav_alerts_badge
1049
+ type: Badge
1050
+ layout:
1051
+ flex: 0 0 auto
1052
+ properties:
1053
+ count: 3
1054
+ size: small
1055
+ color: orange
1056
+ - id: rw_nav_tasks_btn
1057
+ type: Button
1058
+ class: justify-start w-full
1059
+ properties:
1060
+ title: Tasks
1061
+ icon: AiOutlineCheckSquare
1062
+ color: default
1063
+ variant: text
1064
+ events:
1065
+ onClick:
1066
+ - id: rw_nav_tasks_action
1067
+ type: SetState
1068
+ params:
1069
+ selectedNav: tasks
1070
+ blocks:
1071
+ - id: rw_nav_tasks_badge
1072
+ type: Badge
1073
+ layout:
1074
+ flex: 0 0 auto
1075
+ properties:
1076
+ dot: true
1077
+ - id: rw_nav_settings_btn
1078
+ type: Button
1079
+ class: justify-start w-full
1080
+ properties:
1081
+ title: Settings
1082
+ icon: AiOutlineSetting
1083
+ color: default
1084
+ variant: text
1085
+ events:
1086
+ onClick:
1087
+ - id: rw_nav_settings_action
1088
+ type: SetState
1089
+ params:
1090
+ selectedNav: settings