@lowdefy/docs-content 0.0.0-experimental-20260928120643 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/content/actions/link.md +0 -17
- package/content/actions/login.md +5 -23
- package/content/actions/logout.md +5 -5
- package/content/actions/pdfmake.md +2 -2
- package/content/actions/setdarkmode.md +2 -2
- package/content/agents/agent-properties.md +2 -4
- package/content/agents/agentchat.md +6 -21
- package/content/agents/agentconversations.md +2 -2
- package/content/concepts/ai-agent-docs.md +101 -313
- package/content/concepts/cli.md +3 -34
- package/content/concepts/connections-and-requests.md +0 -402
- package/content/concepts/custom-html.md +0 -40
- package/content/concepts/custom-styling.md +5 -50
- package/content/concepts/events-and-actions.md +2 -64
- package/content/concepts/i18n.md +2 -7
- package/content/concepts/keyboard-shortcuts.md +2 -2
- package/content/concepts/layout-overview.md +1 -1
- package/content/concepts/logger.md +0 -81
- package/content/concepts/lowdefy-schema.md +1 -4
- package/content/concepts/menus.md +7 -7
- package/content/concepts/module-authoring.md +2 -2
- package/content/connections/anthropic.md +2 -162
- package/content/connections/awss3.md +0 -54
- package/content/connections/google.md +2 -162
- package/content/connections/mongodb.md +3 -121
- package/content/connections/openai-connection.md +2 -162
- package/content/container-blocks/affix.md +7 -47
- package/content/container-blocks/alert.md +24 -76
- package/content/container-blocks/badge.md +24 -100
- package/content/container-blocks/box.md +9 -9
- package/content/container-blocks/card.md +25 -80
- package/content/container-blocks/carousel.md +7 -60
- package/content/container-blocks/collapse.md +9 -87
- package/content/container-blocks/configprovider.md +13 -35
- package/content/container-blocks/confirmmodal.md +23 -69
- package/content/container-blocks/content.md +98 -62
- package/content/container-blocks/descriptions.md +4 -45
- package/content/container-blocks/drawer.md +28 -92
- package/content/container-blocks/dropdownmenu.md +31 -119
- package/content/container-blocks/flex.md +62 -40
- package/content/container-blocks/footer.md +11 -15
- package/content/container-blocks/googlemapsheatmap.md +1 -1
- package/content/container-blocks/googlemapsscript.md +2 -2
- package/content/container-blocks/header.md +36 -71
- package/content/container-blocks/label.md +7 -34
- package/content/container-blocks/layout.md +34 -52
- package/content/container-blocks/masonry.md +71 -17
- package/content/container-blocks/mobilemenu.md +88 -131
- package/content/container-blocks/modal.md +26 -114
- package/content/container-blocks/pageheadermenu.md +31 -81
- package/content/container-blocks/pagesidebarlayout.md +26 -169
- package/content/container-blocks/pagesidermenu.md +42 -95
- package/content/container-blocks/popover.md +31 -34
- package/content/container-blocks/result.md +21 -32
- package/content/container-blocks/sider.md +122 -85
- package/content/container-blocks/span.md +7 -7
- package/content/container-blocks/spinner.md +3 -3
- package/content/container-blocks/splitter.md +68 -150
- package/content/container-blocks/tabs.md +12 -64
- package/content/container-blocks/tooltip.md +46 -22
- package/content/container-blocks/watermark.md +4 -22
- package/content/controls/reject.md +2 -4
- package/content/controls/throw.md +0 -1
- package/content/controls/try.md +2 -3
- package/content/deployment/deployment-environments.md +6 -8
- package/content/deployment/docker.md +7 -22
- package/content/deployment/node-server.md +0 -4
- package/content/deployment/vercel.md +6 -13
- package/content/display-blocks/aggrid.md +11 -26
- package/content/display-blocks/anchor.md +15 -15
- package/content/display-blocks/avatar.md +37 -57
- package/content/display-blocks/breadcrumb.md +21 -70
- package/content/display-blocks/button.md +18 -92
- package/content/display-blocks/calendar.md +0 -12
- 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 +3 -64
- package/content/display-blocks/dropdownbutton.md +28 -79
- package/content/display-blocks/echart.md +1 -35
- package/content/display-blocks/floatbutton.md +42 -129
- package/content/display-blocks/html.md +1 -61
- package/content/display-blocks/icon.md +67 -250
- package/content/display-blocks/menu.md +73 -145
- package/content/display-blocks/message.md +124 -38
- package/content/display-blocks/notification.md +222 -94
- package/content/display-blocks/paragraph.md +9 -59
- package/content/display-blocks/progress.md +17 -96
- package/content/display-blocks/qrcode.md +4 -19
- package/content/display-blocks/s3download.md +1 -1
- package/content/display-blocks/search.md +7 -17
- package/content/display-blocks/skeletonbutton.md +0 -1
- package/content/display-blocks/skeletoninput.md +0 -1
- package/content/display-blocks/statistic.md +17 -75
- package/content/display-blocks/steps.md +25 -58
- package/content/display-blocks/tag.md +17 -102
- package/content/display-blocks/title.md +11 -50
- package/content/display-blocks/tour.md +23 -33
- package/content/input-blocks/autocomplete.md +9 -81
- package/content/input-blocks/buttonselector.md +8 -45
- package/content/input-blocks/checkboxselector.md +7 -97
- package/content/input-blocks/checkboxswitch.md +3 -33
- package/content/input-blocks/colorselector.md +14 -63
- package/content/input-blocks/daterangeselector.md +45 -165
- package/content/input-blocks/dateselector.md +41 -139
- package/content/input-blocks/datetimeselector.md +49 -158
- package/content/input-blocks/inputgallery.md +3 -3
- package/content/input-blocks/monthselector.md +52 -120
- package/content/input-blocks/multipleselector.md +39 -150
- package/content/input-blocks/numberinput.md +12 -98
- package/content/input-blocks/pagination.md +14 -70
- package/content/input-blocks/paragraphinput.md +37 -51
- package/content/input-blocks/passwordinput.md +6 -60
- package/content/input-blocks/phonenumberinput.md +26 -59
- package/content/input-blocks/radioselector.md +7 -83
- package/content/input-blocks/ratingslider.md +26 -57
- 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 +32 -72
- package/content/input-blocks/selector.md +21 -109
- package/content/input-blocks/switch.md +17 -65
- package/content/input-blocks/textarea.md +3 -32
- package/content/input-blocks/textinput.md +28 -69
- package/content/input-blocks/tiptapmentioninput.md +1 -1
- package/content/input-blocks/titleinput.md +12 -39
- package/content/input-blocks/treeinput.md +25 -49
- package/content/input-blocks/treemultipleselector.md +10 -127
- package/content/input-blocks/treeselector.md +9 -97
- package/content/input-blocks/upload.md +15 -64
- package/content/input-blocks/uploaddragger.md +1 -17
- package/content/input-blocks/uploadphoto.md +1 -18
- package/content/input-blocks/weekselector.md +55 -120
- package/content/list-blocks/controlledlist.md +15 -24
- package/content/list-blocks/list.md +11 -11
- package/content/list-blocks/masonrylist.md +34 -7
- package/content/migration/upgrade-guide.md +0 -1
- package/content/operators/_app.md +1 -2
- package/content/operators/_error.md +1 -23
- package/content/operators/_get.md +6 -6
- package/content/operators/_operator.md +3 -17
- package/content/operators/_ref.md +0 -258
- package/content/operators/_type.md +3 -14
- package/content/operators/_user.md +3 -3
- package/content/other/introduction.md +1 -1
- package/content/plugins/plugins-dev.md +0 -66
- package/content/plugins/plugins-introduction.md +1 -27
- package/content/testing/e2e-configuration.md +1 -8
- package/content/testing/e2e-getting-started.md +1 -1
- package/content/testing/e2e-introduction.md +1 -1
- 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 +2 -48
- package/content/tutorial/tutorial-display-data-page.md +3 -3
- package/content/tutorial/tutorial-requests-sql.md +0 -153
- package/content/tutorial/tutorial-start.md +1 -66
- package/content/user-authentication/login-and-logout.md +8 -158
- package/content/user-authentication/users-introduction.md +0 -8
- package/index.json +2 -6065
- package/package.json +1 -7
- package/scripts/extractAgentDocs.js +4 -36
- package/content/actions/emailotpsend.md +0 -58
- package/content/actions/emailotpverify.md +0 -77
- package/content/actions/getlocalstorage.md +0 -41
- package/content/actions/magiclinkverify.md +0 -113
- package/content/actions/posthogalias.md +0 -29
- package/content/actions/posthogcapture.md +0 -49
- package/content/actions/posthogcapturepageleave.md +0 -38
- package/content/actions/posthogfeatureflag.md +0 -50
- package/content/actions/posthoggroup.md +0 -37
- package/content/actions/posthogidentify.md +0 -54
- package/content/actions/posthoginit.md +0 -66
- package/content/actions/posthogoptin.md +0 -29
- package/content/actions/posthogoptout.md +0 -29
- package/content/actions/posthogpageview.md +0 -37
- package/content/actions/posthogreloadfeatureflags.md +0 -47
- package/content/actions/posthogreset.md +0 -28
- package/content/actions/posthogsetpersonproperties.md +0 -36
- package/content/actions/removelocalstorage.md +0 -26
- package/content/actions/setlocalstorage.md +0 -32
- package/content/adapter-reference/mongodbauthadapter.md +0 -46
- package/content/agents/agents-introduction.md +0 -107
- package/content/callback-reference/auth0logoutcallback.md +0 -54
- package/content/concepts/blocks.md +0 -150
- package/content/concepts/dynamic-page-content.md +0 -304
- package/content/concepts/html-attributes.md +0 -285
- package/content/concepts/lowdefy-api.md +0 -1110
- package/content/concepts/notifications.md +0 -155
- package/content/concepts/page-and-app-state.md +0 -244
- package/content/concepts/theming.md +0 -582
- package/content/connections/aigateway.md +0 -368
- package/content/connections/axioshttp.md +0 -181
- package/content/controls/while.md +0 -46
- package/content/display-blocks/clickablehtml.md +0 -239
- package/content/display-blocks/eventlog.md +0 -363
- package/content/display-blocks/pollingtimer.md +0 -263
- package/content/input-blocks/captcha.md +0 -40
- package/content/input-blocks/placesautocomplete.md +0 -319
- package/content/input-blocks/tagmultipleselector.md +0 -114
- package/content/input-blocks/tagselector.md +0 -114
- package/content/migration/auth-upgrade.md +0 -327
- package/content/migration/v3-to-v4.md +0 -417
- package/content/migration/v6-to-v7.md +0 -222
- package/content/operators/_cron.md +0 -292
- package/content/other/mongodbadapter.md +0 -3
- package/content/plugins/plugins-icon-sets.md +0 -267
- package/content/plugins/posthog.md +0 -275
- package/content/provider-reference/auth-js-providers.md +0 -107
- package/content/provider-reference/openidconnectprovider.md +0 -44
- package/content/testing/config-tests.md +0 -278
- package/content/tutorial/tutorial-requests-api.md +0 -155
- package/content/user-authentication/auth-configuration.md +0 -266
- package/content/user-authentication/auth-steps.md +0 -138
- package/content/user-authentication/mcp-oauth.md +0 -292
- package/content/user-authentication/organizations.md +0 -221
- package/content/user-authentication/protected-pages-apis.md +0 -97
- package/content/user-authentication/roles.md +0 -49
- package/content/user-authentication/two-factor.md +0 -229
- package/content/user-authentication/user-object.md +0 -58
- package/content/websockets/websocket-publish.md +0 -108
- package/content/websockets/websocket-subscriptions.md +0 -100
- package/content/websockets/websockets-introduction.md +0 -97
- package/hazards.json +0 -44
- package/scripts/hashDocSources.js +0 -38
- package/scripts/recordSourceHashes.js +0 -88
|
@@ -87,12 +87,12 @@ Footer
|
|
|
87
87
|
type: MenuLink
|
|
88
88
|
properties:
|
|
89
89
|
title: Dashboard
|
|
90
|
-
icon:
|
|
90
|
+
icon: AiOutlineDashboard
|
|
91
91
|
- id: layout_sider_nav_2
|
|
92
92
|
type: MenuLink
|
|
93
93
|
properties:
|
|
94
94
|
title: Settings
|
|
95
|
-
icon:
|
|
95
|
+
icon: AiOutlineSetting
|
|
96
96
|
- id: layout_sider_content
|
|
97
97
|
type: Content
|
|
98
98
|
layout:
|
|
@@ -155,7 +155,7 @@ Right side panel for supplementary content, filters, or navigation.
|
|
|
155
155
|
width: 250
|
|
156
156
|
reverseArrow: true
|
|
157
157
|
style:
|
|
158
|
-
borderLeft:
|
|
158
|
+
borderLeft: 1px solid
|
|
159
159
|
blocks:
|
|
160
160
|
- id: layout_right_sider_side_text
|
|
161
161
|
type: Paragraph
|
|
@@ -165,11 +165,11 @@ Right side panel for supplementary content, filters, or navigation.
|
|
|
165
165
|
content: Right side panel for supplementary content, filters, or navigation.
|
|
166
166
|
```
|
|
167
167
|
|
|
168
|
-
The
|
|
168
|
+
Sider with custom background color set via the siderBg token. The trigger bar uses triggerBg and triggerColor tokens.
|
|
169
169
|
|
|
170
|
-
The Layout theme property accepts antd
|
|
170
|
+
The Layout theme property accepts antd design tokens like headerBg, footerBg, siderBg, bodyBg, triggerBg, triggerColor, and triggerHeight. These cascade to child Header, Footer, Sider, and Content blocks.
|
|
171
171
|
|
|
172
|
-
Footer styled with
|
|
172
|
+
Footer styled with footerBg token
|
|
173
173
|
|
|
174
174
|
```yaml
|
|
175
175
|
- id: layout_theme_outer
|
|
@@ -178,13 +178,10 @@ Footer styled with the footerBg and footerPadding tokens
|
|
|
178
178
|
minHeight: 280px
|
|
179
179
|
properties:
|
|
180
180
|
theme:
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
footerPadding: 12px 24px
|
|
186
|
-
lightTriggerBg: "#adc6ff"
|
|
187
|
-
lightTriggerColor: "#1d39c4"
|
|
181
|
+
headerBg: "#1d39c4"
|
|
182
|
+
triggerBg: "#597ef7"
|
|
183
|
+
triggerColor: "#ffffff"
|
|
184
|
+
triggerHeight: 48
|
|
188
185
|
blocks:
|
|
189
186
|
- id: layout_theme_header
|
|
190
187
|
type: Header
|
|
@@ -194,8 +191,8 @@ Footer styled with the footerBg and footerPadding tokens
|
|
|
194
191
|
- id: layout_theme_header_text
|
|
195
192
|
type: Html
|
|
196
193
|
properties:
|
|
197
|
-
html: <span class="text-base font-semibold">
|
|
198
|
-
|
|
194
|
+
html: <span class="text-base font-semibold">Custom themed header via Layout
|
|
195
|
+
design tokens</span>
|
|
199
196
|
- id: layout_theme_inner
|
|
200
197
|
type: Layout
|
|
201
198
|
properties:
|
|
@@ -208,16 +205,14 @@ Footer styled with the footerBg and footerPadding tokens
|
|
|
208
205
|
properties:
|
|
209
206
|
theme: light
|
|
210
207
|
width: 180
|
|
211
|
-
collapsible: true
|
|
212
|
-
initialCollapsed: false
|
|
213
208
|
blocks:
|
|
214
209
|
- id: layout_theme_sider_text
|
|
215
210
|
type: Paragraph
|
|
216
211
|
style:
|
|
217
212
|
padding: 16px
|
|
218
213
|
properties:
|
|
219
|
-
content:
|
|
220
|
-
tokens.
|
|
214
|
+
content: Sider with custom background color set via the siderBg token. The
|
|
215
|
+
trigger bar uses triggerBg and triggerColor tokens.
|
|
221
216
|
- id: layout_theme_content
|
|
222
217
|
type: Content
|
|
223
218
|
layout:
|
|
@@ -228,10 +223,10 @@ Footer styled with the footerBg and footerPadding tokens
|
|
|
228
223
|
- id: layout_theme_content_text
|
|
229
224
|
type: Paragraph
|
|
230
225
|
properties:
|
|
231
|
-
content: The Layout theme property accepts antd
|
|
232
|
-
bodyBg,
|
|
233
|
-
|
|
234
|
-
|
|
226
|
+
content: The Layout theme property accepts antd design tokens like headerBg,
|
|
227
|
+
footerBg, siderBg, bodyBg, triggerBg, triggerColor, and
|
|
228
|
+
triggerHeight. These cascade to child Header, Footer, Sider,
|
|
229
|
+
and Content blocks.
|
|
235
230
|
- id: layout_theme_footer
|
|
236
231
|
type: Footer
|
|
237
232
|
style:
|
|
@@ -240,7 +235,7 @@ Footer styled with the footerBg and footerPadding tokens
|
|
|
240
235
|
- id: layout_theme_footer_text
|
|
241
236
|
type: Paragraph
|
|
242
237
|
properties:
|
|
243
|
-
content: Footer styled with
|
|
238
|
+
content: Footer styled with footerBg token
|
|
244
239
|
```
|
|
245
240
|
|
|
246
241
|
The Layout block has a single cssKey called "element". Use the class property to apply Tailwind utility classes directly to the Layout wrapper. Here the outer Layout uses rounded corners, shadow, and a border. Child blocks like Header, Content, and Footer can each have their own class applied.
|
|
@@ -310,7 +305,7 @@ Acme Corp Admin Panel - Version 3.2.1
|
|
|
310
305
|
count: 5
|
|
311
306
|
profile:
|
|
312
307
|
avatar:
|
|
313
|
-
icon:
|
|
308
|
+
icon: AiOutlineUser
|
|
314
309
|
style:
|
|
315
310
|
paddingInline: 24px
|
|
316
311
|
borderBottom: 1px solid var(--ant-color-border)
|
|
@@ -345,27 +340,27 @@ Acme Corp Admin Panel - Version 3.2.1
|
|
|
345
340
|
type: MenuLink
|
|
346
341
|
properties:
|
|
347
342
|
title: Dashboard
|
|
348
|
-
icon:
|
|
343
|
+
icon: AiOutlineDashboard
|
|
349
344
|
- id: layout_admin_menu_users
|
|
350
345
|
type: MenuLink
|
|
351
346
|
properties:
|
|
352
347
|
title: Users
|
|
353
|
-
icon:
|
|
348
|
+
icon: AiOutlineTeam
|
|
354
349
|
- id: layout_admin_menu_orders
|
|
355
350
|
type: MenuLink
|
|
356
351
|
properties:
|
|
357
352
|
title: Orders
|
|
358
|
-
icon:
|
|
353
|
+
icon: AiOutlineShoppingCart
|
|
359
354
|
- id: layout_admin_menu_reports
|
|
360
355
|
type: MenuLink
|
|
361
356
|
properties:
|
|
362
357
|
title: Reports
|
|
363
|
-
icon:
|
|
358
|
+
icon: AiOutlineBarChart
|
|
364
359
|
- id: layout_admin_menu_settings
|
|
365
360
|
type: MenuLink
|
|
366
361
|
properties:
|
|
367
362
|
title: Settings
|
|
368
|
-
icon:
|
|
363
|
+
icon: AiOutlineSetting
|
|
369
364
|
- id: layout_admin_content_area
|
|
370
365
|
type: Content
|
|
371
366
|
layout:
|
|
@@ -475,8 +470,7 @@ Welcome to DevDocs. This guide walks you through setting up your first project.
|
|
|
475
470
|
properties:
|
|
476
471
|
content: DevDocs
|
|
477
472
|
level: 4
|
|
478
|
-
|
|
479
|
-
.element:
|
|
473
|
+
style:
|
|
480
474
|
margin: 0
|
|
481
475
|
- id: layout_docs_version_tag
|
|
482
476
|
type: Tag
|
|
@@ -494,7 +488,7 @@ Welcome to DevDocs. This guide walks you through setting up your first project.
|
|
|
494
488
|
layout:
|
|
495
489
|
flex: 0 0 auto
|
|
496
490
|
properties:
|
|
497
|
-
icon:
|
|
491
|
+
icon: AiOutlineSearch
|
|
498
492
|
title: Search docs...
|
|
499
493
|
color: default
|
|
500
494
|
variant: outlined
|
|
@@ -503,7 +497,7 @@ Welcome to DevDocs. This guide walks you through setting up your first project.
|
|
|
503
497
|
layout:
|
|
504
498
|
flex: 0 0 auto
|
|
505
499
|
properties:
|
|
506
|
-
icon:
|
|
500
|
+
icon: AiOutlineGithub
|
|
507
501
|
color: default
|
|
508
502
|
variant: text
|
|
509
503
|
hideTitle: true
|
|
@@ -521,7 +515,7 @@ Welcome to DevDocs. This guide walks you through setting up your first project.
|
|
|
521
515
|
width: 260
|
|
522
516
|
breakpoint: md
|
|
523
517
|
style:
|
|
524
|
-
borderRight:
|
|
518
|
+
borderRight: 1px solid
|
|
525
519
|
blocks:
|
|
526
520
|
- id: layout_docs_nav_title
|
|
527
521
|
type: Paragraph
|
|
@@ -540,22 +534,22 @@ Welcome to DevDocs. This guide walks you through setting up your first project.
|
|
|
540
534
|
type: MenuLink
|
|
541
535
|
properties:
|
|
542
536
|
title: Introduction
|
|
543
|
-
icon:
|
|
537
|
+
icon: AiOutlineRead
|
|
544
538
|
- id: layout_docs_nav_install
|
|
545
539
|
type: MenuLink
|
|
546
540
|
properties:
|
|
547
541
|
title: Installation
|
|
548
|
-
icon:
|
|
542
|
+
icon: AiOutlineDownload
|
|
549
543
|
- id: layout_docs_nav_config
|
|
550
544
|
type: MenuLink
|
|
551
545
|
properties:
|
|
552
546
|
title: Configuration
|
|
553
|
-
icon:
|
|
547
|
+
icon: AiOutlineTool
|
|
554
548
|
- id: layout_docs_nav_deploy
|
|
555
549
|
type: MenuLink
|
|
556
550
|
properties:
|
|
557
551
|
title: Deployment
|
|
558
|
-
icon:
|
|
552
|
+
icon: AiOutlineCloudUpload
|
|
559
553
|
- id: layout_docs_content_area
|
|
560
554
|
type: Content
|
|
561
555
|
layout:
|
|
@@ -596,19 +590,7 @@ Welcome to DevDocs. This guide walks you through setting up your first project.
|
|
|
596
590
|
|
|
597
591
|
| Property | Type | Default | Description |
|
|
598
592
|
| --- | --- | --- | --- |
|
|
599
|
-
| `
|
|
600
|
-
| `theme` | object | - | Antd Layout design token overrides for this block. Header, Footer and Sider blocks inside the layout use them too. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design layout tokens](https://ant.design/components/layout#design-token). |
|
|
601
|
-
| `theme.bodyBg` | string | `"#f5f5f5"` | Background color of the layout. |
|
|
602
|
-
| `theme.headerHeight` | number | `64` | Height of Header blocks. |
|
|
603
|
-
| `theme.headerPadding` | string | `"0 50px"` | Padding of Header blocks. |
|
|
604
|
-
| `theme.headerColor` | string | `"rgba(0, 0, 0, 0.88)"` | Text color of Header blocks. |
|
|
605
|
-
| `theme.footerBg` | string | `"#f5f5f5"` | Background color of Footer blocks. |
|
|
606
|
-
| `theme.footerPadding` | string | `"24px 50px"` | Padding of Footer blocks. |
|
|
607
|
-
| `theme.triggerHeight` | number | `48` | Height of the collapse trigger of a collapsible Sider. |
|
|
608
|
-
| `theme.triggerBg` | string | `"#002140"` | Background color of the collapse trigger of a dark Sider. |
|
|
609
|
-
| `theme.triggerColor` | string | `"#fff"` | Color of the collapse trigger of a dark Sider. |
|
|
610
|
-
| `theme.lightTriggerBg` | string | `"#ffffff"` | Background color of the collapse trigger of a light Sider. |
|
|
611
|
-
| `theme.lightTriggerColor` | string | `"rgba(0, 0, 0, 0.88)"` | Color of the collapse trigger of a light Sider. |
|
|
593
|
+
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). |
|
|
612
594
|
|
|
613
595
|
No events defined.
|
|
614
596
|
|
|
@@ -264,6 +264,58 @@ Notice the asymmetric spacing.
|
|
|
264
264
|
content: Notice the asymmetric spacing.
|
|
265
265
|
```
|
|
266
266
|
|
|
267
|
+
Items fill left-to-right in source order instead of shortest column.
|
|
268
|
+
|
|
269
|
+
Second item.
|
|
270
|
+
|
|
271
|
+
Third item.
|
|
272
|
+
|
|
273
|
+
Taller card — order still preserved.
|
|
274
|
+
|
|
275
|
+
```yaml
|
|
276
|
+
- id: mas_seq
|
|
277
|
+
type: Masonry
|
|
278
|
+
properties:
|
|
279
|
+
columns: 3
|
|
280
|
+
gutter: 12
|
|
281
|
+
sequential: true
|
|
282
|
+
blocks:
|
|
283
|
+
- id: mas_seq_c1
|
|
284
|
+
type: Card
|
|
285
|
+
properties:
|
|
286
|
+
size: small
|
|
287
|
+
title: "1"
|
|
288
|
+
blocks:
|
|
289
|
+
- id: mas_seq_c1_p
|
|
290
|
+
type: Paragraph
|
|
291
|
+
properties:
|
|
292
|
+
content: Items fill left-to-right in source order instead of shortest column.
|
|
293
|
+
- id: mas_seq_c2
|
|
294
|
+
type: Card
|
|
295
|
+
properties:
|
|
296
|
+
size: small
|
|
297
|
+
title: "2"
|
|
298
|
+
blocks:
|
|
299
|
+
- id: mas_seq_c2_p
|
|
300
|
+
type: Paragraph
|
|
301
|
+
properties:
|
|
302
|
+
content: Second item.
|
|
303
|
+
- id: mas_seq_c3
|
|
304
|
+
type: Card
|
|
305
|
+
properties:
|
|
306
|
+
size: small
|
|
307
|
+
title: "3"
|
|
308
|
+
blocks:
|
|
309
|
+
- id: mas_seq_c3_p
|
|
310
|
+
type: Paragraph
|
|
311
|
+
properties:
|
|
312
|
+
content: Third item.
|
|
313
|
+
- id: mas_seq_c3_p2
|
|
314
|
+
type: Paragraph
|
|
315
|
+
properties:
|
|
316
|
+
content: Taller card — order still preserved.
|
|
317
|
+
```
|
|
318
|
+
|
|
267
319
|
Theme tokens cascade to all child blocks within this Masonry.
|
|
268
320
|
|
|
269
321
|
```yaml
|
|
@@ -344,7 +396,7 @@ White cards against gray create visual separation.
|
|
|
344
396
|
- id: mas_tw
|
|
345
397
|
type: Masonry
|
|
346
398
|
class:
|
|
347
|
-
|
|
399
|
+
element: bg-bg-layout p-6 rounded-xl
|
|
348
400
|
properties:
|
|
349
401
|
columns: 2
|
|
350
402
|
gutter: 12
|
|
@@ -612,9 +664,10 @@ Product Manager
|
|
|
612
664
|
layout:
|
|
613
665
|
flex: 0 0 auto
|
|
614
666
|
properties:
|
|
615
|
-
icon:
|
|
667
|
+
icon: AiOutlineUser
|
|
616
668
|
size: 48
|
|
617
|
-
color: "#
|
|
669
|
+
color: "#fff"
|
|
670
|
+
backgroundColor: "#1677ff"
|
|
618
671
|
- id: mas_team_c1_info
|
|
619
672
|
type: Box
|
|
620
673
|
layout:
|
|
@@ -677,9 +730,10 @@ Product Manager
|
|
|
677
730
|
layout:
|
|
678
731
|
flex: 0 0 auto
|
|
679
732
|
properties:
|
|
680
|
-
icon:
|
|
733
|
+
icon: AiOutlineUser
|
|
681
734
|
size: 48
|
|
682
|
-
color: "#
|
|
735
|
+
color: "#fff"
|
|
736
|
+
backgroundColor: "#52c41a"
|
|
683
737
|
- id: mas_team_c2_info
|
|
684
738
|
type: Box
|
|
685
739
|
layout:
|
|
@@ -740,9 +794,10 @@ Product Manager
|
|
|
740
794
|
layout:
|
|
741
795
|
flex: 0 0 auto
|
|
742
796
|
properties:
|
|
743
|
-
icon:
|
|
797
|
+
icon: AiOutlineUser
|
|
744
798
|
size: 48
|
|
745
|
-
color: "#
|
|
799
|
+
color: "#fff"
|
|
800
|
+
backgroundColor: "#722ed1"
|
|
746
801
|
- id: mas_team_c3_info
|
|
747
802
|
type: Box
|
|
748
803
|
layout:
|
|
@@ -806,7 +861,7 @@ Desk Lamp
|
|
|
806
861
|
- id: mas_products
|
|
807
862
|
type: Masonry
|
|
808
863
|
class:
|
|
809
|
-
|
|
864
|
+
element: bg-bg-layout p-6 rounded-xl
|
|
810
865
|
properties:
|
|
811
866
|
columns:
|
|
812
867
|
xs: 1
|
|
@@ -862,7 +917,7 @@ Desk Lamp
|
|
|
862
917
|
variant: solid
|
|
863
918
|
block: true
|
|
864
919
|
size: small
|
|
865
|
-
icon:
|
|
920
|
+
icon: AiOutlineShoppingCart
|
|
866
921
|
events:
|
|
867
922
|
onClick:
|
|
868
923
|
- id: mas_prod_c1_add
|
|
@@ -902,7 +957,7 @@ Desk Lamp
|
|
|
902
957
|
variant: solid
|
|
903
958
|
block: true
|
|
904
959
|
size: small
|
|
905
|
-
icon:
|
|
960
|
+
icon: AiOutlineShoppingCart
|
|
906
961
|
events:
|
|
907
962
|
onClick:
|
|
908
963
|
- id: mas_prod_c2_add
|
|
@@ -962,7 +1017,7 @@ Desk Lamp
|
|
|
962
1017
|
variant: solid
|
|
963
1018
|
block: true
|
|
964
1019
|
size: small
|
|
965
|
-
icon:
|
|
1020
|
+
icon: AiOutlineShoppingCart
|
|
966
1021
|
events:
|
|
967
1022
|
onClick:
|
|
968
1023
|
- id: mas_prod_c3_add
|
|
@@ -1002,7 +1057,7 @@ Desk Lamp
|
|
|
1002
1057
|
variant: solid
|
|
1003
1058
|
block: true
|
|
1004
1059
|
size: small
|
|
1005
|
-
icon:
|
|
1060
|
+
icon: AiOutlineShoppingCart
|
|
1006
1061
|
events:
|
|
1007
1062
|
onClick:
|
|
1008
1063
|
- id: mas_prod_c4_add
|
|
@@ -1014,10 +1069,10 @@ Desk Lamp
|
|
|
1014
1069
|
|
|
1015
1070
|
| Property | Type | Default | Description |
|
|
1016
1071
|
| --- | --- | --- | --- |
|
|
1017
|
-
| `columns` | integer \| object |
|
|
1018
|
-
| `fresh` | boolean | `false` |
|
|
1019
|
-
| `gutter` | number \| array
|
|
1020
|
-
| `sequential` | boolean | `false` |
|
|
1072
|
+
| `columns` | integer \| object | - | Number of columns, or responsive breakpoint object. |
|
|
1073
|
+
| `fresh` | boolean | `false` | Force refresh the masonry layout. |
|
|
1074
|
+
| `gutter` | number \| array | - | Gap between items. Number or [horizontal, vertical] array. |
|
|
1075
|
+
| `sequential` | boolean | `false` | Whether to render items sequentially. |
|
|
1021
1076
|
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design masonry tokens](https://ant.design/components/masonry#design-token). |
|
|
1022
1077
|
| `theme.motionDurationSlow` | string | `"0.3s"` | Duration for item position transitions and appear animations. |
|
|
1023
1078
|
| `theme.motionDurationFast` | string | `"0.1s"` | Duration for item leave animations. |
|
|
@@ -1029,7 +1084,6 @@ No events defined.
|
|
|
1029
1084
|
| --- | --- |
|
|
1030
1085
|
| `/block` | Outer block wrapper (always available). |
|
|
1031
1086
|
| `/element` | The Masonry element. |
|
|
1032
|
-
| `/item` | Each item in the masonry grid. |
|
|
1033
1087
|
|
|
1034
1088
|
| Slot | Description |
|
|
1035
1089
|
| --- | --- |
|