@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
@@ -43,7 +43,7 @@ Notification message displayed in the corner of the page.
43
43
  title: Success
44
44
  color: primary
45
45
  variant: outlined
46
- icon: AiOutlineCheckCircle
46
+ icon: check-circle
47
47
  events:
48
48
  onClick:
49
49
  - id: open_status_success
@@ -59,7 +59,7 @@ Notification message displayed in the corner of the page.
59
59
  title: Error
60
60
  color: danger
61
61
  variant: outlined
62
- icon: AiOutlineCloseCircle
62
+ icon: close-circle
63
63
  events:
64
64
  onClick:
65
65
  - id: open_status_error
@@ -75,7 +75,7 @@ Notification message displayed in the corner of the page.
75
75
  title: Warning
76
76
  color: default
77
77
  variant: outlined
78
- icon: AiOutlineWarning
78
+ icon: warning
79
79
  events:
80
80
  onClick:
81
81
  - id: open_status_warning
@@ -91,7 +91,7 @@ Notification message displayed in the corner of the page.
91
91
  title: Info
92
92
  color: primary
93
93
  variant: text
94
- icon: AiOutlineInfoCircle
94
+ icon: info
95
95
  events:
96
96
  onClick:
97
97
  - id: open_status_info
@@ -298,6 +298,35 @@ Notification message displayed in the corner of the page.
298
298
  method: open
299
299
  ```
300
300
 
301
+ ```yaml
302
+ - id: notif_progress
303
+ type: Notification
304
+ layout:
305
+ span: 0
306
+ properties:
307
+ status: info
308
+ title: Export started
309
+ description: The progress bar counts down to when this notification closes.
310
+ Hover to pause it.
311
+ duration: 8
312
+ showProgress: true
313
+ - id: btn_progress
314
+ type: Button
315
+ layout:
316
+ flex: 0 0 auto
317
+ properties:
318
+ title: Show Progress Bar
319
+ color: default
320
+ variant: outlined
321
+ events:
322
+ onClick:
323
+ - id: open_progress
324
+ type: CallMethod
325
+ params:
326
+ blockId: notif_progress
327
+ method: open
328
+ ```
329
+
301
330
  ```yaml
302
331
  - id: notif_icon_string
303
332
  type: Notification
@@ -307,7 +336,7 @@ Notification message displayed in the corner of the page.
307
336
  status: success
308
337
  title: Download Complete
309
338
  description: Your file has been downloaded successfully.
310
- icon: AiOutlineDownload
339
+ icon: download
311
340
  - id: notif_icon_colored
312
341
  type: Notification
313
342
  layout:
@@ -317,7 +346,7 @@ Notification message displayed in the corner of the page.
317
346
  title: Starred Item
318
347
  description: Item has been added to your favorites.
319
348
  icon:
320
- name: AiOutlineStar
349
+ name: star
321
350
  color: "#faad14"
322
351
  - id: notif_icon_sized
323
352
  type: Notification
@@ -328,7 +357,7 @@ Notification message displayed in the corner of the page.
328
357
  title: Session Expiring
329
358
  description: Your session will expire in 5 minutes.
330
359
  icon:
331
- name: AiOutlineLock
360
+ name: lock
332
361
  color: "#fa8c16"
333
362
  size: 28
334
363
  - id: btn_icon_string
@@ -339,7 +368,7 @@ Notification message displayed in the corner of the page.
339
368
  title: String Icon
340
369
  color: primary
341
370
  variant: outlined
342
- icon: AiOutlineDownload
371
+ icon: download
343
372
  events:
344
373
  onClick:
345
374
  - id: open_icon_string
@@ -355,7 +384,7 @@ Notification message displayed in the corner of the page.
355
384
  title: Colored Icon
356
385
  color: default
357
386
  variant: outlined
358
- icon: AiOutlineStar
387
+ icon: star
359
388
  events:
360
389
  onClick:
361
390
  - id: open_icon_colored
@@ -371,7 +400,7 @@ Notification message displayed in the corner of the page.
371
400
  title: Sized Icon
372
401
  color: default
373
402
  variant: outlined
374
- icon: AiOutlineLock
403
+ icon: lock
375
404
  events:
376
405
  onClick:
377
406
  - id: open_icon_sized
@@ -390,7 +419,7 @@ Notification message displayed in the corner of the page.
390
419
  status: info
391
420
  title: Custom Close
392
421
  description: This notification has a custom close icon.
393
- closeIcon: AiOutlineCloseSquare
422
+ closeIcon: SquareX
394
423
  duration: 0
395
424
  - id: notif_close_icon_styled
396
425
  type: Notification
@@ -401,7 +430,7 @@ Notification message displayed in the corner of the page.
401
430
  title: Styled Close
402
431
  description: Close icon with custom color and size.
403
432
  closeIcon:
404
- name: AiOutlineCloseCircle
433
+ name: close-circle
405
434
  color: "#ff4d4f"
406
435
  size: 18
407
436
  duration: 0
@@ -413,7 +442,7 @@ Notification message displayed in the corner of the page.
413
442
  status: success
414
443
  title: Arrow Close
415
444
  description: Uses an arrow icon instead of the default close.
416
- closeIcon: AiOutlineArrowRight
445
+ closeIcon: arrow-right
417
446
  duration: 0
418
447
  - id: btn_close_icon_string
419
448
  type: Button
@@ -474,7 +503,7 @@ Notification message displayed in the corner of the page.
474
503
  duration: 0
475
504
  button:
476
505
  title: Confirm
477
- icon: AiOutlineCheck
506
+ icon: check
478
507
  color: primary
479
508
  variant: solid
480
509
  size: small
@@ -489,7 +518,7 @@ Notification message displayed in the corner of the page.
489
518
  duration: 0
490
519
  button:
491
520
  title: Retry
492
- icon: AiOutlineReload
521
+ icon: refresh
493
522
  color: danger
494
523
  variant: solid
495
524
  size: small
@@ -554,83 +583,6 @@ Notification message displayed in the corner of the page.
554
583
  method: open
555
584
  ```
556
585
 
557
- ```yaml
558
- - id: notif_top_offset
559
- type: Notification
560
- layout:
561
- span: 0
562
- properties:
563
- status: info
564
- title: Top Offset
565
- description: Positioned 80px from the top of the viewport.
566
- placement: topRight
567
- top: 80
568
- - id: notif_bottom_offset
569
- type: Notification
570
- layout:
571
- span: 0
572
- properties:
573
- status: info
574
- title: Bottom Offset
575
- description: Positioned 80px from the bottom of the viewport.
576
- placement: bottomRight
577
- bottom: 80
578
- - id: notif_default_offset
579
- type: Notification
580
- layout:
581
- span: 0
582
- properties:
583
- status: info
584
- title: Default Offset
585
- description: Uses the default 24px offset.
586
- placement: topRight
587
- - id: btn_top_offset
588
- type: Button
589
- layout:
590
- flex: 0 0 auto
591
- properties:
592
- title: Top 80px
593
- color: default
594
- variant: outlined
595
- events:
596
- onClick:
597
- - id: open_top_offset
598
- type: CallMethod
599
- params:
600
- blockId: notif_top_offset
601
- method: open
602
- - id: btn_bottom_offset
603
- type: Button
604
- layout:
605
- flex: 0 0 auto
606
- properties:
607
- title: Bottom 80px
608
- color: default
609
- variant: outlined
610
- events:
611
- onClick:
612
- - id: open_bottom_offset
613
- type: CallMethod
614
- params:
615
- blockId: notif_bottom_offset
616
- method: open
617
- - id: btn_default_offset
618
- type: Button
619
- layout:
620
- flex: 0 0 auto
621
- properties:
622
- title: Default (24px)
623
- color: default
624
- variant: outlined
625
- events:
626
- onClick:
627
- - id: open_default_offset
628
- type: CallMethod
629
- params:
630
- blockId: notif_default_offset
631
- method: open
632
- ```
633
-
634
586
  ```yaml
635
587
  - id: notif_html_bold
636
588
  type: Notification
@@ -718,7 +670,7 @@ Notification message displayed in the corner of the page.
718
670
  description: This notification has a left green border.
719
671
  style:
720
672
  .element:
721
- borderLeft: 4px solid
673
+ borderLeft: "4px solid #52c41a"
722
674
  - id: notif_style_bg
723
675
  type: Notification
724
676
  layout:
@@ -805,7 +757,7 @@ Notification message displayed in the corner of the page.
805
757
  title: Override as Success
806
758
  color: primary
807
759
  variant: solid
808
- icon: AiOutlineCheckCircle
760
+ icon: check-circle
809
761
  events:
810
762
  onClick:
811
763
  - id: open_override_success
@@ -825,7 +777,7 @@ Notification message displayed in the corner of the page.
825
777
  title: Override as Error
826
778
  color: danger
827
779
  variant: solid
828
- icon: AiOutlineCloseCircle
780
+ icon: close-circle
829
781
  events:
830
782
  onClick:
831
783
  - id: open_override_error
@@ -845,7 +797,7 @@ Notification message displayed in the corner of the page.
845
797
  title: Override Duration
846
798
  color: default
847
799
  variant: outlined
848
- icon: AiOutlineClockCircle
800
+ icon: clock
849
801
  events:
850
802
  onClick:
851
803
  - id: open_override_duration
@@ -992,7 +944,7 @@ Notification message displayed in the corner of the page.
992
944
  style:
993
945
  .element:
994
946
  borderRadius: 12
995
- border: 2px solid
947
+ border: "2px solid #1890ff"
996
948
  properties:
997
949
  status: info
998
950
  title: Inline Style
@@ -1044,112 +996,6 @@ Notification message displayed in the corner of the page.
1044
996
  method: open
1045
997
  ```
1046
998
 
1047
- ```yaml
1048
- - id: notif_theme_wide
1049
- type: Notification
1050
- layout:
1051
- span: 0
1052
- properties:
1053
- status: info
1054
- title: Wide Notification
1055
- description: This notification is wider than the default 384px.
1056
- theme:
1057
- width: 500
1058
- - id: notif_theme_zindex
1059
- type: Notification
1060
- layout:
1061
- span: 0
1062
- properties:
1063
- status: warning
1064
- title: High Z-Index
1065
- description: This notification has an elevated z-index of 2000.
1066
- theme:
1067
- zIndexPopup: 2000
1068
- - id: notif_theme_progress
1069
- type: Notification
1070
- layout:
1071
- span: 0
1072
- properties:
1073
- status: success
1074
- title: Custom Progress Bar
1075
- description: The auto-close progress bar has a custom gradient.
1076
- duration: 8
1077
- theme:
1078
- progressBg: "linear-gradient(to right, #52c41a, #1890ff)"
1079
- - id: notif_theme_combined
1080
- type: Notification
1081
- layout:
1082
- span: 0
1083
- properties:
1084
- status: info
1085
- title: Combined Tokens
1086
- description: Wide notification with custom progress bar.
1087
- duration: 6
1088
- theme:
1089
- width: 450
1090
- progressBg: "linear-gradient(to right, #722ed1, #eb2f96)"
1091
- - id: btn_theme_wide
1092
- type: Button
1093
- layout:
1094
- flex: 0 0 auto
1095
- properties:
1096
- title: Wide (500px)
1097
- color: default
1098
- variant: outlined
1099
- events:
1100
- onClick:
1101
- - id: open_theme_wide
1102
- type: CallMethod
1103
- params:
1104
- blockId: notif_theme_wide
1105
- method: open
1106
- - id: btn_theme_zindex
1107
- type: Button
1108
- layout:
1109
- flex: 0 0 auto
1110
- properties:
1111
- title: Z-Index 2000
1112
- color: default
1113
- variant: outlined
1114
- events:
1115
- onClick:
1116
- - id: open_theme_zindex
1117
- type: CallMethod
1118
- params:
1119
- blockId: notif_theme_zindex
1120
- method: open
1121
- - id: btn_theme_progress
1122
- type: Button
1123
- layout:
1124
- flex: 0 0 auto
1125
- properties:
1126
- title: Custom Progress
1127
- color: default
1128
- variant: outlined
1129
- events:
1130
- onClick:
1131
- - id: open_theme_progress
1132
- type: CallMethod
1133
- params:
1134
- blockId: notif_theme_progress
1135
- method: open
1136
- - id: btn_theme_combined
1137
- type: Button
1138
- layout:
1139
- flex: 0 0 auto
1140
- properties:
1141
- title: Combined Tokens
1142
- color: default
1143
- variant: outlined
1144
- events:
1145
- onClick:
1146
- - id: open_theme_combined
1147
- type: CallMethod
1148
- params:
1149
- blockId: notif_theme_combined
1150
- method: open
1151
- ```
1152
-
1153
999
  **Customer:** Sarah Johnson
1154
1000
  **Items:** 3 items totaling $247.50
1155
1001
  **Status:** Pending fulfillment
@@ -1158,7 +1004,7 @@ Notification message displayed in the corner of the page.
1158
1004
  - id: order_card
1159
1005
  type: Card
1160
1006
  properties:
1161
- title: Order
1007
+ title: "Order #12847"
1162
1008
  size: small
1163
1009
  blocks:
1164
1010
  - id: order_status_text
@@ -1177,7 +1023,7 @@ Notification message displayed in the corner of the page.
1177
1023
  title: Order Shipped
1178
1024
  description: "Order #12847 has been shipped. Tracking number:
1179
1025
  <b>1Z999AA10123456784</b>"
1180
- icon: AiOutlineRocket
1026
+ icon: Rocket
1181
1027
  duration: 0
1182
1028
  button:
1183
1029
  title: View Tracking
@@ -1199,7 +1045,7 @@ Notification message displayed in the corner of the page.
1199
1045
  status: error
1200
1046
  title: Order Cancelled
1201
1047
  description: "Order #12847 has been cancelled. Refund of $247.50 initiated."
1202
- icon: AiOutlineStop
1048
+ icon: Ban
1203
1049
  duration: 0
1204
1050
  - id: order_actions
1205
1051
  type: Box
@@ -1215,7 +1061,7 @@ Notification message displayed in the corner of the page.
1215
1061
  title: Cancel Order
1216
1062
  color: danger
1217
1063
  variant: outlined
1218
- icon: AiOutlineStop
1064
+ icon: Ban
1219
1065
  events:
1220
1066
  onClick:
1221
1067
  - id: order_cancel_notif
@@ -1231,7 +1077,7 @@ Notification message displayed in the corner of the page.
1231
1077
  title: Mark as Shipped
1232
1078
  color: primary
1233
1079
  variant: solid
1234
- icon: AiOutlineRocket
1080
+ icon: Rocket
1235
1081
  events:
1236
1082
  onClick:
1237
1083
  - id: order_ship_notif
@@ -1266,7 +1112,7 @@ Monitor system health and receive real-time alerts. Click a button below to simu
1266
1112
  description: CPU usage has exceeded <b>90%</b> on server <b>web-prod-03</b>.
1267
1113
  Consider scaling up or optimizing workloads.
1268
1114
  icon:
1269
- name: AiOutlineDashboard
1115
+ name: Gauge
1270
1116
  color: "#fa8c16"
1271
1117
  duration: 0
1272
1118
  placement: topRight
@@ -1290,7 +1136,7 @@ Monitor system health and receive real-time alerts. Click a button below to simu
1290
1136
  status: success
1291
1137
  title: Deployment Successful
1292
1138
  description: Version <b>2.4.1</b> deployed to production. All health checks passing.
1293
- icon: AiOutlineCheckCircle
1139
+ icon: check-circle
1294
1140
  duration: 8
1295
1141
  events:
1296
1142
  onClose:
@@ -1309,7 +1155,7 @@ Monitor system health and receive real-time alerts. Click a button below to simu
1309
1155
  description: Multiple failed login attempts detected from IP
1310
1156
  <b>192.168.1.42</b>. Account temporarily locked.
1311
1157
  icon:
1312
- name: AiOutlineLock
1158
+ name: lock
1313
1159
  color: "#ff4d4f"
1314
1160
  duration: 0
1315
1161
  button:
@@ -1336,7 +1182,7 @@ Monitor system health and receive real-time alerts. Click a button below to simu
1336
1182
  title: CPU Warning
1337
1183
  color: default
1338
1184
  variant: outlined
1339
- icon: AiOutlineDashboard
1185
+ icon: Gauge
1340
1186
  events:
1341
1187
  onClick:
1342
1188
  - id: trigger_alert_cpu
@@ -1352,7 +1198,7 @@ Monitor system health and receive real-time alerts. Click a button below to simu
1352
1198
  title: Deploy Success
1353
1199
  color: primary
1354
1200
  variant: outlined
1355
- icon: AiOutlineCheckCircle
1201
+ icon: check-circle
1356
1202
  events:
1357
1203
  onClick:
1358
1204
  - id: trigger_alert_deploy
@@ -1368,7 +1214,7 @@ Monitor system health and receive real-time alerts. Click a button below to simu
1368
1214
  title: Security Alert
1369
1215
  color: danger
1370
1216
  variant: outlined
1371
- icon: AiOutlineLock
1217
+ icon: lock
1372
1218
  events:
1373
1219
  onClick:
1374
1220
  - id: trigger_alert_security
@@ -1380,17 +1226,39 @@ Monitor system health and receive real-time alerts. Click a button below to simu
1380
1226
 
1381
1227
  | Property | Type | Default | Description |
1382
1228
  | --- | --- | --- | --- |
1383
- | `bottom` | number | `24` | Distance from the bottom of the viewport, when placement is bottomRight or bottomLeft (unit: pixels). |
1384
- | `button` | object | - | Button object to customized the close button. Triggers onClose event when clicked. |
1229
+ | `bottom` | number | `24` | Has no effect: notifications open in the app-wide notification holder, which keeps them 24px from the bottom of the viewport. To move every bottom notification, set the `--notification-bottom` CSS variable on `.ant-notification` in `public/styles.css`, for example `.ant-notification { --notification-bottom: 80px; }`. |
1230
+ | `closable` | boolean | `true` | Whether to show the close button. |
1231
+ | `button` | object | - | Button object to customize the close button. Closes the notification and triggers the onClose event when clicked. |
1385
1232
  | `description` | string | - | The content of notification box - supports html. |
1386
1233
  | `duration` | number | `4.5` | Time in seconds before Notification is closed. When set to 0 or null, it will never be closed automatically. |
1387
- | `icon` | string \| object | - | Name of an React-Icon (See all icons) or properties of an Icon block to customize notification icon. |
1388
- | `closeIcon` | string \| object | - | Name of an React-Icon (See all icons) or properties of an Icon block to customize close icon. |
1234
+ | `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 notification icon. |
1235
+ | `icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
1236
+ | `icon.color` | string | - | Icon color. |
1237
+ | `icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
1238
+ | `icon.rotate` | number | - | Number of degrees to rotate the icon. |
1239
+ | `icon.spin` | boolean | - | Continuously spin the icon with animation. |
1240
+ | `icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
1241
+ | `icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
1242
+ | `icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
1243
+ | `icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
1244
+ | `closeIcon` | 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 close icon. |
1245
+ | `closeIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
1246
+ | `closeIcon.color` | string | - | Icon color. |
1247
+ | `closeIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
1248
+ | `closeIcon.rotate` | number | - | Number of degrees to rotate the icon. |
1249
+ | `closeIcon.spin` | boolean | - | Continuously spin the icon with animation. |
1250
+ | `closeIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
1251
+ | `closeIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
1252
+ | `closeIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
1253
+ | `closeIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
1389
1254
  | `title` | string | - | The title of notification box - supports html. |
1390
- | `placement` | string | `"topRight"` | Position of Notification. Enum: `topLeft`, `topRight`, `bottomLeft`, `bottomRight`. |
1391
- | `top` | number | `24` | Distance from the top of the viewport, when placement is topRight or topLeft (unit: pixels). |
1392
- | `status` | string | - | Notification status type. Enum: `success`, `error`, `info`, `warning`. |
1393
- | `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design notification tokens](https://ant.design/components/notification#design-token). |
1255
+ | `pauseOnHover` | boolean | `true` | Pause the auto-close timer while the mouse is over the notification. |
1256
+ | `placement` | string | `"topRight"` | Position of Notification. Enum: `top`, `topLeft`, `topRight`, `bottom`, `bottomLeft`, `bottomRight`. |
1257
+ | `role` | string | `"alert"` | How screen readers announce the notification. `alert` interrupts the reader immediately, `status` waits until it is idle. Enum: `alert`, `status`. |
1258
+ | `showProgress` | boolean | `false` | Show a progress bar counting down to when the notification closes. |
1259
+ | `top` | number | `24` | Has no effect: notifications open in the app-wide notification holder, which keeps them 24px from the top of the viewport. To move every top notification, set the `--notification-top` CSS variable on `.ant-notification` in `public/styles.css`, for example `.ant-notification { --notification-top: 80px; }`. |
1260
+ | `status` | string | `"success"` | Notification status type. Enum: `success`, `error`, `info`, `warning`. |
1261
+ | `theme` | object | - | Has no effect: notifications render in the app-wide notification holder, outside the block. Set these Notification design tokens for the whole app in `lowdefy.yaml` under `theme.antd.components.Notification`. See [Ant Design notification tokens](https://ant.design/components/notification#design-token). |
1394
1262
  | `theme.zIndexPopup` | number | `1100` | Z-index of the notification popup. |
1395
1263
  | `theme.width` | number | `384` | Width of the notification box. |
1396
1264
  | `theme.progressBg` | string | - | Background gradient for the auto-close progress bar. Defaults to a gradient from colorPrimaryBorderHover to colorPrimary. |
@@ -1404,6 +1272,10 @@ Monitor system health and receive real-time alerts. Click a button below to simu
1404
1272
  | --- | --- |
1405
1273
  | `/block` | Outer block wrapper (always available). |
1406
1274
  | `/element` | The Notification element. |
1275
+ | `/title` | The Notification title. |
1276
+ | `/description` | The Notification description. |
1277
+ | `/actions` | The area holding the Notification button. |
1278
+ | `/progress` | The auto-close progress bar, shown with showProgress. |
1407
1279
  | `/closeIcon` | The close icon in the Notification. |
1408
1280
  | `/icon` | The icon in the Notification. |
1409
1281