@react95/core 7.0.2 → 8.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/Alert/Alert.css.d.ts +3 -0
- package/@types/Alert/Alert.d.ts +2 -9
- package/@types/Avatar/Avatar.css.d.ts +15 -0
- package/@types/Avatar/Avatar.d.ts +3 -4
- package/@types/Button/Button.css.d.ts +1 -0
- package/@types/Button/Button.d.ts +4 -2
- package/@types/Checkbox/Checkbox.css.d.ts +4 -0
- package/@types/Checkbox/Checkbox.d.ts +2 -9
- package/@types/Cursor/Cursor.css.d.ts +1 -0
- package/@types/Dropdown/Dropdown.css.d.ts +2 -0
- package/@types/Dropdown/Dropdown.d.ts +5 -4
- package/@types/Fieldset/Fieldset.css.d.ts +2 -0
- package/@types/Fieldset/Fieldset.d.ts +3 -5
- package/@types/Frame/Frame.d.ts +2251 -5
- package/@types/Frame/props.d.ts +977 -0
- package/@types/Frame/sprinkles.css.d.ts +2271 -0
- package/@types/Input/Input.css.d.ts +1 -0
- package/@types/Input/Input.d.ts +3 -4
- package/@types/List/List.css.d.ts +3 -0
- package/@types/List/List.d.ts +9 -9
- package/@types/List/ListDivider.d.ts +4 -2
- package/@types/List/ListItem.d.ts +1 -2
- package/@types/Modal/Modal.css.d.ts +18 -0
- package/@types/Modal/Modal.d.ts +7 -23
- package/@types/Modal/ModalContext.d.ts +1 -2
- package/@types/Modal/ModalProvider.d.ts +1 -2
- package/@types/ProgressBar/ProgressBar.css.d.ts +4 -0
- package/@types/ProgressBar/ProgressBar.d.ts +3 -4
- package/@types/RadioButton/RadioButton.css.d.ts +4 -0
- package/@types/RadioButton/RadioButton.d.ts +1 -2
- package/@types/Range/Range.css.d.ts +1 -0
- package/@types/Range/Range.d.ts +4 -4
- package/@types/Tabs/Tab.d.ts +4 -4
- package/@types/Tabs/Tabs.css.d.ts +15 -0
- package/@types/Tabs/Tabs.d.ts +4 -5
- package/@types/TaskBar/Clock.d.ts +1 -2
- package/@types/TaskBar/TaskBar.css.d.ts +21 -0
- package/@types/TaskBar/TaskBar.d.ts +2 -3
- package/@types/TaskBar/WindowButton.d.ts +5 -4
- package/@types/TextArea/TextArea.d.ts +4 -5
- package/@types/TitleBar/TitleBar.css.d.ts +15 -0
- package/@types/TitleBar/TitleBar.d.ts +5 -7
- package/@types/Tooltip/Tooltip.css.d.ts +2 -0
- package/@types/Tooltip/Tooltip.d.ts +1 -2
- package/@types/Tree/Node.d.ts +5 -3
- package/@types/Tree/Tree.css.d.ts +16 -0
- package/@types/Tree/Tree.d.ts +5 -3
- package/@types/Video/Video.css.d.ts +18 -0
- package/@types/Video/Video.d.ts +2 -9
- package/@types/index.d.ts +25 -24
- package/@types/shared/font-names.d.ts +2 -0
- package/@types/themes/all.d.ts +36 -0
- package/@types/themes/azureOrange.css.d.ts +1 -0
- package/@types/themes/baseTheme.d.ts +88 -0
- package/@types/themes/bee.css.d.ts +1 -0
- package/@types/themes/blackAndWhite.css.d.ts +1 -0
- package/@types/themes/brick.css.d.ts +1 -0
- package/@types/themes/candy.css.d.ts +1 -0
- package/@types/themes/coldGray.css.d.ts +1 -0
- package/@types/themes/contract.css.d.ts +116 -0
- package/@types/themes/counterStrike.css.d.ts +1 -0
- package/@types/themes/eggplant.css.d.ts +1 -0
- package/@types/themes/highContrast.css.d.ts +1 -0
- package/@types/themes/lilac.css.d.ts +1 -0
- package/@types/themes/lilacRoseDark.css.d.ts +1 -0
- package/@types/themes/maple.css.d.ts +1 -0
- package/@types/themes/marine.css.d.ts +1 -0
- package/@types/themes/matrix.css.d.ts +1 -0
- package/@types/themes/millenium.css.d.ts +1 -0
- package/@types/themes/modernDark.css.d.ts +1 -0
- package/@types/themes/molecule.css.d.ts +1 -0
- package/@types/themes/ninjaTurtles.css.d.ts +1 -0
- package/@types/themes/olive.css.d.ts +1 -0
- package/@types/themes/pamelaAnderson.css.d.ts +1 -0
- package/@types/themes/plum.css.d.ts +1 -0
- package/@types/themes/rainyDay.css.d.ts +1 -0
- package/@types/themes/rose.css.d.ts +1 -0
- package/@types/themes/slate.css.d.ts +1 -0
- package/@types/themes/spruce.css.d.ts +1 -0
- package/@types/themes/storm.css.d.ts +1 -0
- package/@types/themes/theSixtiesUSA.css.d.ts +1 -0
- package/@types/themes/tokyoDark.css.d.ts +1 -0
- package/@types/themes/tooSexy.css.d.ts +1 -0
- package/@types/themes/travel.css.d.ts +1 -0
- package/@types/themes/vaporTeal.css.d.ts +1 -0
- package/@types/themes/vermillion.css.d.ts +1 -0
- package/@types/themes/violetDark.css.d.ts +1 -0
- package/@types/themes/water.css.d.ts +1 -0
- package/@types/themes/win95.css.d.ts +1 -0
- package/cjs/Alert/Alert.css.js +9 -0
- package/cjs/Alert/Alert.css.ts.vanilla.css +15 -0
- package/cjs/Alert/Alert.js +32 -90
- package/cjs/Alert/assets/chord.mp3.js +3 -0
- package/cjs/Avatar/Avatar.css.js +8 -0
- package/cjs/Avatar/Avatar.css.ts.vanilla.css +24 -0
- package/cjs/Avatar/Avatar.js +25 -49
- package/cjs/Button/Button.css.js +5 -0
- package/cjs/Button/Button.css.ts.vanilla.css +31 -0
- package/cjs/Button/Button.js +19 -17
- package/cjs/Checkbox/Checkbox.css.js +11 -0
- package/cjs/Checkbox/Checkbox.css.ts.vanilla.css +59 -0
- package/cjs/Checkbox/Checkbox.js +16 -58
- package/cjs/Cursor/Cursor.css.js +5 -0
- package/cjs/Cursor/Cursor.css.ts.vanilla.css +96 -0
- package/cjs/Dropdown/Dropdown.css.js +7 -0
- package/cjs/Dropdown/Dropdown.css.ts.vanilla.css +50 -0
- package/cjs/Dropdown/Dropdown.js +19 -40
- package/cjs/Fieldset/Fieldset.css.js +7 -0
- package/cjs/Fieldset/Fieldset.css.ts.vanilla.css +19 -0
- package/cjs/Fieldset/Fieldset.js +8 -31
- package/cjs/Frame/Frame.js +21 -19
- package/cjs/Frame/sprinkles.css.js +47 -0
- package/cjs/GlobalStyle/GlobalStyle.css.js +3 -0
- package/cjs/GlobalStyle/GlobalStyle.css.ts.vanilla.css +122 -0
- package/cjs/GlobalStyle.js +4 -0
- package/cjs/Input/Input.css.js +5 -0
- package/cjs/Input/Input.css.ts.vanilla.css +21 -0
- package/cjs/Input/Input.js +25 -14
- package/cjs/List/List.css.js +9 -0
- package/cjs/List/List.css.ts.vanilla.css +66 -0
- package/cjs/List/List.js +14 -27
- package/cjs/List/ListDivider.js +18 -13
- package/cjs/List/ListItem.js +11 -44
- package/cjs/Modal/Modal.css.js +14 -0
- package/cjs/Modal/Modal.css.ts.vanilla.css +55 -0
- package/cjs/Modal/Modal.js +130 -165
- package/cjs/Modal/ModalContext.js +13 -15
- package/cjs/Modal/ModalProvider.js +60 -81
- package/cjs/Modal/close.svg.js +3 -0
- package/cjs/Modal/help.svg.js +3 -0
- package/cjs/ProgressBar/ProgressBar.css.js +11 -0
- package/cjs/ProgressBar/ProgressBar.css.ts.vanilla.css +32 -0
- package/cjs/ProgressBar/ProgressBar.js +19 -63
- package/cjs/RadioButton/RadioButton.css.js +11 -0
- package/cjs/RadioButton/RadioButton.css.ts.vanilla.css +44 -0
- package/cjs/RadioButton/RadioButton.js +16 -53
- package/cjs/Range/Range.css.js +5 -0
- package/cjs/Range/Range.css.ts.vanilla.css +84 -0
- package/cjs/Range/Range.js +35 -18
- package/cjs/Tabs/Tab.js +17 -31
- package/cjs/Tabs/Tabs.css.js +10 -0
- package/cjs/Tabs/Tabs.css.ts.vanilla.css +54 -0
- package/cjs/Tabs/Tabs.js +48 -73
- package/cjs/TaskBar/Clock.js +28 -50
- package/cjs/TaskBar/TaskBar.css.js +12 -0
- package/cjs/TaskBar/TaskBar.css.ts.vanilla.css +51 -0
- package/cjs/TaskBar/TaskBar.js +72 -96
- package/cjs/TaskBar/WindowButton.js +16 -59
- package/cjs/TextArea/TextArea.js +25 -25
- package/cjs/TitleBar/TitleBar.css.js +12 -0
- package/cjs/TitleBar/TitleBar.css.ts.vanilla.css +62 -0
- package/cjs/TitleBar/TitleBar.js +44 -58
- package/cjs/Tooltip/Tooltip.css.js +7 -0
- package/cjs/Tooltip/Tooltip.css.ts.vanilla.css +25 -0
- package/cjs/Tooltip/Tooltip.js +68 -65
- package/cjs/Tree/Node.js +122 -122
- package/cjs/Tree/Tree.css.js +18 -0
- package/cjs/Tree/Tree.css.ts.vanilla.css +90 -0
- package/cjs/Tree/Tree.js +12 -33
- package/cjs/Video/Video.css.js +22 -0
- package/cjs/Video/Video.css.ts.vanilla.css +83 -0
- package/cjs/Video/Video.js +207 -270
- package/cjs/Video/buttons/Fullscreen.js +33 -20
- package/cjs/Video/buttons/Pause.js +28 -18
- package/cjs/Video/buttons/Play.js +28 -18
- package/cjs/Video/buttons/Stop.js +28 -18
- package/cjs/index.js +49 -178
- package/cjs/theme.js +72 -0
- package/cjs/themes/azureOrange.css.js +3 -0
- package/cjs/themes/azureOrange.css.ts.vanilla.css +58 -0
- package/cjs/themes/bee.css.js +3 -0
- package/cjs/themes/bee.css.ts.vanilla.css +58 -0
- package/cjs/themes/blackAndWhite.css.js +3 -0
- package/cjs/themes/blackAndWhite.css.ts.vanilla.css +58 -0
- package/cjs/themes/brick.css.js +3 -0
- package/cjs/themes/brick.css.ts.vanilla.css +58 -0
- package/cjs/themes/candy.css.js +3 -0
- package/cjs/themes/candy.css.ts.vanilla.css +58 -0
- package/cjs/themes/coldGray.css.js +3 -0
- package/cjs/themes/coldGray.css.ts.vanilla.css +58 -0
- package/cjs/themes/counterStrike.css.js +3 -0
- package/cjs/themes/counterStrike.css.ts.vanilla.css +58 -0
- package/cjs/themes/eggplant.css.js +3 -0
- package/cjs/themes/eggplant.css.ts.vanilla.css +58 -0
- package/cjs/themes/highContrast.css.js +3 -0
- package/cjs/themes/highContrast.css.ts.vanilla.css +58 -0
- package/cjs/themes/lilac.css.js +3 -0
- package/cjs/themes/lilac.css.ts.vanilla.css +58 -0
- package/cjs/themes/lilacRoseDark.css.js +3 -0
- package/cjs/themes/lilacRoseDark.css.ts.vanilla.css +58 -0
- package/cjs/themes/maple.css.js +3 -0
- package/cjs/themes/maple.css.ts.vanilla.css +58 -0
- package/cjs/themes/marine.css.js +3 -0
- package/cjs/themes/marine.css.ts.vanilla.css +58 -0
- package/cjs/themes/matrix.css.js +3 -0
- package/cjs/themes/matrix.css.ts.vanilla.css +58 -0
- package/cjs/themes/millenium.css.js +3 -0
- package/cjs/themes/millenium.css.ts.vanilla.css +58 -0
- package/cjs/themes/modernDark.css.js +3 -0
- package/cjs/themes/modernDark.css.ts.vanilla.css +58 -0
- package/cjs/themes/molecule.css.js +3 -0
- package/cjs/themes/molecule.css.ts.vanilla.css +58 -0
- package/cjs/themes/ninjaTurtles.css.js +3 -0
- package/cjs/themes/ninjaTurtles.css.ts.vanilla.css +58 -0
- package/cjs/themes/olive.css.js +3 -0
- package/cjs/themes/olive.css.ts.vanilla.css +58 -0
- package/cjs/themes/pamelaAnderson.css.js +3 -0
- package/cjs/themes/pamelaAnderson.css.ts.vanilla.css +58 -0
- package/cjs/themes/plum.css.js +3 -0
- package/cjs/themes/plum.css.ts.vanilla.css +58 -0
- package/cjs/themes/rainyDay.css.js +3 -0
- package/cjs/themes/rainyDay.css.ts.vanilla.css +58 -0
- package/cjs/themes/rose.css.js +3 -0
- package/cjs/themes/rose.css.ts.vanilla.css +58 -0
- package/cjs/themes/slate.css.js +3 -0
- package/cjs/themes/slate.css.ts.vanilla.css +58 -0
- package/cjs/themes/sprinkles.css.ts.vanilla.css +399 -0
- package/cjs/themes/spruce.css.js +3 -0
- package/cjs/themes/spruce.css.ts.vanilla.css +58 -0
- package/cjs/themes/storm.css.js +3 -0
- package/cjs/themes/storm.css.ts.vanilla.css +58 -0
- package/cjs/themes/theSixtiesUSA.css.js +3 -0
- package/cjs/themes/theSixtiesUSA.css.ts.vanilla.css +58 -0
- package/cjs/themes/tokyoDark.css.js +3 -0
- package/cjs/themes/tokyoDark.css.ts.vanilla.css +58 -0
- package/cjs/themes/tooSexy.css.js +3 -0
- package/cjs/themes/tooSexy.css.ts.vanilla.css +58 -0
- package/cjs/themes/travel.css.js +3 -0
- package/cjs/themes/travel.css.ts.vanilla.css +58 -0
- package/cjs/themes/vaporTeal.css.js +3 -0
- package/cjs/themes/vaporTeal.css.ts.vanilla.css +58 -0
- package/cjs/themes/vermillion.css.js +3 -0
- package/cjs/themes/vermillion.css.ts.vanilla.css +58 -0
- package/cjs/themes/violetDark.css.js +3 -0
- package/cjs/themes/violetDark.css.ts.vanilla.css +58 -0
- package/cjs/themes/water.css.js +3 -0
- package/cjs/themes/water.css.ts.vanilla.css +58 -0
- package/cjs/themes/win95.css.js +3 -0
- package/cjs/themes/win95.css.ts.vanilla.css +58 -0
- package/esm/Alert/Alert.css.js +9 -0
- package/esm/Alert/Alert.css.ts.vanilla.css +15 -0
- package/esm/Alert/Alert.js +33 -81
- package/esm/Alert/assets/chord.mp3.js +4 -0
- package/esm/Avatar/Avatar.css.js +8 -0
- package/esm/Avatar/Avatar.css.ts.vanilla.css +24 -0
- package/esm/Avatar/Avatar.js +9 -40
- package/esm/Button/Button.css.js +5 -0
- package/esm/Button/Button.css.ts.vanilla.css +31 -0
- package/esm/Button/Button.js +19 -8
- package/esm/Checkbox/Checkbox.css.js +11 -0
- package/esm/Checkbox/Checkbox.css.ts.vanilla.css +59 -0
- package/esm/Checkbox/Checkbox.js +17 -49
- package/esm/Cursor/Cursor.css.js +5 -0
- package/esm/Cursor/Cursor.css.ts.vanilla.css +96 -0
- package/esm/Dropdown/Dropdown.css.js +7 -0
- package/esm/Dropdown/Dropdown.css.ts.vanilla.css +50 -0
- package/esm/Dropdown/Dropdown.js +19 -30
- package/esm/Fieldset/Fieldset.css.js +7 -0
- package/esm/Fieldset/Fieldset.css.ts.vanilla.css +19 -0
- package/esm/Fieldset/Fieldset.js +9 -23
- package/esm/Frame/Frame.js +22 -11
- package/esm/Frame/sprinkles.css.js +47 -0
- package/esm/GlobalStyle/GlobalStyle.css.js +2 -0
- package/esm/GlobalStyle/GlobalStyle.css.ts.vanilla.css +122 -0
- package/esm/GlobalStyle.js +4 -0
- package/esm/Input/Input.css.js +5 -0
- package/esm/Input/Input.css.ts.vanilla.css +21 -0
- package/esm/Input/Input.js +9 -8
- package/esm/List/List.css.js +9 -0
- package/esm/List/List.css.ts.vanilla.css +66 -0
- package/esm/List/List.js +13 -16
- package/esm/List/ListDivider.js +19 -7
- package/esm/List/ListItem.js +12 -35
- package/esm/Modal/Modal.css.js +14 -0
- package/esm/Modal/Modal.css.ts.vanilla.css +55 -0
- package/esm/Modal/Modal.js +114 -156
- package/esm/Modal/ModalContext.js +14 -9
- package/esm/Modal/ModalProvider.js +44 -74
- package/esm/Modal/close.svg.js +4 -0
- package/esm/Modal/help.svg.js +4 -0
- package/esm/ProgressBar/ProgressBar.css.js +11 -0
- package/esm/ProgressBar/ProgressBar.css.ts.vanilla.css +32 -0
- package/esm/ProgressBar/ProgressBar.js +19 -54
- package/esm/RadioButton/RadioButton.css.js +11 -0
- package/esm/RadioButton/RadioButton.css.ts.vanilla.css +44 -0
- package/esm/RadioButton/RadioButton.js +16 -44
- package/esm/Range/Range.css.js +5 -0
- package/esm/Range/Range.css.ts.vanilla.css +84 -0
- package/esm/Range/Range.js +19 -10
- package/esm/Tabs/Tab.js +18 -23
- package/esm/Tabs/Tabs.css.js +10 -0
- package/esm/Tabs/Tabs.css.ts.vanilla.css +54 -0
- package/esm/Tabs/Tabs.js +49 -64
- package/esm/TaskBar/Clock.js +29 -41
- package/esm/TaskBar/TaskBar.css.js +12 -0
- package/esm/TaskBar/TaskBar.css.ts.vanilla.css +51 -0
- package/esm/TaskBar/TaskBar.js +72 -87
- package/esm/TaskBar/WindowButton.js +16 -49
- package/esm/TextArea/TextArea.js +9 -16
- package/esm/TitleBar/TitleBar.css.js +12 -0
- package/esm/TitleBar/TitleBar.css.ts.vanilla.css +62 -0
- package/esm/TitleBar/TitleBar.js +44 -48
- package/esm/Tooltip/Tooltip.css.js +7 -0
- package/esm/Tooltip/Tooltip.css.ts.vanilla.css +25 -0
- package/esm/Tooltip/Tooltip.js +51 -55
- package/esm/Tree/Node.js +98 -105
- package/esm/Tree/Tree.css.js +18 -0
- package/esm/Tree/Tree.css.ts.vanilla.css +90 -0
- package/esm/Tree/Tree.js +12 -23
- package/esm/Video/Video.css.js +22 -0
- package/esm/Video/Video.css.ts.vanilla.css +83 -0
- package/esm/Video/Video.js +191 -262
- package/esm/Video/buttons/Fullscreen.js +17 -11
- package/esm/Video/buttons/Pause.js +12 -9
- package/esm/Video/buttons/Play.js +12 -9
- package/esm/Video/buttons/Stop.js +12 -9
- package/esm/index.js +50 -24
- package/esm/theme.js +72 -0
- package/esm/themes/azureOrange.css.js +2 -0
- package/esm/themes/azureOrange.css.ts.vanilla.css +58 -0
- package/esm/themes/bee.css.js +2 -0
- package/esm/themes/bee.css.ts.vanilla.css +58 -0
- package/esm/themes/blackAndWhite.css.js +2 -0
- package/esm/themes/blackAndWhite.css.ts.vanilla.css +58 -0
- package/esm/themes/brick.css.js +2 -0
- package/esm/themes/brick.css.ts.vanilla.css +58 -0
- package/esm/themes/candy.css.js +2 -0
- package/esm/themes/candy.css.ts.vanilla.css +58 -0
- package/esm/themes/coldGray.css.js +2 -0
- package/esm/themes/coldGray.css.ts.vanilla.css +58 -0
- package/esm/themes/counterStrike.css.js +2 -0
- package/esm/themes/counterStrike.css.ts.vanilla.css +58 -0
- package/esm/themes/eggplant.css.js +2 -0
- package/esm/themes/eggplant.css.ts.vanilla.css +58 -0
- package/esm/themes/highContrast.css.js +2 -0
- package/esm/themes/highContrast.css.ts.vanilla.css +58 -0
- package/esm/themes/lilac.css.js +2 -0
- package/esm/themes/lilac.css.ts.vanilla.css +58 -0
- package/esm/themes/lilacRoseDark.css.js +2 -0
- package/esm/themes/lilacRoseDark.css.ts.vanilla.css +58 -0
- package/esm/themes/maple.css.js +2 -0
- package/esm/themes/maple.css.ts.vanilla.css +58 -0
- package/esm/themes/marine.css.js +2 -0
- package/esm/themes/marine.css.ts.vanilla.css +58 -0
- package/esm/themes/matrix.css.js +2 -0
- package/esm/themes/matrix.css.ts.vanilla.css +58 -0
- package/esm/themes/millenium.css.js +2 -0
- package/esm/themes/millenium.css.ts.vanilla.css +58 -0
- package/esm/themes/modernDark.css.js +2 -0
- package/esm/themes/modernDark.css.ts.vanilla.css +58 -0
- package/esm/themes/molecule.css.js +2 -0
- package/esm/themes/molecule.css.ts.vanilla.css +58 -0
- package/esm/themes/ninjaTurtles.css.js +2 -0
- package/esm/themes/ninjaTurtles.css.ts.vanilla.css +58 -0
- package/esm/themes/olive.css.js +2 -0
- package/esm/themes/olive.css.ts.vanilla.css +58 -0
- package/esm/themes/pamelaAnderson.css.js +2 -0
- package/esm/themes/pamelaAnderson.css.ts.vanilla.css +58 -0
- package/esm/themes/plum.css.js +2 -0
- package/esm/themes/plum.css.ts.vanilla.css +58 -0
- package/esm/themes/rainyDay.css.js +2 -0
- package/esm/themes/rainyDay.css.ts.vanilla.css +58 -0
- package/esm/themes/rose.css.js +2 -0
- package/esm/themes/rose.css.ts.vanilla.css +58 -0
- package/esm/themes/slate.css.js +2 -0
- package/esm/themes/slate.css.ts.vanilla.css +58 -0
- package/esm/themes/sprinkles.css.ts.vanilla.css +399 -0
- package/esm/themes/spruce.css.js +2 -0
- package/esm/themes/spruce.css.ts.vanilla.css +58 -0
- package/esm/themes/storm.css.js +2 -0
- package/esm/themes/storm.css.ts.vanilla.css +58 -0
- package/esm/themes/theSixtiesUSA.css.js +2 -0
- package/esm/themes/theSixtiesUSA.css.ts.vanilla.css +58 -0
- package/esm/themes/tokyoDark.css.js +2 -0
- package/esm/themes/tokyoDark.css.ts.vanilla.css +58 -0
- package/esm/themes/tooSexy.css.js +2 -0
- package/esm/themes/tooSexy.css.ts.vanilla.css +58 -0
- package/esm/themes/travel.css.js +2 -0
- package/esm/themes/travel.css.ts.vanilla.css +58 -0
- package/esm/themes/vaporTeal.css.js +2 -0
- package/esm/themes/vaporTeal.css.ts.vanilla.css +58 -0
- package/esm/themes/vermillion.css.js +2 -0
- package/esm/themes/vermillion.css.ts.vanilla.css +58 -0
- package/esm/themes/violetDark.css.js +2 -0
- package/esm/themes/violetDark.css.ts.vanilla.css +58 -0
- package/esm/themes/water.css.js +2 -0
- package/esm/themes/water.css.ts.vanilla.css +58 -0
- package/esm/themes/win95.css.js +2 -0
- package/esm/themes/win95.css.ts.vanilla.css +58 -0
- package/package.json +23 -9
- package/@types/Alert/index.d.ts +0 -2
- package/@types/Avatar/index.d.ts +0 -2
- package/@types/Button/index.d.ts +0 -2
- package/@types/Checkbox/index.d.ts +0 -2
- package/@types/Cursor/Cursor.d.ts +0 -38
- package/@types/Cursor/index.d.ts +0 -2
- package/@types/Dropdown/index.d.ts +0 -2
- package/@types/Fieldset/index.d.ts +0 -2
- package/@types/Frame/index.d.ts +0 -2
- package/@types/GlobalStyle/Borders.d.ts +0 -15
- package/@types/GlobalStyle/GlobalStyle.d.ts +0 -2
- package/@types/GlobalStyle/Scrollbar.d.ts +0 -7
- package/@types/GlobalStyle/index.d.ts +0 -2
- package/@types/Input/index.d.ts +0 -2
- package/@types/List/index.d.ts +0 -2
- package/@types/Modal/index.d.ts +0 -4
- package/@types/ProgressBar/index.d.ts +0 -2
- package/@types/RadioButton/index.d.ts +0 -2
- package/@types/Range/index.d.ts +0 -2
- package/@types/Tabs/index.d.ts +0 -3
- package/@types/TaskBar/index.d.ts +0 -2
- package/@types/TextArea/index.d.ts +0 -2
- package/@types/ThemeProvider/ThemeProvider.d.ts +0 -7
- package/@types/ThemeProvider/index.d.ts +0 -2
- package/@types/ThemeProvider/themes/azureOrange.d.ts +0 -3
- package/@types/ThemeProvider/themes/baseTheme.d.ts +0 -9
- package/@types/ThemeProvider/themes/bee.d.ts +0 -3
- package/@types/ThemeProvider/themes/blackAndWhite.d.ts +0 -3
- package/@types/ThemeProvider/themes/brick.d.ts +0 -3
- package/@types/ThemeProvider/themes/candy.d.ts +0 -3
- package/@types/ThemeProvider/themes/coldGray.d.ts +0 -3
- package/@types/ThemeProvider/themes/counterStrike.d.ts +0 -3
- package/@types/ThemeProvider/themes/eggplant.d.ts +0 -3
- package/@types/ThemeProvider/themes/highContrast.d.ts +0 -3
- package/@types/ThemeProvider/themes/lilac.d.ts +0 -3
- package/@types/ThemeProvider/themes/lilacRoseDark.d.ts +0 -3
- package/@types/ThemeProvider/themes/maple.d.ts +0 -3
- package/@types/ThemeProvider/themes/marine.d.ts +0 -3
- package/@types/ThemeProvider/themes/matrix.d.ts +0 -3
- package/@types/ThemeProvider/themes/millenium.d.ts +0 -3
- package/@types/ThemeProvider/themes/modernDark.d.ts +0 -3
- package/@types/ThemeProvider/themes/molecule.d.ts +0 -3
- package/@types/ThemeProvider/themes/ninjaTurtles.d.ts +0 -3
- package/@types/ThemeProvider/themes/olive.d.ts +0 -3
- package/@types/ThemeProvider/themes/pamelaAnderson.d.ts +0 -3
- package/@types/ThemeProvider/themes/plum.d.ts +0 -3
- package/@types/ThemeProvider/themes/rainyDay.d.ts +0 -3
- package/@types/ThemeProvider/themes/rose.d.ts +0 -3
- package/@types/ThemeProvider/themes/slate.d.ts +0 -3
- package/@types/ThemeProvider/themes/spruce.d.ts +0 -3
- package/@types/ThemeProvider/themes/storm.d.ts +0 -3
- package/@types/ThemeProvider/themes/theSixtiesUSA.d.ts +0 -3
- package/@types/ThemeProvider/themes/tokyoDark.d.ts +0 -3
- package/@types/ThemeProvider/themes/tooSexy.d.ts +0 -3
- package/@types/ThemeProvider/themes/travel.d.ts +0 -3
- package/@types/ThemeProvider/themes/vaporTeal.d.ts +0 -3
- package/@types/ThemeProvider/themes/vermillion.d.ts +0 -3
- package/@types/ThemeProvider/themes/violetDark.d.ts +0 -3
- package/@types/ThemeProvider/themes/water.d.ts +0 -3
- package/@types/ThemeProvider/themes/win95.d.ts +0 -3
- package/@types/ThemeProvider/themes.d.ts +0 -38
- package/@types/TitleBar/index.d.ts +0 -2
- package/@types/Tooltip/index.d.ts +0 -2
- package/@types/Tree/index.d.ts +0 -2
- package/@types/Video/index.d.ts +0 -2
- package/@types/shared/test/utils.d.ts +0 -5
- package/cjs/Alert/assets/chord.mp3 +0 -0
- package/cjs/Alert/index.js +0 -9
- package/cjs/Avatar/index.js +0 -9
- package/cjs/Button/index.js +0 -9
- package/cjs/Checkbox/imgs/check-disabled.svg +0 -1
- package/cjs/Checkbox/imgs/check.svg +0 -1
- package/cjs/Checkbox/index.js +0 -9
- package/cjs/Cursor/Cursor.js +0 -86
- package/cjs/Cursor/cursors/AngleUpLeft.png +0 -0
- package/cjs/Cursor/cursors/AngleUpRight.png +0 -0
- package/cjs/Cursor/cursors/AppStarting.png +0 -0
- package/cjs/Cursor/cursors/Arrow.png +0 -0
- package/cjs/Cursor/cursors/ArrowRight.png +0 -0
- package/cjs/Cursor/cursors/Circle.png +0 -0
- package/cjs/Cursor/cursors/ColRezise.png +0 -0
- package/cjs/Cursor/cursors/Copy.png +0 -0
- package/cjs/Cursor/cursors/Cross.png +0 -0
- package/cjs/Cursor/cursors/Crosshair.png +0 -0
- package/cjs/Cursor/cursors/DND-ask.png +0 -0
- package/cjs/Cursor/cursors/DND-copy.png +0 -0
- package/cjs/Cursor/cursors/DND-link.png +0 -0
- package/cjs/Cursor/cursors/DownArrow.png +0 -0
- package/cjs/Cursor/cursors/DownLeftArrow.png +0 -0
- package/cjs/Cursor/cursors/DownRightArrow.png +0 -0
- package/cjs/Cursor/cursors/Hand.png +0 -0
- package/cjs/Cursor/cursors/HandPointer.png +0 -0
- package/cjs/Cursor/cursors/Handsqueezed.png +0 -0
- package/cjs/Cursor/cursors/Handwriting.png +0 -0
- package/cjs/Cursor/cursors/Help.png +0 -0
- package/cjs/Cursor/cursors/LeftArrow.png +0 -0
- package/cjs/Cursor/cursors/LeftRight.png +0 -0
- package/cjs/Cursor/cursors/LeftRightArrow.png +0 -0
- package/cjs/Cursor/cursors/Link.png +0 -0
- package/cjs/Cursor/cursors/Move.png +0 -0
- package/cjs/Cursor/cursors/NO.png +0 -0
- package/cjs/Cursor/cursors/RightArrow.png +0 -0
- package/cjs/Cursor/cursors/RowResize.png +0 -0
- package/cjs/Cursor/cursors/SizeAll.png +0 -0
- package/cjs/Cursor/cursors/Text.png +0 -0
- package/cjs/Cursor/cursors/UpArrow.png +0 -0
- package/cjs/Cursor/cursors/UpDownArrow.png +0 -0
- package/cjs/Cursor/cursors/UpLeftArrow.png +0 -0
- package/cjs/Cursor/cursors/UpRightArrow.png +0 -0
- package/cjs/Cursor/cursors/VText.png +0 -0
- package/cjs/Cursor/cursors/Wait.png +0 -0
- package/cjs/Cursor/cursors/X.png +0 -0
- package/cjs/Cursor/cursors/ZoomIn.png +0 -0
- package/cjs/Cursor/cursors/ZoomOut.png +0 -0
- package/cjs/Cursor/index.js +0 -9
- package/cjs/Dropdown/imgs/downcaret.png +0 -0
- package/cjs/Dropdown/imgs/downcaret.svg +0 -1
- package/cjs/Dropdown/index.js +0 -9
- package/cjs/Fieldset/index.js +0 -9
- package/cjs/Frame/index.js +0 -9
- package/cjs/GlobalStyle/Borders.js +0 -88
- package/cjs/GlobalStyle/GlobalStyle.js +0 -18
- package/cjs/GlobalStyle/Scrollbar.js +0 -59
- package/cjs/GlobalStyle/font/MS-Sans-Serif-8pt-bold.ttf +0 -0
- package/cjs/GlobalStyle/font/MS-Sans-Serif-8pt.ttf +0 -0
- package/cjs/GlobalStyle/font/React95Video-Numbers.eot +0 -0
- package/cjs/GlobalStyle/font/React95Video-Numbers.ttf +0 -0
- package/cjs/GlobalStyle/font/React95Video-Numbers.woff +0 -0
- package/cjs/GlobalStyle/font/React95Video-Numbers.woff2 +0 -0
- package/cjs/GlobalStyle/imgs/downcaret.svg +0 -1
- package/cjs/GlobalStyle/imgs/dropdown.png +0 -0
- package/cjs/GlobalStyle/imgs/leftcaret.svg +0 -1
- package/cjs/GlobalStyle/imgs/rightcaret.svg +0 -1
- package/cjs/GlobalStyle/imgs/upcaret.svg +0 -1
- package/cjs/GlobalStyle/index.js +0 -9
- package/cjs/Input/index.js +0 -9
- package/cjs/List/index.js +0 -9
- package/cjs/Modal/index.js +0 -27
- package/cjs/ProgressBar/index.js +0 -9
- package/cjs/RadioButton/imgs/radio-checked-disabled.png +0 -0
- package/cjs/RadioButton/imgs/radio-checked.png +0 -0
- package/cjs/RadioButton/imgs/radio-unchecked-disabled.png +0 -0
- package/cjs/RadioButton/imgs/radio-unchecked.png +0 -0
- package/cjs/RadioButton/index.js +0 -9
- package/cjs/RadioButton/radioButtonStates.js +0 -34
- package/cjs/Range/index.js +0 -9
- package/cjs/Tabs/index.js +0 -20
- package/cjs/TaskBar/index.js +0 -9
- package/cjs/TextArea/index.js +0 -9
- package/cjs/ThemeProvider/ThemeProvider.js +0 -25
- package/cjs/ThemeProvider/index.js +0 -9
- package/cjs/ThemeProvider/themes/azureOrange.js +0 -48
- package/cjs/ThemeProvider/themes/baseTheme.js +0 -28
- package/cjs/ThemeProvider/themes/bee.js +0 -48
- package/cjs/ThemeProvider/themes/blackAndWhite.js +0 -48
- package/cjs/ThemeProvider/themes/brick.js +0 -48
- package/cjs/ThemeProvider/themes/candy.js +0 -48
- package/cjs/ThemeProvider/themes/coldGray.js +0 -48
- package/cjs/ThemeProvider/themes/counterStrike.js +0 -48
- package/cjs/ThemeProvider/themes/eggplant.js +0 -48
- package/cjs/ThemeProvider/themes/highContrast.js +0 -48
- package/cjs/ThemeProvider/themes/lilac.js +0 -48
- package/cjs/ThemeProvider/themes/lilacRoseDark.js +0 -48
- package/cjs/ThemeProvider/themes/maple.js +0 -48
- package/cjs/ThemeProvider/themes/marine.js +0 -48
- package/cjs/ThemeProvider/themes/matrix.js +0 -48
- package/cjs/ThemeProvider/themes/millenium.js +0 -48
- package/cjs/ThemeProvider/themes/modernDark.js +0 -48
- package/cjs/ThemeProvider/themes/molecule.js +0 -48
- package/cjs/ThemeProvider/themes/ninjaTurtles.js +0 -48
- package/cjs/ThemeProvider/themes/olive.js +0 -48
- package/cjs/ThemeProvider/themes/pamelaAnderson.js +0 -48
- package/cjs/ThemeProvider/themes/plum.js +0 -48
- package/cjs/ThemeProvider/themes/rainyDay.js +0 -48
- package/cjs/ThemeProvider/themes/rose.js +0 -48
- package/cjs/ThemeProvider/themes/slate.js +0 -48
- package/cjs/ThemeProvider/themes/spruce.js +0 -48
- package/cjs/ThemeProvider/themes/storm.js +0 -48
- package/cjs/ThemeProvider/themes/theSixtiesUSA.js +0 -48
- package/cjs/ThemeProvider/themes/tokyoDark.js +0 -48
- package/cjs/ThemeProvider/themes/tooSexy.js +0 -48
- package/cjs/ThemeProvider/themes/travel.js +0 -48
- package/cjs/ThemeProvider/themes/vaporTeal.js +0 -48
- package/cjs/ThemeProvider/themes/vermillion.js +0 -48
- package/cjs/ThemeProvider/themes/violetDark.js +0 -48
- package/cjs/ThemeProvider/themes/water.js +0 -48
- package/cjs/ThemeProvider/themes/win95.js +0 -48
- package/cjs/ThemeProvider/themes.js +0 -80
- package/cjs/TitleBar/index.js +0 -9
- package/cjs/Tooltip/index.js +0 -9
- package/cjs/Tree/imgs/tree-first.png +0 -0
- package/cjs/Tree/imgs/tree-folder-closed.png +0 -0
- package/cjs/Tree/imgs/tree-folder-opened.png +0 -0
- package/cjs/Tree/imgs/tree-last.png +0 -0
- package/cjs/Tree/imgs/tree-mid.png +0 -0
- package/cjs/Tree/imgs/tree-node-children.png +0 -0
- package/cjs/Tree/index.js +0 -9
- package/cjs/Video/buttons/index.js +0 -34
- package/cjs/Video/index.js +0 -9
- package/cjs/shared/test/utils.js +0 -76
- package/esm/Alert/assets/chord.mp3 +0 -0
- package/esm/Alert/index.js +0 -2
- package/esm/Avatar/index.js +0 -2
- package/esm/Button/index.js +0 -2
- package/esm/Checkbox/imgs/check-disabled.svg +0 -1
- package/esm/Checkbox/imgs/check.svg +0 -1
- package/esm/Checkbox/index.js +0 -2
- package/esm/Cursor/Cursor.js +0 -79
- package/esm/Cursor/cursors/AngleUpLeft.png +0 -0
- package/esm/Cursor/cursors/AngleUpRight.png +0 -0
- package/esm/Cursor/cursors/AppStarting.png +0 -0
- package/esm/Cursor/cursors/Arrow.png +0 -0
- package/esm/Cursor/cursors/ArrowRight.png +0 -0
- package/esm/Cursor/cursors/Circle.png +0 -0
- package/esm/Cursor/cursors/ColRezise.png +0 -0
- package/esm/Cursor/cursors/Copy.png +0 -0
- package/esm/Cursor/cursors/Cross.png +0 -0
- package/esm/Cursor/cursors/Crosshair.png +0 -0
- package/esm/Cursor/cursors/DND-ask.png +0 -0
- package/esm/Cursor/cursors/DND-copy.png +0 -0
- package/esm/Cursor/cursors/DND-link.png +0 -0
- package/esm/Cursor/cursors/DownArrow.png +0 -0
- package/esm/Cursor/cursors/DownLeftArrow.png +0 -0
- package/esm/Cursor/cursors/DownRightArrow.png +0 -0
- package/esm/Cursor/cursors/Hand.png +0 -0
- package/esm/Cursor/cursors/HandPointer.png +0 -0
- package/esm/Cursor/cursors/Handsqueezed.png +0 -0
- package/esm/Cursor/cursors/Handwriting.png +0 -0
- package/esm/Cursor/cursors/Help.png +0 -0
- package/esm/Cursor/cursors/LeftArrow.png +0 -0
- package/esm/Cursor/cursors/LeftRight.png +0 -0
- package/esm/Cursor/cursors/LeftRightArrow.png +0 -0
- package/esm/Cursor/cursors/Link.png +0 -0
- package/esm/Cursor/cursors/Move.png +0 -0
- package/esm/Cursor/cursors/NO.png +0 -0
- package/esm/Cursor/cursors/RightArrow.png +0 -0
- package/esm/Cursor/cursors/RowResize.png +0 -0
- package/esm/Cursor/cursors/SizeAll.png +0 -0
- package/esm/Cursor/cursors/Text.png +0 -0
- package/esm/Cursor/cursors/UpArrow.png +0 -0
- package/esm/Cursor/cursors/UpDownArrow.png +0 -0
- package/esm/Cursor/cursors/UpLeftArrow.png +0 -0
- package/esm/Cursor/cursors/UpRightArrow.png +0 -0
- package/esm/Cursor/cursors/VText.png +0 -0
- package/esm/Cursor/cursors/Wait.png +0 -0
- package/esm/Cursor/cursors/X.png +0 -0
- package/esm/Cursor/cursors/ZoomIn.png +0 -0
- package/esm/Cursor/cursors/ZoomOut.png +0 -0
- package/esm/Cursor/index.js +0 -2
- package/esm/Dropdown/imgs/downcaret.png +0 -0
- package/esm/Dropdown/imgs/downcaret.svg +0 -1
- package/esm/Dropdown/index.js +0 -2
- package/esm/Fieldset/index.js +0 -2
- package/esm/Frame/index.js +0 -2
- package/esm/GlobalStyle/Borders.js +0 -82
- package/esm/GlobalStyle/GlobalStyle.js +0 -11
- package/esm/GlobalStyle/Scrollbar.js +0 -53
- package/esm/GlobalStyle/font/MS-Sans-Serif-8pt-bold.ttf +0 -0
- package/esm/GlobalStyle/font/MS-Sans-Serif-8pt.ttf +0 -0
- package/esm/GlobalStyle/font/React95Video-Numbers.eot +0 -0
- package/esm/GlobalStyle/font/React95Video-Numbers.ttf +0 -0
- package/esm/GlobalStyle/font/React95Video-Numbers.woff +0 -0
- package/esm/GlobalStyle/font/React95Video-Numbers.woff2 +0 -0
- package/esm/GlobalStyle/imgs/downcaret.svg +0 -1
- package/esm/GlobalStyle/imgs/dropdown.png +0 -0
- package/esm/GlobalStyle/imgs/leftcaret.svg +0 -1
- package/esm/GlobalStyle/imgs/rightcaret.svg +0 -1
- package/esm/GlobalStyle/imgs/upcaret.svg +0 -1
- package/esm/GlobalStyle/index.js +0 -2
- package/esm/Input/index.js +0 -2
- package/esm/List/index.js +0 -2
- package/esm/Modal/index.js +0 -4
- package/esm/ProgressBar/index.js +0 -2
- package/esm/RadioButton/imgs/radio-checked-disabled.png +0 -0
- package/esm/RadioButton/imgs/radio-checked.png +0 -0
- package/esm/RadioButton/imgs/radio-unchecked-disabled.png +0 -0
- package/esm/RadioButton/imgs/radio-unchecked.png +0 -0
- package/esm/RadioButton/index.js +0 -2
- package/esm/RadioButton/radioButtonStates.js +0 -5
- package/esm/Range/index.js +0 -2
- package/esm/Tabs/index.js +0 -3
- package/esm/TaskBar/index.js +0 -2
- package/esm/TextArea/index.js +0 -2
- package/esm/ThemeProvider/ThemeProvider.js +0 -15
- package/esm/ThemeProvider/index.js +0 -2
- package/esm/ThemeProvider/themes/azureOrange.js +0 -40
- package/esm/ThemeProvider/themes/baseTheme.js +0 -22
- package/esm/ThemeProvider/themes/bee.js +0 -40
- package/esm/ThemeProvider/themes/blackAndWhite.js +0 -40
- package/esm/ThemeProvider/themes/brick.js +0 -40
- package/esm/ThemeProvider/themes/candy.js +0 -40
- package/esm/ThemeProvider/themes/coldGray.js +0 -40
- package/esm/ThemeProvider/themes/counterStrike.js +0 -40
- package/esm/ThemeProvider/themes/eggplant.js +0 -40
- package/esm/ThemeProvider/themes/highContrast.js +0 -40
- package/esm/ThemeProvider/themes/lilac.js +0 -40
- package/esm/ThemeProvider/themes/lilacRoseDark.js +0 -40
- package/esm/ThemeProvider/themes/maple.js +0 -40
- package/esm/ThemeProvider/themes/marine.js +0 -40
- package/esm/ThemeProvider/themes/matrix.js +0 -40
- package/esm/ThemeProvider/themes/millenium.js +0 -40
- package/esm/ThemeProvider/themes/modernDark.js +0 -40
- package/esm/ThemeProvider/themes/molecule.js +0 -40
- package/esm/ThemeProvider/themes/ninjaTurtles.js +0 -40
- package/esm/ThemeProvider/themes/olive.js +0 -40
- package/esm/ThemeProvider/themes/pamelaAnderson.js +0 -40
- package/esm/ThemeProvider/themes/plum.js +0 -40
- package/esm/ThemeProvider/themes/rainyDay.js +0 -40
- package/esm/ThemeProvider/themes/rose.js +0 -40
- package/esm/ThemeProvider/themes/slate.js +0 -40
- package/esm/ThemeProvider/themes/spruce.js +0 -40
- package/esm/ThemeProvider/themes/storm.js +0 -40
- package/esm/ThemeProvider/themes/theSixtiesUSA.js +0 -40
- package/esm/ThemeProvider/themes/tokyoDark.js +0 -40
- package/esm/ThemeProvider/themes/tooSexy.js +0 -40
- package/esm/ThemeProvider/themes/travel.js +0 -40
- package/esm/ThemeProvider/themes/vaporTeal.js +0 -40
- package/esm/ThemeProvider/themes/vermillion.js +0 -40
- package/esm/ThemeProvider/themes/violetDark.js +0 -40
- package/esm/ThemeProvider/themes/water.js +0 -40
- package/esm/ThemeProvider/themes/win95.js +0 -40
- package/esm/ThemeProvider/themes.js +0 -73
- package/esm/TitleBar/index.js +0 -2
- package/esm/Tooltip/index.js +0 -2
- package/esm/Tree/imgs/tree-first.png +0 -0
- package/esm/Tree/imgs/tree-folder-closed.png +0 -0
- package/esm/Tree/imgs/tree-folder-opened.png +0 -0
- package/esm/Tree/imgs/tree-last.png +0 -0
- package/esm/Tree/imgs/tree-mid.png +0 -0
- package/esm/Tree/imgs/tree-node-children.png +0 -0
- package/esm/Tree/index.js +0 -2
- package/esm/Video/buttons/index.js +0 -5
- package/esm/Video/index.js +0 -2
- package/esm/shared/test/utils.js +0 -56
package/esm/Cursor/Cursor.js
DELETED
|
@@ -1,79 +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 _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; }
|
|
3
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
4
|
-
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); }
|
|
5
|
-
import { css } from 'styled-components';
|
|
6
|
-
import NwseResize from './cursors/AngleUpLeft.png';
|
|
7
|
-
import NeswResize from './cursors/AngleUpRight.png';
|
|
8
|
-
import Progress from './cursors/AppStarting.png';
|
|
9
|
-
import Auto from './cursors/Arrow.png';
|
|
10
|
-
import NoDrop from './cursors/Circle.png';
|
|
11
|
-
import ColResize from './cursors/ColRezise.png';
|
|
12
|
-
import Copy from './cursors/Copy.png';
|
|
13
|
-
import Crosshair from './cursors/Cross.png';
|
|
14
|
-
import SResize from './cursors/DownArrow.png';
|
|
15
|
-
import SwResize from './cursors/DownLeftArrow.png';
|
|
16
|
-
import SeResize from './cursors/DownRightArrow.png';
|
|
17
|
-
import Grab from './cursors/Hand.png';
|
|
18
|
-
import Pointer from './cursors/HandPointer.png';
|
|
19
|
-
import Grabbing from './cursors/Handsqueezed.png';
|
|
20
|
-
import Help from './cursors/Help.png';
|
|
21
|
-
import WResize from './cursors/LeftArrow.png';
|
|
22
|
-
import EwResize from './cursors/LeftRight.png';
|
|
23
|
-
import Alias from './cursors/Link.png';
|
|
24
|
-
import Move from './cursors/Move.png';
|
|
25
|
-
import NotAllowed from './cursors/NO.png';
|
|
26
|
-
import EResize from './cursors/RightArrow.png';
|
|
27
|
-
import RowResize from './cursors/RowResize.png';
|
|
28
|
-
import Text from './cursors/Text.png';
|
|
29
|
-
import NResize from './cursors/UpArrow.png';
|
|
30
|
-
import NsResize from './cursors/UpDownArrow.png';
|
|
31
|
-
import NwResize from './cursors/UpLeftArrow.png';
|
|
32
|
-
import NeResize from './cursors/UpRightArrow.png';
|
|
33
|
-
import VerticalText from './cursors/VText.png';
|
|
34
|
-
import Wait from './cursors/Wait.png';
|
|
35
|
-
import ZoomIn from './cursors/ZoomIn.png';
|
|
36
|
-
import ZoomOut from './cursors/ZoomOut.png';
|
|
37
|
-
var cursors = {
|
|
38
|
-
Auto: Auto,
|
|
39
|
-
Text: Text,
|
|
40
|
-
VerticalText: VerticalText,
|
|
41
|
-
Help: Help,
|
|
42
|
-
Crosshair: Crosshair,
|
|
43
|
-
Pointer: Pointer,
|
|
44
|
-
Progress: Progress,
|
|
45
|
-
Wait: Wait,
|
|
46
|
-
Alias: Alias,
|
|
47
|
-
Copy: Copy,
|
|
48
|
-
Move: Move,
|
|
49
|
-
None: null,
|
|
50
|
-
NoDrop: NoDrop,
|
|
51
|
-
NotAllowed: NotAllowed,
|
|
52
|
-
Grab: Grab,
|
|
53
|
-
Grabbing: Grabbing,
|
|
54
|
-
ColResize: ColResize,
|
|
55
|
-
RowResize: RowResize,
|
|
56
|
-
NResize: NResize,
|
|
57
|
-
EResize: EResize,
|
|
58
|
-
SResize: SResize,
|
|
59
|
-
WResize: WResize,
|
|
60
|
-
NsResize: NsResize,
|
|
61
|
-
EwResize: EwResize,
|
|
62
|
-
NeResize: NeResize,
|
|
63
|
-
NwResize: NwResize,
|
|
64
|
-
SeResize: SeResize,
|
|
65
|
-
SwResize: SwResize,
|
|
66
|
-
NeswResize: NeswResize,
|
|
67
|
-
NwseResize: NwseResize,
|
|
68
|
-
ZoomIn: ZoomIn,
|
|
69
|
-
ZoomOut: ZoomOut
|
|
70
|
-
};
|
|
71
|
-
var toKebabCase = function toKebabCase(str) {
|
|
72
|
-
return "".concat(str.charAt(0).toLowerCase()).concat(str.substring(1)).replace(/[A-Z]/g, function (letter) {
|
|
73
|
-
return "-".concat(letter.toLowerCase());
|
|
74
|
-
});
|
|
75
|
-
};
|
|
76
|
-
var Cursor = Object.keys(cursors).reduce(function (all, cur) {
|
|
77
|
-
return Object.assign(all, _defineProperty({}, cur, css(["\n cursor: ", " ", ";\n "], cursors[cur] && "url(".concat(cursors[cur], "), "), toKebabCase(cur))));
|
|
78
|
-
}, {});
|
|
79
|
-
export default Cursor;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/esm/Cursor/cursors/X.png
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/esm/Cursor/index.js
DELETED
|
Binary file
|
|
@@ -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="M-.014-.015L0 3.001l3.01.01L3 5.195h2.026l.01 2.815 2.941-.01v1.977h2c.011.01.035-1.991.025-2 .01.009 3.011.033 3 .024.011.01.011-2.845 0-2.855h2.001v-2.17c.01.009 3.011.033 3.001.024.01.01-.014-3.04-.024-3.025l-17.994.01z" fill-opacity="null"/></g></svg>
|
package/esm/Dropdown/index.js
DELETED
package/esm/Fieldset/index.js
DELETED
package/esm/Frame/index.js
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { css } from 'styled-components';
|
|
2
|
-
export var createBorder = function createBorder(_ref) {
|
|
3
|
-
var direction = _ref.direction,
|
|
4
|
-
outerTopLeft = _ref.outerTopLeft,
|
|
5
|
-
innerTopLeft = _ref.innerTopLeft,
|
|
6
|
-
outerBottomRight = _ref.outerBottomRight,
|
|
7
|
-
innerBottomRight = _ref.innerBottomRight;
|
|
8
|
-
return css(["\n border: 0;\n box-shadow: inset -1px -1px 0 0\n ", ",\n inset 1px 1px 0 0\n ", ",\n inset -2px -2px 0 0\n ", ",\n inset 2px 2px 0 0\n ", ";\n"], direction == 'extrude' ? outerBottomRight : innerTopLeft, direction == 'extrude' ? outerTopLeft : innerBottomRight, direction == 'extrude' ? innerBottomRight : outerTopLeft, direction == 'extrude' ? innerTopLeft : outerBottomRight);
|
|
9
|
-
};
|
|
10
|
-
export var border = function border() {
|
|
11
|
-
var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
12
|
-
_ref2$direction = _ref2.direction,
|
|
13
|
-
direction = _ref2$direction === void 0 ? 'extrude' : _ref2$direction;
|
|
14
|
-
return createBorder({
|
|
15
|
-
direction: direction,
|
|
16
|
-
outerBottomRight: css(["\n ", "\n "], function (_ref3) {
|
|
17
|
-
var theme = _ref3.theme;
|
|
18
|
-
return theme.colors.borderDarkest;
|
|
19
|
-
}),
|
|
20
|
-
innerBottomRight: css(["\n ", "\n "], function (_ref4) {
|
|
21
|
-
var theme = _ref4.theme;
|
|
22
|
-
return theme.colors.borderDark;
|
|
23
|
-
}),
|
|
24
|
-
outerTopLeft: css(["\n ", "\n "], function (_ref5) {
|
|
25
|
-
var theme = _ref5.theme;
|
|
26
|
-
return theme.colors.borderLightest;
|
|
27
|
-
}),
|
|
28
|
-
innerTopLeft: css(["\n ", "\n "], function (_ref6) {
|
|
29
|
-
var theme = _ref6.theme;
|
|
30
|
-
return theme.colors.borderLight;
|
|
31
|
-
})
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
|
-
export var windowBorder = function windowBorder() {
|
|
35
|
-
var _ref7 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
36
|
-
_ref7$direction = _ref7.direction,
|
|
37
|
-
direction = _ref7$direction === void 0 ? 'extrude' : _ref7$direction;
|
|
38
|
-
return createBorder({
|
|
39
|
-
direction: direction,
|
|
40
|
-
outerBottomRight: css(["\n ", "\n "], function (_ref8) {
|
|
41
|
-
var theme = _ref8.theme;
|
|
42
|
-
return theme.colors.borderDarkest;
|
|
43
|
-
}),
|
|
44
|
-
innerBottomRight: css(["\n ", "\n "], function (_ref9) {
|
|
45
|
-
var theme = _ref9.theme;
|
|
46
|
-
return theme.colors.borderDark;
|
|
47
|
-
}),
|
|
48
|
-
outerTopLeft: css(["\n ", "\n "], function (_ref10) {
|
|
49
|
-
var theme = _ref10.theme;
|
|
50
|
-
return theme.colors.borderLight;
|
|
51
|
-
}),
|
|
52
|
-
innerTopLeft: css(["\n ", "\n "], function (_ref11) {
|
|
53
|
-
var theme = _ref11.theme;
|
|
54
|
-
return theme.colors.borderLightest;
|
|
55
|
-
})
|
|
56
|
-
});
|
|
57
|
-
};
|
|
58
|
-
export var scrollBarBorder = function scrollBarBorder() {
|
|
59
|
-
var _ref12 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
60
|
-
_ref12$direction = _ref12.direction,
|
|
61
|
-
direction = _ref12$direction === void 0 ? 'extrude' : _ref12$direction;
|
|
62
|
-
return createBorder({
|
|
63
|
-
direction: direction,
|
|
64
|
-
outerBottomRight: css(["\n ", "\n "], function (_ref13) {
|
|
65
|
-
var theme = _ref13.theme;
|
|
66
|
-
return theme.colors.borderDarkest;
|
|
67
|
-
}),
|
|
68
|
-
innerBottomRight: css(["\n ", "\n "], function (_ref14) {
|
|
69
|
-
var theme = _ref14.theme;
|
|
70
|
-
return theme.colors.borderDark;
|
|
71
|
-
}),
|
|
72
|
-
outerTopLeft: css(["\n ", "\n "], function (_ref15) {
|
|
73
|
-
var theme = _ref15.theme;
|
|
74
|
-
return theme.colors.borderLight;
|
|
75
|
-
}),
|
|
76
|
-
innerTopLeft: css(["\n ", "\n "], function (_ref16) {
|
|
77
|
-
var theme = _ref16.theme;
|
|
78
|
-
return theme.colors.borderLightest;
|
|
79
|
-
})
|
|
80
|
-
});
|
|
81
|
-
};
|
|
82
|
-
export default border;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { createGlobalStyle } from '@xstyled/styled-components';
|
|
2
|
-
import ttf from './font/MS-Sans-Serif-8pt.ttf';
|
|
3
|
-
import ttfBold from './font/MS-Sans-Serif-8pt-bold.ttf';
|
|
4
|
-
import videoeot from './font/React95Video-Numbers.eot';
|
|
5
|
-
import videottf from './font/React95Video-Numbers.ttf';
|
|
6
|
-
import videowoff from './font/React95Video-Numbers.woff';
|
|
7
|
-
import videowoff2 from './font/React95Video-Numbers.woff2';
|
|
8
|
-
import Cursor from '../Cursor/Cursor';
|
|
9
|
-
import { scrollbars } from './Scrollbar';
|
|
10
|
-
var GlobalStyle = createGlobalStyle(["\n @font-face {\n font-family: 'MS Sans Serif';\n src: url('", "') format('truetype');\n\n font-weight: normal;\n font-style: normal;\n }\n\n @font-face {\n font-family: 'MS Sans Serif';\n src: url('", "') format('truetype');\n\n font-weight: bold;\n font-style: normal;\n }\n\n @font-face {\n font-family: 'React95Video-Numbers';\n src: url('", "');\n src: url('", "') format('woff2'),\n url('", "') format('woff'),\n url('", "') format('truetype'),\n url('", "?#iefix') format('embedded-opentype');\n font-weight: normal;\n font-style: normal;\n }\n\n body {\n background-color: #5aa;\n margin: 0;\n padding: 0;\n font-size: 12px;\n color: materialText;\n }\n\n a {\n color: anchor;\n }\n\n a:visited {\n color: anchorVisited;\n }\n\n * {\n font-family: 'MS Sans Serif';\n box-sizing: border-box;\n }\n\n // scrollbar\n ", "\n\n .default { ", " }\n .none { ", " }\n .help { ", " }\n .pointer, :any-link { ", " }\n .progress { ", " }\n .wait { ", " }\n .crosshair { ", " }\n .text { ", " }\n .vertical-text { ", " }\n .alias { ", " }\n .copy { ", " }\n .move { ", " }\n .no-drop { ", " }\n .not-allowed { ", " }\n .grab { ", " }\n .grabbing { ", " }\n .col-resize { ", " }\n .row-resize { ", " }\n .n-resize { ", " }\n .e-resize { ", " }\n .s-resize { ", " }\n .w-resize { ", " }\n .ns-resize { ", " }\n .ew-resize { ", " }\n .ne-resize { ", " }\n .nw-resize { ", " }\n .se-resize { ", " }\n .sw-resize { ", " }\n .nesw-resize { ", " }\n .nwse-resize { ", " }\n .zoom-in { ", " }\n .zoom-out { ", " }\n"], ttf, ttfBold, videoeot, videowoff2, videowoff, videottf, videoeot, scrollbars, Cursor.Auto, Cursor.None, Cursor.Help, Cursor.Pointer, Cursor.Progress, Cursor.Wait, Cursor.Crosshair, Cursor.Text, Cursor.VerticalText, Cursor.Alias, Cursor.Copy, Cursor.Move, Cursor.NoDrop, Cursor.NotAllowed, Cursor.Grab, Cursor.Grabbing, Cursor.ColResize, Cursor.RowResize, Cursor.NResize, Cursor.EResize, Cursor.SResize, Cursor.WResize, Cursor.NsResize, Cursor.EwResize, Cursor.NeResize, Cursor.NwResize, Cursor.SeResize, Cursor.SwResize, Cursor.NeswResize, Cursor.NwseResize, Cursor.ZoomIn, Cursor.ZoomOut);
|
|
11
|
-
export default GlobalStyle;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { css } from 'styled-components';
|
|
2
|
-
import { scrollBarBorder } from './Borders';
|
|
3
|
-
export var createTriangleSVG = function createTriangleSVG(color) {
|
|
4
|
-
var angle = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
5
|
-
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>");
|
|
6
|
-
var encoded = typeof window != 'undefined' ? window.btoa(svg) : '';
|
|
7
|
-
return "url(data:image/svg+xml;base64,".concat(encoded, ")");
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
// TODO for flat box styles add checkered background when disabled (not solid color)
|
|
11
|
-
export var createHatchedBackground = function createHatchedBackground(_ref) {
|
|
12
|
-
var _ref$mainColor = _ref.mainColor,
|
|
13
|
-
mainColor = _ref$mainColor === void 0 ? 'black' : _ref$mainColor,
|
|
14
|
-
_ref$secondaryColor = _ref.secondaryColor,
|
|
15
|
-
secondaryColor = _ref$secondaryColor === void 0 ? 'transparent' : _ref$secondaryColor,
|
|
16
|
-
_ref$pixelSize = _ref.pixelSize,
|
|
17
|
-
pixelSize = _ref$pixelSize === void 0 ? 2 : _ref$pixelSize;
|
|
18
|
-
return css(["\n background-image: ", ";\n background-color: ", ";\n background-size: ", ";\n background-position: 0 0, ", ";\n"], ["linear-gradient(\n 45deg,\n ".concat(mainColor, " 25%,\n transparent 25%,\n transparent 75%,\n ").concat(mainColor, " 75%\n )"), "linear-gradient(\n 45deg,\n ".concat(mainColor, " 25%,\n transparent 25%,\n transparent 75%,\n ").concat(mainColor, " 75%\n )")].join(','), secondaryColor, "".concat(pixelSize * 2, "px ").concat(pixelSize * 2, "px"), "".concat(pixelSize, "px ").concat(pixelSize, "px"));
|
|
19
|
-
};
|
|
20
|
-
export var scrollbars = css(["\n ::-webkit-scrollbar {\n width: 17;\n height: 17;\n }\n ::-webkit-scrollbar-track {\n ", "\n }\n ::-webkit-scrollbar-thumb {\n box-sizing: border-box;\n display: inline-block;\n background: ", ";\n color: ", ";\n ", "\n }\n\n ::-webkit-scrollbar-corner {\n background-color: ", ";\n }\n ::-webkit-scrollbar-button {\n box-sizing: border-box;\n display: inline-block;\n background: ", ";\n color: ", ";\n ", "\n display: block;\n outline-offset: -2px;\n height: 17;\n width: 17;\n background-repeat: no-repeat;\n background-size: 80%;\n background-position: 0 0;\n }\n ::-webkit-scrollbar-button:active,\n ::-webkit-scrollbar-button:active {\n background-position: 0 1;\n ", "\n }\n\n ::-webkit-scrollbar-button:horizontal:increment:start,\n ::-webkit-scrollbar-button:horizontal:decrement:end,\n ::-webkit-scrollbar-button:vertical:increment:start,\n ::-webkit-scrollbar-button:vertical:decrement:end {\n display: none;\n }\n\n ::-webkit-scrollbar-button:horizontal:decrement {\n background-image: ", ";\n }\n\n ::-webkit-scrollbar-button:horizontal:increment {\n background-image: ", ";\n }\n\n ::-webkit-scrollbar-button:vertical:decrement {\n background-image: ", ";\n }\n\n ::-webkit-scrollbar-button:vertical:increment {\n background-image: ", ";\n }\n"], function (_ref2) {
|
|
21
|
-
var theme = _ref2.theme;
|
|
22
|
-
return createHatchedBackground({
|
|
23
|
-
mainColor: theme.colors.material,
|
|
24
|
-
secondaryColor: theme.colors.borderLightest
|
|
25
|
-
});
|
|
26
|
-
}, function (_ref3) {
|
|
27
|
-
var theme = _ref3.theme;
|
|
28
|
-
return theme.colors.material;
|
|
29
|
-
}, function (_ref4) {
|
|
30
|
-
var theme = _ref4.theme;
|
|
31
|
-
return theme.colors.materialText;
|
|
32
|
-
}, scrollBarBorder(), function (_ref5) {
|
|
33
|
-
var theme = _ref5.theme;
|
|
34
|
-
return theme.colors.material;
|
|
35
|
-
}, function (_ref6) {
|
|
36
|
-
var theme = _ref6.theme;
|
|
37
|
-
return theme.colors.material;
|
|
38
|
-
}, function (_ref7) {
|
|
39
|
-
var theme = _ref7.theme;
|
|
40
|
-
return theme.colors.materialText;
|
|
41
|
-
}, scrollBarBorder(), scrollBarBorder(), function (_ref8) {
|
|
42
|
-
var theme = _ref8.theme;
|
|
43
|
-
return createTriangleSVG(theme.colors.materialText, 90);
|
|
44
|
-
}, function (_ref9) {
|
|
45
|
-
var theme = _ref9.theme;
|
|
46
|
-
return createTriangleSVG(theme.colors.materialText, 270);
|
|
47
|
-
}, function (_ref10) {
|
|
48
|
-
var theme = _ref10.theme;
|
|
49
|
-
return createTriangleSVG(theme.colors.materialText, 180);
|
|
50
|
-
}, function (_ref11) {
|
|
51
|
-
var theme = _ref11.theme;
|
|
52
|
-
return createTriangleSVG(theme.colors.materialText, 0);
|
|
53
|
-
});
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -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="M-.014-.015L0 3.001l3.01.01L3 5.195h2.026l.01 2.815 2.941-.01v1.977h2c.011.01.035-1.991.025-2 .01.009 3.011.033 3 .024.011.01.011-2.845 0-2.855h2.001v-2.17c.01.009 3.011.033 3.001.024.01.01-.014-3.04-.024-3.025l-17.994.01z" fill-opacity="null"/></g></svg>
|
|
Binary file
|
|
@@ -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/index.js
DELETED
package/esm/Input/index.js
DELETED
package/esm/List/index.js
DELETED
package/esm/Modal/index.js
DELETED
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
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ThemeProvider as SCThemeProvider } from '@xstyled/styled-components';
|
|
3
|
-
import { ModalProvider } from '../Modal';
|
|
4
|
-
import themes from './themes';
|
|
5
|
-
var ThemeProvider = function ThemeProvider(_ref) {
|
|
6
|
-
var children = _ref.children,
|
|
7
|
-
theme = _ref.theme;
|
|
8
|
-
return /*#__PURE__*/React.createElement(SCThemeProvider, {
|
|
9
|
-
theme: themes[theme || 'win95']
|
|
10
|
-
}, /*#__PURE__*/React.createElement(ModalProvider, null, children));
|
|
11
|
-
};
|
|
12
|
-
ThemeProvider.defaultProps = {
|
|
13
|
-
theme: 'win95'
|
|
14
|
-
};
|
|
15
|
-
export default ThemeProvider;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
-
import BaseTheme, { generateShadows } from './baseTheme';
|
|
8
|
-
var colors = {
|
|
9
|
-
anchor: '#1034a6',
|
|
10
|
-
anchorVisited: '#440381',
|
|
11
|
-
borderDark: '#05427f',
|
|
12
|
-
borderDarkest: '#000000',
|
|
13
|
-
borderLight: '#2b8fff',
|
|
14
|
-
borderLighter: '#8ac1ff',
|
|
15
|
-
borderLightest: '#bedcff',
|
|
16
|
-
canvas: '#000000',
|
|
17
|
-
canvasText: '#ffffff',
|
|
18
|
-
canvasTextDisabled: '#05427f',
|
|
19
|
-
canvasTextDisabledShadow: '#7ebfff',
|
|
20
|
-
canvasTextInvert: '#000000',
|
|
21
|
-
headerBackground: '#171123',
|
|
22
|
-
headerNotActiveBackground: '#4E6766',
|
|
23
|
-
headerNotActiveText: '#0180ff',
|
|
24
|
-
headerText: '#ffffff',
|
|
25
|
-
material: '#0180ff',
|
|
26
|
-
materialDark: '#9a9e9c',
|
|
27
|
-
materialText: '#000000',
|
|
28
|
-
materialTextDisabled: '#05427f',
|
|
29
|
-
materialTextDisabledShadow: '#7ebfff',
|
|
30
|
-
materialTextInvert: '#ffffff',
|
|
31
|
-
progress: '#F46036',
|
|
32
|
-
inputBackground: '#ffffff',
|
|
33
|
-
inputBackgroundDisabled: '#2b8fff',
|
|
34
|
-
tooltip: '#fefbcc'
|
|
35
|
-
};
|
|
36
|
-
var azureOrange = _objectSpread(_objectSpread({}, BaseTheme), {}, {
|
|
37
|
-
colors: colors,
|
|
38
|
-
shadows: generateShadows(colors)
|
|
39
|
-
});
|
|
40
|
-
export default azureOrange;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
var space = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20];
|
|
2
|
-
var borderWidths = [0, 1];
|
|
3
|
-
var borderStyles = ['none', 'solid'];
|
|
4
|
-
var zIndices = {
|
|
5
|
-
modal: 1,
|
|
6
|
-
tooltip: 2,
|
|
7
|
-
taskbar: 2
|
|
8
|
-
};
|
|
9
|
-
export var generateShadows = function generateShadows(colors) {
|
|
10
|
-
return {
|
|
11
|
-
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),
|
|
12
|
-
"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),
|
|
13
|
-
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)
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
var theme = {
|
|
17
|
-
space: space,
|
|
18
|
-
borderWidths: borderWidths,
|
|
19
|
-
borderStyles: borderStyles,
|
|
20
|
-
zIndices: zIndices
|
|
21
|
-
};
|
|
22
|
-
export default theme;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
-
import BaseTheme, { generateShadows } from './baseTheme';
|
|
8
|
-
var colors = {
|
|
9
|
-
anchor: '#1034a6',
|
|
10
|
-
anchorVisited: '#440381',
|
|
11
|
-
borderDark: '#846d06',
|
|
12
|
-
borderDarkest: '#0C1618',
|
|
13
|
-
borderLight: '#e7c221',
|
|
14
|
-
borderLighter: '#f1dd84',
|
|
15
|
-
borderLightest: '#f7ecbb',
|
|
16
|
-
canvas: '#0C1618',
|
|
17
|
-
canvasText: '#ffffff',
|
|
18
|
-
canvasTextDisabled: '#846d06',
|
|
19
|
-
canvasTextDisabledShadow: '#f8df6e',
|
|
20
|
-
canvasTextInvert: '#ffffff',
|
|
21
|
-
headerBackground: '#0C1618',
|
|
22
|
-
headerNotActiveBackground: '#7F7B82',
|
|
23
|
-
headerNotActiveText: '#e5bd03',
|
|
24
|
-
headerText: '#f8df6e',
|
|
25
|
-
material: '#e5bd03',
|
|
26
|
-
materialDark: '#7F7B82',
|
|
27
|
-
materialText: '#0C1618',
|
|
28
|
-
materialTextDisabled: '#846d06',
|
|
29
|
-
materialTextDisabledShadow: '#f8df6e',
|
|
30
|
-
materialTextInvert: '#ffffff',
|
|
31
|
-
progress: '#0C1618',
|
|
32
|
-
inputBackground: '#ffffff',
|
|
33
|
-
inputBackgroundDisabled: '#e7c221',
|
|
34
|
-
tooltip: '#fefbcc'
|
|
35
|
-
};
|
|
36
|
-
var bee = _objectSpread(_objectSpread({}, BaseTheme), {}, {
|
|
37
|
-
colors: colors,
|
|
38
|
-
shadows: generateShadows(colors)
|
|
39
|
-
});
|
|
40
|
-
export default bee;
|