@skbkontur/react-ui 6.4.3-5e1c3.0 → 6.4.3-82331.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -0
- package/components/Autocomplete/Autocomplete.css.d.ts +5 -0
- package/components/Autocomplete/Autocomplete.css.js +5 -0
- package/components/Autocomplete/Autocomplete.css.js.map +1 -0
- package/components/Autocomplete/Autocomplete.js +1 -1
- package/components/Autocomplete/Autocomplete.js.map +1 -1
- package/components/Autocomplete/getAutocompleteTheme.d.ts +1 -2
- package/components/Autocomplete/getAutocompleteTheme.js +3 -2
- package/components/Autocomplete/getAutocompleteTheme.js.map +1 -1
- package/components/Button/Button.css.d.ts +94 -0
- package/components/Button/Button.css.js +78 -0
- package/components/Button/Button.css.js.map +1 -0
- package/components/Button/Button.js +5 -4
- package/components/Button/Button.js.map +1 -1
- package/components/Button/ButtonArrow.d.ts +2 -2
- package/components/Button/ButtonArrow.js +1 -1
- package/components/Button/ButtonArrow.js.map +1 -1
- package/components/Button/ButtonIcon.css.d.ts +16 -0
- package/components/Button/ButtonIcon.css.js +16 -0
- package/components/Button/ButtonIcon.css.js.map +1 -0
- package/components/Button/ButtonIcon.js +1 -1
- package/components/Button/ButtonIcon.js.map +1 -1
- package/components/Button/LoadingButtonIcon.js +1 -1
- package/components/Button/LoadingButtonIcon.js.map +1 -1
- package/components/Button/getInnerLinkTheme.d.ts +1 -2
- package/components/Button/getInnerLinkTheme.js +3 -2
- package/components/Button/getInnerLinkTheme.js.map +1 -1
- package/components/Calendar/Calendar.css.d.ts +6 -0
- package/components/Calendar/Calendar.css.js +6 -0
- package/components/Calendar/Calendar.css.js.map +1 -0
- package/components/Calendar/Calendar.js +1 -1
- package/components/Calendar/Calendar.js.map +1 -1
- package/components/Calendar/CalendarDay.js +1 -1
- package/components/Calendar/CalendarDay.js.map +1 -1
- package/components/Calendar/DayCellView.css.d.ts +9 -0
- package/components/Calendar/DayCellView.css.js +9 -0
- package/components/Calendar/DayCellView.css.js.map +1 -0
- package/components/Calendar/DayCellView.js +1 -1
- package/components/Calendar/DayCellView.js.map +1 -1
- package/components/Calendar/Month.js +2 -2
- package/components/Calendar/Month.js.map +1 -1
- package/components/Calendar/MonthView.css.d.ts +12 -0
- package/components/Calendar/MonthView.css.js +12 -0
- package/components/Calendar/MonthView.css.js.map +1 -0
- package/components/Calendar/MonthView.js +1 -1
- package/components/Calendar/MonthView.js.map +1 -1
- package/components/Center/Center.css.d.ts +8 -0
- package/components/Center/Center.css.js +8 -0
- package/components/Center/Center.css.js.map +1 -0
- package/components/Center/Center.js +1 -1
- package/components/Center/Center.js.map +1 -1
- package/components/Checkbox/Checkbox.css.d.ts +35 -0
- package/components/Checkbox/Checkbox.css.js +33 -0
- package/components/Checkbox/Checkbox.css.js.map +1 -0
- package/components/Checkbox/Checkbox.js +1 -1
- package/components/Checkbox/Checkbox.js.map +1 -1
- package/components/Checkbox/Checkbox.mixins.d.ts +19 -4
- package/components/Checkbox/Checkbox.mixins.js +16 -15
- package/components/Checkbox/Checkbox.mixins.js.map +1 -1
- package/components/DateInput/DateFragmentsView.css.d.ts +7 -0
- package/components/DateInput/DateFragmentsView.css.js +7 -0
- package/components/DateInput/DateFragmentsView.css.js.map +1 -0
- package/components/DateInput/DateFragmentsView.js +1 -1
- package/components/DateInput/DateFragmentsView.js.map +1 -1
- package/components/DateInput/DateInput.css.d.ts +10 -0
- package/components/DateInput/DateInput.css.js +10 -0
- package/components/DateInput/DateInput.css.js.map +1 -0
- package/components/DateInput/DateInput.js +1 -1
- package/components/DateInput/DateInput.js.map +1 -1
- package/components/DatePicker/DatePicker.css.d.ts +5 -0
- package/components/DatePicker/DatePicker.css.js +5 -0
- package/components/DatePicker/DatePicker.css.js.map +1 -0
- package/components/DatePicker/DatePicker.js +6 -2
- package/components/DatePicker/DatePicker.js.map +1 -1
- package/components/DatePicker/MobilePicker.css.d.ts +4 -0
- package/components/DatePicker/MobilePicker.css.js +4 -0
- package/components/DatePicker/MobilePicker.css.js.map +1 -0
- package/components/DatePicker/MobilePicker.js +1 -1
- package/components/DatePicker/MobilePicker.js.map +1 -1
- package/components/DatePicker/getMobilePickerTheme.d.ts +1 -2
- package/components/DatePicker/getMobilePickerTheme.js +3 -2
- package/components/DatePicker/getMobilePickerTheme.js.map +1 -1
- package/components/DateRangePicker/DateRangePicker.css.d.ts +19 -0
- package/components/DateRangePicker/DateRangePicker.css.js +19 -0
- package/components/DateRangePicker/DateRangePicker.css.js.map +1 -0
- package/components/DateRangePicker/DateRangePicker.d.ts +6 -6
- package/components/DateRangePicker/DateRangePicker.js +32 -28
- package/components/DateRangePicker/DateRangePicker.js.map +1 -1
- package/components/DateRangePicker/DateRangePickerTheme.d.ts +2 -3
- package/components/DateRangePicker/DateRangePickerTheme.js +5 -4
- package/components/DateRangePicker/DateRangePickerTheme.js.map +1 -1
- package/components/Dropdown/getDropdownTheme.d.ts +1 -2
- package/components/Dropdown/getDropdownTheme.js +3 -2
- package/components/Dropdown/getDropdownTheme.js.map +1 -1
- package/components/DropdownMenu/getDropdownMenuTheme.d.ts +1 -2
- package/components/DropdownMenu/getDropdownMenuTheme.js +3 -2
- package/components/DropdownMenu/getDropdownMenuTheme.js.map +1 -1
- package/components/FileUploader/FileUploader.css.d.ts +72 -0
- package/components/FileUploader/FileUploader.css.js +66 -0
- package/components/FileUploader/FileUploader.css.js.map +1 -0
- package/components/FileUploader/FileUploader.js +1 -1
- package/components/FileUploader/FileUploader.js.map +1 -1
- package/components/FileUploader/FileUploader.mixins.d.ts +6 -1
- package/components/FileUploader/FileUploader.mixins.js +6 -1
- package/components/FileUploader/FileUploader.mixins.js.map +1 -1
- package/components/FileUploader/FileUploaderFile.css.d.ts +61 -0
- package/components/FileUploader/FileUploaderFile.css.js +57 -0
- package/components/FileUploader/FileUploaderFile.css.js.map +1 -0
- package/components/FileUploader/FileUploaderFile.js +1 -1
- package/components/FileUploader/FileUploaderFile.js.map +1 -1
- package/components/FileUploader/FileUploaderFileList/FileUploaderFileList.css.d.ts +36 -0
- package/components/FileUploader/FileUploaderFileList/FileUploaderFileList.css.js +32 -0
- package/components/FileUploader/FileUploaderFileList/FileUploaderFileList.css.js.map +1 -0
- package/components/FileUploader/FileUploaderFileList/FileUploaderFileList.js +1 -1
- package/components/FileUploader/FileUploaderFileList/FileUploaderFileList.js.map +1 -1
- package/components/FileUploader/FileUploaderFileStatusIcon.js +1 -1
- package/components/FileUploader/FileUploaderFileStatusIcon.js.map +1 -1
- package/components/GlobalLoader/GlobalLoaderView.css.d.ts +17 -0
- package/components/GlobalLoader/GlobalLoaderView.css.js +15 -0
- package/components/GlobalLoader/GlobalLoaderView.css.js.map +1 -0
- package/components/GlobalLoader/GlobalLoaderView.js +13 -7
- package/components/GlobalLoader/GlobalLoaderView.js.map +1 -1
- package/components/Group/Group.css.d.ts +9 -0
- package/components/Group/Group.css.js +9 -0
- package/components/Group/Group.css.js.map +1 -0
- package/components/Group/Group.js +1 -1
- package/components/Group/Group.js.map +1 -1
- package/components/Hint/Hint.css.d.ts +5 -0
- package/components/Hint/Hint.css.js +5 -0
- package/components/Hint/Hint.css.js.map +1 -0
- package/components/Hint/Hint.js +6 -6
- package/components/Hint/Hint.js.map +1 -1
- package/components/Input/Input.css.d.ts +56 -0
- package/components/Input/Input.css.js +23 -0
- package/components/Input/Input.css.js.map +1 -0
- package/components/Input/Input.js +1 -1
- package/components/Input/Input.js.map +1 -1
- package/components/Input/InputLayout/InputLayout.css.d.ts +18 -0
- package/components/Input/InputLayout/InputLayout.css.js +19 -0
- package/components/Input/InputLayout/InputLayout.css.js.map +1 -0
- package/components/Input/InputLayout/InputLayout.js +1 -1
- package/components/Input/InputLayout/InputLayout.js.map +1 -1
- package/components/Input/InputLayout/InputLayoutAside.js +1 -1
- package/components/Input/InputLayout/InputLayoutAside.js.map +1 -1
- package/components/Input/InputLayout/InputLayoutAsideCounter.js +1 -1
- package/components/Input/InputLayout/InputLayoutAsideCounter.js.map +1 -1
- package/components/Input/InputLayout/InputLayoutAsideIcon.js +1 -1
- package/components/Input/InputLayout/InputLayoutAsideIcon.js.map +1 -1
- package/components/Input/InputLayout/InputLayoutAsideText.js +1 -1
- package/components/Input/InputLayout/InputLayoutAsideText.js.map +1 -1
- package/components/Kebab/Kebab.css.d.ts +11 -0
- package/components/Kebab/Kebab.css.js +11 -0
- package/components/Kebab/Kebab.css.js.map +1 -0
- package/components/Kebab/Kebab.js +4 -4
- package/components/Kebab/Kebab.js.map +1 -1
- package/components/Link/Link.css.d.ts +23 -0
- package/components/Link/Link.css.js +23 -0
- package/components/Link/Link.css.js.map +1 -0
- package/components/Link/Link.js +5 -4
- package/components/Link/Link.js.map +1 -1
- package/components/Link/LinkIcon.js +1 -1
- package/components/Link/LinkIcon.js.map +1 -1
- package/components/Loader/Loader.css.d.ts +8 -0
- package/components/Loader/Loader.css.js +8 -0
- package/components/Loader/Loader.css.js.map +1 -0
- package/components/Loader/Loader.js +1 -1
- package/components/Loader/Loader.js.map +1 -1
- package/components/MaskedInput/ColorableInputElement/ColorableInputElement.css.d.ts +7 -0
- package/components/MaskedInput/ColorableInputElement/ColorableInputElement.css.js +5 -0
- package/components/MaskedInput/ColorableInputElement/ColorableInputElement.css.js.map +1 -0
- package/components/MaskedInput/ColorableInputElement/ColorableInputElement.js +1 -1
- package/components/MaskedInput/ColorableInputElement/ColorableInputElement.js.map +1 -1
- package/components/MaskedInput/MaskedInput.css.d.ts +7 -0
- package/components/MaskedInput/MaskedInput.css.js +5 -0
- package/components/MaskedInput/MaskedInput.css.js.map +1 -0
- package/components/MaskedInput/MaskedInputLegacy.js +1 -1
- package/components/MaskedInput/MaskedInputLegacy.js.map +1 -1
- package/components/MaskedInputV2/MaskedInputV2.css.d.ts +7 -0
- package/components/MaskedInputV2/MaskedInputV2.css.js +5 -0
- package/components/MaskedInputV2/MaskedInputV2.css.js.map +1 -0
- package/components/MaskedInputV2/MaskedInputV2.js +1 -1
- package/components/MaskedInputV2/MaskedInputV2.js.map +1 -1
- package/components/MaskedInputV2/internal/MaskOverlay.js +3 -3
- package/components/MaskedInputV2/internal/MaskOverlay.js.map +1 -1
- package/components/MaskedInputV2/internal/MaskedCore.js +3 -3
- package/components/MaskedInputV2/internal/MaskedCore.js.map +1 -1
- package/components/MaskedInputV2/internal/MaskedInternal.css.d.ts +15 -0
- package/components/MaskedInputV2/internal/MaskedInternal.css.js +9 -0
- package/components/MaskedInputV2/internal/MaskedInternal.css.js.map +1 -0
- package/components/MenuFooter/MenuFooter.css.d.ts +10 -0
- package/components/MenuFooter/MenuFooter.css.js +10 -0
- package/components/MenuFooter/MenuFooter.css.js.map +1 -0
- package/components/MenuFooter/MenuFooter.js +2 -2
- package/components/MenuFooter/MenuFooter.js.map +1 -1
- package/components/MenuFooter/MenuFooter.mixins.d.ts +8 -2
- package/components/MenuFooter/MenuFooter.mixins.js +8 -4
- package/components/MenuFooter/MenuFooter.mixins.js.map +1 -1
- package/components/MenuHeader/MenuHeader.css.d.ts +10 -0
- package/components/MenuHeader/MenuHeader.css.js +10 -0
- package/components/MenuHeader/MenuHeader.css.js.map +1 -0
- package/components/MenuHeader/MenuHeader.js +2 -2
- package/components/MenuHeader/MenuHeader.js.map +1 -1
- package/components/MenuHeader/MenuHeader.mixins.d.ts +8 -2
- package/components/MenuHeader/MenuHeader.mixins.js +8 -4
- package/components/MenuHeader/MenuHeader.mixins.js.map +1 -1
- package/components/MenuItem/MenuItem.css.d.ts +27 -0
- package/components/MenuItem/MenuItem.css.js +27 -0
- package/components/MenuItem/MenuItem.css.js.map +1 -0
- package/components/MenuItem/MenuItem.js +4 -10
- package/components/MenuItem/MenuItem.js.map +1 -1
- package/components/MenuItem/MenuItem.mixins.d.ts +12 -4
- package/components/MenuItem/MenuItem.mixins.js +12 -19
- package/components/MenuItem/MenuItem.mixins.js.map +1 -1
- package/components/MenuSeparator/MenuSeparator.css.d.ts +5 -0
- package/components/MenuSeparator/MenuSeparator.css.js +5 -0
- package/components/MenuSeparator/MenuSeparator.css.js.map +1 -0
- package/components/MenuSeparator/MenuSeparator.js +5 -7
- package/components/MenuSeparator/MenuSeparator.js.map +1 -1
- package/components/MiniModal/MiniModal.css.d.ts +10 -0
- package/components/MiniModal/MiniModal.css.js +11 -0
- package/components/MiniModal/MiniModal.css.js.map +1 -0
- package/components/MiniModal/MiniModalBody.js +1 -1
- package/components/MiniModal/MiniModalBody.js.map +1 -1
- package/components/MiniModal/MiniModalFooter.js +1 -1
- package/components/MiniModal/MiniModalFooter.js.map +1 -1
- package/components/MiniModal/MiniModalHeader.js +1 -1
- package/components/MiniModal/MiniModalHeader.js.map +1 -1
- package/components/MiniModal/MiniModalIndent.js +1 -1
- package/components/MiniModal/MiniModalIndent.js.map +1 -1
- package/components/MiniModal/getMiniModalTheme.d.ts +1 -2
- package/components/MiniModal/getMiniModalTheme.js +3 -2
- package/components/MiniModal/getMiniModalTheme.js.map +1 -1
- package/components/Modal/Modal.css.d.ts +55 -0
- package/components/Modal/Modal.css.js +52 -0
- package/components/Modal/Modal.css.js.map +1 -0
- package/components/Modal/Modal.js +1 -1
- package/components/Modal/Modal.js.map +1 -1
- package/components/Modal/ModalBody.js +1 -1
- package/components/Modal/ModalBody.js.map +1 -1
- package/components/Modal/ModalClose.js +11 -13
- package/components/Modal/ModalClose.js.map +1 -1
- package/components/Modal/ModalFooter.js +1 -1
- package/components/Modal/ModalFooter.js.map +1 -1
- package/components/Modal/ModalHeader.js +1 -1
- package/components/Modal/ModalHeader.js.map +1 -1
- package/components/Modal/ModalSeparator.js +1 -1
- package/components/Modal/ModalSeparator.js.map +1 -1
- package/components/Modal/getModalBodyTheme.d.ts +1 -2
- package/components/Modal/getModalBodyTheme.js +3 -2
- package/components/Modal/getModalBodyTheme.js.map +1 -1
- package/components/Modal/getModalTheme.d.ts +1 -2
- package/components/Modal/getModalTheme.js +3 -2
- package/components/Modal/getModalTheme.js.map +1 -1
- package/components/Paging/Paging.css.d.ts +32 -0
- package/components/Paging/Paging.css.js +32 -0
- package/components/Paging/Paging.css.js.map +1 -0
- package/components/Paging/Paging.js +1 -1
- package/components/Paging/Paging.js.map +1 -1
- package/components/PasswordInput/PasswordInput.css.d.ts +11 -0
- package/components/PasswordInput/PasswordInput.css.js +11 -0
- package/components/PasswordInput/PasswordInput.css.js.map +1 -0
- package/components/PasswordInput/PasswordInput.js +1 -1
- package/components/PasswordInput/PasswordInput.js.map +1 -1
- package/components/Radio/Radio.css.d.ts +34 -0
- package/components/Radio/Radio.css.js +32 -0
- package/components/Radio/Radio.css.js.map +1 -0
- package/components/Radio/Radio.js +1 -1
- package/components/Radio/Radio.js.map +1 -1
- package/components/Radio/Radio.mixins.d.ts +39 -7
- package/components/Radio/Radio.mixins.js +37 -23
- package/components/Radio/Radio.mixins.js.map +1 -1
- package/components/RadioGroup/RadioGroup.css.d.ts +7 -0
- package/components/RadioGroup/RadioGroup.css.js +7 -0
- package/components/RadioGroup/RadioGroup.css.js.map +1 -0
- package/components/RadioGroup/RadioGroup.js +1 -1
- package/components/RadioGroup/RadioGroup.js.map +1 -1
- package/components/ScrollContainer/ScrollBar.js +1 -1
- package/components/ScrollContainer/ScrollBar.js.map +1 -1
- package/components/ScrollContainer/ScrollContainer.css.d.ts +21 -0
- package/components/ScrollContainer/ScrollContainer.css.js +15 -0
- package/components/ScrollContainer/ScrollContainer.css.js.map +1 -0
- package/components/ScrollContainer/ScrollContainer.js +1 -1
- package/components/ScrollContainer/ScrollContainer.js.map +1 -1
- package/components/Select/Select.css.d.ts +17 -0
- package/components/Select/Select.css.js +17 -0
- package/components/Select/Select.css.js.map +1 -0
- package/components/Select/Select.js +8 -6
- package/components/Select/Select.js.map +1 -1
- package/components/Select/selectTheme.d.ts +1 -3
- package/components/Select/selectTheme.js +8 -7
- package/components/Select/selectTheme.js.map +1 -1
- package/components/SidePage/SidePage.css.d.ts +50 -0
- package/components/SidePage/SidePage.css.js +50 -0
- package/components/SidePage/SidePage.css.js.map +1 -0
- package/components/SidePage/SidePage.js +1 -1
- package/components/SidePage/SidePage.js.map +1 -1
- package/components/SidePage/SidePageBody.js +1 -1
- package/components/SidePage/SidePageBody.js.map +1 -1
- package/components/SidePage/SidePageCloseButton.js +1 -1
- package/components/SidePage/SidePageCloseButton.js.map +1 -1
- package/components/SidePage/SidePageContainer.js +1 -1
- package/components/SidePage/SidePageContainer.js.map +1 -1
- package/components/SidePage/SidePageFooter.js +1 -1
- package/components/SidePage/SidePageFooter.js.map +1 -1
- package/components/SidePage/SidePageHeader.js +1 -1
- package/components/SidePage/SidePageHeader.js.map +1 -1
- package/components/Spinner/Spinner.css.d.ts +13 -0
- package/components/Spinner/Spinner.css.js +13 -0
- package/components/Spinner/Spinner.css.js.map +1 -0
- package/components/Spinner/Spinner.js +1 -1
- package/components/Spinner/Spinner.js.map +1 -1
- package/components/Sticky/Sticky.css.d.ts +8 -0
- package/components/Sticky/Sticky.css.js +8 -0
- package/components/Sticky/Sticky.css.js.map +1 -0
- package/components/Sticky/Sticky.js +1 -1
- package/components/Sticky/Sticky.js.map +1 -1
- package/components/Switcher/Switcher.css.d.ts +12 -0
- package/components/Switcher/Switcher.css.js +12 -0
- package/components/Switcher/Switcher.css.js.map +1 -0
- package/components/Switcher/Switcher.js +1 -1
- package/components/Switcher/Switcher.js.map +1 -1
- package/components/Switcher/switcherTheme.d.ts +1 -2
- package/components/Switcher/switcherTheme.js +3 -2
- package/components/Switcher/switcherTheme.js.map +1 -1
- package/components/Tabs/Indicator.css.d.ts +8 -0
- package/components/Tabs/Indicator.css.js +8 -0
- package/components/Tabs/Indicator.css.js.map +1 -0
- package/components/Tabs/Indicator.js +1 -1
- package/components/Tabs/Indicator.js.map +1 -1
- package/components/Tabs/Tab.css.d.ts +35 -0
- package/components/Tabs/Tab.css.js +29 -0
- package/components/Tabs/Tab.css.js.map +1 -0
- package/components/Tabs/Tab.d.ts +4 -16
- package/components/Tabs/Tab.js +1 -1
- package/components/Tabs/Tab.js.map +1 -1
- package/components/Tabs/Tabs.css.d.ts +7 -0
- package/components/Tabs/Tabs.css.js +7 -0
- package/components/Tabs/Tabs.css.js.map +1 -0
- package/components/Tabs/Tabs.js +1 -1
- package/components/Tabs/Tabs.js.map +1 -1
- package/components/Textarea/Textarea.css.d.ts +23 -0
- package/components/Textarea/Textarea.css.js +23 -0
- package/components/Textarea/Textarea.css.js.map +1 -0
- package/components/Textarea/Textarea.js +1 -1
- package/components/Textarea/Textarea.js.map +1 -1
- package/components/Textarea/Textarea.mixins.d.ts +8 -2
- package/components/Textarea/Textarea.mixins.js +8 -6
- package/components/Textarea/Textarea.mixins.js.map +1 -1
- package/components/Textarea/TextareaCounter.js +1 -1
- package/components/Textarea/TextareaCounter.js.map +1 -1
- package/components/TimePicker/TimePicker.css.d.ts +11 -0
- package/components/TimePicker/TimePicker.css.js +11 -0
- package/components/TimePicker/TimePicker.css.js.map +1 -0
- package/components/TimePicker/TimePicker.js +3 -3
- package/components/TimePicker/TimePicker.js.map +1 -1
- package/components/TimePicker/TimePickerItems.js +1 -1
- package/components/TimePicker/TimePickerItems.js.map +1 -1
- package/components/TimePicker/TimePickerPopup.js +1 -1
- package/components/TimePicker/TimePickerPopup.js.map +1 -1
- package/components/TimePicker/helpers/TimePicker.constants.d.ts +1 -0
- package/components/TimePicker/helpers/TimePicker.constants.js +3 -0
- package/components/TimePicker/helpers/TimePicker.constants.js.map +1 -1
- package/components/TimePicker/helpers/TimePicker.value.d.ts +0 -1
- package/components/TimePicker/helpers/TimePicker.value.js +0 -5
- package/components/TimePicker/helpers/TimePicker.value.js.map +1 -1
- package/components/Toast/Toast.css.d.ts +7 -0
- package/components/Toast/Toast.css.js +7 -0
- package/components/Toast/Toast.css.js.map +1 -0
- package/components/Toast/Toast.js +3 -3
- package/components/Toast/Toast.js.map +1 -1
- package/components/Toast/ToastView.css.d.ts +17 -0
- package/components/Toast/ToastView.css.js +17 -0
- package/components/Toast/ToastView.css.js.map +1 -0
- package/components/Toast/ToastView.js +1 -1
- package/components/Toast/ToastView.js.map +1 -1
- package/components/Toggle/Toggle.css.d.ts +50 -0
- package/components/Toggle/Toggle.css.js +49 -0
- package/components/Toggle/Toggle.css.js.map +1 -0
- package/components/Toggle/Toggle.js +1 -1
- package/components/Toggle/Toggle.js.map +1 -1
- package/components/Token/Token.css.d.ts +23 -0
- package/components/Token/Token.css.js +21 -0
- package/components/Token/Token.css.js.map +1 -0
- package/components/Token/Token.js +1 -1
- package/components/Token/Token.js.map +1 -1
- package/components/Token/Token.mixins.d.ts +6 -1
- package/components/Token/Token.mixins.js +6 -3
- package/components/Token/Token.mixins.js.map +1 -1
- package/components/Token/TokenView.js +1 -1
- package/components/Token/TokenView.js.map +1 -1
- package/components/TokenInput/TextWidthHelper.js +1 -1
- package/components/TokenInput/TextWidthHelper.js.map +1 -1
- package/components/TokenInput/TokenInput.css.d.ts +21 -0
- package/components/TokenInput/TokenInput.css.js +22 -0
- package/components/TokenInput/TokenInput.css.js.map +1 -0
- package/components/TokenInput/TokenInput.js +1 -1
- package/components/TokenInput/TokenInput.js.map +1 -1
- package/components/TokenInput/TokenInput.mixins.d.ts +8 -2
- package/components/TokenInput/TokenInput.mixins.js +8 -6
- package/components/TokenInput/TokenInput.mixins.js.map +1 -1
- package/components/TokenInput/TokenInputMenu.js +5 -3
- package/components/TokenInput/TokenInputMenu.js.map +1 -1
- package/components/Tooltip/Tooltip.css.d.ts +11 -0
- package/components/Tooltip/Tooltip.css.js +11 -0
- package/components/Tooltip/Tooltip.css.js.map +1 -0
- package/components/Tooltip/Tooltip.js +17 -10
- package/components/Tooltip/Tooltip.js.map +1 -1
- package/components/TooltipMenu/TooltipMenu.js +10 -6
- package/components/TooltipMenu/TooltipMenu.js.map +1 -1
- package/internal/ClearCrossIcon/ClearCrossIcon.css.d.ts +11 -0
- package/internal/ClearCrossIcon/ClearCrossIcon.css.js +11 -0
- package/internal/ClearCrossIcon/ClearCrossIcon.css.js.map +1 -0
- package/internal/ClearCrossIcon/ClearCrossIcon.js +1 -1
- package/internal/ClearCrossIcon/ClearCrossIcon.js.map +1 -1
- package/internal/CloseButtonIcon/CloseButtonIcon.css.d.ts +9 -0
- package/internal/CloseButtonIcon/CloseButtonIcon.css.js +9 -0
- package/internal/CloseButtonIcon/CloseButtonIcon.css.js.map +1 -0
- package/internal/CloseButtonIcon/CloseButtonIcon.js +13 -8
- package/internal/CloseButtonIcon/CloseButtonIcon.js.map +1 -1
- package/internal/CommonWrapper/CommonWrapper.d.ts +6 -1
- package/internal/CommonWrapper/CommonWrapper.js +28 -4
- package/internal/CommonWrapper/CommonWrapper.js.map +1 -1
- package/internal/CustomComboBox/ComboBoxView.js +2 -2
- package/internal/CustomComboBox/ComboBoxView.js.map +1 -1
- package/internal/CustomComboBox/CustomComboBox.css.d.ts +5 -0
- package/internal/CustomComboBox/CustomComboBox.css.js +5 -0
- package/internal/CustomComboBox/CustomComboBox.css.js.map +1 -0
- package/internal/CustomComboBox/getComboBoxTheme.d.ts +1 -2
- package/internal/CustomComboBox/getComboBoxTheme.js +3 -2
- package/internal/CustomComboBox/getComboBoxTheme.js.map +1 -1
- package/internal/DateSelect/DateSelect.css.d.ts +9 -0
- package/internal/DateSelect/DateSelect.css.js +7 -0
- package/internal/DateSelect/DateSelect.css.js.map +1 -0
- package/internal/DateSelect/DateSelect.js +1 -1
- package/internal/DateSelect/DateSelect.js.map +1 -1
- package/internal/HideBodyVerticalScroll/HideBodyVerticalScroll.css.d.ts +4 -0
- package/internal/HideBodyVerticalScroll/HideBodyVerticalScroll.css.js +4 -0
- package/internal/HideBodyVerticalScroll/HideBodyVerticalScroll.css.js.map +1 -0
- package/internal/HideBodyVerticalScroll/HideBodyVerticalScroll.d.ts +1 -1
- package/internal/HideBodyVerticalScroll/HideBodyVerticalScroll.js +7 -11
- package/internal/HideBodyVerticalScroll/HideBodyVerticalScroll.js.map +1 -1
- package/internal/InputLikeText/InputLikeText.css.d.ts +6 -0
- package/internal/InputLikeText/InputLikeText.css.js +6 -0
- package/internal/InputLikeText/InputLikeText.css.js.map +1 -0
- package/internal/InputLikeText/InputLikeText.js +3 -3
- package/internal/InputLikeText/InputLikeText.js.map +1 -1
- package/internal/InternalTextareaWithLayout/InternalTextareaWithLayout.css.d.ts +5 -0
- package/internal/InternalTextareaWithLayout/InternalTextareaWithLayout.css.js +6 -0
- package/internal/InternalTextareaWithLayout/InternalTextareaWithLayout.css.js.map +1 -0
- package/internal/InternalTextareaWithLayout/InternalTextareaWithLayout.js +21 -17
- package/internal/InternalTextareaWithLayout/InternalTextareaWithLayout.js.map +1 -1
- package/internal/MaskCharLowLine/MaskCharLowLine.css.d.ts +4 -0
- package/internal/MaskCharLowLine/MaskCharLowLine.css.js +4 -0
- package/internal/MaskCharLowLine/MaskCharLowLine.css.js.map +1 -0
- package/internal/MaskCharLowLine/MaskCharLowLine.js +1 -1
- package/internal/MaskCharLowLine/MaskCharLowLine.js.map +1 -1
- package/internal/Menu/Menu.css.d.ts +16 -0
- package/internal/Menu/Menu.css.js +16 -0
- package/internal/Menu/Menu.css.js.map +1 -0
- package/internal/Menu/Menu.js +6 -2
- package/internal/Menu/Menu.js.map +1 -1
- package/internal/MenuMessage/MenuMessage.css.d.ts +11 -0
- package/internal/MenuMessage/MenuMessage.css.js +11 -0
- package/internal/MenuMessage/MenuMessage.css.js.map +1 -0
- package/internal/MenuMessage/MenuMessage.js +1 -1
- package/internal/MenuMessage/MenuMessage.js.map +1 -1
- package/internal/MobilePopup/MobilePopup.css.d.ts +17 -0
- package/internal/MobilePopup/MobilePopup.css.js +17 -0
- package/internal/MobilePopup/MobilePopup.css.js.map +1 -0
- package/internal/MobilePopup/MobilePopup.js +1 -1
- package/internal/MobilePopup/MobilePopup.js.map +1 -1
- package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.css.d.ts +7 -0
- package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.css.js +7 -0
- package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.css.js.map +1 -0
- package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.js +1 -1
- package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.js.map +1 -1
- package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.css.d.ts +14 -0
- package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.css.js +14 -0
- package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.css.js.map +1 -0
- package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.js +1 -1
- package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.js.map +1 -1
- package/internal/NativeDateInput/NativeDateInput.css.d.ts +4 -0
- package/internal/NativeDateInput/NativeDateInput.css.js +4 -0
- package/internal/NativeDateInput/NativeDateInput.css.js.map +1 -0
- package/internal/NativeDateInput/NativeDateInput.js +1 -1
- package/internal/NativeDateInput/NativeDateInput.js.map +1 -1
- package/internal/NativeTimeInput/NativeTimeInput.css.d.ts +4 -0
- package/internal/NativeTimeInput/NativeTimeInput.css.js +4 -0
- package/internal/NativeTimeInput/NativeTimeInput.css.js.map +1 -0
- package/internal/NativeTimeInput/NativeTimeInput.js +1 -1
- package/internal/NativeTimeInput/NativeTimeInput.js.map +1 -1
- package/internal/Popup/Popup.css.d.ts +17 -0
- package/internal/Popup/Popup.css.js +17 -0
- package/internal/Popup/Popup.css.js.map +1 -0
- package/internal/Popup/Popup.js +8 -6
- package/internal/Popup/Popup.js.map +1 -1
- package/internal/Popup/PopupPin.css.d.ts +10 -0
- package/internal/Popup/PopupPin.css.js +10 -0
- package/internal/Popup/PopupPin.css.js.map +1 -0
- package/internal/Popup/PopupPin.js +1 -1
- package/internal/Popup/PopupPin.js.map +1 -1
- package/internal/PopupMenu/PopupMenu.css.d.ts +5 -0
- package/internal/PopupMenu/PopupMenu.css.js +5 -0
- package/internal/PopupMenu/PopupMenu.css.js.map +1 -0
- package/internal/PopupMenu/PopupMenu.js +6 -4
- package/internal/PopupMenu/PopupMenu.js.map +1 -1
- package/internal/RenderContainer/RenderContainer.d.ts +2 -0
- package/internal/RenderContainer/RenderContainer.js +37 -3
- package/internal/RenderContainer/RenderContainer.js.map +1 -1
- package/internal/ResizeDetector/ResizeDetector.css.d.ts +8 -0
- package/internal/ResizeDetector/ResizeDetector.css.js +8 -0
- package/internal/ResizeDetector/ResizeDetector.css.js.map +1 -0
- package/internal/ResizeDetector/ResizeDetector.js +1 -1
- package/internal/ResizeDetector/ResizeDetector.js.map +1 -1
- package/internal/SpinnerIcon/SpinnerIcon.css.d.ts +7 -0
- package/internal/SpinnerIcon/SpinnerIcon.css.js +7 -0
- package/internal/SpinnerIcon/SpinnerIcon.css.js.map +1 -0
- package/internal/SpinnerIcon/SpinnerIcon.js +1 -1
- package/internal/SpinnerIcon/SpinnerIcon.js.map +1 -1
- package/internal/TextWidthHelper/TextWidthHelper.css.d.ts +5 -0
- package/internal/TextWidthHelper/TextWidthHelper.css.js +5 -0
- package/internal/TextWidthHelper/TextWidthHelper.css.js.map +1 -0
- package/internal/TextWidthHelper/TextWidthHelper.js +1 -1
- package/internal/TextWidthHelper/TextWidthHelper.js.map +1 -1
- package/internal/TimeInput/TimeFragments.css.d.ts +32 -0
- package/internal/TimeInput/TimeFragments.css.js +19 -0
- package/internal/TimeInput/TimeFragments.css.js.map +1 -0
- package/internal/TimeInput/TimeFragments.js +1 -1
- package/internal/TimeInput/TimeFragments.js.map +1 -1
- package/internal/TimeInput/TimeInput.css.d.ts +7 -0
- package/internal/TimeInput/TimeInput.css.js +7 -0
- package/internal/TimeInput/TimeInput.css.js.map +1 -0
- package/internal/TimeInput/TimeInput.js +1 -1
- package/internal/TimeInput/TimeInput.js.map +1 -1
- package/internal/icons2022/BaseIcon.css.d.ts +4 -0
- package/internal/icons2022/BaseIcon.css.js +4 -0
- package/internal/icons2022/BaseIcon.css.js.map +1 -0
- package/internal/icons2022/BaseIcon.js +1 -1
- package/internal/icons2022/BaseIcon.js.map +1 -1
- package/internal/icons2022/LoadingIcon.js +1 -1
- package/internal/icons2022/LoadingIcon.js.map +1 -1
- package/internal/themes/BasicTheme.d.ts +0 -40
- package/internal/themes/BasicTheme.js +1 -73
- package/internal/themes/BasicTheme.js.map +1 -1
- package/internal/themes/DarkTheme6_0.js +0 -19
- package/internal/themes/DarkTheme6_0.js.map +1 -1
- package/lib/renderEnvironment/RenderEnvironmentContext.d.ts +1 -1
- package/lib/renderEnvironment/RenderEnvironmentContext.js +4 -6
- package/lib/renderEnvironment/RenderEnvironmentContext.js.map +1 -1
- package/lib/renderEnvironment/RenderEnvironmentDecorator.js.map +1 -1
- package/lib/styles/LabGrotesqueBaseline.css.d.ts +1 -0
- package/lib/styles/LabGrotesqueBaseline.css.js +0 -0
- package/lib/styles/LabGrotesqueBaseline.css.js.map +1 -0
- package/lib/styles/getLabGrotesqueBaselineCompensation.d.ts +6 -1
- package/lib/styles/getLabGrotesqueBaselineCompensation.js +23 -6
- package/lib/styles/getLabGrotesqueBaselineCompensation.js.map +1 -1
- package/lib/theming/Emotion.d.ts +15 -13
- package/lib/theming/Emotion.js +30 -46
- package/lib/theming/Emotion.js.map +1 -1
- package/lib/theming/ThemeVersions.d.ts +1 -1
- package/lib/theming/ThemeVersions.js.map +1 -1
- package/lib/theming/bindStaticStyles.d.ts +6 -0
- package/lib/theming/bindStaticStyles.js +22 -0
- package/lib/theming/bindStaticStyles.js.map +1 -0
- package/lib/theming/memoizeTheme.d.ts +11 -0
- package/lib/theming/memoizeTheme.js +37 -0
- package/lib/theming/memoizeTheme.js.map +1 -0
- package/lib/theming/themeVars.d.ts +25 -0
- package/lib/theming/themeVars.js +74 -0
- package/lib/theming/themeVars.js.map +1 -0
- package/lib/theming/themes/DarkTheme.d.ts +0 -1
- package/lib/theming/themes/DarkTheme.js +1 -3
- package/lib/theming/themes/DarkTheme.js.map +1 -1
- package/lib/theming/themes/LightTheme.d.ts +0 -1
- package/lib/theming/themes/LightTheme.js +1 -3
- package/lib/theming/themes/LightTheme.js.map +1 -1
- package/package.json +17 -6
- package/react-ui.css +6044 -0
- package/components/Autocomplete/Autocomplete.styles.d.ts +0 -5
- package/components/Autocomplete/Autocomplete.styles.js +0 -18
- package/components/Autocomplete/Autocomplete.styles.js.map +0 -1
- package/components/Button/Button.mixins.d.ts +0 -4
- package/components/Button/Button.mixins.js +0 -21
- package/components/Button/Button.mixins.js.map +0 -1
- package/components/Button/Button.styles.d.ts +0 -95
- package/components/Button/Button.styles.js +0 -260
- package/components/Button/Button.styles.js.map +0 -1
- package/components/Button/ButtonIcon.styles.d.ts +0 -16
- package/components/Button/ButtonIcon.styles.js +0 -53
- package/components/Button/ButtonIcon.styles.js.map +0 -1
- package/components/Calendar/Calendar.styles.d.ts +0 -6
- package/components/Calendar/Calendar.styles.js +0 -22
- package/components/Calendar/Calendar.styles.js.map +0 -1
- package/components/Calendar/DayCellView.styles.d.ts +0 -9
- package/components/Calendar/DayCellView.styles.js +0 -31
- package/components/Calendar/DayCellView.styles.js.map +0 -1
- package/components/Calendar/MonthView.styles.d.ts +0 -13
- package/components/Calendar/MonthView.styles.js +0 -47
- package/components/Calendar/MonthView.styles.js.map +0 -1
- package/components/Center/Center.styles.d.ts +0 -7
- package/components/Center/Center.styles.js +0 -27
- package/components/Center/Center.styles.js.map +0 -1
- package/components/Checkbox/Checkbox.styles.d.ts +0 -34
- package/components/Checkbox/Checkbox.styles.js +0 -100
- package/components/Checkbox/Checkbox.styles.js.map +0 -1
- package/components/DateInput/DateFragmentsView.styles.d.ts +0 -7
- package/components/DateInput/DateFragmentsView.styles.js +0 -28
- package/components/DateInput/DateFragmentsView.styles.js.map +0 -1
- package/components/DateInput/DateInput.styles.d.ts +0 -11
- package/components/DateInput/DateInput.styles.js +0 -29
- package/components/DateInput/DateInput.styles.js.map +0 -1
- package/components/DatePicker/DatePicker.styles.d.ts +0 -5
- package/components/DatePicker/DatePicker.styles.js +0 -18
- package/components/DatePicker/DatePicker.styles.js.map +0 -1
- package/components/DatePicker/MobilePicker.styles.d.ts +0 -3
- package/components/DatePicker/MobilePicker.styles.js +0 -15
- package/components/DatePicker/MobilePicker.styles.js.map +0 -1
- package/components/DateRangePicker/DateRangePicker.styles.d.ts +0 -16
- package/components/DateRangePicker/DateRangePicker.styles.js +0 -57
- package/components/DateRangePicker/DateRangePicker.styles.js.map +0 -1
- package/components/FileUploader/FileUploader.styles.d.ts +0 -74
- package/components/FileUploader/FileUploader.styles.js +0 -221
- package/components/FileUploader/FileUploader.styles.js.map +0 -1
- package/components/FileUploader/FileUploaderFile.styles.d.ts +0 -60
- package/components/FileUploader/FileUploaderFile.styles.js +0 -184
- package/components/FileUploader/FileUploaderFile.styles.js.map +0 -1
- package/components/FileUploader/FileUploaderFileList/FileUploaderFileList.styles.d.ts +0 -34
- package/components/FileUploader/FileUploaderFileList/FileUploaderFileList.styles.js +0 -103
- package/components/FileUploader/FileUploaderFileList/FileUploaderFileList.styles.js.map +0 -1
- package/components/GlobalLoader/GlobalLoaderView.styles.d.ts +0 -17
- package/components/GlobalLoader/GlobalLoaderView.styles.js +0 -70
- package/components/GlobalLoader/GlobalLoaderView.styles.js.map +0 -1
- package/components/Group/Group.styles.d.ts +0 -8
- package/components/Group/Group.styles.js +0 -30
- package/components/Group/Group.styles.js.map +0 -1
- package/components/Hint/Hint.styles.d.ts +0 -5
- package/components/Hint/Hint.styles.js +0 -18
- package/components/Hint/Hint.styles.js.map +0 -1
- package/components/Input/Input.styles.d.ts +0 -21
- package/components/Input/Input.styles.js +0 -68
- package/components/Input/Input.styles.js.map +0 -1
- package/components/Input/InputLayout/InputLayout.styles.d.ts +0 -18
- package/components/Input/InputLayout/InputLayout.styles.js +0 -59
- package/components/Input/InputLayout/InputLayout.styles.js.map +0 -1
- package/components/Kebab/Kebab.styles.d.ts +0 -11
- package/components/Kebab/Kebab.styles.js +0 -36
- package/components/Kebab/Kebab.styles.js.map +0 -1
- package/components/Link/Link.mixins.d.ts +0 -2
- package/components/Link/Link.mixins.js +0 -7
- package/components/Link/Link.mixins.js.map +0 -1
- package/components/Link/Link.styles.d.ts +0 -24
- package/components/Link/Link.styles.js +0 -82
- package/components/Link/Link.styles.js.map +0 -1
- package/components/Loader/Loader.styles.d.ts +0 -8
- package/components/Loader/Loader.styles.js +0 -27
- package/components/Loader/Loader.styles.js.map +0 -1
- package/components/MaskedInput/ColorableInputElement/ColorableInputElement.styles.d.ts +0 -6
- package/components/MaskedInput/ColorableInputElement/ColorableInputElement.styles.js +0 -18
- package/components/MaskedInput/ColorableInputElement/ColorableInputElement.styles.js.map +0 -1
- package/components/MaskedInput/MaskedInput.styles.d.ts +0 -7
- package/components/MaskedInput/MaskedInput.styles.js +0 -19
- package/components/MaskedInput/MaskedInput.styles.js.map +0 -1
- package/components/MaskedInputV2/MaskedInputV2.styles.d.ts +0 -7
- package/components/MaskedInputV2/MaskedInputV2.styles.js +0 -19
- package/components/MaskedInputV2/MaskedInputV2.styles.js.map +0 -1
- package/components/MaskedInputV2/internal/MaskedInternal.styles.d.ts +0 -15
- package/components/MaskedInputV2/internal/MaskedInternal.styles.js +0 -34
- package/components/MaskedInputV2/internal/MaskedInternal.styles.js.map +0 -1
- package/components/MenuFooter/MenuFooter.styles.d.ts +0 -10
- package/components/MenuFooter/MenuFooter.styles.js +0 -34
- package/components/MenuFooter/MenuFooter.styles.js.map +0 -1
- package/components/MenuHeader/MenuHeader.styles.d.ts +0 -10
- package/components/MenuHeader/MenuHeader.styles.js +0 -34
- package/components/MenuHeader/MenuHeader.styles.js.map +0 -1
- package/components/MenuItem/MenuItem.styles.d.ts +0 -29
- package/components/MenuItem/MenuItem.styles.js +0 -88
- package/components/MenuItem/MenuItem.styles.js.map +0 -1
- package/components/MenuSeparator/MenuSeparator.styles.d.ts +0 -5
- package/components/MenuSeparator/MenuSeparator.styles.js +0 -18
- package/components/MenuSeparator/MenuSeparator.styles.js.map +0 -1
- package/components/MiniModal/MiniModal.styles.d.ts +0 -11
- package/components/MiniModal/MiniModal.styles.js +0 -37
- package/components/MiniModal/MiniModal.styles.js.map +0 -1
- package/components/Modal/Modal.styles.d.ts +0 -55
- package/components/Modal/Modal.styles.js +0 -167
- package/components/Modal/Modal.styles.js.map +0 -1
- package/components/Paging/Paging.styles.d.ts +0 -32
- package/components/Paging/Paging.styles.js +0 -99
- package/components/Paging/Paging.styles.js.map +0 -1
- package/components/PasswordInput/PasswordInput.styles.d.ts +0 -11
- package/components/PasswordInput/PasswordInput.styles.js +0 -36
- package/components/PasswordInput/PasswordInput.styles.js.map +0 -1
- package/components/Radio/Radio.styles.d.ts +0 -34
- package/components/Radio/Radio.styles.js +0 -100
- package/components/Radio/Radio.styles.js.map +0 -1
- package/components/RadioGroup/RadioGroup.styles.d.ts +0 -6
- package/components/RadioGroup/RadioGroup.styles.js +0 -24
- package/components/RadioGroup/RadioGroup.styles.js.map +0 -1
- package/components/ScrollContainer/ScrollContainer.styles.d.ts +0 -21
- package/components/ScrollContainer/ScrollContainer.styles.js +0 -52
- package/components/ScrollContainer/ScrollContainer.styles.js.map +0 -1
- package/components/Select/Select.styles.d.ts +0 -18
- package/components/Select/Select.styles.js +0 -57
- package/components/Select/Select.styles.js.map +0 -1
- package/components/SidePage/SidePage.styles.d.ts +0 -50
- package/components/SidePage/SidePage.styles.js +0 -158
- package/components/SidePage/SidePage.styles.js.map +0 -1
- package/components/Spinner/Spinner.styles.d.ts +0 -13
- package/components/Spinner/Spinner.styles.js +0 -43
- package/components/Spinner/Spinner.styles.js.map +0 -1
- package/components/Sticky/Sticky.styles.d.ts +0 -7
- package/components/Sticky/Sticky.styles.js +0 -27
- package/components/Sticky/Sticky.styles.js.map +0 -1
- package/components/Switcher/Switcher.styles.d.ts +0 -12
- package/components/Switcher/Switcher.styles.js +0 -39
- package/components/Switcher/Switcher.styles.js.map +0 -1
- package/components/Tabs/Indicator.styles.d.ts +0 -8
- package/components/Tabs/Indicator.styles.js +0 -27
- package/components/Tabs/Indicator.styles.js.map +0 -1
- package/components/Tabs/Tab.styles.d.ts +0 -33
- package/components/Tabs/Tab.styles.js +0 -105
- package/components/Tabs/Tab.styles.js.map +0 -1
- package/components/Tabs/Tabs.styles.d.ts +0 -7
- package/components/Tabs/Tabs.styles.js +0 -26
- package/components/Tabs/Tabs.styles.js.map +0 -1
- package/components/Tabs/helpers.d.ts +0 -6
- package/components/Tabs/helpers.js +0 -25
- package/components/Tabs/helpers.js.map +0 -1
- package/components/Textarea/Textarea.styles.d.ts +0 -23
- package/components/Textarea/Textarea.styles.js +0 -73
- package/components/Textarea/Textarea.styles.js.map +0 -1
- package/components/TimePicker/TimePicker.styles.d.ts +0 -12
- package/components/TimePicker/TimePicker.styles.js +0 -39
- package/components/TimePicker/TimePicker.styles.js.map +0 -1
- package/components/Toast/Toast.styles.d.ts +0 -6
- package/components/Toast/Toast.styles.js +0 -24
- package/components/Toast/Toast.styles.js.map +0 -1
- package/components/Toast/ToastView.styles.d.ts +0 -18
- package/components/Toast/ToastView.styles.js +0 -67
- package/components/Toast/ToastView.styles.js.map +0 -1
- package/components/Toggle/Toggle.mixins.d.ts +0 -8
- package/components/Toggle/Toggle.mixins.js +0 -32
- package/components/Toggle/Toggle.mixins.js.map +0 -1
- package/components/Toggle/Toggle.styles.d.ts +0 -49
- package/components/Toggle/Toggle.styles.js +0 -147
- package/components/Toggle/Toggle.styles.js.map +0 -1
- package/components/Token/Token.styles.d.ts +0 -23
- package/components/Token/Token.styles.js +0 -67
- package/components/Token/Token.styles.js.map +0 -1
- package/components/TokenInput/TokenInput.styles.d.ts +0 -21
- package/components/TokenInput/TokenInput.styles.js +0 -68
- package/components/TokenInput/TokenInput.styles.js.map +0 -1
- package/components/Tooltip/Tooltip.styles.d.ts +0 -11
- package/components/Tooltip/Tooltip.styles.js +0 -36
- package/components/Tooltip/Tooltip.styles.js.map +0 -1
- package/internal/ClearCrossIcon/ClearCrossIcon.styles.d.ts +0 -12
- package/internal/ClearCrossIcon/ClearCrossIcon.styles.js +0 -36
- package/internal/ClearCrossIcon/ClearCrossIcon.styles.js.map +0 -1
- package/internal/CloseButtonIcon/CloseButtonIcon.styles.d.ts +0 -8
- package/internal/CloseButtonIcon/CloseButtonIcon.styles.js +0 -24
- package/internal/CloseButtonIcon/CloseButtonIcon.styles.js.map +0 -1
- package/internal/CustomComboBox/CustomComboBox.styles.d.ts +0 -4
- package/internal/CustomComboBox/CustomComboBox.styles.js +0 -18
- package/internal/CustomComboBox/CustomComboBox.styles.js.map +0 -1
- package/internal/DateSelect/DateSelect.styles.d.ts +0 -9
- package/internal/DateSelect/DateSelect.styles.js +0 -24
- package/internal/DateSelect/DateSelect.styles.js.map +0 -1
- package/internal/InputLikeText/InputLikeText.styles.d.ts +0 -8
- package/internal/InputLikeText/InputLikeText.styles.js +0 -30
- package/internal/InputLikeText/InputLikeText.styles.js.map +0 -1
- package/internal/InternalTextareaWithLayout/InternalTextareaWithLayout.styles.d.ts +0 -3
- package/internal/InternalTextareaWithLayout/InternalTextareaWithLayout.styles.js +0 -15
- package/internal/InternalTextareaWithLayout/InternalTextareaWithLayout.styles.js.map +0 -1
- package/internal/MaskCharLowLine/MaskCharLowLine.styles.d.ts +0 -3
- package/internal/MaskCharLowLine/MaskCharLowLine.styles.js +0 -15
- package/internal/MaskCharLowLine/MaskCharLowLine.styles.js.map +0 -1
- package/internal/Menu/Menu.styles.d.ts +0 -16
- package/internal/Menu/Menu.styles.js +0 -51
- package/internal/Menu/Menu.styles.js.map +0 -1
- package/internal/MenuMessage/MenuMessage.styles.d.ts +0 -11
- package/internal/MenuMessage/MenuMessage.styles.js +0 -41
- package/internal/MenuMessage/MenuMessage.styles.js.map +0 -1
- package/internal/MobilePopup/MobilePopup.styles.d.ts +0 -17
- package/internal/MobilePopup/MobilePopup.styles.js +0 -57
- package/internal/MobilePopup/MobilePopup.styles.js.map +0 -1
- package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.styles.d.ts +0 -7
- package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.styles.js +0 -25
- package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.styles.js.map +0 -1
- package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.styles.d.ts +0 -14
- package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.styles.js +0 -47
- package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.styles.js.map +0 -1
- package/internal/NativeDateInput/NativeDateInput.styles.d.ts +0 -3
- package/internal/NativeDateInput/NativeDateInput.styles.js +0 -15
- package/internal/NativeDateInput/NativeDateInput.styles.js.map +0 -1
- package/internal/NativeTimeInput/NativeTimeInput.styles.d.ts +0 -3
- package/internal/NativeTimeInput/NativeTimeInput.styles.js +0 -15
- package/internal/NativeTimeInput/NativeTimeInput.styles.js.map +0 -1
- package/internal/Popup/Popup.styles.d.ts +0 -22
- package/internal/Popup/Popup.styles.js +0 -69
- package/internal/Popup/Popup.styles.js.map +0 -1
- package/internal/Popup/PopupPin.styles.d.ts +0 -9
- package/internal/Popup/PopupPin.styles.js +0 -33
- package/internal/Popup/PopupPin.styles.js.map +0 -1
- package/internal/PopupMenu/PopupMenu.styles.d.ts +0 -4
- package/internal/PopupMenu/PopupMenu.styles.js +0 -18
- package/internal/PopupMenu/PopupMenu.styles.js.map +0 -1
- package/internal/ResizeDetector/ResizeDetector.styles.d.ts +0 -7
- package/internal/ResizeDetector/ResizeDetector.styles.js +0 -27
- package/internal/ResizeDetector/ResizeDetector.styles.js.map +0 -1
- package/internal/SpinnerIcon/SpinnerIcon.styles.d.ts +0 -6
- package/internal/SpinnerIcon/SpinnerIcon.styles.js +0 -24
- package/internal/SpinnerIcon/SpinnerIcon.styles.js.map +0 -1
- package/internal/TextWidthHelper/TextWidthHelper.styles.d.ts +0 -4
- package/internal/TextWidthHelper/TextWidthHelper.styles.js +0 -18
- package/internal/TextWidthHelper/TextWidthHelper.styles.js.map +0 -1
- package/internal/TimeInput/TimeFragments.styles.d.ts +0 -32
- package/internal/TimeInput/TimeFragments.styles.js +0 -78
- package/internal/TimeInput/TimeFragments.styles.js.map +0 -1
- package/internal/TimeInput/TimeInput.styles.d.ts +0 -7
- package/internal/TimeInput/TimeInput.styles.js +0 -24
- package/internal/TimeInput/TimeInput.styles.js.map +0 -1
- package/internal/icons2022/BaseIcon.styles.d.ts +0 -3
- package/internal/icons2022/BaseIcon.styles.js +0 -16
- package/internal/icons2022/BaseIcon.styles.js.map +0 -1
- package/internal/themes/DarkTheme6_5.d.ts +0 -1
- package/internal/themes/DarkTheme6_5.js +0 -87
- package/internal/themes/DarkTheme6_5.js.map +0 -1
- package/internal/themes/LightTheme6_5.d.ts +0 -1
- package/internal/themes/LightTheme6_5.js +0 -87
- package/internal/themes/LightTheme6_5.js.map +0 -1
- package/lib/Upgrades.d.ts +0 -6
- package/lib/Upgrades.js +0 -34
- package/lib/Upgrades.js.map +0 -1
- package/lib/styles/Mixins.d.ts +0 -2
- package/lib/styles/Mixins.js +0 -7
- package/lib/styles/Mixins.js.map +0 -1
- package/lib/styles/UiFont.d.ts +0 -3
- package/lib/styles/UiFont.js +0 -18
- package/lib/styles/UiFont.js.map +0 -1
- package/lib/theming/AnimationKeyframes.d.ts +0 -7
- package/lib/theming/AnimationKeyframes.js +0 -24
- package/lib/theming/AnimationKeyframes.js.map +0 -1
- package/typings/stylis-plugin-extra-scope.d.ts +0 -3
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export declare const globalClasses: {
|
|
2
|
+
afterLinkText: string;
|
|
3
|
+
};
|
|
4
|
+
export declare const root: string;
|
|
5
|
+
export declare const uploadButton: string;
|
|
6
|
+
export declare const uploadButtonWithFile: string;
|
|
7
|
+
export declare const uploadButtonIconGapSmall: string;
|
|
8
|
+
export declare const uploadButtonIconGapMedium: string;
|
|
9
|
+
export declare const uploadButtonIconGapLarge: string;
|
|
10
|
+
export declare const dragOver: string;
|
|
11
|
+
export declare const windowDragOver: string;
|
|
12
|
+
export declare const contentInnerSmall: string;
|
|
13
|
+
export declare const contentInnerMedium: string;
|
|
14
|
+
export declare const contentInnerLarge: string;
|
|
15
|
+
export declare const visuallyHidden: string;
|
|
16
|
+
export declare const afterLinkText: string;
|
|
17
|
+
export declare const afterLinkText_HasFiles: string;
|
|
18
|
+
export declare const linkHovered: string;
|
|
19
|
+
export declare const icon: string;
|
|
20
|
+
export declare const iconDisabled: string;
|
|
21
|
+
export declare const link: string;
|
|
22
|
+
export declare const linkDisabled: string;
|
|
23
|
+
export declare const singleFile: string;
|
|
24
|
+
export declare const iconSmall: string;
|
|
25
|
+
export declare const iconMedium: string;
|
|
26
|
+
export declare const iconLarge: string;
|
|
27
|
+
export declare const rowRoot: string;
|
|
28
|
+
export declare const rowUploadButton: string;
|
|
29
|
+
export declare const uploadButtonWrapper: string;
|
|
30
|
+
export declare const sizeSmall: string;
|
|
31
|
+
export declare const sizeMedium: string;
|
|
32
|
+
export declare const sizeLarge: string;
|
|
33
|
+
export declare const content: string;
|
|
34
|
+
export declare const contentWithFiles: string;
|
|
35
|
+
export declare const tileUploadButton: string;
|
|
36
|
+
export declare const tileUploadButtonWrapper: string;
|
|
37
|
+
export declare const uploadButtonWrapperSmall: string;
|
|
38
|
+
export declare const uploadButtonWrapperMedium: string;
|
|
39
|
+
export declare const uploadButtonWrapperLarge: string;
|
|
40
|
+
export declare const uploadButtonWrapperEmptyFileSmall: string;
|
|
41
|
+
export declare const uploadButtonWrapperEmptyFileMedium: string;
|
|
42
|
+
export declare const uploadButtonWrapperEmptyFileLarge: string;
|
|
43
|
+
export declare const tileUploadButtonWithFile: string;
|
|
44
|
+
export declare const tileUploadButtonIconGapSmall: string;
|
|
45
|
+
export declare const tileUploadButtonIconGapMedium: string;
|
|
46
|
+
export declare const tileUploadButtonIconGapLarge: string;
|
|
47
|
+
export declare const tileSizeSmall: string;
|
|
48
|
+
export declare const tileSizeMedium: string;
|
|
49
|
+
export declare const tileSizeLarge: string;
|
|
50
|
+
export declare const tileContent: string;
|
|
51
|
+
export declare const tileContentWithFiles: string;
|
|
52
|
+
export declare const uploadButtonFocus: string;
|
|
53
|
+
export declare const disabled: string;
|
|
54
|
+
export declare const disabledBackground: string;
|
|
55
|
+
export declare const warningButton: string;
|
|
56
|
+
export declare const errorButton: string;
|
|
57
|
+
export declare const uploadButtonTileWithFileSmall: string;
|
|
58
|
+
export declare const uploadButtonTileWithFileMedium: string;
|
|
59
|
+
export declare const uploadButtonTileWithFileLarge: string;
|
|
60
|
+
export declare const verticalAlign: string;
|
|
61
|
+
export declare const warningFile: string;
|
|
62
|
+
export declare const errorFile: string;
|
|
63
|
+
export declare const hovered: string;
|
|
64
|
+
export declare const getJsStyles: (_emotion?: unknown) => {
|
|
65
|
+
[x: string]: (...args: unknown[]) => string;
|
|
66
|
+
};
|
|
67
|
+
export declare const getJsRowStyles: (_emotion?: unknown) => {
|
|
68
|
+
[x: string]: (...args: unknown[]) => string;
|
|
69
|
+
};
|
|
70
|
+
export declare const getJsTileStyles: (_emotion?: unknown) => {
|
|
71
|
+
[x: string]: (...args: unknown[]) => string;
|
|
72
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
|
|
2
|
+
import { bindStaticStyles as _b9cd9 } from '../../lib/theming/bindStaticStyles.js';
|
|
3
|
+
export var afterLinkText = 'react-ui-FileUploader__afterLinkText';
|
|
4
|
+
export var afterLinkText_HasFiles = 'react-ui-FileUploader__afterLinkText_HasFiles';
|
|
5
|
+
export var content = 'react-ui-FileUploader__content';
|
|
6
|
+
export var contentInnerLarge = 'react-ui-FileUploader__contentInnerLarge';
|
|
7
|
+
export var contentInnerMedium = 'react-ui-FileUploader__contentInnerMedium';
|
|
8
|
+
export var contentInnerSmall = 'react-ui-FileUploader__contentInnerSmall';
|
|
9
|
+
export var contentWithFiles = 'react-ui-FileUploader__contentWithFiles';
|
|
10
|
+
export var disabled = 'react-ui-FileUploader__disabled';
|
|
11
|
+
export var disabledBackground = 'react-ui-FileUploader__disabledBackground';
|
|
12
|
+
export var dragOver = 'react-ui-FileUploader__dragOver';
|
|
13
|
+
export var errorButton = 'react-ui-FileUploader__errorButton';
|
|
14
|
+
export var errorFile = 'react-ui-FileUploader__errorFile';
|
|
15
|
+
export var getJsRowStyles = _b9cd9({root:'react-ui-FileUploader__root-2',uploadButtonWithFile:'react-ui-FileUploader__uploadButtonWithFile',uploadButton:'react-ui-FileUploader__uploadButton-2',uploadButtonWrapper:'react-ui-FileUploader__uploadButtonWrapper',uploadButtonIconGapSmall:'react-ui-FileUploader__uploadButtonIconGapSmall',uploadButtonIconGapMedium:'react-ui-FileUploader__uploadButtonIconGapMedium',uploadButtonIconGapLarge:'react-ui-FileUploader__uploadButtonIconGapLarge',sizeSmall:'react-ui-FileUploader__sizeSmall',sizeMedium:'react-ui-FileUploader__sizeMedium',sizeLarge:'react-ui-FileUploader__sizeLarge',content:'react-ui-FileUploader__content',contentWithFiles:'react-ui-FileUploader__contentWithFiles'});
|
|
16
|
+
export var getJsStyles = _b9cd9({root:'react-ui-FileUploader__root',uploadButton:'react-ui-FileUploader__uploadButton',uploadButtonFocus:'react-ui-FileUploader__uploadButtonFocus',uploadButtonWithFile:'react-ui-FileUploader__uploadButtonWithFile',uploadButtonIconGapSmall:'react-ui-FileUploader__uploadButtonIconGapSmall',uploadButtonIconGapMedium:'react-ui-FileUploader__uploadButtonIconGapMedium',uploadButtonIconGapLarge:'react-ui-FileUploader__uploadButtonIconGapLarge',dragOver:'react-ui-FileUploader__dragOver',windowDragOver:'react-ui-FileUploader__windowDragOver',contentInnerSmall:'react-ui-FileUploader__contentInnerSmall',contentInnerMedium:'react-ui-FileUploader__contentInnerMedium',contentInnerLarge:'react-ui-FileUploader__contentInnerLarge',visuallyHidden:'react-ui-FileUploader__visuallyHidden',afterLinkText:'react-ui-FileUploader__afterLinkText',afterLinkText_HasFiles:'react-ui-FileUploader__afterLinkText_HasFiles',warningButton:'react-ui-FileUploader__warningButton',warningFile:'react-ui-FileUploader__warningFile',errorButton:'react-ui-FileUploader__errorButton',errorFile:'react-ui-FileUploader__errorFile',hovered:'react-ui-FileUploader__hovered',linkHovered:'react-ui-FileUploader__linkHovered',disabled:'react-ui-FileUploader__disabled',disabledBackground:'react-ui-FileUploader__disabledBackground',icon:'react-ui-FileUploader__icon',iconDisabled:'react-ui-FileUploader__iconDisabled',link:'react-ui-FileUploader__link',linkDisabled:'react-ui-FileUploader__linkDisabled',singleFile:'react-ui-FileUploader__singleFile',iconSmall:'react-ui-FileUploader__iconSmall',iconMedium:'react-ui-FileUploader__iconMedium',iconLarge:'react-ui-FileUploader__iconLarge'});
|
|
17
|
+
export var getJsTileStyles = _b9cd9({uploadButton:'react-ui-FileUploader__uploadButton-3',uploadButtonWrapper:'react-ui-FileUploader__uploadButtonWrapper-2',uploadButtonWrapperSmall:'react-ui-FileUploader__uploadButtonWrapperSmall',uploadButtonWrapperMedium:'react-ui-FileUploader__uploadButtonWrapperMedium',uploadButtonWrapperLarge:'react-ui-FileUploader__uploadButtonWrapperLarge',uploadButtonWrapperEmptyFileSmall:'react-ui-FileUploader__uploadButtonWrapperEmptyFileSmall',uploadButtonWrapperEmptyFileMedium:'react-ui-FileUploader__uploadButtonWrapperEmptyFileMedium',uploadButtonWrapperEmptyFileLarge:'react-ui-FileUploader__uploadButtonWrapperEmptyFileLarge',uploadButtonWithFile:'react-ui-FileUploader__uploadButtonWithFile-2',uploadButtonIconGapSmall:'react-ui-FileUploader__uploadButtonIconGapSmall-2',uploadButtonIconGapMedium:'react-ui-FileUploader__uploadButtonIconGapMedium-2',uploadButtonIconGapLarge:'react-ui-FileUploader__uploadButtonIconGapLarge-2',uploadButtonTileWithFileSmall:'react-ui-FileUploader__uploadButtonTileWithFileSmall',uploadButtonTileWithFileMedium:'react-ui-FileUploader__uploadButtonTileWithFileMedium',uploadButtonTileWithFileLarge:'react-ui-FileUploader__uploadButtonTileWithFileLarge',sizeSmall:'react-ui-FileUploader__sizeSmall-2',sizeMedium:'react-ui-FileUploader__sizeMedium-2',sizeLarge:'react-ui-FileUploader__sizeLarge-2',verticalAlign:'react-ui-FileUploader__verticalAlign',content:'react-ui-FileUploader__content-2',contentWithFiles:'react-ui-FileUploader__contentWithFiles-2'});
|
|
18
|
+
export var globalClasses = {afterLinkText:'react-ui-file-uploader-after-link-text'};
|
|
19
|
+
export var hovered = 'react-ui-FileUploader__hovered';
|
|
20
|
+
export var icon = 'react-ui-FileUploader__icon';
|
|
21
|
+
export var iconDisabled = 'react-ui-FileUploader__iconDisabled';
|
|
22
|
+
export var iconLarge = 'react-ui-FileUploader__iconLarge';
|
|
23
|
+
export var iconMedium = 'react-ui-FileUploader__iconMedium';
|
|
24
|
+
export var iconSmall = 'react-ui-FileUploader__iconSmall';
|
|
25
|
+
export var link = 'react-ui-FileUploader__link';
|
|
26
|
+
export var linkDisabled = 'react-ui-FileUploader__linkDisabled';
|
|
27
|
+
export var linkHovered = 'react-ui-FileUploader__linkHovered';
|
|
28
|
+
export var root = 'react-ui-FileUploader__root';
|
|
29
|
+
export var rowRoot = 'react-ui-FileUploader__root-2';
|
|
30
|
+
export var rowUploadButton = 'react-ui-FileUploader__uploadButton-2';
|
|
31
|
+
export var singleFile = 'react-ui-FileUploader__singleFile';
|
|
32
|
+
export var sizeLarge = 'react-ui-FileUploader__sizeLarge';
|
|
33
|
+
export var sizeMedium = 'react-ui-FileUploader__sizeMedium';
|
|
34
|
+
export var sizeSmall = 'react-ui-FileUploader__sizeSmall';
|
|
35
|
+
export var tileContent = 'react-ui-FileUploader__content-2';
|
|
36
|
+
export var tileContentWithFiles = 'react-ui-FileUploader__contentWithFiles-2';
|
|
37
|
+
export var tileSizeLarge = 'react-ui-FileUploader__sizeLarge-2';
|
|
38
|
+
export var tileSizeMedium = 'react-ui-FileUploader__sizeMedium-2';
|
|
39
|
+
export var tileSizeSmall = 'react-ui-FileUploader__sizeSmall-2';
|
|
40
|
+
export var tileUploadButton = 'react-ui-FileUploader__uploadButton-3';
|
|
41
|
+
export var tileUploadButtonIconGapLarge = 'react-ui-FileUploader__uploadButtonIconGapLarge-2';
|
|
42
|
+
export var tileUploadButtonIconGapMedium = 'react-ui-FileUploader__uploadButtonIconGapMedium-2';
|
|
43
|
+
export var tileUploadButtonIconGapSmall = 'react-ui-FileUploader__uploadButtonIconGapSmall-2';
|
|
44
|
+
export var tileUploadButtonWithFile = 'react-ui-FileUploader__uploadButtonWithFile-2';
|
|
45
|
+
export var tileUploadButtonWrapper = 'react-ui-FileUploader__uploadButtonWrapper-2';
|
|
46
|
+
export var uploadButton = 'react-ui-FileUploader__uploadButton';
|
|
47
|
+
export var uploadButtonFocus = 'react-ui-FileUploader__uploadButtonFocus';
|
|
48
|
+
export var uploadButtonIconGapLarge = 'react-ui-FileUploader__uploadButtonIconGapLarge';
|
|
49
|
+
export var uploadButtonIconGapMedium = 'react-ui-FileUploader__uploadButtonIconGapMedium';
|
|
50
|
+
export var uploadButtonIconGapSmall = 'react-ui-FileUploader__uploadButtonIconGapSmall';
|
|
51
|
+
export var uploadButtonTileWithFileLarge = 'react-ui-FileUploader__uploadButtonTileWithFileLarge';
|
|
52
|
+
export var uploadButtonTileWithFileMedium = 'react-ui-FileUploader__uploadButtonTileWithFileMedium';
|
|
53
|
+
export var uploadButtonTileWithFileSmall = 'react-ui-FileUploader__uploadButtonTileWithFileSmall';
|
|
54
|
+
export var uploadButtonWithFile = 'react-ui-FileUploader__uploadButtonWithFile';
|
|
55
|
+
export var uploadButtonWrapper = 'react-ui-FileUploader__uploadButtonWrapper';
|
|
56
|
+
export var uploadButtonWrapperEmptyFileLarge = 'react-ui-FileUploader__uploadButtonWrapperEmptyFileLarge';
|
|
57
|
+
export var uploadButtonWrapperEmptyFileMedium = 'react-ui-FileUploader__uploadButtonWrapperEmptyFileMedium';
|
|
58
|
+
export var uploadButtonWrapperEmptyFileSmall = 'react-ui-FileUploader__uploadButtonWrapperEmptyFileSmall';
|
|
59
|
+
export var uploadButtonWrapperLarge = 'react-ui-FileUploader__uploadButtonWrapperLarge';
|
|
60
|
+
export var uploadButtonWrapperMedium = 'react-ui-FileUploader__uploadButtonWrapperMedium';
|
|
61
|
+
export var uploadButtonWrapperSmall = 'react-ui-FileUploader__uploadButtonWrapperSmall';
|
|
62
|
+
export var verticalAlign = 'react-ui-FileUploader__verticalAlign';
|
|
63
|
+
export var visuallyHidden = 'react-ui-FileUploader__visuallyHidden';
|
|
64
|
+
export var warningButton = 'react-ui-FileUploader__warningButton';
|
|
65
|
+
export var warningFile = 'react-ui-FileUploader__warningFile';
|
|
66
|
+
export var windowDragOver = 'react-ui-FileUploader__windowDragOver';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileUploader.css.js","sourceRoot":"","sources":["FileUploader.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAErE,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,CAAC,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAEjE,MAAM,CAAC,IAAM,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC,CAAC;IACnD,aAAa,EAAE,iBAAiB;CACjC,CAAC,CAAC;AAEH,IAAM,KAAK,GAAG,SAAS,CAAC;IACtB,IAAI,EAAE,EAAE,SAAS,EAAE,oBAAa,CAAC,CAAC,eAAe,CAAE,EAAE;IACrD,KAAK,EAAE,EAAE,SAAS,EAAE,qBAAc,CAAC,CAAC,eAAe,CAAE,EAAE;IACvD,MAAM,EAAE,EAAE,SAAS,EAAE,oBAAa,CAAC,CAAC,eAAe,CAAE,EAAE;CACxD,CAAC,CAAC;AAEH,MAAM,CAAC,IAAM,IAAI,GAAG,KAAK,CAAC;IACxB,OAAO,EAAE,aAAa;IACtB,QAAQ,EAAE,MAAM;IAChB,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,CAAC,CAAC,wBAAwB;IACxC,UAAU,EAAE,CAAC,CAAC,2BAA2B;IACzC,QAAQ,EAAE,CAAC,CAAC,yBAAyB;IACrC,KAAK,EAAE,CAAC,CAAC,4BAA4B;CACtC,CAAC,CAAC;AAEH,MAAM,CAAC,IAAM,YA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AiC,mCAAA;IACjC,oBAAoB,EAAE,wBAAwB;IAC9C,wBAAwB,EAAE,4BAA4B;IACtD,yBAAyB,EAAE,6BAA6B;IACxD,wBAAwB,EAAE,4BAA4B;IACtD,6BAA6B,+BAAA;IAC7B,8BAA8B,gCAAA;IAC9B,6BAA6B,+BAAA;IAC7B,SAAS,EAAE,aAAa;IACxB,UAAU,EAAE,cAAc;IAC1B,SAAS,EAAE,aAAa;IACxB,aAAa,eAAA;IACb,OAAO,EAAE,WAAW;IACpB,gBAAgB,EAAE,oBAAoB;CACvC,CAAC,CAAC","sourcesContent":["import { globalStyle, keyframes, style } from '@vanilla-extract/css';\n\nimport { prefix } from '../../lib/theming/Emotion.js';\nimport { exportStyles, t, whenThemeSets } from '../../lib/theming/vanilla.js';\nimport { fileUploaderSizeMixin } from './FileUploader.mixins.js';\n\nexport const globalClasses = prefix('file-uploader')({\n afterLinkText: 'after-link-text',\n});\n\nconst pulse = keyframes({\n '0%': { boxShadow: `0 0 0 1px ${t.inputBlinkColor}` },\n '95%': { boxShadow: `0 0 0 10px ${t.inputBlinkColor}` },\n '100%': { boxShadow: `0 0 0 1px ${t.inputBlinkColor}` },\n});\n\nexport const root = style({\n display: 'inline-flex',\n flexWrap: 'wrap',\n position: 'relative',\n borderRadius: t.fileUploaderBorderRadius,\n lineHeight: t.fileUploaderLineHeightSmall,\n fontSize: t.fileUploaderFontSizeSmall,\n color: t.fileUploaderTextColorDefault,\n});\n\nexport const uploadButton = style({\n width: '100%',\n position: 'relative',\n display: 'inline-flex',\n alignItems: 'center',\n border: `${t.fileUploaderBorderWidth} ${t.fileUploaderBorderStyle} ${t.fileUploaderBorderColor}`,\n boxSizing: 'border-box',\n borderRadius: t.fileUploaderBorderRadius,\n outline: 'none',\n cursor: 'pointer',\n transition: [\n `background-color ${t.transitionDuration} ${t.transitionTimingFunction}`,\n `border-color ${t.transitionDuration} ${t.transitionTimingFunction}`,\n ].join(','),\n backgroundColor: t.fileUploaderUploadButtonBg,\n});\n\n// одинаковые стили у строки: Emotion отдавал ей эти же классы\nexport const uploadButtonWithFile = style({\n border: `${t.fileUploaderBorderWidth} solid transparent`,\n background: 'none',\n});\n\nexport const uploadButtonIconGapSmall = style({ marginRight: t.inputIconGapSmall });\n\nexport const uploadButtonIconGapMedium = style({ marginRight: t.inputIconGapMedium });\n\nexport const uploadButtonIconGapLarge = style({ marginRight: t.inputIconGapLarge });\n\nexport const dragOver = style({\n border: `1px solid ${t.fileUploaderDragOverBorderColor}`,\n borderRadius: t.fileUploaderBorderRadius,\n boxShadow: t.fileUploaderDragOverShadow,\n});\n\nexport const windowDragOver = style({\n borderRadius: t.fileUploaderBorderRadius,\n animation: `${pulse} 1.5s infinite`,\n});\n\nexport const contentInnerSmall = style({\n width: `calc(100% - ${t.inputIconSizeSmall} - ${t.fileUploaderIconGapSmall})`,\n});\n\nexport const contentInnerMedium = style({\n width: `calc(100% - ${t.inputIconSizeMedium} - ${t.fileUploaderIconGapMedium})`,\n});\n\nexport const contentInnerLarge = style({\n width: `calc(100% - ${t.inputIconSizeLarge} - ${t.fileUploaderIconGapLarge})`,\n});\n\nexport const visuallyHidden = style({\n position: 'absolute',\n width: 1,\n height: 1,\n margin: -1,\n border: 0,\n padding: 0,\n whiteSpace: 'nowrap',\n clipPath: 'inset(100%)',\n clip: 'rect(0 0 0 0)',\n overflow: 'hidden',\n});\n\nexport const afterLinkText = style({ display: 'inline' });\n\nexport const afterLinkText_HasFiles = style({\n display: 'flex',\n justifyContent: 'space-between',\n flex: '1 1 auto',\n height: '100%',\n});\n\nexport const linkHovered = style({ textDecoration: t.fileUploaderLinkHoverTextDecoration });\n\nexport const icon = style({\n display: 'inline-block',\n color: t.fileUploaderIconColor,\n});\n\nexport const iconDisabled = style({ color: t.fileUploaderDisabledIconColor });\n\nexport const link = style({\n outline: 'none',\n textDecoration: 'none',\n color: t.fileUploaderLinkColor,\n});\n\nexport const linkDisabled = style({ color: t.fileUploaderDisabledLinkColor });\n\nexport const singleFile = style({\n width: '100%',\n height: 'inherit',\n});\n\nexport const iconSmall = style({\n fontSize: t.fileUploaderFontSizeSmall,\n lineHeight: t.fileUploaderLineHeightSmall,\n});\n\nexport const iconMedium = style({\n fontSize: t.fileUploaderFontSizeMedium,\n lineHeight: t.fileUploaderLineHeightMedium,\n});\n\nexport const iconLarge = style({\n fontSize: t.fileUploaderFontSizeLarge,\n lineHeight: t.fileUploaderLineHeightLarge,\n});\n\n// ---------- строки (getJsRowStyles): одноимённые классы получают суффикс, как раньше ----------\n\nexport const rowRoot = style({ width: '100%' }, 'root-2');\n\nexport const rowUploadButton = style({ justifyContent: 'space-between' }, 'uploadButton-2');\n\nexport const uploadButtonWrapper = style({\n height: 'inherit',\n width: '100%',\n});\n\nexport const sizeSmall = style(\n fileUploaderSizeMixin(\n t.fileUploaderFontSizeSmall,\n t.fileUploaderLineHeightSmall,\n t.fileUploaderPaddingXSmall,\n t.fileUploaderPaddingYSmall,\n ),\n);\n\nexport const sizeMedium = style(\n fileUploaderSizeMixin(\n t.fileUploaderFontSizeMedium,\n t.fileUploaderLineHeightMedium,\n t.fileUploaderPaddingXMedium,\n t.fileUploaderPaddingYMedium,\n ),\n);\n\nexport const sizeLarge = style(\n fileUploaderSizeMixin(\n t.fileUploaderFontSizeLarge,\n t.fileUploaderLineHeightLarge,\n t.fileUploaderPaddingXLarge,\n t.fileUploaderPaddingYLarge,\n ),\n);\n\nexport const content = style({\n display: 'block',\n width: '100%',\n height: '100%',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n});\n\nexport const contentWithFiles = style({\n display: 'flex',\n alignItems: 'center',\n});\n\n// ---------- плитки (getJsTileStyles) ----------\n\nexport const tileUploadButton = style(\n {\n height: '100%',\n justifyContent: 'center',\n flexDirection: 'column',\n },\n 'uploadButton-3',\n);\n\nexport const tileUploadButtonWrapper = style({ boxSizing: 'border-box' }, 'uploadButtonWrapper-2');\n\nexport const uploadButtonWrapperSmall = style({\n width: t.fileUploaderTileWidthSmall,\n minHeight: t.fileUploaderTileMinHeightSmall,\n height: 'auto',\n});\n\nexport const uploadButtonWrapperMedium = style({\n width: t.fileUploaderTileWidthMedium,\n minHeight: t.fileUploaderTileMinHeightMedium,\n height: 'auto',\n});\n\nexport const uploadButtonWrapperLarge = style({\n width: t.fileUploaderTileWidthLarge,\n minHeight: t.fileUploaderTileMinHeightLarge,\n height: 'auto',\n});\n\nexport const uploadButtonWrapperEmptyFileSmall = style({\n padding: t.fileUploaderTileFilePaddingSmall,\n height: t.fileUploaderTileMinHeightSmall,\n});\n\nexport const uploadButtonWrapperEmptyFileMedium = style({\n padding: t.fileUploaderTileFilePaddingMedium,\n height: t.fileUploaderTileMinHeightMedium,\n});\n\nexport const uploadButtonWrapperEmptyFileLarge = style({\n padding: t.fileUploaderTileFilePaddingLarge,\n height: t.fileUploaderTileMinHeightLarge,\n});\n\nexport const tileUploadButtonWithFile = style(\n {\n border: `${t.fileUploaderBorderWidth} solid transparent`,\n background: 'none',\n justifyContent: 'start',\n },\n 'uploadButtonWithFile-2',\n);\n\nexport const tileUploadButtonIconGapSmall = style({ marginBottom: t.inputIconGapSmall }, 'uploadButtonIconGapSmall-2');\n\nexport const tileUploadButtonIconGapMedium = style(\n { marginBottom: t.inputIconGapMedium },\n 'uploadButtonIconGapMedium-2',\n);\n\nexport const tileUploadButtonIconGapLarge = style({ marginBottom: t.inputIconGapLarge }, 'uploadButtonIconGapLarge-2');\n\nexport const tileSizeSmall = style(\n fileUploaderSizeMixin(\n t.fileUploaderFontSizeSmall,\n t.fileUploaderLineHeightSmall,\n t.fileUploaderTilePaddingSmall,\n t.fileUploaderTilePaddingSmall,\n ),\n 'sizeSmall-2',\n);\n\nexport const tileSizeMedium = style(\n fileUploaderSizeMixin(\n t.fileUploaderFontSizeMedium,\n t.fileUploaderLineHeightMedium,\n t.fileUploaderTilePaddingMedium,\n t.fileUploaderTilePaddingMedium,\n ),\n 'sizeMedium-2',\n);\n\nexport const tileSizeLarge = style(\n fileUploaderSizeMixin(\n t.fileUploaderFontSizeLarge,\n t.fileUploaderLineHeightLarge,\n t.fileUploaderTilePaddingLarge,\n t.fileUploaderTilePaddingLarge,\n ),\n 'sizeLarge-2',\n);\n\nexport const tileContent = style(\n {\n display: 'block',\n width: '100%',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'normal',\n overflowWrap: 'break-word',\n wordWrap: 'break-word',\n textAlign: 'center',\n },\n 'content-2',\n);\n\nexport const tileContentWithFiles = style(\n {\n display: 'flex',\n alignItems: 'flex-start',\n height: '100%',\n },\n 'contentWithFiles-2',\n);\n\n// порядок вызова в cx(...) у кнопки загрузки: состояния после размера, валидация после disabled\nexport const uploadButtonFocus = style({\n border: `${t.fileUploaderBorderWidth} solid ${t.fileUploaderBorderColorFocus}`,\n boxShadow: `0px 0px 0px 1px ${t.fileUploaderBorderColorFocus}`,\n});\n\nexport const disabled = style({\n cursor: 'default',\n color: t.fileUploaderDisabledTextColor,\n boxShadow: 'none',\n backgroundClip: t.fileUploaderDisabledBgClip,\n});\n\nexport const disabledBackground = style({\n background: t.fileUploaderDisabledBg,\n border: t.fileUploaderDisabledBorder,\n});\n\nexport const warningButton = style({\n border: `${t.fileUploaderBorderWidth} solid ${t.fileUploaderBorderColorWarning}`,\n boxShadow: `0px 0px 0px 1px ${t.fileUploaderBorderColorWarning}`,\n});\n\nexport const errorButton = style({\n border: `${t.fileUploaderBorderWidth} solid ${t.fileUploaderBorderColorError}`,\n boxShadow: `0px 0px 0px 1px ${t.fileUploaderBorderColorError}`,\n});\n\nexport const uploadButtonTileWithFileSmall = style({ padding: t.fileUploaderTileFilePaddingSmall });\n\nexport const uploadButtonTileWithFileMedium = style({ padding: t.fileUploaderTileFilePaddingMedium });\n\nexport const uploadButtonTileWithFileLarge = style({ padding: t.fileUploaderTileFilePaddingLarge });\n\nexport const verticalAlign = style({ verticalAlign: 'middle' });\n\nexport const warningFile = style({\n background: t.fileUploaderWarningBgColor,\n color: t.fileUploaderValidationTextColor,\n});\n\nexport const errorFile = style({\n background: t.fileUploaderErrorBgColor,\n color: t.fileUploaderValidationTextColor,\n});\n\nexport const hovered = style({ background: t.fileUploaderHoveredBg });\n\n// вложенные правила — после баз всех классов файла, как было в склеенном CSS Emotion\nwhenThemeSets('fileUploaderBg', root, (value) => ({ backgroundColor: value }));\n\nglobalStyle(`${linkDisabled}:hover`, { textDecoration: 'none' });\n\nglobalStyle(`${disabled} .${globalClasses.afterLinkText}`, { color: t.fileUploaderDisabledTextColor });\n\nglobalStyle(`${warningFile}:hover`, { background: t.fileUploaderWarningBgHoverColor });\n\nglobalStyle(`${errorFile}:hover`, { background: t.fileUploaderErrorBgHoverColor });\n\nexport const getJsStyles = exportStyles({\n root,\n uploadButton,\n uploadButtonFocus,\n uploadButtonWithFile,\n uploadButtonIconGapSmall,\n uploadButtonIconGapMedium,\n uploadButtonIconGapLarge,\n dragOver,\n windowDragOver,\n contentInnerSmall,\n contentInnerMedium,\n contentInnerLarge,\n visuallyHidden,\n afterLinkText,\n afterLinkText_HasFiles,\n warningButton,\n warningFile,\n errorButton,\n errorFile,\n hovered,\n linkHovered,\n disabled,\n disabledBackground,\n icon,\n iconDisabled,\n link,\n linkDisabled,\n singleFile,\n iconSmall,\n iconMedium,\n iconLarge,\n});\n\nexport const getJsRowStyles = exportStyles({\n root: rowRoot,\n uploadButtonWithFile,\n uploadButton: rowUploadButton,\n uploadButtonWrapper,\n uploadButtonIconGapSmall,\n uploadButtonIconGapMedium,\n uploadButtonIconGapLarge,\n sizeSmall,\n sizeMedium,\n sizeLarge,\n content,\n contentWithFiles,\n});\n\nexport const getJsTileStyles = exportStyles({\n uploadButton: tileUploadButton,\n uploadButtonWrapper: tileUploadButtonWrapper,\n uploadButtonWrapperSmall,\n uploadButtonWrapperMedium,\n uploadButtonWrapperLarge,\n uploadButtonWrapperEmptyFileSmall,\n uploadButtonWrapperEmptyFileMedium,\n uploadButtonWrapperEmptyFileLarge,\n uploadButtonWithFile: tileUploadButtonWithFile,\n uploadButtonIconGapSmall: tileUploadButtonIconGapSmall,\n uploadButtonIconGapMedium: tileUploadButtonIconGapMedium,\n uploadButtonIconGapLarge: tileUploadButtonIconGapLarge,\n uploadButtonTileWithFileSmall,\n uploadButtonTileWithFileMedium,\n uploadButtonTileWithFileLarge,\n sizeSmall: tileSizeSmall,\n sizeMedium: tileSizeMedium,\n sizeLarge: tileSizeLarge,\n verticalAlign,\n content: tileContent,\n contentWithFiles: tileContentWithFiles,\n});\n"]}
|
|
@@ -67,7 +67,7 @@ import { isBrowser } from '../../lib/globalObject.js';
|
|
|
67
67
|
import { useEmotion, useGlobal, useStyles } from '../../lib/renderEnvironment/index.js';
|
|
68
68
|
import { useSizeControl } from '../../lib/size/useSizeControl.js';
|
|
69
69
|
import { ThemeContext } from '../../lib/theming/ThemeContext.js';
|
|
70
|
-
import { getJsRowStyles, getJsStyles, getJsTileStyles, globalClasses } from './FileUploader.
|
|
70
|
+
import { getJsRowStyles, getJsStyles, getJsTileStyles, globalClasses } from './FileUploader.css.js';
|
|
71
71
|
import { FileUploaderControlContext } from './FileUploaderControlContext.js';
|
|
72
72
|
import { FileUploaderFile } from './FileUploaderFile.js';
|
|
73
73
|
import { FileUploaderFileList } from './FileUploaderFileList/FileUploaderFileList.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileUploader.js","sourceRoot":"","sources":["FileUploader.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzG,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE7D,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE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AAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,QAAQ,CAAC,cAAc,EAAE,EACpC,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,iBAAiB,EAC3B,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,UAAU,IAClB,CACkB,CAChB,CACJ;YACL,oBAAoB,KAAK,OAAO,IAAI,cAAc,EAAE,CACjD,CACQ,CACjB,CAAC;AACJ,CAAC,CAAC,CAAC;AAIH;;GAEG;AACH,MAAM,CAAC,IAAM,YAAY,GAAG,+BAA+B,CACzD,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,CAC1B,CAAC;AAEF,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC","sourcesContent":["import React, { useCallback, useContext, useEffect, useImperativeHandle, useRef, useState } from 'react';\n\nimport { useDrop } from '../../hooks/useDrop.js';\nimport { useMemoObject } from '../../hooks/useMemoObject.js';\nimport type { CommonProps } from '../../internal/CommonWrapper/index.js';\nimport { CommonWrapper } from '../../internal/CommonWrapper/index.js';\nimport { FocusControlWrapper } from '../../internal/FocusControlWrapper/index.js';\nimport type { PopupPositionsType, ShortPopupPositionsType } from '../../internal/Popup/index.js';\nimport { useKeyListener } from '../../lib/events/keyListener.js';\nimport { forwardRefAndName } from '../../lib/forwardRefAndName.js';\nimport { isBrowser } from '../../lib/globalObject.js';\nimport { useEmotion, useGlobal, useStyles } from '../../lib/renderEnvironment/index.js';\nimport type { InstanceWithRootNode } from '../../lib/rootNode/index.js';\nimport { useSizeControl } from '../../lib/size/useSizeControl.js';\nimport { ThemeContext } from '../../lib/theming/ThemeContext.js';\nimport type { SizeProp } from '../../lib/types/props.js';\nimport type { Nullable } from '../../typings/utility-types.js';\nimport { getJsRowStyles, getJsStyles, getJsTileStyles, globalClasses } from './FileUploader.styles.js';\nimport { FileUploaderControlContext } from './FileUploaderControlContext.js';\nimport type { FileUploaderControlProviderProps } from './FileUploaderControlProvider.js';\nimport { FileUploaderFile } from './FileUploaderFile.js';\nimport type { FileUploaderFileProps } from './FileUploaderFile.js';\nimport { FileUploaderFileList } from './FileUploaderFileList/FileUploaderFileList.js';\nimport { FileUploaderFileValidationResult } from './FileUploaderFileValidationResult.js';\nimport type {\n FileUploaderAttachedFile,\n FileUploaderUploadButtonPosition,\n FileUploaderValidationSummary,\n FileUploaderView,\n} from './fileUtils.js';\nimport { FileUploaderFileStatus, getAttachedFile } from './fileUtils.js';\nimport { useControlLocale } from './hooks/useControlLocale.js';\nimport { useFileUploaderSize } from './hooks/useFileUploaderSize.js';\nimport { useUpload } from './hooks/useUpload.js';\nimport { UploadIcon } from './icons/UploadIcon.js';\nimport { withFileUploaderControlProvider } from './withFileUploaderControlProvider.js';\n\nconst stopPropagation: React.ReactEventHandler = (e) => e.stopPropagation();\n\ntype FileUploaderOverriddenProps = 'size';\n\ninterface _FileUploaderProps\n extends CommonProps, Omit<React.InputHTMLAttributes<HTMLInputElement>, FileUploaderOverriddenProps> {\n /** Переводит контрол в состояние ошибки. */\n /** Состояние ошибки всего контрола */\n error?: boolean;\n\n /** Переводит контрол в состояние предупреждения. */\n /** Состояние предупреждения всего контрола. */\n warning?: boolean;\n\n /** Расположение тултипа с текстом валидации файла.\n * @default 'top left' */\n validationTooltipPosition?: ShortPopupPositionsType | PopupPositionsType;\n\n /** Включает отображение текста валидации файла во всплывающей подсказке вместо строки рядом с именем.\n * @default false */\n withValidationTooltip?: boolean;\n\n /** Включает отображение иконки предупреждения (восклицательный знак) при статусе предупреждения у файла.\n * @default false */\n withWarningIcon?: boolean;\n\n /** Ширина контрола. */\n width?: React.CSSProperties['width'];\n\n /** Размер контрола и вложенных элементов.\n * @default small */\n size?: SizeProp;\n\n /** Скрывает встроенный список файлов.\n * @default false */\n hideFiles?: boolean;\n\n /** Текст ссылки выбора файла.\n * @default \"Выберите файл\"\n */\n uploaderText?: string;\n\n /** Иконка в кнопке загрузки.\n */\n uploaderIcon?: React.ReactNode;\n\n /** Режим отображения списка файлов: строка (`row`) или плитка (`tile`).\n * @default row\n */\n view?: FileUploaderView;\n\n /** Режим блока-саммари по ошибкам и предупреждениям:\n * - `auto` — от порога `validationSummaryStart`,\n * - `enabled` / `disabled` — всегда или никогда.\n * @default auto\n */\n validationSummary?: FileUploaderValidationSummary;\n\n /** Порог числа файлов для показа саммари при `validationSummary=\"auto\"`.\n * @default 5 */\n validationSummaryStart?: number;\n\n /** Расположение кнопки загрузки относительно списка: в начале или в конце.\n * @default start */\n uploadButtonPosition?: FileUploaderUploadButtonPosition;\n\n /** Включает асинхронный режим загрузки файлов.\n * Отклонённый промис помечает файл(ы) ошибкой загрузки.\n */\n request?: (file: FileUploaderAttachedFile) => Promise<void>;\n\n /** Колбэк после успешного завершения `request` для файла. */\n onRequestSuccess?: (fileId: string) => void;\n\n /** Колбэк после ошибки `request` для файла. */\n onRequestError?: (fileId: string) => void;\n\n /** Проверка файла после выбора и до `request`: строка или `{ message, status }` — ошибка/предупреждение. Пустой результат — файл проходит.\n */\n validateBeforeUpload?: (\n file: FileUploaderAttachedFile,\n ) => Promise<Nullable<string | { message: string; status: FileUploaderFileStatus }>>;\n\n /**\n * Задаёт метод отрисовки файлов.\n * @default (props: FileUploaderFileProps) => <FileUploaderFile {...props} />\n */\n renderFile?: (props: FileUploaderFileProps) => React.ReactNode;\n}\n\nexport interface FileUploaderRef extends InstanceWithRootNode {\n /** Устанавливает фокус на скрытом `input` выбора файла. */\n focus: () => void;\n /** Снимает фокус с `input` выбора файла. */\n blur: () => void;\n /** Очищает список файлов и значения `input`. */\n reset: () => void;\n /** Удаляет файл по id с вызовом `onRemove` и `onValueChange`. */\n removeFile: (fileId: string) => void;\n}\n\nexport type FileUploader = FileUploaderRef;\n\nexport const FileUploaderDataTids = {\n root: 'FileUploader__root',\n content: 'FileUploader__content',\n link: 'FileUploader__link',\n input: 'FileUploader__input',\n} as const;\n\nconst defaultRenderFile = (props: FileUploaderFileProps) => <FileUploaderFile {...props} />;\n\nconst _FileUploader = forwardRefAndName<FileUploaderRef, _FileUploaderProps>('FileUploader', (props, ref) => {\n const theme = useContext(ThemeContext);\n const globalObject = useGlobal();\n const { cx } = useEmotion();\n const jsStyles = useStyles(getJsStyles);\n const jsRowStyles = useStyles(getJsRowStyles);\n const jsTileStyles = useStyles(getJsTileStyles);\n const keyListener = useKeyListener();\n\n const {\n disabled,\n error,\n warning,\n withValidationTooltip = false,\n validationTooltipPosition,\n withWarningIcon = false,\n multiple = false,\n uploaderText,\n uploaderIcon,\n view = 'row',\n uploadButtonPosition = 'start',\n validationSummary = 'auto',\n validationSummaryStart = 5,\n width = theme.fileUploaderWidth,\n hideFiles = false,\n onBlur,\n onFocus,\n onChange,\n request,\n validateBeforeUpload,\n onRequestSuccess,\n onRequestError,\n size: sizeProp,\n renderFile = defaultRenderFile,\n ...inputProps\n } = props;\n const size = useSizeControl(sizeProp);\n\n const { files, setFiles, removeFile, reset, setFileValidationResult } = useContext(FileUploaderControlContext);\n\n const locale = useControlLocale();\n\n const inputRef = useRef<HTMLInputElement>(null);\n const fileDivRef = useRef<HTMLDivElement>(null);\n\n const isAsync = !!request;\n const isSingleMode = !multiple;\n\n const [hovered, setHovered] = useState(false);\n const upload = useUpload(request, onRequestSuccess, onRequestError);\n\n const tryValidateAndUpload = useCallback(\n (files: FileUploaderAttachedFile[]) => {\n files.forEach(async (file) => {\n const validationMessage = validateBeforeUpload && (await validateBeforeUpload(file));\n\n if (!validationMessage) {\n isAsync && upload(file);\n } else if (typeof validationMessage === 'object') {\n setFileValidationResult(\n file.id,\n FileUploaderFileValidationResult.error(validationMessage.message),\n validationMessage.status,\n );\n } else {\n setFileValidationResult(\n file.id,\n FileUploaderFileValidationResult.error(validationMessage),\n FileUploaderFileStatus.Error,\n );\n }\n });\n },\n [validateBeforeUpload, isAsync, upload, setFileValidationResult],\n );\n\n const isTileView = view === 'tile';\n const jsViewStyles = isTileView ? jsTileStyles : jsRowStyles;\n\n const sizeClassName = useFileUploaderSize(size, {\n small: jsViewStyles.sizeSmall(theme),\n medium: jsViewStyles.sizeMedium(theme),\n large: jsViewStyles.sizeLarge(theme),\n });\n\n const uploadButtonTileWithFileClassName = useFileUploaderSize(size, {\n small: jsTileStyles.uploadButtonTileWithFileSmall(theme),\n medium: jsTileStyles.uploadButtonTileWithFileMedium(theme),\n large: jsTileStyles.uploadButtonTileWithFileLarge(theme),\n });\n\n const uploadButtonIconGapClass = useFileUploaderSize(size, {\n small: jsViewStyles.uploadButtonIconGapSmall(theme),\n medium: jsViewStyles.uploadButtonIconGapMedium(theme),\n large: jsViewStyles.uploadButtonIconGapLarge(theme),\n });\n\n const sizeIconClass = useFileUploaderSize(size, {\n small: jsStyles.iconSmall(theme),\n medium: jsStyles.iconMedium(theme),\n large: jsStyles.iconLarge(theme),\n });\n\n const sizeWrapperClass = useFileUploaderSize(size, {\n small: jsTileStyles.uploadButtonWrapperSmall(theme),\n medium: jsTileStyles.uploadButtonWrapperMedium(theme),\n large: jsTileStyles.uploadButtonWrapperLarge(theme),\n });\n\n const sizeWrapperEmptyFileClass = useFileUploaderSize(size, {\n small: jsTileStyles.uploadButtonWrapperEmptyFileSmall(theme),\n medium: jsTileStyles.uploadButtonWrapperEmptyFileMedium(theme),\n large: jsTileStyles.uploadButtonWrapperEmptyFileLarge(theme),\n });\n\n const contentInnerClass = useFileUploaderSize(size, {\n small: jsStyles.contentInnerSmall(theme),\n medium: jsStyles.contentInnerMedium(theme),\n large: jsStyles.contentInnerLarge(theme),\n });\n\n /** common part **/\n const handleChange = useCallback(\n (newFiles: FileList | null) => {\n if (!newFiles || !newFiles.length) {\n return;\n }\n\n let filesArray = Array.from(newFiles);\n\n if (isSingleMode) {\n filesArray = [filesArray[0]];\n }\n\n const attachedFiles = filesArray.map(getAttachedFile);\n\n if (isSingleMode && attachedFiles.length && files.length) {\n removeFile(files[0].id);\n }\n\n if (attachedFiles.length) {\n setFiles(attachedFiles);\n tryValidateAndUpload(attachedFiles);\n }\n },\n [tryValidateAndUpload, setFiles, isSingleMode, files, removeFile],\n );\n\n const handleDrop = useCallback(\n (event: DragEvent) => {\n if (disabled) {\n return;\n }\n\n const { dataTransfer } = event;\n if (dataTransfer) {\n if (isSingleMode && dataTransfer.files.length > 1) {\n dataTransfer.dropEffect = 'none';\n return;\n }\n if (dataTransfer.files?.length > 0) {\n inputRef.current && (inputRef.current.files = dataTransfer.files);\n handleChange(dataTransfer.files);\n }\n }\n },\n [handleChange, disabled],\n );\n\n const { isDraggable, ref: labelRef } = useDrop<HTMLLabelElement>({ onDrop: handleDrop });\n const { isDraggable: isWindowDraggable, ref: windowRef } = useDrop<Document>();\n\n if (isBrowser(globalObject)) {\n windowRef.current = globalObject.document;\n }\n\n const focus = useCallback(() => {\n keyListener.isTabPressed = true;\n inputRef.current?.focus();\n }, []);\n\n const blur = useCallback(() => {\n inputRef.current?.blur();\n }, []);\n\n const removeFileFromNativeInput = useCallback(\n (fileId: string) => {\n const dataTransfer = new DataTransfer();\n files\n .filter((f) => f.id !== fileId)\n .forEach((file) => {\n dataTransfer.items.add(file.originalFile);\n });\n inputRef.current && (inputRef.current.files = dataTransfer.files);\n },\n [files],\n );\n\n const handleRemoveFile = useCallback(\n (fileId: string) => {\n removeFile(fileId);\n removeFileFromNativeInput(fileId);\n },\n [removeFileFromNativeInput, removeFile],\n );\n\n const handleReset = useCallback(() => {\n reset();\n const dataTransfer = new DataTransfer();\n inputRef.current && (inputRef.current.files = dataTransfer.files);\n }, [reset, handleRemoveFile]);\n\n useImperativeHandle(\n ref,\n () => ({\n focus,\n blur,\n reset: handleReset,\n removeFile: handleRemoveFile,\n getRootNode: () => rootNodeRef.current,\n }),\n [ref, blur, focus, handleReset, handleRemoveFile],\n );\n\n const [focusedByTab, setFocusedByTab] = useState(false);\n const handleInputChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n onChange?.(event);\n handleChange(event.target.files);\n setHovered(false);\n };\n\n const handleFocus = (e: React.FocusEvent<HTMLInputElement>) => {\n if (!disabled) {\n // focus event fires before keyDown eventlistener\n // so we should check tabPressed in async way\n globalObject.requestAnimationFrame?.(() => {\n if (keyListener.isTabPressed) {\n setFocusedByTab(true);\n }\n });\n onFocus?.(e);\n }\n };\n\n const handleBlur = (e: React.FocusEvent<HTMLInputElement>) => {\n setFocusedByTab(false);\n if (!disabled) {\n onBlur?.(e);\n }\n };\n\n const hasFiles = files.length > 0;\n const hasOneFile = files.length === 1;\n const hasOneFileForSingle = isSingleMode && hasOneFile && !hideFiles;\n\n const hasError = !!error || files[0]?.status === FileUploaderFileStatus.Error;\n const hasWarning = !!warning || files[0]?.status === FileUploaderFileStatus.Warning;\n\n const uploadButtonClassNames = cx(\n jsStyles.uploadButton(theme),\n jsViewStyles.uploadButton(),\n sizeClassName,\n hasOneFileForSingle && jsViewStyles.uploadButtonWithFile(theme),\n focusedByTab && jsStyles.uploadButtonFocus(theme),\n disabled && {\n [jsStyles.disabled(theme)]: true,\n [jsStyles.disabledBackground(theme)]: !hasFiles,\n },\n (focusedByTab || !hasOneFileForSingle) && {\n [jsStyles.warningButton(theme)]: hasWarning,\n [jsStyles.errorButton(theme)]: hasError,\n },\n hasOneFileForSingle && {\n [uploadButtonTileWithFileClassName]: isTileView,\n [jsTileStyles.verticalAlign()]: isTileView,\n [jsStyles.warningFile(theme)]: (!isTileView || hovered) && hasWarning,\n [jsStyles.errorFile(theme)]: (!isTileView || hovered) && hasError,\n },\n !disabled &&\n hovered && {\n [jsStyles.hovered(theme)]: true,\n },\n isDraggable && !disabled && jsStyles.dragOver(theme),\n );\n\n const canDrop = isWindowDraggable && !disabled;\n const uploadButtonWrapperClassNames = cx(\n isTileView && {\n [sizeWrapperClass]: true,\n [sizeWrapperEmptyFileClass]: !hasOneFileForSingle,\n },\n jsViewStyles.uploadButtonWrapper(),\n canDrop && jsStyles.windowDragOver(theme),\n );\n\n const uploadButtonIconClassNames = cx(\n jsStyles.icon(theme),\n sizeIconClass,\n disabled && jsStyles.iconDisabled(theme),\n uploadButtonIconGapClass,\n );\n\n const rootClassNames = cx(jsStyles.root(theme), !isTileView && jsRowStyles.root());\n\n const contentClassNames = cx(jsViewStyles.content(), {\n [jsViewStyles.contentWithFiles()]: hasOneFileForSingle,\n [contentInnerClass]: !isTileView && (!files.length || !isSingleMode),\n });\n\n const afterLinkTextClassNames = cx(\n globalClasses.afterLinkText,\n hasOneFileForSingle ? jsStyles.afterLinkText_HasFiles() : jsStyles.afterLinkText(),\n );\n\n const linkClassNames = cx(\n jsStyles.link(theme),\n !disabled && hovered && jsStyles.linkHovered(theme),\n disabled && jsStyles.linkDisabled(theme),\n );\n\n useEffect(() => {\n if (!files || !files.length || !inputRef.current) {\n return;\n }\n\n const dataTransfer = new DataTransfer();\n files.forEach((file) => dataTransfer.items.add(file.originalFile));\n inputRef.current.files = dataTransfer.files;\n }, []);\n\n const rootNodeRef = useRef(null);\n\n const icon = uploaderIcon ?? <UploadIcon size={size} view={view} />;\n const chooseFileText = uploaderText ?? locale.chooseFile;\n const chooseFileLocale = `${chooseFileText}${String.fromCharCode(0xa0)}`; /* */\n const hideUploaderText = isTileView && uploaderText === '';\n const renderChooseFileText = () =>\n !hideUploaderText && (\n <span data-tid={FileUploaderDataTids.link} className={linkClassNames}>\n {!hasOneFileForSingle && chooseFileLocale}\n </span>\n );\n\n const renderFileList = () => {\n return (\n !hideFiles &&\n !isSingleMode &&\n !!files.length && (\n <FileUploaderFileList\n renderFile={renderFile}\n size={size}\n view={view}\n onRemove={handleRemoveFile}\n validationTooltipPosition={validationTooltipPosition}\n withValidationTooltip={withValidationTooltip}\n validationSummary={validationSummary}\n validationSummaryStart={validationSummaryStart}\n withWarningIcon={withWarningIcon}\n disabled={disabled}\n />\n )\n );\n };\n\n const fileProps: FileUploaderFileProps = {\n file: files[0],\n size,\n view,\n onRemove: handleRemoveFile,\n error,\n warning,\n withValidationTooltip,\n validationTooltipPosition,\n withWarningIcon,\n hovered,\n disabled,\n };\n\n const fileElement = renderFile(fileProps);\n\n return (\n <CommonWrapper {...props}>\n <div\n data-tid={FileUploaderDataTids.root}\n className={rootClassNames}\n style={useMemoObject({ width: isTileView && !multiple ? theme.fileUploaderTileWidth : width })}\n ref={rootNodeRef}\n >\n {uploadButtonPosition === 'end' && renderFileList()}\n <div className={uploadButtonWrapperClassNames}>\n <label\n onMouseEnter={() => setHovered(true)}\n onMouseLeave={() => setHovered(false)}\n ref={labelRef}\n className={uploadButtonClassNames}\n >\n {!hasOneFileForSingle && <div className={uploadButtonIconClassNames}>{icon}</div>}\n <div data-tid={FileUploaderDataTids.content} className={contentClassNames}>\n {renderChooseFileText()}\n <div className={afterLinkTextClassNames}>\n {hasOneFileForSingle && (\n <div ref={fileDivRef} className={jsStyles.singleFile()}>\n {fileElement}\n </div>\n )}\n </div>\n </div>\n <FocusControlWrapper onBlurWhenDisabled={() => setFocusedByTab(false)}>\n <input\n {...inputProps}\n data-tid={FileUploaderDataTids.input}\n ref={inputRef}\n tabIndex={disabled ? -1 : 0}\n type=\"file\"\n disabled={disabled}\n multiple={multiple}\n className={jsStyles.visuallyHidden()}\n onClick={stopPropagation}\n onChange={handleInputChange}\n onFocus={handleFocus}\n onBlur={handleBlur}\n />\n </FocusControlWrapper>\n </label>\n </div>\n {uploadButtonPosition === 'start' && renderFileList()}\n </div>\n </CommonWrapper>\n );\n});\n\nexport interface FileUploaderProps extends _FileUploaderProps, FileUploaderControlProviderProps {}\n\n/**\n * Контрол для выбора пользователем файла на компьютере и отображения статуса его отправки на сервер.\n */\nexport const FileUploader = withFileUploaderControlProvider<FileUploaderProps, FileUploaderRef>(\n React.memo(_FileUploader),\n);\n\nFileUploader.displayName = 'FileUploader';\n"]}
|
|
1
|
+
{"version":3,"file":"FileUploader.js","sourceRoot":"","sources":["FileUploader.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CA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CAAC,KAAK,EACpC,GAAG,EAAE,QAAQ,EACb,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAC3B,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,QAAQ,CAAC,cAAc,EAAE,EACpC,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,iBAAiB,EAC3B,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,UAAU,IAClB,CACkB,CAChB,CACJ;YACL,oBAAoB,KAAK,OAAO,IAAI,cAAc,EAAE,CACjD,CACQ,CACjB,CAAC;AACJ,CAAC,CAAC,CAAC;AAIH;;GAEG;AACH,MAAM,CAAC,IAAM,YAAY,GAAG,+BAA+B,CACzD,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,CAC1B,CAAC;AAEF,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC","sourcesContent":["import React, { useCallback, useContext, useEffect, useImperativeHandle, useRef, useState } from 'react';\n\nimport { useDrop } from '../../hooks/useDrop.js';\nimport { useMemoObject } from '../../hooks/useMemoObject.js';\nimport type { CommonProps } from '../../internal/CommonWrapper/index.js';\nimport { CommonWrapper } from '../../internal/CommonWrapper/index.js';\nimport { FocusControlWrapper } from '../../internal/FocusControlWrapper/index.js';\nimport type { PopupPositionsType, ShortPopupPositionsType } from '../../internal/Popup/index.js';\nimport { useKeyListener } from '../../lib/events/keyListener.js';\nimport { forwardRefAndName } from '../../lib/forwardRefAndName.js';\nimport { isBrowser } from '../../lib/globalObject.js';\nimport { useEmotion, useGlobal, useStyles } from '../../lib/renderEnvironment/index.js';\nimport type { InstanceWithRootNode } from '../../lib/rootNode/index.js';\nimport { useSizeControl } from '../../lib/size/useSizeControl.js';\nimport { ThemeContext } from '../../lib/theming/ThemeContext.js';\nimport type { SizeProp } from '../../lib/types/props.js';\nimport type { Nullable } from '../../typings/utility-types.js';\nimport { getJsRowStyles, getJsStyles, getJsTileStyles, globalClasses } from './FileUploader.css.js';\nimport { FileUploaderControlContext } from './FileUploaderControlContext.js';\nimport type { FileUploaderControlProviderProps } from './FileUploaderControlProvider.js';\nimport { FileUploaderFile } from './FileUploaderFile.js';\nimport type { FileUploaderFileProps } from './FileUploaderFile.js';\nimport { FileUploaderFileList } from './FileUploaderFileList/FileUploaderFileList.js';\nimport { FileUploaderFileValidationResult } from './FileUploaderFileValidationResult.js';\nimport type {\n FileUploaderAttachedFile,\n FileUploaderUploadButtonPosition,\n FileUploaderValidationSummary,\n FileUploaderView,\n} from './fileUtils.js';\nimport { FileUploaderFileStatus, getAttachedFile } from './fileUtils.js';\nimport { useControlLocale } from './hooks/useControlLocale.js';\nimport { useFileUploaderSize } from './hooks/useFileUploaderSize.js';\nimport { useUpload } from './hooks/useUpload.js';\nimport { UploadIcon } from './icons/UploadIcon.js';\nimport { withFileUploaderControlProvider } from './withFileUploaderControlProvider.js';\n\nconst stopPropagation: React.ReactEventHandler = (e) => e.stopPropagation();\n\ntype FileUploaderOverriddenProps = 'size';\n\ninterface _FileUploaderProps\n extends CommonProps, Omit<React.InputHTMLAttributes<HTMLInputElement>, FileUploaderOverriddenProps> {\n /** Переводит контрол в состояние ошибки. */\n /** Состояние ошибки всего контрола */\n error?: boolean;\n\n /** Переводит контрол в состояние предупреждения. */\n /** Состояние предупреждения всего контрола. */\n warning?: boolean;\n\n /** Расположение тултипа с текстом валидации файла.\n * @default 'top left' */\n validationTooltipPosition?: ShortPopupPositionsType | PopupPositionsType;\n\n /** Включает отображение текста валидации файла во всплывающей подсказке вместо строки рядом с именем.\n * @default false */\n withValidationTooltip?: boolean;\n\n /** Включает отображение иконки предупреждения (восклицательный знак) при статусе предупреждения у файла.\n * @default false */\n withWarningIcon?: boolean;\n\n /** Ширина контрола. */\n width?: React.CSSProperties['width'];\n\n /** Размер контрола и вложенных элементов.\n * @default small */\n size?: SizeProp;\n\n /** Скрывает встроенный список файлов.\n * @default false */\n hideFiles?: boolean;\n\n /** Текст ссылки выбора файла.\n * @default \"Выберите файл\"\n */\n uploaderText?: string;\n\n /** Иконка в кнопке загрузки.\n */\n uploaderIcon?: React.ReactNode;\n\n /** Режим отображения списка файлов: строка (`row`) или плитка (`tile`).\n * @default row\n */\n view?: FileUploaderView;\n\n /** Режим блока-саммари по ошибкам и предупреждениям:\n * - `auto` — от порога `validationSummaryStart`,\n * - `enabled` / `disabled` — всегда или никогда.\n * @default auto\n */\n validationSummary?: FileUploaderValidationSummary;\n\n /** Порог числа файлов для показа саммари при `validationSummary=\"auto\"`.\n * @default 5 */\n validationSummaryStart?: number;\n\n /** Расположение кнопки загрузки относительно списка: в начале или в конце.\n * @default start */\n uploadButtonPosition?: FileUploaderUploadButtonPosition;\n\n /** Включает асинхронный режим загрузки файлов.\n * Отклонённый промис помечает файл(ы) ошибкой загрузки.\n */\n request?: (file: FileUploaderAttachedFile) => Promise<void>;\n\n /** Колбэк после успешного завершения `request` для файла. */\n onRequestSuccess?: (fileId: string) => void;\n\n /** Колбэк после ошибки `request` для файла. */\n onRequestError?: (fileId: string) => void;\n\n /** Проверка файла после выбора и до `request`: строка или `{ message, status }` — ошибка/предупреждение. Пустой результат — файл проходит.\n */\n validateBeforeUpload?: (\n file: FileUploaderAttachedFile,\n ) => Promise<Nullable<string | { message: string; status: FileUploaderFileStatus }>>;\n\n /**\n * Задаёт метод отрисовки файлов.\n * @default (props: FileUploaderFileProps) => <FileUploaderFile {...props} />\n */\n renderFile?: (props: FileUploaderFileProps) => React.ReactNode;\n}\n\nexport interface FileUploaderRef extends InstanceWithRootNode {\n /** Устанавливает фокус на скрытом `input` выбора файла. */\n focus: () => void;\n /** Снимает фокус с `input` выбора файла. */\n blur: () => void;\n /** Очищает список файлов и значения `input`. */\n reset: () => void;\n /** Удаляет файл по id с вызовом `onRemove` и `onValueChange`. */\n removeFile: (fileId: string) => void;\n}\n\nexport type FileUploader = FileUploaderRef;\n\nexport const FileUploaderDataTids = {\n root: 'FileUploader__root',\n content: 'FileUploader__content',\n link: 'FileUploader__link',\n input: 'FileUploader__input',\n} as const;\n\nconst defaultRenderFile = (props: FileUploaderFileProps) => <FileUploaderFile {...props} />;\n\nconst _FileUploader = forwardRefAndName<FileUploaderRef, _FileUploaderProps>('FileUploader', (props, ref) => {\n const theme = useContext(ThemeContext);\n const globalObject = useGlobal();\n const { cx } = useEmotion();\n const jsStyles = useStyles(getJsStyles);\n const jsRowStyles = useStyles(getJsRowStyles);\n const jsTileStyles = useStyles(getJsTileStyles);\n const keyListener = useKeyListener();\n\n const {\n disabled,\n error,\n warning,\n withValidationTooltip = false,\n validationTooltipPosition,\n withWarningIcon = false,\n multiple = false,\n uploaderText,\n uploaderIcon,\n view = 'row',\n uploadButtonPosition = 'start',\n validationSummary = 'auto',\n validationSummaryStart = 5,\n width = theme.fileUploaderWidth,\n hideFiles = false,\n onBlur,\n onFocus,\n onChange,\n request,\n validateBeforeUpload,\n onRequestSuccess,\n onRequestError,\n size: sizeProp,\n renderFile = defaultRenderFile,\n ...inputProps\n } = props;\n const size = useSizeControl(sizeProp);\n\n const { files, setFiles, removeFile, reset, setFileValidationResult } = useContext(FileUploaderControlContext);\n\n const locale = useControlLocale();\n\n const inputRef = useRef<HTMLInputElement>(null);\n const fileDivRef = useRef<HTMLDivElement>(null);\n\n const isAsync = !!request;\n const isSingleMode = !multiple;\n\n const [hovered, setHovered] = useState(false);\n const upload = useUpload(request, onRequestSuccess, onRequestError);\n\n const tryValidateAndUpload = useCallback(\n (files: FileUploaderAttachedFile[]) => {\n files.forEach(async (file) => {\n const validationMessage = validateBeforeUpload && (await validateBeforeUpload(file));\n\n if (!validationMessage) {\n isAsync && upload(file);\n } else if (typeof validationMessage === 'object') {\n setFileValidationResult(\n file.id,\n FileUploaderFileValidationResult.error(validationMessage.message),\n validationMessage.status,\n );\n } else {\n setFileValidationResult(\n file.id,\n FileUploaderFileValidationResult.error(validationMessage),\n FileUploaderFileStatus.Error,\n );\n }\n });\n },\n [validateBeforeUpload, isAsync, upload, setFileValidationResult],\n );\n\n const isTileView = view === 'tile';\n const jsViewStyles = isTileView ? jsTileStyles : jsRowStyles;\n\n const sizeClassName = useFileUploaderSize(size, {\n small: jsViewStyles.sizeSmall(theme),\n medium: jsViewStyles.sizeMedium(theme),\n large: jsViewStyles.sizeLarge(theme),\n });\n\n const uploadButtonTileWithFileClassName = useFileUploaderSize(size, {\n small: jsTileStyles.uploadButtonTileWithFileSmall(theme),\n medium: jsTileStyles.uploadButtonTileWithFileMedium(theme),\n large: jsTileStyles.uploadButtonTileWithFileLarge(theme),\n });\n\n const uploadButtonIconGapClass = useFileUploaderSize(size, {\n small: jsViewStyles.uploadButtonIconGapSmall(theme),\n medium: jsViewStyles.uploadButtonIconGapMedium(theme),\n large: jsViewStyles.uploadButtonIconGapLarge(theme),\n });\n\n const sizeIconClass = useFileUploaderSize(size, {\n small: jsStyles.iconSmall(theme),\n medium: jsStyles.iconMedium(theme),\n large: jsStyles.iconLarge(theme),\n });\n\n const sizeWrapperClass = useFileUploaderSize(size, {\n small: jsTileStyles.uploadButtonWrapperSmall(theme),\n medium: jsTileStyles.uploadButtonWrapperMedium(theme),\n large: jsTileStyles.uploadButtonWrapperLarge(theme),\n });\n\n const sizeWrapperEmptyFileClass = useFileUploaderSize(size, {\n small: jsTileStyles.uploadButtonWrapperEmptyFileSmall(theme),\n medium: jsTileStyles.uploadButtonWrapperEmptyFileMedium(theme),\n large: jsTileStyles.uploadButtonWrapperEmptyFileLarge(theme),\n });\n\n const contentInnerClass = useFileUploaderSize(size, {\n small: jsStyles.contentInnerSmall(theme),\n medium: jsStyles.contentInnerMedium(theme),\n large: jsStyles.contentInnerLarge(theme),\n });\n\n /** common part **/\n const handleChange = useCallback(\n (newFiles: FileList | null) => {\n if (!newFiles || !newFiles.length) {\n return;\n }\n\n let filesArray = Array.from(newFiles);\n\n if (isSingleMode) {\n filesArray = [filesArray[0]];\n }\n\n const attachedFiles = filesArray.map(getAttachedFile);\n\n if (isSingleMode && attachedFiles.length && files.length) {\n removeFile(files[0].id);\n }\n\n if (attachedFiles.length) {\n setFiles(attachedFiles);\n tryValidateAndUpload(attachedFiles);\n }\n },\n [tryValidateAndUpload, setFiles, isSingleMode, files, removeFile],\n );\n\n const handleDrop = useCallback(\n (event: DragEvent) => {\n if (disabled) {\n return;\n }\n\n const { dataTransfer } = event;\n if (dataTransfer) {\n if (isSingleMode && dataTransfer.files.length > 1) {\n dataTransfer.dropEffect = 'none';\n return;\n }\n if (dataTransfer.files?.length > 0) {\n inputRef.current && (inputRef.current.files = dataTransfer.files);\n handleChange(dataTransfer.files);\n }\n }\n },\n [handleChange, disabled],\n );\n\n const { isDraggable, ref: labelRef } = useDrop<HTMLLabelElement>({ onDrop: handleDrop });\n const { isDraggable: isWindowDraggable, ref: windowRef } = useDrop<Document>();\n\n if (isBrowser(globalObject)) {\n windowRef.current = globalObject.document;\n }\n\n const focus = useCallback(() => {\n keyListener.isTabPressed = true;\n inputRef.current?.focus();\n }, []);\n\n const blur = useCallback(() => {\n inputRef.current?.blur();\n }, []);\n\n const removeFileFromNativeInput = useCallback(\n (fileId: string) => {\n const dataTransfer = new DataTransfer();\n files\n .filter((f) => f.id !== fileId)\n .forEach((file) => {\n dataTransfer.items.add(file.originalFile);\n });\n inputRef.current && (inputRef.current.files = dataTransfer.files);\n },\n [files],\n );\n\n const handleRemoveFile = useCallback(\n (fileId: string) => {\n removeFile(fileId);\n removeFileFromNativeInput(fileId);\n },\n [removeFileFromNativeInput, removeFile],\n );\n\n const handleReset = useCallback(() => {\n reset();\n const dataTransfer = new DataTransfer();\n inputRef.current && (inputRef.current.files = dataTransfer.files);\n }, [reset, handleRemoveFile]);\n\n useImperativeHandle(\n ref,\n () => ({\n focus,\n blur,\n reset: handleReset,\n removeFile: handleRemoveFile,\n getRootNode: () => rootNodeRef.current,\n }),\n [ref, blur, focus, handleReset, handleRemoveFile],\n );\n\n const [focusedByTab, setFocusedByTab] = useState(false);\n const handleInputChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n onChange?.(event);\n handleChange(event.target.files);\n setHovered(false);\n };\n\n const handleFocus = (e: React.FocusEvent<HTMLInputElement>) => {\n if (!disabled) {\n // focus event fires before keyDown eventlistener\n // so we should check tabPressed in async way\n globalObject.requestAnimationFrame?.(() => {\n if (keyListener.isTabPressed) {\n setFocusedByTab(true);\n }\n });\n onFocus?.(e);\n }\n };\n\n const handleBlur = (e: React.FocusEvent<HTMLInputElement>) => {\n setFocusedByTab(false);\n if (!disabled) {\n onBlur?.(e);\n }\n };\n\n const hasFiles = files.length > 0;\n const hasOneFile = files.length === 1;\n const hasOneFileForSingle = isSingleMode && hasOneFile && !hideFiles;\n\n const hasError = !!error || files[0]?.status === FileUploaderFileStatus.Error;\n const hasWarning = !!warning || files[0]?.status === FileUploaderFileStatus.Warning;\n\n const uploadButtonClassNames = cx(\n jsStyles.uploadButton(theme),\n jsViewStyles.uploadButton(),\n sizeClassName,\n hasOneFileForSingle && jsViewStyles.uploadButtonWithFile(theme),\n focusedByTab && jsStyles.uploadButtonFocus(theme),\n disabled && {\n [jsStyles.disabled(theme)]: true,\n [jsStyles.disabledBackground(theme)]: !hasFiles,\n },\n (focusedByTab || !hasOneFileForSingle) && {\n [jsStyles.warningButton(theme)]: hasWarning,\n [jsStyles.errorButton(theme)]: hasError,\n },\n hasOneFileForSingle && {\n [uploadButtonTileWithFileClassName]: isTileView,\n [jsTileStyles.verticalAlign()]: isTileView,\n [jsStyles.warningFile(theme)]: (!isTileView || hovered) && hasWarning,\n [jsStyles.errorFile(theme)]: (!isTileView || hovered) && hasError,\n },\n !disabled &&\n hovered && {\n [jsStyles.hovered(theme)]: true,\n },\n isDraggable && !disabled && jsStyles.dragOver(theme),\n );\n\n const canDrop = isWindowDraggable && !disabled;\n const uploadButtonWrapperClassNames = cx(\n isTileView && {\n [sizeWrapperClass]: true,\n [sizeWrapperEmptyFileClass]: !hasOneFileForSingle,\n },\n jsViewStyles.uploadButtonWrapper(),\n canDrop && jsStyles.windowDragOver(theme),\n );\n\n const uploadButtonIconClassNames = cx(\n jsStyles.icon(theme),\n sizeIconClass,\n disabled && jsStyles.iconDisabled(theme),\n uploadButtonIconGapClass,\n );\n\n const rootClassNames = cx(jsStyles.root(theme), !isTileView && jsRowStyles.root());\n\n const contentClassNames = cx(jsViewStyles.content(), {\n [jsViewStyles.contentWithFiles()]: hasOneFileForSingle,\n [contentInnerClass]: !isTileView && (!files.length || !isSingleMode),\n });\n\n const afterLinkTextClassNames = cx(\n globalClasses.afterLinkText,\n hasOneFileForSingle ? jsStyles.afterLinkText_HasFiles() : jsStyles.afterLinkText(),\n );\n\n const linkClassNames = cx(\n jsStyles.link(theme),\n !disabled && hovered && jsStyles.linkHovered(theme),\n disabled && jsStyles.linkDisabled(theme),\n );\n\n useEffect(() => {\n if (!files || !files.length || !inputRef.current) {\n return;\n }\n\n const dataTransfer = new DataTransfer();\n files.forEach((file) => dataTransfer.items.add(file.originalFile));\n inputRef.current.files = dataTransfer.files;\n }, []);\n\n const rootNodeRef = useRef(null);\n\n const icon = uploaderIcon ?? <UploadIcon size={size} view={view} />;\n const chooseFileText = uploaderText ?? locale.chooseFile;\n const chooseFileLocale = `${chooseFileText}${String.fromCharCode(0xa0)}`; /* */\n const hideUploaderText = isTileView && uploaderText === '';\n const renderChooseFileText = () =>\n !hideUploaderText && (\n <span data-tid={FileUploaderDataTids.link} className={linkClassNames}>\n {!hasOneFileForSingle && chooseFileLocale}\n </span>\n );\n\n const renderFileList = () => {\n return (\n !hideFiles &&\n !isSingleMode &&\n !!files.length && (\n <FileUploaderFileList\n renderFile={renderFile}\n size={size}\n view={view}\n onRemove={handleRemoveFile}\n validationTooltipPosition={validationTooltipPosition}\n withValidationTooltip={withValidationTooltip}\n validationSummary={validationSummary}\n validationSummaryStart={validationSummaryStart}\n withWarningIcon={withWarningIcon}\n disabled={disabled}\n />\n )\n );\n };\n\n const fileProps: FileUploaderFileProps = {\n file: files[0],\n size,\n view,\n onRemove: handleRemoveFile,\n error,\n warning,\n withValidationTooltip,\n validationTooltipPosition,\n withWarningIcon,\n hovered,\n disabled,\n };\n\n const fileElement = renderFile(fileProps);\n\n return (\n <CommonWrapper {...props}>\n <div\n data-tid={FileUploaderDataTids.root}\n className={rootClassNames}\n style={useMemoObject({ width: isTileView && !multiple ? theme.fileUploaderTileWidth : width })}\n ref={rootNodeRef}\n >\n {uploadButtonPosition === 'end' && renderFileList()}\n <div className={uploadButtonWrapperClassNames}>\n <label\n onMouseEnter={() => setHovered(true)}\n onMouseLeave={() => setHovered(false)}\n ref={labelRef}\n className={uploadButtonClassNames}\n >\n {!hasOneFileForSingle && <div className={uploadButtonIconClassNames}>{icon}</div>}\n <div data-tid={FileUploaderDataTids.content} className={contentClassNames}>\n {renderChooseFileText()}\n <div className={afterLinkTextClassNames}>\n {hasOneFileForSingle && (\n <div ref={fileDivRef} className={jsStyles.singleFile()}>\n {fileElement}\n </div>\n )}\n </div>\n </div>\n <FocusControlWrapper onBlurWhenDisabled={() => setFocusedByTab(false)}>\n <input\n {...inputProps}\n data-tid={FileUploaderDataTids.input}\n ref={inputRef}\n tabIndex={disabled ? -1 : 0}\n type=\"file\"\n disabled={disabled}\n multiple={multiple}\n className={jsStyles.visuallyHidden()}\n onClick={stopPropagation}\n onChange={handleInputChange}\n onFocus={handleFocus}\n onBlur={handleBlur}\n />\n </FocusControlWrapper>\n </label>\n </div>\n {uploadButtonPosition === 'start' && renderFileList()}\n </div>\n </CommonWrapper>\n );\n});\n\nexport interface FileUploaderProps extends _FileUploaderProps, FileUploaderControlProviderProps {}\n\n/**\n * Контрол для выбора пользователем файла на компьютере и отображения статуса его отправки на сервер.\n */\nexport const FileUploader = withFileUploaderControlProvider<FileUploaderProps, FileUploaderRef>(\n React.memo(_FileUploader),\n);\n\nFileUploader.displayName = 'FileUploader';\n"]}
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
export declare const fileUploaderSizeMixin: (fontSize: string, lineHeight: string, paddingX: string, paddingY: string) =>
|
|
1
|
+
export declare const fileUploaderSizeMixin: (fontSize: string, lineHeight: string, paddingX: string, paddingY: string) => {
|
|
2
|
+
readonly fontSize: string;
|
|
3
|
+
readonly boxSizing: "border-box";
|
|
4
|
+
readonly padding: `${string} ${string}`;
|
|
5
|
+
readonly lineHeight: string;
|
|
6
|
+
};
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
export var fileUploaderSizeMixin = function (fontSize, lineHeight, paddingX, paddingY) {
|
|
2
|
-
return
|
|
2
|
+
return ({
|
|
3
|
+
fontSize: fontSize,
|
|
4
|
+
boxSizing: 'border-box',
|
|
5
|
+
padding: "".concat(paddingY, " ").concat(paddingX),
|
|
6
|
+
lineHeight: lineHeight,
|
|
7
|
+
});
|
|
3
8
|
};
|
|
4
9
|
//# sourceMappingURL=FileUploader.mixins.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileUploader.mixins.js","sourceRoot":"","sources":["FileUploader.mixins.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,qBAAqB,GAAG,
|
|
1
|
+
{"version":3,"file":"FileUploader.mixins.js","sourceRoot":"","sources":["FileUploader.mixins.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,qBAAqB,GAAG,UAAC,QAAgB,EAAE,UAAkB,EAAE,QAAgB,EAAE,QAAgB;IAC5G,OAAA,CAAC;QACC,QAAQ,UAAA;QACR,SAAS,EAAE,YAAY;QACvB,OAAO,EAAE,UAAG,QAAQ,cAAI,QAAQ,CAAE;QAClC,UAAU,YAAA;KACX,CAAU;AALX,CAKW,CAAC","sourcesContent":["export const fileUploaderSizeMixin = (fontSize: string, lineHeight: string, paddingX: string, paddingY: string) =>\n ({\n fontSize,\n boxSizing: 'border-box',\n padding: `${paddingY} ${paddingX}`,\n lineHeight,\n }) as const;\n"]}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export declare const root: string;
|
|
2
|
+
export declare const content: string;
|
|
3
|
+
export declare const nameBlock: string;
|
|
4
|
+
export declare const size: string;
|
|
5
|
+
export declare const sizeSmall: string;
|
|
6
|
+
export declare const sizeMedium: string;
|
|
7
|
+
export declare const sizeLarge: string;
|
|
8
|
+
export declare const icon: string;
|
|
9
|
+
export declare const disabledFileTypeIconSvg: string;
|
|
10
|
+
export declare const fileTypeIconMultiple: string;
|
|
11
|
+
export declare const contentSmall: string;
|
|
12
|
+
export declare const contentMedium: string;
|
|
13
|
+
export declare const contentLarge: string;
|
|
14
|
+
export declare const rowContent: string;
|
|
15
|
+
export declare const rowContentSmall: string;
|
|
16
|
+
export declare const rowContentMedium: string;
|
|
17
|
+
export declare const iconSmall: string;
|
|
18
|
+
export declare const iconMedium: string;
|
|
19
|
+
export declare const iconLarge: string;
|
|
20
|
+
export declare const fileTypeIconSmall: string;
|
|
21
|
+
export declare const fileTypeIconMedium: string;
|
|
22
|
+
export declare const fileTypeIconLarge: string;
|
|
23
|
+
export declare const iconColor: string;
|
|
24
|
+
export declare const rowSize: string;
|
|
25
|
+
export declare const name: string;
|
|
26
|
+
export declare const rowNameBlock: string;
|
|
27
|
+
export declare const disabled: string;
|
|
28
|
+
export declare const tileContent: string;
|
|
29
|
+
export declare const iconAction: string;
|
|
30
|
+
export declare const iconActionShow: string;
|
|
31
|
+
export declare const tileIconSmall: string;
|
|
32
|
+
export declare const tileIconMedium: string;
|
|
33
|
+
export declare const tileIconLarge: string;
|
|
34
|
+
export declare const fileTypeIcon: string;
|
|
35
|
+
export declare const fileTypeIconPreview: string;
|
|
36
|
+
export declare const tileFileTypeIconSmall: string;
|
|
37
|
+
export declare const tileFileTypeIconMedium: string;
|
|
38
|
+
export declare const tileFileTypeIconLarge: string;
|
|
39
|
+
export declare const tileIconColor: string;
|
|
40
|
+
export declare const tileSize: string;
|
|
41
|
+
export declare const tileName: string;
|
|
42
|
+
export declare const tileNameBlock: string;
|
|
43
|
+
export declare const tileContentSmall: string;
|
|
44
|
+
export declare const tileContentMedium: string;
|
|
45
|
+
export declare const tileContentLarge: string;
|
|
46
|
+
export declare const tileDisabled: string;
|
|
47
|
+
export declare const validationTextWarning: string;
|
|
48
|
+
export declare const validationTextError: string;
|
|
49
|
+
export declare const disabledFileTypeIcon: string;
|
|
50
|
+
export declare const warningFileTypeIcon: string;
|
|
51
|
+
export declare const errorFileTypeIcon: string;
|
|
52
|
+
export declare const sizeDisabled: string;
|
|
53
|
+
export declare const getJsStyles: (_emotion?: unknown) => {
|
|
54
|
+
[x: string]: (...args: unknown[]) => string;
|
|
55
|
+
};
|
|
56
|
+
export declare const getJsRowStyles: (_emotion?: unknown) => {
|
|
57
|
+
[x: string]: (...args: unknown[]) => string;
|
|
58
|
+
};
|
|
59
|
+
export declare const getJsTileStyles: (_emotion?: unknown) => {
|
|
60
|
+
[x: string]: (...args: unknown[]) => string;
|
|
61
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
|
|
2
|
+
import { bindStaticStyles as _b9cd9 } from '../../lib/theming/bindStaticStyles.js';
|
|
3
|
+
export var content = 'react-ui-FileUploaderFile__content';
|
|
4
|
+
export var contentLarge = 'react-ui-FileUploaderFile__contentLarge';
|
|
5
|
+
export var contentMedium = 'react-ui-FileUploaderFile__contentMedium';
|
|
6
|
+
export var contentSmall = 'react-ui-FileUploaderFile__contentSmall';
|
|
7
|
+
export var disabled = 'react-ui-FileUploaderFile__disabled';
|
|
8
|
+
export var disabledFileTypeIcon = 'react-ui-FileUploaderFile__disabledFileTypeIcon';
|
|
9
|
+
export var disabledFileTypeIconSvg = 'react-ui-FileUploaderFile__disabledFileTypeIconSvg';
|
|
10
|
+
export var errorFileTypeIcon = 'react-ui-FileUploaderFile__errorFileTypeIcon';
|
|
11
|
+
export var fileTypeIcon = 'react-ui-FileUploaderFile__fileTypeIcon';
|
|
12
|
+
export var fileTypeIconLarge = 'react-ui-FileUploaderFile__fileTypeIconLarge';
|
|
13
|
+
export var fileTypeIconMedium = 'react-ui-FileUploaderFile__fileTypeIconMedium';
|
|
14
|
+
export var fileTypeIconMultiple = 'react-ui-FileUploaderFile__fileTypeIconMultiple';
|
|
15
|
+
export var fileTypeIconPreview = 'react-ui-FileUploaderFile__fileTypeIconPreview';
|
|
16
|
+
export var fileTypeIconSmall = 'react-ui-FileUploaderFile__fileTypeIconSmall';
|
|
17
|
+
export var getJsRowStyles = _b9cd9({content:'react-ui-FileUploaderFile__content-2',contentSmall:'react-ui-FileUploaderFile__contentSmall-2',contentMedium:'react-ui-FileUploaderFile__contentMedium-2',contentLarge:'react-ui-FileUploaderFile__contentMedium-2',iconSmall:'react-ui-FileUploaderFile__iconSmall',iconMedium:'react-ui-FileUploaderFile__iconMedium',iconLarge:'react-ui-FileUploaderFile__iconLarge',fileTypeIconSmall:'react-ui-FileUploaderFile__fileTypeIconSmall',fileTypeIconMedium:'react-ui-FileUploaderFile__fileTypeIconMedium',fileTypeIconLarge:'react-ui-FileUploaderFile__fileTypeIconLarge',iconColor:'react-ui-FileUploaderFile__iconColor',size:'react-ui-FileUploaderFile__size-2',name:'react-ui-FileUploaderFile__name',nameBlock:'react-ui-FileUploaderFile__nameBlock-2',disabled:'react-ui-FileUploaderFile__disabled'});
|
|
18
|
+
export var getJsStyles = _b9cd9({root:'react-ui-FileUploaderFile__root',content:'react-ui-FileUploaderFile__content',validationTextError:'react-ui-FileUploaderFile__validationTextError',validationTextWarning:'react-ui-FileUploaderFile__validationTextWarning',nameBlock:'react-ui-FileUploaderFile__nameBlock',size:'react-ui-FileUploaderFile__size',sizeSmall:'react-ui-FileUploaderFile__sizeSmall',sizeMedium:'react-ui-FileUploaderFile__sizeMedium',sizeLarge:'react-ui-FileUploaderFile__sizeLarge',icon:'react-ui-FileUploaderFile__icon',disabledFileTypeIconSvg:'react-ui-FileUploaderFile__disabledFileTypeIconSvg',fileTypeIconMultiple:'react-ui-FileUploaderFile__fileTypeIconMultiple',contentSmall:'react-ui-FileUploaderFile__contentSmall',contentMedium:'react-ui-FileUploaderFile__contentMedium',contentLarge:'react-ui-FileUploaderFile__contentLarge'});
|
|
19
|
+
export var getJsTileStyles = _b9cd9({content:'react-ui-FileUploaderFile__content-3',iconAction:'react-ui-FileUploaderFile__iconAction',iconActionShow:'react-ui-FileUploaderFile__iconActionShow',iconSmall:'react-ui-FileUploaderFile__iconSmall-2',iconMedium:'react-ui-FileUploaderFile__iconMedium-2',iconLarge:'react-ui-FileUploaderFile__iconLarge-2',fileTypeIcon:'react-ui-FileUploaderFile__fileTypeIcon',fileTypeIconPreview:'react-ui-FileUploaderFile__fileTypeIconPreview',fileTypeIconSmall:'react-ui-FileUploaderFile__fileTypeIconSmall-2',fileTypeIconMedium:'react-ui-FileUploaderFile__fileTypeIconMedium-2',fileTypeIconLarge:'react-ui-FileUploaderFile__fileTypeIconLarge-2',disabledFileTypeIcon:'react-ui-FileUploaderFile__disabledFileTypeIcon',sizeDisabled:'react-ui-FileUploaderFile__sizeDisabled',errorFileTypeIcon:'react-ui-FileUploaderFile__errorFileTypeIcon',warningFileTypeIcon:'react-ui-FileUploaderFile__warningFileTypeIcon',iconColor:'react-ui-FileUploaderFile__iconColor-2',size:'react-ui-FileUploaderFile__size-3',name:'react-ui-FileUploaderFile__name-2',nameBlock:'react-ui-FileUploaderFile__nameBlock-3',contentSmall:'react-ui-FileUploaderFile__contentSmall-3',contentMedium:'react-ui-FileUploaderFile__contentMedium-3',contentLarge:'react-ui-FileUploaderFile__contentLarge-2',disabled:'react-ui-FileUploaderFile__disabled-2'});
|
|
20
|
+
export var icon = 'react-ui-FileUploaderFile__icon';
|
|
21
|
+
export var iconAction = 'react-ui-FileUploaderFile__iconAction';
|
|
22
|
+
export var iconActionShow = 'react-ui-FileUploaderFile__iconActionShow';
|
|
23
|
+
export var iconColor = 'react-ui-FileUploaderFile__iconColor';
|
|
24
|
+
export var iconLarge = 'react-ui-FileUploaderFile__iconLarge';
|
|
25
|
+
export var iconMedium = 'react-ui-FileUploaderFile__iconMedium';
|
|
26
|
+
export var iconSmall = 'react-ui-FileUploaderFile__iconSmall';
|
|
27
|
+
export var name = 'react-ui-FileUploaderFile__name';
|
|
28
|
+
export var nameBlock = 'react-ui-FileUploaderFile__nameBlock';
|
|
29
|
+
export var root = 'react-ui-FileUploaderFile__root';
|
|
30
|
+
export var rowContent = 'react-ui-FileUploaderFile__content-2';
|
|
31
|
+
export var rowContentMedium = 'react-ui-FileUploaderFile__contentMedium-2';
|
|
32
|
+
export var rowContentSmall = 'react-ui-FileUploaderFile__contentSmall-2';
|
|
33
|
+
export var rowNameBlock = 'react-ui-FileUploaderFile__nameBlock-2';
|
|
34
|
+
export var rowSize = 'react-ui-FileUploaderFile__size-2';
|
|
35
|
+
export var size = 'react-ui-FileUploaderFile__size';
|
|
36
|
+
export var sizeDisabled = 'react-ui-FileUploaderFile__sizeDisabled';
|
|
37
|
+
export var sizeLarge = 'react-ui-FileUploaderFile__sizeLarge';
|
|
38
|
+
export var sizeMedium = 'react-ui-FileUploaderFile__sizeMedium';
|
|
39
|
+
export var sizeSmall = 'react-ui-FileUploaderFile__sizeSmall';
|
|
40
|
+
export var tileContent = 'react-ui-FileUploaderFile__content-3';
|
|
41
|
+
export var tileContentLarge = 'react-ui-FileUploaderFile__contentLarge-2';
|
|
42
|
+
export var tileContentMedium = 'react-ui-FileUploaderFile__contentMedium-3';
|
|
43
|
+
export var tileContentSmall = 'react-ui-FileUploaderFile__contentSmall-3';
|
|
44
|
+
export var tileDisabled = 'react-ui-FileUploaderFile__disabled-2';
|
|
45
|
+
export var tileFileTypeIconLarge = 'react-ui-FileUploaderFile__fileTypeIconLarge-2';
|
|
46
|
+
export var tileFileTypeIconMedium = 'react-ui-FileUploaderFile__fileTypeIconMedium-2';
|
|
47
|
+
export var tileFileTypeIconSmall = 'react-ui-FileUploaderFile__fileTypeIconSmall-2';
|
|
48
|
+
export var tileIconColor = 'react-ui-FileUploaderFile__iconColor-2';
|
|
49
|
+
export var tileIconLarge = 'react-ui-FileUploaderFile__iconLarge-2';
|
|
50
|
+
export var tileIconMedium = 'react-ui-FileUploaderFile__iconMedium-2';
|
|
51
|
+
export var tileIconSmall = 'react-ui-FileUploaderFile__iconSmall-2';
|
|
52
|
+
export var tileName = 'react-ui-FileUploaderFile__name-2';
|
|
53
|
+
export var tileNameBlock = 'react-ui-FileUploaderFile__nameBlock-3';
|
|
54
|
+
export var tileSize = 'react-ui-FileUploaderFile__size-3';
|
|
55
|
+
export var validationTextError = 'react-ui-FileUploaderFile__validationTextError';
|
|
56
|
+
export var validationTextWarning = 'react-ui-FileUploaderFile__validationTextWarning';
|
|
57
|
+
export var warningFileTypeIcon = 'react-ui-FileUploaderFile__warningFileTypeIcon';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileUploaderFile.css.js","sourceRoot":"","sources":["FileUploaderFile.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EAAE,YAAY,EAAE,CAAC,EAAE,MAAM,8BAA8B,CAAC;AAE/D,MAAM,CAAC,IAAM,IAAI,GAAG,KAAK,CAAC;IACxB,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,SAAS;CAClB,CAAC,CAAC;AAEH,MAAM,CAAC,IAAM,OAAO,GAAG,KAAK,CAAC;IAC3B,OAAO,EAAE,MAAM;IACf,KAAK,EAAE,MAAM;IACb,UAAU,EAAE,UAAU;CACvB,CAAC,CAAC;AAEH,MAAM,CAAC,IAAM,SAAS,GAAG,KAAK,CAAC;IAC7B,OAAO,EAAE,MAAM;IACf,QAAQ,EAAE,MAAM;IAChB,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,MAAM;CACd,CAAC,CAAC;AAEH,MAAM,CAAC,IAAM,IAAI,GAAG,KAAK,CAAC;IACxB,UAAU,EAAE,CAAC,CAAC,8BAA8B;IAC5C,IAAI,EAAE,UAAU;CACjB,CAAC,CAAC;AAEH,MAAM,CAAC,IAAM,SAAS,GAAG,KAAK,CAAC;IAC7B,KAAK,EAAE,CAAC,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AAC,CAAC;AAEH,MAAM,CAAC,IAAM,cAAc,GAAG,YAAY,CAAC;IACzC,OAAO,EAAE,UAAU;IACnB,YAAY,EAAE,eAAe;IAC7B,aAAa,EAAE,gBAAgB;IAC/B,YAAY,EAAE,gBAAgB;IAC9B,SAAS,WAAA;IACT,UAAU,YAAA;IACV,SAAS,WAAA;IACT,iBAAiB,mBAAA;IACjB,kBAAkB,oBAAA;IAClB,iBAAiB,mBAAA;IACjB,SAAS,WAAA;IACT,IAAI,EAAE,OAAO;IACb,IAAI,MAAA;IACJ,SAAS,EAAE,YAAY;IACvB,QAAQ,UAAA;CACT,CAAC,CAAC;AAEH,MAAM,CAAC,IAAM,eAAe,GAAG,YAAY,CAAC;IAC1C,OAAO,EAAE,WAAW;IACpB,UAAU,YAAA;IACV,cAAc,gBAAA;IACd,SAAS,EAAE,aAAa;IACxB,UAAU,EAAE,cAAc;IAC1B,SAAS,EAAE,aAAa;IACxB,YAAY,cAAA;IACZ,mBAAmB,qBAAA;IACnB,iBAAiB,EAAE,qBAAqB;IACxC,kBAAkB,EAAE,sBAAsB;IAC1C,iBAAiB,EAAE,qBAAqB;IACxC,oBAAoB,sBAAA;IACpB,YAAY,cAAA;IACZ,iBAAiB,mBAAA;IACjB,mBAAmB,qBAAA;IACnB,SAAS,EAAE,aAAa;IACxB,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,aAAa;IACxB,YAAY,EAAE,gBAAgB;IAC9B,aAAa,EAAE,iBAAiB;IAChC,YAAY,EAAE,gBAAgB;IAC9B,QAAQ,EAAE,YAAY;CACvB,CAAC,CAAC","sourcesContent":["import { globalStyle, style } from '@vanilla-extract/css';\n\nimport { exportStyles, t } from '../../lib/theming/vanilla.js';\n\nexport const root = style({\n width: '100%',\n height: 'inherit',\n});\n\nexport const content = style({\n display: 'flex',\n width: '100%',\n alignItems: 'baseline',\n});\n\nexport const nameBlock = style({\n display: 'flex',\n flexWrap: 'wrap',\n flex: '1 1 100%',\n width: '100%',\n});\n\nexport const size = style({\n marginLeft: t.fileUploaderFileSizeMarginLeft,\n flex: '1 0 auto',\n});\n\nexport const sizeSmall = style({\n width: t.fileUploaderFileSizeWidthSmall,\n marginRight: t.fileUploaderFileSizeMarginSmall,\n fontSize: t.fileUploaderFontSizeSmall,\n lineHeight: t.fileUploaderLineHeightSmall,\n});\n\nexport const sizeMedium = style({\n width: t.fileUploaderFileSizeWidthMedium,\n marginRight: t.fileUploaderFileSizeMarginMedium,\n fontSize: t.fileUploaderFontSizeMedium,\n lineHeight: t.fileUploaderLineHeightMedium,\n});\n\nexport const sizeLarge = style({\n width: t.fileUploaderFileSizeWidthLarge,\n marginRight: t.fileUploaderFileSizeMarginLarge,\n fontSize: t.fileUploaderFontSizeLarge,\n lineHeight: t.fileUploaderLineHeightLarge,\n});\n\nexport const icon = style({\n position: 'absolute',\n top: t.fileUploaderIconGapSmall,\n right: t.fileUploaderIconGapSmall,\n display: 'flex',\n flex: '1 0 auto',\n alignItems: 'center',\n justifyContent: 'center',\n width: t.fileUploaderTileIconSizeSmall,\n borderRadius: t.fileUploaderBorderRadius,\n cursor: 'pointer',\n textAlign: 'center',\n outline: 'none',\n});\n\n// только вложенное правило для svg\nexport const disabledFileTypeIconSvg = style({});\n\nexport const fileTypeIconMultiple = style({ marginLeft: 0 });\n\nexport const contentSmall = style({\n fontSize: t.fileUploaderFontSizeSmall,\n lineHeight: t.fileUploaderLineHeightSmall,\n});\n\nexport const contentMedium = style({\n fontSize: t.fileUploaderFontSizeMedium,\n lineHeight: t.fileUploaderLineHeightMedium,\n});\n\nexport const contentLarge = style({\n fontSize: t.fileUploaderFontSizeLarge,\n lineHeight: t.fileUploaderLineHeightLarge,\n});\n\n// ---------- строки (getJsRowStyles): одноимённые классы получают суффикс, как раньше ----------\n\nexport const rowContent = style({ flexDirection: 'row' }, 'content-2');\n\nexport const rowContentSmall = style({ marginRight: t.fileUploaderFileIconSizeSmall }, 'contentSmall-2');\n\n// у contentLarge строки те же стили, Emotion отдавал ему этот же класс\nexport const rowContentMedium = style({ marginRight: t.fileUploaderFileIconSizeMedium }, 'contentMedium-2');\n\nexport const iconSmall = style({\n height: t.fileUploaderFileIconSizeSmall,\n width: t.fileUploaderFileIconSizeSmall,\n});\n\nexport const iconMedium = style({\n height: t.fileUploaderFileIconSizeMedium,\n width: t.fileUploaderFileIconSizeMedium,\n});\n\nexport const iconLarge = style({\n height: t.fileUploaderFileIconSizeLarge,\n width: t.fileUploaderFileIconSizeLarge,\n});\n\nexport const fileTypeIconSmall = style({ marginRight: t.fileUploaderIconGapSmall });\n\nexport const fileTypeIconMedium = style({ marginRight: t.fileUploaderIconGapMedium });\n\nexport const fileTypeIconLarge = style({ marginRight: t.fileUploaderIconGapLarge });\n\nexport const iconColor = style({ color: t.fileUploaderIconColor });\n\nexport const rowSize = style(\n {\n marginLeft: t.fileUploaderIconGapSmall,\n color: t.fileUploaderDisabledColor,\n },\n 'size-2',\n);\n\nexport const name = style({\n flex: '1 1 100%',\n overflow: 'hidden',\n});\n\nexport const rowNameBlock = style({ flex: '1 1 100%' }, 'nameBlock-2');\n\nexport const disabled = style({\n cursor: 'default',\n color: t.fileUploaderDisabledTextColor,\n});\n\n// ---------- плитки (getJsTileStyles) ----------\n\nexport const tileContent = style(\n {\n flexDirection: 'column',\n alignItems: 'center',\n height: 'inherit',\n },\n 'content-3',\n);\n\nexport const iconAction = style({\n borderRadius: t.fileUploaderBorderRadius,\n opacity: 0,\n background: t.fileUploaderTileIconColorBg,\n});\n\nexport const iconActionShow = style({ opacity: 1 });\n\nexport const tileIconSmall = style(\n {\n width: t.fileUploaderTileIconSizeSmall,\n height: t.fileUploaderTileIconSizeSmall,\n padding: t.fileUploaderTileIconActionPaddingSmall,\n top: t.fileUploaderTileIconActionPositionSmall,\n right: t.fileUploaderTileIconActionPositionSmall,\n },\n 'iconSmall-2',\n);\n\nexport const tileIconMedium = style(\n {\n width: t.fileUploaderTileIconSizeMedium,\n height: t.fileUploaderTileIconSizeMedium,\n padding: t.fileUploaderTileIconActionPaddingMedium,\n top: t.fileUploaderTileIconActionPositionMedium,\n right: t.fileUploaderTileIconActionPositionMedium,\n },\n 'iconMedium-2',\n);\n\nexport const tileIconLarge = style(\n {\n width: t.fileUploaderTileIconSizeLarge,\n height: t.fileUploaderTileIconSizeLarge,\n padding: t.fileUploaderTileIconActionPaddingLarge,\n top: t.fileUploaderTileIconActionPositionLarge,\n right: t.fileUploaderTileIconActionPositionLarge,\n },\n 'iconLarge-2',\n);\n\nexport const fileTypeIcon = style({\n width: '100%',\n border: `1px solid ${t.fileUploaderDisabledBorderColor}`,\n borderRadius: t.fileUploaderBorderRadius,\n boxSizing: 'border-box',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n});\n\nexport const fileTypeIconPreview = style({\n backgroundPosition: 'top',\n backgroundSize: 'cover',\n backgroundRepeat: 'no-repeat',\n});\n\nexport const tileFileTypeIconSmall = style(\n {\n marginBottom: t.fileUploaderIconGapSmall,\n height: t.fileUploaderTileTypeIconHeightSmall,\n },\n 'fileTypeIconSmall-2',\n);\n\nexport const tileFileTypeIconMedium = style(\n {\n marginBottom: t.fileUploaderIconGapMedium,\n height: t.fileUploaderTileTypeIconHeightMedium,\n },\n 'fileTypeIconMedium-2',\n);\n\nexport const tileFileTypeIconLarge = style(\n {\n marginBottom: t.fileUploaderIconGapLarge,\n height: t.fileUploaderTileTypeIconHeightLarge,\n },\n 'fileTypeIconLarge-2',\n);\n\nexport const tileIconColor = style({ color: t.fileUploaderTileIconColor }, 'iconColor-2');\n\nexport const tileSize = style(\n {\n width: '100%',\n margin: `${t.fileUploaderIconGapSmall} 0 0`,\n overflow: 'hidden',\n textAlign: 'center',\n color: t.clearCrossIconColor,\n },\n 'size-3',\n);\n\nexport const tileName = style(\n {\n flex: '1 1 100%',\n wordBreak: 'break-all',\n height: '100%',\n },\n 'name-2',\n);\n\nexport const tileNameBlock = style(\n {\n flex: 0,\n textAlign: 'center',\n },\n 'nameBlock-3',\n);\n\nexport const tileContentSmall = style({ maxHeight: `calc(${t.fileUploaderLineHeightSmall} * 2)` }, 'contentSmall-3');\n\nexport const tileContentMedium = style({ maxHeight: `calc(${t.fileUploaderLineHeightMedium} * 2)` }, 'contentMedium-3');\n\nexport const tileContentLarge = style({ maxHeight: `calc(${t.fileUploaderLineHeightLarge} * 2)` }, 'contentLarge-2');\n\nexport const tileDisabled = style(\n {\n cursor: 'default',\n color: t.fileUploaderDisabledIconColor,\n },\n 'disabled-2',\n);\n\n// модификаторы — после базовых, как в порядке вызова cx(...)\nexport const validationTextWarning = style({ color: t.fileUploaderWarningTextColor });\n\nexport const validationTextError = style({ color: t.fileUploaderErrorTextColor });\n\nexport const disabledFileTypeIcon = style({\n boxShadow: 'none',\n background: t.fileUploaderDisabledBg,\n});\n\nexport const warningFileTypeIcon = style({\n background: t.fileUploaderWarningBgColor,\n border: `1px solid ${t.fileUploaderWarningBgColor}`,\n});\n\nexport const errorFileTypeIcon = style({\n background: t.fileUploaderErrorBgColor,\n border: `1px solid ${t.fileUploaderErrorBgColor}`,\n});\n\nexport const sizeDisabled = style({ color: t.fileUploaderDisabledIconColor });\n\n// вложенные правила — после баз всех классов файла, как было в склеенном CSS Emotion\nglobalStyle(`${icon}:hover`, { background: t.fileUploaderHoveredBg });\nglobalStyle(`${icon}:active`, { background: t.fileUploaderActiveBg });\n\nglobalStyle(`${disabledFileTypeIconSvg} svg`, { fill: `${t.fileUploaderDisabledFileTypeIcon} !important` });\n\nglobalStyle(`${iconColor}:hover`, { color: t.fileUploaderIconHoverColor });\n\nglobalStyle(`${iconAction}:hover`, { background: t.fileUploaderTileIconHoverColorBg });\nglobalStyle(`${iconAction}:active`, { background: t.fileUploaderTileIconActiveColorBg });\n\nglobalStyle(`${tileIconColor}:hover`, { color: t.fileUploaderTileIconHoverColor });\n\nglobalStyle(`${tileName} span`, { wordBreak: 'break-word' });\n\nexport const getJsStyles = exportStyles({\n root,\n content,\n validationTextError,\n validationTextWarning,\n nameBlock,\n size,\n sizeSmall,\n sizeMedium,\n sizeLarge,\n icon,\n disabledFileTypeIconSvg,\n fileTypeIconMultiple,\n contentSmall,\n contentMedium,\n contentLarge,\n});\n\nexport const getJsRowStyles = exportStyles({\n content: rowContent,\n contentSmall: rowContentSmall,\n contentMedium: rowContentMedium,\n contentLarge: rowContentMedium,\n iconSmall,\n iconMedium,\n iconLarge,\n fileTypeIconSmall,\n fileTypeIconMedium,\n fileTypeIconLarge,\n iconColor,\n size: rowSize,\n name,\n nameBlock: rowNameBlock,\n disabled,\n});\n\nexport const getJsTileStyles = exportStyles({\n content: tileContent,\n iconAction,\n iconActionShow,\n iconSmall: tileIconSmall,\n iconMedium: tileIconMedium,\n iconLarge: tileIconLarge,\n fileTypeIcon,\n fileTypeIconPreview,\n fileTypeIconSmall: tileFileTypeIconSmall,\n fileTypeIconMedium: tileFileTypeIconMedium,\n fileTypeIconLarge: tileFileTypeIconLarge,\n disabledFileTypeIcon,\n sizeDisabled,\n errorFileTypeIcon,\n warningFileTypeIcon,\n iconColor: tileIconColor,\n size: tileSize,\n name: tileName,\n nameBlock: tileNameBlock,\n contentSmall: tileContentSmall,\n contentMedium: tileContentMedium,\n contentLarge: tileContentLarge,\n disabled: tileDisabled,\n});\n"]}
|
|
@@ -35,7 +35,7 @@ import { ThemeContext } from '../../lib/theming/ThemeContext.js';
|
|
|
35
35
|
import { formatBytes } from '../../lib/utils.js';
|
|
36
36
|
import { Hint } from '../Hint/index.js';
|
|
37
37
|
import { Tooltip } from '../Tooltip/index.js';
|
|
38
|
-
import { getJsRowStyles, getJsStyles, getJsTileStyles } from './FileUploaderFile.
|
|
38
|
+
import { getJsRowStyles, getJsStyles, getJsTileStyles } from './FileUploaderFile.css.js';
|
|
39
39
|
import { FileUploaderFileStatusIcon } from './FileUploaderFileStatusIcon.js';
|
|
40
40
|
import { FileUploaderFileTypeIcon } from './FileUploaderFileTypeIcon.js';
|
|
41
41
|
import { FileUploaderFileStatus, getFileUploaderTypeIcon } from './fileUtils.js';
|