@dotss/ui 0.0.7 → 0.0.8
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/package.json +2 -2
- 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
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
require('../../event/behavior/click.js');
|
|
4
|
-
require('../../event/behavior/cut.js');
|
|
5
|
-
require('../../event/behavior/keydown.js');
|
|
6
|
-
require('../../event/behavior/keypress.js');
|
|
7
|
-
require('../../event/behavior/keyup.js');
|
|
8
|
-
require('../../event/behavior/paste.js');
|
|
9
|
-
require('@testing-library/dom');
|
|
10
|
-
require('../../utils/dataTransfer/Clipboard.js');
|
|
11
|
-
var isDisabled = require('../../utils/misc/isDisabled.js');
|
|
12
|
-
var getTreeDiff = require('../../utils/misc/getTreeDiff.js');
|
|
13
|
-
var focus = require('../../event/focus.js');
|
|
14
|
-
var setSelectionPerMouse = require('../../event/selection/setSelectionPerMouse.js');
|
|
15
|
-
var modifySelectionPerMouse = require('../../event/selection/modifySelectionPerMouse.js');
|
|
16
|
-
var buttons = require('./buttons.js');
|
|
17
|
-
var shared = require('./shared.js');
|
|
18
|
-
|
|
19
|
-
function _define_property(obj, key, value) {
|
|
20
|
-
if (key in obj) {
|
|
21
|
-
Object.defineProperty(obj, key, {
|
|
22
|
-
value: value,
|
|
23
|
-
enumerable: true,
|
|
24
|
-
configurable: true,
|
|
25
|
-
writable: true
|
|
26
|
-
});
|
|
27
|
-
} else {
|
|
28
|
-
obj[key] = value;
|
|
29
|
-
}
|
|
30
|
-
return obj;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* This object is the single "virtual" mouse that might be controlled by multiple different pointer devices.
|
|
34
|
-
*/ class Mouse {
|
|
35
|
-
move(instance, position, /** Whether `preventDefault()` has been called on the `pointerdown` event */ isPrevented) {
|
|
36
|
-
const prevPosition = this.position;
|
|
37
|
-
const prevTarget = this.getTarget(instance);
|
|
38
|
-
this.position = position;
|
|
39
|
-
if (!shared.isDifferentPointerPosition(prevPosition, position)) {
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
42
|
-
const nextTarget = this.getTarget(instance);
|
|
43
|
-
const init = this.getEventInit('mousemove');
|
|
44
|
-
const [leave, enter] = getTreeDiff.getTreeDiff(prevTarget, nextTarget);
|
|
45
|
-
return {
|
|
46
|
-
leave: ()=>{
|
|
47
|
-
if (prevTarget !== nextTarget) {
|
|
48
|
-
instance.dispatchUIEvent(prevTarget, 'mouseout', init);
|
|
49
|
-
leave.forEach((el)=>instance.dispatchUIEvent(el, 'mouseleave', init));
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
enter: ()=>{
|
|
53
|
-
if (prevTarget !== nextTarget) {
|
|
54
|
-
instance.dispatchUIEvent(nextTarget, 'mouseover', init);
|
|
55
|
-
enter.forEach((el)=>instance.dispatchUIEvent(el, 'mouseenter', init));
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
move: ()=>{
|
|
59
|
-
if (isPrevented) {
|
|
60
|
-
return;
|
|
61
|
-
}
|
|
62
|
-
instance.dispatchUIEvent(nextTarget, 'mousemove', init);
|
|
63
|
-
this.modifySelecting(instance);
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
down(instance, keyDef, /** Whether `preventDefault()` has been called on the `pointerdown` event */ isPrevented) {
|
|
68
|
-
const button = this.buttons.down(keyDef);
|
|
69
|
-
if (button === undefined) {
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
const target = this.getTarget(instance);
|
|
73
|
-
this.buttonDownTarget[button] = target;
|
|
74
|
-
const init = this.getEventInit('mousedown', keyDef.button);
|
|
75
|
-
const disabled = isDisabled.isDisabled(target);
|
|
76
|
-
if (!isPrevented && (disabled || instance.dispatchUIEvent(target, 'mousedown', init))) {
|
|
77
|
-
this.startSelecting(instance, init.detail);
|
|
78
|
-
focus.focusElement(target);
|
|
79
|
-
}
|
|
80
|
-
if (!disabled && buttons.getMouseEventButton(keyDef.button) === 2) {
|
|
81
|
-
instance.dispatchUIEvent(target, 'contextmenu', this.getEventInit('contextmenu', keyDef.button));
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
up(instance, keyDef, /** Whether `preventDefault()` has been called on the `pointerdown` event */ isPrevented) {
|
|
85
|
-
const button = this.buttons.up(keyDef);
|
|
86
|
-
if (button === undefined) {
|
|
87
|
-
return;
|
|
88
|
-
}
|
|
89
|
-
const target = this.getTarget(instance);
|
|
90
|
-
if (!isDisabled.isDisabled(target)) {
|
|
91
|
-
if (!isPrevented) {
|
|
92
|
-
const mouseUpInit = this.getEventInit('mouseup', keyDef.button);
|
|
93
|
-
instance.dispatchUIEvent(target, 'mouseup', mouseUpInit);
|
|
94
|
-
this.endSelecting();
|
|
95
|
-
}
|
|
96
|
-
const clickTarget = getTreeDiff.getTreeDiff(this.buttonDownTarget[button], target)[2][0];
|
|
97
|
-
if (clickTarget) {
|
|
98
|
-
const init = this.getEventInit('click', keyDef.button);
|
|
99
|
-
if (init.detail) {
|
|
100
|
-
instance.dispatchUIEvent(clickTarget, init.button === 0 ? 'click' : 'auxclick', init);
|
|
101
|
-
if (init.button === 0 && init.detail === 2) {
|
|
102
|
-
instance.dispatchUIEvent(clickTarget, 'dblclick', {
|
|
103
|
-
...this.getEventInit('dblclick', keyDef.button),
|
|
104
|
-
detail: init.detail
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
resetClickCount() {
|
|
112
|
-
this.clickCount.reset();
|
|
113
|
-
}
|
|
114
|
-
getEventInit(type, button) {
|
|
115
|
-
const init = {
|
|
116
|
-
...this.position.coords
|
|
117
|
-
};
|
|
118
|
-
init.button = buttons.getMouseEventButton(button);
|
|
119
|
-
init.buttons = this.buttons.getButtons();
|
|
120
|
-
if (type === 'mousedown') {
|
|
121
|
-
init.detail = this.clickCount.getOnDown(init.button);
|
|
122
|
-
} else if (type === 'mouseup') {
|
|
123
|
-
init.detail = this.clickCount.getOnUp(init.button);
|
|
124
|
-
} else if (type === 'click' || type === 'auxclick') {
|
|
125
|
-
init.detail = this.clickCount.incOnClick(init.button);
|
|
126
|
-
}
|
|
127
|
-
return init;
|
|
128
|
-
}
|
|
129
|
-
getTarget(instance) {
|
|
130
|
-
var _this_position_target;
|
|
131
|
-
return (_this_position_target = this.position.target) !== null && _this_position_target !== undefined ? _this_position_target : instance.config.document.body;
|
|
132
|
-
}
|
|
133
|
-
startSelecting(instance, clickCount) {
|
|
134
|
-
var _this_position_caret, _this_position_caret1;
|
|
135
|
-
// TODO: support extending range (shift)
|
|
136
|
-
this.selecting = setSelectionPerMouse.setSelectionPerMouseDown({
|
|
137
|
-
document: instance.config.document,
|
|
138
|
-
target: this.getTarget(instance),
|
|
139
|
-
node: (_this_position_caret = this.position.caret) === null || _this_position_caret === undefined ? undefined : _this_position_caret.node,
|
|
140
|
-
offset: (_this_position_caret1 = this.position.caret) === null || _this_position_caret1 === undefined ? undefined : _this_position_caret1.offset,
|
|
141
|
-
clickCount
|
|
142
|
-
});
|
|
143
|
-
}
|
|
144
|
-
modifySelecting(instance) {
|
|
145
|
-
var _this_position_caret, _this_position_caret1;
|
|
146
|
-
if (!this.selecting) {
|
|
147
|
-
return;
|
|
148
|
-
}
|
|
149
|
-
modifySelectionPerMouse.modifySelectionPerMouseMove(this.selecting, {
|
|
150
|
-
document: instance.config.document,
|
|
151
|
-
target: this.getTarget(instance),
|
|
152
|
-
node: (_this_position_caret = this.position.caret) === null || _this_position_caret === undefined ? undefined : _this_position_caret.node,
|
|
153
|
-
offset: (_this_position_caret1 = this.position.caret) === null || _this_position_caret1 === undefined ? undefined : _this_position_caret1.offset
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
endSelecting() {
|
|
157
|
-
this.selecting = undefined;
|
|
158
|
-
}
|
|
159
|
-
constructor(){
|
|
160
|
-
_define_property(this, "position", {});
|
|
161
|
-
_define_property(this, "buttons", new buttons.Buttons());
|
|
162
|
-
_define_property(this, "selecting", undefined);
|
|
163
|
-
_define_property(this, "buttonDownTarget", {});
|
|
164
|
-
// According to spec the `detail` on click events should be the number
|
|
165
|
-
// of *consecutive* clicks with a specific button.
|
|
166
|
-
// On `mousedown` and `mouseup` it should be this number increased by one.
|
|
167
|
-
// But the browsers don't implement it this way.
|
|
168
|
-
// If another button is pressed,
|
|
169
|
-
// in Webkit: the `mouseup` on the previously pressed button has `detail: 0` and no `click`/`auxclick`.
|
|
170
|
-
// in Gecko: the `mouseup` and click events have the same detail as the `mousedown`.
|
|
171
|
-
// If there is a delay while a button is pressed,
|
|
172
|
-
// the `mouseup` and `click` are normal, but a following `mousedown` starts a new click count.
|
|
173
|
-
// We'll follow the minimal implementation of Webkit.
|
|
174
|
-
_define_property(this, "clickCount", new class {
|
|
175
|
-
incOnClick(button) {
|
|
176
|
-
const current = this.down[button] === undefined ? undefined : Number(this.down[button]) + 1;
|
|
177
|
-
this.count = this.count[button] === undefined ? {} : {
|
|
178
|
-
[button]: Number(this.count[button]) + 1
|
|
179
|
-
};
|
|
180
|
-
return current;
|
|
181
|
-
}
|
|
182
|
-
getOnDown(button) {
|
|
183
|
-
var _this_count_button;
|
|
184
|
-
this.down = {
|
|
185
|
-
[button]: (_this_count_button = this.count[button]) !== null && _this_count_button !== undefined ? _this_count_button : 0
|
|
186
|
-
};
|
|
187
|
-
var _this_count_button1;
|
|
188
|
-
this.count = {
|
|
189
|
-
[button]: (_this_count_button1 = this.count[button]) !== null && _this_count_button1 !== undefined ? _this_count_button1 : 0
|
|
190
|
-
};
|
|
191
|
-
return Number(this.count[button]) + 1;
|
|
192
|
-
}
|
|
193
|
-
getOnUp(button) {
|
|
194
|
-
return this.down[button] === undefined ? undefined : Number(this.down[button]) + 1;
|
|
195
|
-
}
|
|
196
|
-
reset() {
|
|
197
|
-
this.count = {};
|
|
198
|
-
}
|
|
199
|
-
constructor(){
|
|
200
|
-
_define_property(this, "down", {});
|
|
201
|
-
_define_property(this, "count", {});
|
|
202
|
-
}
|
|
203
|
-
}());
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
exports.Mouse = Mouse;
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
require('../../utils/dataTransfer/Clipboard.js');
|
|
4
|
-
var getTreeDiff = require('../../utils/misc/getTreeDiff.js');
|
|
5
|
-
var cssPointerEvents = require('../../utils/pointer/cssPointerEvents.js');
|
|
6
|
-
var shared = require('./shared.js');
|
|
7
|
-
var buttons = require('./buttons.js');
|
|
8
|
-
|
|
9
|
-
function _define_property(obj, key, value) {
|
|
10
|
-
if (key in obj) {
|
|
11
|
-
Object.defineProperty(obj, key, {
|
|
12
|
-
value: value,
|
|
13
|
-
enumerable: true,
|
|
14
|
-
configurable: true,
|
|
15
|
-
writable: true
|
|
16
|
-
});
|
|
17
|
-
} else {
|
|
18
|
-
obj[key] = value;
|
|
19
|
-
}
|
|
20
|
-
return obj;
|
|
21
|
-
}
|
|
22
|
-
class Pointer {
|
|
23
|
-
init(instance) {
|
|
24
|
-
const target = this.getTarget(instance);
|
|
25
|
-
const [, enter] = getTreeDiff.getTreeDiff(null, target);
|
|
26
|
-
const init = this.getEventInit();
|
|
27
|
-
cssPointerEvents.assertPointerEvents(instance, target);
|
|
28
|
-
instance.dispatchUIEvent(target, 'pointerover', init);
|
|
29
|
-
enter.forEach((el)=>instance.dispatchUIEvent(el, 'pointerenter', init));
|
|
30
|
-
return this;
|
|
31
|
-
}
|
|
32
|
-
move(instance, position) {
|
|
33
|
-
const prevPosition = this.position;
|
|
34
|
-
const prevTarget = this.getTarget(instance);
|
|
35
|
-
this.position = position;
|
|
36
|
-
if (!shared.isDifferentPointerPosition(prevPosition, position)) {
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
const nextTarget = this.getTarget(instance);
|
|
40
|
-
const init = this.getEventInit(-1);
|
|
41
|
-
const [leave, enter] = getTreeDiff.getTreeDiff(prevTarget, nextTarget);
|
|
42
|
-
return {
|
|
43
|
-
leave: ()=>{
|
|
44
|
-
if (cssPointerEvents.hasPointerEvents(instance, prevTarget)) {
|
|
45
|
-
if (prevTarget !== nextTarget) {
|
|
46
|
-
instance.dispatchUIEvent(prevTarget, 'pointerout', init);
|
|
47
|
-
leave.forEach((el)=>instance.dispatchUIEvent(el, 'pointerleave', init));
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
enter: ()=>{
|
|
52
|
-
cssPointerEvents.assertPointerEvents(instance, nextTarget);
|
|
53
|
-
if (prevTarget !== nextTarget) {
|
|
54
|
-
instance.dispatchUIEvent(nextTarget, 'pointerover', init);
|
|
55
|
-
enter.forEach((el)=>instance.dispatchUIEvent(el, 'pointerenter', init));
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
move: ()=>{
|
|
59
|
-
instance.dispatchUIEvent(nextTarget, 'pointermove', init);
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
down(instance, button = 0) {
|
|
64
|
-
if (this.isDown) {
|
|
65
|
-
return;
|
|
66
|
-
}
|
|
67
|
-
const target = this.getTarget(instance);
|
|
68
|
-
cssPointerEvents.assertPointerEvents(instance, target);
|
|
69
|
-
this.isDown = true;
|
|
70
|
-
this.isPrevented = !instance.dispatchUIEvent(target, 'pointerdown', this.getEventInit(button));
|
|
71
|
-
}
|
|
72
|
-
up(instance, button = 0) {
|
|
73
|
-
if (!this.isDown) {
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
const target = this.getTarget(instance);
|
|
77
|
-
cssPointerEvents.assertPointerEvents(instance, target);
|
|
78
|
-
this.isPrevented = false;
|
|
79
|
-
this.isDown = false;
|
|
80
|
-
instance.dispatchUIEvent(target, 'pointerup', this.getEventInit(button));
|
|
81
|
-
}
|
|
82
|
-
release(instance) {
|
|
83
|
-
const target = this.getTarget(instance);
|
|
84
|
-
const [leave] = getTreeDiff.getTreeDiff(target, null);
|
|
85
|
-
const init = this.getEventInit();
|
|
86
|
-
// Currently there is no PointerEventsCheckLevel that would
|
|
87
|
-
// make this check not use the *asserted* cached value from `up`.
|
|
88
|
-
/* istanbul ignore else */ if (cssPointerEvents.hasPointerEvents(instance, target)) {
|
|
89
|
-
instance.dispatchUIEvent(target, 'pointerout', init);
|
|
90
|
-
leave.forEach((el)=>instance.dispatchUIEvent(el, 'pointerleave', init));
|
|
91
|
-
}
|
|
92
|
-
this.isCancelled = true;
|
|
93
|
-
}
|
|
94
|
-
getTarget(instance) {
|
|
95
|
-
var _this_position_target;
|
|
96
|
-
return (_this_position_target = this.position.target) !== null && _this_position_target !== undefined ? _this_position_target : instance.config.document.body;
|
|
97
|
-
}
|
|
98
|
-
getEventInit(/**
|
|
99
|
-
* The `button` that caused the event.
|
|
100
|
-
*
|
|
101
|
-
* This should be `-1` if the event is not caused by a button or touch/pen contact,
|
|
102
|
-
* e.g. a moving pointer.
|
|
103
|
-
*/ button) {
|
|
104
|
-
return {
|
|
105
|
-
...this.position.coords,
|
|
106
|
-
pointerId: this.pointerId,
|
|
107
|
-
pointerType: this.pointerType,
|
|
108
|
-
isPrimary: this.isPrimary,
|
|
109
|
-
button: buttons.getMouseEventButton(button),
|
|
110
|
-
buttons: this.buttons.getButtons()
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
constructor({ pointerId, pointerType, isPrimary }, buttons){
|
|
114
|
-
_define_property(this, "pointerId", undefined);
|
|
115
|
-
_define_property(this, "pointerType", undefined);
|
|
116
|
-
_define_property(this, "isPrimary", undefined);
|
|
117
|
-
_define_property(this, "buttons", undefined);
|
|
118
|
-
_define_property(this, "isMultitouch", false);
|
|
119
|
-
_define_property(this, "isCancelled", false);
|
|
120
|
-
_define_property(this, "isDown", false);
|
|
121
|
-
_define_property(this, "isPrevented", false);
|
|
122
|
-
_define_property(this, "position", {});
|
|
123
|
-
this.pointerId = pointerId;
|
|
124
|
-
this.pointerType = pointerType;
|
|
125
|
-
this.isPrimary = isPrimary;
|
|
126
|
-
this.isMultitouch = !isPrimary;
|
|
127
|
-
this.buttons = buttons;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
exports.Pointer = Pointer;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
function isDifferentPointerPosition(positionA, positionB) {
|
|
4
|
-
var _positionA_coords, _positionB_coords, _positionA_coords1, _positionB_coords1, _positionA_coords2, _positionB_coords2, _positionA_coords3, _positionB_coords3, _positionA_coords4, _positionB_coords4, _positionA_coords5, _positionB_coords5, _positionA_coords6, _positionB_coords6, _positionA_coords7, _positionB_coords7, _positionA_coords8, _positionB_coords8, _positionA_coords9, _positionB_coords9, _positionA_caret, _positionB_caret, _positionA_caret1, _positionB_caret1;
|
|
5
|
-
return positionA.target !== positionB.target || ((_positionA_coords = positionA.coords) === null || _positionA_coords === undefined ? undefined : _positionA_coords.x) !== ((_positionB_coords = positionB.coords) === null || _positionB_coords === undefined ? undefined : _positionB_coords.x) || ((_positionA_coords1 = positionA.coords) === null || _positionA_coords1 === undefined ? undefined : _positionA_coords1.y) !== ((_positionB_coords1 = positionB.coords) === null || _positionB_coords1 === undefined ? undefined : _positionB_coords1.y) || ((_positionA_coords2 = positionA.coords) === null || _positionA_coords2 === undefined ? undefined : _positionA_coords2.clientX) !== ((_positionB_coords2 = positionB.coords) === null || _positionB_coords2 === undefined ? undefined : _positionB_coords2.clientX) || ((_positionA_coords3 = positionA.coords) === null || _positionA_coords3 === undefined ? undefined : _positionA_coords3.clientY) !== ((_positionB_coords3 = positionB.coords) === null || _positionB_coords3 === undefined ? undefined : _positionB_coords3.clientY) || ((_positionA_coords4 = positionA.coords) === null || _positionA_coords4 === undefined ? undefined : _positionA_coords4.offsetX) !== ((_positionB_coords4 = positionB.coords) === null || _positionB_coords4 === undefined ? undefined : _positionB_coords4.offsetX) || ((_positionA_coords5 = positionA.coords) === null || _positionA_coords5 === undefined ? undefined : _positionA_coords5.offsetY) !== ((_positionB_coords5 = positionB.coords) === null || _positionB_coords5 === undefined ? undefined : _positionB_coords5.offsetY) || ((_positionA_coords6 = positionA.coords) === null || _positionA_coords6 === undefined ? undefined : _positionA_coords6.pageX) !== ((_positionB_coords6 = positionB.coords) === null || _positionB_coords6 === undefined ? undefined : _positionB_coords6.pageX) || ((_positionA_coords7 = positionA.coords) === null || _positionA_coords7 === undefined ? undefined : _positionA_coords7.pageY) !== ((_positionB_coords7 = positionB.coords) === null || _positionB_coords7 === undefined ? undefined : _positionB_coords7.pageY) || ((_positionA_coords8 = positionA.coords) === null || _positionA_coords8 === undefined ? undefined : _positionA_coords8.screenX) !== ((_positionB_coords8 = positionB.coords) === null || _positionB_coords8 === undefined ? undefined : _positionB_coords8.screenX) || ((_positionA_coords9 = positionA.coords) === null || _positionA_coords9 === undefined ? undefined : _positionA_coords9.screenY) !== ((_positionB_coords9 = positionB.coords) === null || _positionB_coords9 === undefined ? undefined : _positionB_coords9.screenY) || ((_positionA_caret = positionA.caret) === null || _positionA_caret === undefined ? undefined : _positionA_caret.node) !== ((_positionB_caret = positionB.caret) === null || _positionB_caret === undefined ? undefined : _positionB_caret.node) || ((_positionA_caret1 = positionA.caret) === null || _positionA_caret1 === undefined ? undefined : _positionA_caret1.offset) !== ((_positionB_caret1 = positionB.caret) === null || _positionB_caret1 === undefined ? undefined : _positionB_caret1.offset);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
exports.isDifferentPointerPosition = isDifferentPointerPosition;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
require('../event/behavior/click.js');
|
|
4
|
-
require('../event/behavior/cut.js');
|
|
5
|
-
require('../event/behavior/keydown.js');
|
|
6
|
-
require('../event/behavior/keypress.js');
|
|
7
|
-
require('../event/behavior/keyup.js');
|
|
8
|
-
require('../event/behavior/paste.js');
|
|
9
|
-
require('@testing-library/dom');
|
|
10
|
-
require('../utils/dataTransfer/Clipboard.js');
|
|
11
|
-
var isEditable = require('../utils/edit/isEditable.js');
|
|
12
|
-
var isDisabled = require('../utils/misc/isDisabled.js');
|
|
13
|
-
var focus = require('../event/focus.js');
|
|
14
|
-
var input = require('../event/input.js');
|
|
15
|
-
var selectAll = require('../event/selection/selectAll.js');
|
|
16
|
-
|
|
17
|
-
async function clear(element) {
|
|
18
|
-
if (!isEditable.isEditable(element) || isDisabled.isDisabled(element)) {
|
|
19
|
-
throw new Error('clear()` is only supported on editable elements.');
|
|
20
|
-
}
|
|
21
|
-
focus.focusElement(element);
|
|
22
|
-
if (element.ownerDocument.activeElement !== element) {
|
|
23
|
-
throw new Error('The element to be cleared could not be focused.');
|
|
24
|
-
}
|
|
25
|
-
selectAll.selectAll(element);
|
|
26
|
-
if (!selectAll.isAllSelected(element)) {
|
|
27
|
-
throw new Error('The element content to be cleared could not be selected.');
|
|
28
|
-
}
|
|
29
|
-
input.input(this, element, '', 'deleteContentBackward');
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
exports.clear = clear;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var clear = require('./clear.js');
|
|
4
|
-
var selectOptions = require('./selectOptions.js');
|
|
5
|
-
var type = require('./type.js');
|
|
6
|
-
var upload = require('./upload.js');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.clear = clear.clear;
|
|
11
|
-
exports.deselectOptions = selectOptions.deselectOptions;
|
|
12
|
-
exports.selectOptions = selectOptions.selectOptions;
|
|
13
|
-
exports.type = type.type;
|
|
14
|
-
exports.upload = upload.upload;
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var dom = require('@testing-library/dom');
|
|
4
|
-
var isElementType = require('../utils/misc/isElementType.js');
|
|
5
|
-
require('../utils/dataTransfer/Clipboard.js');
|
|
6
|
-
var isDisabled = require('../utils/misc/isDisabled.js');
|
|
7
|
-
var wait = require('../utils/misc/wait.js');
|
|
8
|
-
var cssPointerEvents = require('../utils/pointer/cssPointerEvents.js');
|
|
9
|
-
require('../event/behavior/click.js');
|
|
10
|
-
require('../event/behavior/cut.js');
|
|
11
|
-
require('../event/behavior/keydown.js');
|
|
12
|
-
require('../event/behavior/keypress.js');
|
|
13
|
-
require('../event/behavior/keyup.js');
|
|
14
|
-
require('../event/behavior/paste.js');
|
|
15
|
-
var focus = require('../event/focus.js');
|
|
16
|
-
|
|
17
|
-
async function selectOptions(select, values) {
|
|
18
|
-
return selectOptionsBase.call(this, true, select, values);
|
|
19
|
-
}
|
|
20
|
-
async function deselectOptions(select, values) {
|
|
21
|
-
return selectOptionsBase.call(this, false, select, values);
|
|
22
|
-
}
|
|
23
|
-
async function selectOptionsBase(newValue, select, values) {
|
|
24
|
-
if (!newValue && !select.multiple) {
|
|
25
|
-
throw dom.getConfig().getElementError(`Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.`, select);
|
|
26
|
-
}
|
|
27
|
-
const valArray = Array.isArray(values) ? values : [
|
|
28
|
-
values
|
|
29
|
-
];
|
|
30
|
-
const allOptions = Array.from(select.querySelectorAll('option, [role="option"]'));
|
|
31
|
-
const selectedOptions = valArray.map((val)=>{
|
|
32
|
-
if (typeof val !== 'string' && allOptions.includes(val)) {
|
|
33
|
-
return val;
|
|
34
|
-
} else {
|
|
35
|
-
const matchingOption = allOptions.find((o)=>o.value === val || o.innerHTML === val);
|
|
36
|
-
if (matchingOption) {
|
|
37
|
-
return matchingOption;
|
|
38
|
-
} else {
|
|
39
|
-
throw dom.getConfig().getElementError(`Value "${String(val)}" not found in options`, select);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}).filter((option)=>!isDisabled.isDisabled(option));
|
|
43
|
-
if (isDisabled.isDisabled(select) || !selectedOptions.length) return;
|
|
44
|
-
const selectOption = (option)=>{
|
|
45
|
-
option.selected = newValue;
|
|
46
|
-
this.dispatchUIEvent(select, 'input', {
|
|
47
|
-
bubbles: true,
|
|
48
|
-
cancelable: false,
|
|
49
|
-
composed: true
|
|
50
|
-
});
|
|
51
|
-
this.dispatchUIEvent(select, 'change');
|
|
52
|
-
};
|
|
53
|
-
if (isElementType.isElementType(select, 'select')) {
|
|
54
|
-
if (select.multiple) {
|
|
55
|
-
for (const option of selectedOptions){
|
|
56
|
-
const withPointerEvents = this.config.pointerEventsCheck === 0 ? true : cssPointerEvents.hasPointerEvents(this, option);
|
|
57
|
-
// events fired for multiple select are weird. Can't use hover...
|
|
58
|
-
if (withPointerEvents) {
|
|
59
|
-
this.dispatchUIEvent(option, 'pointerover');
|
|
60
|
-
this.dispatchUIEvent(select, 'pointerenter');
|
|
61
|
-
this.dispatchUIEvent(option, 'mouseover');
|
|
62
|
-
this.dispatchUIEvent(select, 'mouseenter');
|
|
63
|
-
this.dispatchUIEvent(option, 'pointermove');
|
|
64
|
-
this.dispatchUIEvent(option, 'mousemove');
|
|
65
|
-
this.dispatchUIEvent(option, 'pointerdown');
|
|
66
|
-
this.dispatchUIEvent(option, 'mousedown');
|
|
67
|
-
}
|
|
68
|
-
focus.focusElement(select);
|
|
69
|
-
if (withPointerEvents) {
|
|
70
|
-
this.dispatchUIEvent(option, 'pointerup');
|
|
71
|
-
this.dispatchUIEvent(option, 'mouseup');
|
|
72
|
-
}
|
|
73
|
-
selectOption(option);
|
|
74
|
-
if (withPointerEvents) {
|
|
75
|
-
this.dispatchUIEvent(option, 'click');
|
|
76
|
-
}
|
|
77
|
-
await wait.wait(this.config);
|
|
78
|
-
}
|
|
79
|
-
} else if (selectedOptions.length === 1) {
|
|
80
|
-
const withPointerEvents = this.config.pointerEventsCheck === 0 ? true : cssPointerEvents.hasPointerEvents(this, select);
|
|
81
|
-
// the click to open the select options
|
|
82
|
-
if (withPointerEvents) {
|
|
83
|
-
await this.click(select);
|
|
84
|
-
} else {
|
|
85
|
-
focus.focusElement(select);
|
|
86
|
-
}
|
|
87
|
-
selectOption(selectedOptions[0]);
|
|
88
|
-
if (withPointerEvents) {
|
|
89
|
-
// the browser triggers another click event on the select for the click on the option
|
|
90
|
-
// this second click has no 'down' phase
|
|
91
|
-
this.dispatchUIEvent(select, 'pointerover');
|
|
92
|
-
this.dispatchUIEvent(select, 'pointerenter');
|
|
93
|
-
this.dispatchUIEvent(select, 'mouseover');
|
|
94
|
-
this.dispatchUIEvent(select, 'mouseenter');
|
|
95
|
-
this.dispatchUIEvent(select, 'pointerup');
|
|
96
|
-
this.dispatchUIEvent(select, 'mouseup');
|
|
97
|
-
this.dispatchUIEvent(select, 'click');
|
|
98
|
-
}
|
|
99
|
-
await wait.wait(this.config);
|
|
100
|
-
} else {
|
|
101
|
-
throw dom.getConfig().getElementError(`Cannot select multiple options on a non-multiple select`, select);
|
|
102
|
-
}
|
|
103
|
-
} else if (select.getAttribute('role') === 'listbox') {
|
|
104
|
-
for (const option of selectedOptions){
|
|
105
|
-
await this.click(option);
|
|
106
|
-
await this.unhover(option);
|
|
107
|
-
}
|
|
108
|
-
} else {
|
|
109
|
-
throw dom.getConfig().getElementError(`Cannot select options on elements that are neither select nor listbox elements`, select);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
exports.deselectOptions = deselectOptions;
|
|
114
|
-
exports.selectOptions = selectOptions;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('../keyboard/index.js');
|
|
4
|
-
require('../utils/dataTransfer/Clipboard.js');
|
|
5
|
-
var setSelectionRange = require('../event/selection/setSelectionRange.js');
|
|
6
|
-
|
|
7
|
-
async function type(element, text, { skipClick = this.config.skipClick, skipAutoClose = this.config.skipAutoClose, initialSelectionStart, initialSelectionEnd } = {}) {
|
|
8
|
-
// TODO: properly type guard
|
|
9
|
-
// we use this workaround for now to prevent changing behavior
|
|
10
|
-
if (element.disabled) return;
|
|
11
|
-
if (!skipClick) {
|
|
12
|
-
await this.click(element);
|
|
13
|
-
}
|
|
14
|
-
if (initialSelectionStart !== undefined) {
|
|
15
|
-
setSelectionRange.setSelectionRange(element, initialSelectionStart, initialSelectionEnd !== null && initialSelectionEnd !== undefined ? initialSelectionEnd : initialSelectionStart);
|
|
16
|
-
}
|
|
17
|
-
await this.keyboard(text);
|
|
18
|
-
if (!skipAutoClose) {
|
|
19
|
-
await index.releaseAllKeys(this);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
exports.type = type;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var isElementType = require('../utils/misc/isElementType.js');
|
|
4
|
-
var FileList = require('../utils/dataTransfer/FileList.js');
|
|
5
|
-
require('../utils/dataTransfer/Clipboard.js');
|
|
6
|
-
var setFiles = require('../utils/edit/setFiles.js');
|
|
7
|
-
var isDisabled = require('../utils/misc/isDisabled.js');
|
|
8
|
-
var getWindow = require('../utils/misc/getWindow.js');
|
|
9
|
-
|
|
10
|
-
async function upload(element, fileOrFiles) {
|
|
11
|
-
const input = isElementType.isElementType(element, 'label') ? element.control : element;
|
|
12
|
-
if (!input || !isElementType.isElementType(input, 'input', {
|
|
13
|
-
type: 'file'
|
|
14
|
-
})) {
|
|
15
|
-
throw new TypeError(`The ${input === element ? 'given' : 'associated'} ${input === null || input === undefined ? undefined : input.tagName} element does not accept file uploads`);
|
|
16
|
-
}
|
|
17
|
-
if (isDisabled.isDisabled(element)) return;
|
|
18
|
-
const files = (Array.isArray(fileOrFiles) ? fileOrFiles : [
|
|
19
|
-
fileOrFiles
|
|
20
|
-
]).filter((file)=>!this.config.applyAccept || isAcceptableFile(file, input.accept)).slice(0, input.multiple ? undefined : 1);
|
|
21
|
-
const fileDialog = ()=>{
|
|
22
|
-
var _input_files;
|
|
23
|
-
// do not fire an input event if the file selection does not change
|
|
24
|
-
if (files.length === ((_input_files = input.files) === null || _input_files === undefined ? undefined : _input_files.length) && files.every((f, i)=>{
|
|
25
|
-
var _input_files;
|
|
26
|
-
return f === ((_input_files = input.files) === null || _input_files === undefined ? undefined : _input_files.item(i));
|
|
27
|
-
})) {
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
setFiles.setFiles(input, FileList.createFileList(getWindow.getWindow(element), files));
|
|
31
|
-
this.dispatchUIEvent(input, 'input');
|
|
32
|
-
this.dispatchUIEvent(input, 'change');
|
|
33
|
-
};
|
|
34
|
-
input.addEventListener('fileDialog', fileDialog);
|
|
35
|
-
await this.click(element);
|
|
36
|
-
input.removeEventListener('fileDialog', fileDialog);
|
|
37
|
-
}
|
|
38
|
-
// When matching files, browsers ignore case and consider jpeg/jpg interchangeable.
|
|
39
|
-
function normalize(nameOrType) {
|
|
40
|
-
return nameOrType.toLowerCase().replace(/(\.|\/)jpg\b/g, '$1jpeg');
|
|
41
|
-
}
|
|
42
|
-
function isAcceptableFile(file, accept) {
|
|
43
|
-
if (!accept) {
|
|
44
|
-
return true;
|
|
45
|
-
}
|
|
46
|
-
const wildcards = [
|
|
47
|
-
'audio/*',
|
|
48
|
-
'image/*',
|
|
49
|
-
'video/*'
|
|
50
|
-
];
|
|
51
|
-
return normalize(accept).trim().split(/\s*,\s*/).some((acceptToken)=>{
|
|
52
|
-
// tokens starting with a dot represent a file extension
|
|
53
|
-
if (acceptToken.startsWith('.')) {
|
|
54
|
-
return normalize(file.name).endsWith(acceptToken);
|
|
55
|
-
} else if (wildcards.includes(acceptToken)) {
|
|
56
|
-
return normalize(file.type).startsWith(acceptToken.replace('*', ''));
|
|
57
|
-
}
|
|
58
|
-
return normalize(file.type) === acceptToken;
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
exports.upload = upload;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var isElementType = require('../misc/isElementType.js');
|
|
4
|
-
|
|
5
|
-
var clickableInputTypes = /*#__PURE__*/ function(clickableInputTypes) {
|
|
6
|
-
clickableInputTypes["button"] = "button";
|
|
7
|
-
clickableInputTypes["color"] = "color";
|
|
8
|
-
clickableInputTypes["file"] = "file";
|
|
9
|
-
clickableInputTypes["image"] = "image";
|
|
10
|
-
clickableInputTypes["reset"] = "reset";
|
|
11
|
-
clickableInputTypes["submit"] = "submit";
|
|
12
|
-
clickableInputTypes["checkbox"] = "checkbox";
|
|
13
|
-
clickableInputTypes["radio"] = "radio";
|
|
14
|
-
return clickableInputTypes;
|
|
15
|
-
}(clickableInputTypes || {});
|
|
16
|
-
function isClickableInput(element) {
|
|
17
|
-
return isElementType.isElementType(element, 'button') || isElementType.isElementType(element, 'input') && element.type in clickableInputTypes;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
exports.isClickableInput = isClickableInput;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
// jsdom does not implement Blob.text()
|
|
4
|
-
function readBlobText(blob, FileReader) {
|
|
5
|
-
return new Promise((res, rej)=>{
|
|
6
|
-
const fr = new FileReader();
|
|
7
|
-
fr.onerror = rej;
|
|
8
|
-
fr.onabort = rej;
|
|
9
|
-
fr.onload = ()=>{
|
|
10
|
-
res(String(fr.result));
|
|
11
|
-
};
|
|
12
|
-
fr.readAsText(blob);
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
exports.readBlobText = readBlobText;
|