@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,239 +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 differentStatesTest = function differentStatesTest() {
|
|
6
|
-
(0, _creevey.test)('Plain', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {var element;return _regenerator.default.wrap(function _callee$(_context) {while (1) switch (_context.prev = _context.next) {case 0:_context.next = 2;return (
|
|
7
|
-
this.browser.findElement({ css: '#input' }));case 2:element = _context.sent;_context.t0 =
|
|
8
|
-
this;_context.next = 6;return element.takeScreenshot();case 6:_context.t1 = _context.sent;_context.next = 9;return _context.t0.expect.call(_context.t0, _context.t1).to.matchImage('Plain');case 9:case "end":return _context.stop();}}, _callee, this);}))
|
|
9
|
-
);
|
|
10
|
-
|
|
11
|
-
(0, _creevey.test)('Focused', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {var element;return _regenerator.default.wrap(function _callee2$(_context2) {while (1) switch (_context2.prev = _context2.next) {case 0:_context2.next = 2;return (
|
|
12
|
-
this.browser.findElement({ css: '#input' }));case 2:element = _context2.sent;_context2.next = 5;return (
|
|
13
|
-
this.browser.
|
|
14
|
-
actions({
|
|
15
|
-
bridge: true
|
|
16
|
-
}).
|
|
17
|
-
click(this.browser.findElement({ css: '#input input' })).
|
|
18
|
-
pause(500).
|
|
19
|
-
perform());case 5:_context2.t0 =
|
|
20
|
-
this;_context2.next = 8;return element.takeScreenshot();case 8:_context2.t1 = _context2.sent;_context2.next = 11;return _context2.t0.expect.call(_context2.t0, _context2.t1).to.matchImage('Focused');case 11:case "end":return _context2.stop();}}, _callee2, this);}))
|
|
21
|
-
);
|
|
22
|
-
|
|
23
|
-
(0, _creevey.test)('With typed text', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {var element;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: '#input' }));case 2:element = _context3.sent;_context3.next = 5;return (
|
|
25
|
-
this.browser.
|
|
26
|
-
actions({
|
|
27
|
-
bridge: true
|
|
28
|
-
}).
|
|
29
|
-
click(this.browser.findElement({ css: '#input input' })).
|
|
30
|
-
sendKeys('Test...').
|
|
31
|
-
pause(500).
|
|
32
|
-
perform());case 5:_context3.t0 =
|
|
33
|
-
this;_context3.next = 8;return element.takeScreenshot();case 8:_context3.t1 = _context3.sent;_context3.next = 11;return _context3.t0.expect.call(_context3.t0, _context3.t1).to.matchImage('With typed text');case 11:case "end":return _context3.stop();}}, _callee3, this);}))
|
|
34
|
-
);
|
|
35
|
-
|
|
36
|
-
(0, _creevey.test)('With long typed text', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {var element;return _regenerator.default.wrap(function _callee4$(_context4) {while (1) switch (_context4.prev = _context4.next) {case 0:_context4.next = 2;return (
|
|
37
|
-
this.browser.findElement({ css: '#input' }));case 2:element = _context4.sent;_context4.next = 5;return (
|
|
38
|
-
this.browser.
|
|
39
|
-
actions({
|
|
40
|
-
bridge: true
|
|
41
|
-
}).
|
|
42
|
-
click(this.browser.findElement({ css: '#input input' })).
|
|
43
|
-
sendKeys('Test...').
|
|
44
|
-
sendKeys('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').
|
|
45
|
-
pause(500).
|
|
46
|
-
perform());case 5:_context4.t0 =
|
|
47
|
-
this;_context4.next = 8;return element.takeScreenshot();case 8:_context4.t1 = _context4.sent;_context4.next = 11;return _context4.t0.expect.call(_context4.t0, _context4.t1).to.matchImage('With long typed text');case 11:case "end":return _context4.stop();}}, _callee4, this);}))
|
|
48
|
-
);
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
var testMaskedInput = function testMaskedInput() {
|
|
52
|
-
(0, _creevey.test)('idle, focus, edit, blur', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {var _this = this;var click, idle, focused, edited, blured;return _regenerator.default.wrap(function _callee5$(_context5) {while (1) switch (_context5.prev = _context5.next) {case 0:
|
|
53
|
-
click = function click(css) {
|
|
54
|
-
return _this.browser.
|
|
55
|
-
actions({
|
|
56
|
-
bridge: true
|
|
57
|
-
}).
|
|
58
|
-
click(_this.browser.findElement({ css: css }));
|
|
59
|
-
};_context5.next = 3;return (
|
|
60
|
-
this.takeScreenshot());case 3:idle = _context5.sent;_context5.next = 6;return (
|
|
61
|
-
click('input').pause(500).perform());case 6:_context5.next = 8;return (
|
|
62
|
-
this.takeScreenshot());case 8:focused = _context5.sent;_context5.next = 11;return (
|
|
63
|
-
click('input').sendKeys('953').perform());case 11:_context5.next = 13;return (
|
|
64
|
-
this.takeScreenshot());case 13:edited = _context5.sent;_context5.next = 16;return (
|
|
65
|
-
click('body').perform());case 16:_context5.next = 18;return (
|
|
66
|
-
this.takeScreenshot());case 18:blured = _context5.sent;_context5.next = 21;return (
|
|
67
|
-
this.expect({ idle: idle, focused: focused, edited: edited, blured: blured }).to.matchImages());case 21:case "end":return _context5.stop();}}, _callee5, this);}))
|
|
68
|
-
);
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
(0, _creevey.kind)('Input', function () {
|
|
72
|
-
(0, _creevey.story)('Default', function (_ref6) {var setStoryParameters = _ref6.setStoryParameters;
|
|
73
|
-
setStoryParameters({
|
|
74
|
-
skip: { "themes don't affect logic": { in: /^(?!\b(chrome2022|firefox2022)\b)/ } }
|
|
75
|
-
});
|
|
76
|
-
differentStatesTest();
|
|
77
|
-
});
|
|
78
|
-
|
|
79
|
-
(0, _creevey.story)('WithMask', function (_ref7) {var setStoryParameters = _ref7.setStoryParameters;
|
|
80
|
-
setStoryParameters({
|
|
81
|
-
skip: { "themes don't affect logic": { in: /^(?!\b(chrome2022|firefox2022)\b)/ } }
|
|
82
|
-
});
|
|
83
|
-
testMaskedInput();
|
|
84
|
-
});
|
|
85
|
-
|
|
86
|
-
(0, _creevey.story)('WithMaskAndCustomUnmaskedValue', function (_ref8) {var setStoryParameters = _ref8.setStoryParameters;
|
|
87
|
-
setStoryParameters({
|
|
88
|
-
skip: {
|
|
89
|
-
"themes don't affect logic": { in: /^(?!\bchrome2022\b)/ }
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
|
|
93
|
-
testMaskedInput();
|
|
94
|
-
});
|
|
95
|
-
|
|
96
|
-
(0, _creevey.story)('SelectAllByProp', function (_ref9) {var setStoryParameters = _ref9.setStoryParameters;
|
|
97
|
-
setStoryParameters({
|
|
98
|
-
skip: { "themes don't affect logic": { in: /^(?!\b(chrome2022|firefox2022)\b)/ } }
|
|
99
|
-
});
|
|
100
|
-
(0, _creevey.test)('Plain', /*#__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.t0 =
|
|
101
|
-
this;_context6.next = 3;return this.takeScreenshot();case 3:_context6.t1 = _context6.sent;_context6.next = 6;return _context6.t0.expect.call(_context6.t0, _context6.t1).to.matchImage('Plain');case 6:case "end":return _context6.stop();}}, _callee6, this);}))
|
|
102
|
-
);
|
|
103
|
-
|
|
104
|
-
(0, _creevey.test)('Focused', /*#__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 (
|
|
105
|
-
this.browser.
|
|
106
|
-
actions({
|
|
107
|
-
bridge: true
|
|
108
|
-
}).
|
|
109
|
-
click(this.browser.findElement({ css: 'label' })).
|
|
110
|
-
perform());case 2:_context7.t0 =
|
|
111
|
-
this;_context7.next = 5;return this.takeScreenshot();case 5:_context7.t1 = _context7.sent;_context7.next = 8;return _context7.t0.expect.call(_context7.t0, _context7.t1).to.matchImage('Focused');case 8:case "end":return _context7.stop();}}, _callee7, this);}))
|
|
112
|
-
);
|
|
113
|
-
});
|
|
114
|
-
|
|
115
|
-
(0, _creevey.story)('SelectAllByButton', function (_ref12) {var setStoryParameters = _ref12.setStoryParameters;
|
|
116
|
-
setStoryParameters({
|
|
117
|
-
skip: { "themes don't affect logic": { in: /^(?!\b(chrome2022|firefox2022)\b)/ } }
|
|
118
|
-
});
|
|
119
|
-
(0, _creevey.test)('Plain', /*#__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.t0 =
|
|
120
|
-
this;_context8.next = 3;return this.takeScreenshot();case 3:_context8.t1 = _context8.sent;_context8.next = 6;return _context8.t0.expect.call(_context8.t0, _context8.t1).to.matchImage('Plain');case 6:case "end":return _context8.stop();}}, _callee8, this);}))
|
|
121
|
-
);
|
|
122
|
-
|
|
123
|
-
(0, _creevey.test)('Selected', /*#__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 (
|
|
124
|
-
this.browser.
|
|
125
|
-
actions({
|
|
126
|
-
bridge: true
|
|
127
|
-
}).
|
|
128
|
-
click(this.browser.findElement({ css: '[data-tid~="select-all"]' })).
|
|
129
|
-
perform());case 2:_context9.t0 =
|
|
130
|
-
this;_context9.next = 5;return this.takeScreenshot();case 5:_context9.t1 = _context9.sent;_context9.next = 8;return _context9.t0.expect.call(_context9.t0, _context9.t1).to.matchImage('Selected');case 8:case "end":return _context9.stop();}}, _callee9, this);}))
|
|
131
|
-
);
|
|
132
|
-
});
|
|
133
|
-
|
|
134
|
-
(0, _creevey.story)('MaxLength', function (_ref15) {var setStoryParameters = _ref15.setStoryParameters;
|
|
135
|
-
setStoryParameters({
|
|
136
|
-
skip: {
|
|
137
|
-
"themes don't affect logic": { in: /^(?!\b(chrome2022|firefox2022)\b)/ },
|
|
138
|
-
flaky: {
|
|
139
|
-
in: ['chrome2022'],
|
|
140
|
-
tests: ['With long typed text']
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
differentStatesTest();
|
|
145
|
-
});
|
|
146
|
-
|
|
147
|
-
(0, _creevey.story)('UncontrolledInputWithPlaceholder', function (_ref16) {var setStoryParameters = _ref16.setStoryParameters;
|
|
148
|
-
setStoryParameters({
|
|
149
|
-
skip: { "themes don't affect logic": { in: /^(?!\b(chrome2022|firefox2022)\b)/ } }
|
|
150
|
-
});
|
|
151
|
-
(0, _creevey.test)('PlainAndTyped', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10() {var plain, typed;return _regenerator.default.wrap(function _callee10$(_context10) {while (1) switch (_context10.prev = _context10.next) {case 0:_context10.next = 2;return (
|
|
152
|
-
this.takeScreenshot());case 2:plain = _context10.sent;_context10.next = 5;return (
|
|
153
|
-
this.browser.
|
|
154
|
-
actions({
|
|
155
|
-
bridge: true
|
|
156
|
-
}).
|
|
157
|
-
click(this.browser.findElement({ css: 'input' })).
|
|
158
|
-
sendKeys('text').
|
|
159
|
-
perform());case 5:_context10.next = 7;return (
|
|
160
|
-
this.takeScreenshot());case 7:typed = _context10.sent;_context10.next = 10;return (
|
|
161
|
-
this.expect({ plain: plain, typed: typed }).to.matchImages());case 10:case "end":return _context10.stop();}}, _callee10, this);}))
|
|
162
|
-
);
|
|
163
|
-
});
|
|
164
|
-
|
|
165
|
-
(0, _creevey.story)('WithMaskAndSelectAllProp', function (_ref18) {var setStoryParameters = _ref18.setStoryParameters;
|
|
166
|
-
setStoryParameters({ skip: { "themes don't affect logic": { in: /^(?!\bchrome2022\b)/ } } });
|
|
167
|
-
|
|
168
|
-
(0, _creevey.test)('PlainAndSelected', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee11() {var plain, selectAllHalfFilledInput, selectAllFilledInput;return _regenerator.default.wrap(function _callee11$(_context11) {while (1) switch (_context11.prev = _context11.next) {case 0:_context11.next = 2;return (
|
|
169
|
-
this.takeScreenshot());case 2:plain = _context11.sent;_context11.next = 5;return (
|
|
170
|
-
this.browser.
|
|
171
|
-
actions({
|
|
172
|
-
bridge: true
|
|
173
|
-
}).
|
|
174
|
-
click(this.browser.findElement({ css: 'input' })).
|
|
175
|
-
pause(500).
|
|
176
|
-
perform());case 5:_context11.next = 7;return (
|
|
177
|
-
this.takeScreenshot());case 7:selectAllHalfFilledInput = _context11.sent;_context11.next = 10;return (
|
|
178
|
-
this.browser.
|
|
179
|
-
actions({
|
|
180
|
-
bridge: true
|
|
181
|
-
}).
|
|
182
|
-
click(this.browser.findElement({ css: 'input' })).
|
|
183
|
-
sendKeys('1111').
|
|
184
|
-
click(this.browser.findElement({ css: 'body' })).
|
|
185
|
-
click(this.browser.findElement({ css: 'input' })).
|
|
186
|
-
pause(500).
|
|
187
|
-
perform());case 10:_context11.next = 12;return (
|
|
188
|
-
this.takeScreenshot());case 12:selectAllFilledInput = _context11.sent;_context11.next = 15;return (
|
|
189
|
-
this.expect({ plain: plain, selectAllHalfFilledInput: selectAllHalfFilledInput, selectAllFilledInput: selectAllFilledInput }).to.matchImages());case 15:case "end":return _context11.stop();}}, _callee11, this);}))
|
|
190
|
-
);
|
|
191
|
-
});
|
|
192
|
-
|
|
193
|
-
(0, _creevey.story)('SearchTypeApi', function (_ref20) {var setStoryParameters = _ref20.setStoryParameters;
|
|
194
|
-
setStoryParameters({
|
|
195
|
-
skip: {
|
|
196
|
-
'tests only stable in chrome': { in: /^(?!\bchrome2022\b|\bchrome2022Dark\b)/ }
|
|
197
|
-
}
|
|
198
|
-
});
|
|
199
|
-
|
|
200
|
-
(0, _creevey.test)('Focused', /*#__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 (
|
|
201
|
-
this.browser.
|
|
202
|
-
actions({
|
|
203
|
-
bridge: true
|
|
204
|
-
}).
|
|
205
|
-
click(this.browser.findElement({ css: 'label' })).
|
|
206
|
-
perform());case 2:_context12.next = 4;return (
|
|
207
|
-
(0, _utils.delay)(1000));case 4:_context12.t0 =
|
|
208
|
-
this;_context12.next = 7;return this.takeScreenshot();case 7:_context12.t1 = _context12.sent;_context12.next = 10;return _context12.t0.expect.call(_context12.t0, _context12.t1).to.matchImage('Focused');case 10:case "end":return _context12.stop();}}, _callee12, this);}))
|
|
209
|
-
);
|
|
210
|
-
});
|
|
211
|
-
|
|
212
|
-
(0, _creevey.story)('InputTypeApi', function (_ref22) {var setStoryParameters = _ref22.setStoryParameters;
|
|
213
|
-
setStoryParameters({
|
|
214
|
-
skip: {
|
|
215
|
-
"themes don't affect logic": { in: /^(?!\b(chrome|firefox)(2022).*\b)/ }
|
|
216
|
-
}
|
|
217
|
-
});
|
|
218
|
-
|
|
219
|
-
(0, _creevey.test)('Focused', /*#__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 (
|
|
220
|
-
this.browser.
|
|
221
|
-
actions({
|
|
222
|
-
bridge: true
|
|
223
|
-
}).
|
|
224
|
-
click(this.browser.findElement({ css: 'label' })).
|
|
225
|
-
perform());case 2:_context13.t0 =
|
|
226
|
-
this;_context13.next = 5;return this.takeScreenshot();case 5:_context13.t1 = _context13.sent;_context13.next = 8;return _context13.t0.expect.call(_context13.t0, _context13.t1).to.matchImage('Focused');case 8:case "end":return _context13.stop();}}, _callee13, this);}))
|
|
227
|
-
);
|
|
228
|
-
});
|
|
229
|
-
(0, _creevey.story)('Type', function (_ref24) {var setStoryParameters = _ref24.setStoryParameters;
|
|
230
|
-
setStoryParameters({
|
|
231
|
-
skip: { 'no themes': { in: /^(?!\b(chrome2022)\b)/ } }
|
|
232
|
-
});
|
|
233
|
-
});
|
|
234
|
-
(0, _creevey.story)('TypeApi', function (_ref25) {var setStoryParameters = _ref25.setStoryParameters;
|
|
235
|
-
setStoryParameters({
|
|
236
|
-
skip: { 'no themes': { in: /^(?!\b(chrome2022)\b)/ } }
|
|
237
|
-
});
|
|
238
|
-
});
|
|
239
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_creevey","require","_utils","differentStatesTest","test","_asyncToGenerator2","default","_regenerator","mark","_callee","element","wrap","_callee$","_context","prev","next","browser","findElement","css","sent","t0","takeScreenshot","t1","expect","call","to","matchImage","stop","_callee2","_callee2$","_context2","actions","bridge","click","pause","perform","_callee3","_callee3$","_context3","sendKeys","_callee4","_callee4$","_context4","testMaskedInput","_callee5","_this","idle","focused","edited","blured","_callee5$","_context5","matchImages","kind","story","_ref6","setStoryParameters","skip","in","_ref7","_ref8","_ref9","_callee6","_callee6$","_context6","_callee7","_callee7$","_context7","_ref12","_callee8","_callee8$","_context8","_callee9","_callee9$","_context9","_ref15","flaky","tests","_ref16","_callee10","plain","typed","_callee10$","_context10","_ref18","_callee11","selectAllHalfFilledInput","selectAllFilledInput","_callee11$","_context11","_ref20","_callee12","_callee12$","_context12","delay","_ref22","_callee13","_callee13$","_context13","_ref24","_ref25"],"sources":["Input.creevey.ts"],"sourcesContent":["import { story, kind, test } from 'creevey';\n\nimport { delay } from '../../../lib/utils';\n\nconst differentStatesTest = () => {\n test('Plain', async function () {\n const element = await this.browser.findElement({ css: '#input' });\n await this.expect(await element.takeScreenshot()).to.matchImage('Plain');\n });\n\n test('Focused', async function () {\n const element = await this.browser.findElement({ css: '#input' });\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '#input input' }))\n .pause(500)\n .perform();\n await this.expect(await element.takeScreenshot()).to.matchImage('Focused');\n });\n\n test('With typed text', async function () {\n const element = await this.browser.findElement({ css: '#input' });\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '#input input' }))\n .sendKeys('Test...')\n .pause(500)\n .perform();\n await this.expect(await element.takeScreenshot()).to.matchImage('With typed text');\n });\n\n test('With long typed text', async function () {\n const element = await this.browser.findElement({ css: '#input' });\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '#input input' }))\n .sendKeys('Test...')\n .sendKeys('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')\n .pause(500)\n .perform();\n await this.expect(await element.takeScreenshot()).to.matchImage('With long typed text');\n });\n};\n\nconst testMaskedInput = () => {\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 await click('input').pause(500).perform();\n const focused = await this.takeScreenshot();\n await click('input').sendKeys('953').perform();\n const edited = await this.takeScreenshot();\n await click('body').perform();\n const blured = await this.takeScreenshot();\n await this.expect({ idle, focused, edited, blured }).to.matchImages();\n });\n};\n\nkind('Input', () => {\n story('Default', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: { \"themes don't affect logic\": { in: /^(?!\\b(chrome2022|firefox2022)\\b)/ } },\n });\n differentStatesTest();\n });\n\n story('WithMask', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: { \"themes don't affect logic\": { in: /^(?!\\b(chrome2022|firefox2022)\\b)/ } },\n });\n testMaskedInput();\n });\n\n story('WithMaskAndCustomUnmaskedValue', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: {\n \"themes don't affect logic\": { in: /^(?!\\bchrome2022\\b)/ },\n },\n });\n\n testMaskedInput();\n });\n\n story('SelectAllByProp', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: { \"themes don't affect logic\": { in: /^(?!\\b(chrome2022|firefox2022)\\b)/ } },\n });\n test('Plain', async function () {\n await this.expect(await this.takeScreenshot()).to.matchImage('Plain');\n });\n\n test('Focused', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: 'label' }))\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('Focused');\n });\n });\n\n story('SelectAllByButton', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: { \"themes don't affect logic\": { in: /^(?!\\b(chrome2022|firefox2022)\\b)/ } },\n });\n test('Plain', async function () {\n await this.expect(await this.takeScreenshot()).to.matchImage('Plain');\n });\n\n test('Selected', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"select-all\"]' }))\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('Selected');\n });\n });\n\n story('MaxLength', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: {\n \"themes don't affect logic\": { in: /^(?!\\b(chrome2022|firefox2022)\\b)/ },\n flaky: {\n in: ['chrome2022'],\n tests: ['With long typed text'],\n },\n },\n });\n differentStatesTest();\n });\n\n story('UncontrolledInputWithPlaceholder', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: { \"themes don't affect logic\": { in: /^(?!\\b(chrome2022|firefox2022)\\b)/ } },\n });\n test('PlainAndTyped', async function () {\n const plain = await this.takeScreenshot();\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: 'input' }))\n .sendKeys('text')\n .perform();\n const typed = await this.takeScreenshot();\n await this.expect({ plain, typed }).to.matchImages();\n });\n });\n\n story('WithMaskAndSelectAllProp', ({ setStoryParameters }) => {\n setStoryParameters({ skip: { \"themes don't affect logic\": { in: /^(?!\\bchrome2022\\b)/ } } });\n\n test('PlainAndSelected', async function () {\n const plain = 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 selectAllHalfFilledInput = await this.takeScreenshot();\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: 'input' }))\n .sendKeys('1111')\n .click(this.browser.findElement({ css: 'body' }))\n .click(this.browser.findElement({ css: 'input' }))\n .pause(500)\n .perform();\n const selectAllFilledInput = await this.takeScreenshot();\n await this.expect({ plain, selectAllHalfFilledInput, selectAllFilledInput }).to.matchImages();\n });\n });\n\n story('SearchTypeApi', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: {\n 'tests only stable in chrome': { in: /^(?!\\bchrome2022\\b|\\bchrome2022Dark\\b)/ },\n },\n });\n\n test('Focused', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: 'label' }))\n .perform();\n await delay(1000);\n await this.expect(await this.takeScreenshot()).to.matchImage('Focused');\n });\n });\n\n story('InputTypeApi', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: {\n \"themes don't affect logic\": { in: /^(?!\\b(chrome|firefox)(2022).*\\b)/ },\n },\n });\n\n test('Focused', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: 'label' }))\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('Focused');\n });\n });\n story('Type', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: { 'no themes': { in: /^(?!\\b(chrome2022)\\b)/ } },\n });\n });\n story('TypeApi', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: { 'no themes': { in: /^(?!\\b(chrome2022)\\b)/ } },\n });\n });\n});\n"],"mappings":"+RAAA,IAAAA,QAAA,GAAAC,OAAA;;AAEA,IAAAC,MAAA,GAAAD,OAAA;;AAEA,IAAME,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAA,E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A8BG,EAAE,CAACC,UAAU,CAAC,SAAS,2BAAAwE,UAAA,CAAAvE,IAAA,OAAAqE,SAAA,SACvE;IAAA,CAAC;EACJ,CAAC,CAAC;EACF,IAAA1C,cAAK,EAAC,MAAM,EAAE,UAAA6C,MAAA,EAA4B,KAAzB3C,kBAAkB,GAAA2C,MAAA,CAAlB3C,kBAAkB;IACjCA,kBAAkB,CAAC;MACjBC,IAAI,EAAE,EAAE,WAAW,EAAE,EAAEC,EAAE,EAAE,uBAAuB,CAAC,CAAC,CAAC;IACvD,CAAC,CAAC;EACJ,CAAC,CAAC;EACF,IAAAJ,cAAK,EAAC,SAAS,EAAE,UAAA8C,MAAA,EAA4B,KAAzB5C,kBAAkB,GAAA4C,MAAA,CAAlB5C,kBAAkB;IACpCA,kBAAkB,CAAC;MACjBC,IAAI,EAAE,EAAE,WAAW,EAAE,EAAEC,EAAE,EAAE,uBAAuB,CAAC,CAAC,CAAC;IACvD,CAAC,CAAC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,146 +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 _PopupMenu = require("../../../internal/PopupMenu");
|
|
4
|
-
var _utils = require("../../../lib/utils");
|
|
5
|
-
var textAlignmentTests = function textAlignmentTests() {
|
|
6
|
-
(0, _creevey.test)('opened', /*#__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.next = 2;return (
|
|
7
|
-
this.browser.
|
|
8
|
-
actions({
|
|
9
|
-
bridge: true
|
|
10
|
-
}).
|
|
11
|
-
click(this.browser.findElement({ css: "[data-tid~=\"" + _PopupMenu.PopupMenuDataTids.caption + "\"]" })).
|
|
12
|
-
perform());case 2:_context.next = 4;return (
|
|
13
|
-
(0, _utils.delay)(1000));case 4:_context.t0 =
|
|
14
|
-
this;_context.next = 7;return this.takeScreenshot();case 7:_context.t1 = _context.sent;_context.next = 10;return _context.t0.expect.call(_context.t0, _context.t1).to.matchImage('opened');case 10:case "end":return _context.stop();}}, _callee, this);}))
|
|
15
|
-
);
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
var kebabTests = function kebabTests() {
|
|
19
|
-
(0, _creevey.test)('plain', /*#__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.t0 =
|
|
20
|
-
this;_context2.next = 3;return this.takeScreenshot();case 3:_context2.t1 = _context2.sent;_context2.next = 6;return _context2.t0.expect.call(_context2.t0, _context2.t1).to.matchImage('plain');case 6:case "end":return _context2.stop();}}, _callee2, this);}))
|
|
21
|
-
);
|
|
22
|
-
|
|
23
|
-
(0, _creevey.test)('hovered', /*#__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 (
|
|
24
|
-
this.browser.
|
|
25
|
-
actions({
|
|
26
|
-
bridge: true
|
|
27
|
-
}).
|
|
28
|
-
move({
|
|
29
|
-
origin: this.browser.findElement({ css: '[data-comp-name~="Kebab"]' })
|
|
30
|
-
}).
|
|
31
|
-
perform());case 2:_context3.t0 =
|
|
32
|
-
this;_context3.next = 5;return this.takeScreenshot();case 5:_context3.t1 = _context3.sent;_context3.next = 8;return _context3.t0.expect.call(_context3.t0, _context3.t1).to.matchImage('hovered');case 8:case "end":return _context3.stop();}}, _callee3, this);}))
|
|
33
|
-
);
|
|
34
|
-
|
|
35
|
-
(0, _creevey.test)('clicked', /*#__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~="Kebab"]' })).
|
|
41
|
-
perform());case 2:_context4.t0 =
|
|
42
|
-
this;_context4.next = 5;return this.takeScreenshot();case 5:_context4.t1 = _context4.sent;_context4.next = 8;return _context4.t0.expect.call(_context4.t0, _context4.t1).to.matchImage('clicked');case 8:case "end":return _context4.stop();}}, _callee4, this);}))
|
|
43
|
-
);
|
|
44
|
-
|
|
45
|
-
(0, _creevey.test)('clickedOnButton2ndTime', /*#__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 (
|
|
46
|
-
this.browser.
|
|
47
|
-
actions({
|
|
48
|
-
bridge: true
|
|
49
|
-
}).
|
|
50
|
-
click(this.browser.findElement({ css: '[data-comp-name~="Kebab"]' })).
|
|
51
|
-
click(this.browser.findElement({ css: '[data-comp-name~="Kebab"]' })).
|
|
52
|
-
perform());case 2:_context5.t0 =
|
|
53
|
-
this;_context5.next = 5;return this.takeScreenshot();case 5:_context5.t1 = _context5.sent;_context5.next = 8;return _context5.t0.expect.call(_context5.t0, _context5.t1).to.matchImage('clickedOnButton2ndTime');case 8:case "end":return _context5.stop();}}, _callee5, this);}))
|
|
54
|
-
);
|
|
55
|
-
|
|
56
|
-
(0, _creevey.test)('tabPress', /*#__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 (
|
|
57
|
-
this.browser.
|
|
58
|
-
actions({
|
|
59
|
-
bridge: true
|
|
60
|
-
}).
|
|
61
|
-
sendKeys(this.keys.TAB).
|
|
62
|
-
perform());case 2:_context6.t0 =
|
|
63
|
-
this;_context6.next = 5;return this.takeScreenshot();case 5:_context6.t1 = _context6.sent;_context6.next = 8;return _context6.t0.expect.call(_context6.t0, _context6.t1).to.matchImage('tabPress');case 8:case "end":return _context6.stop();}}, _callee6, this);}))
|
|
64
|
-
);
|
|
65
|
-
|
|
66
|
-
(0, _creevey.test)('enterPress', /*#__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 (
|
|
67
|
-
this.browser.
|
|
68
|
-
actions({
|
|
69
|
-
bridge: true
|
|
70
|
-
}).
|
|
71
|
-
sendKeys(this.keys.TAB).
|
|
72
|
-
sendKeys(this.keys.ENTER).
|
|
73
|
-
perform());case 2:_context7.t0 =
|
|
74
|
-
this;_context7.next = 5;return this.takeScreenshot();case 5:_context7.t1 = _context7.sent;_context7.next = 8;return _context7.t0.expect.call(_context7.t0, _context7.t1).to.matchImage('enterPress');case 8:case "end":return _context7.stop();}}, _callee7, this);}))
|
|
75
|
-
);
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
(0, _creevey.kind)('Kebab', function () {
|
|
79
|
-
(0, _creevey.story)('Small', function (_ref8) {var setStoryParameters = _ref8.setStoryParameters;
|
|
80
|
-
setStoryParameters({
|
|
81
|
-
skip: {
|
|
82
|
-
'hover does not work in chrome': {
|
|
83
|
-
in: ['chrome2022', 'chrome2022Dark'],
|
|
84
|
-
tests: ['hovered', 'clickedOnButton2ndTime']
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
|
-
|
|
89
|
-
kebabTests();
|
|
90
|
-
});
|
|
91
|
-
|
|
92
|
-
(0, _creevey.story)('Medium', function (_ref9) {var setStoryParameters = _ref9.setStoryParameters;
|
|
93
|
-
setStoryParameters({
|
|
94
|
-
skip: {
|
|
95
|
-
'hover does not work in chrome': {
|
|
96
|
-
in: ['chrome2022', 'chrome2022Dark'],
|
|
97
|
-
tests: ['hovered', 'clickedOnButton2ndTime']
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
|
|
102
|
-
kebabTests();
|
|
103
|
-
});
|
|
104
|
-
|
|
105
|
-
(0, _creevey.story)('Large', function (_ref10) {var setStoryParameters = _ref10.setStoryParameters;
|
|
106
|
-
setStoryParameters({
|
|
107
|
-
skip: {
|
|
108
|
-
'hover does not work in chrome': {
|
|
109
|
-
in: ['chrome2022', 'chrome2022Dark'],
|
|
110
|
-
tests: ['hovered', 'clickedOnButton2ndTime']
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
|
|
115
|
-
kebabTests();
|
|
116
|
-
});
|
|
117
|
-
|
|
118
|
-
(0, _creevey.story)('MobileExampleWithHorizontalPadding', function (_ref11) {var setStoryParameters = _ref11.setStoryParameters;
|
|
119
|
-
setStoryParameters({ captureElement: null });
|
|
120
|
-
|
|
121
|
-
(0, _creevey.test)('opened', /*#__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 (
|
|
122
|
-
this.browser.
|
|
123
|
-
actions({ bridge: true }).
|
|
124
|
-
click(this.browser.findElement({ css: '[data-comp-name~="Kebab"]' })).
|
|
125
|
-
perform());case 2:_context8.next = 4;return (
|
|
126
|
-
(0, _utils.delay)(200));case 4:_context8.next = 6;return (
|
|
127
|
-
this.browser.
|
|
128
|
-
actions({ bridge: true }).
|
|
129
|
-
move({ origin: this.browser.findElement({ css: '[data-comp-name~="MenuItem"]' }) }).
|
|
130
|
-
perform());case 6:_context8.next = 8;return (
|
|
131
|
-
(0, _utils.delay)(1000));case 8:_context8.t0 =
|
|
132
|
-
this;_context8.next = 11;return this.takeScreenshot();case 11:_context8.t1 = _context8.sent;_context8.next = 14;return _context8.t0.expect.call(_context8.t0, _context8.t1).to.matchImage('opened');case 14:case "end":return _context8.stop();}}, _callee8, this);}))
|
|
133
|
-
);
|
|
134
|
-
});
|
|
135
|
-
(0, _creevey.story)('WithItemsAndIcons', function (_ref13) {var setStoryParameters = _ref13.setStoryParameters;
|
|
136
|
-
setStoryParameters({ skip: { 'themes dont affect logic': { in: /^(?!\bchrome2022\b)/ } } });
|
|
137
|
-
|
|
138
|
-
textAlignmentTests();
|
|
139
|
-
});
|
|
140
|
-
|
|
141
|
-
(0, _creevey.story)('WithItemsAndIconsWithoutTextAlignment', function (_ref14) {var setStoryParameters = _ref14.setStoryParameters;
|
|
142
|
-
setStoryParameters({ skip: { 'themes dont affect logic': { in: /^(?!\bchrome2022\b)/ } } });
|
|
143
|
-
|
|
144
|
-
textAlignmentTests();
|
|
145
|
-
});
|
|
146
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_creevey","require","_PopupMenu","_utils","textAlignmentTests","test","_asyncToGenerator2","default","_regenerator","mark","_callee","wrap","_callee$","_context","prev","next","browser","actions","bridge","click","findElement","css","PopupMenuDataTids","caption","perform","delay","t0","takeScreenshot","t1","sent","expect","call","to","matchImage","stop","kebabTests","_callee2","_callee2$","_context2","_callee3","_callee3$","_context3","move","origin","_callee4","_callee4$","_context4","_callee5","_callee5$","_context5","_callee6","_callee6$","_context6","sendKeys","keys","TAB","_callee7","_callee7$","_context7","ENTER","kind","story","_ref8","setStoryParameters","skip","in","tests","_ref9","_ref10","_ref11","captureElement","_callee8","_callee8$","_context8","_ref13","_ref14"],"sources":["Kebab.creevey.ts"],"sourcesContent":["import { story, kind, test } from 'creevey';\n\nimport { PopupMenuDataTids } from '../../../internal/PopupMenu';\nimport { delay } from '../../../lib/utils';\nconst textAlignmentTests = () => {\n test('opened', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: `[data-tid~=\"${PopupMenuDataTids.caption}\"]` }))\n .perform();\n await delay(1000);\n await this.expect(await this.takeScreenshot()).to.matchImage('opened');\n });\n};\n\nconst kebabTests = () => {\n test('plain', async function () {\n await this.expect(await this.takeScreenshot()).to.matchImage('plain');\n });\n\n test('hovered', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .move({\n origin: this.browser.findElement({ css: '[data-comp-name~=\"Kebab\"]' }),\n })\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('hovered');\n });\n\n test('clicked', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-comp-name~=\"Kebab\"]' }))\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('clicked');\n });\n\n test('clickedOnButton2ndTime', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-comp-name~=\"Kebab\"]' }))\n .click(this.browser.findElement({ css: '[data-comp-name~=\"Kebab\"]' }))\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('clickedOnButton2ndTime');\n });\n\n test('tabPress', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .sendKeys(this.keys.TAB)\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('tabPress');\n });\n\n test('enterPress', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .sendKeys(this.keys.TAB)\n .sendKeys(this.keys.ENTER)\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('enterPress');\n });\n};\n\nkind('Kebab', () => {\n story('Small', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: {\n 'hover does not work in chrome': {\n in: ['chrome2022', 'chrome2022Dark'],\n tests: ['hovered', 'clickedOnButton2ndTime'],\n },\n },\n });\n\n kebabTests();\n });\n\n story('Medium', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: {\n 'hover does not work in chrome': {\n in: ['chrome2022', 'chrome2022Dark'],\n tests: ['hovered', 'clickedOnButton2ndTime'],\n },\n },\n });\n\n kebabTests();\n });\n\n story('Large', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: {\n 'hover does not work in chrome': {\n in: ['chrome2022', 'chrome2022Dark'],\n tests: ['hovered', 'clickedOnButton2ndTime'],\n },\n },\n });\n\n kebabTests();\n });\n\n story('MobileExampleWithHorizontalPadding', ({ setStoryParameters }) => {\n setStoryParameters({ captureElement: null });\n\n test('opened', async function () {\n await this.browser\n .actions({ bridge: true })\n .click(this.browser.findElement({ css: '[data-comp-name~=\"Kebab\"]' }))\n .perform();\n await delay(200);\n await this.browser\n .actions({ bridge: true })\n .move({ origin: this.browser.findElement({ css: '[data-comp-name~=\"MenuItem\"]' }) })\n .perform();\n await delay(1000);\n await this.expect(await this.takeScreenshot()).to.matchImage('opened');\n });\n });\n story('WithItemsAndIcons', ({ setStoryParameters }) => {\n setStoryParameters({ skip: { 'themes dont affect logic': { in: /^(?!\\bchrome2022\\b)/ } } });\n\n textAlignmentTests();\n });\n\n story('WithItemsAndIconsWithoutTextAlignment', ({ setStoryParameters }) => {\n setStoryParameters({ skip: { 'themes dont affect logic': { in: /^(?!\\bchrome2022\\b)/ } } });\n\n textAlignmentTests();\n });\n});\n"],"mappings":"+RAAA,IAAAA,QAAA,GAAAC,OAAA;;AAEA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAMG,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAA,EAAS;EAC/B,IAAAC,aAAI,EAAC,QAAQ,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,GAAAD,QAAA,CAAAE,IAAA,UAAAF,QAA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,EAAE,EAAE,0BAA0B,EAAE,EAAEC,EAAE,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;;IAE3F7D,kBAAkB,CAAC,CAAC;EACtB,CAAC,CAAC;;EAEF,IAAAyD,cAAK,EAAC,uCAAuC,EAAE,UAAAc,MAAA,EAA4B,KAAzBZ,kBAAkB,GAAAY,MAAA,CAAlBZ,kBAAkB;IAClEA,kBAAkB,CAAC,EAAEC,IAAI,EAAE,EAAE,0BAA0B,EAAE,EAAEC,EAAE,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;;IAE3F7D,kBAAkB,CAAC,CAAC;EACtB,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,161 +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 focusedLinkTest = function focusedLinkTest() {
|
|
6
|
-
(0, _creevey.test)('tab press', /*#__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.next = 2;return (
|
|
7
|
-
this.browser.
|
|
8
|
-
actions({
|
|
9
|
-
bridge: true
|
|
10
|
-
}).
|
|
11
|
-
sendKeys(this.keys.TAB).
|
|
12
|
-
perform());case 2:_context.next = 4;return (
|
|
13
|
-
(0, _utils.delay)(1000));case 4:_context.t0 =
|
|
14
|
-
this;_context.next = 7;return this.takeScreenshot();case 7:_context.t1 = _context.sent;_context.next = 10;return _context.t0.expect.call(_context.t0, _context.t1).to.matchImage('tabPress');case 10:_context.next = 12;return (
|
|
15
|
-
this.browser.
|
|
16
|
-
actions({
|
|
17
|
-
bridge: true
|
|
18
|
-
}).
|
|
19
|
-
move({
|
|
20
|
-
origin: this.browser.findElement({ css: 'a' })
|
|
21
|
-
}).
|
|
22
|
-
perform());case 12:_context.next = 14;return (
|
|
23
|
-
(0, _utils.delay)(1000));case 14:_context.t2 =
|
|
24
|
-
this;_context.next = 17;return this.takeScreenshot();case 17:_context.t3 = _context.sent;_context.next = 20;return _context.t2.expect.call(_context.t2, _context.t3).to.matchImage('tabPressHovered');case 20:case "end":return _context.stop();}}, _callee, this);}))
|
|
25
|
-
);
|
|
26
|
-
};
|
|
27
|
-
var linkTests = function linkTests() {
|
|
28
|
-
(0, _creevey.test)('idle', /*#__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.t0 =
|
|
29
|
-
this;_context2.next = 3;return this.takeScreenshot();case 3:_context2.t1 = _context2.sent;_context2.next = 6;return _context2.t0.expect.call(_context2.t0, _context2.t1).to.matchImage('idle');case 6:case "end":return _context2.stop();}}, _callee2, this);}))
|
|
30
|
-
);
|
|
31
|
-
|
|
32
|
-
(0, _creevey.test)('hover', /*#__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 (
|
|
33
|
-
this.browser.
|
|
34
|
-
actions({
|
|
35
|
-
bridge: true
|
|
36
|
-
}).
|
|
37
|
-
move({
|
|
38
|
-
origin: this.browser.findElement({ css: 'a' })
|
|
39
|
-
}).
|
|
40
|
-
perform());case 2:_context3.t0 =
|
|
41
|
-
this;_context3.next = 5;return this.takeScreenshot();case 5:_context3.t1 = _context3.sent;_context3.next = 8;return _context3.t0.expect.call(_context3.t0, _context3.t1).to.matchImage('hover');case 8:case "end":return _context3.stop();}}, _callee3, this);}))
|
|
42
|
-
);
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
var focusedStyledLinkTest = function focusedStyledLinkTest() {
|
|
46
|
-
(0, _creevey.test)('tab press', /*#__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 (
|
|
47
|
-
this.browser.
|
|
48
|
-
actions({
|
|
49
|
-
bridge: true
|
|
50
|
-
}).
|
|
51
|
-
move({
|
|
52
|
-
origin: this.browser.findElement({ css: 'a' })
|
|
53
|
-
}).
|
|
54
|
-
perform());case 2:_context4.next = 4;return (
|
|
55
|
-
(0, _utils.delay)(1000));case 4:_context4.t0 =
|
|
56
|
-
this;_context4.next = 7;return this.takeScreenshot();case 7:_context4.t1 = _context4.sent;_context4.next = 10;return _context4.t0.expect.call(_context4.t0, _context4.t1).to.matchImage('hovered');case 10:_context4.next = 12;return (
|
|
57
|
-
this.browser.
|
|
58
|
-
actions({
|
|
59
|
-
bridge: true
|
|
60
|
-
}).
|
|
61
|
-
sendKeys(this.keys.TAB).
|
|
62
|
-
perform());case 12:_context4.next = 14;return (
|
|
63
|
-
this.browser.
|
|
64
|
-
actions({
|
|
65
|
-
bridge: true
|
|
66
|
-
}).
|
|
67
|
-
move({
|
|
68
|
-
origin: this.browser.findElement({ css: 'a' })
|
|
69
|
-
}).
|
|
70
|
-
perform());case 14:_context4.next = 16;return (
|
|
71
|
-
(0, _utils.delay)(1000));case 16:_context4.t2 =
|
|
72
|
-
this;_context4.next = 19;return this.takeScreenshot();case 19:_context4.t3 = _context4.sent;_context4.next = 22;return _context4.t2.expect.call(_context4.t2, _context4.t3).to.matchImage('tabPressHovered');case 22:case "end":return _context4.stop();}}, _callee4, this);}))
|
|
73
|
-
);
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
(0, _creevey.kind)('Link', function () {
|
|
77
|
-
(0, _creevey.story)('Simple', function (_ref5) {var setStoryParameters = _ref5.setStoryParameters;
|
|
78
|
-
setStoryParameters({
|
|
79
|
-
skip: {
|
|
80
|
-
'hover does not work in chrome': {
|
|
81
|
-
in: ['chrome2022', 'chrome2022Dark'],
|
|
82
|
-
tests: ['hover']
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
|
|
87
|
-
linkTests();
|
|
88
|
-
});
|
|
89
|
-
|
|
90
|
-
(0, _creevey.story)('WithIcon', function (_ref6) {var setStoryParameters = _ref6.setStoryParameters;
|
|
91
|
-
setStoryParameters({
|
|
92
|
-
skip: {
|
|
93
|
-
'hover does not work in chrome': {
|
|
94
|
-
in: ['chrome2022', 'chrome2022Dark'],
|
|
95
|
-
tests: ['hover']
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
|
-
|
|
100
|
-
linkTests();
|
|
101
|
-
focusedLinkTest();
|
|
102
|
-
});
|
|
103
|
-
|
|
104
|
-
(0, _creevey.story)('Danger', function (_ref7) {var setStoryParameters = _ref7.setStoryParameters;
|
|
105
|
-
setStoryParameters({
|
|
106
|
-
skip: {
|
|
107
|
-
'hover does not work in chrome': {
|
|
108
|
-
in: ['chrome2022', 'chrome2022Dark'],
|
|
109
|
-
tests: ['hover']
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
});
|
|
113
|
-
|
|
114
|
-
linkTests();
|
|
115
|
-
});
|
|
116
|
-
|
|
117
|
-
(0, _creevey.story)('Grayed', function (_ref8) {var setStoryParameters = _ref8.setStoryParameters;
|
|
118
|
-
setStoryParameters({
|
|
119
|
-
skip: {
|
|
120
|
-
'hover does not work in chrome': {
|
|
121
|
-
in: ['chrome2022', 'chrome2022Dark'],
|
|
122
|
-
tests: ['hover']
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
|
|
127
|
-
linkTests();
|
|
128
|
-
});
|
|
129
|
-
|
|
130
|
-
(0, _creevey.story)('Disabled', function (_ref9) {var setStoryParameters = _ref9.setStoryParameters;
|
|
131
|
-
setStoryParameters({
|
|
132
|
-
skip: {
|
|
133
|
-
'hover does not work in chrome': {
|
|
134
|
-
in: ['chrome2022', 'chrome2022Dark'],
|
|
135
|
-
tests: ['hover']
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
|
|
140
|
-
linkTests();
|
|
141
|
-
});
|
|
142
|
-
|
|
143
|
-
(0, _creevey.story)('Loading', function (_ref10) {var setStoryParameters = _ref10.setStoryParameters;
|
|
144
|
-
setStoryParameters({
|
|
145
|
-
skip: {
|
|
146
|
-
'hover does not work in chrome': {
|
|
147
|
-
in: ['chrome2022', 'chrome2022Dark'],
|
|
148
|
-
tests: ['hover']
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
});
|
|
152
|
-
|
|
153
|
-
linkTests();
|
|
154
|
-
});
|
|
155
|
-
|
|
156
|
-
(0, _creevey.story)('FocusedStyledLink', function (_ref11) {var setStoryParameters = _ref11.setStoryParameters;
|
|
157
|
-
setStoryParameters({ skip: { flacky: { in: /^(?!\b(firefox2022)\b)/ } } });
|
|
158
|
-
|
|
159
|
-
focusedStyledLinkTest();
|
|
160
|
-
});
|
|
161
|
-
});
|