@skbkontur/react-ui 5.1.1 → 5.1.3
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 +26 -0
- package/cjs/components/Autocomplete/Autocomplete.d.ts +6 -5
- package/cjs/components/Autocomplete/Autocomplete.js +6 -1
- package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
- package/cjs/components/Autocomplete/Autocomplete.styles.d.ts +1 -1
- package/cjs/components/Autocomplete/Autocomplete.styles.js.map +1 -1
- package/cjs/components/Autocomplete/getAutocompleteTheme.d.ts +1 -1
- package/cjs/components/Autocomplete/getAutocompleteTheme.js.map +1 -1
- package/cjs/components/Autocomplete/locale/index.d.ts +1 -1
- package/cjs/components/Autocomplete/locale/index.js.map +1 -1
- package/cjs/components/Autocomplete/locale/locales/en.d.ts +1 -1
- package/cjs/components/Autocomplete/locale/locales/en.js.map +1 -1
- package/cjs/components/Autocomplete/locale/locales/ru.d.ts +1 -1
- package/cjs/components/Autocomplete/locale/locales/ru.js.map +1 -1
- package/cjs/components/Button/Button.d.ts +5 -5
- package/cjs/components/Button/Button.js +5 -1
- package/cjs/components/Button/Button.js.map +1 -1
- package/cjs/components/Button/Button.styles.d.ts +1 -1
- package/cjs/components/Button/Button.styles.js.map +1 -1
- package/cjs/components/Button/ButtonArrow.d.ts +2 -2
- package/cjs/components/Button/ButtonArrow.js +1 -0
- package/cjs/components/Button/ButtonArrow.js.map +1 -1
- package/cjs/components/Button/ButtonIcon.d.ts +3 -3
- package/cjs/components/Button/ButtonIcon.js.map +1 -1
- package/cjs/components/Button/ButtonIcon.styles.d.ts +1 -1
- package/cjs/components/Button/ButtonIcon.styles.js.map +1 -1
- package/cjs/components/Button/LoadingButtonIcon.d.ts +1 -1
- package/cjs/components/Button/LoadingButtonIcon.js.map +1 -1
- package/cjs/components/Button/getInnerLinkTheme.d.ts +1 -1
- package/cjs/components/Button/getInnerLinkTheme.js.map +1 -1
- package/cjs/components/Calendar/Calendar.d.ts +3 -3
- package/cjs/components/Calendar/Calendar.js +6 -0
- package/cjs/components/Calendar/Calendar.js.map +1 -1
- package/cjs/components/Calendar/Calendar.styles.d.ts +1 -1
- package/cjs/components/Calendar/Calendar.styles.js.map +1 -1
- package/cjs/components/Calendar/CalendarContext.d.ts +2 -2
- package/cjs/components/Calendar/CalendarContext.js.map +1 -1
- package/cjs/components/Calendar/CalendarDateShape.d.ts +1 -1
- package/cjs/components/Calendar/CalendarDateShape.js.map +1 -1
- package/cjs/components/Calendar/CalendarDay.d.ts +2 -1
- package/cjs/components/Calendar/CalendarDay.js +2 -1
- package/cjs/components/Calendar/CalendarDay.js.map +1 -1
- package/cjs/components/Calendar/CalendarUtils.d.ts +4 -4
- package/cjs/components/Calendar/CalendarUtils.js +1 -0
- package/cjs/components/Calendar/CalendarUtils.js.map +1 -1
- package/cjs/components/Calendar/DayCellView.d.ts +1 -1
- package/cjs/components/Calendar/DayCellView.js +3 -1
- package/cjs/components/Calendar/DayCellView.js.map +1 -1
- package/cjs/components/Calendar/DayCellView.styles.d.ts +1 -1
- package/cjs/components/Calendar/DayCellView.styles.js.map +1 -1
- package/cjs/components/Calendar/Month.d.ts +1 -1
- package/cjs/components/Calendar/Month.js.map +1 -1
- package/cjs/components/Calendar/MonthView.d.ts +1 -1
- package/cjs/components/Calendar/MonthView.js.map +1 -1
- package/cjs/components/Calendar/MonthView.styles.d.ts +1 -1
- package/cjs/components/Calendar/MonthView.styles.js.map +1 -1
- package/cjs/components/Calendar/MonthViewModel.d.ts +1 -1
- package/cjs/components/Calendar/MonthViewModel.js.map +1 -1
- package/cjs/components/Calendar/config.d.ts +1 -1
- package/cjs/components/Calendar/config.js.map +1 -1
- package/cjs/components/Calendar/locale/index.d.ts +1 -1
- package/cjs/components/Calendar/locale/index.js.map +1 -1
- package/cjs/components/Calendar/locale/locales/en.d.ts +1 -1
- package/cjs/components/Calendar/locale/locales/en.js.map +1 -1
- package/cjs/components/Calendar/locale/locales/ru.d.ts +1 -1
- package/cjs/components/Calendar/locale/locales/ru.js.map +1 -1
- package/cjs/components/Center/Center.d.ts +2 -2
- package/cjs/components/Center/Center.js +3 -0
- package/cjs/components/Center/Center.js.map +1 -1
- package/cjs/components/Checkbox/Checkbox.d.ts +5 -4
- package/cjs/components/Checkbox/Checkbox.js +4 -1
- package/cjs/components/Checkbox/Checkbox.js.map +1 -1
- package/cjs/components/Checkbox/Checkbox.styles.d.ts +1 -1
- package/cjs/components/Checkbox/Checkbox.styles.js.map +1 -1
- package/cjs/components/ComboBox/ComboBox.d.ts +7 -6
- package/cjs/components/ComboBox/ComboBox.js +3 -1
- package/cjs/components/ComboBox/ComboBox.js.map +1 -1
- package/cjs/components/CurrencyInput/CurrencyHelper.d.ts +3 -3
- package/cjs/components/CurrencyInput/CurrencyHelper.js.map +1 -1
- package/cjs/components/CurrencyInput/CurrencyInput.d.ts +6 -5
- package/cjs/components/CurrencyInput/CurrencyInput.js +6 -1
- package/cjs/components/CurrencyInput/CurrencyInput.js.map +1 -1
- package/cjs/components/CurrencyInput/CurrencyInputHelper.d.ts +2 -2
- package/cjs/components/CurrencyInput/CurrencyInputHelper.js.map +1 -1
- package/cjs/components/CurrencyInput/CursorHelper.d.ts +1 -1
- package/cjs/components/CurrencyInput/CursorHelper.js.map +1 -1
- package/cjs/components/CurrencyLabel/CurrencyLabel.d.ts +3 -2
- package/cjs/components/CurrencyLabel/CurrencyLabel.js +3 -1
- package/cjs/components/CurrencyLabel/CurrencyLabel.js.map +1 -1
- package/cjs/components/DateInput/DateFragmentsView.d.ts +2 -1
- package/cjs/components/DateInput/DateFragmentsView.js +1 -0
- package/cjs/components/DateInput/DateFragmentsView.js.map +1 -1
- package/cjs/components/DateInput/DateFragmentsView.styles.d.ts +1 -1
- package/cjs/components/DateInput/DateFragmentsView.styles.js.map +1 -1
- package/cjs/components/DateInput/DateInput.d.ts +4 -3
- package/cjs/components/DateInput/DateInput.js +5 -1
- package/cjs/components/DateInput/DateInput.js.map +1 -1
- package/cjs/components/DateInput/DateInput.styles.d.ts +1 -1
- package/cjs/components/DateInput/DateInput.styles.js.map +1 -1
- package/cjs/components/DateInput/helpers/DateInputKeyboardActions.d.ts +1 -1
- package/cjs/components/DateInput/helpers/DateInputKeyboardActions.js.map +1 -1
- package/cjs/components/DateInput/helpers/InternalDateMediator.d.ts +4 -3
- package/cjs/components/DateInput/helpers/InternalDateMediator.js +1 -5
- package/cjs/components/DateInput/helpers/InternalDateMediator.js.map +1 -1
- package/cjs/components/DateInput/helpers/inputNumber.d.ts +2 -1
- package/cjs/components/DateInput/helpers/inputNumber.js +1 -0
- package/cjs/components/DateInput/helpers/inputNumber.js.map +1 -1
- package/cjs/components/DatePicker/DatePicker.d.ts +6 -5
- package/cjs/components/DatePicker/DatePicker.js +5 -0
- package/cjs/components/DatePicker/DatePicker.js.map +1 -1
- package/cjs/components/DatePicker/DatePicker.styles.d.ts +1 -1
- package/cjs/components/DatePicker/DatePicker.styles.js.map +1 -1
- package/cjs/components/DatePicker/DatePickerHelpers.d.ts +1 -1
- package/cjs/components/DatePicker/DatePickerHelpers.js.map +1 -1
- package/cjs/components/DatePicker/MobilePicker.d.ts +1 -1
- package/cjs/components/DatePicker/MobilePicker.js.map +1 -1
- package/cjs/components/DatePicker/getMobilePickerTheme.d.ts +1 -1
- package/cjs/components/DatePicker/getMobilePickerTheme.js.map +1 -1
- package/cjs/components/DatePicker/locale/index.d.ts +1 -1
- package/cjs/components/DatePicker/locale/index.js.map +1 -1
- package/cjs/components/DatePicker/locale/locales/en.d.ts +1 -1
- package/cjs/components/DatePicker/locale/locales/en.js.map +1 -1
- package/cjs/components/DatePicker/locale/locales/ru.d.ts +1 -1
- package/cjs/components/DatePicker/locale/locales/ru.js.map +1 -1
- package/cjs/components/DatePicker/locale/types.d.ts +3 -3
- package/cjs/components/DatePicker/locale/types.js.map +1 -1
- package/cjs/components/DateRangePicker/DateRangePicker.d.ts +2 -2
- package/cjs/components/DateRangePicker/DateRangePicker.js +4 -0
- package/cjs/components/DateRangePicker/DateRangePicker.js.map +1 -1
- package/cjs/components/DateRangePicker/DateRangePicker.styles.d.ts +2 -2
- package/cjs/components/DateRangePicker/DateRangePicker.styles.js.map +1 -1
- package/cjs/components/DateRangePicker/DateRangePickerInput.d.ts +2 -1
- package/cjs/components/DateRangePicker/DateRangePickerInput.js +3 -1
- package/cjs/components/DateRangePicker/DateRangePickerInput.js.map +1 -1
- package/cjs/components/DateRangePicker/DateRangePickerTheme.d.ts +1 -1
- package/cjs/components/DateRangePicker/DateRangePickerTheme.js.map +1 -1
- package/cjs/components/DateRangePicker/helpers/getStateForValue.d.ts +1 -1
- package/cjs/components/DateRangePicker/helpers/getStateForValue.js.map +1 -1
- package/cjs/components/DateRangePicker/helpers/validateDateRangePicker.d.ts +1 -1
- package/cjs/components/DateRangePicker/helpers/validateDateRangePicker.js.map +1 -1
- package/cjs/components/DateRangePicker/locale/index.d.ts +1 -1
- package/cjs/components/DateRangePicker/locale/index.js.map +1 -1
- package/cjs/components/DateRangePicker/locale/locales/en.d.ts +1 -1
- package/cjs/components/DateRangePicker/locale/locales/en.js.map +1 -1
- package/cjs/components/DateRangePicker/locale/locales/ru.d.ts +1 -1
- package/cjs/components/DateRangePicker/locale/locales/ru.js.map +1 -1
- package/cjs/components/DateRangePicker/locale/types.d.ts +1 -1
- package/cjs/components/DateRangePicker/locale/types.js.map +1 -1
- package/cjs/components/Dropdown/Dropdown.d.ts +5 -4
- package/cjs/components/Dropdown/Dropdown.js +4 -1
- package/cjs/components/Dropdown/Dropdown.js.map +1 -1
- package/cjs/components/Dropdown/getDropdownTheme.d.ts +1 -1
- package/cjs/components/Dropdown/getDropdownTheme.js.map +1 -1
- package/cjs/components/DropdownMenu/DropdownMenu.d.ts +5 -4
- package/cjs/components/DropdownMenu/DropdownMenu.js +5 -1
- package/cjs/components/DropdownMenu/DropdownMenu.js.map +1 -1
- package/cjs/components/DropdownMenu/getDropdownMenuTheme.d.ts +1 -1
- package/cjs/components/DropdownMenu/getDropdownMenuTheme.js.map +1 -1
- package/cjs/components/FileUploader/FileUploader.d.ts +6 -6
- package/cjs/components/FileUploader/FileUploader.js +27 -17
- package/cjs/components/FileUploader/FileUploader.js.map +1 -1
- package/cjs/components/FileUploader/FileUploader.styles.d.ts +1 -1
- package/cjs/components/FileUploader/FileUploader.styles.js.map +1 -1
- package/cjs/components/FileUploader/index.d.ts +1 -1
- package/cjs/components/FileUploader/index.js.map +1 -1
- package/cjs/components/FileUploader/locale/index.d.ts +1 -1
- package/cjs/components/FileUploader/locale/index.js.map +1 -1
- package/cjs/components/FileUploader/locale/locales/en.d.ts +1 -1
- package/cjs/components/FileUploader/locale/locales/en.js.map +1 -1
- package/cjs/components/FileUploader/locale/locales/ru.d.ts +1 -1
- package/cjs/components/FileUploader/locale/locales/ru.js.map +1 -1
- package/cjs/components/FxInput/FxInput.d.ts +9 -6
- package/cjs/components/FxInput/FxInput.js +7 -1
- package/cjs/components/FxInput/FxInput.js.map +1 -1
- package/cjs/components/FxInput/FxInputRestoreBtn.d.ts +3 -2
- package/cjs/components/FxInput/FxInputRestoreBtn.js +2 -1
- package/cjs/components/FxInput/FxInputRestoreBtn.js.map +1 -1
- package/cjs/components/Gapped/Gapped.d.ts +1 -1
- package/cjs/components/Gapped/Gapped.js +2 -0
- package/cjs/components/Gapped/Gapped.js.map +1 -1
- package/cjs/components/GlobalLoader/GlobalLoader.js +2 -0
- package/cjs/components/GlobalLoader/GlobalLoader.js.map +1 -1
- package/cjs/components/GlobalLoader/GlobalLoaderView.d.ts +1 -1
- package/cjs/components/GlobalLoader/GlobalLoaderView.js +1 -0
- package/cjs/components/GlobalLoader/GlobalLoaderView.js.map +1 -1
- package/cjs/components/GlobalLoader/GlobalLoaderView.styles.d.ts +1 -1
- package/cjs/components/GlobalLoader/GlobalLoaderView.styles.js.map +1 -1
- package/cjs/components/GlobalLoader/useParams.d.ts +1 -1
- package/cjs/components/GlobalLoader/useParams.js.map +1 -1
- package/cjs/components/Group/Group.d.ts +1 -1
- package/cjs/components/Group/Group.js +2 -0
- package/cjs/components/Group/Group.js.map +1 -1
- package/cjs/components/Hint/Hint.d.ts +5 -5
- package/cjs/components/Hint/Hint.js +4 -0
- package/cjs/components/Hint/Hint.js.map +1 -1
- package/cjs/components/Hint/Hint.styles.d.ts +1 -1
- package/cjs/components/Hint/Hint.styles.js.map +1 -1
- package/cjs/components/Input/Input.d.ts +6 -5
- package/cjs/components/Input/Input.js +4 -0
- package/cjs/components/Input/Input.js.map +1 -1
- package/cjs/components/Input/Input.styles.d.ts +1 -1
- package/cjs/components/Input/Input.styles.js.map +1 -1
- package/cjs/components/Input/Input.typings.d.ts +1 -1
- package/cjs/components/Input/Input.typings.js.map +1 -1
- package/cjs/components/Input/InputLayout/InputLayout.d.ts +3 -3
- package/cjs/components/Input/InputLayout/InputLayout.js +3 -0
- package/cjs/components/Input/InputLayout/InputLayout.js.map +1 -1
- package/cjs/components/Input/InputLayout/InputLayout.styles.d.ts +1 -1
- package/cjs/components/Input/InputLayout/InputLayout.styles.js.map +1 -1
- package/cjs/components/Input/InputLayout/InputLayoutAside.d.ts +1 -1
- package/cjs/components/Input/InputLayout/InputLayoutAside.js.map +1 -1
- package/cjs/components/Input/InputLayout/InputLayoutAsideIcon.d.ts +1 -1
- package/cjs/components/Input/InputLayout/InputLayoutAsideIcon.js +2 -1
- package/cjs/components/Input/InputLayout/InputLayoutAsideIcon.js.map +1 -1
- package/cjs/components/Input/InputLayout/InputLayoutAsideText.d.ts +1 -1
- package/cjs/components/Input/InputLayout/InputLayoutAsideText.js.map +1 -1
- package/cjs/components/Input/InputLayout/InputLayoutContext.d.ts +1 -1
- package/cjs/components/Input/InputLayout/InputLayoutContext.js.map +1 -1
- package/cjs/components/Input/InputLayout/PolyfillPlaceholder.d.ts +1 -1
- package/cjs/components/Input/InputLayout/PolyfillPlaceholder.js.map +1 -1
- package/cjs/components/Kebab/Kebab.d.ts +7 -6
- package/cjs/components/Kebab/Kebab.js +5 -1
- package/cjs/components/Kebab/Kebab.js.map +1 -1
- package/cjs/components/Kebab/Kebab.styles.d.ts +1 -1
- package/cjs/components/Kebab/Kebab.styles.js.map +1 -1
- package/cjs/components/Link/Link.d.ts +4 -4
- package/cjs/components/Link/Link.js +3 -0
- package/cjs/components/Link/Link.js.map +1 -1
- package/cjs/components/Link/Link.styles.d.ts +1 -1
- package/cjs/components/Link/Link.styles.js.map +1 -1
- package/cjs/components/Link/LinkIcon.d.ts +1 -1
- package/cjs/components/Link/LinkIcon.js.map +1 -1
- package/cjs/components/Loader/Loader.d.ts +3 -3
- package/cjs/components/Loader/Loader.js +3 -0
- package/cjs/components/Loader/Loader.js.map +1 -1
- package/cjs/components/Loader/Loader.styles.d.ts +1 -1
- package/cjs/components/Loader/Loader.styles.js.map +1 -1
- package/cjs/components/Loader/__stories__/LoaderAndButton.js.map +1 -1
- package/cjs/components/MaskedInput/ColorableInputElement/ColorableInputElement.d.ts +1 -1
- package/cjs/components/MaskedInput/ColorableInputElement/ColorableInputElement.js +1 -0
- package/cjs/components/MaskedInput/ColorableInputElement/ColorableInputElement.js.map +1 -1
- package/cjs/components/MaskedInput/FixedIMaskInput.d.ts +2 -2
- package/cjs/components/MaskedInput/FixedIMaskInput.js +2 -1
- package/cjs/components/MaskedInput/FixedIMaskInput.js.map +1 -1
- package/cjs/components/MaskedInput/MaskedInput.d.ts +3 -2
- package/cjs/components/MaskedInput/MaskedInput.helpers.d.ts +1 -1
- package/cjs/components/MaskedInput/MaskedInput.helpers.js.map +1 -1
- package/cjs/components/MaskedInput/MaskedInput.js +9 -2
- package/cjs/components/MaskedInput/MaskedInput.js.map +1 -1
- package/cjs/components/MaskedInput/MaskedInput.styles.d.ts +4 -0
- package/cjs/components/MaskedInput/MaskedInput.styles.js +12 -1
- package/cjs/components/MaskedInput/MaskedInput.styles.js.map +1 -1
- package/cjs/components/MenuFooter/MenuFooter.d.ts +4 -3
- package/cjs/components/MenuFooter/MenuFooter.js +3 -1
- package/cjs/components/MenuFooter/MenuFooter.js.map +1 -1
- package/cjs/components/MenuFooter/MenuFooter.styles.d.ts +1 -1
- package/cjs/components/MenuFooter/MenuFooter.styles.js.map +1 -1
- package/cjs/components/MenuHeader/MenuHeader.d.ts +4 -3
- package/cjs/components/MenuHeader/MenuHeader.js +3 -1
- package/cjs/components/MenuHeader/MenuHeader.js.map +1 -1
- package/cjs/components/MenuHeader/MenuHeader.styles.d.ts +1 -1
- package/cjs/components/MenuHeader/MenuHeader.styles.js.map +1 -1
- package/cjs/components/MenuItem/MenuItem.d.ts +5 -4
- package/cjs/components/MenuItem/MenuItem.js +6 -2
- package/cjs/components/MenuItem/MenuItem.js.map +1 -1
- package/cjs/components/MenuItem/MenuItem.styles.d.ts +1 -1
- package/cjs/components/MenuItem/MenuItem.styles.js.map +1 -1
- package/cjs/components/MenuSeparator/MenuSeparator.d.ts +1 -1
- package/cjs/components/MenuSeparator/MenuSeparator.js +1 -0
- package/cjs/components/MenuSeparator/MenuSeparator.js.map +1 -1
- package/cjs/components/MenuSeparator/MenuSeparator.styles.d.ts +1 -1
- package/cjs/components/MenuSeparator/MenuSeparator.styles.js.map +1 -1
- package/cjs/components/MiniModal/MiniModal.d.ts +2 -1
- package/cjs/components/MiniModal/MiniModal.js +1 -0
- package/cjs/components/MiniModal/MiniModal.js.map +1 -1
- package/cjs/components/MiniModal/MiniModal.styles.d.ts +1 -1
- package/cjs/components/MiniModal/MiniModal.styles.js.map +1 -1
- package/cjs/components/MiniModal/MiniModalBody.d.ts +1 -1
- package/cjs/components/MiniModal/MiniModalBody.js +1 -0
- package/cjs/components/MiniModal/MiniModalBody.js.map +1 -1
- package/cjs/components/MiniModal/MiniModalFooter.d.ts +1 -1
- package/cjs/components/MiniModal/MiniModalFooter.js +1 -0
- package/cjs/components/MiniModal/MiniModalFooter.js.map +1 -1
- package/cjs/components/MiniModal/MiniModalHeader.d.ts +2 -2
- package/cjs/components/MiniModal/MiniModalHeader.js +3 -1
- package/cjs/components/MiniModal/MiniModalHeader.js.map +1 -1
- package/cjs/components/MiniModal/getMiniModalTheme.d.ts +1 -1
- package/cjs/components/MiniModal/getMiniModalTheme.js.map +1 -1
- package/cjs/components/Modal/Modal.d.ts +4 -3
- package/cjs/components/Modal/Modal.js +5 -1
- package/cjs/components/Modal/Modal.js.map +1 -1
- package/cjs/components/Modal/Modal.styles.d.ts +1 -1
- package/cjs/components/Modal/Modal.styles.js.map +1 -1
- package/cjs/components/Modal/ModalBody.d.ts +1 -1
- package/cjs/components/Modal/ModalBody.js +2 -0
- package/cjs/components/Modal/ModalBody.js.map +1 -1
- package/cjs/components/Modal/ModalClose.d.ts +1 -1
- package/cjs/components/Modal/ModalClose.js.map +1 -1
- package/cjs/components/Modal/ModalContext.d.ts +1 -1
- package/cjs/components/Modal/ModalContext.js.map +1 -1
- package/cjs/components/Modal/ModalFooter.d.ts +4 -3
- package/cjs/components/Modal/ModalFooter.js +4 -1
- package/cjs/components/Modal/ModalFooter.js.map +1 -1
- package/cjs/components/Modal/ModalHeader.d.ts +3 -2
- package/cjs/components/Modal/ModalHeader.js +3 -1
- package/cjs/components/Modal/ModalHeader.js.map +1 -1
- package/cjs/components/Modal/ModalSeparator.d.ts +1 -1
- package/cjs/components/Modal/ModalSeparator.js.map +1 -1
- package/cjs/components/Modal/getModalBodyTheme.d.ts +1 -1
- package/cjs/components/Modal/getModalBodyTheme.js.map +1 -1
- package/cjs/components/Modal/getModalTheme.d.ts +1 -1
- package/cjs/components/Modal/getModalTheme.js.map +1 -1
- package/cjs/components/Modal/locale/index.d.ts +1 -1
- package/cjs/components/Modal/locale/index.js.map +1 -1
- package/cjs/components/Modal/locale/locales/en.d.ts +1 -1
- package/cjs/components/Modal/locale/locales/en.js.map +1 -1
- package/cjs/components/Modal/locale/locales/ru.d.ts +1 -1
- package/cjs/components/Modal/locale/locales/ru.js.map +1 -1
- package/cjs/components/Paging/NavigationHelper.d.ts +1 -1
- package/cjs/components/Paging/NavigationHelper.js.map +1 -1
- package/cjs/components/Paging/Paging.d.ts +2 -2
- package/cjs/components/Paging/Paging.js +3 -0
- package/cjs/components/Paging/Paging.js.map +1 -1
- package/cjs/components/Paging/Paging.styles.d.ts +1 -1
- package/cjs/components/Paging/Paging.styles.js.map +1 -1
- package/cjs/components/Paging/PagingDefaultComponent.d.ts +1 -1
- package/cjs/components/Paging/PagingDefaultComponent.js.map +1 -1
- package/cjs/components/Paging/PagingHelper.d.ts +1 -1
- package/cjs/components/Paging/PagingHelper.js.map +1 -1
- package/cjs/components/Paging/locale/index.d.ts +1 -1
- package/cjs/components/Paging/locale/index.js.map +1 -1
- package/cjs/components/Paging/locale/locales/en.d.ts +1 -1
- package/cjs/components/Paging/locale/locales/en.js.map +1 -1
- package/cjs/components/Paging/locale/locales/ru.d.ts +1 -1
- package/cjs/components/Paging/locale/locales/ru.js.map +1 -1
- package/cjs/components/PasswordInput/PasswordInput.d.ts +4 -3
- package/cjs/components/PasswordInput/PasswordInput.js +6 -1
- package/cjs/components/PasswordInput/PasswordInput.js.map +1 -1
- package/cjs/components/PasswordInput/PasswordInput.styles.d.ts +1 -1
- package/cjs/components/PasswordInput/PasswordInput.styles.js.map +1 -1
- package/cjs/components/PasswordInput/PasswordInputIcon.d.ts +1 -1
- package/cjs/components/PasswordInput/PasswordInputIcon.js.map +1 -1
- package/cjs/components/PasswordInput/locale/index.d.ts +1 -1
- package/cjs/components/PasswordInput/locale/index.js.map +1 -1
- package/cjs/components/PasswordInput/locale/locales/en.d.ts +1 -1
- package/cjs/components/PasswordInput/locale/locales/en.js.map +1 -1
- package/cjs/components/PasswordInput/locale/locales/ru.d.ts +1 -1
- package/cjs/components/PasswordInput/locale/locales/ru.js.map +1 -1
- package/cjs/components/Radio/Radio.d.ts +6 -5
- package/cjs/components/Radio/Radio.js +5 -1
- package/cjs/components/Radio/Radio.js.map +1 -1
- package/cjs/components/Radio/Radio.styles.d.ts +1 -1
- package/cjs/components/Radio/Radio.styles.js.map +1 -1
- package/cjs/components/RadioGroup/RadioGroup.d.ts +3 -2
- package/cjs/components/RadioGroup/RadioGroup.js +5 -1
- package/cjs/components/RadioGroup/RadioGroup.js.map +1 -1
- package/cjs/components/ResponsiveLayout/ResponsiveLayout.d.ts +1 -1
- package/cjs/components/ResponsiveLayout/ResponsiveLayout.js.map +1 -1
- package/cjs/components/ResponsiveLayout/decorator.d.ts +1 -1
- package/cjs/components/ResponsiveLayout/decorator.js.map +1 -1
- package/cjs/components/ResponsiveLayout/useResponsiveLayout.d.ts +1 -1
- package/cjs/components/ResponsiveLayout/useResponsiveLayout.js +2 -1
- package/cjs/components/ResponsiveLayout/useResponsiveLayout.js.map +1 -1
- package/cjs/components/ScrollContainer/ScrollBar.d.ts +2 -2
- package/cjs/components/ScrollContainer/ScrollBar.js.map +1 -1
- package/cjs/components/ScrollContainer/ScrollContainer.constants.d.ts +1 -1
- package/cjs/components/ScrollContainer/ScrollContainer.constants.js.map +1 -1
- package/cjs/components/ScrollContainer/ScrollContainer.d.ts +3 -3
- package/cjs/components/ScrollContainer/ScrollContainer.helpers.d.ts +2 -2
- package/cjs/components/ScrollContainer/ScrollContainer.helpers.js.map +1 -1
- package/cjs/components/ScrollContainer/ScrollContainer.js +3 -0
- package/cjs/components/ScrollContainer/ScrollContainer.js.map +1 -1
- package/cjs/components/ScrollContainer/ScrollContainer.styles.d.ts +1 -1
- package/cjs/components/ScrollContainer/ScrollContainer.styles.js.map +1 -1
- package/cjs/components/Select/Select.d.ts +7 -6
- package/cjs/components/Select/Select.js +7 -1
- package/cjs/components/Select/Select.js.map +1 -1
- package/cjs/components/Select/Select.styles.d.ts +1 -1
- package/cjs/components/Select/Select.styles.js.map +1 -1
- package/cjs/components/Select/locale/index.d.ts +1 -1
- package/cjs/components/Select/locale/index.js.map +1 -1
- package/cjs/components/Select/locale/locales/en.d.ts +1 -1
- package/cjs/components/Select/locale/locales/en.js.map +1 -1
- package/cjs/components/Select/locale/locales/ru.d.ts +1 -1
- package/cjs/components/Select/locale/locales/ru.js.map +1 -1
- package/cjs/components/Select/locale/types.d.ts +1 -1
- package/cjs/components/Select/locale/types.js.map +1 -1
- package/cjs/components/Select/selectTheme.d.ts +2 -2
- package/cjs/components/Select/selectTheme.js.map +1 -1
- package/cjs/components/SidePage/SidePage.d.ts +3 -2
- package/cjs/components/SidePage/SidePage.js +5 -1
- package/cjs/components/SidePage/SidePage.js.map +1 -1
- package/cjs/components/SidePage/SidePage.styles.d.ts +1 -1
- package/cjs/components/SidePage/SidePage.styles.js.map +1 -1
- package/cjs/components/SidePage/SidePageBody.d.ts +2 -2
- package/cjs/components/SidePage/SidePageBody.js +3 -0
- package/cjs/components/SidePage/SidePageBody.js.map +1 -1
- package/cjs/components/SidePage/SidePageCloseButton.d.ts +1 -1
- package/cjs/components/SidePage/SidePageCloseButton.js.map +1 -1
- package/cjs/components/SidePage/SidePageContainer.d.ts +1 -1
- package/cjs/components/SidePage/SidePageContainer.js +2 -0
- package/cjs/components/SidePage/SidePageContainer.js.map +1 -1
- package/cjs/components/SidePage/SidePageContext.d.ts +2 -2
- package/cjs/components/SidePage/SidePageContext.js.map +1 -1
- package/cjs/components/SidePage/SidePageFooter.d.ts +3 -3
- package/cjs/components/SidePage/SidePageFooter.js +4 -0
- package/cjs/components/SidePage/SidePageFooter.js.map +1 -1
- package/cjs/components/SidePage/SidePageHeader.d.ts +2 -2
- package/cjs/components/SidePage/SidePageHeader.js +3 -0
- package/cjs/components/SidePage/SidePageHeader.js.map +1 -1
- package/cjs/components/SidePage/locale/index.d.ts +1 -1
- package/cjs/components/SidePage/locale/index.js.map +1 -1
- package/cjs/components/SidePage/locale/locales/en.d.ts +1 -1
- package/cjs/components/SidePage/locale/locales/en.js.map +1 -1
- package/cjs/components/SidePage/locale/locales/ru.d.ts +1 -1
- package/cjs/components/SidePage/locale/locales/ru.js.map +1 -1
- package/cjs/components/SingleToast/SingleToast.d.ts +2 -1
- package/cjs/components/SingleToast/SingleToast.js +1 -0
- package/cjs/components/SingleToast/SingleToast.js.map +1 -1
- package/cjs/components/Spinner/Spinner.d.ts +1 -1
- package/cjs/components/Spinner/Spinner.js +2 -0
- package/cjs/components/Spinner/Spinner.js.map +1 -1
- package/cjs/components/Spinner/Spinner.styles.d.ts +1 -1
- package/cjs/components/Spinner/Spinner.styles.js.map +1 -1
- package/cjs/components/Sticky/Sticky.d.ts +2 -2
- package/cjs/components/Sticky/Sticky.js +2 -0
- package/cjs/components/Sticky/Sticky.js.map +1 -1
- package/cjs/components/Switcher/Switcher.d.ts +6 -5
- package/cjs/components/Switcher/Switcher.js +5 -1
- package/cjs/components/Switcher/Switcher.js.map +1 -1
- package/cjs/components/Switcher/Switcher.styles.d.ts +1 -1
- package/cjs/components/Switcher/Switcher.styles.js.map +1 -1
- package/cjs/components/Switcher/switcherTheme.d.ts +1 -1
- package/cjs/components/Switcher/switcherTheme.js.map +1 -1
- package/cjs/components/Tabs/Indicator.d.ts +1 -1
- package/cjs/components/Tabs/Indicator.js +2 -0
- package/cjs/components/Tabs/Indicator.js.map +1 -1
- package/cjs/components/Tabs/Indicator.styles.d.ts +1 -1
- package/cjs/components/Tabs/Indicator.styles.js.map +1 -1
- package/cjs/components/Tabs/Tab.d.ts +5 -4
- package/cjs/components/Tabs/Tab.js +5 -1
- package/cjs/components/Tabs/Tab.js.map +1 -1
- package/cjs/components/Tabs/Tab.styles.d.ts +1 -1
- package/cjs/components/Tabs/Tab.styles.js.map +1 -1
- package/cjs/components/Tabs/Tabs.d.ts +4 -3
- package/cjs/components/Tabs/Tabs.js +5 -1
- package/cjs/components/Tabs/Tabs.js.map +1 -1
- package/cjs/components/Tabs/Tabs.styles.d.ts +1 -1
- package/cjs/components/Tabs/Tabs.styles.js.map +1 -1
- package/cjs/components/Tabs/TabsContext.d.ts +2 -2
- package/cjs/components/Tabs/TabsContext.js.map +1 -1
- package/cjs/components/Tabs/helpers.d.ts +2 -2
- package/cjs/components/Tabs/helpers.js.map +1 -1
- package/cjs/components/Textarea/Textarea.d.ts +5 -4
- package/cjs/components/Textarea/Textarea.js +5 -1
- package/cjs/components/Textarea/Textarea.js.map +1 -1
- package/cjs/components/Textarea/Textarea.styles.d.ts +1 -1
- package/cjs/components/Textarea/Textarea.styles.js.map +1 -1
- package/cjs/components/Textarea/TextareaCounter.d.ts +2 -2
- package/cjs/components/Textarea/TextareaCounter.js +3 -1
- package/cjs/components/Textarea/TextareaCounter.js.map +1 -1
- package/cjs/components/Toast/Toast.d.ts +5 -4
- package/cjs/components/Toast/Toast.js +6 -1
- package/cjs/components/Toast/Toast.js.map +1 -1
- package/cjs/components/Toast/ToastStatic.d.ts +2 -2
- package/cjs/components/Toast/ToastStatic.js +1 -0
- package/cjs/components/Toast/ToastStatic.js.map +1 -1
- package/cjs/components/Toast/ToastView.d.ts +5 -4
- package/cjs/components/Toast/ToastView.js +6 -1
- package/cjs/components/Toast/ToastView.js.map +1 -1
- package/cjs/components/Toast/ToastView.styles.d.ts +1 -1
- package/cjs/components/Toast/ToastView.styles.js.map +1 -1
- package/cjs/components/Toast/locale/index.d.ts +1 -1
- package/cjs/components/Toast/locale/index.js.map +1 -1
- package/cjs/components/Toast/locale/locales/en.d.ts +1 -1
- package/cjs/components/Toast/locale/locales/en.js.map +1 -1
- package/cjs/components/Toast/locale/locales/ru.d.ts +1 -1
- package/cjs/components/Toast/locale/locales/ru.js.map +1 -1
- package/cjs/components/Toggle/Toggle.d.ts +4 -3
- package/cjs/components/Toggle/Toggle.js +3 -0
- package/cjs/components/Toggle/Toggle.js.map +1 -1
- package/cjs/components/Toggle/Toggle.styles.d.ts +1 -1
- package/cjs/components/Toggle/Toggle.styles.js.map +1 -1
- package/cjs/components/Token/Token.d.ts +4 -3
- package/cjs/components/Token/Token.js +5 -1
- package/cjs/components/Token/Token.js.map +1 -1
- package/cjs/components/Token/Token.styles.d.ts +1 -1
- package/cjs/components/Token/Token.styles.js.map +1 -1
- package/cjs/components/Token/TokenView.d.ts +3 -2
- package/cjs/components/Token/TokenView.js +2 -1
- package/cjs/components/Token/TokenView.js.map +1 -1
- package/cjs/components/Token/locale/index.d.ts +1 -1
- package/cjs/components/Token/locale/index.js.map +1 -1
- package/cjs/components/Token/locale/locales/en.d.ts +1 -1
- package/cjs/components/Token/locale/locales/en.js.map +1 -1
- package/cjs/components/Token/locale/locales/ru.d.ts +1 -1
- package/cjs/components/Token/locale/locales/ru.js.map +1 -1
- package/cjs/components/TokenInput/TextWidthHelper.d.ts +2 -2
- package/cjs/components/TokenInput/TextWidthHelper.js.map +1 -1
- package/cjs/components/TokenInput/TokenInput.d.ts +5 -4
- package/cjs/components/TokenInput/TokenInput.js +9 -1
- package/cjs/components/TokenInput/TokenInput.js.map +1 -1
- package/cjs/components/TokenInput/TokenInput.styles.d.ts +1 -1
- package/cjs/components/TokenInput/TokenInput.styles.js.map +1 -1
- package/cjs/components/TokenInput/TokenInputMenu.d.ts +5 -5
- package/cjs/components/TokenInput/TokenInputMenu.js +3 -0
- package/cjs/components/TokenInput/TokenInputMenu.js.map +1 -1
- package/cjs/components/TokenInput/TokenInputReducer.d.ts +1 -1
- package/cjs/components/TokenInput/TokenInputReducer.js +2 -1
- package/cjs/components/TokenInput/TokenInputReducer.js.map +1 -1
- package/cjs/components/TokenInput/locale/index.d.ts +1 -1
- package/cjs/components/TokenInput/locale/index.js.map +1 -1
- package/cjs/components/TokenInput/locale/locales/en.d.ts +1 -1
- package/cjs/components/TokenInput/locale/locales/en.js.map +1 -1
- package/cjs/components/TokenInput/locale/locales/ru.d.ts +1 -1
- package/cjs/components/TokenInput/locale/locales/ru.js.map +1 -1
- package/cjs/components/Tooltip/Tooltip.d.ts +5 -5
- package/cjs/components/Tooltip/Tooltip.js +6 -4
- package/cjs/components/Tooltip/Tooltip.js.map +1 -1
- package/cjs/components/Tooltip/Tooltip.styles.d.ts +1 -1
- package/cjs/components/Tooltip/Tooltip.styles.js.map +1 -1
- package/cjs/components/TooltipMenu/TooltipMenu.d.ts +7 -6
- package/cjs/components/TooltipMenu/TooltipMenu.js +5 -1
- package/cjs/components/TooltipMenu/TooltipMenu.js.map +1 -1
- package/cjs/hooks/useDrop.d.ts +1 -1
- package/cjs/hooks/useDrop.js +3 -1
- package/cjs/hooks/useDrop.js.map +1 -1
- package/cjs/hooks/useEffectWithoutInitCall.d.ts +1 -1
- package/cjs/hooks/useEffectWithoutInitCall.js +2 -1
- package/cjs/hooks/useEffectWithoutInitCall.js.map +1 -1
- package/cjs/hooks/useMemoObject.d.ts +1 -1
- package/cjs/hooks/useMemoObject.js.map +1 -1
- package/cjs/internal/ClearCrossIcon/ClearCrossIcon.d.ts +4 -3
- package/cjs/internal/ClearCrossIcon/ClearCrossIcon.js +3 -1
- package/cjs/internal/ClearCrossIcon/ClearCrossIcon.js.map +1 -1
- package/cjs/internal/ClearCrossIcon/ClearCrossIcon.styles.d.ts +1 -1
- package/cjs/internal/ClearCrossIcon/ClearCrossIcon.styles.js.map +1 -1
- package/cjs/internal/CloseButtonIcon/CloseButtonIcon.d.ts +3 -2
- package/cjs/internal/CloseButtonIcon/CloseButtonIcon.js +3 -1
- package/cjs/internal/CloseButtonIcon/CloseButtonIcon.js.map +1 -1
- package/cjs/internal/CloseButtonIcon/CloseButtonIcon.styles.d.ts +1 -1
- package/cjs/internal/CloseButtonIcon/CloseButtonIcon.styles.js.map +1 -1
- package/cjs/internal/CommonWrapper/CommonWrapper.js +1 -0
- package/cjs/internal/CommonWrapper/CommonWrapper.js.map +1 -1
- package/cjs/internal/CommonWrapper/types.d.ts +1 -1
- package/cjs/internal/CommonWrapper/types.js.map +1 -1
- package/cjs/internal/CommonWrapper/utils/getCommonVisualStateDataAttributes.d.ts +1 -1
- package/cjs/internal/CommonWrapper/utils/getCommonVisualStateDataAttributes.js +2 -1
- package/cjs/internal/CommonWrapper/utils/getCommonVisualStateDataAttributes.js.map +1 -1
- package/cjs/internal/CommonWrapper/utils/getVisualStateDataAttributes.d.ts +1 -1
- package/cjs/internal/CommonWrapper/utils/getVisualStateDataAttributes.js.map +1 -1
- package/cjs/internal/ComponentCombinator.d.ts +2 -2
- package/cjs/internal/ComponentCombinator.js +1 -0
- package/cjs/internal/ComponentCombinator.js.map +1 -1
- package/cjs/internal/ComponentTable.d.ts +1 -1
- package/cjs/internal/ComponentTable.js +1 -0
- package/cjs/internal/ComponentTable.js.map +1 -1
- package/cjs/internal/CustomComboBox/ComboBoxMenu.d.ts +4 -4
- package/cjs/internal/CustomComboBox/ComboBoxMenu.js +3 -1
- package/cjs/internal/CustomComboBox/ComboBoxMenu.js.map +1 -1
- package/cjs/internal/CustomComboBox/ComboBoxView.d.ts +10 -8
- package/cjs/internal/CustomComboBox/ComboBoxView.js +5 -1
- package/cjs/internal/CustomComboBox/ComboBoxView.js.map +1 -1
- package/cjs/internal/CustomComboBox/CustomComboBox.d.ts +10 -9
- package/cjs/internal/CustomComboBox/CustomComboBox.js +6 -5
- package/cjs/internal/CustomComboBox/CustomComboBox.js.map +1 -1
- package/cjs/internal/CustomComboBox/CustomComboBoxReducer.d.ts +4 -4
- package/cjs/internal/CustomComboBox/CustomComboBoxReducer.js +10 -5
- package/cjs/internal/CustomComboBox/CustomComboBoxReducer.js.map +1 -1
- package/cjs/internal/CustomComboBox/getComboBoxTheme.d.ts +1 -1
- package/cjs/internal/CustomComboBox/getComboBoxTheme.js.map +1 -1
- package/cjs/internal/CustomComboBox/locale/index.d.ts +1 -1
- package/cjs/internal/CustomComboBox/locale/index.js.map +1 -1
- package/cjs/internal/CustomComboBox/locale/locales/en.d.ts +1 -1
- package/cjs/internal/CustomComboBox/locale/locales/en.js.map +1 -1
- package/cjs/internal/CustomComboBox/locale/locales/ru.d.ts +1 -1
- package/cjs/internal/CustomComboBox/locale/locales/ru.js.map +1 -1
- package/cjs/internal/DateSelect/DateSelect.js +2 -0
- package/cjs/internal/DateSelect/DateSelect.js.map +1 -1
- package/cjs/internal/DateSelect/DateSelect.styles.d.ts +1 -1
- package/cjs/internal/DateSelect/DateSelect.styles.js.map +1 -1
- package/cjs/internal/DateSelect/locale/index.d.ts +1 -1
- package/cjs/internal/DateSelect/locale/index.js.map +1 -1
- package/cjs/internal/DateSelect/locale/locales/en.d.ts +1 -1
- package/cjs/internal/DateSelect/locale/locales/en.js.map +1 -1
- package/cjs/internal/DateSelect/locale/locales/ru.d.ts +1 -1
- package/cjs/internal/DateSelect/locale/locales/ru.js.map +1 -1
- package/cjs/internal/FileUploaderControl/FileUploaderControlContext.d.ts +2 -2
- package/cjs/internal/FileUploaderControl/FileUploaderControlContext.js.map +1 -1
- package/cjs/internal/FileUploaderControl/FileUploaderControlProvider.d.ts +4 -3
- package/cjs/internal/FileUploaderControl/FileUploaderControlProvider.js +3 -1
- package/cjs/internal/FileUploaderControl/FileUploaderControlProvider.js.map +1 -1
- package/cjs/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.d.ts +2 -2
- package/cjs/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.js +2 -1
- package/cjs/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.js.map +1 -1
- package/cjs/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.styles.d.ts +1 -1
- package/cjs/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.styles.js.map +1 -1
- package/cjs/internal/FileUploaderControl/FileUploaderFile/FileUploaderFileStatusIcon.d.ts +1 -1
- package/cjs/internal/FileUploaderControl/FileUploaderFile/FileUploaderFileStatusIcon.js.map +1 -1
- package/cjs/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList.d.ts +2 -2
- package/cjs/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList.js.map +1 -1
- package/cjs/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList.styles.d.ts +1 -1
- package/cjs/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList.styles.js.map +1 -1
- package/cjs/internal/FileUploaderControl/hooks/useFileUploaderSize.d.ts +1 -1
- package/cjs/internal/FileUploaderControl/hooks/useFileUploaderSize.js.map +1 -1
- package/cjs/internal/FileUploaderControl/hooks/useUpload.d.ts +2 -2
- package/cjs/internal/FileUploaderControl/hooks/useUpload.js +1 -0
- package/cjs/internal/FileUploaderControl/hooks/useUpload.js.map +1 -1
- package/cjs/internal/FileUploaderControl/withFileUploaderControlProvider.d.ts +4 -3
- package/cjs/internal/FileUploaderControl/withFileUploaderControlProvider.js +3 -1
- package/cjs/internal/FileUploaderControl/withFileUploaderControlProvider.js.map +1 -1
- package/cjs/internal/FocusControlWrapper/FocusControlWrapper.d.ts +2 -1
- package/cjs/internal/FocusControlWrapper/FocusControlWrapper.js +2 -1
- package/cjs/internal/FocusControlWrapper/FocusControlWrapper.js.map +1 -1
- package/cjs/internal/FocusControlWrapper/useFocusControl.d.ts +1 -1
- package/cjs/internal/FocusControlWrapper/useFocusControl.js +2 -1
- package/cjs/internal/FocusControlWrapper/useFocusControl.js.map +1 -1
- package/cjs/internal/FocusTrap/FocusTrap.d.ts +1 -1
- package/cjs/internal/FocusTrap/FocusTrap.js +2 -0
- package/cjs/internal/FocusTrap/FocusTrap.js.map +1 -1
- package/cjs/internal/IgnoreLayerClick/IgnoreLayerClick.js +1 -0
- package/cjs/internal/IgnoreLayerClick/IgnoreLayerClick.js.map +1 -1
- package/cjs/internal/InputLikeText/InputLikeText.d.ts +3 -3
- package/cjs/internal/InputLikeText/InputLikeText.js +5 -0
- package/cjs/internal/InputLikeText/InputLikeText.js.map +1 -1
- package/cjs/internal/InternalMaskedInput/InternalMaskedInput.js +1 -0
- package/cjs/internal/InternalMaskedInput/InternalMaskedInput.js.map +1 -1
- package/cjs/internal/InternalMaskedInput/InternalMaskedInput.styles.d.ts +1 -1
- package/cjs/internal/InternalMaskedInput/InternalMaskedInput.styles.js.map +1 -1
- package/cjs/internal/Menu/Menu.d.ts +4 -3
- package/cjs/internal/Menu/Menu.js +6 -1
- package/cjs/internal/Menu/Menu.js.map +1 -1
- package/cjs/internal/Menu/Menu.styles.d.ts +1 -1
- package/cjs/internal/Menu/Menu.styles.js.map +1 -1
- package/cjs/internal/Menu/MenuContext.d.ts +2 -2
- package/cjs/internal/Menu/MenuContext.js.map +1 -1
- package/cjs/internal/Menu/MenuNavigation.d.ts +2 -1
- package/cjs/internal/Menu/MenuNavigation.js +1 -0
- package/cjs/internal/Menu/MenuNavigation.js.map +1 -1
- package/cjs/internal/Menu/isActiveElement.d.ts +2 -2
- package/cjs/internal/Menu/isActiveElement.js +1 -0
- package/cjs/internal/Menu/isActiveElement.js.map +1 -1
- package/cjs/internal/MenuMessage/MenuMessage.d.ts +2 -2
- package/cjs/internal/MenuMessage/MenuMessage.js.map +1 -1
- package/cjs/internal/MenuMessage/MenuMessage.styles.d.ts +1 -1
- package/cjs/internal/MenuMessage/MenuMessage.styles.js.map +1 -1
- package/cjs/internal/MobilePopup/MobilePopup.d.ts +2 -1
- package/cjs/internal/MobilePopup/MobilePopup.js +3 -1
- package/cjs/internal/MobilePopup/MobilePopup.js.map +1 -1
- package/cjs/internal/MobilePopup/MobilePopup.styles.d.ts +1 -1
- package/cjs/internal/MobilePopup/MobilePopup.styles.js.map +1 -1
- package/cjs/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.js.map +1 -1
- package/cjs/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.styles.d.ts +1 -1
- package/cjs/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.styles.js.map +1 -1
- package/cjs/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.js.map +1 -1
- package/cjs/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.styles.d.ts +1 -1
- package/cjs/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.styles.js.map +1 -1
- package/cjs/internal/NativeDateInput/NativeDateInput.d.ts +1 -1
- package/cjs/internal/NativeDateInput/NativeDateInput.js.map +1 -1
- package/cjs/internal/NativeDateInput/utils.d.ts +2 -2
- package/cjs/internal/NativeDateInput/utils.js.map +1 -1
- package/cjs/internal/PerformanceMetrics/PerformanceMetrics.js.map +1 -1
- package/cjs/internal/Popup/Popup.d.ts +7 -6
- package/cjs/internal/Popup/Popup.js +7 -5
- package/cjs/internal/Popup/Popup.js.map +1 -1
- package/cjs/internal/Popup/Popup.styles.d.ts +1 -1
- package/cjs/internal/Popup/Popup.styles.js.map +1 -1
- package/cjs/internal/Popup/PopupHelper.d.ts +1 -1
- package/cjs/internal/Popup/PopupHelper.js.map +1 -1
- package/cjs/internal/Popup/PopupPin.d.ts +1 -1
- package/cjs/internal/Popup/PopupPin.js +1 -0
- package/cjs/internal/Popup/PopupPin.js.map +1 -1
- package/cjs/internal/Popup/types.d.ts +1 -1
- package/cjs/internal/Popup/types.js.map +1 -1
- package/cjs/internal/PopupMenu/PopupMenu.d.ts +6 -5
- package/cjs/internal/PopupMenu/PopupMenu.js +6 -1
- package/cjs/internal/PopupMenu/PopupMenu.js.map +1 -1
- package/cjs/internal/PopupMenu/validatePositions.d.ts +1 -1
- package/cjs/internal/PopupMenu/validatePositions.js +1 -0
- package/cjs/internal/PopupMenu/validatePositions.js.map +1 -1
- package/cjs/internal/RenderContainer/RenderContainer.d.ts +1 -1
- package/cjs/internal/RenderContainer/RenderContainer.js.map +1 -1
- package/cjs/internal/RenderContainer/RenderContainerTypes.d.ts +3 -3
- package/cjs/internal/RenderContainer/RenderContainerTypes.js.map +1 -1
- package/cjs/internal/RenderContainer/RenderInnerContainer.d.ts +2 -2
- package/cjs/internal/RenderContainer/RenderInnerContainer.js.map +1 -1
- package/cjs/internal/RenderLayer/RenderLayer.d.ts +2 -2
- package/cjs/internal/RenderLayer/RenderLayer.js +2 -0
- package/cjs/internal/RenderLayer/RenderLayer.js.map +1 -1
- package/cjs/internal/ThemePlayground/AnotherInputsPlayground.d.ts +2 -2
- package/cjs/internal/ThemePlayground/AnotherInputsPlayground.js +1 -0
- package/cjs/internal/ThemePlayground/AnotherInputsPlayground.js.map +1 -1
- package/cjs/internal/ThemePlayground/CheckboxPlayground.js +1 -0
- package/cjs/internal/ThemePlayground/CheckboxPlayground.js.map +1 -1
- package/cjs/internal/ThemePlayground/ComponentsGroup.d.ts +1 -1
- package/cjs/internal/ThemePlayground/ComponentsGroup.js.map +1 -1
- package/cjs/internal/ThemePlayground/CurrencyInputPlayground.d.ts +2 -2
- package/cjs/internal/ThemePlayground/CurrencyInputPlayground.js +1 -0
- package/cjs/internal/ThemePlayground/CurrencyInputPlayground.js.map +1 -1
- package/cjs/internal/ThemePlayground/Playground.js +3 -0
- package/cjs/internal/ThemePlayground/Playground.js.map +1 -1
- package/cjs/internal/ThemePlayground/Playground.styles.d.ts +1 -1
- package/cjs/internal/ThemePlayground/Playground.styles.js.map +1 -1
- package/cjs/internal/ThemePlayground/RadioPlayground.js +1 -0
- package/cjs/internal/ThemePlayground/RadioPlayground.js.map +1 -1
- package/cjs/internal/ThemePlayground/SelectPlayground.d.ts +1 -1
- package/cjs/internal/ThemePlayground/SelectPlayground.js +1 -0
- package/cjs/internal/ThemePlayground/SelectPlayground.js.map +1 -1
- package/cjs/internal/ThemePlayground/SizesGroup.d.ts +1 -1
- package/cjs/internal/ThemePlayground/SizesGroup.js.map +1 -1
- package/cjs/internal/ThemePlayground/SwitcherPlayground.d.ts +1 -1
- package/cjs/internal/ThemePlayground/SwitcherPlayground.js +1 -0
- package/cjs/internal/ThemePlayground/SwitcherPlayground.js.map +1 -1
- package/cjs/internal/ThemePlayground/ThemeContextPlayground.d.ts +4 -3
- package/cjs/internal/ThemePlayground/ThemeContextPlayground.js +2 -1
- package/cjs/internal/ThemePlayground/ThemeContextPlayground.js.map +1 -1
- package/cjs/internal/ThemePlayground/ThemeEditor.d.ts +2 -2
- package/cjs/internal/ThemePlayground/ThemeEditor.js.map +1 -1
- package/cjs/internal/ThemePlayground/UnlinkVarsPlayground.js +1 -0
- package/cjs/internal/ThemePlayground/UnlinkVarsPlayground.js.map +1 -1
- package/cjs/internal/ThemePlayground/VariableValue.d.ts +1 -1
- package/cjs/internal/ThemePlayground/VariableValue.js.map +1 -1
- package/cjs/internal/ThemePlayground/__creevey__/Theme5_0.stories.d.ts +1 -1
- package/cjs/internal/ThemePlayground/constants.d.ts +1 -1
- package/cjs/internal/ThemePlayground/constants.js.map +1 -1
- package/cjs/internal/ThemeShowcase/ThemeShowcase.d.ts +1 -1
- package/cjs/internal/ThemeShowcase/ThemeShowcase.js +2 -2
- package/cjs/internal/ThemeShowcase/ThemeShowcase.js.map +1 -1
- package/cjs/internal/ThemeShowcase/ThemeShowcase.styles.d.ts +1 -1
- package/cjs/internal/ThemeShowcase/ThemeShowcase.styles.js.map +1 -1
- package/cjs/internal/ThemeShowcase/VariablesCollector.d.ts +2 -2
- package/cjs/internal/ThemeShowcase/VariablesCollector.js.map +1 -1
- package/cjs/internal/ZIndex/ZIndex.d.ts +1 -1
- package/cjs/internal/ZIndex/ZIndex.js +2 -0
- package/cjs/internal/ZIndex/ZIndex.js.map +1 -1
- package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon16Light.d.ts +1 -1
- package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon16Light.js +1 -0
- package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon16Light.js.map +1 -1
- package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon20Light.d.ts +1 -1
- package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon20Light.js +1 -0
- package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon20Light.js.map +1 -1
- package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon24Regular.d.ts +1 -1
- package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon24Regular.js +1 -0
- package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon24Regular.js.map +1 -1
- package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon16Light.d.ts +1 -1
- package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon16Light.js +1 -0
- package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon16Light.js.map +1 -1
- package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon20Light.d.ts +1 -1
- package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon20Light.js +1 -0
- package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon20Light.js.map +1 -1
- package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon24Regular.d.ts +1 -1
- package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon24Regular.js +1 -0
- package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon24Regular.js.map +1 -1
- package/cjs/internal/icons2022/ArrowAUpIcon/ArrowAUp16Light.d.ts +1 -1
- package/cjs/internal/icons2022/ArrowAUpIcon/ArrowAUp16Light.js +1 -0
- package/cjs/internal/icons2022/ArrowAUpIcon/ArrowAUp16Light.js.map +1 -1
- package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon16Regular.d.ts +1 -1
- package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon16Regular.js +1 -0
- package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon16Regular.js.map +1 -1
- package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon20Regular.d.ts +1 -1
- package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon20Regular.js +1 -0
- package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon20Regular.js.map +1 -1
- package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon24Regular.d.ts +1 -1
- package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon24Regular.js +1 -0
- package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon24Regular.js.map +1 -1
- package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon16Light.d.ts +1 -1
- package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon16Light.js +1 -0
- package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon16Light.js.map +1 -1
- package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon20Light.d.ts +1 -1
- package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon20Light.js +1 -0
- package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon20Light.js.map +1 -1
- package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon24Regular.d.ts +1 -1
- package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon24Regular.js +1 -0
- package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon24Regular.js.map +1 -1
- package/cjs/internal/icons2022/ArrowCUpIcon/ArrowCUpIcon16Regular.d.ts +1 -1
- package/cjs/internal/icons2022/ArrowCUpIcon/ArrowCUpIcon16Regular.js +1 -0
- package/cjs/internal/icons2022/ArrowCUpIcon/ArrowCUpIcon16Regular.js.map +1 -1
- package/cjs/internal/icons2022/ArrowCollapseCVOpenIcon/ArrowCollapseCVOpenIcon16Regular.d.ts +1 -1
- package/cjs/internal/icons2022/ArrowCollapseCVOpenIcon/ArrowCollapseCVOpenIcon16Regular.js +1 -0
- package/cjs/internal/icons2022/ArrowCollapseCVOpenIcon/ArrowCollapseCVOpenIcon16Regular.js.map +1 -1
- package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon16Light.d.ts +1 -1
- package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon16Light.js +1 -0
- package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon16Light.js.map +1 -1
- package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon20Light.d.ts +1 -1
- package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon20Light.js +1 -0
- package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon20Light.js.map +1 -1
- package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon24Regular.d.ts +1 -1
- package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon24Regular.js +1 -0
- package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon24Regular.js.map +1 -1
- package/cjs/internal/icons2022/BaseIcon.d.ts +1 -1
- package/cjs/internal/icons2022/BaseIcon.js +1 -0
- package/cjs/internal/icons2022/BaseIcon.js.map +1 -1
- package/cjs/internal/icons2022/CalendarIcon/CalendarIcon16Light.d.ts +1 -1
- package/cjs/internal/icons2022/CalendarIcon/CalendarIcon16Light.js +1 -0
- package/cjs/internal/icons2022/CalendarIcon/CalendarIcon16Light.js.map +1 -1
- package/cjs/internal/icons2022/CalendarIcon/CalendarIcon20Light.d.ts +1 -1
- package/cjs/internal/icons2022/CalendarIcon/CalendarIcon20Light.js +1 -0
- package/cjs/internal/icons2022/CalendarIcon/CalendarIcon20Light.js.map +1 -1
- package/cjs/internal/icons2022/CalendarIcon/CalendarIcon24Regular.d.ts +1 -1
- package/cjs/internal/icons2022/CalendarIcon/CalendarIcon24Regular.js +1 -0
- package/cjs/internal/icons2022/CalendarIcon/CalendarIcon24Regular.js.map +1 -1
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Light.d.ts +1 -1
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Light.js +1 -0
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Light.js.map +1 -1
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Regular.d.ts +1 -1
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Regular.js +1 -0
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Regular.js.map +1 -1
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Solid.d.ts +1 -1
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Solid.js +1 -0
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Solid.js.map +1 -1
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon20Light.d.ts +1 -1
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon20Light.js +1 -0
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon20Light.js.map +1 -1
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon20Solid.d.ts +1 -1
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon20Solid.js +1 -0
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon20Solid.js.map +1 -1
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon24Regular.d.ts +1 -1
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon24Regular.js +1 -0
- package/cjs/internal/icons2022/CheckAIcon/CheckAIcon24Regular.js.map +1 -1
- package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon16Light.d.ts +1 -1
- package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon16Light.js +1 -0
- package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon16Light.js.map +1 -1
- package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon20Light.d.ts +1 -1
- package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon20Light.js +1 -0
- package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon20Light.js.map +1 -1
- package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon24Regular.d.ts +1 -1
- package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon24Regular.js +1 -0
- package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon24Regular.js.map +1 -1
- package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon16Light.d.ts +1 -1
- package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon16Light.js +1 -0
- package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon16Light.js.map +1 -1
- package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon20Light.d.ts +1 -1
- package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon20Light.js +1 -0
- package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon20Light.js.map +1 -1
- package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon24Regular.d.ts +1 -1
- package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon24Regular.js +1 -0
- package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon24Regular.js.map +1 -1
- package/cjs/internal/icons2022/InfoCircleIcon/InfoCircleIcon64Regular.d.ts +1 -1
- package/cjs/internal/icons2022/InfoCircleIcon/InfoCircleIcon64Regular.js +1 -0
- package/cjs/internal/icons2022/InfoCircleIcon/InfoCircleIcon64Regular.js.map +1 -1
- package/cjs/internal/icons2022/LoadingIcon.d.ts +1 -1
- package/cjs/internal/icons2022/LoadingIcon.js +1 -0
- package/cjs/internal/icons2022/LoadingIcon.js.map +1 -1
- package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon16Light.d.ts +1 -1
- package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon16Light.js +1 -0
- package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon16Light.js.map +1 -1
- package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon20Light.d.ts +1 -1
- package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon20Light.js +1 -0
- package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon20Light.js.map +1 -1
- package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon24Regular.d.ts +1 -1
- package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon24Regular.js +1 -0
- package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon24Regular.js.map +1 -1
- package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Light.d.ts +1 -1
- package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Light.js +1 -0
- package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Light.js.map +1 -1
- package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Regular.d.ts +1 -1
- package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Regular.js +1 -0
- package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Regular.js.map +1 -1
- package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon20Light.d.ts +1 -1
- package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon20Light.js +1 -0
- package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon20Light.js.map +1 -1
- package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon24Regular.d.ts +1 -1
- package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon24Regular.js +1 -0
- package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon24Regular.js.map +1 -1
- package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon16Light.d.ts +1 -1
- package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon16Light.js +1 -0
- package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon16Light.js.map +1 -1
- package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon20Light.d.ts +1 -1
- package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon20Light.js +1 -0
- package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon20Light.js.map +1 -1
- package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon24Regular.d.ts +1 -1
- package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon24Regular.js +1 -0
- package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon24Regular.js.map +1 -1
- package/cjs/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon16Solid.d.ts +1 -1
- package/cjs/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon16Solid.js +1 -0
- package/cjs/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon16Solid.js.map +1 -1
- package/cjs/internal/icons2022/SearchLoupeIcon/SearchLoupeIcon16Regular.d.ts +1 -1
- package/cjs/internal/icons2022/SearchLoupeIcon/SearchLoupeIcon16Regular.js +1 -0
- package/cjs/internal/icons2022/SearchLoupeIcon/SearchLoupeIcon16Regular.js.map +1 -1
- package/cjs/internal/icons2022/ShapeSquareIcon/ShapeSquareIcon16Solid.d.ts +1 -1
- package/cjs/internal/icons2022/ShapeSquareIcon/ShapeSquareIcon16Solid.js +1 -0
- package/cjs/internal/icons2022/ShapeSquareIcon/ShapeSquareIcon16Solid.js.map +1 -1
- package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon16Light.d.ts +1 -1
- package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon16Light.js +1 -0
- package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon16Light.js.map +1 -1
- package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon20Regular.d.ts +1 -1
- package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon20Regular.js +1 -0
- package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon20Regular.js.map +1 -1
- package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon24Regular.d.ts +1 -1
- package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon24Regular.js +1 -0
- package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon24Regular.js.map +1 -1
- package/cjs/internal/icons2022/XIcon/XIcon16Light.d.ts +1 -1
- package/cjs/internal/icons2022/XIcon/XIcon16Light.js +1 -0
- package/cjs/internal/icons2022/XIcon/XIcon16Light.js.map +1 -1
- package/cjs/internal/icons2022/XIcon/XIcon16Regular.d.ts +1 -1
- package/cjs/internal/icons2022/XIcon/XIcon16Regular.js +1 -0
- package/cjs/internal/icons2022/XIcon/XIcon16Regular.js.map +1 -1
- package/cjs/internal/icons2022/XIcon/XIcon20Light.d.ts +1 -1
- package/cjs/internal/icons2022/XIcon/XIcon20Light.js +1 -0
- package/cjs/internal/icons2022/XIcon/XIcon20Light.js.map +1 -1
- package/cjs/internal/icons2022/XIcon/XIcon20Regular.d.ts +1 -1
- package/cjs/internal/icons2022/XIcon/XIcon20Regular.js +1 -0
- package/cjs/internal/icons2022/XIcon/XIcon20Regular.js.map +1 -1
- package/cjs/internal/icons2022/XIcon/XIcon24Regular.d.ts +1 -1
- package/cjs/internal/icons2022/XIcon/XIcon24Regular.js +1 -0
- package/cjs/internal/icons2022/XIcon/XIcon24Regular.js.map +1 -1
- package/cjs/internal/icons2022/iconSizer.d.ts +2 -2
- package/cjs/internal/icons2022/iconSizer.js +1 -0
- package/cjs/internal/icons2022/iconSizer.js.map +1 -1
- package/cjs/internal/themes/BasicTheme.d.ts +1 -0
- package/cjs/internal/themes/BasicTheme.js +2 -1
- package/cjs/internal/themes/BasicTheme.js.map +1 -1
- package/cjs/lib/InstanceWithAnchorElement.d.ts +1 -1
- package/cjs/lib/InstanceWithAnchorElement.js.map +1 -1
- package/cjs/lib/ModalStack.d.ts +1 -1
- package/cjs/lib/ModalStack.js.map +1 -1
- package/cjs/lib/callChildRef/callChildRef.d.ts +2 -2
- package/cjs/lib/callChildRef/callChildRef.js.map +1 -1
- package/cjs/lib/createPropsGetter.d.ts +1 -1
- package/cjs/lib/createPropsGetter.js.map +1 -1
- package/cjs/lib/date/InternalDate.d.ts +2 -1
- package/cjs/lib/date/InternalDate.js +3 -1
- package/cjs/lib/date/InternalDate.js.map +1 -1
- package/cjs/lib/date/InternalDateCalculator.d.ts +2 -1
- package/cjs/lib/date/InternalDateCalculator.js +1 -5
- package/cjs/lib/date/InternalDateCalculator.js.map +1 -1
- package/cjs/lib/date/InternalDateGetter.d.ts +3 -2
- package/cjs/lib/date/InternalDateGetter.js +1 -5
- package/cjs/lib/date/InternalDateGetter.js.map +1 -1
- package/cjs/lib/date/InternalDateSetter.d.ts +3 -2
- package/cjs/lib/date/InternalDateSetter.js +1 -5
- package/cjs/lib/date/InternalDateSetter.js.map +1 -1
- package/cjs/lib/date/InternalDateTransformer.d.ts +2 -1
- package/cjs/lib/date/InternalDateTransformer.js +1 -3
- package/cjs/lib/date/InternalDateTransformer.js.map +1 -1
- package/cjs/lib/date/InternalDateValidator.d.ts +3 -2
- package/cjs/lib/date/InternalDateValidator.js +1 -5
- package/cjs/lib/date/InternalDateValidator.js.map +1 -1
- package/cjs/lib/date/localeSets.d.ts +1 -1
- package/cjs/lib/date/localeSets.js +1 -6
- package/cjs/lib/date/localeSets.js.map +1 -1
- package/cjs/lib/date/types.d.ts +1 -1
- package/cjs/lib/date/types.js.map +1 -1
- package/cjs/lib/dom/getDOMRect.d.ts +1 -1
- package/cjs/lib/dom/getDOMRect.js.map +1 -1
- package/cjs/lib/dom/tabbableHelpers.d.ts +2 -2
- package/cjs/lib/dom/tabbableHelpers.js +2 -1
- package/cjs/lib/dom/tabbableHelpers.js.map +1 -1
- package/cjs/lib/events/fixFirefoxModifiedClickOnLabel.d.ts +1 -1
- package/cjs/lib/events/fixFirefoxModifiedClickOnLabel.js.map +1 -1
- package/cjs/lib/events/keyboard/extractCode.js +1 -0
- package/cjs/lib/events/keyboard/extractCode.js.map +1 -1
- package/cjs/lib/extractKeyboardAction.d.ts +1 -1
- package/cjs/lib/extractKeyboardAction.js.map +1 -1
- package/cjs/lib/featureFlagsContext/FeatureFlagsHelpers.d.ts +1 -1
- package/cjs/lib/featureFlagsContext/FeatureFlagsHelpers.js +2 -1
- package/cjs/lib/featureFlagsContext/FeatureFlagsHelpers.js.map +1 -1
- package/cjs/lib/getDisplayName.d.ts +2 -2
- package/cjs/lib/getDisplayName.js.map +1 -1
- package/cjs/lib/locale/LocaleContext.d.ts +1 -1
- package/cjs/lib/locale/LocaleContext.js.map +1 -1
- package/cjs/lib/locale/LocaleHelper.d.ts +1 -1
- package/cjs/lib/locale/LocaleHelper.js.map +1 -1
- package/cjs/lib/locale/decorators.d.ts +3 -3
- package/cjs/lib/locale/decorators.js.map +1 -1
- package/cjs/lib/locale/types.d.ts +10 -10
- package/cjs/lib/locale/types.js.map +1 -1
- package/cjs/lib/locale/useLocaleForControl.d.ts +2 -2
- package/cjs/lib/locale/useLocaleForControl.js.map +1 -1
- package/cjs/lib/mergeRefs.d.ts +1 -1
- package/cjs/lib/mergeRefs.js.map +1 -1
- package/cjs/lib/rootNode/getRootNode.d.ts +2 -2
- package/cjs/lib/rootNode/getRootNode.js.map +1 -1
- package/cjs/lib/rootNode/rootNodeDecorator.d.ts +2 -2
- package/cjs/lib/rootNode/rootNodeDecorator.js.map +1 -1
- package/cjs/lib/styles/ColorFactory.js +1 -0
- package/cjs/lib/styles/ColorFactory.js.map +1 -1
- package/cjs/lib/styles/ColorFunctions.js.map +1 -1
- package/cjs/lib/styles/ColorObject.d.ts +1 -1
- package/cjs/lib/styles/ColorObject.js.map +1 -1
- package/cjs/lib/styles/UiFont.d.ts +1 -4
- package/cjs/lib/styles/UiFont.js +5 -47
- package/cjs/lib/styles/UiFont.js.map +1 -1
- package/cjs/lib/taskWithDelayAndMinimalDuration.js +2 -1
- package/cjs/lib/taskWithDelayAndMinimalDuration.js.map +1 -1
- package/cjs/lib/theming/AnimationKeyframes.d.ts +1 -1
- package/cjs/lib/theming/AnimationKeyframes.js.map +1 -1
- package/cjs/lib/theming/Emotion.d.ts +1 -1
- package/cjs/lib/theming/Emotion.js.map +1 -1
- package/cjs/lib/theming/Theme.d.ts +2 -1
- package/cjs/lib/theming/Theme.js +2 -1
- package/cjs/lib/theming/Theme.js.map +1 -1
- package/cjs/lib/theming/ThemeFactory.d.ts +2 -2
- package/cjs/lib/theming/ThemeFactory.js +2 -1
- package/cjs/lib/theming/ThemeFactory.js.map +1 -1
- package/cjs/lib/theming/ThemeHelpers.d.ts +2 -2
- package/cjs/lib/theming/ThemeHelpers.js +1 -0
- package/cjs/lib/theming/ThemeHelpers.js.map +1 -1
- package/cjs/lib/types/polymorphic-component.d.ts +2 -2
- package/cjs/lib/types/polymorphic-component.js.map +1 -1
- package/cjs/lib/withClassWrapper.d.ts +1 -1
- package/cjs/lib/withClassWrapper.js.map +1 -1
- package/components/Autocomplete/Autocomplete/Autocomplete.js.map +1 -1
- package/components/Autocomplete/Autocomplete.d.ts +6 -5
- package/components/Autocomplete/Autocomplete.styles/Autocomplete.styles.js.map +1 -1
- package/components/Autocomplete/Autocomplete.styles.d.ts +1 -1
- package/components/Autocomplete/getAutocompleteTheme/getAutocompleteTheme.js.map +1 -1
- package/components/Autocomplete/getAutocompleteTheme.d.ts +1 -1
- package/components/Autocomplete/locale/index/index.js.map +1 -1
- package/components/Autocomplete/locale/index.d.ts +1 -1
- package/components/Autocomplete/locale/locales/en/en.js.map +1 -1
- package/components/Autocomplete/locale/locales/en.d.ts +1 -1
- package/components/Autocomplete/locale/locales/ru/ru.js.map +1 -1
- package/components/Autocomplete/locale/locales/ru.d.ts +1 -1
- package/components/Button/Button/Button.js.map +1 -1
- package/components/Button/Button.d.ts +5 -5
- package/components/Button/Button.styles/Button.styles.js.map +1 -1
- package/components/Button/Button.styles.d.ts +1 -1
- package/components/Button/ButtonArrow/ButtonArrow.js.map +1 -1
- package/components/Button/ButtonArrow.d.ts +2 -2
- package/components/Button/ButtonIcon/ButtonIcon.js.map +1 -1
- package/components/Button/ButtonIcon.d.ts +3 -3
- package/components/Button/ButtonIcon.styles/ButtonIcon.styles.js.map +1 -1
- package/components/Button/ButtonIcon.styles.d.ts +1 -1
- package/components/Button/LoadingButtonIcon/LoadingButtonIcon.js.map +1 -1
- package/components/Button/LoadingButtonIcon.d.ts +1 -1
- package/components/Button/getInnerLinkTheme/getInnerLinkTheme.js.map +1 -1
- package/components/Button/getInnerLinkTheme.d.ts +1 -1
- package/components/Calendar/Calendar/Calendar.js.map +1 -1
- package/components/Calendar/Calendar.d.ts +3 -3
- package/components/Calendar/Calendar.styles/Calendar.styles.js.map +1 -1
- package/components/Calendar/Calendar.styles.d.ts +1 -1
- package/components/Calendar/CalendarContext/CalendarContext.js.map +1 -1
- package/components/Calendar/CalendarContext.d.ts +2 -2
- package/components/Calendar/CalendarDateShape/CalendarDateShape.js.map +1 -1
- package/components/Calendar/CalendarDateShape.d.ts +1 -1
- package/components/Calendar/CalendarDay/CalendarDay.js.map +1 -1
- package/components/Calendar/CalendarDay.d.ts +2 -1
- package/components/Calendar/CalendarUtils/CalendarUtils.js.map +1 -1
- package/components/Calendar/CalendarUtils.d.ts +4 -4
- package/components/Calendar/DayCellView/DayCellView.js.map +1 -1
- package/components/Calendar/DayCellView.d.ts +1 -1
- package/components/Calendar/DayCellView.styles/DayCellView.styles.js.map +1 -1
- package/components/Calendar/DayCellView.styles.d.ts +1 -1
- package/components/Calendar/Month/Month.js.map +1 -1
- package/components/Calendar/Month.d.ts +1 -1
- package/components/Calendar/MonthView/MonthView.js.map +1 -1
- package/components/Calendar/MonthView.d.ts +1 -1
- package/components/Calendar/MonthView.styles/MonthView.styles.js.map +1 -1
- package/components/Calendar/MonthView.styles.d.ts +1 -1
- package/components/Calendar/MonthViewModel/MonthViewModel.js.map +1 -1
- package/components/Calendar/MonthViewModel.d.ts +1 -1
- package/components/Calendar/config/config.js.map +1 -1
- package/components/Calendar/config.d.ts +1 -1
- package/components/Calendar/locale/index/index.js.map +1 -1
- package/components/Calendar/locale/index.d.ts +1 -1
- package/components/Calendar/locale/locales/en/en.js.map +1 -1
- package/components/Calendar/locale/locales/en.d.ts +1 -1
- package/components/Calendar/locale/locales/ru/ru.js.map +1 -1
- package/components/Calendar/locale/locales/ru.d.ts +1 -1
- package/components/Center/Center/Center.js.map +1 -1
- package/components/Center/Center.d.ts +2 -2
- package/components/Checkbox/Checkbox/Checkbox.js.map +1 -1
- package/components/Checkbox/Checkbox.d.ts +5 -4
- package/components/Checkbox/Checkbox.styles/Checkbox.styles.js.map +1 -1
- package/components/Checkbox/Checkbox.styles.d.ts +1 -1
- package/components/ComboBox/ComboBox/ComboBox.js.map +1 -1
- package/components/ComboBox/ComboBox.d.ts +7 -6
- package/components/CurrencyInput/CurrencyHelper/CurrencyHelper.js.map +1 -1
- package/components/CurrencyInput/CurrencyHelper.d.ts +3 -3
- package/components/CurrencyInput/CurrencyInput/CurrencyInput.js.map +1 -1
- package/components/CurrencyInput/CurrencyInput.d.ts +6 -5
- package/components/CurrencyInput/CurrencyInputHelper/CurrencyInputHelper.js.map +1 -1
- package/components/CurrencyInput/CurrencyInputHelper.d.ts +2 -2
- package/components/CurrencyInput/CursorHelper/CursorHelper.js.map +1 -1
- package/components/CurrencyInput/CursorHelper.d.ts +1 -1
- package/components/CurrencyLabel/CurrencyLabel/CurrencyLabel.js.map +1 -1
- package/components/CurrencyLabel/CurrencyLabel.d.ts +3 -2
- package/components/DateInput/DateFragmentsView/DateFragmentsView.js.map +1 -1
- package/components/DateInput/DateFragmentsView.d.ts +2 -1
- package/components/DateInput/DateFragmentsView.styles/DateFragmentsView.styles.js.map +1 -1
- package/components/DateInput/DateFragmentsView.styles.d.ts +1 -1
- package/components/DateInput/DateInput/DateInput.js.map +1 -1
- package/components/DateInput/DateInput.d.ts +4 -3
- package/components/DateInput/DateInput.styles/DateInput.styles.js.map +1 -1
- package/components/DateInput/DateInput.styles.d.ts +1 -1
- package/components/DateInput/helpers/DateInputKeyboardActions/DateInputKeyboardActions.js.map +1 -1
- package/components/DateInput/helpers/DateInputKeyboardActions.d.ts +1 -1
- package/components/DateInput/helpers/InternalDateMediator/InternalDateMediator.js.map +1 -1
- package/components/DateInput/helpers/InternalDateMediator.d.ts +4 -3
- package/components/DateInput/helpers/inputNumber/inputNumber.js.map +1 -1
- package/components/DateInput/helpers/inputNumber.d.ts +2 -1
- package/components/DatePicker/DatePicker/DatePicker.js.map +1 -1
- package/components/DatePicker/DatePicker.d.ts +6 -5
- package/components/DatePicker/DatePicker.styles/DatePicker.styles.js.map +1 -1
- package/components/DatePicker/DatePicker.styles.d.ts +1 -1
- package/components/DatePicker/DatePickerHelpers/DatePickerHelpers.js.map +1 -1
- package/components/DatePicker/DatePickerHelpers.d.ts +1 -1
- package/components/DatePicker/MobilePicker/MobilePicker.js.map +1 -1
- package/components/DatePicker/MobilePicker.d.ts +1 -1
- package/components/DatePicker/getMobilePickerTheme/getMobilePickerTheme.js.map +1 -1
- package/components/DatePicker/getMobilePickerTheme.d.ts +1 -1
- package/components/DatePicker/locale/index/index.js.map +1 -1
- package/components/DatePicker/locale/index.d.ts +1 -1
- package/components/DatePicker/locale/locales/en/en.js.map +1 -1
- package/components/DatePicker/locale/locales/en.d.ts +1 -1
- package/components/DatePicker/locale/locales/ru/ru.js.map +1 -1
- package/components/DatePicker/locale/locales/ru.d.ts +1 -1
- package/components/DatePicker/locale/types/types.js.map +1 -1
- package/components/DatePicker/locale/types.d.ts +3 -3
- package/components/DateRangePicker/DateRangePicker/DateRangePicker.js.map +1 -1
- package/components/DateRangePicker/DateRangePicker.d.ts +2 -2
- package/components/DateRangePicker/DateRangePicker.styles/DateRangePicker.styles.js.map +1 -1
- package/components/DateRangePicker/DateRangePicker.styles.d.ts +2 -2
- package/components/DateRangePicker/DateRangePickerInput/DateRangePickerInput.js.map +1 -1
- package/components/DateRangePicker/DateRangePickerInput.d.ts +2 -1
- package/components/DateRangePicker/DateRangePickerTheme/DateRangePickerTheme.js.map +1 -1
- package/components/DateRangePicker/DateRangePickerTheme.d.ts +1 -1
- package/components/DateRangePicker/helpers/getStateForValue/getStateForValue.js.map +1 -1
- package/components/DateRangePicker/helpers/getStateForValue.d.ts +1 -1
- package/components/DateRangePicker/helpers/validateDateRangePicker/validateDateRangePicker.js.map +1 -1
- package/components/DateRangePicker/helpers/validateDateRangePicker.d.ts +1 -1
- package/components/DateRangePicker/locale/index/index.js.map +1 -1
- package/components/DateRangePicker/locale/index.d.ts +1 -1
- package/components/DateRangePicker/locale/locales/en/en.js.map +1 -1
- package/components/DateRangePicker/locale/locales/en.d.ts +1 -1
- package/components/DateRangePicker/locale/locales/ru/ru.js.map +1 -1
- package/components/DateRangePicker/locale/locales/ru.d.ts +1 -1
- package/components/DateRangePicker/locale/types/types.js.map +1 -1
- package/components/DateRangePicker/locale/types.d.ts +1 -1
- package/components/Dropdown/Dropdown/Dropdown.js.map +1 -1
- package/components/Dropdown/Dropdown.d.ts +5 -4
- package/components/Dropdown/getDropdownTheme/getDropdownTheme.js.map +1 -1
- package/components/Dropdown/getDropdownTheme.d.ts +1 -1
- package/components/DropdownMenu/DropdownMenu/DropdownMenu.js.map +1 -1
- package/components/DropdownMenu/DropdownMenu.d.ts +5 -4
- package/components/DropdownMenu/getDropdownMenuTheme/getDropdownMenuTheme.js.map +1 -1
- package/components/DropdownMenu/getDropdownMenuTheme.d.ts +1 -1
- package/components/FileUploader/FileUploader/FileUploader.js +15 -12
- package/components/FileUploader/FileUploader/FileUploader.js.map +1 -1
- package/components/FileUploader/FileUploader.d.ts +6 -6
- package/components/FileUploader/FileUploader.styles/FileUploader.styles.js.map +1 -1
- package/components/FileUploader/FileUploader.styles.d.ts +1 -1
- package/components/FileUploader/index/index.js.map +1 -1
- package/components/FileUploader/index.d.ts +1 -1
- package/components/FileUploader/locale/index/index.js.map +1 -1
- package/components/FileUploader/locale/index.d.ts +1 -1
- package/components/FileUploader/locale/locales/en/en.js.map +1 -1
- package/components/FileUploader/locale/locales/en.d.ts +1 -1
- package/components/FileUploader/locale/locales/ru/ru.js.map +1 -1
- package/components/FileUploader/locale/locales/ru.d.ts +1 -1
- package/components/FxInput/FxInput/FxInput.js.map +1 -1
- package/components/FxInput/FxInput.d.ts +9 -6
- package/components/FxInput/FxInputRestoreBtn/FxInputRestoreBtn.js.map +1 -1
- package/components/FxInput/FxInputRestoreBtn.d.ts +3 -2
- package/components/Gapped/Gapped/Gapped.js.map +1 -1
- package/components/Gapped/Gapped.d.ts +1 -1
- package/components/GlobalLoader/GlobalLoader/GlobalLoader.js.map +1 -1
- package/components/GlobalLoader/GlobalLoaderView/GlobalLoaderView.js.map +1 -1
- package/components/GlobalLoader/GlobalLoaderView.d.ts +1 -1
- package/components/GlobalLoader/GlobalLoaderView.styles/GlobalLoaderView.styles.js.map +1 -1
- package/components/GlobalLoader/GlobalLoaderView.styles.d.ts +1 -1
- package/components/GlobalLoader/useParams/useParams.js.map +1 -1
- package/components/GlobalLoader/useParams.d.ts +1 -1
- package/components/Group/Group/Group.js.map +1 -1
- package/components/Group/Group.d.ts +1 -1
- package/components/Hint/Hint/Hint.js.map +1 -1
- package/components/Hint/Hint.d.ts +5 -5
- package/components/Hint/Hint.styles/Hint.styles.js.map +1 -1
- package/components/Hint/Hint.styles.d.ts +1 -1
- package/components/Input/Input/Input.js.map +1 -1
- package/components/Input/Input.d.ts +6 -5
- package/components/Input/Input.styles/Input.styles.js.map +1 -1
- package/components/Input/Input.styles.d.ts +1 -1
- package/components/Input/Input.typings/Input.typings.js.map +1 -1
- package/components/Input/Input.typings.d.ts +1 -1
- package/components/Input/InputLayout/InputLayout/InputLayout.js.map +1 -1
- package/components/Input/InputLayout/InputLayout.d.ts +3 -3
- package/components/Input/InputLayout/InputLayout.styles/InputLayout.styles.js.map +1 -1
- package/components/Input/InputLayout/InputLayout.styles.d.ts +1 -1
- package/components/Input/InputLayout/InputLayoutAside/InputLayoutAside.js.map +1 -1
- package/components/Input/InputLayout/InputLayoutAside.d.ts +1 -1
- package/components/Input/InputLayout/InputLayoutAsideIcon/InputLayoutAsideIcon.js.map +1 -1
- package/components/Input/InputLayout/InputLayoutAsideIcon.d.ts +1 -1
- package/components/Input/InputLayout/InputLayoutAsideText/InputLayoutAsideText.js.map +1 -1
- package/components/Input/InputLayout/InputLayoutAsideText.d.ts +1 -1
- package/components/Input/InputLayout/InputLayoutContext/InputLayoutContext.js.map +1 -1
- package/components/Input/InputLayout/InputLayoutContext.d.ts +1 -1
- package/components/Input/InputLayout/PolyfillPlaceholder/PolyfillPlaceholder.js.map +1 -1
- package/components/Input/InputLayout/PolyfillPlaceholder.d.ts +1 -1
- package/components/Kebab/Kebab/Kebab.js.map +1 -1
- package/components/Kebab/Kebab.d.ts +7 -6
- package/components/Kebab/Kebab.styles/Kebab.styles.js.map +1 -1
- package/components/Kebab/Kebab.styles.d.ts +1 -1
- package/components/Link/Link/Link.js.map +1 -1
- package/components/Link/Link.d.ts +4 -4
- package/components/Link/Link.styles/Link.styles.js.map +1 -1
- package/components/Link/Link.styles.d.ts +1 -1
- package/components/Link/LinkIcon/LinkIcon.js.map +1 -1
- package/components/Link/LinkIcon.d.ts +1 -1
- package/components/Loader/Loader/Loader.js.map +1 -1
- package/components/Loader/Loader.d.ts +3 -3
- package/components/Loader/Loader.styles/Loader.styles.js.map +1 -1
- package/components/Loader/Loader.styles.d.ts +1 -1
- package/components/Loader/__stories__/LoaderAndButton/LoaderAndButton.js.map +1 -1
- package/components/MaskedInput/ColorableInputElement/ColorableInputElement/ColorableInputElement.js +1 -0
- package/components/MaskedInput/ColorableInputElement/ColorableInputElement/ColorableInputElement.js.map +1 -1
- package/components/MaskedInput/ColorableInputElement/ColorableInputElement.d.ts +1 -1
- package/components/MaskedInput/FixedIMaskInput/FixedIMaskInput.js +1 -1
- package/components/MaskedInput/FixedIMaskInput/FixedIMaskInput.js.map +1 -1
- package/components/MaskedInput/FixedIMaskInput.d.ts +2 -2
- package/components/MaskedInput/MaskedInput/MaskedInput.js +9 -4
- package/components/MaskedInput/MaskedInput/MaskedInput.js.map +1 -1
- package/components/MaskedInput/MaskedInput.d.ts +3 -2
- package/components/MaskedInput/MaskedInput.helpers/MaskedInput.helpers.js.map +1 -1
- package/components/MaskedInput/MaskedInput.helpers.d.ts +1 -1
- package/components/MaskedInput/MaskedInput.styles/MaskedInput.styles.js +9 -1
- package/components/MaskedInput/MaskedInput.styles/MaskedInput.styles.js.map +1 -1
- package/components/MaskedInput/MaskedInput.styles.d.ts +4 -0
- package/components/MenuFooter/MenuFooter/MenuFooter.js.map +1 -1
- package/components/MenuFooter/MenuFooter.d.ts +4 -3
- package/components/MenuFooter/MenuFooter.styles/MenuFooter.styles.js.map +1 -1
- package/components/MenuFooter/MenuFooter.styles.d.ts +1 -1
- package/components/MenuHeader/MenuHeader/MenuHeader.js.map +1 -1
- package/components/MenuHeader/MenuHeader.d.ts +4 -3
- package/components/MenuHeader/MenuHeader.styles/MenuHeader.styles.js.map +1 -1
- package/components/MenuHeader/MenuHeader.styles.d.ts +1 -1
- package/components/MenuItem/MenuItem/MenuItem.js.map +1 -1
- package/components/MenuItem/MenuItem.d.ts +5 -4
- package/components/MenuItem/MenuItem.styles/MenuItem.styles.js.map +1 -1
- package/components/MenuItem/MenuItem.styles.d.ts +1 -1
- package/components/MenuSeparator/MenuSeparator/MenuSeparator.js.map +1 -1
- package/components/MenuSeparator/MenuSeparator.d.ts +1 -1
- package/components/MenuSeparator/MenuSeparator.styles/MenuSeparator.styles.js.map +1 -1
- package/components/MenuSeparator/MenuSeparator.styles.d.ts +1 -1
- package/components/MiniModal/MiniModal/MiniModal.js.map +1 -1
- package/components/MiniModal/MiniModal.d.ts +2 -1
- package/components/MiniModal/MiniModal.styles/MiniModal.styles.js.map +1 -1
- package/components/MiniModal/MiniModal.styles.d.ts +1 -1
- package/components/MiniModal/MiniModalBody/MiniModalBody.js.map +1 -1
- package/components/MiniModal/MiniModalBody.d.ts +1 -1
- package/components/MiniModal/MiniModalFooter/MiniModalFooter.js.map +1 -1
- package/components/MiniModal/MiniModalFooter.d.ts +1 -1
- package/components/MiniModal/MiniModalHeader/MiniModalHeader.js.map +1 -1
- package/components/MiniModal/MiniModalHeader.d.ts +2 -2
- package/components/MiniModal/getMiniModalTheme/getMiniModalTheme.js.map +1 -1
- package/components/MiniModal/getMiniModalTheme.d.ts +1 -1
- package/components/Modal/Modal/Modal.js.map +1 -1
- package/components/Modal/Modal.d.ts +4 -3
- package/components/Modal/Modal.styles/Modal.styles.js.map +1 -1
- package/components/Modal/Modal.styles.d.ts +1 -1
- package/components/Modal/ModalBody/ModalBody.js.map +1 -1
- package/components/Modal/ModalBody.d.ts +1 -1
- package/components/Modal/ModalClose/ModalClose.js.map +1 -1
- package/components/Modal/ModalClose.d.ts +1 -1
- package/components/Modal/ModalContext/ModalContext.js.map +1 -1
- package/components/Modal/ModalContext.d.ts +1 -1
- package/components/Modal/ModalFooter/ModalFooter.js.map +1 -1
- package/components/Modal/ModalFooter.d.ts +4 -3
- package/components/Modal/ModalHeader/ModalHeader.js.map +1 -1
- package/components/Modal/ModalHeader.d.ts +3 -2
- package/components/Modal/ModalSeparator/ModalSeparator.js.map +1 -1
- package/components/Modal/ModalSeparator.d.ts +1 -1
- package/components/Modal/getModalBodyTheme/getModalBodyTheme.js.map +1 -1
- package/components/Modal/getModalBodyTheme.d.ts +1 -1
- package/components/Modal/getModalTheme/getModalTheme.js.map +1 -1
- package/components/Modal/getModalTheme.d.ts +1 -1
- package/components/Modal/locale/index/index.js.map +1 -1
- package/components/Modal/locale/index.d.ts +1 -1
- package/components/Modal/locale/locales/en/en.js.map +1 -1
- package/components/Modal/locale/locales/en.d.ts +1 -1
- package/components/Modal/locale/locales/ru/ru.js.map +1 -1
- package/components/Modal/locale/locales/ru.d.ts +1 -1
- package/components/Paging/NavigationHelper/NavigationHelper.js.map +1 -1
- package/components/Paging/NavigationHelper.d.ts +1 -1
- package/components/Paging/Paging/Paging.js.map +1 -1
- package/components/Paging/Paging.d.ts +2 -2
- package/components/Paging/Paging.styles/Paging.styles.js.map +1 -1
- package/components/Paging/Paging.styles.d.ts +1 -1
- package/components/Paging/PagingDefaultComponent/PagingDefaultComponent.js.map +1 -1
- package/components/Paging/PagingDefaultComponent.d.ts +1 -1
- package/components/Paging/PagingHelper/PagingHelper.js.map +1 -1
- package/components/Paging/PagingHelper.d.ts +1 -1
- package/components/Paging/locale/index/index.js.map +1 -1
- package/components/Paging/locale/index.d.ts +1 -1
- package/components/Paging/locale/locales/en/en.js.map +1 -1
- package/components/Paging/locale/locales/en.d.ts +1 -1
- package/components/Paging/locale/locales/ru/ru.js.map +1 -1
- package/components/Paging/locale/locales/ru.d.ts +1 -1
- package/components/PasswordInput/PasswordInput/PasswordInput.js.map +1 -1
- package/components/PasswordInput/PasswordInput.d.ts +4 -3
- package/components/PasswordInput/PasswordInput.styles/PasswordInput.styles.js.map +1 -1
- package/components/PasswordInput/PasswordInput.styles.d.ts +1 -1
- package/components/PasswordInput/PasswordInputIcon/PasswordInputIcon.js.map +1 -1
- package/components/PasswordInput/PasswordInputIcon.d.ts +1 -1
- package/components/PasswordInput/locale/index/index.js.map +1 -1
- package/components/PasswordInput/locale/index.d.ts +1 -1
- package/components/PasswordInput/locale/locales/en/en.js.map +1 -1
- package/components/PasswordInput/locale/locales/en.d.ts +1 -1
- package/components/PasswordInput/locale/locales/ru/ru.js.map +1 -1
- package/components/PasswordInput/locale/locales/ru.d.ts +1 -1
- package/components/Radio/Radio/Radio.js.map +1 -1
- package/components/Radio/Radio.d.ts +6 -5
- package/components/Radio/Radio.styles/Radio.styles.js.map +1 -1
- package/components/Radio/Radio.styles.d.ts +1 -1
- package/components/RadioGroup/RadioGroup/RadioGroup.js.map +1 -1
- package/components/RadioGroup/RadioGroup.d.ts +3 -2
- package/components/ResponsiveLayout/ResponsiveLayout/ResponsiveLayout.js.map +1 -1
- package/components/ResponsiveLayout/ResponsiveLayout.d.ts +1 -1
- package/components/ResponsiveLayout/decorator/decorator.js.map +1 -1
- package/components/ResponsiveLayout/decorator.d.ts +1 -1
- package/components/ResponsiveLayout/useResponsiveLayout/useResponsiveLayout.js.map +1 -1
- package/components/ResponsiveLayout/useResponsiveLayout.d.ts +1 -1
- package/components/ScrollContainer/ScrollBar/ScrollBar.js.map +1 -1
- package/components/ScrollContainer/ScrollBar.d.ts +2 -2
- package/components/ScrollContainer/ScrollContainer/ScrollContainer.js.map +1 -1
- package/components/ScrollContainer/ScrollContainer.constants/ScrollContainer.constants.js.map +1 -1
- package/components/ScrollContainer/ScrollContainer.constants.d.ts +1 -1
- package/components/ScrollContainer/ScrollContainer.d.ts +3 -3
- package/components/ScrollContainer/ScrollContainer.helpers/ScrollContainer.helpers.js.map +1 -1
- package/components/ScrollContainer/ScrollContainer.helpers.d.ts +2 -2
- package/components/ScrollContainer/ScrollContainer.styles/ScrollContainer.styles.js.map +1 -1
- package/components/ScrollContainer/ScrollContainer.styles.d.ts +1 -1
- package/components/Select/Select/Select.js.map +1 -1
- package/components/Select/Select.d.ts +7 -6
- package/components/Select/Select.styles/Select.styles.js.map +1 -1
- package/components/Select/Select.styles.d.ts +1 -1
- package/components/Select/locale/index/index.js.map +1 -1
- package/components/Select/locale/index.d.ts +1 -1
- package/components/Select/locale/locales/en/en.js.map +1 -1
- package/components/Select/locale/locales/en.d.ts +1 -1
- package/components/Select/locale/locales/ru/ru.js.map +1 -1
- package/components/Select/locale/locales/ru.d.ts +1 -1
- package/components/Select/locale/types/types.js.map +1 -1
- package/components/Select/locale/types.d.ts +1 -1
- package/components/Select/selectTheme/selectTheme.js.map +1 -1
- package/components/Select/selectTheme.d.ts +2 -2
- package/components/SidePage/SidePage/SidePage.js.map +1 -1
- package/components/SidePage/SidePage.d.ts +3 -2
- package/components/SidePage/SidePage.styles/SidePage.styles.js.map +1 -1
- package/components/SidePage/SidePage.styles.d.ts +1 -1
- package/components/SidePage/SidePageBody/SidePageBody.js.map +1 -1
- package/components/SidePage/SidePageBody.d.ts +2 -2
- package/components/SidePage/SidePageCloseButton/SidePageCloseButton.js.map +1 -1
- package/components/SidePage/SidePageCloseButton.d.ts +1 -1
- package/components/SidePage/SidePageContainer/SidePageContainer.js.map +1 -1
- package/components/SidePage/SidePageContainer.d.ts +1 -1
- package/components/SidePage/SidePageContext/SidePageContext.js.map +1 -1
- package/components/SidePage/SidePageContext.d.ts +2 -2
- package/components/SidePage/SidePageFooter/SidePageFooter.js.map +1 -1
- package/components/SidePage/SidePageFooter.d.ts +3 -3
- package/components/SidePage/SidePageHeader/SidePageHeader.js.map +1 -1
- package/components/SidePage/SidePageHeader.d.ts +2 -2
- package/components/SidePage/locale/index/index.js.map +1 -1
- package/components/SidePage/locale/index.d.ts +1 -1
- package/components/SidePage/locale/locales/en/en.js.map +1 -1
- package/components/SidePage/locale/locales/en.d.ts +1 -1
- package/components/SidePage/locale/locales/ru/ru.js.map +1 -1
- package/components/SidePage/locale/locales/ru.d.ts +1 -1
- package/components/SingleToast/SingleToast/SingleToast.js.map +1 -1
- package/components/SingleToast/SingleToast.d.ts +2 -1
- package/components/Spinner/Spinner/Spinner.js.map +1 -1
- package/components/Spinner/Spinner.d.ts +1 -1
- package/components/Spinner/Spinner.styles/Spinner.styles.js.map +1 -1
- package/components/Spinner/Spinner.styles.d.ts +1 -1
- package/components/Sticky/Sticky/Sticky.js.map +1 -1
- package/components/Sticky/Sticky.d.ts +2 -2
- package/components/Switcher/Switcher/Switcher.js.map +1 -1
- package/components/Switcher/Switcher.d.ts +6 -5
- package/components/Switcher/Switcher.styles/Switcher.styles.js.map +1 -1
- package/components/Switcher/Switcher.styles.d.ts +1 -1
- package/components/Switcher/switcherTheme/switcherTheme.js.map +1 -1
- package/components/Switcher/switcherTheme.d.ts +1 -1
- package/components/Tabs/Indicator/Indicator.js.map +1 -1
- package/components/Tabs/Indicator.d.ts +1 -1
- package/components/Tabs/Indicator.styles/Indicator.styles.js.map +1 -1
- package/components/Tabs/Indicator.styles.d.ts +1 -1
- package/components/Tabs/Tab/Tab.js.map +1 -1
- package/components/Tabs/Tab.d.ts +5 -4
- package/components/Tabs/Tab.styles/Tab.styles.js.map +1 -1
- package/components/Tabs/Tab.styles.d.ts +1 -1
- package/components/Tabs/Tabs/Tabs.js.map +1 -1
- package/components/Tabs/Tabs.d.ts +4 -3
- package/components/Tabs/Tabs.styles/Tabs.styles.js.map +1 -1
- package/components/Tabs/Tabs.styles.d.ts +1 -1
- package/components/Tabs/TabsContext/TabsContext.js.map +1 -1
- package/components/Tabs/TabsContext.d.ts +2 -2
- package/components/Tabs/helpers/helpers.js.map +1 -1
- package/components/Tabs/helpers.d.ts +2 -2
- package/components/Textarea/Textarea/Textarea.js.map +1 -1
- package/components/Textarea/Textarea.d.ts +5 -4
- package/components/Textarea/Textarea.styles/Textarea.styles.js.map +1 -1
- package/components/Textarea/Textarea.styles.d.ts +1 -1
- package/components/Textarea/TextareaCounter/TextareaCounter.js.map +1 -1
- package/components/Textarea/TextareaCounter.d.ts +2 -2
- package/components/Toast/Toast/Toast.js.map +1 -1
- package/components/Toast/Toast.d.ts +5 -4
- package/components/Toast/ToastStatic/ToastStatic.js.map +1 -1
- package/components/Toast/ToastStatic.d.ts +2 -2
- package/components/Toast/ToastView/ToastView.js.map +1 -1
- package/components/Toast/ToastView.d.ts +5 -4
- package/components/Toast/ToastView.styles/ToastView.styles.js.map +1 -1
- package/components/Toast/ToastView.styles.d.ts +1 -1
- package/components/Toast/locale/index/index.js.map +1 -1
- package/components/Toast/locale/index.d.ts +1 -1
- package/components/Toast/locale/locales/en/en.js.map +1 -1
- package/components/Toast/locale/locales/en.d.ts +1 -1
- package/components/Toast/locale/locales/ru/ru.js.map +1 -1
- package/components/Toast/locale/locales/ru.d.ts +1 -1
- package/components/Toggle/Toggle/Toggle.js.map +1 -1
- package/components/Toggle/Toggle.d.ts +4 -3
- package/components/Toggle/Toggle.styles/Toggle.styles.js.map +1 -1
- package/components/Toggle/Toggle.styles.d.ts +1 -1
- package/components/Token/Token/Token.js.map +1 -1
- package/components/Token/Token.d.ts +4 -3
- package/components/Token/Token.styles/Token.styles.js.map +1 -1
- package/components/Token/Token.styles.d.ts +1 -1
- package/components/Token/TokenView/TokenView.js.map +1 -1
- package/components/Token/TokenView.d.ts +3 -2
- package/components/Token/locale/index/index.js.map +1 -1
- package/components/Token/locale/index.d.ts +1 -1
- package/components/Token/locale/locales/en/en.js.map +1 -1
- package/components/Token/locale/locales/en.d.ts +1 -1
- package/components/Token/locale/locales/ru/ru.js.map +1 -1
- package/components/Token/locale/locales/ru.d.ts +1 -1
- package/components/TokenInput/TextWidthHelper/TextWidthHelper.js.map +1 -1
- package/components/TokenInput/TextWidthHelper.d.ts +2 -2
- package/components/TokenInput/TokenInput/TokenInput.js.map +1 -1
- package/components/TokenInput/TokenInput.d.ts +5 -4
- package/components/TokenInput/TokenInput.styles/TokenInput.styles.js.map +1 -1
- package/components/TokenInput/TokenInput.styles.d.ts +1 -1
- package/components/TokenInput/TokenInputMenu/TokenInputMenu.js.map +1 -1
- package/components/TokenInput/TokenInputMenu.d.ts +5 -5
- package/components/TokenInput/TokenInputReducer/TokenInputReducer.js.map +1 -1
- package/components/TokenInput/TokenInputReducer.d.ts +1 -1
- package/components/TokenInput/locale/index/index.js.map +1 -1
- package/components/TokenInput/locale/index.d.ts +1 -1
- package/components/TokenInput/locale/locales/en/en.js.map +1 -1
- package/components/TokenInput/locale/locales/en.d.ts +1 -1
- package/components/TokenInput/locale/locales/ru/ru.js.map +1 -1
- package/components/TokenInput/locale/locales/ru.d.ts +1 -1
- package/components/Tooltip/Tooltip/Tooltip.js.map +1 -1
- package/components/Tooltip/Tooltip.d.ts +5 -5
- package/components/Tooltip/Tooltip.styles/Tooltip.styles.js.map +1 -1
- package/components/Tooltip/Tooltip.styles.d.ts +1 -1
- package/components/TooltipMenu/TooltipMenu/TooltipMenu.js.map +1 -1
- package/components/TooltipMenu/TooltipMenu.d.ts +7 -6
- package/hooks/useDrop/useDrop.js.map +1 -1
- package/hooks/useDrop.d.ts +1 -1
- package/hooks/useEffectWithoutInitCall/useEffectWithoutInitCall.js.map +1 -1
- package/hooks/useEffectWithoutInitCall.d.ts +1 -1
- package/hooks/useMemoObject/useMemoObject.js.map +1 -1
- package/hooks/useMemoObject.d.ts +1 -1
- package/internal/ClearCrossIcon/ClearCrossIcon/ClearCrossIcon.js.map +1 -1
- package/internal/ClearCrossIcon/ClearCrossIcon.d.ts +4 -3
- package/internal/ClearCrossIcon/ClearCrossIcon.styles/ClearCrossIcon.styles.js.map +1 -1
- package/internal/ClearCrossIcon/ClearCrossIcon.styles.d.ts +1 -1
- package/internal/CloseButtonIcon/CloseButtonIcon/CloseButtonIcon.js.map +1 -1
- package/internal/CloseButtonIcon/CloseButtonIcon.d.ts +3 -2
- package/internal/CloseButtonIcon/CloseButtonIcon.styles/CloseButtonIcon.styles.js.map +1 -1
- package/internal/CloseButtonIcon/CloseButtonIcon.styles.d.ts +1 -1
- package/internal/CommonWrapper/CommonWrapper/CommonWrapper.js.map +1 -1
- package/internal/CommonWrapper/types/types.js.map +1 -1
- package/internal/CommonWrapper/types.d.ts +1 -1
- package/internal/CommonWrapper/utils/getCommonVisualStateDataAttributes/getCommonVisualStateDataAttributes.js.map +1 -1
- package/internal/CommonWrapper/utils/getCommonVisualStateDataAttributes.d.ts +1 -1
- package/internal/CommonWrapper/utils/getVisualStateDataAttributes/getVisualStateDataAttributes.js.map +1 -1
- package/internal/CommonWrapper/utils/getVisualStateDataAttributes.d.ts +1 -1
- package/internal/ComponentCombinator/ComponentCombinator.js.map +1 -1
- package/internal/ComponentCombinator.d.ts +2 -2
- package/internal/ComponentTable/ComponentTable.js.map +1 -1
- package/internal/ComponentTable.d.ts +1 -1
- package/internal/CustomComboBox/ComboBoxMenu/ComboBoxMenu.js +4 -4
- package/internal/CustomComboBox/ComboBoxMenu/ComboBoxMenu.js.map +1 -1
- package/internal/CustomComboBox/ComboBoxMenu.d.ts +4 -4
- package/internal/CustomComboBox/ComboBoxView/ComboBoxView.js.map +1 -1
- package/internal/CustomComboBox/ComboBoxView.d.ts +10 -8
- package/internal/CustomComboBox/CustomComboBox/CustomComboBox.js.map +1 -1
- package/internal/CustomComboBox/CustomComboBox.d.ts +10 -9
- package/internal/CustomComboBox/CustomComboBoxReducer/CustomComboBoxReducer.js +9 -5
- package/internal/CustomComboBox/CustomComboBoxReducer/CustomComboBoxReducer.js.map +1 -1
- package/internal/CustomComboBox/CustomComboBoxReducer.d.ts +4 -4
- package/internal/CustomComboBox/getComboBoxTheme/getComboBoxTheme.js.map +1 -1
- package/internal/CustomComboBox/getComboBoxTheme.d.ts +1 -1
- package/internal/CustomComboBox/locale/index/index.js.map +1 -1
- package/internal/CustomComboBox/locale/index.d.ts +1 -1
- package/internal/CustomComboBox/locale/locales/en/en.js.map +1 -1
- package/internal/CustomComboBox/locale/locales/en.d.ts +1 -1
- package/internal/CustomComboBox/locale/locales/ru/ru.js.map +1 -1
- package/internal/CustomComboBox/locale/locales/ru.d.ts +1 -1
- package/internal/DateSelect/DateSelect/DateSelect.js.map +1 -1
- package/internal/DateSelect/DateSelect.styles/DateSelect.styles.js.map +1 -1
- package/internal/DateSelect/DateSelect.styles.d.ts +1 -1
- package/internal/DateSelect/locale/index/index.js.map +1 -1
- package/internal/DateSelect/locale/index.d.ts +1 -1
- package/internal/DateSelect/locale/locales/en/en.js.map +1 -1
- package/internal/DateSelect/locale/locales/en.d.ts +1 -1
- package/internal/DateSelect/locale/locales/ru/ru.js.map +1 -1
- package/internal/DateSelect/locale/locales/ru.d.ts +1 -1
- package/internal/FileUploaderControl/FileUploaderControlContext/FileUploaderControlContext.js.map +1 -1
- package/internal/FileUploaderControl/FileUploaderControlContext.d.ts +2 -2
- package/internal/FileUploaderControl/FileUploaderControlProvider/FileUploaderControlProvider.js.map +1 -1
- package/internal/FileUploaderControl/FileUploaderControlProvider.d.ts +4 -3
- package/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile/FileUploaderFile.js.map +1 -1
- package/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.d.ts +2 -2
- package/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.styles/FileUploaderFile.styles.js.map +1 -1
- package/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.styles.d.ts +1 -1
- package/internal/FileUploaderControl/FileUploaderFile/FileUploaderFileStatusIcon/FileUploaderFileStatusIcon.js.map +1 -1
- package/internal/FileUploaderControl/FileUploaderFile/FileUploaderFileStatusIcon.d.ts +1 -1
- package/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList/FileUploaderFileList.js.map +1 -1
- package/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList.d.ts +2 -2
- package/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList.styles/FileUploaderFileList.styles.js.map +1 -1
- package/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList.styles.d.ts +1 -1
- package/internal/FileUploaderControl/hooks/useFileUploaderSize/useFileUploaderSize.js.map +1 -1
- package/internal/FileUploaderControl/hooks/useFileUploaderSize.d.ts +1 -1
- package/internal/FileUploaderControl/hooks/useUpload/useUpload.js.map +1 -1
- package/internal/FileUploaderControl/hooks/useUpload.d.ts +2 -2
- package/internal/FileUploaderControl/withFileUploaderControlProvider/withFileUploaderControlProvider.js.map +1 -1
- package/internal/FileUploaderControl/withFileUploaderControlProvider.d.ts +4 -3
- package/internal/FocusControlWrapper/FocusControlWrapper/FocusControlWrapper.js.map +1 -1
- package/internal/FocusControlWrapper/FocusControlWrapper.d.ts +2 -1
- package/internal/FocusControlWrapper/useFocusControl/useFocusControl.js.map +1 -1
- package/internal/FocusControlWrapper/useFocusControl.d.ts +1 -1
- package/internal/FocusTrap/FocusTrap/FocusTrap.js.map +1 -1
- package/internal/FocusTrap/FocusTrap.d.ts +1 -1
- package/internal/IgnoreLayerClick/IgnoreLayerClick/IgnoreLayerClick.js.map +1 -1
- package/internal/InputLikeText/InputLikeText/InputLikeText.js.map +1 -1
- package/internal/InputLikeText/InputLikeText.d.ts +3 -3
- package/internal/InternalMaskedInput/InternalMaskedInput/InternalMaskedInput.js.map +1 -1
- package/internal/InternalMaskedInput/InternalMaskedInput.styles/InternalMaskedInput.styles.js.map +1 -1
- package/internal/InternalMaskedInput/InternalMaskedInput.styles.d.ts +1 -1
- package/internal/Menu/Menu/Menu.js.map +1 -1
- package/internal/Menu/Menu.d.ts +4 -3
- package/internal/Menu/Menu.styles/Menu.styles.js.map +1 -1
- package/internal/Menu/Menu.styles.d.ts +1 -1
- package/internal/Menu/MenuContext/MenuContext.js.map +1 -1
- package/internal/Menu/MenuContext.d.ts +2 -2
- package/internal/Menu/MenuNavigation/MenuNavigation.js.map +1 -1
- package/internal/Menu/MenuNavigation.d.ts +2 -1
- package/internal/Menu/isActiveElement/isActiveElement.js.map +1 -1
- package/internal/Menu/isActiveElement.d.ts +2 -2
- package/internal/MenuMessage/MenuMessage/MenuMessage.js.map +1 -1
- package/internal/MenuMessage/MenuMessage.d.ts +2 -2
- package/internal/MenuMessage/MenuMessage.styles/MenuMessage.styles.js.map +1 -1
- package/internal/MenuMessage/MenuMessage.styles.d.ts +1 -1
- package/internal/MobilePopup/MobilePopup/MobilePopup.js.map +1 -1
- package/internal/MobilePopup/MobilePopup.d.ts +2 -1
- package/internal/MobilePopup/MobilePopup.styles/MobilePopup.styles.js.map +1 -1
- package/internal/MobilePopup/MobilePopup.styles.d.ts +1 -1
- package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter/MobilePopupFooter.js.map +1 -1
- package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.styles/MobilePopupFooter.styles.js.map +1 -1
- package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.styles.d.ts +1 -1
- package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader/MobilePopupHeader.js.map +1 -1
- package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.styles/MobilePopupHeader.styles.js.map +1 -1
- package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.styles.d.ts +1 -1
- package/internal/NativeDateInput/NativeDateInput/NativeDateInput.js.map +1 -1
- package/internal/NativeDateInput/NativeDateInput.d.ts +1 -1
- package/internal/NativeDateInput/utils/utils.js.map +1 -1
- package/internal/NativeDateInput/utils.d.ts +2 -2
- package/internal/PerformanceMetrics/PerformanceMetrics/PerformanceMetrics.js.map +1 -1
- package/internal/Popup/Popup/Popup.js.map +1 -1
- package/internal/Popup/Popup.d.ts +7 -6
- package/internal/Popup/Popup.styles/Popup.styles.js.map +1 -1
- package/internal/Popup/Popup.styles.d.ts +1 -1
- package/internal/Popup/PopupHelper/PopupHelper.js.map +1 -1
- package/internal/Popup/PopupHelper.d.ts +1 -1
- package/internal/Popup/PopupPin/PopupPin.js.map +1 -1
- package/internal/Popup/PopupPin.d.ts +1 -1
- package/internal/Popup/types/types.js.map +1 -1
- package/internal/Popup/types.d.ts +1 -1
- package/internal/PopupMenu/PopupMenu/PopupMenu.js.map +1 -1
- package/internal/PopupMenu/PopupMenu.d.ts +6 -5
- package/internal/PopupMenu/validatePositions/validatePositions.js.map +1 -1
- package/internal/PopupMenu/validatePositions.d.ts +1 -1
- package/internal/RenderContainer/RenderContainer/RenderContainer.js.map +1 -1
- package/internal/RenderContainer/RenderContainer.d.ts +1 -1
- package/internal/RenderContainer/RenderContainerTypes/RenderContainerTypes.js.map +1 -1
- package/internal/RenderContainer/RenderContainerTypes.d.ts +3 -3
- package/internal/RenderContainer/RenderInnerContainer/RenderInnerContainer.js.map +1 -1
- package/internal/RenderContainer/RenderInnerContainer.d.ts +2 -2
- package/internal/RenderLayer/RenderLayer/RenderLayer.js.map +1 -1
- package/internal/RenderLayer/RenderLayer.d.ts +2 -2
- package/internal/ThemePlayground/AnotherInputsPlayground/AnotherInputsPlayground.js.map +1 -1
- package/internal/ThemePlayground/AnotherInputsPlayground.d.ts +2 -2
- package/internal/ThemePlayground/CheckboxPlayground/CheckboxPlayground.js.map +1 -1
- package/internal/ThemePlayground/ComponentsGroup/ComponentsGroup.js.map +1 -1
- package/internal/ThemePlayground/ComponentsGroup.d.ts +1 -1
- package/internal/ThemePlayground/CurrencyInputPlayground/CurrencyInputPlayground.js.map +1 -1
- package/internal/ThemePlayground/CurrencyInputPlayground.d.ts +2 -2
- package/internal/ThemePlayground/Playground/Playground.js.map +1 -1
- package/internal/ThemePlayground/Playground.styles/Playground.styles.js.map +1 -1
- package/internal/ThemePlayground/Playground.styles.d.ts +1 -1
- package/internal/ThemePlayground/RadioPlayground/RadioPlayground.js.map +1 -1
- package/internal/ThemePlayground/SelectPlayground/SelectPlayground.js.map +1 -1
- package/internal/ThemePlayground/SelectPlayground.d.ts +1 -1
- package/internal/ThemePlayground/SizesGroup/SizesGroup.js.map +1 -1
- package/internal/ThemePlayground/SizesGroup.d.ts +1 -1
- package/internal/ThemePlayground/SwitcherPlayground/SwitcherPlayground.js.map +1 -1
- package/internal/ThemePlayground/SwitcherPlayground.d.ts +1 -1
- package/internal/ThemePlayground/ThemeContextPlayground/ThemeContextPlayground.js.map +1 -1
- package/internal/ThemePlayground/ThemeContextPlayground.d.ts +4 -3
- package/internal/ThemePlayground/ThemeEditor/ThemeEditor.js.map +1 -1
- package/internal/ThemePlayground/ThemeEditor.d.ts +2 -2
- package/internal/ThemePlayground/UnlinkVarsPlayground/UnlinkVarsPlayground.js.map +1 -1
- package/internal/ThemePlayground/VariableValue/VariableValue.js.map +1 -1
- package/internal/ThemePlayground/VariableValue.d.ts +1 -1
- package/internal/ThemePlayground/__creevey__/Theme5_0.stories.d.ts +1 -1
- package/internal/ThemePlayground/constants/constants.js.map +1 -1
- package/internal/ThemePlayground/constants.d.ts +1 -1
- package/internal/ThemeShowcase/ThemeShowcase/ThemeShowcase.js.map +1 -1
- package/internal/ThemeShowcase/ThemeShowcase.d.ts +1 -1
- package/internal/ThemeShowcase/ThemeShowcase.styles/ThemeShowcase.styles.js.map +1 -1
- package/internal/ThemeShowcase/ThemeShowcase.styles.d.ts +1 -1
- package/internal/ThemeShowcase/VariablesCollector/VariablesCollector.js.map +1 -1
- package/internal/ThemeShowcase/VariablesCollector.d.ts +2 -2
- package/internal/ZIndex/ZIndex/ZIndex.js.map +1 -1
- package/internal/ZIndex/ZIndex.d.ts +1 -1
- package/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon16Light/ArrowALeftIcon16Light.js.map +1 -1
- package/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon16Light.d.ts +1 -1
- package/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon20Light/ArrowALeftIcon20Light.js.map +1 -1
- package/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon20Light.d.ts +1 -1
- package/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon24Regular/ArrowALeftIcon24Regular.js.map +1 -1
- package/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon24Regular.d.ts +1 -1
- package/internal/icons2022/ArrowARightIcon/ArrowARightIcon16Light/ArrowARightIcon16Light.js.map +1 -1
- package/internal/icons2022/ArrowARightIcon/ArrowARightIcon16Light.d.ts +1 -1
- package/internal/icons2022/ArrowARightIcon/ArrowARightIcon20Light/ArrowARightIcon20Light.js.map +1 -1
- package/internal/icons2022/ArrowARightIcon/ArrowARightIcon20Light.d.ts +1 -1
- package/internal/icons2022/ArrowARightIcon/ArrowARightIcon24Regular/ArrowARightIcon24Regular.js.map +1 -1
- package/internal/icons2022/ArrowARightIcon/ArrowARightIcon24Regular.d.ts +1 -1
- package/internal/icons2022/ArrowAUpIcon/ArrowAUp16Light/ArrowAUp16Light.js.map +1 -1
- package/internal/icons2022/ArrowAUpIcon/ArrowAUp16Light.d.ts +1 -1
- package/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon16Regular/ArrowCDownIcon16Regular.js.map +1 -1
- package/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon16Regular.d.ts +1 -1
- package/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon20Regular/ArrowCDownIcon20Regular.js.map +1 -1
- package/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon20Regular.d.ts +1 -1
- package/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon24Regular/ArrowCDownIcon24Regular.js.map +1 -1
- package/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon24Regular.d.ts +1 -1
- package/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon16Light/ArrowCRightIcon16Light.js.map +1 -1
- package/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon16Light.d.ts +1 -1
- package/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon20Light/ArrowCRightIcon20Light.js.map +1 -1
- package/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon20Light.d.ts +1 -1
- package/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon24Regular/ArrowCRightIcon24Regular.js.map +1 -1
- package/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon24Regular.d.ts +1 -1
- package/internal/icons2022/ArrowCUpIcon/ArrowCUpIcon16Regular/ArrowCUpIcon16Regular.js.map +1 -1
- package/internal/icons2022/ArrowCUpIcon/ArrowCUpIcon16Regular.d.ts +1 -1
- package/internal/icons2022/ArrowCollapseCVOpenIcon/ArrowCollapseCVOpenIcon16Regular/ArrowCollapseCVOpenIcon16Regular.js.map +1 -1
- package/internal/icons2022/ArrowCollapseCVOpenIcon/ArrowCollapseCVOpenIcon16Regular.d.ts +1 -1
- package/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon16Light/ArrowShapeDRadiusUpLeftIcon16Light.js.map +1 -1
- package/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon16Light.d.ts +1 -1
- package/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon20Light/ArrowShapeDRadiusUpLeftIcon20Light.js.map +1 -1
- package/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon20Light.d.ts +1 -1
- package/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon24Regular/ArrowShapeDRadiusUpLeftIcon24Regular.js.map +1 -1
- package/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon24Regular.d.ts +1 -1
- package/internal/icons2022/BaseIcon/BaseIcon.js.map +1 -1
- package/internal/icons2022/BaseIcon.d.ts +1 -1
- package/internal/icons2022/CalendarIcon/CalendarIcon16Light/CalendarIcon16Light.js.map +1 -1
- package/internal/icons2022/CalendarIcon/CalendarIcon16Light.d.ts +1 -1
- package/internal/icons2022/CalendarIcon/CalendarIcon20Light/CalendarIcon20Light.js.map +1 -1
- package/internal/icons2022/CalendarIcon/CalendarIcon20Light.d.ts +1 -1
- package/internal/icons2022/CalendarIcon/CalendarIcon24Regular/CalendarIcon24Regular.js.map +1 -1
- package/internal/icons2022/CalendarIcon/CalendarIcon24Regular.d.ts +1 -1
- package/internal/icons2022/CheckAIcon/CheckAIcon16Light/CheckAIcon16Light.js.map +1 -1
- package/internal/icons2022/CheckAIcon/CheckAIcon16Light.d.ts +1 -1
- package/internal/icons2022/CheckAIcon/CheckAIcon16Regular/CheckAIcon16Regular.js.map +1 -1
- package/internal/icons2022/CheckAIcon/CheckAIcon16Regular.d.ts +1 -1
- package/internal/icons2022/CheckAIcon/CheckAIcon16Solid/CheckAIcon16Solid.js.map +1 -1
- package/internal/icons2022/CheckAIcon/CheckAIcon16Solid.d.ts +1 -1
- package/internal/icons2022/CheckAIcon/CheckAIcon20Light/CheckAIcon20Light.js.map +1 -1
- package/internal/icons2022/CheckAIcon/CheckAIcon20Light.d.ts +1 -1
- package/internal/icons2022/CheckAIcon/CheckAIcon20Solid/CheckAIcon20Solid.js.map +1 -1
- package/internal/icons2022/CheckAIcon/CheckAIcon20Solid.d.ts +1 -1
- package/internal/icons2022/CheckAIcon/CheckAIcon24Regular/CheckAIcon24Regular.js.map +1 -1
- package/internal/icons2022/CheckAIcon/CheckAIcon24Regular.d.ts +1 -1
- package/internal/icons2022/EyeClosedIcon/EyeClosedIcon16Light/EyeClosedIcon16Light.js.map +1 -1
- package/internal/icons2022/EyeClosedIcon/EyeClosedIcon16Light.d.ts +1 -1
- package/internal/icons2022/EyeClosedIcon/EyeClosedIcon20Light/EyeClosedIcon20Light.js.map +1 -1
- package/internal/icons2022/EyeClosedIcon/EyeClosedIcon20Light.d.ts +1 -1
- package/internal/icons2022/EyeClosedIcon/EyeClosedIcon24Regular/EyeClosedIcon24Regular.js.map +1 -1
- package/internal/icons2022/EyeClosedIcon/EyeClosedIcon24Regular.d.ts +1 -1
- package/internal/icons2022/EyeOpenIcon/EyeOpenIcon16Light/EyeOpenIcon16Light.js.map +1 -1
- package/internal/icons2022/EyeOpenIcon/EyeOpenIcon16Light.d.ts +1 -1
- package/internal/icons2022/EyeOpenIcon/EyeOpenIcon20Light/EyeOpenIcon20Light.js.map +1 -1
- package/internal/icons2022/EyeOpenIcon/EyeOpenIcon20Light.d.ts +1 -1
- package/internal/icons2022/EyeOpenIcon/EyeOpenIcon24Regular/EyeOpenIcon24Regular.js.map +1 -1
- package/internal/icons2022/EyeOpenIcon/EyeOpenIcon24Regular.d.ts +1 -1
- package/internal/icons2022/InfoCircleIcon/InfoCircleIcon64Regular/InfoCircleIcon64Regular.js.map +1 -1
- package/internal/icons2022/InfoCircleIcon/InfoCircleIcon64Regular.d.ts +1 -1
- package/internal/icons2022/LoadingIcon/LoadingIcon.js.map +1 -1
- package/internal/icons2022/LoadingIcon.d.ts +1 -1
- package/internal/icons2022/MathFunctionIcon/MathFunctionIcon16Light/MathFunctionIcon16Light.js.map +1 -1
- package/internal/icons2022/MathFunctionIcon/MathFunctionIcon16Light.d.ts +1 -1
- package/internal/icons2022/MathFunctionIcon/MathFunctionIcon20Light/MathFunctionIcon20Light.js.map +1 -1
- package/internal/icons2022/MathFunctionIcon/MathFunctionIcon20Light.d.ts +1 -1
- package/internal/icons2022/MathFunctionIcon/MathFunctionIcon24Regular/MathFunctionIcon24Regular.js.map +1 -1
- package/internal/icons2022/MathFunctionIcon/MathFunctionIcon24Regular.d.ts +1 -1
- package/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Light/MinusCircleIcon16Light.js.map +1 -1
- package/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Light.d.ts +1 -1
- package/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Regular/MinusCircleIcon16Regular.js.map +1 -1
- package/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Regular.d.ts +1 -1
- package/internal/icons2022/MinusCircleIcon/MinusCircleIcon20Light/MinusCircleIcon20Light.js.map +1 -1
- package/internal/icons2022/MinusCircleIcon/MinusCircleIcon20Light.d.ts +1 -1
- package/internal/icons2022/MinusCircleIcon/MinusCircleIcon24Regular/MinusCircleIcon24Regular.js.map +1 -1
- package/internal/icons2022/MinusCircleIcon/MinusCircleIcon24Regular.d.ts +1 -1
- package/internal/icons2022/NetUploadIcon/NetUploadIcon16Light/NetUploadIcon16Light.js.map +1 -1
- package/internal/icons2022/NetUploadIcon/NetUploadIcon16Light.d.ts +1 -1
- package/internal/icons2022/NetUploadIcon/NetUploadIcon20Light/NetUploadIcon20Light.js.map +1 -1
- package/internal/icons2022/NetUploadIcon/NetUploadIcon20Light.d.ts +1 -1
- package/internal/icons2022/NetUploadIcon/NetUploadIcon24Regular/NetUploadIcon24Regular.js.map +1 -1
- package/internal/icons2022/NetUploadIcon/NetUploadIcon24Regular.d.ts +1 -1
- package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon16Solid/QuestionCircleIcon16Solid.js.map +1 -1
- package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon16Solid.d.ts +1 -1
- package/internal/icons2022/SearchLoupeIcon/SearchLoupeIcon16Regular/SearchLoupeIcon16Regular.js.map +1 -1
- package/internal/icons2022/SearchLoupeIcon/SearchLoupeIcon16Regular.d.ts +1 -1
- package/internal/icons2022/ShapeSquareIcon/ShapeSquareIcon16Solid/ShapeSquareIcon16Solid.js.map +1 -1
- package/internal/icons2022/ShapeSquareIcon/ShapeSquareIcon16Solid.d.ts +1 -1
- package/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon16Light/UiMenuDotsThreeVIcon16Light.js.map +1 -1
- package/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon16Light.d.ts +1 -1
- package/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon20Regular/UiMenuDotsThreeVIcon20Regular.js.map +1 -1
- package/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon20Regular.d.ts +1 -1
- package/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon24Regular/UiMenuDotsThreeVIcon24Regular.js.map +1 -1
- package/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon24Regular.d.ts +1 -1
- package/internal/icons2022/XIcon/XIcon16Light/XIcon16Light.js.map +1 -1
- package/internal/icons2022/XIcon/XIcon16Light.d.ts +1 -1
- package/internal/icons2022/XIcon/XIcon16Regular/XIcon16Regular.js.map +1 -1
- package/internal/icons2022/XIcon/XIcon16Regular.d.ts +1 -1
- package/internal/icons2022/XIcon/XIcon20Light/XIcon20Light.js.map +1 -1
- package/internal/icons2022/XIcon/XIcon20Light.d.ts +1 -1
- package/internal/icons2022/XIcon/XIcon20Regular/XIcon20Regular.js.map +1 -1
- package/internal/icons2022/XIcon/XIcon20Regular.d.ts +1 -1
- package/internal/icons2022/XIcon/XIcon24Regular/XIcon24Regular.js.map +1 -1
- package/internal/icons2022/XIcon/XIcon24Regular.d.ts +1 -1
- package/internal/icons2022/iconSizer/iconSizer.js.map +1 -1
- package/internal/icons2022/iconSizer.d.ts +2 -2
- package/internal/themes/BasicTheme/BasicTheme.js +1 -0
- package/internal/themes/BasicTheme/BasicTheme.js.map +1 -1
- package/internal/themes/BasicTheme.d.ts +1 -0
- package/lib/InstanceWithAnchorElement/InstanceWithAnchorElement.js.map +1 -1
- package/lib/InstanceWithAnchorElement.d.ts +1 -1
- package/lib/ModalStack/ModalStack.js.map +1 -1
- package/lib/ModalStack.d.ts +1 -1
- package/lib/callChildRef/callChildRef/callChildRef.js.map +1 -1
- package/lib/callChildRef/callChildRef.d.ts +2 -2
- package/lib/createPropsGetter/createPropsGetter.js.map +1 -1
- package/lib/createPropsGetter.d.ts +1 -1
- package/lib/date/InternalDate/InternalDate.js.map +1 -1
- package/lib/date/InternalDate.d.ts +2 -1
- package/lib/date/InternalDateCalculator/InternalDateCalculator.js.map +1 -1
- package/lib/date/InternalDateCalculator.d.ts +2 -1
- package/lib/date/InternalDateGetter/InternalDateGetter.js.map +1 -1
- package/lib/date/InternalDateGetter.d.ts +3 -2
- package/lib/date/InternalDateSetter/InternalDateSetter.js.map +1 -1
- package/lib/date/InternalDateSetter.d.ts +3 -2
- package/lib/date/InternalDateTransformer/InternalDateTransformer.js.map +1 -1
- package/lib/date/InternalDateTransformer.d.ts +2 -1
- package/lib/date/InternalDateValidator/InternalDateValidator.js.map +1 -1
- package/lib/date/InternalDateValidator.d.ts +3 -2
- package/lib/date/localeSets/localeSets.js.map +1 -1
- package/lib/date/localeSets.d.ts +1 -1
- package/lib/date/types/types.js.map +1 -1
- package/lib/date/types.d.ts +1 -1
- package/lib/dom/getDOMRect/getDOMRect.js.map +1 -1
- package/lib/dom/getDOMRect.d.ts +1 -1
- package/lib/dom/tabbableHelpers/tabbableHelpers.js.map +1 -1
- package/lib/dom/tabbableHelpers.d.ts +2 -2
- package/lib/events/fixFirefoxModifiedClickOnLabel/fixFirefoxModifiedClickOnLabel.js.map +1 -1
- package/lib/events/fixFirefoxModifiedClickOnLabel.d.ts +1 -1
- package/lib/events/keyboard/extractCode/extractCode.js.map +1 -1
- package/lib/extractKeyboardAction/extractKeyboardAction.js.map +1 -1
- package/lib/extractKeyboardAction.d.ts +1 -1
- package/lib/featureFlagsContext/FeatureFlagsHelpers/FeatureFlagsHelpers.js.map +1 -1
- package/lib/featureFlagsContext/FeatureFlagsHelpers.d.ts +1 -1
- package/lib/getDisplayName/getDisplayName.js.map +1 -1
- package/lib/getDisplayName.d.ts +2 -2
- package/lib/locale/LocaleContext/LocaleContext.js.map +1 -1
- package/lib/locale/LocaleContext.d.ts +1 -1
- package/lib/locale/LocaleHelper/LocaleHelper.js.map +1 -1
- package/lib/locale/LocaleHelper.d.ts +1 -1
- package/lib/locale/decorators/decorators.js.map +1 -1
- package/lib/locale/decorators.d.ts +3 -3
- package/lib/locale/types/types.js.map +1 -1
- package/lib/locale/types.d.ts +10 -10
- package/lib/locale/useLocaleForControl/useLocaleForControl.js.map +1 -1
- package/lib/locale/useLocaleForControl.d.ts +2 -2
- package/lib/mergeRefs/mergeRefs.js.map +1 -1
- package/lib/mergeRefs.d.ts +1 -1
- package/lib/rootNode/getRootNode/getRootNode.js.map +1 -1
- package/lib/rootNode/getRootNode.d.ts +2 -2
- package/lib/rootNode/rootNodeDecorator/rootNodeDecorator.js.map +1 -1
- package/lib/rootNode/rootNodeDecorator.d.ts +2 -2
- package/lib/styles/ColorFactory/ColorFactory.js.map +1 -1
- package/lib/styles/ColorFunctions/ColorFunctions.js.map +1 -1
- package/lib/styles/ColorObject/ColorObject.js.map +1 -1
- package/lib/styles/ColorObject.d.ts +1 -1
- package/lib/styles/UiFont/UiFont.js +4 -20
- package/lib/styles/UiFont/UiFont.js.map +1 -1
- package/lib/styles/UiFont.d.ts +1 -4
- package/lib/taskWithDelayAndMinimalDuration/taskWithDelayAndMinimalDuration.js.map +1 -1
- package/lib/theming/AnimationKeyframes/AnimationKeyframes.js.map +1 -1
- package/lib/theming/AnimationKeyframes.d.ts +1 -1
- package/lib/theming/Emotion/Emotion.js.map +1 -1
- package/lib/theming/Emotion.d.ts +1 -1
- package/lib/theming/Theme/Theme.js.map +1 -1
- package/lib/theming/Theme.d.ts +2 -1
- package/lib/theming/ThemeFactory/ThemeFactory.js.map +1 -1
- package/lib/theming/ThemeFactory.d.ts +2 -2
- package/lib/theming/ThemeHelpers/ThemeHelpers.js.map +1 -1
- package/lib/theming/ThemeHelpers.d.ts +2 -2
- package/lib/types/polymorphic-component/polymorphic-component.js.map +1 -1
- package/lib/types/polymorphic-component.d.ts +2 -2
- package/lib/withClassWrapper/withClassWrapper.js.map +1 -1
- package/lib/withClassWrapper.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["css","memoizeStyle","styles","root","t","width","parseInt","calendarCellWidth","_templateObject","_taggedTemplateLiteralLoose","calendarBg","calendarBorderRadius","textColorDefault","calendarPaddingX","wrapper","_templateObject2","separator","_templateObject3","calendarBottomSeparatorBorder","calendarMonthTitleMarginX"],"sources":["Calendar.styles.ts"],"sourcesContent":["import { css, memoizeStyle } from '../../lib/theming/Emotion';\nimport { Theme } from '../../lib/theming/Theme';\n\nexport const styles = memoizeStyle({\n root(t: Theme) {\n const width = parseInt(t.calendarCellWidth) * 7;\n return css`\n background: ${t.calendarBg};\n box-sizing: content-box;\n border-radius: ${t.calendarBorderRadius};\n color: ${t.textColorDefault};\n display: block;\n padding: 0 ${t.calendarPaddingX};\n width: ${width}px;\n touch-action: none;\n `;\n },\n\n wrapper() {\n return css`\n font-size: 14px;\n position: relative;\n overflow: hidden;\n `;\n },\n\n separator(t: Theme) {\n return css`\n border-bottom: ${t.calendarBottomSeparatorBorder};\n margin: 0 ${t.calendarMonthTitleMarginX};\n `;\n },\n});\n"],"mappings":"wJAAA,SAASA,GAAG,EAAEC,YAAY,QAAQ,2BAA2B;;;AAG7D,OAAO,IAAMC,MAAM,GAAGD,YAAY,CAAC;EACjCE,IAAI,WAAAA,KAACC,CAAQ,EAAE;IACb,IAAMC,KAAK,GAAGC,QAAQ,CAACF,CAAC,CAACG,iBAAiB,CAAC,GAAG,CAAC;IAC/C,OAAOP,GAAG,CAAAQ,eAAA,KAAAA,eAAA,GAAAC,2BAAA;IACML,CAAC,CAACM,UAAU;;IAETN,CAAC,CAACO,oBAAoB;IAC9BP,CAAC,CAACQ,gBAAgB;;IAEdR,CAAC,CAACS,gBAAgB;IACtBR,KAAK;;;EAGlB,CAAC;;EAEDS,OAAO,WAAAA,QAAA,EAAG;IACR,OAAOd,GAAG,CAAAe,gBAAA,KAAAA,gBAAA,GAAAN,2BAAA;;;;;EAKZ,CAAC;;EAEDO,SAAS,WAAAA,UAACZ,CAAQ,EAAE;IAClB,OAAOJ,GAAG,CAAAiB,gBAAA,KAAAA,gBAAA,GAAAR,2BAAA;IACSL,CAAC,CAACc,6BAA6B;IACpCd,CAAC,CAACe,yBAAyB;;EAE3C;AACF,CAAC,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["css","memoizeStyle","styles","root","t","width","parseInt","calendarCellWidth","_templateObject","_taggedTemplateLiteralLoose","calendarBg","calendarBorderRadius","textColorDefault","calendarPaddingX","wrapper","_templateObject2","separator","_templateObject3","calendarBottomSeparatorBorder","calendarMonthTitleMarginX"],"sources":["Calendar.styles.ts"],"sourcesContent":["import { css, memoizeStyle } from '../../lib/theming/Emotion';\nimport type { Theme } from '../../lib/theming/Theme';\n\nexport const styles = memoizeStyle({\n root(t: Theme) {\n const width = parseInt(t.calendarCellWidth) * 7;\n return css`\n background: ${t.calendarBg};\n box-sizing: content-box;\n border-radius: ${t.calendarBorderRadius};\n color: ${t.textColorDefault};\n display: block;\n padding: 0 ${t.calendarPaddingX};\n width: ${width}px;\n touch-action: none;\n `;\n },\n\n wrapper() {\n return css`\n font-size: 14px;\n position: relative;\n overflow: hidden;\n `;\n },\n\n separator(t: Theme) {\n return css`\n border-bottom: ${t.calendarBottomSeparatorBorder};\n margin: 0 ${t.calendarMonthTitleMarginX};\n `;\n },\n});\n"],"mappings":"wJAAA,SAASA,GAAG,EAAEC,YAAY,QAAQ,2BAA2B;;;AAG7D,OAAO,IAAMC,MAAM,GAAGD,YAAY,CAAC;EACjCE,IAAI,WAAAA,KAACC,CAAQ,EAAE;IACb,IAAMC,KAAK,GAAGC,QAAQ,CAACF,CAAC,CAACG,iBAAiB,CAAC,GAAG,CAAC;IAC/C,OAAOP,GAAG,CAAAQ,eAAA,KAAAA,eAAA,GAAAC,2BAAA;IACML,CAAC,CAACM,UAAU;;IAETN,CAAC,CAACO,oBAAoB;IAC9BP,CAAC,CAACQ,gBAAgB;;IAEdR,CAAC,CAACS,gBAAgB;IACtBR,KAAK;;;EAGlB,CAAC;;EAEDS,OAAO,WAAAA,QAAA,EAAG;IACR,OAAOd,GAAG,CAAAe,gBAAA,KAAAA,gBAAA,GAAAN,2BAAA;;;;;EAKZ,CAAC;;EAEDO,SAAS,WAAAA,UAACZ,CAAQ,EAAE;IAClB,OAAOJ,GAAG,CAAAiB,gBAAA,KAAAA,gBAAA,GAAAR,2BAAA;IACSL,CAAC,CAACc,6BAA6B;IACpCd,CAAC,CAACe,yBAAyB;;EAE3C;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createContext","CalendarContext"],"sources":["CalendarContext.ts"],"sourcesContent":["import { createContext } from 'react';\n\nimport { CalendarDateShape } from './CalendarDateShape';\nimport { CalendarProps } from './Calendar';\n\nexport interface CalendarContextProps {\n renderDay?: CalendarProps['renderDay'];\n value?: CalendarDateShape;\n minDate?: CalendarDateShape;\n maxDate?: CalendarDateShape;\n isHoliday?: CalendarProps['isHoliday'];\n today?: CalendarDateShape;\n onDateClick?: (date: CalendarDateShape) => void;\n}\n\nexport const CalendarContext = createContext<CalendarContextProps>({});\n"],"mappings":"AAAA,SAASA,aAAa,QAAQ,OAAO;;;;;;;;;;;;;;;AAerC,OAAO,IAAMC,eAAe,gBAAGD,aAAa,CAAuB,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["createContext","CalendarContext"],"sources":["CalendarContext.ts"],"sourcesContent":["import { createContext } from 'react';\n\nimport type { CalendarDateShape } from './CalendarDateShape';\nimport type { CalendarProps } from './Calendar';\n\nexport interface CalendarContextProps {\n renderDay?: CalendarProps['renderDay'];\n value?: CalendarDateShape;\n minDate?: CalendarDateShape;\n maxDate?: CalendarDateShape;\n isHoliday?: CalendarProps['isHoliday'];\n today?: CalendarDateShape;\n onDateClick?: (date: CalendarDateShape) => void;\n}\n\nexport const CalendarContext = createContext<CalendarContextProps>({});\n"],"mappings":"AAAA,SAASA,aAAa,QAAQ,OAAO;;;;;;;;;;;;;;;AAerC,OAAO,IAAMC,eAAe,gBAAGD,aAAa,CAAuB,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CalendarDateShape } from './CalendarDateShape';
|
|
2
|
-
import { CalendarProps } from './Calendar';
|
|
1
|
+
import type { CalendarDateShape } from './CalendarDateShape';
|
|
2
|
+
import type { CalendarProps } from './Calendar';
|
|
3
3
|
export interface CalendarContextProps {
|
|
4
4
|
renderDay?: CalendarProps['renderDay'];
|
|
5
5
|
value?: CalendarDateShape;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["isEqual","a","b","Boolean","year","month","date","comparator","create","isLess","left","right","isLessOrEqual","isGreater","isGreaterOrEqual","isBetween","fromString","dateString","_dateString$split$map","split","map","Number","toString","_ref","_map","x","d","m","y","padStart"],"sources":["CalendarDateShape.ts"],"sourcesContent":["import { Nullable } from '../../typings/utility-types';\n\nexport interface CalendarDateShape {\n year: number;\n month: number;\n date: number;\n}\n\nexport const isEqual = (a: Nullable<CalendarDateShape>, b: Nullable<CalendarDateShape>) =>\n Boolean((!a && !b) || (a && b && a.year === b.year && a.month === b.month && a.date === b.date));\n\nexport const comparator = (a: CalendarDateShape, b: CalendarDateShape) => {\n if (a.year < b.year) {\n return -1;\n } else if (a.year > b.year) {\n return 1;\n } else if (a.month < b.month) {\n return -1;\n } else if (a.month > b.month) {\n return 1;\n } else if (a.date < b.date) {\n return -1;\n } else if (a.date > b.date) {\n return 1;\n }\n return 0;\n};\n\nexport const create = (date: number, month: number, year: number): CalendarDateShape => ({ date, month, year });\n\nexport const isLess = (left: CalendarDateShape, right: CalendarDateShape) => comparator(left, right) === -1;\n\nexport const isLessOrEqual = (left: CalendarDateShape, right: CalendarDateShape) =>\n isLess(left, right) || isEqual(left, right);\n\nexport const isGreater = (left: CalendarDateShape, right: CalendarDateShape) => !isLessOrEqual(left, right);\n\nexport const isGreaterOrEqual = (left: CalendarDateShape, right: CalendarDateShape) => !isLess(left, right);\n\nexport const isBetween = (\n date: CalendarDateShape,\n left?: Nullable<CalendarDateShape>,\n right?: Nullable<CalendarDateShape>,\n) => {\n if (left && isLess(date, left)) {\n return false;\n }\n if (right && isGreater(date, right)) {\n return false;\n }\n return true;\n};\n\nexport const fromString = (dateString: string): CalendarDateShape => {\n const [date, month, year] = dateString.split('.').map(Number);\n return create(date, month, year);\n};\n\nexport const toString = ({ date, month, year }: CalendarDateShape): string => {\n const [d, m, y] = [date, month, year].map((x) => x.toString());\n return `${d.padStart(2, '0')}.${m.padStart(2, '0')}.${y.padStart(4, '0')}`;\n};\n"],"mappings":";;;;;;;;AAQA,OAAO,IAAMA,OAAO,GAAG,SAAVA,OAAOA,CAAIC,CAA8B,EAAEC,CAA8B;IACpFC,OAAO,CAAE,CAACF,CAAC,IAAI,CAACC,CAAC,IAAMD,CAAC,IAAIC,CAAC,IAAID,CAAC,CAACG,IAAI,KAAKF,CAAC,CAACE,IAAI,IAAIH,CAAC,CAACI,KAAK,KAAKH,CAAC,CAACG,KAAK,IAAIJ,CAAC,CAACK,IAAI,KAAKJ,CAAC,CAACI,IAAK,CAAC;;AAElG,OAAO,IAAMC,UAAU,GAAG,SAAbA,UAAUA,CAAIN,CAAoB,EAAEC,CAAoB,EAAK;EACxE,IAAID,CAAC,CAACG,IAAI,GAAGF,CAAC,CAACE,IAAI,EAAE;IACnB,OAAO,CAAC,CAAC;EACX,CAAC,MAAM,IAAIH,CAAC,CAACG,IAAI,GAAGF,CAAC,CAACE,IAAI,EAAE;IAC1B,OAAO,CAAC;EACV,CAAC,MAAM,IAAIH,CAAC,CAACI,KAAK,GAAGH,CAAC,CAACG,KAAK,EAAE;IAC5B,OAAO,CAAC,CAAC;EACX,CAAC,MAAM,IAAIJ,CAAC,CAACI,KAAK,GAAGH,CAAC,CAACG,KAAK,EAAE;IAC5B,OAAO,CAAC;EACV,CAAC,MAAM,IAAIJ,CAAC,CAACK,IAAI,GAAGJ,CAAC,CAACI,IAAI,EAAE;IAC1B,OAAO,CAAC,CAAC;EACX,CAAC,MAAM,IAAIL,CAAC,CAACK,IAAI,GAAGJ,CAAC,CAACI,IAAI,EAAE;IAC1B,OAAO,CAAC;EACV;EACA,OAAO,CAAC;AACV,CAAC;;AAED,OAAO,IAAME,MAAM,GAAG,SAATA,MAAMA,CAAIF,IAAY,EAAED,KAAa,EAAED,IAAY,UAAyB,EAAEE,IAAI,EAAJA,IAAI,EAAED,KAAK,EAALA,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C,CAAC;;AAED,OAAO,IAAMkB,QAAQ,GAAG,SAAXA,QAAQA,CAAAC,IAAA,EAAyD,KAAnDjB,IAAI,GAAAiB,IAAA,CAAJjB,IAAI,CAAED,KAAK,GAAAkB,IAAA,CAALlB,KAAK,CAAED,IAAI,GAAAmB,IAAA,CAAJnB,IAAI;EAC1C,IAAAoB,IAAA,GAAkB,CAAClB,IAAI,EAAED,KAAK,EAAED,IAAI,CAAC,CAACgB,GAAG,CAAC,UAACK,CAAC,UAAKA,CAAC,CAACH,QAAQ,CAAC,CAAC,GAAC,CAAvDI,CAAC,GAAAF,IAAA,IAAEG,CAAC,GAAAH,IAAA,IAAEI,CAAC,GAAAJ,IAAA;EACd,OAAUE,CAAC,CAACG,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,SAAIF,CAAC,CAACE,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,SAAID,CAAC,CAACC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC;AAC1E,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["isEqual","a","b","Boolean","year","month","date","comparator","create","isLess","left","right","isLessOrEqual","isGreater","isGreaterOrEqual","isBetween","fromString","dateString","_dateString$split$map","split","map","Number","toString","_ref","_map","x","d","m","y","padStart"],"sources":["CalendarDateShape.ts"],"sourcesContent":["import type { Nullable } from '../../typings/utility-types';\n\nexport interface CalendarDateShape {\n year: number;\n month: number;\n date: number;\n}\n\nexport const isEqual = (a: Nullable<CalendarDateShape>, b: Nullable<CalendarDateShape>) =>\n Boolean((!a && !b) || (a && b && a.year === b.year && a.month === b.month && a.date === b.date));\n\nexport const comparator = (a: CalendarDateShape, b: CalendarDateShape) => {\n if (a.year < b.year) {\n return -1;\n } else if (a.year > b.year) {\n return 1;\n } else if (a.month < b.month) {\n return -1;\n } else if (a.month > b.month) {\n return 1;\n } else if (a.date < b.date) {\n return -1;\n } else if (a.date > b.date) {\n return 1;\n }\n return 0;\n};\n\nexport const create = (date: number, month: number, year: number): CalendarDateShape => ({ date, month, year });\n\nexport const isLess = (left: CalendarDateShape, right: CalendarDateShape) => comparator(left, right) === -1;\n\nexport const isLessOrEqual = (left: CalendarDateShape, right: CalendarDateShape) =>\n isLess(left, right) || isEqual(left, right);\n\nexport const isGreater = (left: CalendarDateShape, right: CalendarDateShape) => !isLessOrEqual(left, right);\n\nexport const isGreaterOrEqual = (left: CalendarDateShape, right: CalendarDateShape) => !isLess(left, right);\n\nexport const isBetween = (\n date: CalendarDateShape,\n left?: Nullable<CalendarDateShape>,\n right?: Nullable<CalendarDateShape>,\n) => {\n if (left && isLess(date, left)) {\n return false;\n }\n if (right && isGreater(date, right)) {\n return false;\n }\n return true;\n};\n\nexport const fromString = (dateString: string): CalendarDateShape => {\n const [date, month, year] = dateString.split('.').map(Number);\n return create(date, month, year);\n};\n\nexport const toString = ({ date, month, year }: CalendarDateShape): string => {\n const [d, m, y] = [date, month, year].map((x) => x.toString());\n return `${d.padStart(2, '0')}.${m.padStart(2, '0')}.${y.padStart(4, '0')}`;\n};\n"],"mappings":";;;;;;;;AAQA,OAAO,IAAMA,OAAO,GAAG,SAAVA,OAAOA,CAAIC,CAA8B,EAAEC,CAA8B;IACpFC,OAAO,CAAE,CAACF,CAAC,IAAI,CAACC,CAAC,IAAMD,CAAC,IAAIC,CAAC,IAAID,CAAC,CAACG,IAAI,KAAKF,CAAC,CAACE,IAAI,IAAIH,CAAC,CAACI,KAAK,KAAKH,CAAC,CAACG,KAAK,IAAIJ,CAAC,CAACK,IAAI,KAAKJ,CAAC,CAACI,IAAK,CAAC;;AAElG,OAAO,IAAMC,UAAU,GAAG,SAAbA,UAAUA,CAAIN,CAAoB,EAAEC,CAAoB,EAAK;EACxE,IAAID,CAAC,CAACG,IAAI,GAAGF,CAAC,CAACE,IAAI,EAAE;IACnB,OAAO,CAAC,CAAC;EACX,CAAC,MAAM,IAAIH,CAAC,CAACG,IAAI,GAAGF,CAAC,CAACE,IAAI,EAAE;IAC1B,OAAO,CAAC;E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ext","memo","useLocaleForControl","ThemeContext","cx","DatePickerLocaleHelper","InternalDate","LocaleContext","getVisualStateDataAttributes","forwardRefAndName","styles","CalendarDataTids","CalendarDay","_ref","ref","_cx","_cx2","isToday","isSelected","isDisabled","isWeekend","date","children","className","rest","_objectWithoutPropertiesLoose","_excluded","theme","_useContext","langCode","internalDate","value","locale","ariaLabel","dayCellChooseDateAriaLabel","toA11YFormat","_internalDate$getComp","getComponentsLikeNumber","day","caption","createElement","_extends","dayCell","tabIndex","disabled","selected","weekend","todayCaption"],"sources":["CalendarDay.tsx"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"names":["React","useContext","memo","useLocaleForControl","ThemeContext","cx","DatePickerLocaleHelper","InternalDate","LocaleContext","getVisualStateDataAttributes","forwardRefAndName","styles","CalendarDataTids","CalendarDay","_ref","ref","_cx","_cx2","isToday","isSelected","isDisabled","isWeekend","date","children","className","rest","_objectWithoutPropertiesLoose","_excluded","theme","_useContext","langCode","internalDate","value","locale","ariaLabel","dayCellChooseDateAriaLabel","toA11YFormat","_internalDate$getComp","getComponentsLikeNumber","day","caption","createElement","_extends","dayCell","tabIndex","disabled","selected","weekend","todayCaption"],"sources":["CalendarDay.tsx"],"sourcesContent":["import type { PropsWithChildren } from 'react';\nimport React, { useContext, memo } from 'react';\n\nimport { useLocaleForControl } from '../../lib/locale/useLocaleForControl';\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport { cx } from '../../lib/theming/Emotion';\nimport { DatePickerLocaleHelper } from '../DatePicker/locale';\nimport { InternalDate } from '../../lib/date/InternalDate';\nimport { LocaleContext } from '../../lib/locale';\nimport { getVisualStateDataAttributes } from '../../internal/CommonWrapper/utils/getVisualStateDataAttributes';\nimport { forwardRefAndName } from '../../lib/forwardRefAndName';\n\nimport { styles } from './DayCellView.styles';\nimport { CalendarDataTids } from './Calendar';\n\nexport interface CalendarDayProps extends React.HTMLAttributes<HTMLButtonElement> {\n /** Устанавливает, является ли день текущим. */\n isToday?: boolean;\n\n /** Устанавливает, является ли день выбранным. */\n isSelected?: boolean;\n\n /** Устанавливает, является ли день недоступным. */\n isDisabled?: boolean;\n\n /** Устанавливает, является ли день выходным. */\n isWeekend?: boolean;\n\n /** Задает день. */\n date: string;\n}\n\n/**\n * Компонент дня `CalendarDay` из Calendar.\n *\n * @visibleName Calendar.Day\n */\nexport const CalendarDay = memo(\n forwardRefAndName(\n 'CalendarDay',\n function CalendarDay(\n {\n isToday,\n isSelected,\n isDisabled,\n isWeekend,\n date,\n children,\n className,\n ...rest\n }: PropsWithChildren<CalendarDayProps>,\n ref: React.Ref<HTMLButtonElement>,\n ) {\n const theme = useContext(ThemeContext);\n\n const { langCode } = useContext(LocaleContext);\n const internalDate = new InternalDate({ langCode, value: date });\n\n const locale = useLocaleForControl('Calendar', DatePickerLocaleHelper);\n const ariaLabel = `${locale.dayCellChooseDateAriaLabel}: ${internalDate.toA11YFormat()}`;\n\n const { date: day } = internalDate.getComponentsLikeNumber();\n const caption = children ?? day;\n\n return (\n <button\n ref={ref}\n data-tid={CalendarDataTids.dayCell}\n aria-label={ariaLabel}\n tabIndex={-1}\n disabled={isDisabled}\n className={cx(\n {\n [styles.day(theme)]: true,\n [styles.selected(theme)]: isSelected,\n [styles.weekend(theme)]: isWeekend,\n },\n className,\n )}\n {...getVisualStateDataAttributes({ selected: isSelected })}\n {...rest}\n >\n <span className={cx({ [styles.todayCaption(theme)]: isToday })}>{caption}</span>\n </button>\n );\n },\n ),\n);\n"],"mappings":";AACA,OAAOA,KAAK,IAAIC,UAAU,EAAEC,IAAI,QAAQ,OAAO;;AAE/C,SAASC,mBAAmB,QAAQ,sCAAsC;AAC1E,SAASC,YAAY,QAAQ,gCAAgC;AAC7D,SAASC,EAAE,QAAQ,2BAA2B;AAC9C,SAASC,sBAAsB,QAAQ,sBAAsB;AAC7D,SAASC,YAAY,QAAQ,6BAA6B;AAC1D,SAASC,aAAa,QAAQ,kBAAkB;AAChD,SAASC,4BAA4B,QAAQ,iEAAiE;AAC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AG;;MAE/B;QACEvC,KAAA,CAAAyC,aAAA,WAAAC,QAAA;UACE3B,GAAG,EAAEA,GAAI;UACT,YAAUH,gBAAgB,CAAC+B,OAAQ;UACnC,cAAYT,SAAU;UACtBU,QAAQ,EAAE,CAAC,CAAE;UACbC,QAAQ,EAAEzB,UAAW;UACrBI,SAAS,EAAEnB,EAAE,EAAAW,GAAA,OAAAA,GAAA;;UAERL,MAAM,CAAC4B,GAAG,CAACX,KAAK,CAAC,IAAG,IAAI,EAAAZ,GAAA;UACxBL,MAAM,CAACmC,QAAQ,CAAClB,KAAK,CAAC,IAAGT,UAAU,EAAAH,GAAA;UACnCL,MAAM,CAACoC,OAAO,CAACnB,KAAK,CAAC,IAAGP,SAAS,EAAAL,GAAA;;UAEpCQ;UACF,CAAE;QACEf,4BAA4B,CAAC,EAAEqC,QAAQ,EAAE3B,UAAU,CAAC,CAAC,CAAC;QACtDM,IAAI;;QAERzB,KAAA,CAAAyC,aAAA,WAAMjB,SAAS,EAAEnB,EAAE,EAAAY,IAAA,OAAAA,IAAA,CAAIN,MAAM,CAACqC,YAAY,CAACpB,KAAK,CAAC,IAAGV,OAAO,EAAAD,IAAA,CAAE,CAAE,IAAEuB,OAAc;QACzE,CAAC;;IAEb;EACF;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { PropsWithChildren } from 'react';
|
|
1
2
|
import React from 'react';
|
|
2
3
|
export interface CalendarDayProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
3
4
|
/** Устанавливает, является ли день текущим. */
|
|
@@ -16,4 +17,4 @@ export interface CalendarDayProps extends React.HTMLAttributes<HTMLButtonElement
|
|
|
16
17
|
*
|
|
17
18
|
* @visibleName Calendar.Day
|
|
18
19
|
*/
|
|
19
|
-
export declare const CalendarDay: React.MemoExoticComponent<import("../../lib/forwardRefAndName").ReactUIComponentWithRef<HTMLButtonElement,
|
|
20
|
+
export declare const CalendarDay: React.MemoExoticComponent<import("../../lib/forwardRefAndName").ReactUIComponentWithRef<HTMLButtonElement, PropsWithChildren<CalendarDayProps>> & Record<never, never>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["themeConfig","MonthViewModel","isGreater","isLess","calculateScrollPosition","months","scrollPosition","deltaY","theme","scrollDirection","nextScrollPosition","nextMonths","firstMonth","getHeight","getMonths","month","year","lastMonth","length","applyDelta","_ref","_ref2","minDate","maxDate","isMinDateExceeded","isMaxDateExceeded","isMonthVisible","top","WRAPPER_HEIGHT","getMonthsHeight","reduce","a","b","map","x","create","getMonthInNativeFormat","getMonthInHumanFormat","getInitialDate","_ref3","today","date","getTodayDate","Date","getDate","getMonth","getFullYear"],"sources":["CalendarUtils.ts"],"sourcesContent":["import { Nullable } from '../../typings/utility-types';\nimport { Theme } from '../../lib/theming/Theme';\n\nimport { themeConfig } from './config';\nimport { MonthViewModel } from './MonthViewModel';\nimport { CalendarState } from './Calendar';\nimport { CalendarDateShape
|
|
1
|
+
{"version":3,"names":["themeConfig","MonthViewModel","isGreater","isLess","calculateScrollPosition","months","scrollPosition","deltaY","theme","scrollDirection","nextScrollPosition","nextMonths","firstMonth","getHeight","getMonths","month","year","lastMonth","length","applyDelta","_ref","_ref2","minDate","maxDate","isMinDateExceeded","isMaxDateExceeded","isMonthVisible","top","WRAPPER_HEIGHT","getMonthsHeight","reduce","a","b","map","x","create","getMonthInNativeFormat","getMonthInHumanFormat","getInitialDate","_ref3","today","date","getTodayDate","Date","getDate","getMonth","getFullYear"],"sources":["CalendarUtils.ts"],"sourcesContent":["import type { Nullable } from '../../typings/utility-types';\nimport type { Theme } from '../../lib/theming/Theme';\n\nimport { themeConfig } from './config';\nimport { MonthViewModel } from './MonthViewModel';\nimport type { CalendarState } from './Calendar';\nimport type { CalendarDateShape } from './CalendarDateShape';\nimport { isGreater, isLess } from './CalendarDateShape';\n\nexport const calculateScrollPosition = (\n months: MonthViewModel[],\n scrollPosition: number,\n deltaY: number,\n theme: Theme,\n) => {\n const scrollDirection = deltaY > 0 ? 1 : -1;\n\n let nextScrollPosition = scrollPosition - deltaY;\n let nextMonths = months;\n\n const firstMonth = months[0];\n if (scrollDirection < 0 && nextScrollPosition >= firstMonth.getHeight(theme)) {\n do {\n nextScrollPosition -= nextMonths[0].getHeight(theme);\n nextMonths = getMonths(firstMonth.month, firstMonth.year);\n } while (nextScrollPosition >= nextMonths[0].getHeight(theme));\n }\n\n const lastMonth = months[months.length - 1];\n if (scrollDirection > 0 && nextScrollPosition < 0) {\n do {\n nextScrollPosition += nextMonths[1].getHeight(theme);\n nextMonths = getMonths(lastMonth.month, lastMonth.year);\n } while (nextScrollPosition < 0);\n }\n\n return {\n scrollPosition: nextScrollPosition,\n months: nextMonths,\n scrollDirection,\n };\n};\n\nexport const applyDelta = (deltaY: number, theme: Theme) => {\n return (\n { scrollPosition, months }: Readonly<CalendarState>,\n { minDate, maxDate }: { minDate: CalendarDateShape; maxDate: CalendarDateShape },\n ) => {\n const scrollDirection = deltaY > 0 ? 1 : -1;\n const isMinDateExceeded =\n minDate && scrollDirection < 0 && minDate.year * 12 + minDate.month > months[0].year * 12 + months[0].month;\n\n const isMaxDateExceeded =\n maxDate && scrollDirection > 0 && maxDate.year * 12 + maxDate.month < months[1].year * 12 + months[1].month;\n\n if (isMinDateExceeded) {\n return { scrollPosition: 0, scrollDirection };\n }\n\n if (isMaxDateExceeded) {\n return { scrollPosition: months[2].getHeight(theme), scrollDirection };\n }\n\n return calculateScrollPosition(months, scrollPosition, deltaY, theme);\n };\n};\n\nexport const isMonthVisible = (top: number, month: MonthViewModel, theme: Theme) => {\n return top < themeConfig(theme).WRAPPER_HEIGHT && top > -month.getHeight(theme);\n};\n\nexport const getMonthsHeight = (months: MonthViewModel[], theme: Theme) =>\n months.reduce((a, b) => a + b.getHeight(theme), 0);\n\nexport const getMonths = (month: number, year: number): MonthViewModel[] => {\n return [-1, 0, 1].map((x) => MonthViewModel.create(month + x, year));\n};\n\nexport const getMonthInNativeFormat = (month: number) => month - 1;\n\nexport const getMonthInHumanFormat = (month: number) => month + 1;\n\nexport const getInitialDate = ({\n today,\n date,\n minDate,\n maxDate,\n}: {\n today: CalendarDateShape;\n date?: Nullable<CalendarDateShape>;\n minDate?: Nullable<CalendarDateShape>;\n maxDate?: Nullable<CalendarDateShape>;\n}) => {\n if (date) {\n return date;\n }\n\n if (minDate && isLess(today, minDate)) {\n return minDate;\n }\n\n if (maxDate && isGreater(today, maxDate)) {\n return maxDate;\n }\n\n return today;\n};\n\nexport const getTodayDate = () => {\n const date = new Date();\n return {\n date: date.getDate(),\n month: date.getMonth(),\n year: date.getFullYear(),\n };\n};\n"],"mappings":";;;AAGA,SAASA,WAAW,QAAQ,UAAU;AACtC,SAASC,cAAc,QAAQ,kBAAkB;;;AAGjD,SAASC,SAAS,EAAEC,MAAM,QAAQ,qBAAqB;;AAEvD,OAAO,IAAMC,uBAAuB,GAAG,SAA1BA,uBAAuBA;AAClCC,MAAwB;AACxBC,cAAsB;AACtBC,MAAc;AACdC,KAAY;AACT;EACH,IAAMC,eAAe,GAAGF,MAAM,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;;EAE3C,IAAIG,kBAAkB,GAAGJ,cAAc,GAAGC,MAAM;EAChD,IAAII,UAAU,GAAGN,MAAM;;EAEvB,IAAMO,UAAU,GAAGP,MAAM,CAAC,CAAC,CAAC;EAC5B,IAAII,eAAe,GAAG,CAAC,IAAIC,kBAAkB,IAAIE,UAAU,CAACC,SAAS,CAACL,KAAK,CAAC,EAAE;IAC5E,GAAG;MACDE,kBAAkB,IAAIC,UAAU,CAAC,CAAC,CAAC,CAACE,SAAS,CAACL,KAAK,CAAC;MACpDG,UAAU,GAAGG,SAAS,CAACF,UAAU,CAACG,KAAK,EAAEH,UAAU,CAACI,IAAI,CAAC;IAC3D,CAAC,QAAQN,kBAAkB,IAAIC,UAAU,CAAC,CAAC,CAAC,CAACE,SAAS,CAACL,KAAK,CAAC;EAC/D;;EAEA,IAAMS,SAAS,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AAqB,GAAG,SAAxBA,qBAAqBA,CAAItB,KAAa,UAAKA,KAAK,GAAG,CAAC;;AAEjE,OAAO,IAAMuB,cAAc,GAAG,SAAjBA,cAAcA,CAAAC,KAAA;;;;;;;;;;AAUrB,KATJC,KAAK,GAAAD,KAAA,CAALC,KAAK,CACLC,IAAI,GAAAF,KAAA,CAAJE,IAAI,CACJnB,OAAO,GAAAiB,KAAA,CAAPjB,OAAO,CACPC,OAAO,GAAAgB,KAAA,CAAPhB,OAAO;EAOP,IAAIkB,IAAI,EAAE;IACR,OAAOA,IAAI;EACb;;EAEA,IAAInB,OAAO,IAAInB,MAAM,CAACqC,KAAK,EAAElB,OAAO,CAAC,EAAE;IACrC,OAAOA,OAAO;EAChB;;EAEA,IAAIC,OAAO,IAAIrB,SAAS,CAACsC,KAAK,EAAEjB,OAAO,CAAC,EAAE;IACxC,OAAOA,OAAO;EAChB;;EAEA,OAAOiB,KAAK;AACd,CAAC;;AAED,OAAO,IAAME,YAAY,GAAG,SAAfA,YAAYA,CAAA,EAAS;EAChC,IAAMD,IAAI,GAAG,IAAIE,IAAI,CAAC,CAAC;EACvB,OAAO;IACLF,IAAI,EAAEA,IAAI,CAACG,OAAO,CAAC,CAAC;IACpB7B,KAAK,EAAE0B,IAAI,CAACI,QAAQ,CAAC,CAAC;IACtB7B,IAAI,EAAEyB,IAAI,CAACK,WAAW,CAAC;EACzB,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Nullable } from '../../typings/utility-types';
|
|
2
|
-
import { Theme } from '../../lib/theming/Theme';
|
|
1
|
+
import type { Nullable } from '../../typings/utility-types';
|
|
2
|
+
import type { Theme } from '../../lib/theming/Theme';
|
|
3
3
|
import { MonthViewModel } from './MonthViewModel';
|
|
4
|
-
import { CalendarState } from './Calendar';
|
|
5
|
-
import { CalendarDateShape } from './CalendarDateShape';
|
|
4
|
+
import type { CalendarState } from './Calendar';
|
|
5
|
+
import type { CalendarDateShape } from './CalendarDateShape';
|
|
6
6
|
export declare const calculateScrollPosition: (months: MonthViewModel[], scrollPosition: number, deltaY: number, theme: Theme) => {
|
|
7
7
|
scrollPosition: number;
|
|
8
8
|
months: MonthViewModel[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useCallback","useContext","ThemeContext","InternalDateTransformer","styles","CalendarContext","CDS","CalendarDay","DayCellView","props","_isHoliday","_renderDay","date","_useContext","value","minDate","maxDate","isHoliday","renderDay","today","onDateClick","theme","isDisabled","isBetween","humanDateString","dateToHumanString","dayProps","isToday","Boolean","isEqual","isSelected","isWeekend","dayElement","createElement","customDayClickHandler","onClick","dayClickHandler","e","dayElementWithClickHandler","cloneElement","className","cell"],"sources":["DayCellView.tsx"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"names":["React","useCallback","useContext","ThemeContext","InternalDateTransformer","styles","CalendarContext","CDS","CalendarDay","DayCellView","props","_isHoliday","_renderDay","date","_useContext","value","minDate","maxDate","isHoliday","renderDay","today","onDateClick","theme","isDisabled","isBetween","humanDateString","dateToHumanString","dayProps","isToday","Boolean","isEqual","isSelected","isWeekend","dayElement","createElement","customDayClickHandler","onClick","dayClickHandler","e","dayElementWithClickHandler","cloneElement","className","cell"],"sources":["DayCellView.tsx"],"sourcesContent":["import type { ReactElement } from 'react';\nimport React, { useCallback, useContext } from 'react';\n\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport { InternalDateTransformer } from '../../lib/date/InternalDateTransformer';\n\nimport { styles } from './DayCellView.styles';\nimport { CalendarContext } from './CalendarContext';\nimport type { DayCellViewModel } from './DayCellViewModel';\nimport * as CDS from './CalendarDateShape';\nimport type { CalendarDayProps } from './CalendarDay';\nimport { CalendarDay } from './CalendarDay';\n\nexport interface DayCellViewProps {\n date: DayCellViewModel;\n}\n\nexport const DayCellView = (props: DayCellViewProps) => {\n const { date } = props;\n const { value, minDate, maxDate, isHoliday, renderDay, today, onDateClick } = useContext(CalendarContext);\n const theme = useContext(ThemeContext);\n\n const isDisabled = !CDS.isBetween(date, minDate, maxDate);\n\n const humanDateString = InternalDateTransformer.dateToHumanString(date);\n\n const dayProps: CalendarDayProps = {\n isToday: Boolean(today && CDS.isEqual(date, today)),\n isSelected: Boolean(value && CDS.isEqual(date, value)),\n isDisabled,\n isWeekend: isHoliday?.(humanDateString, date.isWeekend) ?? date.isWeekend,\n date: humanDateString,\n };\n\n const dayElement: ReactElement<CalendarDayProps> = renderDay?.(dayProps) ?? <CalendarDay {...dayProps} />;\n const customDayClickHandler = dayElement.props.onClick;\n\n const dayClickHandler = useCallback<NonNullable<typeof customDayClickHandler>>(\n (e) => {\n customDayClickHandler?.(e);\n onDateClick?.(date);\n },\n [customDayClickHandler, onDateClick, date],\n );\n\n const dayElementWithClickHandler = React.cloneElement<CalendarDayProps>(dayElement, {\n onClick: dayClickHandler,\n });\n\n return <div className={styles.cell(theme)}>{dayElementWithClickHandler}</div>;\n};\n"],"mappings":";AACA,OAAOA,KAAK,IAAIC,WAAW,EAAEC,UAAU,QAAQ,OAAO;;AAEtD,SAASC,YAAY,QAAQ,gCAAgC;AAC7D,SAASC,uBAAuB,QAAQ,wCAAwC;;AAEhF,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,eAAe,QAAQ,mBAAmB;;AAEnD,OAAO,KAAKC,GAAG,MAAM,qBAAqB;;AAE1C,SAASC,WAAW,QAAQ,eAAe;;;;;;AAM3C,OAAO,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,KAAuB,EAAK,KAAAC,UAAA,EAAAC,UAAA;EACtD,IAAQC,IAAI,GAAKH,KAAK,CAAdG,IAAI;EACZ,IAAAC,WAAA,GAA8EZ,UAAU,CAACI,eAAe,CAAC,CAAjGS,KAAK,GAAAD,WAAA,CAALC,KAAK,CAAEC,OAAO,GAAAF,WAAA,CAAPE,OAAO,CAAEC,OAAO,GAAAH,WAAA,CAAPG,OAAO,CAAEC,SAAS,GAAAJ,WAAA,CAATI,SAA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;;EAED,IAAM0B,0BAA0B,gBAAGvC,KAAK,CAACwC,YAAY,CAAmBP,UAAU,EAAE;IAClFG,OAAO,EAAEC;EACX,CAAC,CAAC;;EAEF,oBAAOrC,KAAA,CAAAkC,aAAA,UAAKO,SAAS,EAAEpC,MAAM,CAACqC,IAAI,CAACpB,KAAK,CAAE,IAAEiB,0BAAgC,CAAC;AAC/E,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["css","memoizeStyle","resetButton","styles","cell","t","_templateObject","_taggedTemplateLiteralLoose","calendarCellWidth","calendarCellHeight","day","_templateObject2","calendarCellBg","calendarCellFontSize","calendarCellLineHeight","calendarCellBorderRadius","calendarCellHoverBgColor","calendarCellHoverColor","calendarCellActiveHoverColor","selected","_templateObject3","calendarCellSelectedBgColor","calendarCellSelectedFontColor","weekend","_templateObject4","calendarCellWeekendColor","todayCaption","_templateObject5","calendarCellTodayBorder"],"sources":["DayCellView.styles.ts"],"sourcesContent":["import { css, memoizeStyle } from '../../lib/theming/Emotion';\nimport { Theme } from '../../lib/theming/Theme';\nimport { resetButton } from '../../lib/styles/Mixins';\n\nexport const styles = memoizeStyle({\n cell(t: Theme) {\n return css`\n flex: 1 1 ${t.calendarCellWidth};\n height: ${t.calendarCellHeight};\n `;\n },\n day(t: Theme) {\n return css`\n ${resetButton()};\n width: 100%;\n height: 100%;\n\n background: ${t.calendarCellBg};\n border: 1px solid transparent;\n font-size: ${t.calendarCellFontSize};\n padding: 0;\n text-align: center;\n user-select: none;\n position: relative;\n line-height: ${t.calendarCellLineHeight};\n border-radius: ${t.calendarCellBorderRadius};\n transition:\n 0.15s ease background-color,\n 0.15s ease opacity;\n\n // Expand the clickable area\n &:before {\n content: '';\n position: absolute;\n left: -1px;\n top: -1px;\n width: calc(100% + 2px);\n height: calc(100% + 2px);\n }\n\n @media (hover: hover) {\n &:hover {\n background-color: ${t.calendarCellHoverBgColor};\n color: ${t.calendarCellHoverColor};\n cursor: pointer;\n }\n }\n\n &:disabled {\n opacity: 0.5;\n pointer-events: none;\n }\n &:active:hover:enabled {\n color: ${t.calendarCellActiveHoverColor};\n }\n `;\n },\n\n selected(t: Theme) {\n return css`\n background-color: ${t.calendarCellSelectedBgColor};\n color: ${t.calendarCellSelectedFontColor};\n `;\n },\n\n weekend(t: Theme) {\n return css`\n color: ${t.calendarCellWeekendColor};\n `;\n },\n\n todayCaption(t: Theme) {\n return css`\n padding-bottom: 2px;\n border-bottom: ${t.calendarCellTodayBorder};\n `;\n },\n});\n"],"mappings":"4LAAA,SAASA,GAAG,EAAEC,YAAY,QAAQ,2BAA2B;;AAE7D,SAASC,WAAW,QAAQ,yBAAyB;;AAErD,OAAO,IAAMC,MAAM,GAAGF,YAAY,CAAC;EACjCG,IAAI,WAAAA,KAACC,CAAQ,EAAE;IACb,OAAOL,GAAG,CAAAM,eAAA,KAAAA,eAAA,GAAAC,2BAAA;IACIF,CAAC,CAACG,iBAAiB;IACrBH,CAAC,CAACI,kBAAkB;;EAElC,CAAC;EACDC,GAAG,WAAAA,IAACL,CAAQ,EAAE;IACZ,OAAOL,GAAG,CAAAW,gBAAA,KAAAA,gBAAA,GAAAJ,2BAAA;IACNL,WAAW,CAAC,CAAC;;;;IAIDG,CAAC,CAACO,cAAc;;IAEjBP,CAAC,CAACQ,oBAAoB;;;;;IAKpBR,CAAC,CAACS,sBAAsB;IACtBT,CAAC,CAACU,wBAAwB;;;;;;;;;;;;;;;;;IAiBnBV,CAAC,CAACW,wBAAwB;IACrCX,CAAC,CAACY,sBAAsB;;;;;;;;;;IAU1BZ,CAAC,CAACa,4BAA4B;;;EAG7C,CAAC;;EAEDC,QAAQ,WAAAA,SAACd,CAAQ,EAAE;IACjB,OAAOL,GAAG,CAAAoB,gBAAA,KAAAA,gBAAA,GAAAb,2BAAA;IACYF,CAAC,CAACgB,2BAA2B;IACxChB,CAAC,CAACiB,6BAA6B;;EAE5C,CAAC;;EAEDC,OAAO,WAAAA,QAAClB,CAAQ,EAAE;IAChB,OAAOL,GAAG,CAAAwB,gBAAA,KAAAA,gBAAA,GAAAjB,2BAAA;IACCF,CAAC,CAACoB,wBAAwB;;EAEvC,CAAC;;EAEDC,YAAY,WAAAA,aAACrB,CAAQ,EAAE;IACrB,OAAOL,GAAG,CAAA2B,gBAAA,KAAAA,gBAAA,GAAApB,2BAAA;;IAESF,CAAC,CAACuB,uBAAuB;;EAE9C;AACF,CAAC,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["css","memoizeStyle","resetButton","styles","cell","t","_templateObject","_taggedTemplateLiteralLoose","calendarCellWidth","calendarCellHeight","day","_templateObject2","calendarCellBg","calendarCellFontSize","calendarCellLineHeight","calendarCellBorderRadius","calendarCellHoverBgColor","calendarCellHoverColor","calendarCellActiveHoverColor","selected","_templateObject3","calendarCellSelectedBgColor","calendarCellSelectedFontColor","weekend","_templateObject4","calendarCellWeekendColor","todayCaption","_templateObject5","calendarCellTodayBorder"],"sources":["DayCellView.styles.ts"],"sourcesContent":["import { css, memoizeStyle } from '../../lib/theming/Emotion';\nimport type { Theme } from '../../lib/theming/Theme';\nimport { resetButton } from '../../lib/styles/Mixins';\n\nexport const styles = memoizeStyle({\n cell(t: Theme) {\n return css`\n flex: 1 1 ${t.calendarCellWidth};\n height: ${t.calendarCellHeight};\n `;\n },\n day(t: Theme) {\n return css`\n ${resetButton()};\n width: 100%;\n height: 100%;\n\n background: ${t.calendarCellBg};\n border: 1px solid transparent;\n font-size: ${t.calendarCellFontSize};\n padding: 0;\n text-align: center;\n user-select: none;\n position: relative;\n line-height: ${t.calendarCellLineHeight};\n border-radius: ${t.calendarCellBorderRadius};\n transition:\n 0.15s ease background-color,\n 0.15s ease opacity;\n\n // Expand the clickable area\n &:before {\n content: '';\n position: absolute;\n left: -1px;\n top: -1px;\n width: calc(100% + 2px);\n height: calc(100% + 2px);\n }\n\n @media (hover: hover) {\n &:hover {\n background-color: ${t.calendarCellHoverBgColor};\n color: ${t.calendarCellHoverColor};\n cursor: pointer;\n }\n }\n\n &:disabled {\n opacity: 0.5;\n pointer-events: none;\n }\n &:active:hover:enabled {\n color: ${t.calendarCellActiveHoverColor};\n }\n `;\n },\n\n selected(t: Theme) {\n return css`\n background-color: ${t.calendarCellSelectedBgColor};\n color: ${t.calendarCellSelectedFontColor};\n `;\n },\n\n weekend(t: Theme) {\n return css`\n color: ${t.calendarCellWeekendColor};\n `;\n },\n\n todayCaption(t: Theme) {\n return css`\n padding-bottom: 2px;\n border-bottom: ${t.calendarCellTodayBorder};\n `;\n },\n});\n"],"mappings":"4LAAA,SAASA,GAAG,EAAEC,YAAY,QAAQ,2BAA2B;;AAE7D,SAASC,WAAW,QAAQ,yBAAyB;;AAErD,OAAO,IAAMC,MAAM,GAAGF,YAAY,CAAC;EACjCG,IAAI,WAAAA,KAACC,CAAQ,EAAE;IACb,OAAOL,GAAG,CAAAM,eAAA,KAAAA,eAAA,GAAAC,2BAAA;IACIF,CAAC,CAACG,iBAAiB;IACrBH,CAAC,CAACI,kBAAkB;;EAElC,CAAC;EACDC,GAAG,WAAAA,IAACL,CAAQ,EAAE;IACZ,OAAOL,GAAG,CAAAW,gBAAA,KAAAA,gBAAA,GAAAJ,2BAAA;IACNL,WAAW,CAAC,CAAC;;;;IAIDG,CAAC,CAACO,cAAc;;IAEjBP,CAAC,CAACQ,oBAAoB;;;;;IAKpBR,CAAC,CAACS,sBAAsB;IACtBT,CAAC,CAACU,wBAAwB;;;;;;;;;;;;;;;;;IAiBnBV,CAAC,CAACW,wBAAwB;IACrCX,CAAC,CAACY,sBAAsB;;;;;;;;;;IAU1BZ,CAAC,CAACa,4BAA4B;;;EAG7C,CAAC;;EAEDC,QAAQ,WAAAA,SAACd,CAAQ,EAAE;IACjB,OAAOL,GAAG,CAAAoB,gBAAA,KAAAA,gBAAA,GAAAb,2BAAA;IACYF,CAAC,CAACgB,2BAA2B;IACxChB,CAAC,CAACiB,6BAA6B;;EAE5C,CAAC;;EAEDC,OAAO,WAAAA,QAAClB,CAAQ,EAAE;IAChB,OAAOL,GAAG,CAAAwB,gBAAA,KAAAA,gBAAA,GAAAjB,2BAAA;IACCF,CAAC,CAACoB,wBAAwB;;EAEvC,CAAC;;EAEDC,YAAY,WAAAA,aAACrB,CAAQ,EAAE;IACrB,OAAOL,GAAG,CAAA2B,gBAAA,KAAAA,gBAAA,GAAApB,2BAAA;;IAESF,CAAC,CAACuB,uBAAuB;;EAE9C;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","ThemeContext","MonthView","DayCellView","CalendarScrollEvents","styles","cellStyles","Month","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","concat","monthSelect","yearSelect","closeSelects","close","monthRef","yearRef","handleMonthSelect","month","props","onMonthYearChange","year","handleYearSelect","_inheritsLoose","_proto","prototype","shouldComponentUpdate","nextProps","top","componentDidMount","addListener","render","_this2","createElement","Consumer","theme","renderMain","_this$props","firstDayOffset","offset","height","getHeight","isFirstInYear","isLastInYear","onMonthSelect","onYearSelect","monthSelectRef","yearSelectRef","renderCells","MonthDayGrid","days","Component","DAYS_PER_WEEK","_React$Component2","_proto2","_this3","_this4","leadingDays","from","_","i","key","className","cell","trailingOffset","trailingDays","map","day","date","weeks","divideToWeeks","monthDayGrid","week","monthDayRow","slice","push"],"sources":["Month.tsx"],"sourcesContent":["import React from 'react';\n\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport { Theme } from '../../lib/theming/Theme';\nimport { DateSelect } from '../../internal/DateSelect';\n\nimport { MonthViewModel } from './MonthViewModel';\nimport { DayCellViewModel } from './DayCellViewModel';\nimport { MonthView } from './MonthView';\nimport { DayCellView } from './DayCellView';\nimport * as CalendarScrollEvents from './CalendarScrollEvents';\nimport { styles } from './MonthView.styles';\nimport { styles as cellStyles } from './DayCellView.styles';\n\ninterface MonthProps {\n top: number;\n month: MonthViewModel;\n onMonthYearChange: (monthNative: number, year: number) => void;\n}\n\nexport class Month extends React.Component<MonthProps> {\n private theme!: Theme;\n\n private monthSelect: DateSelect | null = null;\n private yearSelect: DateSelect | null = null;\n\n public shouldComponentUpdate(nextProps: MonthProps) {\n if (this.props.top !== nextProps.top) {\n return true;\n }\n\n return this.props.month !== nextProps.month;\n }\n\n public componentDidMount() {\n CalendarScrollEvents.addListener(this.closeSelects);\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 public renderMain() {\n const { month, top } = this.props;\n return (\n <MonthView\n firstDayOffset={month.offset}\n height={month.getHeight(this.theme)}\n isFirstInYear={month.isFirstInYear}\n isLastInYear={month.isLastInYear}\n month={month.month}\n top={top}\n year={month.year}\n onMonthSelect={this.handleMonthSelect}\n onYearSelect={this.handleYearSelect}\n monthSelectRef={this.monthRef}\n yearSelectRef={this.yearRef}\n >\n {this.renderCells()}\n </MonthView>\n );\n }\n\n private renderCells() {\n return <MonthDayGrid days={this.props.month.days} offset={this.props.month.offset} />;\n }\n\n private closeSelects = () => {\n if (this.monthSelect) {\n this.monthSelect.close();\n }\n if (this.yearSelect) {\n this.yearSelect.close();\n }\n };\n\n private monthRef = (monthSelect: DateSelect | null) => {\n this.monthSelect = monthSelect;\n };\n\n private yearRef = (yearSelect: DateSelect | null) => {\n this.yearSelect = yearSelect;\n };\n\n private handleMonthSelect = (month: number) => {\n this.props.onMonthYearChange(month, this.props.month.year);\n };\n\n private handleYearSelect = (year: number) => {\n this.props.onMonthYearChange(this.props.month.month, year);\n };\n}\n\nconst DAYS_PER_WEEK = 7;\n\ninterface MonthDayGridProps {\n days: DayCellViewModel[];\n offset: number;\n}\n\nclass MonthDayGrid extends React.Component<MonthDayGridProps> {\n private theme!: Theme;\n\n public shouldComponentUpdate(nextProps: MonthDayGridProps) {\n return this.props.days !== nextProps.days;\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 public renderMain() {\n const leadingDays = Array.from({ length: this.props.offset }, (_, i) => (\n <div key={`leading_${i}`} className={cellStyles.cell(this.theme)} />\n ));\n const trailingOffset = DAYS_PER_WEEK - ((this.props.offset + this.props.days.length) % DAYS_PER_WEEK);\n const trailingDays = Array.from({ length: trailingOffset }, (_, i) => (\n <div key={`trailing_${i}`} className={cellStyles.cell(this.theme)} />\n ));\n const days = this.props.days.map((day) => {\n return <DayCellView date={day} key={`${day.date}.${day.month}.${day.year}`} />;\n });\n const weeks = divideToWeeks(leadingDays.concat(days, trailingDays));\n return (\n <div className={styles.monthDayGrid(this.theme)}>\n {weeks.map((week, i) => (\n <div className={styles.monthDayRow(this.theme)} key={`week_${i}`}>\n {week}\n </div>\n ))}\n </div>\n );\n }\n}\n\nfunction divideToWeeks<T>(days: T[]): T[][] {\n const weeks: T[][] = [];\n for (let i = 0; i < days.length; i += DAYS_PER_WEEK) {\n const week = days.slice(i, i + DAYS_PER_WEEK);\n weeks.push(week);\n }\n return weeks;\n}\n"],"mappings":"sEAAA,OAAOA,KAAK,MAAM,OAAO;;AAEzB,SAASC,YAAY,QAAQ,gCAAgC;;;;;;AAM7D,SAASC,SAAS,QAAQ,aAAa;AACvC,SAASC,WAAW,QAAQ,eAAe;AAC3C,OAAO,KAAKC,oBAAoB,MAAM,wBAAwB;AAC9D,SAASC,MAAM,QAAQ,oBAAoB;AAC3C,SAASA,MAAM,IAAIC,UAAU,QAAQ,sBAAsB;;;;;;;;AAQ3D,WAAaC,KAAK,0BAAAC,gBAAA,YAAAD,MAAA,OAAAE,KAAA,UAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAC,IAAA,OAAAC,KAAA,CAAAJ,IAAA,GAAAK,IAAA,MAAAA,IAAA,GAAAL,IAAA,EAAAK,IAAA,KAAAF,IAAA,CAAAE,IAAA,IAAAJ,SAAA,CAAAI,IAAA,GAAAN,KAAA,GAAAD,gBAAA,CAAAQ,IAAA,CAA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B,GAAG,YAAUD,CAAI;UAC9DY;UACE,CAAC;MACP;MACE,CAAC;;EAEV,CAAC,QAAAvB,YAAA,GAvCwBzD,KAAK,CAAC2D,SAAS;;;AA0C1C,SAASmB,aAAaA,CAAIpB,IAAS,EAAS;EAC1C,IAAMmB,KAAY,GAAG,EAAE;EACvB,KAAK,IAAIT,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGV,IAAI,CAAC9C,MAAM,EAAEwD,CAAC,IAAIR,aAAa,EAAE;IACnD,IAAMoB,IAAI,GAAGtB,IAAI,CAACwB,KAAK,CAACd,CAAC,EAAEA,CAAC,GAAGR,aAAa,CAAC;IAC7CiB,KAAK,CAACM,IAAI,CAACH,IAAI,CAAC;EAClB;EACA,OAAOH,KAAK;AACd","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","ThemeContext","MonthView","DayCellView","CalendarScrollEvents","styles","cellStyles","Month","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","concat","monthSelect","yearSelect","closeSelects","close","monthRef","yearRef","handleMonthSelect","month","props","onMonthYearChange","year","handleYearSelect","_inheritsLoose","_proto","prototype","shouldComponentUpdate","nextProps","top","componentDidMount","addListener","render","_this2","createElement","Consumer","theme","renderMain","_this$props","firstDayOffset","offset","height","getHeight","isFirstInYear","isLastInYear","onMonthSelect","onYearSelect","monthSelectRef","yearSelectRef","renderCells","MonthDayGrid","days","Component","DAYS_PER_WEEK","_React$Component2","_proto2","_this3","_this4","leadingDays","from","_","i","key","className","cell","trailingOffset","trailingDays","map","day","date","weeks","divideToWeeks","monthDayGrid","week","monthDayRow","slice","push"],"sources":["Month.tsx"],"sourcesContent":["import React from 'react';\n\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport type { Theme } from '../../lib/theming/Theme';\nimport type { DateSelect } from '../../internal/DateSelect';\n\nimport type { MonthViewModel } from './MonthViewModel';\nimport type { DayCellViewModel } from './DayCellViewModel';\nimport { MonthView } from './MonthView';\nimport { DayCellView } from './DayCellView';\nimport * as CalendarScrollEvents from './CalendarScrollEvents';\nimport { styles } from './MonthView.styles';\nimport { styles as cellStyles } from './DayCellView.styles';\n\ninterface MonthProps {\n top: number;\n month: MonthViewModel;\n onMonthYearChange: (monthNative: number, year: number) => void;\n}\n\nexport class Month extends React.Component<MonthProps> {\n private theme!: Theme;\n\n private monthSelect: DateSelect | null = null;\n private yearSelect: DateSelect | null = null;\n\n public shouldComponentUpdate(nextProps: MonthProps) {\n if (this.props.top !== nextProps.top) {\n return true;\n }\n\n return this.props.month !== nextProps.month;\n }\n\n public componentDidMount() {\n CalendarScrollEvents.addListener(this.closeSelects);\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 public renderMain() {\n const { month, top } = this.props;\n return (\n <MonthView\n firstDayOffset={month.offset}\n height={month.getHeight(this.theme)}\n isFirstInYear={month.isFirstInYear}\n isLastInYear={month.isLastInYear}\n month={month.month}\n top={top}\n year={month.year}\n onMonthSelect={this.handleMonthSelect}\n onYearSelect={this.handleYearSelect}\n monthSelectRef={this.monthRef}\n yearSelectRef={this.yearRef}\n >\n {this.renderCells()}\n </MonthView>\n );\n }\n\n private renderCells() {\n return <MonthDayGrid days={this.props.month.days} offset={this.props.month.offset} />;\n }\n\n private closeSelects = () => {\n if (this.monthSelect) {\n this.monthSelect.close();\n }\n if (this.yearSelect) {\n this.yearSelect.close();\n }\n };\n\n private monthRef = (monthSelect: DateSelect | null) => {\n this.monthSelect = monthSelect;\n };\n\n private yearRef = (yearSelect: DateSelect | null) => {\n this.yearSelect = yearSelect;\n };\n\n private handleMonthSelect = (month: number) => {\n this.props.onMonthYearChange(month, this.props.month.year);\n };\n\n private handleYearSelect = (year: number) => {\n this.props.onMonthYearChange(this.props.month.month, year);\n };\n}\n\nconst DAYS_PER_WEEK = 7;\n\ninterface MonthDayGridProps {\n days: DayCellViewModel[];\n offset: number;\n}\n\nclass MonthDayGrid extends React.Component<MonthDayGridProps> {\n private theme!: Theme;\n\n public shouldComponentUpdate(nextProps: MonthDayGridProps) {\n return this.props.days !== nextProps.days;\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 public renderMain() {\n const leadingDays = Array.from({ length: this.props.offset }, (_, i) => (\n <div key={`leading_${i}`} className={cellStyles.cell(this.theme)} />\n ));\n const trailingOffset = DAYS_PER_WEEK - ((this.props.offset + this.props.days.length) % DAYS_PER_WEEK);\n const trailingDays = Array.from({ length: trailingOffset }, (_, i) => (\n <div key={`trailing_${i}`} className={cellStyles.cell(this.theme)} />\n ));\n const days = this.props.days.map((day) => {\n return <DayCellView date={day} key={`${day.date}.${day.month}.${day.year}`} />;\n });\n const weeks = divideToWeeks(leadingDays.concat(days, trailingDays));\n return (\n <div className={styles.monthDayGrid(this.theme)}>\n {weeks.map((week, i) => (\n <div className={styles.monthDayRow(this.theme)} key={`week_${i}`}>\n {week}\n </div>\n ))}\n </div>\n );\n }\n}\n\nfunction divideToWeeks<T>(days: T[]): T[][] {\n const weeks: T[][] = [];\n for (let i = 0; i < days.length; i += DAYS_PER_WEEK) {\n const week = days.slice(i, i + DAYS_PER_WEEK);\n weeks.push(week);\n }\n return weeks;\n}\n"],"mappings":"sEAAA,OAAOA,KAAK,MAAM,OAAO;;AAEzB,SAASC,YAAY,QAAQ,gCAAgC;;;;;;AAM7D,SAASC,SAAS,QAAQ,aAAa;AACvC,SAASC,WAAW,QAAQ,eAAe;AAC3C,OAAO,KAAKC,oBAAoB,MAAM,wBAAwB;AAC9D,SAASC,MAAM,QAAQ,oBAAoB;AAC3C,SAASA,MAAM,IAAIC,UAAU,QAAQ,sBAAsB;;;;;;;;AAQ3D,WAAaC,KAAK,0BAAAC,gBAAA,YAAAD,MAAA,OAAAE,KAAA,UAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAC,IAAA,OAAA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AAE;MAC7CkC,KAAK,CAACH,GAAG,CAAC,UAACM,IAAI,EAAEZ,CAAC;UACjBpE,KAAA,CAAAyC,aAAA,UAAK6B,SAAS,EAAEjE,MAAM,CAAC4E,WAAW,CAACjB,MAAI,CAACrB,KAAK,CAAE,EAAC0B,GAAG,YAAUD,CAAI;UAC9DY;UACE,CAAC;MACP;MACE,CAAC;;EAEV,CAAC,QAAAvB,YAAA,GAvCwBzD,KAAK,CAAC2D,SAAS;;;AA0C1C,SAASmB,aAAaA,CAAIpB,IAAS,EAAS;EAC1C,IAAMmB,KAAY,GAAG,EAAE;EACvB,KAAK,IAAIT,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGV,IAAI,CAAC9C,MAAM,EAAEwD,CAAC,IAAIR,aAAa,EAAE;IACnD,IAAMoB,IAAI,GAAGtB,IAAI,CAACwB,KAAK,CAACd,CAAC,EAAEA,CAAC,GAAGR,aAAa,CAAC;IAC7CiB,KAAK,CAACM,IAAI,CAACH,IAAI,CAAC;EAClB;EACA,OAAOH,KAAK;AACd","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useContext","ThemeContext","ColorFunctions","cx","useResponsiveLayout","DateSelect","styles","themeConfig","CDS","CalendarDataTids","CalendarContext","getMinMonth","year","minDate","min","i","isGreaterOrEqual","date","month","getMaxMonth","maxDate","max","isLessOrEqual","MonthView","props","_cx","_cx2","theme","_useContext","_useResponsiveLayout","isMobile","children","height","isFirstInYear","isLastInYear","top","onMonthSelect","onYearSelect","monthSelectRef","yearSelectRef","isTopNegative","isHeaderSticky","headerTop","Math","MONTH_TITLE_HEIGHT","alpha","borderBottomColor","fade","calendarMonthTitleBorderBottomColor","isYearVisible","yearTop","monthSelectDisabled","yearSelectDisabled","createElement","className","monthMobile","style","key","header","headerSticky","monthTitle","headerMonth","disabled","width","type","value","onValueChange","ref","undefined","minValue","maxValue","headerYear"],"sources":["MonthView.tsx"],"sourcesContent":["import React, { useContext } from 'react';\n\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport * as ColorFunctions from '../../lib/styles/ColorFunctions';\nimport { cx } from '../../lib/theming/Emotion';\nimport { useResponsiveLayout } from '../../components/ResponsiveLayout';\nimport { Nullable } from '../..//typings/utility-types';\nimport { DateSelect } from '../../internal/DateSelect';\n\nimport { styles } from './MonthView.styles';\nimport { themeConfig } from './config';\nimport * as CDS from './CalendarDateShape';\nimport { CalendarDataTids } from './Calendar';\nimport { CalendarContext } from './CalendarContext';\n\nexport const getMinMonth = (year: number, minDate: Nullable<CDS.CalendarDateShape>) => {\n let min = 0;\n for (let i = 0; i < 12; ++i) {\n if (minDate && CDS.isGreaterOrEqual({ date: 31, month: i, year }, minDate)) {\n min = i;\n break;\n }\n }\n return min;\n};\n\nexport const getMaxMonth = (year: number, maxDate: Nullable<CDS.CalendarDateShape>) => {\n let max = 11;\n for (let i = 11; i >= 0; --i) {\n if (maxDate && CDS.isLessOrEqual({ date: 1, month: i, year }, maxDate)) {\n max = i;\n break;\n }\n }\n return max;\n};\n\ninterface MonthViewProps {\n children: React.ReactNode;\n firstDayOffset: number;\n height: number;\n isFirstInYear?: boolean;\n isLastInYear?: boolean;\n month: number;\n top: number;\n year: number;\n onMonthSelect: (month: number) => void;\n onYearSelect: (month: number) => void;\n monthSelectRef: (select: DateSelect | null) => void;\n yearSelectRef: (select: DateSelect | null) => void;\n}\n\nexport function MonthView(props: MonthViewProps) {\n const theme = useContext(ThemeContext);\n const { minDate, maxDate } = useContext(CalendarContext);\n const { isMobile } = useResponsiveLayout();\n\n const {\n children,\n height,\n isFirstInYear,\n isLastInYear,\n month,\n top,\n year,\n onMonthSelect,\n onYearSelect,\n monthSelectRef,\n yearSelectRef,\n } = props;\n\n const isTopNegative = top <= 0;\n const isHeaderSticky = isTopNegative && height >= -top;\n const headerTop = isHeaderSticky ? Math.min(-top, height - themeConfig(theme).MONTH_TITLE_HEIGHT) : 0;\n const alpha = isHeaderSticky ? (height + top - themeConfig(theme).MONTH_TITLE_HEIGHT) / 10 : 1;\n const borderBottomColor = ColorFunctions.fade(theme.calendarMonthTitleBorderBottomColor, alpha);\n const isYearVisible = isFirstInYear || isHeaderSticky;\n const yearTop = isHeaderSticky && !isLastInYear ? -headerTop - top : 0;\n const monthSelectDisabled = top > 52 || headerTop < 0 || headerTop >= height - themeConfig(theme).MONTH_TITLE_HEIGHT;\n const yearSelectDisabled = top > 52 || (isLastInYear && top < -height + themeConfig(theme).MONTH_TITLE_HEIGHT);\n\n return (\n <div\n data-tid={CalendarDataTids.month}\n className={cx({ [styles.month(theme)]: true, [styles.monthMobile()]: isMobile })}\n style={{ top }}\n key={month + '-' + year}\n >\n <div\n style={{ top: headerTop }}\n className={cx({\n [styles.header()]: true,\n [styles.headerSticky(theme)]: isHeaderSticky,\n })}\n >\n <div style={{ borderBottomColor }} className={styles.monthTitle(theme)}>\n <div data-tid={CalendarDataTids.headerMonth} className={styles.headerMonth(theme)}>\n <DateSelect\n disabled={monthSelectDisabled}\n width={isMobile ? '6em' : 85}\n type=\"month\"\n value={month}\n onValueChange={onMonthSelect}\n ref={!monthSelectDisabled ? monthSelectRef : undefined}\n minValue={getMinMonth(year, minDate)}\n maxValue={getMaxMonth(year, maxDate)}\n />\n </div>\n {isYearVisible && (\n <div data-tid={CalendarDataTids.headerYear} className={styles.headerYear(theme)} style={{ top: yearTop }}>\n <DateSelect\n disabled={yearSelectDisabled}\n width={isMobile ? '3.5em' : 50}\n type=\"year\"\n value={year}\n minValue={minDate ? minDate.year : undefined}\n maxValue={maxDate ? maxDate.year : undefined}\n onValueChange={onYearSelect}\n ref={!yearSelectDisabled ? yearSelectRef : undefined}\n />\n </div>\n )}\n </div>\n </div>\n {children}\n </div>\n );\n}\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;;AAEzC,SAASC,YAAY,QAAQ,gCAAgC;AAC7D,OAAO,KAAKC,cAAc,MAAM,iCAAiC;AACjE,SAASC,EAAE,QAAQ,2BAA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C;;AAEV","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","useContext","ThemeContext","ColorFunctions","cx","useResponsiveLayout","DateSelect","styles","themeConfig","CDS","CalendarDataTids","CalendarContext","getMinMonth","year","minDate","min","i","isGreaterOrEqual","date","month","getMaxMonth","maxDate","max","isLessOrEqual","MonthView","props","_cx","_cx2","theme","_useContext","_useResponsiveLayout","isMobile","children","height","isFirstInYear","isLastInYear","top","onMonthSelect","onYearSelect","monthSelectRef","yearSelectRef","isTopNegative","isHeaderSticky","headerTop","Math","MONTH_TITLE_HEIGHT","alpha","borderBottomColor","fade","calendarMonthTitleBorderBottomColor","isYearVisible","yearTop","monthSelectDisabled","yearSelectDisabled","createElement","className","monthMobile","style","key","header","headerSticky","monthTitle","headerMonth","disabled","width","type","value","onValueChange","ref","undefined","minValue","maxValue","headerYear"],"sources":["MonthView.tsx"],"sourcesContent":["import React, { useContext } from 'react';\n\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport * as ColorFunctions from '../../lib/styles/ColorFunctions';\nimport { cx } from '../../lib/theming/Emotion';\nimport { useResponsiveLayout } from '../../components/ResponsiveLayout';\nimport type { Nullable } from '../..//typings/utility-types';\nimport { DateSelect } from '../../internal/DateSelect';\n\nimport { styles } from './MonthView.styles';\nimport { themeConfig } from './config';\nimport * as CDS from './CalendarDateShape';\nimport { CalendarDataTids } from './Calendar';\nimport { CalendarContext } from './CalendarContext';\n\nexport const getMinMonth = (year: number, minDate: Nullable<CDS.CalendarDateShape>) => {\n let min = 0;\n for (let i = 0; i < 12; ++i) {\n if (minDate && CDS.isGreaterOrEqual({ date: 31, month: i, year }, minDate)) {\n min = i;\n break;\n }\n }\n return min;\n};\n\nexport const getMaxMonth = (year: number, maxDate: Nullable<CDS.CalendarDateShape>) => {\n let max = 11;\n for (let i = 11; i >= 0; --i) {\n if (maxDate && CDS.isLessOrEqual({ date: 1, month: i, year }, maxDate)) {\n max = i;\n break;\n }\n }\n return max;\n};\n\ninterface MonthViewProps {\n children: React.ReactNode;\n firstDayOffset: number;\n height: number;\n isFirstInYear?: boolean;\n isLastInYear?: boolean;\n month: number;\n top: number;\n year: number;\n onMonthSelect: (month: number) => void;\n onYearSelect: (month: number) => void;\n monthSelectRef: (select: DateSelect | null) => void;\n yearSelectRef: (select: DateSelect | null) => void;\n}\n\nexport function MonthView(props: MonthViewProps) {\n const theme = useContext(ThemeContext);\n const { minDate, maxDate } = useContext(CalendarContext);\n const { isMobile } = useResponsiveLayout();\n\n const {\n children,\n height,\n isFirstInYear,\n isLastInYear,\n month,\n top,\n year,\n onMonthSelect,\n onYearSelect,\n monthSelectRef,\n yearSelectRef,\n } = props;\n\n const isTopNegative = top <= 0;\n const isHeaderSticky = isTopNegative && height >= -top;\n const headerTop = isHeaderSticky ? Math.min(-top, height - themeConfig(theme).MONTH_TITLE_HEIGHT) : 0;\n const alpha = isHeaderSticky ? (height + top - themeConfig(theme).MONTH_TITLE_HEIGHT) / 10 : 1;\n const borderBottomColor = ColorFunctions.fade(theme.calendarMonthTitleBorderBottomColor, alpha);\n const isYearVisible = isFirstInYear || isHeaderSticky;\n const yearTop = isHeaderSticky && !isLastInYear ? -headerTop - top : 0;\n const monthSelectDisabled = top > 52 || headerTop < 0 || headerTop >= height - themeConfig(theme).MONTH_TITLE_HEIGHT;\n const yearSelectDisabled = top > 52 || (isLastInYear && top < -height + themeConfig(theme).MONTH_TITLE_HEIGHT);\n\n return (\n <div\n data-tid={CalendarDataTids.month}\n className={cx({ [styles.month(theme)]: true, [styles.monthMobile()]: isMobile })}\n style={{ top }}\n key={month + '-' + year}\n >\n <div\n style={{ top: headerTop }}\n className={cx({\n [styles.header()]: true,\n [styles.headerSticky(theme)]: isHeaderSticky,\n })}\n >\n <div style={{ borderBottomColor }} className={styles.monthTitle(theme)}>\n <div data-tid={CalendarDataTids.headerMonth} className={styles.headerMonth(theme)}>\n <DateSelect\n disabled={monthSelectDisabled}\n width={isMobile ? '6em' : 85}\n type=\"month\"\n value={month}\n onValueChange={onMonthSelect}\n ref={!monthSelectDisabled ? monthSelectRef : undefined}\n minValue={getMinMonth(year, minDate)}\n maxValue={getMaxMonth(year, maxDate)}\n />\n </div>\n {isYearVisible && (\n <div data-tid={CalendarDataTids.headerYear} className={styles.headerYear(theme)} style={{ top: yearTop }}>\n <DateSelect\n disabled={yearSelectDisabled}\n width={isMobile ? '3.5em' : 50}\n type=\"year\"\n value={year}\n minValue={minDate ? minDate.year : undefined}\n maxValue={maxDate ? maxDate.year : undefined}\n onValueChange={onYearSelect}\n ref={!yearSelectDisabled ? yearSelectRef : undefined}\n />\n </div>\n )}\n </div>\n </div>\n {children}\n </div>\n );\n}\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;;AAEzC,SAASC,YAAY,QAAQ,gCAAgC;AAC7D,OAAO,KAAKC,cAAc,MAAM,iCAAiC;AACjE,SAASC,EAAE,QAAQ,2BAA2B;AAC9C,SAASC,mBAAmB,QAAQ,mCAAmC;;AAEvE,SAASC,UAAU,QAAQ,2BAA2B;;AAEtD,SAASC,MAAM,QAAQ,oBAAoB;AAC3C,SAASC,WAAW,QAAQ,UAAU;AACtC,OAAO,KAAKC,GAAG,MAAM,qBAAqB;AAC1C,SAASC,gBAAgB,QAAQ,YAAY;AAC7C,SAASC,eAAe,QAAQ,mBAAmB;;AAEnD,OAAO,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,IAAY,EAAEC,OAAwC,EAAK;EACrF,IAAIC,GAAG,GAAG,CAAC;EACX,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAG,EAAE,EAAE,EAAEA,CAAC,EAAE;IAC3B,IAAIF,OAAO,IAAIL,GAAG,CAACQ,gBAAgB,CAAC,EAAEC,IAAI,EAAE,EAAE,EAAEC,KAAK,EAAEH,CAAC,EAAEH,IAAI,EAAJA,IAAI,CAAC,CAAC,EAAEC,OAAO,CAAC,EAAE;MAC1EC,GAAG,GAAGC,CAAC;MACP;IAC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ACjB,SAAS,EAAEhD,MAAM,CAACiE,UAAU,CAAC5C,KAAK,CAAE,EAAC6B,KAAK,EAAE,EAAErB,GAAG,EAAEe,OAAO,CAAC,CAAE;IACvGnD,KAAA,CAAAsD,aAAA,CAAChD,UAAU;MACTyD,QAAQ,EAAEV,kBAAmB;MAC7BW,KAAK,EAAEjC,QAAQ,GAAG,OAAO,GAAG,EAAG;MAC/BkC,IAAI,EAAC,MAAM;MACXC,KAAK,EAAErD,IAAK;MACZyD,QAAQ,EAAExD,OAAO,GAAGA,OAAO,CAACD,IAAI,GAAGwD,SAAU;MAC7CE,QAAQ,EAAElD,OAAO,GAAGA,OAAO,CAACR,IAAI,GAAGwD,SAAU;MAC7CF,aAAa,EAAE7B,YAAa;MAC5B8B,GAAG,EAAE,CAACf,kBAAkB,GAAGb,aAAa,GAAG6B,SAAU;IACtD;IACE;;IAEJ;IACF,CAAC;IACLrC;IACE,CAAC;;AAEV","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Nullable } from '../..//typings/utility-types';
|
|
2
|
+
import type { Nullable } from '../..//typings/utility-types';
|
|
3
3
|
import { DateSelect } from '../../internal/DateSelect';
|
|
4
4
|
import * as CDS from './CalendarDateShape';
|
|
5
5
|
export declare const getMinMonth: (year: number, minDate: Nullable<CDS.CalendarDateShape>) => number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["css","memoizeStyle","styles","headerMonth","t","_templateObject","_taggedTemplateLiteralLoose","calendarMonthTitlePaddingTop","calendarMonthTitlePaddingBottom","headerYear","_templateObject2","month","width","parseInt","calendarCellWidth","_templateObject3","monthMobile","_templateObject4","header","_templateObject5","headerSticky","_templateObject6","calendarMonthHeaderStickedBgColor","monthTitle","_templateObject7","calendarMonthTitleBorderBottomColor","dateSelectFontWeight","calendarMonthTitleMarginX","calendarMonthTitleMarginBottom","calendarMonthTitleLineHeight","monthDayGrid","_templateObject8","calendarCellLineHeight","calendarGridRowSpacing","monthDayRow","_templateObject9","nativeSelect","_templateObject10"],"sources":["MonthView.styles.ts"],"sourcesContent":["import { css, memoizeStyle } from '../../lib/theming/Emotion';\nimport { Theme } from '../../lib/theming/Theme';\n\nexport const styles = memoizeStyle({\n headerMonth(t: Theme) {\n return css`\n display: inline-block;\n padding: ${t.calendarMonthTitlePaddingTop} 0 ${t.calendarMonthTitlePaddingBottom};\n `;\n },\n\n headerYear(t: Theme) {\n return css`\n display: inline-block;\n position: absolute;\n right: 0;\n padding: ${t.calendarMonthTitlePaddingTop} 0 ${t.calendarMonthTitlePaddingBottom};\n `;\n },\n\n month(t: Theme) {\n const width = parseInt(t.calendarCellWidth) * 7;\n return css`\n position: absolute;\n width: ${width}px;\n `;\n },\n\n monthMobile() {\n return css`\n width: 100%;\n `;\n },\n\n header() {\n return css`\n position: relative;\n `;\n },\n\n headerSticky(t: Theme) {\n return css`\n background-color: ${t.calendarMonthHeaderStickedBgColor};\n z-index: 2;\n `;\n },\n\n monthTitle(t: Theme) {\n return css`\n border-bottom: 1px solid ${t.calendarMonthTitleBorderBottomColor};\n font-weight: ${t.dateSelectFontWeight};\n margin: 0 ${t.calendarMonthTitleMarginX} ${t.calendarMonthTitleMarginBottom};\n line-height: ${t.calendarMonthTitleLineHeight};\n `;\n },\n\n /* Note: this could've been\n * display: grid;\n * grid-template-columns: repeat(7, minmax(0, 1fr));\n */\n monthDayGrid(t: Theme) {\n return css`\n line-height: ${t.calendarCellLineHeight};\n display: flex;\n flex-direction: column;\n padding: ${t.calendarGridRowSpacing} 0px;\n `;\n },\n\n monthDayRow(t: Theme) {\n return css`\n display: flex;\n justify-content: space-between;\n\n & + & {\n margin-top: ${t.calendarGridRowSpacing};\n }\n `;\n },\n\n nativeSelect() {\n return css`\n position: absolute;\n top: -12px;\n right: 0;\n bottom: -8px;\n left: 0;\n cursor: pointer;\n appearance: none;\n opacity: 0;\n border: none;\n `;\n },\n});\n"],"mappings":"uRAAA,SAASA,GAAG,E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,8BAA8B;IAC5DxB,CAAC,CAACyB,4BAA4B;;EAEjD,CAAC;;EAED;AACF;AACA;AACA;EACEC,YAAY,WAAAA,aAAC1B,CAAQ,EAAE;IACrB,OAAOJ,GAAG,CAAA+B,gBAAA,KAAAA,gBAAA,GAAAzB,2BAAA;IACOF,CAAC,CAAC4B,sBAAsB;;;IAG5B5B,CAAC,CAAC6B,sBAAsB;;EAEvC,CAAC;;EAEDC,WAAW,WAAAA,YAAC9B,CAAQ,EAAE;IACpB,OAAOJ,GAAG,CAAAmC,gBAAA,KAAAA,gBAAA,GAAA7B,2BAAA;;;;;IAKQF,CAAC,CAAC6B,sBAAsB;;;EAG5C,CAAC;;EAEDG,YAAY,WAAAA,aAAA,EAAG;IACb,OAAOpC,GAAG,CAAAqC,iBAAA,KAAAA,iBAAA,GAAA/B,2BAAA;;;;;;;;;;;EAWZ;AACF,CAAC,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["css","memoizeStyle","styles","headerMonth","t","_templateObject","_taggedTemplateLiteralLoose","calendarMonthTitlePaddingTop","calendarMonthTitlePaddingBottom","headerYear","_templateObject2","month","width","parseInt","calendarCellWidth","_templateObject3","monthMobile","_templateObject4","header","_templateObject5","headerSticky","_templateObject6","calendarMonthHeaderStickedBgColor","monthTitle","_templateObject7","calendarMonthTitleBorderBottomColor","dateSelectFontWeight","calendarMonthTitleMarginX","calendarMonthTitleMarginBottom","calendarMonthTitleLineHeight","monthDayGrid","_templateObject8","calendarCellLineHeight","calendarGridRowSpacing","monthDayRow","_templateObject9","nativeSelect","_templateObject10"],"sources":["MonthView.styles.ts"],"sourcesContent":["import { css, memoizeStyle } from '../../lib/theming/Emotion';\nimport type { Theme } from '../../lib/theming/Theme';\n\nexport const styles = memoizeStyle({\n headerMonth(t: Theme) {\n return css`\n display: inline-block;\n padding: ${t.calendarMonthTitlePaddingTop} 0 ${t.calendarMonthTitlePaddingBottom};\n `;\n },\n\n headerYear(t: Theme) {\n return css`\n display: inline-block;\n position: absolute;\n right: 0;\n padding: ${t.calendarMonthTitlePaddingTop} 0 ${t.calendarMonthTitlePaddingBottom};\n `;\n },\n\n month(t: Theme) {\n const width = parseInt(t.calendarCellWidth) * 7;\n return css`\n position: absolute;\n width: ${width}px;\n `;\n },\n\n monthMobile() {\n return css`\n width: 100%;\n `;\n },\n\n header() {\n return css`\n position: relative;\n `;\n },\n\n headerSticky(t: Theme) {\n return css`\n background-color: ${t.calendarMonthHeaderStickedBgColor};\n z-index: 2;\n `;\n },\n\n monthTitle(t: Theme) {\n return css`\n border-bottom: 1px solid ${t.calendarMonthTitleBorderBottomColor};\n font-weight: ${t.dateSelectFontWeight};\n margin: 0 ${t.calendarMonthTitleMarginX} ${t.calendarMonthTitleMarginBottom};\n line-height: ${t.calendarMonthTitleLineHeight};\n `;\n },\n\n /* Note: this could've been\n * display: grid;\n * grid-template-columns: repeat(7, minmax(0, 1fr));\n */\n monthDayGrid(t: Theme) {\n return css`\n line-height: ${t.calendarCellLineHeight};\n display: flex;\n flex-direction: column;\n padding: ${t.calendarGridRowSpacing} 0px;\n `;\n },\n\n monthDayRow(t: Theme) {\n return css`\n display: flex;\n justify-content: space-between;\n\n & + & {\n margin-top: ${t.calendarGridRowSpacing};\n }\n `;\n },\n\n nativeSelect() {\n return css`\n position: absolute;\n top: -12px;\n right: 0;\n bottom: -8px;\n left: 0;\n cursor: pointer;\n appearance: none;\n opacity: 0;\n border: none;\n `;\n },\n});\n"],"mappings":"uRAAA,SAASA,GAAG,EAAEC,YAAY,QAAQ,2BAA2B;;;AAG7D,OAAO,IAAMC,MAAM,GAAGD,YAAY,CAAC;EACjCE,WAAW,WAAAA,YAACC,CAAQ,EAAE;IACpB,OAAOJ,GAAG,CAAAK,eAAA,KAAAA,eAAA,GAAAC,2BAAA;;IAEGF,CAAC,CAACG,4BAA4B,EAAMH,CAAC,CAACI,+BAA+B;;EAEpF,CAAC;;EAEDC,UAAU,WAAAA,WAACL,CAAQ,EAAE;IACnB,OAAOJ,GA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ACpB,OAAOJ,GAAG,CAAAmC,gBAAA,KAAAA,gBAAA,GAAA7B,2BAAA;;;;;IAKQF,CAAC,CAAC6B,sBAAsB;;;EAG5C,CAAC;;EAEDG,YAAY,WAAAA,aAAA,EAAG;IACb,OAAOpC,GAAG,CAAAqC,iBAAA,KAAAA,iBAAA,GAAA/B,2BAAA;;;;;;;;;;;EAWZ;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["memo","getMonthInHumanFormat","themeConfig","DayCellViewModel","getCurrentYear","month","year","Math","ceil","floor","getCurrentMonth","MonthViewModel","currentYear","currentMonth","daysCount","getMonthsDays","offset","getMonthOffset","isLastInYear","isFirstInYear","days","Array","from","length","_","i","isWeekend","create","_proto","prototype","getHeight","theme","_themeConfig","DAY_HEIGHT","MONTH_TITLE_OFFSET_HEIGHT","MONTH_BOTTOM_MARGIN","CALENDAR_GRID_ROW_SPACING","getMonthHeight","_MonthViewModel","dayHeight","titleHeight","marginBottom","rowSpacing","weeks","Date","getDate","day","getDay"],"sources":["MonthViewModel.ts"],"sourcesContent":["import { memo } from '../../lib/memo';\nimport { Theme } from '../../lib/theming/Theme';\n\nimport { getMonthInHumanFormat } from './CalendarUtils';\nimport { themeConfig } from './config';\nimport { DayCellViewModel } from './DayCellViewModel';\n\nconst getCurrentYear = (month: number, year: number) => {\n if (month < 0) {\n return year - Math.ceil(-month / 12);\n }\n\n if (month > 11) {\n return year + Math.floor(month / 12);\n }\n\n return year;\n};\n\nconst getCurrentMonth = (month: number) => {\n if (month < 0) {\n return 12 + (month % 12);\n }\n\n if (month > 11) {\n return month % 12;\n }\n\n return month;\n};\n\nexport class MonthViewModel {\n public static create = memo((month: number, year: number): MonthViewModel => new MonthViewModel(month, year));\n\n public readonly daysCount: number;\n\n public readonly offset: number;\n\n public readonly month: number;\n\n public readonly year: number;\n\n public readonly days: DayCellViewModel[];\n\n // FIXME: shouldbe readonly\n public isLastInYear: boolean;\n\n // FIXME: shouldbe readonly\n public isFirstInYear: boolean;\n\n public getHeight(theme: Theme): number {\n const { DAY_HEIGHT, MONTH_TITLE_OFFSET_HEIGHT, MONTH_BOTTOM_MARGIN, CALENDAR_GRID_ROW_SPACING } =\n themeConfig(theme);\n return getMonthHeight(\n this.daysCount,\n this.offset,\n DAY_HEIGHT,\n MONTH_TITLE_OFFSET_HEIGHT,\n MONTH_BOTTOM_MARGIN,\n CALENDAR_GRID_ROW_SPACING,\n );\n }\n\n private constructor(month: number, year: number) {\n const currentYear = getCurrentYear(month, year);\n const currentMonth = getCurrentMonth(month);\n\n const daysCount = getMonthsDays(currentMonth, currentYear);\n const offset = getMonthOffset(currentMonth, currentYear);\n this.daysCount = daysCount;\n this.offset = offset;\n this.month = currentMonth;\n this.year = currentYear;\n this.isLastInYear = currentMonth === 11;\n this.isFirstInYear = currentMonth === 0;\n this.days = Array.from({ length: daysCount }, (_, i) => {\n const isWeekend = (i + getMonthOffset(currentMonth, currentYear)) % 7 >= 5;\n return DayCellViewModel.create(i + 1, currentMonth, currentYear, isWeekend);\n });\n }\n}\n\nconst getMonthHeight = memo(\n (\n daysCount: number,\n offset: number,\n dayHeight: number,\n titleHeight: number,\n marginBottom: number,\n rowSpacing: number,\n ) => {\n const weeks = Math.ceil((daysCount + offset) / 7);\n return weeks * dayHeight + titleHeight + marginBottom + rowSpacing * 2 + rowSpacing * (weeks - 1);\n },\n);\nconst getMonthsDays = memo((month: number, year: number) => new Date(year, getMonthInHumanFormat(month), 0).getDate());\n\nconst getMonthOffset = memo((month: number, year: number) => {\n const day = new Date(year, month, 1).getDay() - 1;\n if (day === -1) {\n return 6;\n }\n return day;\n});\n"],"mappings":"oBAAA,SAASA,IAAI,QAAQ,gBAAgB;;;AAGrC,SAASC,qBAAqB,QAAQ,iBAAiB;AACvD,SAASC,WAAW,QAAQ,UAAU;AACtC,SAASC,gBAAgB,QAAQ,oBAAoB;;AAErD,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAIC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GAAGC,YAAY,GAAGC,UAAU,GAAG,CAAC,GAAGA,UAAU,IAAIC,KAAK,GAAG,CAAC,CAAC;EACnG;AACF,CAAC;AACD,IAAM5B,aAAa,GAAGf,IAAI,CAAC,UAACK,KAAa,EAAEC,IAAY,UAAK,IAAIsC,IAAI,CAACtC,IAAI,EAAEL,qBAAqB,CAACI,KAAK,CAAC,EAAE,CAAC,CAAC,CAACwC,OAAO,CAAC,CAAC,GAAC;;AAEtH,IAAM5B,cAAc,GAAGjB,IAAI,CAAC,UAACK,KAAa,EAAEC,IAAY,EAAK;EAC3D,IAAMwC,GAAG,GAAG,IAAIF,IAAI,CAACtC,IAAI,EAAED,KAAK,EAAE,CAAC,CAAC,CAAC0C,MAAM,CAAC,CAAC,GAAG,CAAC;EACjD,IAAID,GAAG,KAAK,CAAC,CAAC,EAAE;IACd,OAAO,CAAC;EACV;EACA,OAAOA,GAAG;AACZ,CAAC,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["memo","getMonthInHumanFormat","themeConfig","DayCellViewModel","getCurrentYear","month","year","Math","ceil","floor","getCurrentMonth","MonthViewModel","currentYear","currentMonth","daysCount","getMonthsDays","offset","getMonthOffset","isLastInYear","isFirstInYear","days","Array","from","length","_","i","isWeekend","create","_proto","prototype","getHeight","theme","_themeConfig","DAY_HEIGHT","MONTH_TITLE_OFFSET_HEIGHT","MONTH_BOTTOM_MARGIN","CALENDAR_GRID_ROW_SPACING","getMonthHeight","_MonthViewModel","dayHeight","titleHeight","marginBottom","rowSpacing","weeks","Date","getDate","day","getDay"],"sources":["MonthViewModel.ts"],"sourcesContent":["import { memo } from '../../lib/memo';\nimport type { Theme } from '../../lib/theming/Theme';\n\nimport { getMonthInHumanFormat } from './CalendarUtils';\nimport { themeConfig } from './config';\nimport { DayCellViewModel } from './DayCellViewModel';\n\nconst getCurrentYear = (month: number, year: number) => {\n if (month < 0) {\n return year - Math.ceil(-month / 12);\n }\n\n if (month > 11) {\n return year + Math.floor(month / 12);\n }\n\n return year;\n};\n\nconst getCurrentMonth = (month: number) => {\n if (month < 0) {\n return 12 + (month % 12);\n }\n\n if (month > 11) {\n return month % 12;\n }\n\n return month;\n};\n\nexport class MonthViewModel {\n public static create = memo((month: number, year: number): MonthViewModel => new MonthViewModel(month, year));\n\n public readonly daysCount: number;\n\n public readonly offset: number;\n\n public readonly month: number;\n\n public readonly year: number;\n\n public readonly days: DayCellViewModel[];\n\n // FIXME: shouldbe readonly\n public isLastInYear: boolean;\n\n // FIXME: shouldbe readonly\n public isFirstInYear: boolean;\n\n public getHeight(theme: Theme): number {\n const { DAY_HEIGHT, MONTH_TITLE_OFFSET_HEIGHT, MONTH_BOTTOM_MARGIN, CALENDAR_GRID_ROW_SPACING } =\n themeConfig(theme);\n return getMonthHeight(\n this.daysCount,\n this.offset,\n DAY_HEIGHT,\n MONTH_TITLE_OFFSET_HEIGHT,\n MONTH_BOTTOM_MARGIN,\n CALENDAR_GRID_ROW_SPACING,\n );\n }\n\n private constructor(month: number, year: number) {\n const currentYear = getCurrentYear(month, year);\n const currentMonth = getCurrentMonth(month);\n\n const daysCount = getMonthsDays(currentMonth, currentYear);\n const offset = getMonthOffset(currentMonth, currentYear);\n this.daysCount = daysCount;\n this.offset = offset;\n this.month = currentMonth;\n this.year = currentYear;\n this.isLastInYear = currentMonth === 11;\n this.isFirstInYear = currentMonth === 0;\n this.days = Array.from({ length: daysCount }, (_, i) => {\n const isWeekend = (i + getMonthOffset(currentMonth, currentYear)) % 7 >= 5;\n return DayCellViewModel.create(i + 1, currentMonth, currentYear, isWeekend);\n });\n }\n}\n\nconst getMonthHeight = memo(\n (\n daysCount: number,\n offset: number,\n dayHeight: number,\n titleHeight: number,\n marginBottom: number,\n rowSpacing: number,\n ) => {\n const weeks = Math.ceil((daysCount + offset) / 7);\n return weeks * dayHeight + titleHeight + marginBottom + rowSpacing * 2 + rowSpacing * (weeks - 1);\n },\n);\nconst getMonthsDays = memo((month: number, year: number) => new Date(year, getMonthInHumanFormat(month), 0).getDate());\n\nconst getMonthOffset = memo((month: number, year: number) => {\n const day = new Date(year, month, 1).getDay() - 1;\n if (day === -1) {\n return 6;\n }\n return day;\n});\n"],"mappings":"oBAAA,SAASA,IAAI,QAAQ,gBAAgB;;;AAGrC,SAASC,qBAAqB,QAAQ,iBAAiB;AACvD,SAASC,WAAW,QAAQ,UAAU;AACtC,SAASC,gBAAgB,QAAQ,oBAAoB;;AAErD,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,KAAa,EAAEC,IAAY,EAAK;EACtD,IAAID,KAAK,GAAG,CAAC,EAAE;IACb,OAAOC,IAAI,GAAGC,IAAI,CAACC,IAAI,CAAC,CAACH,KAAK,GAAG,EAAE,CAAC;EACtC;;EAEA,IAAIA,KAAK,GAAG,EAAE,EAAE;IACd,OAAOC,IAAI,GAAGC,IAAI,CAACE,KAAK,CAACJ,KAAK,GAAG,EAAE,CAAC;EACtC;;EAEA,OAAOC,IAAI;AACb,CAAC;;AAED,IAAMI,eAAe,GAAG,SAAlBA,eAAeA,CAAIL,KAAa,EAAK;EACzC,IAAIA,KAAK,GAAG,CAAC,EAAE;IACb,OAAO,EAAE,GAAIA,KAAK,GAAG,EAAG;EAC1B;;EAEA,IAAIA,KAAK,GAAG,EAAE,EAAE;IACd,OAAOA,KAAK,GAAG,EAAE;EACnB;;EAEA,OAAOA,KAAK;AACd,CAAC;;AAED,WAAaM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCzB,SAAAA,eAAoBN,KAAa,EAAEC,IAAY,EAAE;IAC/C,IAAMM,WAAW,GAAGR,cAAc,CAACC,KAAK,EAAEC,IAAI,CAAC;IAC/C,IAAMO,YAAY,GAAGH,eAAe,CAACL,KAAK,CAAC;;IAE3C,IAAMS,SAAS,GAAGC,aAAa,CAACF,YAAY,EAAED,WAAW,CAAC;IAC1D,IAAMI,MAAM,GAAGC,cAAc,CAACJ,YAAY,EAAED,WAAW,CAAC;IACxD,IAAI,CAACE,SAA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N,KAAK,EAAEC,IAAI,CAAC,GAAC;AAkD/G,IAAM+B,cAAc,GAAGrC,IAAI;EACzB;EACEc,SAAiB;EACjBE,MAAc;EACduB,SAAiB;EACjBC,WAAmB;EACnBC,YAAoB;EACpBC,UAAkB;EACf;IACH,IAAMC,KAAK,GAAGpC,IAAI,CAACC,IAAI,CAAC,CAACM,SAAS,GAAGE,MAAM,IAAI,CAAC,CAAC;IACjD,OAAO2B,KAAK,GAAGJ,SAAS,GAAGC,WAAW,GAAGC,YAAY,GAAGC,UAAU,GAAG,CAAC,GAAGA,UAAU,IAAIC,KAAK,GAAG,CAAC,CAAC;EACnG;AACF,CAAC;AACD,IAAM5B,aAAa,GAAGf,IAAI,CAAC,UAACK,KAAa,EAAEC,IAAY,UAAK,IAAIsC,IAAI,CAACtC,IAAI,EAAEL,qBAAqB,CAACI,KAAK,CAAC,EAAE,CAAC,CAAC,CAACwC,OAAO,CAAC,CAAC,GAAC;;AAEtH,IAAM5B,cAAc,GAAGjB,IAAI,CAAC,UAACK,KAAa,EAAEC,IAAY,EAAK;EAC3D,IAAMwC,GAAG,GAAG,IAAIF,IAAI,CAACtC,IAAI,EAAED,KAAK,EAAE,CAAC,CAAC,CAAC0C,MAAM,CAAC,CAAC,GAAG,CAAC;EACjD,IAAID,GAAG,KAAK,CAAC,CAAC,EAAE;IACd,OAAO,CAAC;EACV;EACA,OAAOA,GAAG;AACZ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["memo","getConfig","monthTitleLineHeight","monthTitlePaddingTop","monthTitlePaddingBottom","monthTitleMarginBottom","cellWidth","cellHeight","wrapperHeight","monthMarginBottom","maxMonthsToAppendOnScroll","calendarGridRowSpacing","monthTitleHeight","parseInt","DAY_WIDTH","DAY_HEIGHT","MONTH_TITLE_HEIGHT","MONTH_TITLE_OFFSET_HEIGHT","WRAPPER_HEIGHT","MONTH_BOTTOM_MARGIN","MAX_MONTHS_TO_APPEND_ON_SCROLL","CALENDAR_GRID_ROW_SPACING","themeConfig","t","calendarMonthTitleLineHeight","calendarMonthTitlePaddingTop","calendarMonthTitlePaddingBottom","calendarMonthTitleMarginBottom","calendarCellWidth","calendarCellHeight","calendarWrapperHeight","calendarMonthMarginBottom","calendarMaxMonthsToAppendOnScroll"],"sources":["config.ts"],"sourcesContent":["import { Theme } from '../../lib/theming/Theme';\nimport { memo } from '../../lib/memo';\n\nconst getConfig = memo(\n (\n monthTitleLineHeight: string,\n monthTitlePaddingTop: string,\n monthTitlePaddingBottom: string,\n monthTitleMarginBottom: string,\n cellWidth: string,\n cellHeight: string,\n wrapperHeight: string,\n monthMarginBottom: string,\n maxMonthsToAppendOnScroll: string,\n calendarGridRowSpacing: string,\n ) => {\n const monthTitleHeight =\n parseInt(monthTitleLineHeight) + parseInt(monthTitlePaddingTop) + parseInt(monthTitlePaddingBottom);\n return {\n DAY_WIDTH: parseInt(cellWidth),\n DAY_HEIGHT: parseInt(cellHeight),\n MONTH_TITLE_HEIGHT: monthTitleHeight,\n MONTH_TITLE_OFFSET_HEIGHT: monthTitleHeight + parseInt(monthTitleMarginBottom) + 1, // + 1px separator line\n WRAPPER_HEIGHT: parseInt(wrapperHeight),\n MONTH_BOTTOM_MARGIN: parseInt(monthMarginBottom),\n MAX_MONTHS_TO_APPEND_ON_SCROLL: parseInt(maxMonthsToAppendOnScroll),\n CALENDAR_GRID_ROW_SPACING: parseInt(calendarGridRowSpacing),\n };\n },\n);\n\nexport const themeConfig = (t: Theme) =>\n getConfig(\n t.calendarMonthTitleLineHeight,\n t.calendarMonthTitlePaddingTop,\n t.calendarMonthTitlePaddingBottom,\n t.calendarMonthTitleMarginBottom,\n t.calendarCellWidth,\n t.calendarCellHeight,\n t.calendarWrapperHeight,\n t.calendarMonthMarginBottom,\n t.calendarMaxMonthsToAppendOnScroll,\n t.calendarGridRowSpacing,\n );\n"],"mappings":";AACA,SAASA,IAAI,QAAQ,gBAAgB;;AAErC,IAAMC,SAAS,GAAGD,IAAI;EACpB;EACEE,oBAA4B;EAC5BC,oBAA4B;EAC5BC,uBAA+B;EAC/BC,sBAA8B;EAC9BC,SAAiB;EACjBC,UAAkB;EAClBC,aAAqB;EACrBC,iBAAyB;EACzBC,yBAAiC;EACjCC,sBAA8B;EAC3B;IACH,IAAMC,gBAAgB;IACpBC,QAAQ,CAACX,oBAAoB,CAAC,GAAGW,QAAQ,CAACV,oBAAoB,CAAC,GAAGU,QAAQ,CAACT,uBAAuB,CAAC;IACrG,OAAO;MACLU,SAAS,EAAED,QAAQ,CAACP,SAAS,CAAC;MAC9BS,UAAU,EAAEF,QAAQ,CAACN,UAAU,CAAC;MAChCS,kBAAkB,EAAEJ,gBAAgB;MACpCK,yBAAyB,EAAEL,gBAAgB,GAAGC,QAAQ,CAACR,sBAAsB,CAAC,GAAG,CAAC,EAAE;MACpFa,cAAc,EAAEL,QAAQ,CAACL,aAAa,CAAC;MACvCW,mBAAmB,EAAEN,QAAQ,CAACJ,iBAAiB,CAAC;MAChDW,8BAA8B,EAAEP,QAAQ,CAACH,yBAAyB,CAAC;MACnEW,yBAAyB,EAAER,QAAQ,CAACF,sBAAsB;IAC5D,CAAC;EACH;AACF,CAAC;;AAED,OAAO,IAAMW,WAAW,GAAG,SAAdA,WAAWA,CAAIC,CAAQ;IAClCtB,SAAS;MACPsB,CAAC,CAACC,4BAA4B;MAC9BD,CAAC,CAACE,4BAA4B;MAC9BF,CAAC,CAACG,+BAA+B;MACjCH,CAAC,CAACI,8BAA8B;MAChCJ,CAAC,CAACK,iBAAiB;MACnBL,CAAC,CAACM,kBAAkB;MACpBN,CAAC,CAACO,qBAAqB;MACvBP,CAAC,CAACQ,yBAAyB;MAC3BR,CAAC,CAACS,iCAAiC;MACnCT,CAAC,CAACZ;IACJ,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["memo","getConfig","monthTitleLineHeight","monthTitlePaddingTop","monthTitlePaddingBottom","monthTitleMarginBottom","cellWidth","cellHeight","wrapperHeight","monthMarginBottom","maxMonthsToAppendOnScroll","calendarGridRowSpacing","monthTitleHeight","parseInt","DAY_WIDTH","DAY_HEIGHT","MONTH_TITLE_HEIGHT","MONTH_TITLE_OFFSET_HEIGHT","WRAPPER_HEIGHT","MONTH_BOTTOM_MARGIN","MAX_MONTHS_TO_APPEND_ON_SCROLL","CALENDAR_GRID_ROW_SPACING","themeConfig","t","calendarMonthTitleLineHeight","calendarMonthTitlePaddingTop","calendarMonthTitlePaddingBottom","calendarMonthTitleMarginBottom","calendarCellWidth","calendarCellHeight","calendarWrapperHeight","calendarMonthMarginBottom","calendarMaxMonthsToAppendOnScroll"],"sources":["config.ts"],"sourcesContent":["import type { Theme } from '../../lib/theming/Theme';\nimport { memo } from '../../lib/memo';\n\nconst getConfig = memo(\n (\n monthTitleLineHeight: string,\n monthTitlePaddingTop: string,\n monthTitlePaddingBottom: string,\n monthTitleMarginBottom: string,\n cellWidth: string,\n cellHeight: string,\n wrapperHeight: string,\n monthMarginBottom: string,\n maxMonthsToAppendOnScroll: string,\n calendarGridRowSpacing: string,\n ) => {\n const monthTitleHeight =\n parseInt(monthTitleLineHeight) + parseInt(monthTitlePaddingTop) + parseInt(monthTitlePaddingBottom);\n return {\n DAY_WIDTH: parseInt(cellWidth),\n DAY_HEIGHT: parseInt(cellHeight),\n MONTH_TITLE_HEIGHT: monthTitleHeight,\n MONTH_TITLE_OFFSET_HEIGHT: monthTitleHeight + parseInt(monthTitleMarginBottom) + 1, // + 1px separator line\n WRAPPER_HEIGHT: parseInt(wrapperHeight),\n MONTH_BOTTOM_MARGIN: parseInt(monthMarginBottom),\n MAX_MONTHS_TO_APPEND_ON_SCROLL: parseInt(maxMonthsToAppendOnScroll),\n CALENDAR_GRID_ROW_SPACING: parseInt(calendarGridRowSpacing),\n };\n },\n);\n\nexport const themeConfig = (t: Theme) =>\n getConfig(\n t.calendarMonthTitleLineHeight,\n t.calendarMonthTitlePaddingTop,\n t.calendarMonthTitlePaddingBottom,\n t.calendarMonthTitleMarginBottom,\n t.calendarCellWidth,\n t.calendarCellHeight,\n t.calendarWrapperHeight,\n t.calendarMonthMarginBottom,\n t.calendarMaxMonthsToAppendOnScroll,\n t.calendarGridRowSpacing,\n );\n"],"mappings":";AACA,SAASA,IAAI,QAAQ,gBAAgB;;AAErC,IAAMC,SAAS,GAAGD,IAAI;EACpB;EACEE,oBAA4B;EAC5BC,oBAA4B;EAC5BC,uBAA+B;EAC/BC,sBAA8B;EAC9BC,SAAiB;EACjBC,UAAkB;EAClBC,aAAqB;EACrBC,iBAAyB;EACzBC,yBAAiC;EACjCC,sBAA8B;EAC3B;IACH,IAAMC,gBAAgB;IACpBC,QAAQ,CAACX,oBAAoB,CAAC,GAAGW,QAAQ,CAACV,oBAAoB,CAAC,GAAGU,QAAQ,CAACT,uBAAuB,CAAC;IACrG,OAAO;MACLU,SAAS,EAAED,QAAQ,CAACP,SAAS,CAAC;MAC9BS,UAAU,EAAEF,QAAQ,CAACN,UAAU,CAAC;MAChCS,kBAAkB,EAAEJ,gBAAgB;MACpCK,yBAAyB,EAAEL,gBAAgB,GAAGC,QAAQ,CAACR,sBAAsB,CAAC,GAAG,CAAC,EAAE;MACpFa,cAAc,EAAEL,QAAQ,CAACL,aAAa,CAAC;MACvCW,mBAAmB,EAAEN,QAAQ,CAACJ,iBAAiB,CAAC;MAChDW,8BAA8B,EAAEP,QAAQ,CAACH,yBAAyB,CAAC;MACnEW,yBAAyB,EAAER,QAAQ,CAACF,sBAAsB;IAC5D,CAAC;EACH;AACF,CAAC;;AAED,OAAO,IAAMW,WAAW,GAAG,SAAdA,WAAWA,CAAIC,CAAQ;IAClCtB,SAAS;MACPsB,CAAC,CAACC,4BAA4B;MAC9BD,CAAC,CAACE,4BAA4B;MAC9BF,CAAC,CAACG,+BAA+B;MACjCH,CAAC,CAACI,8BAA8B;MAChCJ,CAAC,CAACK,iBAAiB;MACnBL,CAAC,CAACM,kBAAkB;MACpBN,CAAC,CAACO,qBAAqB;MACvBP,CAAC,CAACQ,yBAAyB;MAC3BR,CAAC,CAACS,iCAAiC;MACnCT,CAAC,CAACZ;IACJ,CAAC","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Theme } from '../../lib/theming/Theme';
|
|
1
|
+
import type { Theme } from '../../lib/theming/Theme';
|
|
2
2
|
export declare const themeConfig: (t: Theme) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["LocaleHelper","componentsLocales","en_GB","ru_RU","CalendarLocaleHelper"],"sources":["index.ts"],"sourcesContent":["import { LocaleHelper } from '../../../lib/locale/LocaleHelper';\n\nimport { componentsLocales as en_GB } from './locales/en';\nimport { componentsLocales as ru_RU } from './locales/ru';\nimport { CalendarLocale } from './types';\n\nexport * from './types';\n\nexport const CalendarLocaleHelper = new LocaleHelper<CalendarLocale>({\n ru_RU,\n en_GB,\n});\n"],"mappings":"AAAA,SAASA,YAAY,QAAQ,kCAAkC;;AAE/D,SAASC,iBAAiB,IAAIC,KAAK,QAAQ,cAAc;AACzD,SAASD,iBAAiB,IAAIE,KAAK,QAAQ,cAAc;;;AAGzD,cAAc,SAAS;;AAEvB,OAAO,IAAMC,oBAAoB,GAAG,IAAIJ,YAAY,CAAiB;EACnEG,KAAK,EAALA,KAAK;EACLD,KAAK,EAALA;AACF,CAAC,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["LocaleHelper","componentsLocales","en_GB","ru_RU","CalendarLocaleHelper"],"sources":["index.ts"],"sourcesContent":["import { LocaleHelper } from '../../../lib/locale/LocaleHelper';\n\nimport { componentsLocales as en_GB } from './locales/en';\nimport { componentsLocales as ru_RU } from './locales/ru';\nimport type { CalendarLocale } from './types';\n\nexport * from './types';\n\nexport const CalendarLocaleHelper = new LocaleHelper<CalendarLocale>({\n ru_RU,\n en_GB,\n});\n"],"mappings":"AAAA,SAASA,YAAY,QAAQ,kCAAkC;;AAE/D,SAASC,iBAAiB,IAAIC,KAAK,QAAQ,cAAc;AACzD,SAASD,iBAAiB,IAAIE,KAAK,QAAQ,cAAc;;;AAGzD,cAAc,SAAS;;AAEvB,OAAO,IAAMC,oBAAoB,GAAG,IAAIJ,YAAY,CAAiB;EACnEG,KAAK,EAALA,KAAK;EACLD,KAAK,EAALA;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["componentsLocales","months","dayCellChooseDateAriaLabel"],"sources":["en.ts"],"sourcesContent":["import { CalendarLocale } from '../types';\n\nexport const componentsLocales: CalendarLocale = {\n months: [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December',\n ],\n dayCellChooseDateAriaLabel: 'Choose date',\n};\n"],"mappings":";;AAEA,OAAO,IAAMA,iBAAiC,GAAG;EAC/CC,MAAM,EAAE;EACN,SAAS;EACT,UAAU;EACV,OAAO;EACP,OAAO;EACP,KAAK;EACL,MAAM;EACN,MAAM;EACN,QAAQ;EACR,WAAW;EACX,SAAS;EACT,UAAU;EACV,UAAU,CACX;;EACDC,0BAA0B,EAAE;AAC9B,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["componentsLocales","months","dayCellChooseDateAriaLabel"],"sources":["en.ts"],"sourcesContent":["import type { CalendarLocale } from '../types';\n\nexport const componentsLocales: CalendarLocale = {\n months: [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December',\n ],\n dayCellChooseDateAriaLabel: 'Choose date',\n};\n"],"mappings":";;AAEA,OAAO,IAAMA,iBAAiC,GAAG;EAC/CC,MAAM,EAAE;EACN,SAAS;EACT,UAAU;EACV,OAAO;EACP,OAAO;EACP,KAAK;EACL,MAAM;EACN,MAAM;EACN,QAAQ;EACR,WAAW;EACX,SAAS;EACT,UAAU;EACV,UAAU,CACX;;EACDC,0BAA0B,EAAE;AAC9B,CAAC","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CalendarLocale } from '../types';
|
|
1
|
+
import type { CalendarLocale } from '../types';
|
|
2
2
|
export declare const componentsLocales: CalendarLocale;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["componentsLocales","months","dayCellChooseDateAriaLabel"],"sources":["ru.ts"],"sourcesContent":["import { CalendarLocale } from '../types';\n\nexport const componentsLocales: CalendarLocale = {\n months: [\n 'Январь',\n 'Февраль',\n 'Март',\n 'Апрель',\n 'Май',\n 'Июнь',\n 'Июль',\n 'Август',\n 'Сентябрь',\n 'Октябрь',\n 'Ноябрь',\n 'Декабрь',\n ],\n dayCellChooseDateAriaLabel: 'Выбрать дату',\n};\n"],"mappings":";;AAEA,OAAO,IAAMA,iBAAiC,GAAG;EAC/CC,MAAM,EAAE;EACN,QAAQ;EACR,SAAS;EACT,MAAM;EACN,QAAQ;EACR,KAAK;EACL,MAAM;EACN,MAAM;EACN,QAAQ;EACR,UAAU;EACV,SAAS;EACT,QAAQ;EACR,SAAS,CACV;;EACDC,0BAA0B,EAAE;AAC9B,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["componentsLocales","months","dayCellChooseDateAriaLabel"],"sources":["ru.ts"],"sourcesContent":["import type { CalendarLocale } from '../types';\n\nexport const componentsLocales: CalendarLocale = {\n months: [\n 'Январь',\n 'Февраль',\n 'Март',\n 'Апрель',\n 'Май',\n 'Июнь',\n 'Июль',\n 'Август',\n 'Сентябрь',\n 'Октябрь',\n 'Ноябрь',\n 'Декабрь',\n ],\n dayCellChooseDateAriaLabel: 'Выбрать дату',\n};\n"],"mappings":";;AAEA,OAAO,IAAMA,iBAAiC,GAAG;EAC/CC,MAAM,EAAE;EACN,QAAQ;EACR,SAAS;EACT,MAAM;EACN,QAAQ;EACR,KAAK;EACL,MAAM;EACN,MAAM;EACN,QAAQ;EACR,UAAU;EACV,SAAS;EACT,QAAQ;EACR,SAAS,CACV;;EACDC,0BAA0B,EAAE;AAC9B,CAAC","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CalendarLocale } from '../types';
|
|
1
|
+
import type { CalendarLocale } from '../types';
|
|
2
2
|
export declare const componentsLocales: CalendarLocale;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","CommonWrapper","cx","rootNode","createPropsGetter","styles","CenterDataTids","root","Center","_class","_Center","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","concat","getProps","defaultProps","renderMain","props","_cx","align","rest","_objectWithoutPropertiesLoose","_excluded","createElement","_extends","className","rootAlignLeft","rootAlignRight","spring","container","children","_inheritsLoose","_proto","prototype","render","rootNodeRef","setRootNode","Component","__KONTUR_REACT_UI__","displayName"],"sources":["Center.tsx"],"sourcesContent":["import React from 'react';\n\nimport { Override } from '../../typings/utility-types';\nimport { CommonProps, CommonWrapper
|
|
1
|
+
{"version":3,"names":["React","CommonWrapper","cx","rootNode","createPropsGetter","styles","CenterDataTids","root","Center","_class","_Center","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","concat","getProps","defaultProps","renderMain","props","_cx","align","rest","_objectWithoutPropertiesLoose","_excluded","createElement","_extends","className","rootAlignLeft","rootAlignRight","spring","container","children","_inheritsLoose","_proto","prototype","render","rootNodeRef","setRootNode","Component","__KONTUR_REACT_UI__","displayName"],"sources":["Center.tsx"],"sourcesContent":["import React from 'react';\n\nimport type { Override } from '../../typings/utility-types';\nimport type { CommonProps, CommonWrapperRestProps } from '../../internal/CommonWrapper';\nimport { CommonWrapper } from '../../internal/CommonWrapper';\nimport { cx } from '../../lib/theming/Emotion';\nimport type { TSetRootNode } from '../../lib/rootNode';\nimport { rootNode } from '../../lib/rootNode';\nimport type { DefaultizedProps } from '../../lib/createPropsGetter';\nimport { createPropsGetter } from '../../lib/createPropsGetter';\n\nimport { styles } from './Center.styles';\n\nexport type HorizontalAlign = 'left' | 'center' | 'right';\n\nexport interface CenterProps\n extends CommonProps,\n Override<\n React.HTMLAttributes<HTMLDivElement>,\n {\n /** Задает выравнивание контента по горизонтали */\n align?: HorizontalAlign;\n }\n > {}\n\nexport const CenterDataTids = {\n root: 'Center__root',\n} as const;\n\ntype DefaultProps = Required<Pick<CenterProps, 'align'>>;\ntype DefaultizedCenterProps = DefaultizedProps<CenterProps, DefaultProps>;\n\n/**\n * `Center` — контейнер, который центрирует элементы внутри себя.\n *\n * Выравнивание задается пропом `align`.\n */\n@rootNode\nexport class Center extends React.Component<CenterProps> {\n public static __KONTUR_REACT_UI__ = 'Center';\n public static displayName = 'Center';\n\n public static defaultProps: DefaultProps = {\n align: 'center',\n };\n private getProps = createPropsGetter(Center.defaultProps);\n\n private setRootNode!: TSetRootNode;\n\n public render() {\n return (\n <CommonWrapper rootNodeRef={this.setRootNode} {...this.getProps()}>\n {this.renderMain}\n </CommonWrapper>\n );\n }\n private renderMain = (props: CommonWrapperRestProps<DefaultizedCenterProps>) => {\n const { align, ...rest } = props;\n\n return (\n <div\n data-tid={CenterDataTids.root}\n {...rest}\n className={cx({\n [styles.root()]: true,\n [styles.rootAlignLeft()]: align === 'left',\n [styles.rootAlignRight()]: align === 'right',\n })}\n >\n <span className={styles.spring()} />\n <span className={styles.container()}>{this.props.children}</span>\n </div>\n );\n };\n}\n"],"mappings":"kRAAA,OAAOA,KAAK,MAAM,OAAO;;;;AAIzB,SAASC,aAAa,QAAQ,8BAA8B;AAC5D,SAASC,EAAE,QAAQ,2BAA2B;;AAE9C,SAASC,QAAQ,QAAQ,oBAAoB;;AAE7C,SAASC,iBAAiB,QAAQ,6BAA6B;;AAE/D,SAASC,MAAM,QAAQ,iBAAiB;;;;;;;;;;;;;;AAcxC,OAAO,IAAMC,cAAc,GAAG;EAC5BC,IAAI,EAAE;AACR,CAAU;;;;;AAKV;AACA;AACA;AACA;AACA;AACA;AACaC,MAAM,GADlBL,QAAQ,CAAAM,MAAA,IAAAC,OAAA,0BAAAC,gBAAA,YAAAH,OAAA,OAAAI,KAAA,UAAAC,IAAA,GA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,GAAAhC,MAAA,CAAAiC,SAAA,CAAAD,MAAA,CAxBME,MAAM,GAAb,SAAAA,OAAA,EAAgB,CACd,oBACE1C,KAAA,CAAA+B,aAAA,CAAC9B,aAAa,EAAA+B,QAAA,GAACW,WAAW,EAAE,IAAI,CAACC,WAAY,IAAK,IAAI,CAACtB,QAAQ,CAAC,CAAC,GAC9D,IAAI,CAACE,UACO,CAAC,CAEpB,CAAC,QAAAhB,MAAA,GAjByBR,KAAK,CAAC6C,SAAS,GAAAnC,OAAA,CAC3BoC,mBAAmB,GAAG,QAAQ,EAAApC,OAAA,CAC9BqC,WAAW,GAAG,QAAQ,EAAArC,OAAA,CAEtBa,YAAY,GAAiB,EACzCI,KAAK,EAAE,QAAQ,CACjB,CAAC,EAAAjB,OAAA,MAAAD,MAAA","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Override } from '../../typings/utility-types';
|
|
3
|
-
import { CommonProps } from '../../internal/CommonWrapper';
|
|
2
|
+
import type { Override } from '../../typings/utility-types';
|
|
3
|
+
import type { CommonProps } from '../../internal/CommonWrapper';
|
|
4
4
|
export type HorizontalAlign = 'left' | 'center' | 'right';
|
|
5
5
|
export interface CenterProps extends CommonProps, Override<React.HTMLAttributes<HTMLDivElement>, {
|
|
6
6
|
/** Задает выравнивание контента по горизонтали */
|