@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,431 @@
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 Timeline
16
+ fullWidth: true
17
+ blocks:
18
+ - id: tl_basic
19
+ type: TimelineList
20
+ properties:
21
+ data:
22
+ - title: Application submitted
23
+ label: '2024-01-10'
24
+ - title: Initial screening
25
+ label: '2024-01-15'
26
+ - title: Technical interview
27
+ label: '2024-01-22'
28
+ - title: Offer extended
29
+ label: '2024-02-01'
30
+ blocks:
31
+ - id: tl_basic_content
32
+ type: Paragraph
33
+ properties:
34
+ content: Timeline item
35
+ - id: tl_basic_left
36
+ type: TimelineList
37
+ properties:
38
+ mode: left
39
+ data:
40
+ - title: Step 1 - Created account
41
+ - title: Step 2 - Verified email
42
+ - title: Step 3 - Completed profile
43
+ blocks:
44
+ - id: tl_basic_left_content
45
+ type: Paragraph
46
+ properties:
47
+ content: Timeline item
48
+ - id: tl_basic_right
49
+ type: TimelineList
50
+ properties:
51
+ mode: right
52
+ data:
53
+ - title: Morning standup
54
+ - title: Design review
55
+ - title: Sprint retrospective
56
+ blocks:
57
+ - id: tl_basic_right_content
58
+ type: Paragraph
59
+ properties:
60
+ content: Timeline item
61
+ - id: tl_basic_alternate
62
+ type: TimelineList
63
+ properties:
64
+ mode: alternate
65
+ data:
66
+ - title: 2020 - Company founded
67
+ label: 'Q1 2020'
68
+ - title: 2021 - First product launch
69
+ label: 'Q2 2021'
70
+ - title: 2022 - Series A funding
71
+ label: 'Q1 2022'
72
+ - title: 2023 - 100k users milestone
73
+ label: 'Q3 2023'
74
+ - title: 2024 - International expansion
75
+ label: 'Q1 2024'
76
+ blocks:
77
+ - id: tl_basic_alternate_content
78
+ type: Paragraph
79
+ properties:
80
+ content: Timeline item
81
+
82
+ - title: Colors and Icons
83
+ fullWidth: true
84
+ blocks:
85
+ - id: tl_colors
86
+ type: TimelineList
87
+ properties:
88
+ data:
89
+ - title: Feature deployed successfully
90
+ color: green
91
+ - title: Bug fix in progress
92
+ color: blue
93
+ - title: Build failed - investigating
94
+ color: red
95
+ - title: Code review pending
96
+ color: gray
97
+ blocks:
98
+ - id: tl_colors_content
99
+ type: Paragraph
100
+ properties:
101
+ content: Timeline item
102
+ - id: tl_icons
103
+ type: TimelineList
104
+ properties:
105
+ data:
106
+ - title: Order placed
107
+ icon: AiOutlineShoppingCart
108
+ color: blue
109
+ - title: Payment confirmed
110
+ icon: AiOutlineDollarCircle
111
+ color: green
112
+ - title: Shipped
113
+ icon: AiOutlineCar
114
+ color: orange
115
+ - title: Delivered
116
+ icon: AiOutlineCheckCircle
117
+ color: green
118
+ blocks:
119
+ - id: tl_icons_content
120
+ type: Paragraph
121
+ properties:
122
+ content: Timeline item
123
+ - id: tl_colors_custom_fields
124
+ type: TimelineList
125
+ properties:
126
+ colorField: status_color
127
+ iconField: status_icon
128
+ labelField: timestamp
129
+ data:
130
+ - description: Server deployed
131
+ status_color: green
132
+ status_icon: AiOutlineCloudServer
133
+ timestamp: '10:30 AM'
134
+ - description: Database migrated
135
+ status_color: blue
136
+ status_icon: AiOutlineDatabase
137
+ timestamp: '11:15 AM'
138
+ - description: Cache cleared
139
+ status_color: orange
140
+ status_icon: AiOutlineSync
141
+ timestamp: '11:45 AM'
142
+ blocks:
143
+ - id: tl_colors_custom_fields_content
144
+ type: Paragraph
145
+ properties:
146
+ content: Timeline event description
147
+
148
+ - title: Pending and Reverse
149
+ fullWidth: true
150
+ blocks:
151
+ - id: tl_pending
152
+ type: TimelineList
153
+ properties:
154
+ pending: true
155
+ data:
156
+ - title: Requirements gathered
157
+ - title: Design complete
158
+ - title: Development in progress
159
+ blocks:
160
+ - id: tl_pending_content
161
+ type: Paragraph
162
+ properties:
163
+ content: Timeline item
164
+ - id: tl_pending_dot
165
+ type: TimelineList
166
+ properties:
167
+ pending: true
168
+ pendingDotIcon:
169
+ name: AiOutlineClockCircle
170
+ color: '#1677ff'
171
+ data:
172
+ - title: Task A completed
173
+ - title: Task B completed
174
+ - title: Task C in progress
175
+ blocks:
176
+ - id: tl_pending_dot_content
177
+ type: Paragraph
178
+ properties:
179
+ content: Timeline item
180
+ - id: tl_reversed
181
+ type: TimelineList
182
+ properties:
183
+ reverse: true
184
+ data:
185
+ - title: Oldest entry
186
+ - title: Middle entry
187
+ - title: Newest entry
188
+ blocks:
189
+ - id: tl_reversed_content
190
+ type: Paragraph
191
+ properties:
192
+ content: Timeline item
193
+
194
+ - title: Style and CSS
195
+ fullWidth: true
196
+ blocks:
197
+ - id: tl_css_tailwind_bg
198
+ type: TimelineList
199
+ class: bg-bg-layout p-4 rounded-lg border border-border
200
+ properties:
201
+ data:
202
+ - title: Project created
203
+ - title: Team assigned
204
+ - title: Kickoff meeting
205
+ blocks:
206
+ - id: tl_css_tailwind_bg_content
207
+ type: Paragraph
208
+ properties:
209
+ content: Timeline item
210
+ - id: tl_css_tailwind_shadow
211
+ type: TimelineList
212
+ class: bg-bg-container p-4 rounded-lg shadow-md
213
+ properties:
214
+ data:
215
+ - title: Order received
216
+ color: blue
217
+ - title: Processing payment
218
+ color: orange
219
+ - title: Order shipped
220
+ color: green
221
+ blocks:
222
+ - id: tl_css_tailwind_shadow_content
223
+ type: Paragraph
224
+ properties:
225
+ content: Timeline item
226
+ - id: tl_css_inline
227
+ type: TimelineList
228
+ style:
229
+ .element:
230
+ padding: 16px 24px
231
+ borderRadius: 8px
232
+ border: 1px solid #b7eb8f
233
+ properties:
234
+ data:
235
+ - title: Deployment started
236
+ color: green
237
+ - title: Tests passing
238
+ color: green
239
+ - title: Deployed to production
240
+ color: green
241
+ blocks:
242
+ - id: tl_css_inline_content
243
+ type: Paragraph
244
+ properties:
245
+ content: Timeline item
246
+
247
+ - title: Theme Token Overrides
248
+ fullWidth: true
249
+ blocks:
250
+ - id: tl_theme_tail
251
+ type: TimelineList
252
+ properties:
253
+ data:
254
+ - title: Styled timeline entry one
255
+ - title: Styled timeline entry two
256
+ - title: Styled timeline entry three
257
+ theme:
258
+ tailColor: '#1677ff'
259
+ tailWidth: 3
260
+ blocks:
261
+ - id: tl_theme_tail_content
262
+ type: Paragraph
263
+ properties:
264
+ content: Timeline item
265
+ - id: tl_theme_dot
266
+ type: TimelineList
267
+ properties:
268
+ data:
269
+ - title: Custom dot border
270
+ - title: Wider dots
271
+ - title: More spacing
272
+ theme:
273
+ dotBorderWidth: 4
274
+ itemPaddingBottom: 32
275
+ blocks:
276
+ - id: tl_theme_dot_content
277
+ type: Paragraph
278
+ properties:
279
+ content: Timeline item
280
+ - id: tl_theme_combined
281
+ type: TimelineList
282
+ properties:
283
+ data:
284
+ - title: Fully themed item one
285
+ color: '#722ed1'
286
+ - title: Fully themed item two
287
+ color: '#722ed1'
288
+ - title: Fully themed item three
289
+ color: '#722ed1'
290
+ theme:
291
+ tailColor: '#d3adf7'
292
+ tailWidth: 2
293
+ dotBorderWidth: 3
294
+ itemPaddingBottom: 28
295
+ blocks:
296
+ - id: tl_theme_combined_content
297
+ type: Paragraph
298
+ properties:
299
+ content: Timeline item
300
+
301
+ - title: TimelineList in Project Tracker
302
+ fullWidth: true
303
+ blocks:
304
+ - id: tl_project_card
305
+ type: Card
306
+ properties:
307
+ title: Project Milestones
308
+ size: small
309
+ blocks:
310
+ - id: tl_project_timeline
311
+ type: TimelineList
312
+ properties:
313
+ pending: true
314
+ mode: left
315
+ data:
316
+ - title: Project kickoff
317
+ icon: AiOutlineFlag
318
+ color: blue
319
+ label: 'Jan 15'
320
+ - title: Design phase complete
321
+ icon: AiOutlineCheckCircle
322
+ color: green
323
+ label: 'Feb 28'
324
+ - title: Development sprint 1
325
+ icon: AiOutlineCheckCircle
326
+ color: green
327
+ label: 'Mar 30'
328
+ - title: QA testing
329
+ icon: AiOutlineLoading
330
+ color: orange
331
+ label: 'Apr 15'
332
+ blocks:
333
+ - id: tl_project_timeline_content
334
+ type: Paragraph
335
+ properties:
336
+ content: Project milestone
337
+ - id: tl_project_actions
338
+ type: Box
339
+ layout:
340
+ gap: 8
341
+ justify: flex-end
342
+ blocks:
343
+ - id: tl_project_export_btn
344
+ type: Button
345
+ layout:
346
+ flex: 0 0 auto
347
+ properties:
348
+ title: Export Timeline
349
+ icon: AiOutlineDownload
350
+ color: primary
351
+ variant: outlined
352
+ events:
353
+ onClick:
354
+ - id: tl_project_export_msg
355
+ type: DisplayMessage
356
+ params:
357
+ content: Timeline exported successfully.
358
+ status: success
359
+
360
+ - title: TimelineList in Support Ticket
361
+ fullWidth: true
362
+ blocks:
363
+ - id: tl_support_card
364
+ type: Card
365
+ properties:
366
+ title: 'Ticket #4821 - Login Issue'
367
+ size: small
368
+ blocks:
369
+ - id: tl_support_timeline
370
+ type: TimelineList
371
+ properties:
372
+ reverse: true
373
+ data:
374
+ - title: Ticket created by user
375
+ icon: AiOutlinePlus
376
+ color: blue
377
+ - title: Assigned to support team
378
+ icon: AiOutlineTeam
379
+ color: blue
380
+ - title: Investigating root cause
381
+ icon: AiOutlineSearch
382
+ color: orange
383
+ - title: Fix deployed to production
384
+ icon: AiOutlineCheckCircle
385
+ color: green
386
+ - title: Ticket resolved
387
+ icon: AiOutlineLike
388
+ color: green
389
+ blocks:
390
+ - id: tl_support_timeline_content
391
+ type: Paragraph
392
+ properties:
393
+ content: Support ticket update
394
+ - id: tl_support_actions
395
+ type: Box
396
+ layout:
397
+ gap: 8
398
+ justify: flex-end
399
+ blocks:
400
+ - id: tl_support_reopen_btn
401
+ type: Button
402
+ layout:
403
+ flex: 0 0 auto
404
+ properties:
405
+ title: Reopen Ticket
406
+ icon: AiOutlineRollback
407
+ color: default
408
+ variant: outlined
409
+ events:
410
+ onClick:
411
+ - id: tl_support_reopen_msg
412
+ type: DisplayMessage
413
+ params:
414
+ content: Ticket reopened.
415
+ status: info
416
+ - id: tl_support_close_btn
417
+ type: Button
418
+ layout:
419
+ flex: 0 0 auto
420
+ properties:
421
+ title: Close Ticket
422
+ icon: AiOutlineCheck
423
+ color: primary
424
+ variant: solid
425
+ events:
426
+ onClick:
427
+ - id: tl_support_close_msg
428
+ type: DisplayMessage
429
+ params:
430
+ content: Ticket closed successfully.
431
+ status: success
@@ -0,0 +1,244 @@
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: timelinelist
16
+ type: Box
17
+
18
+ events:
19
+ onInit:
20
+ - id: set_defaults
21
+ type: SetState
22
+ params:
23
+ # State keys must match blockIds for List blocks
24
+ timeline_basic:
25
+ - Event 1
26
+ - Event 2
27
+ - Event 3
28
+ timeline_colors:
29
+ - First item
30
+ - Second item
31
+ - Third item
32
+ timeline_mode_left:
33
+ - Left item
34
+ - Right item
35
+ - Another left
36
+ timeline_mode_right:
37
+ - Left item
38
+ - Right item
39
+ - Another left
40
+ timeline_mode_alternate:
41
+ - Left item
42
+ - Right item
43
+ - Another left
44
+ timeline_labels:
45
+ - Content 1
46
+ - Content 2
47
+ - Content 3
48
+ timeline_icons:
49
+ - Icon event 1
50
+ - Icon event 2
51
+ timeline_pending:
52
+ - Completed 1
53
+ - Completed 2
54
+ timeline_pending_text:
55
+ - Completed 1
56
+ - Completed 2
57
+ timeline_reverse:
58
+ - First
59
+ - Second
60
+ - Third
61
+ timeline_custom_fields:
62
+ - Custom item 1
63
+ - Custom item 2
64
+
65
+ blocks:
66
+ # ============================================
67
+ # BASIC RENDERING
68
+ # ============================================
69
+
70
+ - id: timeline_basic
71
+ type: TimelineList
72
+ blocks:
73
+ - id: timeline_basic_item
74
+ type: Span
75
+ properties:
76
+ content:
77
+ _state: timeline_basic.$
78
+
79
+ # ============================================
80
+ # COLOR TESTS
81
+ # ============================================
82
+
83
+ - id: timeline_colors
84
+ type: TimelineList
85
+ properties:
86
+ data:
87
+ - color: green
88
+ - color: red
89
+ - color: blue
90
+ blocks:
91
+ - id: timeline_colors_item
92
+ type: Span
93
+ properties:
94
+ content:
95
+ _state: timeline_colors.$
96
+
97
+ # ============================================
98
+ # MODE TESTS
99
+ # ============================================
100
+
101
+ - id: timeline_mode_left
102
+ type: TimelineList
103
+ properties:
104
+ mode: left
105
+ blocks:
106
+ - id: timeline_mode_left_item
107
+ type: Span
108
+ properties:
109
+ content:
110
+ _state: timeline_mode_left.$
111
+
112
+ - id: timeline_mode_right
113
+ type: TimelineList
114
+ properties:
115
+ mode: right
116
+ blocks:
117
+ - id: timeline_mode_right_item
118
+ type: Span
119
+ properties:
120
+ content:
121
+ _state: timeline_mode_right.$
122
+
123
+ - id: timeline_mode_alternate
124
+ type: TimelineList
125
+ properties:
126
+ mode: alternate
127
+ blocks:
128
+ - id: timeline_mode_alternate_item
129
+ type: Span
130
+ properties:
131
+ content:
132
+ _state: timeline_mode_alternate.$
133
+
134
+ # ============================================
135
+ # LABEL TESTS
136
+ # ============================================
137
+
138
+ - id: timeline_labels
139
+ type: TimelineList
140
+ properties:
141
+ mode: left
142
+ data:
143
+ - label: '2024-01-01'
144
+ - label: '2024-01-02'
145
+ - label: '2024-01-03'
146
+ blocks:
147
+ - id: timeline_labels_item
148
+ type: Span
149
+ properties:
150
+ content:
151
+ _state: timeline_labels.$
152
+
153
+ # ============================================
154
+ # ICON TESTS
155
+ # ============================================
156
+
157
+ - id: timeline_icons
158
+ type: TimelineList
159
+ properties:
160
+ data:
161
+ - icon: AiOutlineCheck
162
+ color: green
163
+ - icon: AiOutlineClose
164
+ color: red
165
+ blocks:
166
+ - id: timeline_icons_item
167
+ type: Span
168
+ properties:
169
+ content:
170
+ _state: timeline_icons.$
171
+
172
+ # ============================================
173
+ # PENDING TESTS
174
+ # ============================================
175
+
176
+ - id: timeline_pending
177
+ type: TimelineList
178
+ properties:
179
+ pending: true
180
+ blocks:
181
+ - id: timeline_pending_item
182
+ type: Span
183
+ properties:
184
+ content:
185
+ _state: timeline_pending.$
186
+
187
+ - id: timeline_pending_text
188
+ type: TimelineList
189
+ properties:
190
+ pending: Loading more...
191
+ blocks:
192
+ - id: timeline_pending_text_item
193
+ type: Span
194
+ properties:
195
+ content:
196
+ _state: timeline_pending_text.$
197
+
198
+ # ============================================
199
+ # REVERSE TESTS
200
+ # ============================================
201
+
202
+ - id: timeline_reverse
203
+ type: TimelineList
204
+ properties:
205
+ reverse: true
206
+ blocks:
207
+ - id: timeline_reverse_item
208
+ type: Span
209
+ properties:
210
+ content:
211
+ _state: timeline_reverse.$
212
+
213
+ # ============================================
214
+ # EMPTY LIST
215
+ # ============================================
216
+
217
+ - id: timeline_empty
218
+ type: TimelineList
219
+ blocks:
220
+ - id: timeline_empty_item
221
+ type: Span
222
+ properties:
223
+ content:
224
+ _state: timeline_empty.$
225
+
226
+ # ============================================
227
+ # CUSTOM FIELD MAPPING
228
+ # ============================================
229
+
230
+ - id: timeline_custom_fields
231
+ type: TimelineList
232
+ properties:
233
+ colorField: status_color
234
+ labelField: date
235
+ data:
236
+ - status_color: green
237
+ date: 'Jan 1'
238
+ - status_color: blue
239
+ date: 'Jan 2'
240
+ blocks:
241
+ - id: timeline_custom_fields_item
242
+ type: Span
243
+ properties:
244
+ content: Custom item