@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
|
@@ -41,13 +41,6 @@ Month picker for selecting year and month.
|
|
|
41
41
|
variant: borderless
|
|
42
42
|
label:
|
|
43
43
|
disabled: true
|
|
44
|
-
- id: month_variant_underlined
|
|
45
|
-
type: MonthSelector
|
|
46
|
-
properties:
|
|
47
|
-
title: Underlined
|
|
48
|
-
variant: underlined
|
|
49
|
-
label:
|
|
50
|
-
disabled: true
|
|
51
44
|
```
|
|
52
45
|
|
|
53
46
|
```yaml
|
|
@@ -137,31 +130,20 @@ Month picker for selecting year and month.
|
|
|
137
130
|
```
|
|
138
131
|
|
|
139
132
|
```yaml
|
|
140
|
-
- id:
|
|
141
|
-
type: MonthSelector
|
|
142
|
-
properties:
|
|
143
|
-
title: Prefix Icon
|
|
144
|
-
prefixIcon: clock
|
|
145
|
-
suffixIcon:
|
|
146
|
-
name: calendar
|
|
147
|
-
color: "#8c8c8c"
|
|
148
|
-
- id: month_prefix_text
|
|
133
|
+
- id: month_today_enabled
|
|
149
134
|
type: MonthSelector
|
|
150
135
|
properties:
|
|
151
|
-
title:
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
title: Popup Opens Top Right
|
|
157
|
-
placement: topRight
|
|
158
|
-
- id: month_read_only
|
|
136
|
+
title: Show Today (default)
|
|
137
|
+
showToday: true
|
|
138
|
+
label:
|
|
139
|
+
disabled: true
|
|
140
|
+
- id: month_today_disabled
|
|
159
141
|
type: MonthSelector
|
|
160
142
|
properties:
|
|
161
|
-
title:
|
|
162
|
-
|
|
143
|
+
title: No Today Button
|
|
144
|
+
showToday: false
|
|
163
145
|
label:
|
|
164
|
-
|
|
146
|
+
disabled: true
|
|
165
147
|
```
|
|
166
148
|
|
|
167
149
|
```yaml
|
|
@@ -175,14 +157,14 @@ Month picker for selecting year and month.
|
|
|
175
157
|
type: MonthSelector
|
|
176
158
|
properties:
|
|
177
159
|
title: Clock Icon
|
|
178
|
-
suffixIcon:
|
|
160
|
+
suffixIcon: AiOutlineClockCircle
|
|
179
161
|
label:
|
|
180
162
|
disabled: true
|
|
181
163
|
- id: month_icon_schedule
|
|
182
164
|
type: MonthSelector
|
|
183
165
|
properties:
|
|
184
166
|
title: Schedule Icon
|
|
185
|
-
suffixIcon:
|
|
167
|
+
suffixIcon: AiOutlineSchedule
|
|
186
168
|
label:
|
|
187
169
|
disabled: true
|
|
188
170
|
- id: month_icon_custom_color
|
|
@@ -190,7 +172,7 @@ Month picker for selecting year and month.
|
|
|
190
172
|
properties:
|
|
191
173
|
title: Custom Color Icon
|
|
192
174
|
suffixIcon:
|
|
193
|
-
name:
|
|
175
|
+
name: AiOutlineCalendar
|
|
194
176
|
color: "#1677ff"
|
|
195
177
|
label:
|
|
196
178
|
disabled: true
|
|
@@ -199,7 +181,7 @@ Month picker for selecting year and month.
|
|
|
199
181
|
properties:
|
|
200
182
|
title: Heart Icon
|
|
201
183
|
suffixIcon:
|
|
202
|
-
name:
|
|
184
|
+
name: AiOutlineHeart
|
|
203
185
|
color: "#ff4d4f"
|
|
204
186
|
label:
|
|
205
187
|
disabled: true
|
|
@@ -453,8 +435,7 @@ Month picker for selecting year and month.
|
|
|
453
435
|
- id: month_style_element
|
|
454
436
|
type: MonthSelector
|
|
455
437
|
style:
|
|
456
|
-
.element:
|
|
457
|
-
backgroundColor: var(--ant-color-primary-bg)
|
|
438
|
+
.element: null
|
|
458
439
|
properties:
|
|
459
440
|
title: Custom Background
|
|
460
441
|
label:
|
|
@@ -539,7 +520,7 @@ Month picker for selecting year and month.
|
|
|
539
520
|
placeholder: Select billing month
|
|
540
521
|
format: MMMM YYYY
|
|
541
522
|
size: large
|
|
542
|
-
suffixIcon:
|
|
523
|
+
suffixIcon: AiOutlineSchedule
|
|
543
524
|
showToday: true
|
|
544
525
|
allowClear: true
|
|
545
526
|
label:
|
|
@@ -564,7 +545,7 @@ Month picker for selecting year and month.
|
|
|
564
545
|
placeholder: Select fiscal month
|
|
565
546
|
format: MMM YYYY
|
|
566
547
|
suffixIcon:
|
|
567
|
-
name:
|
|
548
|
+
name: AiOutlineCalendar
|
|
568
549
|
color: "#1677ff"
|
|
569
550
|
disabledDates:
|
|
570
551
|
min: 2026-01-01
|
|
@@ -580,7 +561,7 @@ Month picker for selecting year and month.
|
|
|
580
561
|
format: MMMM YYYY
|
|
581
562
|
placeholder: Choose a special month...
|
|
582
563
|
suffixIcon:
|
|
583
|
-
name:
|
|
564
|
+
name: AiOutlineHeart
|
|
584
565
|
color: "#eb2f96"
|
|
585
566
|
label:
|
|
586
567
|
disabled: true
|
|
@@ -604,7 +585,7 @@ Month picker for selecting year and month.
|
|
|
604
585
|
placeholder: Select month
|
|
605
586
|
format: MMMM YYYY
|
|
606
587
|
size: large
|
|
607
|
-
suffixIcon:
|
|
588
|
+
suffixIcon: AiOutlineCalendar
|
|
608
589
|
label:
|
|
609
590
|
extra: Choose the month for this budget entry.
|
|
610
591
|
- id: applied2_budget_category
|
|
@@ -630,14 +611,14 @@ Month picker for selecting year and month.
|
|
|
630
611
|
properties:
|
|
631
612
|
title: Amount
|
|
632
613
|
placeholder: Enter amount
|
|
633
|
-
prefixIcon:
|
|
614
|
+
prefixIcon: AiOutlineDollar
|
|
634
615
|
label:
|
|
635
616
|
extra: Enter the budgeted amount for this category.
|
|
636
617
|
- id: applied2_budget_save_btn
|
|
637
618
|
type: Button
|
|
638
619
|
properties:
|
|
639
620
|
title: Save Budget Entry
|
|
640
|
-
icon:
|
|
621
|
+
icon: AiOutlineSave
|
|
641
622
|
type: primary
|
|
642
623
|
size: large
|
|
643
624
|
block: true
|
|
@@ -663,7 +644,7 @@ Month picker for selecting year and month.
|
|
|
663
644
|
placeholder: Select start month
|
|
664
645
|
format: MMMM YYYY
|
|
665
646
|
size: large
|
|
666
|
-
suffixIcon:
|
|
647
|
+
suffixIcon: AiOutlineCalendar
|
|
667
648
|
label:
|
|
668
649
|
extra: Choose when the subscription billing begins.
|
|
669
650
|
disabledDates:
|
|
@@ -690,7 +671,7 @@ Month picker for selecting year and month.
|
|
|
690
671
|
type: Button
|
|
691
672
|
properties:
|
|
692
673
|
title: Confirm Subscription
|
|
693
|
-
icon:
|
|
674
|
+
icon: AiOutlineCreditCard
|
|
694
675
|
type: primary
|
|
695
676
|
size: large
|
|
696
677
|
block: true
|
|
@@ -709,7 +690,7 @@ Month picker for selecting year and month.
|
|
|
709
690
|
| `autoFocus` | boolean | `false` | Autofocus to the block on page load. |
|
|
710
691
|
| `bordered` | boolean | `true` | Deprecated - use variant: 'borderless'. Whether or not the input has a border style. |
|
|
711
692
|
| `disabled` | boolean | `false` | Disable the block if true. |
|
|
712
|
-
| `variant` | string | `"outlined"` | Variant style of the input. Use 'borderless' instead of bordered: false. Enum: `outlined`, `filled`, `borderless
|
|
693
|
+
| `variant` | string | `"outlined"` | Variant style of the input. Use 'borderless' instead of bordered: false. Enum: `outlined`, `filled`, `borderless`. |
|
|
713
694
|
| `disabledDates` | object | - | Disable specific dates so that they can not be chosen. |
|
|
714
695
|
| `disabledDates.min` | string \| object | - | Disable all dates less than the minimum date. Can be a date string or a _date object. |
|
|
715
696
|
| `disabledDates.max` | string \| object | - | Disable all dates greater than the maximum date. Can be a date string or a _date object. |
|
|
@@ -718,112 +699,64 @@ Month picker for selecting year and month.
|
|
|
718
699
|
| `disabledDates.ranges.$.from` | string \| object | - | Start of the disabled range. |
|
|
719
700
|
| `disabledDates.ranges.$.to` | string \| object | - | End of the disabled range. |
|
|
720
701
|
| `format` | string | - | Format in which to format the date value, eg. "MMMM YYYY" will format a date value of 1999-12-31 as "December 1999". The format has to conform to dayjs formats. Defaults to the active locale's month format, or "YYYY-MM" when no locale is configured. |
|
|
721
|
-
| `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. |
|
|
722
702
|
| `placeholder` | string | - | Placeholder text inside the block before user types input. |
|
|
723
|
-
| `placement` | string | `"bottomLeft"` | Position of the calendar popup relative to the input. Enum: `bottomLeft`, `bottomRight`, `topLeft`, `topRight`. |
|
|
724
|
-
| `prefix` | string | - | Prefix text shown before the date in the input, priority over prefixIcon. |
|
|
725
|
-
| `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. |
|
|
726
|
-
| `prefixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
727
|
-
| `prefixIcon.color` | string | - | Icon color. |
|
|
728
|
-
| `prefixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
729
|
-
| `prefixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
730
|
-
| `prefixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
731
|
-
| `prefixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
732
|
-
| `prefixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
733
|
-
| `prefixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
734
|
-
| `prefixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
735
703
|
| `presets` | array | - | Shortcuts listed next to the calendar to quickly select a month. 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. |
|
|
736
704
|
| `presets.$.label` | string | - | Text shown for the shortcut - supports html. |
|
|
737
705
|
| `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 month 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: month}, {format: YYYY-MM-DD}]". Without the format step the chain resolves to an instant, which can select the month before or after the current one, depending on the browser timezone and the time of day. |
|
|
738
|
-
| `showToday` | boolean | `true` |
|
|
706
|
+
| `showToday` | boolean | `true` | Shows a button to easily select the current date if true. |
|
|
739
707
|
| `size` | string | `"default"` | Size of the block. Enum: `small`, `default`, `large`. |
|
|
740
|
-
| `suffixIcon` | string \| object | `"
|
|
741
|
-
| `suffixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
742
|
-
| `suffixIcon.color` | string | - | Icon color. |
|
|
743
|
-
| `suffixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
744
|
-
| `suffixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
745
|
-
| `suffixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
746
|
-
| `suffixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
747
|
-
| `suffixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
748
|
-
| `suffixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
749
|
-
| `suffixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
708
|
+
| `suffixIcon` | string \| object | `"AiOutlineCalendar"` | Name of an React-Icon (See all icons) or properties of an Icon block to customize icon on right-hand side of the date picker. |
|
|
750
709
|
| `label` | object | - | Label properties. |
|
|
751
|
-
| `label.xs` | object | - | Label width on extra small screens (below 576px) when the label is not inline. |
|
|
752
|
-
| `label.xs.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
753
|
-
| `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. |
|
|
754
|
-
| `label.sm.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
755
|
-
| `label.md` | object | - | Label width on medium screens (768px and up) when the label is not inline. Overrides `span`. |
|
|
756
|
-
| `label.md.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
757
|
-
| `label.lg` | object | - | Label width on large screens (992px and up) when the label is not inline. |
|
|
758
|
-
| `label.lg.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
759
|
-
| `label.xl` | object | - | Label width on extra large screens (1200px and up) when the label is not inline. |
|
|
760
|
-
| `label.xl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
761
|
-
| `label.xxl` | object | - | Label width on extra extra large screens (1600px and up) when the label is not inline. |
|
|
762
|
-
| `label.xxl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
763
710
|
| `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
|
|
764
711
|
| `label.colon` | boolean | `true` | Append label with colon. |
|
|
765
712
|
| `label.extra` | string | - | Extra text to display beneath the content - supports html. |
|
|
766
713
|
| `label.title` | string | - | Label title - supports html. |
|
|
767
714
|
| `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. |
|
|
768
715
|
| `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
|
|
769
|
-
| `label.tooltip.icon` | string | `"
|
|
716
|
+
| `label.tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
|
|
770
717
|
| `label.tooltip.color` | string | - | Color of the tooltip icon. |
|
|
771
|
-
| `label.span` | number | - | Label
|
|
718
|
+
| `label.span` | number | - | Label inline span. |
|
|
772
719
|
| `label.disabled` | boolean | `false` | Hide input label. |
|
|
773
720
|
| `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
|
|
774
721
|
| `label.inline` | boolean | `false` | Render input and label inline. |
|
|
775
|
-
| `label.wrap` | boolean | `false` | Wrap long label text onto multiple lines when the label is inline. Labels above their input always wrap. |
|
|
776
722
|
| `title` | string | - | Month selector label title - supports html. |
|
|
777
723
|
| `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). |
|
|
778
|
-
| `theme.activeBg` | string | `"#ffffff"` | Background color of the input when the picker is active/focused. |
|
|
779
724
|
| `theme.activeBorderColor` | string | - | Border color when the picker is active/focused. |
|
|
780
|
-
| `theme.activeShadow` | string |
|
|
781
|
-
| `theme.
|
|
782
|
-
| `theme.borderRadiusLG` | number | `8` | Border radius for the large picker and popup panel. |
|
|
783
|
-
| `theme.borderRadiusSM` | number | `4` | Border radius for the small picker. |
|
|
784
|
-
| `theme.cellActiveWithRangeBg` | string | `"#e6f4ff"` | Background color of cells within the selected range. |
|
|
785
|
-
| `theme.cellBgDisabled` | string | `"rgba(0,0,0,0.04)"` | Background color of disabled cells. |
|
|
725
|
+
| `theme.activeShadow` | string | - | Shadow effect when the picker is active/focused. |
|
|
726
|
+
| `theme.hoverBorderColor` | string | - | Border color when hovering over the picker. |
|
|
786
727
|
| `theme.cellHeight` | number | `24` | Height of a calendar cell. |
|
|
787
|
-
| `theme.cellHoverBg` | string | `"rgba(0, 0, 0, 0.04)"` | Background color of a calendar cell on hover. |
|
|
788
|
-
| `theme.cellHoverWithRangeBg` | string | `"#cbe0fd"` | Background color of cells within range on hover. |
|
|
789
|
-
| `theme.cellRangeBorderColor` | string | `"#82b4f9"` | Border color of range selection cells. |
|
|
790
728
|
| `theme.cellWidth` | number | `36` | Width of a calendar cell. |
|
|
791
|
-
| `theme.
|
|
792
|
-
| `theme.
|
|
793
|
-
| `theme.
|
|
794
|
-
| `theme.
|
|
795
|
-
| `theme.
|
|
729
|
+
| `theme.cellHoverBg` | string | `"rgba(0, 0, 0, 0.04)"` | Background color of a calendar cell on hover. |
|
|
730
|
+
| `theme.cellActiveWithRangeBg` | string | `"#e6f4ff"` | Background color of active cell within a range selection. |
|
|
731
|
+
| `theme.cellHoverWithRangeBg` | string | - | Background color of cells within range on hover. |
|
|
732
|
+
| `theme.cellBgDisabled` | string | - | Background color of disabled cells. |
|
|
733
|
+
| `theme.cellRangeBorderColor` | string | - | Border color of range selection cells. |
|
|
734
|
+
| `theme.addonBg` | string | `"rgba(0, 0, 0, 0.02)"` | Background color of the footer addon area. |
|
|
735
|
+
| `theme.zIndexPopup` | number | `1050` | Z-index of the picker popup layer. |
|
|
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. |
|
|
742
|
+
| `theme.borderRadius` | number | `6` | Border radius of the picker input. |
|
|
743
|
+
| `theme.borderRadiusSM` | number | `4` | Border radius for the small picker. |
|
|
744
|
+
| `theme.borderRadiusLG` | number | `8` | Border radius for the large picker and popup panel. |
|
|
796
745
|
| `theme.controlHeight` | number | `32` | Height of the picker input. |
|
|
797
|
-
| `theme.controlHeightLG` | number | `40` | Height of the large picker input. |
|
|
798
746
|
| `theme.controlHeightSM` | number | `24` | Height of the small picker input. |
|
|
799
|
-
| `theme.
|
|
747
|
+
| `theme.controlHeightLG` | number | `40` | Height of the large picker input. |
|
|
800
748
|
| `theme.fontSize` | number | `14` | Font size of the picker input. |
|
|
801
|
-
| `theme.fontSizeLG` | number | `16` | Font size for the large picker. |
|
|
802
749
|
| `theme.fontSizeSM` | number | `14` | Font size for the small picker. |
|
|
803
|
-
| `theme.
|
|
804
|
-
| `theme.hoverBorderColor` | string | - | Border color when hovering over the picker. |
|
|
750
|
+
| `theme.fontSizeLG` | number | `16` | Font size for the large picker. |
|
|
805
751
|
| `theme.lineWidth` | number | `1` | Border width of the picker input. |
|
|
806
|
-
| `theme.
|
|
807
|
-
| `theme.
|
|
808
|
-
| `theme.
|
|
809
|
-
| `theme.
|
|
810
|
-
| `theme.
|
|
811
|
-
| `theme.paddingInlineSM` | number | `7` | Horizontal padding for the small size picker. |
|
|
812
|
-
| `theme.presetsMaxWidth` | number | `200` | Maximum width of the presets list next to the calendar. |
|
|
813
|
-
| `theme.presetsWidth` | number | `120` | Width of the presets list next to the calendar. |
|
|
814
|
-
| `theme.timeCellHeight` | number | `28` | Height of a time cell in the time panel. |
|
|
815
|
-
| `theme.timeColumnHeight` | number | `224` | Height of the time panel column. |
|
|
816
|
-
| `theme.timeColumnWidth` | number | `56` | Width of the time panel column. |
|
|
817
|
-
| `theme.warningActiveShadow` | string | `"0 0 0 2px rgba(255,215,5,0.1)"` | Shadow effect when the picker has warning status and is focused. |
|
|
818
|
-
| `theme.withoutTimeCellHeight` | number | `66` | Height of the cells of the month, week, quarter, year and decade panels. |
|
|
819
|
-
| `theme.zIndexPopup` | number | `1050` | Z-index of the picker popup layer. |
|
|
752
|
+
| `theme.colorPrimary` | string | - | Primary color used for selected month and active states. |
|
|
753
|
+
| `theme.colorBgContainer` | string | - | Background color of the picker input. |
|
|
754
|
+
| `theme.colorText` | string | - | Text color of the picker input and calendar cells. |
|
|
755
|
+
| `theme.colorBorder` | string | - | Border color of the picker input. |
|
|
756
|
+
| `theme.colorTextPlaceholder` | string | - | Color of the placeholder text. |
|
|
820
757
|
|
|
821
758
|
| Event | Event Data | Description |
|
|
822
759
|
| --- | --- | --- |
|
|
823
|
-
| `onBlur` | \- | Trigger actions when the picker loses focus. |
|
|
824
|
-
| `onClear` | \- | Trigger actions when the clear button is clicked. |
|
|
825
|
-
| `onFocus` | \- | Trigger actions when the picker gets focus. |
|
|
826
|
-
| `onOpenChange` | `{ open }` | Trigger actions when the calendar popup opens or closes. |
|
|
827
760
|
| `onChange` | `{ value }` | Trigger actions when selection is changed. |
|
|
828
761
|
| `onTooltipClick` | \- | Trigger actions when the tooltip icon is clicked. |
|
|
829
762
|
|
|
@@ -835,7 +768,6 @@ Month picker for selecting year and month.
|
|
|
835
768
|
| `/extra` | The MonthSelector extra content. |
|
|
836
769
|
| `/feedback` | The MonthSelector validation feedback. |
|
|
837
770
|
| `/popup` | The MonthSelector popup. |
|
|
838
|
-
| `/prefixIcon` | The prefix icon in the MonthSelector. |
|
|
839
771
|
| `/suffixIcon` | The suffix icon in the MonthSelector. |
|
|
840
772
|
|
|
841
773
|
No slots defined.
|