@lowdefy/docs-content 0.0.0-experimental-20260928120643 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/README.md +0 -1
  2. package/content/actions/link.md +0 -17
  3. package/content/actions/login.md +5 -23
  4. package/content/actions/logout.md +5 -5
  5. package/content/actions/pdfmake.md +2 -2
  6. package/content/actions/setdarkmode.md +2 -2
  7. package/content/agents/agent-properties.md +2 -4
  8. package/content/agents/agentchat.md +6 -21
  9. package/content/agents/agentconversations.md +2 -2
  10. package/content/concepts/ai-agent-docs.md +101 -313
  11. package/content/concepts/cli.md +3 -34
  12. package/content/concepts/connections-and-requests.md +0 -402
  13. package/content/concepts/custom-html.md +0 -40
  14. package/content/concepts/custom-styling.md +5 -50
  15. package/content/concepts/events-and-actions.md +2 -64
  16. package/content/concepts/i18n.md +2 -7
  17. package/content/concepts/keyboard-shortcuts.md +2 -2
  18. package/content/concepts/layout-overview.md +1 -1
  19. package/content/concepts/logger.md +0 -81
  20. package/content/concepts/lowdefy-schema.md +1 -4
  21. package/content/concepts/menus.md +7 -7
  22. package/content/concepts/module-authoring.md +2 -2
  23. package/content/connections/anthropic.md +2 -162
  24. package/content/connections/awss3.md +0 -54
  25. package/content/connections/google.md +2 -162
  26. package/content/connections/mongodb.md +3 -121
  27. package/content/connections/openai-connection.md +2 -162
  28. package/content/container-blocks/affix.md +7 -47
  29. package/content/container-blocks/alert.md +24 -76
  30. package/content/container-blocks/badge.md +24 -100
  31. package/content/container-blocks/box.md +9 -9
  32. package/content/container-blocks/card.md +25 -80
  33. package/content/container-blocks/carousel.md +7 -60
  34. package/content/container-blocks/collapse.md +9 -87
  35. package/content/container-blocks/configprovider.md +13 -35
  36. package/content/container-blocks/confirmmodal.md +23 -69
  37. package/content/container-blocks/content.md +98 -62
  38. package/content/container-blocks/descriptions.md +4 -45
  39. package/content/container-blocks/drawer.md +28 -92
  40. package/content/container-blocks/dropdownmenu.md +31 -119
  41. package/content/container-blocks/flex.md +62 -40
  42. package/content/container-blocks/footer.md +11 -15
  43. package/content/container-blocks/googlemapsheatmap.md +1 -1
  44. package/content/container-blocks/googlemapsscript.md +2 -2
  45. package/content/container-blocks/header.md +36 -71
  46. package/content/container-blocks/label.md +7 -34
  47. package/content/container-blocks/layout.md +34 -52
  48. package/content/container-blocks/masonry.md +71 -17
  49. package/content/container-blocks/mobilemenu.md +88 -131
  50. package/content/container-blocks/modal.md +26 -114
  51. package/content/container-blocks/pageheadermenu.md +31 -81
  52. package/content/container-blocks/pagesidebarlayout.md +26 -169
  53. package/content/container-blocks/pagesidermenu.md +42 -95
  54. package/content/container-blocks/popover.md +31 -34
  55. package/content/container-blocks/result.md +21 -32
  56. package/content/container-blocks/sider.md +122 -85
  57. package/content/container-blocks/span.md +7 -7
  58. package/content/container-blocks/spinner.md +3 -3
  59. package/content/container-blocks/splitter.md +68 -150
  60. package/content/container-blocks/tabs.md +12 -64
  61. package/content/container-blocks/tooltip.md +46 -22
  62. package/content/container-blocks/watermark.md +4 -22
  63. package/content/controls/reject.md +2 -4
  64. package/content/controls/throw.md +0 -1
  65. package/content/controls/try.md +2 -3
  66. package/content/deployment/deployment-environments.md +6 -8
  67. package/content/deployment/docker.md +7 -22
  68. package/content/deployment/node-server.md +0 -4
  69. package/content/deployment/vercel.md +6 -13
  70. package/content/display-blocks/aggrid.md +11 -26
  71. package/content/display-blocks/anchor.md +15 -15
  72. package/content/display-blocks/avatar.md +37 -57
  73. package/content/display-blocks/breadcrumb.md +21 -70
  74. package/content/display-blocks/button.md +18 -92
  75. package/content/display-blocks/calendar.md +0 -12
  76. package/content/display-blocks/dangeroushtml.md +1 -1
  77. package/content/display-blocks/difflist.md +1 -1
  78. package/content/display-blocks/difftimeline.md +1 -1
  79. package/content/display-blocks/divider.md +3 -64
  80. package/content/display-blocks/dropdownbutton.md +28 -79
  81. package/content/display-blocks/echart.md +1 -35
  82. package/content/display-blocks/floatbutton.md +42 -129
  83. package/content/display-blocks/html.md +1 -61
  84. package/content/display-blocks/icon.md +67 -250
  85. package/content/display-blocks/menu.md +73 -145
  86. package/content/display-blocks/message.md +124 -38
  87. package/content/display-blocks/notification.md +222 -94
  88. package/content/display-blocks/paragraph.md +9 -59
  89. package/content/display-blocks/progress.md +17 -96
  90. package/content/display-blocks/qrcode.md +4 -19
  91. package/content/display-blocks/s3download.md +1 -1
  92. package/content/display-blocks/search.md +7 -17
  93. package/content/display-blocks/skeletonbutton.md +0 -1
  94. package/content/display-blocks/skeletoninput.md +0 -1
  95. package/content/display-blocks/statistic.md +17 -75
  96. package/content/display-blocks/steps.md +25 -58
  97. package/content/display-blocks/tag.md +17 -102
  98. package/content/display-blocks/title.md +11 -50
  99. package/content/display-blocks/tour.md +23 -33
  100. package/content/input-blocks/autocomplete.md +9 -81
  101. package/content/input-blocks/buttonselector.md +8 -45
  102. package/content/input-blocks/checkboxselector.md +7 -97
  103. package/content/input-blocks/checkboxswitch.md +3 -33
  104. package/content/input-blocks/colorselector.md +14 -63
  105. package/content/input-blocks/daterangeselector.md +45 -165
  106. package/content/input-blocks/dateselector.md +41 -139
  107. package/content/input-blocks/datetimeselector.md +49 -158
  108. package/content/input-blocks/inputgallery.md +3 -3
  109. package/content/input-blocks/monthselector.md +52 -120
  110. package/content/input-blocks/multipleselector.md +39 -150
  111. package/content/input-blocks/numberinput.md +12 -98
  112. package/content/input-blocks/pagination.md +14 -70
  113. package/content/input-blocks/paragraphinput.md +37 -51
  114. package/content/input-blocks/passwordinput.md +6 -60
  115. package/content/input-blocks/phonenumberinput.md +26 -59
  116. package/content/input-blocks/radioselector.md +7 -83
  117. package/content/input-blocks/ratingslider.md +26 -57
  118. package/content/input-blocks/s3uploadbutton.md +24 -24
  119. package/content/input-blocks/s3uploaddragger.md +3 -3
  120. package/content/input-blocks/s3uploadphoto.md +5 -5
  121. package/content/input-blocks/segmentedselector.md +32 -72
  122. package/content/input-blocks/selector.md +21 -109
  123. package/content/input-blocks/switch.md +17 -65
  124. package/content/input-blocks/textarea.md +3 -32
  125. package/content/input-blocks/textinput.md +28 -69
  126. package/content/input-blocks/tiptapmentioninput.md +1 -1
  127. package/content/input-blocks/titleinput.md +12 -39
  128. package/content/input-blocks/treeinput.md +25 -49
  129. package/content/input-blocks/treemultipleselector.md +10 -127
  130. package/content/input-blocks/treeselector.md +9 -97
  131. package/content/input-blocks/upload.md +15 -64
  132. package/content/input-blocks/uploaddragger.md +1 -17
  133. package/content/input-blocks/uploadphoto.md +1 -18
  134. package/content/input-blocks/weekselector.md +55 -120
  135. package/content/list-blocks/controlledlist.md +15 -24
  136. package/content/list-blocks/list.md +11 -11
  137. package/content/list-blocks/masonrylist.md +34 -7
  138. package/content/migration/upgrade-guide.md +0 -1
  139. package/content/operators/_app.md +1 -2
  140. package/content/operators/_error.md +1 -23
  141. package/content/operators/_get.md +6 -6
  142. package/content/operators/_operator.md +3 -17
  143. package/content/operators/_ref.md +0 -258
  144. package/content/operators/_type.md +3 -14
  145. package/content/operators/_user.md +3 -3
  146. package/content/other/introduction.md +1 -1
  147. package/content/plugins/plugins-dev.md +0 -66
  148. package/content/plugins/plugins-introduction.md +1 -27
  149. package/content/testing/e2e-configuration.md +1 -8
  150. package/content/testing/e2e-getting-started.md +1 -1
  151. package/content/testing/e2e-introduction.md +1 -1
  152. package/content/tutorial/tutorial-actions-operators.md +2 -2
  153. package/content/tutorial/tutorial-add-blocks.md +2 -2
  154. package/content/tutorial/tutorial-create-page.md +2 -48
  155. package/content/tutorial/tutorial-display-data-page.md +3 -3
  156. package/content/tutorial/tutorial-requests-sql.md +0 -153
  157. package/content/tutorial/tutorial-start.md +1 -66
  158. package/content/user-authentication/login-and-logout.md +8 -158
  159. package/content/user-authentication/users-introduction.md +0 -8
  160. package/index.json +2 -6065
  161. package/package.json +1 -7
  162. package/scripts/extractAgentDocs.js +4 -36
  163. package/content/actions/emailotpsend.md +0 -58
  164. package/content/actions/emailotpverify.md +0 -77
  165. package/content/actions/getlocalstorage.md +0 -41
  166. package/content/actions/magiclinkverify.md +0 -113
  167. package/content/actions/posthogalias.md +0 -29
  168. package/content/actions/posthogcapture.md +0 -49
  169. package/content/actions/posthogcapturepageleave.md +0 -38
  170. package/content/actions/posthogfeatureflag.md +0 -50
  171. package/content/actions/posthoggroup.md +0 -37
  172. package/content/actions/posthogidentify.md +0 -54
  173. package/content/actions/posthoginit.md +0 -66
  174. package/content/actions/posthogoptin.md +0 -29
  175. package/content/actions/posthogoptout.md +0 -29
  176. package/content/actions/posthogpageview.md +0 -37
  177. package/content/actions/posthogreloadfeatureflags.md +0 -47
  178. package/content/actions/posthogreset.md +0 -28
  179. package/content/actions/posthogsetpersonproperties.md +0 -36
  180. package/content/actions/removelocalstorage.md +0 -26
  181. package/content/actions/setlocalstorage.md +0 -32
  182. package/content/adapter-reference/mongodbauthadapter.md +0 -46
  183. package/content/agents/agents-introduction.md +0 -107
  184. package/content/callback-reference/auth0logoutcallback.md +0 -54
  185. package/content/concepts/blocks.md +0 -150
  186. package/content/concepts/dynamic-page-content.md +0 -304
  187. package/content/concepts/html-attributes.md +0 -285
  188. package/content/concepts/lowdefy-api.md +0 -1110
  189. package/content/concepts/notifications.md +0 -155
  190. package/content/concepts/page-and-app-state.md +0 -244
  191. package/content/concepts/theming.md +0 -582
  192. package/content/connections/aigateway.md +0 -368
  193. package/content/connections/axioshttp.md +0 -181
  194. package/content/controls/while.md +0 -46
  195. package/content/display-blocks/clickablehtml.md +0 -239
  196. package/content/display-blocks/eventlog.md +0 -363
  197. package/content/display-blocks/pollingtimer.md +0 -263
  198. package/content/input-blocks/captcha.md +0 -40
  199. package/content/input-blocks/placesautocomplete.md +0 -319
  200. package/content/input-blocks/tagmultipleselector.md +0 -114
  201. package/content/input-blocks/tagselector.md +0 -114
  202. package/content/migration/auth-upgrade.md +0 -327
  203. package/content/migration/v3-to-v4.md +0 -417
  204. package/content/migration/v6-to-v7.md +0 -222
  205. package/content/operators/_cron.md +0 -292
  206. package/content/other/mongodbadapter.md +0 -3
  207. package/content/plugins/plugins-icon-sets.md +0 -267
  208. package/content/plugins/posthog.md +0 -275
  209. package/content/provider-reference/auth-js-providers.md +0 -107
  210. package/content/provider-reference/openidconnectprovider.md +0 -44
  211. package/content/testing/config-tests.md +0 -278
  212. package/content/tutorial/tutorial-requests-api.md +0 -155
  213. package/content/user-authentication/auth-configuration.md +0 -266
  214. package/content/user-authentication/auth-steps.md +0 -138
  215. package/content/user-authentication/mcp-oauth.md +0 -292
  216. package/content/user-authentication/organizations.md +0 -221
  217. package/content/user-authentication/protected-pages-apis.md +0 -97
  218. package/content/user-authentication/roles.md +0 -49
  219. package/content/user-authentication/two-factor.md +0 -229
  220. package/content/user-authentication/user-object.md +0 -58
  221. package/content/websockets/websocket-publish.md +0 -108
  222. package/content/websockets/websocket-subscriptions.md +0 -100
  223. package/content/websockets/websockets-introduction.md +0 -97
  224. package/hazards.json +0 -44
  225. package/scripts/hashDocSources.js +0 -38
  226. package/scripts/recordSourceHashes.js +0 -88
@@ -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: check-circle
46
+ icon: AiOutlineCheckCircle
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: close-circle
62
+ icon: AiOutlineCloseCircle
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: warning
78
+ icon: AiOutlineWarning
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: info
94
+ icon: AiOutlineInfoCircle
95
95
  events:
96
96
  onClick:
97
97
  - id: open_status_info
@@ -298,35 +298,6 @@ 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
-
330
301
  ```yaml
331
302
  - id: notif_icon_string
332
303
  type: Notification
@@ -336,7 +307,7 @@ Notification message displayed in the corner of the page.
336
307
  status: success
337
308
  title: Download Complete
338
309
  description: Your file has been downloaded successfully.
339
- icon: download
310
+ icon: AiOutlineDownload
340
311
  - id: notif_icon_colored
341
312
  type: Notification
342
313
  layout:
@@ -346,7 +317,7 @@ Notification message displayed in the corner of the page.
346
317
  title: Starred Item
347
318
  description: Item has been added to your favorites.
348
319
  icon:
349
- name: star
320
+ name: AiOutlineStar
350
321
  color: "#faad14"
351
322
  - id: notif_icon_sized
352
323
  type: Notification
@@ -357,7 +328,7 @@ Notification message displayed in the corner of the page.
357
328
  title: Session Expiring
358
329
  description: Your session will expire in 5 minutes.
359
330
  icon:
360
- name: lock
331
+ name: AiOutlineLock
361
332
  color: "#fa8c16"
362
333
  size: 28
363
334
  - id: btn_icon_string
@@ -368,7 +339,7 @@ Notification message displayed in the corner of the page.
368
339
  title: String Icon
369
340
  color: primary
370
341
  variant: outlined
371
- icon: download
342
+ icon: AiOutlineDownload
372
343
  events:
373
344
  onClick:
374
345
  - id: open_icon_string
@@ -384,7 +355,7 @@ Notification message displayed in the corner of the page.
384
355
  title: Colored Icon
385
356
  color: default
386
357
  variant: outlined
387
- icon: star
358
+ icon: AiOutlineStar
388
359
  events:
389
360
  onClick:
390
361
  - id: open_icon_colored
@@ -400,7 +371,7 @@ Notification message displayed in the corner of the page.
400
371
  title: Sized Icon
401
372
  color: default
402
373
  variant: outlined
403
- icon: lock
374
+ icon: AiOutlineLock
404
375
  events:
405
376
  onClick:
406
377
  - id: open_icon_sized
@@ -419,7 +390,7 @@ Notification message displayed in the corner of the page.
419
390
  status: info
420
391
  title: Custom Close
421
392
  description: This notification has a custom close icon.
422
- closeIcon: SquareX
393
+ closeIcon: AiOutlineCloseSquare
423
394
  duration: 0
424
395
  - id: notif_close_icon_styled
425
396
  type: Notification
@@ -430,7 +401,7 @@ Notification message displayed in the corner of the page.
430
401
  title: Styled Close
431
402
  description: Close icon with custom color and size.
432
403
  closeIcon:
433
- name: close-circle
404
+ name: AiOutlineCloseCircle
434
405
  color: "#ff4d4f"
435
406
  size: 18
436
407
  duration: 0
@@ -442,7 +413,7 @@ Notification message displayed in the corner of the page.
442
413
  status: success
443
414
  title: Arrow Close
444
415
  description: Uses an arrow icon instead of the default close.
445
- closeIcon: arrow-right
416
+ closeIcon: AiOutlineArrowRight
446
417
  duration: 0
447
418
  - id: btn_close_icon_string
448
419
  type: Button
@@ -503,7 +474,7 @@ Notification message displayed in the corner of the page.
503
474
  duration: 0
504
475
  button:
505
476
  title: Confirm
506
- icon: check
477
+ icon: AiOutlineCheck
507
478
  color: primary
508
479
  variant: solid
509
480
  size: small
@@ -518,7 +489,7 @@ Notification message displayed in the corner of the page.
518
489
  duration: 0
519
490
  button:
520
491
  title: Retry
521
- icon: refresh
492
+ icon: AiOutlineReload
522
493
  color: danger
523
494
  variant: solid
524
495
  size: small
@@ -583,6 +554,83 @@ Notification message displayed in the corner of the page.
583
554
  method: open
584
555
  ```
585
556
 
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
+
586
634
  ```yaml
587
635
  - id: notif_html_bold
588
636
  type: Notification
@@ -670,7 +718,7 @@ Notification message displayed in the corner of the page.
670
718
  description: This notification has a left green border.
671
719
  style:
672
720
  .element:
673
- borderLeft: "4px solid #52c41a"
721
+ borderLeft: 4px solid
674
722
  - id: notif_style_bg
675
723
  type: Notification
676
724
  layout:
@@ -757,7 +805,7 @@ Notification message displayed in the corner of the page.
757
805
  title: Override as Success
758
806
  color: primary
759
807
  variant: solid
760
- icon: check-circle
808
+ icon: AiOutlineCheckCircle
761
809
  events:
762
810
  onClick:
763
811
  - id: open_override_success
@@ -777,7 +825,7 @@ Notification message displayed in the corner of the page.
777
825
  title: Override as Error
778
826
  color: danger
779
827
  variant: solid
780
- icon: close-circle
828
+ icon: AiOutlineCloseCircle
781
829
  events:
782
830
  onClick:
783
831
  - id: open_override_error
@@ -797,7 +845,7 @@ Notification message displayed in the corner of the page.
797
845
  title: Override Duration
798
846
  color: default
799
847
  variant: outlined
800
- icon: clock
848
+ icon: AiOutlineClockCircle
801
849
  events:
802
850
  onClick:
803
851
  - id: open_override_duration
@@ -944,7 +992,7 @@ Notification message displayed in the corner of the page.
944
992
  style:
945
993
  .element:
946
994
  borderRadius: 12
947
- border: "2px solid #1890ff"
995
+ border: 2px solid
948
996
  properties:
949
997
  status: info
950
998
  title: Inline Style
@@ -996,6 +1044,112 @@ Notification message displayed in the corner of the page.
996
1044
  method: open
997
1045
  ```
998
1046
 
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
+
999
1153
  **Customer:** Sarah Johnson
1000
1154
  **Items:** 3 items totaling $247.50
1001
1155
  **Status:** Pending fulfillment
@@ -1004,7 +1158,7 @@ Notification message displayed in the corner of the page.
1004
1158
  - id: order_card
1005
1159
  type: Card
1006
1160
  properties:
1007
- title: "Order #12847"
1161
+ title: Order
1008
1162
  size: small
1009
1163
  blocks:
1010
1164
  - id: order_status_text
@@ -1023,7 +1177,7 @@ Notification message displayed in the corner of the page.
1023
1177
  title: Order Shipped
1024
1178
  description: "Order #12847 has been shipped. Tracking number:
1025
1179
  <b>1Z999AA10123456784</b>"
1026
- icon: Rocket
1180
+ icon: AiOutlineRocket
1027
1181
  duration: 0
1028
1182
  button:
1029
1183
  title: View Tracking
@@ -1045,7 +1199,7 @@ Notification message displayed in the corner of the page.
1045
1199
  status: error
1046
1200
  title: Order Cancelled
1047
1201
  description: "Order #12847 has been cancelled. Refund of $247.50 initiated."
1048
- icon: Ban
1202
+ icon: AiOutlineStop
1049
1203
  duration: 0
1050
1204
  - id: order_actions
1051
1205
  type: Box
@@ -1061,7 +1215,7 @@ Notification message displayed in the corner of the page.
1061
1215
  title: Cancel Order
1062
1216
  color: danger
1063
1217
  variant: outlined
1064
- icon: Ban
1218
+ icon: AiOutlineStop
1065
1219
  events:
1066
1220
  onClick:
1067
1221
  - id: order_cancel_notif
@@ -1077,7 +1231,7 @@ Notification message displayed in the corner of the page.
1077
1231
  title: Mark as Shipped
1078
1232
  color: primary
1079
1233
  variant: solid
1080
- icon: Rocket
1234
+ icon: AiOutlineRocket
1081
1235
  events:
1082
1236
  onClick:
1083
1237
  - id: order_ship_notif
@@ -1112,7 +1266,7 @@ Monitor system health and receive real-time alerts. Click a button below to simu
1112
1266
  description: CPU usage has exceeded <b>90%</b> on server <b>web-prod-03</b>.
1113
1267
  Consider scaling up or optimizing workloads.
1114
1268
  icon:
1115
- name: Gauge
1269
+ name: AiOutlineDashboard
1116
1270
  color: "#fa8c16"
1117
1271
  duration: 0
1118
1272
  placement: topRight
@@ -1136,7 +1290,7 @@ Monitor system health and receive real-time alerts. Click a button below to simu
1136
1290
  status: success
1137
1291
  title: Deployment Successful
1138
1292
  description: Version <b>2.4.1</b> deployed to production. All health checks passing.
1139
- icon: check-circle
1293
+ icon: AiOutlineCheckCircle
1140
1294
  duration: 8
1141
1295
  events:
1142
1296
  onClose:
@@ -1155,7 +1309,7 @@ Monitor system health and receive real-time alerts. Click a button below to simu
1155
1309
  description: Multiple failed login attempts detected from IP
1156
1310
  <b>192.168.1.42</b>. Account temporarily locked.
1157
1311
  icon:
1158
- name: lock
1312
+ name: AiOutlineLock
1159
1313
  color: "#ff4d4f"
1160
1314
  duration: 0
1161
1315
  button:
@@ -1182,7 +1336,7 @@ Monitor system health and receive real-time alerts. Click a button below to simu
1182
1336
  title: CPU Warning
1183
1337
  color: default
1184
1338
  variant: outlined
1185
- icon: Gauge
1339
+ icon: AiOutlineDashboard
1186
1340
  events:
1187
1341
  onClick:
1188
1342
  - id: trigger_alert_cpu
@@ -1198,7 +1352,7 @@ Monitor system health and receive real-time alerts. Click a button below to simu
1198
1352
  title: Deploy Success
1199
1353
  color: primary
1200
1354
  variant: outlined
1201
- icon: check-circle
1355
+ icon: AiOutlineCheckCircle
1202
1356
  events:
1203
1357
  onClick:
1204
1358
  - id: trigger_alert_deploy
@@ -1214,7 +1368,7 @@ Monitor system health and receive real-time alerts. Click a button below to simu
1214
1368
  title: Security Alert
1215
1369
  color: danger
1216
1370
  variant: outlined
1217
- icon: lock
1371
+ icon: AiOutlineLock
1218
1372
  events:
1219
1373
  onClick:
1220
1374
  - id: trigger_alert_security
@@ -1226,39 +1380,17 @@ Monitor system health and receive real-time alerts. Click a button below to simu
1226
1380
 
1227
1381
  | Property | Type | Default | Description |
1228
1382
  | --- | --- | --- | --- |
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. |
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. |
1232
1385
  | `description` | string | - | The content of notification box - supports html. |
1233
1386
  | `duration` | number | `4.5` | Time in seconds before Notification is closed. When set to 0 or null, it will never be closed automatically. |
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. |
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. |
1254
1389
  | `title` | string | - | The title of notification box - supports html. |
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). |
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). |
1262
1394
  | `theme.zIndexPopup` | number | `1100` | Z-index of the notification popup. |
1263
1395
  | `theme.width` | number | `384` | Width of the notification box. |
1264
1396
  | `theme.progressBg` | string | - | Background gradient for the auto-close progress bar. Defaults to a gradient from colorPrimaryBorderHover to colorPrimary. |
@@ -1272,10 +1404,6 @@ Monitor system health and receive real-time alerts. Click a button below to simu
1272
1404
  | --- | --- |
1273
1405
  | `/block` | Outer block wrapper (always available). |
1274
1406
  | `/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. |
1279
1407
  | `/closeIcon` | The close icon in the Notification. |
1280
1408
  | `/icon` | The icon in the Notification. |
1281
1409