allowInput
説明
If true, allows input.
タイプ
booleanデフォルト
trueYamada UIにスターをあげる
スターRangeDatePickerは、ユーザーが日付を範囲選択するために使用されるコンポーネントです。
説明
If true, allows input.
タイプ
booleanデフォルト
true説明
If true, allows input of dates beyond the minDate and maxDate restrictions.
タイプ
booleanデフォルト
true説明
The number of months to display.
タイプ
numberデフォルト
1説明
The animation of the popover.
タイプ
"bottom" | "left" | "right" | "scale" | "top" | "none"デフォルト
'scale'説明
The boundary area for the popper. Used within the preventOverflow modifier.
タイプ
HTMLElement | "clippingParents" | "scrollParent"デフォルト
'clippingParents'説明
ColorScheme for the calendar component.
タイプ
ThemeColorScheme説明
Props for calendar component.
タイプ
CalendarBaseProps説明
Size for the calendar component.
タイプ
UIValue<"lg" | "md" | "sm" | ({} & string) | "full">説明
Variant for the calendar component.
タイプ
UIValue<({} & string) | "solid" | "subtle" | "unstyled">説明
If true, display the month picker clear icon.
タイプ
booleanデフォルト
true説明
Props for date picker clear icon element.
タイプ
DatePickerIconProps説明
The number of delay time to close.
タイプ
numberデフォルト
200説明
If true, the popover will close when you blur out it by clicking outside or tabbing out.
タイプ
booleanデフォルト
true説明
If true, the popover will close when you hit the Esc key.
タイプ
booleanデフォルト
true説明
If true, the list element will be closed when value is selected.
タイプ
booleanデフォルト
true説明
The visual color appearance of the component.
タイプ
"blackAlpha" | "whiteAlpha" | "amber" | "blue" | "info" | "link" | "primary" | "cyan" | "emerald" | "flashy" | "fuchsia" | "gray" | "green" | "success" | "indigo" | "lime" | "neutral" | "orange" | "warning" | "pink" | "purple" | "red" | "danger" | "rose" | "sky" | "teal" | "violet" | "secondary" | "yellow"説明
Props for date picker container element.
タイプ
Omit<HTMLUIProps, "children">説明
Props for date picker container element.
タイプ
Omit<MotionProps, "children">説明
The format used for conversion. Check the docs to see the format of possible modifiers you can pass.
タイプ
stringデフォルト
'MMMM YYYY'ドキュメント
https://day.js.org/docs/en/display/format#list-of-localized-formats説明
If true, the popover will be initially opened.
非推奨
Use defaultOpen instead
タイプ
boolean説明
The initial month of the calendar.
タイプ
Dateデフォルト
'new Date()'説明
If true, the popover will be initially opened.
タイプ
boolean説明
The initial type of the calendar.
タイプ
"month" | "date" | "year"説明
The initial value of the calendar.
タイプ
[(Date | undefined)?, (Date | undefined)?]説明
If true, the form control will be disabled.
タイプ
booleanデフォルト
false説明
If true, outside days will be disabled.
タイプ
booleanデフォルト
false説明
The animation duration.
タイプ
number | MotionLifecycleProps<number>説明
Props for date picker end input element.
タイプ
HTMLUIProps<"input">説明
The end date placeholder
タイプ
string説明
The border color when the input is invalid.
タイプ
string説明
If provided, determines whether the popper will reposition itself on scroll and resize of the window.
タイプ
type ONLY_FOR_FORMAT =
| boolean
| { resize?: boolean | undefined; scroll?: boolean | undefined }デフォルト
true説明
Callback function to determine whether the day should be disabled.
タイプ
(date: Date) => boolean説明
Props for date picker field element.
タイプ
Omit<HTMLUIProps, "children">説明
Define the first day of the week.
タイプ
"monday" | "sunday"デフォルト
'monday'説明
If true, the popper will change its placement and flip when it's about to overflow its boundary area.
タイプ
booleanデフォルト
true説明
The border color when the input is focused.
タイプ
string説明
The distance or margin between the reference and popper.
It is used internally to create an offset modifier.
タイプ
UIValue<number>デフォルト
8説明
Define holidays.
タイプ
Date[]説明
Props for date picker icon element.
タイプ
DatePickerIconProps説明
The format used for conversion. Check the docs to see the format of possible modifiers you can pass.
タイプ
stringデフォルト
'YYYY/MM/DD'ドキュメント
https://day.js.org/docs/en/display/format#list-of-localized-formats説明
If true, the form control will be invalid.
タイプ
booleanデフォルト
false説明
If true, display the date picker clear icon.
非推奨
Use clearable instead.
タイプ
booleanデフォルト
true説明
If true, the form control will be disabled.
非推奨
Use disabled instead.
タイプ
booleanデフォルト
false説明
If true, the form control will be invalid.
非推奨
Use invalid instead.
タイプ
booleanデフォルト
false説明
If true, the PopoverContent rendering will be deferred until the popover is open.
非推奨
Use lazy instead
タイプ
booleanデフォルト
false説明
If true, the popover will be opened.
非推奨
Use open instead
タイプ
boolean説明
If true, the form control will be readonly.
非推奨
Use readOnly instead.
タイプ
booleanデフォルト
false説明
If true, the form control will be required.
非推奨
Use required instead.
タイプ
booleanデフォルト
false説明
If true, the PopoverContent rendering will be deferred until the popover is open.
タイプ
booleanデフォルト
false説明
The lazy behavior of popover's content when not visible. Only works when lazy={true}
- unmount: The popover's content is always unmounted when not open.
- keepMounted: The popover's content initially unmounted, but stays mounted when popover is open.
タイプ
LazyModeデフォルト
'unmount'説明
The locale of the calendar. Check the docs to see the locale of possible modifiers you can pass.
タイプ
stringデフォルト
'en-US'ドキュメント
https://day.js.org/docs/en/i18n/instance-locale説明
If true, the popper will match the width of the reference at all times.
It's useful for autocomplete, date-picker and select patterns.
タイプ
booleanデフォルト
false説明
The maximum possible date.
タイプ
Date説明
The maximum selectable value.
タイプ
number説明
The minimum possible date.
タイプ
Date説明
The minimum selectable value.
タイプ
number説明
Array of popper.js modifiers. Check the docs to see the list of possible modifiers you can pass.
タイプ
Partial<Modifier<string, any>>[]ドキュメント
https://popper.js.org/docs/v2/modifiers/説明
The month of the calendar.
タイプ
Date説明
The format used for conversion. Check the docs to see the format of possible modifiers you can pass.
タイプ
stringデフォルト
'MM'ドキュメント
https://day.js.org/docs/en/display/format#list-of-localized-formats説明
The main and cross-axis offset to displace popper element from its reference element.
タイプ
[number, number]説明
The callback invoked when value state changes.
タイプ
(
value: [(Date | undefined)?, (Date | undefined)?],
) => void説明
The callback invoked when month state changes.
タイプ
(value: Date) => void説明
The callback invoked when type state changes.
タイプ
(
type: "month" | "date" | "year",
year?: number | undefined,
month?: number | undefined,
) => void説明
Callback fired when the popover closes.
タイプ
() => void説明
Callback fired when the popover opens.
タイプ
() => void説明
If true, the popover will be opened.
タイプ
boolean説明
The number of delay time to open.
タイプ
numberデフォルト
200説明
The number of months to paginate.
タイプ
numberデフォルト
1説明
Function that converts the input value to Date type.
タイプ
(value: string) => Date | undefined説明
The pattern used to check the input element.
タイプ
RegExpデフォルト
'/[^0-9-/]/g'説明
The placement of the popper relative to its reference.
タイプ
UIValue<Placement>デフォルト
'bottom'説明
Props to be forwarded to the portal component.
タイプ
Omit<PortalProps, "children">デフォルト
'{ disabled: true }'説明
If true, will prevent the popper from being cut off and ensure it's visible within the boundary area.
タイプ
booleanデフォルト
true説明
If true, the form control will be readonly.
タイプ
booleanデフォルト
false説明
If true, the form control will be required.
タイプ
booleanデフォルト
false説明
The visual separator between each value.
タイプ
stringデフォルト
'-'説明
The size of the RangeDatePicker.
タイプ
"xs" | "sm" | "md" | "lg" | "xl"デフォルト
"md"説明
Props for date picker start input element.
タイプ
HTMLUIProps<"input">説明
The start date placeholder
タイプ
string説明
The CSS positioning strategy to use.
タイプ
"absolute" | "fixed"デフォルト
'absolute'説明
If true, highlight today.
タイプ
booleanデフォルト
false説明
The type of the calendar.
タイプ
"month" | "date" | "year"説明
The value of the calendar.
タイプ
[(Date | undefined)?, (Date | undefined)?]説明
The variant of the RangeDatePicker.
タイプ
"filled" | "flushed" | "outline" | "unstyled"デフォルト
"outline"説明
The format used for conversion. Check the docs to see the format of possible modifiers you can pass.
タイプ
stringデフォルト
'dd'ドキュメント
https://day.js.org/docs/en/display/format#list-of-localized-formats説明
Define weekend days.
タイプ
number[]デフォルト
'[0, 6]'説明
If true, display the calendar control buttons.
タイプ
booleanデフォルト
true説明
If true, display the calendar header.
タイプ
booleanデフォルト
true説明
If true, display the calendar label button.
タイプ
booleanデフォルト
true説明
If true, display the calendar weekdays.
タイプ
booleanデフォルト
true説明
The format used for conversion. Check the docs to see the format of possible modifiers you can pass.
タイプ
stringデフォルト
'YYYY'ドキュメント
https://day.js.org/docs/en/display/format#list-of-localized-formatsGitHubでこのページを編集する