@lowdefy/docs-content 6.0.0 → 7.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 (285) hide show
  1. package/README.md +1 -0
  2. package/content/actions/downloadcsv.md +1 -1
  3. package/content/actions/emailotpsend.md +58 -0
  4. package/content/actions/emailotpverify.md +79 -0
  5. package/content/actions/getlocalstorage.md +43 -0
  6. package/content/actions/link.md +47 -1
  7. package/content/actions/login.md +25 -5
  8. package/content/actions/logout.md +7 -5
  9. package/content/actions/magiclinkverify.md +117 -0
  10. package/content/actions/pdfmake.md +2 -2
  11. package/content/actions/posthogalias.md +29 -0
  12. package/content/actions/posthogcapture.md +49 -0
  13. package/content/actions/posthogcapturepageleave.md +38 -0
  14. package/content/actions/posthogfeatureflag.md +50 -0
  15. package/content/actions/posthoggroup.md +37 -0
  16. package/content/actions/posthogidentify.md +54 -0
  17. package/content/actions/posthoginit.md +96 -0
  18. package/content/actions/posthogoptin.md +29 -0
  19. package/content/actions/posthogoptout.md +29 -0
  20. package/content/actions/posthogpageview.md +37 -0
  21. package/content/actions/posthogreloadfeatureflags.md +47 -0
  22. package/content/actions/posthogreset.md +28 -0
  23. package/content/actions/posthogsetpersonproperties.md +36 -0
  24. package/content/actions/removelocalstorage.md +28 -0
  25. package/content/actions/resetvalidation.md +5 -3
  26. package/content/actions/setdarkmode.md +3 -3
  27. package/content/actions/setglobal.md +2 -0
  28. package/content/actions/setlocale.md +1 -1
  29. package/content/actions/setlocalstorage.md +34 -0
  30. package/content/actions/setstate.md +2 -0
  31. package/content/actions/validate.md +7 -4
  32. package/content/adapter-reference/mongodbauthadapter.md +46 -0
  33. package/content/agents/agent-endpoint-tools.md +24 -0
  34. package/content/agents/agent-properties.md +13 -3
  35. package/content/agents/agent-server-hooks.md +1 -1
  36. package/content/agents/agentchat.md +41 -4
  37. package/content/agents/agentconversations.md +42 -8
  38. package/content/agents/agents-introduction.md +107 -0
  39. package/content/callback-reference/auth0logoutcallback.md +54 -0
  40. package/content/concepts/ai-agent-docs.md +455 -106
  41. package/content/concepts/blocks.md +150 -0
  42. package/content/concepts/connections-and-requests.md +402 -0
  43. package/content/concepts/custom-html.md +42 -0
  44. package/content/concepts/custom-styling.md +50 -5
  45. package/content/concepts/dynamic-page-content.md +309 -0
  46. package/content/concepts/events-and-actions.md +185 -2
  47. package/content/concepts/four-primitives.md +31 -0
  48. package/content/concepts/html-attributes.md +293 -0
  49. package/content/concepts/i18n.md +12 -3
  50. package/content/concepts/keyboard-shortcuts.md +2 -2
  51. package/content/concepts/layout-overview.md +1 -1
  52. package/content/concepts/logger.md +99 -0
  53. package/content/concepts/lowdefy-api.md +1319 -0
  54. package/content/concepts/lowdefy-schema.md +144 -3
  55. package/content/concepts/menus.md +8 -7
  56. package/content/concepts/module-authoring.md +76 -5
  57. package/content/concepts/modules.md +3 -1
  58. package/content/concepts/notifications.md +180 -0
  59. package/content/concepts/operators.md +7 -0
  60. package/content/concepts/page-and-app-state.md +252 -0
  61. package/content/concepts/page-paths.md +209 -0
  62. package/content/concepts/theming.md +582 -0
  63. package/content/connections/aigateway.md +375 -0
  64. package/content/connections/anthropic.md +169 -2
  65. package/content/connections/awss3.md +178 -2
  66. package/content/connections/axioshttp.md +181 -0
  67. package/content/connections/google.md +169 -2
  68. package/content/connections/mongodb.md +1014 -3
  69. package/content/connections/openai-connection.md +169 -2
  70. package/content/connections/sendgridmail.md +3 -0
  71. package/content/connections/smtp.md +16 -0
  72. package/content/connections/treg.md +329 -0
  73. package/content/container-blocks/affix.md +47 -7
  74. package/content/container-blocks/alert.md +76 -24
  75. package/content/container-blocks/badge.md +100 -24
  76. package/content/container-blocks/box.md +9 -9
  77. package/content/container-blocks/card.md +132 -27
  78. package/content/container-blocks/carousel.md +60 -7
  79. package/content/container-blocks/collapse.md +153 -9
  80. package/content/container-blocks/configprovider.md +35 -13
  81. package/content/container-blocks/confirmmodal.md +69 -23
  82. package/content/container-blocks/content.md +62 -98
  83. package/content/container-blocks/descriptions.md +45 -4
  84. package/content/container-blocks/drawer.md +139 -28
  85. package/content/container-blocks/dropdownmenu.md +119 -31
  86. package/content/container-blocks/flex.md +40 -62
  87. package/content/container-blocks/footer.md +15 -11
  88. package/content/container-blocks/googlemapsheatmap.md +1 -1
  89. package/content/container-blocks/googlemapsscript.md +2 -2
  90. package/content/container-blocks/header.md +71 -36
  91. package/content/container-blocks/label.md +34 -7
  92. package/content/container-blocks/layout.md +52 -34
  93. package/content/container-blocks/masonry.md +17 -71
  94. package/content/container-blocks/mobilemenu.md +131 -88
  95. package/content/container-blocks/modal.md +161 -26
  96. package/content/container-blocks/pageheadermenu.md +138 -31
  97. package/content/container-blocks/pagesidebarlayout.md +230 -27
  98. package/content/container-blocks/pagesidermenu.md +153 -43
  99. package/content/container-blocks/popover.md +34 -31
  100. package/content/container-blocks/result.md +32 -21
  101. package/content/container-blocks/sider.md +85 -122
  102. package/content/container-blocks/span.md +7 -7
  103. package/content/container-blocks/spinner.md +3 -3
  104. package/content/container-blocks/splitter.md +150 -68
  105. package/content/container-blocks/tabs.md +64 -12
  106. package/content/container-blocks/tooltip.md +22 -46
  107. package/content/container-blocks/watermark.md +22 -4
  108. package/content/controls/parallel_for.md +21 -2
  109. package/content/controls/reject.md +26 -3
  110. package/content/controls/return.md +17 -1
  111. package/content/controls/throw.md +30 -2
  112. package/content/controls/try.md +24 -2
  113. package/content/controls/while.md +46 -0
  114. package/content/deployment/deployment-environments.md +146 -0
  115. package/content/deployment/docker.md +23 -7
  116. package/content/deployment/node-server.md +4 -0
  117. package/content/deployment/vercel.md +25 -19
  118. package/content/display-blocks/aggrid.md +33 -16
  119. package/content/display-blocks/anchor.md +16 -15
  120. package/content/display-blocks/avatar.md +57 -37
  121. package/content/display-blocks/breadcrumb.md +70 -21
  122. package/content/display-blocks/button.md +93 -19
  123. package/content/display-blocks/calendar.md +12 -0
  124. package/content/display-blocks/clickablehtml.md +239 -0
  125. package/content/display-blocks/dangeroushtml.md +1 -1
  126. package/content/display-blocks/difflist.md +1 -1
  127. package/content/display-blocks/difftimeline.md +1 -1
  128. package/content/display-blocks/divider.md +64 -3
  129. package/content/display-blocks/dropdownbutton.md +81 -30
  130. package/content/display-blocks/echart.md +35 -1
  131. package/content/display-blocks/eventlog.md +363 -0
  132. package/content/display-blocks/floatbutton.md +129 -42
  133. package/content/display-blocks/html.md +61 -1
  134. package/content/display-blocks/icon.md +250 -67
  135. package/content/display-blocks/img.md +2 -2
  136. package/content/display-blocks/menu.md +146 -73
  137. package/content/display-blocks/message.md +38 -124
  138. package/content/display-blocks/notification.md +94 -222
  139. package/content/display-blocks/paragraph.md +59 -9
  140. package/content/display-blocks/pollingtimer.md +263 -0
  141. package/content/display-blocks/progress.md +96 -17
  142. package/content/display-blocks/qrcode.md +19 -4
  143. package/content/display-blocks/s3download.md +1 -1
  144. package/content/display-blocks/search.md +19 -9
  145. package/content/display-blocks/skeletonbutton.md +1 -0
  146. package/content/display-blocks/skeletoninput.md +1 -0
  147. package/content/display-blocks/statistic.md +75 -17
  148. package/content/display-blocks/steps.md +58 -25
  149. package/content/display-blocks/table.md +2527 -0
  150. package/content/display-blocks/tablelight.md +621 -0
  151. package/content/display-blocks/tag.md +102 -17
  152. package/content/display-blocks/title.md +50 -11
  153. package/content/display-blocks/tour.md +33 -23
  154. package/content/input-blocks/autocomplete.md +81 -9
  155. package/content/input-blocks/buttonselector.md +45 -8
  156. package/content/input-blocks/captcha.md +40 -0
  157. package/content/input-blocks/checkboxselector.md +97 -7
  158. package/content/input-blocks/checkboxswitch.md +33 -3
  159. package/content/input-blocks/colorselector.md +63 -14
  160. package/content/input-blocks/daterangeselector.md +165 -45
  161. package/content/input-blocks/dateselector.md +139 -41
  162. package/content/input-blocks/datetimeselector.md +158 -49
  163. package/content/input-blocks/inputgallery.md +3 -3
  164. package/content/input-blocks/intentinput.md +207 -0
  165. package/content/input-blocks/monthselector.md +120 -52
  166. package/content/input-blocks/multipleselector.md +150 -39
  167. package/content/input-blocks/numberinput.md +98 -12
  168. package/content/input-blocks/pagination.md +70 -14
  169. package/content/input-blocks/paragraphinput.md +51 -37
  170. package/content/input-blocks/passwordinput.md +60 -6
  171. package/content/input-blocks/phonenumberinput.md +59 -26
  172. package/content/input-blocks/placesautocomplete.md +319 -0
  173. package/content/input-blocks/radioselector.md +83 -7
  174. package/content/input-blocks/ratingslider.md +57 -26
  175. package/content/input-blocks/s3uploadbutton.md +24 -24
  176. package/content/input-blocks/s3uploaddragger.md +3 -3
  177. package/content/input-blocks/s3uploadphoto.md +5 -5
  178. package/content/input-blocks/segmentedselector.md +72 -32
  179. package/content/input-blocks/selector.md +109 -21
  180. package/content/input-blocks/switch.md +65 -17
  181. package/content/input-blocks/tableinput.md +445 -0
  182. package/content/input-blocks/tagmultipleselector.md +114 -0
  183. package/content/input-blocks/tagselector.md +114 -0
  184. package/content/input-blocks/textarea.md +32 -3
  185. package/content/input-blocks/textinput.md +70 -29
  186. package/content/input-blocks/tiptapinput.md +1 -1
  187. package/content/input-blocks/tiptapmentioninput.md +2 -2
  188. package/content/input-blocks/titleinput.md +39 -12
  189. package/content/input-blocks/treeinput.md +49 -25
  190. package/content/input-blocks/treemultipleselector.md +127 -10
  191. package/content/input-blocks/treeselector.md +97 -9
  192. package/content/input-blocks/upload.md +64 -15
  193. package/content/input-blocks/uploaddragger.md +17 -1
  194. package/content/input-blocks/uploadphoto.md +18 -1
  195. package/content/input-blocks/weekselector.md +120 -55
  196. package/content/learn/introduction.md +27 -0
  197. package/content/learn/quickstart.md +53 -0
  198. package/content/learn/showcase.md +8 -0
  199. package/content/list-blocks/controlledlist.md +24 -15
  200. package/content/list-blocks/list.md +11 -11
  201. package/content/list-blocks/masonrylist.md +7 -34
  202. package/content/migration/auth-upgrade.md +337 -0
  203. package/content/migration/upgrade-guide.md +1 -0
  204. package/content/migration/v3-to-v4.md +417 -0
  205. package/content/migration/v6-to-v7.md +620 -0
  206. package/content/operators/_agent.md +155 -0
  207. package/content/operators/_app.md +2 -1
  208. package/content/operators/_array.md +122 -1
  209. package/content/operators/_build.md +1 -0
  210. package/content/operators/_credential.md +57 -0
  211. package/content/operators/_cron.md +292 -0
  212. package/content/operators/_date.md +2 -0
  213. package/content/operators/_error.md +196 -0
  214. package/content/operators/_get.md +6 -6
  215. package/content/operators/_hmac.md +78 -0
  216. package/content/operators/_js.md +2 -1
  217. package/content/operators/_location.md +1 -1
  218. package/content/operators/_media.md +13 -0
  219. package/content/operators/_module.md +56 -2
  220. package/content/operators/_operator.md +17 -3
  221. package/content/operators/_path_params.md +82 -0
  222. package/content/operators/_ref.md +258 -0
  223. package/content/operators/_request.md +1 -1
  224. package/content/operators/_request_details.md +6 -0
  225. package/content/operators/_type.md +14 -3
  226. package/content/operators/_url_query.md +2 -0
  227. package/content/operators/_user.md +3 -3
  228. package/content/plugins/plugins-actions.md +10 -0
  229. package/content/plugins/plugins-connections.md +25 -0
  230. package/content/plugins/plugins-dev.md +66 -0
  231. package/content/plugins/plugins-icon-sets.md +267 -0
  232. package/content/plugins/plugins-introduction.md +27 -1
  233. package/content/plugins/plugins.md +19 -0
  234. package/content/plugins/posthog.md +359 -0
  235. package/content/provider-reference/auth-js-providers.md +107 -0
  236. package/content/provider-reference/openidconnectprovider.md +44 -0
  237. package/content/recipes/recipes.md +16 -0
  238. package/content/reference/actions-reference.md +31 -0
  239. package/content/reference/blocks-reference.md +35 -0
  240. package/content/reference/cli.md +403 -0
  241. package/content/reference/connections-reference.md +23 -0
  242. package/content/reference/operators-reference.md +47 -0
  243. package/content/reference/reference.md +16 -0
  244. package/content/reference/schema-reference.md +12 -0
  245. package/content/testing/config-tests.md +677 -0
  246. package/content/testing/e2e-configuration.md +31 -1
  247. package/content/testing/e2e-getting-started.md +1 -1
  248. package/content/testing/e2e-introduction.md +1 -1
  249. package/content/testing/e2e-writing-tests.md +12 -1
  250. package/content/testing/explore-pull-request.md +136 -0
  251. package/content/testing/journey-data-sets.md +326 -0
  252. package/content/tutorial/tutorial-actions-operators.md +2 -2
  253. package/content/tutorial/tutorial-add-blocks.md +2 -2
  254. package/content/tutorial/tutorial-create-page.md +48 -2
  255. package/content/tutorial/tutorial-display-data-page.md +3 -3
  256. package/content/tutorial/tutorial-requests-api.md +155 -0
  257. package/content/tutorial/tutorial-requests-sql.md +153 -0
  258. package/content/tutorial/tutorial-start.md +66 -1
  259. package/content/user-authentication/auth-configuration.md +267 -0
  260. package/content/user-authentication/auth-providers.md +24 -0
  261. package/content/user-authentication/auth-steps.md +141 -0
  262. package/content/user-authentication/login-and-logout.md +160 -8
  263. package/content/user-authentication/mcp-oauth.md +424 -0
  264. package/content/user-authentication/organizations.md +246 -0
  265. package/content/user-authentication/protected-pages-apis.md +97 -0
  266. package/content/user-authentication/roles.md +49 -0
  267. package/content/user-authentication/two-factor.md +229 -0
  268. package/content/user-authentication/user-object.md +58 -0
  269. package/content/user-authentication/users-introduction.md +8 -0
  270. package/content/websockets/websocket-publish.md +105 -0
  271. package/content/websockets/websocket-subscriptions.md +136 -0
  272. package/content/websockets/websockets-introduction.md +101 -0
  273. package/hazards.json +56 -0
  274. package/index.json +3472 -14
  275. package/package.json +10 -1
  276. package/scripts/extractAgentDocs.js +41 -30
  277. package/scripts/hashDocSources.js +38 -0
  278. package/scripts/isRedirectPage.js +26 -0
  279. package/scripts/recordSourceHashes.js +97 -0
  280. package/scripts/resolvePageSections.js +42 -0
  281. package/scripts/sectionKind.js +27 -0
  282. package/content/concepts/cli.md +0 -223
  283. package/content/other/introduction.md +0 -39
  284. package/content/other/next-auth-providers.md +0 -3
  285. /package/content/{other → actions}/updatesession.md +0 -0
@@ -15,20 +15,20 @@ Floating dropdown menu triggered by any child block. Menu items follow the Menu
15
15
  pageId: home
16
16
  properties:
17
17
  title: Home
18
- icon: AiOutlineHome
18
+ icon: home
19
19
  - id: dm_basic_profile
20
20
  type: MenuLink
21
21
  pageId: home
22
22
  properties:
23
23
  title: Profile
24
- icon: AiOutlineUser
24
+ icon: user
25
25
  - id: dm_basic_div
26
26
  type: MenuDivider
27
27
  - id: dm_basic_logout
28
28
  type: MenuLink
29
29
  properties:
30
30
  title: Log Out
31
- icon: AiOutlineLogout
31
+ icon: logout
32
32
  danger: true
33
33
  blocks:
34
34
  - id: dropdown_menu_basic_btn
@@ -83,19 +83,19 @@ Right-click anywhere in this card to open the context menu.
83
83
  type: MenuLink
84
84
  properties:
85
85
  title: Copy
86
- icon: AiOutlineCopy
86
+ icon: copy
87
87
  - id: dm_ctx_paste
88
88
  type: MenuLink
89
89
  properties:
90
90
  title: Paste
91
- icon: AiOutlineSnippets
91
+ icon: Files
92
92
  - id: dm_ctx_div
93
93
  type: MenuDivider
94
94
  - id: dm_ctx_delete
95
95
  type: MenuLink
96
96
  properties:
97
97
  title: Delete
98
- icon: AiOutlineDelete
98
+ icon: delete
99
99
  danger: true
100
100
  blocks:
101
101
  - id: dropdown_menu_context_area
@@ -189,6 +189,76 @@ Right-click anywhere in this card to open the context menu.
189
189
  color: default
190
190
  variant: outlined
191
191
  size: small
192
+ - id: dropdown_menu_pl_right
193
+ type: DropdownMenu
194
+ layout:
195
+ flex: 0 0 auto
196
+ properties:
197
+ trigger: click
198
+ placement: right
199
+ links:
200
+ - id: dm_pl_right_1
201
+ type: MenuLink
202
+ properties:
203
+ title: Item 1
204
+ - id: dm_pl_right_2
205
+ type: MenuLink
206
+ properties:
207
+ title: Item 2
208
+ blocks:
209
+ - id: dropdown_menu_pl_right_btn
210
+ type: Button
211
+ layout:
212
+ flex: 0 0 auto
213
+ properties:
214
+ title: right
215
+ color: default
216
+ variant: outlined
217
+ size: small
218
+ ```
219
+
220
+ ```yaml
221
+ - id: dropdown_menu_selectable
222
+ type: DropdownMenu
223
+ layout:
224
+ flex: 0 0 auto
225
+ properties:
226
+ trigger: click
227
+ selectable: true
228
+ selectedKeys:
229
+ _if_none:
230
+ - _state: dm_sort_keys
231
+ - - dm_sort_newest
232
+ links:
233
+ - id: dm_sort_newest
234
+ type: MenuLink
235
+ properties:
236
+ title: Newest first
237
+ - id: dm_sort_oldest
238
+ type: MenuLink
239
+ properties:
240
+ title: Oldest first
241
+ - id: dm_sort_name
242
+ type: MenuLink
243
+ properties:
244
+ title: Name
245
+ events:
246
+ onSelect:
247
+ - id: dm_sort_set
248
+ type: SetState
249
+ params:
250
+ dm_sort_keys:
251
+ _event: selectedKeys
252
+ blocks:
253
+ - id: dropdown_menu_selectable_btn
254
+ type: Button
255
+ layout:
256
+ flex: 0 0 auto
257
+ properties:
258
+ title: Sort
259
+ icon: sort
260
+ color: default
261
+ variant: outlined
192
262
  ```
193
263
 
194
264
  ```yaml
@@ -204,12 +274,12 @@ Right-click anywhere in this card to open the context menu.
204
274
  type: MenuLink
205
275
  properties:
206
276
  title: Settings
207
- icon: AiOutlineSetting
277
+ icon: settings
208
278
  - id: dm_arrow_2
209
279
  type: MenuLink
210
280
  properties:
211
281
  title: Help
212
- icon: AiOutlineQuestionCircle
282
+ icon: help
213
283
  blocks:
214
284
  - id: dropdown_menu_arrow_btn
215
285
  type: Button
@@ -232,12 +302,12 @@ Right-click anywhere in this card to open the context menu.
232
302
  type: MenuLink
233
303
  properties:
234
304
  title: Settings
235
- icon: AiOutlineSetting
305
+ icon: settings
236
306
  - id: dm_arrowc_2
237
307
  type: MenuLink
238
308
  properties:
239
309
  title: Help
240
- icon: AiOutlineQuestionCircle
310
+ icon: help
241
311
  blocks:
242
312
  - id: dropdown_menu_arrow_center_btn
243
313
  type: Button
@@ -261,7 +331,7 @@ Right-click anywhere in this card to open the context menu.
261
331
  type: MenuGroup
262
332
  properties:
263
333
  title: Navigation
264
- icon: AiOutlineAppstore
334
+ icon: grid
265
335
  links:
266
336
  - id: dm_grp_nav_home
267
337
  type: MenuLink
@@ -279,7 +349,7 @@ Right-click anywhere in this card to open the context menu.
279
349
  type: MenuGroup
280
350
  properties:
281
351
  title: Account
282
- icon: AiOutlineUser
352
+ icon: user
283
353
  links:
284
354
  - id: dm_grp_acc_profile
285
355
  type: MenuLink
@@ -314,7 +384,7 @@ Right-click anywhere in this card to open the context menu.
314
384
  type: MenuLink
315
385
  properties:
316
386
  title: Available Action
317
- icon: AiOutlineCheck
387
+ icon: check
318
388
  - id: dm_dis_disabled
319
389
  type: MenuLink
320
390
  properties:
@@ -350,13 +420,13 @@ Right-click anywhere in this card to open the context menu.
350
420
  type: MenuLink
351
421
  properties:
352
422
  title: New File
353
- icon: AiOutlineFileAdd
423
+ icon: FilePlus
354
424
  shortcut: mod+shift+N
355
425
  - id: dm_sc_save
356
426
  type: MenuLink
357
427
  properties:
358
428
  title: Save
359
- icon: AiOutlineSave
429
+ icon: save
360
430
  shortcut: mod+shift+S
361
431
  - id: dm_sc_div
362
432
  type: MenuDivider
@@ -364,7 +434,7 @@ Right-click anywhere in this card to open the context menu.
364
434
  type: MenuLink
365
435
  properties:
366
436
  title: Close
367
- icon: AiOutlineClose
437
+ icon: close
368
438
  shortcut: mod+shift+W
369
439
  events:
370
440
  onClick:
@@ -419,7 +489,7 @@ Right-click anywhere in this card to open the context menu.
419
489
  title: Click to Toggle
420
490
  color: primary
421
491
  variant: solid
422
- icon: AiOutlineBell
492
+ icon: bell
423
493
  ```
424
494
 
425
495
  ```yaml
@@ -434,17 +504,17 @@ Right-click anywhere in this card to open the context menu.
434
504
  type: MenuLink
435
505
  properties:
436
506
  title: Edit
437
- icon: AiOutlineEdit
507
+ icon: edit
438
508
  - id: dm_oc_copy
439
509
  type: MenuLink
440
510
  properties:
441
511
  title: Copy
442
- icon: AiOutlineCopy
512
+ icon: copy
443
513
  - id: dm_oc_delete
444
514
  type: MenuLink
445
515
  properties:
446
516
  title: Delete
447
- icon: AiOutlineDelete
517
+ icon: delete
448
518
  danger: true
449
519
  events:
450
520
  onClick:
@@ -519,20 +589,20 @@ Jane Doe
519
589
  pageId: home
520
590
  properties:
521
591
  title: My Profile
522
- icon: AiOutlineUser
592
+ icon: user
523
593
  - id: dm_user_settings
524
594
  type: MenuLink
525
595
  pageId: home
526
596
  properties:
527
597
  title: Settings
528
- icon: AiOutlineSetting
598
+ icon: settings
529
599
  - id: dm_user_div
530
600
  type: MenuDivider
531
601
  - id: dm_user_logout
532
602
  type: MenuLink
533
603
  properties:
534
604
  title: Log Out
535
- icon: AiOutlineLogout
605
+ icon: logout
536
606
  danger: true
537
607
  blocks:
538
608
  - id: dropdown_menu_user_trigger
@@ -547,8 +617,7 @@ Jane Doe
547
617
  flex: 0 0 auto
548
618
  properties:
549
619
  content: JD
550
- color: "#fff"
551
- backgroundColor: "#1677ff"
620
+ color: "#1677ff"
552
621
  - id: dropdown_menu_user_name
553
622
  type: Paragraph
554
623
  layout:
@@ -569,7 +638,7 @@ Jane Doe
569
638
  type: Button
570
639
  properties:
571
640
  title: Open Menu
572
- icon: AiOutlineMenu
641
+ icon: menu
573
642
  ```
574
643
 
575
644
  | Property | Type | Default | Description |
@@ -584,7 +653,16 @@ Jane Doe
584
653
  | `links.$.class` | string \| array \| object | - | CSS classes for the menu item. Flat applies to the item wrapper; use dot-prefixed slot keys to target parts. |
585
654
  | `links.$.properties` | object | - | Properties for the menu item. |
586
655
  | `links.$.properties.title` | string | - | Menu item title. |
587
- | `links.$.properties.icon` | string \| object | - | Name of a React-Icon or properties of an Icon block to customize icon on menu item. |
656
+ | `links.$.properties.icon` | string \| object | - | Icon name (a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`) or properties of an Icon block to customize icon on menu item. |
657
+ | `links.$.properties.icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
658
+ | `links.$.properties.icon.color` | string | - | Icon color. |
659
+ | `links.$.properties.icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
660
+ | `links.$.properties.icon.rotate` | number | - | Number of degrees to rotate the icon. |
661
+ | `links.$.properties.icon.spin` | boolean | - | Continuously spin the icon with animation. |
662
+ | `links.$.properties.icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
663
+ | `links.$.properties.icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
664
+ | `links.$.properties.icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
665
+ | `links.$.properties.icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
588
666
  | `links.$.properties.danger` | boolean | `false` | Apply danger style to menu item. |
589
667
  | `links.$.properties.disabled` | boolean | `false` | Disable the menu item. |
590
668
  | `links.$.properties.tooltip` | string | - | Tooltip text shown when the menu is collapsed. |
@@ -602,6 +680,15 @@ Jane Doe
602
680
  | `links.$.links.$.properties` | object | - | Properties for the menu item. |
603
681
  | `links.$.links.$.properties.title` | string | - | Menu item title. |
604
682
  | `links.$.links.$.properties.icon` | string \| object | - | Icon name or config. |
683
+ | `links.$.links.$.properties.icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
684
+ | `links.$.links.$.properties.icon.color` | string | - | Icon color. |
685
+ | `links.$.links.$.properties.icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
686
+ | `links.$.links.$.properties.icon.rotate` | number | - | Number of degrees to rotate the icon. |
687
+ | `links.$.links.$.properties.icon.spin` | boolean | - | Continuously spin the icon with animation. |
688
+ | `links.$.links.$.properties.icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
689
+ | `links.$.links.$.properties.icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
690
+ | `links.$.links.$.properties.icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
691
+ | `links.$.links.$.properties.icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
605
692
  | `links.$.links.$.properties.danger` | boolean | `false` | Danger style. |
606
693
  | `links.$.links.$.properties.disabled` | boolean | `false` | Disable the item. |
607
694
  | `links.$.links.$.properties.tooltip` | string | - | Tooltip text shown when the menu is collapsed. |
@@ -609,11 +696,12 @@ Jane Doe
609
696
  | `links.$.links.$.properties.dashed` | boolean | `false` | Dashed divider line. |
610
697
  | `links.$.links.$.properties.shortcut` | string | - | Keyboard shortcut. Renders a kbd badge floated to the far right and wires the key handler. Use "mod" for Cmd/Ctrl. |
611
698
  | `trigger` | string | `"hover"` | How the dropdown opens. Enum: `click`, `hover`, `contextMenu`. |
612
- | `placement` | string | `"bottomLeft"` | Position relative to trigger. Enum: `bottomLeft`, `bottom`, `bottomRight`, `topLeft`, `top`, `topRight`. |
699
+ | `placement` | string | `"bottomLeft"` | Position relative to trigger. Enum: `bottomLeft`, `bottom`, `bottomRight`, `topLeft`, `top`, `topRight`, `left`, `leftTop`, `leftBottom`, `right`, `rightTop`, `rightBottom`. |
613
700
  | `arrow` | boolean \| object | `false` | Show arrow pointing to trigger. |
614
701
  | `arrow.pointAtCenter` | boolean | - | |
615
702
  | `disabled` | boolean | `false` | Disable the dropdown. |
616
703
  | `destroyOnClose` | boolean | `false` | Unmount menu DOM when closed. |
704
+ | `selectable` | boolean | `false` | Allow menu items to be selected. Selecting an item highlights it and fires onSelect. |
617
705
  | `selectedKeys` | array | - | Highlighted menu items. |
618
706
  | `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design dropdown tokens](https://ant.design/components/dropdown#design-token). |
619
707
  | `theme.zIndexPopup` | number | `1050` | Z-index of the dropdown popup. |
@@ -625,7 +713,7 @@ Jane Doe
625
713
  | Event | Event Data | Description |
626
714
  | --- | --- | --- |
627
715
  | `onClick` | `{ key, keyPath, pageId, url }` | Trigger action when a menu item is clicked. |
628
- | `onSelect` | `{ key, selectedKeys, pageId, url }` | Trigger action when a menu item is selected. |
716
+ | `onSelect` | `{ key, selectedKeys, pageId, url }` | Trigger action when a menu item is selected. Requires `selectable: true`. |
629
717
  | `onOpenChange` | `{ open }` | Trigger action when dropdown opens or closes. |
630
718
 
631
719
  | Key | Target |
@@ -635,8 +723,8 @@ Jane Doe
635
723
  | `/menu` | The floating menu container. |
636
724
  | `/item` | Individual menu items. |
637
725
  | `/itemIcon` | Icon within menu items. |
638
- | `/subMenu` | Submenu/group containers. |
639
- | `/arrow` | Dropdown arrow indicator. |
726
+ | `/subMenu` | Has no effect: antd does not expose submenu containers as a separately styled part. The item key also applies to submenu items. |
727
+ | `/arrow` | Has no effect: antd does not expose the dropdown arrow as a separately styled part. |
640
728
 
641
729
  | Slot | Description |
642
730
  | --- | --- |
@@ -44,7 +44,7 @@ Below the second card.
44
44
  - id: flex_vertical
45
45
  type: Flex
46
46
  properties:
47
- vertical: true
47
+ orientation: vertical
48
48
  gap: 12
49
49
  blocks:
50
50
  - id: flex_vert_card1
@@ -81,7 +81,7 @@ Below the second card.
81
81
 
82
82
  **gap: small (8px)**
83
83
 
84
- **gap: middle (16px)**
84
+ **gap: medium (16px)**
85
85
 
86
86
  **gap: large (24px)**
87
87
 
@@ -121,11 +121,11 @@ Below the second card.
121
121
  - id: flex_gap_middle_label
122
122
  type: Markdown
123
123
  properties:
124
- content: "**gap: middle (16px)**"
124
+ content: "**gap: medium (16px)**"
125
125
  - id: flex_gap_middle
126
126
  type: Flex
127
127
  properties:
128
- gap: middle
128
+ gap: medium
129
129
  blocks:
130
130
  - id: flex_gm_1
131
131
  type: Tag
@@ -853,75 +853,53 @@ flex 2 (grows 2x)
853
853
  variant: link
854
854
  ```
855
855
 
856
- All Theme Tokens
857
-
858
- Combining padding, margin, and colorBgContainer tokens for a fully themed Flex container.
859
-
860
856
  ```yaml
861
- - id: flex_theme_padding
857
+ - id: flex_theme_medium
862
858
  type: Flex
863
859
  properties:
864
- gap: 12
860
+ gap: medium
865
861
  theme:
866
- padding: 24
867
- margin: 8
862
+ padding: 32
868
863
  blocks:
869
- - id: flex_theme_padding_btn1
864
+ - id: flex_theme_medium_btn1
870
865
  type: Button
871
866
  layout:
872
867
  flex: 0 0 auto
873
868
  properties:
874
- title: Custom Padding
869
+ title: Wider medium gap
875
870
  color: primary
876
871
  variant: solid
877
- - id: flex_theme_padding_btn2
872
+ - id: flex_theme_medium_btn2
878
873
  type: Button
879
874
  layout:
880
875
  flex: 0 0 auto
881
876
  properties:
882
- title: And Margin
877
+ title: padding token 32
883
878
  color: primary
884
879
  variant: outlined
885
- - id: flex_theme_bg
880
+ - id: flex_theme_small
886
881
  type: Flex
887
882
  properties:
888
- gap: 12
883
+ gap: small
884
+ theme:
885
+ paddingXS: 2
889
886
  blocks:
890
- - id: flex_theme_bg_btn1
887
+ - id: flex_theme_small_btn1
891
888
  type: Button
892
889
  layout:
893
890
  flex: 0 0 auto
894
891
  properties:
895
- title: Token A
892
+ title: Tighter small gap
896
893
  color: green
897
894
  variant: solid
898
- - id: flex_theme_bg_btn2
895
+ - id: flex_theme_small_btn2
899
896
  type: Button
900
897
  layout:
901
898
  flex: 0 0 auto
902
899
  properties:
903
- title: Token B
900
+ title: paddingXS token 2
904
901
  color: green
905
902
  variant: outlined
906
- - id: flex_theme_combined
907
- type: Flex
908
- properties:
909
- gap: 16
910
- vertical: true
911
- theme:
912
- padding: 20
913
- margin: 4
914
- blocks:
915
- - id: flex_theme_combined_title
916
- type: Title
917
- properties:
918
- content: All Theme Tokens
919
- level: 5
920
- - id: flex_theme_combined_p
921
- type: Paragraph
922
- properties:
923
- content: Combining padding, margin, and colorBgContainer tokens for a fully
924
- themed Flex container.
925
903
  ```
926
904
 
927
905
  Dark Panel
@@ -933,7 +911,7 @@ Dark Panel
933
911
  .element:
934
912
  padding: 16px
935
913
  borderRadius: 8px
936
- border: 1px dashed
914
+ border: "1px dashed #91caff"
937
915
  properties:
938
916
  gap: 12
939
917
  justify: center
@@ -993,7 +971,7 @@ Ring utility applied to the element CSS key.
993
971
  - id: flex_tw_gradient
994
972
  type: Flex
995
973
  class:
996
- element: bg-gradient-to-r from-primary/100 to-purple-600 p-6 rounded-xl shadow-lg
974
+ .element: bg-gradient-to-r from-primary/100 to-purple-600 p-6 rounded-xl shadow-lg
997
975
  properties:
998
976
  gap: 16
999
977
  align: center
@@ -1019,7 +997,7 @@ Ring utility applied to the element CSS key.
1019
997
  - id: flex_tw_bordered
1020
998
  type: Flex
1021
999
  class:
1022
- element: border-2 border-dashed border-border p-4 rounded-lg
1000
+ .element: border-2 border-dashed border-border p-4 rounded-lg
1023
1001
  hover:border-blue-400 transition-colors duration-200
1024
1002
  properties:
1025
1003
  gap: 12
@@ -1050,7 +1028,7 @@ Ring utility applied to the element CSS key.
1050
1028
  - id: flex_tw_ring
1051
1029
  type: Flex
1052
1030
  class:
1053
- element: ring-2 ring-green-400 ring-offset-2 p-4 rounded-lg bg-bg-layout
1031
+ .element: ring-2 ring-green-400 ring-offset-2 p-4 rounded-lg bg-bg-layout
1054
1032
  properties:
1055
1033
  gap: 8
1056
1034
  align: center
@@ -1060,7 +1038,7 @@ Ring utility applied to the element CSS key.
1060
1038
  layout:
1061
1039
  flex: 0 0 auto
1062
1040
  properties:
1063
- name: AiOutlineCheckCircle
1041
+ name: check-circle
1064
1042
  color: "#52c41a"
1065
1043
  size: 24
1066
1044
  - id: flex_tw_ring_text
@@ -1113,7 +1091,7 @@ Dashboard
1113
1091
  flex: 0 0 auto
1114
1092
  properties:
1115
1093
  title: Filter
1116
- icon: AiOutlineFilter
1094
+ icon: filter
1117
1095
  color: default
1118
1096
  variant: outlined
1119
1097
  size: small
@@ -1130,7 +1108,7 @@ Dashboard
1130
1108
  flex: 0 0 auto
1131
1109
  properties:
1132
1110
  title: Export
1133
- icon: AiOutlineDownload
1111
+ icon: download
1134
1112
  color: primary
1135
1113
  variant: solid
1136
1114
  size: small
@@ -1228,10 +1206,9 @@ Senior Product Designer at Acme Corp
1228
1206
  layout:
1229
1207
  flex: 0 0 auto
1230
1208
  properties:
1231
- icon: AiOutlineUser
1209
+ icon: user
1232
1210
  size: 72
1233
- color: "#fff"
1234
- backgroundColor: "#1677ff"
1211
+ color: "#1677ff"
1235
1212
  - id: flex_profile_info
1236
1213
  type: Flex
1237
1214
  layout:
@@ -1289,7 +1266,7 @@ Senior Product Designer at Acme Corp
1289
1266
  flex: 0 0 auto
1290
1267
  properties:
1291
1268
  title: Message
1292
- icon: AiOutlineMail
1269
+ icon: mail
1293
1270
  color: primary
1294
1271
  variant: outlined
1295
1272
  events:
@@ -1305,7 +1282,7 @@ Senior Product Designer at Acme Corp
1305
1282
  flex: 0 0 auto
1306
1283
  properties:
1307
1284
  title: Follow
1308
- icon: AiOutlineUserAdd
1285
+ icon: UserPlus
1309
1286
  color: primary
1310
1287
  variant: solid
1311
1288
  events:
@@ -1359,7 +1336,7 @@ Custom plugins for blocks, connections, operators, and actions let you extend fu
1359
1336
  layout:
1360
1337
  flex: 0 0 auto
1361
1338
  properties:
1362
- name: AiOutlineThunderbolt
1339
+ name: Zap
1363
1340
  color: "#1677ff"
1364
1341
  size: 28
1365
1342
  - id: flex_feature1_title
@@ -1406,7 +1383,7 @@ Custom plugins for blocks, connections, operators, and actions let you extend fu
1406
1383
  layout:
1407
1384
  flex: 0 0 auto
1408
1385
  properties:
1409
- name: AiOutlineSafety
1386
+ name: Shield
1410
1387
  color: "#52c41a"
1411
1388
  size: 28
1412
1389
  - id: flex_feature2_title
@@ -1453,7 +1430,7 @@ Custom plugins for blocks, connections, operators, and actions let you extend fu
1453
1430
  layout:
1454
1431
  flex: 0 0 auto
1455
1432
  properties:
1456
- name: AiOutlineExpandAlt
1433
+ name: Maximize2
1457
1434
  color: "#722ed1"
1458
1435
  size: 28
1459
1436
  - id: flex_feature3_title
@@ -1486,17 +1463,18 @@ Custom plugins for blocks, connections, operators, and actions let you extend fu
1486
1463
 
1487
1464
  | Property | Type | Default | Description |
1488
1465
  | --- | --- | --- | --- |
1466
+ | `orientation` | string | `"horizontal"` | Direction of the main axis. Takes precedence over vertical. Enum: `horizontal`, `vertical`. |
1489
1467
  | `vertical` | boolean | `false` | Whether the main axis direction is vertical. |
1490
1468
  | `wrap` | boolean \| string | - | Set whether the element is displayed in a single line or in multiple lines. |
1491
- | `justify` | string | - | Set the alignment of elements on the main axis. Enum: `flex-start`, `center`, `flex-end`, `space-between`, `space-around`, `space-evenly`. |
1492
- | `align` | string | - | Set the alignment of elements on the cross axis. Enum: `flex-start`, `center`, `flex-end`, `stretch`, `baseline`. |
1493
- | `gap` | string \| number | - | Set the gap between items. Can be "small", "middle", "large", or a number. |
1469
+ | `justify` | string | - | Set the alignment of elements on the main axis. Enum: `flex-start`, `center`, `flex-end`, `space-between`, `space-around`, `space-evenly`, `start`, `end`, `left`, `right`, `stretch`, `normal`. |
1470
+ | `align` | string | - | Set the alignment of elements on the cross axis. Enum: `flex-start`, `center`, `flex-end`, `stretch`, `baseline`, `start`, `end`, `self-start`, `self-end`, `normal`. |
1471
+ | `gap` | string \| number | - | Set the gap between items. Can be "small", "medium" ("middle" is an alias), "large", a number of pixels or a CSS length. |
1494
1472
  | `flex` | string \| number | - | Flex CSS shorthand property. |
1495
1473
  | `component` | string | - | Custom element type. |
1496
1474
  | `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design flex tokens](https://ant.design/components/flex#design-token). |
1497
- | `theme.padding` | number | - | Base padding value. |
1498
- | `theme.margin` | number | - | Base margin value. |
1499
- | `theme.colorBgContainer` | string | - | Background color when used with a custom component wrapper. |
1475
+ | `theme.paddingXS` | number | `8` | Gap of the "small" gap preset. |
1476
+ | `theme.padding` | number | `16` | Gap of the "medium" gap preset. |
1477
+ | `theme.paddingLG` | number | `24` | Gap of the "large" gap preset. |
1500
1478
 
1501
1479
  No events defined.
1502
1480