@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,1214 @@
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 Tooltip
16
+ blocks:
17
+ - id: tooltip_basic
18
+ type: Tooltip
19
+ layout:
20
+ flex: 0 0 auto
21
+ properties:
22
+ title: This is a tooltip
23
+ blocks:
24
+ - id: tooltip_basic_btn
25
+ type: Button
26
+ layout:
27
+ flex: 0 0 auto
28
+ properties:
29
+ title: Hover me
30
+ color: primary
31
+ variant: solid
32
+
33
+ - id: tooltip_html
34
+ type: Tooltip
35
+ layout:
36
+ flex: 0 0 auto
37
+ properties:
38
+ title: '<b>Bold</b> and <em>italic</em> text'
39
+ blocks:
40
+ - id: tooltip_html_btn
41
+ type: Button
42
+ layout:
43
+ flex: 0 0 auto
44
+ properties:
45
+ title: HTML content
46
+ color: primary
47
+ variant: outlined
48
+
49
+ - id: tooltip_long
50
+ type: Tooltip
51
+ layout:
52
+ flex: 0 0 auto
53
+ properties:
54
+ title: This is a longer tooltip message that demonstrates how the tooltip wraps text when the content exceeds the default maximum width.
55
+ blocks:
56
+ - id: tooltip_long_btn
57
+ type: Button
58
+ layout:
59
+ flex: 0 0 auto
60
+ properties:
61
+ title: Long text
62
+ color: default
63
+ variant: outlined
64
+
65
+ - title: Placements
66
+ blocks:
67
+ - id: tooltip_placement_label_top
68
+ type: Markdown
69
+ properties:
70
+ content: '**Top placements:**'
71
+ - id: tooltip_placement_top_row
72
+ type: Box
73
+ layout:
74
+ gap: 8
75
+ justify: center
76
+ blocks:
77
+ - id: tooltip_topLeft
78
+ type: Tooltip
79
+ layout:
80
+ flex: 0 0 auto
81
+ properties:
82
+ title: topLeft
83
+ placement: topLeft
84
+ blocks:
85
+ - id: tooltip_topLeft_btn
86
+ type: Button
87
+ layout:
88
+ flex: 0 0 auto
89
+ properties:
90
+ title: topLeft
91
+ color: default
92
+ variant: outlined
93
+ size: small
94
+ - id: tooltip_top
95
+ type: Tooltip
96
+ layout:
97
+ flex: 0 0 auto
98
+ properties:
99
+ title: top
100
+ placement: top
101
+ blocks:
102
+ - id: tooltip_top_btn
103
+ type: Button
104
+ layout:
105
+ flex: 0 0 auto
106
+ properties:
107
+ title: top
108
+ color: primary
109
+ variant: solid
110
+ size: small
111
+ - id: tooltip_topRight
112
+ type: Tooltip
113
+ layout:
114
+ flex: 0 0 auto
115
+ properties:
116
+ title: topRight
117
+ placement: topRight
118
+ blocks:
119
+ - id: tooltip_topRight_btn
120
+ type: Button
121
+ layout:
122
+ flex: 0 0 auto
123
+ properties:
124
+ title: topRight
125
+ color: default
126
+ variant: outlined
127
+ size: small
128
+
129
+ - id: tooltip_placement_label_bottom
130
+ type: Markdown
131
+ properties:
132
+ content: '**Bottom placements:**'
133
+ - id: tooltip_placement_bottom_row
134
+ type: Box
135
+ layout:
136
+ gap: 8
137
+ justify: center
138
+ blocks:
139
+ - id: tooltip_bottomLeft
140
+ type: Tooltip
141
+ layout:
142
+ flex: 0 0 auto
143
+ properties:
144
+ title: bottomLeft
145
+ placement: bottomLeft
146
+ blocks:
147
+ - id: tooltip_bottomLeft_btn
148
+ type: Button
149
+ layout:
150
+ flex: 0 0 auto
151
+ properties:
152
+ title: bottomLeft
153
+ color: default
154
+ variant: outlined
155
+ size: small
156
+ - id: tooltip_bottom
157
+ type: Tooltip
158
+ layout:
159
+ flex: 0 0 auto
160
+ properties:
161
+ title: bottom
162
+ placement: bottom
163
+ blocks:
164
+ - id: tooltip_bottom_btn
165
+ type: Button
166
+ layout:
167
+ flex: 0 0 auto
168
+ properties:
169
+ title: bottom
170
+ color: primary
171
+ variant: solid
172
+ size: small
173
+ - id: tooltip_bottomRight
174
+ type: Tooltip
175
+ layout:
176
+ flex: 0 0 auto
177
+ properties:
178
+ title: bottomRight
179
+ placement: bottomRight
180
+ blocks:
181
+ - id: tooltip_bottomRight_btn
182
+ type: Button
183
+ layout:
184
+ flex: 0 0 auto
185
+ properties:
186
+ title: bottomRight
187
+ color: default
188
+ variant: outlined
189
+ size: small
190
+
191
+ - id: tooltip_placement_label_left
192
+ type: Markdown
193
+ properties:
194
+ content: '**Left placements:**'
195
+ - id: tooltip_placement_left_row
196
+ type: Box
197
+ layout:
198
+ gap: 8
199
+ blocks:
200
+ - id: tooltip_left
201
+ type: Tooltip
202
+ layout:
203
+ flex: 0 0 auto
204
+ properties:
205
+ title: left
206
+ placement: left
207
+ blocks:
208
+ - id: tooltip_left_btn
209
+ type: Button
210
+ layout:
211
+ flex: 0 0 auto
212
+ properties:
213
+ title: left
214
+ color: primary
215
+ variant: solid
216
+ size: small
217
+ - id: tooltip_leftTop
218
+ type: Tooltip
219
+ layout:
220
+ flex: 0 0 auto
221
+ properties:
222
+ title: leftTop
223
+ placement: leftTop
224
+ blocks:
225
+ - id: tooltip_leftTop_btn
226
+ type: Button
227
+ layout:
228
+ flex: 0 0 auto
229
+ properties:
230
+ title: leftTop
231
+ color: default
232
+ variant: outlined
233
+ size: small
234
+ - id: tooltip_leftBottom
235
+ type: Tooltip
236
+ layout:
237
+ flex: 0 0 auto
238
+ properties:
239
+ title: leftBottom
240
+ placement: leftBottom
241
+ blocks:
242
+ - id: tooltip_leftBottom_btn
243
+ type: Button
244
+ layout:
245
+ flex: 0 0 auto
246
+ properties:
247
+ title: leftBottom
248
+ color: default
249
+ variant: outlined
250
+ size: small
251
+
252
+ - id: tooltip_placement_label_right
253
+ type: Markdown
254
+ properties:
255
+ content: '**Right placements:**'
256
+ - id: tooltip_placement_right_row
257
+ type: Box
258
+ layout:
259
+ gap: 8
260
+ blocks:
261
+ - id: tooltip_right
262
+ type: Tooltip
263
+ layout:
264
+ flex: 0 0 auto
265
+ properties:
266
+ title: right
267
+ placement: right
268
+ blocks:
269
+ - id: tooltip_right_btn
270
+ type: Button
271
+ layout:
272
+ flex: 0 0 auto
273
+ properties:
274
+ title: right
275
+ color: primary
276
+ variant: solid
277
+ size: small
278
+ - id: tooltip_rightTop
279
+ type: Tooltip
280
+ layout:
281
+ flex: 0 0 auto
282
+ properties:
283
+ title: rightTop
284
+ placement: rightTop
285
+ blocks:
286
+ - id: tooltip_rightTop_btn
287
+ type: Button
288
+ layout:
289
+ flex: 0 0 auto
290
+ properties:
291
+ title: rightTop
292
+ color: default
293
+ variant: outlined
294
+ size: small
295
+ - id: tooltip_rightBottom
296
+ type: Tooltip
297
+ layout:
298
+ flex: 0 0 auto
299
+ properties:
300
+ title: rightBottom
301
+ placement: rightBottom
302
+ blocks:
303
+ - id: tooltip_rightBottom_btn
304
+ type: Button
305
+ layout:
306
+ flex: 0 0 auto
307
+ properties:
308
+ title: rightBottom
309
+ color: default
310
+ variant: outlined
311
+ size: small
312
+
313
+ - title: Trigger Modes
314
+ blocks:
315
+ - id: tooltip_trigger_hover
316
+ type: Tooltip
317
+ layout:
318
+ flex: 0 0 auto
319
+ properties:
320
+ title: Triggered by hover
321
+ trigger: hover
322
+ blocks:
323
+ - id: tooltip_trigger_hover_btn
324
+ type: Button
325
+ layout:
326
+ flex: 0 0 auto
327
+ properties:
328
+ title: Hover (default)
329
+ color: primary
330
+ variant: solid
331
+ - id: tooltip_trigger_click
332
+ type: Tooltip
333
+ layout:
334
+ flex: 0 0 auto
335
+ properties:
336
+ title: Triggered by click
337
+ trigger: click
338
+ blocks:
339
+ - id: tooltip_trigger_click_btn
340
+ type: Button
341
+ layout:
342
+ flex: 0 0 auto
343
+ properties:
344
+ title: Click
345
+ color: primary
346
+ variant: outlined
347
+ - id: tooltip_trigger_focus
348
+ type: Tooltip
349
+ layout:
350
+ flex: 0 0 auto
351
+ properties:
352
+ title: Triggered by focus
353
+ trigger: focus
354
+ blocks:
355
+ - id: tooltip_trigger_focus_btn
356
+ type: Button
357
+ layout:
358
+ flex: 0 0 auto
359
+ properties:
360
+ title: Focus (tab to me)
361
+ color: primary
362
+ variant: dashed
363
+
364
+ - title: Preset Colors
365
+ blocks:
366
+ - id: tooltip_color_row
367
+ type: Box
368
+ layout:
369
+ gap: 8
370
+ blocks:
371
+ - id: tooltip_color_blue
372
+ type: Tooltip
373
+ layout:
374
+ flex: 0 0 auto
375
+ properties:
376
+ title: blue
377
+ color: blue
378
+ blocks:
379
+ - id: tooltip_color_blue_tag
380
+ type: Tag
381
+ properties:
382
+ title: blue
383
+ color: blue
384
+ - id: tooltip_color_purple
385
+ type: Tooltip
386
+ layout:
387
+ flex: 0 0 auto
388
+ properties:
389
+ title: purple
390
+ color: purple
391
+ blocks:
392
+ - id: tooltip_color_purple_tag
393
+ type: Tag
394
+ properties:
395
+ title: purple
396
+ color: purple
397
+ - id: tooltip_color_cyan
398
+ type: Tooltip
399
+ layout:
400
+ flex: 0 0 auto
401
+ properties:
402
+ title: cyan
403
+ color: cyan
404
+ blocks:
405
+ - id: tooltip_color_cyan_tag
406
+ type: Tag
407
+ properties:
408
+ title: cyan
409
+ color: cyan
410
+ - id: tooltip_color_green
411
+ type: Tooltip
412
+ layout:
413
+ flex: 0 0 auto
414
+ properties:
415
+ title: green
416
+ color: green
417
+ blocks:
418
+ - id: tooltip_color_green_tag
419
+ type: Tag
420
+ properties:
421
+ title: green
422
+ color: green
423
+ - id: tooltip_color_red
424
+ type: Tooltip
425
+ layout:
426
+ flex: 0 0 auto
427
+ properties:
428
+ title: red
429
+ color: red
430
+ blocks:
431
+ - id: tooltip_color_red_tag
432
+ type: Tag
433
+ properties:
434
+ title: red
435
+ color: red
436
+
437
+ - id: tooltip_color_custom_row
438
+ type: Box
439
+ layout:
440
+ gap: 8
441
+ blocks:
442
+ - id: tooltip_color_hex1
443
+ type: Tooltip
444
+ layout:
445
+ flex: 0 0 auto
446
+ properties:
447
+ title: 'Custom color: #ff6b6b'
448
+ color: '#ff6b6b'
449
+ blocks:
450
+ - id: tooltip_color_hex1_tag
451
+ type: Tag
452
+ properties:
453
+ title: '#ff6b6b'
454
+ - id: tooltip_color_hex2
455
+ type: Tooltip
456
+ layout:
457
+ flex: 0 0 auto
458
+ properties:
459
+ title: 'Custom color: #20c997'
460
+ color: '#20c997'
461
+ blocks:
462
+ - id: tooltip_color_hex2_tag
463
+ type: Tag
464
+ properties:
465
+ title: '#20c997'
466
+ - id: tooltip_color_hex3
467
+ type: Tooltip
468
+ layout:
469
+ flex: 0 0 auto
470
+ properties:
471
+ title: 'Custom color: #4c6ef5'
472
+ color: '#4c6ef5'
473
+ blocks:
474
+ - id: tooltip_color_hex3_tag
475
+ type: Tag
476
+ properties:
477
+ title: '#4c6ef5'
478
+
479
+ - title: Arrow Point at Center
480
+ blocks:
481
+ - id: tooltip_arrow_default
482
+ type: Tooltip
483
+ layout:
484
+ flex: 0 0 auto
485
+ properties:
486
+ title: Arrow at edge (default)
487
+ placement: topLeft
488
+ arrowPointAtCenter: false
489
+ blocks:
490
+ - id: tooltip_arrow_default_btn
491
+ type: Button
492
+ layout:
493
+ flex: 0 0 auto
494
+ properties:
495
+ title: Default arrow
496
+ color: default
497
+ variant: outlined
498
+ - id: tooltip_arrow_center
499
+ type: Tooltip
500
+ layout:
501
+ flex: 0 0 auto
502
+ properties:
503
+ title: Arrow at center
504
+ placement: topLeft
505
+ arrowPointAtCenter: true
506
+ blocks:
507
+ - id: tooltip_arrow_center_btn
508
+ type: Button
509
+ layout:
510
+ flex: 0 0 auto
511
+ properties:
512
+ title: Arrow at center
513
+ color: primary
514
+ variant: solid
515
+
516
+ - title: Auto Adjust Overflow
517
+ blocks:
518
+ - id: tooltip_overflow_on
519
+ type: Tooltip
520
+ layout:
521
+ flex: 0 0 auto
522
+ properties:
523
+ title: This tooltip auto-adjusts when near the viewport edge
524
+ autoAdjustOverflow: true
525
+ placement: top
526
+ blocks:
527
+ - id: tooltip_overflow_on_btn
528
+ type: Button
529
+ layout:
530
+ flex: 0 0 auto
531
+ properties:
532
+ title: Auto adjust (default)
533
+ color: primary
534
+ variant: solid
535
+ - id: tooltip_overflow_off
536
+ type: Tooltip
537
+ layout:
538
+ flex: 0 0 auto
539
+ properties:
540
+ title: This tooltip stays in position even near viewport edges
541
+ autoAdjustOverflow: false
542
+ placement: top
543
+ blocks:
544
+ - id: tooltip_overflow_off_btn
545
+ type: Button
546
+ layout:
547
+ flex: 0 0 auto
548
+ properties:
549
+ title: No auto adjust
550
+ color: default
551
+ variant: outlined
552
+
553
+ - title: Delay Settings
554
+ blocks:
555
+ - id: tooltip_delay_fast
556
+ type: Tooltip
557
+ layout:
558
+ flex: 0 0 auto
559
+ properties:
560
+ title: Instant tooltip
561
+ mouseEnterDelay: 0
562
+ mouseLeaveDelay: 0
563
+ blocks:
564
+ - id: tooltip_delay_fast_btn
565
+ type: Button
566
+ layout:
567
+ flex: 0 0 auto
568
+ properties:
569
+ title: No delay
570
+ color: primary
571
+ variant: solid
572
+ - id: tooltip_delay_slow_enter
573
+ type: Tooltip
574
+ layout:
575
+ flex: 0 0 auto
576
+ properties:
577
+ title: This tooltip has a 1 second enter delay
578
+ mouseEnterDelay: 1
579
+ blocks:
580
+ - id: tooltip_delay_slow_enter_btn
581
+ type: Button
582
+ layout:
583
+ flex: 0 0 auto
584
+ properties:
585
+ title: 1s enter delay
586
+ color: primary
587
+ variant: outlined
588
+ - id: tooltip_delay_slow_leave
589
+ type: Tooltip
590
+ layout:
591
+ flex: 0 0 auto
592
+ properties:
593
+ title: This tooltip stays 2 seconds after mouse leaves
594
+ mouseLeaveDelay: 2
595
+ blocks:
596
+ - id: tooltip_delay_slow_leave_btn
597
+ type: Button
598
+ layout:
599
+ flex: 0 0 auto
600
+ properties:
601
+ title: 2s leave delay
602
+ color: primary
603
+ variant: dashed
604
+
605
+ - title: Default Open and Destroy on Hide
606
+ blocks:
607
+ - id: tooltip_default_open
608
+ type: Tooltip
609
+ layout:
610
+ flex: 0 0 auto
611
+ properties:
612
+ title: I am open by default
613
+ defaultOpen: true
614
+ placement: right
615
+ blocks:
616
+ - id: tooltip_default_open_btn
617
+ type: Button
618
+ layout:
619
+ flex: 0 0 auto
620
+ properties:
621
+ title: Visible by default
622
+ color: green
623
+ variant: solid
624
+ - id: tooltip_destroy_on_hide
625
+ type: Tooltip
626
+ layout:
627
+ flex: 0 0 auto
628
+ properties:
629
+ title: This tooltip DOM is destroyed when hidden
630
+ destroyTooltipOnHide: true
631
+ blocks:
632
+ - id: tooltip_destroy_on_hide_btn
633
+ type: Button
634
+ layout:
635
+ flex: 0 0 auto
636
+ properties:
637
+ title: Destroy on hide
638
+ color: default
639
+ variant: outlined
640
+
641
+ - title: Z-Index
642
+ blocks:
643
+ - id: tooltip_zindex_high
644
+ type: Tooltip
645
+ layout:
646
+ flex: 0 0 auto
647
+ properties:
648
+ title: High z-index tooltip (2000)
649
+ zIndex: 2000
650
+ blocks:
651
+ - id: tooltip_zindex_high_btn
652
+ type: Button
653
+ layout:
654
+ flex: 0 0 auto
655
+ properties:
656
+ title: zIndex 2000
657
+ color: primary
658
+ variant: solid
659
+
660
+ - title: On Various Elements
661
+ blocks:
662
+ - id: tooltip_on_text
663
+ type: Tooltip
664
+ layout:
665
+ flex: 0 0 auto
666
+ properties:
667
+ title: Tooltip on a paragraph
668
+ blocks:
669
+ - id: tooltip_on_text_p
670
+ type: Paragraph
671
+ properties:
672
+ content: Hover over this text to see the tooltip.
673
+ - id: tooltip_on_tag
674
+ type: Tooltip
675
+ layout:
676
+ flex: 0 0 auto
677
+ properties:
678
+ title: Tooltip on a tag
679
+ blocks:
680
+ - id: tooltip_on_tag_el
681
+ type: Tag
682
+ properties:
683
+ title: Hover tag
684
+ color: blue
685
+ - id: tooltip_on_icon_btn
686
+ type: Tooltip
687
+ layout:
688
+ flex: 0 0 auto
689
+ properties:
690
+ title: Delete this item
691
+ placement: bottom
692
+ blocks:
693
+ - id: tooltip_on_icon_btn_el
694
+ type: Button
695
+ layout:
696
+ flex: 0 0 auto
697
+ properties:
698
+ icon: AiOutlineDelete
699
+ hideTitle: true
700
+ color: danger
701
+ variant: text
702
+
703
+ - title: onOpenChange Event
704
+ blocks:
705
+ - id: tooltip_event_open_change
706
+ type: Tooltip
707
+ layout:
708
+ flex: 0 0 auto
709
+ properties:
710
+ title: This tooltip fires an event on open/close
711
+ events:
712
+ onOpenChange:
713
+ - id: tooltip_event_display_message
714
+ type: DisplayMessage
715
+ params:
716
+ content: Tooltip visibility changed!
717
+ duration: 2
718
+ blocks:
719
+ - id: tooltip_event_open_change_btn
720
+ type: Button
721
+ layout:
722
+ flex: 0 0 auto
723
+ properties:
724
+ title: Hover to trigger event
725
+ color: primary
726
+ variant: solid
727
+ - id: tooltip_event_set_state
728
+ type: Tooltip
729
+ layout:
730
+ flex: 0 0 auto
731
+ properties:
732
+ title: Tracks tooltip state
733
+ trigger: click
734
+ events:
735
+ onOpenChange:
736
+ - id: tooltip_event_set_state_action
737
+ type: SetState
738
+ params:
739
+ tooltip_was_toggled: true
740
+ blocks:
741
+ - id: tooltip_event_set_state_btn
742
+ type: Button
743
+ layout:
744
+ flex: 0 0 auto
745
+ properties:
746
+ title: Click to toggle and set state
747
+ color: primary
748
+ variant: outlined
749
+
750
+ - title: Overlay Style
751
+ blocks:
752
+ - id: tooltip_overlay_style
753
+ type: Tooltip
754
+ layout:
755
+ flex: 0 0 auto
756
+ properties:
757
+ title: Tooltip with custom overlay style
758
+ overlayStyle:
759
+ boxShadow: 0 4px 12px rgba(0, 0, 0, 0.3)
760
+ blocks:
761
+ - id: tooltip_overlay_style_btn
762
+ type: Button
763
+ layout:
764
+ flex: 0 0 auto
765
+ properties:
766
+ title: Custom overlay shadow
767
+ color: primary
768
+ variant: solid
769
+
770
+ - title: Theme Token Overrides
771
+ blocks:
772
+ - id: tooltip_theme_large_radius
773
+ type: Tooltip
774
+ layout:
775
+ flex: 0 0 auto
776
+ properties:
777
+ title: Large radius tooltip
778
+ theme:
779
+ borderRadius: 16
780
+ blocks:
781
+ - id: tooltip_theme_large_radius_btn
782
+ type: Button
783
+ layout:
784
+ flex: 0 0 auto
785
+ properties:
786
+ title: Large radius
787
+ color: primary
788
+ variant: solid
789
+ - id: tooltip_theme_bg
790
+ type: Tooltip
791
+ layout:
792
+ flex: 0 0 auto
793
+ properties:
794
+ title: Custom background and text color
795
+ theme:
796
+ colorBgSpotlight: '#2d3436'
797
+ colorTextLightSolid: '#74b9ff'
798
+ blocks:
799
+ - id: tooltip_theme_bg_btn
800
+ type: Button
801
+ layout:
802
+ flex: 0 0 auto
803
+ properties:
804
+ title: Custom colors
805
+ color: primary
806
+ variant: outlined
807
+ - id: tooltip_theme_font
808
+ type: Tooltip
809
+ layout:
810
+ flex: 0 0 auto
811
+ properties:
812
+ title: Larger font size and line height
813
+ theme:
814
+ fontSize: 18
815
+ lineHeight: 2
816
+ blocks:
817
+ - id: tooltip_theme_font_btn
818
+ type: Button
819
+ layout:
820
+ flex: 0 0 auto
821
+ properties:
822
+ title: Large font
823
+ color: primary
824
+ variant: dashed
825
+ - id: tooltip_theme_wide
826
+ type: Tooltip
827
+ layout:
828
+ flex: 0 0 auto
829
+ properties:
830
+ title: This tooltip has a wider max width so longer text can display on a single line without wrapping.
831
+ theme:
832
+ maxWidth: 500
833
+ blocks:
834
+ - id: tooltip_theme_wide_btn
835
+ type: Button
836
+ layout:
837
+ flex: 0 0 auto
838
+ properties:
839
+ title: Wide tooltip (500px)
840
+ color: default
841
+ variant: outlined
842
+ - id: tooltip_theme_compact
843
+ type: Tooltip
844
+ layout:
845
+ flex: 0 0 auto
846
+ properties:
847
+ title: Compact tooltip
848
+ theme:
849
+ paddingXS: 4
850
+ controlHeight: 24
851
+ fontSize: 12
852
+ blocks:
853
+ - id: tooltip_theme_compact_btn
854
+ type: Button
855
+ layout:
856
+ flex: 0 0 auto
857
+ properties:
858
+ title: Compact theme
859
+ color: default
860
+ variant: dashed
861
+ - id: tooltip_theme_zindex
862
+ type: Tooltip
863
+ layout:
864
+ flex: 0 0 auto
865
+ properties:
866
+ title: Custom z-index via theme
867
+ theme:
868
+ zIndexPopup: 2000
869
+ blocks:
870
+ - id: tooltip_theme_zindex_btn
871
+ type: Button
872
+ layout:
873
+ flex: 0 0 auto
874
+ properties:
875
+ title: Theme z-index
876
+ color: default
877
+ variant: outlined
878
+
879
+ - title: Style and CSS Classes
880
+ blocks:
881
+ - id: tooltip_style_element
882
+ type: Tooltip
883
+ layout:
884
+ flex: 0 0 auto
885
+ properties:
886
+ title: Styled with element CSS key
887
+ style:
888
+ .element:
889
+ cursor: help
890
+ blocks:
891
+ - id: tooltip_style_element_p
892
+ type: Paragraph
893
+ properties:
894
+ content: Hover me (help cursor via element style)
895
+ - id: tooltip_style_inner
896
+ type: Tooltip
897
+ layout:
898
+ flex: 0 0 auto
899
+ properties:
900
+ title: Custom inner styling
901
+ style:
902
+ .inner:
903
+ backgroundColor: '#1a1a2e'
904
+ color: '#e94560'
905
+ borderRadius: 12
906
+ padding: '12px 20px'
907
+ fontSize: 16
908
+ blocks:
909
+ - id: tooltip_style_inner_btn
910
+ type: Button
911
+ layout:
912
+ flex: 0 0 auto
913
+ properties:
914
+ title: Custom inner style
915
+ color: primary
916
+ variant: solid
917
+ - id: tooltip_class_element
918
+ type: Tooltip
919
+ layout:
920
+ flex: 0 0 auto
921
+ properties:
922
+ title: Tailwind on element wrapper
923
+ class:
924
+ element: cursor-help
925
+ blocks:
926
+ - id: tooltip_class_element_text
927
+ type: Paragraph
928
+ properties:
929
+ content: Hover me (Tailwind element class)
930
+ - id: tooltip_class_inner
931
+ type: Tooltip
932
+ layout:
933
+ flex: 0 0 auto
934
+ properties:
935
+ title: Tailwind on inner popup
936
+ class:
937
+ inner: text-lg font-bold
938
+ blocks:
939
+ - id: tooltip_class_inner_btn
940
+ type: Button
941
+ layout:
942
+ flex: 0 0 auto
943
+ properties:
944
+ title: Tailwind inner class
945
+ color: primary
946
+ variant: outlined
947
+
948
+ - title: Tooltip in Data Table Header
949
+ blocks:
950
+ - id: tooltip_table_header_card
951
+ type: Card
952
+ properties:
953
+ title: Monthly Sales Report
954
+ size: small
955
+ blocks:
956
+ - id: tooltip_table_header_row
957
+ type: Box
958
+ layout:
959
+ gap: 0
960
+ direction: column
961
+ blocks:
962
+ - id: tooltip_table_header_labels
963
+ type: Box
964
+ class: bg-bg-layout px-4 py-2 border-b border-border
965
+ layout:
966
+ gap: 0
967
+ blocks:
968
+ - id: tooltip_table_hdr_product
969
+ type: Tooltip
970
+ layout:
971
+ flex: 2 1 0
972
+ properties:
973
+ title: The product name as listed in the inventory system
974
+ placement: top
975
+ blocks:
976
+ - id: tooltip_table_hdr_product_text
977
+ type: Paragraph
978
+ class: font-semibold text-text-secondary text-sm m-0
979
+ properties:
980
+ content: Product
981
+ - id: tooltip_table_hdr_revenue
982
+ type: Tooltip
983
+ layout:
984
+ flex: 1 1 0
985
+ properties:
986
+ title: Total revenue after discounts and returns
987
+ placement: top
988
+ blocks:
989
+ - id: tooltip_table_hdr_revenue_text
990
+ type: Paragraph
991
+ class: font-semibold text-text-secondary text-sm m-0
992
+ properties:
993
+ content: Revenue
994
+ - id: tooltip_table_hdr_units
995
+ type: Tooltip
996
+ layout:
997
+ flex: 1 1 0
998
+ properties:
999
+ title: Number of individual units sold this month
1000
+ placement: top
1001
+ blocks:
1002
+ - id: tooltip_table_hdr_units_text
1003
+ type: Paragraph
1004
+ class: font-semibold text-text-secondary text-sm m-0
1005
+ properties:
1006
+ content: Units Sold
1007
+ - id: tooltip_table_row_1
1008
+ type: Box
1009
+ class: px-4 py-2 border-b border-border
1010
+ layout:
1011
+ gap: 0
1012
+ blocks:
1013
+ - id: tooltip_table_row_1_product
1014
+ type: Paragraph
1015
+ layout:
1016
+ flex: 2 1 0
1017
+ class: text-sm m-0
1018
+ properties:
1019
+ content: Widget Pro
1020
+ - id: tooltip_table_row_1_revenue
1021
+ type: Paragraph
1022
+ layout:
1023
+ flex: 1 1 0
1024
+ class: text-sm m-0
1025
+ properties:
1026
+ content: $12,450
1027
+ - id: tooltip_table_row_1_units
1028
+ type: Paragraph
1029
+ layout:
1030
+ flex: 1 1 0
1031
+ class: text-sm m-0
1032
+ properties:
1033
+ content: '342'
1034
+ - id: tooltip_table_row_2
1035
+ type: Box
1036
+ class: px-4 py-2
1037
+ layout:
1038
+ gap: 0
1039
+ blocks:
1040
+ - id: tooltip_table_row_2_product
1041
+ type: Paragraph
1042
+ layout:
1043
+ flex: 2 1 0
1044
+ class: text-sm m-0
1045
+ properties:
1046
+ content: Gadget X
1047
+ - id: tooltip_table_row_2_revenue
1048
+ type: Paragraph
1049
+ layout:
1050
+ flex: 1 1 0
1051
+ class: text-sm m-0
1052
+ properties:
1053
+ content: $8,230
1054
+ - id: tooltip_table_row_2_units
1055
+ type: Paragraph
1056
+ layout:
1057
+ flex: 1 1 0
1058
+ class: text-sm m-0
1059
+ properties:
1060
+ content: '189'
1061
+
1062
+ - title: Tooltip on Form Labels
1063
+ blocks:
1064
+ - id: tooltip_form_card
1065
+ type: Card
1066
+ properties:
1067
+ title: User Profile Settings
1068
+ blocks:
1069
+ - id: tooltip_form_username
1070
+ type: TextInput
1071
+ properties:
1072
+ label:
1073
+ title: Username
1074
+ extra:
1075
+ - id: tooltip_form_username_help
1076
+ type: Tooltip
1077
+ layout:
1078
+ flex: 0 0 auto
1079
+ properties:
1080
+ title: Your unique username. Must be 3-20 characters, letters and numbers only.
1081
+ placement: right
1082
+ blocks:
1083
+ - id: tooltip_form_username_icon
1084
+ type: Icon
1085
+ layout:
1086
+ flex: 0 0 auto
1087
+ properties:
1088
+ name: AiOutlineQuestionCircle
1089
+ size: 14
1090
+ color: '#8c8c8c'
1091
+ placeholder: Enter your username
1092
+ - id: tooltip_form_email
1093
+ type: TextInput
1094
+ properties:
1095
+ label:
1096
+ title: Email Address
1097
+ extra:
1098
+ - id: tooltip_form_email_help
1099
+ type: Tooltip
1100
+ layout:
1101
+ flex: 0 0 auto
1102
+ properties:
1103
+ title: We will send account notifications to this address. You can change it at any time.
1104
+ placement: right
1105
+ blocks:
1106
+ - id: tooltip_form_email_icon
1107
+ type: Icon
1108
+ layout:
1109
+ flex: 0 0 auto
1110
+ properties:
1111
+ name: AiOutlineQuestionCircle
1112
+ size: 14
1113
+ color: '#8c8c8c'
1114
+ placeholder: Enter your email
1115
+
1116
+ - title: Tooltip on Dashboard Metrics
1117
+ blocks:
1118
+ - id: tooltip_dashboard_row
1119
+ type: Box
1120
+ layout:
1121
+ gap: 16
1122
+ blocks:
1123
+ - id: tooltip_dashboard_users_card
1124
+ type: Card
1125
+ layout:
1126
+ flex: 1 1 0
1127
+ properties:
1128
+ size: small
1129
+ blocks:
1130
+ - id: tooltip_dashboard_users_header
1131
+ type: Box
1132
+ layout:
1133
+ gap: 8
1134
+ align: center
1135
+ blocks:
1136
+ - id: tooltip_dashboard_users_title
1137
+ type: Paragraph
1138
+ layout:
1139
+ flex: 1 1 0
1140
+ class: text-text-secondary text-sm m-0
1141
+ properties:
1142
+ content: Active Users
1143
+ - id: tooltip_dashboard_users_info
1144
+ type: Tooltip
1145
+ layout:
1146
+ flex: 0 0 auto
1147
+ properties:
1148
+ title: Users who have logged in at least once in the last 30 days
1149
+ placement: top
1150
+ blocks:
1151
+ - id: tooltip_dashboard_users_info_icon
1152
+ type: Icon
1153
+ layout:
1154
+ flex: 0 0 auto
1155
+ properties:
1156
+ name: AiOutlineInfoCircle
1157
+ size: 14
1158
+ color: '#8c8c8c'
1159
+ - id: tooltip_dashboard_users_stat
1160
+ type: Statistic
1161
+ properties:
1162
+ value: 2847
1163
+ - id: tooltip_dashboard_users_tag
1164
+ type: Tag
1165
+ properties:
1166
+ title: +12.3%
1167
+ color: success
1168
+
1169
+ - id: tooltip_dashboard_revenue_card
1170
+ type: Card
1171
+ layout:
1172
+ flex: 1 1 0
1173
+ properties:
1174
+ size: small
1175
+ blocks:
1176
+ - id: tooltip_dashboard_revenue_header
1177
+ type: Box
1178
+ layout:
1179
+ gap: 8
1180
+ align: center
1181
+ blocks:
1182
+ - id: tooltip_dashboard_revenue_title
1183
+ type: Paragraph
1184
+ layout:
1185
+ flex: 1 1 0
1186
+ class: text-text-secondary text-sm m-0
1187
+ properties:
1188
+ content: Monthly Revenue
1189
+ - id: tooltip_dashboard_revenue_info
1190
+ type: Tooltip
1191
+ layout:
1192
+ flex: 0 0 auto
1193
+ properties:
1194
+ title: Gross revenue before taxes and refunds for the current billing period
1195
+ placement: top
1196
+ blocks:
1197
+ - id: tooltip_dashboard_revenue_info_icon
1198
+ type: Icon
1199
+ layout:
1200
+ flex: 0 0 auto
1201
+ properties:
1202
+ name: AiOutlineInfoCircle
1203
+ size: 14
1204
+ color: '#8c8c8c'
1205
+ - id: tooltip_dashboard_revenue_stat
1206
+ type: Statistic
1207
+ properties:
1208
+ value: 64250
1209
+ prefix: $
1210
+ - id: tooltip_dashboard_revenue_tag
1211
+ type: Tag
1212
+ properties:
1213
+ title: +8.7%
1214
+ color: success