@react95/core 7.0.2 → 8.0.0-alpha.1
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/@types/Alert/Alert.css.d.ts +3 -0
- package/@types/Alert/Alert.d.ts +2 -9
- package/@types/Avatar/Avatar.css.d.ts +15 -0
- package/@types/Avatar/Avatar.d.ts +3 -4
- package/@types/Button/Button.css.d.ts +1 -0
- package/@types/Button/Button.d.ts +4 -2
- package/@types/Checkbox/Checkbox.css.d.ts +4 -0
- package/@types/Checkbox/Checkbox.d.ts +2 -9
- package/@types/Cursor/Cursor.css.d.ts +1 -0
- package/@types/Dropdown/Dropdown.css.d.ts +2 -0
- package/@types/Dropdown/Dropdown.d.ts +5 -4
- package/@types/Fieldset/Fieldset.css.d.ts +2 -0
- package/@types/Fieldset/Fieldset.d.ts +3 -5
- package/@types/Frame/Frame.d.ts +2251 -5
- package/@types/Frame/props.d.ts +977 -0
- package/@types/Frame/sprinkles.css.d.ts +2271 -0
- package/@types/Input/Input.css.d.ts +1 -0
- package/@types/Input/Input.d.ts +3 -4
- package/@types/List/List.css.d.ts +3 -0
- package/@types/List/List.d.ts +9 -9
- package/@types/List/ListDivider.d.ts +4 -2
- package/@types/List/ListItem.d.ts +1 -2
- package/@types/Modal/Modal.css.d.ts +18 -0
- package/@types/Modal/Modal.d.ts +7 -23
- package/@types/Modal/ModalContext.d.ts +1 -2
- package/@types/Modal/ModalProvider.d.ts +1 -2
- package/@types/ProgressBar/ProgressBar.css.d.ts +4 -0
- package/@types/ProgressBar/ProgressBar.d.ts +3 -4
- package/@types/RadioButton/RadioButton.css.d.ts +4 -0
- package/@types/RadioButton/RadioButton.d.ts +1 -2
- package/@types/Range/Range.css.d.ts +1 -0
- package/@types/Range/Range.d.ts +4 -4
- package/@types/Tabs/Tab.d.ts +4 -4
- package/@types/Tabs/Tabs.css.d.ts +15 -0
- package/@types/Tabs/Tabs.d.ts +4 -5
- package/@types/TaskBar/Clock.d.ts +1 -2
- package/@types/TaskBar/TaskBar.css.d.ts +21 -0
- package/@types/TaskBar/TaskBar.d.ts +2 -3
- package/@types/TaskBar/WindowButton.d.ts +5 -4
- package/@types/TextArea/TextArea.d.ts +4 -5
- package/@types/TitleBar/TitleBar.css.d.ts +15 -0
- package/@types/TitleBar/TitleBar.d.ts +5 -7
- package/@types/Tooltip/Tooltip.css.d.ts +2 -0
- package/@types/Tooltip/Tooltip.d.ts +1 -2
- package/@types/Tree/Node.d.ts +5 -3
- package/@types/Tree/Tree.css.d.ts +16 -0
- package/@types/Tree/Tree.d.ts +5 -3
- package/@types/Video/Video.css.d.ts +18 -0
- package/@types/Video/Video.d.ts +2 -9
- package/@types/index.d.ts +25 -24
- package/@types/shared/font-names.d.ts +2 -0
- package/@types/themes/all.d.ts +36 -0
- package/@types/themes/azureOrange.css.d.ts +1 -0
- package/@types/themes/baseTheme.d.ts +88 -0
- package/@types/themes/bee.css.d.ts +1 -0
- package/@types/themes/blackAndWhite.css.d.ts +1 -0
- package/@types/themes/brick.css.d.ts +1 -0
- package/@types/themes/candy.css.d.ts +1 -0
- package/@types/themes/coldGray.css.d.ts +1 -0
- package/@types/themes/contract.css.d.ts +116 -0
- package/@types/themes/counterStrike.css.d.ts +1 -0
- package/@types/themes/eggplant.css.d.ts +1 -0
- package/@types/themes/highContrast.css.d.ts +1 -0
- package/@types/themes/lilac.css.d.ts +1 -0
- package/@types/themes/lilacRoseDark.css.d.ts +1 -0
- package/@types/themes/maple.css.d.ts +1 -0
- package/@types/themes/marine.css.d.ts +1 -0
- package/@types/themes/matrix.css.d.ts +1 -0
- package/@types/themes/millenium.css.d.ts +1 -0
- package/@types/themes/modernDark.css.d.ts +1 -0
- package/@types/themes/molecule.css.d.ts +1 -0
- package/@types/themes/ninjaTurtles.css.d.ts +1 -0
- package/@types/themes/olive.css.d.ts +1 -0
- package/@types/themes/pamelaAnderson.css.d.ts +1 -0
- package/@types/themes/plum.css.d.ts +1 -0
- package/@types/themes/rainyDay.css.d.ts +1 -0
- package/@types/themes/rose.css.d.ts +1 -0
- package/@types/themes/slate.css.d.ts +1 -0
- package/@types/themes/spruce.css.d.ts +1 -0
- package/@types/themes/storm.css.d.ts +1 -0
- package/@types/themes/theSixtiesUSA.css.d.ts +1 -0
- package/@types/themes/tokyoDark.css.d.ts +1 -0
- package/@types/themes/tooSexy.css.d.ts +1 -0
- package/@types/themes/travel.css.d.ts +1 -0
- package/@types/themes/vaporTeal.css.d.ts +1 -0
- package/@types/themes/vermillion.css.d.ts +1 -0
- package/@types/themes/violetDark.css.d.ts +1 -0
- package/@types/themes/water.css.d.ts +1 -0
- package/@types/themes/win95.css.d.ts +1 -0
- package/cjs/Alert/Alert.css.js +9 -0
- package/cjs/Alert/Alert.css.ts.vanilla.css +15 -0
- package/cjs/Alert/Alert.js +32 -90
- package/cjs/Alert/assets/chord.mp3.js +3 -0
- package/cjs/Avatar/Avatar.css.js +8 -0
- package/cjs/Avatar/Avatar.css.ts.vanilla.css +24 -0
- package/cjs/Avatar/Avatar.js +25 -49
- package/cjs/Button/Button.css.js +5 -0
- package/cjs/Button/Button.css.ts.vanilla.css +31 -0
- package/cjs/Button/Button.js +19 -17
- package/cjs/Checkbox/Checkbox.css.js +11 -0
- package/cjs/Checkbox/Checkbox.css.ts.vanilla.css +59 -0
- package/cjs/Checkbox/Checkbox.js +16 -58
- package/cjs/Cursor/Cursor.css.js +5 -0
- package/cjs/Cursor/Cursor.css.ts.vanilla.css +96 -0
- package/cjs/Dropdown/Dropdown.css.js +7 -0
- package/cjs/Dropdown/Dropdown.css.ts.vanilla.css +50 -0
- package/cjs/Dropdown/Dropdown.js +19 -40
- package/cjs/Fieldset/Fieldset.css.js +7 -0
- package/cjs/Fieldset/Fieldset.css.ts.vanilla.css +19 -0
- package/cjs/Fieldset/Fieldset.js +8 -31
- package/cjs/Frame/Frame.js +21 -19
- package/cjs/Frame/sprinkles.css.js +47 -0
- package/cjs/GlobalStyle/GlobalStyle.css.js +3 -0
- package/cjs/GlobalStyle/GlobalStyle.css.ts.vanilla.css +122 -0
- package/cjs/GlobalStyle.js +4 -0
- package/cjs/Input/Input.css.js +5 -0
- package/cjs/Input/Input.css.ts.vanilla.css +21 -0
- package/cjs/Input/Input.js +25 -14
- package/cjs/List/List.css.js +9 -0
- package/cjs/List/List.css.ts.vanilla.css +66 -0
- package/cjs/List/List.js +14 -27
- package/cjs/List/ListDivider.js +18 -13
- package/cjs/List/ListItem.js +11 -44
- package/cjs/Modal/Modal.css.js +14 -0
- package/cjs/Modal/Modal.css.ts.vanilla.css +55 -0
- package/cjs/Modal/Modal.js +130 -165
- package/cjs/Modal/ModalContext.js +13 -15
- package/cjs/Modal/ModalProvider.js +60 -81
- package/cjs/Modal/close.svg.js +3 -0
- package/cjs/Modal/help.svg.js +3 -0
- package/cjs/ProgressBar/ProgressBar.css.js +11 -0
- package/cjs/ProgressBar/ProgressBar.css.ts.vanilla.css +32 -0
- package/cjs/ProgressBar/ProgressBar.js +19 -63
- package/cjs/RadioButton/RadioButton.css.js +11 -0
- package/cjs/RadioButton/RadioButton.css.ts.vanilla.css +44 -0
- package/cjs/RadioButton/RadioButton.js +16 -53
- package/cjs/Range/Range.css.js +5 -0
- package/cjs/Range/Range.css.ts.vanilla.css +84 -0
- package/cjs/Range/Range.js +35 -18
- package/cjs/Tabs/Tab.js +17 -31
- package/cjs/Tabs/Tabs.css.js +10 -0
- package/cjs/Tabs/Tabs.css.ts.vanilla.css +54 -0
- package/cjs/Tabs/Tabs.js +48 -73
- package/cjs/TaskBar/Clock.js +28 -50
- package/cjs/TaskBar/TaskBar.css.js +12 -0
- package/cjs/TaskBar/TaskBar.css.ts.vanilla.css +51 -0
- package/cjs/TaskBar/TaskBar.js +72 -96
- package/cjs/TaskBar/WindowButton.js +16 -59
- package/cjs/TextArea/TextArea.js +25 -25
- package/cjs/TitleBar/TitleBar.css.js +12 -0
- package/cjs/TitleBar/TitleBar.css.ts.vanilla.css +62 -0
- package/cjs/TitleBar/TitleBar.js +44 -58
- package/cjs/Tooltip/Tooltip.css.js +7 -0
- package/cjs/Tooltip/Tooltip.css.ts.vanilla.css +25 -0
- package/cjs/Tooltip/Tooltip.js +68 -65
- package/cjs/Tree/Node.js +122 -122
- package/cjs/Tree/Tree.css.js +18 -0
- package/cjs/Tree/Tree.css.ts.vanilla.css +90 -0
- package/cjs/Tree/Tree.js +12 -33
- package/cjs/Video/Video.css.js +22 -0
- package/cjs/Video/Video.css.ts.vanilla.css +83 -0
- package/cjs/Video/Video.js +207 -270
- package/cjs/Video/buttons/Fullscreen.js +33 -20
- package/cjs/Video/buttons/Pause.js +28 -18
- package/cjs/Video/buttons/Play.js +28 -18
- package/cjs/Video/buttons/Stop.js +28 -18
- package/cjs/index.js +49 -178
- package/cjs/theme.js +72 -0
- package/cjs/themes/azureOrange.css.js +3 -0
- package/cjs/themes/azureOrange.css.ts.vanilla.css +58 -0
- package/cjs/themes/bee.css.js +3 -0
- package/cjs/themes/bee.css.ts.vanilla.css +58 -0
- package/cjs/themes/blackAndWhite.css.js +3 -0
- package/cjs/themes/blackAndWhite.css.ts.vanilla.css +58 -0
- package/cjs/themes/brick.css.js +3 -0
- package/cjs/themes/brick.css.ts.vanilla.css +58 -0
- package/cjs/themes/candy.css.js +3 -0
- package/cjs/themes/candy.css.ts.vanilla.css +58 -0
- package/cjs/themes/coldGray.css.js +3 -0
- package/cjs/themes/coldGray.css.ts.vanilla.css +58 -0
- package/cjs/themes/counterStrike.css.js +3 -0
- package/cjs/themes/counterStrike.css.ts.vanilla.css +58 -0
- package/cjs/themes/eggplant.css.js +3 -0
- package/cjs/themes/eggplant.css.ts.vanilla.css +58 -0
- package/cjs/themes/highContrast.css.js +3 -0
- package/cjs/themes/highContrast.css.ts.vanilla.css +58 -0
- package/cjs/themes/lilac.css.js +3 -0
- package/cjs/themes/lilac.css.ts.vanilla.css +58 -0
- package/cjs/themes/lilacRoseDark.css.js +3 -0
- package/cjs/themes/lilacRoseDark.css.ts.vanilla.css +58 -0
- package/cjs/themes/maple.css.js +3 -0
- package/cjs/themes/maple.css.ts.vanilla.css +58 -0
- package/cjs/themes/marine.css.js +3 -0
- package/cjs/themes/marine.css.ts.vanilla.css +58 -0
- package/cjs/themes/matrix.css.js +3 -0
- package/cjs/themes/matrix.css.ts.vanilla.css +58 -0
- package/cjs/themes/millenium.css.js +3 -0
- package/cjs/themes/millenium.css.ts.vanilla.css +58 -0
- package/cjs/themes/modernDark.css.js +3 -0
- package/cjs/themes/modernDark.css.ts.vanilla.css +58 -0
- package/cjs/themes/molecule.css.js +3 -0
- package/cjs/themes/molecule.css.ts.vanilla.css +58 -0
- package/cjs/themes/ninjaTurtles.css.js +3 -0
- package/cjs/themes/ninjaTurtles.css.ts.vanilla.css +58 -0
- package/cjs/themes/olive.css.js +3 -0
- package/cjs/themes/olive.css.ts.vanilla.css +58 -0
- package/cjs/themes/pamelaAnderson.css.js +3 -0
- package/cjs/themes/pamelaAnderson.css.ts.vanilla.css +58 -0
- package/cjs/themes/plum.css.js +3 -0
- package/cjs/themes/plum.css.ts.vanilla.css +58 -0
- package/cjs/themes/rainyDay.css.js +3 -0
- package/cjs/themes/rainyDay.css.ts.vanilla.css +58 -0
- package/cjs/themes/rose.css.js +3 -0
- package/cjs/themes/rose.css.ts.vanilla.css +58 -0
- package/cjs/themes/slate.css.js +3 -0
- package/cjs/themes/slate.css.ts.vanilla.css +58 -0
- package/cjs/themes/sprinkles.css.ts.vanilla.css +399 -0
- package/cjs/themes/spruce.css.js +3 -0
- package/cjs/themes/spruce.css.ts.vanilla.css +58 -0
- package/cjs/themes/storm.css.js +3 -0
- package/cjs/themes/storm.css.ts.vanilla.css +58 -0
- package/cjs/themes/theSixtiesUSA.css.js +3 -0
- package/cjs/themes/theSixtiesUSA.css.ts.vanilla.css +58 -0
- package/cjs/themes/tokyoDark.css.js +3 -0
- package/cjs/themes/tokyoDark.css.ts.vanilla.css +58 -0
- package/cjs/themes/tooSexy.css.js +3 -0
- package/cjs/themes/tooSexy.css.ts.vanilla.css +58 -0
- package/cjs/themes/travel.css.js +3 -0
- package/cjs/themes/travel.css.ts.vanilla.css +58 -0
- package/cjs/themes/vaporTeal.css.js +3 -0
- package/cjs/themes/vaporTeal.css.ts.vanilla.css +58 -0
- package/cjs/themes/vermillion.css.js +3 -0
- package/cjs/themes/vermillion.css.ts.vanilla.css +58 -0
- package/cjs/themes/violetDark.css.js +3 -0
- package/cjs/themes/violetDark.css.ts.vanilla.css +58 -0
- package/cjs/themes/water.css.js +3 -0
- package/cjs/themes/water.css.ts.vanilla.css +58 -0
- package/cjs/themes/win95.css.js +3 -0
- package/cjs/themes/win95.css.ts.vanilla.css +58 -0
- package/esm/Alert/Alert.css.js +9 -0
- package/esm/Alert/Alert.css.ts.vanilla.css +15 -0
- package/esm/Alert/Alert.js +33 -81
- package/esm/Alert/assets/chord.mp3.js +4 -0
- package/esm/Avatar/Avatar.css.js +8 -0
- package/esm/Avatar/Avatar.css.ts.vanilla.css +24 -0
- package/esm/Avatar/Avatar.js +9 -40
- package/esm/Button/Button.css.js +5 -0
- package/esm/Button/Button.css.ts.vanilla.css +31 -0
- package/esm/Button/Button.js +19 -8
- package/esm/Checkbox/Checkbox.css.js +11 -0
- package/esm/Checkbox/Checkbox.css.ts.vanilla.css +59 -0
- package/esm/Checkbox/Checkbox.js +17 -49
- package/esm/Cursor/Cursor.css.js +5 -0
- package/esm/Cursor/Cursor.css.ts.vanilla.css +96 -0
- package/esm/Dropdown/Dropdown.css.js +7 -0
- package/esm/Dropdown/Dropdown.css.ts.vanilla.css +50 -0
- package/esm/Dropdown/Dropdown.js +19 -30
- package/esm/Fieldset/Fieldset.css.js +7 -0
- package/esm/Fieldset/Fieldset.css.ts.vanilla.css +19 -0
- package/esm/Fieldset/Fieldset.js +9 -23
- package/esm/Frame/Frame.js +22 -11
- package/esm/Frame/sprinkles.css.js +47 -0
- package/esm/GlobalStyle/GlobalStyle.css.js +2 -0
- package/esm/GlobalStyle/GlobalStyle.css.ts.vanilla.css +122 -0
- package/esm/GlobalStyle.js +4 -0
- package/esm/Input/Input.css.js +5 -0
- package/esm/Input/Input.css.ts.vanilla.css +21 -0
- package/esm/Input/Input.js +9 -8
- package/esm/List/List.css.js +9 -0
- package/esm/List/List.css.ts.vanilla.css +66 -0
- package/esm/List/List.js +13 -16
- package/esm/List/ListDivider.js +19 -7
- package/esm/List/ListItem.js +12 -35
- package/esm/Modal/Modal.css.js +14 -0
- package/esm/Modal/Modal.css.ts.vanilla.css +55 -0
- package/esm/Modal/Modal.js +114 -156
- package/esm/Modal/ModalContext.js +14 -9
- package/esm/Modal/ModalProvider.js +44 -74
- package/esm/Modal/close.svg.js +4 -0
- package/esm/Modal/help.svg.js +4 -0
- package/esm/ProgressBar/ProgressBar.css.js +11 -0
- package/esm/ProgressBar/ProgressBar.css.ts.vanilla.css +32 -0
- package/esm/ProgressBar/ProgressBar.js +19 -54
- package/esm/RadioButton/RadioButton.css.js +11 -0
- package/esm/RadioButton/RadioButton.css.ts.vanilla.css +44 -0
- package/esm/RadioButton/RadioButton.js +16 -44
- package/esm/Range/Range.css.js +5 -0
- package/esm/Range/Range.css.ts.vanilla.css +84 -0
- package/esm/Range/Range.js +19 -10
- package/esm/Tabs/Tab.js +18 -23
- package/esm/Tabs/Tabs.css.js +10 -0
- package/esm/Tabs/Tabs.css.ts.vanilla.css +54 -0
- package/esm/Tabs/Tabs.js +49 -64
- package/esm/TaskBar/Clock.js +29 -41
- package/esm/TaskBar/TaskBar.css.js +12 -0
- package/esm/TaskBar/TaskBar.css.ts.vanilla.css +51 -0
- package/esm/TaskBar/TaskBar.js +72 -87
- package/esm/TaskBar/WindowButton.js +16 -49
- package/esm/TextArea/TextArea.js +9 -16
- package/esm/TitleBar/TitleBar.css.js +12 -0
- package/esm/TitleBar/TitleBar.css.ts.vanilla.css +62 -0
- package/esm/TitleBar/TitleBar.js +44 -48
- package/esm/Tooltip/Tooltip.css.js +7 -0
- package/esm/Tooltip/Tooltip.css.ts.vanilla.css +25 -0
- package/esm/Tooltip/Tooltip.js +51 -55
- package/esm/Tree/Node.js +98 -105
- package/esm/Tree/Tree.css.js +18 -0
- package/esm/Tree/Tree.css.ts.vanilla.css +90 -0
- package/esm/Tree/Tree.js +12 -23
- package/esm/Video/Video.css.js +22 -0
- package/esm/Video/Video.css.ts.vanilla.css +83 -0
- package/esm/Video/Video.js +191 -262
- package/esm/Video/buttons/Fullscreen.js +17 -11
- package/esm/Video/buttons/Pause.js +12 -9
- package/esm/Video/buttons/Play.js +12 -9
- package/esm/Video/buttons/Stop.js +12 -9
- package/esm/index.js +50 -24
- package/esm/theme.js +72 -0
- package/esm/themes/azureOrange.css.js +2 -0
- package/esm/themes/azureOrange.css.ts.vanilla.css +58 -0
- package/esm/themes/bee.css.js +2 -0
- package/esm/themes/bee.css.ts.vanilla.css +58 -0
- package/esm/themes/blackAndWhite.css.js +2 -0
- package/esm/themes/blackAndWhite.css.ts.vanilla.css +58 -0
- package/esm/themes/brick.css.js +2 -0
- package/esm/themes/brick.css.ts.vanilla.css +58 -0
- package/esm/themes/candy.css.js +2 -0
- package/esm/themes/candy.css.ts.vanilla.css +58 -0
- package/esm/themes/coldGray.css.js +2 -0
- package/esm/themes/coldGray.css.ts.vanilla.css +58 -0
- package/esm/themes/counterStrike.css.js +2 -0
- package/esm/themes/counterStrike.css.ts.vanilla.css +58 -0
- package/esm/themes/eggplant.css.js +2 -0
- package/esm/themes/eggplant.css.ts.vanilla.css +58 -0
- package/esm/themes/highContrast.css.js +2 -0
- package/esm/themes/highContrast.css.ts.vanilla.css +58 -0
- package/esm/themes/lilac.css.js +2 -0
- package/esm/themes/lilac.css.ts.vanilla.css +58 -0
- package/esm/themes/lilacRoseDark.css.js +2 -0
- package/esm/themes/lilacRoseDark.css.ts.vanilla.css +58 -0
- package/esm/themes/maple.css.js +2 -0
- package/esm/themes/maple.css.ts.vanilla.css +58 -0
- package/esm/themes/marine.css.js +2 -0
- package/esm/themes/marine.css.ts.vanilla.css +58 -0
- package/esm/themes/matrix.css.js +2 -0
- package/esm/themes/matrix.css.ts.vanilla.css +58 -0
- package/esm/themes/millenium.css.js +2 -0
- package/esm/themes/millenium.css.ts.vanilla.css +58 -0
- package/esm/themes/modernDark.css.js +2 -0
- package/esm/themes/modernDark.css.ts.vanilla.css +58 -0
- package/esm/themes/molecule.css.js +2 -0
- package/esm/themes/molecule.css.ts.vanilla.css +58 -0
- package/esm/themes/ninjaTurtles.css.js +2 -0
- package/esm/themes/ninjaTurtles.css.ts.vanilla.css +58 -0
- package/esm/themes/olive.css.js +2 -0
- package/esm/themes/olive.css.ts.vanilla.css +58 -0
- package/esm/themes/pamelaAnderson.css.js +2 -0
- package/esm/themes/pamelaAnderson.css.ts.vanilla.css +58 -0
- package/esm/themes/plum.css.js +2 -0
- package/esm/themes/plum.css.ts.vanilla.css +58 -0
- package/esm/themes/rainyDay.css.js +2 -0
- package/esm/themes/rainyDay.css.ts.vanilla.css +58 -0
- package/esm/themes/rose.css.js +2 -0
- package/esm/themes/rose.css.ts.vanilla.css +58 -0
- package/esm/themes/slate.css.js +2 -0
- package/esm/themes/slate.css.ts.vanilla.css +58 -0
- package/esm/themes/sprinkles.css.ts.vanilla.css +399 -0
- package/esm/themes/spruce.css.js +2 -0
- package/esm/themes/spruce.css.ts.vanilla.css +58 -0
- package/esm/themes/storm.css.js +2 -0
- package/esm/themes/storm.css.ts.vanilla.css +58 -0
- package/esm/themes/theSixtiesUSA.css.js +2 -0
- package/esm/themes/theSixtiesUSA.css.ts.vanilla.css +58 -0
- package/esm/themes/tokyoDark.css.js +2 -0
- package/esm/themes/tokyoDark.css.ts.vanilla.css +58 -0
- package/esm/themes/tooSexy.css.js +2 -0
- package/esm/themes/tooSexy.css.ts.vanilla.css +58 -0
- package/esm/themes/travel.css.js +2 -0
- package/esm/themes/travel.css.ts.vanilla.css +58 -0
- package/esm/themes/vaporTeal.css.js +2 -0
- package/esm/themes/vaporTeal.css.ts.vanilla.css +58 -0
- package/esm/themes/vermillion.css.js +2 -0
- package/esm/themes/vermillion.css.ts.vanilla.css +58 -0
- package/esm/themes/violetDark.css.js +2 -0
- package/esm/themes/violetDark.css.ts.vanilla.css +58 -0
- package/esm/themes/water.css.js +2 -0
- package/esm/themes/water.css.ts.vanilla.css +58 -0
- package/esm/themes/win95.css.js +2 -0
- package/esm/themes/win95.css.ts.vanilla.css +58 -0
- package/package.json +23 -9
- package/@types/Alert/index.d.ts +0 -2
- package/@types/Avatar/index.d.ts +0 -2
- package/@types/Button/index.d.ts +0 -2
- package/@types/Checkbox/index.d.ts +0 -2
- package/@types/Cursor/Cursor.d.ts +0 -38
- package/@types/Cursor/index.d.ts +0 -2
- package/@types/Dropdown/index.d.ts +0 -2
- package/@types/Fieldset/index.d.ts +0 -2
- package/@types/Frame/index.d.ts +0 -2
- package/@types/GlobalStyle/Borders.d.ts +0 -15
- package/@types/GlobalStyle/GlobalStyle.d.ts +0 -2
- package/@types/GlobalStyle/Scrollbar.d.ts +0 -7
- package/@types/GlobalStyle/index.d.ts +0 -2
- package/@types/Input/index.d.ts +0 -2
- package/@types/List/index.d.ts +0 -2
- package/@types/Modal/index.d.ts +0 -4
- package/@types/ProgressBar/index.d.ts +0 -2
- package/@types/RadioButton/index.d.ts +0 -2
- package/@types/Range/index.d.ts +0 -2
- package/@types/Tabs/index.d.ts +0 -3
- package/@types/TaskBar/index.d.ts +0 -2
- package/@types/TextArea/index.d.ts +0 -2
- package/@types/ThemeProvider/ThemeProvider.d.ts +0 -7
- package/@types/ThemeProvider/index.d.ts +0 -2
- package/@types/ThemeProvider/themes/azureOrange.d.ts +0 -3
- package/@types/ThemeProvider/themes/baseTheme.d.ts +0 -9
- package/@types/ThemeProvider/themes/bee.d.ts +0 -3
- package/@types/ThemeProvider/themes/blackAndWhite.d.ts +0 -3
- package/@types/ThemeProvider/themes/brick.d.ts +0 -3
- package/@types/ThemeProvider/themes/candy.d.ts +0 -3
- package/@types/ThemeProvider/themes/coldGray.d.ts +0 -3
- package/@types/ThemeProvider/themes/counterStrike.d.ts +0 -3
- package/@types/ThemeProvider/themes/eggplant.d.ts +0 -3
- package/@types/ThemeProvider/themes/highContrast.d.ts +0 -3
- package/@types/ThemeProvider/themes/lilac.d.ts +0 -3
- package/@types/ThemeProvider/themes/lilacRoseDark.d.ts +0 -3
- package/@types/ThemeProvider/themes/maple.d.ts +0 -3
- package/@types/ThemeProvider/themes/marine.d.ts +0 -3
- package/@types/ThemeProvider/themes/matrix.d.ts +0 -3
- package/@types/ThemeProvider/themes/millenium.d.ts +0 -3
- package/@types/ThemeProvider/themes/modernDark.d.ts +0 -3
- package/@types/ThemeProvider/themes/molecule.d.ts +0 -3
- package/@types/ThemeProvider/themes/ninjaTurtles.d.ts +0 -3
- package/@types/ThemeProvider/themes/olive.d.ts +0 -3
- package/@types/ThemeProvider/themes/pamelaAnderson.d.ts +0 -3
- package/@types/ThemeProvider/themes/plum.d.ts +0 -3
- package/@types/ThemeProvider/themes/rainyDay.d.ts +0 -3
- package/@types/ThemeProvider/themes/rose.d.ts +0 -3
- package/@types/ThemeProvider/themes/slate.d.ts +0 -3
- package/@types/ThemeProvider/themes/spruce.d.ts +0 -3
- package/@types/ThemeProvider/themes/storm.d.ts +0 -3
- package/@types/ThemeProvider/themes/theSixtiesUSA.d.ts +0 -3
- package/@types/ThemeProvider/themes/tokyoDark.d.ts +0 -3
- package/@types/ThemeProvider/themes/tooSexy.d.ts +0 -3
- package/@types/ThemeProvider/themes/travel.d.ts +0 -3
- package/@types/ThemeProvider/themes/vaporTeal.d.ts +0 -3
- package/@types/ThemeProvider/themes/vermillion.d.ts +0 -3
- package/@types/ThemeProvider/themes/violetDark.d.ts +0 -3
- package/@types/ThemeProvider/themes/water.d.ts +0 -3
- package/@types/ThemeProvider/themes/win95.d.ts +0 -3
- package/@types/ThemeProvider/themes.d.ts +0 -38
- package/@types/TitleBar/index.d.ts +0 -2
- package/@types/Tooltip/index.d.ts +0 -2
- package/@types/Tree/index.d.ts +0 -2
- package/@types/Video/index.d.ts +0 -2
- package/@types/shared/test/utils.d.ts +0 -5
- package/cjs/Alert/assets/chord.mp3 +0 -0
- package/cjs/Alert/index.js +0 -9
- package/cjs/Avatar/index.js +0 -9
- package/cjs/Button/index.js +0 -9
- package/cjs/Checkbox/imgs/check-disabled.svg +0 -1
- package/cjs/Checkbox/imgs/check.svg +0 -1
- package/cjs/Checkbox/index.js +0 -9
- package/cjs/Cursor/Cursor.js +0 -86
- package/cjs/Cursor/cursors/AngleUpLeft.png +0 -0
- package/cjs/Cursor/cursors/AngleUpRight.png +0 -0
- package/cjs/Cursor/cursors/AppStarting.png +0 -0
- package/cjs/Cursor/cursors/Arrow.png +0 -0
- package/cjs/Cursor/cursors/ArrowRight.png +0 -0
- package/cjs/Cursor/cursors/Circle.png +0 -0
- package/cjs/Cursor/cursors/ColRezise.png +0 -0
- package/cjs/Cursor/cursors/Copy.png +0 -0
- package/cjs/Cursor/cursors/Cross.png +0 -0
- package/cjs/Cursor/cursors/Crosshair.png +0 -0
- package/cjs/Cursor/cursors/DND-ask.png +0 -0
- package/cjs/Cursor/cursors/DND-copy.png +0 -0
- package/cjs/Cursor/cursors/DND-link.png +0 -0
- package/cjs/Cursor/cursors/DownArrow.png +0 -0
- package/cjs/Cursor/cursors/DownLeftArrow.png +0 -0
- package/cjs/Cursor/cursors/DownRightArrow.png +0 -0
- package/cjs/Cursor/cursors/Hand.png +0 -0
- package/cjs/Cursor/cursors/HandPointer.png +0 -0
- package/cjs/Cursor/cursors/Handsqueezed.png +0 -0
- package/cjs/Cursor/cursors/Handwriting.png +0 -0
- package/cjs/Cursor/cursors/Help.png +0 -0
- package/cjs/Cursor/cursors/LeftArrow.png +0 -0
- package/cjs/Cursor/cursors/LeftRight.png +0 -0
- package/cjs/Cursor/cursors/LeftRightArrow.png +0 -0
- package/cjs/Cursor/cursors/Link.png +0 -0
- package/cjs/Cursor/cursors/Move.png +0 -0
- package/cjs/Cursor/cursors/NO.png +0 -0
- package/cjs/Cursor/cursors/RightArrow.png +0 -0
- package/cjs/Cursor/cursors/RowResize.png +0 -0
- package/cjs/Cursor/cursors/SizeAll.png +0 -0
- package/cjs/Cursor/cursors/Text.png +0 -0
- package/cjs/Cursor/cursors/UpArrow.png +0 -0
- package/cjs/Cursor/cursors/UpDownArrow.png +0 -0
- package/cjs/Cursor/cursors/UpLeftArrow.png +0 -0
- package/cjs/Cursor/cursors/UpRightArrow.png +0 -0
- package/cjs/Cursor/cursors/VText.png +0 -0
- package/cjs/Cursor/cursors/Wait.png +0 -0
- package/cjs/Cursor/cursors/X.png +0 -0
- package/cjs/Cursor/cursors/ZoomIn.png +0 -0
- package/cjs/Cursor/cursors/ZoomOut.png +0 -0
- package/cjs/Cursor/index.js +0 -9
- package/cjs/Dropdown/imgs/downcaret.png +0 -0
- package/cjs/Dropdown/imgs/downcaret.svg +0 -1
- package/cjs/Dropdown/index.js +0 -9
- package/cjs/Fieldset/index.js +0 -9
- package/cjs/Frame/index.js +0 -9
- package/cjs/GlobalStyle/Borders.js +0 -88
- package/cjs/GlobalStyle/GlobalStyle.js +0 -18
- package/cjs/GlobalStyle/Scrollbar.js +0 -59
- package/cjs/GlobalStyle/font/MS-Sans-Serif-8pt-bold.ttf +0 -0
- package/cjs/GlobalStyle/font/MS-Sans-Serif-8pt.ttf +0 -0
- package/cjs/GlobalStyle/font/React95Video-Numbers.eot +0 -0
- package/cjs/GlobalStyle/font/React95Video-Numbers.ttf +0 -0
- package/cjs/GlobalStyle/font/React95Video-Numbers.woff +0 -0
- package/cjs/GlobalStyle/font/React95Video-Numbers.woff2 +0 -0
- package/cjs/GlobalStyle/imgs/downcaret.svg +0 -1
- package/cjs/GlobalStyle/imgs/dropdown.png +0 -0
- package/cjs/GlobalStyle/imgs/leftcaret.svg +0 -1
- package/cjs/GlobalStyle/imgs/rightcaret.svg +0 -1
- package/cjs/GlobalStyle/imgs/upcaret.svg +0 -1
- package/cjs/GlobalStyle/index.js +0 -9
- package/cjs/Input/index.js +0 -9
- package/cjs/List/index.js +0 -9
- package/cjs/Modal/index.js +0 -27
- package/cjs/ProgressBar/index.js +0 -9
- package/cjs/RadioButton/imgs/radio-checked-disabled.png +0 -0
- package/cjs/RadioButton/imgs/radio-checked.png +0 -0
- package/cjs/RadioButton/imgs/radio-unchecked-disabled.png +0 -0
- package/cjs/RadioButton/imgs/radio-unchecked.png +0 -0
- package/cjs/RadioButton/index.js +0 -9
- package/cjs/RadioButton/radioButtonStates.js +0 -34
- package/cjs/Range/index.js +0 -9
- package/cjs/Tabs/index.js +0 -20
- package/cjs/TaskBar/index.js +0 -9
- package/cjs/TextArea/index.js +0 -9
- package/cjs/ThemeProvider/ThemeProvider.js +0 -25
- package/cjs/ThemeProvider/index.js +0 -9
- package/cjs/ThemeProvider/themes/azureOrange.js +0 -48
- package/cjs/ThemeProvider/themes/baseTheme.js +0 -28
- package/cjs/ThemeProvider/themes/bee.js +0 -48
- package/cjs/ThemeProvider/themes/blackAndWhite.js +0 -48
- package/cjs/ThemeProvider/themes/brick.js +0 -48
- package/cjs/ThemeProvider/themes/candy.js +0 -48
- package/cjs/ThemeProvider/themes/coldGray.js +0 -48
- package/cjs/ThemeProvider/themes/counterStrike.js +0 -48
- package/cjs/ThemeProvider/themes/eggplant.js +0 -48
- package/cjs/ThemeProvider/themes/highContrast.js +0 -48
- package/cjs/ThemeProvider/themes/lilac.js +0 -48
- package/cjs/ThemeProvider/themes/lilacRoseDark.js +0 -48
- package/cjs/ThemeProvider/themes/maple.js +0 -48
- package/cjs/ThemeProvider/themes/marine.js +0 -48
- package/cjs/ThemeProvider/themes/matrix.js +0 -48
- package/cjs/ThemeProvider/themes/millenium.js +0 -48
- package/cjs/ThemeProvider/themes/modernDark.js +0 -48
- package/cjs/ThemeProvider/themes/molecule.js +0 -48
- package/cjs/ThemeProvider/themes/ninjaTurtles.js +0 -48
- package/cjs/ThemeProvider/themes/olive.js +0 -48
- package/cjs/ThemeProvider/themes/pamelaAnderson.js +0 -48
- package/cjs/ThemeProvider/themes/plum.js +0 -48
- package/cjs/ThemeProvider/themes/rainyDay.js +0 -48
- package/cjs/ThemeProvider/themes/rose.js +0 -48
- package/cjs/ThemeProvider/themes/slate.js +0 -48
- package/cjs/ThemeProvider/themes/spruce.js +0 -48
- package/cjs/ThemeProvider/themes/storm.js +0 -48
- package/cjs/ThemeProvider/themes/theSixtiesUSA.js +0 -48
- package/cjs/ThemeProvider/themes/tokyoDark.js +0 -48
- package/cjs/ThemeProvider/themes/tooSexy.js +0 -48
- package/cjs/ThemeProvider/themes/travel.js +0 -48
- package/cjs/ThemeProvider/themes/vaporTeal.js +0 -48
- package/cjs/ThemeProvider/themes/vermillion.js +0 -48
- package/cjs/ThemeProvider/themes/violetDark.js +0 -48
- package/cjs/ThemeProvider/themes/water.js +0 -48
- package/cjs/ThemeProvider/themes/win95.js +0 -48
- package/cjs/ThemeProvider/themes.js +0 -80
- package/cjs/TitleBar/index.js +0 -9
- package/cjs/Tooltip/index.js +0 -9
- package/cjs/Tree/imgs/tree-first.png +0 -0
- package/cjs/Tree/imgs/tree-folder-closed.png +0 -0
- package/cjs/Tree/imgs/tree-folder-opened.png +0 -0
- package/cjs/Tree/imgs/tree-last.png +0 -0
- package/cjs/Tree/imgs/tree-mid.png +0 -0
- package/cjs/Tree/imgs/tree-node-children.png +0 -0
- package/cjs/Tree/index.js +0 -9
- package/cjs/Video/buttons/index.js +0 -34
- package/cjs/Video/index.js +0 -9
- package/cjs/shared/test/utils.js +0 -76
- package/esm/Alert/assets/chord.mp3 +0 -0
- package/esm/Alert/index.js +0 -2
- package/esm/Avatar/index.js +0 -2
- package/esm/Button/index.js +0 -2
- package/esm/Checkbox/imgs/check-disabled.svg +0 -1
- package/esm/Checkbox/imgs/check.svg +0 -1
- package/esm/Checkbox/index.js +0 -2
- package/esm/Cursor/Cursor.js +0 -79
- package/esm/Cursor/cursors/AngleUpLeft.png +0 -0
- package/esm/Cursor/cursors/AngleUpRight.png +0 -0
- package/esm/Cursor/cursors/AppStarting.png +0 -0
- package/esm/Cursor/cursors/Arrow.png +0 -0
- package/esm/Cursor/cursors/ArrowRight.png +0 -0
- package/esm/Cursor/cursors/Circle.png +0 -0
- package/esm/Cursor/cursors/ColRezise.png +0 -0
- package/esm/Cursor/cursors/Copy.png +0 -0
- package/esm/Cursor/cursors/Cross.png +0 -0
- package/esm/Cursor/cursors/Crosshair.png +0 -0
- package/esm/Cursor/cursors/DND-ask.png +0 -0
- package/esm/Cursor/cursors/DND-copy.png +0 -0
- package/esm/Cursor/cursors/DND-link.png +0 -0
- package/esm/Cursor/cursors/DownArrow.png +0 -0
- package/esm/Cursor/cursors/DownLeftArrow.png +0 -0
- package/esm/Cursor/cursors/DownRightArrow.png +0 -0
- package/esm/Cursor/cursors/Hand.png +0 -0
- package/esm/Cursor/cursors/HandPointer.png +0 -0
- package/esm/Cursor/cursors/Handsqueezed.png +0 -0
- package/esm/Cursor/cursors/Handwriting.png +0 -0
- package/esm/Cursor/cursors/Help.png +0 -0
- package/esm/Cursor/cursors/LeftArrow.png +0 -0
- package/esm/Cursor/cursors/LeftRight.png +0 -0
- package/esm/Cursor/cursors/LeftRightArrow.png +0 -0
- package/esm/Cursor/cursors/Link.png +0 -0
- package/esm/Cursor/cursors/Move.png +0 -0
- package/esm/Cursor/cursors/NO.png +0 -0
- package/esm/Cursor/cursors/RightArrow.png +0 -0
- package/esm/Cursor/cursors/RowResize.png +0 -0
- package/esm/Cursor/cursors/SizeAll.png +0 -0
- package/esm/Cursor/cursors/Text.png +0 -0
- package/esm/Cursor/cursors/UpArrow.png +0 -0
- package/esm/Cursor/cursors/UpDownArrow.png +0 -0
- package/esm/Cursor/cursors/UpLeftArrow.png +0 -0
- package/esm/Cursor/cursors/UpRightArrow.png +0 -0
- package/esm/Cursor/cursors/VText.png +0 -0
- package/esm/Cursor/cursors/Wait.png +0 -0
- package/esm/Cursor/cursors/X.png +0 -0
- package/esm/Cursor/cursors/ZoomIn.png +0 -0
- package/esm/Cursor/cursors/ZoomOut.png +0 -0
- package/esm/Cursor/index.js +0 -2
- package/esm/Dropdown/imgs/downcaret.png +0 -0
- package/esm/Dropdown/imgs/downcaret.svg +0 -1
- package/esm/Dropdown/index.js +0 -2
- package/esm/Fieldset/index.js +0 -2
- package/esm/Frame/index.js +0 -2
- package/esm/GlobalStyle/Borders.js +0 -82
- package/esm/GlobalStyle/GlobalStyle.js +0 -11
- package/esm/GlobalStyle/Scrollbar.js +0 -53
- package/esm/GlobalStyle/font/MS-Sans-Serif-8pt-bold.ttf +0 -0
- package/esm/GlobalStyle/font/MS-Sans-Serif-8pt.ttf +0 -0
- package/esm/GlobalStyle/font/React95Video-Numbers.eot +0 -0
- package/esm/GlobalStyle/font/React95Video-Numbers.ttf +0 -0
- package/esm/GlobalStyle/font/React95Video-Numbers.woff +0 -0
- package/esm/GlobalStyle/font/React95Video-Numbers.woff2 +0 -0
- package/esm/GlobalStyle/imgs/downcaret.svg +0 -1
- package/esm/GlobalStyle/imgs/dropdown.png +0 -0
- package/esm/GlobalStyle/imgs/leftcaret.svg +0 -1
- package/esm/GlobalStyle/imgs/rightcaret.svg +0 -1
- package/esm/GlobalStyle/imgs/upcaret.svg +0 -1
- package/esm/GlobalStyle/index.js +0 -2
- package/esm/Input/index.js +0 -2
- package/esm/List/index.js +0 -2
- package/esm/Modal/index.js +0 -4
- package/esm/ProgressBar/index.js +0 -2
- package/esm/RadioButton/imgs/radio-checked-disabled.png +0 -0
- package/esm/RadioButton/imgs/radio-checked.png +0 -0
- package/esm/RadioButton/imgs/radio-unchecked-disabled.png +0 -0
- package/esm/RadioButton/imgs/radio-unchecked.png +0 -0
- package/esm/RadioButton/index.js +0 -2
- package/esm/RadioButton/radioButtonStates.js +0 -5
- package/esm/Range/index.js +0 -2
- package/esm/Tabs/index.js +0 -3
- package/esm/TaskBar/index.js +0 -2
- package/esm/TextArea/index.js +0 -2
- package/esm/ThemeProvider/ThemeProvider.js +0 -15
- package/esm/ThemeProvider/index.js +0 -2
- package/esm/ThemeProvider/themes/azureOrange.js +0 -40
- package/esm/ThemeProvider/themes/baseTheme.js +0 -22
- package/esm/ThemeProvider/themes/bee.js +0 -40
- package/esm/ThemeProvider/themes/blackAndWhite.js +0 -40
- package/esm/ThemeProvider/themes/brick.js +0 -40
- package/esm/ThemeProvider/themes/candy.js +0 -40
- package/esm/ThemeProvider/themes/coldGray.js +0 -40
- package/esm/ThemeProvider/themes/counterStrike.js +0 -40
- package/esm/ThemeProvider/themes/eggplant.js +0 -40
- package/esm/ThemeProvider/themes/highContrast.js +0 -40
- package/esm/ThemeProvider/themes/lilac.js +0 -40
- package/esm/ThemeProvider/themes/lilacRoseDark.js +0 -40
- package/esm/ThemeProvider/themes/maple.js +0 -40
- package/esm/ThemeProvider/themes/marine.js +0 -40
- package/esm/ThemeProvider/themes/matrix.js +0 -40
- package/esm/ThemeProvider/themes/millenium.js +0 -40
- package/esm/ThemeProvider/themes/modernDark.js +0 -40
- package/esm/ThemeProvider/themes/molecule.js +0 -40
- package/esm/ThemeProvider/themes/ninjaTurtles.js +0 -40
- package/esm/ThemeProvider/themes/olive.js +0 -40
- package/esm/ThemeProvider/themes/pamelaAnderson.js +0 -40
- package/esm/ThemeProvider/themes/plum.js +0 -40
- package/esm/ThemeProvider/themes/rainyDay.js +0 -40
- package/esm/ThemeProvider/themes/rose.js +0 -40
- package/esm/ThemeProvider/themes/slate.js +0 -40
- package/esm/ThemeProvider/themes/spruce.js +0 -40
- package/esm/ThemeProvider/themes/storm.js +0 -40
- package/esm/ThemeProvider/themes/theSixtiesUSA.js +0 -40
- package/esm/ThemeProvider/themes/tokyoDark.js +0 -40
- package/esm/ThemeProvider/themes/tooSexy.js +0 -40
- package/esm/ThemeProvider/themes/travel.js +0 -40
- package/esm/ThemeProvider/themes/vaporTeal.js +0 -40
- package/esm/ThemeProvider/themes/vermillion.js +0 -40
- package/esm/ThemeProvider/themes/violetDark.js +0 -40
- package/esm/ThemeProvider/themes/water.js +0 -40
- package/esm/ThemeProvider/themes/win95.js +0 -40
- package/esm/ThemeProvider/themes.js +0 -73
- package/esm/TitleBar/index.js +0 -2
- package/esm/Tooltip/index.js +0 -2
- package/esm/Tree/imgs/tree-first.png +0 -0
- package/esm/Tree/imgs/tree-folder-closed.png +0 -0
- package/esm/Tree/imgs/tree-folder-opened.png +0 -0
- package/esm/Tree/imgs/tree-last.png +0 -0
- package/esm/Tree/imgs/tree-mid.png +0 -0
- package/esm/Tree/imgs/tree-node-children.png +0 -0
- package/esm/Tree/index.js +0 -2
- package/esm/Video/buttons/index.js +0 -5
- package/esm/Video/index.js +0 -2
- package/esm/shared/test/utils.js +0 -56
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
-
import BaseTheme, { generateShadows } from './baseTheme';
|
|
8
|
-
var colors = {
|
|
9
|
-
anchor: '#1034a6',
|
|
10
|
-
anchorVisited: '#440381',
|
|
11
|
-
borderDark: '#3c1f3e',
|
|
12
|
-
borderDarkest: '#18051a',
|
|
13
|
-
borderLight: '#945b9b',
|
|
14
|
-
borderLighter: '#c5a3c9',
|
|
15
|
-
borderLightest: '#dfcce1',
|
|
16
|
-
canvas: '#18051a',
|
|
17
|
-
canvasText: '#c47bcc',
|
|
18
|
-
canvasTextDisabled: '#000000',
|
|
19
|
-
canvasTextDisabledShadow: '#000000',
|
|
20
|
-
canvasTextInvert: '#c57ece',
|
|
21
|
-
headerBackground: '#1034a6',
|
|
22
|
-
headerNotActiveBackground: '#210e23',
|
|
23
|
-
headerNotActiveText: '#652a6d',
|
|
24
|
-
headerText: '#010601',
|
|
25
|
-
material: '#652a6d',
|
|
26
|
-
materialDark: '#210e23',
|
|
27
|
-
materialText: '#c57ece',
|
|
28
|
-
materialTextDisabled: '#3c1f3e',
|
|
29
|
-
materialTextDisabledShadow: '#c47bcc',
|
|
30
|
-
materialTextInvert: '#c47bcc',
|
|
31
|
-
progress: '#000080',
|
|
32
|
-
inputBackground: '#ffffff',
|
|
33
|
-
inputBackgroundDisabled: '#945b9b',
|
|
34
|
-
tooltip: '#fefbcc'
|
|
35
|
-
};
|
|
36
|
-
var violetDark = _objectSpread(_objectSpread({}, BaseTheme), {}, {
|
|
37
|
-
colors: colors,
|
|
38
|
-
shadows: generateShadows(colors)
|
|
39
|
-
});
|
|
40
|
-
export default violetDark;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
-
import BaseTheme, { generateShadows } from './baseTheme';
|
|
8
|
-
var colors = {
|
|
9
|
-
anchor: '#72b3b4',
|
|
10
|
-
anchorVisited: '#440381',
|
|
11
|
-
borderDark: '#888c8f',
|
|
12
|
-
borderDarkest: '#050608',
|
|
13
|
-
borderLight: '#dfe0e3',
|
|
14
|
-
borderLighter: '#ededef',
|
|
15
|
-
borderLightest: '#f5f5f6',
|
|
16
|
-
canvas: '#050608',
|
|
17
|
-
canvasText: '#ffffff',
|
|
18
|
-
canvasTextDisabled: '#888c8f',
|
|
19
|
-
canvasTextDisabledShadow: '#ffffff',
|
|
20
|
-
canvasTextInvert: '#ffffff',
|
|
21
|
-
headerBackground: '#72b3b4',
|
|
22
|
-
headerNotActiveBackground: '#9a9e9c',
|
|
23
|
-
headerNotActiveText: '#ced0cf',
|
|
24
|
-
headerText: '#ffffff',
|
|
25
|
-
material: '#ced0cf',
|
|
26
|
-
materialDark: '#9a9e9c',
|
|
27
|
-
materialText: '#050608',
|
|
28
|
-
materialTextDisabled: '#888c8f',
|
|
29
|
-
materialTextDisabledShadow: '#ffffff',
|
|
30
|
-
materialTextInvert: '#ffffff',
|
|
31
|
-
progress: '#72b3b4',
|
|
32
|
-
inputBackground: '#ffffff',
|
|
33
|
-
inputBackgroundDisabled: '#dfe0e3',
|
|
34
|
-
tooltip: '#fefbcc'
|
|
35
|
-
};
|
|
36
|
-
var water = _objectSpread(_objectSpread({}, BaseTheme), {}, {
|
|
37
|
-
colors: colors,
|
|
38
|
-
shadows: generateShadows(colors)
|
|
39
|
-
});
|
|
40
|
-
export default water;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
-
import BaseTheme, { generateShadows } from './baseTheme';
|
|
8
|
-
var colors = {
|
|
9
|
-
anchor: '#000e7a',
|
|
10
|
-
anchorVisited: '#440381',
|
|
11
|
-
borderDark: '#868a8e',
|
|
12
|
-
borderDarkest: '#000000',
|
|
13
|
-
borderLight: '#d2d2d2',
|
|
14
|
-
borderLighter: '#e6e6e6',
|
|
15
|
-
borderLightest: '#ffffff',
|
|
16
|
-
canvas: '#000000',
|
|
17
|
-
canvasText: '#ffffff',
|
|
18
|
-
canvasTextDisabled: '#848584',
|
|
19
|
-
canvasTextDisabledShadow: '#fefefe',
|
|
20
|
-
canvasTextInvert: '#fefefe',
|
|
21
|
-
headerBackground: '#000e7a',
|
|
22
|
-
headerNotActiveBackground: '#7f787f',
|
|
23
|
-
headerNotActiveText: '#c6c6c6',
|
|
24
|
-
headerText: '#fefefe',
|
|
25
|
-
material: '#c3c7cb',
|
|
26
|
-
materialDark: '#9a9e9c',
|
|
27
|
-
materialText: '#000000',
|
|
28
|
-
materialTextDisabled: '#868a8e',
|
|
29
|
-
materialTextDisabledShadow: '#d2d2d2',
|
|
30
|
-
materialTextInvert: '#ffffff',
|
|
31
|
-
progress: '#000e7a',
|
|
32
|
-
inputBackground: '#ffffff',
|
|
33
|
-
inputBackgroundDisabled: '#d2d2d2',
|
|
34
|
-
tooltip: '#fefbcc'
|
|
35
|
-
};
|
|
36
|
-
var theme = _objectSpread(_objectSpread({}, BaseTheme), {}, {
|
|
37
|
-
colors: colors,
|
|
38
|
-
shadows: generateShadows(colors)
|
|
39
|
-
});
|
|
40
|
-
export default theme;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import win95 from './themes/win95';
|
|
2
|
-
import counterStrike from './themes/counterStrike';
|
|
3
|
-
import bee from './themes/bee';
|
|
4
|
-
import pamelaAnderson from './themes/pamelaAnderson';
|
|
5
|
-
import azureOrange from './themes/azureOrange';
|
|
6
|
-
import olive from './themes/olive';
|
|
7
|
-
import vaporTeal from './themes/vaporTeal';
|
|
8
|
-
import matrix from './themes/matrix';
|
|
9
|
-
import vermillion from './themes/vermillion';
|
|
10
|
-
import tooSexy from './themes/tooSexy';
|
|
11
|
-
import ninjaTurtles from './themes/ninjaTurtles';
|
|
12
|
-
import tokyoDark from './themes/tokyoDark';
|
|
13
|
-
import molecule from './themes/molecule';
|
|
14
|
-
import travel from './themes/travel';
|
|
15
|
-
import theSixtiesUSA from './themes/theSixtiesUSA';
|
|
16
|
-
import candy from './themes/candy';
|
|
17
|
-
import modernDark from './themes/modernDark';
|
|
18
|
-
import storm from './themes/storm';
|
|
19
|
-
import millenium from './themes/millenium';
|
|
20
|
-
import spruce from './themes/spruce';
|
|
21
|
-
import slate from './themes/slate';
|
|
22
|
-
import rose from './themes/rose';
|
|
23
|
-
import rainyDay from './themes/rainyDay';
|
|
24
|
-
import plum from './themes/plum';
|
|
25
|
-
import marine from './themes/marine';
|
|
26
|
-
import maple from './themes/maple';
|
|
27
|
-
import lilac from './themes/lilac';
|
|
28
|
-
import blackAndWhite from './themes/blackAndWhite';
|
|
29
|
-
import highContrast from './themes/highContrast';
|
|
30
|
-
import eggplant from './themes/eggplant';
|
|
31
|
-
import brick from './themes/brick';
|
|
32
|
-
import water from './themes/water';
|
|
33
|
-
import coldGray from './themes/coldGray';
|
|
34
|
-
import lilacRoseDark from './themes/lilacRoseDark';
|
|
35
|
-
import violetDark from './themes/violetDark';
|
|
36
|
-
var themes = {
|
|
37
|
-
win95: win95,
|
|
38
|
-
counterStrike: counterStrike,
|
|
39
|
-
bee: bee,
|
|
40
|
-
pamelaAnderson: pamelaAnderson,
|
|
41
|
-
azureOrange: azureOrange,
|
|
42
|
-
olive: olive,
|
|
43
|
-
vaporTeal: vaporTeal,
|
|
44
|
-
matrix: matrix,
|
|
45
|
-
vermillion: vermillion,
|
|
46
|
-
tooSexy: tooSexy,
|
|
47
|
-
ninjaTurtles: ninjaTurtles,
|
|
48
|
-
tokyoDark: tokyoDark,
|
|
49
|
-
molecule: molecule,
|
|
50
|
-
travel: travel,
|
|
51
|
-
theSixtiesUSA: theSixtiesUSA,
|
|
52
|
-
candy: candy,
|
|
53
|
-
modernDark: modernDark,
|
|
54
|
-
storm: storm,
|
|
55
|
-
millenium: millenium,
|
|
56
|
-
spruce: spruce,
|
|
57
|
-
slate: slate,
|
|
58
|
-
rose: rose,
|
|
59
|
-
rainyDay: rainyDay,
|
|
60
|
-
plum: plum,
|
|
61
|
-
marine: marine,
|
|
62
|
-
maple: maple,
|
|
63
|
-
lilac: lilac,
|
|
64
|
-
blackAndWhite: blackAndWhite,
|
|
65
|
-
highContrast: highContrast,
|
|
66
|
-
eggplant: eggplant,
|
|
67
|
-
brick: brick,
|
|
68
|
-
water: water,
|
|
69
|
-
coldGray: coldGray,
|
|
70
|
-
lilacRoseDark: lilacRoseDark,
|
|
71
|
-
violetDark: violetDark
|
|
72
|
-
};
|
|
73
|
-
export default themes;
|
package/esm/TitleBar/index.js
DELETED
package/esm/Tooltip/index.js
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/esm/Tree/index.js
DELETED
package/esm/Video/index.js
DELETED
package/esm/shared/test/utils.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
var _excluded = ["container"];
|
|
2
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
3
|
-
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
4
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
5
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
7
|
-
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
8
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
9
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
11
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
12
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
13
|
-
import { act, cleanup, render } from '@testing-library/react';
|
|
14
|
-
import ThemeProvider from '../../ThemeProvider';
|
|
15
|
-
var customRender = function customRender(ui, options) {
|
|
16
|
-
cleanup();
|
|
17
|
-
return render(ui, _objectSpread({
|
|
18
|
-
wrapper: ThemeProvider
|
|
19
|
-
}, options));
|
|
20
|
-
};
|
|
21
|
-
var waitRender = /*#__PURE__*/function () {
|
|
22
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(ui, options) {
|
|
23
|
-
var _customRender, container, rest;
|
|
24
|
-
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
25
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
26
|
-
case 0:
|
|
27
|
-
_customRender = customRender(ui, options), container = _customRender.container, rest = _objectWithoutProperties(_customRender, _excluded);
|
|
28
|
-
_context2.next = 3;
|
|
29
|
-
return act( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
30
|
-
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
31
|
-
while (1) switch (_context.prev = _context.next) {
|
|
32
|
-
case 0:
|
|
33
|
-
_context.next = 2;
|
|
34
|
-
return Promise.resolve(container);
|
|
35
|
-
case 2:
|
|
36
|
-
case "end":
|
|
37
|
-
return _context.stop();
|
|
38
|
-
}
|
|
39
|
-
}, _callee);
|
|
40
|
-
})));
|
|
41
|
-
case 3:
|
|
42
|
-
return _context2.abrupt("return", _objectSpread({
|
|
43
|
-
container: container
|
|
44
|
-
}, rest));
|
|
45
|
-
case 4:
|
|
46
|
-
case "end":
|
|
47
|
-
return _context2.stop();
|
|
48
|
-
}
|
|
49
|
-
}, _callee2);
|
|
50
|
-
}));
|
|
51
|
-
return function waitRender(_x, _x2) {
|
|
52
|
-
return _ref.apply(this, arguments);
|
|
53
|
-
};
|
|
54
|
-
}();
|
|
55
|
-
export * from '@testing-library/react';
|
|
56
|
-
export { customRender as render, waitRender };
|