@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
|
@@ -98,6 +98,55 @@ Small size card with compact padding (12px) and shorter header (38px). Ideal for
|
|
|
98
98
|
color: default
|
|
99
99
|
```
|
|
100
100
|
|
|
101
|
+
padding: compact tightens the body to 12px and lines the header up with it, while keeping the default header height. Use it for dense dashboards and forms.
|
|
102
|
+
|
|
103
|
+
```yaml
|
|
104
|
+
- id: padding_compact_card
|
|
105
|
+
type: Card
|
|
106
|
+
layout:
|
|
107
|
+
flex: 1 1 0
|
|
108
|
+
properties:
|
|
109
|
+
title: Compact
|
|
110
|
+
padding: compact
|
|
111
|
+
blocks:
|
|
112
|
+
- id: padding_compact_p
|
|
113
|
+
type: Paragraph
|
|
114
|
+
properties:
|
|
115
|
+
content: "padding: compact tightens the body to 12px and lines the header up
|
|
116
|
+
with it, while keeping the default header height. Use it for dense
|
|
117
|
+
dashboards and forms."
|
|
118
|
+
- id: padding_none_card
|
|
119
|
+
type: Card
|
|
120
|
+
layout:
|
|
121
|
+
flex: 1 1 0
|
|
122
|
+
properties:
|
|
123
|
+
title: Recent invoices
|
|
124
|
+
padding: none
|
|
125
|
+
blocks:
|
|
126
|
+
- id: padding_none_card_rows
|
|
127
|
+
type: Html
|
|
128
|
+
properties:
|
|
129
|
+
html: >
|
|
130
|
+
<div style="display: flex; justify-content: space-between; padding:
|
|
131
|
+
8px 24px; border-bottom: 1px solid
|
|
132
|
+
var(--ant-color-border-secondary);"><span>INV-1042</span><span
|
|
133
|
+
style="color: var(--ant-color-text-secondary);">$1,280.00</span></div>
|
|
134
|
+
|
|
135
|
+
<div style="display: flex; justify-content: space-between; padding:
|
|
136
|
+
8px 24px; border-bottom: 1px solid
|
|
137
|
+
var(--ant-color-border-secondary);"><span>INV-1041</span><span
|
|
138
|
+
style="color: var(--ant-color-text-secondary);">$640.00</span></div>
|
|
139
|
+
|
|
140
|
+
<div style="display: flex; justify-content: space-between; padding:
|
|
141
|
+
8px 24px; border-bottom: 1px solid
|
|
142
|
+
var(--ant-color-border-secondary);"><span>INV-1040</span><span
|
|
143
|
+
style="color: var(--ant-color-text-secondary);">$2,115.50</span></div>
|
|
144
|
+
|
|
145
|
+
<div style="display: flex; justify-content: space-between; padding:
|
|
146
|
+
8px 24px;"><span>INV-1039</span><span style="color:
|
|
147
|
+
var(--ant-color-text-secondary);">$96.00</span></div>
|
|
148
|
+
```
|
|
149
|
+
|
|
101
150
|
The default card has a visible border. This clearly separates the card from its surroundings.
|
|
102
151
|
|
|
103
152
|
A borderless card blends into its container. Best used on colored backgrounds where the card's white fill provides enough contrast.
|
|
@@ -114,8 +163,8 @@ A borderless card blends into its container. Best used on colored backgrounds wh
|
|
|
114
163
|
layout:
|
|
115
164
|
flex: 1 1 0
|
|
116
165
|
properties:
|
|
117
|
-
title:
|
|
118
|
-
|
|
166
|
+
title: Outlined (default)
|
|
167
|
+
variant: outlined
|
|
119
168
|
blocks:
|
|
120
169
|
- id: bordered_content
|
|
121
170
|
type: Paragraph
|
|
@@ -128,7 +177,7 @@ A borderless card blends into its container. Best used on colored backgrounds wh
|
|
|
128
177
|
flex: 1 1 0
|
|
129
178
|
properties:
|
|
130
179
|
title: Borderless
|
|
131
|
-
|
|
180
|
+
variant: borderless
|
|
132
181
|
blocks:
|
|
133
182
|
- id: borderless_content
|
|
134
183
|
type: Paragraph
|
|
@@ -193,7 +242,7 @@ The extra slot renders content in the top-right corner of the card header, next
|
|
|
193
242
|
flex: 0 0 auto
|
|
194
243
|
properties:
|
|
195
244
|
title: Edit
|
|
196
|
-
icon:
|
|
245
|
+
icon: edit
|
|
197
246
|
color: primary
|
|
198
247
|
variant: outlined
|
|
199
248
|
size: small
|
|
@@ -202,7 +251,7 @@ The extra slot renders content in the top-right corner of the card header, next
|
|
|
202
251
|
layout:
|
|
203
252
|
flex: 0 0 auto
|
|
204
253
|
properties:
|
|
205
|
-
icon:
|
|
254
|
+
icon: more
|
|
206
255
|
color: default
|
|
207
256
|
variant: text
|
|
208
257
|
size: small
|
|
@@ -241,7 +290,7 @@ Notifications
|
|
|
241
290
|
layout:
|
|
242
291
|
flex: 0 0 auto
|
|
243
292
|
properties:
|
|
244
|
-
icon:
|
|
293
|
+
icon: user
|
|
245
294
|
color: "#1677ff"
|
|
246
295
|
- id: title_slot_text
|
|
247
296
|
type: Title
|
|
@@ -371,6 +420,56 @@ A cover card without a header title. The title is placed inside the body instead
|
|
|
371
420
|
color: gold
|
|
372
421
|
```
|
|
373
422
|
|
|
423
|
+
Revenue grew 12% over the previous quarter.
|
|
424
|
+
|
|
425
|
+
```yaml
|
|
426
|
+
- id: actions_card
|
|
427
|
+
type: Card
|
|
428
|
+
properties:
|
|
429
|
+
title: Quarterly report
|
|
430
|
+
slots:
|
|
431
|
+
content:
|
|
432
|
+
blocks:
|
|
433
|
+
- id: actions_card_text
|
|
434
|
+
type: Paragraph
|
|
435
|
+
properties:
|
|
436
|
+
content: Revenue grew 12% over the previous quarter.
|
|
437
|
+
actions:
|
|
438
|
+
blocks:
|
|
439
|
+
- id: actions_card_buttons
|
|
440
|
+
type: Flex
|
|
441
|
+
properties:
|
|
442
|
+
justify: space-around
|
|
443
|
+
blocks:
|
|
444
|
+
- id: actions_card_view
|
|
445
|
+
type: Button
|
|
446
|
+
properties:
|
|
447
|
+
title: View
|
|
448
|
+
type: link
|
|
449
|
+
icon: view
|
|
450
|
+
- id: actions_card_share
|
|
451
|
+
type: Button
|
|
452
|
+
properties:
|
|
453
|
+
title: Share
|
|
454
|
+
type: link
|
|
455
|
+
icon: share
|
|
456
|
+
```
|
|
457
|
+
|
|
458
|
+
Shown once loading is false.
|
|
459
|
+
|
|
460
|
+
```yaml
|
|
461
|
+
- id: loading_card
|
|
462
|
+
type: Card
|
|
463
|
+
properties:
|
|
464
|
+
title: Customer details
|
|
465
|
+
loading: true
|
|
466
|
+
blocks:
|
|
467
|
+
- id: loading_card_text
|
|
468
|
+
type: Paragraph
|
|
469
|
+
properties:
|
|
470
|
+
content: Shown once loading is false.
|
|
471
|
+
```
|
|
472
|
+
|
|
374
473
|
Inner cards have a gray background and are designed for nesting inside a parent card. They provide visual grouping without extra border weight.
|
|
375
474
|
|
|
376
475
|
Multiple inner cards can stack within a parent to organize related sections. Each has its own title and content area.
|
|
@@ -450,7 +549,7 @@ Hover over any card in this section to see the elevation shadow effect. Commonly
|
|
|
450
549
|
layout:
|
|
451
550
|
flex: 0 0 auto
|
|
452
551
|
properties:
|
|
453
|
-
name:
|
|
552
|
+
name: Gauge
|
|
454
553
|
color: "#1677ff"
|
|
455
554
|
size: 20
|
|
456
555
|
blocks:
|
|
@@ -479,7 +578,7 @@ Hover over any card in this section to see the elevation shadow effect. Commonly
|
|
|
479
578
|
layout:
|
|
480
579
|
flex: 0 0 auto
|
|
481
580
|
properties:
|
|
482
|
-
name:
|
|
581
|
+
name: CircleDollarSign
|
|
483
582
|
color: "#52c41a"
|
|
484
583
|
size: 20
|
|
485
584
|
blocks:
|
|
@@ -509,7 +608,7 @@ Hover over any card in this section to see the elevation shadow effect. Commonly
|
|
|
509
608
|
layout:
|
|
510
609
|
flex: 0 0 auto
|
|
511
610
|
properties:
|
|
512
|
-
name:
|
|
611
|
+
name: check-circle
|
|
513
612
|
color: "#faad14"
|
|
514
613
|
size: 20
|
|
515
614
|
blocks:
|
|
@@ -561,10 +660,9 @@ Advanced analytics
|
|
|
561
660
|
layout:
|
|
562
661
|
flex: 0 0 auto
|
|
563
662
|
properties:
|
|
564
|
-
icon:
|
|
663
|
+
icon: user
|
|
565
664
|
size: 64
|
|
566
|
-
color: "#
|
|
567
|
-
backgroundColor: "#1677ff"
|
|
665
|
+
color: "#1677ff"
|
|
568
666
|
- id: rich_profile_info
|
|
569
667
|
type: Box
|
|
570
668
|
layout:
|
|
@@ -732,7 +830,7 @@ Shared workspaces, comments, mentions, and real-time co-editing for seamless tea
|
|
|
732
830
|
layout:
|
|
733
831
|
flex: 0 0 auto
|
|
734
832
|
properties:
|
|
735
|
-
name:
|
|
833
|
+
name: chart
|
|
736
834
|
color: "#1677ff"
|
|
737
835
|
blocks:
|
|
738
836
|
- id: grid_card_1_p
|
|
@@ -771,7 +869,7 @@ Shared workspaces, comments, mentions, and real-time co-editing for seamless tea
|
|
|
771
869
|
layout:
|
|
772
870
|
flex: 0 0 auto
|
|
773
871
|
properties:
|
|
774
|
-
name:
|
|
872
|
+
name: lock
|
|
775
873
|
color: "#52c41a"
|
|
776
874
|
blocks:
|
|
777
875
|
- id: grid_card_2_p
|
|
@@ -810,7 +908,7 @@ Shared workspaces, comments, mentions, and real-time co-editing for seamless tea
|
|
|
810
908
|
layout:
|
|
811
909
|
flex: 0 0 auto
|
|
812
910
|
properties:
|
|
813
|
-
name:
|
|
911
|
+
name: Plug
|
|
814
912
|
color: "#722ed1"
|
|
815
913
|
blocks:
|
|
816
914
|
- id: grid_card_3_p
|
|
@@ -849,7 +947,7 @@ Shared workspaces, comments, mentions, and real-time co-editing for seamless tea
|
|
|
849
947
|
layout:
|
|
850
948
|
flex: 0 0 auto
|
|
851
949
|
properties:
|
|
852
|
-
name:
|
|
950
|
+
name: users
|
|
853
951
|
color: "#fa8c16"
|
|
854
952
|
blocks:
|
|
855
953
|
- id: grid_card_4_p
|
|
@@ -946,8 +1044,10 @@ Inline styles on the header and body can override the default padding for a more
|
|
|
946
1044
|
title: Colored Header
|
|
947
1045
|
style:
|
|
948
1046
|
.header:
|
|
949
|
-
|
|
950
|
-
|
|
1047
|
+
backgroundColor: var(--ant-color-primary-bg)
|
|
1048
|
+
borderBottom: 1px solid var(--ant-color-primary-border)
|
|
1049
|
+
.body:
|
|
1050
|
+
backgroundColor: var(--ant-color-fill-quaternary)
|
|
951
1051
|
blocks:
|
|
952
1052
|
- id: style_header_bg_p
|
|
953
1053
|
type: Paragraph
|
|
@@ -965,7 +1065,7 @@ Inline styles on the header and body can override the default padding for a more
|
|
|
965
1065
|
.header:
|
|
966
1066
|
backgroundColor: "#1f1f1f"
|
|
967
1067
|
color: "#ffffff"
|
|
968
|
-
borderBottom: 1px solid
|
|
1068
|
+
borderBottom: "1px solid #333"
|
|
969
1069
|
.body:
|
|
970
1070
|
backgroundColor: "#2a2a2a"
|
|
971
1071
|
blocks:
|
|
@@ -1007,9 +1107,9 @@ The extra CSS key lets you style the container around the extra slot content. He
|
|
|
1007
1107
|
layout:
|
|
1008
1108
|
flex: 1 1 0
|
|
1009
1109
|
class:
|
|
1010
|
-
element: shadow-lg rounded-xl
|
|
1011
|
-
header: bg-bg-layout
|
|
1012
|
-
body: bg-bg-container
|
|
1110
|
+
.element: shadow-lg rounded-xl
|
|
1111
|
+
.header: bg-bg-layout
|
|
1112
|
+
.body: bg-bg-container
|
|
1013
1113
|
properties:
|
|
1014
1114
|
title: Element + Header + Body
|
|
1015
1115
|
blocks:
|
|
@@ -1024,7 +1124,7 @@ The extra CSS key lets you style the container around the extra slot content. He
|
|
|
1024
1124
|
layout:
|
|
1025
1125
|
flex: 1 1 0
|
|
1026
1126
|
class:
|
|
1027
|
-
element: hover:ring-2 hover:ring-blue-400 transition-all duration-200 rounded-lg
|
|
1127
|
+
.element: hover:ring-2 hover:ring-blue-400 transition-all duration-200 rounded-lg
|
|
1028
1128
|
properties:
|
|
1029
1129
|
title: Hover Ring Effect
|
|
1030
1130
|
hoverable: true
|
|
@@ -1039,7 +1139,7 @@ The extra CSS key lets you style the container around the extra slot content. He
|
|
|
1039
1139
|
layout:
|
|
1040
1140
|
flex: 1 1 0
|
|
1041
1141
|
class:
|
|
1042
|
-
extra: bg-bg-layout px-3 py-1 rounded-full
|
|
1142
|
+
.extra: bg-bg-layout px-3 py-1 rounded-full
|
|
1043
1143
|
properties:
|
|
1044
1144
|
title: Styled Extra Area
|
|
1045
1145
|
slots:
|
|
@@ -1152,11 +1252,14 @@ A warm-toned card using theme tokens to customize the background, header, text,
|
|
|
1152
1252
|
|
|
1153
1253
|
| Property | Type | Default | Description |
|
|
1154
1254
|
| --- | --- | --- | --- |
|
|
1155
|
-
| `bordered` | boolean | `true` | Toggles rendering of the border around the card. |
|
|
1255
|
+
| `bordered` | boolean | `true` | Toggles rendering of the border around the card. `bordered: false` is the same as `variant: borderless`. |
|
|
1156
1256
|
| `hoverable` | boolean | `false` | Lift up when hovering card. |
|
|
1257
|
+
| `loading` | boolean | `false` | Show a loading skeleton in place of the card content. |
|
|
1157
1258
|
| `inner` | boolean | `false` | Change the card style to inner. |
|
|
1259
|
+
| `padding` | string | `"default"` | Space inside the card body. `compact` tightens the body to 12px and aligns the header with it. `none` removes the body padding so content such as a table, list or image runs edge to edge; the header keeps its padding. Enum: `default`, `compact`, `none`. |
|
|
1158
1260
|
| `size` | string | `"default"` | Size of the card. Enum: `default`, `small`. |
|
|
1159
1261
|
| `title` | string | - | Title to show in the title area - supports html. Overwritten by blocks in the title content area. |
|
|
1262
|
+
| `variant` | string | `"outlined"` | Card style variant. Enum: `outlined`, `borderless`. |
|
|
1160
1263
|
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design card tokens](https://ant.design/components/card#design-token). |
|
|
1161
1264
|
| `theme.headerBg` | string | `"transparent"` | Background color of the card header. |
|
|
1162
1265
|
| `theme.headerFontSize` | number | `16` | Font size of the card header title. |
|
|
@@ -1167,8 +1270,8 @@ A warm-toned card using theme tokens to customize the background, header, text,
|
|
|
1167
1270
|
| `theme.actionsLiMargin` | string | `"12px 0"` | Margin of each action item in the card actions area. |
|
|
1168
1271
|
| `theme.tabsMarginBottom` | number | `-17` | Bottom margin adjustment for tabs in the card. |
|
|
1169
1272
|
| `theme.extraColor` | string | `"rgba(0,0,0,0.88)"` | Text color for the extra content area in the header. |
|
|
1170
|
-
| `theme.bodyPadding` | number | `24` | Padding of the card body
|
|
1171
|
-
| `theme.bodyPaddingSM` | number | `12` | Padding of the card body for small cards. |
|
|
1273
|
+
| `theme.bodyPadding` | number \| string | `24` | Padding of the card body: a number of pixels, or a CSS padding string such as `28px 32px`. |
|
|
1274
|
+
| `theme.bodyPaddingSM` | number \| string | `12` | Padding of the card body for small cards. |
|
|
1172
1275
|
| `theme.headerPadding` | number | `24` | Horizontal padding of the card header. |
|
|
1173
1276
|
| `theme.headerPaddingSM` | number | `12` | Horizontal padding of the card header for small cards. |
|
|
1174
1277
|
| `theme.borderRadiusLG` | number | `8` | Border radius of the card. |
|
|
@@ -1187,6 +1290,7 @@ A warm-toned card using theme tokens to customize the background, header, text,
|
|
|
1187
1290
|
| `/block` | Outer block wrapper (always available). |
|
|
1188
1291
|
| `/element` | The Card element. |
|
|
1189
1292
|
| `/header` | The Card header. |
|
|
1293
|
+
| `/title` | The Card title. |
|
|
1190
1294
|
| `/body` | The Card body. |
|
|
1191
1295
|
| `/cover` | The Card cover. |
|
|
1192
1296
|
| `/actions` | The Card actions. |
|
|
@@ -1194,6 +1298,7 @@ A warm-toned card using theme tokens to customize the background, header, text,
|
|
|
1194
1298
|
|
|
1195
1299
|
| Slot | Description |
|
|
1196
1300
|
| --- | --- |
|
|
1301
|
+
| `actions` | Action bar at the bottom of the card. |
|
|
1197
1302
|
| `content` | Main Card body. |
|
|
1198
1303
|
| `cover` | Image or content above the body. |
|
|
1199
1304
|
| `extra` | Extra content in the top-right header. |
|
|
@@ -283,6 +283,56 @@ Auto Slide 4
|
|
|
283
283
|
color: white
|
|
284
284
|
```
|
|
285
285
|
|
|
286
|
+
The active dot fills until the next slide
|
|
287
|
+
|
|
288
|
+
Second slide
|
|
289
|
+
|
|
290
|
+
```yaml
|
|
291
|
+
- id: dot_duration_carousel
|
|
292
|
+
type: Carousel
|
|
293
|
+
properties:
|
|
294
|
+
autoplay:
|
|
295
|
+
dotDuration: true
|
|
296
|
+
autoplaySpeed: 4000
|
|
297
|
+
slots:
|
|
298
|
+
progress_s1:
|
|
299
|
+
blocks:
|
|
300
|
+
- id: progress_s1
|
|
301
|
+
type: Box
|
|
302
|
+
style:
|
|
303
|
+
height: 160
|
|
304
|
+
background: "#1677ff"
|
|
305
|
+
display: flex
|
|
306
|
+
alignItems: center
|
|
307
|
+
justifyContent: center
|
|
308
|
+
blocks:
|
|
309
|
+
- id: progress_s1_text
|
|
310
|
+
type: Title
|
|
311
|
+
properties:
|
|
312
|
+
content: The active dot fills until the next slide
|
|
313
|
+
level: 4
|
|
314
|
+
style:
|
|
315
|
+
color: white
|
|
316
|
+
progress_s2:
|
|
317
|
+
blocks:
|
|
318
|
+
- id: progress_s2
|
|
319
|
+
type: Box
|
|
320
|
+
style:
|
|
321
|
+
height: 160
|
|
322
|
+
background: "#722ed1"
|
|
323
|
+
display: flex
|
|
324
|
+
alignItems: center
|
|
325
|
+
justifyContent: center
|
|
326
|
+
blocks:
|
|
327
|
+
- id: progress_s2_text
|
|
328
|
+
type: Title
|
|
329
|
+
properties:
|
|
330
|
+
content: Second slide
|
|
331
|
+
level: 4
|
|
332
|
+
style:
|
|
333
|
+
color: white
|
|
334
|
+
```
|
|
335
|
+
|
|
286
336
|
Hover to Pause
|
|
287
337
|
|
|
288
338
|
Autoplay Resumes
|
|
@@ -1110,7 +1160,7 @@ Integrate with databases, REST APIs, and GraphQL endpoints effortlessly.
|
|
|
1110
1160
|
- id: rich_s1_icon
|
|
1111
1161
|
type: Icon
|
|
1112
1162
|
properties:
|
|
1113
|
-
name:
|
|
1163
|
+
name: Rocket
|
|
1114
1164
|
size: 40
|
|
1115
1165
|
color: white
|
|
1116
1166
|
- id: rich_s1_title
|
|
@@ -1147,7 +1197,7 @@ Integrate with databases, REST APIs, and GraphQL endpoints effortlessly.
|
|
|
1147
1197
|
- id: rich_s2_icon
|
|
1148
1198
|
type: Icon
|
|
1149
1199
|
properties:
|
|
1150
|
-
name:
|
|
1200
|
+
name: check-circle
|
|
1151
1201
|
size: 40
|
|
1152
1202
|
color: white
|
|
1153
1203
|
- id: rich_s2_title
|
|
@@ -1183,7 +1233,7 @@ Integrate with databases, REST APIs, and GraphQL endpoints effortlessly.
|
|
|
1183
1233
|
- id: rich_s3_icon
|
|
1184
1234
|
type: Icon
|
|
1185
1235
|
properties:
|
|
1186
|
-
name:
|
|
1236
|
+
name: Plug
|
|
1187
1237
|
size: 40
|
|
1188
1238
|
color: white
|
|
1189
1239
|
- id: rich_s3_title
|
|
@@ -2195,15 +2245,17 @@ Custom Spacing
|
|
|
2195
2245
|
| `adaptiveHeight` | boolean | `false` | Adjust the slide's height automatically. |
|
|
2196
2246
|
| `arrows` | boolean | `false` | Whether or not to show arrows. |
|
|
2197
2247
|
| `autoplaySpeed` | integer | `3000` | Delay between each auto scroll (in milliseconds). |
|
|
2198
|
-
| `autoplay` | boolean | `false` | Toggles whether or not to scroll automatically. |
|
|
2248
|
+
| `autoplay` | boolean \| object | `false` | Toggles whether or not to scroll automatically. Set to `{ dotDuration: true }` to show the time until the next slide as a progress bar in the active dot. |
|
|
2249
|
+
| `autoplay.dotDuration` | boolean | `false` | Show the autoplay progress in the active dot. |
|
|
2199
2250
|
| `centerMode` | boolean | `false` | Center current slide. |
|
|
2200
2251
|
| `centerPadding` | string | `"50px"` | Padding applied to center slide. |
|
|
2201
|
-
| `dotPosition` | string | `"bottom"` | The position of the dots, which can be one of top, bottom, left or right. Enum: `left`, `right`, `top`, `bottom`. |
|
|
2252
|
+
| `dotPosition` | string | `"bottom"` | The position of the dots, which can be one of top, bottom, left or right. Left and right dots make the carousel vertical. Enum: `left`, `right`, `top`, `bottom`. |
|
|
2202
2253
|
| `dots` | boolean | `true` | Whether or not to show the dots. |
|
|
2203
2254
|
| `draggable` | boolean | `false` | Enable scrollable via dragging on desktop |
|
|
2204
2255
|
| `easing` | string | `"linear"` | Transition interpolation function name. |
|
|
2205
2256
|
| `effect` | string | `"scrollx"` | Transition effect, either scrollx or fade. |
|
|
2206
2257
|
| `focusOnSelect` | boolean | `false` | Go to slide on click. |
|
|
2258
|
+
| `initialSlide` | integer | `0` | Index of the slide to show first. |
|
|
2207
2259
|
| `infinite` | boolean | `true` | Infinitely wrap around contents. |
|
|
2208
2260
|
| `pauseOnDotsHover` | boolean | `false` | Prevents autoplay while hovering on dot. |
|
|
2209
2261
|
| `pauseOnFocus` | boolean | `false` | Prevents autoplay while focused on slides. |
|
|
@@ -2218,10 +2270,11 @@ Custom Spacing
|
|
|
2218
2270
|
| `slidesPerRow` | integer | `1` | Number of slides to display in grid mode, this is useful with rows option. |
|
|
2219
2271
|
| `slidesToScroll` | integer | `1` | How many slides to scroll at once. |
|
|
2220
2272
|
| `slidesToShow` | integer | `1` | How many slides to show in one frame. |
|
|
2221
|
-
| `speed` | integer | `500` |
|
|
2273
|
+
| `speed` | integer | `500` | Slide transition animation speed in milliseconds. |
|
|
2222
2274
|
| `swipeToSlide` | boolean | `false` | Enable drag/swipe irrespective of `slidesToScroll`. |
|
|
2223
2275
|
| `swipe` | boolean | `true` | Enable/disable swiping to change slides. |
|
|
2224
2276
|
| `vertical` | boolean | `false` | Whether or not the slides are shown in a column. |
|
|
2277
|
+
| `waitForAnimate` | boolean | `false` | Ignore requests to change slide while a slide transition is animating. |
|
|
2225
2278
|
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design carousel tokens](https://ant.design/components/carousel#design-token). |
|
|
2226
2279
|
| `theme.dotWidth` | number | `16` | Width of the indicator dot. |
|
|
2227
2280
|
| `theme.dotHeight` | number | `3` | Height of the indicator dot. |
|
|
@@ -2237,7 +2290,7 @@ Custom Spacing
|
|
|
2237
2290
|
| `afterChange` | \- | Trigger actions after the slide is changed. |
|
|
2238
2291
|
| `beforeChange` | \- | Trigger actions before the slide is changed. |
|
|
2239
2292
|
| `onInit` | \- | Trigger actions when the carousel is initialized. |
|
|
2240
|
-
| `onSwipe` |
|
|
2293
|
+
| `onSwipe` | `{ direction }` | Trigger actions when the user starts to swipe or drag the carousel. |
|
|
2241
2294
|
|
|
2242
2295
|
| Key | Target |
|
|
2243
2296
|
| --- | --- |
|
|
@@ -221,6 +221,132 @@ Our mission is to democratize application development through low-code and open-
|
|
|
221
221
|
and open-source technologies.
|
|
222
222
|
```
|
|
223
223
|
|
|
224
|
+
Orders ship within two business days.
|
|
225
|
+
|
|
226
|
+
Unused items can be returned within 30 days.
|
|
227
|
+
|
|
228
|
+
Compact header and content padding.
|
|
229
|
+
|
|
230
|
+
Roomy header and content padding.
|
|
231
|
+
|
|
232
|
+
```yaml
|
|
233
|
+
- id: ghost_collapse
|
|
234
|
+
type: Collapse
|
|
235
|
+
properties:
|
|
236
|
+
ghost: true
|
|
237
|
+
panels:
|
|
238
|
+
- key: ghost_shipping
|
|
239
|
+
title: Shipping (ghost)
|
|
240
|
+
- key: ghost_returns
|
|
241
|
+
title: Returns
|
|
242
|
+
slots:
|
|
243
|
+
ghost_shipping:
|
|
244
|
+
blocks:
|
|
245
|
+
- id: ghost_shipping_text
|
|
246
|
+
type: Paragraph
|
|
247
|
+
properties:
|
|
248
|
+
content: Orders ship within two business days.
|
|
249
|
+
ghost_returns:
|
|
250
|
+
blocks:
|
|
251
|
+
- id: ghost_returns_text
|
|
252
|
+
type: Paragraph
|
|
253
|
+
properties:
|
|
254
|
+
content: Unused items can be returned within 30 days.
|
|
255
|
+
- id: small_collapse
|
|
256
|
+
type: Collapse
|
|
257
|
+
properties:
|
|
258
|
+
size: small
|
|
259
|
+
panels:
|
|
260
|
+
- key: small_panel
|
|
261
|
+
title: Small size
|
|
262
|
+
slots:
|
|
263
|
+
small_panel:
|
|
264
|
+
blocks:
|
|
265
|
+
- id: small_panel_text
|
|
266
|
+
type: Paragraph
|
|
267
|
+
properties:
|
|
268
|
+
content: Compact header and content padding.
|
|
269
|
+
- id: large_collapse
|
|
270
|
+
type: Collapse
|
|
271
|
+
properties:
|
|
272
|
+
size: large
|
|
273
|
+
panels:
|
|
274
|
+
- key: large_panel
|
|
275
|
+
title: Large size
|
|
276
|
+
slots:
|
|
277
|
+
large_panel:
|
|
278
|
+
blocks:
|
|
279
|
+
- id: large_panel_text
|
|
280
|
+
type: Paragraph
|
|
281
|
+
properties:
|
|
282
|
+
content: Roomy header and content padding.
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
With padding none, panel content sets its own spacing.
|
|
286
|
+
|
|
287
|
+
Tighter panel content, still aligned with the header.
|
|
288
|
+
|
|
289
|
+
```yaml
|
|
290
|
+
- id: padding_none_collapse
|
|
291
|
+
type: Collapse
|
|
292
|
+
properties:
|
|
293
|
+
padding: none
|
|
294
|
+
panels:
|
|
295
|
+
- key: padding_none_invoices
|
|
296
|
+
title: Invoices (padding none)
|
|
297
|
+
- key: padding_none_notes
|
|
298
|
+
title: Notes
|
|
299
|
+
slots:
|
|
300
|
+
padding_none_invoices:
|
|
301
|
+
blocks:
|
|
302
|
+
- id: padding_none_invoices_rows
|
|
303
|
+
type: Html
|
|
304
|
+
properties:
|
|
305
|
+
html: >
|
|
306
|
+
<div style="display: flex; justify-content: space-between;
|
|
307
|
+
padding: 8px 16px; border-bottom: 1px solid
|
|
308
|
+
var(--ant-color-border-secondary);"><span>INV-1042</span><span
|
|
309
|
+
style="color:
|
|
310
|
+
var(--ant-color-text-secondary);">$1,280.00</span></div>
|
|
311
|
+
|
|
312
|
+
<div style="display: flex; justify-content: space-between;
|
|
313
|
+
padding: 8px 16px; border-bottom: 1px solid
|
|
314
|
+
var(--ant-color-border-secondary);"><span>INV-1041</span><span
|
|
315
|
+
style="color:
|
|
316
|
+
var(--ant-color-text-secondary);">$640.00</span></div>
|
|
317
|
+
|
|
318
|
+
<div style="display: flex; justify-content: space-between;
|
|
319
|
+
padding: 8px 16px; border-bottom: 1px solid
|
|
320
|
+
var(--ant-color-border-secondary);"><span>INV-1040</span><span
|
|
321
|
+
style="color:
|
|
322
|
+
var(--ant-color-text-secondary);">$2,115.50</span></div>
|
|
323
|
+
|
|
324
|
+
<div style="display: flex; justify-content: space-between;
|
|
325
|
+
padding: 8px 16px;"><span>INV-1039</span><span style="color:
|
|
326
|
+
var(--ant-color-text-secondary);">$96.00</span></div>
|
|
327
|
+
padding_none_notes:
|
|
328
|
+
blocks:
|
|
329
|
+
- id: padding_none_notes_text
|
|
330
|
+
type: Paragraph
|
|
331
|
+
class: px-4 py-2
|
|
332
|
+
properties:
|
|
333
|
+
content: With padding none, panel content sets its own spacing.
|
|
334
|
+
- id: padding_compact_collapse
|
|
335
|
+
type: Collapse
|
|
336
|
+
properties:
|
|
337
|
+
padding: compact
|
|
338
|
+
panels:
|
|
339
|
+
- key: padding_compact_panel
|
|
340
|
+
title: Compact padding
|
|
341
|
+
slots:
|
|
342
|
+
padding_compact_panel:
|
|
343
|
+
blocks:
|
|
344
|
+
- id: padding_compact_panel_text
|
|
345
|
+
type: Paragraph
|
|
346
|
+
properties:
|
|
347
|
+
content: Tighter panel content, still aligned with the header.
|
|
348
|
+
```
|
|
349
|
+
|
|
224
350
|
**Start (default):**
|
|
225
351
|
|
|
226
352
|
Premium wireless headphones with active noise cancellation, 30-hour battery life, and multipoint connection.
|
|
@@ -306,7 +432,7 @@ The icon rotates 90 degrees when the panel is expanded, providing a visual cue f
|
|
|
306
432
|
- id: custom_icon_collapse
|
|
307
433
|
type: Collapse
|
|
308
434
|
properties:
|
|
309
|
-
expandIcon:
|
|
435
|
+
expandIcon: add-circle
|
|
310
436
|
panels:
|
|
311
437
|
- key: ci_features
|
|
312
438
|
title: Key Features
|
|
@@ -340,7 +466,7 @@ The icon rotates 90 degrees when the panel is expanded, providing a visual cue f
|
|
|
340
466
|
type: Collapse
|
|
341
467
|
properties:
|
|
342
468
|
expandIcon:
|
|
343
|
-
name:
|
|
469
|
+
name: arrow-right
|
|
344
470
|
color: "#1677ff"
|
|
345
471
|
panels:
|
|
346
472
|
- key: cio_one
|
|
@@ -882,7 +1008,7 @@ Local development environment running via Docker Compose. Hot-reload enabled for
|
|
|
882
1008
|
flex: 0 0 auto
|
|
883
1009
|
properties:
|
|
884
1010
|
title: View Logs
|
|
885
|
-
icon:
|
|
1011
|
+
icon: document
|
|
886
1012
|
color: primary
|
|
887
1013
|
variant: outlined
|
|
888
1014
|
size: small
|
|
@@ -892,7 +1018,7 @@ Local development environment running via Docker Compose. Hot-reload enabled for
|
|
|
892
1018
|
flex: 0 0 auto
|
|
893
1019
|
properties:
|
|
894
1020
|
title: Metrics
|
|
895
|
-
icon:
|
|
1021
|
+
icon: chart
|
|
896
1022
|
color: primary
|
|
897
1023
|
variant: outlined
|
|
898
1024
|
size: small
|
|
@@ -1294,23 +1420,40 @@ Full platform access with dedicated infrastructure, custom integrations, and whi
|
|
|
1294
1420
|
| Property | Type | Default | Description |
|
|
1295
1421
|
| --- | --- | --- | --- |
|
|
1296
1422
|
| `accordion` | boolean | `false` | If true, only one panel is open at a time. |
|
|
1297
|
-
| `activeKey` | string | - | Current panel's key. |
|
|
1423
|
+
| `activeKey` | string \| array | - | Current panel's key, or a list of keys of the open panels. |
|
|
1298
1424
|
| `bordered` | boolean | `true` | Toggles rendering of the border around the collapse block. |
|
|
1299
|
-
| `
|
|
1300
|
-
| `
|
|
1301
|
-
| `
|
|
1425
|
+
| `collapsible` | string | - | How panels are toggled: by clicking anywhere in the `header` (default), only the expand `icon`, or `disabled` to stop all panels from toggling. Enum: `header`, `icon`, `disabled`. |
|
|
1426
|
+
| `defaultActiveKey` | string \| array | - | Initial active panel key, or a list of keys, if activeKey is not set. |
|
|
1427
|
+
| `destroyInactivePanel` | boolean | `false` | Destroy inactive panel. Maps to antd's `destroyOnHidden`. |
|
|
1428
|
+
| `expandIcon` | 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 expand icon on the right of selector. |
|
|
1429
|
+
| `expandIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
1430
|
+
| `expandIcon.color` | string | - | Icon color. |
|
|
1431
|
+
| `expandIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1432
|
+
| `expandIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1433
|
+
| `expandIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1434
|
+
| `expandIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1435
|
+
| `expandIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1436
|
+
| `expandIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1437
|
+
| `expandIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
1302
1438
|
| `expandIconPlacement` | string | `"start"` | Set placement of the expand icon. Enum: `start`, `end`. |
|
|
1303
|
-
| `forceRender` | boolean | `
|
|
1439
|
+
| `forceRender` | boolean | `false` | Force render for all panels. |
|
|
1440
|
+
| `ghost` | boolean | `false` | Make the collapse borderless with a transparent background. |
|
|
1441
|
+
| `padding` | string | `"default"` | Space inside each panel body. `compact` tightens it to 8px 16px. `none` removes it so content such as a table or list runs edge to edge; the panel headers keep their padding. Enum: `default`, `compact`, `none`. |
|
|
1304
1442
|
| `panels` | array | - | |
|
|
1305
1443
|
| `panels.$.title` | string | - | Title of the panel - supports html. |
|
|
1306
1444
|
| `panels.$.key` | string | - | Key of the panel. |
|
|
1307
1445
|
| `panels.$.extraKey` | string | - | Key for the extra area of the panel. |
|
|
1308
1446
|
| `panels.$.disabled` | boolean | `false` | Disable the panel if true. |
|
|
1309
1447
|
| `showArrow` | boolean | `true` | Show expand icon. |
|
|
1448
|
+
| `size` | string | `"medium"` | Size of the panel headers and content padding. Enum: `small`, `medium`, `large`. |
|
|
1310
1449
|
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design collapse tokens](https://ant.design/components/collapse#design-token). |
|
|
1311
1450
|
| `theme.headerPadding` | string | `"12px 16px"` | Padding of the collapse header. |
|
|
1451
|
+
| `theme.headerPaddingSM` | string | `"8px 12px 8px 8px"` | Padding of the collapse header when size is small. |
|
|
1452
|
+
| `theme.headerPaddingLG` | string | `"16px 24px 16px 16px"` | Padding of the collapse header when size is large. |
|
|
1312
1453
|
| `theme.headerBg` | string | `"rgba(0, 0, 0, 0.02)"` | Background color of the collapse header. |
|
|
1313
1454
|
| `theme.contentPadding` | string | `"16px 16px"` | Padding of the collapse content area. |
|
|
1455
|
+
| `theme.contentPaddingSM` | number \| string | `12` | Padding of the collapse content area when size is small. |
|
|
1456
|
+
| `theme.contentPaddingLG` | number \| string | `24` | Padding of the collapse content area when size is large. |
|
|
1314
1457
|
| `theme.contentBg` | string | `"#ffffff"` | Background color of the collapse content area. |
|
|
1315
1458
|
| `theme.borderlessContentPadding` | string | `"4px 16px 16px"` | Padding of the content area in borderless (ghost) style. |
|
|
1316
1459
|
| `theme.borderlessContentBg` | string | `"transparent"` | Background color of the content area in borderless (ghost) style. |
|
|
@@ -1330,6 +1473,7 @@ Full platform access with dedicated infrastructure, custom integrations, and whi
|
|
|
1330
1473
|
| `/element` | The Collapse element. |
|
|
1331
1474
|
| `/expandIcon` | The expand icon in the Collapse. |
|
|
1332
1475
|
| `/header` | The Collapse header. |
|
|
1476
|
+
| `/title` | The panel title text in the Collapse header. |
|
|
1333
1477
|
| `/content` | The Collapse content. |
|
|
1334
1478
|
|
|
1335
1479
|
Slot keys are user-defined in your config and resolved at build time — not generated at runtime. The block typically pairs slots with an array property (`tabs`, `panels`, `slides`) listed in the Properties table; see the examples above for the expected shape.
|