@lowdefy/docs-content 0.0.0-experimental-20260710073520
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +20 -0
- package/content/actions/callapi.md +66 -0
- package/content/actions/callmethod.md +41 -0
- package/content/actions/copytoclipboard.md +32 -0
- package/content/actions/displaymessage.md +53 -0
- package/content/actions/downloadcsv.md +89 -0
- package/content/actions/fetch.md +50 -0
- package/content/actions/geolocationcurrentposition.md +56 -0
- package/content/actions/link.md +104 -0
- package/content/actions/login.md +85 -0
- package/content/actions/logout.md +56 -0
- package/content/actions/pdfmake.md +304 -0
- package/content/actions/request.md +67 -0
- package/content/actions/reset.md +27 -0
- package/content/actions/resetvalidation.md +85 -0
- package/content/actions/scrollto.md +85 -0
- package/content/actions/setdarkmode.md +62 -0
- package/content/actions/setfocus.md +33 -0
- package/content/actions/setglobal.md +63 -0
- package/content/actions/setlocale.md +69 -0
- package/content/actions/setstate.md +70 -0
- package/content/actions/throw.md +72 -0
- package/content/actions/validate.md +87 -0
- package/content/actions/wait.md +24 -0
- package/content/agents/agent-endpoint-tools.md +190 -0
- package/content/agents/agent-mcp-tools.md +124 -0
- package/content/agents/agent-multi-agent.md +136 -0
- package/content/agents/agent-properties.md +174 -0
- package/content/agents/agent-server-hooks.md +336 -0
- package/content/agents/agentchat.md +515 -0
- package/content/agents/agentconversations.md +148 -0
- package/content/concepts/ai-agent-docs.md +190 -0
- package/content/concepts/cli.md +213 -0
- package/content/concepts/connections-and-requests.md +7 -0
- package/content/concepts/custom-html.md +3 -0
- package/content/concepts/custom-styling.md +161 -0
- package/content/concepts/events-and-actions.md +271 -0
- package/content/concepts/hosting-files.md +18 -0
- package/content/concepts/i18n.md +320 -0
- package/content/concepts/keyboard-shortcuts.md +218 -0
- package/content/concepts/layout-overview.md +478 -0
- package/content/concepts/lists.md +144 -0
- package/content/concepts/logger.md +43 -0
- package/content/concepts/lowdefy-schema.md +365 -0
- package/content/concepts/menus.md +144 -0
- package/content/concepts/module-authoring.md +564 -0
- package/content/concepts/modules.md +338 -0
- package/content/concepts/operators.md +45 -0
- package/content/concepts/overview.md +19 -0
- package/content/concepts/references-and-templates.md +207 -0
- package/content/concepts/secrets.md +24 -0
- package/content/concepts/selectors.md +143 -0
- package/content/connections/amazonredshift.md +176 -0
- package/content/connections/anthropic.md +232 -0
- package/content/connections/awss3.md +313 -0
- package/content/connections/azureblobstorage.md +133 -0
- package/content/connections/elasticsearch.md +371 -0
- package/content/connections/google.md +228 -0
- package/content/connections/googlecloudstorage.md +139 -0
- package/content/connections/googlesheet.md +313 -0
- package/content/connections/knex.md +206 -0
- package/content/connections/mariadb.md +177 -0
- package/content/connections/mcp.md +134 -0
- package/content/connections/mongodb.md +739 -0
- package/content/connections/mssql.md +191 -0
- package/content/connections/mysql.md +192 -0
- package/content/connections/openai-connection.md +228 -0
- package/content/connections/postgresql.md +200 -0
- package/content/connections/redis.md +116 -0
- package/content/connections/sendgridmail.md +94 -0
- package/content/connections/smtp.md +149 -0
- package/content/connections/sqlite.md +187 -0
- package/content/connections/stripe.md +115 -0
- package/content/container-blocks/affix.md +413 -0
- package/content/container-blocks/alert.md +937 -0
- package/content/container-blocks/badge.md +1222 -0
- package/content/container-blocks/box.md +1453 -0
- package/content/container-blocks/card.md +1200 -0
- package/content/container-blocks/carousel.md +2247 -0
- package/content/container-blocks/collapse.md +1335 -0
- package/content/container-blocks/configprovider.md +1070 -0
- package/content/container-blocks/confirmmodal.md +1159 -0
- package/content/container-blocks/content.md +597 -0
- package/content/container-blocks/descriptions.md +870 -0
- package/content/container-blocks/drawer.md +1379 -0
- package/content/container-blocks/dropdownmenu.md +643 -0
- package/content/container-blocks/flex.md +1510 -0
- package/content/container-blocks/footer.md +380 -0
- package/content/container-blocks/googlemaps.md +546 -0
- package/content/container-blocks/googlemapsheatmap.md +607 -0
- package/content/container-blocks/googlemapsscript.md +61 -0
- package/content/container-blocks/header.md +302 -0
- package/content/container-blocks/label.md +739 -0
- package/content/container-blocks/layout.md +604 -0
- package/content/container-blocks/masonry.md +1090 -0
- package/content/container-blocks/mobilemenu.md +1244 -0
- package/content/container-blocks/modal.md +1180 -0
- package/content/container-blocks/pageheadermenu.md +614 -0
- package/content/container-blocks/pagesidebarlayout.md +438 -0
- package/content/container-blocks/pagesidermenu.md +651 -0
- package/content/container-blocks/popover.md +1421 -0
- package/content/container-blocks/result.md +972 -0
- package/content/container-blocks/sider.md +1064 -0
- package/content/container-blocks/span.md +747 -0
- package/content/container-blocks/spinner.md +267 -0
- package/content/container-blocks/splitter.md +1735 -0
- package/content/container-blocks/tabs.md +1718 -0
- package/content/container-blocks/tooltip.md +1274 -0
- package/content/container-blocks/watermark.md +515 -0
- package/content/controls/for.md +103 -0
- package/content/controls/if.md +107 -0
- package/content/controls/log.md +50 -0
- package/content/controls/parallel.md +71 -0
- package/content/controls/parallel_for.md +36 -0
- package/content/controls/reject.md +56 -0
- package/content/controls/return.md +66 -0
- package/content/controls/set_state.md +98 -0
- package/content/controls/switch.md +90 -0
- package/content/controls/throw.md +79 -0
- package/content/controls/try.md +88 -0
- package/content/deployment/docker.md +149 -0
- package/content/deployment/node-server.md +27 -0
- package/content/deployment/vercel.md +101 -0
- package/content/display-blocks/aggrid.md +1459 -0
- package/content/display-blocks/anchor.md +336 -0
- package/content/display-blocks/avatar.md +1154 -0
- package/content/display-blocks/breadcrumb.md +517 -0
- package/content/display-blocks/button.md +758 -0
- package/content/display-blocks/calendar.md +156 -0
- package/content/display-blocks/dangeroushtml.md +314 -0
- package/content/display-blocks/dangerousmarkdown.md +423 -0
- package/content/display-blocks/diffgit.md +44 -0
- package/content/display-blocks/difflist.md +225 -0
- package/content/display-blocks/diffsidebyside.md +56 -0
- package/content/display-blocks/difftimeline.md +94 -0
- package/content/display-blocks/divider.md +406 -0
- package/content/display-blocks/download.md +60 -0
- package/content/display-blocks/dropdownbutton.md +661 -0
- package/content/display-blocks/echart.md +418 -0
- package/content/display-blocks/floatbutton.md +545 -0
- package/content/display-blocks/html.md +311 -0
- package/content/display-blocks/icon.md +717 -0
- package/content/display-blocks/img.md +479 -0
- package/content/display-blocks/markdown.md +520 -0
- package/content/display-blocks/markdownwithcode.md +730 -0
- package/content/display-blocks/menu.md +1123 -0
- package/content/display-blocks/message.md +941 -0
- package/content/display-blocks/notification.md +1410 -0
- package/content/display-blocks/paragraph.md +643 -0
- package/content/display-blocks/progress.md +818 -0
- package/content/display-blocks/qrcode.md +519 -0
- package/content/display-blocks/s3download.md +240 -0
- package/content/display-blocks/search.md +360 -0
- package/content/display-blocks/skeleton.md +272 -0
- package/content/display-blocks/skeletonavatar.md +222 -0
- package/content/display-blocks/skeletonbutton.md +245 -0
- package/content/display-blocks/skeletoninput.md +223 -0
- package/content/display-blocks/skeletonparagraph.md +201 -0
- package/content/display-blocks/statistic.md +485 -0
- package/content/display-blocks/steps.md +585 -0
- package/content/display-blocks/tag.md +620 -0
- package/content/display-blocks/title.md +654 -0
- package/content/display-blocks/tour.md +2359 -0
- package/content/input-blocks/autocomplete.md +786 -0
- package/content/input-blocks/buttonselector.md +964 -0
- package/content/input-blocks/checkboxselector.md +765 -0
- package/content/input-blocks/checkboxswitch.md +497 -0
- package/content/input-blocks/colorselector.md +884 -0
- package/content/input-blocks/daterangeselector.md +777 -0
- package/content/input-blocks/dateselector.md +693 -0
- package/content/input-blocks/datetimeselector.md +791 -0
- package/content/input-blocks/inputgallery.md +528 -0
- package/content/input-blocks/monthselector.md +717 -0
- package/content/input-blocks/multipleselector.md +1337 -0
- package/content/input-blocks/numberinput.md +855 -0
- package/content/input-blocks/pagination.md +679 -0
- package/content/input-blocks/paragraphinput.md +1664 -0
- package/content/input-blocks/passwordinput.md +480 -0
- package/content/input-blocks/phonenumberinput.md +688 -0
- package/content/input-blocks/radioselector.md +820 -0
- package/content/input-blocks/ratingslider.md +684 -0
- package/content/input-blocks/s3uploadbutton.md +384 -0
- package/content/input-blocks/s3uploaddragger.md +305 -0
- package/content/input-blocks/s3uploadphoto.md +288 -0
- package/content/input-blocks/segmentedselector.md +782 -0
- package/content/input-blocks/selector.md +1162 -0
- package/content/input-blocks/switch.md +552 -0
- package/content/input-blocks/textarea.md +714 -0
- package/content/input-blocks/textinput.md +639 -0
- package/content/input-blocks/tiptapinput.md +226 -0
- package/content/input-blocks/tiptapmentioninput.md +471 -0
- package/content/input-blocks/titleinput.md +1094 -0
- package/content/input-blocks/treeinput.md +144 -0
- package/content/input-blocks/treemultipleselector.md +162 -0
- package/content/input-blocks/treeselector.md +185 -0
- package/content/input-blocks/upload.md +149 -0
- package/content/input-blocks/uploaddragger.md +85 -0
- package/content/input-blocks/uploadphoto.md +84 -0
- package/content/input-blocks/weekselector.md +630 -0
- package/content/list-blocks/controlledlist.md +498 -0
- package/content/list-blocks/list.md +529 -0
- package/content/list-blocks/listselector.md +301 -0
- package/content/list-blocks/masonrylist.md +230 -0
- package/content/migration/upgrade-guide.md +106 -0
- package/content/migration/v4-to-v5.md +589 -0
- package/content/migration/v5-to-v6.md +36 -0
- package/content/operators/_actions.md +58 -0
- package/content/operators/_and.md +76 -0
- package/content/operators/_api.md +254 -0
- package/content/operators/_app.md +114 -0
- package/content/operators/_args.md +65 -0
- package/content/operators/_array.md +331 -0
- package/content/operators/_base64.md +49 -0
- package/content/operators/_boolean.md +33 -0
- package/content/operators/_build.md +166 -0
- package/content/operators/_change_case.md +357 -0
- package/content/operators/_date.md +415 -0
- package/content/operators/_dayjs.md +128 -0
- package/content/operators/_diff.md +61 -0
- package/content/operators/_divide.md +32 -0
- package/content/operators/_eq.md +52 -0
- package/content/operators/_event.md +86 -0
- package/content/operators/_function.md +52 -0
- package/content/operators/_get.md +92 -0
- package/content/operators/_global.md +86 -0
- package/content/operators/_gt.md +50 -0
- package/content/operators/_gte.md +50 -0
- package/content/operators/_hash.md +112 -0
- package/content/operators/_if.md +30 -0
- package/content/operators/_if_none.md +47 -0
- package/content/operators/_index.md +48 -0
- package/content/operators/_input.md +86 -0
- package/content/operators/_intl.md +135 -0
- package/content/operators/_item.md +166 -0
- package/content/operators/_js.md +113 -0
- package/content/operators/_json.md +120 -0
- package/content/operators/_jsonata.md +152 -0
- package/content/operators/_locale.md +65 -0
- package/content/operators/_location.md +40 -0
- package/content/operators/_log.md +22 -0
- package/content/operators/_lt.md +50 -0
- package/content/operators/_lte.md +50 -0
- package/content/operators/_math.md +407 -0
- package/content/operators/_media.md +83 -0
- package/content/operators/_menu.md +62 -0
- package/content/operators/_module.md +340 -0
- package/content/operators/_mql.md +95 -0
- package/content/operators/_ne.md +62 -0
- package/content/operators/_not.md +33 -0
- package/content/operators/_number.md +159 -0
- package/content/operators/_nunjucks.md +117 -0
- package/content/operators/_object.md +253 -0
- package/content/operators/_operator.md +33 -0
- package/content/operators/_or.md +67 -0
- package/content/operators/_product.md +45 -0
- package/content/operators/_random.md +90 -0
- package/content/operators/_ref.md +80 -0
- package/content/operators/_regex.md +69 -0
- package/content/operators/_request.md +35 -0
- package/content/operators/_request_details.md +29 -0
- package/content/operators/_secret.md +56 -0
- package/content/operators/_state.md +134 -0
- package/content/operators/_step.md +98 -0
- package/content/operators/_string.md +327 -0
- package/content/operators/_subtract.md +24 -0
- package/content/operators/_sum.md +45 -0
- package/content/operators/_switch.md +37 -0
- package/content/operators/_t.md +96 -0
- package/content/operators/_theme.md +65 -0
- package/content/operators/_type.md +78 -0
- package/content/operators/_uri.md +49 -0
- package/content/operators/_url_query.md +92 -0
- package/content/operators/_user.md +154 -0
- package/content/operators/_uuid.md +118 -0
- package/content/operators/_var.md +88 -0
- package/content/operators/_yaml.md +96 -0
- package/content/other/introduction.md +39 -0
- package/content/other/next-auth-providers.md +3 -0
- package/content/other/updatesession.md +26 -0
- package/content/plugins/plugins-actions.md +80 -0
- package/content/plugins/plugins-connections.md +98 -0
- package/content/plugins/plugins-dev.md +138 -0
- package/content/plugins/plugins-introduction.md +29 -0
- package/content/plugins/plugins-operators.md +71 -0
- package/content/testing/e2e-auth.md +108 -0
- package/content/testing/e2e-configuration.md +107 -0
- package/content/testing/e2e-getting-started.md +96 -0
- package/content/testing/e2e-introduction.md +53 -0
- package/content/testing/e2e-mocking.md +155 -0
- package/content/testing/e2e-writing-tests.md +214 -0
- package/content/tutorial/tutorial-actions-operators.md +222 -0
- package/content/tutorial/tutorial-add-blocks.md +86 -0
- package/content/tutorial/tutorial-create-page.md +57 -0
- package/content/tutorial/tutorial-display-data-page.md +181 -0
- package/content/tutorial/tutorial-next-steps.md +53 -0
- package/content/tutorial/tutorial-requests-sql.md +22 -0
- package/content/tutorial/tutorial-start.md +71 -0
- package/content/user-authentication/auth-providers.md +15 -0
- package/content/user-authentication/login-and-logout.md +122 -0
- package/content/user-authentication/users-introduction.md +31 -0
- package/index.json +2281 -0
- package/package.json +34 -0
- package/scripts/extractAgentDocs.js +130 -0
|
@@ -0,0 +1,1410 @@
|
|
|
1
|
+
# Notification
|
|
2
|
+
|
|
3
|
+
Notification message displayed in the corner of the page.
|
|
4
|
+
|
|
5
|
+
```yaml
|
|
6
|
+
- id: notif_status_success
|
|
7
|
+
type: Notification
|
|
8
|
+
layout:
|
|
9
|
+
span: 0
|
|
10
|
+
properties:
|
|
11
|
+
status: success
|
|
12
|
+
title: Changes Saved
|
|
13
|
+
description: Your changes have been saved successfully.
|
|
14
|
+
- id: notif_status_error
|
|
15
|
+
type: Notification
|
|
16
|
+
layout:
|
|
17
|
+
span: 0
|
|
18
|
+
properties:
|
|
19
|
+
status: error
|
|
20
|
+
title: Save Failed
|
|
21
|
+
description: Failed to save your changes. Please try again.
|
|
22
|
+
- id: notif_status_warning
|
|
23
|
+
type: Notification
|
|
24
|
+
layout:
|
|
25
|
+
span: 0
|
|
26
|
+
properties:
|
|
27
|
+
status: warning
|
|
28
|
+
title: Disk Space Low
|
|
29
|
+
description: Server storage is running below 10% capacity.
|
|
30
|
+
- id: notif_status_info
|
|
31
|
+
type: Notification
|
|
32
|
+
layout:
|
|
33
|
+
span: 0
|
|
34
|
+
properties:
|
|
35
|
+
status: info
|
|
36
|
+
title: Update Available
|
|
37
|
+
description: A new version of the application is available.
|
|
38
|
+
- id: btn_status_success
|
|
39
|
+
type: Button
|
|
40
|
+
layout:
|
|
41
|
+
flex: 0 0 auto
|
|
42
|
+
properties:
|
|
43
|
+
title: Success
|
|
44
|
+
color: primary
|
|
45
|
+
variant: outlined
|
|
46
|
+
icon: AiOutlineCheckCircle
|
|
47
|
+
events:
|
|
48
|
+
onClick:
|
|
49
|
+
- id: open_status_success
|
|
50
|
+
type: CallMethod
|
|
51
|
+
params:
|
|
52
|
+
blockId: notif_status_success
|
|
53
|
+
method: open
|
|
54
|
+
- id: btn_status_error
|
|
55
|
+
type: Button
|
|
56
|
+
layout:
|
|
57
|
+
flex: 0 0 auto
|
|
58
|
+
properties:
|
|
59
|
+
title: Error
|
|
60
|
+
color: danger
|
|
61
|
+
variant: outlined
|
|
62
|
+
icon: AiOutlineCloseCircle
|
|
63
|
+
events:
|
|
64
|
+
onClick:
|
|
65
|
+
- id: open_status_error
|
|
66
|
+
type: CallMethod
|
|
67
|
+
params:
|
|
68
|
+
blockId: notif_status_error
|
|
69
|
+
method: open
|
|
70
|
+
- id: btn_status_warning
|
|
71
|
+
type: Button
|
|
72
|
+
layout:
|
|
73
|
+
flex: 0 0 auto
|
|
74
|
+
properties:
|
|
75
|
+
title: Warning
|
|
76
|
+
color: default
|
|
77
|
+
variant: outlined
|
|
78
|
+
icon: AiOutlineWarning
|
|
79
|
+
events:
|
|
80
|
+
onClick:
|
|
81
|
+
- id: open_status_warning
|
|
82
|
+
type: CallMethod
|
|
83
|
+
params:
|
|
84
|
+
blockId: notif_status_warning
|
|
85
|
+
method: open
|
|
86
|
+
- id: btn_status_info
|
|
87
|
+
type: Button
|
|
88
|
+
layout:
|
|
89
|
+
flex: 0 0 auto
|
|
90
|
+
properties:
|
|
91
|
+
title: Info
|
|
92
|
+
color: primary
|
|
93
|
+
variant: text
|
|
94
|
+
icon: AiOutlineInfoCircle
|
|
95
|
+
events:
|
|
96
|
+
onClick:
|
|
97
|
+
- id: open_status_info
|
|
98
|
+
type: CallMethod
|
|
99
|
+
params:
|
|
100
|
+
blockId: notif_status_info
|
|
101
|
+
method: open
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
```yaml
|
|
105
|
+
- id: notif_place_top_right
|
|
106
|
+
type: Notification
|
|
107
|
+
layout:
|
|
108
|
+
span: 0
|
|
109
|
+
properties:
|
|
110
|
+
status: info
|
|
111
|
+
title: Top Right
|
|
112
|
+
description: Default placement position.
|
|
113
|
+
placement: topRight
|
|
114
|
+
- id: notif_place_top_left
|
|
115
|
+
type: Notification
|
|
116
|
+
layout:
|
|
117
|
+
span: 0
|
|
118
|
+
properties:
|
|
119
|
+
status: info
|
|
120
|
+
title: Top Left
|
|
121
|
+
description: Appears at the top left corner.
|
|
122
|
+
placement: topLeft
|
|
123
|
+
- id: notif_place_bottom_right
|
|
124
|
+
type: Notification
|
|
125
|
+
layout:
|
|
126
|
+
span: 0
|
|
127
|
+
properties:
|
|
128
|
+
status: info
|
|
129
|
+
title: Bottom Right
|
|
130
|
+
description: Appears at the bottom right corner.
|
|
131
|
+
placement: bottomRight
|
|
132
|
+
- id: notif_place_bottom_left
|
|
133
|
+
type: Notification
|
|
134
|
+
layout:
|
|
135
|
+
span: 0
|
|
136
|
+
properties:
|
|
137
|
+
status: info
|
|
138
|
+
title: Bottom Left
|
|
139
|
+
description: Appears at the bottom left corner.
|
|
140
|
+
placement: bottomLeft
|
|
141
|
+
- id: btn_place_top_right
|
|
142
|
+
type: Button
|
|
143
|
+
layout:
|
|
144
|
+
flex: 0 0 auto
|
|
145
|
+
properties:
|
|
146
|
+
title: Top Right
|
|
147
|
+
color: default
|
|
148
|
+
variant: outlined
|
|
149
|
+
events:
|
|
150
|
+
onClick:
|
|
151
|
+
- id: open_place_top_right
|
|
152
|
+
type: CallMethod
|
|
153
|
+
params:
|
|
154
|
+
blockId: notif_place_top_right
|
|
155
|
+
method: open
|
|
156
|
+
- id: btn_place_top_left
|
|
157
|
+
type: Button
|
|
158
|
+
layout:
|
|
159
|
+
flex: 0 0 auto
|
|
160
|
+
properties:
|
|
161
|
+
title: Top Left
|
|
162
|
+
color: default
|
|
163
|
+
variant: outlined
|
|
164
|
+
events:
|
|
165
|
+
onClick:
|
|
166
|
+
- id: open_place_top_left
|
|
167
|
+
type: CallMethod
|
|
168
|
+
params:
|
|
169
|
+
blockId: notif_place_top_left
|
|
170
|
+
method: open
|
|
171
|
+
- id: btn_place_bottom_right
|
|
172
|
+
type: Button
|
|
173
|
+
layout:
|
|
174
|
+
flex: 0 0 auto
|
|
175
|
+
properties:
|
|
176
|
+
title: Bottom Right
|
|
177
|
+
color: default
|
|
178
|
+
variant: outlined
|
|
179
|
+
events:
|
|
180
|
+
onClick:
|
|
181
|
+
- id: open_place_bottom_right
|
|
182
|
+
type: CallMethod
|
|
183
|
+
params:
|
|
184
|
+
blockId: notif_place_bottom_right
|
|
185
|
+
method: open
|
|
186
|
+
- id: btn_place_bottom_left
|
|
187
|
+
type: Button
|
|
188
|
+
layout:
|
|
189
|
+
flex: 0 0 auto
|
|
190
|
+
properties:
|
|
191
|
+
title: Bottom Left
|
|
192
|
+
color: default
|
|
193
|
+
variant: outlined
|
|
194
|
+
events:
|
|
195
|
+
onClick:
|
|
196
|
+
- id: open_place_bottom_left
|
|
197
|
+
type: CallMethod
|
|
198
|
+
params:
|
|
199
|
+
blockId: notif_place_bottom_left
|
|
200
|
+
method: open
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
```yaml
|
|
204
|
+
- id: notif_dur_short
|
|
205
|
+
type: Notification
|
|
206
|
+
layout:
|
|
207
|
+
span: 0
|
|
208
|
+
properties:
|
|
209
|
+
status: info
|
|
210
|
+
title: Quick Notice
|
|
211
|
+
description: Disappears in 2 seconds.
|
|
212
|
+
duration: 2
|
|
213
|
+
- id: notif_dur_default
|
|
214
|
+
type: Notification
|
|
215
|
+
layout:
|
|
216
|
+
span: 0
|
|
217
|
+
properties:
|
|
218
|
+
status: info
|
|
219
|
+
title: Default Duration
|
|
220
|
+
description: Auto-closes after 4.5 seconds (default).
|
|
221
|
+
- id: notif_dur_long
|
|
222
|
+
type: Notification
|
|
223
|
+
layout:
|
|
224
|
+
span: 0
|
|
225
|
+
properties:
|
|
226
|
+
status: info
|
|
227
|
+
title: Extended Duration
|
|
228
|
+
description: Stays visible for 10 seconds.
|
|
229
|
+
duration: 10
|
|
230
|
+
- id: notif_dur_sticky
|
|
231
|
+
type: Notification
|
|
232
|
+
layout:
|
|
233
|
+
span: 0
|
|
234
|
+
properties:
|
|
235
|
+
status: warning
|
|
236
|
+
title: Persistent
|
|
237
|
+
description: Will not auto-close (duration 0). Must be dismissed manually.
|
|
238
|
+
duration: 0
|
|
239
|
+
- id: btn_dur_short
|
|
240
|
+
type: Button
|
|
241
|
+
layout:
|
|
242
|
+
flex: 0 0 auto
|
|
243
|
+
properties:
|
|
244
|
+
title: 2 seconds
|
|
245
|
+
color: default
|
|
246
|
+
variant: outlined
|
|
247
|
+
events:
|
|
248
|
+
onClick:
|
|
249
|
+
- id: open_dur_short
|
|
250
|
+
type: CallMethod
|
|
251
|
+
params:
|
|
252
|
+
blockId: notif_dur_short
|
|
253
|
+
method: open
|
|
254
|
+
- id: btn_dur_default
|
|
255
|
+
type: Button
|
|
256
|
+
layout:
|
|
257
|
+
flex: 0 0 auto
|
|
258
|
+
properties:
|
|
259
|
+
title: Default (4.5s)
|
|
260
|
+
color: default
|
|
261
|
+
variant: outlined
|
|
262
|
+
events:
|
|
263
|
+
onClick:
|
|
264
|
+
- id: open_dur_default
|
|
265
|
+
type: CallMethod
|
|
266
|
+
params:
|
|
267
|
+
blockId: notif_dur_default
|
|
268
|
+
method: open
|
|
269
|
+
- id: btn_dur_long
|
|
270
|
+
type: Button
|
|
271
|
+
layout:
|
|
272
|
+
flex: 0 0 auto
|
|
273
|
+
properties:
|
|
274
|
+
title: 10 seconds
|
|
275
|
+
color: default
|
|
276
|
+
variant: outlined
|
|
277
|
+
events:
|
|
278
|
+
onClick:
|
|
279
|
+
- id: open_dur_long
|
|
280
|
+
type: CallMethod
|
|
281
|
+
params:
|
|
282
|
+
blockId: notif_dur_long
|
|
283
|
+
method: open
|
|
284
|
+
- id: btn_dur_sticky
|
|
285
|
+
type: Button
|
|
286
|
+
layout:
|
|
287
|
+
flex: 0 0 auto
|
|
288
|
+
properties:
|
|
289
|
+
title: Sticky (duration 0)
|
|
290
|
+
color: default
|
|
291
|
+
variant: outlined
|
|
292
|
+
events:
|
|
293
|
+
onClick:
|
|
294
|
+
- id: open_dur_sticky
|
|
295
|
+
type: CallMethod
|
|
296
|
+
params:
|
|
297
|
+
blockId: notif_dur_sticky
|
|
298
|
+
method: open
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
```yaml
|
|
302
|
+
- id: notif_icon_string
|
|
303
|
+
type: Notification
|
|
304
|
+
layout:
|
|
305
|
+
span: 0
|
|
306
|
+
properties:
|
|
307
|
+
status: success
|
|
308
|
+
title: Download Complete
|
|
309
|
+
description: Your file has been downloaded successfully.
|
|
310
|
+
icon: AiOutlineDownload
|
|
311
|
+
- id: notif_icon_colored
|
|
312
|
+
type: Notification
|
|
313
|
+
layout:
|
|
314
|
+
span: 0
|
|
315
|
+
properties:
|
|
316
|
+
status: info
|
|
317
|
+
title: Starred Item
|
|
318
|
+
description: Item has been added to your favorites.
|
|
319
|
+
icon:
|
|
320
|
+
name: AiOutlineStar
|
|
321
|
+
color: "#faad14"
|
|
322
|
+
- id: notif_icon_sized
|
|
323
|
+
type: Notification
|
|
324
|
+
layout:
|
|
325
|
+
span: 0
|
|
326
|
+
properties:
|
|
327
|
+
status: warning
|
|
328
|
+
title: Session Expiring
|
|
329
|
+
description: Your session will expire in 5 minutes.
|
|
330
|
+
icon:
|
|
331
|
+
name: AiOutlineLock
|
|
332
|
+
color: "#fa8c16"
|
|
333
|
+
size: 28
|
|
334
|
+
- id: btn_icon_string
|
|
335
|
+
type: Button
|
|
336
|
+
layout:
|
|
337
|
+
flex: 0 0 auto
|
|
338
|
+
properties:
|
|
339
|
+
title: String Icon
|
|
340
|
+
color: primary
|
|
341
|
+
variant: outlined
|
|
342
|
+
icon: AiOutlineDownload
|
|
343
|
+
events:
|
|
344
|
+
onClick:
|
|
345
|
+
- id: open_icon_string
|
|
346
|
+
type: CallMethod
|
|
347
|
+
params:
|
|
348
|
+
blockId: notif_icon_string
|
|
349
|
+
method: open
|
|
350
|
+
- id: btn_icon_colored
|
|
351
|
+
type: Button
|
|
352
|
+
layout:
|
|
353
|
+
flex: 0 0 auto
|
|
354
|
+
properties:
|
|
355
|
+
title: Colored Icon
|
|
356
|
+
color: default
|
|
357
|
+
variant: outlined
|
|
358
|
+
icon: AiOutlineStar
|
|
359
|
+
events:
|
|
360
|
+
onClick:
|
|
361
|
+
- id: open_icon_colored
|
|
362
|
+
type: CallMethod
|
|
363
|
+
params:
|
|
364
|
+
blockId: notif_icon_colored
|
|
365
|
+
method: open
|
|
366
|
+
- id: btn_icon_sized
|
|
367
|
+
type: Button
|
|
368
|
+
layout:
|
|
369
|
+
flex: 0 0 auto
|
|
370
|
+
properties:
|
|
371
|
+
title: Sized Icon
|
|
372
|
+
color: default
|
|
373
|
+
variant: outlined
|
|
374
|
+
icon: AiOutlineLock
|
|
375
|
+
events:
|
|
376
|
+
onClick:
|
|
377
|
+
- id: open_icon_sized
|
|
378
|
+
type: CallMethod
|
|
379
|
+
params:
|
|
380
|
+
blockId: notif_icon_sized
|
|
381
|
+
method: open
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
```yaml
|
|
385
|
+
- id: notif_close_icon_string
|
|
386
|
+
type: Notification
|
|
387
|
+
layout:
|
|
388
|
+
span: 0
|
|
389
|
+
properties:
|
|
390
|
+
status: info
|
|
391
|
+
title: Custom Close
|
|
392
|
+
description: This notification has a custom close icon.
|
|
393
|
+
closeIcon: AiOutlineCloseSquare
|
|
394
|
+
duration: 0
|
|
395
|
+
- id: notif_close_icon_styled
|
|
396
|
+
type: Notification
|
|
397
|
+
layout:
|
|
398
|
+
span: 0
|
|
399
|
+
properties:
|
|
400
|
+
status: warning
|
|
401
|
+
title: Styled Close
|
|
402
|
+
description: Close icon with custom color and size.
|
|
403
|
+
closeIcon:
|
|
404
|
+
name: AiOutlineCloseCircle
|
|
405
|
+
color: "#ff4d4f"
|
|
406
|
+
size: 18
|
|
407
|
+
duration: 0
|
|
408
|
+
- id: notif_close_icon_arrow
|
|
409
|
+
type: Notification
|
|
410
|
+
layout:
|
|
411
|
+
span: 0
|
|
412
|
+
properties:
|
|
413
|
+
status: success
|
|
414
|
+
title: Arrow Close
|
|
415
|
+
description: Uses an arrow icon instead of the default close.
|
|
416
|
+
closeIcon: AiOutlineArrowRight
|
|
417
|
+
duration: 0
|
|
418
|
+
- id: btn_close_icon_string
|
|
419
|
+
type: Button
|
|
420
|
+
layout:
|
|
421
|
+
flex: 0 0 auto
|
|
422
|
+
properties:
|
|
423
|
+
title: Square Close
|
|
424
|
+
color: default
|
|
425
|
+
variant: outlined
|
|
426
|
+
events:
|
|
427
|
+
onClick:
|
|
428
|
+
- id: open_close_icon_string
|
|
429
|
+
type: CallMethod
|
|
430
|
+
params:
|
|
431
|
+
blockId: notif_close_icon_string
|
|
432
|
+
method: open
|
|
433
|
+
- id: btn_close_icon_styled
|
|
434
|
+
type: Button
|
|
435
|
+
layout:
|
|
436
|
+
flex: 0 0 auto
|
|
437
|
+
properties:
|
|
438
|
+
title: Styled Close
|
|
439
|
+
color: default
|
|
440
|
+
variant: outlined
|
|
441
|
+
events:
|
|
442
|
+
onClick:
|
|
443
|
+
- id: open_close_icon_styled
|
|
444
|
+
type: CallMethod
|
|
445
|
+
params:
|
|
446
|
+
blockId: notif_close_icon_styled
|
|
447
|
+
method: open
|
|
448
|
+
- id: btn_close_icon_arrow
|
|
449
|
+
type: Button
|
|
450
|
+
layout:
|
|
451
|
+
flex: 0 0 auto
|
|
452
|
+
properties:
|
|
453
|
+
title: Arrow Close
|
|
454
|
+
color: default
|
|
455
|
+
variant: outlined
|
|
456
|
+
events:
|
|
457
|
+
onClick:
|
|
458
|
+
- id: open_close_icon_arrow
|
|
459
|
+
type: CallMethod
|
|
460
|
+
params:
|
|
461
|
+
blockId: notif_close_icon_arrow
|
|
462
|
+
method: open
|
|
463
|
+
```
|
|
464
|
+
|
|
465
|
+
```yaml
|
|
466
|
+
- id: notif_btn_confirm
|
|
467
|
+
type: Notification
|
|
468
|
+
layout:
|
|
469
|
+
span: 0
|
|
470
|
+
properties:
|
|
471
|
+
status: info
|
|
472
|
+
title: Action Required
|
|
473
|
+
description: Please review and confirm the pending changes.
|
|
474
|
+
duration: 0
|
|
475
|
+
button:
|
|
476
|
+
title: Confirm
|
|
477
|
+
icon: AiOutlineCheck
|
|
478
|
+
color: primary
|
|
479
|
+
variant: solid
|
|
480
|
+
size: small
|
|
481
|
+
- id: notif_btn_retry
|
|
482
|
+
type: Notification
|
|
483
|
+
layout:
|
|
484
|
+
span: 0
|
|
485
|
+
properties:
|
|
486
|
+
status: error
|
|
487
|
+
title: Upload Failed
|
|
488
|
+
description: The file could not be uploaded. Please try again.
|
|
489
|
+
duration: 0
|
|
490
|
+
button:
|
|
491
|
+
title: Retry
|
|
492
|
+
icon: AiOutlineReload
|
|
493
|
+
color: danger
|
|
494
|
+
variant: solid
|
|
495
|
+
size: small
|
|
496
|
+
- id: notif_btn_undo
|
|
497
|
+
type: Notification
|
|
498
|
+
layout:
|
|
499
|
+
span: 0
|
|
500
|
+
properties:
|
|
501
|
+
status: success
|
|
502
|
+
title: Item Deleted
|
|
503
|
+
description: The record has been removed from the database.
|
|
504
|
+
duration: 0
|
|
505
|
+
button:
|
|
506
|
+
title: Undo
|
|
507
|
+
color: default
|
|
508
|
+
variant: outlined
|
|
509
|
+
size: small
|
|
510
|
+
- id: btn_trigger_confirm
|
|
511
|
+
type: Button
|
|
512
|
+
layout:
|
|
513
|
+
flex: 0 0 auto
|
|
514
|
+
properties:
|
|
515
|
+
title: With Confirm
|
|
516
|
+
color: primary
|
|
517
|
+
variant: outlined
|
|
518
|
+
events:
|
|
519
|
+
onClick:
|
|
520
|
+
- id: open_btn_confirm
|
|
521
|
+
type: CallMethod
|
|
522
|
+
params:
|
|
523
|
+
blockId: notif_btn_confirm
|
|
524
|
+
method: open
|
|
525
|
+
- id: btn_trigger_retry
|
|
526
|
+
type: Button
|
|
527
|
+
layout:
|
|
528
|
+
flex: 0 0 auto
|
|
529
|
+
properties:
|
|
530
|
+
title: With Retry
|
|
531
|
+
color: danger
|
|
532
|
+
variant: outlined
|
|
533
|
+
events:
|
|
534
|
+
onClick:
|
|
535
|
+
- id: open_btn_retry
|
|
536
|
+
type: CallMethod
|
|
537
|
+
params:
|
|
538
|
+
blockId: notif_btn_retry
|
|
539
|
+
method: open
|
|
540
|
+
- id: btn_trigger_undo
|
|
541
|
+
type: Button
|
|
542
|
+
layout:
|
|
543
|
+
flex: 0 0 auto
|
|
544
|
+
properties:
|
|
545
|
+
title: With Undo
|
|
546
|
+
color: default
|
|
547
|
+
variant: outlined
|
|
548
|
+
events:
|
|
549
|
+
onClick:
|
|
550
|
+
- id: open_btn_undo
|
|
551
|
+
type: CallMethod
|
|
552
|
+
params:
|
|
553
|
+
blockId: notif_btn_undo
|
|
554
|
+
method: open
|
|
555
|
+
```
|
|
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
|
+
|
|
634
|
+
```yaml
|
|
635
|
+
- id: notif_html_bold
|
|
636
|
+
type: Notification
|
|
637
|
+
layout:
|
|
638
|
+
span: 0
|
|
639
|
+
properties:
|
|
640
|
+
status: success
|
|
641
|
+
title: <b>Deployment</b> Complete
|
|
642
|
+
description: Deployed to <b>production</b>. Visit <a
|
|
643
|
+
href="https://lowdefy.com">the site</a> to verify.
|
|
644
|
+
- id: notif_html_styled
|
|
645
|
+
type: Notification
|
|
646
|
+
layout:
|
|
647
|
+
span: 0
|
|
648
|
+
properties:
|
|
649
|
+
status: warning
|
|
650
|
+
title: Maintenance Scheduled
|
|
651
|
+
description: '<span style="color: #fa8c16; font-weight: bold;">Downtime:</span>
|
|
652
|
+
Saturday 2:00 AM - 6:00 AM UTC.'
|
|
653
|
+
- id: notif_html_list
|
|
654
|
+
type: Notification
|
|
655
|
+
layout:
|
|
656
|
+
span: 0
|
|
657
|
+
properties:
|
|
658
|
+
status: info
|
|
659
|
+
title: Release Notes
|
|
660
|
+
description: <ul><li>Fixed login timeout issue</li><li>Added dark mode
|
|
661
|
+
support</li><li>Improved dashboard performance</li></ul>
|
|
662
|
+
duration: 0
|
|
663
|
+
- id: btn_html_bold
|
|
664
|
+
type: Button
|
|
665
|
+
layout:
|
|
666
|
+
flex: 0 0 auto
|
|
667
|
+
properties:
|
|
668
|
+
title: Bold and Link
|
|
669
|
+
color: default
|
|
670
|
+
variant: outlined
|
|
671
|
+
events:
|
|
672
|
+
onClick:
|
|
673
|
+
- id: open_html_bold
|
|
674
|
+
type: CallMethod
|
|
675
|
+
params:
|
|
676
|
+
blockId: notif_html_bold
|
|
677
|
+
method: open
|
|
678
|
+
- id: btn_html_styled
|
|
679
|
+
type: Button
|
|
680
|
+
layout:
|
|
681
|
+
flex: 0 0 auto
|
|
682
|
+
properties:
|
|
683
|
+
title: Styled HTML
|
|
684
|
+
color: default
|
|
685
|
+
variant: outlined
|
|
686
|
+
events:
|
|
687
|
+
onClick:
|
|
688
|
+
- id: open_html_styled
|
|
689
|
+
type: CallMethod
|
|
690
|
+
params:
|
|
691
|
+
blockId: notif_html_styled
|
|
692
|
+
method: open
|
|
693
|
+
- id: btn_html_list
|
|
694
|
+
type: Button
|
|
695
|
+
layout:
|
|
696
|
+
flex: 0 0 auto
|
|
697
|
+
properties:
|
|
698
|
+
title: HTML List
|
|
699
|
+
color: default
|
|
700
|
+
variant: outlined
|
|
701
|
+
events:
|
|
702
|
+
onClick:
|
|
703
|
+
- id: open_html_list
|
|
704
|
+
type: CallMethod
|
|
705
|
+
params:
|
|
706
|
+
blockId: notif_html_list
|
|
707
|
+
method: open
|
|
708
|
+
```
|
|
709
|
+
|
|
710
|
+
```yaml
|
|
711
|
+
- id: notif_style_border
|
|
712
|
+
type: Notification
|
|
713
|
+
layout:
|
|
714
|
+
span: 0
|
|
715
|
+
properties:
|
|
716
|
+
status: success
|
|
717
|
+
title: Custom Border
|
|
718
|
+
description: This notification has a left green border.
|
|
719
|
+
style:
|
|
720
|
+
.element:
|
|
721
|
+
borderLeft: 4px solid
|
|
722
|
+
- id: notif_style_bg
|
|
723
|
+
type: Notification
|
|
724
|
+
layout:
|
|
725
|
+
span: 0
|
|
726
|
+
properties:
|
|
727
|
+
status: warning
|
|
728
|
+
title: Custom Background
|
|
729
|
+
description: This notification has a custom background color.
|
|
730
|
+
style:
|
|
731
|
+
.element:
|
|
732
|
+
background: rgba(250, 173, 20, 0.1)
|
|
733
|
+
- id: notif_style_shadow
|
|
734
|
+
type: Notification
|
|
735
|
+
layout:
|
|
736
|
+
span: 0
|
|
737
|
+
properties:
|
|
738
|
+
status: info
|
|
739
|
+
title: Heavy Shadow
|
|
740
|
+
description: This notification has an elevated shadow.
|
|
741
|
+
style:
|
|
742
|
+
.element:
|
|
743
|
+
boxShadow: 0 6px 24px rgba(0, 0, 0, 0.2)
|
|
744
|
+
- id: btn_style_border
|
|
745
|
+
type: Button
|
|
746
|
+
layout:
|
|
747
|
+
flex: 0 0 auto
|
|
748
|
+
properties:
|
|
749
|
+
title: Left Border
|
|
750
|
+
color: default
|
|
751
|
+
variant: outlined
|
|
752
|
+
events:
|
|
753
|
+
onClick:
|
|
754
|
+
- id: open_style_border
|
|
755
|
+
type: CallMethod
|
|
756
|
+
params:
|
|
757
|
+
blockId: notif_style_border
|
|
758
|
+
method: open
|
|
759
|
+
- id: btn_style_bg
|
|
760
|
+
type: Button
|
|
761
|
+
layout:
|
|
762
|
+
flex: 0 0 auto
|
|
763
|
+
properties:
|
|
764
|
+
title: Custom Background
|
|
765
|
+
color: default
|
|
766
|
+
variant: outlined
|
|
767
|
+
events:
|
|
768
|
+
onClick:
|
|
769
|
+
- id: open_style_bg
|
|
770
|
+
type: CallMethod
|
|
771
|
+
params:
|
|
772
|
+
blockId: notif_style_bg
|
|
773
|
+
method: open
|
|
774
|
+
- id: btn_style_shadow
|
|
775
|
+
type: Button
|
|
776
|
+
layout:
|
|
777
|
+
flex: 0 0 auto
|
|
778
|
+
properties:
|
|
779
|
+
title: Heavy Shadow
|
|
780
|
+
color: default
|
|
781
|
+
variant: outlined
|
|
782
|
+
events:
|
|
783
|
+
onClick:
|
|
784
|
+
- id: open_style_shadow
|
|
785
|
+
type: CallMethod
|
|
786
|
+
params:
|
|
787
|
+
blockId: notif_style_shadow
|
|
788
|
+
method: open
|
|
789
|
+
```
|
|
790
|
+
|
|
791
|
+
```yaml
|
|
792
|
+
- id: notif_override_base
|
|
793
|
+
type: Notification
|
|
794
|
+
layout:
|
|
795
|
+
span: 0
|
|
796
|
+
properties:
|
|
797
|
+
status: info
|
|
798
|
+
title: Default Title
|
|
799
|
+
description: Default notification description.
|
|
800
|
+
- id: btn_override_success
|
|
801
|
+
type: Button
|
|
802
|
+
layout:
|
|
803
|
+
flex: 0 0 auto
|
|
804
|
+
properties:
|
|
805
|
+
title: Override as Success
|
|
806
|
+
color: primary
|
|
807
|
+
variant: solid
|
|
808
|
+
icon: AiOutlineCheckCircle
|
|
809
|
+
events:
|
|
810
|
+
onClick:
|
|
811
|
+
- id: open_override_success
|
|
812
|
+
type: CallMethod
|
|
813
|
+
params:
|
|
814
|
+
blockId: notif_override_base
|
|
815
|
+
method: open
|
|
816
|
+
args:
|
|
817
|
+
- status: success
|
|
818
|
+
title: Overridden Title
|
|
819
|
+
description: Status, title, and description overridden at call time.
|
|
820
|
+
- id: btn_override_error
|
|
821
|
+
type: Button
|
|
822
|
+
layout:
|
|
823
|
+
flex: 0 0 auto
|
|
824
|
+
properties:
|
|
825
|
+
title: Override as Error
|
|
826
|
+
color: danger
|
|
827
|
+
variant: solid
|
|
828
|
+
icon: AiOutlineCloseCircle
|
|
829
|
+
events:
|
|
830
|
+
onClick:
|
|
831
|
+
- id: open_override_error
|
|
832
|
+
type: CallMethod
|
|
833
|
+
params:
|
|
834
|
+
blockId: notif_override_base
|
|
835
|
+
method: open
|
|
836
|
+
args:
|
|
837
|
+
- status: error
|
|
838
|
+
title: Error Override
|
|
839
|
+
description: This error notification was overridden at call time.
|
|
840
|
+
- id: btn_override_duration
|
|
841
|
+
type: Button
|
|
842
|
+
layout:
|
|
843
|
+
flex: 0 0 auto
|
|
844
|
+
properties:
|
|
845
|
+
title: Override Duration
|
|
846
|
+
color: default
|
|
847
|
+
variant: outlined
|
|
848
|
+
icon: AiOutlineClockCircle
|
|
849
|
+
events:
|
|
850
|
+
onClick:
|
|
851
|
+
- id: open_override_duration
|
|
852
|
+
type: CallMethod
|
|
853
|
+
params:
|
|
854
|
+
blockId: notif_override_base
|
|
855
|
+
method: open
|
|
856
|
+
args:
|
|
857
|
+
- duration: 1
|
|
858
|
+
title: Quick Flash
|
|
859
|
+
description: This closes after just 1 second.
|
|
860
|
+
```
|
|
861
|
+
|
|
862
|
+
```yaml
|
|
863
|
+
- id: notif_events_demo
|
|
864
|
+
type: Notification
|
|
865
|
+
layout:
|
|
866
|
+
span: 0
|
|
867
|
+
properties:
|
|
868
|
+
status: info
|
|
869
|
+
title: Interactive Notification
|
|
870
|
+
description: Click the notification body or close it to trigger events.
|
|
871
|
+
duration: 0
|
|
872
|
+
events:
|
|
873
|
+
onClick:
|
|
874
|
+
- id: events_click_msg
|
|
875
|
+
type: DisplayMessage
|
|
876
|
+
params:
|
|
877
|
+
content: Notification body clicked!
|
|
878
|
+
status: info
|
|
879
|
+
onClose:
|
|
880
|
+
- id: events_close_msg
|
|
881
|
+
type: DisplayMessage
|
|
882
|
+
params:
|
|
883
|
+
content: Notification was closed.
|
|
884
|
+
status: success
|
|
885
|
+
- id: notif_events_close_action
|
|
886
|
+
type: Notification
|
|
887
|
+
layout:
|
|
888
|
+
span: 0
|
|
889
|
+
properties:
|
|
890
|
+
status: warning
|
|
891
|
+
title: Session Timeout
|
|
892
|
+
description: Your session is about to expire. Close to extend.
|
|
893
|
+
duration: 0
|
|
894
|
+
button:
|
|
895
|
+
title: Extend Session
|
|
896
|
+
color: primary
|
|
897
|
+
variant: solid
|
|
898
|
+
size: small
|
|
899
|
+
events:
|
|
900
|
+
onClose:
|
|
901
|
+
- id: events_extend_msg
|
|
902
|
+
type: DisplayMessage
|
|
903
|
+
params:
|
|
904
|
+
content: Session extended for 30 minutes.
|
|
905
|
+
status: success
|
|
906
|
+
- id: notif_events_click_nav
|
|
907
|
+
type: Notification
|
|
908
|
+
layout:
|
|
909
|
+
span: 0
|
|
910
|
+
properties:
|
|
911
|
+
status: success
|
|
912
|
+
title: New Comment
|
|
913
|
+
description: Click this notification to view the comment.
|
|
914
|
+
duration: 8
|
|
915
|
+
events:
|
|
916
|
+
onClick:
|
|
917
|
+
- id: events_nav_msg
|
|
918
|
+
type: DisplayMessage
|
|
919
|
+
params:
|
|
920
|
+
content: Navigating to comments section...
|
|
921
|
+
status: info
|
|
922
|
+
- id: btn_events_demo
|
|
923
|
+
type: Button
|
|
924
|
+
layout:
|
|
925
|
+
flex: 0 0 auto
|
|
926
|
+
properties:
|
|
927
|
+
title: Open Interactive
|
|
928
|
+
color: primary
|
|
929
|
+
variant: solid
|
|
930
|
+
events:
|
|
931
|
+
onClick:
|
|
932
|
+
- id: open_events_demo
|
|
933
|
+
type: CallMethod
|
|
934
|
+
params:
|
|
935
|
+
blockId: notif_events_demo
|
|
936
|
+
method: open
|
|
937
|
+
- id: btn_events_close_action
|
|
938
|
+
type: Button
|
|
939
|
+
layout:
|
|
940
|
+
flex: 0 0 auto
|
|
941
|
+
properties:
|
|
942
|
+
title: Session Timeout
|
|
943
|
+
color: default
|
|
944
|
+
variant: outlined
|
|
945
|
+
events:
|
|
946
|
+
onClick:
|
|
947
|
+
- id: open_events_close
|
|
948
|
+
type: CallMethod
|
|
949
|
+
params:
|
|
950
|
+
blockId: notif_events_close_action
|
|
951
|
+
method: open
|
|
952
|
+
- id: btn_events_click_nav
|
|
953
|
+
type: Button
|
|
954
|
+
layout:
|
|
955
|
+
flex: 0 0 auto
|
|
956
|
+
properties:
|
|
957
|
+
title: Click to Navigate
|
|
958
|
+
color: default
|
|
959
|
+
variant: outlined
|
|
960
|
+
events:
|
|
961
|
+
onClick:
|
|
962
|
+
- id: open_events_click_nav
|
|
963
|
+
type: CallMethod
|
|
964
|
+
params:
|
|
965
|
+
blockId: notif_events_click_nav
|
|
966
|
+
method: open
|
|
967
|
+
```
|
|
968
|
+
|
|
969
|
+
```yaml
|
|
970
|
+
- id: notif_css_tailwind
|
|
971
|
+
type: Notification
|
|
972
|
+
layout:
|
|
973
|
+
span: 0
|
|
974
|
+
class: shadow-2xl
|
|
975
|
+
properties:
|
|
976
|
+
status: success
|
|
977
|
+
title: Tailwind Shadow
|
|
978
|
+
description: This notification uses a Tailwind shadow-2xl class.
|
|
979
|
+
- id: notif_css_rounded
|
|
980
|
+
type: Notification
|
|
981
|
+
layout:
|
|
982
|
+
span: 0
|
|
983
|
+
class: rounded-xl
|
|
984
|
+
properties:
|
|
985
|
+
status: info
|
|
986
|
+
title: Rounded Corners
|
|
987
|
+
description: Notification with extra-rounded corners via Tailwind.
|
|
988
|
+
- id: notif_css_inline
|
|
989
|
+
type: Notification
|
|
990
|
+
layout:
|
|
991
|
+
span: 0
|
|
992
|
+
style:
|
|
993
|
+
.element:
|
|
994
|
+
borderRadius: 12
|
|
995
|
+
border: 2px solid
|
|
996
|
+
properties:
|
|
997
|
+
status: info
|
|
998
|
+
title: Inline Style
|
|
999
|
+
description: This notification uses inline style with a blue border.
|
|
1000
|
+
- id: btn_css_tailwind
|
|
1001
|
+
type: Button
|
|
1002
|
+
layout:
|
|
1003
|
+
flex: 0 0 auto
|
|
1004
|
+
properties:
|
|
1005
|
+
title: Tailwind Shadow
|
|
1006
|
+
color: default
|
|
1007
|
+
variant: outlined
|
|
1008
|
+
events:
|
|
1009
|
+
onClick:
|
|
1010
|
+
- id: open_css_tailwind
|
|
1011
|
+
type: CallMethod
|
|
1012
|
+
params:
|
|
1013
|
+
blockId: notif_css_tailwind
|
|
1014
|
+
method: open
|
|
1015
|
+
- id: btn_css_rounded
|
|
1016
|
+
type: Button
|
|
1017
|
+
layout:
|
|
1018
|
+
flex: 0 0 auto
|
|
1019
|
+
properties:
|
|
1020
|
+
title: Rounded Corners
|
|
1021
|
+
color: default
|
|
1022
|
+
variant: outlined
|
|
1023
|
+
events:
|
|
1024
|
+
onClick:
|
|
1025
|
+
- id: open_css_rounded
|
|
1026
|
+
type: CallMethod
|
|
1027
|
+
params:
|
|
1028
|
+
blockId: notif_css_rounded
|
|
1029
|
+
method: open
|
|
1030
|
+
- id: btn_css_inline
|
|
1031
|
+
type: Button
|
|
1032
|
+
layout:
|
|
1033
|
+
flex: 0 0 auto
|
|
1034
|
+
properties:
|
|
1035
|
+
title: Inline Style
|
|
1036
|
+
color: default
|
|
1037
|
+
variant: outlined
|
|
1038
|
+
events:
|
|
1039
|
+
onClick:
|
|
1040
|
+
- id: open_css_inline
|
|
1041
|
+
type: CallMethod
|
|
1042
|
+
params:
|
|
1043
|
+
blockId: notif_css_inline
|
|
1044
|
+
method: open
|
|
1045
|
+
```
|
|
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
|
+
|
|
1153
|
+
**Customer:** Sarah Johnson
|
|
1154
|
+
**Items:** 3 items totaling $247.50
|
|
1155
|
+
**Status:** Pending fulfillment
|
|
1156
|
+
|
|
1157
|
+
```yaml
|
|
1158
|
+
- id: order_card
|
|
1159
|
+
type: Card
|
|
1160
|
+
properties:
|
|
1161
|
+
title: Order
|
|
1162
|
+
size: small
|
|
1163
|
+
blocks:
|
|
1164
|
+
- id: order_status_text
|
|
1165
|
+
type: Markdown
|
|
1166
|
+
properties:
|
|
1167
|
+
content: |
|
|
1168
|
+
**Customer:** Sarah Johnson
|
|
1169
|
+
**Items:** 3 items totaling $247.50
|
|
1170
|
+
**Status:** Pending fulfillment
|
|
1171
|
+
- id: notif_order_shipped
|
|
1172
|
+
type: Notification
|
|
1173
|
+
layout:
|
|
1174
|
+
span: 0
|
|
1175
|
+
properties:
|
|
1176
|
+
status: success
|
|
1177
|
+
title: Order Shipped
|
|
1178
|
+
description: "Order #12847 has been shipped. Tracking number:
|
|
1179
|
+
<b>1Z999AA10123456784</b>"
|
|
1180
|
+
icon: AiOutlineRocket
|
|
1181
|
+
duration: 0
|
|
1182
|
+
button:
|
|
1183
|
+
title: View Tracking
|
|
1184
|
+
color: primary
|
|
1185
|
+
variant: solid
|
|
1186
|
+
size: small
|
|
1187
|
+
events:
|
|
1188
|
+
onClose:
|
|
1189
|
+
- id: order_close_msg
|
|
1190
|
+
type: DisplayMessage
|
|
1191
|
+
params:
|
|
1192
|
+
content: Notification dismissed.
|
|
1193
|
+
status: info
|
|
1194
|
+
- id: notif_order_cancelled
|
|
1195
|
+
type: Notification
|
|
1196
|
+
layout:
|
|
1197
|
+
span: 0
|
|
1198
|
+
properties:
|
|
1199
|
+
status: error
|
|
1200
|
+
title: Order Cancelled
|
|
1201
|
+
description: "Order #12847 has been cancelled. Refund of $247.50 initiated."
|
|
1202
|
+
icon: AiOutlineStop
|
|
1203
|
+
duration: 0
|
|
1204
|
+
- id: order_actions
|
|
1205
|
+
type: Box
|
|
1206
|
+
layout:
|
|
1207
|
+
gap: 8
|
|
1208
|
+
justify: flex-end
|
|
1209
|
+
blocks:
|
|
1210
|
+
- id: btn_order_cancel
|
|
1211
|
+
type: Button
|
|
1212
|
+
layout:
|
|
1213
|
+
flex: 0 0 auto
|
|
1214
|
+
properties:
|
|
1215
|
+
title: Cancel Order
|
|
1216
|
+
color: danger
|
|
1217
|
+
variant: outlined
|
|
1218
|
+
icon: AiOutlineStop
|
|
1219
|
+
events:
|
|
1220
|
+
onClick:
|
|
1221
|
+
- id: order_cancel_notif
|
|
1222
|
+
type: CallMethod
|
|
1223
|
+
params:
|
|
1224
|
+
blockId: notif_order_cancelled
|
|
1225
|
+
method: open
|
|
1226
|
+
- id: btn_order_ship
|
|
1227
|
+
type: Button
|
|
1228
|
+
layout:
|
|
1229
|
+
flex: 0 0 auto
|
|
1230
|
+
properties:
|
|
1231
|
+
title: Mark as Shipped
|
|
1232
|
+
color: primary
|
|
1233
|
+
variant: solid
|
|
1234
|
+
icon: AiOutlineRocket
|
|
1235
|
+
events:
|
|
1236
|
+
onClick:
|
|
1237
|
+
- id: order_ship_notif
|
|
1238
|
+
type: CallMethod
|
|
1239
|
+
params:
|
|
1240
|
+
blockId: notif_order_shipped
|
|
1241
|
+
method: open
|
|
1242
|
+
```
|
|
1243
|
+
|
|
1244
|
+
Monitor system health and receive real-time alerts. Click a button below to simulate different alert types.
|
|
1245
|
+
|
|
1246
|
+
```yaml
|
|
1247
|
+
- id: alerts_card
|
|
1248
|
+
type: Card
|
|
1249
|
+
properties:
|
|
1250
|
+
title: System Monitor
|
|
1251
|
+
size: small
|
|
1252
|
+
blocks:
|
|
1253
|
+
- id: alerts_description
|
|
1254
|
+
type: Markdown
|
|
1255
|
+
properties:
|
|
1256
|
+
content: >
|
|
1257
|
+
Monitor system health and receive real-time alerts. Click a button
|
|
1258
|
+
below to simulate different alert types.
|
|
1259
|
+
- id: notif_alert_cpu
|
|
1260
|
+
type: Notification
|
|
1261
|
+
layout:
|
|
1262
|
+
span: 0
|
|
1263
|
+
properties:
|
|
1264
|
+
status: warning
|
|
1265
|
+
title: High CPU Usage
|
|
1266
|
+
description: CPU usage has exceeded <b>90%</b> on server <b>web-prod-03</b>.
|
|
1267
|
+
Consider scaling up or optimizing workloads.
|
|
1268
|
+
icon:
|
|
1269
|
+
name: AiOutlineDashboard
|
|
1270
|
+
color: "#fa8c16"
|
|
1271
|
+
duration: 0
|
|
1272
|
+
placement: topRight
|
|
1273
|
+
button:
|
|
1274
|
+
title: View Details
|
|
1275
|
+
color: primary
|
|
1276
|
+
variant: outlined
|
|
1277
|
+
size: small
|
|
1278
|
+
events:
|
|
1279
|
+
onClick:
|
|
1280
|
+
- id: alert_cpu_click
|
|
1281
|
+
type: DisplayMessage
|
|
1282
|
+
params:
|
|
1283
|
+
content: Opening server dashboard...
|
|
1284
|
+
status: info
|
|
1285
|
+
- id: notif_alert_deploy
|
|
1286
|
+
type: Notification
|
|
1287
|
+
layout:
|
|
1288
|
+
span: 0
|
|
1289
|
+
properties:
|
|
1290
|
+
status: success
|
|
1291
|
+
title: Deployment Successful
|
|
1292
|
+
description: Version <b>2.4.1</b> deployed to production. All health checks passing.
|
|
1293
|
+
icon: AiOutlineCheckCircle
|
|
1294
|
+
duration: 8
|
|
1295
|
+
events:
|
|
1296
|
+
onClose:
|
|
1297
|
+
- id: alert_deploy_close
|
|
1298
|
+
type: DisplayMessage
|
|
1299
|
+
params:
|
|
1300
|
+
content: Deployment alert acknowledged.
|
|
1301
|
+
status: success
|
|
1302
|
+
- id: notif_alert_security
|
|
1303
|
+
type: Notification
|
|
1304
|
+
layout:
|
|
1305
|
+
span: 0
|
|
1306
|
+
properties:
|
|
1307
|
+
status: error
|
|
1308
|
+
title: Security Alert
|
|
1309
|
+
description: Multiple failed login attempts detected from IP
|
|
1310
|
+
<b>192.168.1.42</b>. Account temporarily locked.
|
|
1311
|
+
icon:
|
|
1312
|
+
name: AiOutlineLock
|
|
1313
|
+
color: "#ff4d4f"
|
|
1314
|
+
duration: 0
|
|
1315
|
+
button:
|
|
1316
|
+
title: Block IP
|
|
1317
|
+
color: danger
|
|
1318
|
+
variant: solid
|
|
1319
|
+
size: small
|
|
1320
|
+
events:
|
|
1321
|
+
onClose:
|
|
1322
|
+
- id: alert_security_close
|
|
1323
|
+
type: SetState
|
|
1324
|
+
params:
|
|
1325
|
+
securityAlertDismissed: true
|
|
1326
|
+
- id: alerts_actions
|
|
1327
|
+
type: Box
|
|
1328
|
+
layout:
|
|
1329
|
+
gap: 8
|
|
1330
|
+
blocks:
|
|
1331
|
+
- id: btn_alert_cpu
|
|
1332
|
+
type: Button
|
|
1333
|
+
layout:
|
|
1334
|
+
flex: 0 0 auto
|
|
1335
|
+
properties:
|
|
1336
|
+
title: CPU Warning
|
|
1337
|
+
color: default
|
|
1338
|
+
variant: outlined
|
|
1339
|
+
icon: AiOutlineDashboard
|
|
1340
|
+
events:
|
|
1341
|
+
onClick:
|
|
1342
|
+
- id: trigger_alert_cpu
|
|
1343
|
+
type: CallMethod
|
|
1344
|
+
params:
|
|
1345
|
+
blockId: notif_alert_cpu
|
|
1346
|
+
method: open
|
|
1347
|
+
- id: btn_alert_deploy
|
|
1348
|
+
type: Button
|
|
1349
|
+
layout:
|
|
1350
|
+
flex: 0 0 auto
|
|
1351
|
+
properties:
|
|
1352
|
+
title: Deploy Success
|
|
1353
|
+
color: primary
|
|
1354
|
+
variant: outlined
|
|
1355
|
+
icon: AiOutlineCheckCircle
|
|
1356
|
+
events:
|
|
1357
|
+
onClick:
|
|
1358
|
+
- id: trigger_alert_deploy
|
|
1359
|
+
type: CallMethod
|
|
1360
|
+
params:
|
|
1361
|
+
blockId: notif_alert_deploy
|
|
1362
|
+
method: open
|
|
1363
|
+
- id: btn_alert_security
|
|
1364
|
+
type: Button
|
|
1365
|
+
layout:
|
|
1366
|
+
flex: 0 0 auto
|
|
1367
|
+
properties:
|
|
1368
|
+
title: Security Alert
|
|
1369
|
+
color: danger
|
|
1370
|
+
variant: outlined
|
|
1371
|
+
icon: AiOutlineLock
|
|
1372
|
+
events:
|
|
1373
|
+
onClick:
|
|
1374
|
+
- id: trigger_alert_security
|
|
1375
|
+
type: CallMethod
|
|
1376
|
+
params:
|
|
1377
|
+
blockId: notif_alert_security
|
|
1378
|
+
method: open
|
|
1379
|
+
```
|
|
1380
|
+
|
|
1381
|
+
| Property | Type | Default | Description |
|
|
1382
|
+
| --- | --- | --- | --- |
|
|
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. |
|
|
1385
|
+
| `description` | string | - | The content of notification box - supports html. |
|
|
1386
|
+
| `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. |
|
|
1389
|
+
| `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). |
|
|
1394
|
+
| `theme.zIndexPopup` | number | `1100` | Z-index of the notification popup. |
|
|
1395
|
+
| `theme.width` | number | `384` | Width of the notification box. |
|
|
1396
|
+
| `theme.progressBg` | string | - | Background gradient for the auto-close progress bar. Defaults to a gradient from colorPrimaryBorderHover to colorPrimary. |
|
|
1397
|
+
|
|
1398
|
+
| Event | Event Data | Description |
|
|
1399
|
+
| --- | --- | --- |
|
|
1400
|
+
| `onClose` | \- | Trigger actions when notification is closed. |
|
|
1401
|
+
| `onClick` | \- | Trigger actions when notification is clicked. |
|
|
1402
|
+
|
|
1403
|
+
| Key | Target |
|
|
1404
|
+
| --- | --- |
|
|
1405
|
+
| `/block` | Outer block wrapper (always available). |
|
|
1406
|
+
| `/element` | The Notification element. |
|
|
1407
|
+
| `/closeIcon` | The close icon in the Notification. |
|
|
1408
|
+
| `/icon` | The icon in the Notification. |
|
|
1409
|
+
|
|
1410
|
+
No slots defined.
|