@dotss/ui 0.0.7 → 0.0.10
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/{dist/Autocomplete → Autocomplete}/Autocomplete.es.js +4 -2
- package/{dist/Button → Button}/Button.es.js +4 -2
- package/{dist/ChainPicker → ChainPicker}/ChainPicker.es.js +4 -2
- package/{dist/DatePicker → DatePicker}/DatePicker.es.js +8 -4
- package/{dist/Select → Select}/Select.es.js +4 -2
- package/{dist/Slider → Slider}/Slider.es.js +2 -1
- package/{dist/Tab → Tab}/Tab.es.js +4 -2
- package/{dist/TextField → TextField}/TextField.es.js +2 -1
- package/package.json +4 -14
- package/{dist/utils → utils}/getSibling/getSibling.es.js +2 -1
- package/.storybook/main.ts +0 -21
- package/.storybook/manager-head.html +0 -6
- package/.storybook/manager.ts +0 -11
- package/.storybook/preview-head.html +0 -16
- package/.storybook/preview.tsx +0 -56
- package/.turbo/turbo-build.log +0 -510
- package/CHANGELOG.md +0 -9
- package/components/Accordion/Accordion.stories.tsx +0 -131
- package/components/Accordion/Accordion.styles.ts +0 -70
- package/components/Accordion/Accordion.tsx +0 -132
- package/components/Accordion/index.ts +0 -3
- package/components/Autocomplete/Autocomplete.stories.tsx +0 -317
- package/components/Autocomplete/Autocomplete.styles.ts +0 -5
- package/components/Autocomplete/Autocomplete.tsx +0 -217
- package/components/Autocomplete/index.ts +0 -3
- package/components/Backdrop/Backdrop.stories.tsx +0 -84
- package/components/Backdrop/Backdrop.styles.ts +0 -69
- package/components/Backdrop/Backdrop.tsx +0 -140
- package/components/Backdrop/index.ts +0 -3
- package/components/Badge/Badge.stories.tsx +0 -66
- package/components/Badge/Badge.styles.ts +0 -75
- package/components/Badge/Badge.tsx +0 -67
- package/components/Badge/index.ts +0 -3
- package/components/BottomSheet/BottomSheet.stories.tsx +0 -498
- package/components/BottomSheet/BottomSheet.styles.ts +0 -58
- package/components/BottomSheet/BottomSheet.tsx +0 -186
- package/components/BottomSheet/BottomSheetAction/BottomSheetAction.styles.ts +0 -21
- package/components/BottomSheet/BottomSheetAction/BottomSheetAction.tsx +0 -28
- package/components/BottomSheet/BottomSheetAction/index.ts +0 -3
- package/components/BottomSheet/BottomSheetContent/BottomSheetContent.styles.ts +0 -17
- package/components/BottomSheet/BottomSheetContent/BottomSheetContent.tsx +0 -28
- package/components/BottomSheet/BottomSheetContent/index.ts +0 -3
- package/components/BottomSheet/BottomSheetText/BottomSheetText.styles.ts +0 -33
- package/components/BottomSheet/BottomSheetText/BottomSheetText.tsx +0 -27
- package/components/BottomSheet/BottomSheetText/index.ts +0 -3
- package/components/BottomSheet/BottomSheetTitle/BottomSheetTitle.styles.ts +0 -53
- package/components/BottomSheet/BottomSheetTitle/BottomSheetTitle.tsx +0 -36
- package/components/BottomSheet/BottomSheetTitle/index.ts +0 -3
- package/components/BottomSheet/index.ts +0 -8
- package/components/Box/Box.stories.tsx +0 -39
- package/components/Box/Box.styles.ts +0 -59
- package/components/Box/Box.tsx +0 -35
- package/components/Box/index.ts +0 -3
- package/components/Button/Button.stories.tsx +0 -136
- package/components/Button/Button.styles.ts +0 -420
- package/components/Button/Button.test.tsx +0 -68
- package/components/Button/Button.tsx +0 -82
- package/components/Button/index.ts +0 -3
- package/components/Card/Card.stories.tsx +0 -87
- package/components/Card/Card.styles.ts +0 -146
- package/components/Card/Card.tsx +0 -54
- package/components/Card/index.ts +0 -3
- package/components/ChainPicker/ChainPicker.stories.tsx +0 -120
- package/components/ChainPicker/ChainPicker.styles.ts +0 -88
- package/components/ChainPicker/ChainPicker.tsx +0 -211
- package/components/ChainPicker/index.ts +0 -5
- package/components/Checkbox/Checkbox.stories.tsx +0 -52
- package/components/Checkbox/Checkbox.styles.tsx +0 -83
- package/components/Checkbox/Checkbox.tsx +0 -27
- package/components/Checkbox/index.ts +0 -3
- package/components/Chip/Chip.stories.tsx +0 -88
- package/components/Chip/Chip.styles.ts +0 -101
- package/components/Chip/Chip.tsx +0 -58
- package/components/Chip/index.ts +0 -3
- package/components/CircularProgressIndicator/CircularProgressIndicator.stories.tsx +0 -61
- package/components/CircularProgressIndicator/CircularProgressIndicator.styles.ts +0 -78
- package/components/CircularProgressIndicator/CircularProgressIndicator.tsx +0 -53
- package/components/CircularProgressIndicator/index.tsx +0 -3
- package/components/ClickAwayListener/ClickAwayListener.tsx +0 -35
- package/components/ClickAwayListener/index.ts +0 -3
- package/components/DatePicker/DatePicker.stories.tsx +0 -454
- package/components/DatePicker/DatePicker.styles.ts +0 -301
- package/components/DatePicker/DatePicker.tsx +0 -780
- package/components/DatePicker/index.ts +0 -6
- package/components/Dialog/Dialog.stories.tsx +0 -579
- package/components/Dialog/Dialog.styles.ts +0 -50
- package/components/Dialog/Dialog.tsx +0 -154
- package/components/Dialog/DialogAction/DialogAction.styles.ts +0 -14
- package/components/Dialog/DialogAction/DialogAction.tsx +0 -19
- package/components/Dialog/DialogAction/index.ts +0 -3
- package/components/Dialog/DialogContent/DialogContent.styles.ts +0 -10
- package/components/Dialog/DialogContent/DialogContent.tsx +0 -19
- package/components/Dialog/DialogContent/index.ts +0 -3
- package/components/Dialog/DialogText/DialogText.styles.ts +0 -33
- package/components/Dialog/DialogText/DialogText.tsx +0 -33
- package/components/Dialog/DialogText/index.ts +0 -3
- package/components/Dialog/DialogTitle/DialogTitle.styles.ts +0 -65
- package/components/Dialog/DialogTitle/DialogTitle.tsx +0 -34
- package/components/Dialog/DialogTitle/index.ts +0 -3
- package/components/Dialog/index.ts +0 -8
- package/components/Flexbox/Flexbox.stories.tsx +0 -117
- package/components/Flexbox/Flexbox.styles.ts +0 -80
- package/components/Flexbox/Flexbox.tsx +0 -47
- package/components/Flexbox/index.ts +0 -3
- package/components/FocusBoundary/FocusBoundary.tsx +0 -117
- package/components/FocusBoundary/index.ts +0 -3
- package/components/FormControlText/FormControlText.stories.tsx +0 -90
- package/components/FormControlText/FormControlText.styles.ts +0 -52
- package/components/FormControlText/FormControlText.tsx +0 -77
- package/components/FormControlText/index.tsx +0 -3
- package/components/Icon/Icon.stories.tsx +0 -51
- package/components/Icon/Icon.styles.ts +0 -51
- package/components/Icon/Icon.tsx +0 -81
- package/components/Icon/index.ts +0 -3
- package/components/IconButton/IconButton.stories.tsx +0 -45
- package/components/IconButton/IconButton.styles.ts +0 -354
- package/components/IconButton/IconButton.tsx +0 -54
- package/components/IconButton/index.ts +0 -3
- package/components/Label/Label.stories.tsx +0 -87
- package/components/Label/Label.styles.ts +0 -339
- package/components/Label/Label.tsx +0 -64
- package/components/Label/index.ts +0 -3
- package/components/LineProgressIndicator/LineProgressIndicator.stories.tsx +0 -80
- package/components/LineProgressIndicator/LineProgressIndicator.styles.ts +0 -62
- package/components/LineProgressIndicator/LineProgressIndicator.tsx +0 -40
- package/components/LineProgressIndicator/index.ts +0 -3
- package/components/Menu/Menu.stories.tsx +0 -743
- package/components/Menu/Menu.styles.ts +0 -67
- package/components/Menu/Menu.tsx +0 -261
- package/components/Menu/MenuBlock/MenuBlock.styles.ts +0 -118
- package/components/Menu/MenuBlock/MenuBlock.tsx +0 -72
- package/components/Menu/MenuBlock/index.ts +0 -3
- package/components/Menu/index.ts +0 -5
- package/components/NumberKeypad/NumberKeypad.stories.tsx +0 -113
- package/components/NumberKeypad/NumberKeypad.styles.ts +0 -14
- package/components/NumberKeypad/NumberKeypad.tsx +0 -57
- package/components/NumberKeypad/NumberKeypadBlock/NumberKeypadBlock.styles.ts +0 -114
- package/components/NumberKeypad/NumberKeypadBlock/NumberKeypadBlock.tsx +0 -30
- package/components/NumberKeypad/NumberKeypadBlock/index.ts +0 -3
- package/components/NumberKeypad/index.ts +0 -5
- package/components/PageControl/PageControl.stories.tsx +0 -39
- package/components/PageControl/PageControl.styles.ts +0 -41
- package/components/PageControl/PageControl.tsx +0 -42
- package/components/PageControl/index.ts +0 -3
- package/components/Radio/Radio.stories.tsx +0 -52
- package/components/Radio/Radio.styles.tsx +0 -78
- package/components/Radio/Radio.tsx +0 -27
- package/components/Radio/index.ts +0 -3
- package/components/SegmentedButton/SegmentedButton.stories.tsx +0 -216
- package/components/SegmentedButton/SegmentedButton.styles.ts +0 -21
- package/components/SegmentedButton/SegmentedButton.tsx +0 -76
- package/components/SegmentedButton/SegmentedButtonBlock/SegmentedButtonBlock.styles.ts +0 -179
- package/components/SegmentedButton/SegmentedButtonBlock/SegmentedButtonBlock.tsx +0 -71
- package/components/SegmentedButton/SegmentedButtonBlock/index.ts +0 -3
- package/components/SegmentedButton/index.ts +0 -5
- package/components/Select/Option/Option.styles.ts +0 -115
- package/components/Select/Option/Option.tsx +0 -66
- package/components/Select/Option/index.ts +0 -3
- package/components/Select/Select.stories.tsx +0 -273
- package/components/Select/Select.styles.ts +0 -159
- package/components/Select/Select.tsx +0 -310
- package/components/Select/index.ts +0 -5
- package/components/Skeleton/Skeleton.stories.tsx +0 -54
- package/components/Skeleton/Skeleton.styles.ts +0 -100
- package/components/Skeleton/Skeleton.tsx +0 -41
- package/components/Skeleton/index.ts +0 -3
- package/components/Slider/Slider.stories.tsx +0 -116
- package/components/Slider/Slider.styles.ts +0 -66
- package/components/Slider/Slider.tsx +0 -179
- package/components/Slider/index.ts +0 -3
- package/components/Snackbar/Snackbar.stories.tsx +0 -374
- package/components/Snackbar/Snackbar.styles.ts +0 -138
- package/components/Snackbar/Snackbar.tsx +0 -248
- package/components/Snackbar/index.ts +0 -3
- package/components/Switch/Switch.stories.tsx +0 -52
- package/components/Switch/Switch.styles.ts +0 -103
- package/components/Switch/Switch.tsx +0 -56
- package/components/Switch/index.ts +0 -3
- package/components/Tab/Tab.stories.tsx +0 -240
- package/components/Tab/Tab.styles.ts +0 -48
- package/components/Tab/Tab.tsx +0 -316
- package/components/Tab/TabBlock/TabBlock.styles.ts +0 -53
- package/components/Tab/TabBlock/TabBlock.tsx +0 -67
- package/components/Tab/TabBlock/index.ts +0 -3
- package/components/Tab/index.ts +0 -4
- package/components/TextArea/TextArea.stories.tsx +0 -102
- package/components/TextArea/TextArea.styles.ts +0 -186
- package/components/TextArea/TextArea.tsx +0 -130
- package/components/TextArea/index.ts +0 -3
- package/components/TextField/TextField.stories.tsx +0 -107
- package/components/TextField/TextField.styles.ts +0 -260
- package/components/TextField/TextField.test.tsx +0 -43
- package/components/TextField/TextField.tsx +0 -137
- package/components/TextField/index.ts +0 -3
- package/components/Tooltip/Tooltip.stories.tsx +0 -162
- package/components/Tooltip/Tooltip.styles.ts +0 -278
- package/components/Tooltip/Tooltip.tsx +0 -127
- package/components/Tooltip/index.ts +0 -3
- package/components/Typography/Typography.stories.tsx +0 -161
- package/components/Typography/Typography.styles.ts +0 -63
- package/components/Typography/Typography.tsx +0 -66
- package/components/Typography/index.ts +0 -3
- package/components/index.ts +0 -43
- package/core/GlobalStyle.tsx +0 -72
- package/core/ThemeContext.ts +0 -10
- package/core/ThemeProvider.tsx +0 -34
- package/core/useTheme.ts +0 -11
- package/deploy/deploy.env +0 -1
- package/deploy/deploy.sh +0 -102
- package/deploy/release_body.md +0 -3
- package/eslint.config.mjs +0 -10
- package/global.d.ts +0 -1
- package/hooks/index.ts +0 -1
- package/hooks/useCheckHoverPossible/useCheckHoverPossible.ts +0 -20
- package/index.ts +0 -1
- package/node_modules/@chromatic-com/storybook/LICENSE +0 -21
- package/node_modules/@chromatic-com/storybook/README.md +0 -61
- package/node_modules/@chromatic-com/storybook/dist/index.js +0 -5
- package/node_modules/@chromatic-com/storybook/dist/index.mjs +0 -3
- package/node_modules/@chromatic-com/storybook/dist/manager.mjs +0 -369
- package/node_modules/@chromatic-com/storybook/dist/preset.js +0 -679
- package/node_modules/@chromatic-com/storybook/package.json +0 -170
- package/node_modules/@chromatic-com/storybook/preset.js +0 -1
- package/node_modules/@chromatic-com/storybook/types.d.ts +0 -4
- package/node_modules/@emotion/react/LICENSE +0 -21
- package/node_modules/@emotion/react/README.md +0 -48
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.cjs.default.js +0 -1
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.cjs.js +0 -19
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.cjs.mjs +0 -2
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.cjs.default.js +0 -1
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.cjs.js +0 -19
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.cjs.mjs +0 -2
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.esm.js +0 -11
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js +0 -11
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.d.mts +0 -3
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.d.ts +0 -3
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.default.d.ts +0 -1
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.default.js +0 -1
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js +0 -19
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs +0 -2
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.cjs.default.js +0 -1
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.cjs.js +0 -19
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.cjs.mjs +0 -2
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.default.js +0 -1
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.js +0 -19
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.mjs +0 -2
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.esm.js +0 -11
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.esm.js +0 -11
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.default.js +0 -1
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.js +0 -19
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.mjs +0 -2
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.esm.js +0 -11
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js +0 -11
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.umd.min.js +0 -2
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.umd.min.js.map +0 -1
- package/node_modules/@emotion/react/_isolated-hnrs/package.json +0 -10
- package/node_modules/@emotion/react/dist/declarations/src/_isolated-hnrs.d.ts +0 -3
- package/node_modules/@emotion/react/dist/declarations/src/class-names.d.ts +0 -18
- package/node_modules/@emotion/react/dist/declarations/src/context.d.ts +0 -6
- package/node_modules/@emotion/react/dist/declarations/src/css.d.ts +0 -5
- package/node_modules/@emotion/react/dist/declarations/src/global.d.ts +0 -7
- package/node_modules/@emotion/react/dist/declarations/src/index.d.ts +0 -14
- package/node_modules/@emotion/react/dist/declarations/src/jsx-dev-runtime.d.ts +0 -6
- package/node_modules/@emotion/react/dist/declarations/src/jsx-namespace.d.ts +0 -64
- package/node_modules/@emotion/react/dist/declarations/src/jsx-runtime.d.ts +0 -7
- package/node_modules/@emotion/react/dist/declarations/src/jsx.d.ts +0 -22
- package/node_modules/@emotion/react/dist/declarations/src/keyframes.d.ts +0 -10
- package/node_modules/@emotion/react/dist/declarations/src/theming.d.ts +0 -28
- package/node_modules/@emotion/react/dist/declarations/src/types.d.ts +0 -7
- package/node_modules/@emotion/react/dist/emotion-element-010f37fa.development.edge-light.cjs.js +0 -313
- package/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js +0 -191
- package/node_modules/@emotion/react/dist/emotion-element-4787f564.browser.development.cjs.js +0 -274
- package/node_modules/@emotion/react/dist/emotion-element-489459f2.browser.development.esm.js +0 -240
- package/node_modules/@emotion/react/dist/emotion-element-516430c7.development.edge-light.esm.js +0 -280
- package/node_modules/@emotion/react/dist/emotion-element-782f682d.development.esm.js +0 -282
- package/node_modules/@emotion/react/dist/emotion-element-8113875a.edge-light.esm.js +0 -196
- package/node_modules/@emotion/react/dist/emotion-element-a1829a1e.cjs.js +0 -233
- package/node_modules/@emotion/react/dist/emotion-element-af3dc15b.edge-light.cjs.js +0 -230
- package/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +0 -198
- package/node_modules/@emotion/react/dist/emotion-element-e8f4cc37.development.cjs.js +0 -316
- package/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +0 -156
- package/node_modules/@emotion/react/dist/emotion-react.browser.cjs.js +0 -279
- package/node_modules/@emotion/react/dist/emotion-react.browser.cjs.mjs +0 -15
- package/node_modules/@emotion/react/dist/emotion-react.browser.development.cjs.js +0 -639
- package/node_modules/@emotion/react/dist/emotion-react.browser.development.cjs.mjs +0 -15
- package/node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js +0 -605
- package/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +0 -245
- package/node_modules/@emotion/react/dist/emotion-react.cjs.d.mts +0 -2
- package/node_modules/@emotion/react/dist/emotion-react.cjs.d.ts +0 -2
- package/node_modules/@emotion/react/dist/emotion-react.cjs.js +0 -329
- package/node_modules/@emotion/react/dist/emotion-react.cjs.mjs +0 -15
- package/node_modules/@emotion/react/dist/emotion-react.development.cjs.js +0 -689
- package/node_modules/@emotion/react/dist/emotion-react.development.cjs.mjs +0 -15
- package/node_modules/@emotion/react/dist/emotion-react.development.edge-light.cjs.js +0 -630
- package/node_modules/@emotion/react/dist/emotion-react.development.edge-light.cjs.mjs +0 -15
- package/node_modules/@emotion/react/dist/emotion-react.development.edge-light.esm.js +0 -593
- package/node_modules/@emotion/react/dist/emotion-react.development.esm.js +0 -652
- package/node_modules/@emotion/react/dist/emotion-react.edge-light.cjs.js +0 -270
- package/node_modules/@emotion/react/dist/emotion-react.edge-light.cjs.mjs +0 -15
- package/node_modules/@emotion/react/dist/emotion-react.edge-light.esm.js +0 -233
- package/node_modules/@emotion/react/dist/emotion-react.esm.js +0 -292
- package/node_modules/@emotion/react/dist/emotion-react.umd.min.js +0 -2
- package/node_modules/@emotion/react/dist/emotion-react.umd.min.js.map +0 -1
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.cjs.js +0 -47
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.cjs.mjs +0 -4
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.development.cjs.js +0 -47
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.development.cjs.mjs +0 -4
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.development.esm.js +0 -22
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js +0 -22
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.d.mts +0 -2
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.d.ts +0 -2
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js +0 -47
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs +0 -4
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.cjs.js +0 -47
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.cjs.mjs +0 -4
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.js +0 -47
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.mjs +0 -4
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.esm.js +0 -22
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.esm.js +0 -22
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.js +0 -47
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.mjs +0 -4
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.esm.js +0 -22
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js +0 -22
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.umd.min.js +0 -2
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.umd.min.js.map +0 -1
- package/node_modules/@emotion/react/jsx-dev-runtime/package.json +0 -10
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.cjs.js +0 -55
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.cjs.mjs +0 -5
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.cjs.js +0 -55
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.cjs.mjs +0 -5
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.esm.js +0 -29
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js +0 -29
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.cjs.d.mts +0 -2
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.cjs.d.ts +0 -2
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js +0 -55
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs +0 -5
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.development.cjs.js +0 -55
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.development.cjs.mjs +0 -5
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.js +0 -55
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.mjs +0 -5
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.esm.js +0 -29
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.development.esm.js +0 -29
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.js +0 -55
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.mjs +0 -5
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.esm.js +0 -29
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js +0 -29
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.umd.min.js +0 -2
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.umd.min.js.map +0 -1
- package/node_modules/@emotion/react/jsx-runtime/package.json +0 -10
- package/node_modules/@emotion/react/macro.d.mts +0 -1
- package/node_modules/@emotion/react/macro.d.ts +0 -1
- package/node_modules/@emotion/react/macro.js +0 -1
- package/node_modules/@emotion/react/package.json +0 -318
- package/node_modules/@emotion/react/src/_isolated-hnrs.ts +0 -15
- package/node_modules/@emotion/react/src/class-names.tsx +0 -180
- package/node_modules/@emotion/react/src/conditions/false.ts +0 -1
- package/node_modules/@emotion/react/src/conditions/is-browser.ts +0 -1
- package/node_modules/@emotion/react/src/conditions/true.ts +0 -1
- package/node_modules/@emotion/react/src/context.tsx +0 -72
- package/node_modules/@emotion/react/src/css.ts +0 -14
- package/node_modules/@emotion/react/src/emotion-element.tsx +0 -193
- package/node_modules/@emotion/react/src/get-label-from-stack-trace.ts +0 -55
- package/node_modules/@emotion/react/src/global.tsx +0 -147
- package/node_modules/@emotion/react/src/index.ts +0 -63
- package/node_modules/@emotion/react/src/jsx-dev-runtime.ts +0 -37
- package/node_modules/@emotion/react/src/jsx-namespace.ts +0 -107
- package/node_modules/@emotion/react/src/jsx-runtime.ts +0 -32
- package/node_modules/@emotion/react/src/jsx.ts +0 -45
- package/node_modules/@emotion/react/src/keyframes.ts +0 -27
- package/node_modules/@emotion/react/src/theming.tsx +0 -105
- package/node_modules/@emotion/react/src/types.ts +0 -14
- package/node_modules/@emotion/react/src/utils.ts +0 -1
- package/node_modules/@emotion/react/types/css-prop.d.ts +0 -9
- package/node_modules/@emotion/serialize/LICENSE +0 -21
- package/node_modules/@emotion/serialize/dist/declarations/src/index.d.ts +0 -35
- package/node_modules/@emotion/serialize/dist/emotion-serialize.cjs.d.mts +0 -2
- package/node_modules/@emotion/serialize/dist/emotion-serialize.cjs.d.ts +0 -2
- package/node_modules/@emotion/serialize/dist/emotion-serialize.cjs.js +0 -246
- package/node_modules/@emotion/serialize/dist/emotion-serialize.cjs.mjs +0 -3
- package/node_modules/@emotion/serialize/dist/emotion-serialize.development.cjs.js +0 -314
- package/node_modules/@emotion/serialize/dist/emotion-serialize.development.cjs.mjs +0 -3
- package/node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js +0 -304
- package/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -236
- package/node_modules/@emotion/serialize/package.json +0 -54
- package/node_modules/@emotion/serialize/src/conditions/false.ts +0 -1
- package/node_modules/@emotion/serialize/src/conditions/true.ts +0 -1
- package/node_modules/@emotion/serialize/src/index.ts +0 -451
- package/node_modules/@emotion/styled/LICENSE +0 -21
- package/node_modules/@emotion/styled/README.md +0 -31
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.cjs.default.js +0 -1
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.cjs.js +0 -198
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.cjs.mjs +0 -2
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.development.cjs.default.js +0 -1
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.development.cjs.js +0 -212
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.development.cjs.mjs +0 -2
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.development.esm.js +0 -185
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js +0 -171
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.cjs.d.mts +0 -3
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.cjs.d.ts +0 -3
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.cjs.default.d.ts +0 -1
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.cjs.default.js +0 -1
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.cjs.js +0 -216
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.cjs.mjs +0 -2
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.cjs.default.js +0 -1
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.cjs.js +0 -230
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.cjs.mjs +0 -2
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.edge-light.cjs.default.js +0 -1
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.edge-light.cjs.js +0 -228
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.edge-light.cjs.mjs +0 -2
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.edge-light.esm.js +0 -201
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.esm.js +0 -203
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.edge-light.cjs.default.js +0 -1
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.edge-light.cjs.js +0 -214
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.edge-light.cjs.mjs +0 -2
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.edge-light.esm.js +0 -187
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js +0 -189
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.umd.min.js +0 -2
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.umd.min.js.map +0 -1
- package/node_modules/@emotion/styled/base/package.json +0 -9
- package/node_modules/@emotion/styled/dist/declarations/src/base.d.ts +0 -4
- package/node_modules/@emotion/styled/dist/declarations/src/index.d.ts +0 -15
- package/node_modules/@emotion/styled/dist/declarations/src/jsx-namespace.d.ts +0 -5
- package/node_modules/@emotion/styled/dist/declarations/src/types.d.ts +0 -88
- package/node_modules/@emotion/styled/dist/emotion-styled.browser.cjs.default.js +0 -1
- package/node_modules/@emotion/styled/dist/emotion-styled.browser.cjs.js +0 -23
- package/node_modules/@emotion/styled/dist/emotion-styled.browser.cjs.mjs +0 -2
- package/node_modules/@emotion/styled/dist/emotion-styled.browser.development.cjs.default.js +0 -1
- package/node_modules/@emotion/styled/dist/emotion-styled.browser.development.cjs.js +0 -23
- package/node_modules/@emotion/styled/dist/emotion-styled.browser.development.cjs.mjs +0 -2
- package/node_modules/@emotion/styled/dist/emotion-styled.browser.development.esm.js +0 -19
- package/node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js +0 -19
- package/node_modules/@emotion/styled/dist/emotion-styled.cjs.d.mts +0 -3
- package/node_modules/@emotion/styled/dist/emotion-styled.cjs.d.ts +0 -3
- package/node_modules/@emotion/styled/dist/emotion-styled.cjs.default.d.ts +0 -1
- package/node_modules/@emotion/styled/dist/emotion-styled.cjs.default.js +0 -1
- package/node_modules/@emotion/styled/dist/emotion-styled.cjs.js +0 -23
- package/node_modules/@emotion/styled/dist/emotion-styled.cjs.mjs +0 -2
- package/node_modules/@emotion/styled/dist/emotion-styled.development.cjs.default.js +0 -1
- package/node_modules/@emotion/styled/dist/emotion-styled.development.cjs.js +0 -23
- package/node_modules/@emotion/styled/dist/emotion-styled.development.cjs.mjs +0 -2
- package/node_modules/@emotion/styled/dist/emotion-styled.development.edge-light.cjs.default.js +0 -1
- package/node_modules/@emotion/styled/dist/emotion-styled.development.edge-light.cjs.js +0 -23
- package/node_modules/@emotion/styled/dist/emotion-styled.development.edge-light.cjs.mjs +0 -2
- package/node_modules/@emotion/styled/dist/emotion-styled.development.edge-light.esm.js +0 -19
- package/node_modules/@emotion/styled/dist/emotion-styled.development.esm.js +0 -19
- package/node_modules/@emotion/styled/dist/emotion-styled.edge-light.cjs.default.js +0 -1
- package/node_modules/@emotion/styled/dist/emotion-styled.edge-light.cjs.js +0 -23
- package/node_modules/@emotion/styled/dist/emotion-styled.edge-light.cjs.mjs +0 -2
- package/node_modules/@emotion/styled/dist/emotion-styled.edge-light.esm.js +0 -19
- package/node_modules/@emotion/styled/dist/emotion-styled.esm.js +0 -19
- package/node_modules/@emotion/styled/dist/emotion-styled.umd.min.js +0 -2
- package/node_modules/@emotion/styled/dist/emotion-styled.umd.min.js.map +0 -1
- package/node_modules/@emotion/styled/macro.d.mts +0 -3
- package/node_modules/@emotion/styled/macro.d.ts +0 -3
- package/node_modules/@emotion/styled/macro.js +0 -1
- package/node_modules/@emotion/styled/package.json +0 -195
- package/node_modules/@emotion/styled/src/base.tsx +0 -229
- package/node_modules/@emotion/styled/src/conditions/false.ts +0 -1
- package/node_modules/@emotion/styled/src/conditions/is-browser.ts +0 -1
- package/node_modules/@emotion/styled/src/conditions/true.ts +0 -1
- package/node_modules/@emotion/styled/src/index.ts +0 -42
- package/node_modules/@emotion/styled/src/jsx-namespace.ts +0 -12
- package/node_modules/@emotion/styled/src/tags.ts +0 -138
- package/node_modules/@emotion/styled/src/types.ts +0 -190
- package/node_modules/@emotion/styled/src/utils.ts +0 -38
- package/node_modules/@storybook/addon-a11y/README.md +0 -13
- package/node_modules/@storybook/addon-a11y/dist/chunk-CEH6MNVV.mjs +0 -3
- package/node_modules/@storybook/addon-a11y/dist/index.d.ts +0 -40
- package/node_modules/@storybook/addon-a11y/dist/index.js +0 -25
- package/node_modules/@storybook/addon-a11y/dist/index.mjs +0 -8
- package/node_modules/@storybook/addon-a11y/dist/manager.js +0 -11
- package/node_modules/@storybook/addon-a11y/dist/matchers-7Z3WT2CE.mjs +0 -16
- package/node_modules/@storybook/addon-a11y/dist/matchers-TIWVOQAP.mjs +0 -18
- package/node_modules/@storybook/addon-a11y/dist/postinstall.js +0 -69
- package/node_modules/@storybook/addon-a11y/dist/preview.d.ts +0 -25
- package/node_modules/@storybook/addon-a11y/dist/preview.js +0 -24
- package/node_modules/@storybook/addon-a11y/dist/preview.mjs +0 -7
- package/node_modules/@storybook/addon-a11y/manager.js +0 -1
- package/node_modules/@storybook/addon-a11y/package.json +0 -115
- package/node_modules/@storybook/addon-a11y/preview.js +0 -1
- package/node_modules/@storybook/addon-docs/README.md +0 -154
- package/node_modules/@storybook/addon-docs/angular/README.md +0 -256
- package/node_modules/@storybook/addon-docs/angular/index.d.ts +0 -1
- package/node_modules/@storybook/addon-docs/angular/index.js +0 -6
- package/node_modules/@storybook/addon-docs/common/README.md +0 -98
- package/node_modules/@storybook/addon-docs/dist/DocsRenderer-CFRXHY34.mjs +0 -2
- package/node_modules/@storybook/addon-docs/dist/blocks.d.ts +0 -2
- package/node_modules/@storybook/addon-docs/dist/blocks.js +0 -1
- package/node_modules/@storybook/addon-docs/dist/blocks.mjs +0 -4
- package/node_modules/@storybook/addon-docs/dist/chunk-H6MOWX77.mjs +0 -3
- package/node_modules/@storybook/addon-docs/dist/chunk-NUUEMKO5.mjs +0 -7
- package/node_modules/@storybook/addon-docs/dist/chunk-PRSJUHPQ.mjs +0 -5
- package/node_modules/@storybook/addon-docs/dist/index.d.ts +0 -198
- package/node_modules/@storybook/addon-docs/dist/index.js +0 -1
- package/node_modules/@storybook/addon-docs/dist/index.mjs +0 -9
- package/node_modules/@storybook/addon-docs/dist/manager.d.ts +0 -2
- package/node_modules/@storybook/addon-docs/dist/manager.js +0 -1
- package/node_modules/@storybook/addon-docs/dist/manager.mjs +0 -8
- package/node_modules/@storybook/addon-docs/dist/mdx-loader.d.ts +0 -5940
- package/node_modules/@storybook/addon-docs/dist/mdx-loader.js +0 -56
- package/node_modules/@storybook/addon-docs/dist/mdx-loader.mjs +0 -59
- package/node_modules/@storybook/addon-docs/dist/preset.d.ts +0 -20
- package/node_modules/@storybook/addon-docs/dist/preset.js +0 -53
- package/node_modules/@storybook/addon-docs/dist/preview.d.ts +0 -3
- package/node_modules/@storybook/addon-docs/dist/preview.js +0 -1
- package/node_modules/@storybook/addon-docs/dist/preview.mjs +0 -2
- package/node_modules/@storybook/addon-docs/dist/shims/mdx-react-shim.d.ts +0 -1
- package/node_modules/@storybook/addon-docs/dist/shims/mdx-react-shim.js +0 -1
- package/node_modules/@storybook/addon-docs/dist/shims/mdx-react-shim.mjs +0 -1
- package/node_modules/@storybook/addon-docs/ember/README.md +0 -153
- package/node_modules/@storybook/addon-docs/ember/index.d.ts +0 -1
- package/node_modules/@storybook/addon-docs/ember/index.js +0 -5
- package/node_modules/@storybook/addon-docs/package.json +0 -171
- package/node_modules/@storybook/addon-docs/preset.js +0 -1
- package/node_modules/@storybook/addon-docs/preview.js +0 -1
- package/node_modules/@storybook/addon-docs/react/README.md +0 -149
- package/node_modules/@storybook/addon-docs/svelte/HOC.svelte +0 -7
- package/node_modules/@storybook/addon-docs/vue/README.md +0 -152
- package/node_modules/@storybook/addon-docs/web-components/README.md +0 -131
- package/node_modules/@storybook/addon-docs/web-components/index.js +0 -1
- package/node_modules/@storybook/addon-essentials/README.md +0 -57
- package/node_modules/@storybook/addon-essentials/dist/actions/manager.js +0 -1
- package/node_modules/@storybook/addon-essentials/dist/actions/preview.d.ts +0 -7
- package/node_modules/@storybook/addon-essentials/dist/actions/preview.js +0 -12
- package/node_modules/@storybook/addon-essentials/dist/actions/preview.mjs +0 -1
- package/node_modules/@storybook/addon-essentials/dist/backgrounds/manager.js +0 -1
- package/node_modules/@storybook/addon-essentials/dist/backgrounds/preview.d.ts +0 -1
- package/node_modules/@storybook/addon-essentials/dist/backgrounds/preview.js +0 -12
- package/node_modules/@storybook/addon-essentials/dist/backgrounds/preview.mjs +0 -1
- package/node_modules/@storybook/addon-essentials/dist/controls/manager.js +0 -1
- package/node_modules/@storybook/addon-essentials/dist/docs/manager.js +0 -1
- package/node_modules/@storybook/addon-essentials/dist/docs/mdx-react-shim.js +0 -12
- package/node_modules/@storybook/addon-essentials/dist/docs/preset.js +0 -14
- package/node_modules/@storybook/addon-essentials/dist/docs/preview.d.ts +0 -1
- package/node_modules/@storybook/addon-essentials/dist/docs/preview.js +0 -12
- package/node_modules/@storybook/addon-essentials/dist/docs/preview.mjs +0 -1
- package/node_modules/@storybook/addon-essentials/dist/highlight/preview.d.ts +0 -1
- package/node_modules/@storybook/addon-essentials/dist/highlight/preview.js +0 -12
- package/node_modules/@storybook/addon-essentials/dist/highlight/preview.mjs +0 -1
- package/node_modules/@storybook/addon-essentials/dist/index.d.ts +0 -5
- package/node_modules/@storybook/addon-essentials/dist/index.js +0 -42
- package/node_modules/@storybook/addon-essentials/dist/index.mjs +0 -12
- package/node_modules/@storybook/addon-essentials/dist/measure/manager.js +0 -1
- package/node_modules/@storybook/addon-essentials/dist/measure/preview.d.ts +0 -1
- package/node_modules/@storybook/addon-essentials/dist/measure/preview.js +0 -12
- package/node_modules/@storybook/addon-essentials/dist/measure/preview.mjs +0 -1
- package/node_modules/@storybook/addon-essentials/dist/outline/manager.js +0 -1
- package/node_modules/@storybook/addon-essentials/dist/outline/preview.d.ts +0 -1
- package/node_modules/@storybook/addon-essentials/dist/outline/preview.js +0 -12
- package/node_modules/@storybook/addon-essentials/dist/outline/preview.mjs +0 -1
- package/node_modules/@storybook/addon-essentials/dist/preset.js +0 -9
- package/node_modules/@storybook/addon-essentials/dist/preview.d.ts +0 -5
- package/node_modules/@storybook/addon-essentials/dist/preview.js +0 -42
- package/node_modules/@storybook/addon-essentials/dist/preview.mjs +0 -12
- package/node_modules/@storybook/addon-essentials/dist/toolbars/manager.js +0 -1
- package/node_modules/@storybook/addon-essentials/dist/viewport/manager.js +0 -1
- package/node_modules/@storybook/addon-essentials/dist/viewport/preview.d.ts +0 -1
- package/node_modules/@storybook/addon-essentials/dist/viewport/preview.js +0 -12
- package/node_modules/@storybook/addon-essentials/dist/viewport/preview.mjs +0 -1
- package/node_modules/@storybook/addon-essentials/package.json +0 -162
- package/node_modules/@storybook/addon-essentials/preset.js +0 -1
- package/node_modules/@storybook/addon-interactions/README.md +0 -57
- package/node_modules/@storybook/addon-interactions/dist/index.d.ts +0 -5
- package/node_modules/@storybook/addon-interactions/dist/index.js +0 -9
- package/node_modules/@storybook/addon-interactions/dist/index.mjs +0 -7
- package/node_modules/@storybook/addon-interactions/dist/manager.css +0 -1
- package/node_modules/@storybook/addon-interactions/dist/manager.js +0 -19
- package/node_modules/@storybook/addon-interactions/dist/preset.js +0 -9
- package/node_modules/@storybook/addon-interactions/dist/preview.d.ts +0 -20
- package/node_modules/@storybook/addon-interactions/dist/preview.js +0 -9
- package/node_modules/@storybook/addon-interactions/dist/preview.mjs +0 -6
- package/node_modules/@storybook/addon-interactions/manager.js +0 -1
- package/node_modules/@storybook/addon-interactions/package.json +0 -109
- package/node_modules/@storybook/addon-interactions/preset.js +0 -1
- package/node_modules/@storybook/addon-interactions/preview.js +0 -1
- package/node_modules/@storybook/addon-links/README.md +0 -147
- package/node_modules/@storybook/addon-links/dist/chunk-DQW2J2JG.mjs +0 -8
- package/node_modules/@storybook/addon-links/dist/index.d.ts +0 -20
- package/node_modules/@storybook/addon-links/dist/index.js +0 -16
- package/node_modules/@storybook/addon-links/dist/index.mjs +0 -7
- package/node_modules/@storybook/addon-links/dist/manager.js +0 -3
- package/node_modules/@storybook/addon-links/dist/preview.d.ts +0 -3
- package/node_modules/@storybook/addon-links/dist/preview.js +0 -10
- package/node_modules/@storybook/addon-links/dist/preview.mjs +0 -8
- package/node_modules/@storybook/addon-links/dist/react/index.d.ts +0 -24
- package/node_modules/@storybook/addon-links/dist/react/index.js +0 -15
- package/node_modules/@storybook/addon-links/dist/react/index.mjs +0 -6
- package/node_modules/@storybook/addon-links/manager.js +0 -1
- package/node_modules/@storybook/addon-links/package.json +0 -110
- package/node_modules/@storybook/addon-links/preview.js +0 -1
- package/node_modules/@storybook/addon-links/react.d.ts +0 -1
- package/node_modules/@storybook/addon-links/react.js +0 -3
- package/node_modules/@storybook/blocks/README.md +0 -23
- package/node_modules/@storybook/blocks/dist/Color-YHDXOIA2.mjs +0 -9
- package/node_modules/@storybook/blocks/dist/chunk-2PTXLE6R.mjs +0 -3
- package/node_modules/@storybook/blocks/dist/index.d.ts +0 -1032
- package/node_modules/@storybook/blocks/dist/index.js +0 -198
- package/node_modules/@storybook/blocks/dist/index.mjs +0 -214
- package/node_modules/@storybook/blocks/package.json +0 -86
- package/node_modules/@storybook/manager-api/package.json +0 -46
- package/node_modules/@storybook/manager-api/shim.d.ts +0 -2
- package/node_modules/@storybook/manager-api/shim.js +0 -1
- package/node_modules/@storybook/manager-api/shim.mjs +0 -1
- package/node_modules/@storybook/react/README.md +0 -1
- package/node_modules/@storybook/react/dist/chunk-EWIU6LHT.mjs +0 -56
- package/node_modules/@storybook/react/dist/chunk-TENYCC3B.mjs +0 -8
- package/node_modules/@storybook/react/dist/chunk-XP5HYGXS.mjs +0 -3
- package/node_modules/@storybook/react/dist/chunk-ZGTCCPPZ.mjs +0 -7
- package/node_modules/@storybook/react/dist/entry-preview-docs.d.ts +0 -20
- package/node_modules/@storybook/react/dist/entry-preview-docs.js +0 -47
- package/node_modules/@storybook/react/dist/entry-preview-docs.mjs +0 -2
- package/node_modules/@storybook/react/dist/entry-preview-rsc.d.ts +0 -7
- package/node_modules/@storybook/react/dist/entry-preview-rsc.js +0 -1
- package/node_modules/@storybook/react/dist/entry-preview-rsc.mjs +0 -5
- package/node_modules/@storybook/react/dist/entry-preview.d.ts +0 -19
- package/node_modules/@storybook/react/dist/entry-preview.js +0 -1
- package/node_modules/@storybook/react/dist/entry-preview.mjs +0 -2
- package/node_modules/@storybook/react/dist/index.d.ts +0 -91
- package/node_modules/@storybook/react/dist/index.js +0 -47
- package/node_modules/@storybook/react/dist/index.mjs +0 -11
- package/node_modules/@storybook/react/dist/playwright.d.ts +0 -1
- package/node_modules/@storybook/react/dist/playwright.js +0 -1
- package/node_modules/@storybook/react/dist/playwright.mjs +0 -2
- package/node_modules/@storybook/react/dist/preset.d.ts +0 -18
- package/node_modules/@storybook/react/dist/preset.js +0 -1
- package/node_modules/@storybook/react/dist/preview.d.ts +0 -199
- package/node_modules/@storybook/react/dist/preview.js +0 -47
- package/node_modules/@storybook/react/dist/preview.mjs +0 -4
- package/node_modules/@storybook/react/dist/public-types-f2c70f25.d.ts +0 -230
- package/node_modules/@storybook/react/dist/types-5617c98e.d.ts +0 -27
- package/node_modules/@storybook/react/package.json +0 -136
- package/node_modules/@storybook/react/preset.js +0 -1
- package/node_modules/@storybook/react/template/cli/.eslintrc.json +0 -5
- package/node_modules/@storybook/react/template/cli/js/Button.jsx +0 -39
- package/node_modules/@storybook/react/template/cli/js/Button.stories.js +0 -49
- package/node_modules/@storybook/react/template/cli/js/Header.jsx +0 -56
- package/node_modules/@storybook/react/template/cli/js/Header.stories.js +0 -29
- package/node_modules/@storybook/react/template/cli/js/Page.jsx +0 -69
- package/node_modules/@storybook/react/template/cli/js/Page.stories.js +0 -28
- package/node_modules/@storybook/react/template/cli/ts-3-8/Button.stories.ts +0 -53
- package/node_modules/@storybook/react/template/cli/ts-3-8/Button.tsx +0 -37
- package/node_modules/@storybook/react/template/cli/ts-3-8/Header.stories.ts +0 -33
- package/node_modules/@storybook/react/template/cli/ts-3-8/Header.tsx +0 -56
- package/node_modules/@storybook/react/template/cli/ts-3-8/Page.stories.ts +0 -32
- package/node_modules/@storybook/react/template/cli/ts-3-8/Page.tsx +0 -73
- package/node_modules/@storybook/react/template/cli/ts-4-9/Button.stories.ts +0 -53
- package/node_modules/@storybook/react/template/cli/ts-4-9/Button.tsx +0 -37
- package/node_modules/@storybook/react/template/cli/ts-4-9/Header.stories.ts +0 -33
- package/node_modules/@storybook/react/template/cli/ts-4-9/Header.tsx +0 -56
- package/node_modules/@storybook/react/template/cli/ts-4-9/Page.stories.ts +0 -32
- package/node_modules/@storybook/react/template/cli/ts-4-9/Page.tsx +0 -73
- package/node_modules/@storybook/react-vite/README.md +0 -3
- package/node_modules/@storybook/react-vite/dist/index.d.ts +0 -49
- package/node_modules/@storybook/react-vite/dist/index.js +0 -1
- package/node_modules/@storybook/react-vite/dist/index.mjs +0 -1
- package/node_modules/@storybook/react-vite/dist/node/index.d.ts +0 -9
- package/node_modules/@storybook/react-vite/dist/node/index.js +0 -1
- package/node_modules/@storybook/react-vite/dist/node/index.mjs +0 -3
- package/node_modules/@storybook/react-vite/dist/preset.d.ts +0 -10
- package/node_modules/@storybook/react-vite/dist/preset.js +0 -1
- package/node_modules/@storybook/react-vite/package.json +0 -111
- package/node_modules/@storybook/react-vite/preset.js +0 -1
- package/node_modules/@storybook/test/README.md +0 -41
- package/node_modules/@storybook/test/dist/index.d.ts +0 -186
- package/node_modules/@storybook/test/dist/index.js +0 -193
- package/node_modules/@storybook/test/dist/index.mjs +0 -199
- package/node_modules/@storybook/test/package.json +0 -85
- package/node_modules/@storybook/theming/create.d.ts +0 -2
- package/node_modules/@storybook/theming/create.js +0 -1
- package/node_modules/@storybook/theming/create.mjs +0 -1
- package/node_modules/@storybook/theming/package.json +0 -52
- package/node_modules/@storybook/theming/shim.d.ts +0 -2
- package/node_modules/@storybook/theming/shim.js +0 -1
- package/node_modules/@storybook/theming/shim.mjs +0 -1
- package/node_modules/@testing-library/jest-dom/LICENSE +0 -20
- package/node_modules/@testing-library/jest-dom/README.md +0 -1706
- package/node_modules/@testing-library/jest-dom/dist/index.js +0 -12
- package/node_modules/@testing-library/jest-dom/dist/index.mjs +0 -10
- package/node_modules/@testing-library/jest-dom/dist/jest-globals.js +0 -16
- package/node_modules/@testing-library/jest-dom/dist/jest-globals.mjs +0 -14
- package/node_modules/@testing-library/jest-dom/dist/matchers-7fb38cd4.js +0 -1945
- package/node_modules/@testing-library/jest-dom/dist/matchers-c85aadf8.mjs +0 -1914
- package/node_modules/@testing-library/jest-dom/dist/matchers.js +0 -42
- package/node_modules/@testing-library/jest-dom/dist/matchers.mjs +0 -8
- package/node_modules/@testing-library/jest-dom/dist/vitest.js +0 -16
- package/node_modules/@testing-library/jest-dom/dist/vitest.mjs +0 -14
- package/node_modules/@testing-library/jest-dom/jest-globals.d.ts +0 -1
- package/node_modules/@testing-library/jest-dom/jest-globals.js +0 -4
- package/node_modules/@testing-library/jest-dom/matchers.d.ts +0 -3
- package/node_modules/@testing-library/jest-dom/matchers.js +0 -2
- package/node_modules/@testing-library/jest-dom/package.json +0 -153
- package/node_modules/@testing-library/jest-dom/types/__tests__/bun/bun-custom-expect-types.test.ts +0 -100
- package/node_modules/@testing-library/jest-dom/types/__tests__/bun/bun-types.test.ts +0 -120
- package/node_modules/@testing-library/jest-dom/types/__tests__/bun/tsconfig.json +0 -9
- package/node_modules/@testing-library/jest-dom/types/__tests__/jest/jest-custom-expect-types.test.ts +0 -100
- package/node_modules/@testing-library/jest-dom/types/__tests__/jest/jest-types.test.ts +0 -119
- package/node_modules/@testing-library/jest-dom/types/__tests__/jest/tsconfig.json +0 -9
- package/node_modules/@testing-library/jest-dom/types/__tests__/jest-globals/jest-globals-custom-expect-types.test.ts +0 -97
- package/node_modules/@testing-library/jest-dom/types/__tests__/jest-globals/jest-globals-types.test.ts +0 -120
- package/node_modules/@testing-library/jest-dom/types/__tests__/jest-globals/tsconfig.json +0 -9
- package/node_modules/@testing-library/jest-dom/types/__tests__/vitest/tsconfig.json +0 -9
- package/node_modules/@testing-library/jest-dom/types/__tests__/vitest/vitest-custom-expect-types.test.ts +0 -97
- package/node_modules/@testing-library/jest-dom/types/__tests__/vitest/vitest-types.test.ts +0 -120
- package/node_modules/@testing-library/jest-dom/types/bun.d.ts +0 -11
- package/node_modules/@testing-library/jest-dom/types/index.d.ts +0 -1
- package/node_modules/@testing-library/jest-dom/types/jest-globals.d.ts +0 -11
- package/node_modules/@testing-library/jest-dom/types/jest.d.ts +0 -13
- package/node_modules/@testing-library/jest-dom/types/matchers-standalone.d.ts +0 -30
- package/node_modules/@testing-library/jest-dom/types/matchers.d.ts +0 -771
- package/node_modules/@testing-library/jest-dom/types/vitest.d.ts +0 -15
- package/node_modules/@testing-library/jest-dom/vitest.d.ts +0 -1
- package/node_modules/@testing-library/jest-dom/vitest.js +0 -4
- package/node_modules/@testing-library/react/LICENSE +0 -20
- package/node_modules/@testing-library/react/README.md +0 -688
- package/node_modules/@testing-library/react/dist/@testing-library/react.cjs.js +0 -532
- package/node_modules/@testing-library/react/dist/@testing-library/react.esm.js +0 -492
- package/node_modules/@testing-library/react/dist/@testing-library/react.pure.cjs.js +0 -496
- package/node_modules/@testing-library/react/dist/@testing-library/react.pure.esm.js +0 -456
- package/node_modules/@testing-library/react/dist/@testing-library/react.pure.umd.js +0 -13017
- package/node_modules/@testing-library/react/dist/@testing-library/react.pure.umd.js.map +0 -1
- package/node_modules/@testing-library/react/dist/@testing-library/react.pure.umd.min.js +0 -2
- package/node_modules/@testing-library/react/dist/@testing-library/react.pure.umd.min.js.map +0 -1
- package/node_modules/@testing-library/react/dist/@testing-library/react.umd.js +0 -13053
- package/node_modules/@testing-library/react/dist/@testing-library/react.umd.js.map +0 -1
- package/node_modules/@testing-library/react/dist/@testing-library/react.umd.min.js +0 -2
- package/node_modules/@testing-library/react/dist/@testing-library/react.umd.min.js.map +0 -1
- package/node_modules/@testing-library/react/dist/act-compat.js +0 -81
- package/node_modules/@testing-library/react/dist/config.js +0 -33
- package/node_modules/@testing-library/react/dist/fire-event.js +0 -70
- package/node_modules/@testing-library/react/dist/index.js +0 -52
- package/node_modules/@testing-library/react/dist/pure.js +0 -335
- package/node_modules/@testing-library/react/dont-cleanup-after-each.js +0 -1
- package/node_modules/@testing-library/react/package.json +0 -111
- package/node_modules/@testing-library/react/pure.d.ts +0 -1
- package/node_modules/@testing-library/react/pure.js +0 -2
- package/node_modules/@testing-library/react/types/index.d.ts +0 -257
- package/node_modules/@testing-library/react/types/pure.d.ts +0 -1
- package/node_modules/@testing-library/user-event/LICENSE +0 -20
- package/node_modules/@testing-library/user-event/README.md +0 -124
- package/node_modules/@testing-library/user-event/dist/cjs/clipboard/copy.js +0 -22
- package/node_modules/@testing-library/user-event/dist/cjs/clipboard/cut.js +0 -22
- package/node_modules/@testing-library/user-event/dist/cjs/clipboard/index.js +0 -11
- package/node_modules/@testing-library/user-event/dist/cjs/clipboard/paste.js +0 -25
- package/node_modules/@testing-library/user-event/dist/cjs/convenience/click.js +0 -35
- package/node_modules/@testing-library/user-event/dist/cjs/convenience/hover.js +0 -19
- package/node_modules/@testing-library/user-event/dist/cjs/convenience/index.js +0 -14
- package/node_modules/@testing-library/user-event/dist/cjs/convenience/tab.js +0 -7
- package/node_modules/@testing-library/user-event/dist/cjs/document/UI.js +0 -92
- package/node_modules/@testing-library/user-event/dist/cjs/document/copySelection.js +0 -29
- package/node_modules/@testing-library/user-event/dist/cjs/document/getValueOrTextContent.js +0 -18
- package/node_modules/@testing-library/user-event/dist/cjs/document/index.js +0 -17
- package/node_modules/@testing-library/user-event/dist/cjs/document/interceptor.js +0 -104
- package/node_modules/@testing-library/user-event/dist/cjs/document/patchFocus.js +0 -104
- package/node_modules/@testing-library/user-event/dist/cjs/document/prepareDocument.js +0 -58
- package/node_modules/@testing-library/user-event/dist/cjs/document/trackValue.js +0 -57
- package/node_modules/@testing-library/user-event/dist/cjs/event/behavior/click.js +0 -32
- package/node_modules/@testing-library/user-event/dist/cjs/event/behavior/cut.js +0 -14
- package/node_modules/@testing-library/user-event/dist/cjs/event/behavior/index.js +0 -13
- package/node_modules/@testing-library/user-event/dist/cjs/event/behavior/keydown.js +0 -128
- package/node_modules/@testing-library/user-event/dist/cjs/event/behavior/keypress.js +0 -51
- package/node_modules/@testing-library/user-event/dist/cjs/event/behavior/keyup.js +0 -17
- package/node_modules/@testing-library/user-event/dist/cjs/event/behavior/paste.js +0 -18
- package/node_modules/@testing-library/user-event/dist/cjs/event/behavior/registry.js +0 -5
- package/node_modules/@testing-library/user-event/dist/cjs/event/createEvent.js +0 -207
- package/node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js +0 -54
- package/node_modules/@testing-library/user-event/dist/cjs/event/eventMap.js +0 -281
- package/node_modules/@testing-library/user-event/dist/cjs/event/focus.js +0 -34
- package/node_modules/@testing-library/user-event/dist/cjs/event/index.js +0 -22
- package/node_modules/@testing-library/user-event/dist/cjs/event/input.js +0 -157
- package/node_modules/@testing-library/user-event/dist/cjs/event/radio.js +0 -27
- package/node_modules/@testing-library/user-event/dist/cjs/event/selection/getInputRange.js +0 -18
- package/node_modules/@testing-library/user-event/dist/cjs/event/selection/getTargetTypeAndSelection.js +0 -31
- package/node_modules/@testing-library/user-event/dist/cjs/event/selection/index.js +0 -24
- package/node_modules/@testing-library/user-event/dist/cjs/event/selection/modifySelection.js +0 -21
- package/node_modules/@testing-library/user-event/dist/cjs/event/selection/modifySelectionPerMouse.js +0 -40
- package/node_modules/@testing-library/user-event/dist/cjs/event/selection/moveSelection.js +0 -38
- package/node_modules/@testing-library/user-event/dist/cjs/event/selection/resolveCaretPosition.js +0 -61
- package/node_modules/@testing-library/user-event/dist/cjs/event/selection/selectAll.js +0 -38
- package/node_modules/@testing-library/user-event/dist/cjs/event/selection/setSelection.js +0 -21
- package/node_modules/@testing-library/user-event/dist/cjs/event/selection/setSelectionPerMouse.js +0 -81
- package/node_modules/@testing-library/user-event/dist/cjs/event/selection/setSelectionRange.js +0 -31
- package/node_modules/@testing-library/user-event/dist/cjs/event/selection/updateSelectionOnFocus.js +0 -40
- package/node_modules/@testing-library/user-event/dist/cjs/event/types.js +0 -2
- package/node_modules/@testing-library/user-event/dist/cjs/event/wrapEvent.js +0 -9
- package/node_modules/@testing-library/user-event/dist/cjs/index.js +0 -12
- package/node_modules/@testing-library/user-event/dist/cjs/keyboard/index.js +0 -40
- package/node_modules/@testing-library/user-event/dist/cjs/keyboard/keyMap.js +0 -178
- package/node_modules/@testing-library/user-event/dist/cjs/keyboard/parseKeyDef.js +0 -45
- package/node_modules/@testing-library/user-event/dist/cjs/options.js +0 -14
- package/node_modules/@testing-library/user-event/dist/cjs/package.json +0 -3
- package/node_modules/@testing-library/user-event/dist/cjs/pointer/index.js +0 -74
- package/node_modules/@testing-library/user-event/dist/cjs/pointer/keyMap.js +0 -33
- package/node_modules/@testing-library/user-event/dist/cjs/pointer/parseKeyDef.js +0 -23
- package/node_modules/@testing-library/user-event/dist/cjs/setup/api.js +0 -35
- package/node_modules/@testing-library/user-event/dist/cjs/setup/directApi.js +0 -75
- package/node_modules/@testing-library/user-event/dist/cjs/setup/index.js +0 -11
- package/node_modules/@testing-library/user-event/dist/cjs/setup/setup.js +0 -125
- package/node_modules/@testing-library/user-event/dist/cjs/setup/wrapAsync.js +0 -11
- package/node_modules/@testing-library/user-event/dist/cjs/system/index.js +0 -44
- package/node_modules/@testing-library/user-event/dist/cjs/system/keyboard.js +0 -169
- package/node_modules/@testing-library/user-event/dist/cjs/system/pointer/buttons.js +0 -84
- package/node_modules/@testing-library/user-event/dist/cjs/system/pointer/device.js +0 -34
- package/node_modules/@testing-library/user-event/dist/cjs/system/pointer/index.js +0 -159
- package/node_modules/@testing-library/user-event/dist/cjs/system/pointer/mouse.js +0 -207
- package/node_modules/@testing-library/user-event/dist/cjs/system/pointer/pointer.js +0 -131
- package/node_modules/@testing-library/user-event/dist/cjs/system/pointer/shared.js +0 -8
- package/node_modules/@testing-library/user-event/dist/cjs/utility/clear.js +0 -32
- package/node_modules/@testing-library/user-event/dist/cjs/utility/index.js +0 -14
- package/node_modules/@testing-library/user-event/dist/cjs/utility/selectOptions.js +0 -114
- package/node_modules/@testing-library/user-event/dist/cjs/utility/type.js +0 -23
- package/node_modules/@testing-library/user-event/dist/cjs/utility/upload.js +0 -62
- package/node_modules/@testing-library/user-event/dist/cjs/utils/click/isClickableInput.js +0 -20
- package/node_modules/@testing-library/user-event/dist/cjs/utils/dataTransfer/Blob.js +0 -16
- package/node_modules/@testing-library/user-event/dist/cjs/utils/dataTransfer/Clipboard.js +0 -169
- package/node_modules/@testing-library/user-event/dist/cjs/utils/dataTransfer/DataTransfer.js +0 -136
- package/node_modules/@testing-library/user-event/dist/cjs/utils/dataTransfer/FileList.js +0 -24
- package/node_modules/@testing-library/user-event/dist/cjs/utils/edit/isContentEditable.js +0 -18
- package/node_modules/@testing-library/user-event/dist/cjs/utils/edit/isEditable.js +0 -29
- package/node_modules/@testing-library/user-event/dist/cjs/utils/edit/maxLength.js +0 -26
- package/node_modules/@testing-library/user-event/dist/cjs/utils/edit/setFiles.js +0 -59
- package/node_modules/@testing-library/user-event/dist/cjs/utils/edit/timeValue.js +0 -40
- package/node_modules/@testing-library/user-event/dist/cjs/utils/focus/cursor.js +0 -126
- package/node_modules/@testing-library/user-event/dist/cjs/utils/focus/getActiveElement.js +0 -23
- package/node_modules/@testing-library/user-event/dist/cjs/utils/focus/getTabDestination.js +0 -80
- package/node_modules/@testing-library/user-event/dist/cjs/utils/focus/isFocusable.js +0 -9
- package/node_modules/@testing-library/user-event/dist/cjs/utils/focus/selection.js +0 -20
- package/node_modules/@testing-library/user-event/dist/cjs/utils/focus/selector.js +0 -14
- package/node_modules/@testing-library/user-event/dist/cjs/utils/index.js +0 -78
- package/node_modules/@testing-library/user-event/dist/cjs/utils/keyDef/readNextDescriptor.js +0 -92
- package/node_modules/@testing-library/user-event/dist/cjs/utils/misc/cloneEvent.js +0 -7
- package/node_modules/@testing-library/user-event/dist/cjs/utils/misc/findClosest.js +0 -14
- package/node_modules/@testing-library/user-event/dist/cjs/utils/misc/getDocumentFromNode.js +0 -10
- package/node_modules/@testing-library/user-event/dist/cjs/utils/misc/getTreeDiff.js +0 -25
- package/node_modules/@testing-library/user-event/dist/cjs/utils/misc/getWindow.js +0 -19
- package/node_modules/@testing-library/user-event/dist/cjs/utils/misc/isDescendantOrSelf.js +0 -14
- package/node_modules/@testing-library/user-event/dist/cjs/utils/misc/isDisabled.js +0 -33
- package/node_modules/@testing-library/user-event/dist/cjs/utils/misc/isElementType.js +0 -20
- package/node_modules/@testing-library/user-event/dist/cjs/utils/misc/isVisible.js +0 -19
- package/node_modules/@testing-library/user-event/dist/cjs/utils/misc/level.js +0 -17
- package/node_modules/@testing-library/user-event/dist/cjs/utils/misc/wait.js +0 -14
- package/node_modules/@testing-library/user-event/dist/cjs/utils/pointer/cssPointerEvents.js +0 -103
- package/node_modules/@testing-library/user-event/dist/esm/clipboard/copy.js +0 -20
- package/node_modules/@testing-library/user-event/dist/esm/clipboard/cut.js +0 -20
- package/node_modules/@testing-library/user-event/dist/esm/clipboard/index.js +0 -3
- package/node_modules/@testing-library/user-event/dist/esm/clipboard/paste.js +0 -23
- package/node_modules/@testing-library/user-event/dist/esm/convenience/click.js +0 -31
- package/node_modules/@testing-library/user-event/dist/esm/convenience/hover.js +0 -16
- package/node_modules/@testing-library/user-event/dist/esm/convenience/index.js +0 -3
- package/node_modules/@testing-library/user-event/dist/esm/convenience/tab.js +0 -5
- package/node_modules/@testing-library/user-event/dist/esm/document/UI.js +0 -79
- package/node_modules/@testing-library/user-event/dist/esm/document/copySelection.js +0 -27
- package/node_modules/@testing-library/user-event/dist/esm/document/getValueOrTextContent.js +0 -16
- package/node_modules/@testing-library/user-event/dist/esm/document/index.js +0 -4
- package/node_modules/@testing-library/user-event/dist/esm/document/interceptor.js +0 -99
- package/node_modules/@testing-library/user-event/dist/esm/document/patchFocus.js +0 -101
- package/node_modules/@testing-library/user-event/dist/esm/document/prepareDocument.js +0 -56
- package/node_modules/@testing-library/user-event/dist/esm/document/trackValue.js +0 -53
- package/node_modules/@testing-library/user-event/dist/esm/event/behavior/click.js +0 -30
- package/node_modules/@testing-library/user-event/dist/esm/event/behavior/cut.js +0 -12
- package/node_modules/@testing-library/user-event/dist/esm/event/behavior/index.js +0 -7
- package/node_modules/@testing-library/user-event/dist/esm/event/behavior/keydown.js +0 -126
- package/node_modules/@testing-library/user-event/dist/esm/event/behavior/keypress.js +0 -49
- package/node_modules/@testing-library/user-event/dist/esm/event/behavior/keyup.js +0 -15
- package/node_modules/@testing-library/user-event/dist/esm/event/behavior/paste.js +0 -16
- package/node_modules/@testing-library/user-event/dist/esm/event/behavior/registry.js +0 -3
- package/node_modules/@testing-library/user-event/dist/esm/event/createEvent.js +0 -205
- package/node_modules/@testing-library/user-event/dist/esm/event/dispatchEvent.js +0 -50
- package/node_modules/@testing-library/user-event/dist/esm/event/eventMap.js +0 -277
- package/node_modules/@testing-library/user-event/dist/esm/event/focus.js +0 -31
- package/node_modules/@testing-library/user-event/dist/esm/event/index.js +0 -7
- package/node_modules/@testing-library/user-event/dist/esm/event/input.js +0 -155
- package/node_modules/@testing-library/user-event/dist/esm/event/radio.js +0 -25
- package/node_modules/@testing-library/user-event/dist/esm/event/selection/getInputRange.js +0 -16
- package/node_modules/@testing-library/user-event/dist/esm/event/selection/getTargetTypeAndSelection.js +0 -29
- package/node_modules/@testing-library/user-event/dist/esm/event/selection/index.js +0 -9
- package/node_modules/@testing-library/user-event/dist/esm/event/selection/modifySelection.js +0 -19
- package/node_modules/@testing-library/user-event/dist/esm/event/selection/modifySelectionPerMouse.js +0 -38
- package/node_modules/@testing-library/user-event/dist/esm/event/selection/moveSelection.js +0 -36
- package/node_modules/@testing-library/user-event/dist/esm/event/selection/resolveCaretPosition.js +0 -59
- package/node_modules/@testing-library/user-event/dist/esm/event/selection/selectAll.js +0 -35
- package/node_modules/@testing-library/user-event/dist/esm/event/selection/setSelection.js +0 -19
- package/node_modules/@testing-library/user-event/dist/esm/event/selection/setSelectionPerMouse.js +0 -79
- package/node_modules/@testing-library/user-event/dist/esm/event/selection/setSelectionRange.js +0 -29
- package/node_modules/@testing-library/user-event/dist/esm/event/selection/updateSelectionOnFocus.js +0 -38
- package/node_modules/@testing-library/user-event/dist/esm/event/types.js +0 -1
- package/node_modules/@testing-library/user-event/dist/esm/event/wrapEvent.js +0 -7
- package/node_modules/@testing-library/user-event/dist/esm/index.js +0 -2
- package/node_modules/@testing-library/user-event/dist/esm/keyboard/index.js +0 -37
- package/node_modules/@testing-library/user-event/dist/esm/keyboard/keyMap.js +0 -176
- package/node_modules/@testing-library/user-event/dist/esm/keyboard/parseKeyDef.js +0 -43
- package/node_modules/@testing-library/user-event/dist/esm/options.js +0 -12
- package/node_modules/@testing-library/user-event/dist/esm/package.json +0 -3
- package/node_modules/@testing-library/user-event/dist/esm/pointer/index.js +0 -72
- package/node_modules/@testing-library/user-event/dist/esm/pointer/keyMap.js +0 -31
- package/node_modules/@testing-library/user-event/dist/esm/pointer/parseKeyDef.js +0 -21
- package/node_modules/@testing-library/user-event/dist/esm/setup/api.js +0 -33
- package/node_modules/@testing-library/user-event/dist/esm/setup/directApi.js +0 -58
- package/node_modules/@testing-library/user-event/dist/esm/setup/index.js +0 -9
- package/node_modules/@testing-library/user-event/dist/esm/setup/setup.js +0 -119
- package/node_modules/@testing-library/user-event/dist/esm/setup/wrapAsync.js +0 -9
- package/node_modules/@testing-library/user-event/dist/esm/system/index.js +0 -42
- package/node_modules/@testing-library/user-event/dist/esm/system/keyboard.js +0 -166
- package/node_modules/@testing-library/user-event/dist/esm/system/pointer/buttons.js +0 -78
- package/node_modules/@testing-library/user-event/dist/esm/system/pointer/device.js +0 -32
- package/node_modules/@testing-library/user-event/dist/esm/system/pointer/index.js +0 -157
- package/node_modules/@testing-library/user-event/dist/esm/system/pointer/mouse.js +0 -205
- package/node_modules/@testing-library/user-event/dist/esm/system/pointer/pointer.js +0 -129
- package/node_modules/@testing-library/user-event/dist/esm/system/pointer/shared.js +0 -6
- package/node_modules/@testing-library/user-event/dist/esm/utility/clear.js +0 -30
- package/node_modules/@testing-library/user-event/dist/esm/utility/index.js +0 -4
- package/node_modules/@testing-library/user-event/dist/esm/utility/selectOptions.js +0 -111
- package/node_modules/@testing-library/user-event/dist/esm/utility/type.js +0 -21
- package/node_modules/@testing-library/user-event/dist/esm/utility/upload.js +0 -60
- package/node_modules/@testing-library/user-event/dist/esm/utils/click/isClickableInput.js +0 -18
- package/node_modules/@testing-library/user-event/dist/esm/utils/dataTransfer/Blob.js +0 -14
- package/node_modules/@testing-library/user-event/dist/esm/utils/dataTransfer/Clipboard.js +0 -162
- package/node_modules/@testing-library/user-event/dist/esm/utils/dataTransfer/DataTransfer.js +0 -133
- package/node_modules/@testing-library/user-event/dist/esm/utils/dataTransfer/FileList.js +0 -22
- package/node_modules/@testing-library/user-event/dist/esm/utils/edit/isContentEditable.js +0 -15
- package/node_modules/@testing-library/user-event/dist/esm/utils/edit/isEditable.js +0 -26
- package/node_modules/@testing-library/user-event/dist/esm/utils/edit/maxLength.js +0 -23
- package/node_modules/@testing-library/user-event/dist/esm/utils/edit/setFiles.js +0 -57
- package/node_modules/@testing-library/user-event/dist/esm/utils/edit/timeValue.js +0 -37
- package/node_modules/@testing-library/user-event/dist/esm/utils/focus/cursor.js +0 -124
- package/node_modules/@testing-library/user-event/dist/esm/utils/focus/getActiveElement.js +0 -20
- package/node_modules/@testing-library/user-event/dist/esm/utils/focus/getTabDestination.js +0 -78
- package/node_modules/@testing-library/user-event/dist/esm/utils/focus/isFocusable.js +0 -7
- package/node_modules/@testing-library/user-event/dist/esm/utils/focus/selection.js +0 -17
- package/node_modules/@testing-library/user-event/dist/esm/utils/focus/selector.js +0 -12
- package/node_modules/@testing-library/user-event/dist/esm/utils/index.js +0 -29
- package/node_modules/@testing-library/user-event/dist/esm/utils/keyDef/readNextDescriptor.js +0 -90
- package/node_modules/@testing-library/user-event/dist/esm/utils/misc/cloneEvent.js +0 -5
- package/node_modules/@testing-library/user-event/dist/esm/utils/misc/findClosest.js +0 -12
- package/node_modules/@testing-library/user-event/dist/esm/utils/misc/getDocumentFromNode.js +0 -8
- package/node_modules/@testing-library/user-event/dist/esm/utils/misc/getTreeDiff.js +0 -23
- package/node_modules/@testing-library/user-event/dist/esm/utils/misc/getWindow.js +0 -17
- package/node_modules/@testing-library/user-event/dist/esm/utils/misc/isDescendantOrSelf.js +0 -12
- package/node_modules/@testing-library/user-event/dist/esm/utils/misc/isDisabled.js +0 -31
- package/node_modules/@testing-library/user-event/dist/esm/utils/misc/isElementType.js +0 -18
- package/node_modules/@testing-library/user-event/dist/esm/utils/misc/isVisible.js +0 -17
- package/node_modules/@testing-library/user-event/dist/esm/utils/misc/level.js +0 -13
- package/node_modules/@testing-library/user-event/dist/esm/utils/misc/wait.js +0 -12
- package/node_modules/@testing-library/user-event/dist/esm/utils/pointer/cssPointerEvents.js +0 -100
- package/node_modules/@testing-library/user-event/dist/types/clipboard/copy.d.ts +0 -2
- package/node_modules/@testing-library/user-event/dist/types/clipboard/cut.d.ts +0 -2
- package/node_modules/@testing-library/user-event/dist/types/clipboard/index.d.ts +0 -3
- package/node_modules/@testing-library/user-event/dist/types/clipboard/paste.d.ts +0 -2
- package/node_modules/@testing-library/user-event/dist/types/convenience/click.d.ts +0 -4
- package/node_modules/@testing-library/user-event/dist/types/convenience/hover.d.ts +0 -3
- package/node_modules/@testing-library/user-event/dist/types/convenience/index.d.ts +0 -3
- package/node_modules/@testing-library/user-event/dist/types/convenience/tab.d.ts +0 -4
- package/node_modules/@testing-library/user-event/dist/types/document/UI.d.ts +0 -42
- package/node_modules/@testing-library/user-event/dist/types/document/copySelection.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/document/getValueOrTextContent.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/document/index.d.ts +0 -5
- package/node_modules/@testing-library/user-event/dist/types/document/interceptor.d.ts +0 -19
- package/node_modules/@testing-library/user-event/dist/types/document/patchFocus.d.ts +0 -9
- package/node_modules/@testing-library/user-event/dist/types/document/prepareDocument.d.ts +0 -8
- package/node_modules/@testing-library/user-event/dist/types/document/trackValue.d.ts +0 -17
- package/node_modules/@testing-library/user-event/dist/types/event/behavior/click.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/event/behavior/cut.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/event/behavior/index.d.ts +0 -8
- package/node_modules/@testing-library/user-event/dist/types/event/behavior/keydown.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/event/behavior/keypress.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/event/behavior/keyup.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/event/behavior/paste.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/event/behavior/registry.d.ts +0 -9
- package/node_modules/@testing-library/user-event/dist/types/event/createEvent.d.ts +0 -2
- package/node_modules/@testing-library/user-event/dist/types/event/dispatchEvent.d.ts +0 -5
- package/node_modules/@testing-library/user-event/dist/types/event/eventMap.d.ts +0 -265
- package/node_modules/@testing-library/user-event/dist/types/event/focus.d.ts +0 -5
- package/node_modules/@testing-library/user-event/dist/types/event/index.d.ts +0 -7
- package/node_modules/@testing-library/user-event/dist/types/event/input.d.ts +0 -2
- package/node_modules/@testing-library/user-event/dist/types/event/radio.d.ts +0 -4
- package/node_modules/@testing-library/user-event/dist/types/event/selection/getInputRange.d.ts +0 -5
- package/node_modules/@testing-library/user-event/dist/types/event/selection/getTargetTypeAndSelection.d.ts +0 -10
- package/node_modules/@testing-library/user-event/dist/types/event/selection/index.d.ts +0 -15
- package/node_modules/@testing-library/user-event/dist/types/event/selection/modifySelection.d.ts +0 -8
- package/node_modules/@testing-library/user-event/dist/types/event/selection/modifySelectionPerMouse.d.ts +0 -7
- package/node_modules/@testing-library/user-event/dist/types/event/selection/moveSelection.d.ts +0 -4
- package/node_modules/@testing-library/user-event/dist/types/event/selection/resolveCaretPosition.d.ts +0 -8
- package/node_modules/@testing-library/user-event/dist/types/event/selection/selectAll.d.ts +0 -5
- package/node_modules/@testing-library/user-event/dist/types/event/selection/setSelection.d.ts +0 -10
- package/node_modules/@testing-library/user-event/dist/types/event/selection/setSelectionPerMouse.d.ts +0 -8
- package/node_modules/@testing-library/user-event/dist/types/event/selection/setSelectionRange.d.ts +0 -6
- package/node_modules/@testing-library/user-event/dist/types/event/selection/updateSelectionOnFocus.d.ts +0 -5
- package/node_modules/@testing-library/user-event/dist/types/event/types.d.ts +0 -20
- package/node_modules/@testing-library/user-event/dist/types/event/wrapEvent.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/index.d.ts +0 -6
- package/node_modules/@testing-library/user-event/dist/types/keyboard/index.d.ts +0 -3
- package/node_modules/@testing-library/user-event/dist/types/keyboard/keyMap.d.ts +0 -5
- package/node_modules/@testing-library/user-event/dist/types/keyboard/parseKeyDef.d.ts +0 -17
- package/node_modules/@testing-library/user-event/dist/types/options.d.ts +0 -115
- package/node_modules/@testing-library/user-event/dist/types/pointer/index.d.ts +0 -28
- package/node_modules/@testing-library/user-event/dist/types/pointer/keyMap.d.ts +0 -2
- package/node_modules/@testing-library/user-event/dist/types/pointer/parseKeyDef.d.ts +0 -6
- package/node_modules/@testing-library/user-event/dist/types/setup/api.d.ts +0 -23
- package/node_modules/@testing-library/user-event/dist/types/setup/directApi.d.ts +0 -24
- package/node_modules/@testing-library/user-event/dist/types/setup/index.d.ts +0 -22
- package/node_modules/@testing-library/user-event/dist/types/setup/setup.d.ts +0 -44
- package/node_modules/@testing-library/user-event/dist/types/setup/wrapAsync.d.ts +0 -4
- package/node_modules/@testing-library/user-event/dist/types/system/index.d.ts +0 -10
- package/node_modules/@testing-library/user-event/dist/types/system/keyboard.d.ts +0 -50
- package/node_modules/@testing-library/user-event/dist/types/system/pointer/buttons.d.ts +0 -23
- package/node_modules/@testing-library/user-event/dist/types/system/pointer/device.d.ts +0 -8
- package/node_modules/@testing-library/user-event/dist/types/system/pointer/index.d.ts +0 -21
- package/node_modules/@testing-library/user-event/dist/types/system/pointer/mouse.d.ts +0 -31
- package/node_modules/@testing-library/user-event/dist/types/system/pointer/pointer.d.ts +0 -32
- package/node_modules/@testing-library/user-event/dist/types/system/pointer/shared.d.ts +0 -20
- package/node_modules/@testing-library/user-event/dist/types/utility/clear.d.ts +0 -2
- package/node_modules/@testing-library/user-event/dist/types/utility/index.d.ts +0 -4
- package/node_modules/@testing-library/user-event/dist/types/utility/selectOptions.d.ts +0 -3
- package/node_modules/@testing-library/user-event/dist/types/utility/type.d.ts +0 -9
- package/node_modules/@testing-library/user-event/dist/types/utility/upload.d.ts +0 -5
- package/node_modules/@testing-library/user-event/dist/types/utils/click/isClickableInput.d.ts +0 -15
- package/node_modules/@testing-library/user-event/dist/types/utils/dataTransfer/Blob.d.ts +0 -3
- package/node_modules/@testing-library/user-event/dist/types/utils/dataTransfer/Clipboard.d.ts +0 -11
- package/node_modules/@testing-library/user-event/dist/types/utils/dataTransfer/DataTransfer.d.ts +0 -2
- package/node_modules/@testing-library/user-event/dist/types/utils/dataTransfer/FileList.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/utils/edit/isContentEditable.d.ts +0 -7
- package/node_modules/@testing-library/user-event/dist/types/utils/edit/isEditable.d.ts +0 -24
- package/node_modules/@testing-library/user-event/dist/types/utils/edit/maxLength.d.ts +0 -14
- package/node_modules/@testing-library/user-event/dist/types/utils/edit/setFiles.d.ts +0 -12
- package/node_modules/@testing-library/user-event/dist/types/utils/edit/timeValue.d.ts +0 -4
- package/node_modules/@testing-library/user-event/dist/types/utils/focus/cursor.d.ts +0 -9
- package/node_modules/@testing-library/user-event/dist/types/utils/focus/getActiveElement.d.ts +0 -2
- package/node_modules/@testing-library/user-event/dist/types/utils/focus/getTabDestination.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/utils/focus/isFocusable.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/utils/focus/selection.d.ts +0 -8
- package/node_modules/@testing-library/user-event/dist/types/utils/focus/selector.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/utils/index.d.ts +0 -29
- package/node_modules/@testing-library/user-event/dist/types/utils/keyDef/readNextDescriptor.d.ts +0 -21
- package/node_modules/@testing-library/user-event/dist/types/utils/misc/cloneEvent.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/utils/misc/findClosest.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/utils/misc/getDocumentFromNode.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/utils/misc/getTreeDiff.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/utils/misc/getWindow.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/utils/misc/isDescendantOrSelf.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/utils/misc/isDisabled.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/utils/misc/isElementType.d.ts +0 -5
- package/node_modules/@testing-library/user-event/dist/types/utils/misc/isVisible.d.ts +0 -1
- package/node_modules/@testing-library/user-event/dist/types/utils/misc/level.d.ts +0 -8
- package/node_modules/@testing-library/user-event/dist/types/utils/misc/wait.d.ts +0 -2
- package/node_modules/@testing-library/user-event/dist/types/utils/pointer/cssPointerEvents.d.ts +0 -19
- package/node_modules/@testing-library/user-event/package.json +0 -112
- package/node_modules/@types/node/LICENSE +0 -21
- package/node_modules/@types/node/README.md +0 -15
- package/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/node_modules/@types/node/assert.d.ts +0 -1040
- package/node_modules/@types/node/async_hooks.d.ts +0 -541
- package/node_modules/@types/node/buffer.d.ts +0 -2363
- package/node_modules/@types/node/child_process.d.ts +0 -1542
- package/node_modules/@types/node/cluster.d.ts +0 -578
- package/node_modules/@types/node/console.d.ts +0 -452
- package/node_modules/@types/node/constants.d.ts +0 -19
- package/node_modules/@types/node/crypto.d.ts +0 -4522
- package/node_modules/@types/node/dgram.d.ts +0 -596
- package/node_modules/@types/node/diagnostics_channel.d.ts +0 -545
- package/node_modules/@types/node/dns/promises.d.ts +0 -473
- package/node_modules/@types/node/dns.d.ts +0 -853
- package/node_modules/@types/node/dom-events.d.ts +0 -124
- package/node_modules/@types/node/domain.d.ts +0 -170
- package/node_modules/@types/node/events.d.ts +0 -884
- package/node_modules/@types/node/fs/promises.d.ts +0 -1245
- package/node_modules/@types/node/fs.d.ts +0 -4317
- package/node_modules/@types/node/globals.d.ts +0 -411
- package/node_modules/@types/node/globals.global.d.ts +0 -1
- package/node_modules/@types/node/http.d.ts +0 -1889
- package/node_modules/@types/node/http2.d.ts +0 -2418
- package/node_modules/@types/node/https.d.ts +0 -550
- package/node_modules/@types/node/index.d.ts +0 -89
- package/node_modules/@types/node/inspector.d.ts +0 -2746
- package/node_modules/@types/node/module.d.ts +0 -315
- package/node_modules/@types/node/net.d.ts +0 -996
- package/node_modules/@types/node/os.d.ts +0 -495
- package/node_modules/@types/node/package.json +0 -217
- package/node_modules/@types/node/path.d.ts +0 -191
- package/node_modules/@types/node/perf_hooks.d.ts +0 -645
- package/node_modules/@types/node/process.d.ts +0 -1747
- package/node_modules/@types/node/punycode.d.ts +0 -117
- package/node_modules/@types/node/querystring.d.ts +0 -153
- package/node_modules/@types/node/readline/promises.d.ts +0 -150
- package/node_modules/@types/node/readline.d.ts +0 -540
- package/node_modules/@types/node/repl.d.ts +0 -430
- package/node_modules/@types/node/sea.d.ts +0 -153
- package/node_modules/@types/node/stream/consumers.d.ts +0 -12
- package/node_modules/@types/node/stream/promises.d.ts +0 -83
- package/node_modules/@types/node/stream/web.d.ts +0 -367
- package/node_modules/@types/node/stream.d.ts +0 -1707
- package/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/node_modules/@types/node/test.d.ts +0 -1470
- package/node_modules/@types/node/timers/promises.d.ts +0 -97
- package/node_modules/@types/node/timers.d.ts +0 -240
- package/node_modules/@types/node/tls.d.ts +0 -1217
- package/node_modules/@types/node/trace_events.d.ts +0 -197
- package/node_modules/@types/node/tty.d.ts +0 -208
- package/node_modules/@types/node/url.d.ts +0 -944
- package/node_modules/@types/node/util.d.ts +0 -2276
- package/node_modules/@types/node/v8.d.ts +0 -764
- package/node_modules/@types/node/vm.d.ts +0 -921
- package/node_modules/@types/node/wasi.d.ts +0 -181
- package/node_modules/@types/node/worker_threads.d.ts +0 -691
- package/node_modules/@types/node/zlib.d.ts +0 -530
- package/node_modules/@types/react/LICENSE +0 -21
- package/node_modules/@types/react/README.md +0 -15
- package/node_modules/@types/react/canary.d.ts +0 -157
- package/node_modules/@types/react/experimental.d.ts +0 -127
- package/node_modules/@types/react/global.d.ts +0 -160
- package/node_modules/@types/react/index.d.ts +0 -4537
- package/node_modules/@types/react/jsx-dev-runtime.d.ts +0 -45
- package/node_modules/@types/react/jsx-runtime.d.ts +0 -36
- package/node_modules/@types/react/package.json +0 -210
- package/node_modules/@types/react/ts5.0/canary.d.ts +0 -157
- package/node_modules/@types/react/ts5.0/experimental.d.ts +0 -127
- package/node_modules/@types/react/ts5.0/global.d.ts +0 -160
- package/node_modules/@types/react/ts5.0/index.d.ts +0 -4524
- package/node_modules/@types/react/ts5.0/jsx-dev-runtime.d.ts +0 -44
- package/node_modules/@types/react/ts5.0/jsx-runtime.d.ts +0 -35
- package/node_modules/@types/react-dom/LICENSE +0 -21
- package/node_modules/@types/react-dom/README.md +0 -16
- package/node_modules/@types/react-dom/canary.d.ts +0 -185
- package/node_modules/@types/react-dom/client.d.ts +0 -72
- package/node_modules/@types/react-dom/experimental.d.ts +0 -36
- package/node_modules/@types/react-dom/index.d.ts +0 -150
- package/node_modules/@types/react-dom/package.json +0 -88
- package/node_modules/@types/react-dom/server.d.ts +0 -131
- package/node_modules/@types/react-dom/test-utils/index.d.ts +0 -402
- package/node_modules/@vitest/ui/LICENSE +0 -21
- package/node_modules/@vitest/ui/README.md +0 -21
- package/node_modules/@vitest/ui/dist/client/assets/index-9agQl9q3.js +0 -35
- package/node_modules/@vitest/ui/dist/client/assets/index-fUmMsp0O.css +0 -1
- package/node_modules/@vitest/ui/dist/client/bg.png +0 -0
- package/node_modules/@vitest/ui/dist/client/favicon.svg +0 -5
- package/node_modules/@vitest/ui/dist/client/index.html +0 -26
- package/node_modules/@vitest/ui/dist/index.d.ts +0 -6
- package/node_modules/@vitest/ui/dist/index.js +0 -70
- package/node_modules/@vitest/ui/dist/reporter.js +0 -109
- package/node_modules/@vitest/ui/package.json +0 -89
- package/node_modules/@vitest/ui/reporter.d.ts +0 -4
- package/node_modules/@vitest/ui/shim.d.ts +0 -3
- package/pnpm-lock.yaml +0 -6986
- package/resources/tictoccroc/icons/colorLine/calendar-color-line.svg +0 -4
- package/resources/tictoccroc/icons/colorLine/capacity-color-line.svg +0 -6
- package/resources/tictoccroc/icons/colorLine/goods-color-line.svg +0 -4
- package/resources/tictoccroc/icons/colorLine/index.ts +0 -5
- package/resources/tictoccroc/icons/colorLine/kids-color-line.svg +0 -5
- package/resources/tictoccroc/icons/colorLine/time-color-line.svg +0 -4
- package/resources/tictoccroc/icons/emoji/average-plane-emoji.svg +0 -13
- package/resources/tictoccroc/icons/emoji/excellent-plane-emoji.svg +0 -13
- package/resources/tictoccroc/icons/emoji/good-plane-emoji.svg +0 -13
- package/resources/tictoccroc/icons/emoji/index.ts +0 -3
- package/resources/tictoccroc/icons/etc/cash-etc.svg +0 -5
- package/resources/tictoccroc/icons/etc/check-etc.svg +0 -4
- package/resources/tictoccroc/icons/etc/coupon-etc.svg +0 -16
- package/resources/tictoccroc/icons/etc/index.ts +0 -5
- package/resources/tictoccroc/icons/etc/point-etc.svg +0 -5
- package/resources/tictoccroc/icons/etc/unscheduled-etc.svg +0 -19
- package/resources/tictoccroc/icons/fill/alert-fill.svg +0 -3
- package/resources/tictoccroc/icons/fill/apply-fill.svg +0 -3
- package/resources/tictoccroc/icons/fill/arrow-down-fill.svg +0 -3
- package/resources/tictoccroc/icons/fill/arrow-left-fill.svg +0 -3
- package/resources/tictoccroc/icons/fill/arrow-right-fill.svg +0 -3
- package/resources/tictoccroc/icons/fill/arrow-up-fill.svg +0 -3
- package/resources/tictoccroc/icons/fill/chatting-fill.svg +0 -3
- package/resources/tictoccroc/icons/fill/clr-fill.svg +0 -3
- package/resources/tictoccroc/icons/fill/complete-fill.svg +0 -3
- package/resources/tictoccroc/icons/fill/home-fill.svg +0 -3
- package/resources/tictoccroc/icons/fill/index.ts +0 -19
- package/resources/tictoccroc/icons/fill/info-fill.svg +0 -3
- package/resources/tictoccroc/icons/fill/invalid-fill.svg +0 -3
- package/resources/tictoccroc/icons/fill/like-fill.svg +0 -4
- package/resources/tictoccroc/icons/fill/met-fill.svg +0 -3
- package/resources/tictoccroc/icons/fill/ongoing-fill.svg +0 -3
- package/resources/tictoccroc/icons/fill/review-fill.svg +0 -3
- package/resources/tictoccroc/icons/fill/schedule-fill.svg +0 -3
- package/resources/tictoccroc/icons/fill/tooltip-fill.svg +0 -3
- package/resources/tictoccroc/icons/fill/user-fill.svg +0 -4
- package/resources/tictoccroc/icons/index.ts +0 -5
- package/resources/tictoccroc/icons/line/alarm-line.svg +0 -4
- package/resources/tictoccroc/icons/line/align-edit.svg +0 -5
- package/resources/tictoccroc/icons/line/align-line.svg +0 -4
- package/resources/tictoccroc/icons/line/apply-line.svg +0 -7
- package/resources/tictoccroc/icons/line/arrow-back-line.svg +0 -3
- package/resources/tictoccroc/icons/line/arrow-downward-line.svg +0 -3
- package/resources/tictoccroc/icons/line/arrow-forward-line.svg +0 -3
- package/resources/tictoccroc/icons/line/arrow-upward-line.svg +0 -3
- package/resources/tictoccroc/icons/line/attach-line.svg +0 -3
- package/resources/tictoccroc/icons/line/ban-line.svg +0 -3
- package/resources/tictoccroc/icons/line/browser-line.svg +0 -6
- package/resources/tictoccroc/icons/line/calendar-line.svg +0 -3
- package/resources/tictoccroc/icons/line/call-line.svg +0 -3
- package/resources/tictoccroc/icons/line/camera-line.svg +0 -5
- package/resources/tictoccroc/icons/line/card-line.svg +0 -3
- package/resources/tictoccroc/icons/line/cash-line.svg +0 -4
- package/resources/tictoccroc/icons/line/certificate-line.svg +0 -3
- package/resources/tictoccroc/icons/line/chat-line.svg +0 -3
- package/resources/tictoccroc/icons/line/chatting-line.svg +0 -7
- package/resources/tictoccroc/icons/line/check-line.svg +0 -3
- package/resources/tictoccroc/icons/line/chevron-down-line.svg +0 -3
- package/resources/tictoccroc/icons/line/chevron-left-line.svg +0 -3
- package/resources/tictoccroc/icons/line/chevron-right-line.svg +0 -3
- package/resources/tictoccroc/icons/line/chevron-up-line.svg +0 -3
- package/resources/tictoccroc/icons/line/close-line.svg +0 -3
- package/resources/tictoccroc/icons/line/copy-line.svg +0 -3
- package/resources/tictoccroc/icons/line/delete-line.svg +0 -6
- package/resources/tictoccroc/icons/line/download-line.svg +0 -4
- package/resources/tictoccroc/icons/line/eye-invisible-line.svg +0 -7
- package/resources/tictoccroc/icons/line/eye-visible-line.svg +0 -3
- package/resources/tictoccroc/icons/line/filter-line.svg +0 -5
- package/resources/tictoccroc/icons/line/fullview-line.svg +0 -6
- package/resources/tictoccroc/icons/line/goods-line.svg +0 -3
- package/resources/tictoccroc/icons/line/hamburger-line.svg +0 -3
- package/resources/tictoccroc/icons/line/headphone-line.svg +0 -3
- package/resources/tictoccroc/icons/line/home-line.svg +0 -4
- package/resources/tictoccroc/icons/line/img-disable-line.svg +0 -3
- package/resources/tictoccroc/icons/line/img-line.svg +0 -4
- package/resources/tictoccroc/icons/line/index.ts +0 -72
- package/resources/tictoccroc/icons/line/information-line.svg +0 -4
- package/resources/tictoccroc/icons/line/instagram-line.svg +0 -5
- package/resources/tictoccroc/icons/line/insurance-line.svg +0 -4
- package/resources/tictoccroc/icons/line/kids-line.svg +0 -6
- package/resources/tictoccroc/icons/line/like-line.svg +0 -4
- package/resources/tictoccroc/icons/line/link-line.svg +0 -5
- package/resources/tictoccroc/icons/line/location-line.svg +0 -4
- package/resources/tictoccroc/icons/line/match-type-line.svg +0 -4
- package/resources/tictoccroc/icons/line/met-line.svg +0 -4
- package/resources/tictoccroc/icons/line/minus-line.svg +0 -3
- package/resources/tictoccroc/icons/line/mobile-line.svg +0 -4
- package/resources/tictoccroc/icons/line/modify-line.svg +0 -4
- package/resources/tictoccroc/icons/line/money-line.svg +0 -4
- package/resources/tictoccroc/icons/line/more-line.svg +0 -6
- package/resources/tictoccroc/icons/line/parking-line.svg +0 -5
- package/resources/tictoccroc/icons/line/plus-line.svg +0 -3
- package/resources/tictoccroc/icons/line/receipt-line.svg +0 -5
- package/resources/tictoccroc/icons/line/reset-line.svg +0 -3
- package/resources/tictoccroc/icons/line/schedule-line.svg +0 -13
- package/resources/tictoccroc/icons/line/search-line.svg +0 -3
- package/resources/tictoccroc/icons/line/setting-line.svg +0 -4
- package/resources/tictoccroc/icons/line/share-line.svg +0 -5
- package/resources/tictoccroc/icons/line/sms-line.svg +0 -4
- package/resources/tictoccroc/icons/line/sound-line.svg +0 -5
- package/resources/tictoccroc/icons/line/sound-off-line.svg +0 -4
- package/resources/tictoccroc/icons/line/special-line.svg +0 -4
- package/resources/tictoccroc/icons/line/time-line.svg +0 -4
- package/resources/tictoccroc/icons/line/toy-line.svg +0 -3
- package/resources/tictoccroc/icons/line/university-line.svg +0 -3
- package/resources/tictoccroc/icons/line/upload-line.svg +0 -4
- package/resources/tictoccroc/icons/line/user-line.svg +0 -6
- package/resources/tictoccroc/icons/line/video-camera-line.svg +0 -4
- package/resources/tictoccroc/icons/line/warning1-line.svg +0 -5
- package/resources/tictoccroc/icons/line/warning2-line.svg +0 -4
- package/resources/tictoccroc/icons/line/wifi-line.svg +0 -6
- package/stories/Introduction.mdx +0 -113
- package/stories/foundations/tictoccroc-parent.mdx +0 -189
- package/stories/foundations/tictoccroc-teacher.mdx +0 -189
- package/themes/tictoccroc/colors/background.ts +0 -9
- package/themes/tictoccroc/colors/blue.ts +0 -16
- package/themes/tictoccroc/colors/classType.ts +0 -12
- package/themes/tictoccroc/colors/etc.ts +0 -12
- package/themes/tictoccroc/colors/green.ts +0 -16
- package/themes/tictoccroc/colors/grey.ts +0 -18
- package/themes/tictoccroc/colors/index.ts +0 -8
- package/themes/tictoccroc/colors/pink.ts +0 -16
- package/themes/tictoccroc/colors/yellow.ts +0 -16
- package/themes/tictoccroc/index.ts +0 -5
- package/themes/tictoccroc/parentLight.ts +0 -65
- package/themes/tictoccroc/teacherLight.ts +0 -65
- package/themes/tictoccroc/typography/body.ts +0 -76
- package/themes/tictoccroc/typography/caption.ts +0 -111
- package/themes/tictoccroc/typography/display.ts +0 -90
- package/themes/tictoccroc/typography/headline.ts +0 -132
- package/themes/tictoccroc/typography/index.ts +0 -4
- package/tsconfig.json +0 -32
- package/typings/color.ts +0 -37
- package/typings/component.ts +0 -59
- package/typings/index.ts +0 -7
- package/typings/theme/core.ts +0 -72
- package/typings/theme/tictoccroc.ts +0 -29
- package/typings/typography.ts +0 -30
- package/typings/utility.ts +0 -20
- package/utils/convertNumberToCSSValue.ts +0 -12
- package/utils/debounce/debounce.ts +0 -17
- package/utils/getContrastRatio/getContrastRatio.test.ts +0 -19
- package/utils/getContrastRatio/getContrastRatio.ts +0 -12
- package/utils/getContrastingTextColor/getContrastingTextColor.test.ts +0 -27
- package/utils/getContrastingTextColor/getContrastingTextColor.ts +0 -33
- package/utils/getIconLabel/getIconLabel.ts +0 -115
- package/utils/getInterpolation/getInterpolation.ts +0 -16
- package/utils/getPaletteColor/getPaletteColor.test.ts +0 -26
- package/utils/getPaletteColor/getPaletteColor.ts +0 -71
- package/utils/getRelativeLuminance/getRelativeLuminance.test.ts +0 -23
- package/utils/getRelativeLuminance/getRelativeLuminance.ts +0 -7
- package/utils/getSibling/getSibling.ts +0 -27
- package/utils/hexToRgb/hexToRgb.test.ts +0 -28
- package/utils/hexToRgb/hexToRgb.ts +0 -15
- package/vite.config.mts +0 -188
- package/vitest.setup.ts +0 -7
- /package/{dist/Accordion → Accordion}/Accordion.cjs +0 -0
- /package/{dist/Accordion → Accordion}/Accordion.d.ts +0 -0
- /package/{dist/Accordion → Accordion}/Accordion.es.js +0 -0
- /package/{dist/Accordion → Accordion}/Accordion.stories.d.ts +0 -0
- /package/{dist/Accordion → Accordion}/index.cjs +0 -0
- /package/{dist/Accordion → Accordion}/index.d.ts +0 -0
- /package/{dist/Accordion → Accordion}/index.es.js +0 -0
- /package/{dist/Autocomplete → Autocomplete}/Autocomplete.cjs +0 -0
- /package/{dist/Autocomplete → Autocomplete}/Autocomplete.d.ts +0 -0
- /package/{dist/Autocomplete → Autocomplete}/Autocomplete.stories.d.ts +0 -0
- /package/{dist/Autocomplete → Autocomplete}/index.cjs +0 -0
- /package/{dist/Autocomplete → Autocomplete}/index.d.ts +0 -0
- /package/{dist/Autocomplete → Autocomplete}/index.es.js +0 -0
- /package/{dist/Backdrop → Backdrop}/Backdrop.cjs +0 -0
- /package/{dist/Backdrop → Backdrop}/Backdrop.d.ts +0 -0
- /package/{dist/Backdrop → Backdrop}/Backdrop.es.js +0 -0
- /package/{dist/Backdrop → Backdrop}/Backdrop.stories.d.ts +0 -0
- /package/{dist/Backdrop → Backdrop}/index.cjs +0 -0
- /package/{dist/Backdrop → Backdrop}/index.d.ts +0 -0
- /package/{dist/Backdrop → Backdrop}/index.es.js +0 -0
- /package/{dist/Badge → Badge}/Badge.cjs +0 -0
- /package/{dist/Badge → Badge}/Badge.d.ts +0 -0
- /package/{dist/Badge → Badge}/Badge.es.js +0 -0
- /package/{dist/Badge → Badge}/Badge.stories.d.ts +0 -0
- /package/{dist/Badge → Badge}/index.cjs +0 -0
- /package/{dist/Badge → Badge}/index.d.ts +0 -0
- /package/{dist/Badge → Badge}/index.es.js +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheet.cjs +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheet.d.ts +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheet.es.js +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheet.stories.d.ts +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetAction/BottomSheetAction.cjs +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetAction/BottomSheetAction.d.ts +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetAction/BottomSheetAction.es.js +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetAction/index.cjs +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetAction/index.d.ts +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetAction/index.es.js +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetContent/BottomSheetContent.cjs +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetContent/BottomSheetContent.d.ts +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetContent/BottomSheetContent.es.js +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetContent/index.cjs +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetContent/index.d.ts +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetContent/index.es.js +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetText/BottomSheetText.cjs +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetText/BottomSheetText.d.ts +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetText/BottomSheetText.es.js +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetText/index.cjs +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetText/index.d.ts +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetText/index.es.js +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetTitle/BottomSheetTitle.cjs +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetTitle/BottomSheetTitle.d.ts +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetTitle/BottomSheetTitle.es.js +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetTitle/index.cjs +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetTitle/index.d.ts +0 -0
- /package/{dist/BottomSheet → BottomSheet}/BottomSheetTitle/index.es.js +0 -0
- /package/{dist/BottomSheet → BottomSheet}/index.cjs +0 -0
- /package/{dist/BottomSheet → BottomSheet}/index.d.ts +0 -0
- /package/{dist/BottomSheet → BottomSheet}/index.es.js +0 -0
- /package/{dist/Box → Box}/Box.cjs +0 -0
- /package/{dist/Box → Box}/Box.d.ts +0 -0
- /package/{dist/Box → Box}/Box.es.js +0 -0
- /package/{dist/Box → Box}/Box.stories.d.ts +0 -0
- /package/{dist/Box → Box}/index.cjs +0 -0
- /package/{dist/Box → Box}/index.d.ts +0 -0
- /package/{dist/Box → Box}/index.es.js +0 -0
- /package/{dist/Button → Button}/Button.cjs +0 -0
- /package/{dist/Button → Button}/Button.d.ts +0 -0
- /package/{dist/Button → Button}/Button.stories.d.ts +0 -0
- /package/{dist/Button → Button}/index.cjs +0 -0
- /package/{dist/Button → Button}/index.d.ts +0 -0
- /package/{dist/Button → Button}/index.es.js +0 -0
- /package/{dist/Card → Card}/Card.cjs +0 -0
- /package/{dist/Card → Card}/Card.d.ts +0 -0
- /package/{dist/Card → Card}/Card.es.js +0 -0
- /package/{dist/Card → Card}/Card.stories.d.ts +0 -0
- /package/{dist/Card → Card}/index.cjs +0 -0
- /package/{dist/Card → Card}/index.d.ts +0 -0
- /package/{dist/Card → Card}/index.es.js +0 -0
- /package/{dist/ChainPicker → ChainPicker}/ChainPicker.cjs +0 -0
- /package/{dist/ChainPicker → ChainPicker}/ChainPicker.d.ts +0 -0
- /package/{dist/ChainPicker → ChainPicker}/ChainPicker.stories.d.ts +0 -0
- /package/{dist/ChainPicker → ChainPicker}/index.cjs +0 -0
- /package/{dist/ChainPicker → ChainPicker}/index.d.ts +0 -0
- /package/{dist/ChainPicker → ChainPicker}/index.es.js +0 -0
- /package/{dist/Checkbox → Checkbox}/Checkbox.cjs +0 -0
- /package/{dist/Checkbox → Checkbox}/Checkbox.d.ts +0 -0
- /package/{dist/Checkbox → Checkbox}/Checkbox.es.js +0 -0
- /package/{dist/Checkbox → Checkbox}/Checkbox.stories.d.ts +0 -0
- /package/{dist/Checkbox → Checkbox}/index.cjs +0 -0
- /package/{dist/Checkbox → Checkbox}/index.d.ts +0 -0
- /package/{dist/Checkbox → Checkbox}/index.es.js +0 -0
- /package/{dist/Chip → Chip}/Chip.cjs +0 -0
- /package/{dist/Chip → Chip}/Chip.d.ts +0 -0
- /package/{dist/Chip → Chip}/Chip.es.js +0 -0
- /package/{dist/Chip → Chip}/Chip.stories.d.ts +0 -0
- /package/{dist/Chip → Chip}/index.cjs +0 -0
- /package/{dist/Chip → Chip}/index.d.ts +0 -0
- /package/{dist/Chip → Chip}/index.es.js +0 -0
- /package/{dist/CircularProgressIndicator → CircularProgressIndicator}/CircularProgressIndicator.cjs +0 -0
- /package/{dist/CircularProgressIndicator → CircularProgressIndicator}/CircularProgressIndicator.d.ts +0 -0
- /package/{dist/CircularProgressIndicator → CircularProgressIndicator}/CircularProgressIndicator.es.js +0 -0
- /package/{dist/CircularProgressIndicator → CircularProgressIndicator}/CircularProgressIndicator.stories.d.ts +0 -0
- /package/{dist/CircularProgressIndicator → CircularProgressIndicator}/index.cjs +0 -0
- /package/{dist/CircularProgressIndicator → CircularProgressIndicator}/index.d.ts +0 -0
- /package/{dist/CircularProgressIndicator → CircularProgressIndicator}/index.es.js +0 -0
- /package/{dist/ClickAwayListener → ClickAwayListener}/ClickAwayListener.cjs +0 -0
- /package/{dist/ClickAwayListener → ClickAwayListener}/ClickAwayListener.d.ts +0 -0
- /package/{dist/ClickAwayListener → ClickAwayListener}/ClickAwayListener.es.js +0 -0
- /package/{dist/ClickAwayListener → ClickAwayListener}/index.cjs +0 -0
- /package/{dist/ClickAwayListener → ClickAwayListener}/index.d.ts +0 -0
- /package/{dist/ClickAwayListener → ClickAwayListener}/index.es.js +0 -0
- /package/{dist/DatePicker → DatePicker}/DatePicker.cjs +0 -0
- /package/{dist/DatePicker → DatePicker}/DatePicker.d.ts +0 -0
- /package/{dist/DatePicker → DatePicker}/DatePicker.stories.d.ts +0 -0
- /package/{dist/DatePicker → DatePicker}/index.cjs +0 -0
- /package/{dist/DatePicker → DatePicker}/index.d.ts +0 -0
- /package/{dist/DatePicker → DatePicker}/index.es.js +0 -0
- /package/{dist/Dialog → Dialog}/Dialog.cjs +0 -0
- /package/{dist/Dialog → Dialog}/Dialog.d.ts +0 -0
- /package/{dist/Dialog → Dialog}/Dialog.es.js +0 -0
- /package/{dist/Dialog → Dialog}/Dialog.stories.d.ts +0 -0
- /package/{dist/Dialog → Dialog}/DialogAction/DialogAction.cjs +0 -0
- /package/{dist/Dialog → Dialog}/DialogAction/DialogAction.d.ts +0 -0
- /package/{dist/Dialog → Dialog}/DialogAction/DialogAction.es.js +0 -0
- /package/{dist/Dialog → Dialog}/DialogAction/index.cjs +0 -0
- /package/{dist/Dialog → Dialog}/DialogAction/index.d.ts +0 -0
- /package/{dist/Dialog → Dialog}/DialogAction/index.es.js +0 -0
- /package/{dist/Dialog → Dialog}/DialogContent/DialogContent.cjs +0 -0
- /package/{dist/Dialog → Dialog}/DialogContent/DialogContent.d.ts +0 -0
- /package/{dist/Dialog → Dialog}/DialogContent/DialogContent.es.js +0 -0
- /package/{dist/Dialog → Dialog}/DialogContent/index.cjs +0 -0
- /package/{dist/Dialog → Dialog}/DialogContent/index.d.ts +0 -0
- /package/{dist/Dialog → Dialog}/DialogContent/index.es.js +0 -0
- /package/{dist/Dialog → Dialog}/DialogText/DialogText.cjs +0 -0
- /package/{dist/Dialog → Dialog}/DialogText/DialogText.d.ts +0 -0
- /package/{dist/Dialog → Dialog}/DialogText/DialogText.es.js +0 -0
- /package/{dist/Dialog → Dialog}/DialogText/index.cjs +0 -0
- /package/{dist/Dialog → Dialog}/DialogText/index.d.ts +0 -0
- /package/{dist/Dialog → Dialog}/DialogText/index.es.js +0 -0
- /package/{dist/Dialog → Dialog}/DialogTitle/DialogTitle.cjs +0 -0
- /package/{dist/Dialog → Dialog}/DialogTitle/DialogTitle.d.ts +0 -0
- /package/{dist/Dialog → Dialog}/DialogTitle/DialogTitle.es.js +0 -0
- /package/{dist/Dialog → Dialog}/DialogTitle/index.cjs +0 -0
- /package/{dist/Dialog → Dialog}/DialogTitle/index.d.ts +0 -0
- /package/{dist/Dialog → Dialog}/DialogTitle/index.es.js +0 -0
- /package/{dist/Dialog → Dialog}/index.cjs +0 -0
- /package/{dist/Dialog → Dialog}/index.d.ts +0 -0
- /package/{dist/Dialog → Dialog}/index.es.js +0 -0
- /package/{dist/Flexbox → Flexbox}/Flexbox.cjs +0 -0
- /package/{dist/Flexbox → Flexbox}/Flexbox.d.ts +0 -0
- /package/{dist/Flexbox → Flexbox}/Flexbox.es.js +0 -0
- /package/{dist/Flexbox → Flexbox}/Flexbox.stories.d.ts +0 -0
- /package/{dist/Flexbox → Flexbox}/index.cjs +0 -0
- /package/{dist/Flexbox → Flexbox}/index.d.ts +0 -0
- /package/{dist/Flexbox → Flexbox}/index.es.js +0 -0
- /package/{dist/FocusBoundary → FocusBoundary}/FocusBoundary.cjs +0 -0
- /package/{dist/FocusBoundary → FocusBoundary}/FocusBoundary.d.ts +0 -0
- /package/{dist/FocusBoundary → FocusBoundary}/FocusBoundary.es.js +0 -0
- /package/{dist/FocusBoundary → FocusBoundary}/index.cjs +0 -0
- /package/{dist/FocusBoundary → FocusBoundary}/index.d.ts +0 -0
- /package/{dist/FocusBoundary → FocusBoundary}/index.es.js +0 -0
- /package/{dist/FormControlText → FormControlText}/FormControlText.cjs +0 -0
- /package/{dist/FormControlText → FormControlText}/FormControlText.d.ts +0 -0
- /package/{dist/FormControlText → FormControlText}/FormControlText.es.js +0 -0
- /package/{dist/FormControlText → FormControlText}/FormControlText.stories.d.ts +0 -0
- /package/{dist/FormControlText → FormControlText}/index.cjs +0 -0
- /package/{dist/FormControlText → FormControlText}/index.d.ts +0 -0
- /package/{dist/FormControlText → FormControlText}/index.es.js +0 -0
- /package/{dist/Icon → Icon}/Icon.cjs +0 -0
- /package/{dist/Icon → Icon}/Icon.d.ts +0 -0
- /package/{dist/Icon → Icon}/Icon.es.js +0 -0
- /package/{dist/Icon → Icon}/Icon.stories.d.ts +0 -0
- /package/{dist/Icon → Icon}/index.cjs +0 -0
- /package/{dist/Icon → Icon}/index.d.ts +0 -0
- /package/{dist/Icon → Icon}/index.es.js +0 -0
- /package/{dist/IconButton → IconButton}/IconButton.cjs +0 -0
- /package/{dist/IconButton → IconButton}/IconButton.d.ts +0 -0
- /package/{dist/IconButton → IconButton}/IconButton.es.js +0 -0
- /package/{dist/IconButton → IconButton}/IconButton.stories.d.ts +0 -0
- /package/{dist/IconButton → IconButton}/index.cjs +0 -0
- /package/{dist/IconButton → IconButton}/index.d.ts +0 -0
- /package/{dist/IconButton → IconButton}/index.es.js +0 -0
- /package/{dist/Label → Label}/Label.cjs +0 -0
- /package/{dist/Label → Label}/Label.d.ts +0 -0
- /package/{dist/Label → Label}/Label.es.js +0 -0
- /package/{dist/Label → Label}/Label.stories.d.ts +0 -0
- /package/{dist/Label → Label}/index.cjs +0 -0
- /package/{dist/Label → Label}/index.d.ts +0 -0
- /package/{dist/Label → Label}/index.es.js +0 -0
- /package/{dist/LineProgressIndicator → LineProgressIndicator}/LineProgressIndicator.cjs +0 -0
- /package/{dist/LineProgressIndicator → LineProgressIndicator}/LineProgressIndicator.d.ts +0 -0
- /package/{dist/LineProgressIndicator → LineProgressIndicator}/LineProgressIndicator.es.js +0 -0
- /package/{dist/LineProgressIndicator → LineProgressIndicator}/LineProgressIndicator.stories.d.ts +0 -0
- /package/{dist/LineProgressIndicator → LineProgressIndicator}/index.cjs +0 -0
- /package/{dist/LineProgressIndicator → LineProgressIndicator}/index.d.ts +0 -0
- /package/{dist/LineProgressIndicator → LineProgressIndicator}/index.es.js +0 -0
- /package/{dist/Menu → Menu}/Menu.cjs +0 -0
- /package/{dist/Menu → Menu}/Menu.d.ts +0 -0
- /package/{dist/Menu → Menu}/Menu.es.js +0 -0
- /package/{dist/Menu → Menu}/Menu.stories.d.ts +0 -0
- /package/{dist/Menu → Menu}/MenuBlock/MenuBlock.cjs +0 -0
- /package/{dist/Menu → Menu}/MenuBlock/MenuBlock.d.ts +0 -0
- /package/{dist/Menu → Menu}/MenuBlock/MenuBlock.es.js +0 -0
- /package/{dist/Menu → Menu}/MenuBlock/index.cjs +0 -0
- /package/{dist/Menu → Menu}/MenuBlock/index.d.ts +0 -0
- /package/{dist/Menu → Menu}/MenuBlock/index.es.js +0 -0
- /package/{dist/Menu → Menu}/index.cjs +0 -0
- /package/{dist/Menu → Menu}/index.d.ts +0 -0
- /package/{dist/Menu → Menu}/index.es.js +0 -0
- /package/{dist/NumberKeypad → NumberKeypad}/NumberKeypad.cjs +0 -0
- /package/{dist/NumberKeypad → NumberKeypad}/NumberKeypad.d.ts +0 -0
- /package/{dist/NumberKeypad → NumberKeypad}/NumberKeypad.es.js +0 -0
- /package/{dist/NumberKeypad → NumberKeypad}/NumberKeypad.stories.d.ts +0 -0
- /package/{dist/NumberKeypad → NumberKeypad}/NumberKeypadBlock/NumberKeypadBlock.cjs +0 -0
- /package/{dist/NumberKeypad → NumberKeypad}/NumberKeypadBlock/NumberKeypadBlock.d.ts +0 -0
- /package/{dist/NumberKeypad → NumberKeypad}/NumberKeypadBlock/NumberKeypadBlock.es.js +0 -0
- /package/{dist/NumberKeypad → NumberKeypad}/NumberKeypadBlock/index.cjs +0 -0
- /package/{dist/NumberKeypad → NumberKeypad}/NumberKeypadBlock/index.d.ts +0 -0
- /package/{dist/NumberKeypad → NumberKeypad}/NumberKeypadBlock/index.es.js +0 -0
- /package/{dist/NumberKeypad → NumberKeypad}/index.cjs +0 -0
- /package/{dist/NumberKeypad → NumberKeypad}/index.d.ts +0 -0
- /package/{dist/NumberKeypad → NumberKeypad}/index.es.js +0 -0
- /package/{dist/PageControl → PageControl}/PageControl.cjs +0 -0
- /package/{dist/PageControl → PageControl}/PageControl.d.ts +0 -0
- /package/{dist/PageControl → PageControl}/PageControl.es.js +0 -0
- /package/{dist/PageControl → PageControl}/PageControl.stories.d.ts +0 -0
- /package/{dist/PageControl → PageControl}/index.cjs +0 -0
- /package/{dist/PageControl → PageControl}/index.d.ts +0 -0
- /package/{dist/PageControl → PageControl}/index.es.js +0 -0
- /package/{dist/Radio → Radio}/Radio.cjs +0 -0
- /package/{dist/Radio → Radio}/Radio.d.ts +0 -0
- /package/{dist/Radio → Radio}/Radio.es.js +0 -0
- /package/{dist/Radio → Radio}/Radio.stories.d.ts +0 -0
- /package/{dist/Radio → Radio}/index.cjs +0 -0
- /package/{dist/Radio → Radio}/index.d.ts +0 -0
- /package/{dist/Radio → Radio}/index.es.js +0 -0
- /package/{dist/SegmentedButton → SegmentedButton}/SegmentedButton.cjs +0 -0
- /package/{dist/SegmentedButton → SegmentedButton}/SegmentedButton.d.ts +0 -0
- /package/{dist/SegmentedButton → SegmentedButton}/SegmentedButton.es.js +0 -0
- /package/{dist/SegmentedButton → SegmentedButton}/SegmentedButton.stories.d.ts +0 -0
- /package/{dist/SegmentedButton → SegmentedButton}/SegmentedButtonBlock/SegmentedButtonBlock.cjs +0 -0
- /package/{dist/SegmentedButton → SegmentedButton}/SegmentedButtonBlock/SegmentedButtonBlock.d.ts +0 -0
- /package/{dist/SegmentedButton → SegmentedButton}/SegmentedButtonBlock/SegmentedButtonBlock.es.js +0 -0
- /package/{dist/SegmentedButton → SegmentedButton}/SegmentedButtonBlock/index.cjs +0 -0
- /package/{dist/SegmentedButton → SegmentedButton}/SegmentedButtonBlock/index.d.ts +0 -0
- /package/{dist/SegmentedButton → SegmentedButton}/SegmentedButtonBlock/index.es.js +0 -0
- /package/{dist/SegmentedButton → SegmentedButton}/index.cjs +0 -0
- /package/{dist/SegmentedButton → SegmentedButton}/index.d.ts +0 -0
- /package/{dist/SegmentedButton → SegmentedButton}/index.es.js +0 -0
- /package/{dist/Select → Select}/Option/Option.cjs +0 -0
- /package/{dist/Select → Select}/Option/Option.d.ts +0 -0
- /package/{dist/Select → Select}/Option/Option.es.js +0 -0
- /package/{dist/Select → Select}/Option/index.cjs +0 -0
- /package/{dist/Select → Select}/Option/index.d.ts +0 -0
- /package/{dist/Select → Select}/Option/index.es.js +0 -0
- /package/{dist/Select → Select}/Select.cjs +0 -0
- /package/{dist/Select → Select}/Select.d.ts +0 -0
- /package/{dist/Select → Select}/Select.stories.d.ts +0 -0
- /package/{dist/Select → Select}/index.cjs +0 -0
- /package/{dist/Select → Select}/index.d.ts +0 -0
- /package/{dist/Select → Select}/index.es.js +0 -0
- /package/{dist/Skeleton → Skeleton}/Skeleton.cjs +0 -0
- /package/{dist/Skeleton → Skeleton}/Skeleton.d.ts +0 -0
- /package/{dist/Skeleton → Skeleton}/Skeleton.es.js +0 -0
- /package/{dist/Skeleton → Skeleton}/Skeleton.stories.d.ts +0 -0
- /package/{dist/Skeleton → Skeleton}/index.cjs +0 -0
- /package/{dist/Skeleton → Skeleton}/index.d.ts +0 -0
- /package/{dist/Skeleton → Skeleton}/index.es.js +0 -0
- /package/{dist/Slider → Slider}/Slider.cjs +0 -0
- /package/{dist/Slider → Slider}/Slider.d.ts +0 -0
- /package/{dist/Slider → Slider}/Slider.stories.d.ts +0 -0
- /package/{dist/Slider → Slider}/index.cjs +0 -0
- /package/{dist/Slider → Slider}/index.d.ts +0 -0
- /package/{dist/Slider → Slider}/index.es.js +0 -0
- /package/{dist/Snackbar → Snackbar}/Snackbar.cjs +0 -0
- /package/{dist/Snackbar → Snackbar}/Snackbar.d.ts +0 -0
- /package/{dist/Snackbar → Snackbar}/Snackbar.es.js +0 -0
- /package/{dist/Snackbar → Snackbar}/Snackbar.stories.d.ts +0 -0
- /package/{dist/Snackbar → Snackbar}/index.cjs +0 -0
- /package/{dist/Snackbar → Snackbar}/index.d.ts +0 -0
- /package/{dist/Snackbar → Snackbar}/index.es.js +0 -0
- /package/{dist/Switch → Switch}/Switch.cjs +0 -0
- /package/{dist/Switch → Switch}/Switch.d.ts +0 -0
- /package/{dist/Switch → Switch}/Switch.es.js +0 -0
- /package/{dist/Switch → Switch}/Switch.stories.d.ts +0 -0
- /package/{dist/Switch → Switch}/index.cjs +0 -0
- /package/{dist/Switch → Switch}/index.d.ts +0 -0
- /package/{dist/Switch → Switch}/index.es.js +0 -0
- /package/{dist/Tab → Tab}/Tab.cjs +0 -0
- /package/{dist/Tab → Tab}/Tab.d.ts +0 -0
- /package/{dist/Tab → Tab}/Tab.stories.d.ts +0 -0
- /package/{dist/Tab → Tab}/TabBlock/TabBlock.cjs +0 -0
- /package/{dist/Tab → Tab}/TabBlock/TabBlock.d.ts +0 -0
- /package/{dist/Tab → Tab}/TabBlock/TabBlock.es.js +0 -0
- /package/{dist/Tab → Tab}/TabBlock/index.cjs +0 -0
- /package/{dist/Tab → Tab}/TabBlock/index.d.ts +0 -0
- /package/{dist/Tab → Tab}/TabBlock/index.es.js +0 -0
- /package/{dist/Tab → Tab}/index.cjs +0 -0
- /package/{dist/Tab → Tab}/index.d.ts +0 -0
- /package/{dist/Tab → Tab}/index.es.js +0 -0
- /package/{dist/TextArea → TextArea}/TextArea.cjs +0 -0
- /package/{dist/TextArea → TextArea}/TextArea.d.ts +0 -0
- /package/{dist/TextArea → TextArea}/TextArea.es.js +0 -0
- /package/{dist/TextArea → TextArea}/TextArea.stories.d.ts +0 -0
- /package/{dist/TextArea → TextArea}/index.cjs +0 -0
- /package/{dist/TextArea → TextArea}/index.d.ts +0 -0
- /package/{dist/TextArea → TextArea}/index.es.js +0 -0
- /package/{dist/TextField → TextField}/TextField.cjs +0 -0
- /package/{dist/TextField → TextField}/TextField.d.ts +0 -0
- /package/{dist/TextField → TextField}/TextField.stories.d.ts +0 -0
- /package/{dist/TextField → TextField}/index.cjs +0 -0
- /package/{dist/TextField → TextField}/index.d.ts +0 -0
- /package/{dist/TextField → TextField}/index.es.js +0 -0
- /package/{dist/Tooltip → Tooltip}/Tooltip.cjs +0 -0
- /package/{dist/Tooltip → Tooltip}/Tooltip.d.ts +0 -0
- /package/{dist/Tooltip → Tooltip}/Tooltip.es.js +0 -0
- /package/{dist/Tooltip → Tooltip}/Tooltip.stories.d.ts +0 -0
- /package/{dist/Tooltip → Tooltip}/index.cjs +0 -0
- /package/{dist/Tooltip → Tooltip}/index.d.ts +0 -0
- /package/{dist/Tooltip → Tooltip}/index.es.js +0 -0
- /package/{dist/Typography → Typography}/Typography.cjs +0 -0
- /package/{dist/Typography → Typography}/Typography.d.ts +0 -0
- /package/{dist/Typography → Typography}/Typography.es.js +0 -0
- /package/{dist/Typography → Typography}/Typography.stories.d.ts +0 -0
- /package/{dist/Typography → Typography}/index.cjs +0 -0
- /package/{dist/Typography → Typography}/index.d.ts +0 -0
- /package/{dist/Typography → Typography}/index.es.js +0 -0
- /package/{dist/core → core}/GlobalStyle.cjs +0 -0
- /package/{dist/core → core}/GlobalStyle.d.ts +0 -0
- /package/{dist/core → core}/GlobalStyle.es.js +0 -0
- /package/{dist/core → core}/ThemeContext.cjs +0 -0
- /package/{dist/core → core}/ThemeContext.d.ts +0 -0
- /package/{dist/core → core}/ThemeContext.es.js +0 -0
- /package/{dist/core → core}/ThemeProvider.cjs +0 -0
- /package/{dist/core → core}/ThemeProvider.d.ts +0 -0
- /package/{dist/core → core}/ThemeProvider.es.js +0 -0
- /package/{dist/core → core}/useTheme.cjs +0 -0
- /package/{dist/core → core}/useTheme.d.ts +0 -0
- /package/{dist/core → core}/useTheme.es.js +0 -0
- /package/{dist/hooks → hooks}/index.cjs +0 -0
- /package/{dist/hooks → hooks}/index.d.ts +0 -0
- /package/{dist/hooks → hooks}/index.es.js +0 -0
- /package/{dist/hooks → hooks}/useCheckHoverPossible/useCheckHoverPossible.cjs +0 -0
- /package/{dist/hooks → hooks}/useCheckHoverPossible/useCheckHoverPossible.d.ts +0 -0
- /package/{dist/hooks → hooks}/useCheckHoverPossible/useCheckHoverPossible.es.js +0 -0
- /package/{dist/index.cjs → index.cjs} +0 -0
- /package/{dist/index.d.ts → index.d.ts} +0 -0
- /package/{dist/index.es.js → index.es.js} +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/colorLine/calendar-color-line.svg-B_vYjqIZ.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/colorLine/calendar-color-line.svg-BtUQ4TKP.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/colorLine/capacity-color-line.svg-BQo3SZhS.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/colorLine/capacity-color-line.svg-oT5B8THh.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/colorLine/goods-color-line.svg-CT8jVC5v.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/colorLine/goods-color-line.svg-Dz9RB5RV.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/colorLine/index.d.ts +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/colorLine/index.ts-Dyvby5gX.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/colorLine/index.ts-l0sNRNKZ.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/colorLine/kids-color-line.svg-BF7M2ymg.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/colorLine/kids-color-line.svg-CZDUwvTf.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/colorLine/time-color-line.svg-K7igWiF7.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/colorLine/time-color-line.svg-lvcsdtRd.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/emoji/average-plane-emoji.svg-1B3oSCfr.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/emoji/average-plane-emoji.svg-Ddpo9mEE.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/emoji/excellent-plane-emoji.svg-Bq_nM8Tm.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/emoji/excellent-plane-emoji.svg-CSFc2vsd.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/emoji/good-plane-emoji.svg-BShQn-co.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/emoji/good-plane-emoji.svg-Bve6hTZH.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/emoji/index.d.ts +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/emoji/index.ts-Dyvby5gX.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/emoji/index.ts-l0sNRNKZ.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/etc/cash-etc.svg-BE9-4t5W.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/etc/cash-etc.svg-CvAOzEdq.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/etc/check-etc.svg-6o7_QHlK.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/etc/check-etc.svg-CeWjWVqv.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/etc/coupon-etc.svg-BYpSMvLr.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/etc/coupon-etc.svg-DB4JIfi8.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/etc/index.d.ts +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/etc/index.ts-Dyvby5gX.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/etc/index.ts-l0sNRNKZ.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/etc/point-etc.svg-CAEUCvfM.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/etc/point-etc.svg-DZ31KNBj.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/etc/unscheduled-etc.svg-C9TZ0hvI.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/etc/unscheduled-etc.svg-D-47KeXg.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/alert-fill.svg-BJrM_goo.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/alert-fill.svg-C8QjfUUX.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/apply-fill.svg-CmRhMN1w.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/apply-fill.svg-DRpGrJGw.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/arrow-down-fill.svg-C30f0N0F.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/arrow-down-fill.svg-VKh4yV7q.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/arrow-left-fill.svg-CdGognG9.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/arrow-left-fill.svg-DVd7uVkk.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/arrow-right-fill.svg-C3fI1iEy.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/arrow-right-fill.svg-CkH6pq8F.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/arrow-up-fill.svg-CEHHUpG_.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/arrow-up-fill.svg-DWbcv7JX.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/chatting-fill.svg-CVjv4Kr7.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/chatting-fill.svg-HaX5-_VL.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/clr-fill.svg-Cn-I8j7d.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/clr-fill.svg-DuLFHwKc.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/complete-fill.svg-DhQki4Tw.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/complete-fill.svg-cERkJmCb.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/home-fill.svg-CxFGWK0L.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/home-fill.svg-D3lzGMV2.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/index.d.ts +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/index.ts-Dyvby5gX.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/index.ts-l0sNRNKZ.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/info-fill.svg-CwgxQGwL.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/info-fill.svg-DkEX99Sy.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/invalid-fill.svg-CJJ-xmGJ.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/invalid-fill.svg-D-87fL2g.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/like-fill.svg-Cx1cz0ZV.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/like-fill.svg-DnL66ApL.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/met-fill.svg-B09QdWd-.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/met-fill.svg-BYSmsKBw.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/ongoing-fill.svg-BWY0Pepo.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/ongoing-fill.svg-D9OuoEPD.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/review-fill.svg-C356jYYw.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/review-fill.svg-Ci8MN4eI.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/schedule-fill.svg-7tGjhrTb.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/schedule-fill.svg-BrKSb-wR.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/tooltip-fill.svg-Csn01XEU.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/tooltip-fill.svg-taAPxbyB.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/user-fill.svg-1AdHldZ7.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/fill/user-fill.svg-C5DT_82L.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/index.d.ts +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/index.ts-CarI_z7q.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/index.ts-IVJAK4qr.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/alarm-line.svg-BRunNxMG.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/alarm-line.svg-B_fgmSUh.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/align-edit.svg-BpBWlArj.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/align-edit.svg-CheFH-PQ.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/align-line.svg-CZVeKsXI.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/align-line.svg-DEHi23C3.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/apply-line.svg-CPVSeeXQ.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/apply-line.svg-OFt_RKTM.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/arrow-back-line.svg-6pAPPZFb.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/arrow-back-line.svg-CohS2cJ8.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/arrow-downward-line.svg-BGmQO-HH.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/arrow-downward-line.svg-U4yGkiO6.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/arrow-forward-line.svg-CXsiELrZ.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/arrow-forward-line.svg-i2PyDbcS.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/arrow-upward-line.svg-D38aA0Uw.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/arrow-upward-line.svg-UfpZFid8.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/attach-line.svg-BhuonxHd.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/attach-line.svg-SIRIt0qo.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/ban-line.svg-D9JlR8gb.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/ban-line.svg-oA3yLqdR.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/browser-line.svg-B7UMwER5.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/browser-line.svg-hDn02ywo.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/calendar-line.svg-BsHcmpqT.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/calendar-line.svg-CwmRMqQV.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/call-line.svg-B2jT8BCB.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/call-line.svg-CVbza-nx.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/camera-line.svg-BuDRmRYc.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/camera-line.svg-BvUSwmSN.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/card-line.svg-BwluOZMy.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/card-line.svg-Dh3x2e7j.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/cash-line.svg-DMDHHJrt.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/cash-line.svg-_QlaTlXM.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/certificate-line.svg-BjOsTl11.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/certificate-line.svg-BoPUjufG.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/chat-line.svg-CmY7En0-.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/chat-line.svg-Dhe-5vHA.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/chatting-line.svg-CdN684WI.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/chatting-line.svg-DFq1Xeov.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/check-line.svg-BmxqZytH.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/check-line.svg-CKsagFl6.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/chevron-down-line.svg-BTq4vzeg.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/chevron-down-line.svg-BYCd5Luv.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/chevron-left-line.svg-DSET8qrk.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/chevron-left-line.svg-aZUXpJ9q.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/chevron-right-line.svg-C6wr7pgK.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/chevron-right-line.svg-Dm2YWA1K.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/chevron-up-line.svg-C8Sj7hTQ.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/chevron-up-line.svg-D9ekQ02i.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/close-line.svg-BzpCbaoG.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/close-line.svg-CSVwgqiB.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/copy-line.svg-CLdLNk9r.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/copy-line.svg-DA-07Z90.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/delete-line.svg-DQg7TEYw.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/delete-line.svg-DyddYBjS.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/download-line.svg-BKfz-6Mz.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/download-line.svg-DvinNPah.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/eye-invisible-line.svg-BuZicmwG.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/eye-invisible-line.svg-C_XjeDHE.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/eye-visible-line.svg-D3netPU8.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/eye-visible-line.svg-XpDOJPr0.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/filter-line.svg-Dbe7jw9Q.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/filter-line.svg-J5XFEh1F.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/fullview-line.svg-3aeWiJNf.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/fullview-line.svg-n_xxoG0C.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/goods-line.svg-BDAb5Snx.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/goods-line.svg-BYSmk4Lo.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/hamburger-line.svg-CMG7FGB3.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/hamburger-line.svg-CZAv5Wt4.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/headphone-line.svg-Buq82k6m.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/headphone-line.svg-Cy-z1uje.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/home-line.svg-BqHMy_15.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/home-line.svg-DO90M2q7.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/img-disable-line.svg-Bzvgi8Uu.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/img-disable-line.svg-DtD7dgZQ.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/img-line.svg-CPHQ1Cur.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/img-line.svg-runB4pj4.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/index.d.ts +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/index.ts-Dyvby5gX.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/index.ts-l0sNRNKZ.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/information-line.svg-C1HeihVj.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/information-line.svg-fQYLBjcn.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/instagram-line.svg-9QADilvw.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/instagram-line.svg-BiBj4li4.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/insurance-line.svg-C-jGCuZ0.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/insurance-line.svg-XgpoFsM2.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/kids-line.svg-BZjs2lbf.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/kids-line.svg-Hhqmv7us.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/like-line.svg-B09ewWGN.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/like-line.svg-WcxnZwNP.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/link-line.svg-BQlngNks.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/link-line.svg-DyTzcfH-.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/location-line.svg-BYTa6SR_.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/location-line.svg-EQvkDzcG.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/match-type-line.svg-CGS2gQZB.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/match-type-line.svg-DGpCvcRV.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/met-line.svg-CiYvySY5.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/met-line.svg-CuTfmBGY.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/minus-line.svg-BFTYxAEx.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/minus-line.svg-Cd4pUSxn.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/mobile-line.svg-B3REkeOs.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/mobile-line.svg-CcR_mhy0.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/modify-line.svg-Dtw-aJJL.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/modify-line.svg-y24Tpez8.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/more-line.svg-DkHQ1aCu.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/more-line.svg-fOrqycnA.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/parking-line.svg-BYdvScSf.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/parking-line.svg-C69hhyJp.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/plus-line.svg-CGLFrOvH.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/plus-line.svg-DYFu3bQb.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/receipt-line.svg-BpDVEXs_.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/receipt-line.svg-Db2ey7Vk.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/reset-line.svg-CYyXv2Ii.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/reset-line.svg-VXhJXGw4.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/schedule-line.svg-C4rlD6fX.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/schedule-line.svg-CBOfzdyP.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/search-line.svg-ChK1nMkg.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/search-line.svg-CyECq3s4.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/setting-line.svg-B5KTXMkf.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/setting-line.svg-KZcCRQnu.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/share-line.svg-BuvAb_mR.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/share-line.svg-YIeAM7qG.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/sms-line.svg-CfS4BH8b.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/sms-line.svg-mkRJRb3t.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/sound-line.svg-CmfcTDgu.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/sound-line.svg-DDrcGkDm.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/sound-off-line.svg-BpovzQS7.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/sound-off-line.svg-CyLPPUCN.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/special-line.svg-BIbaMWsd.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/special-line.svg-DmNM79L9.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/time-line.svg-BuB2NlRB.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/time-line.svg-DXBDjsih.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/toy-line.svg-DyArYgu3.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/toy-line.svg-vUxUn7S0.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/university-line.svg-BEdQwFB6.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/university-line.svg-D2T-TUW5.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/upload-line.svg-CDbJ-I5E.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/upload-line.svg-CKFtr3Jx.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/user-line.svg-CNcTTUmF.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/user-line.svg-Du2rRzus.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/video-camera-line.svg-C2Y4ssOf.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/video-camera-line.svg-iZ3dICcd.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/warning1-line.svg-Bhi7ngGw.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/warning1-line.svg-DsmZxbsf.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/warning2-line.svg-DTvtKOYN.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/warning2-line.svg-Kf0io8lf.cjs +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/wifi-line.svg-BtsQLwZl.js +0 -0
- /package/{dist/resources → resources}/tictoccroc/icons/line/wifi-line.svg-DGCMJ5Oi.cjs +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/background.cjs +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/background.d.ts +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/background.es.js +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/blue.cjs +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/blue.d.ts +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/blue.es.js +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/classType.cjs +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/classType.d.ts +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/classType.es.js +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/etc.cjs +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/etc.d.ts +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/etc.es.js +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/green.cjs +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/green.d.ts +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/green.es.js +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/grey.cjs +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/grey.d.ts +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/grey.es.js +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/index.cjs +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/index.d.ts +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/index.es.js +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/pink.cjs +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/pink.d.ts +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/pink.es.js +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/yellow.cjs +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/yellow.d.ts +0 -0
- /package/{dist/themes → themes}/tictoccroc/colors/yellow.es.js +0 -0
- /package/{dist/themes → themes}/tictoccroc/index.cjs +0 -0
- /package/{dist/themes → themes}/tictoccroc/index.d.ts +0 -0
- /package/{dist/themes → themes}/tictoccroc/index.es.js +0 -0
- /package/{dist/themes → themes}/tictoccroc/parentLight.cjs +0 -0
- /package/{dist/themes → themes}/tictoccroc/parentLight.d.ts +0 -0
- /package/{dist/themes → themes}/tictoccroc/parentLight.es.js +0 -0
- /package/{dist/themes → themes}/tictoccroc/teacherLight.cjs +0 -0
- /package/{dist/themes → themes}/tictoccroc/teacherLight.d.ts +0 -0
- /package/{dist/themes → themes}/tictoccroc/teacherLight.es.js +0 -0
- /package/{dist/themes → themes}/tictoccroc/typography/body.cjs +0 -0
- /package/{dist/themes → themes}/tictoccroc/typography/body.d.ts +0 -0
- /package/{dist/themes → themes}/tictoccroc/typography/body.es.js +0 -0
- /package/{dist/themes → themes}/tictoccroc/typography/caption.cjs +0 -0
- /package/{dist/themes → themes}/tictoccroc/typography/caption.d.ts +0 -0
- /package/{dist/themes → themes}/tictoccroc/typography/caption.es.js +0 -0
- /package/{dist/themes → themes}/tictoccroc/typography/display.cjs +0 -0
- /package/{dist/themes → themes}/tictoccroc/typography/display.d.ts +0 -0
- /package/{dist/themes → themes}/tictoccroc/typography/display.es.js +0 -0
- /package/{dist/themes → themes}/tictoccroc/typography/headline.cjs +0 -0
- /package/{dist/themes → themes}/tictoccroc/typography/headline.d.ts +0 -0
- /package/{dist/themes → themes}/tictoccroc/typography/headline.es.js +0 -0
- /package/{dist/themes → themes}/tictoccroc/typography/index.cjs +0 -0
- /package/{dist/themes → themes}/tictoccroc/typography/index.d.ts +0 -0
- /package/{dist/themes → themes}/tictoccroc/typography/index.es.js +0 -0
- /package/{dist/typings → typings}/color.d.ts +0 -0
- /package/{dist/typings → typings}/component.d.ts +0 -0
- /package/{dist/typings → typings}/index.d.ts +0 -0
- /package/{dist/typings → typings}/theme/core.d.ts +0 -0
- /package/{dist/typings → typings}/theme/tictoccroc.d.ts +0 -0
- /package/{dist/typings → typings}/typography.d.ts +0 -0
- /package/{dist/typings → typings}/utility.d.ts +0 -0
- /package/{dist/utils → utils}/convertNumberToCSSValue.cjs +0 -0
- /package/{dist/utils → utils}/convertNumberToCSSValue.d.ts +0 -0
- /package/{dist/utils → utils}/convertNumberToCSSValue.es.js +0 -0
- /package/{dist/utils → utils}/debounce/debounce.cjs +0 -0
- /package/{dist/utils → utils}/debounce/debounce.d.ts +0 -0
- /package/{dist/utils → utils}/debounce/debounce.es.js +0 -0
- /package/{dist/utils → utils}/getContrastRatio/getContrastRatio.cjs +0 -0
- /package/{dist/utils → utils}/getContrastRatio/getContrastRatio.d.ts +0 -0
- /package/{dist/utils → utils}/getContrastRatio/getContrastRatio.es.js +0 -0
- /package/{dist/utils → utils}/getContrastRatio/getContrastRatio.test.d.ts +0 -0
- /package/{dist/utils → utils}/getContrastingTextColor/getContrastingTextColor.cjs +0 -0
- /package/{dist/utils → utils}/getContrastingTextColor/getContrastingTextColor.d.ts +0 -0
- /package/{dist/utils → utils}/getContrastingTextColor/getContrastingTextColor.es.js +0 -0
- /package/{dist/utils → utils}/getContrastingTextColor/getContrastingTextColor.test.d.ts +0 -0
- /package/{dist/utils → utils}/getIconLabel/getIconLabel.cjs +0 -0
- /package/{dist/utils → utils}/getIconLabel/getIconLabel.d.ts +0 -0
- /package/{dist/utils → utils}/getIconLabel/getIconLabel.es.js +0 -0
- /package/{dist/utils → utils}/getInterpolation/getInterpolation.cjs +0 -0
- /package/{dist/utils → utils}/getInterpolation/getInterpolation.d.ts +0 -0
- /package/{dist/utils → utils}/getInterpolation/getInterpolation.es.js +0 -0
- /package/{dist/utils → utils}/getPaletteColor/getPaletteColor.cjs +0 -0
- /package/{dist/utils → utils}/getPaletteColor/getPaletteColor.d.ts +0 -0
- /package/{dist/utils → utils}/getPaletteColor/getPaletteColor.es.js +0 -0
- /package/{dist/utils → utils}/getPaletteColor/getPaletteColor.test.d.ts +0 -0
- /package/{dist/utils → utils}/getRelativeLuminance/getRelativeLuminance.cjs +0 -0
- /package/{dist/utils → utils}/getRelativeLuminance/getRelativeLuminance.d.ts +0 -0
- /package/{dist/utils → utils}/getRelativeLuminance/getRelativeLuminance.es.js +0 -0
- /package/{dist/utils → utils}/getRelativeLuminance/getRelativeLuminance.test.d.ts +0 -0
- /package/{dist/utils → utils}/getSibling/getSibling.cjs +0 -0
- /package/{dist/utils → utils}/getSibling/getSibling.d.ts +0 -0
- /package/{dist/utils → utils}/hexToRgb/hexToRgb.cjs +0 -0
- /package/{dist/utils → utils}/hexToRgb/hexToRgb.d.ts +0 -0
- /package/{dist/utils → utils}/hexToRgb/hexToRgb.es.js +0 -0
- /package/{dist/utils → utils}/hexToRgb/hexToRgb.test.d.ts +0 -0
|
@@ -1,1914 +0,0 @@
|
|
|
1
|
-
import redent from 'redent';
|
|
2
|
-
import { parse } from '@adobe/css-tools';
|
|
3
|
-
import { computeAccessibleDescription, computeAccessibleName } from 'dom-accessibility-api';
|
|
4
|
-
import { elementRoles, roles } from 'aria-query';
|
|
5
|
-
import chalk from 'chalk';
|
|
6
|
-
import isEqualWith from 'lodash/isEqualWith.js';
|
|
7
|
-
import escape from 'css.escape';
|
|
8
|
-
|
|
9
|
-
class GenericTypeError extends Error {
|
|
10
|
-
constructor(expectedString, received, matcherFn, context) {
|
|
11
|
-
super();
|
|
12
|
-
|
|
13
|
-
/* istanbul ignore next */
|
|
14
|
-
if (Error.captureStackTrace) {
|
|
15
|
-
Error.captureStackTrace(this, matcherFn);
|
|
16
|
-
}
|
|
17
|
-
let withType = '';
|
|
18
|
-
try {
|
|
19
|
-
withType = context.utils.printWithType(
|
|
20
|
-
'Received',
|
|
21
|
-
received,
|
|
22
|
-
context.utils.printReceived,
|
|
23
|
-
);
|
|
24
|
-
} catch (e) {
|
|
25
|
-
// Can throw for Document:
|
|
26
|
-
// https://github.com/jsdom/jsdom/issues/2304
|
|
27
|
-
}
|
|
28
|
-
this.message = [
|
|
29
|
-
context.utils.matcherHint(
|
|
30
|
-
`${context.isNot ? '.not' : ''}.${matcherFn.name}`,
|
|
31
|
-
'received',
|
|
32
|
-
'',
|
|
33
|
-
),
|
|
34
|
-
'',
|
|
35
|
-
// eslint-disable-next-line new-cap
|
|
36
|
-
`${context.utils.RECEIVED_COLOR(
|
|
37
|
-
'received',
|
|
38
|
-
)} value must ${expectedString}.`,
|
|
39
|
-
withType,
|
|
40
|
-
].join('\n');
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
class HtmlElementTypeError extends GenericTypeError {
|
|
45
|
-
constructor(...args) {
|
|
46
|
-
super('be an HTMLElement or an SVGElement', ...args);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
class NodeTypeError extends GenericTypeError {
|
|
51
|
-
constructor(...args) {
|
|
52
|
-
super('be a Node', ...args);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
function checkHasWindow(htmlElement, ErrorClass, ...args) {
|
|
57
|
-
if (
|
|
58
|
-
!htmlElement ||
|
|
59
|
-
!htmlElement.ownerDocument ||
|
|
60
|
-
!htmlElement.ownerDocument.defaultView
|
|
61
|
-
) {
|
|
62
|
-
throw new ErrorClass(htmlElement, ...args)
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
function checkNode(node, ...args) {
|
|
67
|
-
checkHasWindow(node, NodeTypeError, ...args);
|
|
68
|
-
const window = node.ownerDocument.defaultView;
|
|
69
|
-
|
|
70
|
-
if (!(node instanceof window.Node)) {
|
|
71
|
-
throw new NodeTypeError(node, ...args)
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
function checkHtmlElement(htmlElement, ...args) {
|
|
76
|
-
checkHasWindow(htmlElement, HtmlElementTypeError, ...args);
|
|
77
|
-
const window = htmlElement.ownerDocument.defaultView;
|
|
78
|
-
|
|
79
|
-
if (
|
|
80
|
-
!(htmlElement instanceof window.HTMLElement) &&
|
|
81
|
-
!(htmlElement instanceof window.SVGElement)
|
|
82
|
-
) {
|
|
83
|
-
throw new HtmlElementTypeError(htmlElement, ...args)
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
class InvalidCSSError extends Error {
|
|
88
|
-
constructor(received, matcherFn, context) {
|
|
89
|
-
super();
|
|
90
|
-
|
|
91
|
-
/* istanbul ignore next */
|
|
92
|
-
if (Error.captureStackTrace) {
|
|
93
|
-
Error.captureStackTrace(this, matcherFn);
|
|
94
|
-
}
|
|
95
|
-
this.message = [
|
|
96
|
-
received.message,
|
|
97
|
-
'',
|
|
98
|
-
// eslint-disable-next-line new-cap
|
|
99
|
-
context.utils.RECEIVED_COLOR(`Failing css:`),
|
|
100
|
-
// eslint-disable-next-line new-cap
|
|
101
|
-
context.utils.RECEIVED_COLOR(`${received.css}`),
|
|
102
|
-
].join('\n');
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
function parseCSS(css, ...args) {
|
|
107
|
-
const ast = parse(`selector { ${css} }`, {silent: true}).stylesheet;
|
|
108
|
-
|
|
109
|
-
if (ast.parsingErrors && ast.parsingErrors.length > 0) {
|
|
110
|
-
const {reason, line} = ast.parsingErrors[0];
|
|
111
|
-
|
|
112
|
-
throw new InvalidCSSError(
|
|
113
|
-
{
|
|
114
|
-
css,
|
|
115
|
-
message: `Syntax error parsing expected css: ${reason} on line: ${line}`,
|
|
116
|
-
},
|
|
117
|
-
...args,
|
|
118
|
-
)
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
const parsedRules = ast.rules[0].declarations
|
|
122
|
-
.filter(d => d.type === 'declaration')
|
|
123
|
-
.reduce(
|
|
124
|
-
(obj, {property, value}) => Object.assign(obj, {[property]: value}),
|
|
125
|
-
{},
|
|
126
|
-
);
|
|
127
|
-
return parsedRules
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
function display(context, value) {
|
|
131
|
-
return typeof value === 'string' ? value : context.utils.stringify(value)
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
function getMessage(
|
|
135
|
-
context,
|
|
136
|
-
matcher,
|
|
137
|
-
expectedLabel,
|
|
138
|
-
expectedValue,
|
|
139
|
-
receivedLabel,
|
|
140
|
-
receivedValue,
|
|
141
|
-
) {
|
|
142
|
-
return [
|
|
143
|
-
`${matcher}\n`,
|
|
144
|
-
// eslint-disable-next-line new-cap
|
|
145
|
-
`${expectedLabel}:\n${context.utils.EXPECTED_COLOR(
|
|
146
|
-
redent(display(context, expectedValue), 2),
|
|
147
|
-
)}`,
|
|
148
|
-
// eslint-disable-next-line new-cap
|
|
149
|
-
`${receivedLabel}:\n${context.utils.RECEIVED_COLOR(
|
|
150
|
-
redent(display(context, receivedValue), 2),
|
|
151
|
-
)}`,
|
|
152
|
-
].join('\n')
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
function matches(textToMatch, matcher) {
|
|
156
|
-
if (matcher instanceof RegExp) {
|
|
157
|
-
return matcher.test(textToMatch)
|
|
158
|
-
} else {
|
|
159
|
-
return textToMatch.includes(String(matcher))
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
function deprecate(name, replacementText) {
|
|
164
|
-
// Notify user that they are using deprecated functionality.
|
|
165
|
-
// eslint-disable-next-line no-console
|
|
166
|
-
console.warn(
|
|
167
|
-
`Warning: ${name} has been deprecated and will be removed in future updates.`,
|
|
168
|
-
replacementText,
|
|
169
|
-
);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
function normalize(text) {
|
|
173
|
-
return text.replace(/\s+/g, ' ').trim()
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
function getTag(element) {
|
|
177
|
-
return element.tagName && element.tagName.toLowerCase()
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
function getSelectValue({multiple, options}) {
|
|
181
|
-
const selectedOptions = [...options].filter(option => option.selected);
|
|
182
|
-
|
|
183
|
-
if (multiple) {
|
|
184
|
-
return [...selectedOptions].map(opt => opt.value)
|
|
185
|
-
}
|
|
186
|
-
/* istanbul ignore if */
|
|
187
|
-
if (selectedOptions.length === 0) {
|
|
188
|
-
return undefined // Couldn't make this happen, but just in case
|
|
189
|
-
}
|
|
190
|
-
return selectedOptions[0].value
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
function getInputValue(inputElement) {
|
|
194
|
-
switch (inputElement.type) {
|
|
195
|
-
case 'number':
|
|
196
|
-
return inputElement.value === '' ? null : Number(inputElement.value)
|
|
197
|
-
case 'checkbox':
|
|
198
|
-
return inputElement.checked
|
|
199
|
-
default:
|
|
200
|
-
return inputElement.value
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
const rolesSupportingValues = ['meter', 'progressbar', 'slider', 'spinbutton'];
|
|
205
|
-
function getAccessibleValue(element) {
|
|
206
|
-
if (!rolesSupportingValues.includes(element.getAttribute('role'))) {
|
|
207
|
-
return undefined
|
|
208
|
-
}
|
|
209
|
-
return Number(element.getAttribute('aria-valuenow'))
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
function getSingleElementValue(element) {
|
|
213
|
-
/* istanbul ignore if */
|
|
214
|
-
if (!element) {
|
|
215
|
-
return undefined
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
switch (element.tagName.toLowerCase()) {
|
|
219
|
-
case 'input':
|
|
220
|
-
return getInputValue(element)
|
|
221
|
-
case 'select':
|
|
222
|
-
return getSelectValue(element)
|
|
223
|
-
default: {
|
|
224
|
-
return element.value ?? getAccessibleValue(element)
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
function toSentence(
|
|
230
|
-
array,
|
|
231
|
-
{wordConnector = ', ', lastWordConnector = ' and '} = {},
|
|
232
|
-
) {
|
|
233
|
-
return [array.slice(0, -1).join(wordConnector), array[array.length - 1]].join(
|
|
234
|
-
array.length > 1 ? lastWordConnector : '',
|
|
235
|
-
)
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
function compareArraysAsSet(arr1, arr2) {
|
|
239
|
-
if (Array.isArray(arr1) && Array.isArray(arr2)) {
|
|
240
|
-
return [...new Set(arr1)].every(v => new Set(arr2).has(v))
|
|
241
|
-
}
|
|
242
|
-
return undefined
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
function toBeInTheDOM(element, container) {
|
|
246
|
-
deprecate(
|
|
247
|
-
'toBeInTheDOM',
|
|
248
|
-
'Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container.',
|
|
249
|
-
);
|
|
250
|
-
|
|
251
|
-
if (element) {
|
|
252
|
-
checkHtmlElement(element, toBeInTheDOM, this);
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
if (container) {
|
|
256
|
-
checkHtmlElement(container, toBeInTheDOM, this);
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
return {
|
|
260
|
-
pass: container ? container.contains(element) : !!element,
|
|
261
|
-
message: () => {
|
|
262
|
-
return [
|
|
263
|
-
this.utils.matcherHint(
|
|
264
|
-
`${this.isNot ? '.not' : ''}.toBeInTheDOM`,
|
|
265
|
-
'element',
|
|
266
|
-
'',
|
|
267
|
-
),
|
|
268
|
-
'',
|
|
269
|
-
'Received:',
|
|
270
|
-
` ${this.utils.printReceived(
|
|
271
|
-
element ? element.cloneNode(false) : element,
|
|
272
|
-
)}`,
|
|
273
|
-
].join('\n')
|
|
274
|
-
},
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
function toBeInTheDocument(element) {
|
|
279
|
-
if (element !== null || !this.isNot) {
|
|
280
|
-
checkHtmlElement(element, toBeInTheDocument, this);
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
const pass =
|
|
284
|
-
element === null
|
|
285
|
-
? false
|
|
286
|
-
: element.ownerDocument === element.getRootNode({composed: true});
|
|
287
|
-
|
|
288
|
-
const errorFound = () => {
|
|
289
|
-
return `expected document not to contain element, found ${this.utils.stringify(
|
|
290
|
-
element.cloneNode(true),
|
|
291
|
-
)} instead`
|
|
292
|
-
};
|
|
293
|
-
const errorNotFound = () => {
|
|
294
|
-
return `element could not be found in the document`
|
|
295
|
-
};
|
|
296
|
-
|
|
297
|
-
return {
|
|
298
|
-
pass,
|
|
299
|
-
message: () => {
|
|
300
|
-
return [
|
|
301
|
-
this.utils.matcherHint(
|
|
302
|
-
`${this.isNot ? '.not' : ''}.toBeInTheDocument`,
|
|
303
|
-
'element',
|
|
304
|
-
'',
|
|
305
|
-
),
|
|
306
|
-
'',
|
|
307
|
-
// eslint-disable-next-line new-cap
|
|
308
|
-
this.utils.RECEIVED_COLOR(this.isNot ? errorFound() : errorNotFound()),
|
|
309
|
-
].join('\n')
|
|
310
|
-
},
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
function toBeEmpty(element) {
|
|
315
|
-
deprecate(
|
|
316
|
-
'toBeEmpty',
|
|
317
|
-
'Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM.',
|
|
318
|
-
);
|
|
319
|
-
checkHtmlElement(element, toBeEmpty, this);
|
|
320
|
-
|
|
321
|
-
return {
|
|
322
|
-
pass: element.innerHTML === '',
|
|
323
|
-
message: () => {
|
|
324
|
-
return [
|
|
325
|
-
this.utils.matcherHint(
|
|
326
|
-
`${this.isNot ? '.not' : ''}.toBeEmpty`,
|
|
327
|
-
'element',
|
|
328
|
-
'',
|
|
329
|
-
),
|
|
330
|
-
'',
|
|
331
|
-
'Received:',
|
|
332
|
-
` ${this.utils.printReceived(element.innerHTML)}`,
|
|
333
|
-
].join('\n')
|
|
334
|
-
},
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
function toBeEmptyDOMElement(element) {
|
|
339
|
-
checkHtmlElement(element, toBeEmptyDOMElement, this);
|
|
340
|
-
|
|
341
|
-
return {
|
|
342
|
-
pass: isEmptyElement(element),
|
|
343
|
-
message: () => {
|
|
344
|
-
return [
|
|
345
|
-
this.utils.matcherHint(
|
|
346
|
-
`${this.isNot ? '.not' : ''}.toBeEmptyDOMElement`,
|
|
347
|
-
'element',
|
|
348
|
-
'',
|
|
349
|
-
),
|
|
350
|
-
'',
|
|
351
|
-
'Received:',
|
|
352
|
-
` ${this.utils.printReceived(element.innerHTML)}`,
|
|
353
|
-
].join('\n')
|
|
354
|
-
},
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
/**
|
|
359
|
-
* Identifies if an element doesn't contain child nodes (excluding comments)
|
|
360
|
-
* ℹ Node.COMMENT_NODE can't be used because of the following issue
|
|
361
|
-
* https://github.com/jsdom/jsdom/issues/2220
|
|
362
|
-
*
|
|
363
|
-
* @param {*} element an HtmlElement or SVGElement
|
|
364
|
-
* @return {*} true if the element only contains comments or none
|
|
365
|
-
*/
|
|
366
|
-
function isEmptyElement(element){
|
|
367
|
-
const nonCommentChildNodes = [...element.childNodes].filter(node => node.nodeType !== 8);
|
|
368
|
-
return nonCommentChildNodes.length === 0;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
function toContainElement(container, element) {
|
|
372
|
-
checkHtmlElement(container, toContainElement, this);
|
|
373
|
-
|
|
374
|
-
if (element !== null) {
|
|
375
|
-
checkHtmlElement(element, toContainElement, this);
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
return {
|
|
379
|
-
pass: container.contains(element),
|
|
380
|
-
message: () => {
|
|
381
|
-
return [
|
|
382
|
-
this.utils.matcherHint(
|
|
383
|
-
`${this.isNot ? '.not' : ''}.toContainElement`,
|
|
384
|
-
'element',
|
|
385
|
-
'element',
|
|
386
|
-
),
|
|
387
|
-
'',
|
|
388
|
-
// eslint-disable-next-line new-cap
|
|
389
|
-
this.utils.RECEIVED_COLOR(`${this.utils.stringify(
|
|
390
|
-
container.cloneNode(false),
|
|
391
|
-
)} ${
|
|
392
|
-
this.isNot ? 'contains:' : 'does not contain:'
|
|
393
|
-
} ${this.utils.stringify(element ? element.cloneNode(false) : element)}
|
|
394
|
-
`),
|
|
395
|
-
].join('\n')
|
|
396
|
-
},
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
function getNormalizedHtml(container, htmlText) {
|
|
401
|
-
const div = container.ownerDocument.createElement('div');
|
|
402
|
-
div.innerHTML = htmlText;
|
|
403
|
-
return div.innerHTML
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
function toContainHTML(container, htmlText) {
|
|
407
|
-
checkHtmlElement(container, toContainHTML, this);
|
|
408
|
-
|
|
409
|
-
if (typeof htmlText !== 'string') {
|
|
410
|
-
throw new Error(`.toContainHTML() expects a string value, got ${htmlText}`)
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
return {
|
|
414
|
-
pass: container.outerHTML.includes(getNormalizedHtml(container, htmlText)),
|
|
415
|
-
message: () => {
|
|
416
|
-
return [
|
|
417
|
-
this.utils.matcherHint(
|
|
418
|
-
`${this.isNot ? '.not' : ''}.toContainHTML`,
|
|
419
|
-
'element',
|
|
420
|
-
'',
|
|
421
|
-
),
|
|
422
|
-
'Expected:',
|
|
423
|
-
// eslint-disable-next-line new-cap
|
|
424
|
-
` ${this.utils.EXPECTED_COLOR(htmlText)}`,
|
|
425
|
-
'Received:',
|
|
426
|
-
` ${this.utils.printReceived(container.cloneNode(true))}`,
|
|
427
|
-
].join('\n')
|
|
428
|
-
},
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
function toHaveTextContent(
|
|
433
|
-
node,
|
|
434
|
-
checkWith,
|
|
435
|
-
options = {normalizeWhitespace: true},
|
|
436
|
-
) {
|
|
437
|
-
checkNode(node, toHaveTextContent, this);
|
|
438
|
-
|
|
439
|
-
const textContent = options.normalizeWhitespace
|
|
440
|
-
? normalize(node.textContent)
|
|
441
|
-
: node.textContent.replace(/\u00a0/g, ' '); // Replace with normal spaces
|
|
442
|
-
|
|
443
|
-
const checkingWithEmptyString = textContent !== '' && checkWith === '';
|
|
444
|
-
|
|
445
|
-
return {
|
|
446
|
-
pass: !checkingWithEmptyString && matches(textContent, checkWith),
|
|
447
|
-
message: () => {
|
|
448
|
-
const to = this.isNot ? 'not to' : 'to';
|
|
449
|
-
return getMessage(
|
|
450
|
-
this,
|
|
451
|
-
this.utils.matcherHint(
|
|
452
|
-
`${this.isNot ? '.not' : ''}.toHaveTextContent`,
|
|
453
|
-
'element',
|
|
454
|
-
'',
|
|
455
|
-
),
|
|
456
|
-
checkingWithEmptyString
|
|
457
|
-
? `Checking with empty string will always match, use .toBeEmptyDOMElement() instead`
|
|
458
|
-
: `Expected element ${to} have text content`,
|
|
459
|
-
checkWith,
|
|
460
|
-
'Received',
|
|
461
|
-
textContent,
|
|
462
|
-
)
|
|
463
|
-
},
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
function toHaveAccessibleDescription(
|
|
468
|
-
htmlElement,
|
|
469
|
-
expectedAccessibleDescription,
|
|
470
|
-
) {
|
|
471
|
-
checkHtmlElement(htmlElement, toHaveAccessibleDescription, this);
|
|
472
|
-
const actualAccessibleDescription = computeAccessibleDescription(htmlElement);
|
|
473
|
-
const missingExpectedValue = arguments.length === 1;
|
|
474
|
-
|
|
475
|
-
let pass = false;
|
|
476
|
-
if (missingExpectedValue) {
|
|
477
|
-
// When called without an expected value we only want to validate that the element has an
|
|
478
|
-
// accessible description, whatever it may be.
|
|
479
|
-
pass = actualAccessibleDescription !== '';
|
|
480
|
-
} else {
|
|
481
|
-
pass =
|
|
482
|
-
expectedAccessibleDescription instanceof RegExp
|
|
483
|
-
? expectedAccessibleDescription.test(actualAccessibleDescription)
|
|
484
|
-
: this.equals(
|
|
485
|
-
actualAccessibleDescription,
|
|
486
|
-
expectedAccessibleDescription,
|
|
487
|
-
);
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
return {
|
|
491
|
-
pass,
|
|
492
|
-
|
|
493
|
-
message: () => {
|
|
494
|
-
const to = this.isNot ? 'not to' : 'to';
|
|
495
|
-
return getMessage(
|
|
496
|
-
this,
|
|
497
|
-
this.utils.matcherHint(
|
|
498
|
-
`${this.isNot ? '.not' : ''}.${toHaveAccessibleDescription.name}`,
|
|
499
|
-
'element',
|
|
500
|
-
'',
|
|
501
|
-
),
|
|
502
|
-
`Expected element ${to} have accessible description`,
|
|
503
|
-
expectedAccessibleDescription,
|
|
504
|
-
'Received',
|
|
505
|
-
actualAccessibleDescription,
|
|
506
|
-
)
|
|
507
|
-
},
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
const ariaInvalidName = 'aria-invalid';
|
|
512
|
-
const validStates = ['false'];
|
|
513
|
-
|
|
514
|
-
// See `aria-errormessage` spec at https://www.w3.org/TR/wai-aria-1.2/#aria-errormessage
|
|
515
|
-
function toHaveAccessibleErrorMessage(
|
|
516
|
-
htmlElement,
|
|
517
|
-
expectedAccessibleErrorMessage,
|
|
518
|
-
) {
|
|
519
|
-
checkHtmlElement(htmlElement, toHaveAccessibleErrorMessage, this);
|
|
520
|
-
const to = this.isNot ? 'not to' : 'to';
|
|
521
|
-
const method = this.isNot
|
|
522
|
-
? '.not.toHaveAccessibleErrorMessage'
|
|
523
|
-
: '.toHaveAccessibleErrorMessage';
|
|
524
|
-
|
|
525
|
-
// Enforce Valid Id
|
|
526
|
-
const errormessageId = htmlElement.getAttribute('aria-errormessage');
|
|
527
|
-
const errormessageIdInvalid = !!errormessageId && /\s+/.test(errormessageId);
|
|
528
|
-
|
|
529
|
-
if (errormessageIdInvalid) {
|
|
530
|
-
return {
|
|
531
|
-
pass: false,
|
|
532
|
-
message: () => {
|
|
533
|
-
return getMessage(
|
|
534
|
-
this,
|
|
535
|
-
this.utils.matcherHint(method, 'element'),
|
|
536
|
-
"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID",
|
|
537
|
-
'',
|
|
538
|
-
'Received',
|
|
539
|
-
`aria-errormessage="${errormessageId}"`,
|
|
540
|
-
)
|
|
541
|
-
},
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
// See `aria-invalid` spec at https://www.w3.org/TR/wai-aria-1.2/#aria-invalid
|
|
546
|
-
const ariaInvalidVal = htmlElement.getAttribute(ariaInvalidName);
|
|
547
|
-
const fieldValid =
|
|
548
|
-
!htmlElement.hasAttribute(ariaInvalidName) ||
|
|
549
|
-
validStates.includes(ariaInvalidVal);
|
|
550
|
-
|
|
551
|
-
// Enforce Valid `aria-invalid` Attribute
|
|
552
|
-
if (fieldValid) {
|
|
553
|
-
return {
|
|
554
|
-
pass: false,
|
|
555
|
-
message: () => {
|
|
556
|
-
return getMessage(
|
|
557
|
-
this,
|
|
558
|
-
this.utils.matcherHint(method, 'element'),
|
|
559
|
-
'Expected element to be marked as invalid with attribute',
|
|
560
|
-
`${ariaInvalidName}="${String(true)}"`,
|
|
561
|
-
'Received',
|
|
562
|
-
htmlElement.hasAttribute('aria-invalid')
|
|
563
|
-
? `${ariaInvalidName}="${htmlElement.getAttribute(ariaInvalidName)}`
|
|
564
|
-
: null,
|
|
565
|
-
)
|
|
566
|
-
},
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
const error = normalize(
|
|
571
|
-
htmlElement.ownerDocument.getElementById(errormessageId)?.textContent ?? '',
|
|
572
|
-
);
|
|
573
|
-
|
|
574
|
-
return {
|
|
575
|
-
pass:
|
|
576
|
-
expectedAccessibleErrorMessage === undefined
|
|
577
|
-
? Boolean(error)
|
|
578
|
-
: expectedAccessibleErrorMessage instanceof RegExp
|
|
579
|
-
? expectedAccessibleErrorMessage.test(error)
|
|
580
|
-
: this.equals(error, expectedAccessibleErrorMessage),
|
|
581
|
-
|
|
582
|
-
message: () => {
|
|
583
|
-
return getMessage(
|
|
584
|
-
this,
|
|
585
|
-
this.utils.matcherHint(method, 'element'),
|
|
586
|
-
`Expected element ${to} have accessible error message`,
|
|
587
|
-
expectedAccessibleErrorMessage ?? '',
|
|
588
|
-
'Received',
|
|
589
|
-
error,
|
|
590
|
-
)
|
|
591
|
-
},
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
const elementRoleList = buildElementRoleList(elementRoles);
|
|
596
|
-
|
|
597
|
-
function toHaveRole(htmlElement, expectedRole) {
|
|
598
|
-
checkHtmlElement(htmlElement, toHaveRole, this);
|
|
599
|
-
|
|
600
|
-
const actualRoles = getExplicitOrImplicitRoles(htmlElement);
|
|
601
|
-
const pass = actualRoles.some(el => el === expectedRole);
|
|
602
|
-
|
|
603
|
-
return {
|
|
604
|
-
pass,
|
|
605
|
-
|
|
606
|
-
message: () => {
|
|
607
|
-
const to = this.isNot ? 'not to' : 'to';
|
|
608
|
-
return getMessage(
|
|
609
|
-
this,
|
|
610
|
-
this.utils.matcherHint(
|
|
611
|
-
`${this.isNot ? '.not' : ''}.${toHaveRole.name}`,
|
|
612
|
-
'element',
|
|
613
|
-
'',
|
|
614
|
-
),
|
|
615
|
-
`Expected element ${to} have role`,
|
|
616
|
-
expectedRole,
|
|
617
|
-
'Received',
|
|
618
|
-
actualRoles.join(', '),
|
|
619
|
-
)
|
|
620
|
-
},
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
function getExplicitOrImplicitRoles(htmlElement) {
|
|
625
|
-
const hasExplicitRole = htmlElement.hasAttribute('role');
|
|
626
|
-
|
|
627
|
-
if (hasExplicitRole) {
|
|
628
|
-
const roleValue = htmlElement.getAttribute('role');
|
|
629
|
-
|
|
630
|
-
// Handle fallback roles, such as role="switch button"
|
|
631
|
-
// testing-library gates this behind the `queryFallbacks` flag; it is
|
|
632
|
-
// unclear why, but it makes sense to support this pattern out of the box
|
|
633
|
-
// https://testing-library.com/docs/queries/byrole/#queryfallbacks
|
|
634
|
-
return roleValue.split(' ').filter(Boolean)
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
const implicitRoles = getImplicitAriaRoles(htmlElement);
|
|
638
|
-
|
|
639
|
-
return implicitRoles
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
function getImplicitAriaRoles(currentNode) {
|
|
643
|
-
for (const {match, roles} of elementRoleList) {
|
|
644
|
-
if (match(currentNode)) {
|
|
645
|
-
return [...roles]
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
/* istanbul ignore next */
|
|
650
|
-
return [] // this does not get reached in practice, since elements have at least a 'generic' role
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
/**
|
|
654
|
-
* Transform the roles map (with required attributes and constraints) to a list
|
|
655
|
-
* of roles. Each item in the list has functions to match an element against it.
|
|
656
|
-
*
|
|
657
|
-
* Essentially copied over from [dom-testing-library's
|
|
658
|
-
* helpers](https://github.com/testing-library/dom-testing-library/blob/bd04cf95a1ed85a2238f7dfc1a77d5d16b4f59dc/src/role-helpers.js#L80)
|
|
659
|
-
*
|
|
660
|
-
* TODO: If we are truly just copying over stuff, would it make sense to move
|
|
661
|
-
* this to a separate package?
|
|
662
|
-
*
|
|
663
|
-
* TODO: This technique relies on CSS selectors; are those consistently
|
|
664
|
-
* available in all jest-dom environments? Why do other matchers in this package
|
|
665
|
-
* not use them like this?
|
|
666
|
-
*/
|
|
667
|
-
function buildElementRoleList(elementRolesMap) {
|
|
668
|
-
function makeElementSelector({name, attributes}) {
|
|
669
|
-
return `${name}${attributes
|
|
670
|
-
.map(({name: attributeName, value, constraints = []}) => {
|
|
671
|
-
const shouldNotExist = constraints.indexOf('undefined') !== -1;
|
|
672
|
-
if (shouldNotExist) {
|
|
673
|
-
return `:not([${attributeName}])`
|
|
674
|
-
} else if (value) {
|
|
675
|
-
return `[${attributeName}="${value}"]`
|
|
676
|
-
} else {
|
|
677
|
-
return `[${attributeName}]`
|
|
678
|
-
}
|
|
679
|
-
})
|
|
680
|
-
.join('')}`
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
function getSelectorSpecificity({attributes = []}) {
|
|
684
|
-
return attributes.length
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
function bySelectorSpecificity(
|
|
688
|
-
{specificity: leftSpecificity},
|
|
689
|
-
{specificity: rightSpecificity},
|
|
690
|
-
) {
|
|
691
|
-
return rightSpecificity - leftSpecificity
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
function match(element) {
|
|
695
|
-
let {attributes = []} = element;
|
|
696
|
-
|
|
697
|
-
// https://github.com/testing-library/dom-testing-library/issues/814
|
|
698
|
-
const typeTextIndex = attributes.findIndex(
|
|
699
|
-
attribute =>
|
|
700
|
-
attribute.value &&
|
|
701
|
-
attribute.name === 'type' &&
|
|
702
|
-
attribute.value === 'text',
|
|
703
|
-
);
|
|
704
|
-
|
|
705
|
-
if (typeTextIndex >= 0) {
|
|
706
|
-
// not using splice to not mutate the attributes array
|
|
707
|
-
attributes = [
|
|
708
|
-
...attributes.slice(0, typeTextIndex),
|
|
709
|
-
...attributes.slice(typeTextIndex + 1),
|
|
710
|
-
];
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
const selector = makeElementSelector({...element, attributes});
|
|
714
|
-
|
|
715
|
-
return node => {
|
|
716
|
-
if (typeTextIndex >= 0 && node.type !== 'text') {
|
|
717
|
-
return false
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
return node.matches(selector)
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
let result = [];
|
|
725
|
-
|
|
726
|
-
for (const [element, roles] of elementRolesMap.entries()) {
|
|
727
|
-
result = [
|
|
728
|
-
...result,
|
|
729
|
-
{
|
|
730
|
-
match: match(element),
|
|
731
|
-
roles: Array.from(roles),
|
|
732
|
-
specificity: getSelectorSpecificity(element),
|
|
733
|
-
},
|
|
734
|
-
];
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
return result.sort(bySelectorSpecificity)
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
function toHaveAccessibleName(htmlElement, expectedAccessibleName) {
|
|
741
|
-
checkHtmlElement(htmlElement, toHaveAccessibleName, this);
|
|
742
|
-
const actualAccessibleName = computeAccessibleName(htmlElement);
|
|
743
|
-
const missingExpectedValue = arguments.length === 1;
|
|
744
|
-
|
|
745
|
-
let pass = false;
|
|
746
|
-
if (missingExpectedValue) {
|
|
747
|
-
// When called without an expected value we only want to validate that the element has an
|
|
748
|
-
// accessible name, whatever it may be.
|
|
749
|
-
pass = actualAccessibleName !== '';
|
|
750
|
-
} else {
|
|
751
|
-
pass =
|
|
752
|
-
expectedAccessibleName instanceof RegExp
|
|
753
|
-
? expectedAccessibleName.test(actualAccessibleName)
|
|
754
|
-
: this.equals(actualAccessibleName, expectedAccessibleName);
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
return {
|
|
758
|
-
pass,
|
|
759
|
-
|
|
760
|
-
message: () => {
|
|
761
|
-
const to = this.isNot ? 'not to' : 'to';
|
|
762
|
-
return getMessage(
|
|
763
|
-
this,
|
|
764
|
-
this.utils.matcherHint(
|
|
765
|
-
`${this.isNot ? '.not' : ''}.${toHaveAccessibleName.name}`,
|
|
766
|
-
'element',
|
|
767
|
-
'',
|
|
768
|
-
),
|
|
769
|
-
`Expected element ${to} have accessible name`,
|
|
770
|
-
expectedAccessibleName,
|
|
771
|
-
'Received',
|
|
772
|
-
actualAccessibleName,
|
|
773
|
-
)
|
|
774
|
-
},
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
function printAttribute(stringify, name, value) {
|
|
779
|
-
return value === undefined ? name : `${name}=${stringify(value)}`
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
function getAttributeComment(stringify, name, value) {
|
|
783
|
-
return value === undefined
|
|
784
|
-
? `element.hasAttribute(${stringify(name)})`
|
|
785
|
-
: `element.getAttribute(${stringify(name)}) === ${stringify(value)}`
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
function toHaveAttribute(htmlElement, name, expectedValue) {
|
|
789
|
-
checkHtmlElement(htmlElement, toHaveAttribute, this);
|
|
790
|
-
const isExpectedValuePresent = expectedValue !== undefined;
|
|
791
|
-
const hasAttribute = htmlElement.hasAttribute(name);
|
|
792
|
-
const receivedValue = htmlElement.getAttribute(name);
|
|
793
|
-
return {
|
|
794
|
-
pass: isExpectedValuePresent
|
|
795
|
-
? hasAttribute && this.equals(receivedValue, expectedValue)
|
|
796
|
-
: hasAttribute,
|
|
797
|
-
message: () => {
|
|
798
|
-
const to = this.isNot ? 'not to' : 'to';
|
|
799
|
-
const receivedAttribute = hasAttribute
|
|
800
|
-
? printAttribute(this.utils.stringify, name, receivedValue)
|
|
801
|
-
: null;
|
|
802
|
-
const matcher = this.utils.matcherHint(
|
|
803
|
-
`${this.isNot ? '.not' : ''}.toHaveAttribute`,
|
|
804
|
-
'element',
|
|
805
|
-
this.utils.printExpected(name),
|
|
806
|
-
{
|
|
807
|
-
secondArgument: isExpectedValuePresent
|
|
808
|
-
? this.utils.printExpected(expectedValue)
|
|
809
|
-
: undefined,
|
|
810
|
-
comment: getAttributeComment(
|
|
811
|
-
this.utils.stringify,
|
|
812
|
-
name,
|
|
813
|
-
expectedValue,
|
|
814
|
-
),
|
|
815
|
-
},
|
|
816
|
-
);
|
|
817
|
-
return getMessage(
|
|
818
|
-
this,
|
|
819
|
-
matcher,
|
|
820
|
-
`Expected the element ${to} have attribute`,
|
|
821
|
-
printAttribute(this.utils.stringify, name, expectedValue),
|
|
822
|
-
'Received',
|
|
823
|
-
receivedAttribute,
|
|
824
|
-
)
|
|
825
|
-
},
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
function getExpectedClassNamesAndOptions(params) {
|
|
830
|
-
const lastParam = params.pop();
|
|
831
|
-
let expectedClassNames, options;
|
|
832
|
-
|
|
833
|
-
if (typeof lastParam === 'object' && !(lastParam instanceof RegExp)) {
|
|
834
|
-
expectedClassNames = params;
|
|
835
|
-
options = lastParam;
|
|
836
|
-
} else {
|
|
837
|
-
expectedClassNames = params.concat(lastParam);
|
|
838
|
-
options = {exact: false};
|
|
839
|
-
}
|
|
840
|
-
return {expectedClassNames, options}
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
function splitClassNames(str) {
|
|
844
|
-
if (!str) return []
|
|
845
|
-
return str.split(/\s+/).filter(s => s.length > 0)
|
|
846
|
-
}
|
|
847
|
-
|
|
848
|
-
function isSubset$1(subset, superset) {
|
|
849
|
-
return subset.every(strOrRegexp =>
|
|
850
|
-
typeof strOrRegexp === 'string'
|
|
851
|
-
? superset.includes(strOrRegexp)
|
|
852
|
-
: superset.some(className => strOrRegexp.test(className)),
|
|
853
|
-
)
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
function toHaveClass(htmlElement, ...params) {
|
|
857
|
-
checkHtmlElement(htmlElement, toHaveClass, this);
|
|
858
|
-
const {expectedClassNames, options} = getExpectedClassNamesAndOptions(params);
|
|
859
|
-
|
|
860
|
-
const received = splitClassNames(htmlElement.getAttribute('class'));
|
|
861
|
-
const expected = expectedClassNames.reduce(
|
|
862
|
-
(acc, className) =>
|
|
863
|
-
acc.concat(
|
|
864
|
-
typeof className === 'string' || !className
|
|
865
|
-
? splitClassNames(className)
|
|
866
|
-
: className,
|
|
867
|
-
),
|
|
868
|
-
[],
|
|
869
|
-
);
|
|
870
|
-
|
|
871
|
-
const hasRegExp = expected.some(className => className instanceof RegExp);
|
|
872
|
-
if (options.exact && hasRegExp) {
|
|
873
|
-
throw new Error('Exact option does not support RegExp expected class names')
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
if (options.exact) {
|
|
877
|
-
return {
|
|
878
|
-
pass: isSubset$1(expected, received) && expected.length === received.length,
|
|
879
|
-
message: () => {
|
|
880
|
-
const to = this.isNot ? 'not to' : 'to';
|
|
881
|
-
return getMessage(
|
|
882
|
-
this,
|
|
883
|
-
this.utils.matcherHint(
|
|
884
|
-
`${this.isNot ? '.not' : ''}.toHaveClass`,
|
|
885
|
-
'element',
|
|
886
|
-
this.utils.printExpected(expected.join(' ')),
|
|
887
|
-
),
|
|
888
|
-
`Expected the element ${to} have EXACTLY defined classes`,
|
|
889
|
-
expected.join(' '),
|
|
890
|
-
'Received',
|
|
891
|
-
received.join(' '),
|
|
892
|
-
)
|
|
893
|
-
},
|
|
894
|
-
}
|
|
895
|
-
}
|
|
896
|
-
|
|
897
|
-
return expected.length > 0
|
|
898
|
-
? {
|
|
899
|
-
pass: isSubset$1(expected, received),
|
|
900
|
-
message: () => {
|
|
901
|
-
const to = this.isNot ? 'not to' : 'to';
|
|
902
|
-
return getMessage(
|
|
903
|
-
this,
|
|
904
|
-
this.utils.matcherHint(
|
|
905
|
-
`${this.isNot ? '.not' : ''}.toHaveClass`,
|
|
906
|
-
'element',
|
|
907
|
-
this.utils.printExpected(expected.join(' ')),
|
|
908
|
-
),
|
|
909
|
-
`Expected the element ${to} have class`,
|
|
910
|
-
expected.join(' '),
|
|
911
|
-
'Received',
|
|
912
|
-
received.join(' '),
|
|
913
|
-
)
|
|
914
|
-
},
|
|
915
|
-
}
|
|
916
|
-
: {
|
|
917
|
-
pass: this.isNot ? received.length > 0 : false,
|
|
918
|
-
message: () =>
|
|
919
|
-
this.isNot
|
|
920
|
-
? getMessage(
|
|
921
|
-
this,
|
|
922
|
-
this.utils.matcherHint('.not.toHaveClass', 'element', ''),
|
|
923
|
-
'Expected the element to have classes',
|
|
924
|
-
'(none)',
|
|
925
|
-
'Received',
|
|
926
|
-
received.join(' '),
|
|
927
|
-
)
|
|
928
|
-
: [
|
|
929
|
-
this.utils.matcherHint(`.toHaveClass`, 'element'),
|
|
930
|
-
'At least one expected class must be provided.',
|
|
931
|
-
].join('\n'),
|
|
932
|
-
}
|
|
933
|
-
}
|
|
934
|
-
|
|
935
|
-
function getStyleDeclaration(document, css) {
|
|
936
|
-
const styles = {};
|
|
937
|
-
|
|
938
|
-
// The next block is necessary to normalize colors
|
|
939
|
-
const copy = document.createElement('div');
|
|
940
|
-
Object.keys(css).forEach(property => {
|
|
941
|
-
copy.style[property] = css[property];
|
|
942
|
-
styles[property] = copy.style[property];
|
|
943
|
-
});
|
|
944
|
-
|
|
945
|
-
return styles
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
function isSubset(styles, computedStyle) {
|
|
949
|
-
return (
|
|
950
|
-
!!Object.keys(styles).length &&
|
|
951
|
-
Object.entries(styles).every(([prop, value]) => {
|
|
952
|
-
const isCustomProperty = prop.startsWith('--');
|
|
953
|
-
const spellingVariants = [prop];
|
|
954
|
-
if (!isCustomProperty) spellingVariants.push(prop.toLowerCase());
|
|
955
|
-
|
|
956
|
-
return spellingVariants.some(
|
|
957
|
-
name =>
|
|
958
|
-
computedStyle[name] === value ||
|
|
959
|
-
computedStyle.getPropertyValue(name) === value,
|
|
960
|
-
)
|
|
961
|
-
})
|
|
962
|
-
)
|
|
963
|
-
}
|
|
964
|
-
|
|
965
|
-
function printoutStyles(styles) {
|
|
966
|
-
return Object.keys(styles)
|
|
967
|
-
.sort()
|
|
968
|
-
.map(prop => `${prop}: ${styles[prop]};`)
|
|
969
|
-
.join('\n')
|
|
970
|
-
}
|
|
971
|
-
|
|
972
|
-
// Highlights only style rules that were expected but were not found in the
|
|
973
|
-
// received computed styles
|
|
974
|
-
function expectedDiff(diffFn, expected, computedStyles) {
|
|
975
|
-
const received = Array.from(computedStyles)
|
|
976
|
-
.filter(prop => expected[prop] !== undefined)
|
|
977
|
-
.reduce(
|
|
978
|
-
(obj, prop) =>
|
|
979
|
-
Object.assign(obj, {[prop]: computedStyles.getPropertyValue(prop)}),
|
|
980
|
-
{},
|
|
981
|
-
);
|
|
982
|
-
const diffOutput = diffFn(printoutStyles(expected), printoutStyles(received));
|
|
983
|
-
// Remove the "+ Received" annotation because this is a one-way diff
|
|
984
|
-
return diffOutput.replace(`${chalk.red('+ Received')}\n`, '')
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
function toHaveStyle(htmlElement, css) {
|
|
988
|
-
checkHtmlElement(htmlElement, toHaveStyle, this);
|
|
989
|
-
const parsedCSS =
|
|
990
|
-
typeof css === 'object' ? css : parseCSS(css, toHaveStyle, this);
|
|
991
|
-
const {getComputedStyle} = htmlElement.ownerDocument.defaultView;
|
|
992
|
-
|
|
993
|
-
const expected = getStyleDeclaration(htmlElement.ownerDocument, parsedCSS);
|
|
994
|
-
const received = getComputedStyle(htmlElement);
|
|
995
|
-
|
|
996
|
-
return {
|
|
997
|
-
pass: isSubset(expected, received),
|
|
998
|
-
message: () => {
|
|
999
|
-
const matcher = `${this.isNot ? '.not' : ''}.toHaveStyle`;
|
|
1000
|
-
return [
|
|
1001
|
-
this.utils.matcherHint(matcher, 'element', ''),
|
|
1002
|
-
expectedDiff(this.utils.diff, expected, received),
|
|
1003
|
-
].join('\n\n')
|
|
1004
|
-
},
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
function toHaveFocus(element) {
|
|
1009
|
-
checkHtmlElement(element, toHaveFocus, this);
|
|
1010
|
-
|
|
1011
|
-
return {
|
|
1012
|
-
pass: element.ownerDocument.activeElement === element,
|
|
1013
|
-
message: () => {
|
|
1014
|
-
return [
|
|
1015
|
-
this.utils.matcherHint(
|
|
1016
|
-
`${this.isNot ? '.not' : ''}.toHaveFocus`,
|
|
1017
|
-
'element',
|
|
1018
|
-
'',
|
|
1019
|
-
),
|
|
1020
|
-
'',
|
|
1021
|
-
...(this.isNot
|
|
1022
|
-
? [
|
|
1023
|
-
'Received element is focused:',
|
|
1024
|
-
` ${this.utils.printReceived(element)}`,
|
|
1025
|
-
]
|
|
1026
|
-
: [
|
|
1027
|
-
'Expected element with focus:',
|
|
1028
|
-
` ${this.utils.printExpected(element)}`,
|
|
1029
|
-
'Received element with focus:',
|
|
1030
|
-
` ${this.utils.printReceived(
|
|
1031
|
-
element.ownerDocument.activeElement,
|
|
1032
|
-
)}`,
|
|
1033
|
-
]),
|
|
1034
|
-
].join('\n')
|
|
1035
|
-
},
|
|
1036
|
-
}
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1039
|
-
// Returns the combined value of several elements that have the same name
|
|
1040
|
-
// e.g. radio buttons or groups of checkboxes
|
|
1041
|
-
function getMultiElementValue(elements) {
|
|
1042
|
-
const types = [...new Set(elements.map(element => element.type))];
|
|
1043
|
-
if (types.length !== 1) {
|
|
1044
|
-
throw new Error(
|
|
1045
|
-
'Multiple form elements with the same name must be of the same type',
|
|
1046
|
-
)
|
|
1047
|
-
}
|
|
1048
|
-
switch (types[0]) {
|
|
1049
|
-
case 'radio': {
|
|
1050
|
-
const theChosenOne = elements.find(radio => radio.checked);
|
|
1051
|
-
return theChosenOne ? theChosenOne.value : undefined
|
|
1052
|
-
}
|
|
1053
|
-
case 'checkbox':
|
|
1054
|
-
return elements
|
|
1055
|
-
.filter(checkbox => checkbox.checked)
|
|
1056
|
-
.map(checkbox => checkbox.value)
|
|
1057
|
-
default:
|
|
1058
|
-
// NOTE: Not even sure this is a valid use case, but just in case...
|
|
1059
|
-
return elements.map(element => element.value)
|
|
1060
|
-
}
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
function getFormValue(container, name) {
|
|
1064
|
-
const elements = [...container.querySelectorAll(`[name="${escape(name)}"]`)];
|
|
1065
|
-
/* istanbul ignore if */
|
|
1066
|
-
if (elements.length === 0) {
|
|
1067
|
-
return undefined // shouldn't happen, but just in case
|
|
1068
|
-
}
|
|
1069
|
-
switch (elements.length) {
|
|
1070
|
-
case 1:
|
|
1071
|
-
return getSingleElementValue(elements[0])
|
|
1072
|
-
default:
|
|
1073
|
-
return getMultiElementValue(elements)
|
|
1074
|
-
}
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
// Strips the `[]` suffix off a form value name
|
|
1078
|
-
function getPureName(name) {
|
|
1079
|
-
return /\[\]$/.test(name) ? name.slice(0, -2) : name
|
|
1080
|
-
}
|
|
1081
|
-
|
|
1082
|
-
function getAllFormValues(container) {
|
|
1083
|
-
const names = Array.from(container.elements).map(element => element.name);
|
|
1084
|
-
return names.reduce(
|
|
1085
|
-
(obj, name) => ({
|
|
1086
|
-
...obj,
|
|
1087
|
-
[getPureName(name)]: getFormValue(container, name),
|
|
1088
|
-
}),
|
|
1089
|
-
{},
|
|
1090
|
-
)
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
function toHaveFormValues(formElement, expectedValues) {
|
|
1094
|
-
checkHtmlElement(formElement, toHaveFormValues, this);
|
|
1095
|
-
if (!formElement.elements) {
|
|
1096
|
-
// TODO: Change condition to use instanceof against the appropriate element classes instead
|
|
1097
|
-
throw new Error('toHaveFormValues must be called on a form or a fieldset')
|
|
1098
|
-
}
|
|
1099
|
-
const formValues = getAllFormValues(formElement);
|
|
1100
|
-
return {
|
|
1101
|
-
pass: Object.entries(expectedValues).every(([name, expectedValue]) =>
|
|
1102
|
-
isEqualWith(formValues[name], expectedValue, compareArraysAsSet),
|
|
1103
|
-
),
|
|
1104
|
-
message: () => {
|
|
1105
|
-
const to = this.isNot ? 'not to' : 'to';
|
|
1106
|
-
const matcher = `${this.isNot ? '.not' : ''}.toHaveFormValues`;
|
|
1107
|
-
const commonKeyValues = Object.keys(formValues)
|
|
1108
|
-
.filter(key => expectedValues.hasOwnProperty(key))
|
|
1109
|
-
.reduce((obj, key) => ({...obj, [key]: formValues[key]}), {});
|
|
1110
|
-
return [
|
|
1111
|
-
this.utils.matcherHint(matcher, 'element', ''),
|
|
1112
|
-
`Expected the element ${to} have form values`,
|
|
1113
|
-
this.utils.diff(expectedValues, commonKeyValues),
|
|
1114
|
-
].join('\n\n')
|
|
1115
|
-
},
|
|
1116
|
-
}
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
function isStyleVisible(element) {
|
|
1120
|
-
const {getComputedStyle} = element.ownerDocument.defaultView;
|
|
1121
|
-
|
|
1122
|
-
const {display, visibility, opacity} = getComputedStyle(element);
|
|
1123
|
-
return (
|
|
1124
|
-
display !== 'none' &&
|
|
1125
|
-
visibility !== 'hidden' &&
|
|
1126
|
-
visibility !== 'collapse' &&
|
|
1127
|
-
opacity !== '0' &&
|
|
1128
|
-
opacity !== 0
|
|
1129
|
-
)
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
|
-
function isAttributeVisible(element, previousElement) {
|
|
1133
|
-
let detailsVisibility;
|
|
1134
|
-
|
|
1135
|
-
if (previousElement) {
|
|
1136
|
-
detailsVisibility =
|
|
1137
|
-
element.nodeName === 'DETAILS' && previousElement.nodeName !== 'SUMMARY'
|
|
1138
|
-
? element.hasAttribute('open')
|
|
1139
|
-
: true;
|
|
1140
|
-
} else {
|
|
1141
|
-
detailsVisibility =
|
|
1142
|
-
element.nodeName === 'DETAILS' ? element.hasAttribute('open') : true;
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
|
-
return !element.hasAttribute('hidden') && detailsVisibility
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
function isElementVisible(element, previousElement) {
|
|
1149
|
-
return (
|
|
1150
|
-
isStyleVisible(element) &&
|
|
1151
|
-
isAttributeVisible(element, previousElement) &&
|
|
1152
|
-
(!element.parentElement || isElementVisible(element.parentElement, element))
|
|
1153
|
-
)
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
function toBeVisible(element) {
|
|
1157
|
-
checkHtmlElement(element, toBeVisible, this);
|
|
1158
|
-
const isInDocument =
|
|
1159
|
-
element.ownerDocument === element.getRootNode({composed: true});
|
|
1160
|
-
const isVisible = isInDocument && isElementVisible(element);
|
|
1161
|
-
return {
|
|
1162
|
-
pass: isVisible,
|
|
1163
|
-
message: () => {
|
|
1164
|
-
const is = isVisible ? 'is' : 'is not';
|
|
1165
|
-
return [
|
|
1166
|
-
this.utils.matcherHint(
|
|
1167
|
-
`${this.isNot ? '.not' : ''}.toBeVisible`,
|
|
1168
|
-
'element',
|
|
1169
|
-
'',
|
|
1170
|
-
),
|
|
1171
|
-
'',
|
|
1172
|
-
`Received element ${is} visible${
|
|
1173
|
-
isInDocument ? '' : ' (element is not in the document)'
|
|
1174
|
-
}:`,
|
|
1175
|
-
` ${this.utils.printReceived(element.cloneNode(false))}`,
|
|
1176
|
-
].join('\n')
|
|
1177
|
-
},
|
|
1178
|
-
}
|
|
1179
|
-
}
|
|
1180
|
-
|
|
1181
|
-
// form elements that support 'disabled'
|
|
1182
|
-
const FORM_TAGS$2 = [
|
|
1183
|
-
'fieldset',
|
|
1184
|
-
'input',
|
|
1185
|
-
'select',
|
|
1186
|
-
'optgroup',
|
|
1187
|
-
'option',
|
|
1188
|
-
'button',
|
|
1189
|
-
'textarea',
|
|
1190
|
-
];
|
|
1191
|
-
|
|
1192
|
-
/*
|
|
1193
|
-
* According to specification:
|
|
1194
|
-
* If <fieldset> is disabled, the form controls that are its descendants,
|
|
1195
|
-
* except descendants of its first optional <legend> element, are disabled
|
|
1196
|
-
*
|
|
1197
|
-
* https://html.spec.whatwg.org/multipage/form-elements.html#concept-fieldset-disabled
|
|
1198
|
-
*
|
|
1199
|
-
* This method tests whether element is first legend child of fieldset parent
|
|
1200
|
-
*/
|
|
1201
|
-
function isFirstLegendChildOfFieldset(element, parent) {
|
|
1202
|
-
return (
|
|
1203
|
-
getTag(element) === 'legend' &&
|
|
1204
|
-
getTag(parent) === 'fieldset' &&
|
|
1205
|
-
element.isSameNode(
|
|
1206
|
-
Array.from(parent.children).find(child => getTag(child) === 'legend'),
|
|
1207
|
-
)
|
|
1208
|
-
)
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
function isElementDisabledByParent(element, parent) {
|
|
1212
|
-
return (
|
|
1213
|
-
isElementDisabled(parent) && !isFirstLegendChildOfFieldset(element, parent)
|
|
1214
|
-
)
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
|
-
function isCustomElement(tag) {
|
|
1218
|
-
return tag.includes('-')
|
|
1219
|
-
}
|
|
1220
|
-
|
|
1221
|
-
/*
|
|
1222
|
-
* Only certain form elements and custom elements can actually be disabled:
|
|
1223
|
-
* https://html.spec.whatwg.org/multipage/semantics-other.html#disabled-elements
|
|
1224
|
-
*/
|
|
1225
|
-
function canElementBeDisabled(element) {
|
|
1226
|
-
const tag = getTag(element);
|
|
1227
|
-
return FORM_TAGS$2.includes(tag) || isCustomElement(tag)
|
|
1228
|
-
}
|
|
1229
|
-
|
|
1230
|
-
function isElementDisabled(element) {
|
|
1231
|
-
return canElementBeDisabled(element) && element.hasAttribute('disabled')
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
|
-
function isAncestorDisabled(element) {
|
|
1235
|
-
const parent = element.parentElement;
|
|
1236
|
-
return (
|
|
1237
|
-
Boolean(parent) &&
|
|
1238
|
-
(isElementDisabledByParent(element, parent) || isAncestorDisabled(parent))
|
|
1239
|
-
)
|
|
1240
|
-
}
|
|
1241
|
-
|
|
1242
|
-
function isElementOrAncestorDisabled(element) {
|
|
1243
|
-
return (
|
|
1244
|
-
canElementBeDisabled(element) &&
|
|
1245
|
-
(isElementDisabled(element) || isAncestorDisabled(element))
|
|
1246
|
-
)
|
|
1247
|
-
}
|
|
1248
|
-
|
|
1249
|
-
function toBeDisabled(element) {
|
|
1250
|
-
checkHtmlElement(element, toBeDisabled, this);
|
|
1251
|
-
|
|
1252
|
-
const isDisabled = isElementOrAncestorDisabled(element);
|
|
1253
|
-
|
|
1254
|
-
return {
|
|
1255
|
-
pass: isDisabled,
|
|
1256
|
-
message: () => {
|
|
1257
|
-
const is = isDisabled ? 'is' : 'is not';
|
|
1258
|
-
return [
|
|
1259
|
-
this.utils.matcherHint(
|
|
1260
|
-
`${this.isNot ? '.not' : ''}.toBeDisabled`,
|
|
1261
|
-
'element',
|
|
1262
|
-
'',
|
|
1263
|
-
),
|
|
1264
|
-
'',
|
|
1265
|
-
`Received element ${is} disabled:`,
|
|
1266
|
-
` ${this.utils.printReceived(element.cloneNode(false))}`,
|
|
1267
|
-
].join('\n')
|
|
1268
|
-
},
|
|
1269
|
-
}
|
|
1270
|
-
}
|
|
1271
|
-
|
|
1272
|
-
function toBeEnabled(element) {
|
|
1273
|
-
checkHtmlElement(element, toBeEnabled, this);
|
|
1274
|
-
|
|
1275
|
-
const isEnabled = !isElementOrAncestorDisabled(element);
|
|
1276
|
-
|
|
1277
|
-
return {
|
|
1278
|
-
pass: isEnabled,
|
|
1279
|
-
message: () => {
|
|
1280
|
-
const is = isEnabled ? 'is' : 'is not';
|
|
1281
|
-
return [
|
|
1282
|
-
this.utils.matcherHint(
|
|
1283
|
-
`${this.isNot ? '.not' : ''}.toBeEnabled`,
|
|
1284
|
-
'element',
|
|
1285
|
-
'',
|
|
1286
|
-
),
|
|
1287
|
-
'',
|
|
1288
|
-
`Received element ${is} enabled:`,
|
|
1289
|
-
` ${this.utils.printReceived(element.cloneNode(false))}`,
|
|
1290
|
-
].join('\n')
|
|
1291
|
-
},
|
|
1292
|
-
}
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
// form elements that support 'required'
|
|
1296
|
-
const FORM_TAGS$1 = ['select', 'textarea'];
|
|
1297
|
-
|
|
1298
|
-
const ARIA_FORM_TAGS = ['input', 'select', 'textarea'];
|
|
1299
|
-
|
|
1300
|
-
const UNSUPPORTED_INPUT_TYPES = [
|
|
1301
|
-
'color',
|
|
1302
|
-
'hidden',
|
|
1303
|
-
'range',
|
|
1304
|
-
'submit',
|
|
1305
|
-
'image',
|
|
1306
|
-
'reset',
|
|
1307
|
-
];
|
|
1308
|
-
|
|
1309
|
-
const SUPPORTED_ARIA_ROLES = [
|
|
1310
|
-
'checkbox',
|
|
1311
|
-
'combobox',
|
|
1312
|
-
'gridcell',
|
|
1313
|
-
'listbox',
|
|
1314
|
-
'radiogroup',
|
|
1315
|
-
'spinbutton',
|
|
1316
|
-
'textbox',
|
|
1317
|
-
'tree',
|
|
1318
|
-
];
|
|
1319
|
-
|
|
1320
|
-
function isRequiredOnFormTagsExceptInput(element) {
|
|
1321
|
-
return FORM_TAGS$1.includes(getTag(element)) && element.hasAttribute('required')
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1324
|
-
function isRequiredOnSupportedInput(element) {
|
|
1325
|
-
return (
|
|
1326
|
-
getTag(element) === 'input' &&
|
|
1327
|
-
element.hasAttribute('required') &&
|
|
1328
|
-
((element.hasAttribute('type') &&
|
|
1329
|
-
!UNSUPPORTED_INPUT_TYPES.includes(element.getAttribute('type'))) ||
|
|
1330
|
-
!element.hasAttribute('type'))
|
|
1331
|
-
)
|
|
1332
|
-
}
|
|
1333
|
-
|
|
1334
|
-
function isElementRequiredByARIA(element) {
|
|
1335
|
-
return (
|
|
1336
|
-
element.hasAttribute('aria-required') &&
|
|
1337
|
-
element.getAttribute('aria-required') === 'true' &&
|
|
1338
|
-
(ARIA_FORM_TAGS.includes(getTag(element)) ||
|
|
1339
|
-
(element.hasAttribute('role') &&
|
|
1340
|
-
SUPPORTED_ARIA_ROLES.includes(element.getAttribute('role'))))
|
|
1341
|
-
)
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
function toBeRequired(element) {
|
|
1345
|
-
checkHtmlElement(element, toBeRequired, this);
|
|
1346
|
-
|
|
1347
|
-
const isRequired =
|
|
1348
|
-
isRequiredOnFormTagsExceptInput(element) ||
|
|
1349
|
-
isRequiredOnSupportedInput(element) ||
|
|
1350
|
-
isElementRequiredByARIA(element);
|
|
1351
|
-
|
|
1352
|
-
return {
|
|
1353
|
-
pass: isRequired,
|
|
1354
|
-
message: () => {
|
|
1355
|
-
const is = isRequired ? 'is' : 'is not';
|
|
1356
|
-
return [
|
|
1357
|
-
this.utils.matcherHint(
|
|
1358
|
-
`${this.isNot ? '.not' : ''}.toBeRequired`,
|
|
1359
|
-
'element',
|
|
1360
|
-
'',
|
|
1361
|
-
),
|
|
1362
|
-
'',
|
|
1363
|
-
`Received element ${is} required:`,
|
|
1364
|
-
` ${this.utils.printReceived(element.cloneNode(false))}`,
|
|
1365
|
-
].join('\n')
|
|
1366
|
-
},
|
|
1367
|
-
}
|
|
1368
|
-
}
|
|
1369
|
-
|
|
1370
|
-
const FORM_TAGS = ['form', 'input', 'select', 'textarea'];
|
|
1371
|
-
|
|
1372
|
-
function isElementHavingAriaInvalid(element) {
|
|
1373
|
-
return (
|
|
1374
|
-
element.hasAttribute('aria-invalid') &&
|
|
1375
|
-
element.getAttribute('aria-invalid') !== 'false'
|
|
1376
|
-
)
|
|
1377
|
-
}
|
|
1378
|
-
|
|
1379
|
-
function isSupportsValidityMethod(element) {
|
|
1380
|
-
return FORM_TAGS.includes(getTag(element))
|
|
1381
|
-
}
|
|
1382
|
-
|
|
1383
|
-
function isElementInvalid(element) {
|
|
1384
|
-
const isHaveAriaInvalid = isElementHavingAriaInvalid(element);
|
|
1385
|
-
if (isSupportsValidityMethod(element)) {
|
|
1386
|
-
return isHaveAriaInvalid || !element.checkValidity()
|
|
1387
|
-
} else {
|
|
1388
|
-
return isHaveAriaInvalid
|
|
1389
|
-
}
|
|
1390
|
-
}
|
|
1391
|
-
|
|
1392
|
-
function toBeInvalid(element) {
|
|
1393
|
-
checkHtmlElement(element, toBeInvalid, this);
|
|
1394
|
-
|
|
1395
|
-
const isInvalid = isElementInvalid(element);
|
|
1396
|
-
|
|
1397
|
-
return {
|
|
1398
|
-
pass: isInvalid,
|
|
1399
|
-
message: () => {
|
|
1400
|
-
const is = isInvalid ? 'is' : 'is not';
|
|
1401
|
-
return [
|
|
1402
|
-
this.utils.matcherHint(
|
|
1403
|
-
`${this.isNot ? '.not' : ''}.toBeInvalid`,
|
|
1404
|
-
'element',
|
|
1405
|
-
'',
|
|
1406
|
-
),
|
|
1407
|
-
'',
|
|
1408
|
-
`Received element ${is} currently invalid:`,
|
|
1409
|
-
` ${this.utils.printReceived(element.cloneNode(false))}`,
|
|
1410
|
-
].join('\n')
|
|
1411
|
-
},
|
|
1412
|
-
}
|
|
1413
|
-
}
|
|
1414
|
-
|
|
1415
|
-
function toBeValid(element) {
|
|
1416
|
-
checkHtmlElement(element, toBeValid, this);
|
|
1417
|
-
|
|
1418
|
-
const isValid = !isElementInvalid(element);
|
|
1419
|
-
|
|
1420
|
-
return {
|
|
1421
|
-
pass: isValid,
|
|
1422
|
-
message: () => {
|
|
1423
|
-
const is = isValid ? 'is' : 'is not';
|
|
1424
|
-
return [
|
|
1425
|
-
this.utils.matcherHint(
|
|
1426
|
-
`${this.isNot ? '.not' : ''}.toBeValid`,
|
|
1427
|
-
'element',
|
|
1428
|
-
'',
|
|
1429
|
-
),
|
|
1430
|
-
'',
|
|
1431
|
-
`Received element ${is} currently valid:`,
|
|
1432
|
-
` ${this.utils.printReceived(element.cloneNode(false))}`,
|
|
1433
|
-
].join('\n')
|
|
1434
|
-
},
|
|
1435
|
-
}
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
|
-
function toHaveValue(htmlElement, expectedValue) {
|
|
1439
|
-
checkHtmlElement(htmlElement, toHaveValue, this);
|
|
1440
|
-
|
|
1441
|
-
if (
|
|
1442
|
-
htmlElement.tagName.toLowerCase() === 'input' &&
|
|
1443
|
-
['checkbox', 'radio'].includes(htmlElement.type)
|
|
1444
|
-
) {
|
|
1445
|
-
throw new Error(
|
|
1446
|
-
'input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead',
|
|
1447
|
-
)
|
|
1448
|
-
}
|
|
1449
|
-
|
|
1450
|
-
const receivedValue = getSingleElementValue(htmlElement);
|
|
1451
|
-
const expectsValue = expectedValue !== undefined;
|
|
1452
|
-
|
|
1453
|
-
let expectedTypedValue = expectedValue;
|
|
1454
|
-
let receivedTypedValue = receivedValue;
|
|
1455
|
-
if (expectedValue == receivedValue && expectedValue !== receivedValue) {
|
|
1456
|
-
expectedTypedValue = `${expectedValue} (${typeof expectedValue})`;
|
|
1457
|
-
receivedTypedValue = `${receivedValue} (${typeof receivedValue})`;
|
|
1458
|
-
}
|
|
1459
|
-
|
|
1460
|
-
return {
|
|
1461
|
-
pass: expectsValue
|
|
1462
|
-
? isEqualWith(receivedValue, expectedValue, compareArraysAsSet)
|
|
1463
|
-
: Boolean(receivedValue),
|
|
1464
|
-
message: () => {
|
|
1465
|
-
const to = this.isNot ? 'not to' : 'to';
|
|
1466
|
-
const matcher = this.utils.matcherHint(
|
|
1467
|
-
`${this.isNot ? '.not' : ''}.toHaveValue`,
|
|
1468
|
-
'element',
|
|
1469
|
-
expectedValue,
|
|
1470
|
-
);
|
|
1471
|
-
return getMessage(
|
|
1472
|
-
this,
|
|
1473
|
-
matcher,
|
|
1474
|
-
`Expected the element ${to} have value`,
|
|
1475
|
-
expectsValue ? expectedTypedValue : '(any)',
|
|
1476
|
-
'Received',
|
|
1477
|
-
receivedTypedValue,
|
|
1478
|
-
)
|
|
1479
|
-
},
|
|
1480
|
-
}
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
function toHaveDisplayValue(htmlElement, expectedValue) {
|
|
1484
|
-
checkHtmlElement(htmlElement, toHaveDisplayValue, this);
|
|
1485
|
-
const tagName = htmlElement.tagName.toLowerCase();
|
|
1486
|
-
|
|
1487
|
-
if (!['select', 'input', 'textarea'].includes(tagName)) {
|
|
1488
|
-
throw new Error(
|
|
1489
|
-
'.toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.',
|
|
1490
|
-
)
|
|
1491
|
-
}
|
|
1492
|
-
|
|
1493
|
-
if (tagName === 'input' && ['radio', 'checkbox'].includes(htmlElement.type)) {
|
|
1494
|
-
throw new Error(
|
|
1495
|
-
`.toHaveDisplayValue() currently does not support input[type="${htmlElement.type}"], try with another matcher instead.`,
|
|
1496
|
-
)
|
|
1497
|
-
}
|
|
1498
|
-
|
|
1499
|
-
const values = getValues(tagName, htmlElement);
|
|
1500
|
-
const expectedValues = getExpectedValues(expectedValue);
|
|
1501
|
-
const numberOfMatchesWithValues = expectedValues.filter(expected =>
|
|
1502
|
-
values.some(value =>
|
|
1503
|
-
expected instanceof RegExp
|
|
1504
|
-
? expected.test(value)
|
|
1505
|
-
: this.equals(value, String(expected)),
|
|
1506
|
-
),
|
|
1507
|
-
).length;
|
|
1508
|
-
|
|
1509
|
-
const matchedWithAllValues = numberOfMatchesWithValues === values.length;
|
|
1510
|
-
const matchedWithAllExpectedValues =
|
|
1511
|
-
numberOfMatchesWithValues === expectedValues.length;
|
|
1512
|
-
|
|
1513
|
-
return {
|
|
1514
|
-
pass: matchedWithAllValues && matchedWithAllExpectedValues,
|
|
1515
|
-
message: () =>
|
|
1516
|
-
getMessage(
|
|
1517
|
-
this,
|
|
1518
|
-
this.utils.matcherHint(
|
|
1519
|
-
`${this.isNot ? '.not' : ''}.toHaveDisplayValue`,
|
|
1520
|
-
'element',
|
|
1521
|
-
'',
|
|
1522
|
-
),
|
|
1523
|
-
`Expected element ${this.isNot ? 'not ' : ''}to have display value`,
|
|
1524
|
-
expectedValue,
|
|
1525
|
-
'Received',
|
|
1526
|
-
values,
|
|
1527
|
-
),
|
|
1528
|
-
}
|
|
1529
|
-
}
|
|
1530
|
-
|
|
1531
|
-
function getValues(tagName, htmlElement) {
|
|
1532
|
-
return tagName === 'select'
|
|
1533
|
-
? Array.from(htmlElement)
|
|
1534
|
-
.filter(option => option.selected)
|
|
1535
|
-
.map(option => option.textContent)
|
|
1536
|
-
: [htmlElement.value]
|
|
1537
|
-
}
|
|
1538
|
-
|
|
1539
|
-
function getExpectedValues(expectedValue) {
|
|
1540
|
-
return expectedValue instanceof Array ? expectedValue : [expectedValue]
|
|
1541
|
-
}
|
|
1542
|
-
|
|
1543
|
-
function toBeChecked(element) {
|
|
1544
|
-
checkHtmlElement(element, toBeChecked, this);
|
|
1545
|
-
|
|
1546
|
-
const isValidInput = () => {
|
|
1547
|
-
return (
|
|
1548
|
-
element.tagName.toLowerCase() === 'input' &&
|
|
1549
|
-
['checkbox', 'radio'].includes(element.type)
|
|
1550
|
-
)
|
|
1551
|
-
};
|
|
1552
|
-
|
|
1553
|
-
const isValidAriaElement = () => {
|
|
1554
|
-
return (
|
|
1555
|
-
roleSupportsChecked(element.getAttribute('role')) &&
|
|
1556
|
-
['true', 'false'].includes(element.getAttribute('aria-checked'))
|
|
1557
|
-
)
|
|
1558
|
-
};
|
|
1559
|
-
|
|
1560
|
-
if (!isValidInput() && !isValidAriaElement()) {
|
|
1561
|
-
return {
|
|
1562
|
-
pass: false,
|
|
1563
|
-
message: () =>
|
|
1564
|
-
`only inputs with type="checkbox" or type="radio" or elements with ${supportedRolesSentence()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`,
|
|
1565
|
-
}
|
|
1566
|
-
}
|
|
1567
|
-
|
|
1568
|
-
const isChecked = () => {
|
|
1569
|
-
if (isValidInput()) return element.checked
|
|
1570
|
-
return element.getAttribute('aria-checked') === 'true'
|
|
1571
|
-
};
|
|
1572
|
-
|
|
1573
|
-
return {
|
|
1574
|
-
pass: isChecked(),
|
|
1575
|
-
message: () => {
|
|
1576
|
-
const is = isChecked() ? 'is' : 'is not';
|
|
1577
|
-
return [
|
|
1578
|
-
this.utils.matcherHint(
|
|
1579
|
-
`${this.isNot ? '.not' : ''}.toBeChecked`,
|
|
1580
|
-
'element',
|
|
1581
|
-
'',
|
|
1582
|
-
),
|
|
1583
|
-
'',
|
|
1584
|
-
`Received element ${is} checked:`,
|
|
1585
|
-
` ${this.utils.printReceived(element.cloneNode(false))}`,
|
|
1586
|
-
].join('\n')
|
|
1587
|
-
},
|
|
1588
|
-
}
|
|
1589
|
-
}
|
|
1590
|
-
|
|
1591
|
-
function supportedRolesSentence() {
|
|
1592
|
-
return toSentence(
|
|
1593
|
-
supportedRoles().map(role => `role="${role}"`),
|
|
1594
|
-
{lastWordConnector: ' or '},
|
|
1595
|
-
)
|
|
1596
|
-
}
|
|
1597
|
-
|
|
1598
|
-
function supportedRoles() {
|
|
1599
|
-
return roles.keys().filter(roleSupportsChecked)
|
|
1600
|
-
}
|
|
1601
|
-
|
|
1602
|
-
function roleSupportsChecked(role) {
|
|
1603
|
-
return roles.get(role)?.props['aria-checked'] !== undefined
|
|
1604
|
-
}
|
|
1605
|
-
|
|
1606
|
-
function toBePartiallyChecked(element) {
|
|
1607
|
-
checkHtmlElement(element, toBePartiallyChecked, this);
|
|
1608
|
-
|
|
1609
|
-
const isValidInput = () => {
|
|
1610
|
-
return (
|
|
1611
|
-
element.tagName.toLowerCase() === 'input' && element.type === 'checkbox'
|
|
1612
|
-
)
|
|
1613
|
-
};
|
|
1614
|
-
|
|
1615
|
-
const isValidAriaElement = () => {
|
|
1616
|
-
return element.getAttribute('role') === 'checkbox'
|
|
1617
|
-
};
|
|
1618
|
-
|
|
1619
|
-
if (!isValidInput() && !isValidAriaElement()) {
|
|
1620
|
-
return {
|
|
1621
|
-
pass: false,
|
|
1622
|
-
message: () =>
|
|
1623
|
-
'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead',
|
|
1624
|
-
}
|
|
1625
|
-
}
|
|
1626
|
-
|
|
1627
|
-
const isPartiallyChecked = () => {
|
|
1628
|
-
const isAriaMixed = element.getAttribute('aria-checked') === 'mixed';
|
|
1629
|
-
|
|
1630
|
-
if (isValidInput()) {
|
|
1631
|
-
return element.indeterminate || isAriaMixed
|
|
1632
|
-
}
|
|
1633
|
-
|
|
1634
|
-
return isAriaMixed
|
|
1635
|
-
};
|
|
1636
|
-
|
|
1637
|
-
return {
|
|
1638
|
-
pass: isPartiallyChecked(),
|
|
1639
|
-
message: () => {
|
|
1640
|
-
const is = isPartiallyChecked() ? 'is' : 'is not';
|
|
1641
|
-
return [
|
|
1642
|
-
this.utils.matcherHint(
|
|
1643
|
-
`${this.isNot ? '.not' : ''}.toBePartiallyChecked`,
|
|
1644
|
-
'element',
|
|
1645
|
-
'',
|
|
1646
|
-
),
|
|
1647
|
-
'',
|
|
1648
|
-
`Received element ${is} partially checked:`,
|
|
1649
|
-
` ${this.utils.printReceived(element.cloneNode(false))}`,
|
|
1650
|
-
].join('\n')
|
|
1651
|
-
},
|
|
1652
|
-
}
|
|
1653
|
-
}
|
|
1654
|
-
|
|
1655
|
-
// See algoritm: https://www.w3.org/TR/accname-1.1/#mapping_additional_nd_description
|
|
1656
|
-
function toHaveDescription(htmlElement, checkWith) {
|
|
1657
|
-
deprecate(
|
|
1658
|
-
'toHaveDescription',
|
|
1659
|
-
'Please use toHaveAccessibleDescription.',
|
|
1660
|
-
);
|
|
1661
|
-
|
|
1662
|
-
checkHtmlElement(htmlElement, toHaveDescription, this);
|
|
1663
|
-
|
|
1664
|
-
const expectsDescription = checkWith !== undefined;
|
|
1665
|
-
|
|
1666
|
-
const descriptionIDRaw = htmlElement.getAttribute('aria-describedby') || '';
|
|
1667
|
-
const descriptionIDs = descriptionIDRaw.split(/\s+/).filter(Boolean);
|
|
1668
|
-
let description = '';
|
|
1669
|
-
if (descriptionIDs.length > 0) {
|
|
1670
|
-
const document = htmlElement.ownerDocument;
|
|
1671
|
-
const descriptionEls = descriptionIDs
|
|
1672
|
-
.map(descriptionID => document.getElementById(descriptionID))
|
|
1673
|
-
.filter(Boolean);
|
|
1674
|
-
description = normalize(descriptionEls.map(el => el.textContent).join(' '));
|
|
1675
|
-
}
|
|
1676
|
-
|
|
1677
|
-
return {
|
|
1678
|
-
pass: expectsDescription
|
|
1679
|
-
? checkWith instanceof RegExp
|
|
1680
|
-
? checkWith.test(description)
|
|
1681
|
-
: this.equals(description, checkWith)
|
|
1682
|
-
: Boolean(description),
|
|
1683
|
-
message: () => {
|
|
1684
|
-
const to = this.isNot ? 'not to' : 'to';
|
|
1685
|
-
return getMessage(
|
|
1686
|
-
this,
|
|
1687
|
-
this.utils.matcherHint(
|
|
1688
|
-
`${this.isNot ? '.not' : ''}.toHaveDescription`,
|
|
1689
|
-
'element',
|
|
1690
|
-
'',
|
|
1691
|
-
),
|
|
1692
|
-
`Expected the element ${to} have description`,
|
|
1693
|
-
this.utils.printExpected(checkWith),
|
|
1694
|
-
'Received',
|
|
1695
|
-
this.utils.printReceived(description),
|
|
1696
|
-
)
|
|
1697
|
-
},
|
|
1698
|
-
}
|
|
1699
|
-
}
|
|
1700
|
-
|
|
1701
|
-
// See aria-errormessage spec https://www.w3.org/TR/wai-aria-1.2/#aria-errormessage
|
|
1702
|
-
function toHaveErrorMessage(htmlElement, checkWith) {
|
|
1703
|
-
deprecate('toHaveErrorMessage', 'Please use toHaveAccessibleErrorMessage.');
|
|
1704
|
-
checkHtmlElement(htmlElement, toHaveErrorMessage, this);
|
|
1705
|
-
|
|
1706
|
-
if (
|
|
1707
|
-
!htmlElement.hasAttribute('aria-invalid') ||
|
|
1708
|
-
htmlElement.getAttribute('aria-invalid') === 'false'
|
|
1709
|
-
) {
|
|
1710
|
-
const not = this.isNot ? '.not' : '';
|
|
1711
|
-
|
|
1712
|
-
return {
|
|
1713
|
-
pass: false,
|
|
1714
|
-
message: () => {
|
|
1715
|
-
return getMessage(
|
|
1716
|
-
this,
|
|
1717
|
-
this.utils.matcherHint(`${not}.toHaveErrorMessage`, 'element', ''),
|
|
1718
|
-
`Expected the element to have invalid state indicated by`,
|
|
1719
|
-
'aria-invalid="true"',
|
|
1720
|
-
'Received',
|
|
1721
|
-
htmlElement.hasAttribute('aria-invalid')
|
|
1722
|
-
? `aria-invalid="${htmlElement.getAttribute('aria-invalid')}"`
|
|
1723
|
-
: this.utils.printReceived(''),
|
|
1724
|
-
)
|
|
1725
|
-
},
|
|
1726
|
-
}
|
|
1727
|
-
}
|
|
1728
|
-
|
|
1729
|
-
const expectsErrorMessage = checkWith !== undefined;
|
|
1730
|
-
|
|
1731
|
-
const errormessageIDRaw = htmlElement.getAttribute('aria-errormessage') || '';
|
|
1732
|
-
const errormessageIDs = errormessageIDRaw.split(/\s+/).filter(Boolean);
|
|
1733
|
-
|
|
1734
|
-
let errormessage = '';
|
|
1735
|
-
if (errormessageIDs.length > 0) {
|
|
1736
|
-
const document = htmlElement.ownerDocument;
|
|
1737
|
-
|
|
1738
|
-
const errormessageEls = errormessageIDs
|
|
1739
|
-
.map(errormessageID => document.getElementById(errormessageID))
|
|
1740
|
-
.filter(Boolean);
|
|
1741
|
-
|
|
1742
|
-
errormessage = normalize(
|
|
1743
|
-
errormessageEls.map(el => el.textContent).join(' '),
|
|
1744
|
-
);
|
|
1745
|
-
}
|
|
1746
|
-
|
|
1747
|
-
return {
|
|
1748
|
-
pass: expectsErrorMessage
|
|
1749
|
-
? checkWith instanceof RegExp
|
|
1750
|
-
? checkWith.test(errormessage)
|
|
1751
|
-
: this.equals(errormessage, checkWith)
|
|
1752
|
-
: Boolean(errormessage),
|
|
1753
|
-
message: () => {
|
|
1754
|
-
const to = this.isNot ? 'not to' : 'to';
|
|
1755
|
-
return getMessage(
|
|
1756
|
-
this,
|
|
1757
|
-
this.utils.matcherHint(
|
|
1758
|
-
`${this.isNot ? '.not' : ''}.toHaveErrorMessage`,
|
|
1759
|
-
'element',
|
|
1760
|
-
'',
|
|
1761
|
-
),
|
|
1762
|
-
`Expected the element ${to} have error message`,
|
|
1763
|
-
this.utils.printExpected(checkWith),
|
|
1764
|
-
'Received',
|
|
1765
|
-
this.utils.printReceived(errormessage),
|
|
1766
|
-
)
|
|
1767
|
-
},
|
|
1768
|
-
}
|
|
1769
|
-
}
|
|
1770
|
-
|
|
1771
|
-
/**
|
|
1772
|
-
* Returns the selection from the element.
|
|
1773
|
-
*
|
|
1774
|
-
* @param element {HTMLElement} The element to get the selection from.
|
|
1775
|
-
* @returns {String} The selection.
|
|
1776
|
-
*/
|
|
1777
|
-
function getSelection(element) {
|
|
1778
|
-
const selection = element.ownerDocument.getSelection();
|
|
1779
|
-
|
|
1780
|
-
if (['input', 'textarea'].includes(element.tagName.toLowerCase())) {
|
|
1781
|
-
if (['radio', 'checkbox'].includes(element.type)) return ''
|
|
1782
|
-
return element.value
|
|
1783
|
-
.toString()
|
|
1784
|
-
.substring(element.selectionStart, element.selectionEnd)
|
|
1785
|
-
}
|
|
1786
|
-
|
|
1787
|
-
if (selection.anchorNode === null || selection.focusNode === null) {
|
|
1788
|
-
// No selection
|
|
1789
|
-
return ''
|
|
1790
|
-
}
|
|
1791
|
-
|
|
1792
|
-
const originalRange = selection.getRangeAt(0);
|
|
1793
|
-
const temporaryRange = element.ownerDocument.createRange();
|
|
1794
|
-
|
|
1795
|
-
if (selection.containsNode(element, false)) {
|
|
1796
|
-
// Whole element is inside selection
|
|
1797
|
-
temporaryRange.selectNodeContents(element);
|
|
1798
|
-
selection.removeAllRanges();
|
|
1799
|
-
selection.addRange(temporaryRange);
|
|
1800
|
-
} else if (
|
|
1801
|
-
element.contains(selection.anchorNode) &&
|
|
1802
|
-
element.contains(selection.focusNode)
|
|
1803
|
-
) ; else {
|
|
1804
|
-
// Element is partially selected
|
|
1805
|
-
const selectionStartsWithinElement =
|
|
1806
|
-
element === originalRange.startContainer ||
|
|
1807
|
-
element.contains(originalRange.startContainer);
|
|
1808
|
-
const selectionEndsWithinElement =
|
|
1809
|
-
element === originalRange.endContainer ||
|
|
1810
|
-
element.contains(originalRange.endContainer);
|
|
1811
|
-
selection.removeAllRanges();
|
|
1812
|
-
|
|
1813
|
-
if (selectionStartsWithinElement || selectionEndsWithinElement) {
|
|
1814
|
-
temporaryRange.selectNodeContents(element);
|
|
1815
|
-
|
|
1816
|
-
if (selectionStartsWithinElement) {
|
|
1817
|
-
temporaryRange.setStart(
|
|
1818
|
-
originalRange.startContainer,
|
|
1819
|
-
originalRange.startOffset,
|
|
1820
|
-
);
|
|
1821
|
-
}
|
|
1822
|
-
if (selectionEndsWithinElement) {
|
|
1823
|
-
temporaryRange.setEnd(
|
|
1824
|
-
originalRange.endContainer,
|
|
1825
|
-
originalRange.endOffset,
|
|
1826
|
-
);
|
|
1827
|
-
}
|
|
1828
|
-
|
|
1829
|
-
selection.addRange(temporaryRange);
|
|
1830
|
-
}
|
|
1831
|
-
}
|
|
1832
|
-
|
|
1833
|
-
const result = selection.toString();
|
|
1834
|
-
|
|
1835
|
-
selection.removeAllRanges();
|
|
1836
|
-
selection.addRange(originalRange);
|
|
1837
|
-
|
|
1838
|
-
return result
|
|
1839
|
-
}
|
|
1840
|
-
|
|
1841
|
-
/**
|
|
1842
|
-
* Checks if the element has the string selected.
|
|
1843
|
-
*
|
|
1844
|
-
* @param htmlElement {HTMLElement} The html element to check the selection for.
|
|
1845
|
-
* @param expectedSelection {String} The selection as a string.
|
|
1846
|
-
*/
|
|
1847
|
-
function toHaveSelection(htmlElement, expectedSelection) {
|
|
1848
|
-
checkHtmlElement(htmlElement, toHaveSelection, this);
|
|
1849
|
-
|
|
1850
|
-
const expectsSelection = expectedSelection !== undefined;
|
|
1851
|
-
|
|
1852
|
-
if (expectsSelection && typeof expectedSelection !== 'string') {
|
|
1853
|
-
throw new Error(`expected selection must be a string or undefined`)
|
|
1854
|
-
}
|
|
1855
|
-
|
|
1856
|
-
const receivedSelection = getSelection(htmlElement);
|
|
1857
|
-
|
|
1858
|
-
return {
|
|
1859
|
-
pass: expectsSelection
|
|
1860
|
-
? isEqualWith(receivedSelection, expectedSelection, compareArraysAsSet)
|
|
1861
|
-
: Boolean(receivedSelection),
|
|
1862
|
-
message: () => {
|
|
1863
|
-
const to = this.isNot ? 'not to' : 'to';
|
|
1864
|
-
const matcher = this.utils.matcherHint(
|
|
1865
|
-
`${this.isNot ? '.not' : ''}.toHaveSelection`,
|
|
1866
|
-
'element',
|
|
1867
|
-
expectedSelection,
|
|
1868
|
-
);
|
|
1869
|
-
return getMessage(
|
|
1870
|
-
this,
|
|
1871
|
-
matcher,
|
|
1872
|
-
`Expected the element ${to} have selection`,
|
|
1873
|
-
expectsSelection ? expectedSelection : '(any)',
|
|
1874
|
-
'Received',
|
|
1875
|
-
receivedSelection,
|
|
1876
|
-
)
|
|
1877
|
-
},
|
|
1878
|
-
}
|
|
1879
|
-
}
|
|
1880
|
-
|
|
1881
|
-
var extensions = /*#__PURE__*/Object.freeze({
|
|
1882
|
-
__proto__: null,
|
|
1883
|
-
toBeChecked: toBeChecked,
|
|
1884
|
-
toBeDisabled: toBeDisabled,
|
|
1885
|
-
toBeEmpty: toBeEmpty,
|
|
1886
|
-
toBeEmptyDOMElement: toBeEmptyDOMElement,
|
|
1887
|
-
toBeEnabled: toBeEnabled,
|
|
1888
|
-
toBeInTheDOM: toBeInTheDOM,
|
|
1889
|
-
toBeInTheDocument: toBeInTheDocument,
|
|
1890
|
-
toBeInvalid: toBeInvalid,
|
|
1891
|
-
toBePartiallyChecked: toBePartiallyChecked,
|
|
1892
|
-
toBeRequired: toBeRequired,
|
|
1893
|
-
toBeValid: toBeValid,
|
|
1894
|
-
toBeVisible: toBeVisible,
|
|
1895
|
-
toContainElement: toContainElement,
|
|
1896
|
-
toContainHTML: toContainHTML,
|
|
1897
|
-
toHaveAccessibleDescription: toHaveAccessibleDescription,
|
|
1898
|
-
toHaveAccessibleErrorMessage: toHaveAccessibleErrorMessage,
|
|
1899
|
-
toHaveAccessibleName: toHaveAccessibleName,
|
|
1900
|
-
toHaveAttribute: toHaveAttribute,
|
|
1901
|
-
toHaveClass: toHaveClass,
|
|
1902
|
-
toHaveDescription: toHaveDescription,
|
|
1903
|
-
toHaveDisplayValue: toHaveDisplayValue,
|
|
1904
|
-
toHaveErrorMessage: toHaveErrorMessage,
|
|
1905
|
-
toHaveFocus: toHaveFocus,
|
|
1906
|
-
toHaveFormValues: toHaveFormValues,
|
|
1907
|
-
toHaveRole: toHaveRole,
|
|
1908
|
-
toHaveSelection: toHaveSelection,
|
|
1909
|
-
toHaveStyle: toHaveStyle,
|
|
1910
|
-
toHaveTextContent: toHaveTextContent,
|
|
1911
|
-
toHaveValue: toHaveValue
|
|
1912
|
-
});
|
|
1913
|
-
|
|
1914
|
-
export { toBePartiallyChecked as A, toHaveDescription as B, toHaveErrorMessage as C, toHaveSelection as D, toBeInTheDocument as a, toBeEmpty as b, toBeEmptyDOMElement as c, toContainElement as d, extensions as e, toContainHTML as f, toHaveTextContent as g, toHaveAccessibleDescription as h, toHaveAccessibleErrorMessage as i, toHaveRole as j, toHaveAccessibleName as k, toHaveAttribute as l, toHaveClass as m, toHaveStyle as n, toHaveFocus as o, toHaveFormValues as p, toBeVisible as q, toBeDisabled as r, toBeEnabled as s, toBeInTheDOM as t, toBeRequired as u, toBeInvalid as v, toBeValid as w, toHaveValue as x, toHaveDisplayValue as y, toBeChecked as z };
|