@skbkontur/react-ui 5.0.8 → 5.0.9
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 +8 -0
- package/cjs/components/Autocomplete/__creevey__/Autocomplete.creevey.mts +239 -0
- package/cjs/components/Button/__creevey__/Button.creevey.mts +251 -0
- package/cjs/components/Calendar/__creevey__/Calendar.creevey.mts +74 -0
- package/cjs/components/Checkbox/__creevey__/Checkbox.creevey.mts +243 -0
- package/cjs/components/ComboBox/__creevey__/ComboBox.creevey.mts +541 -0
- package/cjs/components/CurrencyInput/__creevey__/CurrencyInput.creevey.mts +81 -0
- package/cjs/components/DateInput/__creevey__/DateInput.creevey.mts +156 -0
- package/cjs/components/DatePicker/__creevey__/DatePicker.creevey.mts +209 -0
- package/cjs/components/Dropdown/__creevey__/Dropdown.creevey.mts +184 -0
- package/cjs/components/DropdownMenu/__creevey__/DropdownMenu.creevey.mts +263 -0
- package/cjs/components/FxInput/__creevey__/FxInput.creevey.mts +21 -0
- package/cjs/components/Group/__creevey__/Group.creevey.mts +19 -0
- package/cjs/components/Hint/__creevey__/Hint.creevey.mts +68 -0
- package/cjs/components/Input/__creevey__/Input.creevey.mts +239 -0
- package/cjs/components/Kebab/__creevey__/Kebab.creevey.mts +147 -0
- package/cjs/components/Link/__creevey__/Link.creevey.mts +162 -0
- package/cjs/components/Loader/__creevey__/Loader.creevey.mts +35 -0
- package/cjs/components/MaskedInput/__creevey__/MaskedInput.creevey.mts +216 -0
- package/cjs/components/Modal/Modal.js +7 -10
- package/cjs/components/Modal/Modal.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 +281 -0
- package/cjs/components/Paging/__creevey__/Paging.creevey.mts +97 -0
- package/cjs/components/PasswordInput/__creevey__/PasswordInput.creevey.mts +38 -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 +1 -6
- package/cjs/components/Select/Select.js +7 -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/__creevey__/SidePage.creevey.mts +319 -0
- package/cjs/components/Sticky/__creevey__/Sticky.creevey.mts +98 -0
- 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/__creevey__/Toast.creevey.mts +54 -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/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.mts +48 -0
- package/cjs/internal/CustomComboBox/CustomComboBox.d.ts +1 -3
- package/cjs/internal/CustomComboBox/CustomComboBox.js +4 -6
- package/cjs/internal/CustomComboBox/CustomComboBox.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/Menu/__creevey__/Menu.creevey.mts +90 -0
- package/cjs/internal/PopupMenu/PopupMenu.d.ts +1 -5
- package/cjs/internal/PopupMenu/PopupMenu.js +8 -10
- 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__/ThemeProvider.creevey.mts +68 -0
- package/cjs/internal/ThemeShowcase/VariablesCollector.js +1 -0
- package/cjs/internal/ThemeShowcase/VariablesCollector.js.map +1 -1
- package/cjs/internal/ZIndex/__creevey__/ZIndex.creevey.mts +228 -0
- 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/utils.d.ts +3 -3
- package/cjs/lib/utils.js +5 -4
- package/cjs/lib/utils.js.map +1 -1
- package/components/Autocomplete/__creevey__/Autocomplete.creevey.mts +239 -0
- package/components/Button/__creevey__/Button.creevey.mts +251 -0
- package/components/Calendar/__creevey__/Calendar.creevey.mts +74 -0
- package/components/Checkbox/__creevey__/Checkbox.creevey.mts +243 -0
- package/components/ComboBox/__creevey__/ComboBox.creevey.mts +541 -0
- package/components/CurrencyInput/__creevey__/CurrencyInput.creevey.mts +81 -0
- package/components/DateInput/__creevey__/DateInput.creevey.mts +156 -0
- package/components/DatePicker/__creevey__/DatePicker.creevey.mts +209 -0
- package/components/Dropdown/__creevey__/Dropdown.creevey.mts +184 -0
- package/components/DropdownMenu/__creevey__/DropdownMenu.creevey.mts +263 -0
- package/components/FxInput/__creevey__/FxInput.creevey.mts +21 -0
- package/components/Group/__creevey__/Group.creevey.mts +19 -0
- package/components/Hint/__creevey__/Hint.creevey.mts +68 -0
- package/components/Input/__creevey__/Input.creevey.mts +239 -0
- package/components/Kebab/__creevey__/Kebab.creevey.mts +147 -0
- package/components/Link/__creevey__/Link.creevey.mts +162 -0
- package/components/Loader/__creevey__/Loader.creevey.mts +35 -0
- package/components/MaskedInput/__creevey__/MaskedInput.creevey.mts +216 -0
- package/components/Modal/Modal/Modal.js +4 -16
- package/components/Modal/Modal/Modal.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 +281 -0
- package/components/Paging/__creevey__/Paging.creevey.mts +97 -0
- package/components/PasswordInput/__creevey__/PasswordInput.creevey.mts +38 -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 +2 -5
- package/components/Select/Select/Select.js.map +1 -1
- package/components/Select/Select.d.ts +1 -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/__creevey__/SidePage.creevey.mts +319 -0
- package/components/Sticky/__creevey__/Sticky.creevey.mts +98 -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/__creevey__/Toast.creevey.mts +54 -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/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.mts +48 -0
- package/internal/CustomComboBox/CustomComboBox/CustomComboBox.js +1 -3
- package/internal/CustomComboBox/CustomComboBox/CustomComboBox.js.map +1 -1
- package/internal/CustomComboBox/CustomComboBox.d.ts +1 -3
- 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/Menu/__creevey__/Menu.creevey.mts +90 -0
- package/internal/PopupMenu/PopupMenu/PopupMenu.js +2 -4
- package/internal/PopupMenu/PopupMenu/PopupMenu.js.map +1 -1
- package/internal/PopupMenu/PopupMenu.d.ts +1 -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__/ThemeProvider.creevey.mts +68 -0
- package/internal/ThemeShowcase/VariablesCollector/VariablesCollector.js +2 -0
- package/internal/ThemeShowcase/VariablesCollector/VariablesCollector.js.map +1 -1
- package/internal/ZIndex/__creevey__/ZIndex.creevey.mts +228 -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/utils/utils.js +3 -7
- package/lib/utils/utils.js.map +1 -1
- package/lib/utils.d.ts +3 -3
- package/package.json +6 -5
- 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/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 -96
- 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/lib/styles/HoldSelectionColor.d.ts +0 -1
- package/cjs/lib/styles/HoldSelectionColor.js +0 -9
- package/cjs/lib/styles/HoldSelectionColor.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/Autocomplete/__creevey__/Autocomplete.creevey.d.ts +0 -1
- 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/Button/__creevey__/Button.creevey.d.ts +0 -1
- 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/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/lib/styles/HoldSelectionColor/HoldSelectionColor.js +0 -8
- package/lib/styles/HoldSelectionColor/HoldSelectionColor.js.map +0 -1
- package/lib/styles/HoldSelectionColor/package.json +0 -6
- package/lib/styles/HoldSelectionColor.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/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.d.mts} +0 -0
- /package/{cjs/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.d.ts → internal/CustomComboBox/__creevey__/ComboBoxView.creevey.d.mts} +0 -0
- /package/{cjs/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.d.ts → internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.d.mts} +0 -0
- /package/{cjs/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.d.ts → internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.d.mts} +0 -0
- /package/{cjs/internal/Menu/__creevey__/Menu.creevey.d.ts → internal/Menu/__creevey__/Menu.creevey.d.mts} +0 -0
- /package/{cjs/internal/PopupMenu/__creevey__/PopupMenu.creevey.d.ts → internal/PopupMenu/__creevey__/PopupMenu.creevey.d.mts} +0 -0
- /package/{cjs/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.d.ts → internal/ThemePlayground/__creevey__/ThemeProvider.creevey.d.mts} +0 -0
- /package/{cjs/internal/ZIndex/__creevey__/ZIndex.creevey.d.ts → internal/ZIndex/__creevey__/ZIndex.creevey.d.mts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_creevey","require","_utils","topMiddleBottomModalTests","test","_asyncToGenerator2","default","_regenerator","mark","_callee","wrap","_callee$","_context","prev","next","t0","browser","takeScreenshot","t1","sent","expect","call","to","matchImage","stop","_callee2","_callee2$","_context2","executeScript","modalContainer","window","document","querySelector","modalContent","scrollTop","offsetHeight","delay","_callee3","_callee3$","_context3","kind","story","_callee4","_callee4$","_context4","actions","bridge","click","findElement","css","perform","_callee5","_callee5$","_context5","_callee6","_callee6$","_context6","_callee7","_callee7$","_context7","_callee8","_callee8$","_context8","_callee9","_callee9$","_context9","_callee10","_callee10$","_context10","_callee11","_callee11$","_context11","_callee12","_callee12$","_context12","pause","_callee13","_callee13$","_context13","_callee14","_callee14$","_context14","_callee15","_callee15$","_context15","_callee16","_callee16$","_context16","_callee17","_callee17$","_context17","_callee18","_callee18$","_context18","modalBody","_callee19","_callee19$","_context19"],"sources":["Modal.creevey.ts"],"sourcesContent":["import { story, kind, test } from 'creevey';\n\nimport { delay } from '../../../lib/utils';\n\nconst topMiddleBottomModalTests = () => {\n test('top', async function () {\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('top');\n });\n\n test('middle', async function () {\n await this.browser.executeScript(function () {\n const modalContainer = window.document.querySelector('[data-tid=\"modal-container\"]') as HTMLElement;\n const modalContent = window.document.querySelector('[data-tid=\"modal-content\"]') as HTMLElement;\n\n modalContainer.scrollTop = modalContent.offsetHeight / 2;\n });\n await delay(100);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('middle');\n });\n\n test('bottom', async function () {\n await this.browser.executeScript(function () {\n const modalContainer = window.document.querySelector('[data-tid=\"modal-container\"]') as HTMLElement;\n const modalContent = window.document.querySelector('[data-tid=\"modal-content\"]') as HTMLElement;\n\n modalContainer.scrollTop = modalContent.offsetHeight;\n });\n await delay(100);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('bottom');\n });\n};\n\nkind('Modal', () => {\n story('ModalWithFooterPanelStory', () => {\n test('open modal', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-comp-name~=\"Button\"]:nth-of-type(1)' }))\n .perform();\n await delay(100);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('open modal');\n });\n });\n\n story('WithIconInput', () => {\n test('open modal', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await delay(1000);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('open modal');\n });\n });\n\n story('ModalOverAnotherModalStory', () => {\n test('open first modal', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-first-modal\"]' }))\n .perform();\n await delay(200);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('open first modal');\n });\n\n test('open second modal', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-first-modal\"]' }))\n .perform();\n await this.browser\n .actions({ bridge: true })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-second-modal\"]' }))\n .perform();\n await delay(100);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('open second modal');\n });\n });\n\n story('ModalWithoutFooterPanelStory', () => {\n test('open modal', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await delay(200);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('open modal');\n });\n });\n\n story('ModalWithoutFooterStory', () => {\n test('open modal', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('open modal');\n });\n });\n\n story('ModalMobileView', () => {\n test('idle', async function () {\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('idle');\n });\n });\n\n story('ModalWithVariableHeightOfContent', () => {\n test('open modal', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await delay(100);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('open modal');\n });\n\n test('toggle content height', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await this.browser\n .actions({ bridge: true })\n .click(this.browser.findElement({ css: '#modal-inner [data-comp-name~=\"Toggle\"]' }))\n .pause(500)\n .perform();\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('toggle content height');\n });\n });\n\n story('ModalWithoutStickyElements', () => {\n topMiddleBottomModalTests();\n });\n\n story('SmallModalOnTheTop', () => {\n test('open modal', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await delay(100);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('open modal');\n });\n\n test('close by click on the cross', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await this.browser\n .actions({ bridge: true })\n .click(this.browser.findElement({ css: '[data-tid=\"modal-close\"]' }))\n .perform();\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('close by click on the cross');\n });\n\n test(\"doesn't close by click on the content\", async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await this.browser\n .actions({ bridge: true })\n .click(this.browser.findElement({ css: '[data-tid=\"modal-content-button\"]' }))\n .perform();\n await this.expect(await this.browser.takeScreenshot()).to.matchImage(\"doesn't close by click on the content\");\n });\n\n test('closes by click on the background', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await this.browser\n .actions({ bridge: true })\n .click(this.browser.findElement({ css: '[data-tid=\"modal-container\"]' }))\n .perform();\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('closes by click on the background');\n });\n });\n\n story('ModalWithChildrenFromOtherComponent', () => {\n topMiddleBottomModalTests();\n });\n\n story('MobileModal', () => {\n test('top', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await delay(200);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('top');\n });\n\n test('middle', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await delay(200);\n await this.browser.executeScript(function () {\n const modalContent = window.document.querySelector('.focus-lock-container') as HTMLElement;\n const modalBody = window.document.querySelector('[data-comp-name~=\"Modal.Body\"] ') as HTMLElement;\n\n modalContent.scrollTop = modalBody.offsetHeight / 2;\n });\n await delay(100);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('middle');\n });\n\n test('bottom', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid~=\"open-modal\"]' }))\n .perform();\n await delay(200);\n await this.browser.executeScript(function () {\n const modalContent = window.document.querySelector('.focus-lock-container') as HTMLElement;\n const modalBody = window.document.querySelector('[data-comp-name~=\"Modal.Body\"] ') as HTMLElement;\n\n modalContent.scrollTop = modalBody.offsetHeight;\n });\n await delay(100);\n await this.expect(await this.browser.takeScreenshot()).to.matchImage('bottom');\n });\n });\n});\n"],"mappings":"+RAAA,IAAAA,QAAA,GAAAC,OAAA;;AAEA,IAAAC,MAAA,GAAAD,OAAA;;AAEA,IAAME,yBAAyB,GAAG,SAA5BA,yBAAyBA,CAAA,EAAS;EACtC,IAAAC,aAAI,EAAC,KAAK,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,QAAA,CAAAG,EAAA;UACJ,IAAI,CAAAH,QAAA,CAAAE,IAAA,YAAc,IAAI,CAACE,OAAO,CAACC,cAAc,CAAC,CAAC,QAAAL,QAAA,CAAAM,EAAA,GAAAN,QAAA,CAAAO,IAAA,CAAAP,QAAA,CAAAE,IAAA,YAAAF,QAAA,CAAAG,EAAA,CAA1CK,MAAM,CAAAC,IAAA,CAAAT,QAAA,CAAAG,EAAA,EAAAH,QAAA,CAAAM,EAAA,EAAsCI,EAAE,CAACC,UAAU,CAAC,KAAK,2BAAAX,QAAA,CAAAY,IAAA,OAAAf,OAAA,SAC3E;EAAA,CAAC;;EAEF,IAAAL,aAAI,EAAC,QAAQ,mBAAAC,kBAAA,CAAAC,OAAA,gBAAAC,YAAA,CAAAD,OAAA,CAAAE,IAAA,CAAE,SAAAiB,SAAA,UAAAlB,YAAA,CAAAD,OAAA,CAAAI,IAAA,UAAAgB,UAAAC,SAAA,qBAAAA,SAAA,C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
|
-
"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
|
-
(0, _creevey.kind)('Paging', function () {
|
|
6
|
-
(0, _creevey.story)('GoToAbsensePageStory', function (_ref) {var setStoryParameters = _ref.setStoryParameters;
|
|
7
|
-
setStoryParameters({
|
|
8
|
-
skip: {
|
|
9
|
-
'hover does not work in chrome': {
|
|
10
|
-
in: ['chrome2022', 'chrome2022Dark'],
|
|
11
|
-
tests: ['hover', 'Move to page by Ender']
|
|
12
|
-
},
|
|
13
|
-
flaky: {
|
|
14
|
-
in: ['firefox2022', 'firefox2022Dark'],
|
|
15
|
-
tests: ['Move focus right', 'Move to page by Ender']
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
(0, _creevey.test)('plain', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {return _regenerator.default.wrap(function _callee$(_context) {while (1) switch (_context.prev = _context.next) {case 0:_context.t0 =
|
|
21
|
-
this;_context.next = 3;return this.takeScreenshot();case 3:_context.t1 = _context.sent;_context.next = 6;return _context.t0.expect.call(_context.t0, _context.t1).to.matchImage('plain');case 6:case "end":return _context.stop();}}, _callee, this);}))
|
|
22
|
-
);
|
|
23
|
-
|
|
24
|
-
(0, _creevey.test)('hover', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {return _regenerator.default.wrap(function _callee2$(_context2) {while (1) switch (_context2.prev = _context2.next) {case 0:_context2.next = 2;return (
|
|
25
|
-
this.browser.
|
|
26
|
-
actions({
|
|
27
|
-
bridge: true
|
|
28
|
-
}).
|
|
29
|
-
move({
|
|
30
|
-
origin: this.browser.findElement({ css: "[data-tid='Paging__pageLinkWrapper']" })
|
|
31
|
-
}).
|
|
32
|
-
perform());case 2:_context2.t0 =
|
|
33
|
-
this;_context2.next = 5;return this.takeScreenshot();case 5:_context2.t1 = _context2.sent;_context2.next = 8;return _context2.t0.expect.call(_context2.t0, _context2.t1).to.matchImage('hover');case 8:case "end":return _context2.stop();}}, _callee2, this);}))
|
|
34
|
-
);
|
|
35
|
-
|
|
36
|
-
(0, _creevey.test)('change page by number', /*#__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 (
|
|
37
|
-
this.browser.
|
|
38
|
-
actions({
|
|
39
|
-
bridge: true
|
|
40
|
-
}).
|
|
41
|
-
click(this.browser.findElement({ css: "[data-tid='Paging__pageLinkWrapper']" })).
|
|
42
|
-
perform());case 2:_context3.t0 =
|
|
43
|
-
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('change page by number');case 8:case "end":return _context3.stop();}}, _callee3, this);}))
|
|
44
|
-
);
|
|
45
|
-
|
|
46
|
-
(0, _creevey.test)('change page by forwardLink', /*#__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
|
-
|
|
48
|
-
(0, _utils.delay)(500));case 2:_context4.next = 4;return (
|
|
49
|
-
this.browser.
|
|
50
|
-
actions({
|
|
51
|
-
bridge: true
|
|
52
|
-
}).
|
|
53
|
-
click(this.browser.findElement({ css: "[data-tid='Paging__forwardLink']" })).
|
|
54
|
-
perform());case 4:_context4.t0 =
|
|
55
|
-
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('change page by forwardLink');case 10:case "end":return _context4.stop();}}, _callee4, this);}))
|
|
56
|
-
);
|
|
57
|
-
|
|
58
|
-
(0, _creevey.test)('focused', /*#__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 (
|
|
59
|
-
|
|
60
|
-
(0, _utils.delay)(500));case 2:_context5.next = 4;return (
|
|
61
|
-
this.browser.
|
|
62
|
-
actions({
|
|
63
|
-
bridge: true
|
|
64
|
-
}).
|
|
65
|
-
click(this.browser.findElement({ css: "[data-tid='Paging__pageLinkWrapper']" })).
|
|
66
|
-
perform());case 4:_context5.t0 =
|
|
67
|
-
this;_context5.next = 7;return this.takeScreenshot();case 7:_context5.t1 = _context5.sent;_context5.next = 10;return _context5.t0.expect.call(_context5.t0, _context5.t1).to.matchImage('focused');case 10:case "end":return _context5.stop();}}, _callee5, this);}))
|
|
68
|
-
);
|
|
69
|
-
|
|
70
|
-
(0, _creevey.test)('Move focus right', /*#__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 (
|
|
71
|
-
this.browser.
|
|
72
|
-
actions({
|
|
73
|
-
bridge: true
|
|
74
|
-
}).
|
|
75
|
-
click(this.browser.findElement({ css: "[data-tid='Paging__pageLinkWrapper']" })).
|
|
76
|
-
pause(100).
|
|
77
|
-
sendKeys(this.keys.ARROW_RIGHT).
|
|
78
|
-
perform());case 2:_context6.t0 =
|
|
79
|
-
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('Move focus right');case 8:case "end":return _context6.stop();}}, _callee6, this);}))
|
|
80
|
-
);
|
|
81
|
-
|
|
82
|
-
(0, _creevey.test)('Move to page by Ender', /*#__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 (
|
|
83
|
-
this.browser.
|
|
84
|
-
actions({
|
|
85
|
-
bridge: true
|
|
86
|
-
}).
|
|
87
|
-
click(this.browser.findElement({ css: "[data-tid='Paging__pageLinkWrapper']" })).
|
|
88
|
-
pause(100).
|
|
89
|
-
sendKeys(this.keys.ARROW_RIGHT).
|
|
90
|
-
pause(100).
|
|
91
|
-
sendKeys(this.keys.ENTER).
|
|
92
|
-
perform());case 2:_context7.t0 =
|
|
93
|
-
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('Move to page by Ender');case 8:case "end":return _context7.stop();}}, _callee7, this);}))
|
|
94
|
-
);
|
|
95
|
-
});
|
|
96
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_creevey","require","_utils","kind","story","_ref","setStoryParameters","skip","in","tests","flaky","test","_asyncToGenerator2","default","_regenerator","mark","_callee","wrap","_callee$","_context","prev","next","t0","takeScreenshot","t1","sent","expect","call","to","matchImage","stop","_callee2","_callee2$","_context2","browser","actions","bridge","move","origin","findElement","css","perform","_callee3","_callee3$","_context3","click","_callee4","_callee4$","_context4","delay","_callee5","_callee5$","_context5","_callee6","_callee6$","_context6","pause","sendKeys","keys","ARROW_RIGHT","_callee7","_callee7$","_context7","ENTER"],"sources":["Paging.creevey.ts"],"sourcesContent":["import { story, kind, test } from 'creevey';\n\nimport { delay } from '../../../lib/utils';\n\nkind('Paging', () => {\n story('GoToAbsensePageStory', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: {\n 'hover does not work in chrome': {\n in: ['chrome2022', 'chrome2022Dark'],\n tests: ['hover', 'Move to page by Ender'],\n },\n flaky: {\n in: ['firefox2022', 'firefox2022Dark'],\n tests: ['Move focus right', 'Move to page by Ender'],\n },\n },\n });\n\n test('plain', async function () {\n await this.expect(await this.takeScreenshot()).to.matchImage('plain');\n });\n\n test('hover', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .move({\n origin: this.browser.findElement({ css: `[data-tid='Paging__pageLinkWrapper']` }),\n })\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('hover');\n });\n\n test('change page by number', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: `[data-tid='Paging__pageLinkWrapper']` }))\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('change page by number');\n });\n\n test('change page by forwardLink', async function () {\n // NOTE Firefox bug if click send right after click from previous test it results as double click\n await delay(500);\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: `[data-tid='Paging__forwardLink']` }))\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('change page by forwardLink');\n });\n\n test('focused', async function () {\n // NOTE Firefox bug if click send right after click from previous test it results as double click\n await delay(500);\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: `[data-tid='Paging__pageLinkWrapper']` }))\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('focused');\n });\n\n test('Move focus right', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: `[data-tid='Paging__pageLinkWrapper']` }))\n .pause(100)\n .sendKeys(this.keys.ARROW_RIGHT)\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('Move focus right');\n });\n\n test('Move to page by Ender', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: `[data-tid='Paging__pageLinkWrapper']` }))\n .pause(100)\n .sendKeys(this.keys.ARROW_RIGHT)\n .pause(100)\n .sendKeys(this.keys.ENTER)\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AACa,OAAO;cACfC,OAAO,CAAC;gBACPC,MAAM,EAAE;cACV,CAAC,CAAC;cACDS,KAAK,CAAC,IAAI,CAACX,OAAO,CAACK,WAAW,CAAC,EAAEC,GAAG,wCAAwC,CAAC,CAAC,CAAC,CAAC;cAChFgB,KAAK,CAAC,GAAG,CAAC;cACVC,QAAQ,CAAC,IAAI,CAACC,IAAI,CAACC,WAAW,CAAC;cAC/BH,KAAK,CAAC,GAAG,CAAC;cACVC,QAAQ,CAAC,IAAI,CAACC,IAAI,CAACK,KAAK,CAAC;cACzBtB,OAAO,CAAC,CAAC,SAAAqB,SAAA,CAAAxC,EAAA;YACN,IAAI,CAAAwC,SAAA,CAAAzC,IAAA,YAAc,IAAI,CAACE,cAAc,CAAC,CAAC,QAAAuC,SAAA,CAAAtC,EAAA,GAAAsC,SAAA,CAAArC,IAAA,CAAAqC,SAAA,CAAAzC,IAAA,YAAAyC,SAAA,CAAAxC,EAAA,CAAlCI,MAAM,CAAAC,IAAA,CAAAmC,SAAA,CAAAxC,EAAA,EAAAwC,SAAA,CAAAtC,EAAA,EAA8BI,EAAE,CAACC,UAAU,CAAC,uBAAuB,2BAAAiC,SAAA,CAAAhC,IAAA,OAAA8B,QAAA,SACrF;IAAA,CAAC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _creevey = require("creevey");
|
|
2
|
-
|
|
3
|
-
(0, _creevey.kind)('PasswordInput', function () {
|
|
4
|
-
(0, _creevey.story)('Plain', function (_ref) {var setStoryParameters = _ref.setStoryParameters;
|
|
5
|
-
setStoryParameters({
|
|
6
|
-
skip: {
|
|
7
|
-
'flickering screenshot': { in: ['chrome2022'], tests: ['With typed password'] }
|
|
8
|
-
}
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
(0, _creevey.test)('Plain', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {return _regenerator.default.wrap(function _callee$(_context) {while (1) switch (_context.prev = _context.next) {case 0:_context.t0 =
|
|
12
|
-
this;_context.next = 3;return this.takeScreenshot();case 3:_context.t1 = _context.sent;_context.next = 6;return _context.t0.expect.call(_context.t0, _context.t1).to.matchImage('Plain');case 6:case "end":return _context.stop();}}, _callee, this);}))
|
|
13
|
-
);
|
|
14
|
-
|
|
15
|
-
(0, _creevey.test)('With typed password', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {return _regenerator.default.wrap(function _callee2$(_context2) {while (1) switch (_context2.prev = _context2.next) {case 0:_context2.next = 2;return (
|
|
16
|
-
this.browser.
|
|
17
|
-
actions({
|
|
18
|
-
bridge: true
|
|
19
|
-
}).
|
|
20
|
-
click(this.browser.findElement({ css: '[type="password"]' })).
|
|
21
|
-
sendKeys('Test...').
|
|
22
|
-
perform());case 2:_context2.t0 =
|
|
23
|
-
this;_context2.next = 5;return this.takeScreenshot();case 5:_context2.t1 = _context2.sent;_context2.next = 8;return _context2.t0.expect.call(_context2.t0, _context2.t1).to.matchImage('With typed password');case 8:case "end":return _context2.stop();}}, _callee2, this);}))
|
|
24
|
-
);
|
|
25
|
-
|
|
26
|
-
(0, _creevey.test)('With visible password', /*#__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 (
|
|
27
|
-
this.browser.
|
|
28
|
-
actions({
|
|
29
|
-
bridge: true
|
|
30
|
-
}).
|
|
31
|
-
click(this.browser.findElement({ css: '[type="password"]' })).
|
|
32
|
-
sendKeys('Test...').
|
|
33
|
-
click(this.browser.findElement({ css: '[data-tid="PasswordInputEyeIcon"]' })).
|
|
34
|
-
perform());case 2:_context3.t0 =
|
|
35
|
-
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('With visible password');case 8:case "end":return _context3.stop();}}, _callee3, this);}))
|
|
36
|
-
);
|
|
37
|
-
});
|
|
38
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_creevey","require","kind","story","_ref","setStoryParameters","skip","in","tests","test","_asyncToGenerator2","default","_regenerator","mark","_callee","wrap","_callee$","_context","prev","next","t0","takeScreenshot","t1","sent","expect","call","to","matchImage","stop","_callee2","_callee2$","_context2","browser","actions","bridge","click","findElement","css","sendKeys","perform","_callee3","_callee3$","_context3"],"sources":["PasswordInput.creevey.ts"],"sourcesContent":["import { story, kind, test } from 'creevey';\n\nkind('PasswordInput', () => {\n story('Plain', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: {\n 'flickering screenshot': { in: ['chrome2022'], tests: ['With typed password'] },\n },\n });\n\n test('Plain', async function () {\n await this.expect(await this.takeScreenshot()).to.matchImage('Plain');\n });\n\n test('With typed password', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[type=\"password\"]' }))\n .sendKeys('Test...')\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('With typed password');\n });\n\n test('With visible password', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[type=\"password\"]' }))\n .sendKeys('Test...')\n .click(this.browser.findElement({ css: '[data-tid=\"PasswordInputEyeIcon\"]' }))\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('With visible password');\n });\n });\n});\n"],"mappings":"+RAAA,IAAAA,QAAA,GAAAC,OAAA;;AAEA,IAAAC,aAAI,EAAC,eAAe,EAAE,YAAM;EAC1B,IAAAC,cAAK,EAAC,OAAO,EAAE,UAAAC,IAA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CAAC,CAAC,QAAAqB,SAAA,CAAApB,EAAA,GAAAoB,SAAA,CAAAnB,IAAA,CAAAmB,SAAA,CAAAvB,IAAA,YAAAuB,SAAA,CAAAtB,EAAA,CAAlCI,MAAM,CAAAC,IAAA,CAAAiB,SAAA,CAAAtB,EAAA,EAAAsB,SAAA,CAAApB,EAAA,EAA8BI,EAAE,CAACC,UAAU,CAAC,uBAAuB,2BAAAe,SAAA,CAAAd,IAAA,OAAAY,QAAA,SACrF;IAAA,CAAC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _creevey = require("creevey");
|
|
2
|
-
|
|
3
|
-
(0, _creevey.kind)('Radio', function () {
|
|
4
|
-
(0, _creevey.story)('Highlighted', function (_ref) {var setStoryParameters = _ref.setStoryParameters;
|
|
5
|
-
setStoryParameters({
|
|
6
|
-
skip: {
|
|
7
|
-
flaky: { in: /firefox/ }
|
|
8
|
-
}
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
(0, _creevey.test)('plain', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {return _regenerator.default.wrap(function _callee$(_context) {while (1) switch (_context.prev = _context.next) {case 0:_context.t0 =
|
|
12
|
-
this;_context.next = 3;return this.takeScreenshot();case 3:_context.t1 = _context.sent;_context.next = 6;return _context.t0.expect.call(_context.t0, _context.t1).to.matchImage('plain');case 6:case "end":return _context.stop();}}, _callee, this);}))
|
|
13
|
-
);
|
|
14
|
-
|
|
15
|
-
(0, _creevey.test)('tabPress', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {return _regenerator.default.wrap(function _callee2$(_context2) {while (1) switch (_context2.prev = _context2.next) {case 0:_context2.next = 2;return (
|
|
16
|
-
this.browser.
|
|
17
|
-
actions({
|
|
18
|
-
bridge: true
|
|
19
|
-
}).
|
|
20
|
-
click(this.browser.findElement({ css: 'body' })).
|
|
21
|
-
sendKeys(this.keys.TAB).
|
|
22
|
-
pause(500).
|
|
23
|
-
perform());case 2:_context2.t0 =
|
|
24
|
-
this;_context2.next = 5;return this.takeScreenshot();case 5:_context2.t1 = _context2.sent;_context2.next = 8;return _context2.t0.expect.call(_context2.t0, _context2.t1).to.matchImage('tabPress');case 8:case "end":return _context2.stop();}}, _callee2, this);}))
|
|
25
|
-
);
|
|
26
|
-
});
|
|
27
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_creevey","require","kind","story","_ref","setStoryParameters","skip","flaky","in","test","_asyncToGenerator2","default","_regenerator","mark","_callee","wrap","_callee$","_context","prev","next","t0","takeScreenshot","t1","sent","expect","call","to","matchImage","stop","_callee2","_callee2$","_context2","browser","actions","bridge","click","findElement","css","sendKeys","keys","TAB","pause","perform"],"sources":["Radio.creevey.ts"],"sourcesContent":["import { story, kind, test } from 'creevey';\n\nkind('Radio', () => {\n story('Highlighted', ({ setStoryParameters }) => {\n setStoryParameters({\n skip: {\n flaky: { in: /firefox/ },\n },\n });\n\n test('plain', async function () {\n await this.expect(await this.takeScreenshot()).to.matchImage('plain');\n });\n\n test('tabPress', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: 'body' }))\n .sendKeys(this.keys.TAB)\n .pause(500)\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('tabPress');\n });\n });\n});\n"],"mappings":"+RAAA,IAAAA,QAAA,GAAAC,OAAA;;AAEA,IAAAC,aAAI,EAAC,OAAO,EAAE,YAAM;EAClB,IAAAC,cAAK,EAAC,aAAa,EAAE,UAAAC,IAAA,EAA4B,KAAzBC,kBAAkB,GAAAD,IAAA,CAAlBC,kB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GAAG,CAAC;cACvBC,KAAK,CAAC,GAAG,CAAC;cACVC,OAAO,CAAC,CAAC,SAAAX,SAAA,CAAAX,EAAA;YACN,IAAI,CAAAW,SAAA,CAAAZ,IAAA,YAAc,IAAI,CAACE,cAAc,CAAC,CAAC,QAAAU,SAAA,CAAAT,EAAA,GAAAS,SAAA,CAAAR,IAAA,CAAAQ,SAAA,CAAAZ,IAAA,YAAAY,SAAA,CAAAX,EAAA,CAAlCI,MAAM,CAAAC,IAAA,CAAAM,SAAA,CAAAX,EAAA,EAAAW,SAAA,CAAAT,EAAA,EAA8BI,EAAE,CAACC,UAAU,CAAC,UAAU,2BAAAI,SAAA,CAAAH,IAAA,OAAAC,QAAA,SACxE;IAAA,CAAC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,85 +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
|
-
(0, _creevey.kind)('RadioGroup', function () {
|
|
6
|
-
(0, _creevey.story)('Vertical', function (_ref) {var setStoryParameters = _ref.setStoryParameters;
|
|
7
|
-
setStoryParameters({
|
|
8
|
-
captureElement: '#RadioGroup-wrap',
|
|
9
|
-
skip: {
|
|
10
|
-
'hover does not work in chrome': {
|
|
11
|
-
in: ['chrome2022', 'chrome2022Dark'],
|
|
12
|
-
tests: ['hovered']
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
(0, _creevey.test)('plain', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {return _regenerator.default.wrap(function _callee$(_context) {while (1) switch (_context.prev = _context.next) {case 0:_context.t0 =
|
|
18
|
-
this;_context.next = 3;return this.takeScreenshot();case 3:_context.t1 = _context.sent;_context.next = 6;return _context.t0.expect.call(_context.t0, _context.t1).to.matchImage('plain');case 6:case "end":return _context.stop();}}, _callee, this);}))
|
|
19
|
-
);
|
|
20
|
-
|
|
21
|
-
(0, _creevey.test)('hovered', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {return _regenerator.default.wrap(function _callee2$(_context2) {while (1) switch (_context2.prev = _context2.next) {case 0:_context2.next = 2;return (
|
|
22
|
-
this.browser.
|
|
23
|
-
actions({
|
|
24
|
-
bridge: true
|
|
25
|
-
}).
|
|
26
|
-
move({
|
|
27
|
-
origin: this.browser.findElement({ css: '[data-comp-name~="RadioGroup"] > span > label' })
|
|
28
|
-
}).
|
|
29
|
-
perform());case 2:_context2.t0 =
|
|
30
|
-
this;_context2.next = 5;return this.takeScreenshot();case 5:_context2.t1 = _context2.sent;_context2.next = 8;return _context2.t0.expect.call(_context2.t0, _context2.t1).to.matchImage('hovered');case 8:case "end":return _context2.stop();}}, _callee2, this);}))
|
|
31
|
-
);
|
|
32
|
-
|
|
33
|
-
(0, _creevey.test)('clicked', /*#__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 (
|
|
34
|
-
this.browser.
|
|
35
|
-
actions({
|
|
36
|
-
bridge: true
|
|
37
|
-
}).
|
|
38
|
-
click(this.browser.findElement({ css: '[data-comp-name~="RadioGroup"] > span > label' })).
|
|
39
|
-
perform());case 2:_context3.t0 =
|
|
40
|
-
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('clicked');case 8:case "end":return _context3.stop();}}, _callee3, this);}))
|
|
41
|
-
);
|
|
42
|
-
|
|
43
|
-
(0, _creevey.test)('mouseLeave', /*#__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 (
|
|
44
|
-
|
|
45
|
-
(0, _utils.delay)(500));case 2:_context4.next = 4;return (
|
|
46
|
-
this.browser.
|
|
47
|
-
actions({
|
|
48
|
-
bridge: true
|
|
49
|
-
}).
|
|
50
|
-
click(this.browser.findElement({ css: '[data-comp-name~="RadioGroup"] > span > label' })).
|
|
51
|
-
perform());case 4:_context4.next = 6;return (
|
|
52
|
-
this.browser.
|
|
53
|
-
actions({
|
|
54
|
-
bridge: true
|
|
55
|
-
}).
|
|
56
|
-
click(this.browser.findElement({ css: '[data-tid="JustButton"]' })).
|
|
57
|
-
perform());case 6:_context4.t0 =
|
|
58
|
-
this;_context4.next = 9;return this.takeScreenshot();case 9:_context4.t1 = _context4.sent;_context4.next = 12;return _context4.t0.expect.call(_context4.t0, _context4.t1).to.matchImage('mouseLeave');case 12:case "end":return _context4.stop();}}, _callee4, this);}))
|
|
59
|
-
);
|
|
60
|
-
|
|
61
|
-
(0, _creevey.test)('tabPress', /*#__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 (
|
|
62
|
-
this.browser.
|
|
63
|
-
actions({
|
|
64
|
-
bridge: true
|
|
65
|
-
}).
|
|
66
|
-
click(this.browser.findElement({ css: '[data-tid="JustButton"]' })).
|
|
67
|
-
sendKeys(this.keys.TAB).
|
|
68
|
-
perform());case 2:_context5.t0 =
|
|
69
|
-
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('tabPress');case 8:case "end":return _context5.stop();}}, _callee5, this);}))
|
|
70
|
-
);
|
|
71
|
-
|
|
72
|
-
(0, _creevey.test)('arrow_down', /*#__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 (
|
|
73
|
-
this.browser.
|
|
74
|
-
actions({
|
|
75
|
-
bridge: true
|
|
76
|
-
}).
|
|
77
|
-
click(this.browser.findElement({ css: '[data-tid="JustButton"]' })).
|
|
78
|
-
sendKeys(this.keys.TAB).
|
|
79
|
-
pause(100).
|
|
80
|
-
sendKeys(this.keys.DOWN).
|
|
81
|
-
perform());case 2:_context6.t0 =
|
|
82
|
-
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('arrow_down');case 8:case "end":return _context6.stop();}}, _callee6, this);}))
|
|
83
|
-
);
|
|
84
|
-
});
|
|
85
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_creevey","require","_utils","kind","story","_ref","setStoryParameters","captureElement","skip","in","tests","test","_asyncToGenerator2","default","_regenerator","mark","_callee","wrap","_callee$","_context","prev","next","t0","takeScreenshot","t1","sent","expect","call","to","matchImage","stop","_callee2","_callee2$","_context2","browser","actions","bridge","move","origin","findElement","css","perform","_callee3","_callee3$","_context3","click","_callee4","_callee4$","_context4","delay","_callee5","_callee5$","_context5","sendKeys","keys","TAB","_callee6","_callee6$","_context6","pause","DOWN"],"sources":["RadioGroup.creevey.ts"],"sourcesContent":["import { story, kind, test } from 'creevey';\n\nimport { delay } from '../../../lib/utils';\n\nkind('RadioGroup', () => {\n story('Vertical', ({ setStoryParameters }) => {\n setStoryParameters({\n captureElement: '#RadioGroup-wrap',\n skip: {\n 'hover does not work in chrome': {\n in: ['chrome2022', 'chrome2022Dark'],\n tests: ['hovered'],\n },\n },\n });\n\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~=\"RadioGroup\"] > span > label' }),\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~=\"RadioGroup\"] > span > label' }))\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('clicked');\n });\n\n test('mouseLeave', async function () {\n // NOTE Firefox bug if click send right after click from previous test it results as double click\n await delay(500);\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-comp-name~=\"RadioGroup\"] > span > label' }))\n .perform();\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid=\"JustButton\"]' }))\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('mouseLeave');\n });\n\n test('tabPress', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid=\"JustButton\"]' }))\n .sendKeys(this.keys.TAB)\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('tabPress');\n });\n\n test('arrow_down', async function () {\n await this.browser\n .actions({\n bridge: true,\n })\n .click(this.browser.findElement({ css: '[data-tid=\"JustButton\"]' }))\n .sendKeys(this.keys.TAB)\n .pause(100)\n .sendKeys(this.keys.DOWN)\n .perform();\n await this.expect(await this.takeScreenshot()).to.matchImage('arrow_down');\n });\n });\n});\n"],"mappings":"+RAAA,IAAAA,QAAA,GAAAC,OAAA;;AAEA,IAAAC,MAAA,GAAAD,OAAA;;AAEA,IAAAE,aAAI,EAAC,YAAY,EAAE,YAAM;EACvB,IAAAC,cAAK,EAAC,UAAU,EAAE,UAAAC,IAAA,EAA4B,KAAzBC,kBAAkB,GAAAD,IAAA,CAAlBC,kBAAk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