@lowdefy/docs-content 0.0.0-experimental-20260710073520

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 (304) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +20 -0
  3. package/content/actions/callapi.md +66 -0
  4. package/content/actions/callmethod.md +41 -0
  5. package/content/actions/copytoclipboard.md +32 -0
  6. package/content/actions/displaymessage.md +53 -0
  7. package/content/actions/downloadcsv.md +89 -0
  8. package/content/actions/fetch.md +50 -0
  9. package/content/actions/geolocationcurrentposition.md +56 -0
  10. package/content/actions/link.md +104 -0
  11. package/content/actions/login.md +85 -0
  12. package/content/actions/logout.md +56 -0
  13. package/content/actions/pdfmake.md +304 -0
  14. package/content/actions/request.md +67 -0
  15. package/content/actions/reset.md +27 -0
  16. package/content/actions/resetvalidation.md +85 -0
  17. package/content/actions/scrollto.md +85 -0
  18. package/content/actions/setdarkmode.md +62 -0
  19. package/content/actions/setfocus.md +33 -0
  20. package/content/actions/setglobal.md +63 -0
  21. package/content/actions/setlocale.md +69 -0
  22. package/content/actions/setstate.md +70 -0
  23. package/content/actions/throw.md +72 -0
  24. package/content/actions/validate.md +87 -0
  25. package/content/actions/wait.md +24 -0
  26. package/content/agents/agent-endpoint-tools.md +190 -0
  27. package/content/agents/agent-mcp-tools.md +124 -0
  28. package/content/agents/agent-multi-agent.md +136 -0
  29. package/content/agents/agent-properties.md +174 -0
  30. package/content/agents/agent-server-hooks.md +336 -0
  31. package/content/agents/agentchat.md +515 -0
  32. package/content/agents/agentconversations.md +148 -0
  33. package/content/concepts/ai-agent-docs.md +190 -0
  34. package/content/concepts/cli.md +213 -0
  35. package/content/concepts/connections-and-requests.md +7 -0
  36. package/content/concepts/custom-html.md +3 -0
  37. package/content/concepts/custom-styling.md +161 -0
  38. package/content/concepts/events-and-actions.md +271 -0
  39. package/content/concepts/hosting-files.md +18 -0
  40. package/content/concepts/i18n.md +320 -0
  41. package/content/concepts/keyboard-shortcuts.md +218 -0
  42. package/content/concepts/layout-overview.md +478 -0
  43. package/content/concepts/lists.md +144 -0
  44. package/content/concepts/logger.md +43 -0
  45. package/content/concepts/lowdefy-schema.md +365 -0
  46. package/content/concepts/menus.md +144 -0
  47. package/content/concepts/module-authoring.md +564 -0
  48. package/content/concepts/modules.md +338 -0
  49. package/content/concepts/operators.md +45 -0
  50. package/content/concepts/overview.md +19 -0
  51. package/content/concepts/references-and-templates.md +207 -0
  52. package/content/concepts/secrets.md +24 -0
  53. package/content/concepts/selectors.md +143 -0
  54. package/content/connections/amazonredshift.md +176 -0
  55. package/content/connections/anthropic.md +232 -0
  56. package/content/connections/awss3.md +313 -0
  57. package/content/connections/azureblobstorage.md +133 -0
  58. package/content/connections/elasticsearch.md +371 -0
  59. package/content/connections/google.md +228 -0
  60. package/content/connections/googlecloudstorage.md +139 -0
  61. package/content/connections/googlesheet.md +313 -0
  62. package/content/connections/knex.md +206 -0
  63. package/content/connections/mariadb.md +177 -0
  64. package/content/connections/mcp.md +134 -0
  65. package/content/connections/mongodb.md +739 -0
  66. package/content/connections/mssql.md +191 -0
  67. package/content/connections/mysql.md +192 -0
  68. package/content/connections/openai-connection.md +228 -0
  69. package/content/connections/postgresql.md +200 -0
  70. package/content/connections/redis.md +116 -0
  71. package/content/connections/sendgridmail.md +94 -0
  72. package/content/connections/smtp.md +149 -0
  73. package/content/connections/sqlite.md +187 -0
  74. package/content/connections/stripe.md +115 -0
  75. package/content/container-blocks/affix.md +413 -0
  76. package/content/container-blocks/alert.md +937 -0
  77. package/content/container-blocks/badge.md +1222 -0
  78. package/content/container-blocks/box.md +1453 -0
  79. package/content/container-blocks/card.md +1200 -0
  80. package/content/container-blocks/carousel.md +2247 -0
  81. package/content/container-blocks/collapse.md +1335 -0
  82. package/content/container-blocks/configprovider.md +1070 -0
  83. package/content/container-blocks/confirmmodal.md +1159 -0
  84. package/content/container-blocks/content.md +597 -0
  85. package/content/container-blocks/descriptions.md +870 -0
  86. package/content/container-blocks/drawer.md +1379 -0
  87. package/content/container-blocks/dropdownmenu.md +643 -0
  88. package/content/container-blocks/flex.md +1510 -0
  89. package/content/container-blocks/footer.md +380 -0
  90. package/content/container-blocks/googlemaps.md +546 -0
  91. package/content/container-blocks/googlemapsheatmap.md +607 -0
  92. package/content/container-blocks/googlemapsscript.md +61 -0
  93. package/content/container-blocks/header.md +302 -0
  94. package/content/container-blocks/label.md +739 -0
  95. package/content/container-blocks/layout.md +604 -0
  96. package/content/container-blocks/masonry.md +1090 -0
  97. package/content/container-blocks/mobilemenu.md +1244 -0
  98. package/content/container-blocks/modal.md +1180 -0
  99. package/content/container-blocks/pageheadermenu.md +614 -0
  100. package/content/container-blocks/pagesidebarlayout.md +438 -0
  101. package/content/container-blocks/pagesidermenu.md +651 -0
  102. package/content/container-blocks/popover.md +1421 -0
  103. package/content/container-blocks/result.md +972 -0
  104. package/content/container-blocks/sider.md +1064 -0
  105. package/content/container-blocks/span.md +747 -0
  106. package/content/container-blocks/spinner.md +267 -0
  107. package/content/container-blocks/splitter.md +1735 -0
  108. package/content/container-blocks/tabs.md +1718 -0
  109. package/content/container-blocks/tooltip.md +1274 -0
  110. package/content/container-blocks/watermark.md +515 -0
  111. package/content/controls/for.md +103 -0
  112. package/content/controls/if.md +107 -0
  113. package/content/controls/log.md +50 -0
  114. package/content/controls/parallel.md +71 -0
  115. package/content/controls/parallel_for.md +36 -0
  116. package/content/controls/reject.md +56 -0
  117. package/content/controls/return.md +66 -0
  118. package/content/controls/set_state.md +98 -0
  119. package/content/controls/switch.md +90 -0
  120. package/content/controls/throw.md +79 -0
  121. package/content/controls/try.md +88 -0
  122. package/content/deployment/docker.md +149 -0
  123. package/content/deployment/node-server.md +27 -0
  124. package/content/deployment/vercel.md +101 -0
  125. package/content/display-blocks/aggrid.md +1459 -0
  126. package/content/display-blocks/anchor.md +336 -0
  127. package/content/display-blocks/avatar.md +1154 -0
  128. package/content/display-blocks/breadcrumb.md +517 -0
  129. package/content/display-blocks/button.md +758 -0
  130. package/content/display-blocks/calendar.md +156 -0
  131. package/content/display-blocks/dangeroushtml.md +314 -0
  132. package/content/display-blocks/dangerousmarkdown.md +423 -0
  133. package/content/display-blocks/diffgit.md +44 -0
  134. package/content/display-blocks/difflist.md +225 -0
  135. package/content/display-blocks/diffsidebyside.md +56 -0
  136. package/content/display-blocks/difftimeline.md +94 -0
  137. package/content/display-blocks/divider.md +406 -0
  138. package/content/display-blocks/download.md +60 -0
  139. package/content/display-blocks/dropdownbutton.md +661 -0
  140. package/content/display-blocks/echart.md +418 -0
  141. package/content/display-blocks/floatbutton.md +545 -0
  142. package/content/display-blocks/html.md +311 -0
  143. package/content/display-blocks/icon.md +717 -0
  144. package/content/display-blocks/img.md +479 -0
  145. package/content/display-blocks/markdown.md +520 -0
  146. package/content/display-blocks/markdownwithcode.md +730 -0
  147. package/content/display-blocks/menu.md +1123 -0
  148. package/content/display-blocks/message.md +941 -0
  149. package/content/display-blocks/notification.md +1410 -0
  150. package/content/display-blocks/paragraph.md +643 -0
  151. package/content/display-blocks/progress.md +818 -0
  152. package/content/display-blocks/qrcode.md +519 -0
  153. package/content/display-blocks/s3download.md +240 -0
  154. package/content/display-blocks/search.md +360 -0
  155. package/content/display-blocks/skeleton.md +272 -0
  156. package/content/display-blocks/skeletonavatar.md +222 -0
  157. package/content/display-blocks/skeletonbutton.md +245 -0
  158. package/content/display-blocks/skeletoninput.md +223 -0
  159. package/content/display-blocks/skeletonparagraph.md +201 -0
  160. package/content/display-blocks/statistic.md +485 -0
  161. package/content/display-blocks/steps.md +585 -0
  162. package/content/display-blocks/tag.md +620 -0
  163. package/content/display-blocks/title.md +654 -0
  164. package/content/display-blocks/tour.md +2359 -0
  165. package/content/input-blocks/autocomplete.md +786 -0
  166. package/content/input-blocks/buttonselector.md +964 -0
  167. package/content/input-blocks/checkboxselector.md +765 -0
  168. package/content/input-blocks/checkboxswitch.md +497 -0
  169. package/content/input-blocks/colorselector.md +884 -0
  170. package/content/input-blocks/daterangeselector.md +777 -0
  171. package/content/input-blocks/dateselector.md +693 -0
  172. package/content/input-blocks/datetimeselector.md +791 -0
  173. package/content/input-blocks/inputgallery.md +528 -0
  174. package/content/input-blocks/monthselector.md +717 -0
  175. package/content/input-blocks/multipleselector.md +1337 -0
  176. package/content/input-blocks/numberinput.md +855 -0
  177. package/content/input-blocks/pagination.md +679 -0
  178. package/content/input-blocks/paragraphinput.md +1664 -0
  179. package/content/input-blocks/passwordinput.md +480 -0
  180. package/content/input-blocks/phonenumberinput.md +688 -0
  181. package/content/input-blocks/radioselector.md +820 -0
  182. package/content/input-blocks/ratingslider.md +684 -0
  183. package/content/input-blocks/s3uploadbutton.md +384 -0
  184. package/content/input-blocks/s3uploaddragger.md +305 -0
  185. package/content/input-blocks/s3uploadphoto.md +288 -0
  186. package/content/input-blocks/segmentedselector.md +782 -0
  187. package/content/input-blocks/selector.md +1162 -0
  188. package/content/input-blocks/switch.md +552 -0
  189. package/content/input-blocks/textarea.md +714 -0
  190. package/content/input-blocks/textinput.md +639 -0
  191. package/content/input-blocks/tiptapinput.md +226 -0
  192. package/content/input-blocks/tiptapmentioninput.md +471 -0
  193. package/content/input-blocks/titleinput.md +1094 -0
  194. package/content/input-blocks/treeinput.md +144 -0
  195. package/content/input-blocks/treemultipleselector.md +162 -0
  196. package/content/input-blocks/treeselector.md +185 -0
  197. package/content/input-blocks/upload.md +149 -0
  198. package/content/input-blocks/uploaddragger.md +85 -0
  199. package/content/input-blocks/uploadphoto.md +84 -0
  200. package/content/input-blocks/weekselector.md +630 -0
  201. package/content/list-blocks/controlledlist.md +498 -0
  202. package/content/list-blocks/list.md +529 -0
  203. package/content/list-blocks/listselector.md +301 -0
  204. package/content/list-blocks/masonrylist.md +230 -0
  205. package/content/migration/upgrade-guide.md +106 -0
  206. package/content/migration/v4-to-v5.md +589 -0
  207. package/content/migration/v5-to-v6.md +36 -0
  208. package/content/operators/_actions.md +58 -0
  209. package/content/operators/_and.md +76 -0
  210. package/content/operators/_api.md +254 -0
  211. package/content/operators/_app.md +114 -0
  212. package/content/operators/_args.md +65 -0
  213. package/content/operators/_array.md +331 -0
  214. package/content/operators/_base64.md +49 -0
  215. package/content/operators/_boolean.md +33 -0
  216. package/content/operators/_build.md +166 -0
  217. package/content/operators/_change_case.md +357 -0
  218. package/content/operators/_date.md +415 -0
  219. package/content/operators/_dayjs.md +128 -0
  220. package/content/operators/_diff.md +61 -0
  221. package/content/operators/_divide.md +32 -0
  222. package/content/operators/_eq.md +52 -0
  223. package/content/operators/_event.md +86 -0
  224. package/content/operators/_function.md +52 -0
  225. package/content/operators/_get.md +92 -0
  226. package/content/operators/_global.md +86 -0
  227. package/content/operators/_gt.md +50 -0
  228. package/content/operators/_gte.md +50 -0
  229. package/content/operators/_hash.md +112 -0
  230. package/content/operators/_if.md +30 -0
  231. package/content/operators/_if_none.md +47 -0
  232. package/content/operators/_index.md +48 -0
  233. package/content/operators/_input.md +86 -0
  234. package/content/operators/_intl.md +135 -0
  235. package/content/operators/_item.md +166 -0
  236. package/content/operators/_js.md +113 -0
  237. package/content/operators/_json.md +120 -0
  238. package/content/operators/_jsonata.md +152 -0
  239. package/content/operators/_locale.md +65 -0
  240. package/content/operators/_location.md +40 -0
  241. package/content/operators/_log.md +22 -0
  242. package/content/operators/_lt.md +50 -0
  243. package/content/operators/_lte.md +50 -0
  244. package/content/operators/_math.md +407 -0
  245. package/content/operators/_media.md +83 -0
  246. package/content/operators/_menu.md +62 -0
  247. package/content/operators/_module.md +340 -0
  248. package/content/operators/_mql.md +95 -0
  249. package/content/operators/_ne.md +62 -0
  250. package/content/operators/_not.md +33 -0
  251. package/content/operators/_number.md +159 -0
  252. package/content/operators/_nunjucks.md +117 -0
  253. package/content/operators/_object.md +253 -0
  254. package/content/operators/_operator.md +33 -0
  255. package/content/operators/_or.md +67 -0
  256. package/content/operators/_product.md +45 -0
  257. package/content/operators/_random.md +90 -0
  258. package/content/operators/_ref.md +80 -0
  259. package/content/operators/_regex.md +69 -0
  260. package/content/operators/_request.md +35 -0
  261. package/content/operators/_request_details.md +29 -0
  262. package/content/operators/_secret.md +56 -0
  263. package/content/operators/_state.md +134 -0
  264. package/content/operators/_step.md +98 -0
  265. package/content/operators/_string.md +327 -0
  266. package/content/operators/_subtract.md +24 -0
  267. package/content/operators/_sum.md +45 -0
  268. package/content/operators/_switch.md +37 -0
  269. package/content/operators/_t.md +96 -0
  270. package/content/operators/_theme.md +65 -0
  271. package/content/operators/_type.md +78 -0
  272. package/content/operators/_uri.md +49 -0
  273. package/content/operators/_url_query.md +92 -0
  274. package/content/operators/_user.md +154 -0
  275. package/content/operators/_uuid.md +118 -0
  276. package/content/operators/_var.md +88 -0
  277. package/content/operators/_yaml.md +96 -0
  278. package/content/other/introduction.md +39 -0
  279. package/content/other/next-auth-providers.md +3 -0
  280. package/content/other/updatesession.md +26 -0
  281. package/content/plugins/plugins-actions.md +80 -0
  282. package/content/plugins/plugins-connections.md +98 -0
  283. package/content/plugins/plugins-dev.md +138 -0
  284. package/content/plugins/plugins-introduction.md +29 -0
  285. package/content/plugins/plugins-operators.md +71 -0
  286. package/content/testing/e2e-auth.md +108 -0
  287. package/content/testing/e2e-configuration.md +107 -0
  288. package/content/testing/e2e-getting-started.md +96 -0
  289. package/content/testing/e2e-introduction.md +53 -0
  290. package/content/testing/e2e-mocking.md +155 -0
  291. package/content/testing/e2e-writing-tests.md +214 -0
  292. package/content/tutorial/tutorial-actions-operators.md +222 -0
  293. package/content/tutorial/tutorial-add-blocks.md +86 -0
  294. package/content/tutorial/tutorial-create-page.md +57 -0
  295. package/content/tutorial/tutorial-display-data-page.md +181 -0
  296. package/content/tutorial/tutorial-next-steps.md +53 -0
  297. package/content/tutorial/tutorial-requests-sql.md +22 -0
  298. package/content/tutorial/tutorial-start.md +71 -0
  299. package/content/user-authentication/auth-providers.md +15 -0
  300. package/content/user-authentication/login-and-logout.md +122 -0
  301. package/content/user-authentication/users-introduction.md +31 -0
  302. package/index.json +2281 -0
  303. package/package.json +34 -0
  304. package/scripts/extractAgentDocs.js +130 -0
@@ -0,0 +1,1421 @@
1
+ # Popover
2
+
3
+ Popup card appearing when hovering or clicking a trigger element.
4
+
5
+ This is the popover body content. You can place any blocks here.
6
+
7
+ A popover without a title - just body content.
8
+
9
+ ```yaml
10
+ - id: popover_basic
11
+ type: Popover
12
+ layout:
13
+ flex: 0 0 auto
14
+ properties:
15
+ title: Popover Title
16
+ slots:
17
+ popover:
18
+ blocks:
19
+ - id: popover_basic_content
20
+ type: Paragraph
21
+ properties:
22
+ content: This is the popover body content. You can place any blocks here.
23
+ blocks:
24
+ - id: popover_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
+ - id: popover_no_title
33
+ type: Popover
34
+ layout:
35
+ flex: 0 0 auto
36
+ slots:
37
+ popover:
38
+ blocks:
39
+ - id: popover_no_title_content
40
+ type: Paragraph
41
+ properties:
42
+ content: A popover without a title - just body content.
43
+ blocks:
44
+ - id: popover_no_title_btn
45
+ type: Button
46
+ layout:
47
+ flex: 0 0 auto
48
+ properties:
49
+ title: No title
50
+ color: default
51
+ variant: outlined
52
+ ```
53
+
54
+ Popover placed at top.
55
+
56
+ Popover placed at topLeft.
57
+
58
+ Popover placed at topRight.
59
+
60
+ Popover placed at left.
61
+
62
+ Popover placed at right.
63
+
64
+ Popover placed at bottom (default).
65
+
66
+ ```yaml
67
+ - id: popover_place_row_top
68
+ type: Box
69
+ layout:
70
+ gap: 8
71
+ justify: center
72
+ blocks:
73
+ - id: popover_pl_top
74
+ type: Popover
75
+ layout:
76
+ flex: 0 0 auto
77
+ properties:
78
+ title: Top
79
+ placement: top
80
+ slots:
81
+ popover:
82
+ blocks:
83
+ - id: popover_pl_top_msg
84
+ type: Paragraph
85
+ properties:
86
+ content: Popover placed at top.
87
+ blocks:
88
+ - id: popover_pl_top_btn
89
+ type: Button
90
+ layout:
91
+ flex: 0 0 auto
92
+ properties:
93
+ title: top
94
+ color: primary
95
+ variant: solid
96
+ size: small
97
+ - id: popover_pl_topLeft
98
+ type: Popover
99
+ layout:
100
+ flex: 0 0 auto
101
+ properties:
102
+ title: Top Left
103
+ placement: topLeft
104
+ slots:
105
+ popover:
106
+ blocks:
107
+ - id: popover_pl_topLeft_msg
108
+ type: Paragraph
109
+ properties:
110
+ content: Popover placed at topLeft.
111
+ blocks:
112
+ - id: popover_pl_topLeft_btn
113
+ type: Button
114
+ layout:
115
+ flex: 0 0 auto
116
+ properties:
117
+ title: topLeft
118
+ color: default
119
+ variant: outlined
120
+ size: small
121
+ - id: popover_pl_topRight
122
+ type: Popover
123
+ layout:
124
+ flex: 0 0 auto
125
+ properties:
126
+ title: Top Right
127
+ placement: topRight
128
+ slots:
129
+ popover:
130
+ blocks:
131
+ - id: popover_pl_topRight_msg
132
+ type: Paragraph
133
+ properties:
134
+ content: Popover placed at topRight.
135
+ blocks:
136
+ - id: popover_pl_topRight_btn
137
+ type: Button
138
+ layout:
139
+ flex: 0 0 auto
140
+ properties:
141
+ title: topRight
142
+ color: default
143
+ variant: outlined
144
+ size: small
145
+ - id: popover_place_row_sides
146
+ type: Box
147
+ layout:
148
+ gap: 8
149
+ blocks:
150
+ - id: popover_pl_left
151
+ type: Popover
152
+ layout:
153
+ flex: 0 0 auto
154
+ properties:
155
+ title: Left
156
+ placement: left
157
+ slots:
158
+ popover:
159
+ blocks:
160
+ - id: popover_pl_left_msg
161
+ type: Paragraph
162
+ properties:
163
+ content: Popover placed at left.
164
+ blocks:
165
+ - id: popover_pl_left_btn
166
+ type: Button
167
+ layout:
168
+ flex: 0 0 auto
169
+ properties:
170
+ title: left
171
+ color: primary
172
+ variant: solid
173
+ size: small
174
+ - id: popover_pl_right
175
+ type: Popover
176
+ layout:
177
+ flex: 0 0 auto
178
+ properties:
179
+ title: Right
180
+ placement: right
181
+ slots:
182
+ popover:
183
+ blocks:
184
+ - id: popover_pl_right_msg
185
+ type: Paragraph
186
+ properties:
187
+ content: Popover placed at right.
188
+ blocks:
189
+ - id: popover_pl_right_btn
190
+ type: Button
191
+ layout:
192
+ flex: 0 0 auto
193
+ properties:
194
+ title: right
195
+ color: primary
196
+ variant: outlined
197
+ size: small
198
+ - id: popover_pl_bottom
199
+ type: Popover
200
+ layout:
201
+ flex: 0 0 auto
202
+ properties:
203
+ title: Bottom
204
+ placement: bottom
205
+ slots:
206
+ popover:
207
+ blocks:
208
+ - id: popover_pl_bottom_msg
209
+ type: Paragraph
210
+ properties:
211
+ content: Popover placed at bottom (default).
212
+ blocks:
213
+ - id: popover_pl_bottom_btn
214
+ type: Button
215
+ layout:
216
+ flex: 0 0 auto
217
+ properties:
218
+ title: bottom (default)
219
+ color: default
220
+ variant: outlined
221
+ size: small
222
+ ```
223
+
224
+ This popover appears on hover (default).
225
+
226
+ This popover appears on click. Click outside to close.
227
+
228
+ This popover appears on focus. Tab to the button or click it.
229
+
230
+ ```yaml
231
+ - id: popover_trig_hover
232
+ type: Popover
233
+ layout:
234
+ flex: 0 0 auto
235
+ properties:
236
+ title: Hover Popover
237
+ trigger: hover
238
+ slots:
239
+ popover:
240
+ blocks:
241
+ - id: popover_trig_hover_msg
242
+ type: Paragraph
243
+ properties:
244
+ content: This popover appears on hover (default).
245
+ blocks:
246
+ - id: popover_trig_hover_btn
247
+ type: Button
248
+ layout:
249
+ flex: 0 0 auto
250
+ properties:
251
+ title: Hover (default)
252
+ color: primary
253
+ variant: solid
254
+ - id: popover_trig_click
255
+ type: Popover
256
+ layout:
257
+ flex: 0 0 auto
258
+ properties:
259
+ title: Click Popover
260
+ trigger: click
261
+ slots:
262
+ popover:
263
+ blocks:
264
+ - id: popover_trig_click_msg
265
+ type: Paragraph
266
+ properties:
267
+ content: This popover appears on click. Click outside to close.
268
+ blocks:
269
+ - id: popover_trig_click_btn
270
+ type: Button
271
+ layout:
272
+ flex: 0 0 auto
273
+ properties:
274
+ title: Click me
275
+ color: primary
276
+ variant: outlined
277
+ - id: popover_trig_focus
278
+ type: Popover
279
+ layout:
280
+ flex: 0 0 auto
281
+ properties:
282
+ title: Focus Popover
283
+ trigger: focus
284
+ slots:
285
+ popover:
286
+ blocks:
287
+ - id: popover_trig_focus_msg
288
+ type: Paragraph
289
+ properties:
290
+ content: This popover appears on focus. Tab to the button or click it.
291
+ blocks:
292
+ - id: popover_trig_focus_btn
293
+ type: Button
294
+ layout:
295
+ flex: 0 0 auto
296
+ properties:
297
+ title: Focus (tab to me)
298
+ color: primary
299
+ variant: dashed
300
+ ```
301
+
302
+ Default background color.
303
+
304
+ A warm light yellow background.
305
+
306
+ A cool light blue background.
307
+
308
+ ```yaml
309
+ - id: popover_col_row
310
+ type: Box
311
+ layout:
312
+ gap: 8
313
+ blocks:
314
+ - id: popover_col_default
315
+ type: Popover
316
+ layout:
317
+ flex: 0 0 auto
318
+ properties:
319
+ title: Default Color
320
+ slots:
321
+ popover:
322
+ blocks:
323
+ - id: popover_col_default_msg
324
+ type: Paragraph
325
+ properties:
326
+ content: Default background color.
327
+ blocks:
328
+ - id: popover_col_default_btn
329
+ type: Button
330
+ layout:
331
+ flex: 0 0 auto
332
+ properties:
333
+ title: Default
334
+ color: default
335
+ variant: outlined
336
+ size: small
337
+ - id: popover_col_yellow
338
+ type: Popover
339
+ layout:
340
+ flex: 0 0 auto
341
+ properties:
342
+ title: Light Yellow
343
+ color: "#fffbe6"
344
+ slots:
345
+ popover:
346
+ blocks:
347
+ - id: popover_col_yellow_msg
348
+ type: Paragraph
349
+ properties:
350
+ content: A warm light yellow background.
351
+ blocks:
352
+ - id: popover_col_yellow_btn
353
+ type: Button
354
+ layout:
355
+ flex: 0 0 auto
356
+ properties:
357
+ title: Light Yellow
358
+ color: gold
359
+ variant: outlined
360
+ size: small
361
+ - id: popover_col_blue
362
+ type: Popover
363
+ layout:
364
+ flex: 0 0 auto
365
+ properties:
366
+ title: Light Blue
367
+ color: "#e6f4ff"
368
+ slots:
369
+ popover:
370
+ blocks:
371
+ - id: popover_col_blue_msg
372
+ type: Paragraph
373
+ properties:
374
+ content: A cool light blue background.
375
+ blocks:
376
+ - id: popover_col_blue_btn
377
+ type: Button
378
+ layout:
379
+ flex: 0 0 auto
380
+ properties:
381
+ title: Light Blue
382
+ color: blue
383
+ variant: outlined
384
+ size: small
385
+ ```
386
+
387
+ This popover is open by default when the page loads.
388
+
389
+ ```yaml
390
+ - id: popover_defopen
391
+ type: Popover
392
+ layout:
393
+ flex: 0 0 auto
394
+ properties:
395
+ title: Open by Default
396
+ defaultOpen: true
397
+ placement: right
398
+ slots:
399
+ popover:
400
+ blocks:
401
+ - id: popover_defopen_msg
402
+ type: Paragraph
403
+ properties:
404
+ content: This popover is open by default when the page loads.
405
+ blocks:
406
+ - id: popover_defopen_btn
407
+ type: Button
408
+ layout:
409
+ flex: 0 0 auto
410
+ properties:
411
+ title: Open by default
412
+ color: green
413
+ variant: solid
414
+ ```
415
+
416
+ Repositions automatically near viewport edges (default behavior).
417
+
418
+ Stays in the specified position even near edges.
419
+
420
+ ```yaml
421
+ - id: popover_adj_on
422
+ type: Popover
423
+ layout:
424
+ flex: 0 0 auto
425
+ properties:
426
+ title: Auto Adjust
427
+ autoAdjustOverflow: true
428
+ placement: top
429
+ slots:
430
+ popover:
431
+ blocks:
432
+ - id: popover_adj_on_msg
433
+ type: Paragraph
434
+ properties:
435
+ content: Repositions automatically near viewport edges (default behavior).
436
+ blocks:
437
+ - id: popover_adj_on_btn
438
+ type: Button
439
+ layout:
440
+ flex: 0 0 auto
441
+ properties:
442
+ title: Auto adjust (default)
443
+ color: primary
444
+ variant: solid
445
+ - id: popover_adj_off
446
+ type: Popover
447
+ layout:
448
+ flex: 0 0 auto
449
+ properties:
450
+ title: Fixed Position
451
+ autoAdjustOverflow: false
452
+ placement: top
453
+ slots:
454
+ popover:
455
+ blocks:
456
+ - id: popover_adj_off_msg
457
+ type: Paragraph
458
+ properties:
459
+ content: Stays in the specified position even near edges.
460
+ blocks:
461
+ - id: popover_adj_off_btn
462
+ type: Button
463
+ layout:
464
+ flex: 0 0 auto
465
+ properties:
466
+ title: No auto adjust
467
+ color: default
468
+ variant: outlined
469
+ ```
470
+
471
+ No delay on enter or leave.
472
+
473
+ 1 second delay before showing.
474
+
475
+ Stays visible for 2 seconds after mouse leaves.
476
+
477
+ ```yaml
478
+ - id: popover_del_fast
479
+ type: Popover
480
+ layout:
481
+ flex: 0 0 auto
482
+ properties:
483
+ title: Instant
484
+ mouseEnterDelay: 0
485
+ mouseLeaveDelay: 0
486
+ slots:
487
+ popover:
488
+ blocks:
489
+ - id: popover_del_fast_msg
490
+ type: Paragraph
491
+ properties:
492
+ content: No delay on enter or leave.
493
+ blocks:
494
+ - id: popover_del_fast_btn
495
+ type: Button
496
+ layout:
497
+ flex: 0 0 auto
498
+ properties:
499
+ title: No delay
500
+ color: primary
501
+ variant: solid
502
+ - id: popover_del_slow
503
+ type: Popover
504
+ layout:
505
+ flex: 0 0 auto
506
+ properties:
507
+ title: Slow Enter
508
+ mouseEnterDelay: 1
509
+ slots:
510
+ popover:
511
+ blocks:
512
+ - id: popover_del_slow_msg
513
+ type: Paragraph
514
+ properties:
515
+ content: 1 second delay before showing.
516
+ blocks:
517
+ - id: popover_del_slow_btn
518
+ type: Button
519
+ layout:
520
+ flex: 0 0 auto
521
+ properties:
522
+ title: 1s enter delay
523
+ color: primary
524
+ variant: outlined
525
+ - id: popover_del_sticky
526
+ type: Popover
527
+ layout:
528
+ flex: 0 0 auto
529
+ properties:
530
+ title: Sticky
531
+ mouseLeaveDelay: 2
532
+ slots:
533
+ popover:
534
+ blocks:
535
+ - id: popover_del_sticky_msg
536
+ type: Paragraph
537
+ properties:
538
+ content: Stays visible for 2 seconds after mouse leaves.
539
+ blocks:
540
+ - id: popover_del_sticky_btn
541
+ type: Button
542
+ layout:
543
+ flex: 0 0 auto
544
+ properties:
545
+ title: 2s leave delay
546
+ color: primary
547
+ variant: dashed
548
+ ```
549
+
550
+ This popover has a custom z-index of 2000, useful when layering over modals or drawers.
551
+
552
+ ```yaml
553
+ - id: popover_zindex
554
+ type: Popover
555
+ layout:
556
+ flex: 0 0 auto
557
+ properties:
558
+ title: Custom Z-Index
559
+ zIndex: 2000
560
+ slots:
561
+ popover:
562
+ blocks:
563
+ - id: popover_zindex_msg
564
+ type: Paragraph
565
+ properties:
566
+ content: This popover has a custom z-index of 2000, useful when layering over
567
+ modals or drawers.
568
+ blocks:
569
+ - id: popover_zindex_btn
570
+ type: Button
571
+ layout:
572
+ flex: 0 0 auto
573
+ properties:
574
+ title: Z-index 2000
575
+ color: primary
576
+ variant: solid
577
+ ```
578
+
579
+ Custom inner style with larger border radius and a stronger shadow.
580
+
581
+ This popover has a fixed width of 400px and extra padding, useful for displaying larger content like forms or details.
582
+
583
+ ```yaml
584
+ - id: popover_overlay_style
585
+ type: Popover
586
+ layout:
587
+ flex: 0 0 auto
588
+ properties:
589
+ title: Styled Overlay
590
+ overlayInnerStyle:
591
+ borderRadius: 16
592
+ boxShadow: 0 6px 16px rgba(0, 0, 0, 0.2)
593
+ slots:
594
+ popover:
595
+ blocks:
596
+ - id: popover_overlay_style_msg
597
+ type: Paragraph
598
+ properties:
599
+ content: Custom inner style with larger border radius and a stronger shadow.
600
+ blocks:
601
+ - id: popover_overlay_style_btn
602
+ type: Button
603
+ layout:
604
+ flex: 0 0 auto
605
+ properties:
606
+ title: Custom overlay style
607
+ color: primary
608
+ variant: solid
609
+ - id: popover_overlay_wide
610
+ type: Popover
611
+ layout:
612
+ flex: 0 0 auto
613
+ properties:
614
+ title: Wide Popover
615
+ overlayInnerStyle:
616
+ width: 400
617
+ padding: 20
618
+ slots:
619
+ popover:
620
+ blocks:
621
+ - id: popover_overlay_wide_msg
622
+ type: Paragraph
623
+ properties:
624
+ content: This popover has a fixed width of 400px and extra padding, useful for
625
+ displaying larger content like forms or details.
626
+ blocks:
627
+ - id: popover_overlay_wide_btn
628
+ type: Button
629
+ layout:
630
+ flex: 0 0 auto
631
+ properties:
632
+ title: Wide overlay
633
+ color: primary
634
+ variant: outlined
635
+ ```
636
+
637
+ Opening or closing this popover triggers a DisplayMessage action.
638
+
639
+ This popover uses SetState to track that it was opened.
640
+
641
+ ```yaml
642
+ - id: popover_event_open
643
+ type: Popover
644
+ layout:
645
+ flex: 0 0 auto
646
+ properties:
647
+ title: Event Popover
648
+ trigger: click
649
+ events:
650
+ onOpenChange:
651
+ - id: popover_event_open_msg
652
+ type: DisplayMessage
653
+ params:
654
+ content: Popover visibility changed!
655
+ duration: 2
656
+ slots:
657
+ popover:
658
+ blocks:
659
+ - id: popover_event_open_content
660
+ type: Paragraph
661
+ properties:
662
+ content: Opening or closing this popover triggers a DisplayMessage action.
663
+ blocks:
664
+ - id: popover_event_open_btn
665
+ type: Button
666
+ layout:
667
+ flex: 0 0 auto
668
+ properties:
669
+ title: Click to toggle
670
+ color: primary
671
+ variant: solid
672
+ icon: AiOutlineBell
673
+ - id: popover_event_state
674
+ type: Popover
675
+ layout:
676
+ flex: 0 0 auto
677
+ properties:
678
+ title: Track State
679
+ trigger: click
680
+ events:
681
+ onOpenChange:
682
+ - id: popover_event_state_set
683
+ type: SetState
684
+ params:
685
+ popover_was_opened: true
686
+ slots:
687
+ popover:
688
+ blocks:
689
+ - id: popover_event_state_content
690
+ type: Paragraph
691
+ properties:
692
+ content: This popover uses SetState to track that it was opened.
693
+ blocks:
694
+ - id: popover_event_state_btn
695
+ type: Button
696
+ layout:
697
+ flex: 0 0 auto
698
+ properties:
699
+ title: Track open state
700
+ color: primary
701
+ variant: outlined
702
+ ```
703
+
704
+ JD
705
+
706
+ Jane Doe
707
+
708
+ jane.doe@example.com
709
+
710
+ ```yaml
711
+ - id: popover_rich_profile
712
+ type: Popover
713
+ layout:
714
+ flex: 0 0 auto
715
+ properties:
716
+ title: User Profile
717
+ trigger: click
718
+ slots:
719
+ popover:
720
+ blocks:
721
+ - id: popover_rich_profile_row
722
+ type: Box
723
+ layout:
724
+ gap: 8
725
+ blocks:
726
+ - id: popover_rich_profile_avatar
727
+ type: Avatar
728
+ layout:
729
+ flex: 0 0 auto
730
+ properties:
731
+ content: JD
732
+ color: blue
733
+ - id: popover_rich_profile_info
734
+ type: Box
735
+ blocks:
736
+ - id: popover_rich_profile_name
737
+ type: Title
738
+ properties:
739
+ content: Jane Doe
740
+ level: 5
741
+ - id: popover_rich_profile_email
742
+ type: Paragraph
743
+ properties:
744
+ content: jane.doe@example.com
745
+ blocks:
746
+ - id: popover_rich_profile_btn
747
+ type: Button
748
+ layout:
749
+ flex: 0 0 auto
750
+ properties:
751
+ title: View Profile
752
+ color: primary
753
+ variant: solid
754
+ icon: AiOutlineUser
755
+ - id: popover_rich_actions
756
+ type: Popover
757
+ layout:
758
+ flex: 0 0 auto
759
+ properties:
760
+ title: Actions
761
+ trigger: click
762
+ slots:
763
+ popover:
764
+ blocks:
765
+ - id: popover_rich_actions_col
766
+ type: Box
767
+ layout:
768
+ gap: 4
769
+ direction: column
770
+ blocks:
771
+ - id: popover_rich_act_edit
772
+ type: Button
773
+ properties:
774
+ title: Edit
775
+ icon: AiOutlineEdit
776
+ color: primary
777
+ variant: text
778
+ block: true
779
+ - id: popover_rich_act_copy
780
+ type: Button
781
+ properties:
782
+ title: Duplicate
783
+ icon: AiOutlineCopy
784
+ color: default
785
+ variant: text
786
+ block: true
787
+ - id: popover_rich_act_del
788
+ type: Button
789
+ properties:
790
+ title: Delete
791
+ icon: AiOutlineDelete
792
+ color: danger
793
+ variant: text
794
+ block: true
795
+ blocks:
796
+ - id: popover_rich_actions_btn
797
+ type: Button
798
+ layout:
799
+ flex: 0 0 auto
800
+ properties:
801
+ title: More
802
+ icon: AiOutlineEllipsis
803
+ color: default
804
+ variant: outlined
805
+ ```
806
+
807
+ This popover has a wider minimum title width of 300px using the titleMinWidth token.
808
+
809
+ Custom border radius of 20px for a softer appearance.
810
+
811
+ Custom elevated background color using the colorBgElevated theme token.
812
+
813
+ Increased inner padding (24px), custom title padding, and larger title margin bottom.
814
+
815
+ A visible border under the title using titleBorderBottom, plus innerContentPadding for spacing.
816
+
817
+ The zIndexPopup theme token sets the popover z-index at the theme level (default 1030).
818
+
819
+ ```yaml
820
+ - id: popover_theme_wide
821
+ type: Popover
822
+ layout:
823
+ flex: 0 0 auto
824
+ properties:
825
+ title: Wide Title
826
+ theme:
827
+ titleMinWidth: 300
828
+ slots:
829
+ popover:
830
+ blocks:
831
+ - id: popover_theme_wide_msg
832
+ type: Paragraph
833
+ properties:
834
+ content: This popover has a wider minimum title width of 300px using the
835
+ titleMinWidth token.
836
+ blocks:
837
+ - id: popover_theme_wide_btn
838
+ type: Button
839
+ layout:
840
+ flex: 0 0 auto
841
+ properties:
842
+ title: Wide title (300px)
843
+ color: primary
844
+ variant: solid
845
+ - id: popover_theme_radius
846
+ type: Popover
847
+ layout:
848
+ flex: 0 0 auto
849
+ properties:
850
+ title: Large Radius
851
+ theme:
852
+ borderRadiusLG: 20
853
+ slots:
854
+ popover:
855
+ blocks:
856
+ - id: popover_theme_radius_msg
857
+ type: Paragraph
858
+ properties:
859
+ content: Custom border radius of 20px for a softer appearance.
860
+ blocks:
861
+ - id: popover_theme_radius_btn
862
+ type: Button
863
+ layout:
864
+ flex: 0 0 auto
865
+ properties:
866
+ title: Large radius
867
+ color: primary
868
+ variant: outlined
869
+ - id: popover_theme_bg
870
+ type: Popover
871
+ layout:
872
+ flex: 0 0 auto
873
+ properties:
874
+ title: Custom Background
875
+ slots:
876
+ popover:
877
+ blocks:
878
+ - id: popover_theme_bg_msg
879
+ type: Paragraph
880
+ properties:
881
+ content: Custom elevated background color using the colorBgElevated theme token.
882
+ blocks:
883
+ - id: popover_theme_bg_btn
884
+ type: Button
885
+ layout:
886
+ flex: 0 0 auto
887
+ properties:
888
+ title: Custom background
889
+ color: primary
890
+ variant: dashed
891
+ - id: popover_theme_padding
892
+ type: Popover
893
+ layout:
894
+ flex: 0 0 auto
895
+ properties:
896
+ title: Extra Padding
897
+ theme:
898
+ innerPadding: 24
899
+ titlePadding: 16px 24px
900
+ titleMarginBottom: 16
901
+ slots:
902
+ popover:
903
+ blocks:
904
+ - id: popover_theme_padding_msg
905
+ type: Paragraph
906
+ properties:
907
+ content: Increased inner padding (24px), custom title padding, and larger title
908
+ margin bottom.
909
+ blocks:
910
+ - id: popover_theme_padding_btn
911
+ type: Button
912
+ layout:
913
+ flex: 0 0 auto
914
+ properties:
915
+ title: Extra padding
916
+ color: default
917
+ variant: outlined
918
+ - id: popover_theme_border
919
+ type: Popover
920
+ layout:
921
+ flex: 0 0 auto
922
+ properties:
923
+ title: Title Border
924
+ theme:
925
+ titleBorderBottom: 1px solid
926
+ titleMarginBottom: 12
927
+ innerContentPadding: 8px 0
928
+ slots:
929
+ popover:
930
+ blocks:
931
+ - id: popover_theme_border_msg
932
+ type: Paragraph
933
+ properties:
934
+ content: A visible border under the title using titleBorderBottom, plus
935
+ innerContentPadding for spacing.
936
+ blocks:
937
+ - id: popover_theme_border_btn
938
+ type: Button
939
+ layout:
940
+ flex: 0 0 auto
941
+ properties:
942
+ title: Title border
943
+ color: default
944
+ variant: outlined
945
+ - id: popover_theme_zindex
946
+ type: Popover
947
+ layout:
948
+ flex: 0 0 auto
949
+ properties:
950
+ title: Custom Z-Index Token
951
+ theme:
952
+ zIndexPopup: 2050
953
+ slots:
954
+ popover:
955
+ blocks:
956
+ - id: popover_theme_zindex_msg
957
+ type: Paragraph
958
+ properties:
959
+ content: The zIndexPopup theme token sets the popover z-index at the theme level
960
+ (default 1030).
961
+ blocks:
962
+ - id: popover_theme_zindex_btn
963
+ type: Button
964
+ layout:
965
+ flex: 0 0 auto
966
+ properties:
967
+ title: Z-index token
968
+ color: default
969
+ variant: dashed
970
+ ```
971
+
972
+ The element CSS key targets the outer Popover wrapper. Here it adds a pointer cursor on the trigger area.
973
+
974
+ The inner CSS key targets the popover inner container. Here it applies extra shadow and rounded corners.
975
+
976
+ The title CSS key styles the popover title area with blue text, bold weight, and a bottom border.
977
+
978
+ The content CSS key targets the popover content area. Here it adds a gray background, padding, and rounded corners.
979
+
980
+ ```yaml
981
+ - id: popover_css_element
982
+ type: Popover
983
+ layout:
984
+ flex: 0 0 auto
985
+ class:
986
+ element: cursor-pointer
987
+ properties:
988
+ title: Element CSS Key
989
+ trigger: click
990
+ slots:
991
+ popover:
992
+ blocks:
993
+ - id: popover_css_element_msg
994
+ type: Paragraph
995
+ properties:
996
+ content: The element CSS key targets the outer Popover wrapper. Here it adds a
997
+ pointer cursor on the trigger area.
998
+ blocks:
999
+ - id: popover_css_element_btn
1000
+ type: Button
1001
+ layout:
1002
+ flex: 0 0 auto
1003
+ properties:
1004
+ title: Element key
1005
+ color: primary
1006
+ variant: solid
1007
+ - id: popover_css_inner
1008
+ type: Popover
1009
+ layout:
1010
+ flex: 0 0 auto
1011
+ class:
1012
+ inner: shadow-xl rounded-xl
1013
+ properties:
1014
+ title: Inner CSS Key
1015
+ slots:
1016
+ popover:
1017
+ blocks:
1018
+ - id: popover_css_inner_msg
1019
+ type: Paragraph
1020
+ properties:
1021
+ content: The inner CSS key targets the popover inner container. Here it applies
1022
+ extra shadow and rounded corners.
1023
+ blocks:
1024
+ - id: popover_css_inner_btn
1025
+ type: Button
1026
+ layout:
1027
+ flex: 0 0 auto
1028
+ properties:
1029
+ title: Inner key
1030
+ color: primary
1031
+ variant: outlined
1032
+ - id: popover_css_title
1033
+ type: Popover
1034
+ layout:
1035
+ flex: 0 0 auto
1036
+ class:
1037
+ title: font-bold text-blue-600 border-b border-border pb-2
1038
+ properties:
1039
+ title: Title CSS Key
1040
+ slots:
1041
+ popover:
1042
+ blocks:
1043
+ - id: popover_css_title_msg
1044
+ type: Paragraph
1045
+ properties:
1046
+ content: The title CSS key styles the popover title area with blue text, bold
1047
+ weight, and a bottom border.
1048
+ blocks:
1049
+ - id: popover_css_title_btn
1050
+ type: Button
1051
+ layout:
1052
+ flex: 0 0 auto
1053
+ properties:
1054
+ title: Title key
1055
+ color: blue
1056
+ variant: outlined
1057
+ - id: popover_css_content
1058
+ type: Popover
1059
+ layout:
1060
+ flex: 0 0 auto
1061
+ class:
1062
+ content: bg-bg-layout p-4 rounded-md
1063
+ properties:
1064
+ title: Content CSS Key
1065
+ slots:
1066
+ popover:
1067
+ blocks:
1068
+ - id: popover_css_content_msg
1069
+ type: Paragraph
1070
+ properties:
1071
+ content: The content CSS key targets the popover content area. Here it adds a
1072
+ gray background, padding, and rounded corners.
1073
+ blocks:
1074
+ - id: popover_css_content_btn
1075
+ type: Button
1076
+ layout:
1077
+ flex: 0 0 auto
1078
+ properties:
1079
+ title: Content key
1080
+ color: default
1081
+ variant: outlined
1082
+ ```
1083
+
1084
+ SC
1085
+
1086
+ Sarah Chen
1087
+
1088
+ Sarah Chen
1089
+
1090
+ Product Manager
1091
+
1092
+ ```yaml
1093
+ - id: popover_usercard
1094
+ type: Popover
1095
+ layout:
1096
+ flex: 0 0 auto
1097
+ properties:
1098
+ trigger: click
1099
+ overlayInnerStyle:
1100
+ width: 320
1101
+ padding: 0
1102
+ slots:
1103
+ popover:
1104
+ blocks:
1105
+ - id: popover_usercard_header
1106
+ type: Box
1107
+ class: bg-bg-layout p-4 rounded-t-lg
1108
+ layout:
1109
+ gap: 12
1110
+ align: center
1111
+ blocks:
1112
+ - id: popover_usercard_avatar
1113
+ type: Avatar
1114
+ layout:
1115
+ flex: 0 0 auto
1116
+ properties:
1117
+ icon: AiOutlineUser
1118
+ size: 48
1119
+ color: "#fff"
1120
+ backgroundColor: "#1677ff"
1121
+ - id: popover_usercard_info
1122
+ type: Box
1123
+ layout:
1124
+ direction: column
1125
+ gap: 2
1126
+ blocks:
1127
+ - id: popover_usercard_name
1128
+ type: Title
1129
+ properties:
1130
+ content: Sarah Chen
1131
+ level: 5
1132
+ - id: popover_usercard_role
1133
+ type: Paragraph
1134
+ properties:
1135
+ content: Product Manager
1136
+ - id: popover_usercard_details
1137
+ type: Descriptions
1138
+ class: p-4
1139
+ properties:
1140
+ size: small
1141
+ column: 1
1142
+ items:
1143
+ - label: Email
1144
+ value: sarah.chen@company.com
1145
+ - label: Team
1146
+ value: Product
1147
+ - label: Location
1148
+ value: San Francisco, CA
1149
+ - id: popover_usercard_actions_row
1150
+ type: Box
1151
+ class: px-4 pb-4
1152
+ layout:
1153
+ gap: 8
1154
+ blocks:
1155
+ - id: popover_usercard_msg_btn
1156
+ type: Button
1157
+ layout:
1158
+ flex: 1 1 0
1159
+ properties:
1160
+ title: Message
1161
+ icon: AiOutlineMail
1162
+ color: primary
1163
+ variant: solid
1164
+ size: small
1165
+ events:
1166
+ onClick:
1167
+ - id: popover_usercard_msg_action
1168
+ type: DisplayMessage
1169
+ params:
1170
+ content: Opening chat with Sarah...
1171
+ duration: 2
1172
+ - id: popover_usercard_profile_btn
1173
+ type: Button
1174
+ layout:
1175
+ flex: 1 1 0
1176
+ properties:
1177
+ title: View Profile
1178
+ icon: AiOutlineUser
1179
+ color: default
1180
+ variant: outlined
1181
+ size: small
1182
+ events:
1183
+ onClick:
1184
+ - id: popover_usercard_profile_action
1185
+ type: Link
1186
+ params:
1187
+ url: https://example.com/profile
1188
+ newTab: true
1189
+ blocks:
1190
+ - id: popover_usercard_trigger
1191
+ type: Box
1192
+ layout:
1193
+ gap: 8
1194
+ align: center
1195
+ blocks:
1196
+ - id: popover_usercard_trigger_avatar
1197
+ type: Avatar
1198
+ layout:
1199
+ flex: 0 0 auto
1200
+ properties:
1201
+ content: SC
1202
+ color: "#fff"
1203
+ backgroundColor: "#1677ff"
1204
+ - id: popover_usercard_trigger_name
1205
+ type: Paragraph
1206
+ layout:
1207
+ flex: 0 0 auto
1208
+ properties:
1209
+ content: Sarah Chen
1210
+ ```
1211
+
1212
+ ```yaml
1213
+ - id: popover_quickmenu
1214
+ type: Popover
1215
+ layout:
1216
+ flex: 0 0 auto
1217
+ properties:
1218
+ trigger: click
1219
+ placement: bottomRight
1220
+ overlayInnerStyle:
1221
+ width: 200
1222
+ padding: 8
1223
+ events:
1224
+ onOpenChange:
1225
+ - id: popover_quickmenu_state
1226
+ type: SetState
1227
+ params:
1228
+ menu_toggled: true
1229
+ slots:
1230
+ popover:
1231
+ blocks:
1232
+ - id: popover_quickmenu_col
1233
+ type: Box
1234
+ layout:
1235
+ direction: column
1236
+ gap: 2
1237
+ blocks:
1238
+ - id: popover_quickmenu_new
1239
+ type: Button
1240
+ properties:
1241
+ title: New Document
1242
+ icon: AiOutlineFileAdd
1243
+ color: primary
1244
+ variant: text
1245
+ block: true
1246
+ events:
1247
+ onClick:
1248
+ - id: popover_quickmenu_new_action
1249
+ type: DisplayMessage
1250
+ params:
1251
+ content: Creating new document...
1252
+ duration: 2
1253
+ - id: popover_quickmenu_upload
1254
+ type: Button
1255
+ properties:
1256
+ title: Upload File
1257
+ icon: AiOutlineUpload
1258
+ color: default
1259
+ variant: text
1260
+ block: true
1261
+ events:
1262
+ onClick:
1263
+ - id: popover_quickmenu_upload_action
1264
+ type: DisplayMessage
1265
+ params:
1266
+ content: Opening file picker...
1267
+ duration: 2
1268
+ - id: popover_quickmenu_divider
1269
+ type: Divider
1270
+ properties:
1271
+ dashed: true
1272
+ - id: popover_quickmenu_import
1273
+ type: Button
1274
+ properties:
1275
+ title: Import from URL
1276
+ icon: AiOutlineLink
1277
+ color: default
1278
+ variant: text
1279
+ block: true
1280
+ events:
1281
+ onClick:
1282
+ - id: popover_quickmenu_import_action
1283
+ type: DisplayMessage
1284
+ params:
1285
+ content: Enter a URL to import...
1286
+ duration: 2
1287
+ - id: popover_quickmenu_template
1288
+ type: Button
1289
+ properties:
1290
+ title: Use Template
1291
+ icon: AiOutlineAppstore
1292
+ color: default
1293
+ variant: text
1294
+ block: true
1295
+ blocks:
1296
+ - id: popover_quickmenu_trigger
1297
+ type: Button
1298
+ layout:
1299
+ flex: 0 0 auto
1300
+ properties:
1301
+ title: Create New
1302
+ icon: AiOutlinePlus
1303
+ color: primary
1304
+ variant: solid
1305
+ ```
1306
+
1307
+ Monthly Budget
1308
+
1309
+ The monthly budget is the maximum amount your team can spend on resources each billing cycle. It resets on the 1st of every month.
1310
+
1311
+ You will receive a warning notification when 80% of the budget is used.
1312
+
1313
+ ```yaml
1314
+ - id: popover_help_row
1315
+ type: Box
1316
+ layout:
1317
+ gap: 16
1318
+ align: center
1319
+ blocks:
1320
+ - id: popover_help_label
1321
+ type: Title
1322
+ layout:
1323
+ flex: 0 0 auto
1324
+ properties:
1325
+ content: Monthly Budget
1326
+ level: 5
1327
+ - id: popover_help_icon
1328
+ type: Popover
1329
+ layout:
1330
+ flex: 0 0 auto
1331
+ properties:
1332
+ title: About Monthly Budget
1333
+ placement: right
1334
+ overlayInnerStyle:
1335
+ width: 300
1336
+ slots:
1337
+ popover:
1338
+ blocks:
1339
+ - id: popover_help_desc
1340
+ type: Paragraph
1341
+ properties:
1342
+ content: The monthly budget is the maximum amount your team can spend on
1343
+ resources each billing cycle. It resets on the 1st of every
1344
+ month.
1345
+ - id: popover_help_note
1346
+ type: Paragraph
1347
+ class: text-text-secondary text-sm
1348
+ properties:
1349
+ content: You will receive a warning notification when 80% of the budget is used.
1350
+ - id: popover_help_link
1351
+ type: Button
1352
+ properties:
1353
+ title: Learn more
1354
+ color: primary
1355
+ variant: link
1356
+ size: small
1357
+ events:
1358
+ onClick:
1359
+ - id: popover_help_link_action
1360
+ type: Link
1361
+ params:
1362
+ url: https://example.com/docs/budget
1363
+ newTab: true
1364
+ blocks:
1365
+ - id: popover_help_trigger
1366
+ type: Icon
1367
+ layout:
1368
+ flex: 0 0 auto
1369
+ properties:
1370
+ name: AiOutlineQuestionCircle
1371
+ color: "#8c8c8c"
1372
+ size: 18
1373
+ - id: popover_help_input
1374
+ type: NumberInput
1375
+ layout:
1376
+ flex: 1 1 0
1377
+ properties:
1378
+ label:
1379
+ disabled: true
1380
+ prefix: $
1381
+ ```
1382
+
1383
+ | Property | Type | Default | Description |
1384
+ | --- | --- | --- | --- |
1385
+ | `title` | string | - | Title of the card. |
1386
+ | `color` | string | - | Popover background color. |
1387
+ | `defaultOpen` | boolean | `false` | Whether the popover is open by default. |
1388
+ | `autoAdjustOverflow` | boolean | `true` | Whether to adjust popup placement automatically when popup is off screen |
1389
+ | `placement` | string | `"bottom"` | Placement of the popover. Enum: `top`, `topLeft`, `topRight`, `left`, `leftTop`, `leftBottom`, `right`, `rightTop`, `rightBottom`, `bottom`, `bottomLeft`, `bottomRight`. |
1390
+ | `trigger` | string | `"hover"` | Trigger mode which executes the popover. Enum: `hover`, `click`, `focus`. |
1391
+ | `zIndex` | number | - | Z-index of the popover. |
1392
+ | `overlayInnerStyle` | object | - | Style of overlay inner div. |
1393
+ | `mouseEnterDelay` | number | `0.1` | Delay in milliseconds, before tooltip is shown on mouse enter. |
1394
+ | `mouseLeaveDelay` | number | `0.1` | Delay in milliseconds, before tooltip is hidden on mouse leave. |
1395
+ | `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design popover tokens](https://ant.design/components/popover#design-token). |
1396
+ | `theme.titleMinWidth` | number \| string | `177` | Minimum width of the popover when it has a title. |
1397
+ | `theme.zIndexPopup` | number | `1030` | Z-index of the popover. |
1398
+ | `theme.innerPadding` | number \| string | `12` | Padding inside the popover content area. |
1399
+ | `theme.titlePadding` | number \| string | - | Padding of the title area. |
1400
+ | `theme.titleMarginBottom` | number | `8` | Margin bottom of the title. |
1401
+ | `theme.titleBorderBottom` | string | `"none"` | Border bottom of the title area. |
1402
+ | `theme.innerContentPadding` | number \| string | `0` | Padding of the inner content area. |
1403
+ | `theme.colorBgElevated` | string | - | Background color of the popover. |
1404
+ | `theme.borderRadiusLG` | number | `8` | Border radius of the popover container. |
1405
+
1406
+ | Event | Event Data | Description |
1407
+ | --- | --- | --- |
1408
+ | `onOpenChange` | \- | Trigger actions when visibility of the tooltip card is changed. |
1409
+
1410
+ | Key | Target |
1411
+ | --- | --- |
1412
+ | `/block` | Outer block wrapper (always available). |
1413
+ | `/element` | The Popover element. |
1414
+ | `/inner` | The Popover inner. |
1415
+ | `/title` | The Popover title. |
1416
+ | `/content` | The Popover content. |
1417
+
1418
+ | Slot | Description |
1419
+ | --- | --- |
1420
+ | `content` | Blocks that trigger the Popover. |
1421
+ | `popover` | Blocks inside the popup. |