@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,80 @@
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: Pagination
17
+ - id: properties.total
18
+ type: Pagination
19
+ properties:
20
+ total: 500
21
+ - id: 'properties.size: small'
22
+ type: Pagination
23
+ properties:
24
+ size: small
25
+ - id: 'properties.size: default'
26
+ type: Pagination
27
+ properties:
28
+ size: default
29
+ - id: 'properties.simple: true'
30
+ type: Pagination
31
+ properties:
32
+ simple: true
33
+ - id: 'properties.showTotal: true'
34
+ type: Pagination
35
+ properties:
36
+ showTotal: true
37
+ - id: "properties.showTotal: 'This is the total'"
38
+ type: Pagination
39
+ properties:
40
+ showTotal: 'This is the total'
41
+ # - id: 'properties.showTotal: _function'
42
+ # type: Pagination
43
+ # properties:
44
+ # showTotal:
45
+ # _function:
46
+ # __string.concat:
47
+ # - ''
48
+ # - __args: 0.range.0
49
+ # - '-'
50
+ # - __args: 0.range.1
51
+ # - ' of '
52
+ # - __args: 0.total
53
+ # - '+'
54
+ - id: 'properties.showSizeChanger: false'
55
+ type: Pagination
56
+ properties:
57
+ showSizeChanger: false
58
+ - id: 'properties.showQuickJumper: true'
59
+ type: Pagination
60
+ properties:
61
+ showQuickJumper: true
62
+ - id: 'properties.pageSizeOptions: [100, 200, 500]'
63
+ type: Pagination
64
+ properties:
65
+ pageSizeOptions: [100, 200, 500]
66
+ total: 6000
67
+ - id: 'properties.hideOnSinglePage: true, total: 1'
68
+ type: Pagination
69
+ properties:
70
+ hideOnSinglePage: true
71
+ total: 1
72
+ - id: 'properties.hideOnSinglePage: true, total: 100'
73
+ type: Pagination
74
+ properties:
75
+ hideOnSinglePage: true
76
+ total: 100
77
+ - id: 'properties.disabled: true'
78
+ type: Pagination
79
+ properties:
80
+ disabled: true
@@ -0,0 +1,458 @@
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 Content
16
+ blocks:
17
+ - id: basic_plain
18
+ type: Paragraph
19
+ properties:
20
+ content: Lowdefy is a config-driven web framework. Build internal tools, client portals, and web apps with YAML or JSON.
21
+ - id: basic_html
22
+ type: Paragraph
23
+ properties:
24
+ content: 'This paragraph supports <b>bold</b>, <i>italic</i>, and <a href="https://lowdefy.com">links</a> via HTML.'
25
+ - id: basic_long
26
+ type: Paragraph
27
+ properties:
28
+ content: A longer paragraph showing how body text renders at its default size. Lowdefy makes it easy to build internal tools, client portals, and web applications using YAML or JSON configuration files. No need to learn complex frontend frameworks or manage build tooling.
29
+
30
+ - title: Types
31
+ blocks:
32
+ - id: type_default
33
+ type: Paragraph
34
+ properties:
35
+ content: Default paragraph text with the standard color.
36
+ - id: type_secondary
37
+ type: Paragraph
38
+ properties:
39
+ content: Secondary paragraph text with a muted appearance.
40
+ type: secondary
41
+ - id: type_success
42
+ type: Paragraph
43
+ properties:
44
+ content: Success paragraph indicating a positive outcome.
45
+ type: success
46
+ - id: type_warning
47
+ type: Paragraph
48
+ properties:
49
+ content: Warning paragraph to alert the user about something.
50
+ type: warning
51
+ - id: type_danger
52
+ type: Paragraph
53
+ properties:
54
+ content: Danger paragraph highlighting a critical issue.
55
+ type: danger
56
+
57
+ - title: Text Decorations
58
+ blocks:
59
+ - id: deco_strong
60
+ type: Paragraph
61
+ properties:
62
+ content: Strong (bold) paragraph text for emphasis.
63
+ strong: true
64
+ - id: deco_italic
65
+ type: Paragraph
66
+ properties:
67
+ content: Italic paragraph text often used for citations or side notes.
68
+ italic: true
69
+ - id: deco_underline
70
+ type: Paragraph
71
+ properties:
72
+ content: Underlined paragraph text to draw attention.
73
+ underline: true
74
+ - id: deco_delete
75
+ type: Paragraph
76
+ properties:
77
+ content: Deleted (strikethrough) text indicating removed content.
78
+ delete: true
79
+ - id: deco_mark
80
+ type: Paragraph
81
+ properties:
82
+ content: Marked (highlighted) text to call out key information.
83
+ mark: true
84
+
85
+ - title: Combined Decorations
86
+ blocks:
87
+ - id: combined_strong_italic
88
+ type: Paragraph
89
+ properties:
90
+ content: Bold and italic text for maximum emphasis.
91
+ strong: true
92
+ italic: true
93
+ - id: combined_underline_mark
94
+ type: Paragraph
95
+ properties:
96
+ content: Underlined and highlighted to draw strong attention.
97
+ underline: true
98
+ mark: true
99
+ - id: combined_warning_italic
100
+ type: Paragraph
101
+ properties:
102
+ content: This feature is deprecated and will be removed in a future version.
103
+ type: warning
104
+ italic: true
105
+ underline: true
106
+ - id: combined_danger_strong
107
+ type: Paragraph
108
+ properties:
109
+ content: Critical security vulnerability detected.
110
+ type: danger
111
+ strong: true
112
+
113
+ - title: Disabled
114
+ blocks:
115
+ - id: disabled_default
116
+ type: Paragraph
117
+ properties:
118
+ content: Disabled paragraph text appears faded.
119
+ disabled: true
120
+ - id: disabled_long
121
+ type: Paragraph
122
+ properties:
123
+ content: This section is currently unavailable. The content will be accessible once the feature has been enabled by your administrator.
124
+ disabled: true
125
+ - id: disabled_strong
126
+ type: Paragraph
127
+ properties:
128
+ content: Disabled bold text still shows the faded style.
129
+ disabled: true
130
+ strong: true
131
+
132
+ - title: Code Style
133
+ blocks:
134
+ - id: code_inline
135
+ type: Paragraph
136
+ properties:
137
+ content: 'const app = lowdefy.init({ config })'
138
+ code: true
139
+ - id: code_command
140
+ type: Paragraph
141
+ properties:
142
+ content: npx lowdefy@latest dev
143
+ code: true
144
+ - id: code_json
145
+ type: Paragraph
146
+ properties:
147
+ content: '{ "type": "TextInput", "properties": { "label": "Name" } }'
148
+ code: true
149
+
150
+ - title: Copyable
151
+ blocks:
152
+ - id: copyable_simple
153
+ type: Paragraph
154
+ properties:
155
+ content: Click the copy icon to copy this text.
156
+ copyable: true
157
+ - id: copyable_custom_text
158
+ type: Paragraph
159
+ properties:
160
+ content: Copy this paragraph (custom text is copied instead)
161
+ copyable:
162
+ text: This is the custom text that gets copied to clipboard instead of the visible content.
163
+ - id: copyable_tooltips
164
+ type: Paragraph
165
+ properties:
166
+ content: Hover the copy icon to see custom tooltips
167
+ copyable:
168
+ tooltips:
169
+ - Click to copy text
170
+ - Text copied!
171
+ - id: copyable_icons
172
+ type: Paragraph
173
+ properties:
174
+ content: Two-state copy icons that change after clicking
175
+ copyable:
176
+ icon:
177
+ - AiOutlineCopy
178
+ - AiOutlineCheck
179
+ - id: copyable_code
180
+ type: Paragraph
181
+ properties:
182
+ content: npm install lowdefy
183
+ code: true
184
+ copyable: true
185
+
186
+ - title: Copyable with onCopy Event
187
+ blocks:
188
+ - id: copyable_event
189
+ type: Paragraph
190
+ properties:
191
+ content: Copy this text and a message will appear.
192
+ copyable: true
193
+ events:
194
+ onCopy:
195
+ - id: copyable_event_msg
196
+ type: DisplayMessage
197
+ params:
198
+ content: Text copied to clipboard!
199
+ status: success
200
+ - id: copyable_event_custom
201
+ type: Paragraph
202
+ properties:
203
+ content: API Key shown here (actual key copied)
204
+ copyable:
205
+ text: sk-abc123def456
206
+ tooltips:
207
+ - Copy API key
208
+ - API key copied!
209
+ events:
210
+ onCopy:
211
+ - id: copyable_event_custom_msg
212
+ type: DisplayMessage
213
+ params:
214
+ content: API key copied to clipboard.
215
+ status: info
216
+ - id: copyable_event_set_state
217
+ type: Paragraph
218
+ properties:
219
+ content: Copy this and state will track it.
220
+ copyable: true
221
+ events:
222
+ onCopy:
223
+ - id: copyable_event_set
224
+ type: SetState
225
+ params:
226
+ lastCopied: Copied text tracked via onCopy event.
227
+
228
+ - title: Ellipsis
229
+ blocks:
230
+ - id: ellipsis_single
231
+ type: Paragraph
232
+ properties:
233
+ content: This is a very long paragraph that will be truncated when it exceeds the width of its container. The overflow text is replaced with an ellipsis to indicate there is more content available beyond what is currently visible.
234
+ ellipsis: true
235
+ - id: ellipsis_rows_2
236
+ type: Paragraph
237
+ properties:
238
+ content: This paragraph demonstrates multi-line ellipsis with two rows. It contains enough text to span several lines, and after reaching the specified row limit, the remaining content will be hidden behind an ellipsis. Users can click the expand button to reveal the full text. This is useful for previews of long-form content.
239
+ ellipsis:
240
+ rows: 2
241
+ expandable: true
242
+ - id: ellipsis_rows_3_suffix
243
+ type: Paragraph
244
+ properties:
245
+ content: Three-line ellipsis with a custom suffix. Lowdefy makes it easy to build internal tools, client portals, and web applications using YAML or JSON configuration files. No need to learn complex frontend frameworks, manage build tooling, or write boilerplate code. Just define your UI in config and Lowdefy takes care of the rest.
246
+ ellipsis:
247
+ rows: 3
248
+ expandable: true
249
+ suffix: ' /Read More'
250
+
251
+ - title: Ellipsis with onExpand Event
252
+ blocks:
253
+ - id: ellipsis_event
254
+ type: Paragraph
255
+ properties:
256
+ content: Click expand to trigger an event. Lowdefy makes it easy to build internal tools, client portals, and web applications using YAML or JSON configuration files. No need to learn complex frontend frameworks, manage build tooling, or write boilerplate code.
257
+ ellipsis:
258
+ rows: 2
259
+ expandable: true
260
+ events:
261
+ onExpand:
262
+ - id: ellipsis_event_msg
263
+ type: DisplayMessage
264
+ params:
265
+ content: Content expanded!
266
+ status: info
267
+ - id: ellipsis_event_set_state
268
+ type: Paragraph
269
+ properties:
270
+ content: Expanding this paragraph will update state. This is useful for tracking which sections the user has read or interacted with. You can use the ellipsis state to drive conditional logic elsewhere in the app.
271
+ ellipsis:
272
+ rows: 2
273
+ expandable: true
274
+ events:
275
+ onExpand:
276
+ - id: ellipsis_event_set
277
+ type: SetState
278
+ params:
279
+ sectionExpanded: true
280
+ - id: ellipsis_event_set_msg
281
+ type: DisplayMessage
282
+ params:
283
+ content: State updated - sectionExpanded is now true.
284
+ status: success
285
+ - id: ellipsis_event_suffix
286
+ type: Paragraph
287
+ properties:
288
+ content: Expandable paragraph with a suffix and event. Lowdefy apps are defined in YAML with blocks, operators, actions, and connections. The framework handles rendering, state management, and server-side logic so you can focus on building features.
289
+ ellipsis:
290
+ rows: 1
291
+ expandable: true
292
+ suffix: ' [...]'
293
+ events:
294
+ onExpand:
295
+ - id: ellipsis_event_suffix_msg
296
+ type: DisplayMessage
297
+ params:
298
+ content: Full text revealed.
299
+ status: info
300
+
301
+ - title: Style and CSS
302
+ blocks:
303
+ - id: css_tailwind_bg
304
+ type: Paragraph
305
+ class: bg-bg-layout p-3 rounded-lg
306
+ properties:
307
+ content: Paragraph styled with Tailwind classes for background, padding, and border radius.
308
+ - id: css_tailwind_border
309
+ type: Paragraph
310
+ class: border-l-4 border-blue-500 pl-3
311
+ properties:
312
+ content: Paragraph with a left border accent using Tailwind utility classes.
313
+ type: secondary
314
+ italic: true
315
+ - id: css_inline_spacing
316
+ type: Paragraph
317
+ properties:
318
+ content: PARAGRAPH WITH WIDE LETTER SPACING
319
+ style:
320
+ .element:
321
+ letterSpacing: 3px
322
+ textTransform: uppercase
323
+ fontSize: 12px
324
+ - id: css_inline_line_height
325
+ type: Paragraph
326
+ properties:
327
+ content: This paragraph has increased line height for better readability. When you have dense text content, increasing the line height makes it easier for users to follow lines of text across the page.
328
+ style:
329
+ .element:
330
+ lineHeight: 2.0
331
+ - id: css_inline_blockquote
332
+ type: Paragraph
333
+ properties:
334
+ content: A blockquote-style paragraph using inline styles with a left border and padding.
335
+ italic: true
336
+ style:
337
+ .element:
338
+ borderLeft: 3px solid #1677ff
339
+ paddingLeft: 12px
340
+
341
+ - title: Theme Token Overrides
342
+ blocks:
343
+ - id: theme_bold_weight
344
+ type: Paragraph
345
+ properties:
346
+ content: Custom heavy font weight for strong text (fontWeightStrong 900).
347
+ strong: true
348
+ theme:
349
+ fontWeightStrong: 900
350
+ - id: theme_custom_colors
351
+ type: Paragraph
352
+ properties:
353
+ content: Custom teal success color applied via theme tokens.
354
+ type: success
355
+ theme:
356
+ colorSuccess: '#13c2c2'
357
+ - id: theme_warning_color
358
+ type: Paragraph
359
+ properties:
360
+ content: Custom orange warning color via theme override.
361
+ type: warning
362
+ theme:
363
+ colorWarning: '#fa541c'
364
+ - id: theme_code_font
365
+ type: Paragraph
366
+ properties:
367
+ content: 'console.log("custom monospace font")'
368
+ code: true
369
+ theme:
370
+ fontFamilyCode: '"JetBrains Mono", "Fira Code", monospace'
371
+
372
+ - title: Paragraph in Article Page
373
+ blocks:
374
+ - id: article_card
375
+ type: Card
376
+ properties:
377
+ title: Getting Started with Lowdefy
378
+ size: small
379
+ blocks:
380
+ - id: article_intro
381
+ type: Paragraph
382
+ properties:
383
+ content: Lowdefy is a config-driven web framework that lets you build internal tools, client portals, and web apps using YAML. No frontend expertise required.
384
+ - id: article_highlight
385
+ type: Paragraph
386
+ properties:
387
+ content: Over 50 pre-built blocks are available out of the box, including form inputs, charts, tables, and layout components.
388
+ mark: true
389
+ strong: true
390
+ - id: article_code_label
391
+ type: Paragraph
392
+ properties:
393
+ content: Install the CLI to get started.
394
+ type: secondary
395
+ - id: article_code_snippet
396
+ type: Paragraph
397
+ properties:
398
+ content: npx lowdefy@latest dev
399
+ code: true
400
+ copyable: true
401
+ events:
402
+ onCopy:
403
+ - id: article_copy_msg
404
+ type: DisplayMessage
405
+ params:
406
+ content: Command copied! Paste it into your terminal.
407
+ status: success
408
+ - id: article_note
409
+ type: Paragraph
410
+ properties:
411
+ content: 'Note: Lowdefy requires Node.js 18 or later. Check your version with node /version.'
412
+ type: warning
413
+ italic: true
414
+
415
+ - title: Paragraph in Status Dashboard
416
+ blocks:
417
+ - id: status_card
418
+ type: Card
419
+ properties:
420
+ title: System Status
421
+ size: small
422
+ blocks:
423
+ - id: status_ok
424
+ type: Paragraph
425
+ properties:
426
+ content: All services are operational. Last checked 2 minutes ago.
427
+ type: success
428
+ strong: true
429
+ - id: status_degraded
430
+ type: Paragraph
431
+ properties:
432
+ content: API response times are elevated. The team is investigating the root cause.
433
+ type: warning
434
+ - id: status_outage
435
+ type: Paragraph
436
+ properties:
437
+ content: Database cluster is unreachable. Automatic failover has been triggered.
438
+ type: danger
439
+ strong: true
440
+ - id: status_detail
441
+ type: Paragraph
442
+ properties:
443
+ content: For real-time updates, subscribe to the status page or contact support. Incident reports are published within 30 minutes of detection. Historical uptime data is available in the admin dashboard.
444
+ ellipsis:
445
+ rows: 2
446
+ expandable: true
447
+ events:
448
+ onExpand:
449
+ - id: status_expand_msg
450
+ type: DisplayMessage
451
+ params:
452
+ content: Showing full status details.
453
+ status: info
454
+ - id: status_disabled
455
+ type: Paragraph
456
+ properties:
457
+ content: Maintenance window scheduled for Sunday 02:00-04:00 UTC.
458
+ disabled: true
@@ -0,0 +1,153 @@
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: paragraph
16
+ type: Box
17
+
18
+ blocks:
19
+ # ============================================
20
+ # BASIC RENDERING
21
+ # ============================================
22
+
23
+ - id: para_basic
24
+ type: Paragraph
25
+ properties:
26
+ content: This is a basic paragraph.
27
+
28
+ - id: para_html
29
+ type: Paragraph
30
+ properties:
31
+ content: '<strong>Bold</strong> and <em>italic</em> text.'
32
+
33
+ # ============================================
34
+ # STYLE TESTS
35
+ # ============================================
36
+
37
+ - id: para_code
38
+ type: Paragraph
39
+ properties:
40
+ content: Code paragraph
41
+ code: true
42
+
43
+ - id: para_italic
44
+ type: Paragraph
45
+ properties:
46
+ content: Italic paragraph
47
+ italic: true
48
+
49
+ - id: para_strong
50
+ type: Paragraph
51
+ properties:
52
+ content: Strong paragraph
53
+ strong: true
54
+
55
+ - id: para_underline
56
+ type: Paragraph
57
+ properties:
58
+ content: Underline paragraph
59
+ underline: true
60
+
61
+ - id: para_delete
62
+ type: Paragraph
63
+ properties:
64
+ content: Delete paragraph
65
+ delete: true
66
+
67
+ - id: para_mark
68
+ type: Paragraph
69
+ properties:
70
+ content: Marked paragraph
71
+ mark: true
72
+
73
+ - id: para_disabled
74
+ type: Paragraph
75
+ properties:
76
+ content: Disabled paragraph
77
+ disabled: true
78
+
79
+ # ============================================
80
+ # TYPE TESTS
81
+ # ============================================
82
+
83
+ - id: para_secondary
84
+ type: Paragraph
85
+ properties:
86
+ content: Secondary paragraph
87
+ type: secondary
88
+
89
+ - id: para_success
90
+ type: Paragraph
91
+ properties:
92
+ content: Success paragraph
93
+ type: success
94
+
95
+ - id: para_warning
96
+ type: Paragraph
97
+ properties:
98
+ content: Warning paragraph
99
+ type: warning
100
+
101
+ - id: para_danger
102
+ type: Paragraph
103
+ properties:
104
+ content: Danger paragraph
105
+ type: danger
106
+
107
+ # ============================================
108
+ # COPYABLE TESTS
109
+ # ============================================
110
+
111
+ - id: para_copyable
112
+ type: Paragraph
113
+ properties:
114
+ content: Copy this paragraph
115
+ copyable: true
116
+
117
+ - id: para_copyable_event
118
+ type: Paragraph
119
+ properties:
120
+ content: Copy me
121
+ copyable:
122
+ text: Custom copy text
123
+ events:
124
+ onCopy:
125
+ - id: set_oncopy
126
+ type: SetState
127
+ params:
128
+ para_oncopy_fired: true
129
+
130
+ - id: oncopy_display
131
+ type: Span
132
+ properties:
133
+ content:
134
+ _if:
135
+ test:
136
+ _eq:
137
+ - _state: para_oncopy_fired
138
+ - true
139
+ then: Copy fired
140
+ else: ''
141
+
142
+ # ============================================
143
+ # ELLIPSIS TESTS
144
+ # ============================================
145
+
146
+ - id: para_ellipsis
147
+ type: Paragraph
148
+ properties:
149
+ content: This is a very long paragraph that should be truncated with ellipsis when it exceeds a certain number of rows. The content continues to demonstrate the ellipsis functionality.
150
+ ellipsis:
151
+ rows: 2
152
+ style:
153
+ width: 300px