@skbkontur/react-ui 5.1.0-next.1 → 5.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/CHANGELOG.md +78 -0
- package/README.md +0 -5
- package/cjs/components/Autocomplete/Autocomplete.d.ts +131 -131
- package/cjs/components/Autocomplete/Autocomplete.styles.d.ts +5 -5
- package/cjs/components/Autocomplete/getAutocompleteTheme.d.ts +2 -2
- package/cjs/components/Autocomplete/index.d.ts +1 -1
- package/cjs/components/Autocomplete/locale/index.d.ts +4 -4
- package/cjs/components/Autocomplete/locale/locales/en.d.ts +2 -2
- package/cjs/components/Autocomplete/locale/locales/ru.d.ts +2 -2
- package/cjs/components/Autocomplete/locale/types.d.ts +5 -5
- package/cjs/components/Autocomplete/locale/types.js +1 -1
- package/cjs/components/Button/ArrowLeftIcon.d.ts +3 -3
- package/cjs/components/Button/ArrowRightIcon.d.ts +3 -3
- package/cjs/components/Button/Button.d.ts +109 -110
- package/cjs/components/Button/Button.js +2 -2
- package/cjs/components/Button/Button.js.map +1 -1
- package/cjs/components/Button/Button.mixins.d.ts +5 -5
- package/cjs/components/Button/Button.styles.d.ts +86 -86
- package/cjs/components/Button/ButtonArrow.d.ts +8 -8
- package/cjs/components/Button/ButtonIcon.d.ts +11 -11
- package/cjs/components/Button/ButtonIcon.styles.d.ts +16 -16
- package/cjs/components/Button/LoadingButtonIcon.d.ts +8 -8
- package/cjs/components/Button/getInnerLinkTheme.d.ts +2 -2
- package/cjs/components/Button/index.d.ts +1 -1
- package/cjs/components/Calendar/Calendar.d.ts +104 -104
- package/cjs/components/Calendar/Calendar.js +4 -1
- package/cjs/components/Calendar/Calendar.js.map +1 -1
- package/cjs/components/Calendar/Calendar.styles.d.ts +6 -6
- package/cjs/components/Calendar/CalendarContext.d.ts +12 -12
- package/cjs/components/Calendar/CalendarDateShape.d.ts +16 -16
- package/cjs/components/Calendar/CalendarDay.d.ts +19 -19
- package/cjs/components/Calendar/CalendarScrollEvents.d.ts +4 -4
- package/cjs/components/Calendar/CalendarUtils.d.ts +37 -37
- package/cjs/components/Calendar/DayCellView.d.ts +6 -6
- package/cjs/components/Calendar/DayCellView.styles.d.ts +8 -8
- package/cjs/components/Calendar/DayCellView.styles.js +17 -1
- package/cjs/components/Calendar/DayCellView.styles.js.map +1 -1
- package/cjs/components/Calendar/DayCellViewModel.d.ts +8 -8
- package/cjs/components/Calendar/Month.d.ts +23 -23
- package/cjs/components/Calendar/MonthView.d.ts +22 -22
- package/cjs/components/Calendar/MonthView.styles.d.ts +13 -13
- package/cjs/components/Calendar/MonthViewModel.d.ts +14 -14
- package/cjs/components/Calendar/config.d.ts +2 -2
- package/cjs/components/Calendar/index.d.ts +3 -3
- package/cjs/components/Calendar/locale/index.d.ts +4 -4
- package/cjs/components/Calendar/locale/locales/en.d.ts +2 -2
- package/cjs/components/Calendar/locale/locales/ru.d.ts +2 -2
- package/cjs/components/Calendar/locale/types.d.ts +7 -7
- package/cjs/components/Calendar/locale/types.js +1 -1
- package/cjs/components/Center/Center.d.ts +28 -28
- package/cjs/components/Center/Center.styles.d.ts +7 -7
- package/cjs/components/Center/index.d.ts +1 -1
- package/cjs/components/Checkbox/Checkbox.d.ts +108 -108
- package/cjs/components/Checkbox/Checkbox.mixins.d.ts +2 -2
- package/cjs/components/Checkbox/Checkbox.styles.d.ts +30 -30
- package/cjs/components/Checkbox/CheckedIcon.d.ts +3 -3
- package/cjs/components/Checkbox/IndeterminateIcon.d.ts +3 -3
- package/cjs/components/Checkbox/index.d.ts +1 -1
- package/cjs/components/ComboBox/ComboBox.d.ts +189 -182
- package/cjs/components/ComboBox/ComboBox.js +17 -1
- package/cjs/components/ComboBox/ComboBox.js.map +1 -1
- package/cjs/components/ComboBox/index.d.ts +1 -1
- package/cjs/components/CurrencyInput/CurrencyHelper.d.ts +41 -41
- package/cjs/components/CurrencyInput/CurrencyInput.d.ts +108 -108
- package/cjs/components/CurrencyInput/CurrencyInput.js.map +1 -1
- package/cjs/components/CurrencyInput/CurrencyInputHelper.d.ts +23 -23
- package/cjs/components/CurrencyInput/CurrencyInputKeyboardActions.d.ts +19 -19
- package/cjs/components/CurrencyInput/CursorHelper.d.ts +10 -10
- package/cjs/components/CurrencyInput/SelectionHelper.d.ts +11 -11
- package/cjs/components/CurrencyInput/constants.d.ts +5 -5
- package/cjs/components/CurrencyInput/index.d.ts +1 -1
- package/cjs/components/CurrencyLabel/CurrencyLabel.d.ts +27 -27
- package/cjs/components/CurrencyLabel/index.d.ts +1 -1
- package/cjs/components/DateInput/CalendarIcon.d.ts +3 -3
- package/cjs/components/DateInput/DateFragmentsView.d.ts +20 -20
- package/cjs/components/DateInput/DateFragmentsView.styles.d.ts +7 -7
- package/cjs/components/DateInput/DateInput.d.ts +102 -102
- package/cjs/components/DateInput/DateInput.styles.d.ts +10 -10
- package/cjs/components/DateInput/ViewDateInputValidateChecks.d.ts +10 -10
- package/cjs/components/DateInput/helpers/DateInputKeyboardActions.d.ts +21 -21
- package/cjs/components/DateInput/helpers/DateInputKeyboardActions.js +1 -1
- package/cjs/components/DateInput/helpers/DateInputKeyboardActions.js.map +1 -1
- package/cjs/components/DateInput/helpers/InternalDateMediator.d.ts +26 -26
- package/cjs/components/DateInput/helpers/inputNumber.d.ts +5 -5
- package/cjs/components/DateInput/index.d.ts +1 -1
- package/cjs/components/DatePicker/DatePicker.d.ts +148 -152
- package/cjs/components/DatePicker/DatePicker.js +1 -8
- package/cjs/components/DatePicker/DatePicker.js.map +1 -1
- package/cjs/components/DatePicker/DatePicker.styles.d.ts +5 -5
- package/cjs/components/DatePicker/DatePickerHelpers.d.ts +2 -2
- package/cjs/components/DatePicker/MobilePicker.d.ts +10 -10
- package/cjs/components/DatePicker/MobilePicker.js +0 -9
- package/cjs/components/DatePicker/MobilePicker.js.map +1 -1
- package/cjs/components/DatePicker/MobilePicker.styles.d.ts +3 -3
- package/cjs/components/DatePicker/getMobilePickerTheme.d.ts +2 -2
- package/cjs/components/DatePicker/index.d.ts +1 -1
- package/cjs/components/DatePicker/locale/index.d.ts +4 -4
- package/cjs/components/DatePicker/locale/locales/en.d.ts +2 -2
- package/cjs/components/DatePicker/locale/locales/ru.d.ts +2 -2
- package/cjs/components/DatePicker/locale/types.d.ts +7 -7
- package/cjs/components/DatePicker/locale/types.js +1 -1
- package/cjs/components/DateRangePicker/DateRangePicker.d.ts +82 -0
- package/cjs/components/DateRangePicker/DateRangePicker.js +490 -0
- package/cjs/components/DateRangePicker/DateRangePicker.js.map +1 -0
- package/cjs/components/DateRangePicker/DateRangePicker.styles.d.ts +17 -0
- package/cjs/components/DateRangePicker/DateRangePicker.styles.js +123 -0
- package/cjs/components/DateRangePicker/DateRangePicker.styles.js.map +1 -0
- package/cjs/components/DateRangePicker/DateRangePickerContext.d.ts +31 -0
- package/cjs/components/DateRangePicker/DateRangePickerContext.js +37 -0
- package/cjs/components/DateRangePicker/DateRangePickerContext.js.map +1 -0
- package/cjs/components/DateRangePicker/DateRangePickerInput.d.ts +11 -0
- package/cjs/components/DateRangePicker/DateRangePickerInput.js +162 -0
- package/cjs/components/DateRangePicker/DateRangePickerInput.js.map +1 -0
- package/cjs/components/DateRangePicker/DateRangePickerSeparator.d.ts +2 -0
- package/cjs/components/DateRangePicker/DateRangePickerSeparator.js +3 -0
- package/cjs/components/DateRangePicker/DateRangePickerSeparator.js.map +1 -0
- package/cjs/components/DateRangePicker/DateRangePickerTheme.d.ts +3 -0
- package/cjs/components/DateRangePicker/DateRangePickerTheme.js +33 -0
- package/cjs/components/DateRangePicker/DateRangePickerTheme.js.map +1 -0
- package/cjs/components/DateRangePicker/__creevey__/DateRangePicker.creevey.mts +155 -0
- package/cjs/components/DateRangePicker/__docs__/DateRangePicker.mdx +127 -0
- package/cjs/components/DateRangePicker/helpers/getStateForValue.d.ts +9 -0
- package/cjs/components/DateRangePicker/helpers/getStateForValue.js +122 -0
- package/cjs/components/DateRangePicker/helpers/getStateForValue.js.map +1 -0
- package/cjs/components/DateRangePicker/helpers/validateDateRangePicker.d.ts +9 -0
- package/cjs/components/DateRangePicker/helpers/validateDateRangePicker.js +67 -0
- package/cjs/components/DateRangePicker/helpers/validateDateRangePicker.js.map +1 -0
- package/cjs/components/DateRangePicker/index.d.ts +1 -0
- package/cjs/components/DateRangePicker/index.js +1 -0
- package/cjs/components/DateRangePicker/index.js.map +1 -0
- package/cjs/components/DateRangePicker/locale/index.d.ts +4 -0
- package/cjs/components/DateRangePicker/locale/index.js +12 -0
- package/cjs/components/DateRangePicker/locale/index.js.map +1 -0
- package/cjs/components/DateRangePicker/locale/locales/en.d.ts +2 -0
- package/cjs/components/DateRangePicker/locale/locales/en.js +9 -0
- package/cjs/components/DateRangePicker/locale/locales/en.js.map +1 -0
- package/cjs/components/DateRangePicker/locale/locales/ru.d.ts +2 -0
- package/cjs/components/DateRangePicker/locale/locales/ru.js +9 -0
- package/cjs/components/DateRangePicker/locale/locales/ru.js.map +1 -0
- package/cjs/components/DateRangePicker/locale/types.d.ts +7 -0
- package/cjs/components/DateRangePicker/locale/types.js +1 -0
- package/cjs/components/DateRangePicker/locale/types.js.map +1 -0
- package/cjs/components/Dropdown/Dropdown.d.ts +131 -129
- package/cjs/components/Dropdown/Dropdown.js +4 -0
- package/cjs/components/Dropdown/Dropdown.js.map +1 -1
- package/cjs/components/Dropdown/getDropdownTheme.d.ts +2 -2
- package/cjs/components/Dropdown/index.d.ts +1 -1
- package/cjs/components/DropdownMenu/DropdownMenu.d.ts +65 -63
- package/cjs/components/DropdownMenu/DropdownMenu.js +5 -1
- package/cjs/components/DropdownMenu/DropdownMenu.js.map +1 -1
- package/cjs/components/DropdownMenu/getDropdownMenuTheme.d.ts +2 -2
- package/cjs/components/DropdownMenu/index.d.ts +1 -1
- package/cjs/components/FileUploader/FileUploader.d.ts +56 -55
- package/cjs/components/FileUploader/FileUploader.js +4 -2
- package/cjs/components/FileUploader/FileUploader.js.map +1 -1
- package/cjs/components/FileUploader/FileUploader.md +23 -0
- package/cjs/components/FileUploader/FileUploader.mixins.d.ts +1 -1
- package/cjs/components/FileUploader/FileUploader.styles.d.ts +36 -36
- package/cjs/components/FileUploader/UploadIcon.d.ts +3 -3
- package/cjs/components/FileUploader/index.d.ts +5 -5
- package/cjs/components/FileUploader/locale/index.d.ts +4 -4
- package/cjs/components/FileUploader/locale/locales/en.d.ts +2 -2
- package/cjs/components/FileUploader/locale/locales/ru.d.ts +2 -2
- package/cjs/components/FileUploader/locale/types.d.ts +6 -6
- package/cjs/components/FileUploader/locale/types.js +1 -1
- package/cjs/components/FxInput/FxInput.d.ts +65 -63
- package/cjs/components/FxInput/FxInput.js +7 -1
- package/cjs/components/FxInput/FxInput.js.map +1 -1
- package/cjs/components/FxInput/FxInputRestoreBtn.d.ts +8 -6
- package/cjs/components/FxInput/FxInputRestoreBtn.js +5 -1
- package/cjs/components/FxInput/FxInputRestoreBtn.js.map +1 -1
- package/cjs/components/FxInput/MathFunctionIcon.d.ts +3 -3
- package/cjs/components/FxInput/UndoIcon.d.ts +3 -3
- package/cjs/components/FxInput/index.d.ts +1 -1
- package/cjs/components/Gapped/Gapped.d.ts +50 -50
- package/cjs/components/Gapped/index.d.ts +1 -1
- package/cjs/components/GlobalLoader/GlobalLoader.d.ts +98 -98
- package/cjs/components/GlobalLoader/GlobalLoaderView.d.ts +17 -17
- package/cjs/components/GlobalLoader/GlobalLoaderView.styles.d.ts +16 -16
- package/cjs/components/GlobalLoader/index.d.ts +1 -1
- package/cjs/components/GlobalLoader/useParams.d.ts +22 -22
- package/cjs/components/Group/Group.d.ts +25 -25
- package/cjs/components/Group/Group.js +24 -7
- package/cjs/components/Group/Group.js.map +1 -1
- package/cjs/components/Group/Group.styles.d.ts +8 -8
- package/cjs/components/Group/index.d.ts +1 -1
- package/cjs/components/Hint/Hint.d.ts +67 -67
- package/cjs/components/Hint/Hint.styles.d.ts +5 -5
- package/cjs/components/Hint/index.d.ts +1 -1
- package/cjs/components/Input/Input.d.ts +185 -164
- package/cjs/components/Input/Input.js +135 -19
- package/cjs/components/Input/Input.js.map +1 -1
- package/cjs/components/Input/Input.styles.d.ts +28 -28
- package/cjs/components/Input/Input.typings.d.ts +7 -7
- package/cjs/components/Input/Input.typings.js +1 -1
- package/cjs/components/Input/InputLayout/InputLayout.d.ts +11 -11
- package/cjs/components/Input/InputLayout/InputLayout.styles.d.ts +11 -11
- package/cjs/components/Input/InputLayout/InputLayoutAside.d.ts +8 -8
- package/cjs/components/Input/InputLayout/InputLayoutAsideIcon.d.ts +7 -7
- package/cjs/components/Input/InputLayout/InputLayoutAsideText.d.ts +6 -6
- package/cjs/components/Input/InputLayout/InputLayoutContext.d.ts +9 -9
- package/cjs/components/Input/InputLayout/PolyfillPlaceholder.d.ts +10 -10
- package/cjs/components/Input/index.d.ts +2 -2
- package/cjs/components/Kebab/Kebab.d.ts +58 -58
- package/cjs/components/Kebab/Kebab.styles.d.ts +11 -11
- package/cjs/components/Kebab/KebabIcon.d.ts +3 -3
- package/cjs/components/Kebab/index.d.ts +1 -1
- package/cjs/components/Link/Link.d.ts +61 -61
- package/cjs/components/Link/Link.mixins.d.ts +2 -2
- package/cjs/components/Link/Link.styles.d.ts +23 -23
- package/cjs/components/Link/LinkIcon.d.ts +7 -7
- package/cjs/components/Link/index.d.ts +1 -1
- package/cjs/components/Loader/Loader.d.ts +106 -106
- package/cjs/components/Loader/Loader.styles.d.ts +8 -8
- package/cjs/components/Loader/index.d.ts +1 -1
- package/cjs/components/MaskedInput/ColorableInputElement/ColorableInputElement.d.ts +7 -7
- package/cjs/components/MaskedInput/ColorableInputElement/ColorableInputElement.styles.d.ts +3 -3
- package/cjs/components/MaskedInput/ColorableInputElement/index.d.ts +1 -1
- package/cjs/components/MaskedInput/FixedIMaskInput.d.ts +9 -9
- package/cjs/components/MaskedInput/MaskedInput.d.ts +42 -42
- package/cjs/components/MaskedInput/MaskedInput.helpers.d.ts +9 -9
- package/cjs/components/MaskedInput/MaskedInput.js +3 -0
- package/cjs/components/MaskedInput/MaskedInput.js.map +1 -1
- package/cjs/components/MaskedInput/MaskedInput.styles.d.ts +3 -3
- package/cjs/components/MaskedInput/index.d.ts +1 -1
- package/cjs/components/MenuFooter/MenuFooter.d.ts +29 -29
- package/cjs/components/MenuFooter/MenuFooter.mixins.d.ts +2 -2
- package/cjs/components/MenuFooter/MenuFooter.styles.d.ts +10 -10
- package/cjs/components/MenuFooter/index.d.ts +1 -1
- package/cjs/components/MenuHeader/MenuHeader.d.ts +29 -29
- package/cjs/components/MenuHeader/MenuHeader.mixins.d.ts +2 -2
- package/cjs/components/MenuHeader/MenuHeader.styles.d.ts +10 -10
- package/cjs/components/MenuHeader/index.d.ts +1 -1
- package/cjs/components/MenuItem/MenuItem.d.ts +113 -113
- package/cjs/components/MenuItem/MenuItem.js +1 -1
- package/cjs/components/MenuItem/MenuItem.js.map +1 -1
- package/cjs/components/MenuItem/MenuItem.mixins.d.ts +3 -3
- package/cjs/components/MenuItem/MenuItem.styles.d.ts +27 -27
- package/cjs/components/MenuItem/index.d.ts +1 -1
- package/cjs/components/MenuSeparator/MenuSeparator.d.ts +17 -17
- package/cjs/components/MenuSeparator/MenuSeparator.styles.d.ts +5 -5
- package/cjs/components/MenuSeparator/index.d.ts +1 -1
- package/cjs/components/MiniModal/MiniModal.d.ts +24 -24
- package/cjs/components/MiniModal/MiniModal.styles.d.ts +11 -14
- package/cjs/components/MiniModal/MiniModal.styles.js +9 -26
- package/cjs/components/MiniModal/MiniModal.styles.js.map +1 -1
- package/cjs/components/MiniModal/MiniModalBody.d.ts +7 -7
- package/cjs/components/MiniModal/MiniModalFooter.d.ts +13 -13
- package/cjs/components/MiniModal/MiniModalFooter.js +3 -13
- package/cjs/components/MiniModal/MiniModalFooter.js.map +1 -1
- package/cjs/components/MiniModal/MiniModalHeader.d.ts +14 -14
- package/cjs/components/MiniModal/MiniModalIndent.d.ts +7 -7
- package/cjs/components/MiniModal/MiniModalIndent.js +1 -10
- package/cjs/components/MiniModal/MiniModalIndent.js.map +1 -1
- package/cjs/components/MiniModal/getMiniModalTheme.d.ts +2 -2
- package/cjs/components/MiniModal/index.d.ts +5 -5
- package/cjs/components/Modal/Modal.d.ts +80 -80
- package/cjs/components/Modal/Modal.styles.d.ts +49 -49
- package/cjs/components/Modal/ModalBody.d.ts +22 -22
- package/cjs/components/Modal/ModalClose.d.ts +7 -7
- package/cjs/components/Modal/ModalContext.d.ts +18 -18
- package/cjs/components/Modal/ModalFooter.d.ts +29 -29
- package/cjs/components/Modal/ModalHeader.d.ts +23 -23
- package/cjs/components/Modal/ModalSeparator.d.ts +16 -16
- package/cjs/components/Modal/getModalBodyTheme.d.ts +2 -2
- package/cjs/components/Modal/getModalTheme.d.ts +2 -2
- package/cjs/components/Modal/index.d.ts +4 -4
- package/cjs/components/Modal/locale/index.d.ts +4 -4
- package/cjs/components/Modal/locale/locales/en.d.ts +2 -2
- package/cjs/components/Modal/locale/locales/ru.d.ts +2 -2
- package/cjs/components/Modal/locale/types.d.ts +3 -3
- package/cjs/components/Modal/locale/types.js +1 -1
- package/cjs/components/Paging/ForwardIcon.d.ts +3 -3
- package/cjs/components/Paging/NavigationHelper.d.ts +7 -7
- package/cjs/components/Paging/Paging.d.ts +101 -101
- package/cjs/components/Paging/Paging.styles.d.ts +17 -17
- package/cjs/components/Paging/PagingDefaultComponent.d.ts +11 -11
- package/cjs/components/Paging/PagingHelper.d.ts +2 -2
- package/cjs/components/Paging/index.d.ts +1 -1
- package/cjs/components/Paging/locale/index.d.ts +4 -4
- package/cjs/components/Paging/locale/locales/en.d.ts +2 -2
- package/cjs/components/Paging/locale/locales/ru.d.ts +2 -2
- package/cjs/components/Paging/locale/types.d.ts +3 -3
- package/cjs/components/Paging/locale/types.js +1 -1
- package/cjs/components/PasswordInput/ClosedIcon.d.ts +3 -3
- package/cjs/components/PasswordInput/OpenedIcon.d.ts +3 -3
- package/cjs/components/PasswordInput/PasswordInput.d.ts +66 -66
- package/cjs/components/PasswordInput/PasswordInput.js +3 -0
- package/cjs/components/PasswordInput/PasswordInput.js.map +1 -1
- package/cjs/components/PasswordInput/PasswordInput.styles.d.ts +11 -11
- package/cjs/components/PasswordInput/PasswordInput.styles.js +2 -1
- package/cjs/components/PasswordInput/PasswordInput.styles.js.map +1 -1
- package/cjs/components/PasswordInput/PasswordInputIcon.d.ts +4 -4
- package/cjs/components/PasswordInput/__creevey__/PasswordInput.creevey.mts +8 -0
- package/cjs/components/PasswordInput/index.d.ts +1 -1
- package/cjs/components/PasswordInput/locale/index.d.ts +4 -4
- package/cjs/components/PasswordInput/locale/locales/en.d.ts +2 -2
- package/cjs/components/PasswordInput/locale/locales/ru.d.ts +2 -2
- package/cjs/components/PasswordInput/locale/types.d.ts +4 -4
- package/cjs/components/PasswordInput/locale/types.js +1 -1
- package/cjs/components/Radio/Radio.d.ts +76 -76
- package/cjs/components/Radio/Radio.mixins.d.ts +5 -5
- package/cjs/components/Radio/Radio.styles.d.ts +30 -30
- package/cjs/components/Radio/index.d.ts +1 -1
- package/cjs/components/RadioGroup/Prevent.d.ts +8 -8
- package/cjs/components/RadioGroup/RadioGroup.d.ts +87 -87
- package/cjs/components/RadioGroup/RadioGroup.styles.d.ts +6 -6
- package/cjs/components/RadioGroup/RadioGroupContext.d.ts +10 -10
- package/cjs/components/RadioGroup/index.d.ts +1 -1
- package/cjs/components/ResponsiveLayout/ResponsiveLayout.d.ts +19 -19
- package/cjs/components/ResponsiveLayout/ResponsiveLayoutEvents.d.ts +11 -11
- package/cjs/components/ResponsiveLayout/decorator.d.ts +31 -31
- package/cjs/components/ResponsiveLayout/index.d.ts +3 -3
- package/cjs/components/ResponsiveLayout/types.d.ts +11 -11
- package/cjs/components/ResponsiveLayout/types.js +1 -1
- package/cjs/components/ResponsiveLayout/useResponsiveLayout.d.ts +2 -2
- package/cjs/components/ScrollContainer/ScrollBar.d.ts +51 -51
- package/cjs/components/ScrollContainer/ScrollContainer.constants.d.ts +23 -23
- package/cjs/components/ScrollContainer/ScrollContainer.d.ts +121 -121
- package/cjs/components/ScrollContainer/ScrollContainer.helpers.d.ts +10 -10
- package/cjs/components/ScrollContainer/ScrollContainer.styles.d.ts +22 -22
- package/cjs/components/ScrollContainer/index.d.ts +1 -1
- package/cjs/components/Select/ArrowDownIcon.d.ts +3 -3
- package/cjs/components/Select/Item.d.ts +13 -13
- package/cjs/components/Select/Select.d.ts +193 -191
- package/cjs/components/Select/Select.js +4 -0
- package/cjs/components/Select/Select.js.map +1 -1
- package/cjs/components/Select/Select.styles.d.ts +18 -18
- package/cjs/components/Select/index.d.ts +1 -1
- package/cjs/components/Select/locale/index.d.ts +4 -4
- package/cjs/components/Select/locale/locales/en.d.ts +2 -2
- package/cjs/components/Select/locale/locales/ru.d.ts +2 -2
- package/cjs/components/Select/locale/types.d.ts +4 -4
- package/cjs/components/Select/locale/types.js +1 -1
- package/cjs/components/Select/selectTheme.d.ts +3 -3
- package/cjs/components/Select/tids.d.ts +5 -5
- package/cjs/components/SidePage/SidePage.d.ts +96 -96
- package/cjs/components/SidePage/SidePage.styles.d.ts +55 -55
- package/cjs/components/SidePage/SidePageBody.d.ts +24 -24
- package/cjs/components/SidePage/SidePageCloseButton.d.ts +11 -11
- package/cjs/components/SidePage/SidePageContainer.d.ts +20 -20
- package/cjs/components/SidePage/SidePageContext.d.ts +17 -17
- package/cjs/components/SidePage/SidePageFooter.d.ts +48 -48
- package/cjs/components/SidePage/SidePageHeader.d.ts +49 -49
- package/cjs/components/SidePage/index.d.ts +5 -5
- package/cjs/components/SidePage/locale/index.d.ts +4 -4
- package/cjs/components/SidePage/locale/locales/en.d.ts +2 -2
- package/cjs/components/SidePage/locale/locales/ru.d.ts +2 -2
- package/cjs/components/SidePage/locale/types.d.ts +3 -3
- package/cjs/components/SidePage/locale/types.js +1 -1
- package/cjs/components/SingleToast/SingleToast.d.ts +17 -17
- package/cjs/components/SingleToast/index.d.ts +1 -1
- package/cjs/components/Spinner/Spinner.d.ts +65 -65
- package/cjs/components/Spinner/Spinner.styles.d.ts +16 -16
- package/cjs/components/Spinner/SpinnerFallbackAnimation.d.ts +25 -25
- package/cjs/components/Spinner/index.d.ts +1 -1
- package/cjs/components/Sticky/Sticky.d.ts +69 -69
- package/cjs/components/Sticky/Sticky.styles.d.ts +7 -7
- package/cjs/components/Sticky/index.d.ts +1 -1
- package/cjs/components/Switcher/Switcher.d.ts +84 -84
- package/cjs/components/Switcher/Switcher.styles.d.ts +12 -12
- package/cjs/components/Switcher/helpers.d.ts +1 -1
- package/cjs/components/Switcher/index.d.ts +1 -1
- package/cjs/components/Switcher/switcherTheme.d.ts +2 -2
- package/cjs/components/Tabs/Indicator.d.ts +28 -28
- package/cjs/components/Tabs/Indicator.styles.d.ts +8 -8
- package/cjs/components/Tabs/Tab.d.ts +78 -78
- package/cjs/components/Tabs/Tab.styles.d.ts +33 -33
- package/cjs/components/Tabs/Tabs.d.ts +55 -55
- package/cjs/components/Tabs/Tabs.styles.d.ts +7 -7
- package/cjs/components/Tabs/TabsContext.d.ts +16 -16
- package/cjs/components/Tabs/helpers.d.ts +6 -6
- package/cjs/components/Tabs/index.d.ts +2 -2
- package/cjs/components/Textarea/Textarea.d.ts +168 -168
- package/cjs/components/Textarea/Textarea.mixins.d.ts +3 -3
- package/cjs/components/Textarea/Textarea.styles.d.ts +25 -25
- package/cjs/components/Textarea/TextareaCounter.d.ts +14 -14
- package/cjs/components/Textarea/TextareaHelpers.d.ts +11 -11
- package/cjs/components/Textarea/TextareaWithSafari17Workaround.d.ts +7 -7
- package/cjs/components/Textarea/index.d.ts +1 -1
- package/cjs/components/Toast/Toast.d.ts +79 -79
- package/cjs/components/Toast/Toast.styles.d.ts +6 -6
- package/cjs/components/Toast/ToastStatic.d.ts +9 -9
- package/cjs/components/Toast/ToastView.d.ts +35 -35
- package/cjs/components/Toast/ToastView.styles.d.ts +7 -7
- package/cjs/components/Toast/index.d.ts +1 -1
- package/cjs/components/Toast/locale/index.d.ts +4 -4
- package/cjs/components/Toast/locale/locales/en.d.ts +2 -2
- package/cjs/components/Toast/locale/locales/ru.d.ts +2 -2
- package/cjs/components/Toast/locale/types.d.ts +3 -3
- package/cjs/components/Toast/locale/types.js +1 -1
- package/cjs/components/Toggle/Toggle.d.ts +94 -96
- package/cjs/components/Toggle/Toggle.js +10 -1
- package/cjs/components/Toggle/Toggle.js.map +1 -1
- package/cjs/components/Toggle/Toggle.mixins.d.ts +6 -6
- package/cjs/components/Toggle/Toggle.styles.d.ts +46 -46
- package/cjs/components/Toggle/index.d.ts +1 -1
- package/cjs/components/Token/Token.d.ts +49 -49
- package/cjs/components/Token/Token.mixins.d.ts +1 -1
- package/cjs/components/Token/Token.styles.d.ts +23 -23
- package/cjs/components/Token/TokenView.d.ts +11 -11
- package/cjs/components/Token/index.d.ts +1 -1
- package/cjs/components/Token/locale/index.d.ts +4 -4
- package/cjs/components/Token/locale/locales/en.d.ts +2 -2
- package/cjs/components/Token/locale/locales/ru.d.ts +2 -2
- package/cjs/components/Token/locale/types.d.ts +3 -3
- package/cjs/components/Token/locale/types.js +1 -1
- package/cjs/components/TokenInput/TextWidthHelper.d.ts +23 -23
- package/cjs/components/TokenInput/TokenInput.d.ts +224 -224
- package/cjs/components/TokenInput/TokenInput.js +1 -1
- package/cjs/components/TokenInput/TokenInput.js.map +1 -1
- package/cjs/components/TokenInput/TokenInput.mixins.d.ts +2 -2
- package/cjs/components/TokenInput/TokenInput.styles.d.ts +19 -19
- package/cjs/components/TokenInput/TokenInputMenu.d.ts +30 -30
- package/cjs/components/TokenInput/TokenInputReducer.d.ts +25 -25
- package/cjs/components/TokenInput/index.d.ts +1 -1
- package/cjs/components/TokenInput/locale/index.d.ts +4 -4
- package/cjs/components/TokenInput/locale/locales/en.d.ts +2 -2
- package/cjs/components/TokenInput/locale/locales/ru.d.ts +2 -2
- package/cjs/components/TokenInput/locale/types.d.ts +4 -4
- package/cjs/components/TokenInput/locale/types.js +1 -1
- package/cjs/components/Tooltip/Tooltip.d.ts +133 -133
- package/cjs/components/Tooltip/Tooltip.styles.d.ts +5 -5
- package/cjs/components/Tooltip/index.d.ts +1 -1
- package/cjs/components/TooltipMenu/TooltipMenu.d.ts +55 -55
- package/cjs/components/TooltipMenu/index.d.ts +1 -1
- package/cjs/hooks/useDrop.d.ts +11 -11
- package/cjs/hooks/useEffectWithoutInitCall.d.ts +2 -2
- package/cjs/hooks/useMemoObject.d.ts +2 -2
- package/cjs/index.d.ts +60 -59
- package/cjs/index.js +1 -0
- package/cjs/index.js.map +1 -1
- package/cjs/internal/BGRuler.d.ts +28 -28
- package/cjs/internal/ClearCrossIcon/ClearCrossIcon.d.ts +9 -0
- package/cjs/internal/ClearCrossIcon/ClearCrossIcon.js +72 -0
- package/cjs/internal/ClearCrossIcon/ClearCrossIcon.js.map +1 -0
- package/cjs/internal/ClearCrossIcon/ClearCrossIcon.styles.d.ts +8 -0
- package/cjs/internal/ClearCrossIcon/ClearCrossIcon.styles.js +51 -0
- package/cjs/internal/ClearCrossIcon/ClearCrossIcon.styles.js.map +1 -0
- package/cjs/internal/ClearCrossIcon/CrossIcon.d.ts +3 -0
- package/cjs/internal/ClearCrossIcon/CrossIcon.js +15 -0
- package/cjs/internal/ClearCrossIcon/CrossIcon.js.map +1 -0
- package/cjs/internal/ClearCrossIcon/__creevey__/ClearCrossIcon.creevey.mts +44 -0
- package/cjs/internal/CloseButtonIcon/CloseButtonIcon.d.ts +35 -35
- package/cjs/internal/CloseButtonIcon/CloseButtonIcon.styles.d.ts +7 -7
- package/cjs/internal/CloseButtonIcon/CrossIcon.d.ts +3 -3
- package/cjs/internal/CommonWrapper/CommonWrapper.d.ts +12 -12
- package/cjs/internal/CommonWrapper/index.d.ts +3 -3
- package/cjs/internal/CommonWrapper/types.d.ts +25 -25
- package/cjs/internal/CommonWrapper/types.js +1 -1
- package/cjs/internal/CommonWrapper/utils/extractCommonProps.d.ts +3 -3
- package/cjs/internal/CommonWrapper/utils/getCommonVisualStateDataAttributes.d.ts +2 -2
- package/cjs/internal/CommonWrapper/utils/getVisualStateDataAttributes.d.ts +3 -3
- package/cjs/internal/CommonWrapper/utils/tryGetBoolean.d.ts +1 -1
- package/cjs/internal/ComponentCombinator.d.ts +23 -23
- package/cjs/internal/ComponentTable.d.ts +22 -22
- package/cjs/internal/CustomComboBox/ArrowDownIcon.d.ts +3 -3
- package/cjs/internal/CustomComboBox/ComboBoxMenu.d.ts +48 -48
- package/cjs/internal/CustomComboBox/ComboBoxView.d.ts +115 -111
- package/cjs/internal/CustomComboBox/ComboBoxView.js +13 -3
- package/cjs/internal/CustomComboBox/ComboBoxView.js.map +1 -1
- package/cjs/internal/CustomComboBox/CustomComboBox.d.ts +153 -152
- package/cjs/internal/CustomComboBox/CustomComboBox.js +4 -1
- package/cjs/internal/CustomComboBox/CustomComboBox.js.map +1 -1
- package/cjs/internal/CustomComboBox/CustomComboBox.styles.d.ts +4 -4
- package/cjs/internal/CustomComboBox/CustomComboBoxReducer.d.ts +77 -74
- package/cjs/internal/CustomComboBox/CustomComboBoxReducer.js +12 -0
- package/cjs/internal/CustomComboBox/CustomComboBoxReducer.js.map +1 -1
- package/cjs/internal/CustomComboBox/CustomComboBoxTypes.d.ts +6 -6
- package/cjs/internal/CustomComboBox/CustomComboBoxTypes.js +1 -1
- package/cjs/internal/CustomComboBox/CustomComboBoxTypes.js.map +1 -1
- package/cjs/internal/CustomComboBox/getComboBoxTheme.d.ts +2 -2
- package/cjs/internal/CustomComboBox/index.d.ts +2 -2
- package/cjs/internal/CustomComboBox/locale/index.d.ts +4 -4
- package/cjs/internal/CustomComboBox/locale/locales/en.d.ts +2 -2
- package/cjs/internal/CustomComboBox/locale/locales/ru.d.ts +2 -2
- package/cjs/internal/CustomComboBox/locale/types.d.ts +5 -5
- package/cjs/internal/CustomComboBox/locale/types.js +1 -1
- package/cjs/internal/CustomComboBox/tids.d.ts +3 -3
- package/cjs/internal/DataTids/DataTids.d.ts +12 -12
- package/cjs/internal/DataTids/DataTids.styles.d.ts +7 -7
- package/cjs/internal/DataTids/componentsDataTids.d.ts +5 -5
- package/cjs/internal/DateSelect/DateSelect.d.ts +45 -45
- package/cjs/internal/DateSelect/DateSelect.styles.d.ts +9 -9
- package/cjs/internal/DateSelect/index.d.ts +1 -1
- package/cjs/internal/DateSelect/locale/index.d.ts +4 -4
- package/cjs/internal/DateSelect/locale/locales/en.d.ts +2 -2
- package/cjs/internal/DateSelect/locale/locales/ru.d.ts +2 -2
- package/cjs/internal/DateSelect/locale/types.d.ts +6 -6
- package/cjs/internal/DateSelect/locale/types.js +1 -1
- package/cjs/internal/FileUploaderControl/FileUploaderControlContext.d.ts +14 -14
- package/cjs/internal/FileUploaderControl/FileUploaderControlProvider.d.ts +17 -17
- package/cjs/internal/FileUploaderControl/FileUploaderFile/DeleteIcon.d.ts +3 -3
- package/cjs/internal/FileUploaderControl/FileUploaderFile/ErrorIcon.d.ts +3 -3
- package/cjs/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.d.ts +20 -20
- package/cjs/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.styles.d.ts +18 -18
- package/cjs/internal/FileUploaderControl/FileUploaderFile/FileUploaderFileStatusIcon.d.ts +12 -12
- package/cjs/internal/FileUploaderControl/FileUploaderFile/OkIcon.d.ts +3 -3
- package/cjs/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList.d.ts +17 -17
- package/cjs/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList.styles.d.ts +8 -8
- package/cjs/internal/FileUploaderControl/FileUploaderFileValidationResult.d.ts +7 -7
- package/cjs/internal/FileUploaderControl/fileUtils.d.ts +14 -14
- package/cjs/internal/FileUploaderControl/fileUtils.js +1 -1
- package/cjs/internal/FileUploaderControl/fileUtils.js.map +1 -1
- package/cjs/internal/FileUploaderControl/hooks/useControlLocale.d.ts +1 -1
- package/cjs/internal/FileUploaderControl/hooks/useFileUploaderSize.d.ts +2 -2
- package/cjs/internal/FileUploaderControl/hooks/useUpload.d.ts +3 -3
- package/cjs/internal/FileUploaderControl/withFileUploaderControlProvider.d.ts +3 -3
- package/cjs/internal/FocusControlWrapper/FocusControlWrapper.d.ts +17 -17
- package/cjs/internal/FocusControlWrapper/FocusControlWrapper.stories.d.ts +4 -4
- package/cjs/internal/FocusControlWrapper/index.d.ts +1 -1
- package/cjs/internal/FocusControlWrapper/useFocusControl.d.ts +12 -12
- package/cjs/internal/FocusTrap/FocusTrap.d.ts +18 -18
- package/cjs/internal/FocusTrap/index.d.ts +1 -1
- package/cjs/internal/HideBodyVerticalScroll/HideBodyVerticalScroll.d.ts +15 -15
- package/cjs/internal/HideBodyVerticalScroll/index.d.ts +1 -1
- package/cjs/internal/IgnoreLayerClick/IgnoreLayerClick.d.ts +8 -8
- package/cjs/internal/IgnoreLayerClick/index.d.ts +1 -1
- package/cjs/internal/InputLikeText/HiddenInput.d.ts +13 -13
- package/cjs/internal/InputLikeText/InputLikeText.d.ts +79 -74
- package/cjs/internal/InputLikeText/InputLikeText.js +80 -34
- package/cjs/internal/InputLikeText/InputLikeText.js.map +1 -1
- package/cjs/internal/InputLikeText/InputLikeText.styles.d.ts +7 -7
- package/cjs/internal/InputLikeText/index.d.ts +1 -1
- package/cjs/internal/InternalMaskedInput/InternalMaskedInput.d.ts +50 -50
- package/cjs/internal/InternalMaskedInput/InternalMaskedInput.styles.d.ts +6 -6
- package/cjs/internal/InternalMaskedInput/index.d.ts +1 -1
- package/cjs/internal/MaskCharLowLine/MaskCharLowLine.d.ts +10 -10
- package/cjs/internal/MaskCharLowLine/MaskCharLowLine.styles.d.ts +3 -3
- package/cjs/internal/MaskCharLowLine/index.d.ts +1 -1
- package/cjs/internal/Menu/Menu.d.ts +106 -106
- package/cjs/internal/Menu/Menu.js.map +1 -1
- package/cjs/internal/Menu/Menu.styles.d.ts +17 -17
- package/cjs/internal/Menu/MenuContext.d.ts +10 -10
- package/cjs/internal/Menu/MenuNavigation.d.ts +26 -26
- package/cjs/internal/Menu/index.d.ts +1 -1
- package/cjs/internal/Menu/isActiveElement.d.ts +3 -3
- package/cjs/internal/MenuMessage/MenuMessage.d.ts +12 -12
- package/cjs/internal/MenuMessage/MenuMessage.styles.d.ts +8 -8
- package/cjs/internal/MenuMessage/index.d.ts +1 -1
- package/cjs/internal/MobilePopup/MobilePopup.d.ts +47 -47
- package/cjs/internal/MobilePopup/MobilePopup.styles.d.ts +10 -10
- package/cjs/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.d.ts +7 -7
- package/cjs/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.styles.d.ts +4 -4
- package/cjs/internal/MobilePopup/MobilePopupFooter/index.d.ts +1 -1
- package/cjs/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.d.ts +15 -15
- package/cjs/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.styles.d.ts +8 -8
- package/cjs/internal/MobilePopup/MobilePopupHeader/index.d.ts +1 -1
- package/cjs/internal/MobilePopup/index.d.ts +1 -1
- package/cjs/internal/NativeDateInput/NativeDateInput.d.ts +24 -24
- package/cjs/internal/NativeDateInput/NativeDateInput.styles.d.ts +3 -3
- package/cjs/internal/NativeDateInput/index.d.ts +1 -1
- package/cjs/internal/NativeDateInput/utils.d.ts +7 -7
- package/cjs/internal/PerformanceMetrics/PerformanceMetrics.d.ts +7 -7
- package/cjs/internal/Popup/Popup.d.ts +204 -204
- package/cjs/internal/Popup/Popup.js +4 -6
- package/cjs/internal/Popup/Popup.js.map +1 -1
- package/cjs/internal/Popup/Popup.styles.d.ts +17 -17
- package/cjs/internal/Popup/PopupHelper.d.ts +26 -26
- package/cjs/internal/Popup/PopupPin.d.ts +57 -57
- package/cjs/internal/Popup/PopupPin.styles.d.ts +3 -3
- package/cjs/internal/Popup/index.d.ts +1 -1
- package/cjs/internal/Popup/types.d.ts +2 -2
- package/cjs/internal/Popup/types.js +1 -1
- package/cjs/internal/PopupMenu/PopupMenu.d.ts +103 -99
- package/cjs/internal/PopupMenu/PopupMenu.js +7 -1
- package/cjs/internal/PopupMenu/PopupMenu.js.map +1 -1
- package/cjs/internal/PopupMenu/PopupMenu.styles.d.ts +4 -4
- package/cjs/internal/PopupMenu/index.d.ts +1 -1
- package/cjs/internal/PopupMenu/tids.d.ts +4 -4
- package/cjs/internal/PopupMenu/validatePositions.d.ts +2 -2
- package/cjs/internal/RenderContainer/RenderContainer.d.ts +18 -18
- package/cjs/internal/RenderContainer/RenderContainerTypes.d.ts +13 -13
- package/cjs/internal/RenderContainer/RenderContainerTypes.js +1 -1
- package/cjs/internal/RenderContainer/RenderInnerContainer.d.ts +24 -24
- package/cjs/internal/RenderContainer/index.d.ts +1 -1
- package/cjs/internal/RenderLayer/RenderLayer.d.ts +32 -32
- package/cjs/internal/RenderLayer/index.d.ts +1 -1
- package/cjs/internal/ResizeDetector/ResizeDetector.d.ts +14 -14
- package/cjs/internal/ResizeDetector/ResizeDetector.styles.d.ts +6 -6
- package/cjs/internal/ResizeDetector/index.d.ts +1 -1
- package/cjs/internal/SpinnerIcon/SpinnerIcon.d.ts +33 -33
- package/cjs/internal/SpinnerIcon/SpinnerIcon.styles.d.ts +6 -6
- package/cjs/internal/TextWidthHelper/TextWidthHelper.d.ts +15 -15
- package/cjs/internal/TextWidthHelper/TextWidthHelper.styles.d.ts +4 -4
- package/cjs/internal/ThemePlayground/AnotherInputsPlayground.d.ts +18 -18
- package/cjs/internal/ThemePlayground/CheckboxPlayground.d.ts +2 -2
- package/cjs/internal/ThemePlayground/ComponentsGroup.d.ts +10 -10
- package/cjs/internal/ThemePlayground/CurrencyInputPlayground.d.ts +12 -12
- package/cjs/internal/ThemePlayground/FxInputPlayground.d.ts +12 -12
- package/cjs/internal/ThemePlayground/HintPlayground.d.ts +6 -6
- package/cjs/internal/ThemePlayground/PagingPlayground.d.ts +10 -10
- package/cjs/internal/ThemePlayground/Playground.d.ts +30 -30
- package/cjs/internal/ThemePlayground/Playground.styles.d.ts +23 -23
- package/cjs/internal/ThemePlayground/RadioPlayground.d.ts +2 -2
- package/cjs/internal/ThemePlayground/SelectPlayground.d.ts +15 -15
- package/cjs/internal/ThemePlayground/ShowcaseGroup.d.ts +6 -6
- package/cjs/internal/ThemePlayground/SizesGroup.d.ts +6 -6
- package/cjs/internal/ThemePlayground/SwitcherPlayground.d.ts +16 -16
- package/cjs/internal/ThemePlayground/ThemeContextPlayground.d.ts +45 -45
- package/cjs/internal/ThemePlayground/ThemeEditor.d.ts +36 -36
- package/cjs/internal/ThemePlayground/TogglePlayground.d.ts +4 -4
- package/cjs/internal/ThemePlayground/TokenInputPlayground.d.ts +9 -9
- package/cjs/internal/ThemePlayground/UnlinkVarsPlayground.d.ts +2 -2
- package/cjs/internal/ThemePlayground/VariableValue.d.ts +43 -43
- package/cjs/internal/ThemePlayground/__creevey__/Theme5_0.stories.d.ts +4 -4
- package/cjs/internal/ThemePlayground/constants.d.ts +15 -15
- package/cjs/internal/ThemePlayground/constants.js +1 -1
- package/cjs/internal/ThemePlayground/constants.js.map +1 -1
- package/cjs/internal/ThemePlayground/helpers.d.ts +2 -2
- package/cjs/internal/ThemeShowcase/ThemeShowcase.d.ts +22 -22
- package/cjs/internal/ThemeShowcase/ThemeShowcase.styles.d.ts +27 -27
- package/cjs/internal/ThemeShowcase/VariablesCollector.d.ts +22 -22
- package/cjs/internal/ZIndex/ZIndex.d.ts +61 -61
- package/cjs/internal/ZIndex/ZIndexStorage.d.ts +18 -18
- package/cjs/internal/ZIndex/index.d.ts +2 -2
- package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon16Light.d.ts +2 -2
- package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon20Light.d.ts +2 -2
- package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon24Regular.d.ts +2 -2
- package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon16Light.d.ts +2 -2
- package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon20Light.d.ts +2 -2
- package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon24Regular.d.ts +2 -2
- package/cjs/internal/icons2022/ArrowAUpIcon/ArrowAUp16Light.d.ts +2 -2
- package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon16Regular.d.ts +2 -2
- package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon20Regular.d.ts +2 -2
- package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon24Regular.d.ts +2 -2
- package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon16Light.d.ts +2 -2
- package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon20Light.d.ts +2 -2
- package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon24Regular.d.ts +2 -2
- package/cjs/internal/icons2022/ArrowCUpIcon/ArrowCUpIcon16Regular.d.ts +2 -2
- package/cjs/internal/icons2022/ArrowCollapseCVOpenIcon/ArrowCollapseCVOpenIcon16Regular.d.ts +2 -2
- package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon16Light.d.ts +2 -2
- package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon20Light.d.ts +2 -2
- package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon24Regular.d.ts +2 -2
- package/cjs/internal/icons2022/BaseIcon.d.ts +15 -15
- package/cjs/internal/icons2022/BaseIcon.styles.d.ts +3 -3
- package/cjs/internal/icons2022/CalendarIcon/CalendarIcon16Light.d.ts +2 -2
- package/cjs/internal/icons2022/CalendarIcon/CalendarIcon20Light.d.ts +2 -2
- package/cjs/internal/icons2022/CalendarIcon/CalendarIcon24Regular.d.ts +2 -2
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Light.d.ts +2 -2
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Regular.d.ts +2 -2
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Solid.d.ts +2 -2
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon20Light.d.ts +2 -2
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon20Solid.d.ts +2 -2
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon24Regular.d.ts +2 -2
- package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon16Light.d.ts +2 -2
- package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon20Light.d.ts +2 -2
- package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon24Regular.d.ts +2 -2
- package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon16Light.d.ts +2 -2
- package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon20Light.d.ts +2 -2
- package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon24Regular.d.ts +2 -2
- package/cjs/internal/icons2022/InfoCircleIcon/InfoCircleIcon64Regular.d.ts +2 -2
- package/cjs/internal/icons2022/LoadingIcon.d.ts +4 -4
- package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon16Light.d.ts +2 -2
- package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon20Light.d.ts +2 -2
- package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon24Regular.d.ts +2 -2
- package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Light.d.ts +2 -2
- package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Regular.d.ts +2 -2
- package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon20Light.d.ts +2 -2
- package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon24Regular.d.ts +2 -2
- package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon16Light.d.ts +2 -2
- package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon20Light.d.ts +2 -2
- package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon24Regular.d.ts +2 -2
- package/cjs/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon16Solid.d.ts +2 -2
- package/cjs/internal/icons2022/SearchLoupeIcon/SearchLoupeIcon16Regular.d.ts +2 -2
- package/cjs/internal/icons2022/ShapeSquareIcon/ShapeSquareIcon16Solid.d.ts +2 -2
- package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon16Light.d.ts +2 -2
- package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon20Regular.d.ts +2 -2
- package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon24Regular.d.ts +2 -2
- package/cjs/internal/icons2022/XIcon/XIcon16Light.d.ts +2 -2
- package/cjs/internal/icons2022/XIcon/XIcon16Regular.d.ts +2 -2
- package/cjs/internal/icons2022/XIcon/XIcon20Light.d.ts +2 -2
- package/cjs/internal/icons2022/XIcon/XIcon20Regular.d.ts +2 -2
- package/cjs/internal/icons2022/XIcon/XIcon24Regular.d.ts +2 -2
- package/cjs/internal/icons2022/iconConstants.d.ts +8 -8
- package/cjs/internal/icons2022/iconSizer.d.ts +11 -11
- package/cjs/internal/themes/BasicLightTheme.d.ts +5 -5
- package/cjs/internal/themes/BasicTheme.d.ts +1240 -1217
- package/cjs/internal/themes/BasicTheme.js +70 -3
- package/cjs/internal/themes/BasicTheme.js.map +1 -1
- package/cjs/internal/themes/DarkTheme5_0.d.ts +1 -1
- package/cjs/internal/themes/DarkTheme5_0.js +7 -1
- package/cjs/internal/themes/DarkTheme5_0.js.map +1 -1
- package/cjs/internal/themes/DarkTheme5_1.d.ts +1 -1
- package/cjs/internal/themes/LightTheme5_0.d.ts +1 -1
- package/cjs/internal/themes/LightTheme5_1.d.ts +1 -1
- package/cjs/lib/ConditionalHandler.d.ts +12 -12
- package/cjs/lib/InstanceWithAnchorElement.d.ts +5 -5
- package/cjs/lib/LayoutEvents.d.ts +4 -4
- package/cjs/lib/ModalStack.d.ts +15 -15
- package/cjs/lib/SSRSafe.d.ts +2 -2
- package/cjs/lib/Supports.d.ts +1 -1
- package/cjs/lib/Upgrades.d.ts +7 -7
- package/cjs/lib/Upgrades.js +2 -2
- package/cjs/lib/Upgrades.js.map +1 -1
- package/cjs/lib/animation/index.d.ts +6 -6
- package/cjs/lib/animation/presets.d.ts +18 -18
- package/cjs/lib/animation/stepper.d.ts +1 -1
- package/cjs/lib/callChildRef/callChildRef.d.ts +3 -3
- package/cjs/lib/chars.d.ts +8 -8
- package/cjs/lib/client.d.ts +12 -12
- package/cjs/lib/createPropsGetter.d.ts +3 -3
- package/cjs/lib/currentEnvironment.d.ts +3 -3
- package/cjs/lib/date/InternalDate.d.ts +60 -60
- package/cjs/lib/date/InternalDateCalculator.d.ts +6 -6
- package/cjs/lib/date/InternalDateGetter.d.ts +15 -15
- package/cjs/lib/date/InternalDateSetter.d.ts +6 -6
- package/cjs/lib/date/InternalDateTransformer.d.ts +15 -15
- package/cjs/lib/date/InternalDateValidator.d.ts +12 -12
- package/cjs/lib/date/comparison.d.ts +6 -6
- package/cjs/lib/date/constants.d.ts +28 -28
- package/cjs/lib/date/localeSets.d.ts +5 -5
- package/cjs/lib/date/types.d.ts +94 -94
- package/cjs/lib/date/types.js +6 -6
- package/cjs/lib/date/types.js.map +1 -1
- package/cjs/lib/delay.d.ts +1 -1
- package/cjs/lib/dom/getDOMRect.d.ts +10 -10
- package/cjs/lib/dom/getParentOrShadowHost.d.ts +1 -1
- package/cjs/lib/dom/getScrollWidth.d.ts +1 -1
- package/cjs/lib/dom/scrollYCenterIntoNearestScrollable.d.ts +2 -2
- package/cjs/lib/dom/selectionHelpers.d.ts +2 -2
- package/cjs/lib/dom/tabbableHelpers.d.ts +17 -17
- package/cjs/lib/events/MouseDrag.d.ts +58 -58
- package/cjs/lib/events/MouseDrag.js +1 -1
- package/cjs/lib/events/MouseDrag.js.map +1 -1
- package/cjs/lib/events/fixClickFocusIE.d.ts +1 -1
- package/cjs/lib/events/fixFirefoxModifiedClickOnLabel.d.ts +2 -2
- package/cjs/lib/events/keyListener.d.ts +7 -7
- package/cjs/lib/events/keyboard/KeyboardEventCodes.d.ts +30 -30
- package/cjs/lib/events/keyboard/KeyboardEventCodes.js +1 -1
- package/cjs/lib/events/keyboard/KeyboardEventCodes.js.map +1 -1
- package/cjs/lib/events/keyboard/KeyboardMapKeys.d.ts +7 -7
- package/cjs/lib/events/keyboard/extractCode.d.ts +2 -2
- package/cjs/lib/events/keyboard/identifiers.d.ts +50 -50
- package/cjs/lib/events/stopPropagation.d.ts +1 -1
- package/cjs/lib/events/tabListener.d.ts +1 -1
- package/cjs/lib/extractKeyboardAction.d.ts +13 -13
- package/cjs/lib/featureFlagsContext/FeatureFlagsHelpers.d.ts +4 -4
- package/cjs/lib/featureFlagsContext/ReactUIFeatureFlagsContext.d.ts +6 -6
- package/cjs/lib/featureFlagsContext/index.d.ts +2 -2
- package/cjs/lib/filterProps.d.ts +12 -12
- package/cjs/lib/forwardRefAndName.d.ts +8 -8
- package/cjs/lib/getDisplayName.d.ts +3 -3
- package/cjs/lib/getMenuPositions.d.ts +2 -2
- package/cjs/lib/isInstanceOf.d.ts +1 -1
- package/cjs/lib/listenFocusOutside.d.ts +8 -8
- package/cjs/lib/locale/LocaleContext.d.ts +7 -7
- package/cjs/lib/locale/LocaleHelper.d.ts +9 -9
- package/cjs/lib/locale/constants.d.ts +5 -5
- package/cjs/lib/locale/decorators.d.ts +34 -34
- package/cjs/lib/locale/index.d.ts +3 -3
- package/cjs/lib/locale/types.d.ts +27 -27
- package/cjs/lib/locale/types.js +1 -1
- package/cjs/lib/locale/types.js.map +1 -1
- package/cjs/lib/locale/useLocaleForControl.d.ts +3 -3
- package/cjs/lib/memo.d.ts +3 -3
- package/cjs/lib/mergeRefs.d.ts +23 -0
- package/cjs/lib/mergeRefs.js +76 -0
- package/cjs/lib/mergeRefs.js.map +1 -0
- package/cjs/lib/needsPolyfillPlaceholder.d.ts +6 -6
- package/cjs/lib/net/fetch.d.ts +13 -13
- package/cjs/lib/reactGetTextContent.d.ts +2 -2
- package/cjs/lib/rootNode/getRootNode.d.ts +12 -12
- package/cjs/lib/rootNode/index.d.ts +2 -2
- package/cjs/lib/rootNode/rootNodeDecorator.d.ts +56 -56
- package/cjs/lib/stringUtils.d.ts +1 -1
- package/cjs/lib/styles/ColorFactory.d.ts +11 -11
- package/cjs/lib/styles/ColorFunctions.d.ts +11 -11
- package/cjs/lib/styles/ColorHelpers.d.ts +21 -21
- package/cjs/lib/styles/ColorKeywords.d.ts +150 -150
- package/cjs/lib/styles/ColorObject.d.ts +52 -52
- package/cjs/lib/styles/DimensionFunctions.d.ts +1 -1
- package/cjs/lib/styles/Mixins.d.ts +2 -2
- package/cjs/lib/styles/UiFont.d.ts +4 -4
- package/cjs/lib/styles/getLabGrotesqueBaselineCompensation.d.ts +1 -1
- package/cjs/lib/taskWithDelayAndMinimalDuration.d.ts +21 -21
- package/cjs/lib/theming/AnimationKeyframes.d.ts +7 -7
- package/cjs/lib/theming/Emotion.d.ts +15 -15
- package/cjs/lib/theming/Theme.d.ts +4 -4
- package/cjs/lib/theming/ThemeContext.d.ts +2 -2
- package/cjs/lib/theming/ThemeFactory.d.ts +17 -17
- package/cjs/lib/theming/ThemeHelpers.d.ts +68 -68
- package/cjs/lib/theming/ThemeVersions.d.ts +25 -25
- package/cjs/lib/theming/themes/DarkTheme.d.ts +3 -3
- package/cjs/lib/theming/themes/LightTheme.d.ts +3 -3
- package/cjs/lib/theming/themes/LightThemeMobile.d.ts +1 -1
- package/cjs/lib/theming/useTheme.d.ts +1 -1
- package/cjs/lib/toKebabCase.d.ts +1 -1
- package/cjs/lib/typeGuards.d.ts +1 -0
- package/cjs/lib/typeGuards.js +6 -0
- package/cjs/lib/typeGuards.js.map +1 -0
- package/cjs/lib/types/button-link.d.ts +1 -1
- package/cjs/lib/types/button-link.js +1 -1
- package/cjs/lib/types/polymorphic-component.d.ts +19 -19
- package/cjs/lib/types/polymorphic-component.js +1 -1
- package/cjs/lib/types/props.d.ts +1 -1
- package/cjs/lib/types/props.js +1 -1
- package/cjs/lib/uidUtils.d.ts +1 -1
- package/cjs/lib/utils.d.ts +89 -85
- package/cjs/lib/utils.js +16 -20
- package/cjs/lib/utils.js.map +1 -1
- package/cjs/lib/withClassWrapper.d.ts +67 -67
- package/components/Autocomplete/Autocomplete.d.ts +131 -131
- package/components/Autocomplete/Autocomplete.styles.d.ts +5 -5
- package/components/Autocomplete/__creevey__/Autocomplete.creevey.d.mts +1 -1
- package/components/Autocomplete/getAutocompleteTheme.d.ts +2 -2
- package/components/Autocomplete/index.d.ts +1 -1
- package/components/Autocomplete/locale/index.d.ts +4 -4
- package/components/Autocomplete/locale/locales/en.d.ts +2 -2
- package/components/Autocomplete/locale/locales/ru.d.ts +2 -2
- package/components/Autocomplete/locale/types/types.js +1 -0
- package/components/Autocomplete/locale/types.d.ts +5 -5
- package/components/Button/ArrowLeftIcon.d.ts +3 -3
- package/components/Button/ArrowRightIcon.d.ts +3 -3
- package/components/Button/Button/Button.js +2 -3
- package/components/Button/Button/Button.js.map +1 -1
- package/components/Button/Button.d.ts +109 -110
- package/components/Button/Button.mixins.d.ts +5 -5
- package/components/Button/Button.styles.d.ts +86 -86
- package/components/Button/ButtonArrow.d.ts +8 -8
- package/components/Button/ButtonIcon.d.ts +11 -11
- package/components/Button/ButtonIcon.styles.d.ts +16 -16
- package/components/Button/LoadingButtonIcon.d.ts +8 -8
- package/components/Button/__creevey__/Button.creevey.d.mts +1 -1
- package/components/Button/getInnerLinkTheme.d.ts +2 -2
- package/components/Button/index.d.ts +1 -1
- package/components/Calendar/Calendar/Calendar.js +6 -4
- package/components/Calendar/Calendar/Calendar.js.map +1 -1
- package/components/Calendar/Calendar.d.ts +104 -104
- package/components/Calendar/Calendar.styles.d.ts +6 -6
- package/components/Calendar/CalendarContext.d.ts +12 -12
- package/components/Calendar/CalendarDateShape.d.ts +16 -16
- package/components/Calendar/CalendarDay.d.ts +19 -19
- package/components/Calendar/CalendarScrollEvents.d.ts +4 -4
- package/components/Calendar/CalendarUtils.d.ts +37 -37
- package/components/Calendar/DayCellView.d.ts +6 -6
- package/components/Calendar/DayCellView.styles/DayCellView.styles.js +1 -1
- package/components/Calendar/DayCellView.styles/DayCellView.styles.js.map +1 -1
- package/components/Calendar/DayCellView.styles.d.ts +8 -8
- package/components/Calendar/DayCellViewModel.d.ts +8 -8
- package/components/Calendar/Month.d.ts +23 -23
- package/components/Calendar/MonthView.d.ts +22 -22
- package/components/Calendar/MonthView.styles.d.ts +13 -13
- package/components/Calendar/MonthViewModel.d.ts +14 -14
- package/components/Calendar/__creevey__/Calendar.creevey.d.mts +1 -1
- package/components/Calendar/config.d.ts +2 -2
- package/components/Calendar/index.d.ts +3 -3
- package/components/Calendar/locale/index.d.ts +4 -4
- package/components/Calendar/locale/locales/en.d.ts +2 -2
- package/components/Calendar/locale/locales/ru.d.ts +2 -2
- package/components/Calendar/locale/types/types.js +1 -0
- package/components/Calendar/locale/types.d.ts +7 -7
- package/components/Center/Center.d.ts +28 -28
- package/components/Center/Center.styles.d.ts +7 -7
- package/components/Center/index.d.ts +1 -1
- package/components/Checkbox/Checkbox.d.ts +108 -108
- package/components/Checkbox/Checkbox.mixins.d.ts +2 -2
- package/components/Checkbox/Checkbox.styles.d.ts +30 -30
- package/components/Checkbox/CheckedIcon.d.ts +3 -3
- package/components/Checkbox/IndeterminateIcon.d.ts +3 -3
- package/components/Checkbox/__creevey__/Checkbox.creevey.d.mts +1 -1
- package/components/Checkbox/index.d.ts +1 -1
- package/components/ComboBox/ComboBox/ComboBox.js +2 -1
- package/components/ComboBox/ComboBox/ComboBox.js.map +1 -1
- package/components/ComboBox/ComboBox.d.ts +189 -182
- package/components/ComboBox/__creevey__/ComboBox.creevey.d.mts +1 -1
- package/components/ComboBox/index.d.ts +1 -1
- package/components/CurrencyInput/CurrencyHelper.d.ts +41 -41
- package/components/CurrencyInput/CurrencyInput/CurrencyInput.js.map +1 -1
- package/components/CurrencyInput/CurrencyInput.d.ts +108 -108
- package/components/CurrencyInput/CurrencyInputHelper.d.ts +23 -23
- package/components/CurrencyInput/CurrencyInputKeyboardActions.d.ts +19 -19
- package/components/CurrencyInput/CursorHelper.d.ts +10 -10
- package/components/CurrencyInput/SelectionHelper.d.ts +11 -11
- package/components/CurrencyInput/__creevey__/CurrencyInput.creevey.d.mts +1 -1
- package/components/CurrencyInput/constants.d.ts +5 -5
- package/components/CurrencyInput/index.d.ts +1 -1
- package/components/CurrencyLabel/CurrencyLabel.d.ts +27 -27
- package/components/CurrencyLabel/index.d.ts +1 -1
- package/components/DateInput/CalendarIcon.d.ts +3 -3
- package/components/DateInput/DateFragmentsView.d.ts +20 -20
- package/components/DateInput/DateFragmentsView.styles.d.ts +7 -7
- package/components/DateInput/DateInput.d.ts +102 -102
- package/components/DateInput/DateInput.styles.d.ts +10 -10
- package/components/DateInput/ViewDateInputValidateChecks.d.ts +10 -10
- package/components/DateInput/__creevey__/DateInput.creevey.d.mts +1 -1
- package/components/DateInput/helpers/DateInputKeyboardActions/DateInputKeyboardActions.js +3 -3
- package/components/DateInput/helpers/DateInputKeyboardActions/DateInputKeyboardActions.js.map +1 -1
- package/components/DateInput/helpers/DateInputKeyboardActions.d.ts +21 -21
- package/components/DateInput/helpers/InternalDateMediator.d.ts +26 -26
- package/components/DateInput/helpers/inputNumber.d.ts +5 -5
- package/components/DateInput/index.d.ts +1 -1
- package/components/DatePicker/DatePicker/DatePicker.js +0 -4
- package/components/DatePicker/DatePicker/DatePicker.js.map +1 -1
- package/components/DatePicker/DatePicker.d.ts +148 -152
- package/components/DatePicker/DatePicker.styles.d.ts +5 -5
- package/components/DatePicker/DatePickerHelpers.d.ts +2 -2
- package/components/DatePicker/MobilePicker/MobilePicker.js +0 -8
- package/components/DatePicker/MobilePicker/MobilePicker.js.map +1 -1
- package/components/DatePicker/MobilePicker.d.ts +10 -10
- package/components/DatePicker/MobilePicker.styles.d.ts +3 -3
- package/components/DatePicker/__creevey__/DatePicker.creevey.d.mts +1 -1
- package/components/DatePicker/getMobilePickerTheme.d.ts +2 -2
- package/components/DatePicker/index.d.ts +1 -1
- package/components/DatePicker/locale/index.d.ts +4 -4
- package/components/DatePicker/locale/locales/en.d.ts +2 -2
- package/components/DatePicker/locale/locales/ru.d.ts +2 -2
- package/components/DatePicker/locale/types/types.js +1 -0
- package/components/DatePicker/locale/types.d.ts +7 -7
- package/components/DateRangePicker/DateRangePicker/DateRangePicker.js +454 -0
- package/components/DateRangePicker/DateRangePicker/DateRangePicker.js.map +1 -0
- package/components/DateRangePicker/DateRangePicker/package.json +6 -0
- package/components/DateRangePicker/DateRangePicker.d.ts +82 -0
- package/components/DateRangePicker/DateRangePicker.styles/DateRangePicker.styles.js +53 -0
- package/components/DateRangePicker/DateRangePicker.styles/DateRangePicker.styles.js.map +1 -0
- package/components/DateRangePicker/DateRangePicker.styles/package.json +6 -0
- package/components/DateRangePicker/DateRangePicker.styles.d.ts +17 -0
- package/components/DateRangePicker/DateRangePickerContext/DateRangePickerContext.js +3 -0
- package/components/DateRangePicker/DateRangePickerContext/DateRangePickerContext.js.map +1 -0
- package/components/DateRangePicker/DateRangePickerContext/package.json +6 -0
- package/components/DateRangePicker/DateRangePickerContext.d.ts +31 -0
- package/components/DateRangePicker/DateRangePickerInput/DateRangePickerInput.js +145 -0
- package/components/DateRangePicker/DateRangePickerInput/DateRangePickerInput.js.map +1 -0
- package/components/DateRangePicker/DateRangePickerInput/package.json +6 -0
- package/components/DateRangePicker/DateRangePickerInput.d.ts +11 -0
- package/components/DateRangePicker/DateRangePickerSeparator/DateRangePickerSeparator.js +4 -0
- package/components/DateRangePicker/DateRangePickerSeparator/DateRangePickerSeparator.js.map +1 -0
- package/components/DateRangePicker/DateRangePickerSeparator/package.json +6 -0
- package/components/DateRangePicker/DateRangePickerSeparator.d.ts +2 -0
- package/components/DateRangePicker/DateRangePickerTheme/DateRangePickerTheme.js +24 -0
- package/components/DateRangePicker/DateRangePickerTheme/DateRangePickerTheme.js.map +1 -0
- package/components/DateRangePicker/DateRangePickerTheme/package.json +6 -0
- package/components/DateRangePicker/DateRangePickerTheme.d.ts +3 -0
- package/components/DateRangePicker/__creevey__/DateRangePicker.creevey.d.mts +1 -0
- package/components/DateRangePicker/__creevey__/DateRangePicker.creevey.mts +155 -0
- package/components/DateRangePicker/__docs__/DateRangePicker.mdx +127 -0
- package/components/DateRangePicker/helpers/getStateForValue/getStateForValue.js +108 -0
- package/components/DateRangePicker/helpers/getStateForValue/getStateForValue.js.map +1 -0
- package/components/DateRangePicker/helpers/getStateForValue/package.json +6 -0
- package/components/DateRangePicker/helpers/getStateForValue.d.ts +9 -0
- package/components/DateRangePicker/helpers/validateDateRangePicker/package.json +6 -0
- package/components/DateRangePicker/helpers/validateDateRangePicker/validateDateRangePicker.js +49 -0
- package/components/DateRangePicker/helpers/validateDateRangePicker/validateDateRangePicker.js.map +1 -0
- package/components/DateRangePicker/helpers/validateDateRangePicker.d.ts +9 -0
- package/components/DateRangePicker/index/index.js +1 -0
- package/components/DateRangePicker/index/index.js.map +1 -0
- package/components/DateRangePicker/index/package.json +6 -0
- package/components/DateRangePicker/index.d.ts +1 -0
- package/components/DateRangePicker/locale/index/index.js +8 -0
- package/components/DateRangePicker/locale/index/index.js.map +1 -0
- package/components/DateRangePicker/locale/index/package.json +6 -0
- package/components/DateRangePicker/locale/index.d.ts +4 -0
- package/components/DateRangePicker/locale/locales/en/en.js +8 -0
- package/components/DateRangePicker/locale/locales/en/en.js.map +1 -0
- package/components/DateRangePicker/locale/locales/en/package.json +6 -0
- package/components/DateRangePicker/locale/locales/en.d.ts +2 -0
- package/components/DateRangePicker/locale/locales/ru/package.json +6 -0
- package/components/DateRangePicker/locale/locales/ru/ru.js +8 -0
- package/components/DateRangePicker/locale/locales/ru/ru.js.map +1 -0
- package/components/DateRangePicker/locale/locales/ru.d.ts +2 -0
- package/components/DateRangePicker/locale/package.json +6 -0
- package/components/DateRangePicker/locale/types/package.json +6 -0
- package/components/DateRangePicker/locale/types/types.js +1 -0
- package/components/DateRangePicker/locale/types/types.js.map +1 -0
- package/components/DateRangePicker/locale/types.d.ts +7 -0
- package/components/DateRangePicker/package.json +6 -0
- package/components/Dropdown/Dropdown/Dropdown.js +1 -0
- package/components/Dropdown/Dropdown/Dropdown.js.map +1 -1
- package/components/Dropdown/Dropdown.d.ts +131 -129
- package/components/Dropdown/__creevey__/Dropdown.creevey.d.mts +1 -1
- package/components/Dropdown/getDropdownTheme.d.ts +2 -2
- package/components/Dropdown/index.d.ts +1 -1
- package/components/DropdownMenu/DropdownMenu/DropdownMenu.js +1 -0
- package/components/DropdownMenu/DropdownMenu/DropdownMenu.js.map +1 -1
- package/components/DropdownMenu/DropdownMenu.d.ts +65 -63
- package/components/DropdownMenu/__creevey__/DropdownMenu.creevey.d.mts +1 -1
- package/components/DropdownMenu/getDropdownMenuTheme.d.ts +2 -2
- package/components/DropdownMenu/index.d.ts +1 -1
- package/components/FileUploader/FileUploader/FileUploader.js +2 -1
- package/components/FileUploader/FileUploader/FileUploader.js.map +1 -1
- package/components/FileUploader/FileUploader.d.ts +56 -55
- package/components/FileUploader/FileUploader.md +23 -0
- package/components/FileUploader/FileUploader.mixins.d.ts +1 -1
- package/components/FileUploader/FileUploader.styles.d.ts +36 -36
- package/components/FileUploader/UploadIcon.d.ts +3 -3
- package/components/FileUploader/index.d.ts +5 -5
- package/components/FileUploader/locale/index.d.ts +4 -4
- package/components/FileUploader/locale/locales/en.d.ts +2 -2
- package/components/FileUploader/locale/locales/ru.d.ts +2 -2
- package/components/FileUploader/locale/types/types.js +1 -0
- package/components/FileUploader/locale/types.d.ts +6 -6
- package/components/FxInput/FxInput/FxInput.js +3 -2
- package/components/FxInput/FxInput/FxInput.js.map +1 -1
- package/components/FxInput/FxInput.d.ts +65 -63
- package/components/FxInput/FxInputRestoreBtn/FxInputRestoreBtn.js +1 -1
- package/components/FxInput/FxInputRestoreBtn/FxInputRestoreBtn.js.map +1 -1
- package/components/FxInput/FxInputRestoreBtn.d.ts +8 -6
- package/components/FxInput/MathFunctionIcon.d.ts +3 -3
- package/components/FxInput/UndoIcon.d.ts +3 -3
- package/components/FxInput/__creevey__/FxInput.creevey.d.mts +1 -1
- package/components/FxInput/index.d.ts +1 -1
- package/components/Gapped/Gapped.d.ts +50 -50
- package/components/Gapped/index.d.ts +1 -1
- package/components/GlobalLoader/GlobalLoader.d.ts +98 -98
- package/components/GlobalLoader/GlobalLoaderView.d.ts +17 -17
- package/components/GlobalLoader/GlobalLoaderView.styles.d.ts +16 -16
- package/components/GlobalLoader/index.d.ts +1 -1
- package/components/GlobalLoader/useParams.d.ts +22 -22
- package/components/Group/Group/Group.js +4 -10
- package/components/Group/Group/Group.js.map +1 -1
- package/components/Group/Group.d.ts +25 -25
- package/components/Group/Group.styles.d.ts +8 -8
- package/components/Group/__creevey__/Group.creevey.d.mts +1 -1
- package/components/Group/index.d.ts +1 -1
- package/components/Hint/Hint.d.ts +67 -67
- package/components/Hint/Hint.styles.d.ts +5 -5
- package/components/Hint/__creevey__/Hint.creevey.d.mts +1 -1
- package/components/Hint/index.d.ts +1 -1
- package/components/Input/Input/Input.js +124 -15
- package/components/Input/Input/Input.js.map +1 -1
- package/components/Input/Input.d.ts +185 -164
- package/components/Input/Input.styles.d.ts +28 -28
- package/components/Input/Input.typings/Input.typings.js +1 -0
- package/components/Input/Input.typings.d.ts +7 -7
- package/components/Input/InputLayout/InputLayout.d.ts +11 -11
- package/components/Input/InputLayout/InputLayout.styles.d.ts +11 -11
- package/components/Input/InputLayout/InputLayoutAside.d.ts +8 -8
- package/components/Input/InputLayout/InputLayoutAsideIcon.d.ts +7 -7
- package/components/Input/InputLayout/InputLayoutAsideText.d.ts +6 -6
- package/components/Input/InputLayout/InputLayoutContext.d.ts +9 -9
- package/components/Input/InputLayout/PolyfillPlaceholder.d.ts +10 -10
- package/components/Input/__creevey__/Input.creevey.d.mts +1 -1
- package/components/Input/index.d.ts +2 -2
- package/components/Kebab/Kebab.d.ts +58 -58
- package/components/Kebab/Kebab.styles.d.ts +11 -11
- package/components/Kebab/KebabIcon.d.ts +3 -3
- package/components/Kebab/__creevey__/Kebab.creevey.d.mts +1 -1
- package/components/Kebab/index.d.ts +1 -1
- package/components/Link/Link.d.ts +61 -61
- package/components/Link/Link.mixins.d.ts +2 -2
- package/components/Link/Link.styles.d.ts +23 -23
- package/components/Link/LinkIcon.d.ts +7 -7
- package/components/Link/__creevey__/Link.creevey.d.mts +1 -1
- package/components/Link/index.d.ts +1 -1
- package/components/Loader/Loader.d.ts +106 -106
- package/components/Loader/Loader.styles.d.ts +8 -8
- package/components/Loader/__creevey__/Loader.creevey.d.mts +1 -1
- package/components/Loader/index.d.ts +1 -1
- package/components/MaskedInput/ColorableInputElement/ColorableInputElement.d.ts +7 -7
- package/components/MaskedInput/ColorableInputElement/ColorableInputElement.styles.d.ts +3 -3
- package/components/MaskedInput/ColorableInputElement/index.d.ts +1 -1
- package/components/MaskedInput/FixedIMaskInput.d.ts +9 -9
- package/components/MaskedInput/MaskedInput/MaskedInput.js.map +1 -1
- package/components/MaskedInput/MaskedInput.d.ts +42 -42
- package/components/MaskedInput/MaskedInput.helpers.d.ts +9 -9
- package/components/MaskedInput/MaskedInput.styles.d.ts +3 -3
- package/components/MaskedInput/__creevey__/MaskedInput.creevey.d.mts +1 -1
- package/components/MaskedInput/index.d.ts +1 -1
- package/components/MenuFooter/MenuFooter.d.ts +29 -29
- package/components/MenuFooter/MenuFooter.mixins.d.ts +2 -2
- package/components/MenuFooter/MenuFooter.styles.d.ts +10 -10
- package/components/MenuFooter/index.d.ts +1 -1
- package/components/MenuHeader/MenuHeader.d.ts +29 -29
- package/components/MenuHeader/MenuHeader.mixins.d.ts +2 -2
- package/components/MenuHeader/MenuHeader.styles.d.ts +10 -10
- package/components/MenuHeader/index.d.ts +1 -1
- package/components/MenuItem/MenuItem/MenuItem.js +1 -1
- package/components/MenuItem/MenuItem/MenuItem.js.map +1 -1
- package/components/MenuItem/MenuItem.d.ts +113 -113
- package/components/MenuItem/MenuItem.mixins.d.ts +3 -3
- package/components/MenuItem/MenuItem.styles.d.ts +27 -27
- package/components/MenuItem/index.d.ts +1 -1
- package/components/MenuSeparator/MenuSeparator.d.ts +17 -17
- package/components/MenuSeparator/MenuSeparator.styles.d.ts +5 -5
- package/components/MenuSeparator/index.d.ts +1 -1
- package/components/MiniModal/MiniModal.d.ts +24 -24
- package/components/MiniModal/MiniModal.styles/MiniModal.styles.js +8 -17
- package/components/MiniModal/MiniModal.styles/MiniModal.styles.js.map +1 -1
- package/components/MiniModal/MiniModal.styles.d.ts +11 -14
- package/components/MiniModal/MiniModalBody.d.ts +7 -7
- package/components/MiniModal/MiniModalFooter/MiniModalFooter.js +1 -5
- package/components/MiniModal/MiniModalFooter/MiniModalFooter.js.map +1 -1
- package/components/MiniModal/MiniModalFooter.d.ts +13 -13
- package/components/MiniModal/MiniModalHeader.d.ts +14 -14
- package/components/MiniModal/MiniModalIndent/MiniModalIndent.js +5 -9
- package/components/MiniModal/MiniModalIndent/MiniModalIndent.js.map +1 -1
- package/components/MiniModal/MiniModalIndent.d.ts +7 -7
- package/components/MiniModal/getMiniModalTheme.d.ts +2 -2
- package/components/MiniModal/index.d.ts +5 -5
- package/components/Modal/Modal.d.ts +80 -80
- package/components/Modal/Modal.styles.d.ts +49 -49
- package/components/Modal/ModalBody.d.ts +22 -22
- package/components/Modal/ModalClose.d.ts +7 -7
- package/components/Modal/ModalContext.d.ts +18 -18
- package/components/Modal/ModalFooter.d.ts +29 -29
- package/components/Modal/ModalHeader.d.ts +23 -23
- package/components/Modal/ModalSeparator.d.ts +16 -16
- package/components/Modal/__creevey__/Modal.creevey.d.mts +1 -1
- package/components/Modal/getModalBodyTheme.d.ts +2 -2
- package/components/Modal/getModalTheme.d.ts +2 -2
- package/components/Modal/index.d.ts +4 -4
- package/components/Modal/locale/index.d.ts +4 -4
- package/components/Modal/locale/locales/en.d.ts +2 -2
- package/components/Modal/locale/locales/ru.d.ts +2 -2
- package/components/Modal/locale/types/types.js +1 -0
- package/components/Modal/locale/types.d.ts +3 -3
- package/components/Paging/ForwardIcon.d.ts +3 -3
- package/components/Paging/NavigationHelper.d.ts +7 -7
- package/components/Paging/Paging.d.ts +101 -101
- package/components/Paging/Paging.styles.d.ts +17 -17
- package/components/Paging/PagingDefaultComponent.d.ts +11 -11
- package/components/Paging/PagingHelper.d.ts +2 -2
- package/components/Paging/__creevey__/Paging.creevey.d.mts +1 -1
- package/components/Paging/index.d.ts +1 -1
- package/components/Paging/locale/index.d.ts +4 -4
- package/components/Paging/locale/locales/en.d.ts +2 -2
- package/components/Paging/locale/locales/ru.d.ts +2 -2
- package/components/Paging/locale/types/types.js +1 -0
- package/components/Paging/locale/types.d.ts +3 -3
- package/components/PasswordInput/ClosedIcon.d.ts +3 -3
- package/components/PasswordInput/OpenedIcon.d.ts +3 -3
- package/components/PasswordInput/PasswordInput/PasswordInput.js.map +1 -1
- package/components/PasswordInput/PasswordInput.d.ts +66 -66
- package/components/PasswordInput/PasswordInput.styles/PasswordInput.styles.js +1 -1
- package/components/PasswordInput/PasswordInput.styles/PasswordInput.styles.js.map +1 -1
- package/components/PasswordInput/PasswordInput.styles.d.ts +11 -11
- package/components/PasswordInput/PasswordInputIcon.d.ts +4 -4
- package/components/PasswordInput/__creevey__/PasswordInput.creevey.d.mts +1 -1
- package/components/PasswordInput/__creevey__/PasswordInput.creevey.mts +8 -0
- package/components/PasswordInput/index.d.ts +1 -1
- package/components/PasswordInput/locale/index.d.ts +4 -4
- package/components/PasswordInput/locale/locales/en.d.ts +2 -2
- package/components/PasswordInput/locale/locales/ru.d.ts +2 -2
- package/components/PasswordInput/locale/types/types.js +1 -0
- package/components/PasswordInput/locale/types.d.ts +4 -4
- package/components/Radio/Radio.d.ts +76 -76
- package/components/Radio/Radio.mixins.d.ts +5 -5
- package/components/Radio/Radio.styles.d.ts +30 -30
- package/components/Radio/__creevey__/Radio.creevey.d.mts +1 -1
- package/components/Radio/index.d.ts +1 -1
- package/components/RadioGroup/Prevent.d.ts +8 -8
- package/components/RadioGroup/RadioGroup.d.ts +87 -87
- package/components/RadioGroup/RadioGroup.styles.d.ts +6 -6
- package/components/RadioGroup/RadioGroupContext.d.ts +10 -10
- package/components/RadioGroup/__creevey__/RadioGroup.creevey.d.mts +1 -1
- package/components/RadioGroup/index.d.ts +1 -1
- package/components/ResponsiveLayout/ResponsiveLayout.d.ts +19 -19
- package/components/ResponsiveLayout/ResponsiveLayoutEvents.d.ts +11 -11
- package/components/ResponsiveLayout/decorator.d.ts +31 -31
- package/components/ResponsiveLayout/index.d.ts +3 -3
- package/components/ResponsiveLayout/types/types.js +1 -0
- package/components/ResponsiveLayout/types.d.ts +11 -11
- package/components/ResponsiveLayout/useResponsiveLayout.d.ts +2 -2
- package/components/ScrollContainer/ScrollBar.d.ts +51 -51
- package/components/ScrollContainer/ScrollContainer.constants.d.ts +23 -23
- package/components/ScrollContainer/ScrollContainer.d.ts +121 -121
- package/components/ScrollContainer/ScrollContainer.helpers.d.ts +10 -10
- package/components/ScrollContainer/ScrollContainer.styles.d.ts +22 -22
- package/components/ScrollContainer/__creevey__/ScrollContainer.creevey.d.mts +1 -1
- package/components/ScrollContainer/index.d.ts +1 -1
- package/components/Select/ArrowDownIcon.d.ts +3 -3
- package/components/Select/Item.d.ts +13 -13
- package/components/Select/Select/Select.js +1 -0
- package/components/Select/Select/Select.js.map +1 -1
- package/components/Select/Select.d.ts +193 -191
- package/components/Select/Select.styles.d.ts +18 -18
- package/components/Select/__creevey__/Select.creevey.d.mts +1 -1
- package/components/Select/index.d.ts +1 -1
- package/components/Select/locale/index.d.ts +4 -4
- package/components/Select/locale/locales/en.d.ts +2 -2
- package/components/Select/locale/locales/ru.d.ts +2 -2
- package/components/Select/locale/types/types.js +1 -0
- package/components/Select/locale/types.d.ts +4 -4
- package/components/Select/selectTheme.d.ts +3 -3
- package/components/Select/tids.d.ts +5 -5
- package/components/SidePage/SidePage.d.ts +96 -96
- package/components/SidePage/SidePage.styles.d.ts +55 -55
- package/components/SidePage/SidePageBody.d.ts +24 -24
- package/components/SidePage/SidePageCloseButton.d.ts +11 -11
- package/components/SidePage/SidePageContainer.d.ts +20 -20
- package/components/SidePage/SidePageContext.d.ts +17 -17
- package/components/SidePage/SidePageFooter.d.ts +48 -48
- package/components/SidePage/SidePageHeader.d.ts +49 -49
- package/components/SidePage/__creevey__/SidePage.creevey.d.mts +1 -1
- package/components/SidePage/index.d.ts +5 -5
- package/components/SidePage/locale/index.d.ts +4 -4
- package/components/SidePage/locale/locales/en.d.ts +2 -2
- package/components/SidePage/locale/locales/ru.d.ts +2 -2
- package/components/SidePage/locale/types/types.js +1 -0
- package/components/SidePage/locale/types.d.ts +3 -3
- package/components/SingleToast/SingleToast.d.ts +17 -17
- package/components/SingleToast/index.d.ts +1 -1
- package/components/Spinner/Spinner.d.ts +65 -65
- package/components/Spinner/Spinner.styles.d.ts +16 -16
- package/components/Spinner/SpinnerFallbackAnimation.d.ts +25 -25
- package/components/Spinner/index.d.ts +1 -1
- package/components/Sticky/Sticky.d.ts +69 -69
- package/components/Sticky/Sticky.styles.d.ts +7 -7
- package/components/Sticky/__creevey__/Sticky.creevey.d.mts +1 -1
- package/components/Sticky/index.d.ts +1 -1
- package/components/Switcher/Switcher.d.ts +84 -84
- package/components/Switcher/Switcher.styles.d.ts +12 -12
- package/components/Switcher/__creevey__/Switcher.creevey.d.mts +1 -1
- package/components/Switcher/helpers.d.ts +1 -1
- package/components/Switcher/index.d.ts +1 -1
- package/components/Switcher/switcherTheme.d.ts +2 -2
- package/components/Tabs/Indicator.d.ts +28 -28
- package/components/Tabs/Indicator.styles.d.ts +8 -8
- package/components/Tabs/Tab.d.ts +78 -78
- package/components/Tabs/Tab.styles.d.ts +33 -33
- package/components/Tabs/Tabs.d.ts +55 -55
- package/components/Tabs/Tabs.styles.d.ts +7 -7
- package/components/Tabs/TabsContext.d.ts +16 -16
- package/components/Tabs/__creevey__/Tabs.creevey.d.mts +1 -1
- package/components/Tabs/helpers.d.ts +6 -6
- package/components/Tabs/index.d.ts +2 -2
- package/components/Textarea/Textarea.d.ts +168 -168
- package/components/Textarea/Textarea.mixins.d.ts +3 -3
- package/components/Textarea/Textarea.styles.d.ts +25 -25
- package/components/Textarea/TextareaCounter.d.ts +14 -14
- package/components/Textarea/TextareaHelpers.d.ts +11 -11
- package/components/Textarea/TextareaWithSafari17Workaround.d.ts +7 -7
- package/components/Textarea/__creevey__/Textarea.creevey.d.mts +1 -1
- package/components/Textarea/index.d.ts +1 -1
- package/components/Toast/Toast.d.ts +79 -79
- package/components/Toast/Toast.styles.d.ts +6 -6
- package/components/Toast/ToastStatic.d.ts +9 -9
- package/components/Toast/ToastView.d.ts +35 -35
- package/components/Toast/ToastView.styles.d.ts +7 -7
- package/components/Toast/__creevey__/Toast.creevey.d.mts +1 -1
- package/components/Toast/index.d.ts +1 -1
- package/components/Toast/locale/index.d.ts +4 -4
- package/components/Toast/locale/locales/en.d.ts +2 -2
- package/components/Toast/locale/locales/ru.d.ts +2 -2
- package/components/Toast/locale/types/types.js +1 -0
- package/components/Toast/locale/types.d.ts +3 -3
- package/components/Toggle/Toggle/Toggle.js +2 -0
- package/components/Toggle/Toggle/Toggle.js.map +1 -1
- package/components/Toggle/Toggle.d.ts +94 -96
- package/components/Toggle/Toggle.mixins.d.ts +6 -6
- package/components/Toggle/Toggle.styles.d.ts +46 -46
- package/components/Toggle/__creevey__/Toggle.creevey.d.mts +1 -1
- package/components/Toggle/index.d.ts +1 -1
- package/components/Token/Token.d.ts +49 -49
- package/components/Token/Token.mixins.d.ts +1 -1
- package/components/Token/Token.styles.d.ts +23 -23
- package/components/Token/TokenView.d.ts +11 -11
- package/components/Token/index.d.ts +1 -1
- package/components/Token/locale/index.d.ts +4 -4
- package/components/Token/locale/locales/en.d.ts +2 -2
- package/components/Token/locale/locales/ru.d.ts +2 -2
- package/components/Token/locale/types/types.js +1 -0
- package/components/Token/locale/types.d.ts +3 -3
- package/components/TokenInput/TextWidthHelper.d.ts +23 -23
- package/components/TokenInput/TokenInput/TokenInput.js +3 -3
- package/components/TokenInput/TokenInput/TokenInput.js.map +1 -1
- package/components/TokenInput/TokenInput.d.ts +224 -224
- package/components/TokenInput/TokenInput.mixins.d.ts +2 -2
- package/components/TokenInput/TokenInput.styles.d.ts +19 -19
- package/components/TokenInput/TokenInputMenu.d.ts +30 -30
- package/components/TokenInput/TokenInputReducer.d.ts +25 -25
- package/components/TokenInput/__creevey__/TokenInput.creevey.d.mts +1 -1
- package/components/TokenInput/index.d.ts +1 -1
- package/components/TokenInput/locale/index.d.ts +4 -4
- package/components/TokenInput/locale/locales/en.d.ts +2 -2
- package/components/TokenInput/locale/locales/ru.d.ts +2 -2
- package/components/TokenInput/locale/types/types.js +1 -0
- package/components/TokenInput/locale/types.d.ts +4 -4
- package/components/Tooltip/Tooltip.d.ts +133 -133
- package/components/Tooltip/Tooltip.styles.d.ts +5 -5
- package/components/Tooltip/__creevey__/Tooltip.creevey.d.mts +1 -1
- package/components/Tooltip/index.d.ts +1 -1
- package/components/TooltipMenu/TooltipMenu.d.ts +55 -55
- package/components/TooltipMenu/__creevey__/TooltipMenu.creevey.d.mts +1 -1
- package/components/TooltipMenu/index.d.ts +1 -1
- package/hooks/useDrop.d.ts +11 -11
- package/hooks/useEffectWithoutInitCall.d.ts +2 -2
- package/hooks/useMemoObject.d.ts +2 -2
- package/index.d.ts +60 -59
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/internal/BGRuler.d.ts +28 -28
- package/internal/ClearCrossIcon/ClearCrossIcon/ClearCrossIcon.js +63 -0
- package/internal/ClearCrossIcon/ClearCrossIcon/ClearCrossIcon.js.map +1 -0
- package/internal/ClearCrossIcon/ClearCrossIcon/package.json +6 -0
- package/internal/ClearCrossIcon/ClearCrossIcon.d.ts +9 -0
- package/internal/ClearCrossIcon/ClearCrossIcon.styles/ClearCrossIcon.styles.js +21 -0
- package/internal/ClearCrossIcon/ClearCrossIcon.styles/ClearCrossIcon.styles.js.map +1 -0
- package/internal/ClearCrossIcon/ClearCrossIcon.styles/package.json +6 -0
- package/internal/ClearCrossIcon/ClearCrossIcon.styles.d.ts +8 -0
- package/internal/ClearCrossIcon/CrossIcon/CrossIcon.js +22 -0
- package/internal/ClearCrossIcon/CrossIcon/CrossIcon.js.map +1 -0
- package/internal/ClearCrossIcon/CrossIcon/package.json +6 -0
- package/internal/ClearCrossIcon/CrossIcon.d.ts +3 -0
- package/internal/ClearCrossIcon/__creevey__/ClearCrossIcon.creevey.d.mts +1 -0
- package/internal/ClearCrossIcon/__creevey__/ClearCrossIcon.creevey.mts +44 -0
- package/internal/CloseButtonIcon/CloseButtonIcon.d.ts +35 -35
- package/internal/CloseButtonIcon/CloseButtonIcon.styles.d.ts +7 -7
- package/internal/CloseButtonIcon/CrossIcon.d.ts +3 -3
- package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.d.mts +1 -1
- package/internal/CommonWrapper/CommonWrapper.d.ts +12 -12
- package/internal/CommonWrapper/index/index.js +2 -1
- package/internal/CommonWrapper/index/index.js.map +1 -1
- package/internal/CommonWrapper/index.d.ts +3 -3
- package/internal/CommonWrapper/types/types.js +1 -0
- package/internal/CommonWrapper/types.d.ts +25 -25
- package/internal/CommonWrapper/utils/extractCommonProps.d.ts +3 -3
- package/internal/CommonWrapper/utils/getCommonVisualStateDataAttributes.d.ts +2 -2
- package/internal/CommonWrapper/utils/getVisualStateDataAttributes.d.ts +3 -3
- package/internal/CommonWrapper/utils/tryGetBoolean.d.ts +1 -1
- package/internal/ComponentCombinator.d.ts +23 -23
- package/internal/ComponentTable.d.ts +22 -22
- package/internal/CustomComboBox/ArrowDownIcon.d.ts +3 -3
- package/internal/CustomComboBox/ComboBoxMenu.d.ts +48 -48
- package/internal/CustomComboBox/ComboBoxView/ComboBoxView.js +12 -5
- package/internal/CustomComboBox/ComboBoxView/ComboBoxView.js.map +1 -1
- package/internal/CustomComboBox/ComboBoxView.d.ts +115 -111
- package/internal/CustomComboBox/CustomComboBox/CustomComboBox.js +6 -0
- package/internal/CustomComboBox/CustomComboBox/CustomComboBox.js.map +1 -1
- package/internal/CustomComboBox/CustomComboBox.d.ts +153 -152
- package/internal/CustomComboBox/CustomComboBox.styles.d.ts +4 -4
- package/internal/CustomComboBox/CustomComboBoxReducer/CustomComboBoxReducer.js +14 -0
- package/internal/CustomComboBox/CustomComboBoxReducer/CustomComboBoxReducer.js.map +1 -1
- package/internal/CustomComboBox/CustomComboBoxReducer.d.ts +77 -74
- package/internal/CustomComboBox/CustomComboBoxTypes/CustomComboBoxTypes.js +3 -3
- package/internal/CustomComboBox/CustomComboBoxTypes/CustomComboBoxTypes.js.map +1 -1
- package/internal/CustomComboBox/CustomComboBoxTypes.d.ts +6 -6
- package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.d.mts +1 -1
- package/internal/CustomComboBox/getComboBoxTheme.d.ts +2 -2
- package/internal/CustomComboBox/index.d.ts +2 -2
- package/internal/CustomComboBox/locale/index.d.ts +4 -4
- package/internal/CustomComboBox/locale/locales/en.d.ts +2 -2
- package/internal/CustomComboBox/locale/locales/ru.d.ts +2 -2
- package/internal/CustomComboBox/locale/types/types.js +1 -0
- package/internal/CustomComboBox/locale/types.d.ts +5 -5
- package/internal/CustomComboBox/tids.d.ts +3 -3
- package/internal/DataTids/DataTids.d.ts +12 -12
- package/internal/DataTids/DataTids.styles.d.ts +7 -7
- package/internal/DataTids/componentsDataTids.d.ts +5 -5
- package/internal/DateSelect/DateSelect.d.ts +45 -45
- package/internal/DateSelect/DateSelect.styles.d.ts +9 -9
- package/internal/DateSelect/index.d.ts +1 -1
- package/internal/DateSelect/locale/index.d.ts +4 -4
- package/internal/DateSelect/locale/locales/en.d.ts +2 -2
- package/internal/DateSelect/locale/locales/ru.d.ts +2 -2
- package/internal/DateSelect/locale/types/types.js +1 -0
- package/internal/DateSelect/locale/types.d.ts +6 -6
- package/internal/FileUploaderControl/FileUploaderControlContext.d.ts +14 -14
- package/internal/FileUploaderControl/FileUploaderControlProvider.d.ts +17 -17
- package/internal/FileUploaderControl/FileUploaderFile/DeleteIcon.d.ts +3 -3
- package/internal/FileUploaderControl/FileUploaderFile/ErrorIcon.d.ts +3 -3
- package/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.d.ts +20 -20
- package/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.styles.d.ts +18 -18
- package/internal/FileUploaderControl/FileUploaderFile/FileUploaderFileStatusIcon.d.ts +12 -12
- package/internal/FileUploaderControl/FileUploaderFile/OkIcon.d.ts +3 -3
- package/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList.d.ts +17 -17
- package/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList.styles.d.ts +8 -8
- package/internal/FileUploaderControl/FileUploaderFileValidationResult.d.ts +7 -7
- package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.d.mts +1 -1
- package/internal/FileUploaderControl/fileUtils/fileUtils.js +3 -3
- package/internal/FileUploaderControl/fileUtils/fileUtils.js.map +1 -1
- package/internal/FileUploaderControl/fileUtils.d.ts +14 -14
- package/internal/FileUploaderControl/hooks/useControlLocale.d.ts +1 -1
- package/internal/FileUploaderControl/hooks/useFileUploaderSize.d.ts +2 -2
- package/internal/FileUploaderControl/hooks/useUpload.d.ts +3 -3
- package/internal/FileUploaderControl/withFileUploaderControlProvider.d.ts +3 -3
- package/internal/FocusControlWrapper/FocusControlWrapper.d.ts +17 -17
- package/internal/FocusControlWrapper/FocusControlWrapper.stories.d.ts +4 -4
- package/internal/FocusControlWrapper/index.d.ts +1 -1
- package/internal/FocusControlWrapper/useFocusControl.d.ts +12 -12
- package/internal/FocusTrap/FocusTrap.d.ts +18 -18
- package/internal/FocusTrap/index.d.ts +1 -1
- package/internal/HideBodyVerticalScroll/HideBodyVerticalScroll.d.ts +15 -15
- package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.d.mts +1 -1
- package/internal/HideBodyVerticalScroll/index.d.ts +1 -1
- package/internal/IgnoreLayerClick/IgnoreLayerClick.d.ts +8 -8
- package/internal/IgnoreLayerClick/index.d.ts +1 -1
- package/internal/InputLikeText/HiddenInput.d.ts +13 -13
- package/internal/InputLikeText/InputLikeText/InputLikeText.js +54 -4
- package/internal/InputLikeText/InputLikeText/InputLikeText.js.map +1 -1
- package/internal/InputLikeText/InputLikeText.d.ts +79 -74
- package/internal/InputLikeText/InputLikeText.styles.d.ts +7 -7
- package/internal/InputLikeText/index.d.ts +1 -1
- package/internal/InternalMaskedInput/InternalMaskedInput.d.ts +50 -50
- package/internal/InternalMaskedInput/InternalMaskedInput.styles.d.ts +6 -6
- package/internal/InternalMaskedInput/index.d.ts +1 -1
- package/internal/MaskCharLowLine/MaskCharLowLine.d.ts +10 -10
- package/internal/MaskCharLowLine/MaskCharLowLine.styles.d.ts +3 -3
- package/internal/MaskCharLowLine/index.d.ts +1 -1
- package/internal/Menu/Menu/Menu.js.map +1 -1
- package/internal/Menu/Menu.d.ts +106 -106
- package/internal/Menu/Menu.styles.d.ts +17 -17
- package/internal/Menu/MenuContext.d.ts +10 -10
- package/internal/Menu/MenuNavigation.d.ts +26 -26
- package/internal/Menu/__creevey__/Menu.creevey.d.mts +1 -1
- package/internal/Menu/index.d.ts +1 -1
- package/internal/Menu/isActiveElement.d.ts +3 -3
- package/internal/MenuMessage/MenuMessage.d.ts +12 -12
- package/internal/MenuMessage/MenuMessage.styles.d.ts +8 -8
- package/internal/MenuMessage/index.d.ts +1 -1
- package/internal/MobilePopup/MobilePopup.d.ts +47 -47
- package/internal/MobilePopup/MobilePopup.styles.d.ts +10 -10
- package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.d.ts +7 -7
- package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.styles.d.ts +4 -4
- package/internal/MobilePopup/MobilePopupFooter/index.d.ts +1 -1
- package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.d.ts +15 -15
- package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.styles.d.ts +8 -8
- package/internal/MobilePopup/MobilePopupHeader/index.d.ts +1 -1
- package/internal/MobilePopup/index.d.ts +1 -1
- package/internal/NativeDateInput/NativeDateInput.d.ts +24 -24
- package/internal/NativeDateInput/NativeDateInput.styles.d.ts +3 -3
- package/internal/NativeDateInput/index.d.ts +1 -1
- package/internal/NativeDateInput/utils.d.ts +7 -7
- package/internal/PerformanceMetrics/PerformanceMetrics.d.ts +7 -7
- package/internal/Popup/Popup/Popup.js +15 -20
- package/internal/Popup/Popup/Popup.js.map +1 -1
- package/internal/Popup/Popup.d.ts +204 -204
- package/internal/Popup/Popup.styles.d.ts +17 -17
- package/internal/Popup/PopupHelper.d.ts +26 -26
- package/internal/Popup/PopupPin.d.ts +57 -57
- package/internal/Popup/PopupPin.styles.d.ts +3 -3
- package/internal/Popup/index.d.ts +1 -1
- package/internal/Popup/types/types.js +1 -0
- package/internal/Popup/types.d.ts +2 -2
- package/internal/PopupMenu/PopupMenu/PopupMenu.js +2 -1
- package/internal/PopupMenu/PopupMenu/PopupMenu.js.map +1 -1
- package/internal/PopupMenu/PopupMenu.d.ts +103 -99
- package/internal/PopupMenu/PopupMenu.styles.d.ts +4 -4
- package/internal/PopupMenu/__creevey__/PopupMenu.creevey.d.mts +1 -1
- package/internal/PopupMenu/index.d.ts +1 -1
- package/internal/PopupMenu/tids.d.ts +4 -4
- package/internal/PopupMenu/validatePositions.d.ts +2 -2
- package/internal/RenderContainer/RenderContainer.d.ts +18 -18
- package/internal/RenderContainer/RenderContainerTypes/RenderContainerTypes.js +1 -0
- package/internal/RenderContainer/RenderContainerTypes.d.ts +13 -13
- package/internal/RenderContainer/RenderInnerContainer.d.ts +24 -24
- package/internal/RenderContainer/index.d.ts +1 -1
- package/internal/RenderLayer/RenderLayer.d.ts +32 -32
- package/internal/RenderLayer/index.d.ts +1 -1
- package/internal/ResizeDetector/ResizeDetector.d.ts +14 -14
- package/internal/ResizeDetector/ResizeDetector.styles.d.ts +6 -6
- package/internal/ResizeDetector/index.d.ts +1 -1
- package/internal/SpinnerIcon/SpinnerIcon.d.ts +33 -33
- package/internal/SpinnerIcon/SpinnerIcon.styles.d.ts +6 -6
- package/internal/TextWidthHelper/TextWidthHelper.d.ts +15 -15
- package/internal/TextWidthHelper/TextWidthHelper.styles.d.ts +4 -4
- package/internal/ThemePlayground/AnotherInputsPlayground.d.ts +18 -18
- package/internal/ThemePlayground/CheckboxPlayground.d.ts +2 -2
- package/internal/ThemePlayground/ComponentsGroup.d.ts +10 -10
- package/internal/ThemePlayground/CurrencyInputPlayground.d.ts +12 -12
- package/internal/ThemePlayground/FxInputPlayground.d.ts +12 -12
- package/internal/ThemePlayground/HintPlayground.d.ts +6 -6
- package/internal/ThemePlayground/PagingPlayground.d.ts +10 -10
- package/internal/ThemePlayground/Playground.d.ts +30 -30
- package/internal/ThemePlayground/Playground.styles.d.ts +23 -23
- package/internal/ThemePlayground/RadioPlayground.d.ts +2 -2
- package/internal/ThemePlayground/SelectPlayground.d.ts +15 -15
- package/internal/ThemePlayground/ShowcaseGroup.d.ts +6 -6
- package/internal/ThemePlayground/SizesGroup.d.ts +6 -6
- package/internal/ThemePlayground/SwitcherPlayground.d.ts +16 -16
- package/internal/ThemePlayground/ThemeContextPlayground.d.ts +45 -45
- package/internal/ThemePlayground/ThemeEditor.d.ts +36 -36
- package/internal/ThemePlayground/TogglePlayground.d.ts +4 -4
- package/internal/ThemePlayground/TokenInputPlayground.d.ts +9 -9
- package/internal/ThemePlayground/UnlinkVarsPlayground.d.ts +2 -2
- package/internal/ThemePlayground/VariableValue.d.ts +43 -43
- package/internal/ThemePlayground/__creevey__/Theme5_0.creevey.d.mts +1 -1
- package/internal/ThemePlayground/__creevey__/Theme5_0.stories.d.ts +4 -4
- package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.d.mts +1 -1
- package/internal/ThemePlayground/constants/constants.js +3 -3
- package/internal/ThemePlayground/constants/constants.js.map +1 -1
- package/internal/ThemePlayground/constants.d.ts +15 -15
- package/internal/ThemePlayground/helpers.d.ts +2 -2
- package/internal/ThemeShowcase/ThemeShowcase.d.ts +22 -22
- package/internal/ThemeShowcase/ThemeShowcase.styles.d.ts +27 -27
- package/internal/ThemeShowcase/VariablesCollector.d.ts +22 -22
- package/internal/ZIndex/ZIndex.d.ts +61 -61
- package/internal/ZIndex/ZIndexStorage.d.ts +18 -18
- package/internal/ZIndex/__creevey__/ZIndex.creevey.d.mts +1 -1
- package/internal/ZIndex/index/index.js +2 -1
- package/internal/ZIndex/index/index.js.map +1 -1
- package/internal/ZIndex/index.d.ts +2 -2
- package/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon16Light.d.ts +2 -2
- package/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon20Light.d.ts +2 -2
- package/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon24Regular.d.ts +2 -2
- package/internal/icons2022/ArrowARightIcon/ArrowARightIcon16Light.d.ts +2 -2
- package/internal/icons2022/ArrowARightIcon/ArrowARightIcon20Light.d.ts +2 -2
- package/internal/icons2022/ArrowARightIcon/ArrowARightIcon24Regular.d.ts +2 -2
- package/internal/icons2022/ArrowAUpIcon/ArrowAUp16Light.d.ts +2 -2
- package/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon16Regular.d.ts +2 -2
- package/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon20Regular.d.ts +2 -2
- package/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon24Regular.d.ts +2 -2
- package/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon16Light.d.ts +2 -2
- package/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon20Light.d.ts +2 -2
- package/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon24Regular.d.ts +2 -2
- package/internal/icons2022/ArrowCUpIcon/ArrowCUpIcon16Regular.d.ts +2 -2
- package/internal/icons2022/ArrowCollapseCVOpenIcon/ArrowCollapseCVOpenIcon16Regular.d.ts +2 -2
- package/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon16Light.d.ts +2 -2
- package/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon20Light.d.ts +2 -2
- package/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon24Regular.d.ts +2 -2
- package/internal/icons2022/BaseIcon.d.ts +15 -15
- package/internal/icons2022/BaseIcon.styles.d.ts +3 -3
- package/internal/icons2022/CalendarIcon/CalendarIcon16Light.d.ts +2 -2
- package/internal/icons2022/CalendarIcon/CalendarIcon20Light.d.ts +2 -2
- package/internal/icons2022/CalendarIcon/CalendarIcon24Regular.d.ts +2 -2
- package/internal/icons2022/CheckAIcon/CheckAIcon16Light.d.ts +2 -2
- package/internal/icons2022/CheckAIcon/CheckAIcon16Regular.d.ts +2 -2
- package/internal/icons2022/CheckAIcon/CheckAIcon16Solid.d.ts +2 -2
- package/internal/icons2022/CheckAIcon/CheckAIcon20Light.d.ts +2 -2
- package/internal/icons2022/CheckAIcon/CheckAIcon20Solid.d.ts +2 -2
- package/internal/icons2022/CheckAIcon/CheckAIcon24Regular.d.ts +2 -2
- package/internal/icons2022/EyeClosedIcon/EyeClosedIcon16Light.d.ts +2 -2
- package/internal/icons2022/EyeClosedIcon/EyeClosedIcon20Light.d.ts +2 -2
- package/internal/icons2022/EyeClosedIcon/EyeClosedIcon24Regular.d.ts +2 -2
- package/internal/icons2022/EyeOpenIcon/EyeOpenIcon16Light.d.ts +2 -2
- package/internal/icons2022/EyeOpenIcon/EyeOpenIcon20Light.d.ts +2 -2
- package/internal/icons2022/EyeOpenIcon/EyeOpenIcon24Regular.d.ts +2 -2
- package/internal/icons2022/InfoCircleIcon/InfoCircleIcon64Regular.d.ts +2 -2
- package/internal/icons2022/LoadingIcon.d.ts +4 -4
- package/internal/icons2022/MathFunctionIcon/MathFunctionIcon16Light.d.ts +2 -2
- package/internal/icons2022/MathFunctionIcon/MathFunctionIcon20Light.d.ts +2 -2
- package/internal/icons2022/MathFunctionIcon/MathFunctionIcon24Regular.d.ts +2 -2
- package/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Light.d.ts +2 -2
- package/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Regular.d.ts +2 -2
- package/internal/icons2022/MinusCircleIcon/MinusCircleIcon20Light.d.ts +2 -2
- package/internal/icons2022/MinusCircleIcon/MinusCircleIcon24Regular.d.ts +2 -2
- package/internal/icons2022/NetUploadIcon/NetUploadIcon16Light.d.ts +2 -2
- package/internal/icons2022/NetUploadIcon/NetUploadIcon20Light.d.ts +2 -2
- package/internal/icons2022/NetUploadIcon/NetUploadIcon24Regular.d.ts +2 -2
- package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon16Solid.d.ts +2 -2
- package/internal/icons2022/SearchLoupeIcon/SearchLoupeIcon16Regular.d.ts +2 -2
- package/internal/icons2022/ShapeSquareIcon/ShapeSquareIcon16Solid.d.ts +2 -2
- package/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon16Light.d.ts +2 -2
- package/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon20Regular.d.ts +2 -2
- package/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon24Regular.d.ts +2 -2
- package/internal/icons2022/XIcon/XIcon16Light.d.ts +2 -2
- package/internal/icons2022/XIcon/XIcon16Regular.d.ts +2 -2
- package/internal/icons2022/XIcon/XIcon20Light.d.ts +2 -2
- package/internal/icons2022/XIcon/XIcon20Regular.d.ts +2 -2
- package/internal/icons2022/XIcon/XIcon24Regular.d.ts +2 -2
- package/internal/icons2022/iconConstants.d.ts +8 -8
- package/internal/icons2022/iconSizer.d.ts +11 -11
- package/internal/themes/BasicLightTheme.d.ts +5 -5
- package/internal/themes/BasicTheme/BasicTheme.js +86 -3
- package/internal/themes/BasicTheme/BasicTheme.js.map +1 -1
- package/internal/themes/BasicTheme.d.ts +1240 -1217
- package/internal/themes/DarkTheme5_0/DarkTheme5_0.js +1 -1
- package/internal/themes/DarkTheme5_0/DarkTheme5_0.js.map +1 -1
- package/internal/themes/DarkTheme5_0.d.ts +1 -1
- package/internal/themes/DarkTheme5_1.d.ts +1 -1
- package/internal/themes/LightTheme5_0.d.ts +1 -1
- package/internal/themes/LightTheme5_1.d.ts +1 -1
- package/lib/ConditionalHandler.d.ts +12 -12
- package/lib/InstanceWithAnchorElement.d.ts +5 -5
- package/lib/LayoutEvents.d.ts +4 -4
- package/lib/ModalStack.d.ts +15 -15
- package/lib/SSRSafe.d.ts +2 -2
- package/lib/Supports.d.ts +1 -1
- package/lib/Upgrades/Upgrades.js +2 -2
- package/lib/Upgrades/Upgrades.js.map +1 -1
- package/lib/Upgrades.d.ts +7 -7
- package/lib/animation/index.d.ts +6 -6
- package/lib/animation/presets.d.ts +18 -18
- package/lib/animation/stepper.d.ts +1 -1
- package/lib/callChildRef/callChildRef.d.ts +3 -3
- package/lib/chars.d.ts +8 -8
- package/lib/client.d.ts +12 -12
- package/lib/createPropsGetter.d.ts +3 -3
- package/lib/currentEnvironment.d.ts +3 -3
- package/lib/date/InternalDate.d.ts +60 -60
- package/lib/date/InternalDateCalculator.d.ts +6 -6
- package/lib/date/InternalDateGetter.d.ts +15 -15
- package/lib/date/InternalDateSetter.d.ts +6 -6
- package/lib/date/InternalDateTransformer.d.ts +15 -15
- package/lib/date/InternalDateValidator.d.ts +12 -12
- package/lib/date/comparison.d.ts +6 -6
- package/lib/date/constants.d.ts +28 -28
- package/lib/date/localeSets.d.ts +5 -5
- package/lib/date/types/types.js +18 -18
- package/lib/date/types/types.js.map +1 -1
- package/lib/date/types.d.ts +94 -94
- package/lib/delay.d.ts +1 -1
- package/lib/dom/getDOMRect.d.ts +10 -10
- package/lib/dom/getParentOrShadowHost.d.ts +1 -1
- package/lib/dom/getScrollWidth.d.ts +1 -1
- package/lib/dom/scrollYCenterIntoNearestScrollable.d.ts +2 -2
- package/lib/dom/selectionHelpers.d.ts +2 -2
- package/lib/dom/tabbableHelpers.d.ts +17 -17
- package/lib/events/MouseDrag/MouseDrag.js +3 -3
- package/lib/events/MouseDrag/MouseDrag.js.map +1 -1
- package/lib/events/MouseDrag.d.ts +58 -58
- package/lib/events/fixClickFocusIE.d.ts +1 -1
- package/lib/events/fixFirefoxModifiedClickOnLabel.d.ts +2 -2
- package/lib/events/keyListener.d.ts +7 -7
- package/lib/events/keyboard/KeyboardEventCodes/KeyboardEventCodes.js +3 -3
- package/lib/events/keyboard/KeyboardEventCodes/KeyboardEventCodes.js.map +1 -1
- package/lib/events/keyboard/KeyboardEventCodes.d.ts +30 -30
- package/lib/events/keyboard/KeyboardMapKeys.d.ts +7 -7
- package/lib/events/keyboard/extractCode.d.ts +2 -2
- package/lib/events/keyboard/identifiers.d.ts +50 -50
- package/lib/events/stopPropagation.d.ts +1 -1
- package/lib/events/tabListener.d.ts +1 -1
- package/lib/extractKeyboardAction.d.ts +13 -13
- package/lib/featureFlagsContext/FeatureFlagsHelpers.d.ts +4 -4
- package/lib/featureFlagsContext/ReactUIFeatureFlagsContext.d.ts +6 -6
- package/lib/featureFlagsContext/index.d.ts +2 -2
- package/lib/filterProps.d.ts +12 -12
- package/lib/forwardRefAndName.d.ts +8 -8
- package/lib/getDisplayName.d.ts +3 -3
- package/lib/getMenuPositions.d.ts +2 -2
- package/lib/isInstanceOf.d.ts +1 -1
- package/lib/listenFocusOutside.d.ts +8 -8
- package/lib/locale/LocaleContext.d.ts +7 -7
- package/lib/locale/LocaleHelper.d.ts +9 -9
- package/lib/locale/constants.d.ts +5 -5
- package/lib/locale/decorators.d.ts +34 -34
- package/lib/locale/index.d.ts +3 -3
- package/lib/locale/types/types.js +3 -3
- package/lib/locale/types/types.js.map +1 -1
- package/lib/locale/types.d.ts +27 -27
- package/lib/locale/useLocaleForControl.d.ts +3 -3
- package/lib/memo.d.ts +3 -3
- package/lib/mergeRefs/mergeRefs.js +68 -0
- package/lib/mergeRefs/mergeRefs.js.map +1 -0
- package/lib/mergeRefs/package.json +6 -0
- package/lib/mergeRefs.d.ts +23 -0
- package/lib/needsPolyfillPlaceholder.d.ts +6 -6
- package/lib/net/fetch.d.ts +13 -13
- package/lib/reactGetTextContent.d.ts +2 -2
- package/lib/rootNode/getRootNode.d.ts +12 -12
- package/lib/rootNode/index.d.ts +2 -2
- package/lib/rootNode/rootNodeDecorator.d.ts +56 -56
- package/lib/stringUtils.d.ts +1 -1
- package/lib/styles/ColorFactory.d.ts +11 -11
- package/lib/styles/ColorFunctions.d.ts +11 -11
- package/lib/styles/ColorHelpers.d.ts +21 -21
- package/lib/styles/ColorKeywords.d.ts +150 -150
- package/lib/styles/ColorObject.d.ts +52 -52
- package/lib/styles/DimensionFunctions.d.ts +1 -1
- package/lib/styles/Mixins.d.ts +2 -2
- package/lib/styles/UiFont.d.ts +4 -4
- package/lib/styles/getLabGrotesqueBaselineCompensation.d.ts +1 -1
- package/lib/taskWithDelayAndMinimalDuration.d.ts +21 -21
- package/lib/theming/AnimationKeyframes.d.ts +7 -7
- package/lib/theming/Emotion.d.ts +15 -15
- package/lib/theming/Theme.d.ts +4 -4
- package/lib/theming/ThemeContext.d.ts +2 -2
- package/lib/theming/ThemeFactory.d.ts +17 -17
- package/lib/theming/ThemeHelpers.d.ts +68 -68
- package/lib/theming/ThemeVersions.d.ts +25 -25
- package/lib/theming/themes/DarkTheme.d.ts +3 -3
- package/lib/theming/themes/LightTheme.d.ts +3 -3
- package/lib/theming/themes/LightThemeMobile.d.ts +1 -1
- package/lib/theming/useTheme.d.ts +1 -1
- package/lib/toKebabCase.d.ts +1 -1
- package/lib/typeGuards/package.json +6 -0
- package/lib/typeGuards/typeGuards.js +5 -0
- package/lib/typeGuards/typeGuards.js.map +1 -0
- package/lib/typeGuards.d.ts +1 -0
- package/lib/types/button-link/button-link.js +1 -0
- package/lib/types/button-link.d.ts +1 -1
- package/lib/types/polymorphic-component/polymorphic-component.js +1 -0
- package/lib/types/polymorphic-component.d.ts +19 -19
- package/lib/types/props/props.js +1 -0
- package/lib/types/props.d.ts +1 -1
- package/lib/uidUtils.d.ts +1 -1
- package/lib/utils/utils.js +10 -14
- package/lib/utils/utils.js.map +1 -1
- package/lib/utils.d.ts +89 -85
- package/lib/withClassWrapper.d.ts +67 -67
- package/package.json +4 -5
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Theme } from '../../lib/theming/Theme';
|
|
2
|
-
export declare const styles: {
|
|
3
|
-
icon(): string;
|
|
4
|
-
iconSmall(t: Theme): string;
|
|
5
|
-
iconSmallLeft(t: Theme): string;
|
|
6
|
-
iconSmallRight(t: Theme): string;
|
|
7
|
-
iconMedium(t: Theme): string;
|
|
8
|
-
iconMediumLeft(t: Theme): string;
|
|
9
|
-
iconMediumRight(t: Theme): string;
|
|
10
|
-
iconLarge(t: Theme): string;
|
|
11
|
-
iconLargeLeft(t: Theme): string;
|
|
12
|
-
iconLargeRight(t: Theme): string;
|
|
13
|
-
iconLeftLink(t: Theme): string;
|
|
14
|
-
iconRightLink(t: Theme): string;
|
|
15
|
-
iconNoMargin(): string;
|
|
16
|
-
};
|
|
1
|
+
import { Theme } from '../../lib/theming/Theme';
|
|
2
|
+
export declare const styles: {
|
|
3
|
+
icon(): string;
|
|
4
|
+
iconSmall(t: Theme): string;
|
|
5
|
+
iconSmallLeft(t: Theme): string;
|
|
6
|
+
iconSmallRight(t: Theme): string;
|
|
7
|
+
iconMedium(t: Theme): string;
|
|
8
|
+
iconMediumLeft(t: Theme): string;
|
|
9
|
+
iconMediumRight(t: Theme): string;
|
|
10
|
+
iconLarge(t: Theme): string;
|
|
11
|
+
iconLargeLeft(t: Theme): string;
|
|
12
|
+
iconLargeRight(t: Theme): string;
|
|
13
|
+
iconLeftLink(t: Theme): string;
|
|
14
|
+
iconRightLink(t: Theme): string;
|
|
15
|
+
iconNoMargin(): string;
|
|
16
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IconSizeAliases } from '../../internal/icons2022/iconConstants';
|
|
3
|
-
interface LoadingButtonIconProps {
|
|
4
|
-
size: IconSizeAliases;
|
|
5
|
-
isCentered?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const LoadingButtonIcon: ({ size, isCentered }: LoadingButtonIconProps) => React.JSX.Element;
|
|
8
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconSizeAliases } from '../../internal/icons2022/iconConstants';
|
|
3
|
+
interface LoadingButtonIconProps {
|
|
4
|
+
size: IconSizeAliases;
|
|
5
|
+
isCentered?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const LoadingButtonIcon: ({ size, isCentered }: LoadingButtonIconProps) => React.JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Theme } from '../../lib/theming/Theme';
|
|
2
|
-
export declare const getInnerLinkTheme: (theme: Theme) => Theme;
|
|
1
|
+
import { Theme } from '../../lib/theming/Theme';
|
|
2
|
+
export declare const getInnerLinkTheme: (theme: Theme) => Theme;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Button';
|
|
1
|
+
export * from './Button';
|
|
@@ -383,10 +383,12 @@ export var Calendar = rootNode(_class = (_Calendar = /*#__PURE__*/function (_Rea
|
|
|
383
383
|
if (onMonthChange) {
|
|
384
384
|
var visibleMonthsModels = this.getVisibleMonths(this.state).map(this.getViewModel);
|
|
385
385
|
var prevFirstVisibleMonthModels = this.getVisibleMonths(prevState).map(this.getViewModel);
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
386
|
+
if (visibleMonthsModels.length > 0 && prevFirstVisibleMonthModels.length > 0) {
|
|
387
|
+
var currentMonth = visibleMonthsModels[0].month;
|
|
388
|
+
var prevCurrentMonth = prevFirstVisibleMonthModels[0].month;
|
|
389
|
+
if (currentMonth !== prevCurrentMonth) {
|
|
390
|
+
this.handleMonthChange(visibleMonthsModels);
|
|
391
|
+
}
|
|
390
392
|
}
|
|
391
393
|
}
|
|
392
394
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","normalizeWheel","throttle","shallowEqual","globalObject","isInstanceOf","InternalDate","rootNode","cx","CommonWrapper","MAX_DATE","MAX_MONTH","MAX_YEAR","MIN_DATE","MIN_MONTH","MIN_YEAR","ThemeContext","animation","isMobile","createPropsGetter","InternalDateTransformer","themeConfig","MonthViewModel","CalendarScrollEvents","Month","styles","create","isGreater","isLess","CalendarUtils","CalendarContext","CalendarDay","CalendarDataTids","root","month","dayCell","headerMonth","headerYear","Calendar","_class","_Calendar","_React$Component","props","_this$props$initialYe","_this","call","getProps","defaultProps","touchStartY","scrollToMonth","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","year","monthNative","minDate","maxDate","minMonth","maxMonth","currentMonth","diffInMonths","maxMonthsToAdd","onEnd","isYearChanges","monthsToPrependCount","monthsToPrepend","monthsToAppendCount","monthsToAppend","wrap","_callee$","_context","prev","next","getMonthInNativeFormat","inProgress","finish","Promise","r","setTimeout","getDateInNativeFormat","getMonthInHumanFormat","abrupt","state","months","scrollTo","theme","MAX_MONTHS_TO_APPEND_ON_SCROLL","setState","getMonths","scrollPosition","Math","abs","min","Array","from","length","_","index","yearChanges","isFirstInYear","isLastInYear","concat","getMonthsHeight","targetPosition","getHeight","slice","stop","_x","_x2","apply","arguments","handleMonthChange","visibleMonths","changeInfo","onMonthChange","getViewModel","item","renderMain","monthsForRender","getVisibleMonths","wrapperStyle","height","WRAPPER_HEIGHT","context","value","isHoliday","renderDay","today","getTodayDate","onDateClick","handleDateClick","createElement","_extends","rootNodeRef","setRootNode","ref","refRoot","className","style","wrapper","Provider","map","renderMonth","separator","element","addEventListener","handleTouchStart","throttledHandleTouchMove","handleWheel","passive","removeEventListener","dateShape","dateToHumanString","onValueChange","handleMonthYearChange","executeAnimations","pixelY","_ref2","calculateScrollPosition","scrollTarget","handleWheelEnd","animate","deltaY","applyDelta","emit","event","TouchEvent","clientY","targetTouches","handleTouchMove","changedTouches","WheelEvent","preventDefault","_normalizeWheel","wheelEndTimeout","clearTimeout","scrollToNearestWeek","_this$state","scrollDirection","thresholdHeight","MONTH_TITLE_OFFSET_HEIGHT","DAY_HEIGHT","amount","pos","scrollAmmount","scrollAmount","_ref3","_this$getProps","minDateShape","maxDateShape","initialDate","getInitialDate","date","initialMonth","initialYear","_inheritsLoose","formatDate","setComponents","toString","withPad","_proto","prototype","componentDidUpdate","prevProps","prevState","_this$props","parseValue","getComponentsLikeNumber","visibleMonthsModels","prevFirstVisibleMonthModels","prevCurrentMonth","componentWillUnmount","cancel","render","_this2","Consumer","_ref4","top","key","onMonthYearChange","toNativeFormat","getMonthPositions","positions","i","position","push","_this3","x","filter","_ref5","isMonthVisible","Component","__KONTUR_REACT_UI__","displayName","Day","_day","isWeekend"],"sources":["Calendar.tsx"],"sourcesContent":["import React from 'react';\nimport normalizeWheel from 'normalize-wheel';\nimport throttle from 'lodash.throttle';\nimport shallowEqual from 'shallowequal';\nimport { globalObject, SafeTimer } from '@skbkontur/global-object';\n\nimport { isInstanceOf } from '../../lib/isInstanceOf';\nimport { InternalDate } from '../../lib/date/InternalDate';\nimport { rootNode, TSetRootNode } from '../../lib/rootNode';\nimport { cx } from '../../lib/theming/Emotion';\nimport { CommonProps, CommonWrapper } from '../../internal/CommonWrapper';\nimport { MAX_DATE, MAX_MONTH, MAX_YEAR, MIN_DATE, MIN_MONTH, MIN_YEAR } from '../../lib/date/constants';\nimport { Nullable, Range } from '../../typings/utility-types';\nimport { Theme } from '../../lib/theming/Theme';\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport { animation } from '../../lib/animation';\nimport { isMobile } from '../../lib/client';\nimport { createPropsGetter } from '../../lib/createPropsGetter';\nimport { InternalDateTransformer } from '../../lib/date/InternalDateTransformer';\n\nimport { themeConfig } from './config';\nimport { MonthViewModel } from './MonthViewModel';\nimport * as CalendarScrollEvents from './CalendarScrollEvents';\nimport { Month } from './Month';\nimport { styles } from './Calendar.styles';\nimport { CalendarDateShape, create, isGreater, isLess } from './CalendarDateShape';\nimport * as CalendarUtils from './CalendarUtils';\nimport { CalendarContext, CalendarContextProps } from './CalendarContext';\nimport { CalendarDay, CalendarDayProps } from './CalendarDay';\n\nexport interface CalendarProps extends CommonProps {\n /** Задает функцию, которая вызывается при изменении value.\n * @param {string} date - строка в формате `dd.mm.yyyy`. */\n onValueChange?: (date: string) => void;\n\n /** Задает текущую дату в формате `dd.mm.yyyy`. */\n value: Nullable<string>;\n\n /** Задает максимальную возможную дату в формате `dd.mm.yyyy`. */\n maxDate?: string;\n\n /** Задает минимальную возможную дату в формате `dd.mm.yyyy`. */\n minDate?: string;\n\n /** Задает начальную дату периода в формате `dd.mm.yyyy`. */\n periodStartDate?: string;\n\n /** Задает конечную дату периода в формате `dd.mm.yyyy`. */\n periodEndDate?: string;\n\n /** Задает функцию для определения праздничных дней.\n * @default (_day, isWeekend) => isWeekend.\n * @param {string} day - строка в формате `dd.mm.yyyy`.\n * @param {boolean} isWeekend - флаг выходного (суббота или воскресенье).\n * @returns {boolean} `true` для выходного или `false` для рабочего дня. */\n isHoliday?: (day: string, isWeekend: boolean) => boolean;\n\n /** Задает начальный месяц. */\n initialMonth?: Range<1, 13>;\n\n /** Задает начальный год. */\n initialYear?: number;\n\n /** Задает метод отрисовки дат в календаре.\n * @default (props: CalendarDayProps) => <CalendarDay {...props} />\n * @param {CalendarDayProps} props - параметры дня.\n * @returns {ReactElement} элемент, который отрисовывает контент числа месяца. */\n renderDay?: (props: CalendarDayProps) => React.ReactElement;\n\n /** Задает функцию, которая вызывается при каждом изменении месяца.\n * @param {CalendarMonthChangeInfo} changeInfo - информация о изменении отображаемого месяца, где\n * `month: number` - номер текущего отображаемого месяца от 1 до 12,\n * `year: number` - отображаемый год. */\n onMonthChange?: (changeInfo: CalendarMonthChangeInfo) => void;\n}\n\nexport interface CalendarState {\n scrollPosition: number;\n months: MonthViewModel[];\n scrollDirection: number;\n scrollTarget: number;\n}\n\nexport interface CalendarMonthChangeInfo {\n month: number;\n year: number;\n}\n\nexport const CalendarDataTids = {\n root: 'Calendar__root',\n month: 'MonthView__month',\n dayCell: 'DayCellView__root',\n headerMonth: 'MonthView__headerMonth',\n headerYear: 'MonthView__headerYear',\n} as const;\n\ntype DefaultProps = Required<Pick<CalendarProps, 'minDate' | 'maxDate' | 'isHoliday'>>;\n\n/**\n * Компонент календаря `Calendar` из DatePicker'а помогает выбирать дату с помощью мыши.\n */\n@rootNode\nexport class Calendar extends React.Component<CalendarProps, CalendarState> {\n public static __KONTUR_REACT_UI__ = 'Calendar';\n public static displayName = 'Calendar';\n\n public static Day = CalendarDay;\n\n private static formatDate(date: number, month: number, year: number) {\n return new InternalDate().setComponents({ date, month, year }).toString({ withPad: true });\n }\n\n public static defaultProps: DefaultProps = {\n minDate: Calendar.formatDate(MIN_DATE, MIN_MONTH, MIN_YEAR),\n maxDate: Calendar.formatDate(MAX_DATE, MAX_MONTH, MAX_YEAR),\n isHoliday: (_day: string, isWeekend: boolean) => isWeekend,\n };\n\n private getProps = createPropsGetter(Calendar.defaultProps);\n\n private theme!: Theme;\n private wheelEndTimeout: SafeTimer;\n private root: Nullable<HTMLElement>;\n private animation = animation();\n private touchStartY: Nullable<number> = null;\n private setRootNode!: TSetRootNode;\n\n constructor(props: CalendarProps) {\n super(props);\n\n const { minDate, maxDate, value } = this.getProps();\n\n const minDateShape = this.getDateInNativeFormat(minDate);\n const maxDateShape = this.getDateInNativeFormat(maxDate);\n const dateShape = this.getDateInNativeFormat(value);\n\n const today = CalendarUtils.getTodayDate();\n const initialDate = CalendarUtils.getInitialDate({\n today,\n date: dateShape,\n minDate: minDateShape,\n maxDate: maxDateShape,\n });\n\n const initialMonth = this.props.initialMonth\n ? CalendarUtils.getMonthInNativeFormat(this.props.initialMonth)\n : initialDate.month;\n const initialYear = this.props.initialYear ?? initialDate.year;\n\n this.state = {\n scrollPosition: 0,\n months: CalendarUtils.getMonths(initialMonth, initialYear),\n scrollDirection: 1,\n scrollTarget: 0,\n };\n }\n\n public componentDidUpdate(prevProps: Readonly<CalendarProps>, prevState: Readonly<CalendarState>): void {\n const { value, onMonthChange } = this.props;\n if (value && !shallowEqual(value, prevProps.value)) {\n const date = new InternalDate().parseValue(value).getComponentsLikeNumber();\n this.scrollToMonth(date.month, date.year);\n }\n\n if (onMonthChange) {\n const visibleMonthsModels = this.getVisibleMonths(this.state).map(this.getViewModel);\n const prevFirstVisibleMonthModels = this.getVisibleMonths(prevState).map(this.getViewModel);\n const currentMonth = visibleMonthsModels[0].month;\n const prevCurrentMonth = prevFirstVisibleMonthModels[0].month;\n\n if (currentMonth !== prevCurrentMonth) {\n this.handleMonthChange(visibleMonthsModels);\n }\n }\n }\n\n public componentWillUnmount() {\n if (this.animation.inProgress()) {\n this.animation.cancel();\n }\n }\n\n public render() {\n return (\n <ThemeContext.Consumer>\n {(theme) => {\n this.theme = theme;\n return this.renderMain();\n }}\n </ThemeContext.Consumer>\n );\n }\n\n /**\n * Прокручивает календарь до переданной даты\n * @public\n */\n public scrollToMonth = async (month: number, year: number) => {\n const monthNative = CalendarUtils.getMonthInNativeFormat(month);\n\n if (this.animation.inProgress()) {\n this.animation.finish();\n // FIXME: Dirty hack to await batched updates\n await new Promise((r) => globalObject.setTimeout(r, 0));\n }\n\n const minDate = this.getDateInNativeFormat(this.getProps().minDate);\n const maxDate = this.getDateInNativeFormat(this.getProps().maxDate);\n\n if (minDate && isGreater(minDate, create(32, monthNative, year))) {\n const minMonth = CalendarUtils.getMonthInHumanFormat(minDate.month);\n this.scrollToMonth(minMonth, minDate.year);\n return;\n }\n\n if (maxDate && isLess(maxDate, create(0, monthNative, year))) {\n const maxMonth = CalendarUtils.getMonthInHumanFormat(maxDate.month);\n this.scrollToMonth(maxMonth, maxDate.year);\n return;\n }\n\n const currentMonth = this.state.months[1];\n const diffInMonths = currentMonth.month + currentMonth.year * 12 - monthNative - year * 12;\n\n if (diffInMonths === 0) {\n this.scrollTo(0);\n return;\n }\n\n const maxMonthsToAdd = themeConfig(this.theme).MAX_MONTHS_TO_APPEND_ON_SCROLL;\n\n const onEnd = () => {\n this.setState({\n months: CalendarUtils.getMonths(monthNative, year),\n scrollPosition: 0,\n });\n };\n\n const isYearChanges = (state: CalendarState) => {\n return (\n state.months[1].year !== year &&\n // if diff in months is 2 or less,\n // either year is not changing either months already\n // have right isFirstInYear/isLastInYear flags\n Math.abs(diffInMonths) > 2\n );\n };\n\n // If scrolling upwards, prepend maximum maxMonthsToAdd months\n // and scroll to the first month\n if (diffInMonths > 0) {\n const monthsToPrependCount = Math.min(Math.abs(diffInMonths) - 1, maxMonthsToAdd);\n const monthsToPrepend = Array.from({ length: monthsToPrependCount }, (_, index) => {\n return MonthViewModel.create(monthNative + index, year);\n });\n this.setState(\n (state) => {\n const yearChanges = isYearChanges(state);\n if (yearChanges) {\n // Mutating here can lead to some unexpected bugs\n // but we couldn't find any yet\n state.months[0].isFirstInYear = true;\n if (monthsToPrepend.length) {\n // Mutating item here is safe as it was just created\n monthsToPrepend[monthsToPrepend.length - 1].isLastInYear = true;\n }\n }\n return {\n months: monthsToPrepend.concat(state.months),\n scrollPosition: -CalendarUtils.getMonthsHeight(monthsToPrepend, this.theme),\n };\n },\n () => {\n const targetPosition = this.state.months[0].getHeight(this.theme);\n this.scrollTo(targetPosition, onEnd);\n },\n );\n }\n\n // If scrolling downwards, append maximum maxMonthsToAdd months\n // and scroll to the last but one month\n if (diffInMonths < 0) {\n const monthsToAppendCount = Math.min(Math.abs(diffInMonths), maxMonthsToAdd);\n const monthsToAppend = Array.from({ length: monthsToAppendCount }, (_, index) => {\n return MonthViewModel.create(monthNative + index - monthsToAppendCount + 2, year);\n });\n this.setState(\n (state) => {\n if (isYearChanges(state)) {\n // Mutating here can lead to some unexpected bugs\n // but we couldn't find any yet\n state.months[state.months.length - 1].isLastInYear = true;\n // Mutating item here is safe as it was just created\n if (monthsToAppend[0]) {\n monthsToAppend[0].isFirstInYear = true;\n }\n }\n return { months: state.months.concat(monthsToAppend) };\n },\n () => {\n const targetPosition = -1 * CalendarUtils.getMonthsHeight(this.state.months.slice(1, -2), this.theme);\n this.scrollTo(targetPosition, onEnd);\n },\n );\n }\n };\n\n private handleMonthChange = (visibleMonths: MonthViewModel[]): void => {\n const currentMonth = visibleMonths[0];\n const changeInfo = {\n month: CalendarUtils.getMonthInHumanFormat(currentMonth.month),\n year: currentMonth.year,\n };\n\n this.props.onMonthChange?.(changeInfo);\n };\n\n private getViewModel = (item: [number, MonthViewModel]): MonthViewModel => item[1];\n\n private renderMain = () => {\n const monthsForRender = this.getVisibleMonths(this.state);\n const wrapperStyle = { height: themeConfig(this.theme).WRAPPER_HEIGHT };\n\n const props = this.getProps();\n\n const context: CalendarContextProps = {\n value: this.getDateInNativeFormat(props.value),\n minDate: this.getDateInNativeFormat(props.minDate),\n maxDate: this.getDateInNativeFormat(props.maxDate),\n isHoliday: props.isHoliday,\n renderDay: props.renderDay,\n today: CalendarUtils.getTodayDate(),\n onDateClick: this.handleDateClick,\n };\n\n return (\n <CommonWrapper rootNodeRef={this.setRootNode} {...props}>\n <div ref={this.refRoot} data-tid={CalendarDataTids.root} className={cx(styles.root(this.theme))}>\n <div style={wrapperStyle} className={styles.wrapper()}>\n <CalendarContext.Provider value={context}>\n {monthsForRender.map(this.renderMonth, this)}\n </CalendarContext.Provider>\n </div>\n <div className={styles.separator(this.theme)} />\n </div>\n </CommonWrapper>\n );\n };\n\n private refRoot = (element: HTMLElement | null) => {\n if (!this.root && element) {\n if (isMobile) {\n element.addEventListener('touchstart', this.handleTouchStart);\n element.addEventListener('touchmove', this.throttledHandleTouchMove);\n } else {\n element.addEventListener('wheel', this.handleWheel, { passive: false });\n }\n }\n if (this.root && !element) {\n if (isMobile) {\n this.root.removeEventListener('touchstart', this.handleTouchStart);\n this.root.removeEventListener('touchmove', this.throttledHandleTouchMove);\n } else {\n this.root.removeEventListener('wheel', this.handleWheel);\n }\n }\n this.root = element;\n };\n\n private renderMonth([top, month]: [number, MonthViewModel]) {\n return (\n <Month\n key={month.month + '-' + month.year}\n top={top}\n month={month}\n onMonthYearChange={this.handleMonthYearChange}\n />\n );\n }\n\n private handleDateClick = (dateShape: CalendarDateShape) => {\n const value = InternalDateTransformer.dateToHumanString(dateShape);\n\n this.props.onValueChange?.(value);\n };\n\n private getDateInNativeFormat(date: Nullable<string>) {\n return new InternalDate().parseValue(date).toNativeFormat();\n }\n\n private getMonthPositions(months: MonthViewModel[], scrollPosition: number) {\n const positions = [scrollPosition - months[0].getHeight(this.theme)];\n for (let i = 1; i < months.length; i++) {\n const position = positions[i - 1] + months[i - 1].getHeight(this.theme);\n positions.push(position);\n }\n return positions;\n }\n\n private getVisibleMonths(state: Readonly<CalendarState>): Array<[number, MonthViewModel]> {\n const { months, scrollPosition } = state;\n const positions = this.getMonthPositions(months, scrollPosition);\n\n return months\n .map<[number, MonthViewModel]>((x, i) => [positions[i], x])\n .filter(([top, month]) => CalendarUtils.isMonthVisible(top, month, this.theme));\n }\n\n private handleMonthYearChange = (monthNative: number, year: number) => {\n const month = CalendarUtils.getMonthInHumanFormat(monthNative);\n this.scrollToMonth(month, year);\n };\n\n private executeAnimations = (pixelY: number) => {\n this.setState(({ months, scrollPosition }) => {\n const targetPosition = CalendarUtils.calculateScrollPosition(\n months,\n scrollPosition,\n pixelY,\n this.theme,\n ).scrollPosition;\n return { scrollTarget: targetPosition };\n }, this.handleWheelEnd);\n\n this.animation.animate(pixelY, (deltaY) => {\n // FIXME: Typescript not resolving setState cb type\n this.setState(CalendarUtils.applyDelta(deltaY, this.theme) as any);\n });\n\n CalendarScrollEvents.emit();\n };\n\n private handleTouchStart = (event: Event) => {\n if (!isInstanceOf(event, globalObject.TouchEvent)) {\n return;\n }\n\n const clientY = event.targetTouches[0].clientY;\n this.touchStartY = clientY;\n };\n\n private handleTouchMove = (event: Event) => {\n if (!isInstanceOf(event, globalObject.TouchEvent)) {\n return;\n }\n\n const { clientY } = event.changedTouches[0];\n\n const deltaY = (this.touchStartY || 0) - clientY;\n this.touchStartY = clientY;\n\n this.executeAnimations(deltaY);\n };\n\n private throttledHandleTouchMove = throttle(this.handleTouchMove, 10);\n\n private handleWheel = (event: Event) => {\n if (!isInstanceOf(event, globalObject.WheelEvent)) {\n return;\n }\n event.preventDefault();\n const { pixelY } = normalizeWheel(event);\n\n this.executeAnimations(pixelY);\n };\n\n private handleWheelEnd = () => {\n if (this.wheelEndTimeout) {\n globalObject.clearTimeout(this.wheelEndTimeout);\n }\n this.wheelEndTimeout = globalObject.setTimeout(this.scrollToNearestWeek, 300);\n };\n private scrollToNearestWeek = () => {\n const { scrollTarget, scrollDirection } = this.state;\n\n const thresholdHeight = themeConfig(this.theme).MONTH_TITLE_OFFSET_HEIGHT + themeConfig(this.theme).DAY_HEIGHT;\n\n if (scrollTarget < thresholdHeight) {\n let targetPosition = 0;\n if (scrollDirection < 0) {\n targetPosition = thresholdHeight;\n }\n\n this.setState({ scrollTarget: targetPosition }, () => {\n const amount = scrollTarget - targetPosition;\n this.animation.animate(amount, (deltaY) => {\n // FIXME: Typescript not resolving setState cb type\n this.setState(CalendarUtils.applyDelta(deltaY, this.theme) as any);\n });\n });\n }\n };\n\n private scrollTo = (pos: number, onEnd?: () => void) => {\n const scrollAmmount = pos - this.state.scrollPosition;\n return this.scrollAmount(scrollAmmount, onEnd);\n };\n\n private scrollAmount = (scrollAmmount: number, onEnd?: () => void) => {\n return this.animation.animate(\n scrollAmmount,\n (deltaY) => {\n this.setState(({ scrollPosition }) => ({\n scrollPosition: scrollPosition + deltaY,\n }));\n },\n onEnd,\n );\n };\n}\n"],"mappings":"+RAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,cAAc,MAAM,iBAAiB;AAC5C,OAAOC,QAAQ,MAAM,iBAAiB;AACtC,OAAOC,YAAY,MAAM,cAAc;AACvC,SAASC,YAAY,QAAmB,0BAA0B;;AAElE,SAASC,YAAY,QAAQ,wBAAwB;AACrD,SAASC,YAAY,QAAQ,6BAA6B;AAC1D,SAASC,QAAQ,QAAsB,oBAAoB;AAC3D,SAASC,EAAE,QAAQ,2BAA2B;AAC9C,SAAsBC,aAAa,QA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5D,CAAC,EAAAtM,SAAA,MAAAD,MAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","normalizeWheel","throttle","shallowEqual","globalObject","isInstanceOf","InternalDate","rootNode","cx","CommonWrapper","MAX_DATE","MAX_MONTH","MAX_YEAR","MIN_DATE","MIN_MONTH","MIN_YEAR","ThemeContext","animation","isMobile","createPropsGetter","InternalDateTransformer","themeConfig","MonthViewModel","CalendarScrollEvents","Month","styles","create","isGreater","isLess","CalendarUtils","CalendarContext","CalendarDay","CalendarDataTids","root","month","dayCell","headerMonth","headerYear","Calendar","_class","_Calendar","_React$Component","props","_this$props$initialYe","_this","call","getProps","defaultProps","touchStartY","scrollToMonth","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","year","monthNative","minDate","maxDate","minMonth","maxMonth","currentMonth","diffInMonths","maxMonthsToAdd","onEnd","isYearChanges","monthsToPrependCount","monthsToPrepend","monthsToAppendCount","monthsToAppend","wrap","_callee$","_context","prev","next","getMonthInNativeFormat","inProgress","finish","Promise","r","setTimeout","getDateInNativeFormat","getMonthInHumanFormat","abrupt","state","months","scrollTo","theme","MAX_MONTHS_TO_APPEND_ON_SCROLL","setState","getMonths","scrollPosition","Math","abs","min","Array","from","length","_","index","yearChanges","isFirstInYear","isLastInYear","concat","getMonthsHeight","targetPosition","getHeight","slice","stop","_x","_x2","apply","arguments","handleMonthChange","visibleMonths","changeInfo","onMonthChange","getViewModel","item","renderMain","monthsForRender","getVisibleMonths","wrapperStyle","height","WRAPPER_HEIGHT","context","value","isHoliday","renderDay","today","getTodayDate","onDateClick","handleDateClick","createElement","_extends","rootNodeRef","setRootNode","ref","refRoot","className","style","wrapper","Provider","map","renderMonth","separator","element","addEventListener","handleTouchStart","throttledHandleTouchMove","handleWheel","passive","removeEventListener","dateShape","dateToHumanString","onValueChange","handleMonthYearChange","executeAnimations","pixelY","_ref2","calculateScrollPosition","scrollTarget","handleWheelEnd","animate","deltaY","applyDelta","emit","event","TouchEvent","clientY","targetTouches","handleTouchMove","changedTouches","WheelEvent","preventDefault","_normalizeWheel","wheelEndTimeout","clearTimeout","scrollToNearestWeek","_this$state","scrollDirection","thresholdHeight","MONTH_TITLE_OFFSET_HEIGHT","DAY_HEIGHT","amount","pos","scrollAmmount","scrollAmount","_ref3","_this$getProps","minDateShape","maxDateShape","initialDate","getInitialDate","date","initialMonth","initialYear","_inheritsLoose","formatDate","setComponents","toString","withPad","_proto","prototype","componentDidUpdate","prevProps","prevState","_this$props","parseValue","getComponentsLikeNumber","visibleMonthsModels","prevFirstVisibleMonthModels","prevCurrentMonth","componentWillUnmount","cancel","render","_this2","Consumer","_ref4","top","key","onMonthYearChange","toNativeFormat","getMonthPositions","positions","i","position","push","_this3","x","filter","_ref5","isMonthVisible","Component","__KONTUR_REACT_UI__","displayName","Day","_day","isWeekend"],"sources":["Calendar.tsx"],"sourcesContent":["import React from 'react';\nimport normalizeWheel from 'normalize-wheel';\nimport throttle from 'lodash.throttle';\nimport shallowEqual from 'shallowequal';\nimport { globalObject, SafeTimer } from '@skbkontur/global-object';\n\nimport { isInstanceOf } from '../../lib/isInstanceOf';\nimport { InternalDate } from '../../lib/date/InternalDate';\nimport { rootNode, TSetRootNode } from '../../lib/rootNode';\nimport { cx } from '../../lib/theming/Emotion';\nimport { CommonProps, CommonWrapper } from '../../internal/CommonWrapper';\nimport { MAX_DATE, MAX_MONTH, MAX_YEAR, MIN_DATE, MIN_MONTH, MIN_YEAR } from '../../lib/date/constants';\nimport { Nullable, Range } from '../../typings/utility-types';\nimport { Theme } from '../../lib/theming/Theme';\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport { animation } from '../../lib/animation';\nimport { isMobile } from '../../lib/client';\nimport { createPropsGetter } from '../../lib/createPropsGetter';\nimport { InternalDateTransformer } from '../../lib/date/InternalDateTransformer';\n\nimport { themeConfig } from './config';\nimport { MonthViewModel } from './MonthViewModel';\nimport * as CalendarScrollEvents from './CalendarScrollEvents';\nimport { Month } from './Month';\nimport { styles } from './Calendar.styles';\nimport { CalendarDateShape, create, isGreater, isLess } from './CalendarDateShape';\nimport * as CalendarUtils from './CalendarUtils';\nimport { CalendarContext, CalendarContextProps } from './CalendarContext';\nimport { CalendarDay, CalendarDayProps } from './CalendarDay';\n\nexport interface CalendarProps extends CommonProps {\n /** Задает функцию, которая вызывается при изменении value.\n * @param {string} date - строка в формате `dd.mm.yyyy`. */\n onValueChange?: (date: string) => void;\n\n /** Задает текущую дату в формате `dd.mm.yyyy`. */\n value: Nullable<string>;\n\n /** Задает максимальную возможную дату в формате `dd.mm.yyyy`. */\n maxDate?: string;\n\n /** Задает минимальную возможную дату в формате `dd.mm.yyyy`. */\n minDate?: string;\n\n /** Задает начальную дату периода в формате `dd.mm.yyyy`. */\n periodStartDate?: string;\n\n /** Задает конечную дату периода в формате `dd.mm.yyyy`. */\n periodEndDate?: string;\n\n /** Задает функцию для определения праздничных дней.\n * @default (_day, isWeekend) => isWeekend.\n * @param {string} day - строка в формате `dd.mm.yyyy`.\n * @param {boolean} isWeekend - флаг выходного (суббота или воскресенье).\n * @returns {boolean} `true` для выходного или `false` для рабочего дня. */\n isHoliday?: (day: string, isWeekend: boolean) => boolean;\n\n /** Задает начальный месяц. */\n initialMonth?: Range<1, 13>;\n\n /** Задает начальный год. */\n initialYear?: number;\n\n /** Задает метод отрисовки дат в календаре.\n * @default (props: CalendarDayProps) => <CalendarDay {...props} />\n * @param {CalendarDayProps} props - параметры дня.\n * @returns {ReactElement} элемент, который отрисовывает контент числа месяца. */\n renderDay?: (props: CalendarDayProps) => React.ReactElement;\n\n /** Задает функцию, которая вызывается при каждом изменении месяца.\n * @param {CalendarMonthChangeInfo} changeInfo - информация о изменении отображаемого месяца, где\n * `month: number` - номер текущего отображаемого месяца от 1 до 12,\n * `year: number` - отображаемый год. */\n onMonthChange?: (changeInfo: CalendarMonthChangeInfo) => void;\n}\n\nexport interface CalendarState {\n scrollPosition: number;\n months: MonthViewModel[];\n scrollDirection: number;\n scrollTarget: number;\n}\n\nexport interface CalendarMonthChangeInfo {\n month: number;\n year: number;\n}\n\nexport const CalendarDataTids = {\n root: 'Calendar__root',\n month: 'MonthView__month',\n dayCell: 'DayCellView__root',\n headerMonth: 'MonthView__headerMonth',\n headerYear: 'MonthView__headerYear',\n} as const;\n\ntype DefaultProps = Required<Pick<CalendarProps, 'minDate' | 'maxDate' | 'isHoliday'>>;\n\n/**\n * Компонент календаря `Calendar` из DatePicker'а помогает выбирать дату с помощью мыши.\n */\n@rootNode\nexport class Calendar extends React.Component<CalendarProps, CalendarState> {\n public static __KONTUR_REACT_UI__ = 'Calendar';\n public static displayName = 'Calendar';\n\n public static Day = CalendarDay;\n\n private static formatDate(date: number, month: number, year: number) {\n return new InternalDate().setComponents({ date, month, year }).toString({ withPad: true });\n }\n\n public static defaultProps: DefaultProps = {\n minDate: Calendar.formatDate(MIN_DATE, MIN_MONTH, MIN_YEAR),\n maxDate: Calendar.formatDate(MAX_DATE, MAX_MONTH, MAX_YEAR),\n isHoliday: (_day: string, isWeekend: boolean) => isWeekend,\n };\n\n private getProps = createPropsGetter(Calendar.defaultProps);\n\n private theme!: Theme;\n private wheelEndTimeout: SafeTimer;\n private root: Nullable<HTMLElement>;\n private animation = animation();\n private touchStartY: Nullable<number> = null;\n private setRootNode!: TSetRootNode;\n\n constructor(props: CalendarProps) {\n super(props);\n\n const { minDate, maxDate, value } = this.getProps();\n\n const minDateShape = this.getDateInNativeFormat(minDate);\n const maxDateShape = this.getDateInNativeFormat(maxDate);\n const dateShape = this.getDateInNativeFormat(value);\n\n const today = CalendarUtils.getTodayDate();\n const initialDate = CalendarUtils.getInitialDate({\n today,\n date: dateShape,\n minDate: minDateShape,\n maxDate: maxDateShape,\n });\n\n const initialMonth = this.props.initialMonth\n ? CalendarUtils.getMonthInNativeFormat(this.props.initialMonth)\n : initialDate.month;\n const initialYear = this.props.initialYear ?? initialDate.year;\n\n this.state = {\n scrollPosition: 0,\n months: CalendarUtils.getMonths(initialMonth, initialYear),\n scrollDirection: 1,\n scrollTarget: 0,\n };\n }\n\n public componentDidUpdate(prevProps: Readonly<CalendarProps>, prevState: Readonly<CalendarState>): void {\n const { value, onMonthChange } = this.props;\n if (value && !shallowEqual(value, prevProps.value)) {\n const date = new InternalDate().parseValue(value).getComponentsLikeNumber();\n this.scrollToMonth(date.month, date.year);\n }\n\n if (onMonthChange) {\n const visibleMonthsModels = this.getVisibleMonths(this.state).map(this.getViewModel);\n const prevFirstVisibleMonthModels = this.getVisibleMonths(prevState).map(this.getViewModel);\n\n if (visibleMonthsModels.length > 0 && prevFirstVisibleMonthModels.length > 0) {\n const currentMonth = visibleMonthsModels[0].month;\n const prevCurrentMonth = prevFirstVisibleMonthModels[0].month;\n\n if (currentMonth !== prevCurrentMonth) {\n this.handleMonthChange(visibleMonthsModels);\n }\n }\n }\n }\n\n public componentWillUnmount() {\n if (this.animation.inProgress()) {\n this.animation.cancel();\n }\n }\n\n public render() {\n return (\n <ThemeContext.Consumer>\n {(theme) => {\n this.theme = theme;\n return this.renderMain();\n }}\n </ThemeContext.Consumer>\n );\n }\n\n /**\n * Прокручивает календарь до переданной даты\n * @public\n */\n public scrollToMonth = async (month: number, year: number) => {\n const monthNative = CalendarUtils.getMonthInNativeFormat(month);\n\n if (this.animation.inProgress()) {\n this.animation.finish();\n // FIXME: Dirty hack to await batched updates\n await new Promise((r) => globalObject.setTimeout(r, 0));\n }\n\n const minDate = this.getDateInNativeFormat(this.getProps().minDate);\n const maxDate = this.getDateInNativeFormat(this.getProps().maxDate);\n\n if (minDate && isGreater(minDate, create(32, monthNative, year))) {\n const minMonth = CalendarUtils.getMonthInHumanFormat(minDate.month);\n this.scrollToMonth(minMonth, minDate.year);\n return;\n }\n\n if (maxDate && isLess(maxDate, create(0, monthNative, year))) {\n const maxMonth = CalendarUtils.getMonthInHumanFormat(maxDate.month);\n this.scrollToMonth(maxMonth, maxDate.year);\n return;\n }\n\n const currentMonth = this.state.months[1];\n const diffInMonths = currentMonth.month + currentMonth.year * 12 - monthNative - year * 12;\n\n if (diffInMonths === 0) {\n this.scrollTo(0);\n return;\n }\n\n const maxMonthsToAdd = themeConfig(this.theme).MAX_MONTHS_TO_APPEND_ON_SCROLL;\n\n const onEnd = () => {\n this.setState({\n months: CalendarUtils.getMonths(monthNative, year),\n scrollPosition: 0,\n });\n };\n\n const isYearChanges = (state: CalendarState) => {\n return (\n state.months[1].year !== year &&\n // if diff in months is 2 or less,\n // either year is not changing either months already\n // have right isFirstInYear/isLastInYear flags\n Math.abs(diffInMonths) > 2\n );\n };\n\n // If scrolling upwards, prepend maximum maxMonthsToAdd months\n // and scroll to the first month\n if (diffInMonths > 0) {\n const monthsToPrependCount = Math.min(Math.abs(diffInMonths) - 1, maxMonthsToAdd);\n const monthsToPrepend = Array.from({ length: monthsToPrependCount }, (_, index) => {\n return MonthViewModel.create(monthNative + index, year);\n });\n this.setState(\n (state) => {\n const yearChanges = isYearChanges(state);\n if (yearChanges) {\n // Mutating here can lead to some unexpected bugs\n // but we couldn't find any yet\n state.months[0].isFirstInYear = true;\n if (monthsToPrepend.length) {\n // Mutating item here is safe as it was just created\n monthsToPrepend[monthsToPrepend.length - 1].isLastInYear = true;\n }\n }\n return {\n months: monthsToPrepend.concat(state.months),\n scrollPosition: -CalendarUtils.getMonthsHeight(monthsToPrepend, this.theme),\n };\n },\n () => {\n const targetPosition = this.state.months[0].getHeight(this.theme);\n this.scrollTo(targetPosition, onEnd);\n },\n );\n }\n\n // If scrolling downwards, append maximum maxMonthsToAdd months\n // and scroll to the last but one month\n if (diffInMonths < 0) {\n const monthsToAppendCount = Math.min(Math.abs(diffInMonths), maxMonthsToAdd);\n const monthsToAppend = Array.from({ length: monthsToAppendCount }, (_, index) => {\n return MonthViewModel.create(monthNative + index - monthsToAppendCount + 2, year);\n });\n this.setState(\n (state) => {\n if (isYearChanges(state)) {\n // Mutating here can lead to some unexpected bugs\n // but we couldn't find any yet\n state.months[state.months.length - 1].isLastInYear = true;\n // Mutating item here is safe as it was just created\n if (monthsToAppend[0]) {\n monthsToAppend[0].isFirstInYear = true;\n }\n }\n return { months: state.months.concat(monthsToAppend) };\n },\n () => {\n const targetPosition = -1 * CalendarUtils.getMonthsHeight(this.state.months.slice(1, -2), this.theme);\n this.scrollTo(targetPosition, onEnd);\n },\n );\n }\n };\n\n private handleMonthChange = (visibleMonths: MonthViewModel[]): void => {\n const currentMonth = visibleMonths[0];\n const changeInfo = {\n month: CalendarUtils.getMonthInHumanFormat(currentMonth.month),\n year: currentMonth.year,\n };\n\n this.props.onMonthChange?.(changeInfo);\n };\n\n private getViewModel = (item: [number, MonthViewModel]): MonthViewModel => item[1];\n\n private renderMain = () => {\n const monthsForRender = this.getVisibleMonths(this.state);\n const wrapperStyle = { height: themeConfig(this.theme).WRAPPER_HEIGHT };\n\n const props = this.getProps();\n\n const context: CalendarContextProps = {\n value: this.getDateInNativeFormat(props.value),\n minDate: this.getDateInNativeFormat(props.minDate),\n maxDate: this.getDateInNativeFormat(props.maxDate),\n isHoliday: props.isHoliday,\n renderDay: props.renderDay,\n today: CalendarUtils.getTodayDate(),\n onDateClick: this.handleDateClick,\n };\n\n return (\n <CommonWrapper rootNodeRef={this.setRootNode} {...props}>\n <div ref={this.refRoot} data-tid={CalendarDataTids.root} className={cx(styles.root(this.theme))}>\n <div style={wrapperStyle} className={styles.wrapper()}>\n <CalendarContext.Provider value={context}>\n {monthsForRender.map(this.renderMonth, this)}\n </CalendarContext.Provider>\n </div>\n <div className={styles.separator(this.theme)} />\n </div>\n </CommonWrapper>\n );\n };\n\n private refRoot = (element: HTMLElement | null) => {\n if (!this.root && element) {\n if (isMobile) {\n element.addEventListener('touchstart', this.handleTouchStart);\n element.addEventListener('touchmove', this.throttledHandleTouchMove);\n } else {\n element.addEventListener('wheel', this.handleWheel, { passive: false });\n }\n }\n if (this.root && !element) {\n if (isMobile) {\n this.root.removeEventListener('touchstart', this.handleTouchStart);\n this.root.removeEventListener('touchmove', this.throttledHandleTouchMove);\n } else {\n this.root.removeEventListener('wheel', this.handleWheel);\n }\n }\n this.root = element;\n };\n\n private renderMonth([top, month]: [number, MonthViewModel]) {\n return (\n <Month\n key={month.month + '-' + month.year}\n top={top}\n month={month}\n onMonthYearChange={this.handleMonthYearChange}\n />\n );\n }\n\n private handleDateClick = (dateShape: CalendarDateShape) => {\n const value = InternalDateTransformer.dateToHumanString(dateShape);\n\n this.props.onValueChange?.(value);\n };\n\n private getDateInNativeFormat(date: Nullable<string>) {\n return new InternalDate().parseValue(date).toNativeFormat();\n }\n\n private getMonthPositions(months: MonthViewModel[], scrollPosition: number) {\n const positions = [scrollPosition - months[0].getHeight(this.theme)];\n for (let i = 1; i < months.length; i++) {\n const position = positions[i - 1] + months[i - 1].getHeight(this.theme);\n positions.push(position);\n }\n return positions;\n }\n\n private getVisibleMonths(state: Readonly<CalendarState>): Array<[number, MonthViewModel]> {\n const { months, scrollPosition } = state;\n const positions = this.getMonthPositions(months, scrollPosition);\n\n return months\n .map<[number, MonthViewModel]>((x, i) => [positions[i], x])\n .filter(([top, month]) => CalendarUtils.isMonthVisible(top, month, this.theme));\n }\n\n private handleMonthYearChange = (monthNative: number, year: number) => {\n const month = CalendarUtils.getMonthInHumanFormat(monthNative);\n this.scrollToMonth(month, year);\n };\n\n private executeAnimations = (pixelY: number) => {\n this.setState(({ months, scrollPosition }) => {\n const targetPosition = CalendarUtils.calculateScrollPosition(\n months,\n scrollPosition,\n pixelY,\n this.theme,\n ).scrollPosition;\n return { scrollTarget: targetPosition };\n }, this.handleWheelEnd);\n\n this.animation.animate(pixelY, (deltaY) => {\n // FIXME: Typescript not resolving setState cb type\n this.setState(CalendarUtils.applyDelta(deltaY, this.theme) as any);\n });\n\n CalendarScrollEvents.emit();\n };\n\n private handleTouchStart = (event: Event) => {\n if (!isInstanceOf(event, globalObject.TouchEvent)) {\n return;\n }\n\n const clientY = event.targetTouches[0].clientY;\n this.touchStartY = clientY;\n };\n\n private handleTouchMove = (event: Event) => {\n if (!isInstanceOf(event, globalObject.TouchEvent)) {\n return;\n }\n\n const { clientY } = event.changedTouches[0];\n\n const deltaY = (this.touchStartY || 0) - clientY;\n this.touchStartY = clientY;\n\n this.executeAnimations(deltaY);\n };\n\n private throttledHandleTouchMove = throttle(this.handleTouchMove, 10);\n\n private handleWheel = (event: Event) => {\n if (!isInstanceOf(event, globalObject.WheelEvent)) {\n return;\n }\n event.preventDefault();\n const { pixelY } = normalizeWheel(event);\n\n this.executeAnimations(pixelY);\n };\n\n private handleWheelEnd = () => {\n if (this.wheelEndTimeout) {\n globalObject.clearTimeout(this.wheelEndTimeout);\n }\n this.wheelEndTimeout = globalObject.setTimeout(this.scrollToNearestWeek, 300);\n };\n private scrollToNearestWeek = () => {\n const { scrollTarget, scrollDirection } = this.state;\n\n const thresholdHeight = themeConfig(this.theme).MONTH_TITLE_OFFSET_HEIGHT + themeConfig(this.theme).DAY_HEIGHT;\n\n if (scrollTarget < thresholdHeight) {\n let targetPosition = 0;\n if (scrollDirection < 0) {\n targetPosition = thresholdHeight;\n }\n\n this.setState({ scrollTarget: targetPosition }, () => {\n const amount = scrollTarget - targetPosition;\n this.animation.animate(amount, (deltaY) => {\n // FIXME: Typescript not resolving setState cb type\n this.setState(CalendarUtils.applyDelta(deltaY, this.theme) as any);\n });\n });\n }\n };\n\n private scrollTo = (pos: number, onEnd?: () => void) => {\n const scrollAmmount = pos - this.state.scrollPosition;\n return this.scrollAmount(scrollAmmount, onEnd);\n };\n\n private scrollAmount = (scrollAmmount: number, onEnd?: () => void) => {\n return this.animation.animate(\n scrollAmmount,\n (deltaY) => {\n this.setState(({ scrollPosition }) => ({\n scrollPosition: scrollPosition + deltaY,\n }));\n },\n onEnd,\n );\n };\n}\n"],"mappings":"+RAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,cAAc,MAAM,iBAAiB;AAC5C,OAAOC,QAAQ,MAAM,iBAAiB;AACtC,OAAOC,YAAY,MAAM,cAAc;AACvC,SAASC,YAAY,QAAmB,0BAA0B;;AAElE,SAASC,YAA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,OAAO,EAAEnB,SAAQ,CAACgK,UAAU,CAACzL,QAAQ,EAAEC,SAAS,EAAEC,QAAQ,CAAC,EAC3D2C,OAAO,EAAEpB,SAAQ,CAACgK,UAAU,CAAC5L,QAAQ,EAAEC,SAAS,EAAEC,QAAQ,CAAC,EAC3DmH,SAAS,EAAE,SAAAA,UAAC8G,IAAY,EAAEC,SAAkB,UAAKA,SAAS,GAC5D,CAAC,EAAAtM,SAAA,MAAAD,MAAA","ignoreList":[]}
|
|
@@ -1,104 +1,104 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CommonProps } from '../../internal/CommonWrapper';
|
|
3
|
-
import { Nullable, Range } from '../../typings/utility-types';
|
|
4
|
-
import { MonthViewModel } from './MonthViewModel';
|
|
5
|
-
import { CalendarDayProps } from './CalendarDay';
|
|
6
|
-
export interface CalendarProps extends CommonProps {
|
|
7
|
-
/** Задает функцию, которая вызывается при изменении value.
|
|
8
|
-
* @param {string} date - строка в формате `dd.mm.yyyy`. */
|
|
9
|
-
onValueChange?: (date: string) => void;
|
|
10
|
-
/** Задает текущую дату в формате `dd.mm.yyyy`. */
|
|
11
|
-
value: Nullable<string>;
|
|
12
|
-
/** Задает максимальную возможную дату в формате `dd.mm.yyyy`. */
|
|
13
|
-
maxDate?: string;
|
|
14
|
-
/** Задает минимальную возможную дату в формате `dd.mm.yyyy`. */
|
|
15
|
-
minDate?: string;
|
|
16
|
-
/** Задает начальную дату периода в формате `dd.mm.yyyy`. */
|
|
17
|
-
periodStartDate?: string;
|
|
18
|
-
/** Задает конечную дату периода в формате `dd.mm.yyyy`. */
|
|
19
|
-
periodEndDate?: string;
|
|
20
|
-
/** Задает функцию для определения праздничных дней.
|
|
21
|
-
* @default (_day, isWeekend) => isWeekend.
|
|
22
|
-
* @param {string} day - строка в формате `dd.mm.yyyy`.
|
|
23
|
-
* @param {boolean} isWeekend - флаг выходного (суббота или воскресенье).
|
|
24
|
-
* @returns {boolean} `true` для выходного или `false` для рабочего дня. */
|
|
25
|
-
isHoliday?: (day: string, isWeekend: boolean) => boolean;
|
|
26
|
-
/** Задает начальный месяц. */
|
|
27
|
-
initialMonth?: Range<1, 13>;
|
|
28
|
-
/** Задает начальный год. */
|
|
29
|
-
initialYear?: number;
|
|
30
|
-
/** Задает метод отрисовки дат в календаре.
|
|
31
|
-
* @default (props: CalendarDayProps) => <CalendarDay {...props} />
|
|
32
|
-
* @param {CalendarDayProps} props - параметры дня.
|
|
33
|
-
* @returns {ReactElement} элемент, который отрисовывает контент числа месяца. */
|
|
34
|
-
renderDay?: (props: CalendarDayProps) => React.ReactElement;
|
|
35
|
-
/** Задает функцию, которая вызывается при каждом изменении месяца.
|
|
36
|
-
* @param {CalendarMonthChangeInfo} changeInfo - информация о изменении отображаемого месяца, где
|
|
37
|
-
* `month: number` - номер текущего отображаемого месяца от 1 до 12,
|
|
38
|
-
* `year: number` - отображаемый год. */
|
|
39
|
-
onMonthChange?: (changeInfo: CalendarMonthChangeInfo) => void;
|
|
40
|
-
}
|
|
41
|
-
export interface CalendarState {
|
|
42
|
-
scrollPosition: number;
|
|
43
|
-
months: MonthViewModel[];
|
|
44
|
-
scrollDirection: number;
|
|
45
|
-
scrollTarget: number;
|
|
46
|
-
}
|
|
47
|
-
export interface CalendarMonthChangeInfo {
|
|
48
|
-
month: number;
|
|
49
|
-
year: number;
|
|
50
|
-
}
|
|
51
|
-
export declare const CalendarDataTids: {
|
|
52
|
-
readonly root: "Calendar__root";
|
|
53
|
-
readonly month: "MonthView__month";
|
|
54
|
-
readonly dayCell: "DayCellView__root";
|
|
55
|
-
readonly headerMonth: "MonthView__headerMonth";
|
|
56
|
-
readonly headerYear: "MonthView__headerYear";
|
|
57
|
-
};
|
|
58
|
-
type DefaultProps = Required<Pick<CalendarProps, 'minDate' | 'maxDate' | 'isHoliday'>>;
|
|
59
|
-
/**
|
|
60
|
-
* Компонент календаря `Calendar` из DatePicker'а помогает выбирать дату с помощью мыши.
|
|
61
|
-
*/
|
|
62
|
-
export declare class Calendar extends React.Component<CalendarProps, CalendarState> {
|
|
63
|
-
static __KONTUR_REACT_UI__: string;
|
|
64
|
-
static displayName: string;
|
|
65
|
-
static Day: React.MemoExoticComponent<import("../../lib/forwardRefAndName").ReactUIComponentWithRef<HTMLButtonElement, React.PropsWithChildren<CalendarDayProps>> & Record<never, never>>;
|
|
66
|
-
private static formatDate;
|
|
67
|
-
static defaultProps: DefaultProps;
|
|
68
|
-
private getProps;
|
|
69
|
-
private theme;
|
|
70
|
-
private wheelEndTimeout;
|
|
71
|
-
private root;
|
|
72
|
-
private animation;
|
|
73
|
-
private touchStartY;
|
|
74
|
-
private setRootNode;
|
|
75
|
-
constructor(props: CalendarProps);
|
|
76
|
-
componentDidUpdate(prevProps: Readonly<CalendarProps>, prevState: Readonly<CalendarState>): void;
|
|
77
|
-
componentWillUnmount(): void;
|
|
78
|
-
render(): React.JSX.Element;
|
|
79
|
-
/**
|
|
80
|
-
* Прокручивает календарь до переданной даты
|
|
81
|
-
* @public
|
|
82
|
-
*/
|
|
83
|
-
scrollToMonth: (month: number, year: number) => Promise<void>;
|
|
84
|
-
private handleMonthChange;
|
|
85
|
-
private getViewModel;
|
|
86
|
-
private renderMain;
|
|
87
|
-
private refRoot;
|
|
88
|
-
private renderMonth;
|
|
89
|
-
private handleDateClick;
|
|
90
|
-
private getDateInNativeFormat;
|
|
91
|
-
private getMonthPositions;
|
|
92
|
-
private getVisibleMonths;
|
|
93
|
-
private handleMonthYearChange;
|
|
94
|
-
private executeAnimations;
|
|
95
|
-
private handleTouchStart;
|
|
96
|
-
private handleTouchMove;
|
|
97
|
-
private throttledHandleTouchMove;
|
|
98
|
-
private handleWheel;
|
|
99
|
-
private handleWheelEnd;
|
|
100
|
-
private scrollToNearestWeek;
|
|
101
|
-
private scrollTo;
|
|
102
|
-
private scrollAmount;
|
|
103
|
-
}
|
|
104
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CommonProps } from '../../internal/CommonWrapper';
|
|
3
|
+
import { Nullable, Range } from '../../typings/utility-types';
|
|
4
|
+
import { MonthViewModel } from './MonthViewModel';
|
|
5
|
+
import { CalendarDayProps } from './CalendarDay';
|
|
6
|
+
export interface CalendarProps extends CommonProps {
|
|
7
|
+
/** Задает функцию, которая вызывается при изменении value.
|
|
8
|
+
* @param {string} date - строка в формате `dd.mm.yyyy`. */
|
|
9
|
+
onValueChange?: (date: string) => void;
|
|
10
|
+
/** Задает текущую дату в формате `dd.mm.yyyy`. */
|
|
11
|
+
value: Nullable<string>;
|
|
12
|
+
/** Задает максимальную возможную дату в формате `dd.mm.yyyy`. */
|
|
13
|
+
maxDate?: string;
|
|
14
|
+
/** Задает минимальную возможную дату в формате `dd.mm.yyyy`. */
|
|
15
|
+
minDate?: string;
|
|
16
|
+
/** Задает начальную дату периода в формате `dd.mm.yyyy`. */
|
|
17
|
+
periodStartDate?: string;
|
|
18
|
+
/** Задает конечную дату периода в формате `dd.mm.yyyy`. */
|
|
19
|
+
periodEndDate?: string;
|
|
20
|
+
/** Задает функцию для определения праздничных дней.
|
|
21
|
+
* @default (_day, isWeekend) => isWeekend.
|
|
22
|
+
* @param {string} day - строка в формате `dd.mm.yyyy`.
|
|
23
|
+
* @param {boolean} isWeekend - флаг выходного (суббота или воскресенье).
|
|
24
|
+
* @returns {boolean} `true` для выходного или `false` для рабочего дня. */
|
|
25
|
+
isHoliday?: (day: string, isWeekend: boolean) => boolean;
|
|
26
|
+
/** Задает начальный месяц. */
|
|
27
|
+
initialMonth?: Range<1, 13>;
|
|
28
|
+
/** Задает начальный год. */
|
|
29
|
+
initialYear?: number;
|
|
30
|
+
/** Задает метод отрисовки дат в календаре.
|
|
31
|
+
* @default (props: CalendarDayProps) => <CalendarDay {...props} />
|
|
32
|
+
* @param {CalendarDayProps} props - параметры дня.
|
|
33
|
+
* @returns {ReactElement} элемент, который отрисовывает контент числа месяца. */
|
|
34
|
+
renderDay?: (props: CalendarDayProps) => React.ReactElement;
|
|
35
|
+
/** Задает функцию, которая вызывается при каждом изменении месяца.
|
|
36
|
+
* @param {CalendarMonthChangeInfo} changeInfo - информация о изменении отображаемого месяца, где
|
|
37
|
+
* `month: number` - номер текущего отображаемого месяца от 1 до 12,
|
|
38
|
+
* `year: number` - отображаемый год. */
|
|
39
|
+
onMonthChange?: (changeInfo: CalendarMonthChangeInfo) => void;
|
|
40
|
+
}
|
|
41
|
+
export interface CalendarState {
|
|
42
|
+
scrollPosition: number;
|
|
43
|
+
months: MonthViewModel[];
|
|
44
|
+
scrollDirection: number;
|
|
45
|
+
scrollTarget: number;
|
|
46
|
+
}
|
|
47
|
+
export interface CalendarMonthChangeInfo {
|
|
48
|
+
month: number;
|
|
49
|
+
year: number;
|
|
50
|
+
}
|
|
51
|
+
export declare const CalendarDataTids: {
|
|
52
|
+
readonly root: "Calendar__root";
|
|
53
|
+
readonly month: "MonthView__month";
|
|
54
|
+
readonly dayCell: "DayCellView__root";
|
|
55
|
+
readonly headerMonth: "MonthView__headerMonth";
|
|
56
|
+
readonly headerYear: "MonthView__headerYear";
|
|
57
|
+
};
|
|
58
|
+
type DefaultProps = Required<Pick<CalendarProps, 'minDate' | 'maxDate' | 'isHoliday'>>;
|
|
59
|
+
/**
|
|
60
|
+
* Компонент календаря `Calendar` из DatePicker'а помогает выбирать дату с помощью мыши.
|
|
61
|
+
*/
|
|
62
|
+
export declare class Calendar extends React.Component<CalendarProps, CalendarState> {
|
|
63
|
+
static __KONTUR_REACT_UI__: string;
|
|
64
|
+
static displayName: string;
|
|
65
|
+
static Day: React.MemoExoticComponent<import("../../lib/forwardRefAndName").ReactUIComponentWithRef<HTMLButtonElement, React.PropsWithChildren<CalendarDayProps>> & Record<never, never>>;
|
|
66
|
+
private static formatDate;
|
|
67
|
+
static defaultProps: DefaultProps;
|
|
68
|
+
private getProps;
|
|
69
|
+
private theme;
|
|
70
|
+
private wheelEndTimeout;
|
|
71
|
+
private root;
|
|
72
|
+
private animation;
|
|
73
|
+
private touchStartY;
|
|
74
|
+
private setRootNode;
|
|
75
|
+
constructor(props: CalendarProps);
|
|
76
|
+
componentDidUpdate(prevProps: Readonly<CalendarProps>, prevState: Readonly<CalendarState>): void;
|
|
77
|
+
componentWillUnmount(): void;
|
|
78
|
+
render(): React.JSX.Element;
|
|
79
|
+
/**
|
|
80
|
+
* Прокручивает календарь до переданной даты
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
scrollToMonth: (month: number, year: number) => Promise<void>;
|
|
84
|
+
private handleMonthChange;
|
|
85
|
+
private getViewModel;
|
|
86
|
+
private renderMain;
|
|
87
|
+
private refRoot;
|
|
88
|
+
private renderMonth;
|
|
89
|
+
private handleDateClick;
|
|
90
|
+
private getDateInNativeFormat;
|
|
91
|
+
private getMonthPositions;
|
|
92
|
+
private getVisibleMonths;
|
|
93
|
+
private handleMonthYearChange;
|
|
94
|
+
private executeAnimations;
|
|
95
|
+
private handleTouchStart;
|
|
96
|
+
private handleTouchMove;
|
|
97
|
+
private throttledHandleTouchMove;
|
|
98
|
+
private handleWheel;
|
|
99
|
+
private handleWheelEnd;
|
|
100
|
+
private scrollToNearestWeek;
|
|
101
|
+
private scrollTo;
|
|
102
|
+
private scrollAmount;
|
|
103
|
+
}
|
|
104
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Theme } from '../../lib/theming/Theme';
|
|
2
|
-
export declare const styles: {
|
|
3
|
-
root(t: Theme): string;
|
|
4
|
-
wrapper(): string;
|
|
5
|
-
separator(t: Theme): string;
|
|
6
|
-
};
|
|
1
|
+
import { Theme } from '../../lib/theming/Theme';
|
|
2
|
+
export declare const styles: {
|
|
3
|
+
root(t: Theme): string;
|
|
4
|
+
wrapper(): string;
|
|
5
|
+
separator(t: Theme): string;
|
|
6
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { CalendarDateShape } from './CalendarDateShape';
|
|
2
|
-
import { CalendarProps } from './Calendar';
|
|
3
|
-
export interface CalendarContextProps {
|
|
4
|
-
renderDay?: CalendarProps['renderDay'];
|
|
5
|
-
value?: CalendarDateShape;
|
|
6
|
-
minDate?: CalendarDateShape;
|
|
7
|
-
maxDate?: CalendarDateShape;
|
|
8
|
-
isHoliday?: CalendarProps['isHoliday'];
|
|
9
|
-
today?: CalendarDateShape;
|
|
10
|
-
onDateClick?: (date: CalendarDateShape) => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const CalendarContext: import("react").Context<CalendarContextProps>;
|
|
1
|
+
import { CalendarDateShape } from './CalendarDateShape';
|
|
2
|
+
import { CalendarProps } from './Calendar';
|
|
3
|
+
export interface CalendarContextProps {
|
|
4
|
+
renderDay?: CalendarProps['renderDay'];
|
|
5
|
+
value?: CalendarDateShape;
|
|
6
|
+
minDate?: CalendarDateShape;
|
|
7
|
+
maxDate?: CalendarDateShape;
|
|
8
|
+
isHoliday?: CalendarProps['isHoliday'];
|
|
9
|
+
today?: CalendarDateShape;
|
|
10
|
+
onDateClick?: (date: CalendarDateShape) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const CalendarContext: import("react").Context<CalendarContextProps>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Nullable } from '../../typings/utility-types';
|
|
2
|
-
export interface CalendarDateShape {
|
|
3
|
-
year: number;
|
|
4
|
-
month: number;
|
|
5
|
-
date: number;
|
|
6
|
-
}
|
|
7
|
-
export declare const isEqual: (a: Nullable<CalendarDateShape>, b: Nullable<CalendarDateShape>) => boolean;
|
|
8
|
-
export declare const comparator: (a: CalendarDateShape, b: CalendarDateShape) => 0 | 1 | -1;
|
|
9
|
-
export declare const create: (date: number, month: number, year: number) => CalendarDateShape;
|
|
10
|
-
export declare const isLess: (left: CalendarDateShape, right: CalendarDateShape) => boolean;
|
|
11
|
-
export declare const isLessOrEqual: (left: CalendarDateShape, right: CalendarDateShape) => boolean;
|
|
12
|
-
export declare const isGreater: (left: CalendarDateShape, right: CalendarDateShape) => boolean;
|
|
13
|
-
export declare const isGreaterOrEqual: (left: CalendarDateShape, right: CalendarDateShape) => boolean;
|
|
14
|
-
export declare const isBetween: (date: CalendarDateShape, left?: Nullable<CalendarDateShape>, right?: Nullable<CalendarDateShape>) => boolean;
|
|
15
|
-
export declare const fromString: (dateString: string) => CalendarDateShape;
|
|
16
|
-
export declare const toString: ({ date, month, year }: CalendarDateShape) => string;
|
|
1
|
+
import { Nullable } from '../../typings/utility-types';
|
|
2
|
+
export interface CalendarDateShape {
|
|
3
|
+
year: number;
|
|
4
|
+
month: number;
|
|
5
|
+
date: number;
|
|
6
|
+
}
|
|
7
|
+
export declare const isEqual: (a: Nullable<CalendarDateShape>, b: Nullable<CalendarDateShape>) => boolean;
|
|
8
|
+
export declare const comparator: (a: CalendarDateShape, b: CalendarDateShape) => 0 | 1 | -1;
|
|
9
|
+
export declare const create: (date: number, month: number, year: number) => CalendarDateShape;
|
|
10
|
+
export declare const isLess: (left: CalendarDateShape, right: CalendarDateShape) => boolean;
|
|
11
|
+
export declare const isLessOrEqual: (left: CalendarDateShape, right: CalendarDateShape) => boolean;
|
|
12
|
+
export declare const isGreater: (left: CalendarDateShape, right: CalendarDateShape) => boolean;
|
|
13
|
+
export declare const isGreaterOrEqual: (left: CalendarDateShape, right: CalendarDateShape) => boolean;
|
|
14
|
+
export declare const isBetween: (date: CalendarDateShape, left?: Nullable<CalendarDateShape>, right?: Nullable<CalendarDateShape>) => boolean;
|
|
15
|
+
export declare const fromString: (dateString: string) => CalendarDateShape;
|
|
16
|
+
export declare const toString: ({ date, month, year }: CalendarDateShape) => string;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface CalendarDayProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
3
|
-
/** Устанавливает, является ли день текущим. */
|
|
4
|
-
isToday?: boolean;
|
|
5
|
-
/** Устанавливает, является ли день выбранным. */
|
|
6
|
-
isSelected?: boolean;
|
|
7
|
-
/** Устанавливает, является ли день недоступным. */
|
|
8
|
-
isDisabled?: boolean;
|
|
9
|
-
/** Устанавливает, является ли день выходным. */
|
|
10
|
-
isWeekend?: boolean;
|
|
11
|
-
/** Задает день. */
|
|
12
|
-
date: string;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Компонент дня `CalendarDay` из Calendar.
|
|
16
|
-
*
|
|
17
|
-
* @visibleName Calendar.Day
|
|
18
|
-
*/
|
|
19
|
-
export declare const CalendarDay: React.MemoExoticComponent<import("../../lib/forwardRefAndName").ReactUIComponentWithRef<HTMLButtonElement, React.PropsWithChildren<CalendarDayProps>> & Record<never, never>>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface CalendarDayProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
3
|
+
/** Устанавливает, является ли день текущим. */
|
|
4
|
+
isToday?: boolean;
|
|
5
|
+
/** Устанавливает, является ли день выбранным. */
|
|
6
|
+
isSelected?: boolean;
|
|
7
|
+
/** Устанавливает, является ли день недоступным. */
|
|
8
|
+
isDisabled?: boolean;
|
|
9
|
+
/** Устанавливает, является ли день выходным. */
|
|
10
|
+
isWeekend?: boolean;
|
|
11
|
+
/** Задает день. */
|
|
12
|
+
date: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Компонент дня `CalendarDay` из Calendar.
|
|
16
|
+
*
|
|
17
|
+
* @visibleName Calendar.Day
|
|
18
|
+
*/
|
|
19
|
+
export declare const CalendarDay: React.MemoExoticComponent<import("../../lib/forwardRefAndName").ReactUIComponentWithRef<HTMLButtonElement, React.PropsWithChildren<CalendarDayProps>> & Record<never, never>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare function addListener(callback: () => void): {
|
|
2
|
-
remove(): void;
|
|
3
|
-
};
|
|
4
|
-
export declare function emit(): void;
|
|
1
|
+
export declare function addListener(callback: () => void): {
|
|
2
|
+
remove(): void;
|
|
3
|
+
};
|
|
4
|
+
export declare function emit(): void;
|