@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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_creevey","require","_utils","focusedLinkTest","test","_asyncToGenerator2","default","_regenerator","mark","_callee","wrap","_callee$","_context","prev","next","browser","actions","bridge","sendKeys","keys","TAB","perform","delay","t0","takeScreenshot","t1","sent","expect","call","to","matchImage","move","origin","findElement","css","t2","t3","stop","linkTests","_callee2","_callee2$","_context2","_callee3","_callee3$","_context3","focusedStyledLinkTest","_callee4","_callee4$","_context4","kind","story","_ref5","setStoryParameters","skip","in","tests","_ref6","_ref7","_ref8","_ref9","_ref10","_ref11","flacky"],"sources":["Link.creevey.ts"],"sourcesContent":["import { story, kind, test } from 'creevey';\n\nimport { delay } from '../../../lib/utils';\n\nconst focusedLinkTest = () => {\n test('tab press', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .sendKeys(this.keys.TAB)\n .perform();\n await delay(1000);\n await this.expect(await this.takeScreenshot()).to.matchImage('tabPress');\n await this.browser\n .actions({\n bridge: true,\n })\n .move({\n origin: this.browser.findElement({ css: 'a' }),\n })\n .perform();\n await delay(1000);\n await this.expect(await this.takeScreenshot()).to.matchImage('tabPressHovered');\n });\n};\nconst linkTests = () => {\n test('idle', async function () {\n await this.expect(await this.takeScreenshot()).to.matchImage('idle');\n });\n\n test('hover', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .move({\n origin: this.browser.findElement({ css: 'a' }),\n })\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('hover');\n });\n};\n\nconst focusedStyledLinkTest = () => {\n test('tab press', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .move({\n origin: this.browser.findElement({ css: 'a' }),\n })\n .perform();\n await delay(1000);\n await this.expect(await this.takeScreenshot()).to.matchImage('hovered');\n await this.browser\n .actions({\n bridge: true,\n })\n .sendKeys(this.keys.TAB)\n .perform();\n await this.browser\n .actions({\n bridge: true,\n })\n .move({\n origin: this.browser.findElement({ css: 'a' }),\n })\n .perform();\n await delay(1000);\n await this.expect(await this.takeScreenshot()).to.matchImage('tabPressHovered');\n });\n};\n\nkind('Link', () => {\n story('Simple', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: {\n 'hover does not work in chrome': {\n in: ['chrome2022', 'chrome2022Dark'],\n tests: ['hover'],\n },\n },\n });\n\n linkTests();\n });\n\n story('WithIcon', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: {\n 'hover does not work in chrome': {\n in: ['chrome2022', 'chrome2022Dark'],\n tests: ['hover'],\n },\n },\n });\n\n linkTests();\n focusedLinkTest();\n });\n\n story('Danger', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: {\n 'hover does not work in chrome': {\n in: ['chrome2022', 'chrome2022Dark'],\n tests: ['hover'],\n },\n },\n });\n\n linkTests();\n });\n\n story('Grayed', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: {\n 'hover does not work in chrome': {\n in: ['chrome2022', 'chrome2022Dark'],\n tests: ['hover'],\n },\n },\n });\n\n linkTests();\n });\n\n story('Disabled', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: {\n 'hover does not work in chrome': {\n in: ['chrome2022', 'chrome2022Dark'],\n tests: ['hover'],\n },\n },\n });\n\n linkTests();\n });\n\n story('Loading', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: {\n 'hover does not work in chrome': {\n in: ['chrome2022', 'chrome2022Dark'],\n tests: ['hover'],\n },\n },\n });\n\n linkTests();\n });\n\n story('FocusedStyledLink', ({ setStoryParameters }) => {\n setStoryParameters({ skip: { flacky: { in: /^(?!\\b(firefox2022)\\b)/ } } });\n\n focusedStyledLinkTest();\n });\n});\n"],"mappings":"+RAAA,IAAAA,QAAA,GAAAC,OAAA;;AAEA,IAAAC,MAAA,GAAAD,OAAA;;AAEA,IAAME,eAAe,GAAG,SAAlBA,eAAeA,CAAA,EAAS;EAC5B,IAAAC,aAAI,EAAC,WAAW,mBAAAC,kBAAA,CAAAC,OAAA,gBAAAC,YAAA,CAAAD,OAAA,CAAAE,IAAA,CAAE,SAAAC,QAAA,UAAAF,YAAA,CAAAD,OAAA,CAAAI,IAAA,UAAAC,SAAAC,QAAA,qBAAAA,QAAA,CAAAC,IAAA,GAAA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,CAAC;;IAEFjB,SAAS,CAAC,CAAC;EACb,CAAC,CAAC;;EAEF,IAAAY,cAAK,EAAC,UAAU,EAAE,UAAAS,KAAA,EAA4B,KAAzBP,kBAAkB,GAAAO,KAAA,CAAlBP,kBAAkB;IACrCA,kBAAkB,CAAC;MACjBC,IAAI,EAAE;QACJ,+BAA+B,EAAE;UAC/BC,EAAE,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;UACpCC,KAAK,EAAE,CAAC,OAAO;QACjB;MACF;IACF,CAAC,CAAC;;IAEFjB,SAAS,CAAC,CAAC;EACb,CAAC,CAAC;;EAEF,IAAAY,cAAK,EAAC,SAAS,EAAE,UAAAU,MAAA,EAA4B,KAAzBR,kBAAkB,GAAAQ,MAAA,CAAlBR,kBAAkB;IACpCA,kBAAkB,CAAC;MACjBC,IAAI,EAAE;QACJ,+BAA+B,EAAE;UAC/BC,EAAE,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;UACpCC,KAAK,EAAE,CAAC,OAAO;QACjB;MACF;IACF,CAAC,CAAC;;IAEFjB,SAAS,CAAC,CAAC;EACb,CAAC,CAAC;;EAEF,IAAAY,cAAK,EAAC,mBAAmB,EAAE,UAAAW,MAAA,EAA4B,KAAzBT,kBAAkB,GAAAS,MAAA,CAAlBT,kBAAkB;IAC9CA,kBAAkB,CAAC,EAAEC,IAAI,EAAE,EAAES,MAAM,EAAE,EAAER,EAAE,EAAE,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;;IAE1ET,qBAAqB,CAAC,CAAC;EACzB,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _creevey = require("creevey");
|
|
2
|
-
|
|
3
|
-
(0, _creevey.kind)('Loader', function () {
|
|
4
|
-
(0, _creevey.story)('ActiveLoader', function () {
|
|
5
|
-
(0, _creevey.test)('covers children', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {var element, button;return _regenerator.default.wrap(function _callee$(_context) {while (1) switch (_context.prev = _context.next) {case 0:_context.next = 2;return (
|
|
6
|
-
this.browser.findElement({ css: '[data-comp-name~="Loader"]' }));case 2:element = _context.sent;_context.next = 5;return (
|
|
7
|
-
this.browser.findElement({ css: '[data-comp-name~="Button"]' }));case 5:button = _context.sent;_context.next = 8;return (
|
|
8
|
-
this.browser.actions({ bridge: true }).click(button).perform());case 8:_context.t0 =
|
|
9
|
-
this;_context.next = 11;return element.takeScreenshot();case 11:_context.t1 = _context.sent;_context.next = 14;return _context.t0.expect.call(_context.t0, _context.t1).to.matchImage('cover children');case 14:case "end":return _context.stop();}}, _callee, this);}))
|
|
10
|
-
);
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
(0, _creevey.story)('InactiveLoader', function () {
|
|
14
|
-
(0, _creevey.test)("doesn't cover children", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {var element, button;return _regenerator.default.wrap(function _callee2$(_context2) {while (1) switch (_context2.prev = _context2.next) {case 0:_context2.next = 2;return (
|
|
15
|
-
this.browser.findElement({ css: '[data-comp-name~="Loader"]' }));case 2:element = _context2.sent;_context2.next = 5;return (
|
|
16
|
-
this.browser.findElement({ css: '[data-comp-name~="Button"]' }));case 5:button = _context2.sent;_context2.next = 8;return (
|
|
17
|
-
this.browser.actions({ bridge: true }).click(button).perform());case 8:_context2.t0 =
|
|
18
|
-
this;_context2.next = 11;return element.takeScreenshot();case 11:_context2.t1 = _context2.sent;_context2.next = 14;return _context2.t0.expect.call(_context2.t0, _context2.t1).to.matchImage("doesn't cover children");case 14:case "end":return _context2.stop();}}, _callee2, this);}))
|
|
19
|
-
);
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
(0, _creevey.story)('FocusInside', function () {
|
|
23
|
-
(0, _creevey.test)('focus inside', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {var loader, toggle, enabled, disabled;return _regenerator.default.wrap(function _callee3$(_context3) {while (1) switch (_context3.prev = _context3.next) {case 0:_context3.next = 2;return (
|
|
24
|
-
this.browser.findElement({ css: '[data-comp-name~="Loader"]' }));case 2:loader = _context3.sent;_context3.next = 5;return (
|
|
25
|
-
this.browser.findElement({ css: '[data-tid~="toggle-loader"]' }));case 5:toggle = _context3.sent;_context3.next = 8;return (
|
|
26
|
-
this.browser.actions().sendKeys(this.keys.TAB).perform());case 8:_context3.next = 10;return (
|
|
27
|
-
loader.takeScreenshot());case 10:enabled = _context3.sent;_context3.next = 13;return (
|
|
28
|
-
this.browser.actions().click(toggle).move({ x: 0, y: 0 }).click().perform());case 13:_context3.next = 15;return (
|
|
29
|
-
this.browser.actions().sendKeys(this.keys.TAB).perform());case 15:_context3.next = 17;return (
|
|
30
|
-
loader.takeScreenshot());case 17:disabled = _context3.sent;_context3.next = 20;return (
|
|
31
|
-
this.expect({ enabled: enabled, disabled: disabled }).to.matchImages());case 20:case "end":return _context3.stop();}}, _callee3, this);}))
|
|
32
|
-
);
|
|
33
|
-
});
|
|
34
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_creevey","require","kind","story","test","_asyncToGenerator2","default","_regenerator","mark","_callee","element","button","wrap","_callee$","_context","prev","next","browser","findElement","css","sent","actions","bridge","click","perform","t0","takeScreenshot","t1","expect","call","to","matchImage","stop","_callee2","_callee2$","_context2","_callee3","loader","toggle","enabled","disabled","_callee3$","_context3","sendKeys","keys","TAB","move","x","y","matchImages"],"sources":["Loader.creevey.ts"],"sourcesContent":["import { story, kind, test } from 'creevey';\n\nkind('Loader', () => {\n story('ActiveLoader', () => {\n test('covers children', async function () {\n const element = await this.browser.findElement({ css: '[data-comp-name~=\"Loader\"]' });\n const button = await this.browser.findElement({ css: '[data-comp-name~=\"Button\"]' });\n await this.browser.actions({ bridge: true }).click(button).perform();\n await this.expect(await element.takeScreenshot()).to.matchImage('cover children');\n });\n });\n\n story('InactiveLoader', () => {\n test(\"doesn't cover children\", async function () {\n const element = await this.browser.findElement({ css: '[data-comp-name~=\"Loader\"]' });\n const button = await this.browser.findElement({ css: '[data-comp-name~=\"Button\"]' });\n await this.browser.actions({ bridge: true }).click(button).perform();\n await this.expect(await element.takeScreenshot()).to.matchImage(\"doesn't cover children\");\n });\n });\n\n story('FocusInside', () => {\n test('focus inside', async function () {\n const loader = await this.browser.findElement({ css: '[data-comp-name~=\"Loader\"]' });\n const toggle = await this.browser.findElement({ css: '[data-tid~=\"toggle-loader\"]' });\n await this.browser.actions().sendKeys(this.keys.TAB).perform();\n const enabled = await loader.takeScreenshot();\n await this.browser.actions().click(toggle).move({ x: 0, y: 0 }).click().perform();\n await this.browser.actions().sendKeys(this.keys.TAB).perform();\n const disabled = await loader.takeScreenshot();\n await this.expect({ enabled, disabled }).to.matchImages();\n });\n });\n});\n"],"mappings":"+RAAA,IAAAA,QAAA,GAAAC,OAAA;;AAEA,IAAAC,aAAI,EAAC,QAAQ,EAAE,YAAM;EACnB,IAAAC,cAAK,EAAC,cAAc,EAAE,YAAM;IAC1B,IAAAC,aAAI,EAAC,iBAAiB,mBAAAC,kBAAA,CAAAC,OAAA,gBAAAC,YAAA,CAAAD,OAAA,CAAAE,IAAA,CAAE,SAAAC,QAAA,OAAAC,OAAA,EAAAC,MAAA,QAAAJ,YAAA,CAAAD,OAAA,CAAAM,IAAA,UAAAC,SAAAC,QAAA,qBAAAA,QAAA,CAAAC,IAAA,GAAAD,QAAA,CAAAE,IAAA,UAAAF,QAAA,CAAAE,IAAA;cACA,IAAI,CAACC,OAAO,CAACC,WAAW,CAAC,EAAEC,GAAG,EAAE,4BAA4B,CAAC,CAAC,CAAC,SAA/ET,OA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
@@ -1,219 +0,0 @@
|
|
|
1
|
-
"use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _creevey = require("creevey");
|
|
2
|
-
|
|
3
|
-
var _utils = require("../../../lib/utils");
|
|
4
|
-
|
|
5
|
-
var testIdleFocusEditBlur = function testIdleFocusEditBlur() {
|
|
6
|
-
(0, _creevey.test)('idle, focus, edit, blur', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {var _this = this;var click, idle, focused, edited, blured;return _regenerator.default.wrap(function _callee$(_context) {while (1) switch (_context.prev = _context.next) {case 0:
|
|
7
|
-
click = function click(css) {
|
|
8
|
-
return _this.browser.
|
|
9
|
-
actions({
|
|
10
|
-
bridge: true
|
|
11
|
-
}).
|
|
12
|
-
click(_this.browser.findElement({ css: css }));
|
|
13
|
-
};_context.next = 3;return (
|
|
14
|
-
this.takeScreenshot());case 3:idle = _context.sent;_context.next = 6;return (
|
|
15
|
-
|
|
16
|
-
click('input').pause(500).perform());case 6:_context.next = 8;return (
|
|
17
|
-
this.takeScreenshot());case 8:focused = _context.sent;_context.next = 11;return (
|
|
18
|
-
|
|
19
|
-
click('input').sendKeys('953').perform());case 11:_context.next = 13;return (
|
|
20
|
-
this.takeScreenshot());case 13:edited = _context.sent;_context.next = 16;return (
|
|
21
|
-
|
|
22
|
-
click('body').perform());case 16:_context.next = 18;return (
|
|
23
|
-
this.takeScreenshot());case 18:blured = _context.sent;_context.next = 21;return (
|
|
24
|
-
|
|
25
|
-
this.expect({ idle: idle, focused: focused, edited: edited, blured: blured }).to.matchImages());case 21:case "end":return _context.stop();}}, _callee, this);}))
|
|
26
|
-
);
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
var testIdleFocusAppendRemoveBlur = function testIdleFocusAppendRemoveBlur() {
|
|
30
|
-
(0, _creevey.test)('idle, focus, edit, blur', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {var _this2 = this;var click, idle, focused, appended, restored, blured;return _regenerator.default.wrap(function _callee2$(_context2) {while (1) switch (_context2.prev = _context2.next) {case 0:
|
|
31
|
-
click = function click(css) {
|
|
32
|
-
return _this2.browser.
|
|
33
|
-
actions({
|
|
34
|
-
bridge: true
|
|
35
|
-
}).
|
|
36
|
-
click(_this2.browser.findElement({ css: css }));
|
|
37
|
-
};_context2.next = 3;return (
|
|
38
|
-
|
|
39
|
-
this.takeScreenshot());case 3:idle = _context2.sent;_context2.next = 6;return (
|
|
40
|
-
|
|
41
|
-
click('input').pause(500).perform());case 6:_context2.next = 8;return (
|
|
42
|
-
this.takeScreenshot());case 8:focused = _context2.sent;_context2.next = 11;return (
|
|
43
|
-
|
|
44
|
-
click('input').sendKeys('953').perform());case 11:_context2.next = 13;return (
|
|
45
|
-
this.takeScreenshot());case 13:appended = _context2.sent;_context2.next = 16;return (
|
|
46
|
-
|
|
47
|
-
click('input').
|
|
48
|
-
sendKeys(this.keys.BACK_SPACE).
|
|
49
|
-
sendKeys(this.keys.BACK_SPACE).
|
|
50
|
-
sendKeys(this.keys.BACK_SPACE).
|
|
51
|
-
perform());case 16:_context2.next = 18;return (
|
|
52
|
-
this.takeScreenshot());case 18:restored = _context2.sent;_context2.next = 21;return (
|
|
53
|
-
|
|
54
|
-
click('body').perform());case 21:_context2.next = 23;return (
|
|
55
|
-
this.takeScreenshot());case 23:blured = _context2.sent;_context2.next = 26;return (
|
|
56
|
-
|
|
57
|
-
this.expect({ idle: idle, focused: focused, appended: appended, restored: restored, blured: blured }).to.matchImages());case 26:case "end":return _context2.stop();}}, _callee2, this);}))
|
|
58
|
-
);
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
var testIdleFocusBlur = function testIdleFocusBlur() {
|
|
62
|
-
(0, _creevey.test)('idle, focus, blur', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {var _this3 = this;var click, idle, focused, blured;return _regenerator.default.wrap(function _callee3$(_context3) {while (1) switch (_context3.prev = _context3.next) {case 0:
|
|
63
|
-
click = function click(css) {
|
|
64
|
-
return _this3.browser.
|
|
65
|
-
actions({
|
|
66
|
-
bridge: true
|
|
67
|
-
}).
|
|
68
|
-
click(_this3.browser.findElement({ css: css }));
|
|
69
|
-
};_context3.next = 3;return (
|
|
70
|
-
|
|
71
|
-
this.takeScreenshot());case 3:idle = _context3.sent;_context3.next = 6;return (
|
|
72
|
-
|
|
73
|
-
click('input').pause(500).perform());case 6:_context3.next = 8;return (
|
|
74
|
-
this.takeScreenshot());case 8:focused = _context3.sent;_context3.next = 11;return (
|
|
75
|
-
|
|
76
|
-
click('body').perform());case 11:_context3.next = 13;return (
|
|
77
|
-
this.takeScreenshot());case 13:blured = _context3.sent;_context3.next = 16;return (
|
|
78
|
-
|
|
79
|
-
this.expect({ idle: idle, focused: focused, blured: blured }).to.matchImages());case 16:case "end":return _context3.stop();}}, _callee3, this);}))
|
|
80
|
-
);
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
var testRewriteInMiddle = function testRewriteInMiddle() {
|
|
84
|
-
(0, _creevey.test)('idle, shift, rewrite', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {var _this4 = this;var click, idle, shift, rewrite;return _regenerator.default.wrap(function _callee4$(_context4) {while (1) switch (_context4.prev = _context4.next) {case 0:
|
|
85
|
-
click = function click(css) {
|
|
86
|
-
return _this4.browser.
|
|
87
|
-
actions({
|
|
88
|
-
bridge: true
|
|
89
|
-
}).
|
|
90
|
-
click(_this4.browser.findElement({ css: css })).
|
|
91
|
-
pause(500);
|
|
92
|
-
};_context4.next = 3;return (
|
|
93
|
-
|
|
94
|
-
this.takeScreenshot());case 3:idle = _context4.sent;
|
|
95
|
-
|
|
96
|
-
click('input').keyDown(this.keys.ARROW_LEFT).keyDown(this.keys.ARROW_LEFT).sendKeys('12').perform();_context4.next = 7;return (
|
|
97
|
-
this.takeScreenshot());case 7:shift = _context4.sent;
|
|
98
|
-
|
|
99
|
-
click('body');
|
|
100
|
-
|
|
101
|
-
click('input').keyDown(this.keys.ARROW_LEFT).keyDown(this.keys.ARROW_LEFT).sendKeys('56').perform();_context4.next = 12;return (
|
|
102
|
-
this.takeScreenshot());case 12:rewrite = _context4.sent;_context4.next = 15;return (
|
|
103
|
-
|
|
104
|
-
this.expect({ idle: idle, shift: shift, rewrite: rewrite }).to.matchImages());case 15:case "end":return _context4.stop();}}, _callee4, this);}))
|
|
105
|
-
);
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
(0, _creevey.kind)('MaskedInput', function () {
|
|
109
|
-
(0, _creevey.story)('Default', function (_ref5) {var setStoryParameters = _ref5.setStoryParameters;
|
|
110
|
-
setStoryParameters({
|
|
111
|
-
skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } }
|
|
112
|
-
});
|
|
113
|
-
testIdleFocusEditBlur();
|
|
114
|
-
});
|
|
115
|
-
|
|
116
|
-
(0, _creevey.story)('IdleFocusEditBlurWithPlaceholder', function (_ref6) {var setStoryParameters = _ref6.setStoryParameters;
|
|
117
|
-
setStoryParameters({
|
|
118
|
-
skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } }
|
|
119
|
-
});
|
|
120
|
-
testIdleFocusEditBlur();
|
|
121
|
-
});
|
|
122
|
-
|
|
123
|
-
(0, _creevey.story)('IdleFocusBlurWithPlaceholder', function (_ref7) {var setStoryParameters = _ref7.setStoryParameters;
|
|
124
|
-
setStoryParameters({
|
|
125
|
-
skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } }
|
|
126
|
-
});
|
|
127
|
-
testIdleFocusBlur();
|
|
128
|
-
});
|
|
129
|
-
|
|
130
|
-
(0, _creevey.story)('IdleFocusAppendRemoveBlurWithPlaceholder', function (_ref8) {var setStoryParameters = _ref8.setStoryParameters;
|
|
131
|
-
setStoryParameters({
|
|
132
|
-
skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } }
|
|
133
|
-
});
|
|
134
|
-
testIdleFocusAppendRemoveBlur();
|
|
135
|
-
});
|
|
136
|
-
|
|
137
|
-
(0, _creevey.story)('IdleFocusBlurWithPrefix', function (_ref9) {var setStoryParameters = _ref9.setStoryParameters;
|
|
138
|
-
setStoryParameters({
|
|
139
|
-
skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } }
|
|
140
|
-
});
|
|
141
|
-
testIdleFocusBlur();
|
|
142
|
-
});
|
|
143
|
-
|
|
144
|
-
(0, _creevey.story)('WithCustomUnmaskedValue', function (_ref10) {var setStoryParameters = _ref10.setStoryParameters;
|
|
145
|
-
setStoryParameters({
|
|
146
|
-
skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } }
|
|
147
|
-
});
|
|
148
|
-
testIdleFocusEditBlur();
|
|
149
|
-
});
|
|
150
|
-
|
|
151
|
-
(0, _creevey.story)('WithUnmaskedAndFixedValue', function (_ref11) {var setStoryParameters = _ref11.setStoryParameters;
|
|
152
|
-
setStoryParameters({
|
|
153
|
-
skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } }
|
|
154
|
-
});
|
|
155
|
-
testIdleFocusAppendRemoveBlur();
|
|
156
|
-
});
|
|
157
|
-
|
|
158
|
-
(0, _creevey.story)('IdleFocusBlurAndUncontrolled', function (_ref12) {var setStoryParameters = _ref12.setStoryParameters;
|
|
159
|
-
setStoryParameters({
|
|
160
|
-
skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } }
|
|
161
|
-
});
|
|
162
|
-
testIdleFocusEditBlur();
|
|
163
|
-
});
|
|
164
|
-
|
|
165
|
-
(0, _creevey.story)('RewriteInMiddle', function (_ref13) {var setStoryParameters = _ref13.setStoryParameters;
|
|
166
|
-
setStoryParameters({
|
|
167
|
-
skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } }
|
|
168
|
-
});
|
|
169
|
-
testRewriteInMiddle();
|
|
170
|
-
});
|
|
171
|
-
|
|
172
|
-
(0, _creevey.story)('SelectAllByProp', function (_ref14) {var setStoryParameters = _ref14.setStoryParameters;
|
|
173
|
-
setStoryParameters({
|
|
174
|
-
skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } }
|
|
175
|
-
});
|
|
176
|
-
(0, _creevey.test)('Plain focused', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {var idle, select_half, select_all;return _regenerator.default.wrap(function _callee5$(_context5) {while (1) switch (_context5.prev = _context5.next) {case 0:_context5.next = 2;return (
|
|
177
|
-
this.takeScreenshot());case 2:idle = _context5.sent;_context5.next = 5;return (
|
|
178
|
-
this.browser.
|
|
179
|
-
actions({
|
|
180
|
-
bridge: true
|
|
181
|
-
}).
|
|
182
|
-
click(this.browser.findElement({ css: 'input' })).
|
|
183
|
-
pause(500).
|
|
184
|
-
perform());case 5:_context5.next = 7;return (
|
|
185
|
-
this.takeScreenshot());case 7:select_half = _context5.sent;_context5.next = 10;return (
|
|
186
|
-
this.browser.
|
|
187
|
-
actions({
|
|
188
|
-
bridge: true
|
|
189
|
-
}).
|
|
190
|
-
click(this.browser.findElement({ css: 'body' })).
|
|
191
|
-
click(this.browser.findElement({ css: 'input' })).
|
|
192
|
-
sendKeys('1234').
|
|
193
|
-
click(this.browser.findElement({ css: 'body' })).
|
|
194
|
-
click(this.browser.findElement({ css: 'input' })).
|
|
195
|
-
pause(500).
|
|
196
|
-
perform());case 10:_context5.next = 12;return (
|
|
197
|
-
this.takeScreenshot());case 12:select_all = _context5.sent;_context5.next = 15;return (
|
|
198
|
-
this.expect({ idle: idle, select_half: select_half, select_all: select_all }).to.matchImages());case 15:case "end":return _context5.stop();}}, _callee5, this);}))
|
|
199
|
-
);
|
|
200
|
-
});
|
|
201
|
-
|
|
202
|
-
(0, _creevey.story)('SelectAllByButton', function (_ref16) {var setStoryParameters = _ref16.setStoryParameters;
|
|
203
|
-
setStoryParameters({
|
|
204
|
-
skip: true // flaky
|
|
205
|
-
});
|
|
206
|
-
(0, _creevey.test)('Plain focused', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6() {var plain, select_all;return _regenerator.default.wrap(function _callee6$(_context6) {while (1) switch (_context6.prev = _context6.next) {case 0:_context6.next = 2;return (
|
|
207
|
-
this.takeScreenshot());case 2:plain = _context6.sent;_context6.next = 5;return (
|
|
208
|
-
this.browser.
|
|
209
|
-
actions({
|
|
210
|
-
bridge: true
|
|
211
|
-
}).
|
|
212
|
-
click(this.browser.findElement({ css: '[data-tid~="select-all"]' })).
|
|
213
|
-
perform());case 5:_context6.next = 7;return (
|
|
214
|
-
(0, _utils.delay)(500));case 7:_context6.next = 9;return (
|
|
215
|
-
this.takeScreenshot());case 9:select_all = _context6.sent;_context6.next = 12;return (
|
|
216
|
-
this.expect({ plain: plain, select_all: select_all }).to.matchImages());case 12:case "end":return _context6.stop();}}, _callee6, this);}))
|
|
217
|
-
);
|
|
218
|
-
});
|
|
219
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_creevey","require","_utils","testIdleFocusEditBlur","test","_asyncToGenerator2","default","_regenerator","mark","_callee","_this","click","idle","focused","edited","blured","wrap","_callee$","_context","prev","next","css","browser","actions","bridge","findElement","takeScreenshot","sent","pause","perform","sendKeys","expect","to","matchImages","stop","testIdleFocusAppendRemoveBlur","_callee2","_this2","appended","restored","_callee2$","_context2","keys","BACK_SPACE","testIdleFocusBlur","_callee3","_this3","_callee3$","_context3","testRewriteInMiddle","_callee4","_this4","shift","rewrite","_callee4$","_context4","keyDown","ARROW_LEFT","kind","story","_ref5","setStoryParameters","skip","in","_ref6","_ref7","_ref8","_ref9","_ref10","_ref11","_ref12","_ref13","_ref14","_callee5","select_half","select_all","_callee5$","_context5","_ref16","_callee6","plain","_callee6$","_context6","delay"],"sources":["MaskedInput.creevey.ts"],"sourcesContent":["import { story, kind, test } from 'creevey';\n\nimport { delay } from '../../../lib/utils';\n\nconst testIdleFocusEditBlur = () => {\n test('idle, focus, edit, blur', async function () {\n const click = (css: string) => {\n return this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css }));\n };\n const idle = await this.takeScreenshot();\n\n await click('input').pause(500).perform();\n const focused = await this.takeScreenshot();\n\n await click('input').sendKeys('953').perform();\n const edited = await this.takeScreenshot();\n\n await click('body').perform();\n const blured = await this.takeScreenshot();\n\n await this.expect({ idle, focused, edited, blured }).to.matchImages();\n });\n};\n\nconst testIdleFocusAppendRemoveBlur = () => {\n test('idle, focus, edit, blur', async function () {\n const click = (css: string) => {\n return this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css }));\n };\n\n const idle = await this.takeScreenshot();\n\n await click('input').pause(500).perform();\n const focused = await this.takeScreenshot();\n\n await click('input').sendKeys('953').perform();\n const appended = await this.takeScreenshot();\n\n await click('input')\n .sendKeys(this.keys.BACK_SPACE)\n .sendKeys(this.keys.BACK_SPACE)\n .sendKeys(this.keys.BACK_SPACE)\n .perform();\n const restored = await this.takeScreenshot();\n\n await click('body').perform();\n const blured = await this.takeScreenshot();\n\n await this.expect({ idle, focused, appended, restored, blured }).to.matchImages();\n });\n};\n\nconst testIdleFocusBlur = () => {\n test('idle, focus, blur', async function () {\n const click = (css: string) => {\n return this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css }));\n };\n\n const idle = await this.takeScreenshot();\n\n await click('input').pause(500).perform();\n const focused = await this.takeScreenshot();\n\n await click('body').perform();\n const blured = await this.takeScreenshot();\n\n await this.expect({ idle, focused, blured }).to.matchImages();\n });\n};\n\nconst testRewriteInMiddle = () => {\n test('idle, shift, rewrite', async function () {\n const click = (css: string) => {\n return this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css }))\n .pause(500);\n };\n\n const idle = await this.takeScreenshot();\n\n click('input').keyDown(this.keys.ARROW_LEFT).keyDown(this.keys.ARROW_LEFT).sendKeys('12').perform();\n const shift = await this.takeScreenshot();\n\n click('body');\n\n click('input').keyDown(this.keys.ARROW_LEFT).keyDown(this.keys.ARROW_LEFT).sendKeys('56').perform();\n const rewrite = await this.takeScreenshot();\n\n await this.expect({ idle, shift, rewrite }).to.matchImages();\n });\n};\n\nkind('MaskedInput', () => {\n story('Default', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } },\n });\n testIdleFocusEditBlur();\n });\n\n story('IdleFocusEditBlurWithPlaceholder', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } },\n });\n testIdleFocusEditBlur();\n });\n\n story('IdleFocusBlurWithPlaceholder', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } },\n });\n testIdleFocusBlur();\n });\n\n story('IdleFocusAppendRemoveBlurWithPlaceholder', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } },\n });\n testIdleFocusAppendRemoveBlur();\n });\n\n story('IdleFocusBlurWithPrefix', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } },\n });\n testIdleFocusBlur();\n });\n\n story('WithCustomUnmaskedValue', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } },\n });\n testIdleFocusEditBlur();\n });\n\n story('WithUnmaskedAndFixedValue', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } },\n });\n testIdleFocusAppendRemoveBlur();\n });\n\n story('IdleFocusBlurAndUncontrolled', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } },\n });\n testIdleFocusEditBlur();\n });\n\n story('RewriteInMiddle', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } },\n });\n testRewriteInMiddle();\n });\n\n story('SelectAllByProp', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: { 'enough basic themes': { in: /^(?!^(?:chrome2022|firefox2022)$)/ } },\n });\n test('Plain focused', async function () {\n const idle = await this.takeScreenshot();\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: 'input' }))\n .pause(500)\n .perform();\n const select_half = await this.takeScreenshot();\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: 'body' }))\n .click(this.browser.findElement({ css: 'input' }))\n .sendKeys('1234')\n .click(this.browser.findElement({ css: 'body' }))\n .click(this.browser.findElement({ css: 'input' }))\n .pause(500)\n .perform();\n const select_all = await this.takeScreenshot();\n await this.expect({ idle, select_half, select_all }).to.matchImages();\n });\n });\n\n story('SelectAllByButton', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: true, // flaky\n });\n test('Plain focused', async function () {\n const plain = await this.takeScreenshot();\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"select-all\"]' }))\n .perform();\n await delay(500);\n const select_all = await this.takeScreenshot();\n await this.expect({ plain, select_all }).to.matchImages();\n });\n });\n});\n"],"mappings":"+RAAA,IAAAA,QAAA,GAAAC,OAAA;;AAEA,IAAAC,MAAA,GAAAD,OAAA;;AAEA,IAAME,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAA,EAAS;EAClC,IAAAC,aAAI,EAAC,yB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A,CAAA9D,IAAA;cACV,IAAI,CAACW,MAAM,CAAC,EAAEiD,KAAK,EAALA,KAAK,EAAEL,UAAU,EAAVA,UAAU,CAAC,CAAC,CAAC,CAAC3C,EAAE,CAACC,WAAW,CAAC,CAAC,4BAAAiD,SAAA,CAAAhD,IAAA,OAAA6C,QAAA,SAC1D;IAAA,CAAC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
"use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _creevey = require("creevey");
|
|
2
|
-
|
|
3
|
-
var _utils = require("../../../lib/utils");
|
|
4
|
-
|
|
5
|
-
var topMiddleBottomModalTests = function topMiddleBottomModalTests() {
|
|
6
|
-
(0, _creevey.test)('top', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {return _regenerator.default.wrap(function _callee$(_context) {while (1) switch (_context.prev = _context.next) {case 0:_context.t0 =
|
|
7
|
-
this;_context.next = 3;return this.browser.takeScreenshot();case 3:_context.t1 = _context.sent;_context.next = 6;return _context.t0.expect.call(_context.t0, _context.t1).to.matchImage('top');case 6:case "end":return _context.stop();}}, _callee, this);}))
|
|
8
|
-
);
|
|
9
|
-
|
|
10
|
-
(0, _creevey.test)('middle', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {return _regenerator.default.wrap(function _callee2$(_context2) {while (1) switch (_context2.prev = _context2.next) {case 0:_context2.next = 2;return (
|
|
11
|
-
this.browser.executeScript(function () {
|
|
12
|
-
var modalContainer = window.document.querySelector('[data-tid="modal-container"]');
|
|
13
|
-
var modalContent = window.document.querySelector('[data-tid="modal-content"]');
|
|
14
|
-
|
|
15
|
-
modalContainer.scrollTop = modalContent.offsetHeight / 2;
|
|
16
|
-
}));case 2:_context2.next = 4;return (
|
|
17
|
-
(0, _utils.delay)(100));case 4:_context2.t0 =
|
|
18
|
-
this;_context2.next = 7;return this.browser.takeScreenshot();case 7:_context2.t1 = _context2.sent;_context2.next = 10;return _context2.t0.expect.call(_context2.t0, _context2.t1).to.matchImage('middle');case 10:case "end":return _context2.stop();}}, _callee2, this);}))
|
|
19
|
-
);
|
|
20
|
-
|
|
21
|
-
(0, _creevey.test)('bottom', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {return _regenerator.default.wrap(function _callee3$(_context3) {while (1) switch (_context3.prev = _context3.next) {case 0:_context3.next = 2;return (
|
|
22
|
-
this.browser.executeScript(function () {
|
|
23
|
-
var modalContainer = window.document.querySelector('[data-tid="modal-container"]');
|
|
24
|
-
var modalContent = window.document.querySelector('[data-tid="modal-content"]');
|
|
25
|
-
|
|
26
|
-
modalContainer.scrollTop = modalContent.offsetHeight;
|
|
27
|
-
}));case 2:_context3.next = 4;return (
|
|
28
|
-
(0, _utils.delay)(100));case 4:_context3.t0 =
|
|
29
|
-
this;_context3.next = 7;return this.browser.takeScreenshot();case 7:_context3.t1 = _context3.sent;_context3.next = 10;return _context3.t0.expect.call(_context3.t0, _context3.t1).to.matchImage('bottom');case 10:case "end":return _context3.stop();}}, _callee3, this);}))
|
|
30
|
-
);
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
(0, _creevey.kind)('Modal', function () {
|
|
34
|
-
(0, _creevey.story)('ModalWithFooterPanelStory', function () {
|
|
35
|
-
(0, _creevey.test)('open modal', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {return _regenerator.default.wrap(function _callee4$(_context4) {while (1) switch (_context4.prev = _context4.next) {case 0:_context4.next = 2;return (
|
|
36
|
-
this.browser.
|
|
37
|
-
actions({
|
|
38
|
-
bridge: true
|
|
39
|
-
}).
|
|
40
|
-
click(this.browser.findElement({ css: '[data-comp-name~="Button"]:nth-of-type(1)' })).
|
|
41
|
-
perform());case 2:_context4.next = 4;return (
|
|
42
|
-
(0, _utils.delay)(100));case 4:_context4.t0 =
|
|
43
|
-
this;_context4.next = 7;return this.browser.takeScreenshot();case 7:_context4.t1 = _context4.sent;_context4.next = 10;return _context4.t0.expect.call(_context4.t0, _context4.t1).to.matchImage('open modal');case 10:case "end":return _context4.stop();}}, _callee4, this);}))
|
|
44
|
-
);
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
(0, _creevey.story)('WithIconInput', function () {
|
|
48
|
-
(0, _creevey.test)('open modal', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {return _regenerator.default.wrap(function _callee5$(_context5) {while (1) switch (_context5.prev = _context5.next) {case 0:_context5.next = 2;return (
|
|
49
|
-
this.browser.
|
|
50
|
-
actions({
|
|
51
|
-
bridge: true
|
|
52
|
-
}).
|
|
53
|
-
click(this.browser.findElement({ css: '[data-tid~="open-modal"]' })).
|
|
54
|
-
perform());case 2:_context5.next = 4;return (
|
|
55
|
-
(0, _utils.delay)(1000));case 4:_context5.t0 =
|
|
56
|
-
this;_context5.next = 7;return this.browser.takeScreenshot();case 7:_context5.t1 = _context5.sent;_context5.next = 10;return _context5.t0.expect.call(_context5.t0, _context5.t1).to.matchImage('open modal');case 10:case "end":return _context5.stop();}}, _callee5, this);}))
|
|
57
|
-
);
|
|
58
|
-
});
|
|
59
|
-
|
|
60
|
-
(0, _creevey.story)('ModalOverAnotherModalStory', function () {
|
|
61
|
-
(0, _creevey.test)('open first modal', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6() {return _regenerator.default.wrap(function _callee6$(_context6) {while (1) switch (_context6.prev = _context6.next) {case 0:_context6.next = 2;return (
|
|
62
|
-
this.browser.
|
|
63
|
-
actions({
|
|
64
|
-
bridge: true
|
|
65
|
-
}).
|
|
66
|
-
click(this.browser.findElement({ css: '[data-tid~="open-first-modal"]' })).
|
|
67
|
-
perform());case 2:_context6.next = 4;return (
|
|
68
|
-
(0, _utils.delay)(200));case 4:_context6.t0 =
|
|
69
|
-
this;_context6.next = 7;return this.browser.takeScreenshot();case 7:_context6.t1 = _context6.sent;_context6.next = 10;return _context6.t0.expect.call(_context6.t0, _context6.t1).to.matchImage('open first modal');case 10:case "end":return _context6.stop();}}, _callee6, this);}))
|
|
70
|
-
);
|
|
71
|
-
|
|
72
|
-
(0, _creevey.test)('open second modal', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() {return _regenerator.default.wrap(function _callee7$(_context7) {while (1) switch (_context7.prev = _context7.next) {case 0:_context7.next = 2;return (
|
|
73
|
-
this.browser.
|
|
74
|
-
actions({
|
|
75
|
-
bridge: true
|
|
76
|
-
}).
|
|
77
|
-
click(this.browser.findElement({ css: '[data-tid~="open-first-modal"]' })).
|
|
78
|
-
perform());case 2:_context7.next = 4;return (
|
|
79
|
-
this.browser.
|
|
80
|
-
actions({ bridge: true }).
|
|
81
|
-
click(this.browser.findElement({ css: '[data-tid~="open-second-modal"]' })).
|
|
82
|
-
perform());case 4:_context7.next = 6;return (
|
|
83
|
-
(0, _utils.delay)(100));case 6:_context7.t0 =
|
|
84
|
-
this;_context7.next = 9;return this.browser.takeScreenshot();case 9:_context7.t1 = _context7.sent;_context7.next = 12;return _context7.t0.expect.call(_context7.t0, _context7.t1).to.matchImage('open second modal');case 12:case "end":return _context7.stop();}}, _callee7, this);}))
|
|
85
|
-
);
|
|
86
|
-
});
|
|
87
|
-
|
|
88
|
-
(0, _creevey.story)('ModalWithoutFooterPanelStory', function () {
|
|
89
|
-
(0, _creevey.test)('open modal', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8() {return _regenerator.default.wrap(function _callee8$(_context8) {while (1) switch (_context8.prev = _context8.next) {case 0:_context8.next = 2;return (
|
|
90
|
-
this.browser.
|
|
91
|
-
actions({
|
|
92
|
-
bridge: true
|
|
93
|
-
}).
|
|
94
|
-
click(this.browser.findElement({ css: '[data-tid~="open-modal"]' })).
|
|
95
|
-
perform());case 2:_context8.next = 4;return (
|
|
96
|
-
(0, _utils.delay)(200));case 4:_context8.t0 =
|
|
97
|
-
this;_context8.next = 7;return this.browser.takeScreenshot();case 7:_context8.t1 = _context8.sent;_context8.next = 10;return _context8.t0.expect.call(_context8.t0, _context8.t1).to.matchImage('open modal');case 10:case "end":return _context8.stop();}}, _callee8, this);}))
|
|
98
|
-
);
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
(0, _creevey.story)('ModalWithoutFooterStory', function () {
|
|
102
|
-
(0, _creevey.test)('open modal', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9() {return _regenerator.default.wrap(function _callee9$(_context9) {while (1) switch (_context9.prev = _context9.next) {case 0:_context9.next = 2;return (
|
|
103
|
-
this.browser.
|
|
104
|
-
actions({
|
|
105
|
-
bridge: true
|
|
106
|
-
}).
|
|
107
|
-
click(this.browser.findElement({ css: '[data-tid~="open-modal"]' })).
|
|
108
|
-
perform());case 2:_context9.t0 =
|
|
109
|
-
this;_context9.next = 5;return this.browser.takeScreenshot();case 5:_context9.t1 = _context9.sent;_context9.next = 8;return _context9.t0.expect.call(_context9.t0, _context9.t1).to.matchImage('open modal');case 8:case "end":return _context9.stop();}}, _callee9, this);}))
|
|
110
|
-
);
|
|
111
|
-
});
|
|
112
|
-
|
|
113
|
-
(0, _creevey.story)('ModalMobileView', function () {
|
|
114
|
-
(0, _creevey.test)('idle', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10() {return _regenerator.default.wrap(function _callee10$(_context10) {while (1) switch (_context10.prev = _context10.next) {case 0:_context10.t0 =
|
|
115
|
-
this;_context10.next = 3;return this.browser.takeScreenshot();case 3:_context10.t1 = _context10.sent;_context10.next = 6;return _context10.t0.expect.call(_context10.t0, _context10.t1).to.matchImage('idle');case 6:case "end":return _context10.stop();}}, _callee10, this);}))
|
|
116
|
-
);
|
|
117
|
-
});
|
|
118
|
-
|
|
119
|
-
(0, _creevey.story)('ModalWithVariableHeightOfContent', function () {
|
|
120
|
-
(0, _creevey.test)('open modal', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee11() {return _regenerator.default.wrap(function _callee11$(_context11) {while (1) switch (_context11.prev = _context11.next) {case 0:_context11.next = 2;return (
|
|
121
|
-
this.browser.
|
|
122
|
-
actions({
|
|
123
|
-
bridge: true
|
|
124
|
-
}).
|
|
125
|
-
click(this.browser.findElement({ css: '[data-tid~="open-modal"]' })).
|
|
126
|
-
perform());case 2:_context11.next = 4;return (
|
|
127
|
-
(0, _utils.delay)(100));case 4:_context11.t0 =
|
|
128
|
-
this;_context11.next = 7;return this.browser.takeScreenshot();case 7:_context11.t1 = _context11.sent;_context11.next = 10;return _context11.t0.expect.call(_context11.t0, _context11.t1).to.matchImage('open modal');case 10:case "end":return _context11.stop();}}, _callee11, this);}))
|
|
129
|
-
);
|
|
130
|
-
|
|
131
|
-
(0, _creevey.test)('toggle content height', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee12() {return _regenerator.default.wrap(function _callee12$(_context12) {while (1) switch (_context12.prev = _context12.next) {case 0:_context12.next = 2;return (
|
|
132
|
-
this.browser.
|
|
133
|
-
actions({
|
|
134
|
-
bridge: true
|
|
135
|
-
}).
|
|
136
|
-
click(this.browser.findElement({ css: '[data-tid~="open-modal"]' })).
|
|
137
|
-
perform());case 2:_context12.next = 4;return (
|
|
138
|
-
this.browser.
|
|
139
|
-
actions({ bridge: true }).
|
|
140
|
-
click(this.browser.findElement({ css: '#modal-inner [data-comp-name~="Toggle"]' })).
|
|
141
|
-
pause(500).
|
|
142
|
-
perform());case 4:_context12.t0 =
|
|
143
|
-
this;_context12.next = 7;return this.browser.takeScreenshot();case 7:_context12.t1 = _context12.sent;_context12.next = 10;return _context12.t0.expect.call(_context12.t0, _context12.t1).to.matchImage('toggle content height');case 10:case "end":return _context12.stop();}}, _callee12, this);}))
|
|
144
|
-
);
|
|
145
|
-
});
|
|
146
|
-
|
|
147
|
-
(0, _creevey.story)('ModalWithoutStickyElements', function () {
|
|
148
|
-
topMiddleBottomModalTests();
|
|
149
|
-
});
|
|
150
|
-
|
|
151
|
-
(0, _creevey.story)('SmallModalOnTheTop', function () {
|
|
152
|
-
(0, _creevey.test)('open modal', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee13() {return _regenerator.default.wrap(function _callee13$(_context13) {while (1) switch (_context13.prev = _context13.next) {case 0:_context13.next = 2;return (
|
|
153
|
-
this.browser.
|
|
154
|
-
actions({
|
|
155
|
-
bridge: true
|
|
156
|
-
}).
|
|
157
|
-
click(this.browser.findElement({ css: '[data-tid~="open-modal"]' })).
|
|
158
|
-
perform());case 2:_context13.next = 4;return (
|
|
159
|
-
(0, _utils.delay)(100));case 4:_context13.t0 =
|
|
160
|
-
this;_context13.next = 7;return this.browser.takeScreenshot();case 7:_context13.t1 = _context13.sent;_context13.next = 10;return _context13.t0.expect.call(_context13.t0, _context13.t1).to.matchImage('open modal');case 10:case "end":return _context13.stop();}}, _callee13, this);}))
|
|
161
|
-
);
|
|
162
|
-
|
|
163
|
-
(0, _creevey.test)('close by click on the cross', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee14() {return _regenerator.default.wrap(function _callee14$(_context14) {while (1) switch (_context14.prev = _context14.next) {case 0:_context14.next = 2;return (
|
|
164
|
-
this.browser.
|
|
165
|
-
actions({
|
|
166
|
-
bridge: true
|
|
167
|
-
}).
|
|
168
|
-
click(this.browser.findElement({ css: '[data-tid~="open-modal"]' })).
|
|
169
|
-
perform());case 2:_context14.next = 4;return (
|
|
170
|
-
this.browser.
|
|
171
|
-
actions({ bridge: true }).
|
|
172
|
-
click(this.browser.findElement({ css: '[data-tid="modal-close"]' })).
|
|
173
|
-
perform());case 4:_context14.t0 =
|
|
174
|
-
this;_context14.next = 7;return this.browser.takeScreenshot();case 7:_context14.t1 = _context14.sent;_context14.next = 10;return _context14.t0.expect.call(_context14.t0, _context14.t1).to.matchImage('close by click on the cross');case 10:case "end":return _context14.stop();}}, _callee14, this);}))
|
|
175
|
-
);
|
|
176
|
-
|
|
177
|
-
(0, _creevey.test)("doesn't close by click on the content", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee15() {return _regenerator.default.wrap(function _callee15$(_context15) {while (1) switch (_context15.prev = _context15.next) {case 0:_context15.next = 2;return (
|
|
178
|
-
this.browser.
|
|
179
|
-
actions({
|
|
180
|
-
bridge: true
|
|
181
|
-
}).
|
|
182
|
-
click(this.browser.findElement({ css: '[data-tid~="open-modal"]' })).
|
|
183
|
-
perform());case 2:_context15.next = 4;return (
|
|
184
|
-
this.browser.
|
|
185
|
-
actions({ bridge: true }).
|
|
186
|
-
click(this.browser.findElement({ css: '[data-tid="modal-content-button"]' })).
|
|
187
|
-
perform());case 4:_context15.t0 =
|
|
188
|
-
this;_context15.next = 7;return this.browser.takeScreenshot();case 7:_context15.t1 = _context15.sent;_context15.next = 10;return _context15.t0.expect.call(_context15.t0, _context15.t1).to.matchImage("doesn't close by click on the content");case 10:case "end":return _context15.stop();}}, _callee15, this);}))
|
|
189
|
-
);
|
|
190
|
-
|
|
191
|
-
(0, _creevey.test)('closes by click on the background', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee16() {return _regenerator.default.wrap(function _callee16$(_context16) {while (1) switch (_context16.prev = _context16.next) {case 0:_context16.next = 2;return (
|
|
192
|
-
this.browser.
|
|
193
|
-
actions({
|
|
194
|
-
bridge: true
|
|
195
|
-
}).
|
|
196
|
-
click(this.browser.findElement({ css: '[data-tid~="open-modal"]' })).
|
|
197
|
-
perform());case 2:_context16.next = 4;return (
|
|
198
|
-
this.browser.
|
|
199
|
-
actions({ bridge: true }).
|
|
200
|
-
click(this.browser.findElement({ css: '[data-tid="modal-container"]' })).
|
|
201
|
-
perform());case 4:_context16.t0 =
|
|
202
|
-
this;_context16.next = 7;return this.browser.takeScreenshot();case 7:_context16.t1 = _context16.sent;_context16.next = 10;return _context16.t0.expect.call(_context16.t0, _context16.t1).to.matchImage('closes by click on the background');case 10:case "end":return _context16.stop();}}, _callee16, this);}))
|
|
203
|
-
);
|
|
204
|
-
});
|
|
205
|
-
|
|
206
|
-
(0, _creevey.story)('ModalWithChildrenFromOtherComponent', function () {
|
|
207
|
-
topMiddleBottomModalTests();
|
|
208
|
-
});
|
|
209
|
-
|
|
210
|
-
(0, _creevey.story)('MobileModal', function () {
|
|
211
|
-
(0, _creevey.test)('top', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee17() {return _regenerator.default.wrap(function _callee17$(_context17) {while (1) switch (_context17.prev = _context17.next) {case 0:_context17.next = 2;return (
|
|
212
|
-
this.browser.
|
|
213
|
-
actions({
|
|
214
|
-
bridge: true
|
|
215
|
-
}).
|
|
216
|
-
click(this.browser.findElement({ css: '[data-tid~="open-modal"]' })).
|
|
217
|
-
perform());case 2:_context17.next = 4;return (
|
|
218
|
-
(0, _utils.delay)(200));case 4:_context17.t0 =
|
|
219
|
-
this;_context17.next = 7;return this.browser.takeScreenshot();case 7:_context17.t1 = _context17.sent;_context17.next = 10;return _context17.t0.expect.call(_context17.t0, _context17.t1).to.matchImage('top');case 10:case "end":return _context17.stop();}}, _callee17, this);}))
|
|
220
|
-
);
|
|
221
|
-
|
|
222
|
-
(0, _creevey.test)('middle', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee18() {return _regenerator.default.wrap(function _callee18$(_context18) {while (1) switch (_context18.prev = _context18.next) {case 0:_context18.next = 2;return (
|
|
223
|
-
this.browser.
|
|
224
|
-
actions({
|
|
225
|
-
bridge: true
|
|
226
|
-
}).
|
|
227
|
-
click(this.browser.findElement({ css: '[data-tid~="open-modal"]' })).
|
|
228
|
-
perform());case 2:_context18.next = 4;return (
|
|
229
|
-
(0, _utils.delay)(200));case 4:_context18.next = 6;return (
|
|
230
|
-
this.browser.executeScript(function () {
|
|
231
|
-
var modalContent = window.document.querySelector('.focus-lock-container');
|
|
232
|
-
var modalBody = window.document.querySelector('[data-comp-name~="Modal.Body"] ');
|
|
233
|
-
|
|
234
|
-
modalContent.scrollTop = modalBody.offsetHeight / 2;
|
|
235
|
-
}));case 6:_context18.next = 8;return (
|
|
236
|
-
(0, _utils.delay)(100));case 8:_context18.t0 =
|
|
237
|
-
this;_context18.next = 11;return this.browser.takeScreenshot();case 11:_context18.t1 = _context18.sent;_context18.next = 14;return _context18.t0.expect.call(_context18.t0, _context18.t1).to.matchImage('middle');case 14:case "end":return _context18.stop();}}, _callee18, this);}))
|
|
238
|
-
);
|
|
239
|
-
|
|
240
|
-
(0, _creevey.test)('bottom', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee19() {return _regenerator.default.wrap(function _callee19$(_context19) {while (1) switch (_context19.prev = _context19.next) {case 0:_context19.next = 2;return (
|
|
241
|
-
this.browser.
|
|
242
|
-
actions({
|
|
243
|
-
bridge: true
|
|
244
|
-
}).
|
|
245
|
-
click(this.browser.findElement({ css: '[data-tid~="open-modal"]' })).
|
|
246
|
-
perform());case 2:_context19.next = 4;return (
|
|
247
|
-
(0, _utils.delay)(200));case 4:_context19.next = 6;return (
|
|
248
|
-
this.browser.executeScript(function () {
|
|
249
|
-
var modalContent = window.document.querySelector('.focus-lock-container');
|
|
250
|
-
var modalBody = window.document.querySelector('[data-comp-name~="Modal.Body"] ');
|
|
251
|
-
|
|
252
|
-
modalContent.scrollTop = modalBody.offsetHeight;
|
|
253
|
-
}));case 6:_context19.next = 8;return (
|
|
254
|
-
(0, _utils.delay)(100));case 8:_context19.t0 =
|
|
255
|
-
this;_context19.next = 11;return this.browser.takeScreenshot();case 11:_context19.t1 = _context19.sent;_context19.next = 14;return _context19.t0.expect.call(_context19.t0, _context19.t1).to.matchImage('bottom');case 14:case "end":return _context19.stop();}}, _callee19, this);}))
|
|
256
|
-
);
|
|
257
|
-
});
|
|
258
|
-
});
|