@lowdefy/docs-content 6.0.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/content/actions/downloadcsv.md +1 -1
- package/content/actions/emailotpsend.md +58 -0
- package/content/actions/emailotpverify.md +79 -0
- package/content/actions/getlocalstorage.md +43 -0
- package/content/actions/link.md +47 -1
- package/content/actions/login.md +25 -5
- package/content/actions/logout.md +7 -5
- package/content/actions/magiclinkverify.md +117 -0
- package/content/actions/pdfmake.md +2 -2
- package/content/actions/posthogalias.md +29 -0
- package/content/actions/posthogcapture.md +49 -0
- package/content/actions/posthogcapturepageleave.md +38 -0
- package/content/actions/posthogfeatureflag.md +50 -0
- package/content/actions/posthoggroup.md +37 -0
- package/content/actions/posthogidentify.md +54 -0
- package/content/actions/posthoginit.md +96 -0
- package/content/actions/posthogoptin.md +29 -0
- package/content/actions/posthogoptout.md +29 -0
- package/content/actions/posthogpageview.md +37 -0
- package/content/actions/posthogreloadfeatureflags.md +47 -0
- package/content/actions/posthogreset.md +28 -0
- package/content/actions/posthogsetpersonproperties.md +36 -0
- package/content/actions/removelocalstorage.md +28 -0
- package/content/actions/resetvalidation.md +5 -3
- package/content/actions/setdarkmode.md +3 -3
- package/content/actions/setglobal.md +2 -0
- package/content/actions/setlocale.md +1 -1
- package/content/actions/setlocalstorage.md +34 -0
- package/content/actions/setstate.md +2 -0
- package/content/actions/validate.md +7 -4
- package/content/adapter-reference/mongodbauthadapter.md +46 -0
- package/content/agents/agent-endpoint-tools.md +24 -0
- package/content/agents/agent-properties.md +13 -3
- package/content/agents/agent-server-hooks.md +1 -1
- package/content/agents/agentchat.md +41 -4
- package/content/agents/agentconversations.md +42 -8
- package/content/agents/agents-introduction.md +107 -0
- package/content/callback-reference/auth0logoutcallback.md +54 -0
- package/content/concepts/ai-agent-docs.md +455 -106
- package/content/concepts/blocks.md +150 -0
- package/content/concepts/connections-and-requests.md +402 -0
- package/content/concepts/custom-html.md +42 -0
- package/content/concepts/custom-styling.md +50 -5
- package/content/concepts/dynamic-page-content.md +309 -0
- package/content/concepts/events-and-actions.md +185 -2
- package/content/concepts/four-primitives.md +31 -0
- package/content/concepts/html-attributes.md +293 -0
- package/content/concepts/i18n.md +12 -3
- package/content/concepts/keyboard-shortcuts.md +2 -2
- package/content/concepts/layout-overview.md +1 -1
- package/content/concepts/logger.md +99 -0
- package/content/concepts/lowdefy-api.md +1319 -0
- package/content/concepts/lowdefy-schema.md +144 -3
- package/content/concepts/menus.md +8 -7
- package/content/concepts/module-authoring.md +76 -5
- package/content/concepts/modules.md +3 -1
- package/content/concepts/notifications.md +180 -0
- package/content/concepts/operators.md +7 -0
- package/content/concepts/page-and-app-state.md +252 -0
- package/content/concepts/page-paths.md +209 -0
- package/content/concepts/theming.md +582 -0
- package/content/connections/aigateway.md +375 -0
- package/content/connections/anthropic.md +169 -2
- package/content/connections/awss3.md +178 -2
- package/content/connections/axioshttp.md +181 -0
- package/content/connections/google.md +169 -2
- package/content/connections/mongodb.md +1014 -3
- package/content/connections/openai-connection.md +169 -2
- package/content/connections/sendgridmail.md +3 -0
- package/content/connections/smtp.md +16 -0
- package/content/connections/treg.md +329 -0
- package/content/container-blocks/affix.md +47 -7
- package/content/container-blocks/alert.md +76 -24
- package/content/container-blocks/badge.md +100 -24
- package/content/container-blocks/box.md +9 -9
- package/content/container-blocks/card.md +132 -27
- package/content/container-blocks/carousel.md +60 -7
- package/content/container-blocks/collapse.md +153 -9
- package/content/container-blocks/configprovider.md +35 -13
- package/content/container-blocks/confirmmodal.md +69 -23
- package/content/container-blocks/content.md +62 -98
- package/content/container-blocks/descriptions.md +45 -4
- package/content/container-blocks/drawer.md +139 -28
- package/content/container-blocks/dropdownmenu.md +119 -31
- package/content/container-blocks/flex.md +40 -62
- package/content/container-blocks/footer.md +15 -11
- package/content/container-blocks/googlemapsheatmap.md +1 -1
- package/content/container-blocks/googlemapsscript.md +2 -2
- package/content/container-blocks/header.md +71 -36
- package/content/container-blocks/label.md +34 -7
- package/content/container-blocks/layout.md +52 -34
- package/content/container-blocks/masonry.md +17 -71
- package/content/container-blocks/mobilemenu.md +131 -88
- package/content/container-blocks/modal.md +161 -26
- package/content/container-blocks/pageheadermenu.md +138 -31
- package/content/container-blocks/pagesidebarlayout.md +230 -27
- package/content/container-blocks/pagesidermenu.md +153 -43
- package/content/container-blocks/popover.md +34 -31
- package/content/container-blocks/result.md +32 -21
- package/content/container-blocks/sider.md +85 -122
- package/content/container-blocks/span.md +7 -7
- package/content/container-blocks/spinner.md +3 -3
- package/content/container-blocks/splitter.md +150 -68
- package/content/container-blocks/tabs.md +64 -12
- package/content/container-blocks/tooltip.md +22 -46
- package/content/container-blocks/watermark.md +22 -4
- package/content/controls/parallel_for.md +21 -2
- package/content/controls/reject.md +26 -3
- package/content/controls/return.md +17 -1
- package/content/controls/throw.md +30 -2
- package/content/controls/try.md +24 -2
- package/content/controls/while.md +46 -0
- package/content/deployment/deployment-environments.md +146 -0
- package/content/deployment/docker.md +23 -7
- package/content/deployment/node-server.md +4 -0
- package/content/deployment/vercel.md +25 -19
- package/content/display-blocks/aggrid.md +33 -16
- package/content/display-blocks/anchor.md +16 -15
- package/content/display-blocks/avatar.md +57 -37
- package/content/display-blocks/breadcrumb.md +70 -21
- package/content/display-blocks/button.md +93 -19
- package/content/display-blocks/calendar.md +12 -0
- package/content/display-blocks/clickablehtml.md +239 -0
- package/content/display-blocks/dangeroushtml.md +1 -1
- package/content/display-blocks/difflist.md +1 -1
- package/content/display-blocks/difftimeline.md +1 -1
- package/content/display-blocks/divider.md +64 -3
- package/content/display-blocks/dropdownbutton.md +81 -30
- package/content/display-blocks/echart.md +35 -1
- package/content/display-blocks/eventlog.md +363 -0
- package/content/display-blocks/floatbutton.md +129 -42
- package/content/display-blocks/html.md +61 -1
- package/content/display-blocks/icon.md +250 -67
- package/content/display-blocks/img.md +2 -2
- package/content/display-blocks/menu.md +146 -73
- package/content/display-blocks/message.md +38 -124
- package/content/display-blocks/notification.md +94 -222
- package/content/display-blocks/paragraph.md +59 -9
- package/content/display-blocks/pollingtimer.md +263 -0
- package/content/display-blocks/progress.md +96 -17
- package/content/display-blocks/qrcode.md +19 -4
- package/content/display-blocks/s3download.md +1 -1
- package/content/display-blocks/search.md +19 -9
- package/content/display-blocks/skeletonbutton.md +1 -0
- package/content/display-blocks/skeletoninput.md +1 -0
- package/content/display-blocks/statistic.md +75 -17
- package/content/display-blocks/steps.md +58 -25
- package/content/display-blocks/table.md +2527 -0
- package/content/display-blocks/tablelight.md +621 -0
- package/content/display-blocks/tag.md +102 -17
- package/content/display-blocks/title.md +50 -11
- package/content/display-blocks/tour.md +33 -23
- package/content/input-blocks/autocomplete.md +81 -9
- package/content/input-blocks/buttonselector.md +45 -8
- package/content/input-blocks/captcha.md +40 -0
- package/content/input-blocks/checkboxselector.md +97 -7
- package/content/input-blocks/checkboxswitch.md +33 -3
- package/content/input-blocks/colorselector.md +63 -14
- package/content/input-blocks/daterangeselector.md +165 -45
- package/content/input-blocks/dateselector.md +139 -41
- package/content/input-blocks/datetimeselector.md +158 -49
- package/content/input-blocks/inputgallery.md +3 -3
- package/content/input-blocks/intentinput.md +207 -0
- package/content/input-blocks/monthselector.md +120 -52
- package/content/input-blocks/multipleselector.md +150 -39
- package/content/input-blocks/numberinput.md +98 -12
- package/content/input-blocks/pagination.md +70 -14
- package/content/input-blocks/paragraphinput.md +51 -37
- package/content/input-blocks/passwordinput.md +60 -6
- package/content/input-blocks/phonenumberinput.md +59 -26
- package/content/input-blocks/placesautocomplete.md +319 -0
- package/content/input-blocks/radioselector.md +83 -7
- package/content/input-blocks/ratingslider.md +57 -26
- package/content/input-blocks/s3uploadbutton.md +24 -24
- package/content/input-blocks/s3uploaddragger.md +3 -3
- package/content/input-blocks/s3uploadphoto.md +5 -5
- package/content/input-blocks/segmentedselector.md +72 -32
- package/content/input-blocks/selector.md +109 -21
- package/content/input-blocks/switch.md +65 -17
- package/content/input-blocks/tableinput.md +445 -0
- package/content/input-blocks/tagmultipleselector.md +114 -0
- package/content/input-blocks/tagselector.md +114 -0
- package/content/input-blocks/textarea.md +32 -3
- package/content/input-blocks/textinput.md +70 -29
- package/content/input-blocks/tiptapinput.md +1 -1
- package/content/input-blocks/tiptapmentioninput.md +2 -2
- package/content/input-blocks/titleinput.md +39 -12
- package/content/input-blocks/treeinput.md +49 -25
- package/content/input-blocks/treemultipleselector.md +127 -10
- package/content/input-blocks/treeselector.md +97 -9
- package/content/input-blocks/upload.md +64 -15
- package/content/input-blocks/uploaddragger.md +17 -1
- package/content/input-blocks/uploadphoto.md +18 -1
- package/content/input-blocks/weekselector.md +120 -55
- package/content/learn/introduction.md +27 -0
- package/content/learn/quickstart.md +53 -0
- package/content/learn/showcase.md +8 -0
- package/content/list-blocks/controlledlist.md +24 -15
- package/content/list-blocks/list.md +11 -11
- package/content/list-blocks/masonrylist.md +7 -34
- package/content/migration/auth-upgrade.md +337 -0
- package/content/migration/upgrade-guide.md +1 -0
- package/content/migration/v3-to-v4.md +417 -0
- package/content/migration/v6-to-v7.md +620 -0
- package/content/operators/_agent.md +155 -0
- package/content/operators/_app.md +2 -1
- package/content/operators/_array.md +122 -1
- package/content/operators/_build.md +1 -0
- package/content/operators/_credential.md +57 -0
- package/content/operators/_cron.md +292 -0
- package/content/operators/_date.md +2 -0
- package/content/operators/_error.md +196 -0
- package/content/operators/_get.md +6 -6
- package/content/operators/_hmac.md +78 -0
- package/content/operators/_js.md +2 -1
- package/content/operators/_location.md +1 -1
- package/content/operators/_media.md +13 -0
- package/content/operators/_module.md +56 -2
- package/content/operators/_operator.md +17 -3
- package/content/operators/_path_params.md +82 -0
- package/content/operators/_ref.md +258 -0
- package/content/operators/_request.md +1 -1
- package/content/operators/_request_details.md +6 -0
- package/content/operators/_type.md +14 -3
- package/content/operators/_url_query.md +2 -0
- package/content/operators/_user.md +3 -3
- package/content/plugins/plugins-actions.md +10 -0
- package/content/plugins/plugins-connections.md +25 -0
- package/content/plugins/plugins-dev.md +66 -0
- package/content/plugins/plugins-icon-sets.md +267 -0
- package/content/plugins/plugins-introduction.md +27 -1
- package/content/plugins/plugins.md +19 -0
- package/content/plugins/posthog.md +359 -0
- package/content/provider-reference/auth-js-providers.md +107 -0
- package/content/provider-reference/openidconnectprovider.md +44 -0
- package/content/recipes/recipes.md +16 -0
- package/content/reference/actions-reference.md +31 -0
- package/content/reference/blocks-reference.md +35 -0
- package/content/reference/cli.md +403 -0
- package/content/reference/connections-reference.md +23 -0
- package/content/reference/operators-reference.md +47 -0
- package/content/reference/reference.md +16 -0
- package/content/reference/schema-reference.md +12 -0
- package/content/testing/config-tests.md +677 -0
- package/content/testing/e2e-configuration.md +31 -1
- package/content/testing/e2e-getting-started.md +1 -1
- package/content/testing/e2e-introduction.md +1 -1
- package/content/testing/e2e-writing-tests.md +12 -1
- package/content/testing/explore-pull-request.md +136 -0
- package/content/testing/journey-data-sets.md +326 -0
- package/content/tutorial/tutorial-actions-operators.md +2 -2
- package/content/tutorial/tutorial-add-blocks.md +2 -2
- package/content/tutorial/tutorial-create-page.md +48 -2
- package/content/tutorial/tutorial-display-data-page.md +3 -3
- package/content/tutorial/tutorial-requests-api.md +155 -0
- package/content/tutorial/tutorial-requests-sql.md +153 -0
- package/content/tutorial/tutorial-start.md +66 -1
- package/content/user-authentication/auth-configuration.md +267 -0
- package/content/user-authentication/auth-providers.md +24 -0
- package/content/user-authentication/auth-steps.md +141 -0
- package/content/user-authentication/login-and-logout.md +160 -8
- package/content/user-authentication/mcp-oauth.md +424 -0
- package/content/user-authentication/organizations.md +246 -0
- package/content/user-authentication/protected-pages-apis.md +97 -0
- package/content/user-authentication/roles.md +49 -0
- package/content/user-authentication/two-factor.md +229 -0
- package/content/user-authentication/user-object.md +58 -0
- package/content/user-authentication/users-introduction.md +8 -0
- package/content/websockets/websocket-publish.md +105 -0
- package/content/websockets/websocket-subscriptions.md +136 -0
- package/content/websockets/websockets-introduction.md +101 -0
- package/hazards.json +56 -0
- package/index.json +3472 -14
- package/package.json +10 -1
- package/scripts/extractAgentDocs.js +41 -30
- package/scripts/hashDocSources.js +38 -0
- package/scripts/isRedirectPage.js +26 -0
- package/scripts/recordSourceHashes.js +97 -0
- package/scripts/resolvePageSections.js +42 -0
- package/scripts/sectionKind.js +27 -0
- package/content/concepts/cli.md +0 -223
- package/content/other/introduction.md +0 -39
- package/content/other/next-auth-providers.md +0 -3
- /package/content/{other → actions}/updatesession.md +0 -0
|
@@ -57,7 +57,7 @@ Hyperlink anchor for navigation.
|
|
|
57
57
|
properties:
|
|
58
58
|
title: Link with Icon
|
|
59
59
|
url: https://lowdefy.com
|
|
60
|
-
icon:
|
|
60
|
+
icon: link
|
|
61
61
|
- id: icon_download
|
|
62
62
|
type: Anchor
|
|
63
63
|
layout:
|
|
@@ -65,7 +65,7 @@ Hyperlink anchor for navigation.
|
|
|
65
65
|
properties:
|
|
66
66
|
title: Download
|
|
67
67
|
url: https://lowdefy.com
|
|
68
|
-
icon:
|
|
68
|
+
icon: download
|
|
69
69
|
- id: icon_external
|
|
70
70
|
type: Anchor
|
|
71
71
|
layout:
|
|
@@ -73,7 +73,7 @@ Hyperlink anchor for navigation.
|
|
|
73
73
|
properties:
|
|
74
74
|
title: External Link
|
|
75
75
|
url: https://lowdefy.com
|
|
76
|
-
icon:
|
|
76
|
+
icon: SquareArrowOutUpRight
|
|
77
77
|
- id: icon_mail
|
|
78
78
|
type: Anchor
|
|
79
79
|
layout:
|
|
@@ -81,7 +81,7 @@ Hyperlink anchor for navigation.
|
|
|
81
81
|
properties:
|
|
82
82
|
title: Send Email
|
|
83
83
|
url: https://lowdefy.com
|
|
84
|
-
icon:
|
|
84
|
+
icon: mail
|
|
85
85
|
- id: icon_github
|
|
86
86
|
type: Anchor
|
|
87
87
|
layout:
|
|
@@ -89,7 +89,7 @@ Hyperlink anchor for navigation.
|
|
|
89
89
|
properties:
|
|
90
90
|
title: GitHub
|
|
91
91
|
url: https://github.com/lowdefy/lowdefy
|
|
92
|
-
icon:
|
|
92
|
+
icon: GitBranch
|
|
93
93
|
- id: icon_object
|
|
94
94
|
type: Anchor
|
|
95
95
|
layout:
|
|
@@ -98,7 +98,7 @@ Hyperlink anchor for navigation.
|
|
|
98
98
|
title: Colored Icon
|
|
99
99
|
url: https://lowdefy.com
|
|
100
100
|
icon:
|
|
101
|
-
name:
|
|
101
|
+
name: heart
|
|
102
102
|
color: "#ff4d4f"
|
|
103
103
|
```
|
|
104
104
|
|
|
@@ -119,7 +119,7 @@ Hyperlink anchor for navigation.
|
|
|
119
119
|
title: External Docs
|
|
120
120
|
url: https://docs.lowdefy.com
|
|
121
121
|
newTab: true
|
|
122
|
-
icon:
|
|
122
|
+
icon: SquareArrowOutUpRight
|
|
123
123
|
```
|
|
124
124
|
|
|
125
125
|
```yaml
|
|
@@ -139,7 +139,7 @@ Hyperlink anchor for navigation.
|
|
|
139
139
|
title: Disabled with Icon
|
|
140
140
|
url: https://lowdefy.com
|
|
141
141
|
disabled: true
|
|
142
|
-
icon:
|
|
142
|
+
icon: lock
|
|
143
143
|
- id: enabled_link
|
|
144
144
|
type: Anchor
|
|
145
145
|
layout:
|
|
@@ -148,7 +148,7 @@ Hyperlink anchor for navigation.
|
|
|
148
148
|
title: Enabled Link
|
|
149
149
|
url: https://lowdefy.com
|
|
150
150
|
disabled: false
|
|
151
|
-
icon:
|
|
151
|
+
icon: unlock
|
|
152
152
|
```
|
|
153
153
|
|
|
154
154
|
```yaml
|
|
@@ -166,7 +166,7 @@ Hyperlink anchor for navigation.
|
|
|
166
166
|
flex: 0 0 auto
|
|
167
167
|
properties:
|
|
168
168
|
url: https://lowdefy.com
|
|
169
|
-
icon:
|
|
169
|
+
icon: home
|
|
170
170
|
ariaLabel: Go to home page
|
|
171
171
|
```
|
|
172
172
|
|
|
@@ -198,7 +198,7 @@ Hyperlink anchor for navigation.
|
|
|
198
198
|
properties:
|
|
199
199
|
title: Go Back
|
|
200
200
|
back: true
|
|
201
|
-
icon:
|
|
201
|
+
icon: arrow-left
|
|
202
202
|
- id: nav_home
|
|
203
203
|
type: Anchor
|
|
204
204
|
layout:
|
|
@@ -206,7 +206,7 @@ Hyperlink anchor for navigation.
|
|
|
206
206
|
properties:
|
|
207
207
|
title: Go Home
|
|
208
208
|
home: true
|
|
209
|
-
icon:
|
|
209
|
+
icon: home
|
|
210
210
|
```
|
|
211
211
|
|
|
212
212
|
```yaml
|
|
@@ -217,7 +217,7 @@ Hyperlink anchor for navigation.
|
|
|
217
217
|
properties:
|
|
218
218
|
title: Documentation
|
|
219
219
|
url: https://docs.lowdefy.com
|
|
220
|
-
icon:
|
|
220
|
+
icon: Book
|
|
221
221
|
events:
|
|
222
222
|
onClick:
|
|
223
223
|
shortcut: mod+shift+d
|
|
@@ -302,7 +302,7 @@ Hyperlink anchor for navigation.
|
|
|
302
302
|
properties:
|
|
303
303
|
title: Large Red Link
|
|
304
304
|
url: https://lowdefy.com
|
|
305
|
-
icon:
|
|
305
|
+
icon: heart
|
|
306
306
|
```
|
|
307
307
|
|
|
308
308
|
| Property | Type | Default | Description |
|
|
@@ -312,8 +312,9 @@ Hyperlink anchor for navigation.
|
|
|
312
312
|
| `home` | boolean | - | When the link is clicked, route to the home page. |
|
|
313
313
|
| `input` | object | - | When the link is clicked, pass data as the input object to the next Lowdefy page. Can only be used with pageId link and newTab false. |
|
|
314
314
|
| `urlQuery` | object | - | When the link is clicked, pass data as a url query to the next page. |
|
|
315
|
+
| `pathParams` | object | - | Values for the placeholders in the path of the page given by pageId, like `{ ticket_id: '1234' }` for `tickets/{ticket_id}`. |
|
|
315
316
|
| `disabled` | boolean | `false` | Disable the anchor if true. |
|
|
316
|
-
| `icon` | string \| object | - |
|
|
317
|
+
| `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 for anchor icon. |
|
|
317
318
|
| `pageId` | string | - | When the link is clicked, route to the provided Lowdefy page. |
|
|
318
319
|
| `href` | string | - | The href to link to when the anchor link is clicked. |
|
|
319
320
|
| `url` | string | - | External url to link to when the anchor link is clicked. |
|
|
@@ -33,7 +33,7 @@ B
|
|
|
33
33
|
layout:
|
|
34
34
|
flex: 0 0 auto
|
|
35
35
|
properties:
|
|
36
|
-
icon:
|
|
36
|
+
icon: user
|
|
37
37
|
shape: circle
|
|
38
38
|
color: "#52c41a"
|
|
39
39
|
- id: shape_square_src
|
|
@@ -169,21 +169,21 @@ Tom
|
|
|
169
169
|
layout:
|
|
170
170
|
flex: 0 0 auto
|
|
171
171
|
properties:
|
|
172
|
-
icon:
|
|
172
|
+
icon: user
|
|
173
173
|
color: "#1677ff"
|
|
174
174
|
- id: icon_team
|
|
175
175
|
type: Avatar
|
|
176
176
|
layout:
|
|
177
177
|
flex: 0 0 auto
|
|
178
178
|
properties:
|
|
179
|
-
icon:
|
|
179
|
+
icon: users
|
|
180
180
|
color: "#722ed1"
|
|
181
181
|
- id: icon_star
|
|
182
182
|
type: Avatar
|
|
183
183
|
layout:
|
|
184
184
|
flex: 0 0 auto
|
|
185
185
|
properties:
|
|
186
|
-
icon:
|
|
186
|
+
icon: star
|
|
187
187
|
color: "#faad14"
|
|
188
188
|
- id: icon_custom_color
|
|
189
189
|
type: Avatar
|
|
@@ -191,7 +191,7 @@ Tom
|
|
|
191
191
|
flex: 0 0 auto
|
|
192
192
|
properties:
|
|
193
193
|
icon:
|
|
194
|
-
name:
|
|
194
|
+
name: Zap
|
|
195
195
|
color: "#fff700"
|
|
196
196
|
color: "#000000"
|
|
197
197
|
- id: icon_custom_large
|
|
@@ -200,7 +200,7 @@ Tom
|
|
|
200
200
|
flex: 0 0 auto
|
|
201
201
|
properties:
|
|
202
202
|
icon:
|
|
203
|
-
name:
|
|
203
|
+
name: Crown
|
|
204
204
|
color: "#fff"
|
|
205
205
|
color: "#722ed1"
|
|
206
206
|
size: large
|
|
@@ -345,7 +345,7 @@ JD
|
|
|
345
345
|
layout:
|
|
346
346
|
flex: 0 0 auto
|
|
347
347
|
properties:
|
|
348
|
-
icon:
|
|
348
|
+
icon: user
|
|
349
349
|
color: "#1677ff"
|
|
350
350
|
size: large
|
|
351
351
|
events:
|
|
@@ -440,7 +440,7 @@ SH
|
|
|
440
440
|
color: "#1677ff"
|
|
441
441
|
style:
|
|
442
442
|
.element:
|
|
443
|
-
border: 2px solid
|
|
443
|
+
border: "2px solid #1677ff"
|
|
444
444
|
- id: css_box_shadow
|
|
445
445
|
type: Avatar
|
|
446
446
|
layout:
|
|
@@ -456,22 +456,22 @@ SH
|
|
|
456
456
|
layout:
|
|
457
457
|
flex: 0 0 auto
|
|
458
458
|
properties:
|
|
459
|
-
icon:
|
|
459
|
+
icon: star
|
|
460
460
|
size: large
|
|
461
461
|
style:
|
|
462
462
|
.element:
|
|
463
|
-
background: linear-gradient(135deg,
|
|
463
|
+
background: "linear-gradient(135deg, #667eea 0%, #764ba2 100%)"
|
|
464
464
|
- id: css_dashed_outline
|
|
465
465
|
type: Avatar
|
|
466
466
|
layout:
|
|
467
467
|
flex: 0 0 auto
|
|
468
468
|
properties:
|
|
469
|
-
icon:
|
|
469
|
+
icon: add
|
|
470
470
|
size: large
|
|
471
471
|
style:
|
|
472
472
|
.element:
|
|
473
473
|
color: "#1677ff"
|
|
474
|
-
border: 2px dashed
|
|
474
|
+
border: "2px dashed #1677ff"
|
|
475
475
|
```
|
|
476
476
|
|
|
477
477
|
Hi
|
|
@@ -490,7 +490,7 @@ SM
|
|
|
490
490
|
layout:
|
|
491
491
|
flex: 0 0 auto
|
|
492
492
|
properties:
|
|
493
|
-
icon:
|
|
493
|
+
icon: user
|
|
494
494
|
size: large
|
|
495
495
|
color: "#1677ff"
|
|
496
496
|
theme:
|
|
@@ -523,7 +523,7 @@ SM
|
|
|
523
523
|
layout:
|
|
524
524
|
flex: 0 0 auto
|
|
525
525
|
properties:
|
|
526
|
-
icon:
|
|
526
|
+
icon: star
|
|
527
527
|
color: "#722ed1"
|
|
528
528
|
theme:
|
|
529
529
|
containerSize: 44
|
|
@@ -547,7 +547,7 @@ SM
|
|
|
547
547
|
- src: https://api.dicebear.com/7.x/miniavs/svg?seed=1
|
|
548
548
|
- content: BK
|
|
549
549
|
color: "#1677ff"
|
|
550
|
-
- icon:
|
|
550
|
+
- icon: user
|
|
551
551
|
color: "#87d068"
|
|
552
552
|
- content: ZW
|
|
553
553
|
color: "#722ed1"
|
|
@@ -562,7 +562,7 @@ SM
|
|
|
562
562
|
- src: https://api.dicebear.com/7.x/miniavs/svg?seed=2
|
|
563
563
|
- content: AL
|
|
564
564
|
color: "#f56a00"
|
|
565
|
-
- icon:
|
|
565
|
+
- icon: user
|
|
566
566
|
color: "#1677ff"
|
|
567
567
|
- content: KJ
|
|
568
568
|
color: "#722ed1"
|
|
@@ -593,7 +593,7 @@ SM
|
|
|
593
593
|
- src: https://api.dicebear.com/7.x/miniavs/svg?seed=3
|
|
594
594
|
- content: LG
|
|
595
595
|
color: "#eb2f96"
|
|
596
|
-
- icon:
|
|
596
|
+
- icon: star
|
|
597
597
|
color: "#faad14"
|
|
598
598
|
```
|
|
599
599
|
|
|
@@ -634,7 +634,7 @@ SM
|
|
|
634
634
|
- src: https://api.dicebear.com/7.x/miniavs/svg?seed=5
|
|
635
635
|
- content: AB
|
|
636
636
|
color: "#52c41a"
|
|
637
|
-
- icon:
|
|
637
|
+
- icon: user
|
|
638
638
|
color: "#722ed1"
|
|
639
639
|
- content: CD
|
|
640
640
|
color: "#f5222d"
|
|
@@ -696,7 +696,7 @@ Senior Engineer at Acme Corp
|
|
|
696
696
|
alt: Sarah Chen
|
|
697
697
|
style:
|
|
698
698
|
.element:
|
|
699
|
-
border: 2px solid
|
|
699
|
+
border: "2px solid #1677ff"
|
|
700
700
|
events:
|
|
701
701
|
onClick:
|
|
702
702
|
- id: profile_click_msg
|
|
@@ -733,7 +733,7 @@ Senior Engineer at Acme Corp
|
|
|
733
733
|
title: Edit Profile
|
|
734
734
|
color: primary
|
|
735
735
|
variant: outlined
|
|
736
|
-
icon:
|
|
736
|
+
icon: edit
|
|
737
737
|
events:
|
|
738
738
|
onClick:
|
|
739
739
|
- id: profile_edit_msg
|
|
@@ -749,7 +749,7 @@ Senior Engineer at Acme Corp
|
|
|
749
749
|
title: Send Message
|
|
750
750
|
color: primary
|
|
751
751
|
variant: solid
|
|
752
|
-
icon:
|
|
752
|
+
icon: mail
|
|
753
753
|
events:
|
|
754
754
|
onClick:
|
|
755
755
|
- id: profile_msg_msg
|
|
@@ -793,7 +793,7 @@ Dashboard redesign project
|
|
|
793
793
|
alt: Elena Torres
|
|
794
794
|
- content: JD
|
|
795
795
|
color: "#52c41a"
|
|
796
|
-
- icon:
|
|
796
|
+
- icon: user
|
|
797
797
|
color: "#722ed1"
|
|
798
798
|
- content: KP
|
|
799
799
|
color: "#fa8c16"
|
|
@@ -847,7 +847,7 @@ I've started on the date picker component. Quick question — should it default
|
|
|
847
847
|
src: https://api.dicebear.com/7.x/miniavs/svg?seed=sarah
|
|
848
848
|
style:
|
|
849
849
|
.element:
|
|
850
|
-
border: 2px solid
|
|
850
|
+
border: "2px solid #1677ff"
|
|
851
851
|
events:
|
|
852
852
|
onClick:
|
|
853
853
|
- id: c1_profile
|
|
@@ -884,7 +884,7 @@ I've started on the date picker component. Quick question — should it default
|
|
|
884
884
|
layout:
|
|
885
885
|
flex: 0 0 auto
|
|
886
886
|
properties:
|
|
887
|
-
icon:
|
|
887
|
+
icon: ThumbsUp
|
|
888
888
|
title: Like
|
|
889
889
|
style:
|
|
890
890
|
.element:
|
|
@@ -895,7 +895,7 @@ I've started on the date picker component. Quick question — should it default
|
|
|
895
895
|
layout:
|
|
896
896
|
flex: 0 0 auto
|
|
897
897
|
properties:
|
|
898
|
-
icon:
|
|
898
|
+
icon: message
|
|
899
899
|
title: Reply
|
|
900
900
|
style:
|
|
901
901
|
.element:
|
|
@@ -958,7 +958,7 @@ I've started on the date picker component. Quick question — should it default
|
|
|
958
958
|
layout:
|
|
959
959
|
flex: 0 0 auto
|
|
960
960
|
properties:
|
|
961
|
-
icon:
|
|
961
|
+
icon: ThumbsUp
|
|
962
962
|
title: Like
|
|
963
963
|
style:
|
|
964
964
|
.element:
|
|
@@ -969,7 +969,7 @@ I've started on the date picker component. Quick question — should it default
|
|
|
969
969
|
layout:
|
|
970
970
|
flex: 0 0 auto
|
|
971
971
|
properties:
|
|
972
|
-
icon:
|
|
972
|
+
icon: message
|
|
973
973
|
title: Reply
|
|
974
974
|
style:
|
|
975
975
|
.element:
|
|
@@ -1032,7 +1032,7 @@ I've started on the date picker component. Quick question — should it default
|
|
|
1032
1032
|
layout:
|
|
1033
1033
|
flex: 0 0 auto
|
|
1034
1034
|
properties:
|
|
1035
|
-
icon:
|
|
1035
|
+
icon: ThumbsUp
|
|
1036
1036
|
title: Like
|
|
1037
1037
|
style:
|
|
1038
1038
|
.element:
|
|
@@ -1043,7 +1043,7 @@ I've started on the date picker component. Quick question — should it default
|
|
|
1043
1043
|
layout:
|
|
1044
1044
|
flex: 0 0 auto
|
|
1045
1045
|
properties:
|
|
1046
|
-
icon:
|
|
1046
|
+
icon: message
|
|
1047
1047
|
title: Reply
|
|
1048
1048
|
style:
|
|
1049
1049
|
.element:
|
|
@@ -1069,7 +1069,7 @@ I've started on the date picker component. Quick question — should it default
|
|
|
1069
1069
|
layout:
|
|
1070
1070
|
flex: 0 0 auto
|
|
1071
1071
|
properties:
|
|
1072
|
-
icon:
|
|
1072
|
+
icon: user
|
|
1073
1073
|
color: "#52c41a"
|
|
1074
1074
|
- id: reply_body
|
|
1075
1075
|
type: Box
|
|
@@ -1091,7 +1091,7 @@ I've started on the date picker component. Quick question — should it default
|
|
|
1091
1091
|
title: Reply
|
|
1092
1092
|
color: primary
|
|
1093
1093
|
variant: solid
|
|
1094
|
-
icon:
|
|
1094
|
+
icon: send
|
|
1095
1095
|
events:
|
|
1096
1096
|
onClick:
|
|
1097
1097
|
- id: reply_msg
|
|
@@ -1107,25 +1107,45 @@ I've started on the date picker component. Quick question — should it default
|
|
|
1107
1107
|
| `color` | string | - | The background color of the avatar if not using a src url. Should be a hex color string. Color is a random color if not specified. |
|
|
1108
1108
|
| `content` | string | - | Text to display inside avatar. |
|
|
1109
1109
|
| `gap` | number | - | Letter type unit distance between left and right sides. |
|
|
1110
|
-
| `icon` | string \| object | - |
|
|
1110
|
+
| `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 use an icon in avatar. |
|
|
1111
|
+
| `icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
1112
|
+
| `icon.color` | string | - | Icon color. |
|
|
1113
|
+
| `icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1114
|
+
| `icon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1115
|
+
| `icon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1116
|
+
| `icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1117
|
+
| `icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1118
|
+
| `icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1119
|
+
| `icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
1111
1120
|
| `shape` | string | `"circle"` | Shape of the avatar. Enum: `circle`, `square`. |
|
|
1112
|
-
| `size` | string \| object | `"default"` | Size of the avatar
|
|
1121
|
+
| `size` | string \| number \| object | `"default"` | Size of the avatar: default, small, large, a pixel number, or a responsive object of breakpoint sizes. |
|
|
1113
1122
|
| `src` | string | - | The address of the image for an image avatar. |
|
|
1123
|
+
| `srcSet` | string | - | A list of image sources for different screen resolutions, as in the img srcset attribute. |
|
|
1114
1124
|
| `group` | object | - | Render as an avatar group with multiple avatars. When set, the block renders Avatar.Group wrapping data-driven avatars. |
|
|
1115
1125
|
| `group.maxCount` | number | - | Max avatars to show. Excess shows as "+N". |
|
|
1116
1126
|
| `group.maxPopoverPlacement` | string | `"top"` | Placement of the overflow popover. Enum: `top`, `bottom`. |
|
|
1117
|
-
| `group.maxPopoverTrigger` | string | `"hover"` | Trigger mode for the overflow popover. Enum: `hover`, `click`. |
|
|
1127
|
+
| `group.maxPopoverTrigger` | string | `"hover"` | Trigger mode for the overflow popover. Enum: `hover`, `focus`, `click`. |
|
|
1118
1128
|
| `group.shape` | string | - | Default shape for all avatars in the group. Enum: `circle`, `square`. |
|
|
1119
|
-
| `group.size` | string \| number | - | Default size for all avatars in the group
|
|
1129
|
+
| `group.size` | string \| number | - | Default size for all avatars in the group: default, small, large or a pixel number. |
|
|
1120
1130
|
| `group.avatars` | array | - | Array of avatar configurations. |
|
|
1121
1131
|
| `group.avatars.$.alt` | string | - | Alt text for image avatar. |
|
|
1122
1132
|
| `group.avatars.$.color` | string | - | Background color. |
|
|
1123
1133
|
| `group.avatars.$.content` | string | - | Text content inside the avatar. |
|
|
1124
1134
|
| `group.avatars.$.gap` | number | - | Letter type unit distance between left and right sides. |
|
|
1125
1135
|
| `group.avatars.$.icon` | string \| object | - | Icon name or properties. |
|
|
1136
|
+
| `group.avatars.$.icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
1137
|
+
| `group.avatars.$.icon.color` | string | - | Icon color. |
|
|
1138
|
+
| `group.avatars.$.icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1139
|
+
| `group.avatars.$.icon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1140
|
+
| `group.avatars.$.icon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1141
|
+
| `group.avatars.$.icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1142
|
+
| `group.avatars.$.icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1143
|
+
| `group.avatars.$.icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1144
|
+
| `group.avatars.$.icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
1126
1145
|
| `group.avatars.$.shape` | string | - | Override shape for this avatar. Enum: `circle`, `square`. |
|
|
1127
|
-
| `group.avatars.$.size` | string \| number | - | Override size for this avatar
|
|
1146
|
+
| `group.avatars.$.size` | string \| number | - | Override size for this avatar: default, small, large or a pixel number. |
|
|
1128
1147
|
| `group.avatars.$.src` | string | - | Image URL. |
|
|
1148
|
+
| `group.avatars.$.srcSet` | string | - | Image sources for different screen resolutions. |
|
|
1129
1149
|
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design avatar tokens](https://ant.design/components/avatar#design-token). |
|
|
1130
1150
|
| `theme.containerSize` | number | `32` | Size of the avatar. |
|
|
1131
1151
|
| `theme.containerSizeLG` | number | `40` | Size of the large avatar. |
|
|
@@ -1142,7 +1162,7 @@ I've started on the date picker component. Quick question — should it default
|
|
|
1142
1162
|
|
|
1143
1163
|
| Event | Event Data | Description |
|
|
1144
1164
|
| --- | --- | --- |
|
|
1145
|
-
| `onClick` |
|
|
1165
|
+
| `onClick` | `{ index }` | Triggered when the avatar, or an avatar in a group, is clicked. |
|
|
1146
1166
|
|
|
1147
1167
|
| Key | Target |
|
|
1148
1168
|
| --- | --- |
|
|
@@ -101,34 +101,68 @@ Navigation breadcrumb showing the current location in a hierarchy.
|
|
|
101
101
|
- label: General
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
+
```yaml
|
|
105
|
+
- id: dropdown_links
|
|
106
|
+
type: Breadcrumb
|
|
107
|
+
properties:
|
|
108
|
+
list:
|
|
109
|
+
- label: Home
|
|
110
|
+
pageId: introduction
|
|
111
|
+
icon: home
|
|
112
|
+
- label: Components
|
|
113
|
+
links:
|
|
114
|
+
- label: Buttons
|
|
115
|
+
pageId: introduction
|
|
116
|
+
- label: Menus
|
|
117
|
+
pageId: introduction
|
|
118
|
+
- label: Layouts
|
|
119
|
+
pageId: introduction
|
|
120
|
+
- label: Breadcrumb
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
```yaml
|
|
124
|
+
- id: semantic_styles
|
|
125
|
+
type: Breadcrumb
|
|
126
|
+
class:
|
|
127
|
+
.item: font-medium
|
|
128
|
+
style:
|
|
129
|
+
.separator:
|
|
130
|
+
color: "#1677ff"
|
|
131
|
+
properties:
|
|
132
|
+
list:
|
|
133
|
+
- Home
|
|
134
|
+
- Library
|
|
135
|
+
- Data
|
|
136
|
+
```
|
|
137
|
+
|
|
104
138
|
```yaml
|
|
105
139
|
- id: icons_string
|
|
106
140
|
type: Breadcrumb
|
|
107
141
|
properties:
|
|
108
142
|
list:
|
|
109
143
|
- label: Home
|
|
110
|
-
icon:
|
|
144
|
+
icon: home
|
|
111
145
|
- label: Users
|
|
112
|
-
icon:
|
|
146
|
+
icon: user
|
|
113
147
|
- label: Profile
|
|
114
148
|
- id: icons_multiple
|
|
115
149
|
type: Breadcrumb
|
|
116
150
|
properties:
|
|
117
151
|
list:
|
|
118
152
|
- label: Dashboard
|
|
119
|
-
icon:
|
|
153
|
+
icon: Gauge
|
|
120
154
|
- label: Settings
|
|
121
|
-
icon:
|
|
155
|
+
icon: settings
|
|
122
156
|
- label: Security
|
|
123
|
-
icon:
|
|
157
|
+
icon: lock
|
|
124
158
|
- id: icons_files
|
|
125
159
|
type: Breadcrumb
|
|
126
160
|
properties:
|
|
127
161
|
list:
|
|
128
162
|
- label: Files
|
|
129
|
-
icon:
|
|
163
|
+
icon: folder
|
|
130
164
|
- label: Documents
|
|
131
|
-
icon:
|
|
165
|
+
icon: file
|
|
132
166
|
- label: report.pdf
|
|
133
167
|
- id: icons_custom_object
|
|
134
168
|
type: Breadcrumb
|
|
@@ -136,11 +170,11 @@ Navigation breadcrumb showing the current location in a hierarchy.
|
|
|
136
170
|
list:
|
|
137
171
|
- label: Admin
|
|
138
172
|
icon:
|
|
139
|
-
name:
|
|
173
|
+
name: Crown
|
|
140
174
|
color: "#faad14"
|
|
141
175
|
- label: Console
|
|
142
176
|
icon:
|
|
143
|
-
name:
|
|
177
|
+
name: CodeXml
|
|
144
178
|
color: "#1677ff"
|
|
145
179
|
- label: Logs
|
|
146
180
|
```
|
|
@@ -260,7 +294,7 @@ Navigation breadcrumb showing the current location in a hierarchy.
|
|
|
260
294
|
style:
|
|
261
295
|
.element:
|
|
262
296
|
padding: 8px 16px
|
|
263
|
-
border: 1px solid
|
|
297
|
+
border: "1px solid #d9d9d9"
|
|
264
298
|
borderRadius: 6
|
|
265
299
|
- id: css_inline_background
|
|
266
300
|
type: Breadcrumb
|
|
@@ -303,9 +337,9 @@ Navigation breadcrumb showing the current location in a hierarchy.
|
|
|
303
337
|
properties:
|
|
304
338
|
list:
|
|
305
339
|
- label: Home
|
|
306
|
-
icon:
|
|
340
|
+
icon: home
|
|
307
341
|
- label: Users
|
|
308
|
-
icon:
|
|
342
|
+
icon: users
|
|
309
343
|
- label: Profile
|
|
310
344
|
theme:
|
|
311
345
|
iconFontSize: 20
|
|
@@ -315,7 +349,7 @@ Navigation breadcrumb showing the current location in a hierarchy.
|
|
|
315
349
|
separator: ">"
|
|
316
350
|
list:
|
|
317
351
|
- label: Home
|
|
318
|
-
icon:
|
|
352
|
+
icon: home
|
|
319
353
|
- label: Projects
|
|
320
354
|
- label: Current
|
|
321
355
|
theme:
|
|
@@ -343,12 +377,12 @@ Add an extra layer of security to your account by enabling two-factor authentica
|
|
|
343
377
|
separator: ">"
|
|
344
378
|
list:
|
|
345
379
|
- label: Home
|
|
346
|
-
icon:
|
|
380
|
+
icon: home
|
|
347
381
|
pageId: introduction
|
|
348
382
|
- label: Settings
|
|
349
|
-
icon:
|
|
383
|
+
icon: settings
|
|
350
384
|
- label: Security
|
|
351
|
-
icon:
|
|
385
|
+
icon: lock
|
|
352
386
|
events:
|
|
353
387
|
onClick:
|
|
354
388
|
- id: settings_click_msg
|
|
@@ -399,7 +433,7 @@ Add an extra layer of security to your account by enabling two-factor authentica
|
|
|
399
433
|
title: Save Changes
|
|
400
434
|
color: primary
|
|
401
435
|
variant: solid
|
|
402
|
-
icon:
|
|
436
|
+
icon: save
|
|
403
437
|
events:
|
|
404
438
|
onClick:
|
|
405
439
|
- id: settings_save_msg
|
|
@@ -420,7 +454,7 @@ Premium over-ear headphones with active noise cancellation, 30-hour battery life
|
|
|
420
454
|
properties:
|
|
421
455
|
list:
|
|
422
456
|
- label: Shop
|
|
423
|
-
icon:
|
|
457
|
+
icon: home
|
|
424
458
|
url: https://lowdefy.com
|
|
425
459
|
- label: Electronics
|
|
426
460
|
- label: Audio
|
|
@@ -460,7 +494,7 @@ Premium over-ear headphones with active noise cancellation, 30-hour battery life
|
|
|
460
494
|
title: Add to Cart
|
|
461
495
|
color: primary
|
|
462
496
|
variant: solid
|
|
463
|
-
icon:
|
|
497
|
+
icon: ShoppingCart
|
|
464
498
|
events:
|
|
465
499
|
onClick:
|
|
466
500
|
- id: ecommerce_cart_msg
|
|
@@ -476,7 +510,7 @@ Premium over-ear headphones with active noise cancellation, 30-hour battery life
|
|
|
476
510
|
title: Wishlist
|
|
477
511
|
color: default
|
|
478
512
|
variant: outlined
|
|
479
|
-
icon:
|
|
513
|
+
icon: heart
|
|
480
514
|
events:
|
|
481
515
|
onClick:
|
|
482
516
|
- id: ecommerce_wishlist_msg
|
|
@@ -494,7 +528,20 @@ Premium over-ear headphones with active noise cancellation, 30-hour battery life
|
|
|
494
528
|
| `list.$.pageId` | string | - | Page id to link to when clicked. |
|
|
495
529
|
| `list.$.url` | string | - | External url link. |
|
|
496
530
|
| `list.$.style` | object | - | Css style to apply to link. |
|
|
497
|
-
| `list.$.icon` | string \| object | - |
|
|
531
|
+
| `list.$.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 use an icon in breadcrumb link. |
|
|
532
|
+
| `list.$.icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
533
|
+
| `list.$.icon.color` | string | - | Icon color. |
|
|
534
|
+
| `list.$.icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
535
|
+
| `list.$.icon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
536
|
+
| `list.$.icon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
537
|
+
| `list.$.icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
538
|
+
| `list.$.icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
539
|
+
| `list.$.icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
540
|
+
| `list.$.icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
541
|
+
| `list.$.links` | array | - | Links shown in a dropdown menu on the breadcrumb item. |
|
|
542
|
+
| `list.$.links.$.label` | string | - | Label of the dropdown link. |
|
|
543
|
+
| `list.$.links.$.pageId` | string | - | Page id to link to when clicked. |
|
|
544
|
+
| `list.$.links.$.url` | string | - | External url link. |
|
|
498
545
|
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design breadcrumb tokens](https://ant.design/components/breadcrumb#design-token). |
|
|
499
546
|
| `theme.itemColor` | string | `"rgba(0, 0, 0, 0.45)"` | Text color of breadcrumb item. |
|
|
500
547
|
| `theme.iconFontSize` | number | `14` | Icon size of breadcrumb item. |
|
|
@@ -513,5 +560,7 @@ Premium over-ear headphones with active noise cancellation, 30-hour battery life
|
|
|
513
560
|
| `/block` | Outer block wrapper (always available). |
|
|
514
561
|
| `/element` | The Breadcrumb element. |
|
|
515
562
|
| `/icon` | The icon in the Breadcrumb. |
|
|
563
|
+
| `/item` | Each breadcrumb item. |
|
|
564
|
+
| `/separator` | The separator between items. |
|
|
516
565
|
|
|
517
566
|
No slots defined.
|