rsuite 5.71.0 → 5.73.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/Accordion/styles/index.css +20 -6
- package/Animation/styles/collapse.less +2 -1
- package/Animation/styles/fade.less +1 -1
- package/Animation/styles/index.css +8 -0
- package/Animation/styles/index.less +1 -0
- package/Animation/styles/variables.less +4 -0
- package/AutoComplete/styles/index.css +11 -0
- package/CHANGELOG.md +34 -0
- package/Calendar/styles/index.css +71 -44
- package/Calendar/styles/index.less +54 -28
- package/Cascader/styles/index.css +11 -0
- package/CheckPicker/styles/index.css +11 -1
- package/CheckTree/styles/index.css +11 -0
- package/CheckTreePicker/styles/index.css +11 -0
- package/DatePicker/styles/index.css +89 -49
- package/DatePicker/styles/index.less +8 -5
- package/DateRangePicker/styles/index.css +93 -54
- package/DateRangePicker/styles/index.less +7 -6
- package/InputPicker/styles/index.css +11 -1
- package/MultiCascadeTree/styles/index.css +11 -0
- package/MultiCascader/styles/index.css +11 -0
- package/Pagination/styles/index.css +11 -1
- package/Panel/styles/index.css +20 -6
- package/SelectPicker/styles/index.css +11 -1
- package/TagInput/styles/index.css +11 -1
- package/TagPicker/styles/index.css +11 -1
- package/TimePicker/package.json +7 -0
- package/TimePicker/styles/index.css +4155 -0
- package/TimePicker/styles/index.less +1 -0
- package/TimeRangePicker/package.json +7 -0
- package/TimeRangePicker/styles/index.css +4255 -0
- package/TimeRangePicker/styles/index.less +1 -0
- package/cjs/Calendar/Calendar.d.ts +1 -1
- package/cjs/Calendar/Calendar.js +22 -26
- package/cjs/Calendar/CalendarBody.js +9 -9
- package/cjs/Calendar/CalendarContainer.d.ts +10 -2
- package/cjs/Calendar/CalendarContainer.js +40 -68
- package/cjs/Calendar/CalendarHeader.d.ts +0 -2
- package/cjs/Calendar/CalendarHeader.js +28 -46
- package/cjs/Calendar/{CalendarContext.d.ts → CalendarProvider.d.ts} +3 -22
- package/cjs/Calendar/CalendarProvider.js +13 -0
- package/cjs/Calendar/Grid/Grid.d.ts +6 -0
- package/cjs/Calendar/{Table.js → Grid/Grid.js} +11 -17
- package/{esm/Calendar/TableCell.d.ts → cjs/Calendar/Grid/GridCell.d.ts} +4 -4
- package/cjs/Calendar/{TableCell.js → Grid/GridCell.js} +13 -13
- package/cjs/Calendar/Grid/GridHeaderRow.d.ts +4 -0
- package/cjs/Calendar/{TableHeaderRow.js → Grid/GridHeaderRow.js} +11 -11
- package/cjs/Calendar/Grid/GridRow.d.ts +7 -0
- package/cjs/Calendar/{TableRow.js → Grid/GridRow.js} +21 -21
- package/cjs/Calendar/Grid/index.d.ts +2 -0
- package/cjs/Calendar/Grid/index.js +8 -0
- package/cjs/Calendar/MonthDropdown/MonthDropdown.d.ts +11 -0
- package/cjs/Calendar/{MonthDropdown.js → MonthDropdown/MonthDropdown.js} +19 -25
- package/cjs/Calendar/{MonthDropdownItem.d.ts → MonthDropdown/MonthDropdownItem.d.ts} +1 -1
- package/cjs/Calendar/{MonthDropdownItem.js → MonthDropdown/MonthDropdownItem.js} +11 -11
- package/cjs/Calendar/MonthDropdown/index.d.ts +2 -0
- package/cjs/Calendar/MonthDropdown/index.js +8 -0
- package/cjs/Calendar/TimeDropdown/TimeColumn.d.ts +8 -0
- package/cjs/Calendar/TimeDropdown/TimeColumn.js +27 -0
- package/{esm/Calendar → cjs/Calendar/TimeDropdown}/TimeDropdown.d.ts +2 -25
- package/cjs/Calendar/{TimeDropdown.js → TimeDropdown/TimeDropdown.js} +79 -112
- package/cjs/Calendar/TimeDropdown/index.d.ts +2 -0
- package/cjs/Calendar/TimeDropdown/index.js +8 -0
- package/cjs/Calendar/TimeDropdown/utils/formatWithLeadingZero.d.ts +1 -0
- package/cjs/Calendar/TimeDropdown/utils/formatWithLeadingZero.js +8 -0
- package/cjs/Calendar/TimeDropdown/utils/getClockTime.d.ts +11 -0
- package/cjs/Calendar/TimeDropdown/utils/getClockTime.js +43 -0
- package/cjs/Calendar/TimeDropdown/utils/getTimeLimits.d.ts +11 -0
- package/cjs/Calendar/TimeDropdown/utils/getTimeLimits.js +24 -0
- package/cjs/Calendar/TimeDropdown/utils/index.d.ts +4 -0
- package/cjs/Calendar/TimeDropdown/utils/index.js +23 -0
- package/cjs/Calendar/TimeDropdown/utils/scrollToTime.d.ts +2 -0
- package/cjs/Calendar/TimeDropdown/utils/scrollToTime.js +28 -0
- package/cjs/Calendar/hooks/index.d.ts +3 -0
- package/cjs/Calendar/hooks/index.js +24 -0
- package/cjs/Calendar/hooks/useCalendar.d.ts +2 -0
- package/cjs/Calendar/hooks/useCalendar.js +10 -0
- package/cjs/Calendar/{useCalendarDate.d.ts → hooks/useCalendarDate.d.ts} +1 -2
- package/cjs/Calendar/{useCalendarDate.js → hooks/useCalendarDate.js} +8 -8
- package/cjs/Calendar/hooks/useCalendarState.d.ts +22 -0
- package/cjs/Calendar/hooks/useCalendarState.js +60 -0
- package/cjs/Calendar/index.d.ts +2 -4
- package/cjs/Calendar/index.js +2 -4
- package/cjs/Calendar/types.d.ts +19 -0
- package/cjs/Calendar/types.js +4 -0
- package/cjs/Calendar/{utils.js → utils/getAriaLabel.js} +1 -1
- package/cjs/Calendar/utils/index.d.ts +2 -0
- package/cjs/Calendar/utils/index.js +9 -0
- package/cjs/Calendar/utils/isEveryDateInMonth.d.ts +1 -0
- package/cjs/Calendar/utils/isEveryDateInMonth.js +15 -0
- package/cjs/CascadeTree/TreeView.js +3 -3
- package/cjs/CustomProvider/CustomProvider.d.ts +38 -4
- package/cjs/CustomProvider/CustomProvider.js +20 -6
- package/cjs/DateInput/DateField.js +2 -2
- package/cjs/DateInput/DateInput.js +17 -6
- package/cjs/DateInput/hooks/useDateInputState.js +1 -1
- package/cjs/DatePicker/DatePicker.d.ts +6 -2
- package/cjs/DatePicker/DatePicker.js +58 -67
- package/cjs/DatePicker/utils.js +1 -1
- package/cjs/DateRangeInput/DateRangeInput.js +16 -5
- package/cjs/DateRangePicker/Calendar.d.ts +4 -5
- package/cjs/DateRangePicker/Calendar.js +18 -44
- package/cjs/DateRangePicker/DateRangePicker.d.ts +21 -4
- package/cjs/DateRangePicker/DateRangePicker.js +98 -72
- package/cjs/DateRangePicker/DateRangePickerProvider.d.ts +10 -0
- package/cjs/DateRangePicker/{DateRangePickerContext.js → DateRangePickerProvider.js} +3 -3
- package/cjs/DateRangePicker/hooks/index.d.ts +3 -0
- package/cjs/DateRangePicker/hooks/index.js +11 -0
- package/cjs/DateRangePicker/hooks/useCalendarHandlers.d.ts +17 -0
- package/cjs/DateRangePicker/hooks/useCalendarHandlers.js +43 -0
- package/cjs/DateRangePicker/hooks/useDateDisabled.d.ts +1 -1
- package/cjs/DateRangePicker/hooks/useDateDisabled.js +1 -0
- package/cjs/DateRangePicker/hooks/useDateRangePicker.d.ts +2 -0
- package/cjs/DateRangePicker/hooks/useDateRangePicker.js +10 -0
- package/cjs/DateRangePicker/utils.js +1 -1
- package/cjs/Dropdown/Dropdown.d.ts +1 -1
- package/cjs/Dropdown/DropdownItem.d.ts +1 -1
- package/cjs/Dropdown/DropdownMenu.d.ts +1 -1
- package/cjs/Dropdown/DropdownMenu.js +3 -3
- package/cjs/Dropdown/DropdownToggle.d.ts +1 -1
- package/cjs/FormHelpText/FormHelpText.js +2 -2
- package/cjs/IconButton/IconButton.d.ts +1 -1
- package/cjs/InlineEdit/renderChildren.d.ts +1 -1
- package/cjs/InlineEdit/renderChildren.js +13 -4
- package/cjs/InlineEdit/useFocusEvent.d.ts +2 -2
- package/cjs/InlineEdit/useFocusEvent.js +9 -4
- package/cjs/MultiCascadeTree/TreeView.js +3 -3
- package/cjs/Nav/NavDropdownItem.d.ts +1 -1
- package/cjs/Nav/NavDropdownMenu.d.ts +1 -1
- package/cjs/Nav/NavDropdownMenu.js +3 -3
- package/cjs/Nav/NavItem.d.ts +1 -1
- package/cjs/Navbar/NavbarDropdown.d.ts +1 -1
- package/cjs/Navbar/NavbarDropdownItem.d.ts +1 -1
- package/cjs/Navbar/NavbarDropdownMenu.d.ts +1 -1
- package/cjs/Navbar/NavbarDropdownMenu.js +3 -3
- package/cjs/Navbar/NavbarItem.d.ts +1 -1
- package/cjs/Pagination/Pagination.js +5 -5
- package/cjs/Panel/AccordionButton.js +2 -2
- package/cjs/Sidenav/ExpandedSidenavDropdown.d.ts +1 -1
- package/cjs/Sidenav/ExpandedSidenavDropdownItem.d.ts +1 -1
- package/cjs/Sidenav/ExpandedSidenavDropdownMenu.d.ts +1 -1
- package/cjs/Sidenav/SidenavDropdown.d.ts +1 -1
- package/cjs/Sidenav/SidenavDropdownItem.d.ts +1 -1
- package/cjs/Sidenav/SidenavDropdownMenu.d.ts +1 -1
- package/cjs/Sidenav/SidenavItem.d.ts +1 -1
- package/cjs/Sidenav/SidenavToggle.js +3 -3
- package/cjs/Steps/StepItem.d.ts +1 -1
- package/cjs/TimePicker/TimePicker.d.ts +81 -0
- package/cjs/TimePicker/TimePicker.js +31 -0
- package/cjs/TimePicker/index.d.ts +3 -0
- package/cjs/TimePicker/index.js +8 -0
- package/cjs/TimeRangePicker/TimeRangePicker.d.ts +77 -0
- package/cjs/TimeRangePicker/TimeRangePicker.js +23 -0
- package/cjs/TimeRangePicker/index.d.ts +3 -0
- package/cjs/TimeRangePicker/index.js +8 -0
- package/cjs/index.d.ts +4 -0
- package/cjs/index.js +6 -1
- package/cjs/internals/Picker/ListItemGroup.js +1 -1
- package/cjs/internals/Picker/Listbox.js +4 -2
- package/cjs/internals/Picker/PickerIndicator.js +2 -2
- package/cjs/internals/Picker/PickerToggle.d.ts +1 -1
- package/cjs/internals/SearchBox/SearchBox.js +1 -1
- package/cjs/internals/constants/statusIcons.js +7 -7
- package/cjs/internals/hooks/useCustom.js +2 -2
- package/cjs/internals/hooks/useToggleCaret.d.ts +1 -1
- package/cjs/internals/utils/date/extractTimeFormat.d.ts +4 -0
- package/cjs/internals/utils/date/extractTimeFormat.js +12 -0
- package/cjs/internals/utils/date/formatCheck.d.ts +4 -0
- package/cjs/internals/utils/date/formatCheck.js +8 -1
- package/cjs/internals/utils/date/index.d.ts +4 -2
- package/cjs/internals/utils/date/index.js +72 -7
- package/cjs/internals/utils/date/useDateMode.d.ts +16 -0
- package/cjs/internals/utils/date/useDateMode.js +57 -0
- package/cjs/internals/utils/index.d.ts +0 -1
- package/cjs/internals/utils/index.js +1 -4
- package/cjs/locales/ar_EG.d.ts +10 -0
- package/cjs/locales/ar_EG.js +8 -4
- package/cjs/locales/ca_ES.d.ts +10 -0
- package/cjs/locales/ca_ES.js +8 -4
- package/cjs/locales/cs_CZ.d.ts +10 -0
- package/cjs/locales/cs_CZ.js +8 -4
- package/cjs/locales/da_DK.d.ts +10 -0
- package/cjs/locales/da_DK.js +8 -4
- package/cjs/locales/de_DE.d.ts +10 -0
- package/cjs/locales/de_DE.js +8 -4
- package/cjs/locales/en_GB.d.ts +130 -2
- package/cjs/locales/en_GB.js +85 -2
- package/cjs/locales/en_US.d.ts +10 -0
- package/cjs/locales/en_US.js +8 -4
- package/cjs/locales/es_AR.d.ts +10 -0
- package/cjs/locales/es_AR.js +8 -4
- package/cjs/locales/es_ES.d.ts +10 -0
- package/cjs/locales/es_ES.js +8 -4
- package/cjs/locales/fa_IR.d.ts +10 -0
- package/cjs/locales/fa_IR.js +8 -4
- package/cjs/locales/fi_FI.d.ts +10 -0
- package/cjs/locales/fi_FI.js +8 -4
- package/cjs/locales/fr_FR.d.ts +10 -0
- package/cjs/locales/fr_FR.js +8 -4
- package/cjs/locales/hu_HU.d.ts +12 -0
- package/cjs/locales/hu_HU.js +11 -5
- package/cjs/locales/index.d.ts +1 -1
- package/cjs/locales/it_IT.d.ts +10 -0
- package/cjs/locales/it_IT.js +8 -4
- package/cjs/locales/ja_JP.d.ts +10 -0
- package/cjs/locales/ja_JP.js +8 -4
- package/cjs/locales/kk_KZ.d.ts +10 -0
- package/cjs/locales/kk_KZ.js +8 -4
- package/cjs/locales/ko_KR.d.ts +10 -0
- package/cjs/locales/ko_KR.js +8 -4
- package/cjs/locales/ne_NP.d.ts +10 -0
- package/cjs/locales/ne_NP.js +8 -4
- package/cjs/locales/nl_NL.d.ts +10 -0
- package/cjs/locales/nl_NL.js +8 -4
- package/cjs/locales/pt_BR.d.ts +10 -0
- package/cjs/locales/pt_BR.js +8 -4
- package/cjs/locales/ru_RU.d.ts +10 -0
- package/cjs/locales/ru_RU.js +8 -4
- package/cjs/locales/sv_SE.d.ts +10 -0
- package/cjs/locales/sv_SE.js +8 -4
- package/cjs/locales/tr_TR.d.ts +10 -0
- package/cjs/locales/tr_TR.js +8 -4
- package/cjs/locales/zh_CN.d.ts +10 -0
- package/cjs/locales/zh_CN.js +8 -4
- package/cjs/locales/zh_TW.d.ts +10 -0
- package/cjs/locales/zh_TW.js +8 -4
- package/dist/rsuite-no-reset-rtl.css +116 -60
- package/dist/rsuite-no-reset-rtl.min.css +1 -1
- package/dist/rsuite-no-reset-rtl.min.css.map +1 -1
- package/dist/rsuite-no-reset.css +116 -60
- package/dist/rsuite-no-reset.min.css +1 -1
- package/dist/rsuite-no-reset.min.css.map +1 -1
- package/dist/rsuite-rtl.css +116 -60
- package/dist/rsuite-rtl.min.css +1 -1
- package/dist/rsuite-rtl.min.css.map +1 -1
- package/dist/rsuite.css +116 -60
- package/dist/rsuite.js +822 -5375
- package/dist/rsuite.js.map +1 -1
- package/dist/rsuite.min.css +1 -1
- package/dist/rsuite.min.css.map +1 -1
- package/dist/rsuite.min.js +1 -1
- package/dist/rsuite.min.js.map +1 -1
- package/esm/Calendar/Calendar.d.ts +1 -1
- package/esm/Calendar/Calendar.js +21 -23
- package/esm/Calendar/CalendarBody.js +9 -9
- package/esm/Calendar/CalendarContainer.d.ts +10 -2
- package/esm/Calendar/CalendarContainer.js +42 -70
- package/esm/Calendar/CalendarHeader.d.ts +0 -2
- package/esm/Calendar/CalendarHeader.js +29 -47
- package/esm/Calendar/{CalendarContext.d.ts → CalendarProvider.d.ts} +3 -22
- package/esm/Calendar/CalendarProvider.js +9 -0
- package/esm/Calendar/Grid/Grid.d.ts +6 -0
- package/esm/Calendar/{Table.js → Grid/Grid.js} +11 -17
- package/{cjs/Calendar/TableCell.d.ts → esm/Calendar/Grid/GridCell.d.ts} +4 -4
- package/esm/Calendar/{TableCell.js → Grid/GridCell.js} +13 -13
- package/esm/Calendar/Grid/GridHeaderRow.d.ts +4 -0
- package/esm/Calendar/{TableHeaderRow.js → Grid/GridHeaderRow.js} +11 -11
- package/esm/Calendar/Grid/GridRow.d.ts +7 -0
- package/esm/Calendar/{TableRow.js → Grid/GridRow.js} +21 -21
- package/esm/Calendar/Grid/index.d.ts +2 -0
- package/esm/Calendar/Grid/index.js +3 -0
- package/esm/Calendar/MonthDropdown/MonthDropdown.d.ts +11 -0
- package/esm/Calendar/{MonthDropdown.js → MonthDropdown/MonthDropdown.js} +18 -23
- package/esm/Calendar/{MonthDropdownItem.d.ts → MonthDropdown/MonthDropdownItem.d.ts} +1 -1
- package/esm/Calendar/{MonthDropdownItem.js → MonthDropdown/MonthDropdownItem.js} +12 -12
- package/esm/Calendar/MonthDropdown/index.d.ts +2 -0
- package/esm/Calendar/MonthDropdown/index.js +3 -0
- package/esm/Calendar/TimeDropdown/TimeColumn.d.ts +8 -0
- package/esm/Calendar/TimeDropdown/TimeColumn.js +22 -0
- package/{cjs/Calendar → esm/Calendar/TimeDropdown}/TimeDropdown.d.ts +2 -25
- package/esm/Calendar/TimeDropdown/TimeDropdown.js +161 -0
- package/esm/Calendar/TimeDropdown/index.d.ts +2 -0
- package/esm/Calendar/TimeDropdown/index.js +3 -0
- package/esm/Calendar/TimeDropdown/utils/formatWithLeadingZero.d.ts +1 -0
- package/esm/Calendar/TimeDropdown/utils/formatWithLeadingZero.js +4 -0
- package/esm/Calendar/TimeDropdown/utils/getClockTime.d.ts +11 -0
- package/esm/Calendar/TimeDropdown/utils/getClockTime.js +39 -0
- package/esm/Calendar/TimeDropdown/utils/getTimeLimits.d.ts +11 -0
- package/esm/Calendar/TimeDropdown/utils/getTimeLimits.js +20 -0
- package/esm/Calendar/TimeDropdown/utils/index.d.ts +4 -0
- package/esm/Calendar/TimeDropdown/utils/index.js +5 -0
- package/esm/Calendar/TimeDropdown/utils/scrollToTime.d.ts +2 -0
- package/esm/Calendar/TimeDropdown/utils/scrollToTime.js +23 -0
- package/esm/Calendar/hooks/index.d.ts +3 -0
- package/esm/Calendar/hooks/index.js +4 -0
- package/esm/Calendar/hooks/useCalendar.d.ts +2 -0
- package/esm/Calendar/hooks/useCalendar.js +6 -0
- package/esm/Calendar/{useCalendarDate.d.ts → hooks/useCalendarDate.d.ts} +1 -2
- package/esm/Calendar/{useCalendarDate.js → hooks/useCalendarDate.js} +7 -7
- package/esm/Calendar/hooks/useCalendarState.d.ts +22 -0
- package/esm/Calendar/hooks/useCalendarState.js +56 -0
- package/esm/Calendar/index.d.ts +2 -4
- package/esm/Calendar/index.js +2 -3
- package/esm/Calendar/types.d.ts +19 -0
- package/esm/Calendar/types.js +2 -0
- package/esm/Calendar/{utils.js → utils/getAriaLabel.js} +1 -1
- package/esm/Calendar/utils/index.d.ts +2 -0
- package/esm/Calendar/utils/index.js +3 -0
- package/esm/Calendar/utils/isEveryDateInMonth.d.ts +1 -0
- package/esm/Calendar/utils/isEveryDateInMonth.js +11 -0
- package/esm/CascadeTree/TreeView.js +3 -3
- package/esm/CustomProvider/CustomProvider.d.ts +38 -4
- package/esm/CustomProvider/CustomProvider.js +20 -6
- package/esm/DateInput/DateField.js +2 -2
- package/esm/DateInput/DateInput.js +17 -6
- package/esm/DateInput/hooks/useDateInputState.js +1 -1
- package/esm/DatePicker/DatePicker.d.ts +6 -2
- package/esm/DatePicker/DatePicker.js +30 -38
- package/esm/DatePicker/hooks/useFocus.js +1 -1
- package/esm/DatePicker/utils.js +2 -2
- package/esm/DateRangeInput/DateRangeInput.js +16 -5
- package/esm/DateRangePicker/Calendar.d.ts +4 -5
- package/esm/DateRangePicker/Calendar.js +19 -47
- package/esm/DateRangePicker/DateRangePicker.d.ts +21 -4
- package/esm/DateRangePicker/DateRangePicker.js +99 -73
- package/esm/DateRangePicker/DateRangePickerProvider.d.ts +10 -0
- package/esm/DateRangePicker/{DateRangePickerContext.js → DateRangePickerProvider.js} +2 -2
- package/esm/DateRangePicker/hooks/index.d.ts +3 -0
- package/esm/DateRangePicker/hooks/index.js +4 -0
- package/esm/DateRangePicker/hooks/useCalendarHandlers.d.ts +17 -0
- package/esm/DateRangePicker/hooks/useCalendarHandlers.js +38 -0
- package/esm/DateRangePicker/hooks/useDateDisabled.d.ts +1 -1
- package/esm/DateRangePicker/hooks/useDateDisabled.js +1 -1
- package/esm/DateRangePicker/hooks/useDateRangePicker.d.ts +2 -0
- package/esm/DateRangePicker/hooks/useDateRangePicker.js +6 -0
- package/esm/DateRangePicker/utils.js +2 -2
- package/esm/Dropdown/Dropdown.d.ts +1 -1
- package/esm/Dropdown/DropdownItem.d.ts +1 -1
- package/esm/Dropdown/DropdownMenu.d.ts +1 -1
- package/esm/Dropdown/DropdownMenu.js +3 -3
- package/esm/Dropdown/DropdownToggle.d.ts +1 -1
- package/esm/FormHelpText/FormHelpText.js +2 -2
- package/esm/IconButton/IconButton.d.ts +1 -1
- package/esm/InlineEdit/renderChildren.d.ts +1 -1
- package/esm/InlineEdit/renderChildren.js +13 -4
- package/esm/InlineEdit/useFocusEvent.d.ts +2 -2
- package/esm/InlineEdit/useFocusEvent.js +9 -4
- package/esm/MultiCascadeTree/TreeView.js +3 -3
- package/esm/Nav/NavDropdownItem.d.ts +1 -1
- package/esm/Nav/NavDropdownMenu.d.ts +1 -1
- package/esm/Nav/NavDropdownMenu.js +3 -3
- package/esm/Nav/NavItem.d.ts +1 -1
- package/esm/Navbar/NavbarDropdown.d.ts +1 -1
- package/esm/Navbar/NavbarDropdownItem.d.ts +1 -1
- package/esm/Navbar/NavbarDropdownMenu.d.ts +1 -1
- package/esm/Navbar/NavbarDropdownMenu.js +3 -3
- package/esm/Navbar/NavbarItem.d.ts +1 -1
- package/esm/Pagination/Pagination.js +10 -10
- package/esm/Panel/AccordionButton.js +1 -1
- package/esm/Sidenav/ExpandedSidenavDropdown.d.ts +1 -1
- package/esm/Sidenav/ExpandedSidenavDropdownItem.d.ts +1 -1
- package/esm/Sidenav/ExpandedSidenavDropdownMenu.d.ts +1 -1
- package/esm/Sidenav/SidenavDropdown.d.ts +1 -1
- package/esm/Sidenav/SidenavDropdownItem.d.ts +1 -1
- package/esm/Sidenav/SidenavDropdownMenu.d.ts +1 -1
- package/esm/Sidenav/SidenavItem.d.ts +1 -1
- package/esm/Sidenav/SidenavToggle.js +3 -3
- package/esm/Steps/StepItem.d.ts +1 -1
- package/esm/TimePicker/TimePicker.d.ts +81 -0
- package/esm/TimePicker/TimePicker.js +24 -0
- package/esm/TimePicker/index.d.ts +3 -0
- package/esm/TimePicker/index.js +3 -0
- package/esm/TimeRangePicker/TimeRangePicker.d.ts +77 -0
- package/esm/TimeRangePicker/TimeRangePicker.js +18 -0
- package/esm/TimeRangePicker/index.d.ts +3 -0
- package/esm/TimeRangePicker/index.js +3 -0
- package/esm/index.d.ts +4 -0
- package/esm/index.js +2 -0
- package/esm/internals/Picker/ListItemGroup.js +2 -2
- package/esm/internals/Picker/Listbox.js +4 -2
- package/esm/internals/Picker/PickerIndicator.js +1 -1
- package/esm/internals/Picker/PickerToggle.d.ts +1 -1
- package/esm/internals/SearchBox/SearchBox.js +2 -2
- package/esm/internals/constants/statusIcons.js +7 -7
- package/esm/internals/hooks/useCustom.js +1 -1
- package/esm/internals/hooks/useToggleCaret.d.ts +1 -1
- package/esm/internals/utils/date/extractTimeFormat.d.ts +4 -0
- package/esm/internals/utils/date/extractTimeFormat.js +8 -0
- package/esm/internals/utils/date/formatCheck.d.ts +4 -0
- package/esm/internals/utils/date/formatCheck.js +7 -0
- package/esm/internals/utils/date/index.d.ts +4 -2
- package/esm/internals/utils/date/index.js +4 -2
- package/esm/internals/utils/date/useDateMode.d.ts +16 -0
- package/esm/internals/utils/date/useDateMode.js +54 -0
- package/esm/internals/utils/index.d.ts +0 -1
- package/esm/internals/utils/index.js +0 -1
- package/esm/locales/ar_EG.d.ts +10 -0
- package/esm/locales/ar_EG.js +8 -4
- package/esm/locales/ca_ES.d.ts +10 -0
- package/esm/locales/ca_ES.js +8 -4
- package/esm/locales/cs_CZ.d.ts +10 -0
- package/esm/locales/cs_CZ.js +8 -4
- package/esm/locales/da_DK.d.ts +10 -0
- package/esm/locales/da_DK.js +8 -4
- package/esm/locales/de_DE.d.ts +10 -0
- package/esm/locales/de_DE.js +8 -4
- package/esm/locales/en_GB.d.ts +130 -2
- package/esm/locales/en_GB.js +85 -2
- package/esm/locales/en_US.d.ts +10 -0
- package/esm/locales/en_US.js +8 -4
- package/esm/locales/es_AR.d.ts +10 -0
- package/esm/locales/es_AR.js +8 -4
- package/esm/locales/es_ES.d.ts +10 -0
- package/esm/locales/es_ES.js +8 -4
- package/esm/locales/fa_IR.d.ts +10 -0
- package/esm/locales/fa_IR.js +8 -4
- package/esm/locales/fi_FI.d.ts +10 -0
- package/esm/locales/fi_FI.js +8 -4
- package/esm/locales/fr_FR.d.ts +10 -0
- package/esm/locales/fr_FR.js +8 -4
- package/esm/locales/hu_HU.d.ts +12 -0
- package/esm/locales/hu_HU.js +11 -5
- package/esm/locales/index.d.ts +1 -1
- package/esm/locales/it_IT.d.ts +10 -0
- package/esm/locales/it_IT.js +8 -4
- package/esm/locales/ja_JP.d.ts +10 -0
- package/esm/locales/ja_JP.js +8 -4
- package/esm/locales/kk_KZ.d.ts +10 -0
- package/esm/locales/kk_KZ.js +8 -4
- package/esm/locales/ko_KR.d.ts +10 -0
- package/esm/locales/ko_KR.js +8 -4
- package/esm/locales/ne_NP.d.ts +10 -0
- package/esm/locales/ne_NP.js +8 -4
- package/esm/locales/nl_NL.d.ts +10 -0
- package/esm/locales/nl_NL.js +8 -4
- package/esm/locales/pt_BR.d.ts +10 -0
- package/esm/locales/pt_BR.js +8 -4
- package/esm/locales/ru_RU.d.ts +10 -0
- package/esm/locales/ru_RU.js +8 -4
- package/esm/locales/sv_SE.d.ts +10 -0
- package/esm/locales/sv_SE.js +8 -4
- package/esm/locales/tr_TR.d.ts +10 -0
- package/esm/locales/tr_TR.js +8 -4
- package/esm/locales/zh_CN.d.ts +10 -0
- package/esm/locales/zh_CN.js +8 -4
- package/esm/locales/zh_TW.d.ts +10 -0
- package/esm/locales/zh_TW.js +8 -4
- package/internals/Picker/styles/index.less +17 -0
- package/internals/Picker/styles/mixin.less +0 -1
- package/internals/ScrollView/styles/index.less +1 -5
- package/package.json +2 -2
- package/styles/color-modes/dark.less +5 -0
- package/styles/color-modes/high-contrast.less +5 -0
- package/styles/color-modes/light.less +5 -0
- package/styles/common.less +3 -3
- package/styles/variables.less +3 -3
- package/cjs/Calendar/CalendarContext.js +0 -22
- package/cjs/Calendar/MonthDropdown.d.ts +0 -27
- package/cjs/Calendar/Table.d.ts +0 -6
- package/cjs/Calendar/TableHeaderRow.d.ts +0 -4
- package/cjs/Calendar/TableRow.d.ts +0 -7
- package/cjs/Calendar/useCalendarState.d.ts +0 -11
- package/cjs/Calendar/useCalendarState.js +0 -32
- package/cjs/DateRangePicker/DateRangePickerContext.d.ts +0 -10
- package/cjs/internals/utils/date/getReversedTimeMeridian.d.ts +0 -8
- package/cjs/internals/utils/date/getReversedTimeMeridian.js +0 -21
- package/cjs/internals/utils/scrollTopAnimation.d.ts +0 -5
- package/cjs/internals/utils/scrollTopAnimation.js +0 -32
- package/cjs/locales/default.d.ts +0 -120
- package/cjs/locales/default.js +0 -87
- package/esm/Calendar/CalendarContext.js +0 -17
- package/esm/Calendar/MonthDropdown.d.ts +0 -27
- package/esm/Calendar/Table.d.ts +0 -6
- package/esm/Calendar/TableHeaderRow.d.ts +0 -4
- package/esm/Calendar/TableRow.d.ts +0 -7
- package/esm/Calendar/TimeDropdown.js +0 -192
- package/esm/Calendar/useCalendarState.d.ts +0 -11
- package/esm/Calendar/useCalendarState.js +0 -28
- package/esm/DateRangePicker/DateRangePickerContext.d.ts +0 -10
- package/esm/internals/utils/date/getReversedTimeMeridian.d.ts +0 -8
- package/esm/internals/utils/date/getReversedTimeMeridian.js +0 -17
- package/esm/internals/utils/scrollTopAnimation.d.ts +0 -5
- package/esm/internals/utils/scrollTopAnimation.js +0 -27
- package/esm/locales/default.d.ts +0 -120
- package/esm/locales/default.js +0 -82
- package/locales/default/package.json +0 -7
- /package/cjs/Calendar/{utils.d.ts → utils/getAriaLabel.d.ts} +0 -0
- /package/esm/Calendar/{utils.d.ts → utils/getAriaLabel.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import
|
|
3
|
+
import Icon from '@rsuite/icons/Icon';
|
|
4
4
|
import { useCustom, useClassNames } from "../hooks/index.js";
|
|
5
5
|
import InputGroup from "../../InputGroup/index.js";
|
|
6
6
|
import CloseButton from "../CloseButton/index.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import ToggleButton, { ToggleButtonProps } from './ToggleButton';
|
|
3
3
|
import { RsRefForwardingComponent, TypeAttributes, DataItemValue } from '../types';
|
|
4
|
-
import { IconProps } from '@rsuite/icons/
|
|
4
|
+
import { IconProps } from '@rsuite/icons/Icon';
|
|
5
5
|
export interface PickerToggleProps<T = DataItemValue> extends ToggleButtonProps {
|
|
6
6
|
active?: boolean;
|
|
7
7
|
hasValue?: boolean;
|
|
@@ -5,7 +5,7 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
|
|
|
5
5
|
var _templateObject, _templateObject2;
|
|
6
6
|
var _excluded = ["as", "classPrefix", "value", "className", "placeholder", "inputRef", "onChange"];
|
|
7
7
|
import React from 'react';
|
|
8
|
-
import
|
|
8
|
+
import SearchIcon from '@rsuite/icons/Search';
|
|
9
9
|
import { useClassNames } from "../hooks/index.js";
|
|
10
10
|
import Input from "../../Input/index.js";
|
|
11
11
|
import InputGroup from "../../InputGroup/index.js";
|
|
@@ -37,7 +37,7 @@ var SearchBox = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
37
37
|
onChange: onChange,
|
|
38
38
|
placeholder: placeholder,
|
|
39
39
|
ref: inputRef
|
|
40
|
-
}), /*#__PURE__*/React.createElement(InputGroup.Addon, null, /*#__PURE__*/React.createElement(
|
|
40
|
+
}), /*#__PURE__*/React.createElement(InputGroup.Addon, null, /*#__PURE__*/React.createElement(SearchIcon, {
|
|
41
41
|
className: prefix(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["icon"])))
|
|
42
42
|
}))));
|
|
43
43
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import InfoRoundIcon from '@rsuite/icons/InfoRound';
|
|
4
|
+
import CheckRoundIcon from '@rsuite/icons/CheckRound';
|
|
5
|
+
import WarningRoundIcon from '@rsuite/icons/WarningRound';
|
|
6
|
+
import RemindRoundIcon from '@rsuite/icons/RemindRound';
|
|
6
7
|
import Check from '@rsuite/icons/Check';
|
|
7
8
|
import Close from '@rsuite/icons/Close';
|
|
8
|
-
import RemindRoundIcon from '@rsuite/icons/RemindRound';
|
|
9
9
|
export var MESSAGE_STATUS_ICONS = {
|
|
10
|
-
info: /*#__PURE__*/React.createElement(
|
|
11
|
-
success: /*#__PURE__*/React.createElement(
|
|
12
|
-
error: /*#__PURE__*/React.createElement(
|
|
10
|
+
info: /*#__PURE__*/React.createElement(InfoRoundIcon, null),
|
|
11
|
+
success: /*#__PURE__*/React.createElement(CheckRoundIcon, null),
|
|
12
|
+
error: /*#__PURE__*/React.createElement(WarningRoundIcon, null),
|
|
13
13
|
warning: /*#__PURE__*/React.createElement(RemindRoundIcon, null)
|
|
14
14
|
};
|
|
15
15
|
export var PROGRESS_STATUS_ICON = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
import { useContext, useCallback } from 'react';
|
|
4
4
|
import { format, parse, isValid } from "../utils/date/index.js";
|
|
5
|
-
import defaultLocale from "../../locales/
|
|
5
|
+
import defaultLocale from "../../locales/en_GB.js";
|
|
6
6
|
import { CustomContext } from "../../CustomProvider/CustomProvider.js";
|
|
7
7
|
var mergeObject = function mergeObject(list) {
|
|
8
8
|
return list.reduce(function (a, b) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TypeAttributes } from '../types';
|
|
3
|
-
export declare function useToggleCaret(placement: TypeAttributes.Placement8 | TypeAttributes.Placement): import("react").
|
|
3
|
+
export declare function useToggleCaret(placement: TypeAttributes.Placement8 | TypeAttributes.Placement): import("react").ForwardRefExoticComponent<import("@rsuite/icons/esm/Icon").IconProps & import("react").RefAttributes<SVGElement>>;
|
|
4
4
|
export default useToggleCaret;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
/**
|
|
3
|
+
* Extracts the time format from a given date format.
|
|
4
|
+
*/
|
|
5
|
+
export function extractTimeFormat(format) {
|
|
6
|
+
var match = format.match(/([hH]{1,2}[:.]mm(?:[:.]ss)?(?: ?aa)?|(?:aa )?[hH]{1,2}[:.]mm(?:[:.]ss)?)/);
|
|
7
|
+
return match ? match[0] : null;
|
|
8
|
+
}
|
|
@@ -26,3 +26,7 @@ export declare const shouldRenderDate: (format: string) => boolean;
|
|
|
26
26
|
* @returns Whether only the time should be rendered.
|
|
27
27
|
*/
|
|
28
28
|
export declare const shouldOnlyRenderTime: (format: string) => boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Check if only the month should be rendered based on the format.
|
|
31
|
+
*/
|
|
32
|
+
export declare const shouldOnlyRenderMonth: (format: string) => boolean;
|
|
@@ -37,4 +37,11 @@ export var shouldRenderDate = function shouldRenderDate(format) {
|
|
|
37
37
|
*/
|
|
38
38
|
export var shouldOnlyRenderTime = function shouldOnlyRenderTime(format) {
|
|
39
39
|
return /([Hhms])/.test(format) && !/([YyMDd])/.test(format);
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if only the month should be rendered based on the format.
|
|
44
|
+
*/
|
|
45
|
+
export var shouldOnlyRenderMonth = function shouldOnlyRenderMonth(format) {
|
|
46
|
+
return shouldRenderMonth(format) && !shouldRenderDate(format);
|
|
40
47
|
};
|
|
@@ -43,13 +43,15 @@ export { default as set } from 'date-fns/set';
|
|
|
43
43
|
export { default as differenceInCalendarMonths } from 'date-fns/differenceInCalendarMonths';
|
|
44
44
|
export { default as isLastDayOfMonth } from 'date-fns/isLastDayOfMonth';
|
|
45
45
|
export { default as lastDayOfMonth } from 'date-fns/lastDayOfMonth';
|
|
46
|
+
export { default as startOfToday } from 'date-fns/startOfToday';
|
|
46
47
|
export { getWeekStartDates } from './getWeekStartDates';
|
|
47
48
|
export { getWeekKeys } from './getWeekKeys';
|
|
48
|
-
export { getReversedTimeMeridian } from './getReversedTimeMeridian';
|
|
49
49
|
export { reverseDateRangeOmitTime } from './reverseDateRangeOmitTime';
|
|
50
50
|
export { omitHideDisabledProps } from './omitHideDisabledProps';
|
|
51
51
|
export { copyTime } from './copyTime';
|
|
52
52
|
export { disableTime } from './disableTime';
|
|
53
|
-
export {
|
|
53
|
+
export { useDateMode, DateMode } from './useDateMode';
|
|
54
|
+
export { extractTimeFormat } from './extractTimeFormat';
|
|
55
|
+
export * from './formatCheck';
|
|
54
56
|
export type { TimeProp, CalendarOnlyPropsType } from './types';
|
|
55
57
|
export { calendarOnlyProps } from './types';
|
|
@@ -45,16 +45,18 @@ export { default as set } from 'date-fns/set';
|
|
|
45
45
|
export { default as differenceInCalendarMonths } from 'date-fns/differenceInCalendarMonths';
|
|
46
46
|
export { default as isLastDayOfMonth } from 'date-fns/isLastDayOfMonth';
|
|
47
47
|
export { default as lastDayOfMonth } from 'date-fns/lastDayOfMonth';
|
|
48
|
+
export { default as startOfToday } from 'date-fns/startOfToday';
|
|
48
49
|
|
|
49
50
|
// Export custom functions
|
|
50
51
|
export { getWeekStartDates } from "./getWeekStartDates.js";
|
|
51
52
|
export { getWeekKeys } from "./getWeekKeys.js";
|
|
52
|
-
export { getReversedTimeMeridian } from "./getReversedTimeMeridian.js";
|
|
53
53
|
export { reverseDateRangeOmitTime } from "./reverseDateRangeOmitTime.js";
|
|
54
54
|
export { omitHideDisabledProps } from "./omitHideDisabledProps.js";
|
|
55
55
|
export { copyTime } from "./copyTime.js";
|
|
56
56
|
export { disableTime } from "./disableTime.js";
|
|
57
|
-
export {
|
|
57
|
+
export { useDateMode, DateMode } from "./useDateMode.js";
|
|
58
|
+
export { extractTimeFormat } from "./extractTimeFormat.js";
|
|
59
|
+
export * from "./formatCheck.js";
|
|
58
60
|
|
|
59
61
|
// Export types
|
|
60
62
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum DateMode {
|
|
2
|
+
Date = "date",
|
|
3
|
+
Month = "month",
|
|
4
|
+
Time = "time",
|
|
5
|
+
DateTime = "datetime"
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Custom hook to determine the date mode and check format parts.
|
|
9
|
+
*
|
|
10
|
+
* @param format - The format string.
|
|
11
|
+
* @returns An object containing the resolved DateMode and a `has` method to check format parts.
|
|
12
|
+
*/
|
|
13
|
+
export declare const useDateMode: (format: string) => {
|
|
14
|
+
mode: DateMode;
|
|
15
|
+
has: (part: 'year' | 'month' | 'day' | 'time') => boolean;
|
|
16
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { useMemo, useCallback } from 'react';
|
|
3
|
+
import { shouldRenderDate, shouldRenderTime, shouldOnlyRenderMonth, shouldOnlyRenderTime } from "./formatCheck.js";
|
|
4
|
+
export var DateMode = /*#__PURE__*/function (DateMode) {
|
|
5
|
+
DateMode["Date"] = "date";
|
|
6
|
+
DateMode["Month"] = "month";
|
|
7
|
+
DateMode["Time"] = "time";
|
|
8
|
+
DateMode["DateTime"] = "datetime";
|
|
9
|
+
return DateMode;
|
|
10
|
+
}({});
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Custom hook to determine the date mode and check format parts.
|
|
14
|
+
*
|
|
15
|
+
* @param format - The format string.
|
|
16
|
+
* @returns An object containing the resolved DateMode and a `has` method to check format parts.
|
|
17
|
+
*/
|
|
18
|
+
export var useDateMode = function useDateMode(format) {
|
|
19
|
+
var mode = useMemo(function () {
|
|
20
|
+
if (shouldRenderDate(format) && shouldRenderTime(format)) {
|
|
21
|
+
return DateMode.DateTime;
|
|
22
|
+
}
|
|
23
|
+
if (shouldOnlyRenderMonth(format)) {
|
|
24
|
+
return DateMode.Month;
|
|
25
|
+
}
|
|
26
|
+
if (shouldOnlyRenderTime(format)) {
|
|
27
|
+
return DateMode.Time;
|
|
28
|
+
}
|
|
29
|
+
if (shouldRenderDate(format)) {
|
|
30
|
+
return DateMode.Date;
|
|
31
|
+
}
|
|
32
|
+
return DateMode.Date; // Default fallback
|
|
33
|
+
}, [format]);
|
|
34
|
+
|
|
35
|
+
// Use useCallback to memoize the has method
|
|
36
|
+
var has = useCallback(function (part) {
|
|
37
|
+
switch (part) {
|
|
38
|
+
case 'year':
|
|
39
|
+
return /[Yy]/.test(format);
|
|
40
|
+
case 'month':
|
|
41
|
+
return /[ML]/.test(format);
|
|
42
|
+
case 'day':
|
|
43
|
+
return /[Dd]/.test(format);
|
|
44
|
+
case 'time':
|
|
45
|
+
return /([Hhms])/.test(format);
|
|
46
|
+
default:
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
}, [format]);
|
|
50
|
+
return {
|
|
51
|
+
mode: mode,
|
|
52
|
+
has: has
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -13,7 +13,6 @@ export { placementPolyfill } from './placementPolyfill';
|
|
|
13
13
|
export { mergeRefs } from './mergeRefs';
|
|
14
14
|
export { shallowEqual, shallowEqualArray } from './shallowEqual';
|
|
15
15
|
export { composeFunctions } from './composeFunctions';
|
|
16
|
-
export { scrollTopAnimation } from './scrollTopAnimation';
|
|
17
16
|
export { render } from './render';
|
|
18
17
|
export { safeSetSelection } from './safeSetSelection';
|
|
19
18
|
export { getStringLength } from './getStringLength';
|
|
@@ -14,7 +14,6 @@ export { placementPolyfill } from "./placementPolyfill.js";
|
|
|
14
14
|
export { mergeRefs } from "./mergeRefs.js";
|
|
15
15
|
export { shallowEqual, shallowEqualArray } from "./shallowEqual.js";
|
|
16
16
|
export { composeFunctions } from "./composeFunctions.js";
|
|
17
|
-
export { scrollTopAnimation } from "./scrollTopAnimation.js";
|
|
18
17
|
export { render } from "./render.js";
|
|
19
18
|
export { safeSetSelection } from "./safeSetSelection.js";
|
|
20
19
|
export { getStringLength } from "./getStringLength.js";
|
package/esm/locales/ar_EG.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
+
code: string;
|
|
2
3
|
common: {
|
|
3
4
|
loading: string;
|
|
4
5
|
emptyMessage: string;
|
|
@@ -31,11 +32,14 @@ declare const _default: {
|
|
|
31
32
|
ok: string;
|
|
32
33
|
today: string;
|
|
33
34
|
yesterday: string;
|
|
35
|
+
now: string;
|
|
34
36
|
hours: string;
|
|
35
37
|
minutes: string;
|
|
36
38
|
seconds: string;
|
|
37
39
|
formattedMonthPattern: string;
|
|
38
40
|
formattedDayPattern: string;
|
|
41
|
+
shortDateFormat: string;
|
|
42
|
+
shortTimeFormat: string;
|
|
39
43
|
dateLocale: any;
|
|
40
44
|
};
|
|
41
45
|
DatePicker: {
|
|
@@ -49,11 +53,14 @@ declare const _default: {
|
|
|
49
53
|
ok: string;
|
|
50
54
|
today: string;
|
|
51
55
|
yesterday: string;
|
|
56
|
+
now: string;
|
|
52
57
|
hours: string;
|
|
53
58
|
minutes: string;
|
|
54
59
|
seconds: string;
|
|
55
60
|
formattedMonthPattern: string;
|
|
56
61
|
formattedDayPattern: string;
|
|
62
|
+
shortDateFormat: string;
|
|
63
|
+
shortTimeFormat: string;
|
|
57
64
|
dateLocale: any;
|
|
58
65
|
};
|
|
59
66
|
DateRangePicker: {
|
|
@@ -68,11 +75,14 @@ declare const _default: {
|
|
|
68
75
|
ok: string;
|
|
69
76
|
today: string;
|
|
70
77
|
yesterday: string;
|
|
78
|
+
now: string;
|
|
71
79
|
hours: string;
|
|
72
80
|
minutes: string;
|
|
73
81
|
seconds: string;
|
|
74
82
|
formattedMonthPattern: string;
|
|
75
83
|
formattedDayPattern: string;
|
|
84
|
+
shortDateFormat: string;
|
|
85
|
+
shortTimeFormat: string;
|
|
76
86
|
dateLocale: any;
|
|
77
87
|
};
|
|
78
88
|
Picker: {
|
package/esm/locales/ar_EG.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
import arSA from 'date-fns/locale/ar-SA';
|
|
4
|
-
var
|
|
4
|
+
var DateTimeFormats = {
|
|
5
5
|
sunday: 'ح',
|
|
6
6
|
monday: 'ن',
|
|
7
7
|
tuesday: 'ث',
|
|
@@ -12,14 +12,18 @@ var Calendar = {
|
|
|
12
12
|
ok: 'حسناً',
|
|
13
13
|
today: 'اليوم',
|
|
14
14
|
yesterday: 'أمس',
|
|
15
|
+
now: 'الآن',
|
|
15
16
|
hours: 'ساعات',
|
|
16
17
|
minutes: 'دقائق',
|
|
17
18
|
seconds: 'ثواني',
|
|
18
19
|
formattedMonthPattern: 'MMM, yyyy',
|
|
19
20
|
formattedDayPattern: 'MMM dd, yyyy',
|
|
21
|
+
shortDateFormat: 'MM/dd/yyyy',
|
|
22
|
+
shortTimeFormat: 'HH:mm aa',
|
|
20
23
|
dateLocale: arSA
|
|
21
24
|
};
|
|
22
25
|
export default {
|
|
26
|
+
code: 'ar-SA',
|
|
23
27
|
common: {
|
|
24
28
|
loading: 'جاري التحميل...',
|
|
25
29
|
emptyMessage: 'لا يوجد المزيد من البيانات',
|
|
@@ -41,9 +45,9 @@ export default {
|
|
|
41
45
|
total: 'الإجمالي: {0}',
|
|
42
46
|
skip: 'اذهب إل {0}'
|
|
43
47
|
},
|
|
44
|
-
Calendar:
|
|
45
|
-
DatePicker: _extends({},
|
|
46
|
-
DateRangePicker: _extends({},
|
|
48
|
+
Calendar: _extends({}, DateTimeFormats),
|
|
49
|
+
DatePicker: _extends({}, DateTimeFormats),
|
|
50
|
+
DateRangePicker: _extends({}, DateTimeFormats, {
|
|
47
51
|
last7Days: 'أخر 7 أيام'
|
|
48
52
|
}),
|
|
49
53
|
Picker: {
|
package/esm/locales/ca_ES.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
+
code: string;
|
|
2
3
|
common: {
|
|
3
4
|
loading: string;
|
|
4
5
|
emptyMessage: string;
|
|
@@ -31,6 +32,7 @@ declare const _default: {
|
|
|
31
32
|
ok: string;
|
|
32
33
|
today: string;
|
|
33
34
|
yesterday: string;
|
|
35
|
+
now: string;
|
|
34
36
|
hours: string;
|
|
35
37
|
minutes: string;
|
|
36
38
|
seconds: string;
|
|
@@ -40,6 +42,8 @@ declare const _default: {
|
|
|
40
42
|
**/
|
|
41
43
|
formattedMonthPattern: string;
|
|
42
44
|
formattedDayPattern: string;
|
|
45
|
+
shortDateFormat: string;
|
|
46
|
+
shortTimeFormat: string;
|
|
43
47
|
dateLocale: Locale;
|
|
44
48
|
};
|
|
45
49
|
DatePicker: {
|
|
@@ -53,6 +57,7 @@ declare const _default: {
|
|
|
53
57
|
ok: string;
|
|
54
58
|
today: string;
|
|
55
59
|
yesterday: string;
|
|
60
|
+
now: string;
|
|
56
61
|
hours: string;
|
|
57
62
|
minutes: string;
|
|
58
63
|
seconds: string;
|
|
@@ -62,6 +67,8 @@ declare const _default: {
|
|
|
62
67
|
**/
|
|
63
68
|
formattedMonthPattern: string;
|
|
64
69
|
formattedDayPattern: string;
|
|
70
|
+
shortDateFormat: string;
|
|
71
|
+
shortTimeFormat: string;
|
|
65
72
|
dateLocale: Locale;
|
|
66
73
|
};
|
|
67
74
|
DateRangePicker: {
|
|
@@ -76,6 +83,7 @@ declare const _default: {
|
|
|
76
83
|
ok: string;
|
|
77
84
|
today: string;
|
|
78
85
|
yesterday: string;
|
|
86
|
+
now: string;
|
|
79
87
|
hours: string;
|
|
80
88
|
minutes: string;
|
|
81
89
|
seconds: string;
|
|
@@ -85,6 +93,8 @@ declare const _default: {
|
|
|
85
93
|
**/
|
|
86
94
|
formattedMonthPattern: string;
|
|
87
95
|
formattedDayPattern: string;
|
|
96
|
+
shortDateFormat: string;
|
|
97
|
+
shortTimeFormat: string;
|
|
88
98
|
dateLocale: Locale;
|
|
89
99
|
};
|
|
90
100
|
Picker: {
|
package/esm/locales/ca_ES.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
import ca from 'date-fns/locale/ca';
|
|
4
|
-
var
|
|
4
|
+
var DateTimeFormats = {
|
|
5
5
|
sunday: 'Dg',
|
|
6
6
|
monday: 'Dl',
|
|
7
7
|
tuesday: 'Dt',
|
|
@@ -12,6 +12,7 @@ var Calendar = {
|
|
|
12
12
|
ok: 'Acceptar',
|
|
13
13
|
today: 'Avui',
|
|
14
14
|
yesterday: 'Ahir',
|
|
15
|
+
now: 'Ara',
|
|
15
16
|
hours: 'Hores',
|
|
16
17
|
minutes: 'Minuts',
|
|
17
18
|
seconds: 'Segons',
|
|
@@ -21,9 +22,12 @@ var Calendar = {
|
|
|
21
22
|
**/
|
|
22
23
|
formattedMonthPattern: 'MMM yyyy',
|
|
23
24
|
formattedDayPattern: 'dd MMM yyyy',
|
|
25
|
+
shortDateFormat: 'dd/MM/yyyy',
|
|
26
|
+
shortTimeFormat: 'HH:mm',
|
|
24
27
|
dateLocale: ca
|
|
25
28
|
};
|
|
26
29
|
export default {
|
|
30
|
+
code: 'ca-ES',
|
|
27
31
|
common: {
|
|
28
32
|
loading: 'Carregant...',
|
|
29
33
|
emptyMessage: 'Sense dades',
|
|
@@ -45,9 +49,9 @@ export default {
|
|
|
45
49
|
total: 'Total: {0}',
|
|
46
50
|
skip: 'Anar{0}'
|
|
47
51
|
},
|
|
48
|
-
Calendar:
|
|
49
|
-
DatePicker: _extends({},
|
|
50
|
-
DateRangePicker: _extends({},
|
|
52
|
+
Calendar: _extends({}, DateTimeFormats),
|
|
53
|
+
DatePicker: _extends({}, DateTimeFormats),
|
|
54
|
+
DateRangePicker: _extends({}, DateTimeFormats, {
|
|
51
55
|
last7Days: 'Últims 7 dies'
|
|
52
56
|
}),
|
|
53
57
|
Picker: {
|
package/esm/locales/cs_CZ.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
+
code: string;
|
|
2
3
|
common: {
|
|
3
4
|
loading: string;
|
|
4
5
|
emptyMessage: string;
|
|
@@ -31,6 +32,7 @@ declare const _default: {
|
|
|
31
32
|
ok: string;
|
|
32
33
|
today: string;
|
|
33
34
|
yesterday: string;
|
|
35
|
+
now: string;
|
|
34
36
|
hours: string;
|
|
35
37
|
minutes: string;
|
|
36
38
|
seconds: string;
|
|
@@ -40,6 +42,8 @@ declare const _default: {
|
|
|
40
42
|
**/
|
|
41
43
|
formattedMonthPattern: string;
|
|
42
44
|
formattedDayPattern: string;
|
|
45
|
+
shortDateFormat: string;
|
|
46
|
+
shortTimeFormat: string;
|
|
43
47
|
dateLocale: any;
|
|
44
48
|
};
|
|
45
49
|
DatePicker: {
|
|
@@ -53,6 +57,7 @@ declare const _default: {
|
|
|
53
57
|
ok: string;
|
|
54
58
|
today: string;
|
|
55
59
|
yesterday: string;
|
|
60
|
+
now: string;
|
|
56
61
|
hours: string;
|
|
57
62
|
minutes: string;
|
|
58
63
|
seconds: string;
|
|
@@ -62,6 +67,8 @@ declare const _default: {
|
|
|
62
67
|
**/
|
|
63
68
|
formattedMonthPattern: string;
|
|
64
69
|
formattedDayPattern: string;
|
|
70
|
+
shortDateFormat: string;
|
|
71
|
+
shortTimeFormat: string;
|
|
65
72
|
dateLocale: any;
|
|
66
73
|
};
|
|
67
74
|
DateRangePicker: {
|
|
@@ -76,6 +83,7 @@ declare const _default: {
|
|
|
76
83
|
ok: string;
|
|
77
84
|
today: string;
|
|
78
85
|
yesterday: string;
|
|
86
|
+
now: string;
|
|
79
87
|
hours: string;
|
|
80
88
|
minutes: string;
|
|
81
89
|
seconds: string;
|
|
@@ -85,6 +93,8 @@ declare const _default: {
|
|
|
85
93
|
**/
|
|
86
94
|
formattedMonthPattern: string;
|
|
87
95
|
formattedDayPattern: string;
|
|
96
|
+
shortDateFormat: string;
|
|
97
|
+
shortTimeFormat: string;
|
|
88
98
|
dateLocale: any;
|
|
89
99
|
};
|
|
90
100
|
Picker: {
|
package/esm/locales/cs_CZ.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
import cs from 'date-fns/locale/cs';
|
|
4
|
-
var
|
|
4
|
+
var DateTimeFormats = {
|
|
5
5
|
sunday: 'Ne',
|
|
6
6
|
monday: 'Po',
|
|
7
7
|
tuesday: 'Út',
|
|
@@ -12,6 +12,7 @@ var Calendar = {
|
|
|
12
12
|
ok: 'OK',
|
|
13
13
|
today: 'Dnes',
|
|
14
14
|
yesterday: 'Včera',
|
|
15
|
+
now: 'Nyní',
|
|
15
16
|
hours: 'Hodiny',
|
|
16
17
|
minutes: 'Minuty',
|
|
17
18
|
seconds: 'Sekundy',
|
|
@@ -21,9 +22,12 @@ var Calendar = {
|
|
|
21
22
|
**/
|
|
22
23
|
formattedMonthPattern: 'MMM yyyy',
|
|
23
24
|
formattedDayPattern: 'dd. MMM yyyy',
|
|
25
|
+
shortDateFormat: 'dd.MM.yyyy',
|
|
26
|
+
shortTimeFormat: 'HH:mm',
|
|
24
27
|
dateLocale: cs
|
|
25
28
|
};
|
|
26
29
|
export default {
|
|
30
|
+
code: 'cs-CZ',
|
|
27
31
|
common: {
|
|
28
32
|
loading: 'Načítaní...',
|
|
29
33
|
emptyMessage: 'Nejsou k dispozici žádné data',
|
|
@@ -45,9 +49,9 @@ export default {
|
|
|
45
49
|
total: 'Celkový počet řádků : {0}',
|
|
46
50
|
skip: 'Jít na {0}'
|
|
47
51
|
},
|
|
48
|
-
Calendar:
|
|
49
|
-
DatePicker: _extends({},
|
|
50
|
-
DateRangePicker: _extends({},
|
|
52
|
+
Calendar: _extends({}, DateTimeFormats),
|
|
53
|
+
DatePicker: _extends({}, DateTimeFormats),
|
|
54
|
+
DateRangePicker: _extends({}, DateTimeFormats, {
|
|
51
55
|
last7Days: 'Posledních 7 dní'
|
|
52
56
|
}),
|
|
53
57
|
Picker: {
|
package/esm/locales/da_DK.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
+
code: string;
|
|
2
3
|
common: {
|
|
3
4
|
loading: string;
|
|
4
5
|
emptyMessage: string;
|
|
@@ -31,6 +32,7 @@ declare const _default: {
|
|
|
31
32
|
ok: string;
|
|
32
33
|
today: string;
|
|
33
34
|
yesterday: string;
|
|
35
|
+
now: string;
|
|
34
36
|
hours: string;
|
|
35
37
|
minutes: string;
|
|
36
38
|
seconds: string;
|
|
@@ -40,6 +42,8 @@ declare const _default: {
|
|
|
40
42
|
**/
|
|
41
43
|
formattedMonthPattern: string;
|
|
42
44
|
formattedDayPattern: string;
|
|
45
|
+
shortDateFormat: string;
|
|
46
|
+
shortTimeFormat: string;
|
|
43
47
|
dateLocale: any;
|
|
44
48
|
};
|
|
45
49
|
DatePicker: {
|
|
@@ -53,6 +57,7 @@ declare const _default: {
|
|
|
53
57
|
ok: string;
|
|
54
58
|
today: string;
|
|
55
59
|
yesterday: string;
|
|
60
|
+
now: string;
|
|
56
61
|
hours: string;
|
|
57
62
|
minutes: string;
|
|
58
63
|
seconds: string;
|
|
@@ -62,6 +67,8 @@ declare const _default: {
|
|
|
62
67
|
**/
|
|
63
68
|
formattedMonthPattern: string;
|
|
64
69
|
formattedDayPattern: string;
|
|
70
|
+
shortDateFormat: string;
|
|
71
|
+
shortTimeFormat: string;
|
|
65
72
|
dateLocale: any;
|
|
66
73
|
};
|
|
67
74
|
DateRangePicker: {
|
|
@@ -76,6 +83,7 @@ declare const _default: {
|
|
|
76
83
|
ok: string;
|
|
77
84
|
today: string;
|
|
78
85
|
yesterday: string;
|
|
86
|
+
now: string;
|
|
79
87
|
hours: string;
|
|
80
88
|
minutes: string;
|
|
81
89
|
seconds: string;
|
|
@@ -85,6 +93,8 @@ declare const _default: {
|
|
|
85
93
|
**/
|
|
86
94
|
formattedMonthPattern: string;
|
|
87
95
|
formattedDayPattern: string;
|
|
96
|
+
shortDateFormat: string;
|
|
97
|
+
shortTimeFormat: string;
|
|
88
98
|
dateLocale: any;
|
|
89
99
|
};
|
|
90
100
|
Picker: {
|
package/esm/locales/da_DK.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
import da from 'date-fns/locale/da';
|
|
4
|
-
var
|
|
4
|
+
var DateTimeFormats = {
|
|
5
5
|
sunday: 'Sø',
|
|
6
6
|
monday: 'Ma',
|
|
7
7
|
tuesday: 'Ti',
|
|
@@ -12,6 +12,7 @@ var Calendar = {
|
|
|
12
12
|
ok: 'OK',
|
|
13
13
|
today: 'I dag',
|
|
14
14
|
yesterday: 'I går',
|
|
15
|
+
now: 'Nu',
|
|
15
16
|
hours: 'Timer',
|
|
16
17
|
minutes: 'Minutter',
|
|
17
18
|
seconds: 'Sekunder',
|
|
@@ -21,9 +22,12 @@ var Calendar = {
|
|
|
21
22
|
**/
|
|
22
23
|
formattedMonthPattern: 'MMM yyyy',
|
|
23
24
|
formattedDayPattern: 'dd MMM yyyy',
|
|
25
|
+
shortDateFormat: 'dd/MM/yyyy',
|
|
26
|
+
shortTimeFormat: 'HH:mm',
|
|
24
27
|
dateLocale: da
|
|
25
28
|
};
|
|
26
29
|
export default {
|
|
30
|
+
code: 'da-DK',
|
|
27
31
|
common: {
|
|
28
32
|
loading: 'Indlæser...',
|
|
29
33
|
emptyMessage: 'Ingen data fundet',
|
|
@@ -45,9 +49,9 @@ export default {
|
|
|
45
49
|
total: 'total: {0}',
|
|
46
50
|
skip: 'Gå til{0}'
|
|
47
51
|
},
|
|
48
|
-
Calendar:
|
|
49
|
-
DatePicker: _extends({},
|
|
50
|
-
DateRangePicker: _extends({},
|
|
52
|
+
Calendar: _extends({}, DateTimeFormats),
|
|
53
|
+
DatePicker: _extends({}, DateTimeFormats),
|
|
54
|
+
DateRangePicker: _extends({}, DateTimeFormats, {
|
|
51
55
|
last7Days: 'Seneste 7 dage'
|
|
52
56
|
}),
|
|
53
57
|
Picker: {
|