@react95/core 8.0.0-alpha.0 → 8.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -42
- package/cjs/Alert/Alert.cjs +43 -0
- package/cjs/Alert/Alert.css.cjs +9 -0
- package/cjs/Alert/Alert.css.ts.vanilla.css +15 -0
- package/cjs/Alert/assets/chord.mp3.cjs +3 -0
- package/cjs/Avatar/Avatar.cjs +26 -0
- package/cjs/Avatar/Avatar.css.cjs +8 -0
- package/cjs/Avatar/Avatar.css.ts.vanilla.css +24 -0
- package/cjs/Button/Button.cjs +20 -0
- package/cjs/Button/Button.css.cjs +5 -0
- package/cjs/Button/Button.css.ts.vanilla.css +31 -0
- package/cjs/Checkbox/Checkbox.cjs +17 -0
- package/cjs/Checkbox/Checkbox.css.cjs +11 -0
- package/cjs/Checkbox/Checkbox.css.ts.vanilla.css +59 -0
- package/cjs/Cursor/Cursor.css.cjs +5 -0
- package/cjs/Cursor/Cursor.css.ts.vanilla.css +96 -0
- package/cjs/Dropdown/Dropdown.cjs +20 -0
- package/cjs/Dropdown/Dropdown.css.cjs +7 -0
- package/cjs/Dropdown/Dropdown.css.ts.vanilla.css +50 -0
- package/cjs/Fieldset/Fieldset.cjs +9 -0
- package/cjs/Fieldset/Fieldset.css.cjs +7 -0
- package/cjs/Fieldset/Fieldset.css.ts.vanilla.css +19 -0
- package/cjs/Frame/Frame.cjs +23 -0
- package/cjs/Frame/Frame.css.cjs +48 -0
- package/cjs/Frame/Frame.css.ts.vanilla.css +399 -0
- package/cjs/GlobalStyle/GlobalStyle.css.cjs +3 -0
- package/cjs/GlobalStyle/GlobalStyle.css.ts.vanilla.css +122 -0
- package/cjs/GlobalStyle.cjs +4 -0
- package/cjs/Input/Input.cjs +26 -0
- package/cjs/Input/Input.css.cjs +5 -0
- package/cjs/Input/Input.css.ts.vanilla.css +21 -0
- package/cjs/List/List.cjs +16 -0
- package/cjs/List/List.css.cjs +9 -0
- package/cjs/List/List.css.ts.vanilla.css +66 -0
- package/cjs/List/ListDivider.cjs +19 -0
- package/cjs/List/ListItem.cjs +12 -0
- package/cjs/Modal/Modal.cjs +151 -0
- package/cjs/Modal/Modal.css.cjs +14 -0
- package/cjs/Modal/Modal.css.ts.vanilla.css +55 -0
- package/cjs/Modal/ModalContext.cjs +16 -0
- package/cjs/Modal/ModalProvider.cjs +71 -0
- package/cjs/Modal/close.svg.cjs +3 -0
- package/cjs/Modal/help.svg.cjs +3 -0
- package/cjs/ProgressBar/ProgressBar.cjs +20 -0
- package/cjs/ProgressBar/ProgressBar.css.cjs +11 -0
- package/cjs/ProgressBar/ProgressBar.css.ts.vanilla.css +32 -0
- package/cjs/RadioButton/RadioButton.cjs +17 -0
- package/cjs/RadioButton/RadioButton.css.cjs +11 -0
- package/cjs/RadioButton/RadioButton.css.ts.vanilla.css +44 -0
- package/cjs/Range/Range.cjs +36 -0
- package/cjs/Range/Range.css.cjs +5 -0
- package/cjs/Range/Range.css.ts.vanilla.css +84 -0
- package/cjs/Tabs/Tab.cjs +18 -0
- package/cjs/Tabs/Tabs.cjs +50 -0
- package/cjs/Tabs/Tabs.css.cjs +10 -0
- package/cjs/Tabs/Tabs.css.ts.vanilla.css +54 -0
- package/cjs/TaskBar/Clock.cjs +34 -0
- package/cjs/TaskBar/TaskBar.cjs +74 -0
- package/cjs/TaskBar/TaskBar.css.cjs +12 -0
- package/cjs/TaskBar/TaskBar.css.ts.vanilla.css +52 -0
- package/cjs/TaskBar/WindowButton.cjs +17 -0
- package/cjs/TextArea/TextArea.cjs +26 -0
- package/cjs/TitleBar/TitleBar.cjs +45 -0
- package/cjs/TitleBar/TitleBar.css.cjs +12 -0
- package/cjs/TitleBar/TitleBar.css.ts.vanilla.css +62 -0
- package/cjs/Tooltip/Tooltip.cjs +77 -0
- package/cjs/Tooltip/Tooltip.css.cjs +7 -0
- package/cjs/Tooltip/Tooltip.css.ts.vanilla.css +25 -0
- package/cjs/Tree/Node.cjs +139 -0
- package/cjs/Tree/Tree.cjs +16 -0
- package/cjs/Tree/Tree.css.cjs +18 -0
- package/cjs/Tree/Tree.css.ts.vanilla.css +90 -0
- package/cjs/Video/Video.cjs +223 -0
- package/cjs/Video/Video.css.cjs +22 -0
- package/cjs/Video/Video.css.ts.vanilla.css +83 -0
- package/cjs/Video/buttons/Fullscreen.cjs +39 -0
- package/cjs/Video/buttons/Pause.cjs +33 -0
- package/cjs/Video/buttons/Play.cjs +33 -0
- package/cjs/Video/buttons/Stop.cjs +32 -0
- package/cjs/index.cjs +50 -0
- package/cjs/themes/azureOrange.css.cjs +3 -0
- package/cjs/themes/azureOrange.css.ts.vanilla.css +58 -0
- package/cjs/themes/bee.css.cjs +3 -0
- package/cjs/themes/bee.css.ts.vanilla.css +58 -0
- package/cjs/themes/blackAndWhite.css.cjs +3 -0
- package/cjs/themes/blackAndWhite.css.ts.vanilla.css +58 -0
- package/cjs/themes/brick.css.cjs +3 -0
- package/cjs/themes/brick.css.ts.vanilla.css +58 -0
- package/cjs/themes/candy.css.cjs +3 -0
- package/cjs/themes/candy.css.ts.vanilla.css +58 -0
- package/cjs/themes/coldGray.css.cjs +3 -0
- package/cjs/themes/coldGray.css.ts.vanilla.css +58 -0
- package/cjs/themes/counterStrike.css.cjs +3 -0
- package/cjs/themes/counterStrike.css.ts.vanilla.css +58 -0
- package/cjs/themes/eggplant.css.cjs +3 -0
- package/cjs/themes/eggplant.css.ts.vanilla.css +58 -0
- package/cjs/themes/highContrast.css.cjs +3 -0
- package/cjs/themes/highContrast.css.ts.vanilla.css +58 -0
- package/cjs/themes/lilac.css.cjs +3 -0
- package/cjs/themes/lilac.css.ts.vanilla.css +58 -0
- package/cjs/themes/lilacRoseDark.css.cjs +3 -0
- package/cjs/themes/lilacRoseDark.css.ts.vanilla.css +58 -0
- package/cjs/themes/maple.css.cjs +3 -0
- package/cjs/themes/maple.css.ts.vanilla.css +58 -0
- package/cjs/themes/marine.css.cjs +3 -0
- package/cjs/themes/marine.css.ts.vanilla.css +58 -0
- package/cjs/themes/matrix.css.cjs +3 -0
- package/cjs/themes/matrix.css.ts.vanilla.css +58 -0
- package/cjs/themes/millenium.css.cjs +3 -0
- package/cjs/themes/millenium.css.ts.vanilla.css +58 -0
- package/cjs/themes/modernDark.css.cjs +3 -0
- package/cjs/themes/modernDark.css.ts.vanilla.css +58 -0
- package/cjs/themes/molecule.css.cjs +3 -0
- package/cjs/themes/molecule.css.ts.vanilla.css +58 -0
- package/cjs/themes/ninjaTurtles.css.cjs +3 -0
- package/cjs/themes/ninjaTurtles.css.ts.vanilla.css +58 -0
- package/cjs/themes/olive.css.cjs +3 -0
- package/cjs/themes/olive.css.ts.vanilla.css +58 -0
- package/cjs/themes/pamelaAnderson.css.cjs +3 -0
- package/cjs/themes/pamelaAnderson.css.ts.vanilla.css +58 -0
- package/cjs/themes/plum.css.cjs +3 -0
- package/cjs/themes/plum.css.ts.vanilla.css +58 -0
- package/cjs/themes/rainyDay.css.cjs +3 -0
- package/cjs/themes/rainyDay.css.ts.vanilla.css +58 -0
- package/cjs/themes/rose.css.cjs +3 -0
- package/cjs/themes/rose.css.ts.vanilla.css +58 -0
- package/cjs/themes/slate.css.cjs +3 -0
- package/cjs/themes/slate.css.ts.vanilla.css +58 -0
- package/cjs/themes/spruce.css.cjs +3 -0
- package/cjs/themes/spruce.css.ts.vanilla.css +58 -0
- package/cjs/themes/storm.css.cjs +3 -0
- package/cjs/themes/storm.css.ts.vanilla.css +58 -0
- package/cjs/themes/theSixtiesUSA.css.cjs +3 -0
- package/cjs/themes/theSixtiesUSA.css.ts.vanilla.css +58 -0
- package/cjs/themes/tokyoDark.css.cjs +3 -0
- package/cjs/themes/tokyoDark.css.ts.vanilla.css +58 -0
- package/cjs/themes/tooSexy.css.cjs +3 -0
- package/cjs/themes/tooSexy.css.ts.vanilla.css +58 -0
- package/cjs/themes/travel.css.cjs +3 -0
- package/cjs/themes/travel.css.ts.vanilla.css +58 -0
- package/cjs/themes/vaporTeal.css.cjs +3 -0
- package/cjs/themes/vaporTeal.css.ts.vanilla.css +58 -0
- package/cjs/themes/vermillion.css.cjs +3 -0
- package/cjs/themes/vermillion.css.ts.vanilla.css +58 -0
- package/cjs/themes/violetDark.css.cjs +3 -0
- package/cjs/themes/violetDark.css.ts.vanilla.css +58 -0
- package/cjs/themes/water.css.cjs +3 -0
- package/cjs/themes/water.css.ts.vanilla.css +58 -0
- package/cjs/themes/win95.css.cjs +3 -0
- package/cjs/themes/win95.css.ts.vanilla.css +58 -0
- package/cjs/themes.cjs +72 -0
- package/esm/Alert/Alert.css.mjs +9 -0
- package/esm/Alert/Alert.css.ts.vanilla.css +15 -0
- package/esm/Alert/Alert.mjs +43 -0
- package/esm/Alert/assets/chord.mp3.mjs +4 -0
- package/esm/Avatar/Avatar.css.mjs +8 -0
- package/esm/Avatar/Avatar.css.ts.vanilla.css +24 -0
- package/esm/Avatar/Avatar.mjs +9 -0
- package/esm/Button/Button.css.mjs +5 -0
- package/esm/Button/Button.css.ts.vanilla.css +31 -0
- package/esm/Button/Button.mjs +20 -0
- package/esm/Checkbox/Checkbox.css.mjs +11 -0
- package/esm/Checkbox/Checkbox.css.ts.vanilla.css +59 -0
- package/esm/Checkbox/Checkbox.mjs +17 -0
- package/esm/Cursor/Cursor.css.mjs +5 -0
- package/esm/Cursor/Cursor.css.ts.vanilla.css +96 -0
- package/esm/Dropdown/Dropdown.css.mjs +7 -0
- package/esm/Dropdown/Dropdown.css.ts.vanilla.css +50 -0
- package/esm/Dropdown/Dropdown.mjs +20 -0
- package/esm/Fieldset/Fieldset.css.mjs +7 -0
- package/esm/Fieldset/Fieldset.css.ts.vanilla.css +19 -0
- package/esm/Fieldset/Fieldset.mjs +9 -0
- package/esm/Frame/Frame.css.mjs +48 -0
- package/esm/Frame/Frame.css.ts.vanilla.css +399 -0
- package/esm/Frame/Frame.mjs +23 -0
- package/esm/GlobalStyle/GlobalStyle.css.mjs +2 -0
- package/esm/GlobalStyle/GlobalStyle.css.ts.vanilla.css +122 -0
- package/esm/GlobalStyle.mjs +4 -0
- package/esm/Input/Input.css.mjs +5 -0
- package/esm/Input/Input.css.ts.vanilla.css +21 -0
- package/esm/Input/Input.mjs +9 -0
- package/esm/List/List.css.mjs +9 -0
- package/esm/List/List.css.ts.vanilla.css +66 -0
- package/esm/List/List.mjs +16 -0
- package/esm/List/ListDivider.mjs +19 -0
- package/esm/List/ListItem.mjs +12 -0
- package/esm/Modal/Modal.css.mjs +14 -0
- package/esm/Modal/Modal.css.ts.vanilla.css +55 -0
- package/esm/Modal/Modal.mjs +134 -0
- package/esm/Modal/ModalContext.mjs +16 -0
- package/esm/Modal/ModalProvider.mjs +54 -0
- package/esm/Modal/close.svg.mjs +4 -0
- package/esm/Modal/help.svg.mjs +4 -0
- package/esm/ProgressBar/ProgressBar.css.mjs +11 -0
- package/esm/ProgressBar/ProgressBar.css.ts.vanilla.css +32 -0
- package/esm/ProgressBar/ProgressBar.mjs +20 -0
- package/esm/RadioButton/RadioButton.css.mjs +11 -0
- package/esm/RadioButton/RadioButton.css.ts.vanilla.css +44 -0
- package/esm/RadioButton/RadioButton.mjs +17 -0
- package/esm/Range/Range.css.mjs +5 -0
- package/esm/Range/Range.css.ts.vanilla.css +84 -0
- package/esm/Range/Range.mjs +19 -0
- package/esm/Tabs/Tab.mjs +18 -0
- package/esm/Tabs/Tabs.css.mjs +10 -0
- package/esm/Tabs/Tabs.css.ts.vanilla.css +54 -0
- package/esm/Tabs/Tabs.mjs +50 -0
- package/esm/TaskBar/Clock.mjs +34 -0
- package/esm/TaskBar/TaskBar.css.mjs +12 -0
- package/esm/TaskBar/TaskBar.css.ts.vanilla.css +52 -0
- package/esm/TaskBar/TaskBar.mjs +74 -0
- package/esm/TaskBar/WindowButton.mjs +17 -0
- package/esm/TextArea/TextArea.mjs +9 -0
- package/esm/TitleBar/TitleBar.css.mjs +12 -0
- package/esm/TitleBar/TitleBar.css.ts.vanilla.css +62 -0
- package/esm/TitleBar/TitleBar.mjs +45 -0
- package/esm/Tooltip/Tooltip.css.mjs +7 -0
- package/esm/Tooltip/Tooltip.css.ts.vanilla.css +25 -0
- package/esm/Tooltip/Tooltip.mjs +60 -0
- package/esm/Tree/Node.mjs +122 -0
- package/esm/Tree/Tree.css.mjs +18 -0
- package/esm/Tree/Tree.css.ts.vanilla.css +90 -0
- package/esm/Tree/Tree.mjs +16 -0
- package/esm/Video/Video.css.mjs +22 -0
- package/esm/Video/Video.css.ts.vanilla.css +83 -0
- package/esm/Video/Video.mjs +206 -0
- package/esm/Video/buttons/Fullscreen.mjs +23 -0
- package/esm/Video/buttons/Pause.mjs +17 -0
- package/esm/Video/buttons/Play.mjs +17 -0
- package/esm/Video/buttons/Stop.mjs +16 -0
- package/esm/index.mjs +50 -0
- package/esm/themes/azureOrange.css.mjs +2 -0
- package/esm/themes/azureOrange.css.ts.vanilla.css +58 -0
- package/esm/themes/bee.css.mjs +2 -0
- package/esm/themes/bee.css.ts.vanilla.css +58 -0
- package/esm/themes/blackAndWhite.css.mjs +2 -0
- package/esm/themes/blackAndWhite.css.ts.vanilla.css +58 -0
- package/esm/themes/brick.css.mjs +2 -0
- package/esm/themes/brick.css.ts.vanilla.css +58 -0
- package/esm/themes/candy.css.mjs +2 -0
- package/esm/themes/candy.css.ts.vanilla.css +58 -0
- package/esm/themes/coldGray.css.mjs +2 -0
- package/esm/themes/coldGray.css.ts.vanilla.css +58 -0
- package/esm/themes/counterStrike.css.mjs +2 -0
- package/esm/themes/counterStrike.css.ts.vanilla.css +58 -0
- package/esm/themes/eggplant.css.mjs +2 -0
- package/esm/themes/eggplant.css.ts.vanilla.css +58 -0
- package/esm/themes/highContrast.css.mjs +2 -0
- package/esm/themes/highContrast.css.ts.vanilla.css +58 -0
- package/esm/themes/lilac.css.mjs +2 -0
- package/esm/themes/lilac.css.ts.vanilla.css +58 -0
- package/esm/themes/lilacRoseDark.css.mjs +2 -0
- package/esm/themes/lilacRoseDark.css.ts.vanilla.css +58 -0
- package/esm/themes/maple.css.mjs +2 -0
- package/esm/themes/maple.css.ts.vanilla.css +58 -0
- package/esm/themes/marine.css.mjs +2 -0
- package/esm/themes/marine.css.ts.vanilla.css +58 -0
- package/esm/themes/matrix.css.mjs +2 -0
- package/esm/themes/matrix.css.ts.vanilla.css +58 -0
- package/esm/themes/millenium.css.mjs +2 -0
- package/esm/themes/millenium.css.ts.vanilla.css +58 -0
- package/esm/themes/modernDark.css.mjs +2 -0
- package/esm/themes/modernDark.css.ts.vanilla.css +58 -0
- package/esm/themes/molecule.css.mjs +2 -0
- package/esm/themes/molecule.css.ts.vanilla.css +58 -0
- package/esm/themes/ninjaTurtles.css.mjs +2 -0
- package/esm/themes/ninjaTurtles.css.ts.vanilla.css +58 -0
- package/esm/themes/olive.css.mjs +2 -0
- package/esm/themes/olive.css.ts.vanilla.css +58 -0
- package/esm/themes/pamelaAnderson.css.mjs +2 -0
- package/esm/themes/pamelaAnderson.css.ts.vanilla.css +58 -0
- package/esm/themes/plum.css.mjs +2 -0
- package/esm/themes/plum.css.ts.vanilla.css +58 -0
- package/esm/themes/rainyDay.css.mjs +2 -0
- package/esm/themes/rainyDay.css.ts.vanilla.css +58 -0
- package/esm/themes/rose.css.mjs +2 -0
- package/esm/themes/rose.css.ts.vanilla.css +58 -0
- package/esm/themes/slate.css.mjs +2 -0
- package/esm/themes/slate.css.ts.vanilla.css +58 -0
- package/esm/themes/spruce.css.mjs +2 -0
- package/esm/themes/spruce.css.ts.vanilla.css +58 -0
- package/esm/themes/storm.css.mjs +2 -0
- package/esm/themes/storm.css.ts.vanilla.css +58 -0
- package/esm/themes/theSixtiesUSA.css.mjs +2 -0
- package/esm/themes/theSixtiesUSA.css.ts.vanilla.css +58 -0
- package/esm/themes/tokyoDark.css.mjs +2 -0
- package/esm/themes/tokyoDark.css.ts.vanilla.css +58 -0
- package/esm/themes/tooSexy.css.mjs +2 -0
- package/esm/themes/tooSexy.css.ts.vanilla.css +58 -0
- package/esm/themes/travel.css.mjs +2 -0
- package/esm/themes/travel.css.ts.vanilla.css +58 -0
- package/esm/themes/vaporTeal.css.mjs +2 -0
- package/esm/themes/vaporTeal.css.ts.vanilla.css +58 -0
- package/esm/themes/vermillion.css.mjs +2 -0
- package/esm/themes/vermillion.css.ts.vanilla.css +58 -0
- package/esm/themes/violetDark.css.mjs +2 -0
- package/esm/themes/violetDark.css.ts.vanilla.css +58 -0
- package/esm/themes/water.css.mjs +2 -0
- package/esm/themes/water.css.ts.vanilla.css +58 -0
- package/esm/themes/win95.css.mjs +2 -0
- package/esm/themes/win95.css.ts.vanilla.css +58 -0
- package/esm/themes.mjs +72 -0
- package/package.json +32 -5
- package/types/Frame/Frame.css.d.ts +2296 -0
- package/types/Frame/Frame.d.ts +2251 -0
- package/types/Frame/props.d.ts +977 -0
- package/types/Modal/Modal.d.ts +30 -0
- package/types/Modal/ModalContext.d.ts +15 -0
- package/types/Modal/ModalProvider.d.ts +3 -0
- package/types/TaskBar/TaskBar.d.ts +6 -0
- package/types/Tree/Node.d.ts +22 -0
- package/types/index.d.ts +25 -0
- package/types/themes/all.d.ts +36 -0
- package/types/themes/azureOrange.css.d.ts +1 -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/@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/Frame.d.ts +0 -2251
- package/@types/Frame/index.d.ts +0 -2
- package/@types/Frame/props.d.ts +0 -977
- package/@types/Frame/sprinkles.css.d.ts +0 -2271
- 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/Modal.d.ts +0 -30
- package/@types/Modal/ModalContext.d.ts +0 -16
- package/@types/Modal/ModalProvider.d.ts +0 -4
- 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/TaskBar.d.ts +0 -6
- 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/Node.d.ts +0 -23
- package/@types/Tree/index.d.ts +0 -2
- package/@types/Video/index.d.ts +0 -2
- package/@types/index.d.ts +0 -23
- package/@types/shared/test/utils.d.ts +0 -4
- package/@types/themes/all.d.ts +0 -36
- package/@types/themes/azureOrange.css.d.ts +0 -1
- package/@types/themes/bee.css.d.ts +0 -1
- package/@types/themes/blackAndWhite.css.d.ts +0 -1
- package/@types/themes/brick.css.d.ts +0 -1
- package/@types/themes/candy.css.d.ts +0 -1
- package/@types/themes/coldGray.css.d.ts +0 -1
- package/@types/themes/contract.css.d.ts +0 -58
- package/@types/themes/counterStrike.css.d.ts +0 -1
- package/@types/themes/eggplant.css.d.ts +0 -1
- package/@types/themes/highContrast.css.d.ts +0 -1
- package/@types/themes/lilac.css.d.ts +0 -1
- package/@types/themes/lilacRoseDark.css.d.ts +0 -1
- package/@types/themes/maple.css.d.ts +0 -1
- package/@types/themes/marine.css.d.ts +0 -1
- package/@types/themes/matrix.css.d.ts +0 -1
- package/@types/themes/millenium.css.d.ts +0 -1
- package/@types/themes/modernDark.css.d.ts +0 -1
- package/@types/themes/molecule.css.d.ts +0 -1
- package/@types/themes/ninjaTurtles.css.d.ts +0 -1
- package/@types/themes/olive.css.d.ts +0 -1
- package/@types/themes/pamelaAnderson.css.d.ts +0 -1
- package/@types/themes/plum.css.d.ts +0 -1
- package/@types/themes/rainyDay.css.d.ts +0 -1
- package/@types/themes/rose.css.d.ts +0 -1
- package/@types/themes/slate.css.d.ts +0 -1
- package/@types/themes/spruce.css.d.ts +0 -1
- package/@types/themes/storm.css.d.ts +0 -1
- package/@types/themes/theSixtiesUSA.css.d.ts +0 -1
- package/@types/themes/tokyoDark.css.d.ts +0 -1
- package/@types/themes/tooSexy.css.d.ts +0 -1
- package/@types/themes/travel.css.d.ts +0 -1
- package/@types/themes/vaporTeal.css.d.ts +0 -1
- package/@types/themes/vermillion.css.d.ts +0 -1
- package/@types/themes/violetDark.css.d.ts +0 -1
- package/@types/themes/water.css.d.ts +0 -1
- package/@types/themes/win95.css.d.ts +0 -1
- package/cjs/Alert/Alert.css.js +0 -23
- package/cjs/Alert/Alert.js +0 -89
- package/cjs/Alert/assets/chord.mp3 +0 -0
- package/cjs/Alert/index.js +0 -8
- package/cjs/Avatar/Avatar.css.js +0 -39
- package/cjs/Avatar/Avatar.js +0 -40
- package/cjs/Avatar/index.js +0 -8
- package/cjs/Button/Button.css.js +0 -35
- package/cjs/Button/Button.js +0 -23
- package/cjs/Button/index.js +0 -8
- package/cjs/Checkbox/Checkbox.css.js +0 -73
- package/cjs/Checkbox/Checkbox.js +0 -37
- 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/Cursor.css.js +0 -137
- 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/Dropdown.css.js +0 -56
- package/cjs/Dropdown/Dropdown.js +0 -41
- 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/Fieldset.css.js +0 -27
- package/cjs/Fieldset/Fieldset.js +0 -29
- package/cjs/Fieldset/index.js +0 -8
- package/cjs/Frame/Frame.js +0 -39
- package/cjs/Frame/index.js +0 -8
- package/cjs/Frame/props.js +0 -162
- package/cjs/Frame/sprinkles.css.js +0 -73
- package/cjs/GlobalStyle/GlobalStyle.css.js +0 -130
- 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/Input.css.js +0 -30
- package/cjs/Input/Input.js +0 -20
- package/cjs/Input/index.js +0 -8
- package/cjs/List/List.css.js +0 -79
- package/cjs/List/List.js +0 -25
- package/cjs/List/ListDivider.js +0 -20
- package/cjs/List/ListItem.js +0 -35
- package/cjs/List/index.js +0 -8
- package/cjs/Modal/Modal.css.js +0 -76
- package/cjs/Modal/Modal.js +0 -175
- package/cjs/Modal/ModalContext.js +0 -18
- package/cjs/Modal/ModalProvider.js +0 -92
- 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/ProgressBar.css.js +0 -40
- package/cjs/ProgressBar/ProgressBar.js +0 -39
- package/cjs/ProgressBar/index.js +0 -8
- package/cjs/RadioButton/RadioButton.css.js +0 -55
- package/cjs/RadioButton/RadioButton.js +0 -32
- 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/Range.css.js +0 -59
- package/cjs/Range/Range.js +0 -23
- package/cjs/Range/index.js +0 -8
- package/cjs/Tabs/Tab.js +0 -29
- package/cjs/Tabs/Tabs.css.js +0 -56
- package/cjs/Tabs/Tabs.js +0 -65
- package/cjs/Tabs/index.js +0 -19
- package/cjs/TaskBar/Clock.js +0 -50
- package/cjs/TaskBar/TaskBar.css.js +0 -82
- package/cjs/TaskBar/TaskBar.js +0 -93
- package/cjs/TaskBar/WindowButton.js +0 -34
- package/cjs/TaskBar/index.js +0 -8
- package/cjs/TextArea/TextArea.js +0 -20
- package/cjs/TextArea/index.js +0 -8
- package/cjs/TitleBar/TitleBar.css.js +0 -78
- package/cjs/TitleBar/TitleBar.js +0 -53
- package/cjs/TitleBar/index.js +0 -8
- package/cjs/Tooltip/Tooltip.css.js +0 -31
- package/cjs/Tooltip/Tooltip.js +0 -65
- package/cjs/Tooltip/index.js +0 -8
- package/cjs/Tree/Node.js +0 -154
- package/cjs/Tree/Tree.css.js +0 -116
- package/cjs/Tree/Tree.js +0 -35
- package/cjs/Tree/index.js +0 -8
- package/cjs/Video/Video.css.js +0 -106
- package/cjs/Video/Video.js +0 -247
- package/cjs/Video/buttons/Fullscreen.js +0 -26
- package/cjs/Video/buttons/Pause.js +0 -23
- package/cjs/Video/buttons/Play.js +0 -23
- package/cjs/Video/buttons/Stop.js +0 -22
- package/cjs/Video/buttons/index.js +0 -34
- package/cjs/Video/index.js +0 -8
- package/cjs/index.js +0 -171
- package/cjs/shared/test/utils.js +0 -74
- package/cjs/themes/all.js +0 -250
- package/cjs/themes/azureOrange.css.js +0 -42
- package/cjs/themes/baseTheme.css.js +0 -69
- package/cjs/themes/bee.css.js +0 -42
- package/cjs/themes/blackAndWhite.css.js +0 -42
- package/cjs/themes/brick.css.js +0 -42
- package/cjs/themes/candy.css.js +0 -42
- package/cjs/themes/coldGray.css.js +0 -42
- package/cjs/themes/contract.css.js +0 -21
- package/cjs/themes/counterStrike.css.js +0 -42
- package/cjs/themes/eggplant.css.js +0 -42
- package/cjs/themes/highContrast.css.js +0 -42
- package/cjs/themes/lilac.css.js +0 -42
- package/cjs/themes/lilacRoseDark.css.js +0 -42
- package/cjs/themes/maple.css.js +0 -42
- package/cjs/themes/marine.css.js +0 -42
- package/cjs/themes/matrix.css.js +0 -42
- package/cjs/themes/millenium.css.js +0 -42
- package/cjs/themes/modernDark.css.js +0 -42
- package/cjs/themes/molecule.css.js +0 -42
- package/cjs/themes/ninjaTurtles.css.js +0 -42
- package/cjs/themes/olive.css.js +0 -42
- package/cjs/themes/pamelaAnderson.css.js +0 -42
- package/cjs/themes/plum.css.js +0 -42
- package/cjs/themes/rainyDay.css.js +0 -42
- package/cjs/themes/rose.css.js +0 -42
- package/cjs/themes/slate.css.js +0 -42
- package/cjs/themes/spruce.css.js +0 -42
- package/cjs/themes/storm.css.js +0 -42
- package/cjs/themes/theSixtiesUSA.css.js +0 -42
- package/cjs/themes/tokyoDark.css.js +0 -42
- package/cjs/themes/tooSexy.css.js +0 -42
- package/cjs/themes/travel.css.js +0 -42
- package/cjs/themes/vaporTeal.css.js +0 -42
- package/cjs/themes/vermillion.css.js +0 -42
- package/cjs/themes/violetDark.css.js +0 -42
- package/cjs/themes/water.css.js +0 -42
- package/cjs/themes/win95.css.js +0 -42
- package/esm/Alert/Alert.css.js +0 -17
- package/esm/Alert/Alert.js +0 -80
- package/esm/Alert/assets/chord.mp3 +0 -0
- package/esm/Alert/index.js +0 -2
- package/esm/Avatar/Avatar.css.js +0 -33
- package/esm/Avatar/Avatar.js +0 -30
- package/esm/Avatar/index.js +0 -2
- package/esm/Button/Button.css.js +0 -29
- package/esm/Button/Button.js +0 -13
- package/esm/Button/index.js +0 -2
- package/esm/Checkbox/Checkbox.css.js +0 -66
- package/esm/Checkbox/Checkbox.js +0 -28
- 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.css.js +0 -130
- 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/Dropdown.css.js +0 -49
- package/esm/Dropdown/Dropdown.js +0 -31
- 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/Fieldset.css.js +0 -21
- package/esm/Fieldset/Fieldset.js +0 -20
- package/esm/Fieldset/index.js +0 -2
- package/esm/Frame/Frame.js +0 -30
- package/esm/Frame/index.js +0 -2
- package/esm/Frame/props.js +0 -156
- package/esm/Frame/sprinkles.css.js +0 -67
- package/esm/GlobalStyle/GlobalStyle.css.js +0 -123
- 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/Input.css.js +0 -24
- package/esm/Input/Input.js +0 -11
- package/esm/Input/index.js +0 -2
- package/esm/List/List.css.js +0 -72
- package/esm/List/List.js +0 -18
- package/esm/List/ListDivider.js +0 -13
- package/esm/List/ListItem.js +0 -25
- package/esm/List/index.js +0 -2
- package/esm/Modal/Modal.css.js +0 -70
- package/esm/Modal/Modal.js +0 -165
- package/esm/Modal/ModalContext.js +0 -11
- package/esm/Modal/ModalProvider.js +0 -84
- 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/ProgressBar.css.js +0 -34
- package/esm/ProgressBar/ProgressBar.js +0 -29
- package/esm/ProgressBar/index.js +0 -2
- package/esm/RadioButton/RadioButton.css.js +0 -49
- package/esm/RadioButton/RadioButton.js +0 -23
- 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/Range.css.js +0 -53
- package/esm/Range/Range.js +0 -13
- package/esm/Range/index.js +0 -2
- package/esm/Tabs/Tab.js +0 -19
- package/esm/Tabs/Tabs.css.js +0 -50
- package/esm/Tabs/Tabs.js +0 -55
- package/esm/Tabs/index.js +0 -3
- package/esm/TaskBar/Clock.js +0 -40
- package/esm/TaskBar/TaskBar.css.js +0 -76
- package/esm/TaskBar/TaskBar.js +0 -83
- package/esm/TaskBar/WindowButton.js +0 -25
- package/esm/TaskBar/index.js +0 -2
- package/esm/TextArea/TextArea.js +0 -11
- package/esm/TextArea/index.js +0 -2
- package/esm/TitleBar/TitleBar.css.js +0 -72
- package/esm/TitleBar/TitleBar.js +0 -43
- package/esm/TitleBar/index.js +0 -2
- package/esm/Tooltip/Tooltip.css.js +0 -25
- package/esm/Tooltip/Tooltip.js +0 -55
- package/esm/Tooltip/index.js +0 -2
- package/esm/Tree/Node.js +0 -144
- package/esm/Tree/Tree.css.js +0 -110
- package/esm/Tree/Tree.js +0 -26
- package/esm/Tree/index.js +0 -2
- package/esm/Video/Video.css.js +0 -100
- package/esm/Video/Video.js +0 -237
- package/esm/Video/buttons/Fullscreen.js +0 -17
- package/esm/Video/buttons/Pause.js +0 -14
- package/esm/Video/buttons/Play.js +0 -14
- package/esm/Video/buttons/Stop.js +0 -13
- package/esm/Video/buttons/index.js +0 -5
- package/esm/Video/index.js +0 -2
- package/esm/index.js +0 -23
- package/esm/shared/test/utils.js +0 -49
- package/esm/themes/all.js +0 -36
- package/esm/themes/azureOrange.css.js +0 -36
- package/esm/themes/baseTheme.css.js +0 -63
- package/esm/themes/bee.css.js +0 -36
- package/esm/themes/blackAndWhite.css.js +0 -36
- package/esm/themes/brick.css.js +0 -36
- package/esm/themes/candy.css.js +0 -36
- package/esm/themes/coldGray.css.js +0 -36
- package/esm/themes/contract.css.js +0 -15
- package/esm/themes/counterStrike.css.js +0 -36
- package/esm/themes/eggplant.css.js +0 -36
- package/esm/themes/highContrast.css.js +0 -36
- package/esm/themes/lilac.css.js +0 -36
- package/esm/themes/lilacRoseDark.css.js +0 -36
- package/esm/themes/maple.css.js +0 -36
- package/esm/themes/marine.css.js +0 -36
- package/esm/themes/matrix.css.js +0 -36
- package/esm/themes/millenium.css.js +0 -36
- package/esm/themes/modernDark.css.js +0 -36
- package/esm/themes/molecule.css.js +0 -36
- package/esm/themes/ninjaTurtles.css.js +0 -36
- package/esm/themes/olive.css.js +0 -36
- package/esm/themes/pamelaAnderson.css.js +0 -36
- package/esm/themes/plum.css.js +0 -36
- package/esm/themes/rainyDay.css.js +0 -36
- package/esm/themes/rose.css.js +0 -36
- package/esm/themes/slate.css.js +0 -36
- package/esm/themes/spruce.css.js +0 -36
- package/esm/themes/storm.css.js +0 -36
- package/esm/themes/theSixtiesUSA.css.js +0 -36
- package/esm/themes/tokyoDark.css.js +0 -36
- package/esm/themes/tooSexy.css.js +0 -36
- package/esm/themes/travel.css.js +0 -36
- package/esm/themes/vaporTeal.css.js +0 -36
- package/esm/themes/vermillion.css.js +0 -36
- package/esm/themes/violetDark.css.js +0 -36
- package/esm/themes/water.css.js +0 -36
- package/esm/themes/win95.css.js +0 -36
- /package/{@types → types}/Alert/Alert.css.d.ts +0 -0
- /package/{@types → types}/Alert/Alert.d.ts +0 -0
- /package/{@types → types}/Avatar/Avatar.css.d.ts +0 -0
- /package/{@types → types}/Avatar/Avatar.d.ts +0 -0
- /package/{@types → types}/Button/Button.css.d.ts +0 -0
- /package/{@types → types}/Button/Button.d.ts +0 -0
- /package/{@types → types}/Checkbox/Checkbox.css.d.ts +0 -0
- /package/{@types → types}/Checkbox/Checkbox.d.ts +0 -0
- /package/{@types → types}/Cursor/Cursor.css.d.ts +0 -0
- /package/{@types → types}/Dropdown/Dropdown.css.d.ts +0 -0
- /package/{@types → types}/Dropdown/Dropdown.d.ts +0 -0
- /package/{@types → types}/Fieldset/Fieldset.css.d.ts +0 -0
- /package/{@types → types}/Fieldset/Fieldset.d.ts +0 -0
- /package/{@types → types}/Input/Input.css.d.ts +0 -0
- /package/{@types → types}/Input/Input.d.ts +0 -0
- /package/{@types → types}/List/List.css.d.ts +0 -0
- /package/{@types → types}/List/List.d.ts +0 -0
- /package/{@types → types}/List/ListDivider.d.ts +0 -0
- /package/{@types → types}/List/ListItem.d.ts +0 -0
- /package/{@types → types}/Modal/Modal.css.d.ts +0 -0
- /package/{@types → types}/ProgressBar/ProgressBar.css.d.ts +0 -0
- /package/{@types → types}/ProgressBar/ProgressBar.d.ts +0 -0
- /package/{@types → types}/RadioButton/RadioButton.css.d.ts +0 -0
- /package/{@types → types}/RadioButton/RadioButton.d.ts +0 -0
- /package/{@types → types}/RadioButton/radioButtonStates.d.ts +0 -0
- /package/{@types → types}/Range/Range.css.d.ts +0 -0
- /package/{@types → types}/Range/Range.d.ts +0 -0
- /package/{@types → types}/Tabs/Tab.d.ts +0 -0
- /package/{@types → types}/Tabs/Tabs.css.d.ts +0 -0
- /package/{@types → types}/Tabs/Tabs.d.ts +0 -0
- /package/{@types → types}/TaskBar/Clock.d.ts +0 -0
- /package/{@types → types}/TaskBar/TaskBar.css.d.ts +0 -0
- /package/{@types → types}/TaskBar/WindowButton.d.ts +0 -0
- /package/{@types → types}/TextArea/TextArea.d.ts +0 -0
- /package/{@types → types}/TitleBar/TitleBar.css.d.ts +0 -0
- /package/{@types → types}/TitleBar/TitleBar.d.ts +0 -0
- /package/{@types → types}/Tooltip/Tooltip.css.d.ts +0 -0
- /package/{@types → types}/Tooltip/Tooltip.d.ts +0 -0
- /package/{@types → types}/Tree/Tree.css.d.ts +0 -0
- /package/{@types → types}/Tree/Tree.d.ts +0 -0
- /package/{@types → types}/Video/Video.css.d.ts +0 -0
- /package/{@types → types}/Video/Video.d.ts +0 -0
- /package/{@types → types}/Video/buttons/Fullscreen.d.ts +0 -0
- /package/{@types → types}/Video/buttons/Pause.d.ts +0 -0
- /package/{@types → types}/Video/buttons/Play.d.ts +0 -0
- /package/{@types → types}/Video/buttons/Stop.d.ts +0 -0
- /package/{@types → types}/Video/buttons/index.d.ts +0 -0
- /package/{@types/GlobalStyle/GlobalStyle.css.d.ts → types/shared/font-names.d.ts} +0 -0
- /package/{@types/themes/baseTheme.css.d.ts → types/themes/baseTheme.d.ts} +0 -0
package/esm/Video/Video.css.js
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { globalStyle, style } from '@vanilla-extract/css';
|
|
2
|
-
import { recipe } from '@vanilla-extract/recipes';
|
|
3
|
-
import { contract } from '../themes/contract.css';
|
|
4
|
-
import { R95VideoNumbers } from '../GlobalStyle/GlobalStyle.css';
|
|
5
|
-
import { calc } from '@vanilla-extract/css-utils';
|
|
6
|
-
export var videoTag = recipe({
|
|
7
|
-
base: {
|
|
8
|
-
width: '100%',
|
|
9
|
-
padding: contract.space[2]
|
|
10
|
-
},
|
|
11
|
-
variants: {
|
|
12
|
-
visible: {
|
|
13
|
-
"true": {
|
|
14
|
-
display: 'block'
|
|
15
|
-
},
|
|
16
|
-
"false": {
|
|
17
|
-
display: 'none'
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
export var controls = style({
|
|
23
|
-
display: 'flex',
|
|
24
|
-
alignItems: 'center',
|
|
25
|
-
paddingTop: contract.space[2],
|
|
26
|
-
paddingBottom: contract.space[2]
|
|
27
|
-
});
|
|
28
|
-
export var countDownContainer = style({
|
|
29
|
-
display: 'flex',
|
|
30
|
-
padding: contract.space[6],
|
|
31
|
-
marginBottom: contract.space[4],
|
|
32
|
-
boxShadow: contract.shadows["in"],
|
|
33
|
-
backgroundColor: contract.colors.canvas,
|
|
34
|
-
height: '50px',
|
|
35
|
-
color: contract.colors.canvasText
|
|
36
|
-
});
|
|
37
|
-
export var videoFont = style({
|
|
38
|
-
fontFamily: R95VideoNumbers,
|
|
39
|
-
textTransform: 'uppercase'
|
|
40
|
-
});
|
|
41
|
-
export var currentTime = style({
|
|
42
|
-
marginTop: 'auto',
|
|
43
|
-
fontSize: 22
|
|
44
|
-
});
|
|
45
|
-
export var elapsedTime = style({
|
|
46
|
-
height: contract.space[12]
|
|
47
|
-
});
|
|
48
|
-
export var divider = style({
|
|
49
|
-
display: 'block',
|
|
50
|
-
height: contract.space[1],
|
|
51
|
-
borderTopStyle: 'solid',
|
|
52
|
-
borderTopWidth: contract.space[1],
|
|
53
|
-
borderTopColor: contract.colors.borderDark,
|
|
54
|
-
borderBottomWidth: contract.space[1],
|
|
55
|
-
borderBottomStyle: 'solid',
|
|
56
|
-
borderBottomColor: contract.colors.borderLightest,
|
|
57
|
-
marginBottom: contract.space[2]
|
|
58
|
-
});
|
|
59
|
-
export var controlBtn = style({
|
|
60
|
-
display: 'inline-flex',
|
|
61
|
-
justifyContent: 'center',
|
|
62
|
-
alignItems: 'center',
|
|
63
|
-
width: contract.space[20],
|
|
64
|
-
height: contract.space[20],
|
|
65
|
-
padding: contract.space[7],
|
|
66
|
-
selectors: {
|
|
67
|
-
'&:active, &:focus': {
|
|
68
|
-
width: contract.space[20],
|
|
69
|
-
height: contract.space[20],
|
|
70
|
-
padding: contract.space[7]
|
|
71
|
-
},
|
|
72
|
-
'&:disabled': {
|
|
73
|
-
padding: contract.space[4]
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
globalStyle("".concat(controlBtn, " svg"), {
|
|
78
|
-
fill: contract.colors.materialText
|
|
79
|
-
});
|
|
80
|
-
globalStyle("".concat(controlBtn, ":disabled svg"), {
|
|
81
|
-
fill: contract.colors.borderDark,
|
|
82
|
-
borderBottomWidth: contract.space[1],
|
|
83
|
-
borderBottomStyle: 'solid',
|
|
84
|
-
borderBottomColor: contract.colors.borderLightest,
|
|
85
|
-
borderRightWidth: contract.space[1],
|
|
86
|
-
borderRightStyle: 'solid',
|
|
87
|
-
borderRightColor: contract.colors.borderLightest
|
|
88
|
-
});
|
|
89
|
-
export var range = style({
|
|
90
|
-
selectors: {
|
|
91
|
-
'&::-webkit-slider-thumb': {
|
|
92
|
-
height: contract.space[18],
|
|
93
|
-
marginTop: calc.negate(contract.space[7]),
|
|
94
|
-
width: contract.space[10]
|
|
95
|
-
},
|
|
96
|
-
"&[value='0']::-webkit-slider-thumb": {
|
|
97
|
-
marginLeft: calc.negate(contract.space[2])
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
});
|
package/esm/Video/Video.js
DELETED
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
var _excluded = ["name", "src", "videoProps"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
4
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
5
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
6
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
7
|
-
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
8
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
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
|
-
import * as React from 'react';
|
|
12
|
-
import { Mplayer113, User4 } from '@react95/icons';
|
|
13
|
-
import * as styles from './Video.css';
|
|
14
|
-
import { Frame } from '../Frame/Frame';
|
|
15
|
-
import Button from '../Button';
|
|
16
|
-
import Range from '../Range';
|
|
17
|
-
import TitleBar from '../TitleBar';
|
|
18
|
-
import { Play, Pause, Stop, Fullscreen } from './buttons';
|
|
19
|
-
import cn from 'classnames';
|
|
20
|
-
var Source = function Source(_ref) {
|
|
21
|
-
var src = _ref.src;
|
|
22
|
-
return /*#__PURE__*/React.createElement("source", {
|
|
23
|
-
src: src,
|
|
24
|
-
type: "video/".concat(src.substring(src.length - 3))
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
var PlayOrPause = function PlayOrPause(_ref2) {
|
|
28
|
-
var playing = _ref2.playing;
|
|
29
|
-
return playing ? /*#__PURE__*/React.createElement(Pause, null) : /*#__PURE__*/React.createElement(Play, null);
|
|
30
|
-
};
|
|
31
|
-
var arrayFy = function arrayFy(str) {
|
|
32
|
-
return [].concat(str);
|
|
33
|
-
};
|
|
34
|
-
function updateProgressBar(player, updateProgress) {
|
|
35
|
-
var percentage = Math.floor(100 / player.duration * player.currentTime);
|
|
36
|
-
updateProgress(percentage);
|
|
37
|
-
}
|
|
38
|
-
function parseCurrentTime(secs) {
|
|
39
|
-
if (!secs) {
|
|
40
|
-
return '00:00';
|
|
41
|
-
}
|
|
42
|
-
var sec = parseInt(secs.toString(), 10);
|
|
43
|
-
var hours = Math.floor(sec / 3600);
|
|
44
|
-
var minutes = Math.floor(sec / 60) % 60;
|
|
45
|
-
var seconds = sec % 60;
|
|
46
|
-
return [hours, minutes, seconds].map(function (v) {
|
|
47
|
-
return v < 10 ? "0".concat(v) : v;
|
|
48
|
-
}).filter(function (v, i) {
|
|
49
|
-
return v !== '00' || i > 0;
|
|
50
|
-
}).join(':');
|
|
51
|
-
}
|
|
52
|
-
var VideoRenderer = function VideoRenderer(_ref3, ref) {
|
|
53
|
-
var name = _ref3.name,
|
|
54
|
-
src = _ref3.src,
|
|
55
|
-
videoProps = _ref3.videoProps,
|
|
56
|
-
props = _objectWithoutProperties(_ref3, _excluded);
|
|
57
|
-
var _React$useState = React.useState(false),
|
|
58
|
-
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
59
|
-
playing = _React$useState2[0],
|
|
60
|
-
setPlaying = _React$useState2[1];
|
|
61
|
-
var _React$useState3 = React.useState(false),
|
|
62
|
-
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
63
|
-
loadeddata = _React$useState4[0],
|
|
64
|
-
setLoadeddata = _React$useState4[1];
|
|
65
|
-
var _React$useState5 = React.useState(0),
|
|
66
|
-
_React$useState6 = _slicedToArray(_React$useState5, 2),
|
|
67
|
-
progress = _React$useState6[0],
|
|
68
|
-
setProgress = _React$useState6[1];
|
|
69
|
-
var player = React.useRef(null);
|
|
70
|
-
var progressRef = React.useRef(null);
|
|
71
|
-
var wrapperRef = React.useRef(null);
|
|
72
|
-
var playPauseRef = React.useRef(null);
|
|
73
|
-
var stopRef = React.useRef(null);
|
|
74
|
-
var fullScreenRef = React.useRef(null);
|
|
75
|
-
var paths = arrayFy(src);
|
|
76
|
-
var _paths = _slicedToArray(paths, 1),
|
|
77
|
-
pathname = _paths[0];
|
|
78
|
-
var normalizedName = name || pathname.replace(/^.*[\\/]/, '');
|
|
79
|
-
var title = "".concat(normalizedName).concat(!loadeddata ? ' (Opening)' : '');
|
|
80
|
-
React.useImperativeHandle(ref, function () {
|
|
81
|
-
return {
|
|
82
|
-
get video() {
|
|
83
|
-
return player;
|
|
84
|
-
},
|
|
85
|
-
get progress() {
|
|
86
|
-
return progressRef;
|
|
87
|
-
},
|
|
88
|
-
get wrapper() {
|
|
89
|
-
return wrapperRef;
|
|
90
|
-
},
|
|
91
|
-
get playpause() {
|
|
92
|
-
return playPauseRef;
|
|
93
|
-
},
|
|
94
|
-
get stop() {
|
|
95
|
-
return stopRef;
|
|
96
|
-
},
|
|
97
|
-
get fullScreen() {
|
|
98
|
-
return fullScreenRef;
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
});
|
|
102
|
-
React.useEffect(function () {
|
|
103
|
-
var _player$current, _player$current2, _player$current3, _player$current4;
|
|
104
|
-
(_player$current = player.current) === null || _player$current === void 0 || _player$current.addEventListener('ended', function () {
|
|
105
|
-
setPlaying(false);
|
|
106
|
-
setProgress(0);
|
|
107
|
-
}, false);
|
|
108
|
-
(_player$current2 = player.current) === null || _player$current2 === void 0 || _player$current2.addEventListener('timeupdate', function () {
|
|
109
|
-
if (player.current) {
|
|
110
|
-
updateProgressBar(player.current, setProgress);
|
|
111
|
-
}
|
|
112
|
-
}, false);
|
|
113
|
-
(_player$current3 = player.current) === null || _player$current3 === void 0 || _player$current3.addEventListener('loadeddata', function () {
|
|
114
|
-
setLoadeddata(true);
|
|
115
|
-
}, false);
|
|
116
|
-
(_player$current4 = player.current) === null || _player$current4 === void 0 || _player$current4.addEventListener('playing', function () {
|
|
117
|
-
setPlaying(true);
|
|
118
|
-
}, false);
|
|
119
|
-
}, [player.current]);
|
|
120
|
-
return /*#__PURE__*/React.createElement(Frame, _extends({}, props, {
|
|
121
|
-
padding: "$2",
|
|
122
|
-
boxShadow: "$out",
|
|
123
|
-
backgroundColor: "$material",
|
|
124
|
-
ref: wrapperRef
|
|
125
|
-
}), /*#__PURE__*/React.createElement(TitleBar, {
|
|
126
|
-
icon: /*#__PURE__*/React.createElement(Mplayer113, {
|
|
127
|
-
variant: "16x16_4"
|
|
128
|
-
}),
|
|
129
|
-
title: title
|
|
130
|
-
}), /*#__PURE__*/React.createElement("video", _extends({
|
|
131
|
-
className: styles.videoTag({
|
|
132
|
-
visible: loadeddata
|
|
133
|
-
})
|
|
134
|
-
}, videoProps, {
|
|
135
|
-
ref: player
|
|
136
|
-
}), paths.map(function (s) {
|
|
137
|
-
return /*#__PURE__*/React.createElement(Source, {
|
|
138
|
-
key: s,
|
|
139
|
-
src: s
|
|
140
|
-
});
|
|
141
|
-
})), loadeddata && /*#__PURE__*/React.createElement("span", {
|
|
142
|
-
className: styles.divider
|
|
143
|
-
}), /*#__PURE__*/React.createElement(Frame, {
|
|
144
|
-
maxWidth: "250px",
|
|
145
|
-
mx: "auto",
|
|
146
|
-
mb: "$4"
|
|
147
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
148
|
-
className: styles.countDownContainer
|
|
149
|
-
}, /*#__PURE__*/React.createElement(Frame, {
|
|
150
|
-
display: "flex",
|
|
151
|
-
flexDirection: "column",
|
|
152
|
-
w: "40%"
|
|
153
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
154
|
-
className: styles.videoFont,
|
|
155
|
-
style: {
|
|
156
|
-
marginTop: 'auto'
|
|
157
|
-
}
|
|
158
|
-
}, player.current && parseCurrentTime(player.current.duration)), /*#__PURE__*/React.createElement("div", {
|
|
159
|
-
className: styles.videoFont,
|
|
160
|
-
style: {
|
|
161
|
-
height: 12
|
|
162
|
-
}
|
|
163
|
-
}, !loadeddata && 'Openning')), /*#__PURE__*/React.createElement(Frame, {
|
|
164
|
-
display: "flex",
|
|
165
|
-
flexDirection: "column",
|
|
166
|
-
w: "40%"
|
|
167
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
168
|
-
className: cn(styles.videoFont, styles.currentTime)
|
|
169
|
-
}, player.current && parseCurrentTime(player.current.currentTime)), /*#__PURE__*/React.createElement("div", {
|
|
170
|
-
className: cn(styles.videoFont, styles.elapsedTime)
|
|
171
|
-
}, "time"))), /*#__PURE__*/React.createElement("div", {
|
|
172
|
-
className: styles.controls
|
|
173
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
174
|
-
className: styles.controlBtn,
|
|
175
|
-
disabled: !loadeddata,
|
|
176
|
-
onClick: function onClick() {
|
|
177
|
-
if (!playing) {
|
|
178
|
-
var _player$current5;
|
|
179
|
-
(_player$current5 = player.current) === null || _player$current5 === void 0 || _player$current5.play();
|
|
180
|
-
} else {
|
|
181
|
-
var _player$current6;
|
|
182
|
-
(_player$current6 = player.current) === null || _player$current6 === void 0 || _player$current6.pause();
|
|
183
|
-
}
|
|
184
|
-
setPlaying(!playing);
|
|
185
|
-
},
|
|
186
|
-
ref: playPauseRef
|
|
187
|
-
}, loadeddata ? /*#__PURE__*/React.createElement(PlayOrPause, {
|
|
188
|
-
playing: playing
|
|
189
|
-
}) : /*#__PURE__*/React.createElement(User4, {
|
|
190
|
-
style: {
|
|
191
|
-
borderRight: 'none',
|
|
192
|
-
borderBottom: 'none'
|
|
193
|
-
},
|
|
194
|
-
variant: "32x32_4"
|
|
195
|
-
})), /*#__PURE__*/React.createElement(Button, {
|
|
196
|
-
className: styles.controlBtn,
|
|
197
|
-
disabled: !loadeddata,
|
|
198
|
-
onClick: function onClick() {
|
|
199
|
-
if (player.current) {
|
|
200
|
-
player.current.pause();
|
|
201
|
-
player.current.currentTime = 0;
|
|
202
|
-
}
|
|
203
|
-
setPlaying(false);
|
|
204
|
-
},
|
|
205
|
-
ref: stopRef
|
|
206
|
-
}, /*#__PURE__*/React.createElement(Stop, null)), /*#__PURE__*/React.createElement(Button, {
|
|
207
|
-
className: styles.controlBtn,
|
|
208
|
-
disabled: !loadeddata,
|
|
209
|
-
onClick: function onClick() {
|
|
210
|
-
var _player$current7;
|
|
211
|
-
player === null || player === void 0 || (_player$current7 = player.current) === null || _player$current7 === void 0 || _player$current7.requestFullscreen();
|
|
212
|
-
},
|
|
213
|
-
ref: fullScreenRef
|
|
214
|
-
}, /*#__PURE__*/React.createElement(Fullscreen, null)), /*#__PURE__*/React.createElement(Range, {
|
|
215
|
-
className: styles.range,
|
|
216
|
-
ref: progressRef,
|
|
217
|
-
min: "0",
|
|
218
|
-
max: "100",
|
|
219
|
-
step: "1",
|
|
220
|
-
value: progress,
|
|
221
|
-
style: {
|
|
222
|
-
width: '70%',
|
|
223
|
-
marginLeft: 20
|
|
224
|
-
},
|
|
225
|
-
onChange: function onChange(_ref4) {
|
|
226
|
-
var target = _ref4.target;
|
|
227
|
-
var video = player.current;
|
|
228
|
-
if (video) {
|
|
229
|
-
var _value = parseInt(target.value);
|
|
230
|
-
var percent = _value / 100;
|
|
231
|
-
video.currentTime = percent * video.duration;
|
|
232
|
-
setProgress(_value);
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
}))));
|
|
236
|
-
};
|
|
237
|
-
export var Video = /*#__PURE__*/React.forwardRef(VideoRenderer);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
var Fullscreen = function Fullscreen(props) {
|
|
4
|
-
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
width: "6",
|
|
7
|
-
viewBox: "0 0 24 24",
|
|
8
|
-
height: "6",
|
|
9
|
-
"aria-label": "fullscreen"
|
|
10
|
-
}, props), /*#__PURE__*/React.createElement("path", {
|
|
11
|
-
d: "M24 9h-2v-5h-7v-2h9v7zm-9 13v-2h7v-5h2v7h-9zm-15-7h2v5h7v2h-9v-7zm9-13v2h-7v5h-2v-7h9zm11 4h-16v12h16v-12z",
|
|
12
|
-
style: {
|
|
13
|
-
width: 1000
|
|
14
|
-
}
|
|
15
|
-
}));
|
|
16
|
-
};
|
|
17
|
-
export default Fullscreen;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
var Pause = function Pause(props) {
|
|
4
|
-
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
5
|
-
height: "6",
|
|
6
|
-
viewBox: "0 0 424.236 424.236",
|
|
7
|
-
width: "6",
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
-
"aria-label": "pause"
|
|
10
|
-
}, props), /*#__PURE__*/React.createElement("path", {
|
|
11
|
-
d: "M256.471 2h176.765v424.236H256.471zM2 2h176.765v424.236H2z"
|
|
12
|
-
}));
|
|
13
|
-
};
|
|
14
|
-
export default Pause;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
var Play = function Play(props) {
|
|
4
|
-
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
5
|
-
height: "6",
|
|
6
|
-
viewBox: "0 0 494.942 494.942",
|
|
7
|
-
width: "6",
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
-
"aria-label": "play"
|
|
10
|
-
}, props), /*#__PURE__*/React.createElement("path", {
|
|
11
|
-
d: "M35.353 0l424.236 247.471L35.353 494.942z"
|
|
12
|
-
}));
|
|
13
|
-
};
|
|
14
|
-
export default Play;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
var Stop = function Stop(props) {
|
|
4
|
-
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
width: "6",
|
|
7
|
-
height: "6",
|
|
8
|
-
"aria-label": "stop"
|
|
9
|
-
}, props), /*#__PURE__*/React.createElement("path", {
|
|
10
|
-
d: "M0 0h306v306H0z"
|
|
11
|
-
}));
|
|
12
|
-
};
|
|
13
|
-
export default Stop;
|
package/esm/Video/index.js
DELETED
package/esm/index.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Modal, ModalContext } from './Modal';
|
|
2
|
-
import { Tab, Tabs } from './Tabs';
|
|
3
|
-
import Alert from './Alert';
|
|
4
|
-
import Avatar from './Avatar';
|
|
5
|
-
import Button from './Button';
|
|
6
|
-
import Checkbox from './Checkbox';
|
|
7
|
-
import Cursor from './Cursor';
|
|
8
|
-
import Dropdown from './Dropdown';
|
|
9
|
-
import Fieldset from './Fieldset';
|
|
10
|
-
import Frame from './Frame';
|
|
11
|
-
import * as GlobalStyle from './GlobalStyle/GlobalStyle.css';
|
|
12
|
-
import Input from './Input';
|
|
13
|
-
import List from './List';
|
|
14
|
-
import ProgressBar from './ProgressBar';
|
|
15
|
-
import RadioButton from './RadioButton';
|
|
16
|
-
import Range from './Range';
|
|
17
|
-
import TaskBar from './TaskBar';
|
|
18
|
-
import TextArea from './TextArea';
|
|
19
|
-
import Tree from './Tree';
|
|
20
|
-
import Tooltip from './Tooltip';
|
|
21
|
-
import TitleBar from './TitleBar';
|
|
22
|
-
import Video from './Video';
|
|
23
|
-
export { Alert, Avatar, Button, Checkbox, Cursor, Dropdown, Fieldset, Frame, GlobalStyle, Input, List, Modal, ModalContext, ProgressBar, RadioButton, Range, Tab, Tabs, TaskBar, TextArea, Tree, Tooltip, TitleBar, Video };
|
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,36 +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 { createTheme } from '@vanilla-extract/css';
|
|
8
|
-
import { theme, generateShadows } from './baseTheme.css';
|
|
9
|
-
import { contract } from './contract.css';
|
|
10
|
-
var colors = {
|
|
11
|
-
anchor: '#1034a6',
|
|
12
|
-
anchorVisited: '#440381',
|
|
13
|
-
borderDark: '#05427f',
|
|
14
|
-
borderDarkest: '#000000',
|
|
15
|
-
borderLight: '#2b8fff',
|
|
16
|
-
borderLighter: '#8ac1ff',
|
|
17
|
-
borderLightest: '#bedcff',
|
|
18
|
-
canvas: '#000000',
|
|
19
|
-
canvasText: '#ffffff',
|
|
20
|
-
headerBackground: '#171123',
|
|
21
|
-
headerNotActiveBackground: '#4E6766',
|
|
22
|
-
headerNotActiveText: '#0180ff',
|
|
23
|
-
headerText: '#ffffff',
|
|
24
|
-
material: '#0180ff',
|
|
25
|
-
materialText: '#000000',
|
|
26
|
-
materialTextDisabled: '#05427f',
|
|
27
|
-
materialTextDisabledShadow: '#7ebfff',
|
|
28
|
-
materialTextInvert: '#ffffff',
|
|
29
|
-
progress: '#F46036',
|
|
30
|
-
inputBackground: '#ffffff',
|
|
31
|
-
inputBackgroundDisabled: '#2b8fff'
|
|
32
|
-
};
|
|
33
|
-
export var azureOrange = createTheme(contract, _objectSpread(_objectSpread({}, theme), {}, {
|
|
34
|
-
colors: colors,
|
|
35
|
-
shadows: generateShadows(colors)
|
|
36
|
-
}));
|
|
@@ -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
|
-
};
|