@lowdefy/blocks-antd 5.6.0 → 6.1.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 (285) 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/Button.js +11 -2
  21. package/dist/blocks/Button/gallery.yaml +718 -0
  22. package/dist/blocks/Button/meta.js +4 -0
  23. package/dist/blocks/Button/tests/Button.e2e.yaml +246 -0
  24. package/dist/blocks/Button/tests.yaml +109 -0
  25. package/dist/blocks/ButtonSelector/gallery.yaml +891 -0
  26. package/dist/blocks/ButtonSelector/tests/ButtonSelector.e2e.yaml +188 -0
  27. package/dist/blocks/ButtonSelector/tests.yaml +167 -0
  28. package/dist/blocks/Calendar/gallery.yaml +128 -0
  29. package/dist/blocks/Calendar/tests/Calendar.e2e.yaml +136 -0
  30. package/dist/blocks/Calendar/tests.yaml +50 -0
  31. package/dist/blocks/Card/gallery.yaml +1035 -0
  32. package/dist/blocks/Card/tests/Card.e2e.yaml +209 -0
  33. package/dist/blocks/Card/tests.yaml +75 -0
  34. package/dist/blocks/Carousel/gallery.yaml +1971 -0
  35. package/dist/blocks/Carousel/tests/Carousel.e2e.yaml +211 -0
  36. package/dist/blocks/Carousel/tests.yaml +117 -0
  37. package/dist/blocks/CheckboxSelector/gallery.yaml +781 -0
  38. package/dist/blocks/CheckboxSelector/tests/CheckboxSelector.e2e.yaml +272 -0
  39. package/dist/blocks/CheckboxSelector/tests.yaml +325 -0
  40. package/dist/blocks/CheckboxSwitch/gallery.yaml +457 -0
  41. package/dist/blocks/CheckboxSwitch/tests/CheckboxSwitch.e2e.yaml +126 -0
  42. package/dist/blocks/CheckboxSwitch/tests.yaml +96 -0
  43. package/dist/blocks/Collapse/gallery.yaml +1079 -0
  44. package/dist/blocks/Collapse/tests/Collapse.e2e.yaml +206 -0
  45. package/dist/blocks/Collapse/tests.yaml +265 -0
  46. package/dist/blocks/ColorSelector/gallery.yaml +807 -0
  47. package/dist/blocks/ColorSelector/tests/ColorSelector.e2e.yaml +77 -0
  48. package/dist/blocks/ColorSelector/tests.yaml +84 -0
  49. package/dist/blocks/ConfigProvider/gallery.yaml +1003 -0
  50. package/dist/blocks/ConfigProvider/tests.yaml +62 -0
  51. package/dist/blocks/ConfirmModal/gallery.yaml +1043 -0
  52. package/dist/blocks/ConfirmModal/tests/ConfirmModal.e2e.yaml +410 -0
  53. package/dist/blocks/ConfirmModal/tests.yaml +95 -0
  54. package/dist/blocks/Content/gallery.yaml +528 -0
  55. package/dist/blocks/Content/tests/Content.e2e.yaml +71 -0
  56. package/dist/blocks/Content/tests.yaml +42 -0
  57. package/dist/blocks/ControlledList/ControlledList.js +1 -1
  58. package/dist/blocks/ControlledList/gallery.yaml +481 -0
  59. package/dist/blocks/ControlledList/{style.module.css → style.css} +3 -3
  60. package/dist/blocks/ControlledList/tests/ControlledList.e2e.yaml +161 -0
  61. package/dist/blocks/ControlledList/tests.yaml +57 -0
  62. package/dist/blocks/DateRangeSelector/DateRangeSelector.js +7 -0
  63. package/dist/blocks/DateRangeSelector/e2e.js +28 -2
  64. package/dist/blocks/DateRangeSelector/gallery.yaml +858 -0
  65. package/dist/blocks/DateRangeSelector/meta.js +2 -0
  66. package/dist/blocks/DateRangeSelector/tests/DateRangeSelector.e2e.yaml +204 -0
  67. package/dist/blocks/DateRangeSelector/tests.yaml +129 -0
  68. package/dist/blocks/DateSelector/DateSelector.js +6 -0
  69. package/dist/blocks/DateSelector/e2e.js +28 -2
  70. package/dist/blocks/DateSelector/gallery.yaml +691 -0
  71. package/dist/blocks/DateSelector/meta.js +6 -0
  72. package/dist/blocks/DateSelector/tests/DateSelector.e2e.yaml +229 -0
  73. package/dist/blocks/DateSelector/tests.yaml +117 -0
  74. package/dist/blocks/DateTimeSelector/DateTimeSelector.js +7 -0
  75. package/dist/blocks/DateTimeSelector/e2e.js +26 -2
  76. package/dist/blocks/DateTimeSelector/gallery.yaml +770 -0
  77. package/dist/blocks/DateTimeSelector/meta.js +2 -0
  78. package/dist/blocks/DateTimeSelector/tests/DateTimeSelector.e2e.yaml +163 -0
  79. package/dist/blocks/DateTimeSelector/tests.yaml +140 -0
  80. package/dist/blocks/Descriptions/gallery.yaml +839 -0
  81. package/dist/blocks/Descriptions/tests/Descriptions.e2e.yaml +143 -0
  82. package/dist/blocks/Descriptions/tests.yaml +256 -0
  83. package/dist/blocks/Divider/gallery.yaml +375 -0
  84. package/dist/blocks/Divider/tests/Divider.e2e.yaml +107 -0
  85. package/dist/blocks/Divider/tests.yaml +58 -0
  86. package/dist/blocks/Drawer/gallery.yaml +1257 -0
  87. package/dist/blocks/Drawer/tests/Drawer.e2e.yaml +562 -0
  88. package/dist/blocks/Drawer/tests.yaml +80 -0
  89. package/dist/blocks/DropdownButton/gallery.yaml +606 -0
  90. package/dist/blocks/DropdownButton/tests/DropdownButton.e2e.yaml +243 -0
  91. package/dist/blocks/DropdownMenu/gallery.yaml +578 -0
  92. package/dist/blocks/DropdownMenu/tests/DropdownMenu.e2e.yaml +267 -0
  93. package/dist/blocks/Flex/gallery.yaml +1416 -0
  94. package/dist/blocks/Flex/tests/Flex.e2e.yaml +95 -0
  95. package/dist/blocks/Flex/tests.yaml +92 -0
  96. package/dist/blocks/FloatButton/gallery.yaml +518 -0
  97. package/dist/blocks/FloatButton/tests/FloatButton.e2e.yaml +73 -0
  98. package/dist/blocks/FloatButton/tests.yaml +59 -0
  99. package/dist/blocks/Footer/gallery.yaml +355 -0
  100. package/dist/blocks/Footer/tests/Footer.e2e.yaml +70 -0
  101. package/dist/blocks/Footer/tests.yaml +28 -0
  102. package/dist/blocks/Header/gallery.yaml +249 -0
  103. package/dist/blocks/Header/tests/Header.e2e.yaml +77 -0
  104. package/dist/blocks/Header/tests.yaml +36 -0
  105. package/dist/blocks/Label/Label.js +1 -1
  106. package/dist/blocks/Label/gallery.yaml +762 -0
  107. package/dist/blocks/Label/{style.module.css → style.css} +28 -28
  108. package/dist/blocks/Label/tests/Label.e2e.yaml +247 -0
  109. package/dist/blocks/Label/tests.yaml +212 -0
  110. package/dist/blocks/Layout/gallery.yaml +548 -0
  111. package/dist/blocks/Layout/tests/Layout.e2e.yaml +86 -0
  112. package/dist/blocks/Layout/tests.yaml +28 -0
  113. package/dist/blocks/ListSelector/gallery.yaml +223 -0
  114. package/dist/blocks/Masonry/gallery.yaml +989 -0
  115. package/dist/blocks/Masonry/tests/Masonry.e2e.yaml +128 -0
  116. package/dist/blocks/Masonry/tests.yaml +42 -0
  117. package/dist/blocks/MasonryList/gallery.yaml +224 -0
  118. package/dist/blocks/MasonryList/tests/MasonryList.e2e.yaml +55 -0
  119. package/dist/blocks/MasonryList/tests.yaml +42 -0
  120. package/dist/blocks/Menu/gallery.yaml +974 -0
  121. package/dist/blocks/Menu/tests/Menu.e2e.yaml +484 -0
  122. package/dist/blocks/Menu/tests.yaml +1053 -0
  123. package/dist/blocks/Message/gallery.yaml +860 -0
  124. package/dist/blocks/Message/tests/Message.e2e.yaml +246 -0
  125. package/dist/blocks/Message/tests.yaml +54 -0
  126. package/dist/blocks/MobileMenu/gallery.yaml +1172 -0
  127. package/dist/blocks/MobileMenu/tests/MobileMenu.e2e.yaml +314 -0
  128. package/dist/blocks/MobileMenu/tests.yaml +359 -0
  129. package/dist/blocks/Modal/gallery.yaml +1039 -0
  130. package/dist/blocks/Modal/tests/Modal.e2e.yaml +493 -0
  131. package/dist/blocks/Modal/tests.yaml +75 -0
  132. package/dist/blocks/MonthSelector/MonthSelector.js +6 -0
  133. package/dist/blocks/MonthSelector/e2e.js +26 -2
  134. package/dist/blocks/MonthSelector/gallery.yaml +687 -0
  135. package/dist/blocks/MonthSelector/meta.js +6 -0
  136. package/dist/blocks/MonthSelector/tests/MonthSelector.e2e.yaml +167 -0
  137. package/dist/blocks/MonthSelector/tests.yaml +124 -0
  138. package/dist/blocks/MultipleSelector/gallery.yaml +1245 -0
  139. package/dist/blocks/MultipleSelector/tests/MultipleSelector.e2e.yaml +445 -0
  140. package/dist/blocks/MultipleSelector/tests.yaml +201 -0
  141. package/dist/blocks/Notification/gallery.yaml +1376 -0
  142. package/dist/blocks/Notification/tests/Notification.e2e.yaml +362 -0
  143. package/dist/blocks/Notification/tests.yaml +97 -0
  144. package/dist/blocks/NumberInput/gallery.yaml +753 -0
  145. package/dist/blocks/NumberInput/tests/NumberInput.e2e.yaml +228 -0
  146. package/dist/blocks/NumberInput/tests.yaml +116 -0
  147. package/dist/blocks/PageHeaderMenu/PageHeaderMenu.js +1 -1
  148. package/dist/blocks/PageHeaderMenu/gallery.yaml +480 -0
  149. package/dist/blocks/PageHeaderMenu/tests/PageHeaderMenu.e2e.yaml +110 -0
  150. package/dist/blocks/PageHeaderMenu/tests.yaml +173 -0
  151. package/dist/blocks/PageSidebarLayout/PageSidebarLayout.js +10 -1
  152. package/dist/blocks/PageSidebarLayout/gallery.yaml +302 -0
  153. package/dist/blocks/PageSidebarLayout/meta.js +1 -0
  154. package/dist/blocks/PageSidebarLayout/tests/PageSidebarLayout.e2e.yaml +216 -0
  155. package/dist/blocks/PageSidebarLayout/tests.yaml +174 -0
  156. package/dist/blocks/PageSiderMenu/PageSiderMenu.js +1 -1
  157. package/dist/blocks/PageSiderMenu/gallery.yaml +516 -0
  158. package/dist/blocks/PageSiderMenu/tests/PageSiderMenu.e2e.yaml +175 -0
  159. package/dist/blocks/PageSiderMenu/tests.yaml +211 -0
  160. package/dist/blocks/Pagination/gallery.yaml +503 -0
  161. package/dist/blocks/Pagination/tests/Pagination.e2e.yaml +159 -0
  162. package/dist/blocks/Pagination/tests.yaml +80 -0
  163. package/dist/blocks/Paragraph/gallery.yaml +458 -0
  164. package/dist/blocks/Paragraph/tests/Paragraph.e2e.yaml +153 -0
  165. package/dist/blocks/Paragraph/tests.yaml +176 -0
  166. package/dist/blocks/ParagraphInput/gallery.yaml +1483 -0
  167. package/dist/blocks/ParagraphInput/tests/ParagraphInput.e2e.yaml +189 -0
  168. package/dist/blocks/ParagraphInput/tests.yaml +163 -0
  169. package/dist/blocks/PasswordInput/gallery.yaml +420 -0
  170. package/dist/blocks/PasswordInput/tests/PasswordInput.e2e.yaml +188 -0
  171. package/dist/blocks/PasswordInput/tests.yaml +78 -0
  172. package/dist/blocks/PhoneNumberInput/gallery.yaml +677 -0
  173. package/dist/blocks/PhoneNumberInput/tests/PhoneNumberInput.e2e.yaml +279 -0
  174. package/dist/blocks/PhoneNumberInput/tests.yaml +25 -0
  175. package/dist/blocks/Popover/gallery.yaml +1301 -0
  176. package/dist/blocks/Popover/tests/Popover.e2e.yaml +249 -0
  177. package/dist/blocks/Popover/tests.yaml +105 -0
  178. package/dist/blocks/Progress/gallery.yaml +772 -0
  179. package/dist/blocks/Progress/tests/Progress.e2e.yaml +167 -0
  180. package/dist/blocks/Progress/tests.yaml +114 -0
  181. package/dist/blocks/QRCode/gallery.yaml +492 -0
  182. package/dist/blocks/QRCode/tests/QRCode.e2e.yaml +66 -0
  183. package/dist/blocks/QRCode/tests.yaml +113 -0
  184. package/dist/blocks/RadioSelector/gallery.yaml +816 -0
  185. package/dist/blocks/RadioSelector/tests/RadioSelector.e2e.yaml +269 -0
  186. package/dist/blocks/RadioSelector/tests.yaml +339 -0
  187. package/dist/blocks/RatingSlider/gallery.yaml +627 -0
  188. package/dist/blocks/RatingSlider/tests/RatingSlider.e2e.yaml +188 -0
  189. package/dist/blocks/RatingSlider/tests.yaml +116 -0
  190. package/dist/blocks/Result/gallery.yaml +925 -0
  191. package/dist/blocks/Result/tests/Result.e2e.yaml +126 -0
  192. package/dist/blocks/Result/tests.yaml +75 -0
  193. package/dist/blocks/Search/Search.js +1 -1
  194. package/dist/blocks/Search/SearchModal.js +18 -9
  195. package/dist/blocks/Search/gallery.yaml +170 -0
  196. package/dist/blocks/Search/meta.js +2 -1
  197. package/dist/blocks/Search/{style.module.css → style.css} +19 -12
  198. package/dist/blocks/Search/tests/Search.e2e.yaml +125 -0
  199. package/dist/blocks/Search/useSearchIndex.js +24 -2
  200. package/dist/blocks/SegmentedSelector/gallery.yaml +725 -0
  201. package/dist/blocks/SegmentedSelector/tests/SegmentedSelector.e2e.yaml +115 -0
  202. package/dist/blocks/SegmentedSelector/tests.yaml +141 -0
  203. package/dist/blocks/Selector/gallery.yaml +1055 -0
  204. package/dist/blocks/Selector/tests/Selector.e2e.yaml +427 -0
  205. package/dist/blocks/Selector/tests.yaml +196 -0
  206. package/dist/blocks/Sider/gallery.yaml +994 -0
  207. package/dist/blocks/Sider/tests/Sider.e2e.yaml +162 -0
  208. package/dist/blocks/Sider/tests.yaml +20 -0
  209. package/dist/blocks/Slider/gallery.yaml +600 -0
  210. package/dist/blocks/Slider/tests/Slider.e2e.yaml +190 -0
  211. package/dist/blocks/Slider/tests.yaml +68 -0
  212. package/dist/blocks/Splitter/gallery.yaml +1511 -0
  213. package/dist/blocks/Splitter/tests/Splitter.e2e.yaml +114 -0
  214. package/dist/blocks/Splitter/tests.yaml +79 -0
  215. package/dist/blocks/Statistic/gallery.yaml +460 -0
  216. package/dist/blocks/Statistic/tests/Statistic.e2e.yaml +137 -0
  217. package/dist/blocks/Statistic/tests.yaml +77 -0
  218. package/dist/blocks/Steps/gallery.yaml +550 -0
  219. package/dist/blocks/Switch/gallery.yaml +502 -0
  220. package/dist/blocks/Switch/tests/Switch.e2e.yaml +132 -0
  221. package/dist/blocks/Switch/tests.yaml +87 -0
  222. package/dist/blocks/Tabs/gallery.yaml +1353 -0
  223. package/dist/blocks/Tabs/tests/Tabs.e2e.yaml +370 -0
  224. package/dist/blocks/Tabs/tests.yaml +349 -0
  225. package/dist/blocks/Tag/gallery.yaml +598 -0
  226. package/dist/blocks/Tag/tests/Tag.e2e.yaml +173 -0
  227. package/dist/blocks/Tag/tests.yaml +51 -0
  228. package/dist/blocks/TagMultipleSelector/TagMultipleSelector.js +53 -0
  229. package/dist/blocks/TagMultipleSelector/e2e.js +36 -0
  230. package/dist/blocks/TagMultipleSelector/gallery.yaml +70 -0
  231. package/dist/blocks/TagMultipleSelector/meta.js +91 -0
  232. package/dist/blocks/TagMultipleSelector/tests/TagMultipleSelector.e2e.yaml +93 -0
  233. package/dist/blocks/TagSelector/TagSelector.js +49 -0
  234. package/dist/blocks/TagSelector/e2e.js +36 -0
  235. package/dist/blocks/TagSelector/gallery.yaml +70 -0
  236. package/dist/blocks/TagSelector/meta.js +91 -0
  237. package/dist/blocks/TagSelector/tests/TagSelector.e2e.yaml +93 -0
  238. package/dist/blocks/TextArea/gallery.yaml +618 -0
  239. package/dist/blocks/TextArea/tests/TextArea.e2e.yaml +218 -0
  240. package/dist/blocks/TextArea/tests.yaml +100 -0
  241. package/dist/blocks/TextInput/gallery.yaml +560 -0
  242. package/dist/blocks/TextInput/tests/TextInput.e2e.yaml +287 -0
  243. package/dist/blocks/TextInput/tests.yaml +114 -0
  244. package/dist/blocks/TimelineList/gallery.yaml +431 -0
  245. package/dist/blocks/TimelineList/tests/TimelineList.e2e.yaml +244 -0
  246. package/dist/blocks/TimelineList/tests.yaml +251 -0
  247. package/dist/blocks/Title/gallery.yaml +483 -0
  248. package/dist/blocks/Title/tests/Title.e2e.yaml +180 -0
  249. package/dist/blocks/Title/tests.yaml +175 -0
  250. package/dist/blocks/TitleInput/gallery.yaml +1006 -0
  251. package/dist/blocks/TitleInput/tests/TitleInput.e2e.yaml +195 -0
  252. package/dist/blocks/TitleInput/tests.yaml +181 -0
  253. package/dist/blocks/Tooltip/gallery.yaml +1214 -0
  254. package/dist/blocks/Tooltip/tests/Tooltip.e2e.yaml +195 -0
  255. package/dist/blocks/Tooltip/tests.yaml +92 -0
  256. package/dist/blocks/Tour/gallery.yaml +2305 -0
  257. package/dist/blocks/Tour/tests/Tour.e2e.yaml +90 -0
  258. package/dist/blocks/Tour/tests.yaml +151 -0
  259. package/dist/blocks/TreeInput/gallery.yaml +78 -0
  260. package/dist/blocks/TreeInput/tests/TreeInput.e2e.yaml +139 -0
  261. package/dist/blocks/TreeInput/tests.yaml +140 -0
  262. package/dist/blocks/TreeMultipleSelector/gallery.yaml +67 -0
  263. package/dist/blocks/TreeSelector/gallery.yaml +81 -0
  264. package/dist/blocks/Watermark/gallery.yaml +479 -0
  265. package/dist/blocks/Watermark/tests/Watermark.e2e.yaml +62 -0
  266. package/dist/blocks/Watermark/tests.yaml +86 -0
  267. package/dist/blocks/WeekSelector/WeekSelector.js +6 -0
  268. package/dist/blocks/WeekSelector/e2e.js +26 -2
  269. package/dist/blocks/WeekSelector/gallery.yaml +589 -0
  270. package/dist/blocks/WeekSelector/meta.js +6 -0
  271. package/dist/blocks/WeekSelector/tests/WeekSelector.e2e.yaml +154 -0
  272. package/dist/blocks/WeekSelector/tests.yaml +122 -0
  273. package/dist/blocks.js +2 -0
  274. package/dist/disabledDate.js +91 -19
  275. package/dist/e2e.js +2 -0
  276. package/dist/getPresets.js +151 -0
  277. package/dist/getTagColor.js +44 -0
  278. package/dist/getTagSelectorOptions.js +30 -0
  279. package/dist/metas.js +2 -0
  280. package/dist/pickerPresetsStyle.css +26 -0
  281. package/dist/schemas/disabledDates.js +6 -2
  282. package/dist/schemas/index.js +1 -0
  283. package/dist/schemas/presets.js +111 -0
  284. package/dist/tagSelectorStyle.css +68 -0
  285. package/package.json +13 -13
@@ -0,0 +1,860 @@
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: Status Types
16
+ blocks:
17
+ - id: status_success_msg
18
+ type: Message
19
+ properties:
20
+ status: success
21
+ content: Operation completed successfully
22
+ - id: status_error_msg
23
+ type: Message
24
+ properties:
25
+ status: error
26
+ content: Something went wrong
27
+ - id: status_warning_msg
28
+ type: Message
29
+ properties:
30
+ status: warning
31
+ content: Please check your input
32
+ - id: status_info_msg
33
+ type: Message
34
+ properties:
35
+ status: info
36
+ content: Here is some useful information
37
+ - id: status_loading_msg
38
+ type: Message
39
+ properties:
40
+ status: loading
41
+ content: Loading data...
42
+ duration: 3
43
+ - id: btn_status_success
44
+ type: Button
45
+ layout:
46
+ flex: 0 0 auto
47
+ properties:
48
+ title: Success
49
+ color: primary
50
+ variant: outlined
51
+ icon: AiOutlineCheckCircle
52
+ events:
53
+ onClick:
54
+ - id: call_status_success
55
+ type: CallMethod
56
+ params:
57
+ blockId: status_success_msg
58
+ method: open
59
+ - id: btn_status_error
60
+ type: Button
61
+ layout:
62
+ flex: 0 0 auto
63
+ properties:
64
+ title: Error
65
+ color: danger
66
+ variant: outlined
67
+ icon: AiOutlineCloseCircle
68
+ events:
69
+ onClick:
70
+ - id: call_status_error
71
+ type: CallMethod
72
+ params:
73
+ blockId: status_error_msg
74
+ method: open
75
+ - id: btn_status_warning
76
+ type: Button
77
+ layout:
78
+ flex: 0 0 auto
79
+ properties:
80
+ title: Warning
81
+ color: default
82
+ variant: outlined
83
+ icon: AiOutlineWarning
84
+ events:
85
+ onClick:
86
+ - id: call_status_warning
87
+ type: CallMethod
88
+ params:
89
+ blockId: status_warning_msg
90
+ method: open
91
+ - id: btn_status_info
92
+ type: Button
93
+ layout:
94
+ flex: 0 0 auto
95
+ properties:
96
+ title: Info
97
+ color: primary
98
+ variant: text
99
+ icon: AiOutlineInfoCircle
100
+ events:
101
+ onClick:
102
+ - id: call_status_info
103
+ type: CallMethod
104
+ params:
105
+ blockId: status_info_msg
106
+ method: open
107
+ - id: btn_status_loading
108
+ type: Button
109
+ layout:
110
+ flex: 0 0 auto
111
+ properties:
112
+ title: Loading
113
+ color: default
114
+ variant: outlined
115
+ icon: AiOutlineLoading
116
+ events:
117
+ onClick:
118
+ - id: call_status_loading
119
+ type: CallMethod
120
+ params:
121
+ blockId: status_loading_msg
122
+ method: open
123
+
124
+ - title: Duration
125
+ blocks:
126
+ - id: dur_short_msg
127
+ type: Message
128
+ properties:
129
+ status: info
130
+ content: Gone in 1 second
131
+ duration: 1
132
+ - id: dur_default_msg
133
+ type: Message
134
+ properties:
135
+ status: info
136
+ content: Default duration (4.5s)
137
+ - id: dur_long_msg
138
+ type: Message
139
+ properties:
140
+ status: info
141
+ content: Stays for 10 seconds
142
+ duration: 10
143
+ - id: dur_sticky_msg
144
+ type: Message
145
+ properties:
146
+ status: warning
147
+ content: Will not auto-close (duration 0)
148
+ duration: 0
149
+ - id: btn_dur_short
150
+ type: Button
151
+ layout:
152
+ flex: 0 0 auto
153
+ properties:
154
+ title: 1 second
155
+ color: default
156
+ variant: outlined
157
+ events:
158
+ onClick:
159
+ - id: call_dur_short
160
+ type: CallMethod
161
+ params:
162
+ blockId: dur_short_msg
163
+ method: open
164
+ - id: btn_dur_default
165
+ type: Button
166
+ layout:
167
+ flex: 0 0 auto
168
+ properties:
169
+ title: Default (4.5s)
170
+ color: default
171
+ variant: outlined
172
+ events:
173
+ onClick:
174
+ - id: call_dur_default
175
+ type: CallMethod
176
+ params:
177
+ blockId: dur_default_msg
178
+ method: open
179
+ - id: btn_dur_long
180
+ type: Button
181
+ layout:
182
+ flex: 0 0 auto
183
+ properties:
184
+ title: 10 seconds
185
+ color: default
186
+ variant: outlined
187
+ events:
188
+ onClick:
189
+ - id: call_dur_long
190
+ type: CallMethod
191
+ params:
192
+ blockId: dur_long_msg
193
+ method: open
194
+ - id: btn_dur_sticky
195
+ type: Button
196
+ layout:
197
+ flex: 0 0 auto
198
+ properties:
199
+ title: Sticky (duration 0)
200
+ color: default
201
+ variant: outlined
202
+ events:
203
+ onClick:
204
+ - id: call_dur_sticky
205
+ type: CallMethod
206
+ params:
207
+ blockId: dur_sticky_msg
208
+ method: open
209
+
210
+ - title: Custom Icon
211
+ blocks:
212
+ - id: icon_save_msg
213
+ type: Message
214
+ properties:
215
+ status: success
216
+ content: File saved
217
+ icon: AiOutlineSave
218
+ - id: icon_bell_msg
219
+ type: Message
220
+ properties:
221
+ status: info
222
+ content: Notification sent
223
+ icon: AiOutlineBell
224
+ - id: icon_star_msg
225
+ type: Message
226
+ properties:
227
+ status: info
228
+ content: Custom colored star icon
229
+ icon:
230
+ name: AiOutlineStar
231
+ color: '#faad14'
232
+ - id: btn_icon_save
233
+ type: Button
234
+ layout:
235
+ flex: 0 0 auto
236
+ properties:
237
+ title: Save Icon
238
+ color: primary
239
+ variant: outlined
240
+ icon: AiOutlineSave
241
+ events:
242
+ onClick:
243
+ - id: call_icon_save
244
+ type: CallMethod
245
+ params:
246
+ blockId: icon_save_msg
247
+ method: open
248
+ - id: btn_icon_bell
249
+ type: Button
250
+ layout:
251
+ flex: 0 0 auto
252
+ properties:
253
+ title: Bell Icon
254
+ color: primary
255
+ variant: outlined
256
+ icon: AiOutlineBell
257
+ events:
258
+ onClick:
259
+ - id: call_icon_bell
260
+ type: CallMethod
261
+ params:
262
+ blockId: icon_bell_msg
263
+ method: open
264
+ - id: btn_icon_star
265
+ type: Button
266
+ layout:
267
+ flex: 0 0 auto
268
+ properties:
269
+ title: Star Icon (colored)
270
+ color: default
271
+ variant: outlined
272
+ icon: AiOutlineStar
273
+ events:
274
+ onClick:
275
+ - id: call_icon_star
276
+ type: CallMethod
277
+ params:
278
+ blockId: icon_star_msg
279
+ method: open
280
+
281
+ - title: HTML Content
282
+ blocks:
283
+ - id: html_bold_msg
284
+ type: Message
285
+ properties:
286
+ status: success
287
+ content: '<b>Bold</b> content in message'
288
+ - id: html_link_msg
289
+ type: Message
290
+ properties:
291
+ status: info
292
+ content: 'Visit <a href="https://lowdefy.com">Lowdefy</a> for more info'
293
+ - id: html_styled_msg
294
+ type: Message
295
+ properties:
296
+ status: warning
297
+ content: '<span style="color: #fa8c16; font-weight: bold;">Important:</span> Please review'
298
+ - id: btn_html_bold
299
+ type: Button
300
+ layout:
301
+ flex: 0 0 auto
302
+ properties:
303
+ title: Bold HTML
304
+ color: default
305
+ variant: outlined
306
+ events:
307
+ onClick:
308
+ - id: call_html_bold
309
+ type: CallMethod
310
+ params:
311
+ blockId: html_bold_msg
312
+ method: open
313
+ - id: btn_html_link
314
+ type: Button
315
+ layout:
316
+ flex: 0 0 auto
317
+ properties:
318
+ title: HTML Link
319
+ color: default
320
+ variant: outlined
321
+ events:
322
+ onClick:
323
+ - id: call_html_link
324
+ type: CallMethod
325
+ params:
326
+ blockId: html_link_msg
327
+ method: open
328
+ - id: btn_html_styled
329
+ type: Button
330
+ layout:
331
+ flex: 0 0 auto
332
+ properties:
333
+ title: Styled HTML
334
+ color: default
335
+ variant: outlined
336
+ events:
337
+ onClick:
338
+ - id: call_html_styled
339
+ type: CallMethod
340
+ params:
341
+ blockId: html_styled_msg
342
+ method: open
343
+
344
+ - title: Message Style
345
+ blocks:
346
+ - id: mstyle_bg_msg
347
+ type: Message
348
+ properties:
349
+ status: success
350
+ content: Custom background color
351
+ style:
352
+ .element:
353
+ border: '1px solid #b7eb8f'
354
+ - id: mstyle_font_msg
355
+ type: Message
356
+ properties:
357
+ status: info
358
+ content: Larger font with custom padding
359
+ style:
360
+ .element:
361
+ fontSize: 16
362
+ padding: '12px 24px'
363
+ - id: mstyle_shadow_msg
364
+ type: Message
365
+ properties:
366
+ status: warning
367
+ content: Shadow and rounded corners
368
+ style:
369
+ .element:
370
+ boxShadow: '0 4px 12px rgba(0, 0, 0, 0.15)'
371
+ borderRadius: 12
372
+ - id: btn_mstyle_bg
373
+ type: Button
374
+ layout:
375
+ flex: 0 0 auto
376
+ properties:
377
+ title: Custom Background
378
+ color: primary
379
+ variant: outlined
380
+ events:
381
+ onClick:
382
+ - id: call_mstyle_bg
383
+ type: CallMethod
384
+ params:
385
+ blockId: mstyle_bg_msg
386
+ method: open
387
+ - id: btn_mstyle_font
388
+ type: Button
389
+ layout:
390
+ flex: 0 0 auto
391
+ properties:
392
+ title: Large Font
393
+ color: primary
394
+ variant: outlined
395
+ events:
396
+ onClick:
397
+ - id: call_mstyle_font
398
+ type: CallMethod
399
+ params:
400
+ blockId: mstyle_font_msg
401
+ method: open
402
+ - id: btn_mstyle_shadow
403
+ type: Button
404
+ layout:
405
+ flex: 0 0 auto
406
+ properties:
407
+ title: Shadow + Rounded
408
+ color: primary
409
+ variant: outlined
410
+ events:
411
+ onClick:
412
+ - id: call_mstyle_shadow
413
+ type: CallMethod
414
+ params:
415
+ blockId: mstyle_shadow_msg
416
+ method: open
417
+
418
+ - title: Override at Call Time
419
+ blocks:
420
+ - id: override_msg
421
+ type: Message
422
+ properties:
423
+ status: info
424
+ content: Default message
425
+ - id: btn_override_success
426
+ type: Button
427
+ layout:
428
+ flex: 0 0 auto
429
+ properties:
430
+ title: Open as Success
431
+ color: primary
432
+ variant: solid
433
+ icon: AiOutlineCheckCircle
434
+ events:
435
+ onClick:
436
+ - id: call_override_success
437
+ type: CallMethod
438
+ params:
439
+ blockId: override_msg
440
+ method: open
441
+ args:
442
+ - status: success
443
+ content: Overridden to success at call time!
444
+ duration: 3
445
+ - id: btn_override_error
446
+ type: Button
447
+ layout:
448
+ flex: 0 0 auto
449
+ properties:
450
+ title: Open as Error
451
+ color: danger
452
+ variant: solid
453
+ icon: AiOutlineCloseCircle
454
+ events:
455
+ onClick:
456
+ - id: call_override_error
457
+ type: CallMethod
458
+ params:
459
+ blockId: override_msg
460
+ method: open
461
+ args:
462
+ - status: error
463
+ content: Overridden to error at call time!
464
+ duration: 3
465
+ - id: btn_override_icon
466
+ type: Button
467
+ layout:
468
+ flex: 0 0 auto
469
+ properties:
470
+ title: Open with Custom Icon
471
+ color: default
472
+ variant: solid
473
+ icon: AiOutlineRocket
474
+ events:
475
+ onClick:
476
+ - id: call_override_icon
477
+ type: CallMethod
478
+ params:
479
+ blockId: override_msg
480
+ method: open
481
+ args:
482
+ - status: info
483
+ content: Launched with a rocket icon!
484
+ icon: AiOutlineRocket
485
+ duration: 3
486
+
487
+ - title: onClose Event
488
+ blocks:
489
+ - id: onclose_msg
490
+ type: Message
491
+ properties:
492
+ status: info
493
+ content: Close me to trigger the onClose event
494
+ duration: 3
495
+ events:
496
+ onClose:
497
+ - id: onclose_set_state
498
+ type: SetState
499
+ params:
500
+ messageClosed: true
501
+ - id: onclose_display
502
+ type: DisplayMessage
503
+ params:
504
+ content: onClose event fired!
505
+ status: success
506
+ - id: btn_onclose
507
+ type: Button
508
+ layout:
509
+ flex: 0 0 auto
510
+ properties:
511
+ title: Open Message with onClose
512
+ color: primary
513
+ variant: outlined
514
+ icon: AiOutlineNotification
515
+ events:
516
+ onClick:
517
+ - id: call_onclose
518
+ type: CallMethod
519
+ params:
520
+ blockId: onclose_msg
521
+ method: open
522
+
523
+ - title: Style and CSS
524
+ blocks:
525
+ - id: css_shadow_msg
526
+ type: Message
527
+ class:
528
+ element: shadow-lg
529
+ properties:
530
+ status: success
531
+ content: Message with shadow via Tailwind class
532
+ - id: css_rounded_msg
533
+ type: Message
534
+ class:
535
+ element: rounded-full
536
+ properties:
537
+ status: info
538
+ content: Message with rounded corners via Tailwind class
539
+ - id: css_custom_msg
540
+ type: Message
541
+ style:
542
+ .element:
543
+ border: '2px solid #1677ff'
544
+ borderRadius: 8
545
+ properties:
546
+ status: info
547
+ content: Message with inline border style
548
+ - id: btn_css_shadow
549
+ type: Button
550
+ layout:
551
+ flex: 0 0 auto
552
+ properties:
553
+ title: Shadow Class
554
+ color: default
555
+ variant: outlined
556
+ events:
557
+ onClick:
558
+ - id: call_css_shadow
559
+ type: CallMethod
560
+ params:
561
+ blockId: css_shadow_msg
562
+ method: open
563
+ - id: btn_css_rounded
564
+ type: Button
565
+ layout:
566
+ flex: 0 0 auto
567
+ properties:
568
+ title: Rounded Class
569
+ color: default
570
+ variant: outlined
571
+ events:
572
+ onClick:
573
+ - id: call_css_rounded
574
+ type: CallMethod
575
+ params:
576
+ blockId: css_rounded_msg
577
+ method: open
578
+ - id: btn_css_custom
579
+ type: Button
580
+ layout:
581
+ flex: 0 0 auto
582
+ properties:
583
+ title: Inline Border Style
584
+ color: default
585
+ variant: outlined
586
+ events:
587
+ onClick:
588
+ - id: call_css_custom
589
+ type: CallMethod
590
+ params:
591
+ blockId: css_custom_msg
592
+ method: open
593
+
594
+ - title: Theme Token Overrides
595
+ blocks:
596
+ - id: theme_bg_msg
597
+ type: Message
598
+ properties:
599
+ status: success
600
+ content: Custom background via theme token
601
+ - id: theme_padding_msg
602
+ type: Message
603
+ properties:
604
+ status: info
605
+ content: Extra padding via theme token
606
+ theme:
607
+ contentPadding: '14px 20px'
608
+ - id: theme_zindex_msg
609
+ type: Message
610
+ properties:
611
+ status: warning
612
+ content: Custom z-index via theme token
613
+ theme:
614
+ zIndexPopup: 2000
615
+ - id: theme_combined_msg
616
+ type: Message
617
+ properties:
618
+ status: info
619
+ content: Combined theme overrides
620
+ theme:
621
+ contentPadding: '16px 24px'
622
+ - id: btn_theme_bg
623
+ type: Button
624
+ layout:
625
+ flex: 0 0 auto
626
+ properties:
627
+ title: Custom Background
628
+ color: primary
629
+ variant: outlined
630
+ events:
631
+ onClick:
632
+ - id: call_theme_bg
633
+ type: CallMethod
634
+ params:
635
+ blockId: theme_bg_msg
636
+ method: open
637
+ - id: btn_theme_padding
638
+ type: Button
639
+ layout:
640
+ flex: 0 0 auto
641
+ properties:
642
+ title: Extra Padding
643
+ color: primary
644
+ variant: outlined
645
+ events:
646
+ onClick:
647
+ - id: call_theme_padding
648
+ type: CallMethod
649
+ params:
650
+ blockId: theme_padding_msg
651
+ method: open
652
+ - id: btn_theme_zindex
653
+ type: Button
654
+ layout:
655
+ flex: 0 0 auto
656
+ properties:
657
+ title: Custom Z-Index
658
+ color: primary
659
+ variant: outlined
660
+ events:
661
+ onClick:
662
+ - id: call_theme_zindex
663
+ type: CallMethod
664
+ params:
665
+ blockId: theme_zindex_msg
666
+ method: open
667
+ - id: btn_theme_combined
668
+ type: Button
669
+ layout:
670
+ flex: 0 0 auto
671
+ properties:
672
+ title: Combined Tokens
673
+ color: primary
674
+ variant: outlined
675
+ events:
676
+ onClick:
677
+ - id: call_theme_combined
678
+ type: CallMethod
679
+ params:
680
+ blockId: theme_combined_msg
681
+ method: open
682
+
683
+ - title: Message in Form Submission
684
+ blocks:
685
+ - id: form_card
686
+ type: Card
687
+ properties:
688
+ title: Submit Feedback
689
+ size: small
690
+ blocks:
691
+ - id: form_name
692
+ type: TextInput
693
+ required: true
694
+ properties:
695
+ label:
696
+ title: Name
697
+ placeholder: Your name
698
+ - id: form_rating
699
+ type: RatingSlider
700
+ required: true
701
+ properties:
702
+ label:
703
+ title: Rating
704
+ - id: form_comments
705
+ type: TextArea
706
+ properties:
707
+ label:
708
+ title: Comments
709
+ placeholder: Tell us what you think
710
+ rows: 3
711
+ - id: form_submit_msg
712
+ type: Message
713
+ properties:
714
+ status: success
715
+ content: Thank you for your feedback!
716
+ duration: 3
717
+ events:
718
+ onClose:
719
+ - id: form_close_set
720
+ type: SetState
721
+ params:
722
+ feedbackSubmitted: true
723
+ - id: form_error_msg
724
+ type: Message
725
+ properties:
726
+ status: error
727
+ content: Please fill in all required fields.
728
+ duration: 4
729
+ - id: form_actions
730
+ type: Box
731
+ layout:
732
+ gap: 8
733
+ justify: flex-end
734
+ blocks:
735
+ - id: form_cancel
736
+ type: Button
737
+ layout:
738
+ flex: 0 0 auto
739
+ properties:
740
+ title: Cancel
741
+ color: default
742
+ variant: outlined
743
+ events:
744
+ onClick:
745
+ - id: form_cancel_reset
746
+ type: ResetValidation
747
+ - id: form_cancel_msg
748
+ type: DisplayMessage
749
+ params:
750
+ content: Form cleared
751
+ status: info
752
+ - id: form_submit
753
+ type: Button
754
+ layout:
755
+ flex: 0 0 auto
756
+ properties:
757
+ title: Submit Feedback
758
+ color: primary
759
+ variant: solid
760
+ icon: AiOutlineSend
761
+ events:
762
+ onClick:
763
+ - id: form_validate
764
+ type: Validate
765
+ params:
766
+ - form_name
767
+ - form_rating
768
+ - id: form_open_success
769
+ type: CallMethod
770
+ params:
771
+ blockId: form_submit_msg
772
+ method: open
773
+
774
+ - title: Message in File Upload
775
+ blocks:
776
+ - id: upload_card
777
+ type: Card
778
+ properties:
779
+ title: Upload Documents
780
+ size: small
781
+ blocks:
782
+ - id: upload_description
783
+ type: Markdown
784
+ properties:
785
+ content: |
786
+ Upload your project files below. Supported formats: PDF, DOCX, XLSX.
787
+ Maximum file size: 10 MB.
788
+ - id: upload_progress_msg
789
+ type: Message
790
+ properties:
791
+ status: loading
792
+ content: Uploading file...
793
+ duration: 0
794
+ - id: upload_success_msg
795
+ type: Message
796
+ properties:
797
+ status: success
798
+ content: File uploaded successfully!
799
+ icon: AiOutlineCloudUpload
800
+ duration: 3
801
+ - id: upload_fail_msg
802
+ type: Message
803
+ properties:
804
+ status: error
805
+ content: Upload failed. Please try again.
806
+ duration: 5
807
+ - id: upload_actions
808
+ type: Box
809
+ layout:
810
+ gap: 8
811
+ justify: flex-start
812
+ blocks:
813
+ - id: upload_start
814
+ type: Button
815
+ layout:
816
+ flex: 0 0 auto
817
+ properties:
818
+ title: Start Upload
819
+ color: primary
820
+ variant: solid
821
+ icon: AiOutlineUpload
822
+ events:
823
+ onClick:
824
+ - id: upload_show_progress
825
+ type: CallMethod
826
+ params:
827
+ blockId: upload_progress_msg
828
+ method: open
829
+ - id: upload_complete
830
+ type: Button
831
+ layout:
832
+ flex: 0 0 auto
833
+ properties:
834
+ title: Simulate Success
835
+ color: green
836
+ variant: outlined
837
+ icon: AiOutlineCheckCircle
838
+ events:
839
+ onClick:
840
+ - id: upload_show_success
841
+ type: CallMethod
842
+ params:
843
+ blockId: upload_success_msg
844
+ method: open
845
+ - id: upload_fail
846
+ type: Button
847
+ layout:
848
+ flex: 0 0 auto
849
+ properties:
850
+ title: Simulate Failure
851
+ color: danger
852
+ variant: outlined
853
+ icon: AiOutlineCloseCircle
854
+ events:
855
+ onClick:
856
+ - id: upload_show_fail
857
+ type: CallMethod
858
+ params:
859
+ blockId: upload_fail_msg
860
+ method: open