@skbkontur/react-ui 0.0.0-30619a873c → 0.0.0-32550fb571
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +66 -0
- package/cjs/components/Autocomplete/__creevey__/Autocomplete.creevey.mts +239 -0
- package/cjs/components/Button/Button.d.ts +0 -1
- package/cjs/components/Button/Button.js +2 -2
- package/cjs/components/Button/Button.js.map +1 -1
- package/cjs/components/Button/__creevey__/Button.creevey.mts +251 -0
- package/cjs/components/Calendar/DayCellView.styles.js +1 -17
- package/cjs/components/Calendar/DayCellView.styles.js.map +1 -1
- package/cjs/components/Calendar/__creevey__/Calendar.creevey.mts +74 -0
- package/cjs/components/Checkbox/__creevey__/Checkbox.creevey.mts +243 -0
- package/cjs/components/ComboBox/ComboBox.d.ts +12 -3
- package/cjs/components/ComboBox/ComboBox.js +18 -2
- package/cjs/components/ComboBox/ComboBox.js.map +1 -1
- package/cjs/components/ComboBox/__creevey__/ComboBox.creevey.mts +541 -0
- package/cjs/components/CurrencyInput/CurrencyInput.d.ts +1 -1
- package/cjs/components/CurrencyInput/CurrencyInput.js.map +1 -1
- package/cjs/components/CurrencyInput/__creevey__/CurrencyInput.creevey.mts +81 -0
- package/cjs/components/DateInput/DateInput.d.ts +2 -2
- package/cjs/components/DateInput/DateInput.js +7 -1
- package/cjs/components/DateInput/DateInput.js.map +1 -1
- package/cjs/components/DateInput/__creevey__/DateInput.creevey.mts +156 -0
- package/cjs/components/DatePicker/DatePicker.d.ts +10 -1
- package/cjs/components/DatePicker/DatePicker.js +37 -4
- package/cjs/components/DatePicker/DatePicker.js.map +1 -1
- package/cjs/components/DatePicker/__creevey__/DatePicker.creevey.mts +209 -0
- package/cjs/components/Dropdown/Dropdown.d.ts +4 -2
- package/cjs/components/Dropdown/Dropdown.js +12 -8
- package/cjs/components/Dropdown/Dropdown.js.map +1 -1
- package/cjs/components/Dropdown/__creevey__/Dropdown.creevey.mts +184 -0
- package/cjs/components/DropdownMenu/DropdownMenu.d.ts +2 -0
- package/cjs/components/DropdownMenu/DropdownMenu.js +5 -1
- package/cjs/components/DropdownMenu/DropdownMenu.js.map +1 -1
- package/cjs/components/DropdownMenu/__creevey__/DropdownMenu.creevey.mts +263 -0
- package/cjs/components/FxInput/FxInput.d.ts +2 -0
- package/cjs/components/FxInput/FxInput.js +7 -1
- package/cjs/components/FxInput/FxInput.js.map +1 -1
- package/cjs/components/FxInput/FxInputRestoreBtn.d.ts +2 -0
- package/cjs/components/FxInput/FxInputRestoreBtn.js +5 -1
- package/cjs/components/FxInput/FxInputRestoreBtn.js.map +1 -1
- package/cjs/components/FxInput/__creevey__/FxInput.creevey.mts +21 -0
- package/cjs/components/GlobalLoader/GlobalLoader.d.ts +1 -0
- package/cjs/components/GlobalLoader/GlobalLoader.js +6 -2
- package/cjs/components/GlobalLoader/GlobalLoader.js.map +1 -1
- package/cjs/components/Group/Group.js +24 -7
- package/cjs/components/Group/Group.js.map +1 -1
- package/cjs/components/Group/__creevey__/Group.creevey.mts +19 -0
- package/cjs/components/Hint/__creevey__/Hint.creevey.mts +68 -0
- package/cjs/components/Input/Input.d.ts +23 -2
- package/cjs/components/Input/Input.js +135 -19
- package/cjs/components/Input/Input.js.map +1 -1
- package/cjs/components/Input/__creevey__/Input.creevey.mts +239 -0
- package/cjs/components/Kebab/__creevey__/Kebab.creevey.mts +147 -0
- package/cjs/components/Link/Link.js +26 -9
- package/cjs/components/Link/Link.js.map +1 -1
- package/cjs/components/Link/Link.styles.d.ts +4 -4
- package/cjs/components/Link/Link.styles.js +4 -5
- package/cjs/components/Link/Link.styles.js.map +1 -1
- package/cjs/components/Link/__creevey__/Link.creevey.mts +162 -0
- package/cjs/components/Loader/__creevey__/Loader.creevey.mts +35 -0
- package/cjs/components/MaskedInput/ColorableInputElement/ColorableInputElement.js +78 -70
- package/cjs/components/MaskedInput/ColorableInputElement/ColorableInputElement.js.map +1 -1
- package/cjs/components/MaskedInput/MaskedInput.d.ts +1 -1
- package/cjs/components/MaskedInput/MaskedInput.js +3 -0
- package/cjs/components/MaskedInput/MaskedInput.js.map +1 -1
- package/cjs/components/MaskedInput/__creevey__/MaskedInput.creevey.mts +216 -0
- package/cjs/components/MenuItem/MenuItem.js +23 -23
- package/cjs/components/MenuItem/MenuItem.js.map +1 -1
- package/cjs/components/MiniModal/__docs__/MiniModalBody.mdx +3 -1
- package/cjs/components/MiniModal/__docs__/MiniModalFooter.mdx +3 -1
- package/cjs/components/MiniModal/__docs__/MiniModalHeader.mdx +4 -1
- package/cjs/components/MiniModal/getMiniModalTheme.d.ts +1 -1
- package/cjs/components/Modal/Modal.js +7 -10
- package/cjs/components/Modal/Modal.js.map +1 -1
- package/cjs/components/Modal/Modal.styles.d.ts +4 -1
- package/cjs/components/Modal/Modal.styles.js +68 -31
- package/cjs/components/Modal/Modal.styles.js.map +1 -1
- package/cjs/components/Modal/ModalClose.js +7 -2
- package/cjs/components/Modal/ModalClose.js.map +1 -1
- package/cjs/components/Modal/ModalContext.d.ts +3 -3
- package/cjs/components/Modal/ModalContext.js.map +1 -1
- package/cjs/components/Modal/ModalFooter.js +2 -2
- package/cjs/components/Modal/ModalFooter.js.map +1 -1
- package/cjs/components/Modal/ModalHeader.js +1 -1
- package/cjs/components/Modal/ModalHeader.js.map +1 -1
- package/cjs/components/Modal/__creevey__/Modal.creevey.mts +295 -0
- package/cjs/components/Paging/__creevey__/Paging.creevey.mts +97 -0
- package/cjs/components/PasswordInput/PasswordInput.d.ts +7 -3
- package/cjs/components/PasswordInput/PasswordInput.js +35 -9
- package/cjs/components/PasswordInput/PasswordInput.js.map +1 -1
- package/cjs/components/PasswordInput/PasswordInput.styles.js +2 -1
- package/cjs/components/PasswordInput/PasswordInput.styles.js.map +1 -1
- package/cjs/components/PasswordInput/__creevey__/PasswordInput.creevey.mts +46 -0
- package/cjs/components/Radio/__creevey__/Radio.creevey.mts +28 -0
- package/cjs/components/RadioGroup/__creevey__/RadioGroup.creevey.mts +86 -0
- package/cjs/components/ScrollContainer/__creevey__/ScrollContainer.creevey.mts +247 -0
- package/cjs/components/Select/Select.d.ts +3 -6
- package/cjs/components/Select/Select.js +11 -10
- package/cjs/components/Select/Select.js.map +1 -1
- package/cjs/components/Select/__creevey__/Select.creevey.mts +293 -0
- package/cjs/components/Select/tids.d.ts +5 -0
- package/cjs/components/Select/tids.js +5 -0
- package/cjs/components/Select/tids.js.map +1 -0
- package/cjs/components/SidePage/SidePage.d.ts +1 -0
- package/cjs/components/SidePage/SidePage.js +12 -1
- package/cjs/components/SidePage/SidePage.js.map +1 -1
- package/cjs/components/SidePage/SidePage.styles.d.ts +8 -1
- package/cjs/components/SidePage/SidePage.styles.js +83 -26
- package/cjs/components/SidePage/SidePage.styles.js.map +1 -1
- package/cjs/components/SidePage/SidePageCloseButton.d.ts +6 -1
- package/cjs/components/SidePage/SidePageCloseButton.js +14 -2
- package/cjs/components/SidePage/SidePageCloseButton.js.map +1 -1
- package/cjs/components/SidePage/SidePageHeader.d.ts +0 -1
- package/cjs/components/SidePage/SidePageHeader.js +11 -7
- package/cjs/components/SidePage/SidePageHeader.js.map +1 -1
- package/cjs/components/SidePage/__creevey__/SidePage.creevey.mts +421 -0
- package/cjs/components/Sticky/__creevey__/Sticky.creevey.mts +98 -0
- package/cjs/components/Switcher/Switcher.js +2 -2
- package/cjs/components/Switcher/Switcher.js.map +1 -1
- package/cjs/components/Switcher/Switcher.styles.d.ts +1 -0
- package/cjs/components/Switcher/Switcher.styles.js +20 -1
- package/cjs/components/Switcher/Switcher.styles.js.map +1 -1
- package/cjs/components/Switcher/__creevey__/Switcher.creevey.mts +24 -0
- package/cjs/components/Tabs/__creevey__/Tabs.creevey.mts +239 -0
- package/cjs/components/Textarea/__creevey__/Textarea.creevey.mts +177 -0
- package/cjs/components/Toast/Toast.d.ts +6 -2
- package/cjs/components/Toast/Toast.js +9 -2
- package/cjs/components/Toast/Toast.js.map +1 -1
- package/cjs/components/Toast/ToastStatic.d.ts +2 -2
- package/cjs/components/Toast/ToastStatic.js +15 -5
- package/cjs/components/Toast/ToastStatic.js.map +1 -1
- package/cjs/components/Toast/ToastView.d.ts +1 -0
- package/cjs/components/Toast/ToastView.js +4 -2
- package/cjs/components/Toast/ToastView.js.map +1 -1
- package/cjs/components/Toast/ToastView.styles.js +4 -4
- package/cjs/components/Toast/ToastView.styles.js.map +1 -1
- package/cjs/components/Toast/__creevey__/Toast.creevey.mts +77 -0
- package/cjs/components/Toggle/__creevey__/Toggle.creevey.mts +87 -0
- package/cjs/components/TokenInput/__creevey__/TokenInput.creevey.mts +414 -0
- package/cjs/components/Tooltip/__creevey__/Tooltip.creevey.mts +533 -0
- package/cjs/components/TooltipMenu/__creevey__/TooltipMenu.creevey.mts +131 -0
- package/cjs/index.d.ts +0 -3
- package/cjs/index.js +0 -3
- package/cjs/index.js.map +1 -1
- package/cjs/internal/ClearCrossIcon/ClearCrossIcon.d.ts +9 -0
- package/cjs/internal/ClearCrossIcon/ClearCrossIcon.js +72 -0
- package/cjs/internal/ClearCrossIcon/ClearCrossIcon.js.map +1 -0
- package/cjs/internal/ClearCrossIcon/ClearCrossIcon.styles.d.ts +8 -0
- package/cjs/internal/ClearCrossIcon/ClearCrossIcon.styles.js +51 -0
- package/cjs/internal/ClearCrossIcon/ClearCrossIcon.styles.js.map +1 -0
- package/cjs/internal/ClearCrossIcon/CrossIcon.d.ts +3 -0
- package/cjs/internal/ClearCrossIcon/CrossIcon.js +15 -0
- package/cjs/internal/ClearCrossIcon/CrossIcon.js.map +1 -0
- package/cjs/internal/ClearCrossIcon/__creevey__/ClearCrossIcon.creevey.mts +44 -0
- package/cjs/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.mts +48 -0
- package/cjs/internal/CustomComboBox/ComboBoxView.d.ts +6 -2
- package/cjs/internal/CustomComboBox/ComboBoxView.js +13 -3
- package/cjs/internal/CustomComboBox/ComboBoxView.js.map +1 -1
- package/cjs/internal/CustomComboBox/CustomComboBox.d.ts +7 -5
- package/cjs/internal/CustomComboBox/CustomComboBox.js +20 -9
- package/cjs/internal/CustomComboBox/CustomComboBox.js.map +1 -1
- package/cjs/internal/CustomComboBox/CustomComboBoxReducer.d.ts +4 -0
- package/cjs/internal/CustomComboBox/CustomComboBoxReducer.js +13 -1
- package/cjs/internal/CustomComboBox/CustomComboBoxReducer.js.map +1 -1
- package/cjs/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.mts +30 -0
- package/cjs/internal/CustomComboBox/tids.d.ts +3 -0
- package/cjs/internal/CustomComboBox/tids.js +3 -0
- package/cjs/internal/CustomComboBox/tids.js.map +1 -0
- package/cjs/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.mts +25 -0
- package/cjs/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.mts +83 -0
- package/cjs/internal/InputLikeText/InputLikeText.d.ts +7 -2
- package/cjs/internal/InputLikeText/InputLikeText.js +90 -43
- package/cjs/internal/InputLikeText/InputLikeText.js.map +1 -1
- package/cjs/internal/Menu/Menu.d.ts +2 -1
- package/cjs/internal/Menu/Menu.js +4 -2
- package/cjs/internal/Menu/Menu.js.map +1 -1
- package/cjs/internal/Menu/__creevey__/Menu.creevey.mts +90 -0
- package/cjs/internal/Popup/Popup.js +4 -6
- package/cjs/internal/Popup/Popup.js.map +1 -1
- package/cjs/internal/PopupMenu/PopupMenu.d.ts +5 -5
- package/cjs/internal/PopupMenu/PopupMenu.js +15 -11
- package/cjs/internal/PopupMenu/PopupMenu.js.map +1 -1
- package/cjs/internal/PopupMenu/__creevey__/PopupMenu.creevey.mts +37 -0
- package/cjs/internal/PopupMenu/tids.d.ts +4 -0
- package/cjs/internal/PopupMenu/tids.js +4 -0
- package/cjs/internal/PopupMenu/tids.js.map +1 -0
- package/cjs/internal/ThemePlayground/__creevey__/Theme5_0.creevey.mts +36 -0
- package/cjs/internal/ThemePlayground/__creevey__/Theme5_0.stories.d.ts +4 -0
- package/cjs/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.mts +68 -0
- package/cjs/internal/ThemeShowcase/VariablesCollector.d.ts +1 -1
- package/cjs/internal/ThemeShowcase/VariablesCollector.js +2 -0
- package/cjs/internal/ThemeShowcase/VariablesCollector.js.map +1 -1
- package/cjs/internal/ZIndex/ZIndex.d.ts +1 -1
- package/cjs/internal/ZIndex/ZIndex.js +18 -6
- package/cjs/internal/ZIndex/ZIndex.js.map +1 -1
- package/cjs/internal/ZIndex/__creevey__/ZIndex.creevey.mts +228 -0
- package/cjs/internal/themes/BasicLightTheme.d.ts +5 -1209
- package/cjs/internal/themes/BasicLightTheme.js +2 -2530
- package/cjs/internal/themes/BasicLightTheme.js.map +1 -1
- package/cjs/internal/themes/BasicTheme.d.ts +1231 -0
- package/cjs/internal/themes/BasicTheme.js +2587 -0
- package/cjs/internal/themes/BasicTheme.js.map +1 -0
- package/cjs/internal/themes/DarkTheme5_0.d.ts +1 -0
- package/cjs/internal/themes/DarkTheme5_0.js +562 -0
- package/cjs/internal/themes/DarkTheme5_0.js.map +1 -0
- package/cjs/internal/themes/DarkTheme5_1.d.ts +1 -0
- package/cjs/internal/themes/DarkTheme5_1.js +41 -0
- package/cjs/internal/themes/DarkTheme5_1.js.map +1 -0
- package/cjs/internal/themes/LightTheme5_0.d.ts +1 -0
- package/cjs/internal/themes/LightTheme5_0.js +9 -0
- package/cjs/internal/themes/LightTheme5_0.js.map +1 -0
- package/cjs/internal/themes/LightTheme5_1.d.ts +1 -0
- package/cjs/internal/themes/LightTheme5_1.js +41 -0
- package/cjs/internal/themes/LightTheme5_1.js.map +1 -0
- package/cjs/lib/ModalStack.d.ts +1 -0
- package/cjs/lib/ModalStack.js +6 -4
- package/cjs/lib/ModalStack.js.map +1 -1
- package/cjs/lib/delay.d.ts +1 -0
- package/cjs/lib/delay.js +3 -0
- package/cjs/lib/delay.js.map +1 -0
- package/cjs/lib/mergeRefs.d.ts +23 -0
- package/cjs/lib/mergeRefs.js +76 -0
- package/cjs/lib/mergeRefs.js.map +1 -0
- package/cjs/lib/theming/Theme.d.ts +4 -3
- package/cjs/lib/theming/Theme.js +1 -1
- package/cjs/lib/theming/Theme.js.map +1 -1
- package/cjs/lib/theming/ThemeContext.d.ts +1 -1
- package/cjs/lib/theming/ThemeContext.js +2 -2
- package/cjs/lib/theming/ThemeContext.js.map +1 -1
- package/cjs/lib/theming/ThemeFactory.d.ts +9 -0
- package/cjs/lib/theming/ThemeFactory.js +28 -9
- package/cjs/lib/theming/ThemeFactory.js.map +1 -1
- package/cjs/lib/theming/ThemeHelpers.d.ts +55 -8
- package/cjs/lib/theming/ThemeHelpers.js +94 -22
- package/cjs/lib/theming/ThemeHelpers.js.map +1 -1
- package/cjs/lib/theming/ThemeVersions.d.ts +25 -0
- package/cjs/lib/theming/ThemeVersions.js +58 -0
- package/cjs/lib/theming/ThemeVersions.js.map +1 -0
- package/cjs/lib/theming/themes/DarkTheme.d.ts +3 -1
- package/cjs/lib/theming/themes/DarkTheme.js +6 -4
- package/cjs/lib/theming/themes/DarkTheme.js.map +1 -1
- package/cjs/lib/theming/themes/LightTheme.d.ts +3 -1
- package/cjs/lib/theming/themes/LightTheme.js +6 -4
- package/cjs/lib/theming/themes/LightTheme.js.map +1 -1
- package/cjs/lib/theming/themes/LightThemeMobile.d.ts +1 -1
- package/cjs/lib/theming/useTheme.d.ts +1 -1
- package/cjs/lib/typeGuards.d.ts +1 -0
- package/cjs/lib/typeGuards.js +6 -0
- package/cjs/lib/typeGuards.js.map +1 -0
- package/cjs/lib/utils.d.ts +21 -17
- package/cjs/lib/utils.js +20 -23
- package/cjs/lib/utils.js.map +1 -1
- package/components/Autocomplete/__creevey__/Autocomplete.creevey.mts +239 -0
- package/components/Button/Button/Button.js +2 -3
- package/components/Button/Button/Button.js.map +1 -1
- package/components/Button/Button.d.ts +0 -1
- package/components/Button/__creevey__/Button.creevey.mts +251 -0
- package/components/Calendar/DayCellView.styles/DayCellView.styles.js +1 -1
- package/components/Calendar/DayCellView.styles/DayCellView.styles.js.map +1 -1
- package/components/Calendar/__creevey__/Calendar.creevey.mts +74 -0
- package/components/Checkbox/__creevey__/Checkbox.creevey.mts +243 -0
- package/components/ComboBox/ComboBox/ComboBox.js +4 -3
- package/components/ComboBox/ComboBox/ComboBox.js.map +1 -1
- package/components/ComboBox/ComboBox.d.ts +12 -3
- package/components/ComboBox/__creevey__/ComboBox.creevey.mts +541 -0
- package/components/CurrencyInput/CurrencyInput/CurrencyInput.js.map +1 -1
- package/components/CurrencyInput/CurrencyInput.d.ts +1 -1
- package/components/CurrencyInput/__creevey__/CurrencyInput.creevey.mts +81 -0
- package/components/DateInput/DateInput/DateInput.js +4 -1
- package/components/DateInput/DateInput/DateInput.js.map +1 -1
- package/components/DateInput/DateInput.d.ts +2 -2
- package/components/DateInput/__creevey__/DateInput.creevey.mts +156 -0
- package/components/DatePicker/DatePicker/DatePicker.js +29 -5
- package/components/DatePicker/DatePicker/DatePicker.js.map +1 -1
- package/components/DatePicker/DatePicker.d.ts +10 -1
- package/components/DatePicker/__creevey__/DatePicker.creevey.mts +209 -0
- package/components/Dropdown/Dropdown/Dropdown.js +12 -11
- package/components/Dropdown/Dropdown/Dropdown.js.map +1 -1
- package/components/Dropdown/Dropdown.d.ts +4 -2
- package/components/Dropdown/__creevey__/Dropdown.creevey.mts +184 -0
- package/components/DropdownMenu/DropdownMenu/DropdownMenu.js +1 -0
- package/components/DropdownMenu/DropdownMenu/DropdownMenu.js.map +1 -1
- package/components/DropdownMenu/DropdownMenu.d.ts +2 -0
- package/components/DropdownMenu/__creevey__/DropdownMenu.creevey.mts +263 -0
- package/components/FxInput/FxInput/FxInput.js +3 -2
- package/components/FxInput/FxInput/FxInput.js.map +1 -1
- package/components/FxInput/FxInput.d.ts +2 -0
- package/components/FxInput/FxInputRestoreBtn/FxInputRestoreBtn.js +1 -1
- package/components/FxInput/FxInputRestoreBtn/FxInputRestoreBtn.js.map +1 -1
- package/components/FxInput/FxInputRestoreBtn.d.ts +2 -0
- package/components/FxInput/__creevey__/FxInput.creevey.mts +21 -0
- package/components/GlobalLoader/GlobalLoader/GlobalLoader.js +13 -5
- package/components/GlobalLoader/GlobalLoader/GlobalLoader.js.map +1 -1
- package/components/GlobalLoader/GlobalLoader.d.ts +1 -0
- package/components/Group/Group/Group.js +4 -10
- package/components/Group/Group/Group.js.map +1 -1
- package/components/Group/__creevey__/Group.creevey.mts +19 -0
- package/components/Hint/__creevey__/Hint.creevey.mts +68 -0
- package/components/Input/Input/Input.js +124 -15
- package/components/Input/Input/Input.js.map +1 -1
- package/components/Input/Input.d.ts +23 -2
- package/components/Input/__creevey__/Input.creevey.mts +239 -0
- package/components/Kebab/__creevey__/Kebab.creevey.mts +147 -0
- package/components/Link/Link/Link.js +25 -1
- package/components/Link/Link/Link.js.map +1 -1
- package/components/Link/Link.styles/Link.styles.js +4 -4
- package/components/Link/Link.styles/Link.styles.js.map +1 -1
- package/components/Link/Link.styles.d.ts +4 -4
- package/components/Link/__creevey__/Link.creevey.mts +162 -0
- package/components/Loader/__creevey__/Loader.creevey.mts +35 -0
- package/components/MaskedInput/ColorableInputElement/ColorableInputElement/ColorableInputElement.js +54 -55
- package/components/MaskedInput/ColorableInputElement/ColorableInputElement/ColorableInputElement.js.map +1 -1
- package/components/MaskedInput/MaskedInput/MaskedInput.js.map +1 -1
- package/components/MaskedInput/MaskedInput.d.ts +1 -1
- package/components/MaskedInput/__creevey__/MaskedInput.creevey.mts +216 -0
- package/components/MenuItem/MenuItem/MenuItem.js +41 -35
- package/components/MenuItem/MenuItem/MenuItem.js.map +1 -1
- package/components/MiniModal/__docs__/MiniModalBody.mdx +3 -1
- package/components/MiniModal/__docs__/MiniModalFooter.mdx +3 -1
- package/components/MiniModal/__docs__/MiniModalHeader.mdx +4 -1
- package/components/MiniModal/getMiniModalTheme.d.ts +1 -1
- package/components/Modal/Modal/Modal.js +4 -16
- package/components/Modal/Modal/Modal.js.map +1 -1
- package/components/Modal/Modal.styles/Modal.styles.js +40 -31
- package/components/Modal/Modal.styles/Modal.styles.js.map +1 -1
- package/components/Modal/Modal.styles.d.ts +4 -1
- package/components/Modal/ModalClose/ModalClose.js +3 -1
- package/components/Modal/ModalClose/ModalClose.js.map +1 -1
- package/components/Modal/ModalContext/ModalContext.js.map +1 -1
- package/components/Modal/ModalContext.d.ts +3 -3
- package/components/Modal/ModalFooter/ModalFooter.js +2 -2
- package/components/Modal/ModalFooter/ModalFooter.js.map +1 -1
- package/components/Modal/ModalHeader/ModalHeader.js +1 -1
- package/components/Modal/ModalHeader/ModalHeader.js.map +1 -1
- package/components/Modal/__creevey__/Modal.creevey.mts +295 -0
- package/components/Paging/__creevey__/Paging.creevey.mts +97 -0
- package/components/PasswordInput/PasswordInput/PasswordInput.js +30 -10
- package/components/PasswordInput/PasswordInput/PasswordInput.js.map +1 -1
- package/components/PasswordInput/PasswordInput.d.ts +7 -3
- package/components/PasswordInput/PasswordInput.styles/PasswordInput.styles.js +1 -1
- package/components/PasswordInput/PasswordInput.styles/PasswordInput.styles.js.map +1 -1
- package/components/PasswordInput/__creevey__/PasswordInput.creevey.mts +46 -0
- package/components/Radio/__creevey__/Radio.creevey.mts +28 -0
- package/components/RadioGroup/__creevey__/RadioGroup.creevey.mts +86 -0
- package/components/ScrollContainer/__creevey__/ScrollContainer.creevey.mts +247 -0
- package/components/Select/Select/Select.js +3 -5
- package/components/Select/Select/Select.js.map +1 -1
- package/components/Select/Select.d.ts +3 -6
- package/components/Select/__creevey__/Select.creevey.mts +293 -0
- package/components/Select/tids/package.json +6 -0
- package/components/Select/tids/tids.js +5 -0
- package/components/Select/tids/tids.js.map +1 -0
- package/components/Select/tids.d.ts +5 -0
- package/components/SidePage/SidePage/SidePage.js +20 -8
- package/components/SidePage/SidePage/SidePage.js.map +1 -1
- package/components/SidePage/SidePage.d.ts +1 -0
- package/components/SidePage/SidePage.styles/SidePage.styles.js +48 -26
- package/components/SidePage/SidePage.styles/SidePage.styles.js.map +1 -1
- package/components/SidePage/SidePage.styles.d.ts +8 -1
- package/components/SidePage/SidePageCloseButton/SidePageCloseButton.js +6 -2
- package/components/SidePage/SidePageCloseButton/SidePageCloseButton.js.map +1 -1
- package/components/SidePage/SidePageCloseButton.d.ts +6 -1
- package/components/SidePage/SidePageHeader/SidePageHeader.js +13 -5
- package/components/SidePage/SidePageHeader/SidePageHeader.js.map +1 -1
- package/components/SidePage/SidePageHeader.d.ts +0 -1
- package/components/SidePage/__creevey__/SidePage.creevey.mts +421 -0
- package/components/Sticky/__creevey__/Sticky.creevey.mts +98 -0
- package/components/Switcher/Switcher/Switcher.js +10 -6
- package/components/Switcher/Switcher/Switcher.js.map +1 -1
- package/components/Switcher/Switcher.styles/Switcher.styles.js +4 -1
- package/components/Switcher/Switcher.styles/Switcher.styles.js.map +1 -1
- package/components/Switcher/Switcher.styles.d.ts +1 -0
- package/components/Switcher/__creevey__/Switcher.creevey.mts +24 -0
- package/components/Tabs/__creevey__/Tabs.creevey.mts +239 -0
- package/components/Textarea/__creevey__/Textarea.creevey.mts +177 -0
- package/components/Toast/Toast/Toast.js +14 -9
- package/components/Toast/Toast/Toast.js.map +1 -1
- package/components/Toast/Toast.d.ts +6 -2
- package/components/Toast/ToastStatic/ToastStatic.js +5 -5
- package/components/Toast/ToastStatic/ToastStatic.js.map +1 -1
- package/components/Toast/ToastStatic.d.ts +2 -2
- package/components/Toast/ToastView/ToastView.js +2 -1
- package/components/Toast/ToastView/ToastView.js.map +1 -1
- package/components/Toast/ToastView.d.ts +1 -0
- package/components/Toast/ToastView.styles/ToastView.styles.js +2 -2
- package/components/Toast/ToastView.styles/ToastView.styles.js.map +1 -1
- package/components/Toast/__creevey__/Toast.creevey.mts +77 -0
- package/components/Toggle/__creevey__/Toggle.creevey.mts +87 -0
- package/components/TokenInput/__creevey__/TokenInput.creevey.mts +414 -0
- package/components/Tooltip/__creevey__/Tooltip.creevey.mts +533 -0
- package/components/TooltipMenu/__creevey__/TooltipMenu.creevey.mts +131 -0
- package/index.d.ts +0 -3
- package/index.js +0 -3
- package/index.js.map +1 -1
- package/internal/ClearCrossIcon/ClearCrossIcon/ClearCrossIcon.js +63 -0
- package/internal/ClearCrossIcon/ClearCrossIcon/ClearCrossIcon.js.map +1 -0
- package/internal/ClearCrossIcon/ClearCrossIcon/package.json +6 -0
- package/internal/ClearCrossIcon/ClearCrossIcon.d.ts +9 -0
- package/internal/ClearCrossIcon/ClearCrossIcon.styles/ClearCrossIcon.styles.js +21 -0
- package/internal/ClearCrossIcon/ClearCrossIcon.styles/ClearCrossIcon.styles.js.map +1 -0
- package/internal/ClearCrossIcon/ClearCrossIcon.styles/package.json +6 -0
- package/internal/ClearCrossIcon/ClearCrossIcon.styles.d.ts +8 -0
- package/internal/ClearCrossIcon/CrossIcon/CrossIcon.js +22 -0
- package/internal/ClearCrossIcon/CrossIcon/CrossIcon.js.map +1 -0
- package/internal/ClearCrossIcon/CrossIcon/package.json +6 -0
- package/internal/ClearCrossIcon/CrossIcon.d.ts +3 -0
- package/internal/ClearCrossIcon/__creevey__/ClearCrossIcon.creevey.mts +44 -0
- package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.mts +48 -0
- package/internal/CustomComboBox/ComboBoxView/ComboBoxView.js +12 -5
- package/internal/CustomComboBox/ComboBoxView/ComboBoxView.js.map +1 -1
- package/internal/CustomComboBox/ComboBoxView.d.ts +6 -2
- package/internal/CustomComboBox/CustomComboBox/CustomComboBox.js +17 -5
- package/internal/CustomComboBox/CustomComboBox/CustomComboBox.js.map +1 -1
- package/internal/CustomComboBox/CustomComboBox.d.ts +7 -5
- package/internal/CustomComboBox/CustomComboBoxReducer/CustomComboBoxReducer.js +15 -1
- package/internal/CustomComboBox/CustomComboBoxReducer/CustomComboBoxReducer.js.map +1 -1
- package/internal/CustomComboBox/CustomComboBoxReducer.d.ts +4 -0
- package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.mts +30 -0
- package/internal/CustomComboBox/tids/package.json +6 -0
- package/internal/CustomComboBox/tids/tids.js +3 -0
- package/internal/CustomComboBox/tids/tids.js.map +1 -0
- package/internal/CustomComboBox/tids.d.ts +3 -0
- package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.mts +25 -0
- package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.mts +83 -0
- package/internal/InputLikeText/InputLikeText/InputLikeText.js +65 -9
- package/internal/InputLikeText/InputLikeText/InputLikeText.js.map +1 -1
- package/internal/InputLikeText/InputLikeText.d.ts +7 -2
- package/internal/Menu/Menu/Menu.js +6 -3
- package/internal/Menu/Menu/Menu.js.map +1 -1
- package/internal/Menu/Menu.d.ts +2 -1
- package/internal/Menu/__creevey__/Menu.creevey.mts +90 -0
- package/internal/Popup/Popup/Popup.js +15 -20
- package/internal/Popup/Popup/Popup.js.map +1 -1
- package/internal/PopupMenu/PopupMenu/PopupMenu.js +4 -5
- package/internal/PopupMenu/PopupMenu/PopupMenu.js.map +1 -1
- package/internal/PopupMenu/PopupMenu.d.ts +5 -5
- package/internal/PopupMenu/__creevey__/PopupMenu.creevey.mts +37 -0
- package/internal/PopupMenu/tids/package.json +6 -0
- package/internal/PopupMenu/tids/tids.js +4 -0
- package/internal/PopupMenu/tids/tids.js.map +1 -0
- package/internal/PopupMenu/tids.d.ts +4 -0
- package/internal/ThemePlayground/__creevey__/Theme5_0.creevey.mts +36 -0
- package/internal/ThemePlayground/__creevey__/Theme5_0.stories.d.ts +4 -0
- package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.mts +68 -0
- package/internal/ThemeShowcase/VariablesCollector/VariablesCollector.js +2 -0
- package/internal/ThemeShowcase/VariablesCollector/VariablesCollector.js.map +1 -1
- package/internal/ThemeShowcase/VariablesCollector.d.ts +1 -1
- package/internal/ZIndex/ZIndex/ZIndex.js +12 -14
- package/internal/ZIndex/ZIndex/ZIndex.js.map +1 -1
- package/internal/ZIndex/ZIndex.d.ts +1 -1
- package/internal/ZIndex/__creevey__/ZIndex.creevey.mts +228 -0
- package/internal/themes/BasicLightTheme/BasicLightTheme.js +5 -3351
- package/internal/themes/BasicLightTheme/BasicLightTheme.js.map +1 -1
- package/internal/themes/BasicLightTheme.d.ts +5 -1209
- package/internal/themes/BasicTheme/BasicTheme.js +3432 -0
- package/internal/themes/BasicTheme/BasicTheme.js.map +1 -0
- package/internal/themes/BasicTheme/package.json +6 -0
- package/internal/themes/BasicTheme.d.ts +1231 -0
- package/internal/themes/DarkTheme5_0/DarkTheme5_0.js +409 -0
- package/internal/themes/DarkTheme5_0/DarkTheme5_0.js.map +1 -0
- package/internal/themes/DarkTheme5_0/package.json +6 -0
- package/internal/themes/DarkTheme5_0.d.ts +1 -0
- package/internal/themes/DarkTheme5_1/DarkTheme5_1.js +52 -0
- package/internal/themes/DarkTheme5_1/DarkTheme5_1.js.map +1 -0
- package/internal/themes/DarkTheme5_1/package.json +6 -0
- package/internal/themes/DarkTheme5_1.d.ts +1 -0
- package/internal/themes/LightTheme5_0/LightTheme5_0.js +14 -0
- package/internal/themes/LightTheme5_0/LightTheme5_0.js.map +1 -0
- package/internal/themes/LightTheme5_0/package.json +6 -0
- package/internal/themes/LightTheme5_0.d.ts +1 -0
- package/internal/themes/LightTheme5_1/LightTheme5_1.js +52 -0
- package/internal/themes/LightTheme5_1/LightTheme5_1.js.map +1 -0
- package/internal/themes/LightTheme5_1/package.json +6 -0
- package/internal/themes/LightTheme5_1.d.ts +1 -0
- package/lib/ModalStack/ModalStack.js +8 -8
- package/lib/ModalStack/ModalStack.js.map +1 -1
- package/lib/ModalStack.d.ts +1 -0
- package/lib/delay/delay.js +6 -0
- package/lib/delay/delay.js.map +1 -0
- package/lib/delay/package.json +6 -0
- package/lib/delay.d.ts +1 -0
- package/lib/mergeRefs/mergeRefs.js +68 -0
- package/lib/mergeRefs/mergeRefs.js.map +1 -0
- package/lib/mergeRefs/package.json +6 -0
- package/lib/mergeRefs.d.ts +23 -0
- package/lib/theming/Theme/Theme.js +2 -1
- package/lib/theming/Theme/Theme.js.map +1 -1
- package/lib/theming/Theme.d.ts +4 -3
- package/lib/theming/ThemeContext/ThemeContext.js +2 -2
- package/lib/theming/ThemeContext/ThemeContext.js.map +1 -1
- package/lib/theming/ThemeContext.d.ts +1 -1
- package/lib/theming/ThemeFactory/ThemeFactory.js +21 -7
- package/lib/theming/ThemeFactory/ThemeFactory.js.map +1 -1
- package/lib/theming/ThemeFactory.d.ts +9 -0
- package/lib/theming/ThemeHelpers/ThemeHelpers.js +85 -18
- package/lib/theming/ThemeHelpers/ThemeHelpers.js.map +1 -1
- package/lib/theming/ThemeHelpers.d.ts +55 -8
- package/lib/theming/ThemeVersions/ThemeVersions.js +50 -0
- package/lib/theming/ThemeVersions/ThemeVersions.js.map +1 -0
- package/lib/theming/ThemeVersions/package.json +6 -0
- package/lib/theming/ThemeVersions.d.ts +25 -0
- package/lib/theming/themes/DarkTheme/DarkTheme.js +5 -4
- package/lib/theming/themes/DarkTheme/DarkTheme.js.map +1 -1
- package/lib/theming/themes/DarkTheme.d.ts +3 -1
- package/lib/theming/themes/LightTheme/LightTheme.js +5 -4
- package/lib/theming/themes/LightTheme/LightTheme.js.map +1 -1
- package/lib/theming/themes/LightTheme.d.ts +3 -1
- package/lib/theming/themes/LightThemeMobile.d.ts +1 -1
- package/lib/theming/useTheme.d.ts +1 -1
- package/lib/typeGuards/package.json +6 -0
- package/lib/typeGuards/typeGuards.js +5 -0
- package/lib/typeGuards/typeGuards.js.map +1 -0
- package/lib/typeGuards.d.ts +1 -0
- package/lib/utils/utils.js +13 -21
- package/lib/utils/utils.js.map +1 -1
- package/lib/utils.d.ts +21 -17
- package/package.json +7 -6
- package/cjs/components/Autocomplete/__creevey__/Autocomplete.creevey.js +0 -239
- package/cjs/components/Autocomplete/__creevey__/Autocomplete.creevey.js.map +0 -1
- package/cjs/components/Button/__creevey__/Button.creevey.js +0 -250
- package/cjs/components/Button/__creevey__/Button.creevey.js.map +0 -1
- package/cjs/components/Calendar/__creevey__/Calendar.creevey.js +0 -74
- package/cjs/components/Calendar/__creevey__/Calendar.creevey.js.map +0 -1
- package/cjs/components/Checkbox/__creevey__/Checkbox.creevey.js +0 -242
- package/cjs/components/Checkbox/__creevey__/Checkbox.creevey.js.map +0 -1
- package/cjs/components/ComboBox/__creevey__/ComboBox.creevey.js +0 -540
- package/cjs/components/ComboBox/__creevey__/ComboBox.creevey.js.map +0 -1
- package/cjs/components/CurrencyInput/__creevey__/CurrencyInput.creevey.js +0 -81
- package/cjs/components/CurrencyInput/__creevey__/CurrencyInput.creevey.js.map +0 -1
- package/cjs/components/DateInput/__creevey__/DateInput.creevey.js +0 -155
- package/cjs/components/DateInput/__creevey__/DateInput.creevey.js.map +0 -1
- package/cjs/components/DatePicker/__creevey__/DatePicker.creevey.js +0 -209
- package/cjs/components/DatePicker/__creevey__/DatePicker.creevey.js.map +0 -1
- package/cjs/components/DateRangePicker/DateRangePicker.d.ts +0 -27
- package/cjs/components/DateRangePicker/DateRangePicker.js +0 -481
- package/cjs/components/DateRangePicker/DateRangePicker.js.map +0 -1
- package/cjs/components/DateRangePicker/DateRangePicker.md +0 -298
- package/cjs/components/DateRangePicker/DateRangePicker.styles.d.ts +0 -9
- package/cjs/components/DateRangePicker/DateRangePicker.styles.js +0 -42
- package/cjs/components/DateRangePicker/DateRangePicker.styles.js.map +0 -1
- package/cjs/components/DateRangePicker/DateRangePickerContext.d.ts +0 -28
- package/cjs/components/DateRangePicker/DateRangePickerContext.js +0 -33
- package/cjs/components/DateRangePicker/DateRangePickerContext.js.map +0 -1
- package/cjs/components/DateRangePicker/DateRangePickerField.d.ts +0 -7
- package/cjs/components/DateRangePicker/DateRangePickerField.js +0 -98
- package/cjs/components/DateRangePicker/DateRangePickerField.js.map +0 -1
- package/cjs/components/DateRangePicker/DateRangePickerSeparator.d.ts +0 -2
- package/cjs/components/DateRangePicker/DateRangePickerSeparator.js +0 -3
- package/cjs/components/DateRangePicker/DateRangePickerSeparator.js.map +0 -1
- package/cjs/components/DateRangePicker/DateRangePickerTheme.d.ts +0 -3
- package/cjs/components/DateRangePicker/DateRangePickerTheme.js +0 -30
- package/cjs/components/DateRangePicker/DateRangePickerTheme.js.map +0 -1
- package/cjs/components/DateRangePicker/MobileDateRangePicker.d.ts +0 -7
- package/cjs/components/DateRangePicker/MobileDateRangePicker.js +0 -59
- package/cjs/components/DateRangePicker/MobileDateRangePicker.js.map +0 -1
- package/cjs/components/DateRangePicker/MobileDateRangePicker.styles.d.ts +0 -4
- package/cjs/components/DateRangePicker/MobileDateRangePicker.styles.js +0 -19
- package/cjs/components/DateRangePicker/MobileDateRangePicker.styles.js.map +0 -1
- package/cjs/components/DateRangePicker/__docs__/DateRangePicker.mdx +0 -109
- package/cjs/components/DateRangePicker/index.d.ts +0 -1
- package/cjs/components/DateRangePicker/index.js +0 -1
- package/cjs/components/DateRangePicker/index.js.map +0 -1
- package/cjs/components/DateRangePicker/locale/index.d.ts +0 -4
- package/cjs/components/DateRangePicker/locale/index.js +0 -12
- package/cjs/components/DateRangePicker/locale/index.js.map +0 -1
- package/cjs/components/DateRangePicker/locale/locales/en.d.ts +0 -2
- package/cjs/components/DateRangePicker/locale/locales/en.js +0 -7
- package/cjs/components/DateRangePicker/locale/locales/en.js.map +0 -1
- package/cjs/components/DateRangePicker/locale/locales/ru.d.ts +0 -2
- package/cjs/components/DateRangePicker/locale/locales/ru.js +0 -7
- package/cjs/components/DateRangePicker/locale/locales/ru.js.map +0 -1
- package/cjs/components/DateRangePicker/locale/types.d.ts +0 -5
- package/cjs/components/DateRangePicker/locale/types.js +0 -1
- package/cjs/components/DateRangePicker/locale/types.js.map +0 -1
- package/cjs/components/Dropdown/__creevey__/Dropdown.creevey.js +0 -184
- package/cjs/components/Dropdown/__creevey__/Dropdown.creevey.js.map +0 -1
- package/cjs/components/DropdownMenu/__creevey__/DropdownMenu.creevey.js +0 -262
- package/cjs/components/DropdownMenu/__creevey__/DropdownMenu.creevey.js.map +0 -1
- package/cjs/components/FxInput/__creevey__/FxInput.creevey.js +0 -21
- package/cjs/components/FxInput/__creevey__/FxInput.creevey.js.map +0 -1
- package/cjs/components/Group/__creevey__/Group.creevey.js +0 -19
- package/cjs/components/Group/__creevey__/Group.creevey.js.map +0 -1
- package/cjs/components/Hint/__creevey__/Hint.creevey.js +0 -68
- package/cjs/components/Hint/__creevey__/Hint.creevey.js.map +0 -1
- package/cjs/components/Input/__creevey__/Input.creevey.js +0 -239
- package/cjs/components/Input/__creevey__/Input.creevey.js.map +0 -1
- package/cjs/components/Kebab/__creevey__/Kebab.creevey.js +0 -146
- package/cjs/components/Kebab/__creevey__/Kebab.creevey.js.map +0 -1
- package/cjs/components/Link/__creevey__/Link.creevey.js +0 -161
- package/cjs/components/Link/__creevey__/Link.creevey.js.map +0 -1
- package/cjs/components/Loader/__creevey__/Loader.creevey.js +0 -34
- package/cjs/components/Loader/__creevey__/Loader.creevey.js.map +0 -1
- package/cjs/components/MaskedInput/__creevey__/MaskedInput.creevey.js +0 -219
- package/cjs/components/MaskedInput/__creevey__/MaskedInput.creevey.js.map +0 -1
- package/cjs/components/Modal/__creevey__/Modal.creevey.js +0 -258
- package/cjs/components/Modal/__creevey__/Modal.creevey.js.map +0 -1
- package/cjs/components/Paging/__creevey__/Paging.creevey.js +0 -97
- package/cjs/components/Paging/__creevey__/Paging.creevey.js.map +0 -1
- package/cjs/components/PasswordInput/__creevey__/PasswordInput.creevey.js +0 -38
- package/cjs/components/PasswordInput/__creevey__/PasswordInput.creevey.js.map +0 -1
- package/cjs/components/Radio/__creevey__/Radio.creevey.js +0 -27
- package/cjs/components/Radio/__creevey__/Radio.creevey.js.map +0 -1
- package/cjs/components/RadioGroup/__creevey__/RadioGroup.creevey.js +0 -85
- package/cjs/components/RadioGroup/__creevey__/RadioGroup.creevey.js.map +0 -1
- package/cjs/components/ScrollContainer/__creevey__/ScrollContainer.creevey.js +0 -247
- package/cjs/components/ScrollContainer/__creevey__/ScrollContainer.creevey.js.map +0 -1
- package/cjs/components/Select/__creevey__/Select.creevey.js +0 -284
- package/cjs/components/Select/__creevey__/Select.creevey.js.map +0 -1
- package/cjs/components/SidePage/__creevey__/SidePage.creevey.js +0 -313
- package/cjs/components/SidePage/__creevey__/SidePage.creevey.js.map +0 -1
- package/cjs/components/Sticky/__creevey__/Sticky.creevey.js +0 -98
- package/cjs/components/Sticky/__creevey__/Sticky.creevey.js.map +0 -1
- package/cjs/components/Switcher/__creevey__/Switcher.creevey.js +0 -24
- package/cjs/components/Switcher/__creevey__/Switcher.creevey.js.map +0 -1
- package/cjs/components/Tabs/__creevey__/Tabs.creevey.js +0 -238
- package/cjs/components/Tabs/__creevey__/Tabs.creevey.js.map +0 -1
- package/cjs/components/Textarea/__creevey__/Textarea.creevey.js +0 -176
- package/cjs/components/Textarea/__creevey__/Textarea.creevey.js.map +0 -1
- package/cjs/components/Toast/__creevey__/Toast.creevey.js +0 -54
- package/cjs/components/Toast/__creevey__/Toast.creevey.js.map +0 -1
- package/cjs/components/Toggle/__creevey__/Toggle.creevey.js +0 -87
- package/cjs/components/Toggle/__creevey__/Toggle.creevey.js.map +0 -1
- package/cjs/components/TokenInput/__creevey__/TokenInput.creevey.js +0 -413
- package/cjs/components/TokenInput/__creevey__/TokenInput.creevey.js.map +0 -1
- package/cjs/components/Tooltip/__creevey__/Tooltip.creevey.js +0 -534
- package/cjs/components/Tooltip/__creevey__/Tooltip.creevey.js.map +0 -1
- package/cjs/components/TooltipMenu/__creevey__/TooltipMenu.creevey.js +0 -130
- package/cjs/components/TooltipMenu/__creevey__/TooltipMenu.creevey.js.map +0 -1
- package/cjs/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.js +0 -47
- package/cjs/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.js.map +0 -1
- package/cjs/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.js +0 -30
- package/cjs/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.js.map +0 -1
- package/cjs/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.js +0 -25
- package/cjs/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.js.map +0 -1
- package/cjs/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.js +0 -83
- package/cjs/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.js.map +0 -1
- package/cjs/internal/Menu/__creevey__/Menu.creevey.js +0 -90
- package/cjs/internal/Menu/__creevey__/Menu.creevey.js.map +0 -1
- package/cjs/internal/PopupMenu/__creevey__/PopupMenu.creevey.js +0 -37
- package/cjs/internal/PopupMenu/__creevey__/PopupMenu.creevey.js.map +0 -1
- package/cjs/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.js +0 -68
- package/cjs/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.js.map +0 -1
- package/cjs/internal/ZIndex/__creevey__/ZIndex.creevey.js +0 -228
- package/cjs/internal/ZIndex/__creevey__/ZIndex.creevey.js.map +0 -1
- package/cjs/internal/themes/BasicDarkTheme.d.ts +0 -293
- package/cjs/internal/themes/BasicDarkTheme.js +0 -607
- package/cjs/internal/themes/BasicDarkTheme.js.map +0 -1
- package/cjs/lib/theming/themes/DarkTheme2022_0.d.ts +0 -1
- package/cjs/lib/theming/themes/DarkTheme2022_0.js +0 -5
- package/cjs/lib/theming/themes/DarkTheme2022_0.js.map +0 -1
- package/cjs/lib/theming/themes/LightTheme2022_0.d.ts +0 -1
- package/cjs/lib/theming/themes/LightTheme2022_0.js +0 -5
- package/cjs/lib/theming/themes/LightTheme2022_0.js.map +0 -1
- package/components/Autocomplete/__creevey__/Autocomplete.creevey/Autocomplete.creevey.js +0 -506
- package/components/Autocomplete/__creevey__/Autocomplete.creevey/Autocomplete.creevey.js.map +0 -1
- package/components/Autocomplete/__creevey__/Autocomplete.creevey/package.json +0 -6
- package/components/Button/__creevey__/Button.creevey/Button.creevey.js +0 -396
- package/components/Button/__creevey__/Button.creevey/Button.creevey.js.map +0 -1
- package/components/Button/__creevey__/Button.creevey/package.json +0 -6
- package/components/Calendar/__creevey__/Calendar.creevey/Calendar.creevey.js +0 -138
- package/components/Calendar/__creevey__/Calendar.creevey/Calendar.creevey.js.map +0 -1
- package/components/Calendar/__creevey__/Calendar.creevey/package.json +0 -6
- package/components/Calendar/__creevey__/Calendar.creevey.d.ts +0 -1
- package/components/Checkbox/__creevey__/Checkbox.creevey/Checkbox.creevey.js +0 -487
- package/components/Checkbox/__creevey__/Checkbox.creevey/Checkbox.creevey.js.map +0 -1
- package/components/Checkbox/__creevey__/Checkbox.creevey/package.json +0 -6
- package/components/Checkbox/__creevey__/Checkbox.creevey.d.ts +0 -1
- package/components/ComboBox/__creevey__/ComboBox.creevey/ComboBox.creevey.js +0 -1043
- package/components/ComboBox/__creevey__/ComboBox.creevey/ComboBox.creevey.js.map +0 -1
- package/components/ComboBox/__creevey__/ComboBox.creevey/package.json +0 -6
- package/components/ComboBox/__creevey__/ComboBox.creevey.d.ts +0 -1
- package/components/CurrencyInput/__creevey__/CurrencyInput.creevey/CurrencyInput.creevey.js +0 -114
- package/components/CurrencyInput/__creevey__/CurrencyInput.creevey/CurrencyInput.creevey.js.map +0 -1
- package/components/CurrencyInput/__creevey__/CurrencyInput.creevey/package.json +0 -6
- package/components/CurrencyInput/__creevey__/CurrencyInput.creevey.d.ts +0 -1
- package/components/DateInput/__creevey__/DateInput.creevey/DateInput.creevey.js +0 -367
- package/components/DateInput/__creevey__/DateInput.creevey/DateInput.creevey.js.map +0 -1
- package/components/DateInput/__creevey__/DateInput.creevey/package.json +0 -6
- package/components/DateInput/__creevey__/DateInput.creevey.d.ts +0 -1
- package/components/DatePicker/__creevey__/DatePicker.creevey/DatePicker.creevey.js +0 -395
- package/components/DatePicker/__creevey__/DatePicker.creevey/DatePicker.creevey.js.map +0 -1
- package/components/DatePicker/__creevey__/DatePicker.creevey/package.json +0 -6
- package/components/DatePicker/__creevey__/DatePicker.creevey.d.ts +0 -1
- package/components/DateRangePicker/DateRangePicker/DateRangePicker.js +0 -365
- package/components/DateRangePicker/DateRangePicker/DateRangePicker.js.map +0 -1
- package/components/DateRangePicker/DateRangePicker/package.json +0 -6
- package/components/DateRangePicker/DateRangePicker.d.ts +0 -27
- package/components/DateRangePicker/DateRangePicker.md +0 -298
- package/components/DateRangePicker/DateRangePicker.styles/DateRangePicker.styles.js +0 -23
- package/components/DateRangePicker/DateRangePicker.styles/DateRangePicker.styles.js.map +0 -1
- package/components/DateRangePicker/DateRangePicker.styles/package.json +0 -6
- package/components/DateRangePicker/DateRangePicker.styles.d.ts +0 -9
- package/components/DateRangePicker/DateRangePickerContext/DateRangePickerContext.js +0 -3
- package/components/DateRangePicker/DateRangePickerContext/DateRangePickerContext.js.map +0 -1
- package/components/DateRangePicker/DateRangePickerContext/package.json +0 -6
- package/components/DateRangePicker/DateRangePickerContext.d.ts +0 -28
- package/components/DateRangePicker/DateRangePickerField/DateRangePickerField.js +0 -86
- package/components/DateRangePicker/DateRangePickerField/DateRangePickerField.js.map +0 -1
- package/components/DateRangePicker/DateRangePickerField/package.json +0 -6
- package/components/DateRangePicker/DateRangePickerField.d.ts +0 -7
- package/components/DateRangePicker/DateRangePickerSeparator/DateRangePickerSeparator.js +0 -4
- package/components/DateRangePicker/DateRangePickerSeparator/DateRangePickerSeparator.js.map +0 -1
- package/components/DateRangePicker/DateRangePickerSeparator/package.json +0 -6
- package/components/DateRangePicker/DateRangePickerSeparator.d.ts +0 -2
- package/components/DateRangePicker/DateRangePickerTheme/DateRangePickerTheme.js +0 -21
- package/components/DateRangePicker/DateRangePickerTheme/DateRangePickerTheme.js.map +0 -1
- package/components/DateRangePicker/DateRangePickerTheme/package.json +0 -6
- package/components/DateRangePicker/DateRangePickerTheme.d.ts +0 -3
- package/components/DateRangePicker/MobileDateRangePicker/MobileDateRangePicker.js +0 -48
- package/components/DateRangePicker/MobileDateRangePicker/MobileDateRangePicker.js.map +0 -1
- package/components/DateRangePicker/MobileDateRangePicker/package.json +0 -6
- package/components/DateRangePicker/MobileDateRangePicker.d.ts +0 -7
- package/components/DateRangePicker/MobileDateRangePicker.styles/MobileDateRangePicker.styles.js +0 -11
- package/components/DateRangePicker/MobileDateRangePicker.styles/MobileDateRangePicker.styles.js.map +0 -1
- package/components/DateRangePicker/MobileDateRangePicker.styles/package.json +0 -6
- package/components/DateRangePicker/MobileDateRangePicker.styles.d.ts +0 -4
- package/components/DateRangePicker/__docs__/DateRangePicker.mdx +0 -109
- package/components/DateRangePicker/index/index.js +0 -1
- package/components/DateRangePicker/index/index.js.map +0 -1
- package/components/DateRangePicker/index/package.json +0 -6
- package/components/DateRangePicker/index.d.ts +0 -1
- package/components/DateRangePicker/locale/index/index.js +0 -8
- package/components/DateRangePicker/locale/index/index.js.map +0 -1
- package/components/DateRangePicker/locale/index/package.json +0 -6
- package/components/DateRangePicker/locale/index.d.ts +0 -4
- package/components/DateRangePicker/locale/locales/en/en.js +0 -6
- package/components/DateRangePicker/locale/locales/en/en.js.map +0 -1
- package/components/DateRangePicker/locale/locales/en/package.json +0 -6
- package/components/DateRangePicker/locale/locales/en.d.ts +0 -2
- package/components/DateRangePicker/locale/locales/ru/package.json +0 -6
- package/components/DateRangePicker/locale/locales/ru/ru.js +0 -6
- package/components/DateRangePicker/locale/locales/ru/ru.js.map +0 -1
- package/components/DateRangePicker/locale/locales/ru.d.ts +0 -2
- package/components/DateRangePicker/locale/package.json +0 -6
- package/components/DateRangePicker/locale/types/package.json +0 -6
- package/components/DateRangePicker/locale/types/types.js +0 -1
- package/components/DateRangePicker/locale/types/types.js.map +0 -1
- package/components/DateRangePicker/locale/types.d.ts +0 -5
- package/components/DateRangePicker/package.json +0 -6
- package/components/Dropdown/__creevey__/Dropdown.creevey/Dropdown.creevey.js +0 -417
- package/components/Dropdown/__creevey__/Dropdown.creevey/Dropdown.creevey.js.map +0 -1
- package/components/Dropdown/__creevey__/Dropdown.creevey/package.json +0 -6
- package/components/Dropdown/__creevey__/Dropdown.creevey.d.ts +0 -1
- package/components/DropdownMenu/__creevey__/DropdownMenu.creevey/DropdownMenu.creevey.js +0 -534
- package/components/DropdownMenu/__creevey__/DropdownMenu.creevey/DropdownMenu.creevey.js.map +0 -1
- package/components/DropdownMenu/__creevey__/DropdownMenu.creevey/package.json +0 -6
- package/components/DropdownMenu/__creevey__/DropdownMenu.creevey.d.ts +0 -1
- package/components/FxInput/__creevey__/FxInput.creevey/FxInput.creevey.js +0 -62
- package/components/FxInput/__creevey__/FxInput.creevey/FxInput.creevey.js.map +0 -1
- package/components/FxInput/__creevey__/FxInput.creevey/package.json +0 -6
- package/components/FxInput/__creevey__/FxInput.creevey.d.ts +0 -1
- package/components/Group/__creevey__/Group.creevey/Group.creevey.js +0 -48
- package/components/Group/__creevey__/Group.creevey/Group.creevey.js.map +0 -1
- package/components/Group/__creevey__/Group.creevey/package.json +0 -6
- package/components/Group/__creevey__/Group.creevey.d.ts +0 -1
- package/components/Hint/__creevey__/Hint.creevey/Hint.creevey.js +0 -127
- package/components/Hint/__creevey__/Hint.creevey/Hint.creevey.js.map +0 -1
- package/components/Hint/__creevey__/Hint.creevey/package.json +0 -6
- package/components/Hint/__creevey__/Hint.creevey.d.ts +0 -1
- package/components/Input/__creevey__/Input.creevey/Input.creevey.js +0 -517
- package/components/Input/__creevey__/Input.creevey/Input.creevey.js.map +0 -1
- package/components/Input/__creevey__/Input.creevey/package.json +0 -6
- package/components/Input/__creevey__/Input.creevey.d.ts +0 -1
- package/components/Kebab/__creevey__/Kebab.creevey/Kebab.creevey.js +0 -278
- package/components/Kebab/__creevey__/Kebab.creevey/Kebab.creevey.js.map +0 -1
- package/components/Kebab/__creevey__/Kebab.creevey/package.json +0 -6
- package/components/Kebab/__creevey__/Kebab.creevey.d.ts +0 -1
- package/components/Link/__creevey__/Link.creevey/Link.creevey.js +0 -238
- package/components/Link/__creevey__/Link.creevey/Link.creevey.js.map +0 -1
- package/components/Link/__creevey__/Link.creevey/package.json +0 -6
- package/components/Link/__creevey__/Link.creevey.d.ts +0 -1
- package/components/Loader/__creevey__/Loader.creevey/Loader.creevey.js +0 -129
- package/components/Loader/__creevey__/Loader.creevey/Loader.creevey.js.map +0 -1
- package/components/Loader/__creevey__/Loader.creevey/package.json +0 -6
- package/components/Loader/__creevey__/Loader.creevey.d.ts +0 -1
- package/components/MaskedInput/__creevey__/MaskedInput.creevey/MaskedInput.creevey.js +0 -405
- package/components/MaskedInput/__creevey__/MaskedInput.creevey/MaskedInput.creevey.js.map +0 -1
- package/components/MaskedInput/__creevey__/MaskedInput.creevey/package.json +0 -6
- package/components/MaskedInput/__creevey__/MaskedInput.creevey.d.ts +0 -1
- package/components/Modal/__creevey__/Modal.creevey/Modal.creevey.js +0 -565
- package/components/Modal/__creevey__/Modal.creevey/Modal.creevey.js.map +0 -1
- package/components/Modal/__creevey__/Modal.creevey/package.json +0 -6
- package/components/Modal/__creevey__/Modal.creevey.d.ts +0 -1
- package/components/Paging/__creevey__/Paging.creevey/Paging.creevey.js +0 -190
- package/components/Paging/__creevey__/Paging.creevey/Paging.creevey.js.map +0 -1
- package/components/Paging/__creevey__/Paging.creevey/package.json +0 -6
- package/components/Paging/__creevey__/Paging.creevey.d.ts +0 -1
- package/components/PasswordInput/__creevey__/PasswordInput.creevey/PasswordInput.creevey.js +0 -83
- package/components/PasswordInput/__creevey__/PasswordInput.creevey/PasswordInput.creevey.js.map +0 -1
- package/components/PasswordInput/__creevey__/PasswordInput.creevey/package.json +0 -6
- package/components/PasswordInput/__creevey__/PasswordInput.creevey.d.ts +0 -1
- package/components/Radio/__creevey__/Radio.creevey/Radio.creevey.js +0 -56
- package/components/Radio/__creevey__/Radio.creevey/Radio.creevey.js.map +0 -1
- package/components/Radio/__creevey__/Radio.creevey/package.json +0 -6
- package/components/Radio/__creevey__/Radio.creevey.d.ts +0 -1
- package/components/RadioGroup/__creevey__/RadioGroup.creevey/RadioGroup.creevey.js +0 -167
- package/components/RadioGroup/__creevey__/RadioGroup.creevey/RadioGroup.creevey.js.map +0 -1
- package/components/RadioGroup/__creevey__/RadioGroup.creevey/package.json +0 -6
- package/components/RadioGroup/__creevey__/RadioGroup.creevey.d.ts +0 -1
- package/components/ScrollContainer/__creevey__/ScrollContainer.creevey/ScrollContainer.creevey.js +0 -488
- package/components/ScrollContainer/__creevey__/ScrollContainer.creevey/ScrollContainer.creevey.js.map +0 -1
- package/components/ScrollContainer/__creevey__/ScrollContainer.creevey/package.json +0 -6
- package/components/ScrollContainer/__creevey__/ScrollContainer.creevey.d.ts +0 -1
- package/components/Select/__creevey__/Select.creevey/Select.creevey.js +0 -541
- package/components/Select/__creevey__/Select.creevey/Select.creevey.js.map +0 -1
- package/components/Select/__creevey__/Select.creevey/package.json +0 -6
- package/components/Select/__creevey__/Select.creevey.d.ts +0 -1
- package/components/SidePage/__creevey__/SidePage.creevey/SidePage.creevey.js +0 -697
- package/components/SidePage/__creevey__/SidePage.creevey/SidePage.creevey.js.map +0 -1
- package/components/SidePage/__creevey__/SidePage.creevey/package.json +0 -6
- package/components/SidePage/__creevey__/SidePage.creevey.d.ts +0 -1
- package/components/Sticky/__creevey__/Sticky.creevey/Sticky.creevey.js +0 -215
- package/components/Sticky/__creevey__/Sticky.creevey/Sticky.creevey.js.map +0 -1
- package/components/Sticky/__creevey__/Sticky.creevey/package.json +0 -6
- package/components/Sticky/__creevey__/Sticky.creevey.d.ts +0 -1
- package/components/Switcher/__creevey__/Switcher.creevey/Switcher.creevey.js +0 -58
- package/components/Switcher/__creevey__/Switcher.creevey/Switcher.creevey.js.map +0 -1
- package/components/Switcher/__creevey__/Switcher.creevey/package.json +0 -6
- package/components/Switcher/__creevey__/Switcher.creevey.d.ts +0 -1
- package/components/Tabs/__creevey__/Tabs.creevey/Tabs.creevey.js +0 -391
- package/components/Tabs/__creevey__/Tabs.creevey/Tabs.creevey.js.map +0 -1
- package/components/Tabs/__creevey__/Tabs.creevey/package.json +0 -6
- package/components/Tabs/__creevey__/Tabs.creevey.d.ts +0 -1
- package/components/Textarea/__creevey__/Textarea.creevey/Textarea.creevey.js +0 -404
- package/components/Textarea/__creevey__/Textarea.creevey/Textarea.creevey.js.map +0 -1
- package/components/Textarea/__creevey__/Textarea.creevey/package.json +0 -6
- package/components/Textarea/__creevey__/Textarea.creevey.d.ts +0 -1
- package/components/Toast/__creevey__/Toast.creevey/Toast.creevey.js +0 -70
- package/components/Toast/__creevey__/Toast.creevey/Toast.creevey.js.map +0 -1
- package/components/Toast/__creevey__/Toast.creevey/package.json +0 -6
- package/components/Toast/__creevey__/Toast.creevey.d.ts +0 -1
- package/components/Toggle/__creevey__/Toggle.creevey/Toggle.creevey.js +0 -195
- package/components/Toggle/__creevey__/Toggle.creevey/Toggle.creevey.js.map +0 -1
- package/components/Toggle/__creevey__/Toggle.creevey/package.json +0 -6
- package/components/Toggle/__creevey__/Toggle.creevey.d.ts +0 -1
- package/components/TokenInput/__creevey__/TokenInput.creevey/TokenInput.creevey.js +0 -635
- package/components/TokenInput/__creevey__/TokenInput.creevey/TokenInput.creevey.js.map +0 -1
- package/components/TokenInput/__creevey__/TokenInput.creevey/package.json +0 -6
- package/components/TokenInput/__creevey__/TokenInput.creevey.d.ts +0 -1
- package/components/Tooltip/__creevey__/Tooltip.creevey/Tooltip.creevey.js +0 -1171
- package/components/Tooltip/__creevey__/Tooltip.creevey/Tooltip.creevey.js.map +0 -1
- package/components/Tooltip/__creevey__/Tooltip.creevey/package.json +0 -6
- package/components/Tooltip/__creevey__/Tooltip.creevey.d.ts +0 -1
- package/components/TooltipMenu/__creevey__/TooltipMenu.creevey/TooltipMenu.creevey.js +0 -277
- package/components/TooltipMenu/__creevey__/TooltipMenu.creevey/TooltipMenu.creevey.js.map +0 -1
- package/components/TooltipMenu/__creevey__/TooltipMenu.creevey/package.json +0 -6
- package/components/TooltipMenu/__creevey__/TooltipMenu.creevey.d.ts +0 -1
- package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey/CloseButtonIcon.creevey.js +0 -78
- package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey/CloseButtonIcon.creevey.js.map +0 -1
- package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey/package.json +0 -6
- package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.d.ts +0 -1
- package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey/ComboBoxView.creevey.js +0 -58
- package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey/ComboBoxView.creevey.js.map +0 -1
- package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey/package.json +0 -6
- package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.d.ts +0 -1
- package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey/FileUploaderFile.creevey.js +0 -41
- package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey/FileUploaderFile.creevey.js.map +0 -1
- package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey/package.json +0 -6
- package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.d.ts +0 -1
- package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey/HideBodyVerticalScroll.creevey.js +0 -199
- package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey/HideBodyVerticalScroll.creevey.js.map +0 -1
- package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey/package.json +0 -6
- package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.d.ts +0 -1
- package/internal/Menu/__creevey__/Menu.creevey/Menu.creevey.js +0 -196
- package/internal/Menu/__creevey__/Menu.creevey/Menu.creevey.js.map +0 -1
- package/internal/Menu/__creevey__/Menu.creevey/package.json +0 -6
- package/internal/Menu/__creevey__/Menu.creevey.d.ts +0 -1
- package/internal/PopupMenu/__creevey__/PopupMenu.creevey/PopupMenu.creevey.js +0 -69
- package/internal/PopupMenu/__creevey__/PopupMenu.creevey/PopupMenu.creevey.js.map +0 -1
- package/internal/PopupMenu/__creevey__/PopupMenu.creevey/package.json +0 -6
- package/internal/PopupMenu/__creevey__/PopupMenu.creevey.d.ts +0 -1
- package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey/ThemeProvider.creevey.js +0 -145
- package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey/ThemeProvider.creevey.js.map +0 -1
- package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey/package.json +0 -6
- package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.d.ts +0 -1
- package/internal/ZIndex/__creevey__/ZIndex.creevey/ZIndex.creevey.js +0 -550
- package/internal/ZIndex/__creevey__/ZIndex.creevey/ZIndex.creevey.js.map +0 -1
- package/internal/ZIndex/__creevey__/ZIndex.creevey/package.json +0 -6
- package/internal/ZIndex/__creevey__/ZIndex.creevey.d.ts +0 -1
- package/internal/themes/BasicDarkTheme/BasicDarkTheme.js +0 -646
- package/internal/themes/BasicDarkTheme/BasicDarkTheme.js.map +0 -1
- package/internal/themes/BasicDarkTheme/package.json +0 -6
- package/internal/themes/BasicDarkTheme.d.ts +0 -293
- package/lib/theming/themes/DarkTheme2022_0/DarkTheme2022_0.js +0 -3
- package/lib/theming/themes/DarkTheme2022_0/DarkTheme2022_0.js.map +0 -1
- package/lib/theming/themes/DarkTheme2022_0/package.json +0 -6
- package/lib/theming/themes/DarkTheme2022_0.d.ts +0 -1
- package/lib/theming/themes/LightTheme2022_0/LightTheme2022_0.js +0 -3
- package/lib/theming/themes/LightTheme2022_0/LightTheme2022_0.js.map +0 -1
- package/lib/theming/themes/LightTheme2022_0/package.json +0 -6
- package/lib/theming/themes/LightTheme2022_0.d.ts +0 -1
- /package/{cjs/components/Autocomplete/__creevey__/Autocomplete.creevey.d.ts → components/Autocomplete/__creevey__/Autocomplete.creevey.d.mts} +0 -0
- /package/{cjs/components/Button/__creevey__/Button.creevey.d.ts → components/Button/__creevey__/Button.creevey.d.mts} +0 -0
- /package/{cjs/components/Calendar/__creevey__/Calendar.creevey.d.ts → components/Calendar/__creevey__/Calendar.creevey.d.mts} +0 -0
- /package/{cjs/components/Checkbox/__creevey__/Checkbox.creevey.d.ts → components/Checkbox/__creevey__/Checkbox.creevey.d.mts} +0 -0
- /package/{cjs/components/ComboBox/__creevey__/ComboBox.creevey.d.ts → components/ComboBox/__creevey__/ComboBox.creevey.d.mts} +0 -0
- /package/{cjs/components/CurrencyInput/__creevey__/CurrencyInput.creevey.d.ts → components/CurrencyInput/__creevey__/CurrencyInput.creevey.d.mts} +0 -0
- /package/{cjs/components/DateInput/__creevey__/DateInput.creevey.d.ts → components/DateInput/__creevey__/DateInput.creevey.d.mts} +0 -0
- /package/{cjs/components/DatePicker/__creevey__/DatePicker.creevey.d.ts → components/DatePicker/__creevey__/DatePicker.creevey.d.mts} +0 -0
- /package/{cjs/components/Dropdown/__creevey__/Dropdown.creevey.d.ts → components/Dropdown/__creevey__/Dropdown.creevey.d.mts} +0 -0
- /package/{cjs/components/DropdownMenu/__creevey__/DropdownMenu.creevey.d.ts → components/DropdownMenu/__creevey__/DropdownMenu.creevey.d.mts} +0 -0
- /package/{cjs/components/FxInput/__creevey__/FxInput.creevey.d.ts → components/FxInput/__creevey__/FxInput.creevey.d.mts} +0 -0
- /package/{cjs/components/Group/__creevey__/Group.creevey.d.ts → components/Group/__creevey__/Group.creevey.d.mts} +0 -0
- /package/{cjs/components/Hint/__creevey__/Hint.creevey.d.ts → components/Hint/__creevey__/Hint.creevey.d.mts} +0 -0
- /package/{cjs/components/Input/__creevey__/Input.creevey.d.ts → components/Input/__creevey__/Input.creevey.d.mts} +0 -0
- /package/{cjs/components/Kebab/__creevey__/Kebab.creevey.d.ts → components/Kebab/__creevey__/Kebab.creevey.d.mts} +0 -0
- /package/{cjs/components/Link/__creevey__/Link.creevey.d.ts → components/Link/__creevey__/Link.creevey.d.mts} +0 -0
- /package/{cjs/components/Loader/__creevey__/Loader.creevey.d.ts → components/Loader/__creevey__/Loader.creevey.d.mts} +0 -0
- /package/{cjs/components/MaskedInput/__creevey__/MaskedInput.creevey.d.ts → components/MaskedInput/__creevey__/MaskedInput.creevey.d.mts} +0 -0
- /package/{cjs/components/Modal/__creevey__/Modal.creevey.d.ts → components/Modal/__creevey__/Modal.creevey.d.mts} +0 -0
- /package/{cjs/components/Paging/__creevey__/Paging.creevey.d.ts → components/Paging/__creevey__/Paging.creevey.d.mts} +0 -0
- /package/{cjs/components/PasswordInput/__creevey__/PasswordInput.creevey.d.ts → components/PasswordInput/__creevey__/PasswordInput.creevey.d.mts} +0 -0
- /package/{cjs/components/Radio/__creevey__/Radio.creevey.d.ts → components/Radio/__creevey__/Radio.creevey.d.mts} +0 -0
- /package/{cjs/components/RadioGroup/__creevey__/RadioGroup.creevey.d.ts → components/RadioGroup/__creevey__/RadioGroup.creevey.d.mts} +0 -0
- /package/{cjs/components/ScrollContainer/__creevey__/ScrollContainer.creevey.d.ts → components/ScrollContainer/__creevey__/ScrollContainer.creevey.d.mts} +0 -0
- /package/{cjs/components/Select/__creevey__/Select.creevey.d.ts → components/Select/__creevey__/Select.creevey.d.mts} +0 -0
- /package/{cjs/components/SidePage/__creevey__/SidePage.creevey.d.ts → components/SidePage/__creevey__/SidePage.creevey.d.mts} +0 -0
- /package/{cjs/components/Sticky/__creevey__/Sticky.creevey.d.ts → components/Sticky/__creevey__/Sticky.creevey.d.mts} +0 -0
- /package/{cjs/components/Switcher/__creevey__/Switcher.creevey.d.ts → components/Switcher/__creevey__/Switcher.creevey.d.mts} +0 -0
- /package/{cjs/components/Tabs/__creevey__/Tabs.creevey.d.ts → components/Tabs/__creevey__/Tabs.creevey.d.mts} +0 -0
- /package/{cjs/components/Textarea/__creevey__/Textarea.creevey.d.ts → components/Textarea/__creevey__/Textarea.creevey.d.mts} +0 -0
- /package/{cjs/components/Toast/__creevey__/Toast.creevey.d.ts → components/Toast/__creevey__/Toast.creevey.d.mts} +0 -0
- /package/{cjs/components/Toggle/__creevey__/Toggle.creevey.d.ts → components/Toggle/__creevey__/Toggle.creevey.d.mts} +0 -0
- /package/{cjs/components/TokenInput/__creevey__/TokenInput.creevey.d.ts → components/TokenInput/__creevey__/TokenInput.creevey.d.mts} +0 -0
- /package/{cjs/components/Tooltip/__creevey__/Tooltip.creevey.d.ts → components/Tooltip/__creevey__/Tooltip.creevey.d.mts} +0 -0
- /package/{cjs/components/TooltipMenu/__creevey__/TooltipMenu.creevey.d.ts → components/TooltipMenu/__creevey__/TooltipMenu.creevey.d.mts} +0 -0
- /package/{cjs/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.d.ts → internal/ClearCrossIcon/__creevey__/ClearCrossIcon.creevey.d.mts} +0 -0
- /package/{cjs/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.d.ts → internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.d.mts} +0 -0
- /package/{cjs/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.d.ts → internal/CustomComboBox/__creevey__/ComboBoxView.creevey.d.mts} +0 -0
- /package/{cjs/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.d.ts → internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.d.mts} +0 -0
- /package/{cjs/internal/Menu/__creevey__/Menu.creevey.d.ts → internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.d.mts} +0 -0
- /package/{cjs/internal/PopupMenu/__creevey__/PopupMenu.creevey.d.ts → internal/Menu/__creevey__/Menu.creevey.d.mts} +0 -0
- /package/{cjs/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.d.ts → internal/PopupMenu/__creevey__/PopupMenu.creevey.d.mts} +0 -0
- /package/{cjs/internal/ZIndex/__creevey__/ZIndex.creevey.d.ts → internal/ThemePlayground/__creevey__/Theme5_0.creevey.d.mts} +0 -0
- /package/{components/Autocomplete/__creevey__/Autocomplete.creevey.d.ts → internal/ThemePlayground/__creevey__/ThemeProvider.creevey.d.mts} +0 -0
- /package/{components/Button/__creevey__/Button.creevey.d.ts → internal/ZIndex/__creevey__/ZIndex.creevey.d.mts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DarkTheme5_1: Readonly<typeof import("./BasicTheme").BasicThemeClass>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;exports.__esModule = true;exports.DarkTheme5_1 = void 0;var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose"));var _ThemeHelpers = require("../../lib/theming/ThemeHelpers");
|
|
2
|
+
|
|
3
|
+
var _BasicTheme = require("./BasicTheme");
|
|
4
|
+
var _DarkTheme5_2 = require("./DarkTheme5_0");var _DarkTheme5_;
|
|
5
|
+
|
|
6
|
+
var DarkTheme5_1 = exports.DarkTheme5_1 = (0, _ThemeHelpers.createTheme)({
|
|
7
|
+
themeClass: (_DarkTheme5_ = /*#__PURE__*/function (_BasicThemeClassForEx) {function DarkTheme5_1() {return _BasicThemeClassForEx.apply(this, arguments) || this;}(0, _inheritsLoose2.default)(DarkTheme5_1, _BasicThemeClassForEx);return (0, _createClass2.default)(DarkTheme5_1, null, [{ key: "mobileModalCloseButtonRightPadding", get:
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
function get() {
|
|
13
|
+
return this.mobileModalCloseButtonClickArea;
|
|
14
|
+
} }, { key: "mobileModalCloseButtonTopPadding", get:
|
|
15
|
+
function get() {
|
|
16
|
+
return this.mobileModalCloseButtonClickArea;
|
|
17
|
+
} }, { key: "mobileSidePageCloseButtonPadding", get:
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
function get() {
|
|
21
|
+
return this.mobileSidePageCloseButtonClickArea;
|
|
22
|
+
} }, { key: "sidePageCloseButtonClickAreaTop", get:
|
|
23
|
+
function get() {
|
|
24
|
+
return this.modalCloseButtonClickAreaTop;
|
|
25
|
+
} }, { key: "sidePageCloseButtonClickAreaBottom", get:
|
|
26
|
+
function get() {
|
|
27
|
+
return this.modalCloseButtonClickAreaBottom;
|
|
28
|
+
} }, { key: "sidePageCloseButtonClickAreaLeft", get:
|
|
29
|
+
function get() {
|
|
30
|
+
return this.modalCloseButtonClickAreaLeft;
|
|
31
|
+
} }, { key: "sidePageCloseButtonClickAreaRight", get:
|
|
32
|
+
function get() {
|
|
33
|
+
return this.modalCloseButtonClickAreaRight;
|
|
34
|
+
} }]);}(_BasicTheme.BasicThemeClassForExtension), _DarkTheme5_.modalCloseButtonClickAreaTop = '30px', _DarkTheme5_.modalCloseButtonClickAreaBottom = '22px', _DarkTheme5_.modalCloseButtonClickAreaLeft = '24px', _DarkTheme5_.modalCloseButtonClickAreaRight = '28px', _DarkTheme5_.mobileModalCloseButtonClickArea = '22px', _DarkTheme5_.sidePageHeaderStickyOffset = '10px', _DarkTheme5_.
|
|
35
|
+
mobileSidePageCloseButtonClickArea = '22px', _DarkTheme5_.
|
|
36
|
+
sidePageCloseButtonWrapperFixedOffsetTop = '4px', _DarkTheme5_.
|
|
37
|
+
sidePageCloseButtonWrapperOffsetTop = '2px', _DarkTheme5_),
|
|
38
|
+
|
|
39
|
+
prototypeTheme: _DarkTheme5_2.DarkTheme5_0,
|
|
40
|
+
themeMarkers: [(0, _ThemeHelpers.markThemeVersion)('5.1')]
|
|
41
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_ThemeHelpers","require","_BasicTheme","_DarkTheme5_2","_DarkTheme5_","DarkTheme5_1","exports","createTheme","themeClass","_BasicThemeClassForEx","apply","arguments","_inheritsLoose2","default","_createClass2","key","get","mobileModalCloseButtonClickArea","mobileSidePageCloseButtonClickArea","modalCloseButtonClickAreaTop","modalCloseButtonClickAreaBottom","modalCloseButtonClickAreaLeft","modalCloseButtonClickAreaRight","BasicThemeClassForExtension","sidePageHeaderStickyOffset","sidePageCloseButtonWrapperFixedOffsetTop","sidePageCloseButtonWrapperOffsetTop","prototypeTheme","DarkTheme5_0","themeMarkers","markThemeVersion"],"sources":["DarkTheme5_1.ts"],"sourcesContent":["import { createTheme, markThemeVersion } from '../../lib/theming/ThemeHelpers';\n\nimport { BasicThemeClassForExtension } from './BasicTheme';\nimport { DarkTheme5_0 } from './DarkTheme5_0';\n\nexport const DarkTheme5_1 = createTheme({\n themeClass: class DarkTheme5_1 extends BasicThemeClassForExtension {\n public static modalCloseButtonClickAreaTop = '30px';\n public static modalCloseButtonClickAreaBottom = '22px';\n public static modalCloseButtonClickAreaLeft = '24px';\n public static modalCloseButtonClickAreaRight = '28px';\n public static get mobileModalCloseButtonRightPadding() {\n return this.mobileModalCloseButtonClickArea;\n }\n public static get mobileModalCloseButtonTopPadding() {\n return this.mobileModalCloseButtonClickArea;\n }\n public static mobileModalCloseButtonClickArea = '22px';\n public static sidePageHeaderStickyOffset = '10px';\n public static get mobileSidePageCloseButtonPadding() {\n return this.mobileSidePageCloseButtonClickArea;\n }\n public static get sidePageCloseButtonClickAreaTop() {\n return this.modalCloseButtonClickAreaTop;\n }\n public static get sidePageCloseButtonClickAreaBottom() {\n return this.modalCloseButtonClickAreaBottom;\n }\n public static get sidePageCloseButtonClickAreaLeft() {\n return this.modalCloseButtonClickAreaLeft;\n }\n public static get sidePageCloseButtonClickAreaRight() {\n return this.modalCloseButtonClickAreaRight;\n }\n public static mobileSidePageCloseButtonClickArea = '22px';\n public static sidePageCloseButtonWrapperFixedOffsetTop = '4px';\n public static sidePageCloseButtonWrapperOffsetTop = '2px';\n },\n prototypeTheme: DarkTheme5_0,\n themeMarkers: [markThemeVersion('5.1')],\n});\n"],"mappings":"0VAAA,IAAAA,aAAA,GAAAC,OAAA;;AAEA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA,mBAA8C,IAAAG,YAAA;;AAEvC,IAAMC,YAAY,GAAAC,OAAA,CAAAD,YAAA,GAAG,IAAAE,yBAAW,EAAC;EACtCC,UAAU,GAAAJ,YAAA,0BAAAK,qBAAA,YAAAJ,aAAA,UAAAI,qBAAA,CAAAC,KAAA,OAAAC,SAAA,eAAAC,eAAA,CAAAC,OAAA,EAAAR,YAAA,EAAAI,qBAAA,aAAAK,aAAA,CAAAD,OAAA,EAAAR,YAAA,WAAAU,GAAA,wCAAAC,GAAA;;;;;MAKR,SAAAA,IAAA,EAAuD;QACrD,OAAO,IAAI,CAACC,+BAA+B;MAC7C,CAAC,MAAAF,GAAA,sCAAAC,GAAA;MACD,SAAAA,IAAA,EAAqD;QACnD,OAAO,IAAI,CAACC,+BAA+B;MAC7C,CAAC,MAAAF,GAAA,sCAAAC,GAAA;;;MAGD,SAAAA,IAAA,EAAqD;QACnD,OAAO,IAAI,CAACE,kCAAkC;MAChD,CAAC,MAAAH,GAAA,qCAAAC,GAAA;MACD,SAAAA,IAAA,EAAoD;QAClD,OAAO,IAAI,CAACG,4BAA4B;MAC1C,CAAC,MAAAJ,GAAA,wCAAAC,GAAA;MACD,SAAAA,IAAA,EAAuD;QACrD,OAAO,IAAI,CAACI,+BAA+B;MAC7C,CAAC,MAAAL,GAAA,sCAAAC,GAAA;MACD,SAAAA,IAAA,EAAqD;QACnD,OAAO,IAAI,CAACK,6BAA6B;MAC3C,CAAC,MAAAN,GAAA,uCAAAC,GAAA;MACD,SAAAA,IAAA,EAAsD;QACpD,OAAO,IAAI,CAACM,8BAA8B;MAC5C,CAAC,OA3BoCC,uCAA2B,GAAAnB,YAAA,CAClDe,4BAA4B,GAAG,MAAM,EAAAf,YAAA,CACrCgB,+BAA+B,GAAG,MAAM,EAAAhB,YAAA,CACxCiB,6BAA6B,GAAG,MAAM,EAAAjB,YAAA,CACtCkB,8BAA8B,GAAG,MAAM,EAAAlB,YAAA,CAOvCa,+BAA+B,GAAG,MAAM,EAAAb,YAAA,CACxCoB,0BAA0B,GAAG,MAAM,EAAApB,YAAA;EAgBnCc,kCAAkC,GAAG,MAAM,EAAAd,YAAA;EAC3CqB,wCAAwC,GAAG,KAAK,EAAArB,YAAA;EAChDsB,mCAAmC,GAAG,KAAK,EAAAtB,YAAA,CAC1D;;EACDuB,cAAc,EAAEC,0BAAY;EAC5BC,YAAY,EAAE,CAAC,IAAAC,8BAAgB,EAAC,KAAK,CAAC;AACxC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LightTheme5_0: Readonly<typeof import("./BasicTheme").BasicThemeClass>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;exports.__esModule = true;exports.LightTheme5_0 = void 0;var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose"));var _ThemeHelpers = require("../../lib/theming/ThemeHelpers");
|
|
2
|
+
|
|
3
|
+
var _BasicTheme = require("./BasicTheme");
|
|
4
|
+
|
|
5
|
+
var LightTheme5_0 = exports.LightTheme5_0 = (0, _ThemeHelpers.createTheme)({
|
|
6
|
+
themeClass: /*#__PURE__*/function (_BasicThemeClassForEx) {function LightTheme5_0() {return _BasicThemeClassForEx.apply(this, arguments) || this;}(0, _inheritsLoose2.default)(LightTheme5_0, _BasicThemeClassForEx);return LightTheme5_0;}(_BasicTheme.BasicThemeClassForExtension),
|
|
7
|
+
prototypeTheme: _BasicTheme.BasicTheme,
|
|
8
|
+
themeMarkers: [(0, _ThemeHelpers.markThemeVersion)('5.0')]
|
|
9
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_ThemeHelpers","require","_BasicTheme","LightTheme5_0","exports","createTheme","themeClass","_BasicThemeClassForEx","apply","arguments","_inheritsLoose2","default","BasicThemeClassForExtension","prototypeTheme","BasicTheme","themeMarkers","markThemeVersion"],"sources":["LightTheme5_0.ts"],"sourcesContent":["import { createTheme, markThemeVersion } from '../../lib/theming/ThemeHelpers';\n\nimport { BasicTheme, BasicThemeClassForExtension } from './BasicTheme';\n\nexport const LightTheme5_0 = createTheme({\n themeClass: class LightTheme5_0 extends BasicThemeClassForExtension {},\n prototypeTheme: BasicTheme,\n themeMarkers: [markThemeVersion('5.0')],\n});\n"],"mappings":"iQAAA,IAAAA,aAAA,GAAAC,OAAA;;AAEA,IAAAC,WAAA,GAAAD,OAAA;;AAEO,IAAME,aAAa,GAAAC,OAAA,CAAAD,aAAA,GAAG,IAAAE,yBAAW,EAAC;EACvCC,UAAU,yBAAAC,qBAAA,YAAAJ,cAAA,UAAAI,qBAAA,CAAAC,KAAA,OAAAC,SAAA,eAAAC,eAAA,CAAAC,OAAA,EAAAR,aAAA,EAAAI,qBAAA,SAAAJ,aAAA,GAA8BS,uCAA2B,CAAG;EACtEC,cAAc,EAAEC,sBAAU;EAC1BC,YAAY,EAAE,CAAC,IAAAC,8BAAgB,EAAC,KAAK,CAAC;AACxC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LightTheme5_1: Readonly<typeof import("./BasicTheme").BasicThemeClass>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;exports.__esModule = true;exports.LightTheme5_1 = void 0;var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose"));var _ThemeHelpers = require("../../lib/theming/ThemeHelpers");
|
|
2
|
+
|
|
3
|
+
var _BasicTheme = require("./BasicTheme");
|
|
4
|
+
var _LightTheme5_2 = require("./LightTheme5_0");var _LightTheme5_;
|
|
5
|
+
|
|
6
|
+
var LightTheme5_1 = exports.LightTheme5_1 = (0, _ThemeHelpers.createTheme)({
|
|
7
|
+
themeClass: (_LightTheme5_ = /*#__PURE__*/function (_BasicThemeClassForEx) {function LightTheme5_1() {return _BasicThemeClassForEx.apply(this, arguments) || this;}(0, _inheritsLoose2.default)(LightTheme5_1, _BasicThemeClassForEx);return (0, _createClass2.default)(LightTheme5_1, null, [{ key: "mobileModalCloseButtonRightPadding", get:
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
function get() {
|
|
13
|
+
return this.mobileModalCloseButtonClickArea;
|
|
14
|
+
} }, { key: "mobileModalCloseButtonTopPadding", get:
|
|
15
|
+
function get() {
|
|
16
|
+
return this.mobileModalCloseButtonClickArea;
|
|
17
|
+
} }, { key: "mobileSidePageCloseButtonPadding", get:
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
function get() {
|
|
21
|
+
return this.mobileSidePageCloseButtonClickArea;
|
|
22
|
+
} }, { key: "sidePageCloseButtonClickAreaTop", get:
|
|
23
|
+
function get() {
|
|
24
|
+
return this.modalCloseButtonClickAreaTop;
|
|
25
|
+
} }, { key: "sidePageCloseButtonClickAreaBottom", get:
|
|
26
|
+
function get() {
|
|
27
|
+
return this.modalCloseButtonClickAreaBottom;
|
|
28
|
+
} }, { key: "sidePageCloseButtonClickAreaLeft", get:
|
|
29
|
+
function get() {
|
|
30
|
+
return this.modalCloseButtonClickAreaLeft;
|
|
31
|
+
} }, { key: "sidePageCloseButtonClickAreaRight", get:
|
|
32
|
+
function get() {
|
|
33
|
+
return this.modalCloseButtonClickAreaRight;
|
|
34
|
+
} }]);}(_BasicTheme.BasicThemeClassForExtension), _LightTheme5_.modalCloseButtonClickAreaTop = '30px', _LightTheme5_.modalCloseButtonClickAreaBottom = '22px', _LightTheme5_.modalCloseButtonClickAreaLeft = '24px', _LightTheme5_.modalCloseButtonClickAreaRight = '28px', _LightTheme5_.mobileModalCloseButtonClickArea = '22px', _LightTheme5_.sidePageHeaderStickyOffset = '10px', _LightTheme5_.
|
|
35
|
+
mobileSidePageCloseButtonClickArea = '22px', _LightTheme5_.
|
|
36
|
+
sidePageCloseButtonWrapperFixedOffsetTop = '4px', _LightTheme5_.
|
|
37
|
+
sidePageCloseButtonWrapperOffsetTop = '2px', _LightTheme5_),
|
|
38
|
+
|
|
39
|
+
prototypeTheme: _LightTheme5_2.LightTheme5_0,
|
|
40
|
+
themeMarkers: [(0, _ThemeHelpers.markThemeVersion)('5.1')]
|
|
41
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_ThemeHelpers","require","_BasicTheme","_LightTheme5_2","_LightTheme5_","LightTheme5_1","exports","createTheme","themeClass","_BasicThemeClassForEx","apply","arguments","_inheritsLoose2","default","_createClass2","key","get","mobileModalCloseButtonClickArea","mobileSidePageCloseButtonClickArea","modalCloseButtonClickAreaTop","modalCloseButtonClickAreaBottom","modalCloseButtonClickAreaLeft","modalCloseButtonClickAreaRight","BasicThemeClassForExtension","sidePageHeaderStickyOffset","sidePageCloseButtonWrapperFixedOffsetTop","sidePageCloseButtonWrapperOffsetTop","prototypeTheme","LightTheme5_0","themeMarkers","markThemeVersion"],"sources":["LightTheme5_1.ts"],"sourcesContent":["import { createTheme, markThemeVersion } from '../../lib/theming/ThemeHelpers';\n\nimport { BasicThemeClassForExtension } from './BasicTheme';\nimport { LightTheme5_0 } from './LightTheme5_0';\n\nexport const LightTheme5_1 = createTheme({\n themeClass: class LightTheme5_1 extends BasicThemeClassForExtension {\n public static modalCloseButtonClickAreaTop = '30px';\n public static modalCloseButtonClickAreaBottom = '22px';\n public static modalCloseButtonClickAreaLeft = '24px';\n public static modalCloseButtonClickAreaRight = '28px';\n public static get mobileModalCloseButtonRightPadding() {\n return this.mobileModalCloseButtonClickArea;\n }\n public static get mobileModalCloseButtonTopPadding() {\n return this.mobileModalCloseButtonClickArea;\n }\n public static mobileModalCloseButtonClickArea = '22px';\n public static sidePageHeaderStickyOffset = '10px';\n public static get mobileSidePageCloseButtonPadding() {\n return this.mobileSidePageCloseButtonClickArea;\n }\n public static get sidePageCloseButtonClickAreaTop() {\n return this.modalCloseButtonClickAreaTop;\n }\n public static get sidePageCloseButtonClickAreaBottom() {\n return this.modalCloseButtonClickAreaBottom;\n }\n public static get sidePageCloseButtonClickAreaLeft() {\n return this.modalCloseButtonClickAreaLeft;\n }\n public static get sidePageCloseButtonClickAreaRight() {\n return this.modalCloseButtonClickAreaRight;\n }\n public static mobileSidePageCloseButtonClickArea = '22px';\n public static sidePageCloseButtonWrapperFixedOffsetTop = '4px';\n public static sidePageCloseButtonWrapperOffsetTop = '2px';\n },\n prototypeTheme: LightTheme5_0,\n themeMarkers: [markThemeVersion('5.1')],\n});\n"],"mappings":"2VAAA,IAAAA,aAAA,GAAAC,OAAA;;AAEA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA,oBAAgD,IAAAG,aAAA;;AAEzC,IAAMC,aAAa,GAAAC,OAAA,CAAAD,aAAA,GAAG,IAAAE,yBAAW,EAAC;EACvCC,UAAU,GAAAJ,aAAA,0BAAAK,qBAAA,YAAAJ,cAAA,UAAAI,qBAAA,CAAAC,KAAA,OAAAC,SAAA,eAAAC,eAAA,CAAAC,OAAA,EAAAR,aAAA,EAAAI,qBAAA,aAAAK,aAAA,CAAAD,OAAA,EAAAR,aAAA,WAAAU,GAAA,wCAAAC,GAAA;;;;;MAKR,SAAAA,IAAA,EAAuD;QACrD,OAAO,IAAI,CAACC,+BAA+B;MAC7C,CAAC,MAAAF,GAAA,sCAAAC,GAAA;MACD,SAAAA,IAAA,EAAqD;QACnD,OAAO,IAAI,CAACC,+BAA+B;MAC7C,CAAC,MAAAF,GAAA,sCAAAC,GAAA;;;MAGD,SAAAA,IAAA,EAAqD;QACnD,OAAO,IAAI,CAACE,kCAAkC;MAChD,CAAC,MAAAH,GAAA,qCAAAC,GAAA;MACD,SAAAA,IAAA,EAAoD;QAClD,OAAO,IAAI,CAACG,4BAA4B;MAC1C,CAAC,MAAAJ,GAAA,wCAAAC,GAAA;MACD,SAAAA,IAAA,EAAuD;QACrD,OAAO,IAAI,CAACI,+BAA+B;MAC7C,CAAC,MAAAL,GAAA,sCAAAC,GAAA;MACD,SAAAA,IAAA,EAAqD;QACnD,OAAO,IAAI,CAACK,6BAA6B;MAC3C,CAAC,MAAAN,GAAA,uCAAAC,GAAA;MACD,SAAAA,IAAA,EAAsD;QACpD,OAAO,IAAI,CAACM,8BAA8B;MAC5C,CAAC,OA3BqCC,uCAA2B,GAAAnB,aAAA,CACnDe,4BAA4B,GAAG,MAAM,EAAAf,aAAA,CACrCgB,+BAA+B,GAAG,MAAM,EAAAhB,aAAA,CACxCiB,6BAA6B,GAAG,MAAM,EAAAjB,aAAA,CACtCkB,8BAA8B,GAAG,MAAM,EAAAlB,aAAA,CAOvCa,+BAA+B,GAAG,MAAM,EAAAb,aAAA,CACxCoB,0BAA0B,GAAG,MAAM,EAAApB,aAAA;EAgBnCc,kCAAkC,GAAG,MAAM,EAAAd,aAAA;EAC3CqB,wCAAwC,GAAG,KAAK,EAAArB,aAAA;EAChDsB,mCAAmC,GAAG,KAAK,EAAAtB,aAAA,CAC1D;;EACDuB,cAAc,EAAEC,4BAAa;EAC7BC,YAAY,EAAE,CAAC,IAAAC,8BAAgB,EAAC,KAAK,CAAC;AACxC,CAAC,CAAC","ignoreList":[]}
|
package/cjs/lib/ModalStack.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export interface ModalStackSubscription {
|
|
|
5
5
|
export declare class ModalStack {
|
|
6
6
|
static add(component: React.Component, onChange: (stack: readonly React.Component[]) => void): ModalStackSubscription;
|
|
7
7
|
static remove(component: React.Component): void;
|
|
8
|
+
static rerender(): void;
|
|
8
9
|
/**
|
|
9
10
|
* Determines if stack component is allowed to block background
|
|
10
11
|
*/
|
package/cjs/lib/ModalStack.js
CHANGED
|
@@ -49,13 +49,17 @@ ModalStack = exports.ModalStack = /*#__PURE__*/function () {function ModalStack(
|
|
|
49
49
|
mounted.splice(index, 1);
|
|
50
50
|
}
|
|
51
51
|
emitter.emit('change');
|
|
52
|
+
};ModalStack.
|
|
53
|
+
rerender = function rerender() {
|
|
54
|
+
var _ModalStack$getStackI3 = ModalStack.getStackInfo(),emitter = _ModalStack$getStackI3.emitter;
|
|
55
|
+
emitter.emit('change');
|
|
52
56
|
}
|
|
53
57
|
|
|
54
58
|
/**
|
|
55
59
|
* Determines if stack component is allowed to block background
|
|
56
60
|
*/;ModalStack.
|
|
57
61
|
isBlocking = function isBlocking(component) {
|
|
58
|
-
var _ModalStack$
|
|
62
|
+
var _ModalStack$getStackI4 = ModalStack.getStackInfo(),mounted = _ModalStack$getStackI4.mounted;
|
|
59
63
|
for (var index = 0; index < mounted.length; index++) {
|
|
60
64
|
if (ModalStack.wantsToBlock(mounted[index])) {
|
|
61
65
|
// only the highest component in stack
|
|
@@ -83,9 +87,7 @@ ModalStack = exports.ModalStack = /*#__PURE__*/function () {function ModalStack(
|
|
|
83
87
|
}
|
|
84
88
|
|
|
85
89
|
if (isSidePage(component)) {
|
|
86
|
-
|
|
87
|
-
var deepestSidePages = mounted.filter(function (i) {return isSidePage(i);}).pop();
|
|
88
|
-
return !!component.props.blockBackground && component === deepestSidePages;
|
|
90
|
+
return !!component.props.blockBackground;
|
|
89
91
|
}
|
|
90
92
|
|
|
91
93
|
return false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_eventemitter","_interopRequireDefault","require","_globalObject","ModalStack","exports","add","component","onChange","_ModalStack$getStackI","getStackInfo","emitter","mounted","unshift","changeHandler","concat","_token","addListener","emit","remove","removeListener","_ModalStack$getStackI2","index","indexOf","splice","
|
|
1
|
+
{"version":3,"names":["_eventemitter","_interopRequireDefault","require","_globalObject","ModalStack","exports","add","component","onChange","_ModalStack$getStackI","getStackInfo","emitter","mounted","unshift","changeHandler","concat","_token","addListener","emit","remove","removeListener","_ModalStack$getStackI2","index","indexOf","splice","rerender","_ModalStack$getStackI3","isBlocking","_ModalStack$getStackI4","length","wantsToBlock","globalWithStack","globalObject","__ReactUIStackInfo","EventEmitter","isModal","isSidePage","props","blockBackground","isReactUIInstance","componentName","instance","constructor","Object","prototype","hasOwnProperty","call","__KONTUR_REACT_UI__"],"sources":["ModalStack.ts"],"sourcesContent":["import React from 'react';\nimport EventEmitter from 'eventemitter3';\nimport { globalObject } from '@skbkontur/global-object';\n\nimport { SidePageProps } from '../components/SidePage';\nimport { ModalProps } from '../components/Modal';\n\ninterface StackInfo {\n emitter: EventEmitter;\n mounted: React.Component[];\n}\n\ninterface GlobalWithStackInfo {\n __ReactUIStackInfo?: StackInfo;\n}\n\nexport interface ModalStackSubscription {\n remove: () => void;\n}\n\nexport class ModalStack {\n public static add(\n component: React.Component,\n onChange: (stack: readonly React.Component[]) => void,\n ): ModalStackSubscription {\n const { emitter, mounted } = ModalStack.getStackInfo();\n mounted.unshift(component);\n const changeHandler = () => onChange([...mounted]);\n const _token = emitter.addListener('change', changeHandler);\n emitter.emit('change');\n return {\n remove: () => {\n // Backwards compatible with versions 0.x and 1.w which using the fbemitter package\n if ('remove' in _token) {\n // @ts-expect-error: `remove` is method of `ModalStack`.\n _token.remove();\n return;\n }\n\n emitter.removeListener('change', changeHandler);\n },\n };\n }\n\n public static remove(component: React.Component) {\n const { emitter, mounted } = ModalStack.getStackInfo();\n const index = mounted.indexOf(component);\n if (index !== -1) {\n mounted.splice(index, 1);\n }\n emitter.emit('change');\n }\n public static rerender() {\n const { emitter } = ModalStack.getStackInfo();\n emitter.emit('change');\n }\n\n /**\n * Determines if stack component is allowed to block background\n */\n public static isBlocking(component: React.Component): boolean {\n const { mounted } = ModalStack.getStackInfo();\n for (let index = 0; index < mounted.length; index++) {\n if (ModalStack.wantsToBlock(mounted[index])) {\n // only the highest component in stack\n // that wants to block is allowed to do it\n return component === mounted[index];\n }\n }\n return false;\n }\n\n private static getStackInfo(): StackInfo {\n const globalWithStack = globalObject as GlobalWithStackInfo;\n return (\n globalWithStack.__ReactUIStackInfo ||\n (globalWithStack.__ReactUIStackInfo = {\n emitter: new EventEmitter(),\n mounted: [],\n })\n );\n }\n\n private static wantsToBlock(component: React.Component): boolean {\n if (isModal(component)) {\n return true;\n }\n\n if (isSidePage(component)) {\n return !!component.props.blockBackground;\n }\n\n return false;\n }\n}\n\n/**\n * Specific check for component type by its instance\n */\nconst isReactUIInstance = <T>(componentName: string) => {\n return (instance: React.Component): instance is React.Component<T> => {\n const { constructor } = instance;\n\n return (\n Object.prototype.hasOwnProperty.call(constructor, '__KONTUR_REACT_UI__') &&\n // @ts-expect-error: React doesn't know about existence of __KONTUR_REACT_UI__.\n constructor.__KONTUR_REACT_UI__ === componentName\n );\n };\n};\n\nconst isSidePage = isReactUIInstance<SidePageProps>('SidePage');\n\nconst isModal = isReactUIInstance<ModalProps>('Modal');\n"],"mappings":";AACA,IAAAA,aAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA,6BAAwD;;;;;;;;;;;;;;;;;;AAkB3CE,UAAU,GAAAC,OAAA,CAAAD,UAAA,sCAAAA,WAAA,IAAAA,UAAA;EACPE,GAAG,GAAjB,SAAAA;EACEC,SAA0B;EAC1BC,QAAqD;EAC7B;IACxB,IAAAC,qBAAA,GAA6BL,UAAU,CAACM,YAAY,CAAC,CAAC,CAA9CC,OAAO,GAAAF,qBAAA,CAAPE,OAAO,CAAEC,OAAO,GAAAH,qBAAA,CAAPG,OAAO;IACxBA,OAAO,CAACC,OAAO,CAACN,SAAS,CAAC;IAC1B,IAAMO,aAAa,GAAG,SAAhBA,aAAaA,CAAA,UAASN,QAAQ,IAAAO,MAAA,CAAKH,OAAO,CAAC,CAAC;IAClD,IAAMI,MAAM,GAAGL,OAAO,CAACM,WAAW,CAAC,QAAQ,EAAEH,aAAa,CAAC;IAC3DH,OAAO,CAACO,IAAI,CAAC,QAAQ,CAAC;IACtB,OAAO;MACLC,MAAM,EAAE,SAAAA,OAAA,EAAM;QACZ;QACA,IAAI,QAAQ,IAAIH,MAAM,EAAE;UACtB;UACAA,MAAM,CAACG,MAAM,CAAC,CAAC;UACf;QACF;;QAEAR,OAAO,CAACS,cAAc,CAAC,QAAQ,EAAEN,aAAa,CAAC;MACjD;IACF,CAAC;EACH,CAAC,CAAAV,UAAA;;EAEae,MAAM,GAApB,SAAAA,OAAqBZ,SAA0B,EAAE;IAC/C,IAAAc,sBAAA,GAA6BjB,UAAU,CAACM,YAAY,CAAC,CAAC,CAA9CC,OAAO,GAAAU,sBAAA,CAAPV,OAAO,CAAEC,OAAO,GAAAS,sBAAA,CAAPT,OAAO;IACxB,IAAMU,KAAK,GAAGV,OAAO,CAACW,OAAO,CAAChB,SAAS,CAAC;IACxC,IAAIe,KAAK,KAAK,CAAC,CAAC,EAAE;MAChBV,OAAO,CAACY,MAAM,CAACF,KAAK,EAAE,CAAC,CAAC;IAC1B;IACAX,OAAO,CAACO,IAAI,CAAC,QAAQ,CAAC;EACxB,CAAC,CAAAd,UAAA;EACaqB,QAAQ,GAAtB,SAAAA,SAAA,EAAyB;IACvB,IAAAC,sBAAA,GAAoBtB,UAAU,CAACM,YAAY,CAAC,CAAC,CAArCC,OAAO,GAAAe,sBAAA,CAAPf,OAAO;IACfA,OAAO,CAACO,IAAI,CAAC,QAAQ,CAAC;EACxB;;EAEA;AACF;AACA,KAFE,CAAAd,UAAA;EAGcuB,UAAU,GAAxB,SAAAA,WAAyBpB,SAA0B,EAAW;IAC5D,IAAAqB,sBAAA,GAAoBxB,UAAU,CAACM,YAAY,CAAC,CAAC,CAArCE,OAAO,GAAAgB,sBAAA,CAAPhB,OAAO;IACf,KAAK,IAAIU,KAAK,GAAG,CAAC,EAAEA,KAAK,GAAGV,OAAO,CAACiB,MAAM,EAAEP,KAAK,EAAE,EAAE;MACnD,IAAIlB,UAAU,CAAC0B,YAAY,CAAClB,OAAO,CAACU,KAAK,CAAC,CAAC,EAAE;QAC3C;QACA;QACA,OAAOf,SAAS,KAAKK,OAAO,CAACU,KAAK,CAAC;MACrC;IACF;IACA,OAAO,KAAK;EACd,CAAC,CAAAlB,UAAA;;EAEcM,YAAY,GAA3B,SAAAA,aAAA,EAAyC;IACvC,IAAMqB,eAAe,GAAGC,0BAAmC;IAC3D;MACED,eAAe,CAACE,kBAAkB;MACjCF,eAAe,CAACE,kBAAkB,GAAG;QACpCtB,OAAO,EAAE,IAAIuB,qBAAY,CAAC,CAAC;QAC3BtB,OAAO,EAAE;MACX,CAAC,CAAC;;EAEN,CAAC,CAAAR,UAAA;;EAEc0B,YAAY,GAA3B,SAAAA,aAA4BvB,SAA0B,EAAW;IAC/D,IAAI4B,OAAO,CAAC5B,SAAS,CAAC,EAAE;MACtB,OAAO,IAAI;IACb;;IAEA,IAAI6B,UAAU,CAAC7B,SAAS,CAAC,EAAE;MACzB,OAAO,CAAC,CAACA,SAAS,CAAC8B,KAAK,CAACC,eAAe;IAC1C;;IAEA,OAAO,KAAK;EACd,CAAC,QAAAlC,UAAA;;;AAGH;AACA;AACA;AACA,IAAMmC,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAOC,aAAqB,EAAK;EACtD,OAAO,UAACC,QAAyB,EAAqC;IACpE,IAAQC,WAAW,GAAKD,QAAQ,CAAxBC,WAAW;;IAEnB;MACEC,MAAM,CAACC,SAAS,CAACC,cAAc,CAACC,IAAI,CAACJ,WAAW,EAAE,qBAAqB,CAAC;MACxE;MACAA,WAAW,CAACK,mBAAmB,KAAKP,aAAa;;EAErD,CAAC;AACH,CAAC;;AAED,IAAMJ,UAAU,GAAGG,iBAAiB,CAAgB,UAAU,CAAC;;AAE/D,IAAMJ,OAAO,GAAGI,iBAAiB,CAAa,OAAO,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const delay: (ms: number) => Promise<unknown>;
|
package/cjs/lib/delay.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_globalObject","require","delay","exports","ms","Promise","resolve","globalObject","setTimeout"],"sources":["delay.ts"],"sourcesContent":["import { globalObject } from '@skbkontur/global-object';\n\nexport const delay = (ms: number) => new Promise((resolve) => globalObject.setTimeout(resolve, ms));\n"],"mappings":"8DAAA,IAAAA,aAAA,GAAAC,OAAA;;AAEO,IAAMC,KAAK,GAAAC,OAAA,CAAAD,KAAA,GAAG,SAARA,KAAKA,CAAIE,EAAU,UAAK,IAAIC,OAAO,CAAC,UAACC,OAAO,UAAKC,0BAAY,CAACC,UAAU,CAACF,OAAO,EAAEF,EAAE,CAAC,GAAC","ignoreList":[]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import { Nullable } from '../typings/utility-types';
|
|
3
|
+
type RefVariants<T> = Nullable<React.RefObject<T> | React.RefCallback<T>>;
|
|
4
|
+
type RefCallback<T> = ReturnType<typeof createRefCallback<T>>;
|
|
5
|
+
/**
|
|
6
|
+
* Позволяет объединить несколько параметров ref в один вызов, в котором во все переданные параметры просетится ref.
|
|
7
|
+
*
|
|
8
|
+
* Кеширует результат возвращаемой функции, так что при одинаковых входных параметрах React-у будет возвращена одинаковая функция.
|
|
9
|
+
* Это позволит не вызывать лишние commitAttachRef и commitDetachRef и не ловить сайдэффекты связанные со значением ref в моменте
|
|
10
|
+
*
|
|
11
|
+
* Не прокидывай в параметрах стрелочные функции, так результат не будет закеширован.
|
|
12
|
+
*
|
|
13
|
+
* @returns function that passed refs: (...refs) =>
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* const SomeComponent = forwardRef((props, ref) => {
|
|
17
|
+
* const localRef = useRef();
|
|
18
|
+
* return <div ref={mergeRefs(localRef, ref)} />;
|
|
19
|
+
* });
|
|
20
|
+
*/
|
|
21
|
+
export declare function mergeRefs<T>(...refs: Array<RefVariants<T>>): RefCallback<T>;
|
|
22
|
+
declare function createRefCallback<T>(refs: Array<RefVariants<T>>): (value: T) => void;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";exports.__esModule = true;exports.mergeRefs = mergeRefs;
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _utils = require("./utils");
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var CALLBACK_AS_KEY = { callbackAsKey: true };
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
var cache = new WeakMap();
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Позволяет объединить несколько параметров ref в один вызов, в котором во все переданные параметры просетится ref.
|
|
18
|
+
*
|
|
19
|
+
* Кеширует результат возвращаемой функции, так что при одинаковых входных параметрах React-у будет возвращена одинаковая функция.
|
|
20
|
+
* Это позволит не вызывать лишние commitAttachRef и commitDetachRef и не ловить сайдэффекты связанные со значением ref в моменте
|
|
21
|
+
*
|
|
22
|
+
* Не прокидывай в параметрах стрелочные функции, так результат не будет закеширован.
|
|
23
|
+
*
|
|
24
|
+
* @returns function that passed refs: (...refs) =>
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* const SomeComponent = forwardRef((props, ref) => {
|
|
28
|
+
* const localRef = useRef();
|
|
29
|
+
* return <div ref={mergeRefs(localRef, ref)} />;
|
|
30
|
+
* });
|
|
31
|
+
*/
|
|
32
|
+
function mergeRefs() {for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {refs[_key] = arguments[_key];}
|
|
33
|
+
var cacheLevel = getLeafRefInCache.apply(void 0, refs);
|
|
34
|
+
|
|
35
|
+
var cachedCallback = cacheLevel.get(CALLBACK_AS_KEY);
|
|
36
|
+
if (cachedCallback && typeof cachedCallback === 'function') {
|
|
37
|
+
return cachedCallback;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
var newRefCallback = createRefCallback(refs);
|
|
41
|
+
cacheLevel.set(CALLBACK_AS_KEY, newRefCallback);
|
|
42
|
+
|
|
43
|
+
return newRefCallback;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function createRefCallback(refs) {
|
|
47
|
+
function applyRef(value) {
|
|
48
|
+
refs.forEach(function (ref) {
|
|
49
|
+
if (typeof ref === 'function') {
|
|
50
|
+
return ref(value);
|
|
51
|
+
} else if ((0, _utils.isNonNullable)(ref)) {
|
|
52
|
+
return ref.current = value;
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
return applyRef;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
function getLeafRefInCache() {
|
|
60
|
+
var cacheLevel = cache;for (var _len2 = arguments.length, refs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {refs[_key2] = arguments[_key2];}
|
|
61
|
+
for (var _i = 0, _refs = refs; _i < _refs.length; _i++) {var ref = _refs[_i];
|
|
62
|
+
if ((0, _utils.isNullable)(ref)) {
|
|
63
|
+
continue;
|
|
64
|
+
}
|
|
65
|
+
var child = cacheLevel.get(ref);
|
|
66
|
+
|
|
67
|
+
if (child && typeof child !== 'function') {
|
|
68
|
+
cacheLevel = child;
|
|
69
|
+
} else {
|
|
70
|
+
var leaf = new WeakMap();
|
|
71
|
+
cacheLevel.set(ref, leaf);
|
|
72
|
+
cacheLevel = leaf;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
return cacheLevel;
|
|
76
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_utils","require","CALLBACK_AS_KEY","callbackAsKey","cache","WeakMap","mergeRefs","_len","arguments","length","refs","Array","_key","cacheLevel","getLeafRefInCache","apply","cachedCallback","get","newRefCallback","createRefCallback","set","applyRef","value","forEach","ref","isNonNullable","current","_len2","_key2","_i","_refs","isNullable","child","leaf"],"sources":["mergeRefs.ts"],"sourcesContent":["import type React from 'react';\n\nimport { Nullable } from '../typings/utility-types';\n\nimport { isNonNullable, isNullable } from './utils';\n\ntype RefVariants<T> = Nullable<React.RefObject<T> | React.RefCallback<T>>;\ntype RefCallback<T> = ReturnType<typeof createRefCallback<T>>;\nconst CALLBACK_AS_KEY = { callbackAsKey: true };\n\ntype CacheKey<T> = NonNullable<RefVariants<T> | typeof CALLBACK_AS_KEY>;\ntype CacheValue<T> = RefCallback<T> | WeakMap<CacheKey<T>, CacheValue<T>>;\n\nconst cache = new WeakMap<CacheKey<any>, CacheValue<any>>();\n\n/**\n * Позволяет объединить несколько параметров ref в один вызов, в котором во все переданные параметры просетится ref.\n *\n * Кеширует результат возвращаемой функции, так что при одинаковых входных параметрах React-у будет возвращена одинаковая функция.\n * Это позволит не вызывать лишние commitAttachRef и commitDetachRef и не ловить сайдэффекты связанные со значением ref в моменте\n *\n * Не прокидывай в параметрах стрелочные функции, так результат не будет закеширован.\n *\n * @returns function that passed refs: (...refs) =>\n *\n * @example\n * const SomeComponent = forwardRef((props, ref) => {\n * const localRef = useRef();\n * return <div ref={mergeRefs(localRef, ref)} />;\n * });\n */\nexport function mergeRefs<T>(...refs: Array<RefVariants<T>>): RefCallback<T> {\n const cacheLevel = getLeafRefInCache(...refs);\n\n const cachedCallback = cacheLevel.get(CALLBACK_AS_KEY);\n if (cachedCallback && typeof cachedCallback === 'function') {\n return cachedCallback;\n }\n\n const newRefCallback = createRefCallback<T>(refs);\n cacheLevel.set(CALLBACK_AS_KEY, newRefCallback);\n\n return newRefCallback;\n}\n\nfunction createRefCallback<T>(refs: Array<RefVariants<T>>) {\n function applyRef(value: T) {\n refs.forEach((ref) => {\n if (typeof ref === 'function') {\n return ref(value);\n } else if (isNonNullable(ref)) {\n return ((ref as React.MutableRefObject<T>).current = value);\n }\n });\n }\n return applyRef;\n}\n\nfunction getLeafRefInCache<T>(...refs: Array<RefVariants<T>>) {\n let cacheLevel = cache;\n for (const ref of refs) {\n if (isNullable(ref)) {\n continue;\n }\n const child = cacheLevel.get(ref);\n\n if (child && typeof child !== 'function') {\n cacheLevel = child;\n } else {\n const leaf = new WeakMap();\n cacheLevel.set(ref, leaf);\n cacheLevel = leaf;\n }\n }\n return cacheLevel;\n}\n"],"mappings":";;;;AAIA,IAAAA,MAAA,GAAAC,OAAA;;;;AAIA,IAAMC,eAAe,GAAG,EAAEC,aAAa,EAAE,IAAI,CAAC,CAAC;;;;;AAK/C,IAAMC,KAAK,GAAG,IAAIC,OAAO,CAAiC,CAAC;;AAE3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,SAASA,CAAA,EAAoD,UAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,EAA7CC,IAAI,OAAAC,KAAA,CAAAJ,IAAA,GAAAK,IAAA,MAAAA,IAAA,GAAAL,IAAA,EAAAK,IAAA,KAAJF,IAAI,CAAAE,IAAA,IAAAJ,SAAA,CAAAI,IAAA;EAClC,IAAMC,UAAU,GAAGC,iBAAiB,CAAAC,KAAA,SAAIL,IAAI,CAAC;;EAE7C,IAAMM,cAAc,GAAGH,UAAU,CAACI,GAAG,CAACf,eAAe,CAAC;EACtD,IAAIc,cAAc,IAAI,OAAOA,cAAc,KAAK,UAAU,EAAE;IAC1D,OAAOA,cAAc;EACvB;;EAEA,IAAME,cAAc,GAAGC,iBAAiB,CAAIT,IAAI,CAAC;EACjDG,UAAU,CAACO,GAAG,CAAClB,eAAe,EAAEgB,cAAc,CAAC;;EAE/C,OAAOA,cAAc;AACvB;;AAEA,SAASC,iBAAiBA,CAAIT,IAA2B,EAAE;EACzD,SAASW,QAAQA,CAACC,KAAQ,EAAE;IAC1BZ,IAAI,CAACa,OAAO,CAAC,UAACC,GAAG,EAAK;MACpB,IAAI,OAAOA,GAAG,KAAK,UAAU,EAAE;QAC7B,OAAOA,GAAG,CAACF,KAAK,CAAC;MACnB,CAAC,MAAM,IAAI,IAAAG,oBAAa,EAACD,GAAG,CAAC,EAAE;QAC7B,OAASA,GAAG,CAA+BE,OAAO,GAAGJ,KAAK;MAC5D;IACF,CAAC,CAAC;EACJ;EACA,OAAOD,QAAQ;AACjB;;AAEA,SAASP,iBAAiBA,CAAA,EAAoC;EAC5D,IAAID,UAAU,GAAGT,KAAK,CAAC,SAAAuB,KAAA,GAAAnB,SAAA,CAAAC,MAAA,EADQC,IAAI,OAAAC,KAAA,CAAAgB,KAAA,GAAAC,KAAA,MAAAA,KAAA,GAAAD,KAAA,EAAAC,KAAA,KAAJlB,IAAI,CAAAkB,KAAA,IAAApB,SAAA,CAAAoB,KAAA;EAEnC,SAAAC,EAAA,MAAAC,KAAA,GAAkBpB,IAAI,EAAAmB,EAAA,GAAAC,KAAA,CAAArB,MAAA,EAAAoB,EAAA,IAAE,CAAnB,IAAML,GAAG,GAAAM,KAAA,CAAAD,EAAA;IACZ,IAAI,IAAAE,iBAAU,EAACP,GAAG,CAAC,EAAE;MACnB;IACF;IACA,IAAMQ,KAAK,GAAGnB,UAAU,CAACI,GAAG,CAACO,GAAG,CAAC;;IAEjC,IAAIQ,KAAK,IAAI,OAAOA,KAAK,KAAK,UAAU,EAAE;MACxCnB,UAAU,GAAGmB,KAAK;IACpB,CAAC,MAAM;MACL,IAAMC,IAAI,GAAG,IAAI5B,OAAO,CAAC,CAAC;MAC1BQ,UAAU,CAACO,GAAG,CAACI,GAAG,EAAES,IAAI,CAAC;MACzBpB,UAAU,GAAGoB,IAAI;IACnB;EACF;EACA,OAAOpB,UAAU;AACnB","ignoreList":[]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type Theme = Readonly<typeof
|
|
3
|
-
export type ThemeIn = Partial<typeof
|
|
1
|
+
import { BasicThemeClass, BasicThemeClassForExtension } from '../../internal/themes/BasicTheme';
|
|
2
|
+
export type Theme = Readonly<typeof BasicThemeClass>;
|
|
3
|
+
export type ThemeIn = Partial<typeof BasicThemeClass>;
|
|
4
|
+
export { BasicThemeClassForExtension };
|
package/cjs/lib/theming/Theme.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.__esModule = true;
|
|
1
|
+
"use strict";exports.__esModule = true;var _BasicTheme = require("../../internal/themes/BasicTheme");exports.BasicThemeClassForExtension = _BasicTheme.BasicThemeClassForExtension;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["Theme.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"names":["_BasicTheme","require","exports","BasicThemeClassForExtension"],"sources":["Theme.ts"],"sourcesContent":["import { BasicThemeClass, BasicThemeClassForExtension } from '../../internal/themes/BasicTheme';\n\nexport type Theme = Readonly<typeof BasicThemeClass>;\nexport type ThemeIn = Partial<typeof BasicThemeClass>;\n\nexport { BasicThemeClassForExtension };\n"],"mappings":"uCAAA,IAAAA,WAAA,GAAAC,OAAA,qCAAgGC,OAAA,CAAAC,2BAAA,GAAAH,WAAA,CAAAG,2BAAA","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const ThemeContext: React.Context<Readonly<
|
|
2
|
+
export declare const ThemeContext: React.Context<Readonly<typeof import("../../internal/themes/BasicTheme").BasicThemeClass>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;exports.__esModule = true;exports.ThemeContext = void 0;var _react = _interopRequireDefault(require("react"));
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _ThemeFactory = require("./ThemeFactory");
|
|
4
4
|
|
|
5
|
-
var ThemeContext = exports.ThemeContext = /*#__PURE__*/_react.default.createContext(
|
|
5
|
+
var ThemeContext = exports.ThemeContext = /*#__PURE__*/_react.default.createContext(_ThemeFactory.ThemeFactory.defaultTheme);
|
|
6
6
|
|
|
7
7
|
ThemeContext.displayName = 'ThemeContext';
|
|
8
8
|
ThemeContext.__KONTUR_REACT_UI__ = 'ThemeContext';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_ThemeFactory","ThemeContext","exports","React","createContext","ThemeFactory","defaultTheme","displayName","__KONTUR_REACT_UI__"],"sources":["ThemeContext.ts"],"sourcesContent":["import React from 'react';\n\nimport { ThemeFactory } from './ThemeFactory';\n\nexport const ThemeContext = React.createContext(ThemeFactory.defaultTheme);\n\nThemeContext.displayName = 'ThemeContext';\nThemeContext.__KONTUR_REACT_UI__ = 'ThemeContext';\n"],"mappings":"kKAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;;AAEA,IAAAC,aAAA,GAAAD,OAAA;;AAEO,IAAME,YAAY,GAAAC,OAAA,CAAAD,YAAA,gBAAGE,cAAK,CAACC,aAAa,CAACC,0BAAY,CAACC,YAAY,CAAC;;AAE1EL,YAAY,CAACM,WAAW,GAAG,cAAc;AACzCN,YAAY,CAACO,mBAAmB,GAAG,cAAc","ignoreList":[]}
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { NoInfer } from '../utils';
|
|
2
2
|
import { Theme, ThemeIn } from './Theme';
|
|
3
3
|
export declare class ThemeFactory {
|
|
4
|
+
/**
|
|
5
|
+
* The default theme created with Object.create() is needed for the "overrideBaseTheme" to work.
|
|
6
|
+
*
|
|
7
|
+
* Themes should be frozen objects. But it is not possible to define properties on frozen objects.
|
|
8
|
+
* So, an object created by Object.create({ *frozen_object* }) acts as frozen too,
|
|
9
|
+
* but allows to apply Object.defineProperty to his own properties.
|
|
10
|
+
*/
|
|
11
|
+
private static readonly overridableDefaultTheme;
|
|
12
|
+
static get defaultTheme(): Theme;
|
|
4
13
|
static create<T>(theme: ThemeIn & NoInfer<T>, baseTheme?: Theme): Readonly<Theme & NoInfer<T>>;
|
|
5
14
|
static overrideBaseTheme(theme: Theme): void;
|
|
6
15
|
static getKeys<T extends Theme>(theme: T): (keyof T)[];
|
|
@@ -1,26 +1,39 @@
|
|
|
1
|
-
"use strict";exports.__esModule = true;exports.ThemeFactory = void 0;var
|
|
2
|
-
var _utils = require("../utils");
|
|
1
|
+
"use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;exports.__esModule = true;exports.ThemeFactory = void 0;var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));var _utils = require("../utils");
|
|
3
2
|
|
|
4
3
|
|
|
5
|
-
var _ThemeHelpers = require("./ThemeHelpers");
|
|
4
|
+
var _ThemeHelpers = require("./ThemeHelpers");
|
|
5
|
+
var _LightTheme = require("./themes/LightTheme");var
|
|
6
6
|
|
|
7
7
|
ThemeFactory = exports.ThemeFactory = /*#__PURE__*/function () {function ThemeFactory() {}ThemeFactory.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
8
21
|
create = function create(theme, baseTheme) {
|
|
9
|
-
var base = baseTheme ||
|
|
22
|
+
var base = baseTheme || this.defaultTheme;
|
|
10
23
|
return this.constructTheme(base, theme);
|
|
11
24
|
};ThemeFactory.
|
|
12
25
|
|
|
13
|
-
overrideBaseTheme = function overrideBaseTheme(theme) {
|
|
26
|
+
overrideBaseTheme = function overrideBaseTheme(theme) {var _this = this;
|
|
14
27
|
// copying theme variables
|
|
15
|
-
ThemeFactory.getKeys(
|
|
28
|
+
ThemeFactory.getKeys(this.defaultTheme).forEach(function (variableName) {
|
|
16
29
|
var descriptor = (0, _ThemeHelpers.findPropertyDescriptor)(theme, variableName);
|
|
17
|
-
Object.defineProperty(
|
|
30
|
+
Object.defineProperty(_this.defaultTheme, variableName, descriptor);
|
|
18
31
|
});
|
|
19
32
|
|
|
20
33
|
// copying theme markers
|
|
21
34
|
Object.values(_ThemeHelpers.REACT_UI_THEME_MARKERS).forEach(function (marker) {
|
|
22
35
|
var descriptor = (0, _ThemeHelpers.findPropertyDescriptor)(theme, marker.key);
|
|
23
|
-
Object.defineProperty(
|
|
36
|
+
Object.defineProperty(_this.defaultTheme, marker.key, descriptor);
|
|
24
37
|
});
|
|
25
38
|
};ThemeFactory.
|
|
26
39
|
|
|
@@ -50,4 +63,10 @@ ThemeFactory = exports.ThemeFactory = /*#__PURE__*/function () {function ThemeFa
|
|
|
50
63
|
});
|
|
51
64
|
|
|
52
65
|
return Object.freeze(newTheme);
|
|
53
|
-
};return ThemeFactory;}();
|
|
66
|
+
};return (0, _createClass2.default)(ThemeFactory, null, [{ key: "defaultTheme", get: function get() {return this.overridableDefaultTheme;} }]);}(); /**
|
|
67
|
+
* The default theme created with Object.create() is needed for the "overrideBaseTheme" to work.
|
|
68
|
+
*
|
|
69
|
+
* Themes should be frozen objects. But it is not possible to define properties on frozen objects.
|
|
70
|
+
* So, an object created by Object.create({ *frozen_object* }) acts as frozen too,
|
|
71
|
+
* but allows to apply Object.defineProperty to his own properties.
|
|
72
|
+
*/ThemeFactory.overridableDefaultTheme = Object.create(_LightTheme.LIGHT_THEME);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_utils","require","_ThemeHelpers","_LightTheme","ThemeFactory","exports","create","theme","baseTheme","base","defaultTheme","constructTheme","overrideBaseTheme","_this","getKeys","forEach","variableName","descriptor","findPropertyDescriptor","Object","defineProperty","values","REACT_UI_THEME_MARKERS","marker","key","keys","isNonNullable","includes","push","getPrototypeOf","sort","newTheme","propName","getOwnPropertyDescriptor","freeze","_createClass2","default","get","overridableDefaultTheme","LIGHT_THEME"],"sources":["ThemeFactory.ts"],"sourcesContent":["import { isNonNullable, NoInfer } from '../utils';\n\nimport { Theme, ThemeIn } from './Theme';\nimport { findPropertyDescriptor, REACT_UI_THEME_MARKERS } from './ThemeHelpers';\nimport { LIGHT_THEME } from './themes/LightTheme';\n\nexport class ThemeFactory {\n /**\n * The default theme created with Object.create() is needed for the \"overrideBaseTheme\" to work.\n *\n * Themes should be frozen objects. But it is not possible to define properties on frozen objects.\n * So, an object created by Object.create({ *frozen_object* }) acts as frozen too,\n * but allows to apply Object.defineProperty to his own properties.\n */\n private static readonly overridableDefaultTheme: Theme = Object.create(LIGHT_THEME);\n\n public static get defaultTheme(): Theme {\n return this.overridableDefaultTheme;\n }\n\n public static create<T>(theme: ThemeIn & NoInfer<T>, baseTheme?: Theme): Readonly<Theme & NoInfer<T>> {\n const base = baseTheme || this.defaultTheme;\n return this.constructTheme(base, theme);\n }\n\n public static overrideBaseTheme(theme: Theme) {\n // copying theme variables\n ThemeFactory.getKeys(this.defaultTheme).forEach((variableName) => {\n const descriptor = findPropertyDescriptor(theme, variableName);\n Object.defineProperty(this.defaultTheme, variableName, descriptor);\n });\n\n // copying theme markers\n Object.values(REACT_UI_THEME_MARKERS).forEach((marker) => {\n const descriptor = findPropertyDescriptor(theme, marker.key);\n Object.defineProperty(this.defaultTheme, marker.key, descriptor);\n });\n }\n\n public static getKeys<T extends Theme>(theme: T) {\n const keys: Array<keyof T> = [];\n while (isNonNullable(theme)) {\n (Object.keys(theme) as typeof keys).forEach((key) => {\n if (!keys.includes(key)) {\n keys.push(key);\n }\n });\n // TODO: Enable `no-param-reassign` rule.\n // eslint-disable-next-line no-param-reassign\n theme = Object.getPrototypeOf(theme);\n }\n\n return keys.sort();\n }\n\n private static constructTheme(base: Theme, theme: ThemeIn) {\n const newTheme = Object.create(base);\n Object.keys(theme).forEach((propName) => {\n const descriptor = Object.getOwnPropertyDescriptor(theme, propName);\n if (descriptor) {\n Object.defineProperty(newTheme, propName, descriptor);\n }\n });\n\n return Object.freeze(newTheme);\n }\n}\n"],"mappings":"4PAAA,IAAAA,MAAA,GAAAC,OAAA;;;AAGA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA,wBAAkD;;AAErCG,YAAY,GAAAC,OAAA,CAAAD,YAAA,sCAAAA,aAAA,IAAAA,YAAA;;;;;;;;;;;;;;EAcTE,MAAM,GAApB,SAAAA,OAAwBC,KAA2B,EAAEC,SAAiB,EAAgC;IACpG,IAAMC,IAAI,GAAGD,SAAS,IAAI,IAAI,CAACE,YAAY;IAC3C,OAAO,IAAI,CAACC,cAAc,CAACF,IAAI,EAAEF,KAAK,CAAC;EACzC,CAAC,CAAAH,YAAA;;EAEaQ,iBAAiB,GAA/B,SAAAA,kBAAgCL,KAAY,EAAE,KAAAM,KAAA;IAC5C;IACAT,YAAY,CAACU,OAAO,CAAC,IAAI,CAACJ,YAAY,CAAC,CAACK,OAAO,CAAC,UAACC,YAAY,EAAK;MAChE,IAAMC,UAAU,GAAG,IAAAC,oCAAsB,EAACX,KAAK,EAAES,YAAY,CAAC;MAC9DG,MAAM,CAACC,cAAc,CAACP,KAAI,CAACH,YAAY,EAAEM,YAAY,EAAEC,UAAU,CAAC;IACpE,CAAC,CAAC;;IAEF;IACAE,MAAM,CAACE,MAAM,CAACC,oCAAsB,CAAC,CAACP,OAAO,CAAC,UAACQ,MAAM,EAAK;MACxD,IAAMN,UAAU,GAAG,IAAAC,oCAAsB,EAACX,KAAK,EAAEgB,MAAM,CAACC,GAAG,CAAC;MAC5DL,MAAM,CAACC,cAAc,CAACP,KAAI,CAACH,YAAY,EAAEa,MAAM,CAACC,GAAG,EAAEP,UAAU,CAAC;IAClE,CAAC,CAAC;EACJ,CAAC,CAAAb,YAAA;;EAEaU,OAAO,GAArB,SAAAA,QAAuCP,KAAQ,EAAE;IAC/C,IAAMkB,IAAoB,GAAG,EAAE;IAC/B,OAAO,IAAAC,oBAAa,EAACnB,KAAK,CAAC,EAAE;MAC1BY,MAAM,CAACM,IAAI,CAAClB,KAAK,CAAC,CAAiBQ,OAAO,CAAC,UAACS,GAAG,EAAK;QACnD,IAAI,CAACC,IAAI,CAACE,QAAQ,CAACH,GAAG,CAAC,EAAE;UACvBC,IAAI,CAACG,IAAI,CAACJ,GAAG,CAAC;QAChB;MACF,CAAC,CAAC;MACF;MACA;MACAjB,KAAK,GAAGY,MAAM,CAACU,cAAc,CAACtB,KAAK,CAAC;IACtC;;IAEA,OAAOkB,IAAI,CAACK,IAAI,CAAC,CAAC;EACpB,CAAC,CAAA1B,YAAA;;EAEcO,cAAc,GAA7B,SAAAA,eAA8BF,IAAW,EAAEF,KAAc,EAAE;IACzD,IAAMwB,QAAQ,GAAGZ,MAAM,CAACb,MAAM,CAACG,IAAI,CAAC;IACpCU,MAAM,CAACM,IAAI,CAAClB,KAAK,CAAC,CAACQ,OAAO,CAAC,UAACiB,QAAQ,EAAK;MACvC,IAAMf,UAAU,GAAGE,MAAM,CAACc,wBAAwB,CAAC1B,KAAK,EAAEyB,QAAQ,CAAC;MACnE,IAAIf,UAAU,EAAE;QACdE,MAAM,CAACC,cAAc,CAACW,QAAQ,EAAEC,QAAQ,EAAEf,UAAU,CAAC;MACvD;IACF,CAAC,CAAC;;IAEF,OAAOE,MAAM,CAACe,MAAM,CAACH,QAAQ,CAAC;EAChC,CAAC,YAAAI,aAAA,CAAAC,OAAA,EAAAhC,YAAA,WAAAoB,GAAA,kBAAAa,GAAA,EAjDD,SAAAA,IAAA,EAAwC,CACtC,OAAO,IAAI,CAACC,uBAAuB,CACrC,CAAC,UAXD;AACF;AACA;AACA;AACA;AACA;AACA,GAPalC,YAAY,CAQCkC,uBAAuB,GAAUnB,MAAM,CAACb,MAAM,CAACiC,uBAAW,CAAC","ignoreList":[]}
|
|
@@ -1,21 +1,68 @@
|
|
|
1
1
|
import { Theme, ThemeIn } from './Theme';
|
|
2
|
-
|
|
2
|
+
import { ThemeVersions } from './ThemeVersions';
|
|
3
|
+
export type Marker = (theme: Theme) => Theme;
|
|
3
4
|
export type Markers = Marker[];
|
|
4
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Makes all computable theme variables (getters) visible to the Object.keys(theme)
|
|
7
|
+
* @param theme Theme object
|
|
8
|
+
* @returns The given theme object with all getters made enumerable
|
|
9
|
+
*/
|
|
10
|
+
export declare const exposeGetters: (theme: Theme) => Theme;
|
|
5
11
|
export declare const REACT_UI_THEME_MARKERS: {
|
|
6
12
|
darkTheme: {
|
|
7
13
|
key: string;
|
|
8
|
-
value:
|
|
14
|
+
value: true;
|
|
9
15
|
};
|
|
10
|
-
|
|
16
|
+
themeVersion: {
|
|
11
17
|
key: string;
|
|
12
|
-
value:
|
|
18
|
+
value: ThemeVersions | null;
|
|
13
19
|
};
|
|
14
20
|
};
|
|
15
21
|
export declare const REACT_UI_DARK_THEME_KEY: string;
|
|
16
22
|
export declare const isDarkTheme: (theme: Theme | ThemeIn) => boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Marks the given theme as "dark"
|
|
25
|
+
* @param theme Theme object
|
|
26
|
+
* @returns The given theme object with a "dark theme" mark
|
|
27
|
+
*/
|
|
17
28
|
export declare const markAsDarkTheme: Marker;
|
|
18
|
-
|
|
19
|
-
|
|
29
|
+
/**
|
|
30
|
+
* Creates a marker for the theme, that will mark it with a version
|
|
31
|
+
* @param version Theme version
|
|
32
|
+
* @returns A marker that marks the given theme with the given version once applied
|
|
33
|
+
*/
|
|
34
|
+
export declare const markThemeVersion: (version: ThemeVersions) => Marker;
|
|
35
|
+
/**
|
|
36
|
+
* Checks if the given theme's version is "greater or equal" then the given version
|
|
37
|
+
* @param theme Theme object
|
|
38
|
+
* @param version A string version
|
|
39
|
+
* @returns Boolean result
|
|
40
|
+
*/
|
|
41
|
+
export declare const isThemeGTE: (theme: Theme | ThemeIn, version: ThemeVersions) => boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Finds the given theme's object property descriptor by its name
|
|
44
|
+
* @param theme Theme object
|
|
45
|
+
* @param propName The property name
|
|
46
|
+
* @returns The found descriptor or an empty object
|
|
47
|
+
*/
|
|
20
48
|
export declare function findPropertyDescriptor(theme: Theme, propName: string): PropertyDescriptor;
|
|
21
|
-
|
|
49
|
+
/**
|
|
50
|
+
* Marks the given theme with the given markers
|
|
51
|
+
* @param theme Theme object
|
|
52
|
+
* @param markers Markers array
|
|
53
|
+
* @returns The given theme marked with the given marks
|
|
54
|
+
*/
|
|
55
|
+
export declare function applyMarkers(theme: Theme, markers: Markers): Theme;
|
|
56
|
+
/**
|
|
57
|
+
* Creates a theme object out of the given class with variables
|
|
58
|
+
* @param options Options object
|
|
59
|
+
* @param options.themeClass A class with variables
|
|
60
|
+
* @param [options.prototypeTheme] An optional prototype theme, that will be the base for the new theme
|
|
61
|
+
* @param [options.themeMarkers] An optional array of markers, that new them will be marked of
|
|
62
|
+
* @returns The new theme object
|
|
63
|
+
*/
|
|
64
|
+
export declare function createTheme(options: {
|
|
65
|
+
themeClass: Theme;
|
|
66
|
+
prototypeTheme?: Theme;
|
|
67
|
+
themeMarkers?: Markers;
|
|
68
|
+
}): Theme;
|