@lowdefy/blocks-antd 5.6.0 → 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 (283) 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/gallery.yaml +781 -0
  36. package/dist/blocks/CheckboxSelector/tests/CheckboxSelector.e2e.yaml +272 -0
  37. package/dist/blocks/CheckboxSelector/tests.yaml +325 -0
  38. package/dist/blocks/CheckboxSwitch/gallery.yaml +457 -0
  39. package/dist/blocks/CheckboxSwitch/tests/CheckboxSwitch.e2e.yaml +126 -0
  40. package/dist/blocks/CheckboxSwitch/tests.yaml +96 -0
  41. package/dist/blocks/Collapse/gallery.yaml +1079 -0
  42. package/dist/blocks/Collapse/tests/Collapse.e2e.yaml +206 -0
  43. package/dist/blocks/Collapse/tests.yaml +265 -0
  44. package/dist/blocks/ColorSelector/gallery.yaml +807 -0
  45. package/dist/blocks/ColorSelector/tests/ColorSelector.e2e.yaml +77 -0
  46. package/dist/blocks/ColorSelector/tests.yaml +84 -0
  47. package/dist/blocks/ConfigProvider/gallery.yaml +1003 -0
  48. package/dist/blocks/ConfigProvider/tests.yaml +62 -0
  49. package/dist/blocks/ConfirmModal/gallery.yaml +1043 -0
  50. package/dist/blocks/ConfirmModal/tests/ConfirmModal.e2e.yaml +410 -0
  51. package/dist/blocks/ConfirmModal/tests.yaml +95 -0
  52. package/dist/blocks/Content/gallery.yaml +528 -0
  53. package/dist/blocks/Content/tests/Content.e2e.yaml +71 -0
  54. package/dist/blocks/Content/tests.yaml +42 -0
  55. package/dist/blocks/ControlledList/ControlledList.js +1 -1
  56. package/dist/blocks/ControlledList/gallery.yaml +481 -0
  57. package/dist/blocks/ControlledList/{style.module.css → style.css} +3 -3
  58. package/dist/blocks/ControlledList/tests/ControlledList.e2e.yaml +161 -0
  59. package/dist/blocks/ControlledList/tests.yaml +57 -0
  60. package/dist/blocks/DateRangeSelector/DateRangeSelector.js +7 -0
  61. package/dist/blocks/DateRangeSelector/e2e.js +28 -2
  62. package/dist/blocks/DateRangeSelector/gallery.yaml +858 -0
  63. package/dist/blocks/DateRangeSelector/meta.js +2 -0
  64. package/dist/blocks/DateRangeSelector/tests/DateRangeSelector.e2e.yaml +204 -0
  65. package/dist/blocks/DateRangeSelector/tests.yaml +129 -0
  66. package/dist/blocks/DateSelector/DateSelector.js +6 -0
  67. package/dist/blocks/DateSelector/e2e.js +28 -2
  68. package/dist/blocks/DateSelector/gallery.yaml +691 -0
  69. package/dist/blocks/DateSelector/meta.js +6 -0
  70. package/dist/blocks/DateSelector/tests/DateSelector.e2e.yaml +229 -0
  71. package/dist/blocks/DateSelector/tests.yaml +117 -0
  72. package/dist/blocks/DateTimeSelector/DateTimeSelector.js +7 -0
  73. package/dist/blocks/DateTimeSelector/e2e.js +26 -2
  74. package/dist/blocks/DateTimeSelector/gallery.yaml +770 -0
  75. package/dist/blocks/DateTimeSelector/meta.js +2 -0
  76. package/dist/blocks/DateTimeSelector/tests/DateTimeSelector.e2e.yaml +163 -0
  77. package/dist/blocks/DateTimeSelector/tests.yaml +140 -0
  78. package/dist/blocks/Descriptions/gallery.yaml +839 -0
  79. package/dist/blocks/Descriptions/tests/Descriptions.e2e.yaml +143 -0
  80. package/dist/blocks/Descriptions/tests.yaml +256 -0
  81. package/dist/blocks/Divider/gallery.yaml +375 -0
  82. package/dist/blocks/Divider/tests/Divider.e2e.yaml +107 -0
  83. package/dist/blocks/Divider/tests.yaml +58 -0
  84. package/dist/blocks/Drawer/gallery.yaml +1257 -0
  85. package/dist/blocks/Drawer/tests/Drawer.e2e.yaml +562 -0
  86. package/dist/blocks/Drawer/tests.yaml +80 -0
  87. package/dist/blocks/DropdownButton/gallery.yaml +606 -0
  88. package/dist/blocks/DropdownButton/tests/DropdownButton.e2e.yaml +243 -0
  89. package/dist/blocks/DropdownMenu/gallery.yaml +578 -0
  90. package/dist/blocks/DropdownMenu/tests/DropdownMenu.e2e.yaml +267 -0
  91. package/dist/blocks/Flex/gallery.yaml +1416 -0
  92. package/dist/blocks/Flex/tests/Flex.e2e.yaml +95 -0
  93. package/dist/blocks/Flex/tests.yaml +92 -0
  94. package/dist/blocks/FloatButton/gallery.yaml +518 -0
  95. package/dist/blocks/FloatButton/tests/FloatButton.e2e.yaml +73 -0
  96. package/dist/blocks/FloatButton/tests.yaml +59 -0
  97. package/dist/blocks/Footer/gallery.yaml +355 -0
  98. package/dist/blocks/Footer/tests/Footer.e2e.yaml +70 -0
  99. package/dist/blocks/Footer/tests.yaml +28 -0
  100. package/dist/blocks/Header/gallery.yaml +249 -0
  101. package/dist/blocks/Header/tests/Header.e2e.yaml +77 -0
  102. package/dist/blocks/Header/tests.yaml +36 -0
  103. package/dist/blocks/Label/Label.js +1 -1
  104. package/dist/blocks/Label/gallery.yaml +762 -0
  105. package/dist/blocks/Label/{style.module.css → style.css} +28 -28
  106. package/dist/blocks/Label/tests/Label.e2e.yaml +247 -0
  107. package/dist/blocks/Label/tests.yaml +212 -0
  108. package/dist/blocks/Layout/gallery.yaml +548 -0
  109. package/dist/blocks/Layout/tests/Layout.e2e.yaml +86 -0
  110. package/dist/blocks/Layout/tests.yaml +28 -0
  111. package/dist/blocks/ListSelector/gallery.yaml +223 -0
  112. package/dist/blocks/Masonry/gallery.yaml +989 -0
  113. package/dist/blocks/Masonry/tests/Masonry.e2e.yaml +128 -0
  114. package/dist/blocks/Masonry/tests.yaml +42 -0
  115. package/dist/blocks/MasonryList/gallery.yaml +224 -0
  116. package/dist/blocks/MasonryList/tests/MasonryList.e2e.yaml +55 -0
  117. package/dist/blocks/MasonryList/tests.yaml +42 -0
  118. package/dist/blocks/Menu/gallery.yaml +974 -0
  119. package/dist/blocks/Menu/tests/Menu.e2e.yaml +484 -0
  120. package/dist/blocks/Menu/tests.yaml +1053 -0
  121. package/dist/blocks/Message/gallery.yaml +860 -0
  122. package/dist/blocks/Message/tests/Message.e2e.yaml +246 -0
  123. package/dist/blocks/Message/tests.yaml +54 -0
  124. package/dist/blocks/MobileMenu/gallery.yaml +1172 -0
  125. package/dist/blocks/MobileMenu/tests/MobileMenu.e2e.yaml +314 -0
  126. package/dist/blocks/MobileMenu/tests.yaml +359 -0
  127. package/dist/blocks/Modal/gallery.yaml +1039 -0
  128. package/dist/blocks/Modal/tests/Modal.e2e.yaml +493 -0
  129. package/dist/blocks/Modal/tests.yaml +75 -0
  130. package/dist/blocks/MonthSelector/MonthSelector.js +6 -0
  131. package/dist/blocks/MonthSelector/e2e.js +26 -2
  132. package/dist/blocks/MonthSelector/gallery.yaml +687 -0
  133. package/dist/blocks/MonthSelector/meta.js +6 -0
  134. package/dist/blocks/MonthSelector/tests/MonthSelector.e2e.yaml +167 -0
  135. package/dist/blocks/MonthSelector/tests.yaml +124 -0
  136. package/dist/blocks/MultipleSelector/gallery.yaml +1245 -0
  137. package/dist/blocks/MultipleSelector/tests/MultipleSelector.e2e.yaml +445 -0
  138. package/dist/blocks/MultipleSelector/tests.yaml +201 -0
  139. package/dist/blocks/Notification/gallery.yaml +1376 -0
  140. package/dist/blocks/Notification/tests/Notification.e2e.yaml +362 -0
  141. package/dist/blocks/Notification/tests.yaml +97 -0
  142. package/dist/blocks/NumberInput/gallery.yaml +753 -0
  143. package/dist/blocks/NumberInput/tests/NumberInput.e2e.yaml +228 -0
  144. package/dist/blocks/NumberInput/tests.yaml +116 -0
  145. package/dist/blocks/PageHeaderMenu/PageHeaderMenu.js +1 -1
  146. package/dist/blocks/PageHeaderMenu/gallery.yaml +480 -0
  147. package/dist/blocks/PageHeaderMenu/tests/PageHeaderMenu.e2e.yaml +110 -0
  148. package/dist/blocks/PageHeaderMenu/tests.yaml +173 -0
  149. package/dist/blocks/PageSidebarLayout/PageSidebarLayout.js +10 -1
  150. package/dist/blocks/PageSidebarLayout/gallery.yaml +302 -0
  151. package/dist/blocks/PageSidebarLayout/meta.js +1 -0
  152. package/dist/blocks/PageSidebarLayout/tests/PageSidebarLayout.e2e.yaml +216 -0
  153. package/dist/blocks/PageSidebarLayout/tests.yaml +174 -0
  154. package/dist/blocks/PageSiderMenu/PageSiderMenu.js +1 -1
  155. package/dist/blocks/PageSiderMenu/gallery.yaml +516 -0
  156. package/dist/blocks/PageSiderMenu/tests/PageSiderMenu.e2e.yaml +175 -0
  157. package/dist/blocks/PageSiderMenu/tests.yaml +211 -0
  158. package/dist/blocks/Pagination/gallery.yaml +503 -0
  159. package/dist/blocks/Pagination/tests/Pagination.e2e.yaml +159 -0
  160. package/dist/blocks/Pagination/tests.yaml +80 -0
  161. package/dist/blocks/Paragraph/gallery.yaml +458 -0
  162. package/dist/blocks/Paragraph/tests/Paragraph.e2e.yaml +153 -0
  163. package/dist/blocks/Paragraph/tests.yaml +176 -0
  164. package/dist/blocks/ParagraphInput/gallery.yaml +1483 -0
  165. package/dist/blocks/ParagraphInput/tests/ParagraphInput.e2e.yaml +189 -0
  166. package/dist/blocks/ParagraphInput/tests.yaml +163 -0
  167. package/dist/blocks/PasswordInput/gallery.yaml +420 -0
  168. package/dist/blocks/PasswordInput/tests/PasswordInput.e2e.yaml +188 -0
  169. package/dist/blocks/PasswordInput/tests.yaml +78 -0
  170. package/dist/blocks/PhoneNumberInput/gallery.yaml +677 -0
  171. package/dist/blocks/PhoneNumberInput/tests/PhoneNumberInput.e2e.yaml +279 -0
  172. package/dist/blocks/PhoneNumberInput/tests.yaml +25 -0
  173. package/dist/blocks/Popover/gallery.yaml +1301 -0
  174. package/dist/blocks/Popover/tests/Popover.e2e.yaml +249 -0
  175. package/dist/blocks/Popover/tests.yaml +105 -0
  176. package/dist/blocks/Progress/gallery.yaml +772 -0
  177. package/dist/blocks/Progress/tests/Progress.e2e.yaml +167 -0
  178. package/dist/blocks/Progress/tests.yaml +114 -0
  179. package/dist/blocks/QRCode/gallery.yaml +492 -0
  180. package/dist/blocks/QRCode/tests/QRCode.e2e.yaml +66 -0
  181. package/dist/blocks/QRCode/tests.yaml +113 -0
  182. package/dist/blocks/RadioSelector/gallery.yaml +816 -0
  183. package/dist/blocks/RadioSelector/tests/RadioSelector.e2e.yaml +269 -0
  184. package/dist/blocks/RadioSelector/tests.yaml +339 -0
  185. package/dist/blocks/RatingSlider/gallery.yaml +627 -0
  186. package/dist/blocks/RatingSlider/tests/RatingSlider.e2e.yaml +188 -0
  187. package/dist/blocks/RatingSlider/tests.yaml +116 -0
  188. package/dist/blocks/Result/gallery.yaml +925 -0
  189. package/dist/blocks/Result/tests/Result.e2e.yaml +126 -0
  190. package/dist/blocks/Result/tests.yaml +75 -0
  191. package/dist/blocks/Search/Search.js +1 -1
  192. package/dist/blocks/Search/SearchModal.js +18 -9
  193. package/dist/blocks/Search/gallery.yaml +170 -0
  194. package/dist/blocks/Search/meta.js +2 -1
  195. package/dist/blocks/Search/{style.module.css → style.css} +19 -12
  196. package/dist/blocks/Search/tests/Search.e2e.yaml +125 -0
  197. package/dist/blocks/Search/useSearchIndex.js +24 -2
  198. package/dist/blocks/SegmentedSelector/gallery.yaml +725 -0
  199. package/dist/blocks/SegmentedSelector/tests/SegmentedSelector.e2e.yaml +115 -0
  200. package/dist/blocks/SegmentedSelector/tests.yaml +141 -0
  201. package/dist/blocks/Selector/gallery.yaml +1055 -0
  202. package/dist/blocks/Selector/tests/Selector.e2e.yaml +427 -0
  203. package/dist/blocks/Selector/tests.yaml +196 -0
  204. package/dist/blocks/Sider/gallery.yaml +994 -0
  205. package/dist/blocks/Sider/tests/Sider.e2e.yaml +162 -0
  206. package/dist/blocks/Sider/tests.yaml +20 -0
  207. package/dist/blocks/Slider/gallery.yaml +600 -0
  208. package/dist/blocks/Slider/tests/Slider.e2e.yaml +190 -0
  209. package/dist/blocks/Slider/tests.yaml +68 -0
  210. package/dist/blocks/Splitter/gallery.yaml +1511 -0
  211. package/dist/blocks/Splitter/tests/Splitter.e2e.yaml +114 -0
  212. package/dist/blocks/Splitter/tests.yaml +79 -0
  213. package/dist/blocks/Statistic/gallery.yaml +460 -0
  214. package/dist/blocks/Statistic/tests/Statistic.e2e.yaml +137 -0
  215. package/dist/blocks/Statistic/tests.yaml +77 -0
  216. package/dist/blocks/Steps/gallery.yaml +550 -0
  217. package/dist/blocks/Switch/gallery.yaml +502 -0
  218. package/dist/blocks/Switch/tests/Switch.e2e.yaml +132 -0
  219. package/dist/blocks/Switch/tests.yaml +87 -0
  220. package/dist/blocks/Tabs/gallery.yaml +1353 -0
  221. package/dist/blocks/Tabs/tests/Tabs.e2e.yaml +370 -0
  222. package/dist/blocks/Tabs/tests.yaml +349 -0
  223. package/dist/blocks/Tag/gallery.yaml +598 -0
  224. package/dist/blocks/Tag/tests/Tag.e2e.yaml +173 -0
  225. package/dist/blocks/Tag/tests.yaml +51 -0
  226. package/dist/blocks/TagMultipleSelector/TagMultipleSelector.js +53 -0
  227. package/dist/blocks/TagMultipleSelector/e2e.js +36 -0
  228. package/dist/blocks/TagMultipleSelector/gallery.yaml +70 -0
  229. package/dist/blocks/TagMultipleSelector/meta.js +91 -0
  230. package/dist/blocks/TagMultipleSelector/tests/TagMultipleSelector.e2e.yaml +93 -0
  231. package/dist/blocks/TagSelector/TagSelector.js +49 -0
  232. package/dist/blocks/TagSelector/e2e.js +36 -0
  233. package/dist/blocks/TagSelector/gallery.yaml +70 -0
  234. package/dist/blocks/TagSelector/meta.js +91 -0
  235. package/dist/blocks/TagSelector/tests/TagSelector.e2e.yaml +93 -0
  236. package/dist/blocks/TextArea/gallery.yaml +618 -0
  237. package/dist/blocks/TextArea/tests/TextArea.e2e.yaml +218 -0
  238. package/dist/blocks/TextArea/tests.yaml +100 -0
  239. package/dist/blocks/TextInput/gallery.yaml +560 -0
  240. package/dist/blocks/TextInput/tests/TextInput.e2e.yaml +287 -0
  241. package/dist/blocks/TextInput/tests.yaml +114 -0
  242. package/dist/blocks/TimelineList/gallery.yaml +431 -0
  243. package/dist/blocks/TimelineList/tests/TimelineList.e2e.yaml +244 -0
  244. package/dist/blocks/TimelineList/tests.yaml +251 -0
  245. package/dist/blocks/Title/gallery.yaml +483 -0
  246. package/dist/blocks/Title/tests/Title.e2e.yaml +180 -0
  247. package/dist/blocks/Title/tests.yaml +175 -0
  248. package/dist/blocks/TitleInput/gallery.yaml +1006 -0
  249. package/dist/blocks/TitleInput/tests/TitleInput.e2e.yaml +195 -0
  250. package/dist/blocks/TitleInput/tests.yaml +181 -0
  251. package/dist/blocks/Tooltip/gallery.yaml +1214 -0
  252. package/dist/blocks/Tooltip/tests/Tooltip.e2e.yaml +195 -0
  253. package/dist/blocks/Tooltip/tests.yaml +92 -0
  254. package/dist/blocks/Tour/gallery.yaml +2305 -0
  255. package/dist/blocks/Tour/tests/Tour.e2e.yaml +90 -0
  256. package/dist/blocks/Tour/tests.yaml +151 -0
  257. package/dist/blocks/TreeInput/gallery.yaml +78 -0
  258. package/dist/blocks/TreeInput/tests/TreeInput.e2e.yaml +139 -0
  259. package/dist/blocks/TreeInput/tests.yaml +140 -0
  260. package/dist/blocks/TreeMultipleSelector/gallery.yaml +67 -0
  261. package/dist/blocks/TreeSelector/gallery.yaml +81 -0
  262. package/dist/blocks/Watermark/gallery.yaml +479 -0
  263. package/dist/blocks/Watermark/tests/Watermark.e2e.yaml +62 -0
  264. package/dist/blocks/Watermark/tests.yaml +86 -0
  265. package/dist/blocks/WeekSelector/WeekSelector.js +6 -0
  266. package/dist/blocks/WeekSelector/e2e.js +26 -2
  267. package/dist/blocks/WeekSelector/gallery.yaml +589 -0
  268. package/dist/blocks/WeekSelector/meta.js +6 -0
  269. package/dist/blocks/WeekSelector/tests/WeekSelector.e2e.yaml +154 -0
  270. package/dist/blocks/WeekSelector/tests.yaml +122 -0
  271. package/dist/blocks.js +2 -0
  272. package/dist/disabledDate.js +91 -19
  273. package/dist/e2e.js +2 -0
  274. package/dist/getPresets.js +151 -0
  275. package/dist/getTagColor.js +44 -0
  276. package/dist/getTagSelectorOptions.js +30 -0
  277. package/dist/metas.js +2 -0
  278. package/dist/pickerPresetsStyle.css +26 -0
  279. package/dist/schemas/disabledDates.js +6 -2
  280. package/dist/schemas/index.js +1 -0
  281. package/dist/schemas/presets.js +111 -0
  282. package/dist/tagSelectorStyle.css +68 -0
  283. package/package.json +13 -13
@@ -0,0 +1,174 @@
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: PageSidebarLayout
17
+ - id: 'properties.menu'
18
+ type: PageSidebarLayout
19
+ properties:
20
+ menu:
21
+ links:
22
+ - id: Introduction
23
+ type: MenuLink
24
+ pageId: introduction
25
+ properties:
26
+ icon: AiOutlineRocket
27
+ title: Introduction
28
+ - id: alert
29
+ type: MenuLink
30
+ pageId: Alert
31
+ properties:
32
+ icon: AiOutlineExclamationCircle
33
+ title: Alert
34
+ - id: 'properties.logo.src'
35
+ type: PageSidebarLayout
36
+ properties:
37
+ logo:
38
+ src: 'https://lowdefy.com/logos/name_250.png'
39
+ menu:
40
+ links:
41
+ - id: Introduction
42
+ type: MenuLink
43
+ pageId: introduction
44
+ properties:
45
+ icon: AiOutlineRocket
46
+ title: Introduction
47
+ - id: 'properties.logo.alt'
48
+ type: PageSidebarLayout
49
+ properties:
50
+ logo:
51
+ alt: 'Sidebar logo alt text'
52
+ - id: 'properties.logo.style'
53
+ type: PageSidebarLayout
54
+ properties:
55
+ logo:
56
+ style:
57
+ width: 80
58
+ - id: 'properties.sider.initialCollapsed: true'
59
+ type: PageSidebarLayout
60
+ properties:
61
+ sider:
62
+ initialCollapsed: true
63
+ - id: 'properties.sider.width: 300'
64
+ type: PageSidebarLayout
65
+ properties:
66
+ sider:
67
+ width: 300
68
+ - id: 'properties.sider.collapsedWidth: 0'
69
+ type: PageSidebarLayout
70
+ properties:
71
+ sider:
72
+ collapsedWidth: 0
73
+ - id: 'properties.sider.hideToggleButton: true'
74
+ type: PageSidebarLayout
75
+ properties:
76
+ sider:
77
+ hideToggleButton: true
78
+ - id: 'properties.siderStorageKey'
79
+ type: PageSidebarLayout
80
+ properties:
81
+ siderStorageKey: admin-nav
82
+ - id: 'properties.breadcrumb.list'
83
+ type: PageSidebarLayout
84
+ properties:
85
+ breadcrumb:
86
+ list:
87
+ - Home
88
+ - Dashboard
89
+ - id: 'properties.footer.style'
90
+ type: PageSidebarLayout
91
+ properties:
92
+ footer:
93
+ style:
94
+ textAlign: center
95
+ areas:
96
+ footer:
97
+ blocks: []
98
+ - id: 'properties.content.style'
99
+ type: PageSidebarLayout
100
+ properties:
101
+ content:
102
+ style:
103
+ padding: 0 20px
104
+ areas:
105
+ content:
106
+ blocks: []
107
+ - id: 'properties.toggleSiderButton.type'
108
+ type: PageSidebarLayout
109
+ properties:
110
+ toggleSiderButton:
111
+ type: primary
112
+ - id: 'properties.darkModeToggle'
113
+ type: PageSidebarLayout
114
+ properties:
115
+ darkModeToggle: true
116
+ - id: 'properties.notifications'
117
+ type: PageSidebarLayout
118
+ properties:
119
+ notifications:
120
+ count: 5
121
+ - id: 'properties.profile'
122
+ type: PageSidebarLayout
123
+ properties:
124
+ profile:
125
+ avatar:
126
+ content: JD
127
+ color: '#1677ff'
128
+ links:
129
+ - id: prof_settings
130
+ type: MenuLink
131
+ properties:
132
+ title: Settings
133
+ icon: AiOutlineSetting
134
+ - id: 'properties.theme (object)'
135
+ type: PageSidebarLayout
136
+ properties:
137
+ theme:
138
+ colorPrimary: '#7c3aed'
139
+ borderRadius: 8
140
+ - id: 'areas.siderOpen:'
141
+ type: PageSidebarLayout
142
+ areas:
143
+ siderOpen:
144
+ blocks:
145
+ - id: one
146
+ type: Test
147
+ - id: 'areas.siderClosed:'
148
+ type: PageSidebarLayout
149
+ areas:
150
+ siderClosed:
151
+ blocks:
152
+ - id: one
153
+ type: Test
154
+ - id: 'areas.mobileExtra:'
155
+ type: PageSidebarLayout
156
+ areas:
157
+ mobileExtra:
158
+ blocks:
159
+ - id: one
160
+ type: Test
161
+ - id: 'areas.mobileDrawerContent:'
162
+ type: PageSidebarLayout
163
+ areas:
164
+ mobileDrawerContent:
165
+ blocks:
166
+ - id: one
167
+ type: Test
168
+ - id: 'areas.mobileDrawerFooter:'
169
+ type: PageSidebarLayout
170
+ areas:
171
+ mobileDrawerFooter:
172
+ blocks:
173
+ - id: one
174
+ type: Test
@@ -179,7 +179,7 @@ const PageSiderMenu = ({ basePath, blockId, classNames = {}, components: { Icon,
179
179
  }), /*#__PURE__*/ React.createElement("img", {
180
180
  src: properties.logo?.srcMobile ?? properties.logo?.src ?? `${basePath}/logo-square-${getDarkMode() ? 'dark' : 'light'}-theme.png`,
181
181
  alt: properties.logo?.alt ?? 'Lowdefy',
182
- className: classNames.logo ?? 'mr-[30px] shrink w-10 sm:w-[130px] mx-1.5 sm:mx-2.5 md:mx-4',
182
+ className: classNames.logo ?? 'mr-[30px] shrink w-10 min-[577px]:w-[130px] mx-1.5 sm:mx-2.5 md:mx-4',
183
183
  style: styles.logo
184
184
  }))))
185
185
  }
@@ -0,0 +1,516 @@
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 PageSiderMenu
16
+ fullWidth: true
17
+ blocks:
18
+ - id: psm_basic
19
+ type: PageSiderMenu
20
+ properties:
21
+ sider:
22
+ width: 220
23
+ hideToggleButton: true
24
+ menu:
25
+ links:
26
+ - id: psm_basic_dash
27
+ type: MenuLink
28
+ properties:
29
+ title: Dashboard
30
+ icon: AiOutlineDashboard
31
+ - id: psm_basic_orders
32
+ type: MenuLink
33
+ properties:
34
+ title: Orders
35
+ icon: AiOutlineShoppingCart
36
+ - id: psm_basic_products
37
+ type: MenuLink
38
+ properties:
39
+ title: Products
40
+ icon: AiOutlineAppstore
41
+ - id: psm_basic_settings
42
+ type: MenuLink
43
+ properties:
44
+ title: Settings
45
+ icon: AiOutlineSetting
46
+ blocks:
47
+ - id: psm_basic_title
48
+ type: Title
49
+ properties:
50
+ content: Dashboard
51
+ level: 3
52
+ - id: psm_basic_stats
53
+ type: Box
54
+ layout:
55
+ gap: 16
56
+ blocks:
57
+ - id: psm_basic_stat_1
58
+ type: Card
59
+ layout:
60
+ flex: 1 1 0
61
+ properties:
62
+ size: small
63
+ blocks:
64
+ - id: psm_basic_stat_1_val
65
+ type: Statistic
66
+ properties:
67
+ title: Orders Today
68
+ value: 128
69
+ - id: psm_basic_stat_2
70
+ type: Card
71
+ layout:
72
+ flex: 1 1 0
73
+ properties:
74
+ size: small
75
+ blocks:
76
+ - id: psm_basic_stat_2_val
77
+ type: Statistic
78
+ properties:
79
+ title: Revenue
80
+ value: 4820
81
+ prefix: $
82
+
83
+ - title: Breadcrumb with Dark Mode Toggle
84
+ fullWidth: true
85
+ blocks:
86
+ - id: psm_light
87
+ type: PageSiderMenu
88
+ properties:
89
+ darkModeToggle: true
90
+ sider:
91
+ width: 230
92
+ hideToggleButton: true
93
+ breadcrumb:
94
+ list:
95
+ - label: Home
96
+ icon: AiOutlineHome
97
+ - label: Projects
98
+ - label: Website Redesign
99
+ menu:
100
+ links:
101
+ - id: psm_light_overview
102
+ type: MenuLink
103
+ properties:
104
+ title: Overview
105
+ icon: AiOutlineProject
106
+ - id: psm_light_tasks
107
+ type: MenuLink
108
+ properties:
109
+ title: Tasks
110
+ icon: AiOutlineCheckSquare
111
+ - id: psm_light_files
112
+ type: MenuLink
113
+ properties:
114
+ title: Files
115
+ icon: AiOutlineFile
116
+ - id: psm_light_team
117
+ type: MenuLink
118
+ properties:
119
+ title: Team
120
+ icon: AiOutlineTeam
121
+ blocks:
122
+ - id: psm_light_title
123
+ type: Title
124
+ properties:
125
+ content: Website Redesign
126
+ level: 3
127
+ - id: psm_light_desc
128
+ type: Paragraph
129
+ properties:
130
+ content: Breadcrumb items support both simple strings and objects with label, icon, pageId, and url properties. Toggle dark mode to see the layout adapt automatically.
131
+ - id: psm_light_alert
132
+ type: Alert
133
+ properties:
134
+ message: 3 tasks due this week
135
+ type: warning
136
+ showIcon: true
137
+
138
+ - title: Menu Groups & Sider Toggle
139
+ fullWidth: true
140
+ blocks:
141
+ - id: psm_groups
142
+ type: PageSiderMenu
143
+ properties:
144
+ sider:
145
+ width: 240
146
+ hideToggleButton: false
147
+ menu:
148
+ links:
149
+ - id: psm_grp_dash
150
+ type: MenuLink
151
+ properties:
152
+ title: Dashboard
153
+ icon: AiOutlineDashboard
154
+ - id: psm_grp_users_group
155
+ type: MenuGroup
156
+ properties:
157
+ title: User Management
158
+ icon: AiOutlineTeam
159
+ links:
160
+ - id: psm_grp_all_users
161
+ type: MenuLink
162
+ properties:
163
+ title: All Users
164
+ - id: psm_grp_roles
165
+ type: MenuLink
166
+ properties:
167
+ title: Roles & Permissions
168
+ - id: psm_grp_content_group
169
+ type: MenuGroup
170
+ properties:
171
+ title: Content
172
+ icon: AiOutlineEdit
173
+ links:
174
+ - id: psm_grp_articles
175
+ type: MenuLink
176
+ properties:
177
+ title: Articles
178
+ - id: psm_grp_categories
179
+ type: MenuLink
180
+ properties:
181
+ title: Categories
182
+ - id: psm_grp_settings
183
+ type: MenuLink
184
+ properties:
185
+ title: Settings
186
+ icon: AiOutlineSetting
187
+ blocks:
188
+ - id: psm_grp_title
189
+ type: Title
190
+ properties:
191
+ content: All Users
192
+ level: 3
193
+ - id: psm_grp_card
194
+ type: Card
195
+ properties:
196
+ title: User List
197
+ blocks:
198
+ - id: psm_grp_user_1
199
+ type: Box
200
+ layout:
201
+ gap: 8
202
+ align: center
203
+ style:
204
+ padding: 8px 0
205
+ borderBottom: 1px solid var(--ant-color-border)
206
+ blocks:
207
+ - id: psm_grp_avatar_1
208
+ type: Avatar
209
+ layout:
210
+ flex: 0 0 auto
211
+ properties:
212
+ size: small
213
+ color: '#fff'
214
+ backgroundColor: '#1677ff'
215
+ icon: AiOutlineUser
216
+ - id: psm_grp_name_1
217
+ type: Paragraph
218
+ layout:
219
+ flex: 1 1 0
220
+ properties:
221
+ content: Jane Cooper
222
+ style:
223
+ margin: 0
224
+ - id: psm_grp_tag_1
225
+ type: Tag
226
+ layout:
227
+ flex: 0 0 auto
228
+ properties:
229
+ title: Admin
230
+ color: blue
231
+ - id: psm_grp_user_2
232
+ type: Box
233
+ layout:
234
+ gap: 8
235
+ align: center
236
+ style:
237
+ padding: 8px 0
238
+ blocks:
239
+ - id: psm_grp_avatar_2
240
+ type: Avatar
241
+ layout:
242
+ flex: 0 0 auto
243
+ properties:
244
+ size: small
245
+ color: '#fff'
246
+ backgroundColor: '#52c41a'
247
+ icon: AiOutlineUser
248
+ - id: psm_grp_name_2
249
+ type: Paragraph
250
+ layout:
251
+ flex: 1 1 0
252
+ properties:
253
+ content: Tom Wilson
254
+ style:
255
+ margin: 0
256
+ - id: psm_grp_tag_2
257
+ type: Tag
258
+ layout:
259
+ flex: 0 0 auto
260
+ properties:
261
+ title: Editor
262
+ color: green
263
+
264
+ - title: Profile & Notifications
265
+ fullWidth: true
266
+ blocks:
267
+ - id: psm_profile
268
+ type: PageSiderMenu
269
+ properties:
270
+ darkModeToggle: true
271
+ sider:
272
+ width: 220
273
+ hideToggleButton: true
274
+ notifications:
275
+ count: 5
276
+ profile:
277
+ avatar:
278
+ content: JC
279
+ color: '#1677ff'
280
+ links:
281
+ - id: psm_prof_my_profile
282
+ type: MenuLink
283
+ properties:
284
+ title: My Profile
285
+ icon: AiOutlineUser
286
+ - id: psm_prof_settings
287
+ type: MenuLink
288
+ properties:
289
+ title: Account Settings
290
+ icon: AiOutlineSetting
291
+ - id: psm_prof_divider
292
+ type: MenuDivider
293
+ - id: psm_prof_logout
294
+ type: MenuLink
295
+ properties:
296
+ title: Sign Out
297
+ icon: AiOutlineLogout
298
+ danger: true
299
+ menu:
300
+ links:
301
+ - id: psm_prof_dash
302
+ type: MenuLink
303
+ properties:
304
+ title: Dashboard
305
+ icon: AiOutlineDashboard
306
+ - id: psm_prof_users
307
+ type: MenuLink
308
+ properties:
309
+ title: Users
310
+ icon: AiOutlineTeam
311
+ - id: psm_prof_reports
312
+ type: MenuLink
313
+ properties:
314
+ title: Reports
315
+ icon: AiOutlineBarChart
316
+ blocks:
317
+ - id: psm_prof_title
318
+ type: Title
319
+ properties:
320
+ content: Admin Dashboard
321
+ level: 3
322
+ - id: psm_prof_stats
323
+ type: Box
324
+ layout:
325
+ gap: 16
326
+ blocks:
327
+ - id: psm_prof_stat_1
328
+ type: Card
329
+ layout:
330
+ flex: 1 1 0
331
+ properties:
332
+ size: small
333
+ blocks:
334
+ - id: psm_prof_stat_1_val
335
+ type: Statistic
336
+ properties:
337
+ title: Active Users
338
+ value: 1284
339
+ - id: psm_prof_stat_2
340
+ type: Card
341
+ layout:
342
+ flex: 1 1 0
343
+ properties:
344
+ size: small
345
+ blocks:
346
+ - id: psm_prof_stat_2_val
347
+ type: Statistic
348
+ properties:
349
+ title: Pending Requests
350
+ value: 23
351
+
352
+ - title: Full Layout with All Slots
353
+ fullWidth: true
354
+ blocks:
355
+ - id: psm_full
356
+ type: PageSiderMenu
357
+ properties:
358
+ darkModeToggle: true
359
+ sider:
360
+ width: 240
361
+ hideToggleButton: true
362
+ notifications:
363
+ dot: true
364
+ profile:
365
+ avatar:
366
+ icon: AiOutlineUser
367
+ color: '#1677ff'
368
+ breadcrumb:
369
+ separator: /
370
+ list:
371
+ - Admin
372
+ - Dashboard
373
+ menu:
374
+ links:
375
+ - id: psm_full_dash
376
+ type: MenuLink
377
+ properties:
378
+ title: Dashboard
379
+ icon: AiOutlineDashboard
380
+ - id: psm_full_analytics
381
+ type: MenuLink
382
+ properties:
383
+ title: Analytics
384
+ icon: AiOutlineBarChart
385
+ - id: psm_full_settings
386
+ type: MenuLink
387
+ properties:
388
+ title: Settings
389
+ icon: AiOutlineSetting
390
+ slots:
391
+ sider:
392
+ blocks:
393
+ - id: psm_full_sider_box
394
+ type: Box
395
+ style:
396
+ padding: 12px
397
+ blocks:
398
+ - id: psm_full_progress_label
399
+ type: Paragraph
400
+ properties:
401
+ content: Sprint Progress
402
+ style:
403
+ margin: 0 0 8px 0
404
+ fontSize: 12
405
+ color: '#999'
406
+ - id: psm_full_progress
407
+ type: Progress
408
+ properties:
409
+ percent: 68
410
+ size: small
411
+ footer:
412
+ blocks:
413
+ - id: psm_full_footer_text
414
+ type: Paragraph
415
+ properties:
416
+ content: Admin Panel v2.4.1
417
+ style:
418
+ textAlign: center
419
+ margin: 0
420
+ color: '#999'
421
+ fontSize: 12
422
+ blocks:
423
+ - id: psm_full_title
424
+ type: Title
425
+ properties:
426
+ content: Dashboard Overview
427
+ level: 3
428
+ - id: psm_full_stats_row
429
+ type: Box
430
+ layout:
431
+ gap: 16
432
+ blocks:
433
+ - id: psm_full_stat_users
434
+ type: Card
435
+ layout:
436
+ flex: 1 1 0
437
+ properties:
438
+ size: small
439
+ blocks:
440
+ - id: psm_full_stat_users_val
441
+ type: Statistic
442
+ properties:
443
+ title: Total Users
444
+ value: 2847
445
+ prefixIcon: AiOutlineUser
446
+ - id: psm_full_stat_revenue
447
+ type: Card
448
+ layout:
449
+ flex: 1 1 0
450
+ properties:
451
+ size: small
452
+ blocks:
453
+ - id: psm_full_stat_revenue_val
454
+ type: Statistic
455
+ properties:
456
+ title: Revenue
457
+ value: 58420
458
+ prefix: $
459
+ - id: psm_full_stat_orders
460
+ type: Card
461
+ layout:
462
+ flex: 1 1 0
463
+ properties:
464
+ size: small
465
+ blocks:
466
+ - id: psm_full_stat_orders_val
467
+ type: Statistic
468
+ properties:
469
+ title: Orders
470
+ value: 384
471
+
472
+ - title: Profile Links from _menu Operator
473
+ description: Use the _menu operator to populate profile dropdown links from a menu defined in lowdefy.yaml. This keeps profile menus consistent with navigation menus and supports access-controlled filtering.
474
+ fullWidth: true
475
+ blocks:
476
+ - id: psm_menu_op
477
+ type: PageSiderMenu
478
+ properties:
479
+ darkModeToggle: true
480
+ sider:
481
+ width: 220
482
+ hideToggleButton: true
483
+ notifications:
484
+ count: 4
485
+ link:
486
+ pageId: home
487
+ profile:
488
+ avatar:
489
+ content: JC
490
+ color: '#6366f1'
491
+ links:
492
+ _menu: default
493
+ menu:
494
+ links:
495
+ - id: psm_mo_dash
496
+ type: MenuLink
497
+ properties:
498
+ title: Dashboard
499
+ icon: AiOutlineDashboard
500
+ - id: psm_mo_users
501
+ type: MenuLink
502
+ properties:
503
+ title: Users
504
+ icon: AiOutlineTeam
505
+ blocks:
506
+ - id: psm_mo_title
507
+ type: Title
508
+ properties:
509
+ content: Profile from _menu
510
+ level: 3
511
+ - id: psm_mo_info
512
+ type: Alert
513
+ properties:
514
+ message: The profile dropdown links are populated using _menu operator, pulling from the menus defined in lowdefy.yaml. Click the avatar to see the dropdown.
515
+ type: info
516
+ showIcon: true