@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
|
@@ -49,13 +49,6 @@ Week picker for selecting a week of the year.
|
|
|
49
49
|
properties:
|
|
50
50
|
title: Borderless
|
|
51
51
|
variant: borderless
|
|
52
|
-
- id: ws_variant_underlined
|
|
53
|
-
type: WeekSelector
|
|
54
|
-
properties:
|
|
55
|
-
title: Underlined
|
|
56
|
-
variant: underlined
|
|
57
|
-
label:
|
|
58
|
-
disabled: true
|
|
59
52
|
```
|
|
60
53
|
|
|
61
54
|
```yaml
|
|
@@ -130,31 +123,20 @@ Week picker for selecting a week of the year.
|
|
|
130
123
|
```
|
|
131
124
|
|
|
132
125
|
```yaml
|
|
133
|
-
- id:
|
|
134
|
-
type: WeekSelector
|
|
135
|
-
properties:
|
|
136
|
-
title: Prefix Icon
|
|
137
|
-
prefixIcon: clock
|
|
138
|
-
suffixIcon:
|
|
139
|
-
name: calendar
|
|
140
|
-
color: "#8c8c8c"
|
|
141
|
-
- id: ws_prefix_text
|
|
126
|
+
- id: ws_today_enabled
|
|
142
127
|
type: WeekSelector
|
|
143
128
|
properties:
|
|
144
|
-
title:
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
title: Popup Opens Top Right
|
|
150
|
-
placement: topRight
|
|
151
|
-
- id: ws_read_only
|
|
129
|
+
title: Show Today (default)
|
|
130
|
+
showToday: true
|
|
131
|
+
label:
|
|
132
|
+
disabled: true
|
|
133
|
+
- id: ws_today_disabled
|
|
152
134
|
type: WeekSelector
|
|
153
135
|
properties:
|
|
154
|
-
title:
|
|
155
|
-
|
|
136
|
+
title: No Today Button
|
|
137
|
+
showToday: false
|
|
156
138
|
label:
|
|
157
|
-
|
|
139
|
+
disabled: true
|
|
158
140
|
```
|
|
159
141
|
|
|
160
142
|
```yaml
|
|
@@ -168,14 +150,14 @@ Week picker for selecting a week of the year.
|
|
|
168
150
|
type: WeekSelector
|
|
169
151
|
properties:
|
|
170
152
|
title: Clock Icon
|
|
171
|
-
suffixIcon:
|
|
153
|
+
suffixIcon: AiOutlineClockCircle
|
|
172
154
|
label:
|
|
173
155
|
disabled: true
|
|
174
156
|
- id: ws_icon_schedule
|
|
175
157
|
type: WeekSelector
|
|
176
158
|
properties:
|
|
177
159
|
title: Schedule Icon
|
|
178
|
-
suffixIcon:
|
|
160
|
+
suffixIcon: AiOutlineSchedule
|
|
179
161
|
label:
|
|
180
162
|
disabled: true
|
|
181
163
|
- id: ws_icon_custom_color
|
|
@@ -183,7 +165,7 @@ Week picker for selecting a week of the year.
|
|
|
183
165
|
properties:
|
|
184
166
|
title: Custom Color Icon
|
|
185
167
|
suffixIcon:
|
|
186
|
-
name:
|
|
168
|
+
name: AiOutlineCalendar
|
|
187
169
|
color: "#1677ff"
|
|
188
170
|
label:
|
|
189
171
|
disabled: true
|
|
@@ -352,8 +334,7 @@ Week picker for selecting a week of the year.
|
|
|
352
334
|
- id: ws_style_element_bg
|
|
353
335
|
type: WeekSelector
|
|
354
336
|
style:
|
|
355
|
-
.element:
|
|
356
|
-
backgroundColor: var(--ant-color-primary-bg)
|
|
337
|
+
.element: null
|
|
357
338
|
properties:
|
|
358
339
|
title: Custom Background
|
|
359
340
|
label:
|
|
@@ -440,7 +421,7 @@ Week picker for selecting a week of the year.
|
|
|
440
421
|
placeholder: Select sprint week
|
|
441
422
|
format: YYYY [Week] wo
|
|
442
423
|
size: large
|
|
443
|
-
suffixIcon:
|
|
424
|
+
suffixIcon: AiOutlineSchedule
|
|
444
425
|
showToday: true
|
|
445
426
|
allowClear: true
|
|
446
427
|
label:
|
|
@@ -465,7 +446,7 @@ Week picker for selecting a week of the year.
|
|
|
465
446
|
placeholder: Select fiscal week
|
|
466
447
|
format: YYYY [W]ww
|
|
467
448
|
suffixIcon:
|
|
468
|
-
name:
|
|
449
|
+
name: AiOutlineCalendar
|
|
469
450
|
color: "#1677ff"
|
|
470
451
|
disabledDates:
|
|
471
452
|
min: 2026-01-01
|
|
@@ -487,7 +468,7 @@ Week picker for selecting a week of the year.
|
|
|
487
468
|
placeholder: Select sprint week
|
|
488
469
|
format: YYYY [Week] wo
|
|
489
470
|
size: large
|
|
490
|
-
suffixIcon:
|
|
471
|
+
suffixIcon: AiOutlineSchedule
|
|
491
472
|
label:
|
|
492
473
|
extra: Choose the week this sprint begins.
|
|
493
474
|
- id: applied_sprint_team
|
|
@@ -515,7 +496,7 @@ Week picker for selecting a week of the year.
|
|
|
515
496
|
type: Button
|
|
516
497
|
properties:
|
|
517
498
|
title: Start Sprint
|
|
518
|
-
icon:
|
|
499
|
+
icon: AiOutlineThunderbolt
|
|
519
500
|
type: primary
|
|
520
501
|
block: true
|
|
521
502
|
events:
|
|
@@ -586,7 +567,7 @@ Week picker for selecting a week of the year.
|
|
|
586
567
|
type: Button
|
|
587
568
|
properties:
|
|
588
569
|
title: Submit Timesheet
|
|
589
|
-
icon:
|
|
570
|
+
icon: AiOutlineCheck
|
|
590
571
|
type: primary
|
|
591
572
|
block: true
|
|
592
573
|
events:
|
|
@@ -609,7 +590,7 @@ Week picker for selecting a week of the year.
|
|
|
609
590
|
| `autoFocus` | boolean | `false` | Autofocus to the block on page load. |
|
|
610
591
|
| `bordered` | boolean | `true` | Deprecated - use variant: 'borderless'. Whether or not the input has a border style. |
|
|
611
592
|
| `disabled` | boolean | `false` | Disable the block if true. |
|
|
612
|
-
| `variant` | string | `"outlined"` | Variant style of the input. Use 'borderless' instead of bordered: false. Enum: `outlined`, `filled`, `borderless
|
|
593
|
+
| `variant` | string | `"outlined"` | Variant style of the input. Use 'borderless' instead of bordered: false. Enum: `outlined`, `filled`, `borderless`. |
|
|
613
594
|
| `disabledDates` | object | - | Disable specific dates so that they can not be chosen. |
|
|
614
595
|
| `disabledDates.min` | string \| object | - | Disable all dates less than the minimum date. Can be a date string or a _date object. |
|
|
615
596
|
| `disabledDates.max` | string \| object | - | Disable all dates greater than the maximum date. Can be a date string or a _date object. |
|
|
@@ -618,112 +599,67 @@ Week picker for selecting a week of the year.
|
|
|
618
599
|
| `disabledDates.ranges.$.from` | string \| object | - | Start of the disabled range. |
|
|
619
600
|
| `disabledDates.ranges.$.to` | string \| object | - | End of the disabled range. |
|
|
620
601
|
| `format` | string | `"YYYY-wo"` | Format in which to format the date value, eg. "wo-YYYY" will format a date value of 1999-12-26 as "52nd-1999". The format has to conform to dayjs formats. |
|
|
621
|
-
| `inputReadOnly` | boolean | `false` | Make the text input read-only, so a date can only be chosen from the calendar. This also stops the on-screen keyboard opening on touch devices. |
|
|
622
602
|
| `placeholder` | string | - | Placeholder text inside the block before user types input. |
|
|
623
|
-
| `placement` | string | `"bottomLeft"` | Position of the calendar popup relative to the input. Enum: `bottomLeft`, `bottomRight`, `topLeft`, `topRight`. |
|
|
624
|
-
| `prefix` | string | - | Prefix text shown before the date in the input, priority over prefixIcon. |
|
|
625
|
-
| `prefixIcon` | string \| object | - | Icon name (a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`) or properties of an Icon block to customize icon on the left-hand side of the date picker. |
|
|
626
|
-
| `prefixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
627
|
-
| `prefixIcon.color` | string | - | Icon color. |
|
|
628
|
-
| `prefixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
629
|
-
| `prefixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
630
|
-
| `prefixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
631
|
-
| `prefixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
632
|
-
| `prefixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
633
|
-
| `prefixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
634
|
-
| `prefixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
635
603
|
| `presets` | array | - | Shortcuts listed next to the calendar to quickly select a week. Presets are re-evaluated every time the block config is evaluated, so operator based values like "_date: now" stay current. A preset is offered on the same terms as the calendar cells: a shortcut with nothing it may select is listed as disabled. |
|
|
636
604
|
| `presets.$.label` | string | - | Text shown for the shortcut - supports html. |
|
|
637
605
|
| `presets.$.value` | string \| number \| object | - | A date string, a timestamp, or a _date object. Dates are read as UTC, the same as the block value, so a fixed date like "2026-01-01" resolves to the same week in every timezone. A date relative to now is an instant, not a calendar date, so end a _dayjs chain with a format step to pin it to the local calendar: "_dayjs: [now, {startOf: week}, {format: YYYY-MM-DD}]". Without the format step the chain resolves to an instant, which can select the week before or after the current one, depending on the browser timezone and the time of day. |
|
|
638
606
|
| `label` | object | - | Label properties. |
|
|
639
|
-
| `label.xs` | object | - | Label width on extra small screens (below 576px) when the label is not inline. |
|
|
640
|
-
| `label.xs.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
641
|
-
| `label.sm` | object | - | Label width on small screens (576px and up) when the label is not inline. Also applies below 576px unless `xs` is set. |
|
|
642
|
-
| `label.sm.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
643
|
-
| `label.md` | object | - | Label width on medium screens (768px and up) when the label is not inline. Overrides `span`. |
|
|
644
|
-
| `label.md.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
645
|
-
| `label.lg` | object | - | Label width on large screens (992px and up) when the label is not inline. |
|
|
646
|
-
| `label.lg.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
647
|
-
| `label.xl` | object | - | Label width on extra large screens (1200px and up) when the label is not inline. |
|
|
648
|
-
| `label.xl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
649
|
-
| `label.xxl` | object | - | Label width on extra extra large screens (1600px and up) when the label is not inline. |
|
|
650
|
-
| `label.xxl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
651
607
|
| `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
|
|
652
608
|
| `label.colon` | boolean | `true` | Append label with colon. |
|
|
653
609
|
| `label.extra` | string | - | Extra text to display beneath the content - supports html. |
|
|
654
610
|
| `label.title` | string | - | Label title - supports html. |
|
|
655
611
|
| `label.tooltip` | string \| object | - | Help tooltip shown via an icon beside the label. A string sets the tooltip text (supports html), or an object to also customize the icon and color. Use the block's onTooltipClick event to respond to clicks on the icon. |
|
|
656
612
|
| `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
|
|
657
|
-
| `label.tooltip.icon` | string | `"
|
|
613
|
+
| `label.tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
|
|
658
614
|
| `label.tooltip.color` | string | - | Color of the tooltip icon. |
|
|
659
|
-
| `label.span` | number | - | Label
|
|
615
|
+
| `label.span` | number | - | Label inline span. |
|
|
660
616
|
| `label.disabled` | boolean | `false` | Hide input label. |
|
|
661
617
|
| `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
|
|
662
618
|
| `label.inline` | boolean | `false` | Render input and label inline. |
|
|
663
|
-
| `
|
|
664
|
-
| `showToday` | boolean | `true` | Deprecated - has no effect. The week picker has no button to select the current date. |
|
|
619
|
+
| `showToday` | boolean | `true` | Shows a button to easily select the current date if true. |
|
|
665
620
|
| `size` | string | `"default"` | Size of the block. Enum: `small`, `default`, `large`. |
|
|
666
|
-
| `suffixIcon` | string \| object | `"
|
|
667
|
-
| `suffixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
668
|
-
| `suffixIcon.color` | string | - | Icon color. |
|
|
669
|
-
| `suffixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
670
|
-
| `suffixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
671
|
-
| `suffixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
672
|
-
| `suffixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
673
|
-
| `suffixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
674
|
-
| `suffixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
675
|
-
| `suffixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
621
|
+
| `suffixIcon` | string \| object | `"AiOutlineCalendar"` | Name of an React-Icon (See all icons) or properties of an Icon block to customize icon at the right-hand side of the date picker. |
|
|
676
622
|
| `title` | string | - | Title to describe the input component, if no title is specified the block id is displayed - supports html. |
|
|
677
623
|
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design date-picker tokens](https://ant.design/components/date-picker#design-token). |
|
|
678
|
-
| `theme.activeBg` | string | `"#ffffff"` | Background color of the input when the picker is active/focused. |
|
|
679
|
-
| `theme.activeBorderColor` | string | - | Border color when the picker is active/focused. |
|
|
680
|
-
| `theme.activeShadow` | string | `"0 0 0 2px rgba(5,145,255,0.1)"` | Shadow effect when the picker is active/focused. |
|
|
681
|
-
| `theme.borderRadius` | number | `6` | Border radius of the picker input. |
|
|
682
|
-
| `theme.borderRadiusLG` | number | `8` | Border radius for the large picker and popup panel. |
|
|
683
|
-
| `theme.borderRadiusSM` | number | `4` | Border radius for the small picker. |
|
|
684
|
-
| `theme.cellActiveWithRangeBg` | string | `"#e6f4ff"` | Background color of cells within the selected range. |
|
|
685
|
-
| `theme.cellBgDisabled` | string | `"rgba(0,0,0,0.04)"` | Background color of disabled cells. |
|
|
686
624
|
| `theme.cellHeight` | number | `24` | Height of a calendar cell. |
|
|
687
|
-
| `theme.cellHoverBg` | string | `"rgba(0, 0, 0, 0.04)"` | Background color of a calendar cell on hover. |
|
|
688
|
-
| `theme.cellHoverWithRangeBg` | string | `"#cbe0fd"` | Background color of cells within range on hover. |
|
|
689
|
-
| `theme.cellRangeBorderColor` | string | `"#82b4f9"` | Border color of range selection cells. |
|
|
690
625
|
| `theme.cellWidth` | number | `36` | Width of a calendar cell. |
|
|
691
|
-
| `theme.
|
|
692
|
-
| `theme.
|
|
693
|
-
| `theme.
|
|
694
|
-
| `theme.
|
|
695
|
-
| `theme.
|
|
696
|
-
| `theme.
|
|
697
|
-
| `theme.
|
|
698
|
-
| `theme.
|
|
699
|
-
| `theme.
|
|
626
|
+
| `theme.cellHoverBg` | string | - | Background color of a calendar cell on hover. |
|
|
627
|
+
| `theme.cellActiveWithRangeBg` | string | - | Background color of cells within the selected range. |
|
|
628
|
+
| `theme.cellHoverWithRangeBg` | string | - | Background color of cells within range on hover. |
|
|
629
|
+
| `theme.cellBgDisabled` | string | - | Background color of disabled cells. |
|
|
630
|
+
| `theme.cellRangeBorderColor` | string | - | Border color of range selection cells. |
|
|
631
|
+
| `theme.timeColumnWidth` | number | `56` | Width of the time panel column. |
|
|
632
|
+
| `theme.timeColumnHeight` | number | `224` | Height of the time panel column. |
|
|
633
|
+
| `theme.timeCellHeight` | number | `28` | Height of a time cell in the time panel. |
|
|
634
|
+
| `theme.addonBg` | string | - | Background color for the addon area. |
|
|
635
|
+
| `theme.hoverBorderColor` | string | - | Border color on hover. |
|
|
636
|
+
| `theme.activeBorderColor` | string | - | Border color when active. |
|
|
637
|
+
| `theme.activeShadow` | string | - | Shadow effect when active. |
|
|
638
|
+
| `theme.paddingBlock` | number | `4` | Vertical padding of the input. |
|
|
639
|
+
| `theme.paddingBlockSM` | number | `0` | Vertical padding for small size. |
|
|
640
|
+
| `theme.paddingBlockLG` | number | `7` | Vertical padding for large size. |
|
|
641
|
+
| `theme.paddingInline` | number | `11` | Horizontal padding of the input. |
|
|
642
|
+
| `theme.paddingInlineSM` | number | `7` | Horizontal padding for small size. |
|
|
643
|
+
| `theme.paddingInlineLG` | number | `11` | Horizontal padding for large size. |
|
|
644
|
+
| `theme.zIndexPopup` | number | `1050` | Z-index of the picker popup. |
|
|
645
|
+
| `theme.borderRadius` | number | `6` | Border radius of the input. |
|
|
646
|
+
| `theme.borderRadiusSM` | number | `4` | Border radius for the small picker. |
|
|
647
|
+
| `theme.borderRadiusLG` | number | `8` | Border radius for the large picker and popup panel. |
|
|
648
|
+
| `theme.controlHeight` | number | `32` | Height of the input. |
|
|
649
|
+
| `theme.controlHeightLG` | number | `40` | Height for large size. |
|
|
650
|
+
| `theme.controlHeightSM` | number | `24` | Height for small size. |
|
|
700
651
|
| `theme.fontSize` | number | `14` | Font size of the picker input. |
|
|
701
|
-
| `theme.fontSizeLG` | number | `16` | Font size for the large picker. |
|
|
702
652
|
| `theme.fontSizeSM` | number | `14` | Font size for the small picker. |
|
|
703
|
-
| `theme.
|
|
704
|
-
| `theme.
|
|
705
|
-
| `theme.
|
|
706
|
-
| `theme.
|
|
707
|
-
| `theme.
|
|
708
|
-
| `theme.
|
|
709
|
-
| `theme.
|
|
710
|
-
| `theme.paddingInlineLG` | number | `11` | Horizontal padding for the large size picker. |
|
|
711
|
-
| `theme.paddingInlineSM` | number | `7` | Horizontal padding for the small size picker. |
|
|
712
|
-
| `theme.presetsMaxWidth` | number | `200` | Maximum width of the presets list next to the calendar. |
|
|
713
|
-
| `theme.presetsWidth` | number | `120` | Width of the presets list next to the calendar. |
|
|
714
|
-
| `theme.timeCellHeight` | number | `28` | Height of a time cell in the time panel. |
|
|
715
|
-
| `theme.timeColumnHeight` | number | `224` | Height of the time panel column. |
|
|
716
|
-
| `theme.timeColumnWidth` | number | `56` | Width of the time panel column. |
|
|
717
|
-
| `theme.warningActiveShadow` | string | `"0 0 0 2px rgba(255,215,5,0.1)"` | Shadow effect when the picker has warning status and is focused. |
|
|
718
|
-
| `theme.withoutTimeCellHeight` | number | `66` | Height of the cells of the month, week, quarter, year and decade panels. |
|
|
719
|
-
| `theme.zIndexPopup` | number | `1050` | Z-index of the picker popup layer. |
|
|
653
|
+
| `theme.fontSizeLG` | number | `16` | Font size for the large picker. |
|
|
654
|
+
| `theme.lineWidth` | number | `1` | Border width. |
|
|
655
|
+
| `theme.colorPrimary` | string | - | Primary color override. |
|
|
656
|
+
| `theme.colorBgContainer` | string | - | Background color of the input. |
|
|
657
|
+
| `theme.colorText` | string | - | Text color. |
|
|
658
|
+
| `theme.colorBorder` | string | - | Border color. |
|
|
659
|
+
| `theme.colorTextPlaceholder` | string | - | Placeholder text color. |
|
|
720
660
|
|
|
721
661
|
| Event | Event Data | Description |
|
|
722
662
|
| --- | --- | --- |
|
|
723
|
-
| `onBlur` | \- | Trigger actions when the picker loses focus. |
|
|
724
|
-
| `onClear` | \- | Trigger actions when the clear button is clicked. |
|
|
725
|
-
| `onFocus` | \- | Trigger actions when the picker gets focus. |
|
|
726
|
-
| `onOpenChange` | `{ open }` | Trigger actions when the calendar popup opens or closes. |
|
|
727
663
|
| `onChange` | `{ value }` | Trigger action when week is changed. |
|
|
728
664
|
| `onTooltipClick` | \- | Trigger actions when the tooltip icon is clicked. |
|
|
729
665
|
|
|
@@ -735,7 +671,6 @@ Week picker for selecting a week of the year.
|
|
|
735
671
|
| `/extra` | The WeekSelector extra content. |
|
|
736
672
|
| `/feedback` | The WeekSelector validation feedback. |
|
|
737
673
|
| `/popup` | The WeekSelector popup. |
|
|
738
|
-
| `/prefixIcon` | The prefix icon in the WeekSelector. |
|
|
739
674
|
| `/suffixIcon` | The suffix icon in the WeekSelector. |
|
|
740
675
|
|
|
741
676
|
No slots defined.
|
|
@@ -49,11 +49,11 @@ Dynamic list with built-in add and remove controls. Supports custom add/remove b
|
|
|
49
49
|
size: small
|
|
50
50
|
addItemButton:
|
|
51
51
|
title: Bookmark
|
|
52
|
-
icon:
|
|
52
|
+
icon: AiOutlinePlus
|
|
53
53
|
color: primary
|
|
54
54
|
variant: dashed
|
|
55
55
|
removeItemIcon:
|
|
56
|
-
name:
|
|
56
|
+
name: AiOutlineDelete
|
|
57
57
|
blocks:
|
|
58
58
|
- id: bookmarks.$.url
|
|
59
59
|
type: TextInput
|
|
@@ -63,7 +63,7 @@ Dynamic list with built-in add and remove controls. Supports custom add/remove b
|
|
|
63
63
|
label:
|
|
64
64
|
disabled: true
|
|
65
65
|
placeholder: https://...
|
|
66
|
-
prefixIcon:
|
|
66
|
+
prefixIcon: AiOutlineLink
|
|
67
67
|
- id: bookmarks.$.label
|
|
68
68
|
type: TextInput
|
|
69
69
|
layout:
|
|
@@ -81,7 +81,7 @@ Dynamic list with built-in add and remove controls. Supports custom add/remove b
|
|
|
81
81
|
title: Attendees
|
|
82
82
|
addItemButton:
|
|
83
83
|
title: Add Attendee
|
|
84
|
-
icon:
|
|
84
|
+
icon: AiOutlineUserAdd
|
|
85
85
|
color: primary
|
|
86
86
|
variant: outlined
|
|
87
87
|
blocks:
|
|
@@ -169,7 +169,7 @@ Dynamic list with built-in add and remove controls. Supports custom add/remove b
|
|
|
169
169
|
layout:
|
|
170
170
|
flex: 0 0 auto
|
|
171
171
|
properties:
|
|
172
|
-
|
|
172
|
+
label: Needs supervision
|
|
173
173
|
size: small
|
|
174
174
|
- id: attendees.$.wheelchair
|
|
175
175
|
type: Switch
|
|
@@ -180,7 +180,7 @@ Dynamic list with built-in add and remove controls. Supports custom add/remove b
|
|
|
180
180
|
layout:
|
|
181
181
|
flex: 0 0 auto
|
|
182
182
|
properties:
|
|
183
|
-
|
|
183
|
+
label: Wheelchair access
|
|
184
184
|
size: small
|
|
185
185
|
- id: attendees.$.dietary
|
|
186
186
|
type: TextInput
|
|
@@ -205,7 +205,7 @@ Dynamic list with built-in add and remove controls. Supports custom add/remove b
|
|
|
205
205
|
flex: 0 0 auto
|
|
206
206
|
properties:
|
|
207
207
|
title: Register All
|
|
208
|
-
icon:
|
|
208
|
+
icon: AiOutlineSend
|
|
209
209
|
color: primary
|
|
210
210
|
variant: solid
|
|
211
211
|
events:
|
|
@@ -228,7 +228,7 @@ Dynamic list with built-in add and remove controls. Supports custom add/remove b
|
|
|
228
228
|
title: Expenses
|
|
229
229
|
addItemButton:
|
|
230
230
|
title: Add Expense
|
|
231
|
-
icon:
|
|
231
|
+
icon: AiOutlinePlus
|
|
232
232
|
color: primary
|
|
233
233
|
variant: dashed
|
|
234
234
|
theme:
|
|
@@ -304,7 +304,7 @@ Dynamic list with built-in add and remove controls. Supports custom add/remove b
|
|
|
304
304
|
flex: 0 0 auto
|
|
305
305
|
properties:
|
|
306
306
|
title: Submit Report
|
|
307
|
-
icon:
|
|
307
|
+
icon: AiOutlineSend
|
|
308
308
|
color: primary
|
|
309
309
|
variant: solid
|
|
310
310
|
events:
|
|
@@ -327,7 +327,7 @@ Dynamic list with built-in add and remove controls. Supports custom add/remove b
|
|
|
327
327
|
title: Projects
|
|
328
328
|
addItemButton:
|
|
329
329
|
title: Add Project
|
|
330
|
-
icon:
|
|
330
|
+
icon: AiOutlinePlus
|
|
331
331
|
color: primary
|
|
332
332
|
variant: outlined
|
|
333
333
|
blocks:
|
|
@@ -360,7 +360,7 @@ Dynamic list with built-in add and remove controls. Supports custom add/remove b
|
|
|
360
360
|
size: small
|
|
361
361
|
addItemButton:
|
|
362
362
|
title: Add Task
|
|
363
|
-
icon:
|
|
363
|
+
icon: AiOutlinePlus
|
|
364
364
|
size: small
|
|
365
365
|
variant: dashed
|
|
366
366
|
blocks:
|
|
@@ -379,7 +379,7 @@ Dynamic list with built-in add and remove controls. Supports custom add/remove b
|
|
|
379
379
|
layout:
|
|
380
380
|
flex: 0 0 auto
|
|
381
381
|
properties:
|
|
382
|
-
|
|
382
|
+
label: Done
|
|
383
383
|
size: small
|
|
384
384
|
- id: projects_footer
|
|
385
385
|
type: Box
|
|
@@ -392,7 +392,7 @@ Dynamic list with built-in add and remove controls. Supports custom add/remove b
|
|
|
392
392
|
flex: 0 0 auto
|
|
393
393
|
properties:
|
|
394
394
|
title: Save All
|
|
395
|
-
icon:
|
|
395
|
+
icon: AiOutlineSave
|
|
396
396
|
color: primary
|
|
397
397
|
variant: solid
|
|
398
398
|
events:
|
|
@@ -416,7 +416,7 @@ Dynamic list with built-in add and remove controls. Supports custom add/remove b
|
|
|
416
416
|
size: small
|
|
417
417
|
addItemButton:
|
|
418
418
|
title: Add Tag
|
|
419
|
-
icon:
|
|
419
|
+
icon: AiOutlinePlus
|
|
420
420
|
size: small
|
|
421
421
|
variant: dashed
|
|
422
422
|
events:
|
|
@@ -462,16 +462,7 @@ Dynamic list with built-in add and remove controls. Supports custom add/remove b
|
|
|
462
462
|
| `hideAddButton` | boolean | `false` | When true, hide the add new item button. |
|
|
463
463
|
| `size` | string | `"default"` | Size of the list. Enum: `small`, `default`, `large`. |
|
|
464
464
|
| `addItemButton` | object | - | Custom add item button properties. |
|
|
465
|
-
| `removeItemIcon` | string \| object | - | Custom remove item icon properties. Defaults to `
|
|
466
|
-
| `removeItemIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
467
|
-
| `removeItemIcon.color` | string | - | Icon color. |
|
|
468
|
-
| `removeItemIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
469
|
-
| `removeItemIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
470
|
-
| `removeItemIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
471
|
-
| `removeItemIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
472
|
-
| `removeItemIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
473
|
-
| `removeItemIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
474
|
-
| `removeItemIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
465
|
+
| `removeItemIcon` | string \| object | - | Custom remove item icon properties. Defaults to `AiOutlineMinusCircle` at a standard size with the antd error color inherited from the icon wrapper — override via `class.removeIcon` / `style.removeIcon` for visual tweaks, or via this property to change the icon name itself. |
|
|
475
466
|
| `hideRemoveButton` | boolean | `false` | When true, hide the remove item button on each list item. |
|
|
476
467
|
| `noDataTitle` | string | - | Title to show when list is empty. |
|
|
477
468
|
| `minItems` | number | `0` | Minimum number of items in the controlled list. |
|
|
@@ -24,7 +24,7 @@ Notes
|
|
|
24
24
|
flex: 0 0 auto
|
|
25
25
|
properties:
|
|
26
26
|
title: Add Note
|
|
27
|
-
icon:
|
|
27
|
+
icon: AiOutlinePlus
|
|
28
28
|
color: primary
|
|
29
29
|
variant: solid
|
|
30
30
|
size: small
|
|
@@ -53,7 +53,7 @@ Notes
|
|
|
53
53
|
layout:
|
|
54
54
|
flex: 0 0 auto
|
|
55
55
|
properties:
|
|
56
|
-
icon:
|
|
56
|
+
icon: AiOutlineClose
|
|
57
57
|
color: default
|
|
58
58
|
variant: text
|
|
59
59
|
shape: circle
|
|
@@ -119,7 +119,7 @@ Tasks
|
|
|
119
119
|
flex: 0 0 auto
|
|
120
120
|
properties:
|
|
121
121
|
title: Add Task
|
|
122
|
-
icon:
|
|
122
|
+
icon: AiOutlinePlus
|
|
123
123
|
color: primary
|
|
124
124
|
variant: solid
|
|
125
125
|
size: small
|
|
@@ -193,7 +193,7 @@ Tasks
|
|
|
193
193
|
layout:
|
|
194
194
|
flex: 0 0 auto
|
|
195
195
|
properties:
|
|
196
|
-
icon:
|
|
196
|
+
icon: AiOutlineArrowUp
|
|
197
197
|
color: default
|
|
198
198
|
variant: text
|
|
199
199
|
size: small
|
|
@@ -212,7 +212,7 @@ Tasks
|
|
|
212
212
|
layout:
|
|
213
213
|
flex: 0 0 auto
|
|
214
214
|
properties:
|
|
215
|
-
icon:
|
|
215
|
+
icon: AiOutlineArrowDown
|
|
216
216
|
color: default
|
|
217
217
|
variant: text
|
|
218
218
|
size: small
|
|
@@ -231,7 +231,7 @@ Tasks
|
|
|
231
231
|
layout:
|
|
232
232
|
flex: 0 0 auto
|
|
233
233
|
properties:
|
|
234
|
-
icon:
|
|
234
|
+
icon: AiOutlineDelete
|
|
235
235
|
color: danger
|
|
236
236
|
variant: text
|
|
237
237
|
size: small
|
|
@@ -256,7 +256,7 @@ Tasks
|
|
|
256
256
|
flex: 0 0 auto
|
|
257
257
|
properties:
|
|
258
258
|
title: Save Tasks
|
|
259
|
-
icon:
|
|
259
|
+
icon: AiOutlineSave
|
|
260
260
|
color: primary
|
|
261
261
|
variant: solid
|
|
262
262
|
events:
|
|
@@ -300,7 +300,7 @@ User Directory
|
|
|
300
300
|
flex: 0 0 auto
|
|
301
301
|
properties:
|
|
302
302
|
title: Load Users
|
|
303
|
-
icon:
|
|
303
|
+
icon: AiOutlineCloudDownload
|
|
304
304
|
color: primary
|
|
305
305
|
variant: solid
|
|
306
306
|
size: small
|
|
@@ -394,7 +394,7 @@ Invoice #1042
|
|
|
394
394
|
flex: 0 0 auto
|
|
395
395
|
properties:
|
|
396
396
|
title: Add Line
|
|
397
|
-
icon:
|
|
397
|
+
icon: AiOutlinePlus
|
|
398
398
|
color: primary
|
|
399
399
|
variant: dashed
|
|
400
400
|
size: small
|
|
@@ -453,7 +453,7 @@ Invoice #1042
|
|
|
453
453
|
layout:
|
|
454
454
|
flex: 0 0 auto
|
|
455
455
|
properties:
|
|
456
|
-
icon:
|
|
456
|
+
icon: AiOutlineMinusCircle
|
|
457
457
|
color: danger
|
|
458
458
|
variant: text
|
|
459
459
|
size: small
|
|
@@ -493,7 +493,7 @@ Invoice #1042
|
|
|
493
493
|
flex: 0 0 auto
|
|
494
494
|
properties:
|
|
495
495
|
title: Submit Invoice
|
|
496
|
-
icon:
|
|
496
|
+
icon: AiOutlineSend
|
|
497
497
|
color: primary
|
|
498
498
|
variant: solid
|
|
499
499
|
events:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# MasonryList
|
|
2
2
|
|
|
3
|
-
Masonry-style grid layout for list data. Items flow into columns and stack vertically, filling gaps left by shorter items. Provide an array in state and use _state operators in the template to access each item
|
|
3
|
+
Masonry-style grid layout for list data. Items flow into columns and stack vertically, filling gaps left by shorter items. Provide an array in state and use _state operators in the template to access each item's data.
|
|
4
4
|
|
|
5
5
|
```yaml
|
|
6
6
|
- id: ml_basic
|
|
@@ -162,7 +162,7 @@ Masonry-style grid layout for list data. Items flow into columns and stack verti
|
|
|
162
162
|
properties:
|
|
163
163
|
content:
|
|
164
164
|
_state: ml_team.$.initials
|
|
165
|
-
|
|
165
|
+
backgroundColor:
|
|
166
166
|
_state: ml_team.$.bg
|
|
167
167
|
- id: ml_team.$.name_block
|
|
168
168
|
type: Title
|
|
@@ -179,12 +179,40 @@ Masonry-style grid layout for list data. Items flow into columns and stack verti
|
|
|
179
179
|
_state: ml_team.$.role
|
|
180
180
|
```
|
|
181
181
|
|
|
182
|
+
```yaml
|
|
183
|
+
- id: ml_seq
|
|
184
|
+
type: MasonryList
|
|
185
|
+
properties:
|
|
186
|
+
columns: 3
|
|
187
|
+
gutter: 16
|
|
188
|
+
sequential: true
|
|
189
|
+
blocks:
|
|
190
|
+
- id: ml_seq.$.card
|
|
191
|
+
type: Card
|
|
192
|
+
class:
|
|
193
|
+
_state: ml_seq.$.bg
|
|
194
|
+
properties:
|
|
195
|
+
size: small
|
|
196
|
+
blocks:
|
|
197
|
+
- id: ml_seq.$.title_block
|
|
198
|
+
type: Title
|
|
199
|
+
properties:
|
|
200
|
+
content:
|
|
201
|
+
_state: ml_seq.$.title
|
|
202
|
+
level: 5
|
|
203
|
+
- id: ml_seq.$.desc_block
|
|
204
|
+
type: Paragraph
|
|
205
|
+
properties:
|
|
206
|
+
content:
|
|
207
|
+
_state: ml_seq.$.desc
|
|
208
|
+
```
|
|
209
|
+
|
|
182
210
|
| Property | Type | Default | Description |
|
|
183
211
|
| --- | --- | --- | --- |
|
|
184
|
-
| `columns` | integer \| object |
|
|
185
|
-
| `fresh` | boolean | `false` |
|
|
186
|
-
| `gutter` | number \| array
|
|
187
|
-
| `sequential` | boolean | `false` |
|
|
212
|
+
| `columns` | integer \| object | - | Number of columns, or responsive breakpoint object (e.g. { xs: 1, sm: 2, md: 3 }). |
|
|
213
|
+
| `fresh` | boolean | `false` | Force refresh the masonry layout. |
|
|
214
|
+
| `gutter` | number \| array | - | Gap between items in pixels. Number or [horizontal, vertical] array. |
|
|
215
|
+
| `sequential` | boolean | `false` | Render items sequentially (top to bottom, then next column). Default is balanced column-fill. |
|
|
188
216
|
| `theme` | object | - | Antd design token overrides for this block. Masonry uses global motion tokens for item animations. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design masonry tokens](https://ant.design/components/masonry). |
|
|
189
217
|
| `theme.motionDurationSlow` | string | `"0.3s"` | Duration of item position and fade-in animations. |
|
|
190
218
|
| `theme.motionDurationFast` | string | `"0.1s"` | Duration of item fade-out animations. |
|
|
@@ -196,7 +224,6 @@ No events defined.
|
|
|
196
224
|
| --- | --- |
|
|
197
225
|
| `/block` | Outer block wrapper (always available). |
|
|
198
226
|
| `/element` | The MasonryList element. |
|
|
199
|
-
| `/item` | Each item in the masonry grid. |
|
|
200
227
|
|
|
201
228
|
| Slot | Description |
|
|
202
229
|
| --- | --- |
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
This guide explains how the Lowdefy upgrade system works — independent of any specific version.
|
|
4
4
|
|
|
5
5
|
For version-specific migration details, see:
|
|
6
|
-
- [Version 6 to Version 7](/v6-to-v7)
|
|
7
6
|
- [Version 5 to Version 6](/v5-to-v6)
|
|
8
7
|
- [Version 4 to Version 5](/v4-to-v5)
|
|
9
8
|
- [Version 3 to Version 4](/v3-to-v4)
|
|
@@ -21,7 +21,6 @@ The metadata object has the following keys:
|
|
|
21
21
|
- `license`: From the root `license` field. Free-form string.
|
|
22
22
|
- `lowdefyVersion`: From the root `lowdefy` field — the framework version the app targets.
|
|
23
23
|
- `gitSha`: The build's git commit SHA. Resolved at build time in three steps: the `LOWDEFY_GIT_SHA` environment variable (when set non-empty) wins; otherwise the build runs `git rev-parse HEAD`; if both fail (no `.git`, no `git` binary, env unset), `gitSha` is `null`. The build does not error in any case. Build-time and runtime reads return the same value.
|
|
24
|
-
- `buildId`: A random identifier generated by each build, so two builds never share one. The production server sends it with every page config fetched during in-app navigation, and the client bundle carries the id of the build it came from; when the two differ the tab reloads once to pick up the new bundle instead of failing on functions or plugins it does not have. Useful in config as a cache-busting value that changes on every deploy.
|
|
25
24
|
|
|
26
25
|
Missing root fields yield `null` — every key in the metadata is always present. The sole exception is `slug`: referencing it fails the build when it is not set (see above).
|
|
27
26
|
|
|
@@ -86,7 +85,7 @@ _app: true
|
|
|
86
85
|
_app:
|
|
87
86
|
all: true
|
|
88
87
|
```
|
|
89
|
-
Returns: The full `{ slug, name, version, description, license, lowdefyVersion, gitSha
|
|
88
|
+
Returns: The full `{ slug, name, version, description, license, lowdefyVersion, gitSha }` object.
|
|
90
89
|
|
|
91
90
|
###### Return a default value if `gitSha` was not captured:
|
|
92
91
|
```yaml
|