@lowdefy/docs-content 6.1.0 → 7.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 +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 +7 -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/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 +43 -7
- 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 +154 -2
- package/content/concepts/four-primitives.md +31 -0
- package/content/concepts/html-attributes.md +293 -0
- package/content/concepts/i18n.md +8 -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 +136 -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 +2 -0
- package/content/connections/smtp.md +3 -1
- 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 +24 -3
- package/content/controls/return.md +17 -1
- package/content/controls/throw.md +1 -0
- package/content/controls/try.md +4 -2
- package/content/controls/while.md +46 -0
- package/content/deployment/deployment-environments.md +10 -7
- package/content/deployment/docker.md +22 -7
- package/content/deployment/node-server.md +4 -0
- package/content/deployment/vercel.md +17 -6
- package/content/display-blocks/aggrid.md +36 -19
- 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/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 +24 -1
- 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 +44 -0
- package/index.json +3691 -14
- package/package.json +11 -1
- package/scripts/collectImportedFiles.js +80 -0
- package/scripts/extractAgentDocs.js +41 -30
- package/scripts/hashDocSources.js +38 -0
- package/scripts/isRedirectPage.js +26 -0
- package/scripts/recordSourceHashes.js +100 -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
|
@@ -41,6 +41,13 @@ Date picker with configurable format and disabled dates.
|
|
|
41
41
|
variant: borderless
|
|
42
42
|
label:
|
|
43
43
|
disabled: true
|
|
44
|
+
- id: variant_underlined
|
|
45
|
+
type: DateSelector
|
|
46
|
+
properties:
|
|
47
|
+
title: Underlined
|
|
48
|
+
variant: underlined
|
|
49
|
+
label:
|
|
50
|
+
disabled: true
|
|
44
51
|
```
|
|
45
52
|
|
|
46
53
|
```yaml
|
|
@@ -149,14 +156,14 @@ Date picker with configurable format and disabled dates.
|
|
|
149
156
|
type: DateSelector
|
|
150
157
|
properties:
|
|
151
158
|
title: Clock Icon
|
|
152
|
-
suffixIcon:
|
|
159
|
+
suffixIcon: clock
|
|
153
160
|
label:
|
|
154
161
|
disabled: true
|
|
155
162
|
- id: icon_schedule
|
|
156
163
|
type: DateSelector
|
|
157
164
|
properties:
|
|
158
165
|
title: Schedule Icon
|
|
159
|
-
suffixIcon:
|
|
166
|
+
suffixIcon: CalendarDays
|
|
160
167
|
label:
|
|
161
168
|
disabled: true
|
|
162
169
|
- id: icon_custom_color
|
|
@@ -164,7 +171,7 @@ Date picker with configurable format and disabled dates.
|
|
|
164
171
|
properties:
|
|
165
172
|
title: Custom Color Icon
|
|
166
173
|
suffixIcon:
|
|
167
|
-
name:
|
|
174
|
+
name: calendar
|
|
168
175
|
color: "#1677ff"
|
|
169
176
|
label:
|
|
170
177
|
disabled: true
|
|
@@ -173,12 +180,48 @@ Date picker with configurable format and disabled dates.
|
|
|
173
180
|
properties:
|
|
174
181
|
title: Heart Icon
|
|
175
182
|
suffixIcon:
|
|
176
|
-
name:
|
|
183
|
+
name: heart
|
|
177
184
|
color: "#ff4d4f"
|
|
178
185
|
label:
|
|
179
186
|
disabled: true
|
|
180
187
|
```
|
|
181
188
|
|
|
189
|
+
```yaml
|
|
190
|
+
- id: ds_prefix_icon
|
|
191
|
+
type: DateSelector
|
|
192
|
+
properties:
|
|
193
|
+
title: Prefix Icon
|
|
194
|
+
prefixIcon: clock
|
|
195
|
+
suffixIcon:
|
|
196
|
+
name: calendar
|
|
197
|
+
color: "#8c8c8c"
|
|
198
|
+
- id: ds_prefix_text
|
|
199
|
+
type: DateSelector
|
|
200
|
+
properties:
|
|
201
|
+
title: Prefix Text
|
|
202
|
+
prefix: "From:"
|
|
203
|
+
- id: ds_placement
|
|
204
|
+
type: DateSelector
|
|
205
|
+
properties:
|
|
206
|
+
title: Popup Opens Top Right
|
|
207
|
+
placement: topRight
|
|
208
|
+
- id: ds_read_only
|
|
209
|
+
type: DateSelector
|
|
210
|
+
properties:
|
|
211
|
+
title: Pick From Calendar Only
|
|
212
|
+
inputReadOnly: true
|
|
213
|
+
label:
|
|
214
|
+
extra: The input is read-only, so touch devices do not open the keyboard.
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
```yaml
|
|
218
|
+
- id: ds_show_week
|
|
219
|
+
type: DateSelector
|
|
220
|
+
properties:
|
|
221
|
+
title: Show Week Numbers
|
|
222
|
+
showWeek: true
|
|
223
|
+
```
|
|
224
|
+
|
|
182
225
|
```yaml
|
|
183
226
|
- id: disabled_default
|
|
184
227
|
type: DateSelector
|
|
@@ -449,7 +492,8 @@ Date picker with configurable format and disabled dates.
|
|
|
449
492
|
- id: style_element
|
|
450
493
|
type: DateSelector
|
|
451
494
|
style:
|
|
452
|
-
.element:
|
|
495
|
+
.element:
|
|
496
|
+
backgroundColor: var(--ant-color-primary-bg)
|
|
453
497
|
properties:
|
|
454
498
|
title: Custom Background
|
|
455
499
|
label:
|
|
@@ -534,7 +578,7 @@ Date picker with configurable format and disabled dates.
|
|
|
534
578
|
placeholder: Select appointment date
|
|
535
579
|
format: DD MMMM YYYY
|
|
536
580
|
size: large
|
|
537
|
-
suffixIcon:
|
|
581
|
+
suffixIcon: CalendarDays
|
|
538
582
|
showToday: true
|
|
539
583
|
allowClear: true
|
|
540
584
|
label:
|
|
@@ -559,7 +603,7 @@ Date picker with configurable format and disabled dates.
|
|
|
559
603
|
placeholder: Select event date
|
|
560
604
|
format: DD MMM YYYY
|
|
561
605
|
suffixIcon:
|
|
562
|
-
name:
|
|
606
|
+
name: calendar
|
|
563
607
|
color: "#1677ff"
|
|
564
608
|
disabledDates:
|
|
565
609
|
min: 2026-01-01
|
|
@@ -575,7 +619,7 @@ Date picker with configurable format and disabled dates.
|
|
|
575
619
|
format: DD MMMM YYYY
|
|
576
620
|
placeholder: Choose a special date...
|
|
577
621
|
suffixIcon:
|
|
578
|
-
name:
|
|
622
|
+
name: heart
|
|
579
623
|
color: "#eb2f96"
|
|
580
624
|
label:
|
|
581
625
|
disabled: true
|
|
@@ -599,7 +643,7 @@ Date picker with configurable format and disabled dates.
|
|
|
599
643
|
placeholder: Select event date
|
|
600
644
|
format: DD MMMM YYYY
|
|
601
645
|
size: large
|
|
602
|
-
suffixIcon:
|
|
646
|
+
suffixIcon: calendar
|
|
603
647
|
label:
|
|
604
648
|
extra: Choose the date you would like to attend.
|
|
605
649
|
disabledDates:
|
|
@@ -610,20 +654,20 @@ Date picker with configurable format and disabled dates.
|
|
|
610
654
|
properties:
|
|
611
655
|
title: Full Name
|
|
612
656
|
placeholder: Enter your full name
|
|
613
|
-
prefixIcon:
|
|
657
|
+
prefixIcon: user
|
|
614
658
|
- id: applied2_event_email
|
|
615
659
|
type: TextInput
|
|
616
660
|
properties:
|
|
617
661
|
title: Email Address
|
|
618
662
|
placeholder: you@example.com
|
|
619
|
-
prefixIcon:
|
|
663
|
+
prefixIcon: mail
|
|
620
664
|
label:
|
|
621
665
|
extra: We will send your confirmation to this address.
|
|
622
666
|
- id: applied2_event_register_btn
|
|
623
667
|
type: Button
|
|
624
668
|
properties:
|
|
625
669
|
title: Register
|
|
626
|
-
icon:
|
|
670
|
+
icon: check
|
|
627
671
|
type: primary
|
|
628
672
|
size: large
|
|
629
673
|
block: true
|
|
@@ -647,14 +691,14 @@ Date picker with configurable format and disabled dates.
|
|
|
647
691
|
properties:
|
|
648
692
|
title: Display Name
|
|
649
693
|
placeholder: Enter your display name
|
|
650
|
-
prefixIcon:
|
|
694
|
+
prefixIcon: user
|
|
651
695
|
- id: applied3_date_of_birth
|
|
652
696
|
type: DateSelector
|
|
653
697
|
properties:
|
|
654
698
|
title: Date of Birth
|
|
655
699
|
placeholder: Select your date of birth
|
|
656
700
|
format: DD MMMM YYYY
|
|
657
|
-
suffixIcon:
|
|
701
|
+
suffixIcon: calendar
|
|
658
702
|
label:
|
|
659
703
|
extra: Used to verify your age.
|
|
660
704
|
disabledDates:
|
|
@@ -670,12 +714,12 @@ Date picker with configurable format and disabled dates.
|
|
|
670
714
|
properties:
|
|
671
715
|
title: Email Address
|
|
672
716
|
placeholder: you@example.com
|
|
673
|
-
prefixIcon:
|
|
717
|
+
prefixIcon: mail
|
|
674
718
|
- id: applied3_save_btn
|
|
675
719
|
type: Button
|
|
676
720
|
properties:
|
|
677
721
|
title: Save Profile
|
|
678
|
-
icon:
|
|
722
|
+
icon: save
|
|
679
723
|
type: primary
|
|
680
724
|
size: large
|
|
681
725
|
block: true
|
|
@@ -694,7 +738,7 @@ Date picker with configurable format and disabled dates.
|
|
|
694
738
|
| `autoFocus` | boolean | `false` | Autofocus to the block on page load. |
|
|
695
739
|
| `bordered` | boolean | `true` | Deprecated - use variant: 'borderless'. Whether or not the input has a border style. |
|
|
696
740
|
| `disabled` | boolean | `false` | Disable the block if true. |
|
|
697
|
-
| `variant` | string | `"outlined"` | Variant style of the input. Use 'borderless' instead of bordered: false. Enum: `outlined`, `filled`, `borderless`. |
|
|
741
|
+
| `variant` | string | `"outlined"` | Variant style of the input. Use 'borderless' instead of bordered: false. Enum: `outlined`, `filled`, `borderless`, `underlined`. |
|
|
698
742
|
| `disabledDates` | object | - | Disable specific dates so that they can not be chosen. |
|
|
699
743
|
| `disabledDates.min` | string \| object | - | Disable all dates less than the minimum date. Can be a date string or a _date object. |
|
|
700
744
|
| `disabledDates.max` | string \| object | - | Disable all dates greater than the maximum date. Can be a date string or a _date object. |
|
|
@@ -703,60 +747,113 @@ Date picker with configurable format and disabled dates.
|
|
|
703
747
|
| `disabledDates.ranges.$.from` | string \| object | - | Start of the disabled range. |
|
|
704
748
|
| `disabledDates.ranges.$.to` | string \| object | - | End of the disabled range. |
|
|
705
749
|
| `label` | object | - | Label properties. |
|
|
750
|
+
| `label.xs` | object | - | Label width on extra small screens (below 576px) when the label is not inline. |
|
|
751
|
+
| `label.xs.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
752
|
+
| `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. |
|
|
753
|
+
| `label.sm.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
754
|
+
| `label.md` | object | - | Label width on medium screens (768px and up) when the label is not inline. Overrides `span`. |
|
|
755
|
+
| `label.md.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
756
|
+
| `label.lg` | object | - | Label width on large screens (992px and up) when the label is not inline. |
|
|
757
|
+
| `label.lg.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
758
|
+
| `label.xl` | object | - | Label width on extra large screens (1200px and up) when the label is not inline. |
|
|
759
|
+
| `label.xl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
760
|
+
| `label.xxl` | object | - | Label width on extra extra large screens (1600px and up) when the label is not inline. |
|
|
761
|
+
| `label.xxl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
706
762
|
| `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
|
|
707
763
|
| `label.colon` | boolean | `true` | Append label with colon. |
|
|
708
764
|
| `label.extra` | string | - | Extra text to display beneath the content - supports html. |
|
|
709
765
|
| `label.title` | string | - | Label title - supports html. |
|
|
710
766
|
| `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. |
|
|
711
767
|
| `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
|
|
712
|
-
| `label.tooltip.icon` | string | `"
|
|
768
|
+
| `label.tooltip.icon` | string | `"help"` | Icon name to show beside the label: a semantic name like `help`, a Lucide icon name like `CircleQuestionMark`, or a set-qualified name like `tabler:HelpCircle`. |
|
|
713
769
|
| `label.tooltip.color` | string | - | Color of the tooltip icon. |
|
|
714
|
-
| `label.span` | number | - | Label inline
|
|
770
|
+
| `label.span` | number | - | Label width in columns, out of 24, on medium screens (768px) and up when the label is not inline. The content takes the remaining columns. |
|
|
715
771
|
| `label.disabled` | boolean | `false` | Hide input label. |
|
|
716
772
|
| `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
|
|
717
773
|
| `label.inline` | boolean | `false` | Render input and label inline. |
|
|
774
|
+
| `label.wrap` | boolean | `false` | Wrap long label text onto multiple lines when the label is inline. Labels above their input always wrap. |
|
|
718
775
|
| `format` | string | - | Format in which to parse the date value, eg. "DD MMMM YYYY" will parse a date value of 1999-12-31 as "31 December 1999". The format has to conform to dayjs formats. Defaults to the active locale's date format, or "YYYY-MM-DD" when no locale is configured. |
|
|
776
|
+
| `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. |
|
|
719
777
|
| `placeholder` | string | - | Placeholder text inside the block before user types input. |
|
|
778
|
+
| `placement` | string | `"bottomLeft"` | Position of the calendar popup relative to the input. Enum: `bottomLeft`, `bottomRight`, `topLeft`, `topRight`. |
|
|
779
|
+
| `prefix` | string | - | Prefix text shown before the date in the input, priority over prefixIcon. |
|
|
780
|
+
| `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. |
|
|
781
|
+
| `prefixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
782
|
+
| `prefixIcon.color` | string | - | Icon color. |
|
|
783
|
+
| `prefixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
784
|
+
| `prefixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
785
|
+
| `prefixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
786
|
+
| `prefixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
787
|
+
| `prefixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
788
|
+
| `prefixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
789
|
+
| `prefixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
720
790
|
| `presets` | array | - | Shortcuts listed next to the calendar to quickly select a date. 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. |
|
|
721
791
|
| `presets.$.label` | string | - | Text shown for the shortcut - supports html. |
|
|
722
792
|
| `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 day 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, {format: YYYY-MM-DD}]". Without the format step the chain resolves to an instant, which can select the day before or after the current one, depending on the browser timezone and the time of day. |
|
|
723
793
|
| `showToday` | boolean | `true` | Shows a button to easily select the current date if true. |
|
|
794
|
+
| `showWeek` | boolean | `false` | Show the week number of each row in the calendar. |
|
|
724
795
|
| `size` | string | `"default"` | Size of the block. Enum: `small`, `default`, `large`. |
|
|
725
|
-
| `suffixIcon` | string \| object | `"
|
|
796
|
+
| `suffixIcon` | string \| object | `"calendar"` | 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 right-hand side of the date picker. |
|
|
797
|
+
| `suffixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
798
|
+
| `suffixIcon.color` | string | - | Icon color. |
|
|
799
|
+
| `suffixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
800
|
+
| `suffixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
801
|
+
| `suffixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
802
|
+
| `suffixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
803
|
+
| `suffixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
804
|
+
| `suffixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
805
|
+
| `suffixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
726
806
|
| `title` | string | - | Title to describe the input component, if no title is specified the block id is displayed - supports html. |
|
|
727
807
|
| `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). |
|
|
808
|
+
| `theme.activeBg` | string | `"#ffffff"` | Background color of the input when the picker is active/focused. |
|
|
728
809
|
| `theme.activeBorderColor` | string | - | Border color when the picker is active/focused. |
|
|
729
|
-
| `theme.
|
|
730
|
-
| `theme.cellHoverBg` | string | `"rgba(0, 0, 0, 0.04)"` | Background color of calendar cell on hover. |
|
|
731
|
-
| `theme.cellActiveWithRangeBg` | string | `"#e6f4ff"` | Background color of active cell within a range selection. |
|
|
732
|
-
| `theme.addonBg` | string | `"rgba(0, 0, 0, 0.02)"` | Background color of the footer addon area. |
|
|
733
|
-
| `theme.zIndexPopup` | number | `1050` | Z-index of the date picker popup layer. |
|
|
734
|
-
| `theme.timeColumnHeight` | number | `224` | Height of the time picker column. |
|
|
735
|
-
| `theme.timeCellHeight` | number | `28` | Height of each cell in the time picker column. |
|
|
736
|
-
| `theme.paddingBlock` | number | `4` | Vertical padding for the default size picker. |
|
|
737
|
-
| `theme.paddingBlockSM` | number | `0` | Vertical padding for the small size picker. |
|
|
738
|
-
| `theme.paddingBlockLG` | number | `7` | Vertical padding for the large size picker. |
|
|
739
|
-
| `theme.paddingInline` | number | `11` | Horizontal padding for the default size picker. |
|
|
740
|
-
| `theme.paddingInlineSM` | number | `7` | Horizontal padding for the small size picker. |
|
|
741
|
-
| `theme.paddingInlineLG` | number | `11` | Horizontal padding for the large size picker. |
|
|
810
|
+
| `theme.activeShadow` | string | `"0 0 0 2px rgba(5,145,255,0.1)"` | Shadow effect when the picker is active/focused. |
|
|
742
811
|
| `theme.borderRadius` | number | `6` | Border radius of the picker input. |
|
|
743
|
-
| `theme.borderRadiusSM` | number | `4` | Border radius for the small picker. |
|
|
744
812
|
| `theme.borderRadiusLG` | number | `8` | Border radius for the large picker and popup panel. |
|
|
813
|
+
| `theme.borderRadiusSM` | number | `4` | Border radius for the small picker. |
|
|
814
|
+
| `theme.cellActiveWithRangeBg` | string | `"#e6f4ff"` | Background color of cells within the selected range. |
|
|
815
|
+
| `theme.cellBgDisabled` | string | `"rgba(0,0,0,0.04)"` | Background color of disabled cells. |
|
|
816
|
+
| `theme.cellHeight` | number | `24` | Height of a calendar cell. |
|
|
817
|
+
| `theme.cellHoverBg` | string | `"rgba(0, 0, 0, 0.04)"` | Background color of a calendar cell on hover. |
|
|
818
|
+
| `theme.cellHoverWithRangeBg` | string | `"#cbe0fd"` | Background color of cells within range on hover. |
|
|
819
|
+
| `theme.cellRangeBorderColor` | string | `"#82b4f9"` | Border color of range selection cells. |
|
|
820
|
+
| `theme.cellWidth` | number | `36` | Width of a calendar cell. |
|
|
821
|
+
| `theme.colorBgContainer` | string | - | Background color of the picker input. |
|
|
822
|
+
| `theme.colorBorder` | string | - | Border color of the picker input. |
|
|
823
|
+
| `theme.colorPrimary` | string | - | Primary color used for the selected date and active states. |
|
|
824
|
+
| `theme.colorText` | string | - | Text color of the picker input and calendar cells. |
|
|
825
|
+
| `theme.colorTextPlaceholder` | string | - | Color of the placeholder text. |
|
|
745
826
|
| `theme.controlHeight` | number | `32` | Height of the picker input. |
|
|
746
|
-
| `theme.controlHeightSM` | number | `24` | Height of the small picker input. |
|
|
747
827
|
| `theme.controlHeightLG` | number | `40` | Height of the large picker input. |
|
|
828
|
+
| `theme.controlHeightSM` | number | `24` | Height of the small picker input. |
|
|
829
|
+
| `theme.errorActiveShadow` | string | `"0 0 0 2px rgba(255,38,5,0.06)"` | Shadow effect when the picker has error status and is focused. |
|
|
748
830
|
| `theme.fontSize` | number | `14` | Font size of the picker input. |
|
|
749
|
-
| `theme.fontSizeSM` | number | `14` | Font size for the small picker. |
|
|
750
831
|
| `theme.fontSizeLG` | number | `16` | Font size for the large picker. |
|
|
832
|
+
| `theme.fontSizeSM` | number | `14` | Font size for the small picker. |
|
|
833
|
+
| `theme.hoverBg` | string | `"#ffffff"` | Background color of the input when hovering over the picker. |
|
|
834
|
+
| `theme.hoverBorderColor` | string | - | Border color when hovering over the picker. |
|
|
751
835
|
| `theme.lineWidth` | number | `1` | Border width of the picker input. |
|
|
752
|
-
| `theme.
|
|
753
|
-
| `theme.
|
|
754
|
-
| `theme.
|
|
755
|
-
| `theme.
|
|
756
|
-
| `theme.
|
|
836
|
+
| `theme.paddingBlock` | number | `4` | Vertical padding for the default size picker. |
|
|
837
|
+
| `theme.paddingBlockLG` | number | `7` | Vertical padding for the large size picker. |
|
|
838
|
+
| `theme.paddingBlockSM` | number | `0` | Vertical padding for the small size picker. |
|
|
839
|
+
| `theme.paddingInline` | number | `11` | Horizontal padding for the default size picker. |
|
|
840
|
+
| `theme.paddingInlineLG` | number | `11` | Horizontal padding for the large size picker. |
|
|
841
|
+
| `theme.paddingInlineSM` | number | `7` | Horizontal padding for the small size picker. |
|
|
842
|
+
| `theme.presetsMaxWidth` | number | `200` | Maximum width of the presets list next to the calendar. |
|
|
843
|
+
| `theme.presetsWidth` | number | `120` | Width of the presets list next to the calendar. |
|
|
844
|
+
| `theme.timeCellHeight` | number | `28` | Height of a time cell in the time panel. |
|
|
845
|
+
| `theme.timeColumnHeight` | number | `224` | Height of the time panel column. |
|
|
846
|
+
| `theme.timeColumnWidth` | number | `56` | Width of the time panel column. |
|
|
847
|
+
| `theme.warningActiveShadow` | string | `"0 0 0 2px rgba(255,215,5,0.1)"` | Shadow effect when the picker has warning status and is focused. |
|
|
848
|
+
| `theme.withoutTimeCellHeight` | number | `66` | Height of the cells of the month, week, quarter, year and decade panels. |
|
|
849
|
+
| `theme.zIndexPopup` | number | `1050` | Z-index of the picker popup layer. |
|
|
757
850
|
|
|
758
851
|
| Event | Event Data | Description |
|
|
759
852
|
| --- | --- | --- |
|
|
853
|
+
| `onBlur` | \- | Trigger actions when the picker loses focus. |
|
|
854
|
+
| `onClear` | \- | Trigger actions when the clear button is clicked. |
|
|
855
|
+
| `onFocus` | \- | Trigger actions when the picker gets focus. |
|
|
856
|
+
| `onOpenChange` | `{ open }` | Trigger actions when the calendar popup opens or closes. |
|
|
760
857
|
| `onChange` | `{ value }` | Trigger actions when selection is changed. |
|
|
761
858
|
| `onTooltipClick` | \- | Trigger actions when the tooltip icon is clicked. |
|
|
762
859
|
|
|
@@ -768,6 +865,7 @@ Date picker with configurable format and disabled dates.
|
|
|
768
865
|
| `/extra` | The DateSelector extra content. |
|
|
769
866
|
| `/feedback` | The DateSelector validation feedback. |
|
|
770
867
|
| `/popup` | The DateSelector popup. |
|
|
868
|
+
| `/prefixIcon` | The prefix icon in the DateSelector. |
|
|
771
869
|
| `/suffixIcon` | The suffix icon in the DateSelector. |
|
|
772
870
|
|
|
773
871
|
No slots defined.
|