@lowdefy/docs-content 6.0.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/content/actions/downloadcsv.md +1 -1
- package/content/actions/emailotpsend.md +58 -0
- package/content/actions/emailotpverify.md +79 -0
- package/content/actions/getlocalstorage.md +43 -0
- package/content/actions/link.md +47 -1
- package/content/actions/login.md +25 -5
- package/content/actions/logout.md +7 -5
- package/content/actions/magiclinkverify.md +117 -0
- package/content/actions/pdfmake.md +2 -2
- package/content/actions/posthogalias.md +29 -0
- package/content/actions/posthogcapture.md +49 -0
- package/content/actions/posthogcapturepageleave.md +38 -0
- package/content/actions/posthogfeatureflag.md +50 -0
- package/content/actions/posthoggroup.md +37 -0
- package/content/actions/posthogidentify.md +54 -0
- package/content/actions/posthoginit.md +96 -0
- package/content/actions/posthogoptin.md +29 -0
- package/content/actions/posthogoptout.md +29 -0
- package/content/actions/posthogpageview.md +37 -0
- package/content/actions/posthogreloadfeatureflags.md +47 -0
- package/content/actions/posthogreset.md +28 -0
- package/content/actions/posthogsetpersonproperties.md +36 -0
- package/content/actions/removelocalstorage.md +28 -0
- package/content/actions/resetvalidation.md +5 -3
- package/content/actions/setdarkmode.md +3 -3
- package/content/actions/setglobal.md +2 -0
- package/content/actions/setlocale.md +1 -1
- package/content/actions/setlocalstorage.md +34 -0
- package/content/actions/setstate.md +2 -0
- package/content/actions/validate.md +7 -4
- package/content/adapter-reference/mongodbauthadapter.md +46 -0
- package/content/agents/agent-endpoint-tools.md +24 -0
- package/content/agents/agent-properties.md +13 -3
- package/content/agents/agent-server-hooks.md +1 -1
- package/content/agents/agentchat.md +41 -4
- package/content/agents/agentconversations.md +42 -8
- package/content/agents/agents-introduction.md +107 -0
- package/content/callback-reference/auth0logoutcallback.md +54 -0
- package/content/concepts/ai-agent-docs.md +455 -106
- package/content/concepts/blocks.md +150 -0
- package/content/concepts/connections-and-requests.md +402 -0
- package/content/concepts/custom-html.md +42 -0
- package/content/concepts/custom-styling.md +50 -5
- package/content/concepts/dynamic-page-content.md +309 -0
- package/content/concepts/events-and-actions.md +185 -2
- package/content/concepts/four-primitives.md +31 -0
- package/content/concepts/html-attributes.md +293 -0
- package/content/concepts/i18n.md +12 -3
- package/content/concepts/keyboard-shortcuts.md +2 -2
- package/content/concepts/layout-overview.md +1 -1
- package/content/concepts/logger.md +99 -0
- package/content/concepts/lowdefy-api.md +1319 -0
- package/content/concepts/lowdefy-schema.md +144 -3
- package/content/concepts/menus.md +8 -7
- package/content/concepts/module-authoring.md +76 -5
- package/content/concepts/modules.md +3 -1
- package/content/concepts/notifications.md +180 -0
- package/content/concepts/operators.md +7 -0
- package/content/concepts/page-and-app-state.md +252 -0
- package/content/concepts/page-paths.md +209 -0
- package/content/concepts/theming.md +582 -0
- package/content/connections/aigateway.md +375 -0
- package/content/connections/anthropic.md +169 -2
- package/content/connections/awss3.md +178 -2
- package/content/connections/axioshttp.md +181 -0
- package/content/connections/google.md +169 -2
- package/content/connections/mongodb.md +1014 -3
- package/content/connections/openai-connection.md +169 -2
- package/content/connections/sendgridmail.md +3 -0
- package/content/connections/smtp.md +16 -0
- package/content/connections/treg.md +329 -0
- package/content/container-blocks/affix.md +47 -7
- package/content/container-blocks/alert.md +76 -24
- package/content/container-blocks/badge.md +100 -24
- package/content/container-blocks/box.md +9 -9
- package/content/container-blocks/card.md +132 -27
- package/content/container-blocks/carousel.md +60 -7
- package/content/container-blocks/collapse.md +153 -9
- package/content/container-blocks/configprovider.md +35 -13
- package/content/container-blocks/confirmmodal.md +69 -23
- package/content/container-blocks/content.md +62 -98
- package/content/container-blocks/descriptions.md +45 -4
- package/content/container-blocks/drawer.md +139 -28
- package/content/container-blocks/dropdownmenu.md +119 -31
- package/content/container-blocks/flex.md +40 -62
- package/content/container-blocks/footer.md +15 -11
- package/content/container-blocks/googlemapsheatmap.md +1 -1
- package/content/container-blocks/googlemapsscript.md +2 -2
- package/content/container-blocks/header.md +71 -36
- package/content/container-blocks/label.md +34 -7
- package/content/container-blocks/layout.md +52 -34
- package/content/container-blocks/masonry.md +17 -71
- package/content/container-blocks/mobilemenu.md +131 -88
- package/content/container-blocks/modal.md +161 -26
- package/content/container-blocks/pageheadermenu.md +138 -31
- package/content/container-blocks/pagesidebarlayout.md +230 -27
- package/content/container-blocks/pagesidermenu.md +153 -43
- package/content/container-blocks/popover.md +34 -31
- package/content/container-blocks/result.md +32 -21
- package/content/container-blocks/sider.md +85 -122
- package/content/container-blocks/span.md +7 -7
- package/content/container-blocks/spinner.md +3 -3
- package/content/container-blocks/splitter.md +150 -68
- package/content/container-blocks/tabs.md +64 -12
- package/content/container-blocks/tooltip.md +22 -46
- package/content/container-blocks/watermark.md +22 -4
- package/content/controls/parallel_for.md +21 -2
- package/content/controls/reject.md +26 -3
- package/content/controls/return.md +17 -1
- package/content/controls/throw.md +30 -2
- package/content/controls/try.md +24 -2
- package/content/controls/while.md +46 -0
- package/content/deployment/deployment-environments.md +146 -0
- package/content/deployment/docker.md +23 -7
- package/content/deployment/node-server.md +4 -0
- package/content/deployment/vercel.md +25 -19
- package/content/display-blocks/aggrid.md +33 -16
- package/content/display-blocks/anchor.md +16 -15
- package/content/display-blocks/avatar.md +57 -37
- package/content/display-blocks/breadcrumb.md +70 -21
- package/content/display-blocks/button.md +93 -19
- package/content/display-blocks/calendar.md +12 -0
- package/content/display-blocks/clickablehtml.md +239 -0
- package/content/display-blocks/dangeroushtml.md +1 -1
- package/content/display-blocks/difflist.md +1 -1
- package/content/display-blocks/difftimeline.md +1 -1
- package/content/display-blocks/divider.md +64 -3
- package/content/display-blocks/dropdownbutton.md +81 -30
- package/content/display-blocks/echart.md +35 -1
- package/content/display-blocks/eventlog.md +363 -0
- package/content/display-blocks/floatbutton.md +129 -42
- package/content/display-blocks/html.md +61 -1
- package/content/display-blocks/icon.md +250 -67
- package/content/display-blocks/img.md +2 -2
- package/content/display-blocks/menu.md +146 -73
- package/content/display-blocks/message.md +38 -124
- package/content/display-blocks/notification.md +94 -222
- package/content/display-blocks/paragraph.md +59 -9
- package/content/display-blocks/pollingtimer.md +263 -0
- package/content/display-blocks/progress.md +96 -17
- package/content/display-blocks/qrcode.md +19 -4
- package/content/display-blocks/s3download.md +1 -1
- package/content/display-blocks/search.md +19 -9
- package/content/display-blocks/skeletonbutton.md +1 -0
- package/content/display-blocks/skeletoninput.md +1 -0
- package/content/display-blocks/statistic.md +75 -17
- package/content/display-blocks/steps.md +58 -25
- package/content/display-blocks/table.md +2527 -0
- package/content/display-blocks/tablelight.md +621 -0
- package/content/display-blocks/tag.md +102 -17
- package/content/display-blocks/title.md +50 -11
- package/content/display-blocks/tour.md +33 -23
- package/content/input-blocks/autocomplete.md +81 -9
- package/content/input-blocks/buttonselector.md +45 -8
- package/content/input-blocks/captcha.md +40 -0
- package/content/input-blocks/checkboxselector.md +97 -7
- package/content/input-blocks/checkboxswitch.md +33 -3
- package/content/input-blocks/colorselector.md +63 -14
- package/content/input-blocks/daterangeselector.md +165 -45
- package/content/input-blocks/dateselector.md +139 -41
- package/content/input-blocks/datetimeselector.md +158 -49
- package/content/input-blocks/inputgallery.md +3 -3
- package/content/input-blocks/intentinput.md +207 -0
- package/content/input-blocks/monthselector.md +120 -52
- package/content/input-blocks/multipleselector.md +150 -39
- package/content/input-blocks/numberinput.md +98 -12
- package/content/input-blocks/pagination.md +70 -14
- package/content/input-blocks/paragraphinput.md +51 -37
- package/content/input-blocks/passwordinput.md +60 -6
- package/content/input-blocks/phonenumberinput.md +59 -26
- package/content/input-blocks/placesautocomplete.md +319 -0
- package/content/input-blocks/radioselector.md +83 -7
- package/content/input-blocks/ratingslider.md +57 -26
- package/content/input-blocks/s3uploadbutton.md +24 -24
- package/content/input-blocks/s3uploaddragger.md +3 -3
- package/content/input-blocks/s3uploadphoto.md +5 -5
- package/content/input-blocks/segmentedselector.md +72 -32
- package/content/input-blocks/selector.md +109 -21
- package/content/input-blocks/switch.md +65 -17
- package/content/input-blocks/tableinput.md +445 -0
- package/content/input-blocks/tagmultipleselector.md +114 -0
- package/content/input-blocks/tagselector.md +114 -0
- package/content/input-blocks/textarea.md +32 -3
- package/content/input-blocks/textinput.md +70 -29
- package/content/input-blocks/tiptapinput.md +1 -1
- package/content/input-blocks/tiptapmentioninput.md +2 -2
- package/content/input-blocks/titleinput.md +39 -12
- package/content/input-blocks/treeinput.md +49 -25
- package/content/input-blocks/treemultipleselector.md +127 -10
- package/content/input-blocks/treeselector.md +97 -9
- package/content/input-blocks/upload.md +64 -15
- package/content/input-blocks/uploaddragger.md +17 -1
- package/content/input-blocks/uploadphoto.md +18 -1
- package/content/input-blocks/weekselector.md +120 -55
- package/content/learn/introduction.md +27 -0
- package/content/learn/quickstart.md +53 -0
- package/content/learn/showcase.md +8 -0
- package/content/list-blocks/controlledlist.md +24 -15
- package/content/list-blocks/list.md +11 -11
- package/content/list-blocks/masonrylist.md +7 -34
- package/content/migration/auth-upgrade.md +337 -0
- package/content/migration/upgrade-guide.md +1 -0
- package/content/migration/v3-to-v4.md +417 -0
- package/content/migration/v6-to-v7.md +620 -0
- package/content/operators/_agent.md +155 -0
- package/content/operators/_app.md +2 -1
- package/content/operators/_array.md +122 -1
- package/content/operators/_build.md +1 -0
- package/content/operators/_credential.md +57 -0
- package/content/operators/_cron.md +292 -0
- package/content/operators/_date.md +2 -0
- package/content/operators/_error.md +196 -0
- package/content/operators/_get.md +6 -6
- package/content/operators/_hmac.md +78 -0
- package/content/operators/_js.md +2 -1
- package/content/operators/_location.md +1 -1
- package/content/operators/_media.md +13 -0
- package/content/operators/_module.md +56 -2
- package/content/operators/_operator.md +17 -3
- package/content/operators/_path_params.md +82 -0
- package/content/operators/_ref.md +258 -0
- package/content/operators/_request.md +1 -1
- package/content/operators/_request_details.md +6 -0
- package/content/operators/_type.md +14 -3
- package/content/operators/_url_query.md +2 -0
- package/content/operators/_user.md +3 -3
- package/content/plugins/plugins-actions.md +10 -0
- package/content/plugins/plugins-connections.md +25 -0
- package/content/plugins/plugins-dev.md +66 -0
- package/content/plugins/plugins-icon-sets.md +267 -0
- package/content/plugins/plugins-introduction.md +27 -1
- package/content/plugins/plugins.md +19 -0
- package/content/plugins/posthog.md +359 -0
- package/content/provider-reference/auth-js-providers.md +107 -0
- package/content/provider-reference/openidconnectprovider.md +44 -0
- package/content/recipes/recipes.md +16 -0
- package/content/reference/actions-reference.md +31 -0
- package/content/reference/blocks-reference.md +35 -0
- package/content/reference/cli.md +403 -0
- package/content/reference/connections-reference.md +23 -0
- package/content/reference/operators-reference.md +47 -0
- package/content/reference/reference.md +16 -0
- package/content/reference/schema-reference.md +12 -0
- package/content/testing/config-tests.md +677 -0
- package/content/testing/e2e-configuration.md +31 -1
- package/content/testing/e2e-getting-started.md +1 -1
- package/content/testing/e2e-introduction.md +1 -1
- package/content/testing/e2e-writing-tests.md +12 -1
- package/content/testing/explore-pull-request.md +136 -0
- package/content/testing/journey-data-sets.md +326 -0
- package/content/tutorial/tutorial-actions-operators.md +2 -2
- package/content/tutorial/tutorial-add-blocks.md +2 -2
- package/content/tutorial/tutorial-create-page.md +48 -2
- package/content/tutorial/tutorial-display-data-page.md +3 -3
- package/content/tutorial/tutorial-requests-api.md +155 -0
- package/content/tutorial/tutorial-requests-sql.md +153 -0
- package/content/tutorial/tutorial-start.md +66 -1
- package/content/user-authentication/auth-configuration.md +267 -0
- package/content/user-authentication/auth-providers.md +24 -0
- package/content/user-authentication/auth-steps.md +141 -0
- package/content/user-authentication/login-and-logout.md +160 -8
- package/content/user-authentication/mcp-oauth.md +424 -0
- package/content/user-authentication/organizations.md +246 -0
- package/content/user-authentication/protected-pages-apis.md +97 -0
- package/content/user-authentication/roles.md +49 -0
- package/content/user-authentication/two-factor.md +229 -0
- package/content/user-authentication/user-object.md +58 -0
- package/content/user-authentication/users-introduction.md +8 -0
- package/content/websockets/websocket-publish.md +105 -0
- package/content/websockets/websocket-subscriptions.md +136 -0
- package/content/websockets/websockets-introduction.md +101 -0
- package/hazards.json +56 -0
- package/index.json +3472 -14
- package/package.json +10 -1
- package/scripts/extractAgentDocs.js +41 -30
- package/scripts/hashDocSources.js +38 -0
- package/scripts/isRedirectPage.js +26 -0
- package/scripts/recordSourceHashes.js +97 -0
- package/scripts/resolvePageSections.js +42 -0
- package/scripts/sectionKind.js +27 -0
- package/content/concepts/cli.md +0 -223
- package/content/other/introduction.md +0 -39
- package/content/other/next-auth-providers.md +0 -3
- /package/content/{other → actions}/updatesession.md +0 -0
|
@@ -195,6 +195,33 @@ ColorSelector is externally controlled — use an `onMount` event with `SetState
|
|
|
195
195
|
properties:
|
|
196
196
|
mode: gradient
|
|
197
197
|
showText: true
|
|
198
|
+
events:
|
|
199
|
+
onMount:
|
|
200
|
+
- id: set_default
|
|
201
|
+
type: SetState
|
|
202
|
+
params:
|
|
203
|
+
mode_gradient: linear-gradient(90deg, rgb(22,119,255) 0%, rgb(114,46,209) 100%)
|
|
204
|
+
- id: mode_both
|
|
205
|
+
type: ColorSelector
|
|
206
|
+
layout:
|
|
207
|
+
flex: 0 0 auto
|
|
208
|
+
properties:
|
|
209
|
+
mode:
|
|
210
|
+
- single
|
|
211
|
+
- gradient
|
|
212
|
+
showText: true
|
|
213
|
+
- id: mode_gradient_preview
|
|
214
|
+
type: Box
|
|
215
|
+
layout:
|
|
216
|
+
flex: 1 1 auto
|
|
217
|
+
style:
|
|
218
|
+
.element:
|
|
219
|
+
height: 32
|
|
220
|
+
borderRadius: 6
|
|
221
|
+
background:
|
|
222
|
+
_if_none:
|
|
223
|
+
- _state: mode_gradient
|
|
224
|
+
- "#f0f0f0"
|
|
198
225
|
```
|
|
199
226
|
|
|
200
227
|
**Top:**
|
|
@@ -446,7 +473,7 @@ ColorSelector is externally controlled — use an `onMount` event with `SetState
|
|
|
446
473
|
flex: 0 0 auto
|
|
447
474
|
style:
|
|
448
475
|
.element:
|
|
449
|
-
border: 2px solid
|
|
476
|
+
border: "2px solid #1677ff"
|
|
450
477
|
borderRadius: 8px
|
|
451
478
|
properties:
|
|
452
479
|
showText: true
|
|
@@ -464,9 +491,9 @@ ColorSelector is externally controlled — use an `onMount` event with `SetState
|
|
|
464
491
|
type: ColorSelector
|
|
465
492
|
layout:
|
|
466
493
|
flex: 0 0 auto
|
|
494
|
+
class: rounded-lg shadow-sm
|
|
467
495
|
properties:
|
|
468
496
|
showText: true
|
|
469
|
-
class: rounded-lg shadow-sm
|
|
470
497
|
- id: style_large_swatch
|
|
471
498
|
type: ColorSelector
|
|
472
499
|
layout:
|
|
@@ -725,7 +752,7 @@ ColorSelector is externally controlled — use an `onMount` event with `SetState
|
|
|
725
752
|
properties:
|
|
726
753
|
title: Save Theme
|
|
727
754
|
type: primary
|
|
728
|
-
icon:
|
|
755
|
+
icon: save
|
|
729
756
|
events:
|
|
730
757
|
onClick:
|
|
731
758
|
- id: theme_save_action
|
|
@@ -814,7 +841,7 @@ ColorSelector is externally controlled — use an `onMount` event with `SetState
|
|
|
814
841
|
properties:
|
|
815
842
|
title: Add to Cart
|
|
816
843
|
type: primary
|
|
817
|
-
icon:
|
|
844
|
+
icon: ShoppingCart
|
|
818
845
|
events:
|
|
819
846
|
onClick:
|
|
820
847
|
- id: add_to_cart_action
|
|
@@ -834,26 +861,47 @@ ColorSelector is externally controlled — use an `onMount` event with `SetState
|
|
|
834
861
|
| `format` | string | - | Color format. Enum: `rgb`, `hex`, `hsb`. |
|
|
835
862
|
| `showText` | boolean | - | Show color text. |
|
|
836
863
|
| `size` | string | - | Size of the color picker. Enum: `small`, `middle`, `large`. |
|
|
864
|
+
| `label` | object | - | Label properties. |
|
|
865
|
+
| `label.xs` | object | - | Label width on extra small screens (below 576px) when the label is not inline. |
|
|
866
|
+
| `label.xs.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
867
|
+
| `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. |
|
|
868
|
+
| `label.sm.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
869
|
+
| `label.md` | object | - | Label width on medium screens (768px and up) when the label is not inline. Overrides `span`. |
|
|
870
|
+
| `label.md.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
871
|
+
| `label.lg` | object | - | Label width on large screens (992px and up) when the label is not inline. |
|
|
872
|
+
| `label.lg.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
873
|
+
| `label.xl` | object | - | Label width on extra large screens (1200px and up) when the label is not inline. |
|
|
874
|
+
| `label.xl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
875
|
+
| `label.xxl` | object | - | Label width on extra extra large screens (1600px and up) when the label is not inline. |
|
|
876
|
+
| `label.xxl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
877
|
+
| `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
|
|
878
|
+
| `label.colon` | boolean | `true` | Append label with colon. |
|
|
879
|
+
| `label.extra` | string | - | Extra text to display beneath the content - supports html. |
|
|
880
|
+
| `label.title` | string | - | Label title - supports html. |
|
|
881
|
+
| `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. |
|
|
882
|
+
| `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
|
|
883
|
+
| `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`. |
|
|
884
|
+
| `label.tooltip.color` | string | - | Color of the tooltip icon. |
|
|
885
|
+
| `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. |
|
|
886
|
+
| `label.disabled` | boolean | `false` | Hide input label. |
|
|
887
|
+
| `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
|
|
888
|
+
| `label.inline` | boolean | `false` | Render input and label inline. |
|
|
889
|
+
| `label.wrap` | boolean | `false` | Wrap long label text onto multiple lines when the label is inline. Labels above their input always wrap. |
|
|
890
|
+
| `title` | string | - | Title to describe the input component, if no title is specified the block id is displayed - supports html. |
|
|
837
891
|
| `disabled` | boolean | `false` | Disable the color picker. |
|
|
838
892
|
| `allowClear` | boolean | `false` | Allow the user to clear their input. |
|
|
839
893
|
| `arrow` | boolean | `true` | Show arrow on the color picker popup. |
|
|
840
894
|
| `disabledAlpha` | boolean | `false` | Disable the alpha channel slider. |
|
|
841
895
|
| `disabledFormat` | boolean | `false` | Disable the format selector. |
|
|
842
|
-
| `mode` | string |
|
|
896
|
+
| `mode` | string \| array | - | Pick a single color, a gradient, or both with a switch in the panel when set to [single, gradient]. A gradient is stored as a linear-gradient CSS string, eg. "linear-gradient(90deg, rgb(22,119,255) 0%, rgb(114,46,209) 100%)", which can be used directly as a CSS background. |
|
|
843
897
|
| `open` | boolean | - | Controlled open state of the color picker popup. |
|
|
844
898
|
| `placement` | string | - | Placement of the color picker popup. Enum: `top`, `topLeft`, `topRight`, `bottom`, `bottomLeft`, `bottomRight`, `left`, `leftTop`, `leftBottom`, `right`, `rightTop`, `rightBottom`. |
|
|
845
899
|
| `presets` | array | - | Preset color palettes. |
|
|
900
|
+
| `presets.$.label` | string | - | Title of the palette. |
|
|
901
|
+
| `presets.$.colors` | array | - | Colors in the palette. |
|
|
902
|
+
| `presets.$.defaultOpen` | boolean | `true` | Whether the palette is expanded when the popup opens. |
|
|
846
903
|
| `trigger` | string | `"click"` | Trigger mode for the color picker popup. Enum: `hover`, `click`. |
|
|
847
904
|
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design color-picker tokens](https://ant.design/components/color-picker#design-token). |
|
|
848
|
-
| `theme.colorPickerWidth` | number | `234` | Width of the color picker panel. |
|
|
849
|
-
| `theme.colorPickerHandlerSize` | number | `16` | Size of the color picker handler (drag handle). |
|
|
850
|
-
| `theme.colorPickerHandlerSizeSM` | number | `12` | Size of the color picker handler for small size. |
|
|
851
|
-
| `theme.colorPickerSliderHeight` | number | `8` | Height of the color slider bar. |
|
|
852
|
-
| `theme.colorPickerPreviewSize` | number | - | Size of the color preview circle. Defaults to a calculated value based on slider height. |
|
|
853
|
-
| `theme.colorPickerAlphaInputWidth` | number | `44` | Width of the alpha input field. |
|
|
854
|
-
| `theme.colorPickerInputNumberHandleWidth` | number | `16` | Width of the input number handle in the color picker. |
|
|
855
|
-
| `theme.colorPickerPresetColorSize` | number | `24` | Size of preset color swatches. |
|
|
856
|
-
| `theme.colorPickerInsetShadow` | string | - | Inset shadow style for the color picker. |
|
|
857
905
|
| `theme.borderRadius` | number | `6` | Border radius of the color picker trigger. |
|
|
858
906
|
| `theme.colorPrimary` | string | - | Primary color used in the color picker panel. |
|
|
859
907
|
| `theme.colorText` | string | - | Text color in the color picker panel. |
|
|
@@ -880,5 +928,6 @@ ColorSelector is externally controlled — use an `onMount` event with `SetState
|
|
|
880
928
|
| `/label` | The ColorSelector label. |
|
|
881
929
|
| `/extra` | The ColorSelector extra content. |
|
|
882
930
|
| `/feedback` | The ColorSelector validation feedback. |
|
|
931
|
+
| `/popup` | The ColorSelector popup. |
|
|
883
932
|
|
|
884
933
|
No slots defined.
|
|
@@ -41,6 +41,13 @@ Date range picker for selecting start and end dates.
|
|
|
41
41
|
variant: borderless
|
|
42
42
|
label:
|
|
43
43
|
disabled: true
|
|
44
|
+
- id: drs_variant_underlined
|
|
45
|
+
type: DateRangeSelector
|
|
46
|
+
properties:
|
|
47
|
+
title: Underlined
|
|
48
|
+
variant: underlined
|
|
49
|
+
label:
|
|
50
|
+
disabled: true
|
|
44
51
|
```
|
|
45
52
|
|
|
46
53
|
```yaml
|
|
@@ -175,14 +182,14 @@ Date range picker for selecting start and end dates.
|
|
|
175
182
|
type: DateRangeSelector
|
|
176
183
|
properties:
|
|
177
184
|
title: Clock Icon
|
|
178
|
-
suffixIcon:
|
|
185
|
+
suffixIcon: clock
|
|
179
186
|
label:
|
|
180
187
|
disabled: true
|
|
181
188
|
- id: drs_icon_schedule
|
|
182
189
|
type: DateRangeSelector
|
|
183
190
|
properties:
|
|
184
191
|
title: Schedule Icon
|
|
185
|
-
suffixIcon:
|
|
192
|
+
suffixIcon: CalendarDays
|
|
186
193
|
label:
|
|
187
194
|
disabled: true
|
|
188
195
|
- id: drs_icon_custom_color
|
|
@@ -190,7 +197,7 @@ Date range picker for selecting start and end dates.
|
|
|
190
197
|
properties:
|
|
191
198
|
title: Custom Color Icon
|
|
192
199
|
suffixIcon:
|
|
193
|
-
name:
|
|
200
|
+
name: calendar
|
|
194
201
|
color: "#1677ff"
|
|
195
202
|
label:
|
|
196
203
|
disabled: true
|
|
@@ -199,12 +206,72 @@ Date range picker for selecting start and end dates.
|
|
|
199
206
|
properties:
|
|
200
207
|
title: Heart Icon
|
|
201
208
|
suffixIcon:
|
|
202
|
-
name:
|
|
209
|
+
name: heart
|
|
203
210
|
color: "#ff4d4f"
|
|
204
211
|
label:
|
|
205
212
|
disabled: true
|
|
206
213
|
```
|
|
207
214
|
|
|
215
|
+
```yaml
|
|
216
|
+
- id: drs_prefix_icon
|
|
217
|
+
type: DateRangeSelector
|
|
218
|
+
properties:
|
|
219
|
+
title: Prefix Icon
|
|
220
|
+
prefixIcon: clock
|
|
221
|
+
suffixIcon:
|
|
222
|
+
name: calendar
|
|
223
|
+
color: "#8c8c8c"
|
|
224
|
+
- id: drs_prefix_text
|
|
225
|
+
type: DateRangeSelector
|
|
226
|
+
properties:
|
|
227
|
+
title: Prefix Text
|
|
228
|
+
prefix: "From:"
|
|
229
|
+
- id: drs_placement
|
|
230
|
+
type: DateRangeSelector
|
|
231
|
+
properties:
|
|
232
|
+
title: Popup Opens Top Right
|
|
233
|
+
placement: topRight
|
|
234
|
+
- id: drs_read_only
|
|
235
|
+
type: DateRangeSelector
|
|
236
|
+
properties:
|
|
237
|
+
title: Pick From Calendar Only
|
|
238
|
+
inputReadOnly: true
|
|
239
|
+
label:
|
|
240
|
+
extra: The input is read-only, so touch devices do not open the keyboard.
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
```yaml
|
|
244
|
+
- id: drs_open_end
|
|
245
|
+
type: DateRangeSelector
|
|
246
|
+
properties:
|
|
247
|
+
title: Start Date, Optional End
|
|
248
|
+
allowEmpty:
|
|
249
|
+
- false
|
|
250
|
+
- true
|
|
251
|
+
label:
|
|
252
|
+
extra: Leave the end date empty for an ongoing range.
|
|
253
|
+
- id: drs_fixed_start
|
|
254
|
+
type: DateRangeSelector
|
|
255
|
+
properties:
|
|
256
|
+
title: Fixed Start Date
|
|
257
|
+
disabled:
|
|
258
|
+
- true
|
|
259
|
+
- false
|
|
260
|
+
events:
|
|
261
|
+
onMount:
|
|
262
|
+
- id: set_default
|
|
263
|
+
type: SetState
|
|
264
|
+
params:
|
|
265
|
+
drs_fixed_start:
|
|
266
|
+
- _date: 2026-01-01
|
|
267
|
+
- _date: 2026-01-31
|
|
268
|
+
- id: drs_show_week
|
|
269
|
+
type: DateRangeSelector
|
|
270
|
+
properties:
|
|
271
|
+
title: Show Week Numbers
|
|
272
|
+
showWeek: true
|
|
273
|
+
```
|
|
274
|
+
|
|
208
275
|
```yaml
|
|
209
276
|
- id: drs_dis_default
|
|
210
277
|
type: DateRangeSelector
|
|
@@ -584,7 +651,8 @@ Date range picker for selecting start and end dates.
|
|
|
584
651
|
- id: drs_style_element
|
|
585
652
|
type: DateRangeSelector
|
|
586
653
|
style:
|
|
587
|
-
.element:
|
|
654
|
+
.element:
|
|
655
|
+
backgroundColor: var(--ant-color-primary-bg)
|
|
588
656
|
properties:
|
|
589
657
|
title: Custom Background
|
|
590
658
|
label:
|
|
@@ -677,7 +745,7 @@ Date range picker for selecting start and end dates.
|
|
|
677
745
|
format: DD MMMM YYYY
|
|
678
746
|
size: large
|
|
679
747
|
separator: →
|
|
680
|
-
suffixIcon:
|
|
748
|
+
suffixIcon: CalendarDays
|
|
681
749
|
allowClear: true
|
|
682
750
|
label:
|
|
683
751
|
extra: Select your check-in and check-out dates.
|
|
@@ -705,7 +773,7 @@ Date range picker for selecting start and end dates.
|
|
|
705
773
|
- Event end
|
|
706
774
|
format: DD MMM YYYY
|
|
707
775
|
suffixIcon:
|
|
708
|
-
name:
|
|
776
|
+
name: calendar
|
|
709
777
|
color: "#1677ff"
|
|
710
778
|
disabledDates:
|
|
711
779
|
min: 2026-01-01
|
|
@@ -724,7 +792,7 @@ Date range picker for selecting start and end dates.
|
|
|
724
792
|
- Start date
|
|
725
793
|
- End date
|
|
726
794
|
suffixIcon:
|
|
727
|
-
name:
|
|
795
|
+
name: heart
|
|
728
796
|
color: "#eb2f96"
|
|
729
797
|
label:
|
|
730
798
|
disabled: true
|
|
@@ -745,7 +813,7 @@ Date range picker for selecting start and end dates.
|
|
|
745
813
|
variant: outlined
|
|
746
814
|
size: large
|
|
747
815
|
suffixIcon:
|
|
748
|
-
name:
|
|
816
|
+
name: Flag
|
|
749
817
|
color: "#722ed1"
|
|
750
818
|
label:
|
|
751
819
|
extra: Specify the <b>full duration</b> of the contract.
|
|
@@ -805,7 +873,7 @@ Date range picker for selecting start and end dates.
|
|
|
805
873
|
type: Button
|
|
806
874
|
properties:
|
|
807
875
|
title: Generate Report
|
|
808
|
-
icon:
|
|
876
|
+
icon: document
|
|
809
877
|
type: primary
|
|
810
878
|
size: large
|
|
811
879
|
block: true
|
|
@@ -855,7 +923,7 @@ Date range picker for selecting start and end dates.
|
|
|
855
923
|
type: Button
|
|
856
924
|
properties:
|
|
857
925
|
title: Submit Request
|
|
858
|
-
icon:
|
|
926
|
+
icon: send
|
|
859
927
|
type: primary
|
|
860
928
|
size: large
|
|
861
929
|
block: true
|
|
@@ -874,10 +942,11 @@ Date range picker for selecting start and end dates.
|
|
|
874
942
|
| Property | Type | Default | Description |
|
|
875
943
|
| --- | --- | --- | --- |
|
|
876
944
|
| `allowClear` | boolean | `true` | Allow the user to clear their input. |
|
|
945
|
+
| `allowEmpty` | array | `[false,false]` | Allow the start or the end date to be left empty, for an open-ended range. An empty date is null in the block value. |
|
|
877
946
|
| `autoFocus` | boolean | `false` | Autofocus to the block on page load. |
|
|
878
947
|
| `bordered` | boolean | `true` | Deprecated - use variant: 'borderless'. Whether or not the input has a border style. |
|
|
879
|
-
| `disabled` | boolean |
|
|
880
|
-
| `variant` | string | `"outlined"` | Variant style of the input. Use 'borderless' instead of bordered: false. Enum: `outlined`, `filled`, `borderless`. |
|
|
948
|
+
| `disabled` | boolean \| array | - | Disable the block if true. An array of two booleans disables only the start or the end input, eg. [true, false] to fix the start date. A disabled input needs a value, or allowEmpty for that input. |
|
|
949
|
+
| `variant` | string | `"outlined"` | Variant style of the input. Use 'borderless' instead of bordered: false. Enum: `outlined`, `filled`, `borderless`, `underlined`. |
|
|
881
950
|
| `disabledDates` | object | - | Disable specific dates so that they can not be chosen. |
|
|
882
951
|
| `disabledDates.min` | string \| object | - | Disable all dates less than the minimum date. Can be a date string or a _date object. |
|
|
883
952
|
| `disabledDates.max` | string \| object | - | Disable all dates greater than the maximum date. Can be a date string or a _date object. |
|
|
@@ -886,63 +955,113 @@ Date range picker for selecting start and end dates.
|
|
|
886
955
|
| `disabledDates.ranges.$.from` | string \| object | - | Start of the disabled range. |
|
|
887
956
|
| `disabledDates.ranges.$.to` | string \| object | - | End of the disabled range. |
|
|
888
957
|
| `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. |
|
|
958
|
+
| `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. |
|
|
889
959
|
| `label` | object | - | Label properties. |
|
|
960
|
+
| `label.xs` | object | - | Label width on extra small screens (below 576px) when the label is not inline. |
|
|
961
|
+
| `label.xs.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
962
|
+
| `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. |
|
|
963
|
+
| `label.sm.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
964
|
+
| `label.md` | object | - | Label width on medium screens (768px and up) when the label is not inline. Overrides `span`. |
|
|
965
|
+
| `label.md.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
966
|
+
| `label.lg` | object | - | Label width on large screens (992px and up) when the label is not inline. |
|
|
967
|
+
| `label.lg.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
968
|
+
| `label.xl` | object | - | Label width on extra large screens (1200px and up) when the label is not inline. |
|
|
969
|
+
| `label.xl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
970
|
+
| `label.xxl` | object | - | Label width on extra extra large screens (1600px and up) when the label is not inline. |
|
|
971
|
+
| `label.xxl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
890
972
|
| `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
|
|
891
973
|
| `label.colon` | boolean | `true` | Append label with colon. |
|
|
892
974
|
| `label.extra` | string | - | Extra text to display beneath the content - supports html. |
|
|
893
975
|
| `label.title` | string | - | Label title - supports html. |
|
|
894
976
|
| `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. |
|
|
895
977
|
| `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
|
|
896
|
-
| `label.tooltip.icon` | string | `"
|
|
978
|
+
| `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`. |
|
|
897
979
|
| `label.tooltip.color` | string | - | Color of the tooltip icon. |
|
|
898
|
-
| `label.span` | number | - | Label inline
|
|
980
|
+
| `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. |
|
|
899
981
|
| `label.disabled` | boolean | `false` | Hide input label. |
|
|
900
982
|
| `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
|
|
901
983
|
| `label.inline` | boolean | `false` | Render input and label inline. |
|
|
984
|
+
| `label.wrap` | boolean | `false` | Wrap long label text onto multiple lines when the label is inline. Labels above their input always wrap. |
|
|
902
985
|
| `placeholder` | array | - | Placeholder text inside the block before user types input. When unset, antd uses the localized default from ConfigProvider locale. |
|
|
986
|
+
| `placement` | string | `"bottomLeft"` | Position of the calendar popup relative to the input. Enum: `bottomLeft`, `bottomRight`, `topLeft`, `topRight`. |
|
|
987
|
+
| `prefix` | string | - | Prefix text shown before the date in the input, priority over prefixIcon. |
|
|
988
|
+
| `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. |
|
|
989
|
+
| `prefixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
990
|
+
| `prefixIcon.color` | string | - | Icon color. |
|
|
991
|
+
| `prefixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
992
|
+
| `prefixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
993
|
+
| `prefixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
994
|
+
| `prefixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
995
|
+
| `prefixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
996
|
+
| `prefixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
997
|
+
| `prefixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
903
998
|
| `presets` | array | - | Shortcuts listed next to the calendar to quickly select a date range. 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 range that starts or ends on a date disabledDates disables is narrowed to the dates it may select, so a "Last 7 days" shortcut still selects the allowed part of the last 7 days. A shortcut with nothing it may select is listed as disabled. |
|
|
904
999
|
| `presets.$.label` | string | - | Text shown for the shortcut - supports html. |
|
|
905
1000
|
| `presets.$.value` | array | - | The start and end date of the range. 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, {subtract: [7, days]}, {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. |
|
|
906
1001
|
| `separator` | string | `"~"` | Separator symbol shown between start and end date inputs. |
|
|
1002
|
+
| `showWeek` | boolean | `false` | Show the week number of each row in the calendar. |
|
|
907
1003
|
| `size` | string | `"default"` | Size of the block. Enum: `small`, `default`, `large`. |
|
|
908
|
-
| `suffixIcon` | string \| object | `"
|
|
1004
|
+
| `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. |
|
|
1005
|
+
| `suffixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
1006
|
+
| `suffixIcon.color` | string | - | Icon color. |
|
|
1007
|
+
| `suffixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1008
|
+
| `suffixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1009
|
+
| `suffixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1010
|
+
| `suffixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1011
|
+
| `suffixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1012
|
+
| `suffixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1013
|
+
| `suffixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
909
1014
|
| `title` | string | - | Title to describe the input component, if no title is specified the block id is displayed - supports html. |
|
|
910
1015
|
| `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). |
|
|
1016
|
+
| `theme.activeBg` | string | `"#ffffff"` | Background color of the input when the picker is active/focused. |
|
|
1017
|
+
| `theme.activeBorderColor` | string | - | Border color when the picker is active/focused. |
|
|
1018
|
+
| `theme.activeShadow` | string | `"0 0 0 2px rgba(5,145,255,0.1)"` | Shadow effect when the picker is active/focused. |
|
|
1019
|
+
| `theme.borderRadius` | number | `6` | Border radius of the picker input. |
|
|
1020
|
+
| `theme.borderRadiusLG` | number | `8` | Border radius for the large picker and popup panel. |
|
|
1021
|
+
| `theme.borderRadiusSM` | number | `4` | Border radius for the small picker. |
|
|
1022
|
+
| `theme.cellActiveWithRangeBg` | string | `"#e6f4ff"` | Background color of cells within the selected range. |
|
|
1023
|
+
| `theme.cellBgDisabled` | string | `"rgba(0,0,0,0.04)"` | Background color of disabled cells. |
|
|
911
1024
|
| `theme.cellHeight` | number | `24` | Height of a calendar cell. |
|
|
1025
|
+
| `theme.cellHoverBg` | string | `"rgba(0, 0, 0, 0.04)"` | Background color of a calendar cell on hover. |
|
|
1026
|
+
| `theme.cellHoverWithRangeBg` | string | `"#cbe0fd"` | Background color of cells within range on hover. |
|
|
1027
|
+
| `theme.cellRangeBorderColor` | string | `"#82b4f9"` | Border color of range selection cells. |
|
|
912
1028
|
| `theme.cellWidth` | number | `36` | Width of a calendar cell. |
|
|
913
|
-
| `theme.
|
|
914
|
-
| `theme.
|
|
915
|
-
| `theme.
|
|
916
|
-
| `theme.
|
|
917
|
-
| `theme.
|
|
918
|
-
| `theme.
|
|
919
|
-
| `theme.
|
|
1029
|
+
| `theme.colorBgContainer` | string | - | Background color of the picker input. |
|
|
1030
|
+
| `theme.colorBorder` | string | - | Border color of the picker input. |
|
|
1031
|
+
| `theme.colorPrimary` | string | - | Primary color used for the selected date and active states. |
|
|
1032
|
+
| `theme.colorText` | string | - | Text color of the picker input and calendar cells. |
|
|
1033
|
+
| `theme.colorTextPlaceholder` | string | - | Color of the placeholder text. |
|
|
1034
|
+
| `theme.controlHeight` | number | `32` | Height of the picker input. |
|
|
1035
|
+
| `theme.controlHeightLG` | number | `40` | Height of the large picker input. |
|
|
1036
|
+
| `theme.controlHeightSM` | number | `24` | Height of the small picker input. |
|
|
1037
|
+
| `theme.errorActiveShadow` | string | `"0 0 0 2px rgba(255,38,5,0.06)"` | Shadow effect when the picker has error status and is focused. |
|
|
1038
|
+
| `theme.fontSize` | number | `14` | Font size of the picker input. |
|
|
1039
|
+
| `theme.fontSizeLG` | number | `16` | Font size for the large picker. |
|
|
1040
|
+
| `theme.fontSizeSM` | number | `14` | Font size for the small picker. |
|
|
1041
|
+
| `theme.hoverBg` | string | `"#ffffff"` | Background color of the input when hovering over the picker. |
|
|
1042
|
+
| `theme.hoverBorderColor` | string | - | Border color when hovering over the picker. |
|
|
1043
|
+
| `theme.lineWidth` | number | `1` | Border width of the picker input. |
|
|
1044
|
+
| `theme.paddingBlock` | number | `4` | Vertical padding for the default size picker. |
|
|
1045
|
+
| `theme.paddingBlockLG` | number | `7` | Vertical padding for the large size picker. |
|
|
1046
|
+
| `theme.paddingBlockSM` | number | `0` | Vertical padding for the small size picker. |
|
|
1047
|
+
| `theme.paddingInline` | number | `11` | Horizontal padding for the default size picker. |
|
|
1048
|
+
| `theme.paddingInlineLG` | number | `11` | Horizontal padding for the large size picker. |
|
|
1049
|
+
| `theme.paddingInlineSM` | number | `7` | Horizontal padding for the small size picker. |
|
|
1050
|
+
| `theme.presetsMaxWidth` | number | `200` | Maximum width of the presets list next to the calendar. |
|
|
1051
|
+
| `theme.presetsWidth` | number | `120` | Width of the presets list next to the calendar. |
|
|
920
1052
|
| `theme.timeCellHeight` | number | `28` | Height of a time cell in the time panel. |
|
|
921
|
-
| `theme.
|
|
922
|
-
| `theme.
|
|
923
|
-
| `theme.
|
|
924
|
-
| `theme.
|
|
925
|
-
| `theme.
|
|
926
|
-
| `theme.paddingBlockSM` | number | `0` | Vertical padding for small size. |
|
|
927
|
-
| `theme.paddingBlockLG` | number | `7` | Vertical padding for large size. |
|
|
928
|
-
| `theme.paddingInline` | number | `11` | Horizontal padding of the input. |
|
|
929
|
-
| `theme.paddingInlineSM` | number | `7` | Horizontal padding for small size. |
|
|
930
|
-
| `theme.paddingInlineLG` | number | `11` | Horizontal padding for large size. |
|
|
931
|
-
| `theme.zIndexPopup` | number | `1050` | Z-index of the picker popup. |
|
|
932
|
-
| `theme.borderRadius` | number | `6` | Border radius of the input. |
|
|
933
|
-
| `theme.controlHeight` | number | `32` | Height of the input. |
|
|
934
|
-
| `theme.controlHeightLG` | number | `40` | Height for large size. |
|
|
935
|
-
| `theme.controlHeightSM` | number | `24` | Height for small size. |
|
|
936
|
-
| `theme.fontSize` | number | `14` | Font size. |
|
|
937
|
-
| `theme.lineWidth` | number | `1` | Border width. |
|
|
938
|
-
| `theme.colorPrimary` | string | - | Primary color override. |
|
|
939
|
-
| `theme.colorBgContainer` | string | - | Background color of the input. |
|
|
940
|
-
| `theme.colorText` | string | - | Text color. |
|
|
941
|
-
| `theme.colorBorder` | string | - | Border color. |
|
|
942
|
-
| `theme.colorTextPlaceholder` | string | - | Placeholder text color. |
|
|
1053
|
+
| `theme.timeColumnHeight` | number | `224` | Height of the time panel column. |
|
|
1054
|
+
| `theme.timeColumnWidth` | number | `56` | Width of the time panel column. |
|
|
1055
|
+
| `theme.warningActiveShadow` | string | `"0 0 0 2px rgba(255,215,5,0.1)"` | Shadow effect when the picker has warning status and is focused. |
|
|
1056
|
+
| `theme.withoutTimeCellHeight` | number | `66` | Height of the cells of the month, week, quarter, year and decade panels. |
|
|
1057
|
+
| `theme.zIndexPopup` | number | `1050` | Z-index of the picker popup layer. |
|
|
943
1058
|
|
|
944
1059
|
| Event | Event Data | Description |
|
|
945
1060
|
| --- | --- | --- |
|
|
1061
|
+
| `onBlur` | `{ range }` | Trigger actions when the picker loses focus. |
|
|
1062
|
+
| `onClear` | \- | Trigger actions when the clear button is clicked. |
|
|
1063
|
+
| `onFocus` | `{ range }` | Trigger actions when the picker gets focus. |
|
|
1064
|
+
| `onOpenChange` | `{ open }` | Trigger actions when the calendar popup opens or closes. |
|
|
946
1065
|
| `onChange` | `{ value }` | Trigger actions when selection is changed. |
|
|
947
1066
|
| `onTooltipClick` | \- | Trigger actions when the tooltip icon is clicked. |
|
|
948
1067
|
|
|
@@ -954,6 +1073,7 @@ Date range picker for selecting start and end dates.
|
|
|
954
1073
|
| `/extra` | The DateRangeSelector extra content. |
|
|
955
1074
|
| `/feedback` | The DateRangeSelector validation feedback. |
|
|
956
1075
|
| `/popup` | The DateRangeSelector popup. |
|
|
1076
|
+
| `/prefixIcon` | The prefix icon in the DateRangeSelector. |
|
|
957
1077
|
| `/suffixIcon` | The suffix icon in the DateRangeSelector. |
|
|
958
1078
|
|
|
959
1079
|
No slots defined.
|