@react95/core 8.0.0-alpha.0 → 8.0.0-alpha.2
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/Modal/Modal.d.ts +1 -1
- package/@types/Modal/ModalContext.d.ts +1 -2
- package/@types/Modal/ModalProvider.d.ts +1 -2
- package/@types/TaskBar/TaskBar.d.ts +1 -1
- package/@types/Tree/Node.d.ts +1 -2
- package/@types/index.d.ts +25 -23
- package/@types/themes/all.d.ts +36 -36
- package/@types/themes/azureOrange.css.d.ts +1 -1
- package/@types/themes/bee.css.d.ts +1 -1
- package/@types/themes/blackAndWhite.css.d.ts +1 -1
- package/@types/themes/brick.css.d.ts +1 -1
- package/@types/themes/candy.css.d.ts +1 -1
- package/@types/themes/coldGray.css.d.ts +1 -1
- package/@types/themes/contract.css.d.ts +66 -8
- package/@types/themes/counterStrike.css.d.ts +1 -1
- package/@types/themes/eggplant.css.d.ts +1 -1
- package/@types/themes/highContrast.css.d.ts +1 -1
- package/@types/themes/lilac.css.d.ts +1 -1
- package/@types/themes/lilacRoseDark.css.d.ts +1 -1
- package/@types/themes/maple.css.d.ts +1 -1
- package/@types/themes/marine.css.d.ts +1 -1
- package/@types/themes/matrix.css.d.ts +1 -1
- package/@types/themes/millenium.css.d.ts +1 -1
- package/@types/themes/modernDark.css.d.ts +1 -1
- package/@types/themes/molecule.css.d.ts +1 -1
- package/@types/themes/ninjaTurtles.css.d.ts +1 -1
- package/@types/themes/olive.css.d.ts +1 -1
- package/@types/themes/pamelaAnderson.css.d.ts +1 -1
- package/@types/themes/plum.css.d.ts +1 -1
- package/@types/themes/rainyDay.css.d.ts +1 -1
- package/@types/themes/rose.css.d.ts +1 -1
- package/@types/themes/slate.css.d.ts +1 -1
- package/@types/themes/spruce.css.d.ts +1 -1
- package/@types/themes/storm.css.d.ts +1 -1
- package/@types/themes/theSixtiesUSA.css.d.ts +1 -1
- package/@types/themes/tokyoDark.css.d.ts +1 -1
- package/@types/themes/tooSexy.css.d.ts +1 -1
- package/@types/themes/travel.css.d.ts +1 -1
- package/@types/themes/vaporTeal.css.d.ts +1 -1
- package/@types/themes/vermillion.css.d.ts +1 -1
- package/@types/themes/violetDark.css.d.ts +1 -1
- package/@types/themes/water.css.d.ts +1 -1
- package/@types/themes/win95.css.d.ts +1 -1
- package/cjs/Alert/Alert.css.js +8 -22
- package/cjs/Alert/Alert.css.ts.vanilla.css +15 -0
- package/cjs/Alert/Alert.js +33 -79
- package/cjs/Alert/assets/chord.mp3.js +3 -0
- package/cjs/Avatar/Avatar.css.js +7 -38
- package/cjs/Avatar/Avatar.css.ts.vanilla.css +24 -0
- package/cjs/Avatar/Avatar.js +25 -39
- package/cjs/Button/Button.css.js +4 -34
- package/cjs/Button/Button.css.ts.vanilla.css +31 -0
- package/cjs/Button/Button.js +19 -22
- package/cjs/Checkbox/Checkbox.css.js +10 -72
- package/cjs/Checkbox/Checkbox.css.ts.vanilla.css +59 -0
- package/cjs/Checkbox/Checkbox.js +16 -36
- package/cjs/Cursor/Cursor.css.js +4 -136
- package/cjs/Cursor/Cursor.css.ts.vanilla.css +96 -0
- package/cjs/Dropdown/Dropdown.css.js +6 -55
- package/cjs/Dropdown/Dropdown.css.ts.vanilla.css +50 -0
- package/cjs/Dropdown/Dropdown.js +19 -40
- package/cjs/Fieldset/Fieldset.css.js +6 -26
- package/cjs/Fieldset/Fieldset.css.ts.vanilla.css +19 -0
- package/cjs/Fieldset/Fieldset.js +8 -28
- package/cjs/Frame/Frame.js +21 -37
- package/cjs/Frame/sprinkles.css.js +46 -72
- package/cjs/GlobalStyle/GlobalStyle.css.js +2 -129
- package/cjs/GlobalStyle/GlobalStyle.css.ts.vanilla.css +122 -0
- package/cjs/GlobalStyle.js +4 -0
- package/cjs/Input/Input.css.js +4 -29
- package/cjs/Input/Input.css.ts.vanilla.css +21 -0
- package/cjs/Input/Input.js +25 -19
- package/cjs/List/List.css.js +8 -78
- package/cjs/List/List.css.ts.vanilla.css +66 -0
- package/cjs/List/List.js +14 -23
- package/cjs/List/ListDivider.js +18 -19
- package/cjs/List/ListItem.js +11 -34
- package/cjs/Modal/Modal.css.js +13 -75
- package/cjs/Modal/Modal.css.ts.vanilla.css +55 -0
- package/cjs/Modal/Modal.js +131 -155
- 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 +10 -39
- package/cjs/ProgressBar/ProgressBar.css.ts.vanilla.css +32 -0
- package/cjs/ProgressBar/ProgressBar.js +19 -38
- package/cjs/RadioButton/RadioButton.css.js +10 -54
- package/cjs/RadioButton/RadioButton.css.ts.vanilla.css +44 -0
- package/cjs/RadioButton/RadioButton.js +16 -31
- package/cjs/Range/Range.css.js +4 -58
- package/cjs/Range/Range.css.ts.vanilla.css +84 -0
- package/cjs/Range/Range.js +35 -22
- package/cjs/Tabs/Tab.js +17 -28
- package/cjs/Tabs/Tabs.css.js +9 -55
- package/cjs/Tabs/Tabs.css.ts.vanilla.css +54 -0
- package/cjs/Tabs/Tabs.js +48 -63
- package/cjs/TaskBar/Clock.js +29 -45
- package/cjs/TaskBar/TaskBar.css.js +11 -81
- package/cjs/TaskBar/TaskBar.css.ts.vanilla.css +51 -0
- package/cjs/TaskBar/TaskBar.js +72 -91
- package/cjs/TaskBar/WindowButton.js +16 -33
- package/cjs/TextArea/TextArea.js +25 -19
- package/cjs/TitleBar/TitleBar.css.js +11 -77
- package/cjs/TitleBar/TitleBar.css.ts.vanilla.css +62 -0
- package/cjs/TitleBar/TitleBar.js +44 -52
- package/cjs/Tooltip/Tooltip.css.js +6 -30
- package/cjs/Tooltip/Tooltip.css.ts.vanilla.css +25 -0
- package/cjs/Tooltip/Tooltip.js +66 -54
- package/cjs/Tree/Node.js +116 -131
- package/cjs/Tree/Tree.css.js +17 -115
- package/cjs/Tree/Tree.css.ts.vanilla.css +90 -0
- package/cjs/Tree/Tree.js +12 -31
- package/cjs/Video/Video.css.js +21 -105
- package/cjs/Video/Video.css.ts.vanilla.css +83 -0
- package/cjs/Video/Video.js +207 -231
- 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 -170
- package/cjs/themes/azureOrange.css.js +2 -41
- package/cjs/themes/azureOrange.css.ts.vanilla.css +58 -0
- package/cjs/themes/bee.css.js +2 -41
- package/cjs/themes/bee.css.ts.vanilla.css +58 -0
- package/cjs/themes/blackAndWhite.css.js +2 -41
- package/cjs/themes/blackAndWhite.css.ts.vanilla.css +58 -0
- package/cjs/themes/brick.css.js +2 -41
- package/cjs/themes/brick.css.ts.vanilla.css +58 -0
- package/cjs/themes/candy.css.js +2 -41
- package/cjs/themes/candy.css.ts.vanilla.css +58 -0
- package/cjs/themes/coldGray.css.js +2 -41
- package/cjs/themes/coldGray.css.ts.vanilla.css +58 -0
- package/cjs/themes/counterStrike.css.js +2 -41
- package/cjs/themes/counterStrike.css.ts.vanilla.css +58 -0
- package/cjs/themes/eggplant.css.js +2 -41
- package/cjs/themes/eggplant.css.ts.vanilla.css +58 -0
- package/cjs/themes/highContrast.css.js +2 -41
- package/cjs/themes/highContrast.css.ts.vanilla.css +58 -0
- package/cjs/themes/lilac.css.js +2 -41
- package/cjs/themes/lilac.css.ts.vanilla.css +58 -0
- package/cjs/themes/lilacRoseDark.css.js +2 -41
- package/cjs/themes/lilacRoseDark.css.ts.vanilla.css +58 -0
- package/cjs/themes/maple.css.js +2 -41
- package/cjs/themes/maple.css.ts.vanilla.css +58 -0
- package/cjs/themes/marine.css.js +2 -41
- package/cjs/themes/marine.css.ts.vanilla.css +58 -0
- package/cjs/themes/matrix.css.js +2 -41
- package/cjs/themes/matrix.css.ts.vanilla.css +58 -0
- package/cjs/themes/millenium.css.js +2 -41
- package/cjs/themes/millenium.css.ts.vanilla.css +58 -0
- package/cjs/themes/modernDark.css.js +2 -41
- package/cjs/themes/modernDark.css.ts.vanilla.css +58 -0
- package/cjs/themes/molecule.css.js +2 -41
- package/cjs/themes/molecule.css.ts.vanilla.css +58 -0
- package/cjs/themes/ninjaTurtles.css.js +2 -41
- package/cjs/themes/ninjaTurtles.css.ts.vanilla.css +58 -0
- package/cjs/themes/olive.css.js +2 -41
- package/cjs/themes/olive.css.ts.vanilla.css +58 -0
- package/cjs/themes/pamelaAnderson.css.js +2 -41
- package/cjs/themes/pamelaAnderson.css.ts.vanilla.css +58 -0
- package/cjs/themes/plum.css.js +2 -41
- package/cjs/themes/plum.css.ts.vanilla.css +58 -0
- package/cjs/themes/rainyDay.css.js +2 -41
- package/cjs/themes/rainyDay.css.ts.vanilla.css +58 -0
- package/cjs/themes/rose.css.js +2 -41
- package/cjs/themes/rose.css.ts.vanilla.css +58 -0
- package/cjs/themes/slate.css.js +2 -41
- 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 +2 -41
- package/cjs/themes/spruce.css.ts.vanilla.css +58 -0
- package/cjs/themes/storm.css.js +2 -41
- package/cjs/themes/storm.css.ts.vanilla.css +58 -0
- package/cjs/themes/theSixtiesUSA.css.js +2 -41
- package/cjs/themes/theSixtiesUSA.css.ts.vanilla.css +58 -0
- package/cjs/themes/tokyoDark.css.js +2 -41
- package/cjs/themes/tokyoDark.css.ts.vanilla.css +58 -0
- package/cjs/themes/tooSexy.css.js +2 -41
- package/cjs/themes/tooSexy.css.ts.vanilla.css +58 -0
- package/cjs/themes/travel.css.js +2 -41
- package/cjs/themes/travel.css.ts.vanilla.css +58 -0
- package/cjs/themes/vaporTeal.css.js +2 -41
- package/cjs/themes/vaporTeal.css.ts.vanilla.css +58 -0
- package/cjs/themes/vermillion.css.js +2 -41
- package/cjs/themes/vermillion.css.ts.vanilla.css +58 -0
- package/cjs/themes/violetDark.css.js +2 -41
- package/cjs/themes/violetDark.css.ts.vanilla.css +58 -0
- package/cjs/themes/water.css.js +2 -41
- package/cjs/themes/water.css.ts.vanilla.css +58 -0
- package/cjs/themes/win95.css.js +2 -41
- package/cjs/themes/win95.css.ts.vanilla.css +58 -0
- package/cjs/themes.js +72 -0
- package/esm/Alert/Alert.css.js +9 -17
- package/esm/Alert/Alert.css.ts.vanilla.css +15 -0
- package/esm/Alert/Alert.js +34 -71
- package/esm/Alert/assets/chord.mp3.js +4 -0
- package/esm/Avatar/Avatar.css.js +8 -33
- package/esm/Avatar/Avatar.css.ts.vanilla.css +24 -0
- package/esm/Avatar/Avatar.js +9 -30
- package/esm/Button/Button.css.js +5 -29
- package/esm/Button/Button.css.ts.vanilla.css +31 -0
- package/esm/Button/Button.js +20 -13
- package/esm/Checkbox/Checkbox.css.js +11 -66
- package/esm/Checkbox/Checkbox.css.ts.vanilla.css +59 -0
- package/esm/Checkbox/Checkbox.js +17 -28
- package/esm/Cursor/Cursor.css.js +5 -130
- package/esm/Cursor/Cursor.css.ts.vanilla.css +96 -0
- package/esm/Dropdown/Dropdown.css.js +7 -49
- package/esm/Dropdown/Dropdown.css.ts.vanilla.css +50 -0
- package/esm/Dropdown/Dropdown.js +20 -31
- package/esm/Fieldset/Fieldset.css.js +7 -21
- package/esm/Fieldset/Fieldset.css.ts.vanilla.css +19 -0
- package/esm/Fieldset/Fieldset.js +9 -20
- package/esm/Frame/Frame.js +22 -29
- package/esm/Frame/sprinkles.css.js +47 -67
- package/esm/GlobalStyle/GlobalStyle.css.js +2 -123
- package/esm/GlobalStyle/GlobalStyle.css.ts.vanilla.css +122 -0
- package/esm/GlobalStyle.js +4 -0
- package/esm/Input/Input.css.js +5 -24
- package/esm/Input/Input.css.ts.vanilla.css +21 -0
- package/esm/Input/Input.js +9 -11
- package/esm/List/List.css.js +9 -72
- package/esm/List/List.css.ts.vanilla.css +66 -0
- package/esm/List/List.js +15 -17
- package/esm/List/ListDivider.js +19 -13
- package/esm/List/ListItem.js +12 -25
- package/esm/Modal/Modal.css.js +14 -70
- package/esm/Modal/Modal.css.ts.vanilla.css +55 -0
- package/esm/Modal/Modal.js +115 -146
- 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 -34
- package/esm/ProgressBar/ProgressBar.css.ts.vanilla.css +32 -0
- package/esm/ProgressBar/ProgressBar.js +20 -29
- package/esm/RadioButton/RadioButton.css.js +11 -49
- package/esm/RadioButton/RadioButton.css.ts.vanilla.css +44 -0
- package/esm/RadioButton/RadioButton.js +17 -23
- package/esm/Range/Range.css.js +4 -52
- package/esm/Range/Range.css.ts.vanilla.css +84 -0
- package/esm/Range/Range.js +19 -13
- package/esm/Tabs/Tab.js +18 -19
- package/esm/Tabs/Tabs.css.js +10 -50
- package/esm/Tabs/Tabs.css.ts.vanilla.css +54 -0
- package/esm/Tabs/Tabs.js +49 -54
- package/esm/TaskBar/Clock.js +30 -36
- package/esm/TaskBar/TaskBar.css.js +12 -76
- package/esm/TaskBar/TaskBar.css.ts.vanilla.css +51 -0
- package/esm/TaskBar/TaskBar.js +73 -82
- package/esm/TaskBar/WindowButton.js +17 -25
- package/esm/TextArea/TextArea.js +9 -11
- package/esm/TitleBar/TitleBar.css.js +12 -72
- package/esm/TitleBar/TitleBar.css.ts.vanilla.css +62 -0
- package/esm/TitleBar/TitleBar.js +44 -42
- package/esm/Tooltip/Tooltip.css.js +7 -25
- package/esm/Tooltip/Tooltip.css.ts.vanilla.css +25 -0
- package/esm/Tooltip/Tooltip.js +50 -45
- package/esm/Tree/Node.js +92 -114
- package/esm/Tree/Tree.css.js +17 -109
- package/esm/Tree/Tree.css.ts.vanilla.css +90 -0
- package/esm/Tree/Tree.js +13 -23
- package/esm/Video/Video.css.js +22 -100
- package/esm/Video/Video.css.ts.vanilla.css +83 -0
- package/esm/Video/Video.js +191 -222
- 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 -23
- package/esm/themes/azureOrange.css.js +2 -36
- package/esm/themes/azureOrange.css.ts.vanilla.css +58 -0
- package/esm/themes/bee.css.js +2 -36
- package/esm/themes/bee.css.ts.vanilla.css +58 -0
- package/esm/themes/blackAndWhite.css.js +2 -36
- package/esm/themes/blackAndWhite.css.ts.vanilla.css +58 -0
- package/esm/themes/brick.css.js +2 -36
- package/esm/themes/brick.css.ts.vanilla.css +58 -0
- package/esm/themes/candy.css.js +2 -36
- package/esm/themes/candy.css.ts.vanilla.css +58 -0
- package/esm/themes/coldGray.css.js +2 -36
- package/esm/themes/coldGray.css.ts.vanilla.css +58 -0
- package/esm/themes/counterStrike.css.js +2 -36
- package/esm/themes/counterStrike.css.ts.vanilla.css +58 -0
- package/esm/themes/eggplant.css.js +2 -36
- package/esm/themes/eggplant.css.ts.vanilla.css +58 -0
- package/esm/themes/highContrast.css.js +2 -36
- package/esm/themes/highContrast.css.ts.vanilla.css +58 -0
- package/esm/themes/lilac.css.js +2 -36
- package/esm/themes/lilac.css.ts.vanilla.css +58 -0
- package/esm/themes/lilacRoseDark.css.js +2 -36
- package/esm/themes/lilacRoseDark.css.ts.vanilla.css +58 -0
- package/esm/themes/maple.css.js +2 -36
- package/esm/themes/maple.css.ts.vanilla.css +58 -0
- package/esm/themes/marine.css.js +2 -36
- package/esm/themes/marine.css.ts.vanilla.css +58 -0
- package/esm/themes/matrix.css.js +2 -36
- package/esm/themes/matrix.css.ts.vanilla.css +58 -0
- package/esm/themes/millenium.css.js +2 -36
- package/esm/themes/millenium.css.ts.vanilla.css +58 -0
- package/esm/themes/modernDark.css.js +2 -36
- package/esm/themes/modernDark.css.ts.vanilla.css +58 -0
- package/esm/themes/molecule.css.js +2 -36
- package/esm/themes/molecule.css.ts.vanilla.css +58 -0
- package/esm/themes/ninjaTurtles.css.js +2 -36
- package/esm/themes/ninjaTurtles.css.ts.vanilla.css +58 -0
- package/esm/themes/olive.css.js +2 -36
- package/esm/themes/olive.css.ts.vanilla.css +58 -0
- package/esm/themes/pamelaAnderson.css.js +2 -36
- package/esm/themes/pamelaAnderson.css.ts.vanilla.css +58 -0
- package/esm/themes/plum.css.js +2 -36
- package/esm/themes/plum.css.ts.vanilla.css +58 -0
- package/esm/themes/rainyDay.css.js +2 -36
- package/esm/themes/rainyDay.css.ts.vanilla.css +58 -0
- package/esm/themes/rose.css.js +2 -36
- package/esm/themes/rose.css.ts.vanilla.css +58 -0
- package/esm/themes/slate.css.js +2 -36
- 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 -36
- package/esm/themes/spruce.css.ts.vanilla.css +58 -0
- package/esm/themes/storm.css.js +2 -36
- package/esm/themes/storm.css.ts.vanilla.css +58 -0
- package/esm/themes/theSixtiesUSA.css.js +2 -36
- package/esm/themes/theSixtiesUSA.css.ts.vanilla.css +58 -0
- package/esm/themes/tokyoDark.css.js +2 -36
- package/esm/themes/tokyoDark.css.ts.vanilla.css +58 -0
- package/esm/themes/tooSexy.css.js +2 -36
- package/esm/themes/tooSexy.css.ts.vanilla.css +58 -0
- package/esm/themes/travel.css.js +2 -36
- package/esm/themes/travel.css.ts.vanilla.css +58 -0
- package/esm/themes/vaporTeal.css.js +2 -36
- package/esm/themes/vaporTeal.css.ts.vanilla.css +58 -0
- package/esm/themes/vermillion.css.js +2 -36
- package/esm/themes/vermillion.css.ts.vanilla.css +58 -0
- package/esm/themes/violetDark.css.js +2 -36
- package/esm/themes/violetDark.css.ts.vanilla.css +58 -0
- package/esm/themes/water.css.js +2 -36
- package/esm/themes/water.css.ts.vanilla.css +58 -0
- package/esm/themes/win95.css.js +2 -36
- package/esm/themes/win95.css.ts.vanilla.css +58 -0
- package/esm/themes.js +72 -0
- package/package.json +20 -2
- 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/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/utils.d.ts +0 -15
- 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/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 -4
- package/cjs/Alert/assets/chord.mp3 +0 -0
- package/cjs/Alert/index.js +0 -8
- package/cjs/Avatar/index.js +0 -8
- package/cjs/Button/index.js +0 -8
- package/cjs/Checkbox/imgs/check-disabled.svg +0 -1
- package/cjs/Checkbox/imgs/check.svg +0 -1
- package/cjs/Checkbox/index.js +0 -8
- 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 -8
- package/cjs/Dropdown/imgs/downcaret.png +0 -0
- package/cjs/Dropdown/imgs/downcaret.svg +0 -1
- package/cjs/Dropdown/index.js +0 -8
- package/cjs/Fieldset/index.js +0 -8
- package/cjs/Frame/index.js +0 -8
- package/cjs/Frame/props.js +0 -162
- 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/utils.js +0 -23
- package/cjs/Input/index.js +0 -8
- package/cjs/List/index.js +0 -8
- package/cjs/Modal/close.svg +0 -1
- package/cjs/Modal/help.svg +0 -1
- package/cjs/Modal/index.js +0 -27
- package/cjs/Modal/maximize.svg +0 -1
- package/cjs/Modal/minimize.svg +0 -1
- package/cjs/Modal/restore.svg +0 -1
- package/cjs/ProgressBar/index.js +0 -8
- 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 -8
- package/cjs/RadioButton/radioButtonStates.js +0 -34
- package/cjs/Range/index.js +0 -8
- package/cjs/Tabs/index.js +0 -19
- package/cjs/TaskBar/index.js +0 -8
- package/cjs/TextArea/index.js +0 -8
- package/cjs/TitleBar/index.js +0 -8
- package/cjs/Tooltip/index.js +0 -8
- package/cjs/Tree/index.js +0 -8
- package/cjs/Video/buttons/index.js +0 -34
- package/cjs/Video/index.js +0 -8
- package/cjs/shared/test/utils.js +0 -74
- package/cjs/themes/all.js +0 -250
- package/cjs/themes/baseTheme.css.js +0 -69
- package/cjs/themes/contract.css.js +0 -21
- 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/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/Frame/props.js +0 -156
- 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/utils.js +0 -17
- package/esm/Input/index.js +0 -2
- package/esm/List/index.js +0 -2
- package/esm/Modal/close.svg +0 -1
- package/esm/Modal/help.svg +0 -1
- package/esm/Modal/index.js +0 -4
- package/esm/Modal/maximize.svg +0 -1
- package/esm/Modal/minimize.svg +0 -1
- package/esm/Modal/restore.svg +0 -1
- 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/TitleBar/index.js +0 -2
- package/esm/Tooltip/index.js +0 -2
- 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 -49
- package/esm/themes/all.js +0 -36
- package/esm/themes/baseTheme.css.js +0 -63
- package/esm/themes/contract.css.js +0 -15
- /package/@types/{GlobalStyle/GlobalStyle.css.d.ts → shared/font-names.d.ts} +0 -0
- /package/@types/themes/{baseTheme.css.d.ts → baseTheme.d.ts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width="10" height="18" xmlns="http://www.w3.org/2000/svg"><path fill="none" d="M-1-1h12v20H-1z"/><g><path d="M10.004-.004l-3.016.01-.014 3.01-2.186-.013-.003 2.025-2.815.005.005 2.942-1.976-.003-.003 2c-.01.01 1.99.038 2 .028-.01.01-.038 3.01-.029 3-.01.01 2.845.015 2.854.005l-.003 2 2.172.004c-.01.01-.039 3.01-.03 3-.009.01 3.04-.01 3.026-.02l.018-17.993z" fill-opacity="null"/></g></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width="10" height="18" xmlns="http://www.w3.org/2000/svg"><path d="M.004 18.007l3.016-.013.01-3.01 2.186.01v-2.025l2.816-.01-.009-2.94H10v-2c.01-.01-1.99-.036-2-.026.01-.01.035-3.01.026-3 .01-.01-2.845-.011-2.855-.001v-2L3 2.99c.01-.01.035-3.011.025-3.001.01-.01-3.04.013-3.025.023l.004 17.994z" fill-opacity="null"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width="18" height="10" xmlns="http://www.w3.org/2000/svg"><path fill="none" d="M-1-1h20v12H-1z"/><g><path d="M18.006 9.993l-.014-3.016-3.01-.01.01-2.185h-2.025l-.01-2.816-2.942.01V0h-2c-.01-.01-.035 1.99-.025 2-.01-.01-3.01-.034-3-.024-.01-.01-.01 2.845 0 2.854H2.988v2.172c-.01-.01-3.011-.034-3-.025-.011-.01.013 3.04.024 3.025l17.993-.01z" fill-opacity="null"/></g></svg>
|
package/esm/GlobalStyle/utils.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export var createBorder = function createBorder(_ref) {
|
|
2
|
-
var direction = _ref.direction,
|
|
3
|
-
outerTopLeft = _ref.outerTopLeft,
|
|
4
|
-
innerTopLeft = _ref.innerTopLeft,
|
|
5
|
-
outerBottomRight = _ref.outerBottomRight,
|
|
6
|
-
innerBottomRight = _ref.innerBottomRight;
|
|
7
|
-
return {
|
|
8
|
-
border: 0,
|
|
9
|
-
boxShadow: "-1px -1px 0 0\n ".concat(direction == 'extrude' ? outerBottomRight : innerTopLeft, " inset,\n 1px 1px 0 0\n ").concat(direction == 'extrude' ? outerTopLeft : innerBottomRight, " inset ,\n -2px -2px 0 0\n ").concat(direction == 'extrude' ? innerBottomRight : outerTopLeft, " inset ,\n 2px 2px 0 0\n ").concat(direction == 'extrude' ? innerTopLeft : outerBottomRight, " inset")
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export var createTriangleSVG = function createTriangleSVG(color) {
|
|
13
|
-
var angle = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
14
|
-
var svg = "<svg height=\"21\" width=\"21\" viewBox=\"0 0 21 21\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <g transform=\"rotate(".concat(angle, " 13 13)\">\n <polygon fill=\"").concat(color, "\" points=\"6,10 20,10 13,17\"/>\n </g>\n </svg>");
|
|
15
|
-
var encoded = btoa(svg);
|
|
16
|
-
return "url(data:image/svg+xml;base64,".concat(encoded, ")");
|
|
17
|
-
};
|
package/esm/Input/index.js
DELETED
package/esm/List/index.js
DELETED
package/esm/Modal/close.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width='8' height='7' fill='currentColor' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M0 0h2v1h1v1h2V1h1V0h2v1H7v1H6v1H5v1h1v1h1v1h1v1H6V6H5V5H3v1H2v1H0V6h1V5h1V4h1V3H2V2H1V1H0V0z' /></svg>
|
package/esm/Modal/help.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width='6' height='9' fill='currentColor' xmlns='http://www.w3.org/2000/svg'><path d='M0 1h2v2H0zM1 0h4v1H1zM4 1h2v2H4zM3 3h2v1H3zM2 4h2v2H2zM2 7h2v2H2z'/></svg>
|
package/esm/Modal/index.js
DELETED
package/esm/Modal/maximize.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width='9' height='9' fill='currentColor' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M9 0H0v9h9V0zM8 2H1v6h7V2z' /></svg>
|
package/esm/Modal/minimize.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width='6' height='2' fill='currentColor' xmlns='http://www.w3.org/2000/svg'><path d='M0 0h6v2H0z'/></svg>
|
package/esm/Modal/restore.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width='8' height='9' fill='currentColor' xmlns='http://www.w3.org/2000/svg'><path d='M2 0h6v2H2zM7 2h1v4H7zM2 2h1v1H2zM6 5h1v1H6zM0 3h6v2H0zM5 5h1v4H5zM0 5h1v4H0zM1 8h4v1H1z'/></svg>
|
package/esm/ProgressBar/index.js
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/esm/RadioButton/index.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import radioChecked from './imgs/radio-checked.png';
|
|
2
|
-
import radioCheckedDisabled from './imgs/radio-checked-disabled.png';
|
|
3
|
-
import radioUnchecked from './imgs/radio-unchecked.png';
|
|
4
|
-
import radioUncheckedDisabled from './imgs/radio-unchecked-disabled.png';
|
|
5
|
-
export { radioChecked, radioCheckedDisabled, radioUnchecked, radioUncheckedDisabled };
|
package/esm/Range/index.js
DELETED
package/esm/Tabs/index.js
DELETED
package/esm/TaskBar/index.js
DELETED
package/esm/TextArea/index.js
DELETED
package/esm/TitleBar/index.js
DELETED
package/esm/Tooltip/index.js
DELETED
package/esm/Tree/index.js
DELETED
package/esm/Video/index.js
DELETED
package/esm/shared/test/utils.js
DELETED
|
@@ -1,49 +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
|
-
var _excluded = ["container"];
|
|
3
|
-
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; }
|
|
4
|
-
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; }
|
|
5
|
-
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; }
|
|
6
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
|
-
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); }
|
|
8
|
-
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; }
|
|
9
|
-
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; }
|
|
10
|
-
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; }
|
|
11
|
-
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); } }
|
|
12
|
-
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); }); }; }
|
|
13
|
-
import { act, render } from '@testing-library/react';
|
|
14
|
-
var waitRender = /*#__PURE__*/function () {
|
|
15
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(ui, options) {
|
|
16
|
-
var _render, container, rest;
|
|
17
|
-
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
18
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
19
|
-
case 0:
|
|
20
|
-
_render = render(ui, options), container = _render.container, rest = _objectWithoutProperties(_render, _excluded);
|
|
21
|
-
_context2.next = 3;
|
|
22
|
-
return act( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
23
|
-
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
24
|
-
while (1) switch (_context.prev = _context.next) {
|
|
25
|
-
case 0:
|
|
26
|
-
_context.next = 2;
|
|
27
|
-
return Promise.resolve(container);
|
|
28
|
-
case 2:
|
|
29
|
-
case "end":
|
|
30
|
-
return _context.stop();
|
|
31
|
-
}
|
|
32
|
-
}, _callee);
|
|
33
|
-
})));
|
|
34
|
-
case 3:
|
|
35
|
-
return _context2.abrupt("return", _objectSpread({
|
|
36
|
-
container: container
|
|
37
|
-
}, rest));
|
|
38
|
-
case 4:
|
|
39
|
-
case "end":
|
|
40
|
-
return _context2.stop();
|
|
41
|
-
}
|
|
42
|
-
}, _callee2);
|
|
43
|
-
}));
|
|
44
|
-
return function waitRender(_x, _x2) {
|
|
45
|
-
return _ref.apply(this, arguments);
|
|
46
|
-
};
|
|
47
|
-
}();
|
|
48
|
-
export * from '@testing-library/react';
|
|
49
|
-
export { render, waitRender };
|
package/esm/themes/all.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { win95 } from './win95.css';
|
|
2
|
-
import { counterStrike } from './counterStrike.css';
|
|
3
|
-
import { bee } from './bee.css';
|
|
4
|
-
import { pamelaAnderson } from './pamelaAnderson.css';
|
|
5
|
-
import { azureOrange } from './azureOrange.css';
|
|
6
|
-
import { olive } from './olive.css';
|
|
7
|
-
import { vaporTeal } from './vaporTeal.css';
|
|
8
|
-
import { matrix } from './matrix.css';
|
|
9
|
-
import { vermillion } from './vermillion.css';
|
|
10
|
-
import { tooSexy } from './tooSexy.css';
|
|
11
|
-
import { ninjaTurtles } from './ninjaTurtles.css';
|
|
12
|
-
import { tokyoDark } from './tokyoDark.css';
|
|
13
|
-
import { molecule } from './molecule.css';
|
|
14
|
-
import { travel } from './travel.css';
|
|
15
|
-
import { theSixtiesUSA } from './theSixtiesUSA.css';
|
|
16
|
-
import { candy } from './candy.css';
|
|
17
|
-
import { modernDark } from './modernDark.css';
|
|
18
|
-
import { storm } from './storm.css';
|
|
19
|
-
import { millenium } from './millenium.css';
|
|
20
|
-
import { spruce } from './spruce.css';
|
|
21
|
-
import { slate } from './slate.css';
|
|
22
|
-
import { rose } from './rose.css';
|
|
23
|
-
import { rainyDay } from './rainyDay.css';
|
|
24
|
-
import { plum } from './plum.css';
|
|
25
|
-
import { marine } from './marine.css';
|
|
26
|
-
import { maple } from './maple.css';
|
|
27
|
-
import { lilac } from './lilac.css';
|
|
28
|
-
import { blackAndWhite } from './blackAndWhite.css';
|
|
29
|
-
import { highContrast } from './highContrast.css';
|
|
30
|
-
import { eggplant } from './eggplant.css';
|
|
31
|
-
import { brick } from './brick.css';
|
|
32
|
-
import { water } from './water.css';
|
|
33
|
-
import { coldGray } from './coldGray.css';
|
|
34
|
-
import { lilacRoseDark } from './lilacRoseDark.css';
|
|
35
|
-
import { violetDark } from './violetDark.css';
|
|
36
|
-
export { win95, counterStrike, bee, pamelaAnderson, azureOrange, olive, vaporTeal, matrix, vermillion, tooSexy, ninjaTurtles, tokyoDark, molecule, travel, theSixtiesUSA, candy, modernDark, storm, millenium, spruce, slate, rose, rainyDay, plum, marine, maple, lilac, blackAndWhite, highContrast, eggplant, brick, water, coldGray, lilacRoseDark, violetDark };
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
var space = {
|
|
2
|
-
'0': '0px',
|
|
3
|
-
'1': '1px',
|
|
4
|
-
'2': '2px',
|
|
5
|
-
'3': '3px',
|
|
6
|
-
'4': '4px',
|
|
7
|
-
'5': '5px',
|
|
8
|
-
'6': '6px',
|
|
9
|
-
'7': '7px',
|
|
10
|
-
'8': '8px',
|
|
11
|
-
'9': '9px',
|
|
12
|
-
'10': '10px',
|
|
13
|
-
'11': '11px',
|
|
14
|
-
'12': '12px',
|
|
15
|
-
'13': '13px',
|
|
16
|
-
'14': '14px',
|
|
17
|
-
'15': '15px',
|
|
18
|
-
'16': '16px',
|
|
19
|
-
'17': '17px',
|
|
20
|
-
'18': '18px',
|
|
21
|
-
'19': '19px',
|
|
22
|
-
'20': '20px'
|
|
23
|
-
};
|
|
24
|
-
var colors = {
|
|
25
|
-
anchor: '',
|
|
26
|
-
anchorVisited: '',
|
|
27
|
-
borderDark: '',
|
|
28
|
-
borderDarkest: '',
|
|
29
|
-
borderLight: '',
|
|
30
|
-
borderLighter: '',
|
|
31
|
-
borderLightest: '',
|
|
32
|
-
canvas: '',
|
|
33
|
-
canvasText: '',
|
|
34
|
-
headerBackground: '',
|
|
35
|
-
headerNotActiveBackground: '',
|
|
36
|
-
headerNotActiveText: '',
|
|
37
|
-
headerText: '',
|
|
38
|
-
material: '',
|
|
39
|
-
materialText: '',
|
|
40
|
-
materialTextDisabled: '',
|
|
41
|
-
materialTextDisabledShadow: '',
|
|
42
|
-
materialTextInvert: '',
|
|
43
|
-
progress: '',
|
|
44
|
-
inputBackground: '',
|
|
45
|
-
inputBackgroundDisabled: ''
|
|
46
|
-
};
|
|
47
|
-
export var zIndices = {
|
|
48
|
-
modal: '2',
|
|
49
|
-
tooltip: '3',
|
|
50
|
-
taskbar: '3'
|
|
51
|
-
};
|
|
52
|
-
export var generateShadows = function generateShadows(colors) {
|
|
53
|
-
return {
|
|
54
|
-
out: "inset 0.5px 0.5px 0px 0.5px ".concat(colors.borderLightest, ",\n inset 0 0 0 1px ").concat(colors.borderDark, ",\n 1px 0px 0 0px ").concat(colors.borderDarkest, ",\n 0px 1px 0 0px ").concat(colors.borderDarkest, ",\n 1px 1px 0 0px ").concat(colors.borderDarkest),
|
|
55
|
-
"in": "inset 0px 0px 0px 0px,\n inset 1px 1px 0px 0px ".concat(colors.borderDark, ",\n 0.5px 0.5px 0px 0.5px ").concat(colors.borderLightest),
|
|
56
|
-
input: "inset -1px -1px 0 0 ".concat(colors.material, ",\n inset 1px 1px 0 0 ").concat(colors.borderDarkest, ",\n 0.5px 0.5px 0 0.5px ").concat(colors.borderLightest)
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
export var theme = {
|
|
60
|
-
zIndices: zIndices,
|
|
61
|
-
space: space,
|
|
62
|
-
colors: colors
|
|
63
|
-
};
|
|
@@ -1,15 +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 { createThemeContract } from '@vanilla-extract/css';
|
|
8
|
-
import { theme } from './baseTheme.css';
|
|
9
|
-
export var contract = createThemeContract(_objectSpread(_objectSpread({}, theme), {}, {
|
|
10
|
-
shadows: {
|
|
11
|
-
out: '',
|
|
12
|
-
"in": '',
|
|
13
|
-
input: ''
|
|
14
|
-
}
|
|
15
|
-
}));
|
|
File without changes
|
|
File without changes
|