@react95/core 7.0.2 → 8.0.0-alpha.0
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/Alert/index.d.ts +1 -1
- package/@types/Avatar/Avatar.css.d.ts +15 -0
- package/@types/Avatar/Avatar.d.ts +3 -4
- package/@types/Avatar/index.d.ts +1 -1
- package/@types/Button/Button.css.d.ts +1 -0
- package/@types/Button/Button.d.ts +4 -2
- package/@types/Button/index.d.ts +1 -1
- package/@types/Checkbox/Checkbox.css.d.ts +4 -0
- package/@types/Checkbox/Checkbox.d.ts +2 -9
- package/@types/Checkbox/index.d.ts +1 -1
- package/@types/Cursor/Cursor.css.d.ts +1 -0
- package/@types/Cursor/index.d.ts +1 -1
- package/@types/Dropdown/Dropdown.css.d.ts +2 -0
- package/@types/Dropdown/Dropdown.d.ts +5 -4
- package/@types/Dropdown/index.d.ts +1 -1
- package/@types/Fieldset/Fieldset.css.d.ts +2 -0
- package/@types/Fieldset/Fieldset.d.ts +3 -5
- package/@types/Fieldset/index.d.ts +1 -1
- package/@types/Frame/Frame.d.ts +2251 -5
- package/@types/Frame/index.d.ts +1 -1
- package/@types/Frame/props.d.ts +977 -0
- package/@types/Frame/sprinkles.css.d.ts +2271 -0
- package/@types/GlobalStyle/GlobalStyle.css.d.ts +2 -0
- package/@types/GlobalStyle/utils.d.ts +15 -0
- package/@types/Input/Input.css.d.ts +1 -0
- package/@types/Input/Input.d.ts +3 -4
- package/@types/Input/index.d.ts +1 -1
- 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/List/index.d.ts +1 -1
- package/@types/Modal/Modal.css.d.ts +18 -0
- package/@types/Modal/Modal.d.ts +6 -22
- package/@types/Modal/index.d.ts +1 -1
- package/@types/ProgressBar/ProgressBar.css.d.ts +4 -0
- package/@types/ProgressBar/ProgressBar.d.ts +3 -4
- package/@types/ProgressBar/index.d.ts +1 -1
- package/@types/RadioButton/RadioButton.css.d.ts +4 -0
- package/@types/RadioButton/RadioButton.d.ts +1 -2
- package/@types/RadioButton/index.d.ts +1 -1
- package/@types/Range/Range.css.d.ts +1 -0
- package/@types/Range/Range.d.ts +4 -4
- package/@types/Range/index.d.ts +1 -1
- 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/Tabs/index.d.ts +2 -2
- package/@types/TaskBar/Clock.d.ts +1 -2
- package/@types/TaskBar/TaskBar.css.d.ts +21 -0
- package/@types/TaskBar/TaskBar.d.ts +1 -2
- package/@types/TaskBar/WindowButton.d.ts +5 -4
- package/@types/TaskBar/index.d.ts +1 -1
- package/@types/TextArea/TextArea.d.ts +4 -5
- package/@types/TextArea/index.d.ts +1 -1
- package/@types/TitleBar/TitleBar.css.d.ts +15 -0
- package/@types/TitleBar/TitleBar.d.ts +5 -7
- package/@types/TitleBar/index.d.ts +1 -1
- package/@types/Tooltip/Tooltip.css.d.ts +2 -0
- package/@types/Tooltip/Tooltip.d.ts +1 -2
- package/@types/Tooltip/index.d.ts +1 -1
- package/@types/Tree/Node.d.ts +4 -1
- package/@types/Tree/Tree.css.d.ts +16 -0
- package/@types/Tree/Tree.d.ts +5 -3
- package/@types/Tree/index.d.ts +1 -1
- package/@types/Video/Video.css.d.ts +18 -0
- package/@types/Video/Video.d.ts +2 -9
- package/@types/Video/index.d.ts +1 -1
- package/@types/index.d.ts +2 -3
- package/@types/shared/test/utils.d.ts +2 -3
- package/@types/themes/all.d.ts +36 -0
- package/@types/themes/azureOrange.css.d.ts +1 -0
- package/@types/themes/baseTheme.css.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 +58 -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 +23 -0
- package/cjs/Alert/Alert.js +17 -29
- package/cjs/Alert/index.js +2 -3
- package/cjs/Avatar/Avatar.css.js +39 -0
- package/cjs/Avatar/Avatar.js +21 -31
- package/cjs/Avatar/index.js +2 -3
- package/cjs/Button/Button.css.js +35 -0
- package/cjs/Button/Button.js +15 -10
- package/cjs/Button/index.js +2 -3
- package/cjs/Checkbox/Checkbox.css.js +73 -0
- package/cjs/Checkbox/Checkbox.js +21 -43
- package/cjs/Checkbox/index.js +2 -3
- package/cjs/Cursor/Cursor.css.js +137 -0
- package/cjs/Cursor/index.js +2 -3
- package/cjs/Dropdown/Dropdown.css.js +56 -0
- package/cjs/Dropdown/Dropdown.js +19 -19
- package/cjs/Dropdown/index.js +2 -3
- package/cjs/Fieldset/Fieldset.css.js +27 -0
- package/cjs/Fieldset/Fieldset.js +13 -16
- package/cjs/Fieldset/index.js +2 -3
- package/cjs/Frame/Frame.js +30 -12
- package/cjs/Frame/index.js +2 -3
- package/cjs/Frame/props.js +162 -0
- package/cjs/Frame/sprinkles.css.js +73 -0
- package/cjs/GlobalStyle/GlobalStyle.css.js +130 -0
- package/cjs/GlobalStyle/utils.js +23 -0
- package/cjs/Input/Input.css.js +30 -0
- package/cjs/Input/Input.js +15 -10
- package/cjs/Input/index.js +2 -3
- package/cjs/List/List.css.js +79 -0
- package/cjs/List/List.js +18 -22
- package/cjs/List/ListDivider.js +14 -8
- package/cjs/List/ListItem.js +18 -28
- package/cjs/List/index.js +2 -3
- package/cjs/Modal/Modal.css.js +76 -0
- package/cjs/Modal/Modal.js +61 -72
- package/cjs/Modal/close.svg +1 -0
- package/cjs/Modal/help.svg +1 -0
- package/cjs/Modal/index.js +2 -2
- package/cjs/Modal/maximize.svg +1 -0
- package/cjs/Modal/minimize.svg +1 -0
- package/cjs/Modal/restore.svg +1 -0
- package/cjs/ProgressBar/ProgressBar.css.js +40 -0
- package/cjs/ProgressBar/ProgressBar.js +22 -47
- package/cjs/ProgressBar/index.js +2 -3
- package/cjs/RadioButton/RadioButton.css.js +55 -0
- package/cjs/RadioButton/RadioButton.js +18 -40
- package/cjs/RadioButton/index.js +2 -3
- package/cjs/Range/Range.css.js +59 -0
- package/cjs/Range/Range.js +15 -11
- package/cjs/Range/index.js +2 -3
- package/cjs/Tabs/Tab.js +15 -18
- package/cjs/Tabs/Tabs.css.js +56 -0
- package/cjs/Tabs/Tabs.js +14 -24
- package/cjs/Tabs/index.js +4 -5
- package/cjs/TaskBar/Clock.js +13 -19
- package/cjs/TaskBar/TaskBar.css.js +82 -0
- package/cjs/TaskBar/TaskBar.js +36 -41
- package/cjs/TaskBar/WindowButton.js +21 -47
- package/cjs/TaskBar/index.js +2 -3
- package/cjs/TextArea/TextArea.js +10 -16
- package/cjs/TextArea/index.js +2 -3
- package/cjs/TitleBar/TitleBar.css.js +78 -0
- package/cjs/TitleBar/TitleBar.js +37 -43
- package/cjs/TitleBar/index.js +2 -3
- package/cjs/Tooltip/Tooltip.css.js +31 -0
- package/cjs/Tooltip/Tooltip.js +21 -30
- package/cjs/Tooltip/index.js +2 -3
- package/cjs/Tree/Node.js +70 -55
- package/cjs/Tree/Tree.css.js +116 -0
- package/cjs/Tree/Tree.js +11 -13
- package/cjs/Tree/index.js +2 -3
- package/cjs/Video/Video.css.js +106 -0
- package/cjs/Video/Video.js +53 -92
- package/cjs/Video/index.js +2 -3
- package/cjs/index.js +6 -14
- package/cjs/shared/test/utils.js +17 -19
- package/cjs/themes/all.js +250 -0
- package/cjs/themes/azureOrange.css.js +42 -0
- package/cjs/themes/baseTheme.css.js +69 -0
- package/cjs/themes/bee.css.js +42 -0
- package/cjs/themes/blackAndWhite.css.js +42 -0
- package/cjs/themes/brick.css.js +42 -0
- package/cjs/themes/candy.css.js +42 -0
- package/cjs/{ThemeProvider/themes/coldGray.js → themes/coldGray.css.js} +7 -13
- package/cjs/themes/contract.css.js +21 -0
- package/cjs/{ThemeProvider/themes/counterStrike.js → themes/counterStrike.css.js} +7 -13
- package/cjs/themes/eggplant.css.js +42 -0
- package/cjs/themes/highContrast.css.js +42 -0
- package/cjs/themes/lilac.css.js +42 -0
- package/cjs/themes/lilacRoseDark.css.js +42 -0
- package/cjs/themes/maple.css.js +42 -0
- package/cjs/themes/marine.css.js +42 -0
- package/cjs/themes/matrix.css.js +42 -0
- package/cjs/themes/millenium.css.js +42 -0
- package/cjs/themes/modernDark.css.js +42 -0
- package/cjs/themes/molecule.css.js +42 -0
- package/cjs/themes/ninjaTurtles.css.js +42 -0
- package/cjs/themes/olive.css.js +42 -0
- package/cjs/themes/pamelaAnderson.css.js +42 -0
- package/cjs/themes/plum.css.js +42 -0
- package/cjs/themes/rainyDay.css.js +42 -0
- package/cjs/themes/rose.css.js +42 -0
- package/cjs/{ThemeProvider/themes/slate.js → themes/slate.css.js} +7 -13
- package/cjs/themes/spruce.css.js +42 -0
- package/cjs/{ThemeProvider/themes/storm.js → themes/storm.css.js} +7 -13
- package/cjs/themes/theSixtiesUSA.css.js +42 -0
- package/cjs/themes/tokyoDark.css.js +42 -0
- package/cjs/themes/tooSexy.css.js +42 -0
- package/cjs/themes/travel.css.js +42 -0
- package/cjs/themes/vaporTeal.css.js +42 -0
- package/cjs/{ThemeProvider/themes/vermillion.js → themes/vermillion.css.js} +7 -13
- package/cjs/{ThemeProvider/themes/violetDark.js → themes/violetDark.css.js} +7 -13
- package/cjs/themes/water.css.js +42 -0
- package/cjs/themes/win95.css.js +42 -0
- package/esm/Alert/Alert.css.js +17 -0
- package/esm/Alert/Alert.js +15 -26
- package/esm/Alert/index.js +1 -1
- package/esm/Avatar/Avatar.css.js +33 -0
- package/esm/Avatar/Avatar.js +20 -30
- package/esm/Avatar/index.js +1 -1
- package/esm/Button/Button.css.js +29 -0
- package/esm/Button/Button.js +13 -9
- package/esm/Button/index.js +1 -1
- package/esm/Checkbox/Checkbox.css.js +66 -0
- package/esm/Checkbox/Checkbox.js +20 -41
- package/esm/Checkbox/index.js +1 -1
- package/esm/Cursor/Cursor.css.js +130 -0
- package/esm/Cursor/index.js +1 -1
- package/esm/Dropdown/Dropdown.css.js +49 -0
- package/esm/Dropdown/Dropdown.js +18 -18
- package/esm/Dropdown/index.js +1 -1
- package/esm/Fieldset/Fieldset.css.js +21 -0
- package/esm/Fieldset/Fieldset.js +12 -15
- package/esm/Fieldset/index.js +1 -1
- package/esm/Frame/Frame.js +29 -11
- package/esm/Frame/index.js +1 -1
- package/esm/Frame/props.js +156 -0
- package/esm/Frame/sprinkles.css.js +67 -0
- package/esm/GlobalStyle/GlobalStyle.css.js +123 -0
- package/esm/GlobalStyle/utils.js +17 -0
- package/esm/Input/Input.css.js +24 -0
- package/esm/Input/Input.js +11 -8
- package/esm/Input/index.js +1 -1
- package/esm/List/List.css.js +72 -0
- package/esm/List/List.js +15 -16
- package/esm/List/ListDivider.js +13 -7
- package/esm/List/ListItem.js +17 -27
- package/esm/List/index.js +1 -1
- package/esm/Modal/Modal.css.js +70 -0
- package/esm/Modal/Modal.js +60 -71
- package/esm/Modal/close.svg +1 -0
- package/esm/Modal/help.svg +1 -0
- package/esm/Modal/index.js +1 -1
- package/esm/Modal/maximize.svg +1 -0
- package/esm/Modal/minimize.svg +1 -0
- package/esm/Modal/restore.svg +1 -0
- package/esm/ProgressBar/ProgressBar.css.js +34 -0
- package/esm/ProgressBar/ProgressBar.js +20 -46
- package/esm/ProgressBar/index.js +1 -1
- package/esm/RadioButton/RadioButton.css.js +49 -0
- package/esm/RadioButton/RadioButton.js +17 -39
- package/esm/RadioButton/index.js +1 -1
- package/esm/Range/Range.css.js +53 -0
- package/esm/Range/Range.js +13 -10
- package/esm/Range/index.js +1 -1
- package/esm/Tabs/Tab.js +13 -17
- package/esm/Tabs/Tabs.css.js +50 -0
- package/esm/Tabs/Tabs.js +11 -21
- package/esm/Tabs/index.js +2 -2
- package/esm/TaskBar/Clock.js +12 -18
- package/esm/TaskBar/TaskBar.css.js +76 -0
- package/esm/TaskBar/TaskBar.js +32 -38
- package/esm/TaskBar/WindowButton.js +20 -45
- package/esm/TaskBar/index.js +1 -1
- package/esm/TextArea/TextArea.js +9 -14
- package/esm/TextArea/index.js +1 -1
- package/esm/TitleBar/TitleBar.css.js +72 -0
- package/esm/TitleBar/TitleBar.js +36 -42
- package/esm/TitleBar/index.js +1 -1
- package/esm/Tooltip/Tooltip.css.js +25 -0
- package/esm/Tooltip/Tooltip.js +20 -29
- package/esm/Tooltip/index.js +1 -1
- package/esm/Tree/Node.js +69 -54
- package/esm/Tree/Tree.css.js +110 -0
- package/esm/Tree/Tree.js +11 -12
- package/esm/Tree/index.js +1 -1
- package/esm/Video/Video.css.js +100 -0
- package/esm/Video/Video.js +52 -92
- package/esm/Video/index.js +1 -1
- package/esm/index.js +2 -3
- package/esm/shared/test/utils.js +10 -17
- package/esm/themes/all.js +36 -0
- package/esm/{ThemeProvider/themes/azureOrange.js → themes/azureOrange.css.js} +6 -10
- package/esm/themes/baseTheme.css.js +63 -0
- package/esm/{ThemeProvider/themes/bee.js → themes/bee.css.js} +6 -10
- package/esm/{ThemeProvider/themes/blackAndWhite.js → themes/blackAndWhite.css.js} +6 -10
- package/esm/{ThemeProvider/themes/brick.js → themes/brick.css.js} +6 -10
- package/esm/{ThemeProvider/themes/candy.js → themes/candy.css.js} +6 -10
- package/esm/{ThemeProvider/themes/coldGray.js → themes/coldGray.css.js} +6 -10
- package/esm/themes/contract.css.js +15 -0
- package/esm/{ThemeProvider/themes/counterStrike.js → themes/counterStrike.css.js} +6 -10
- package/esm/{ThemeProvider/themes/eggplant.js → themes/eggplant.css.js} +6 -10
- package/esm/{ThemeProvider/themes/highContrast.js → themes/highContrast.css.js} +6 -10
- package/esm/{ThemeProvider/themes/lilac.js → themes/lilac.css.js} +6 -10
- package/esm/{ThemeProvider/themes/lilacRoseDark.js → themes/lilacRoseDark.css.js} +6 -10
- package/esm/{ThemeProvider/themes/maple.js → themes/maple.css.js} +6 -10
- package/esm/{ThemeProvider/themes/marine.js → themes/marine.css.js} +6 -10
- package/esm/{ThemeProvider/themes/matrix.js → themes/matrix.css.js} +6 -10
- package/esm/{ThemeProvider/themes/millenium.js → themes/millenium.css.js} +6 -10
- package/esm/{ThemeProvider/themes/modernDark.js → themes/modernDark.css.js} +6 -10
- package/esm/{ThemeProvider/themes/molecule.js → themes/molecule.css.js} +6 -10
- package/esm/{ThemeProvider/themes/ninjaTurtles.js → themes/ninjaTurtles.css.js} +6 -10
- package/esm/{ThemeProvider/themes/olive.js → themes/olive.css.js} +6 -10
- package/esm/{ThemeProvider/themes/pamelaAnderson.js → themes/pamelaAnderson.css.js} +6 -10
- package/esm/{ThemeProvider/themes/plum.js → themes/plum.css.js} +6 -10
- package/esm/{ThemeProvider/themes/rainyDay.js → themes/rainyDay.css.js} +6 -10
- package/esm/{ThemeProvider/themes/rose.js → themes/rose.css.js} +6 -10
- package/esm/{ThemeProvider/themes/slate.js → themes/slate.css.js} +6 -10
- package/esm/{ThemeProvider/themes/spruce.js → themes/spruce.css.js} +6 -10
- package/esm/{ThemeProvider/themes/storm.js → themes/storm.css.js} +6 -10
- package/esm/{ThemeProvider/themes/theSixtiesUSA.js → themes/theSixtiesUSA.css.js} +6 -10
- package/esm/{ThemeProvider/themes/tokyoDark.js → themes/tokyoDark.css.js} +6 -10
- package/esm/{ThemeProvider/themes/tooSexy.js → themes/tooSexy.css.js} +6 -10
- package/esm/{ThemeProvider/themes/travel.js → themes/travel.css.js} +6 -10
- package/esm/{ThemeProvider/themes/vaporTeal.js → themes/vaporTeal.css.js} +6 -10
- package/esm/{ThemeProvider/themes/vermillion.js → themes/vermillion.css.js} +6 -10
- package/esm/{ThemeProvider/themes/violetDark.js → themes/violetDark.css.js} +6 -10
- package/esm/{ThemeProvider/themes/water.js → themes/water.css.js} +6 -10
- package/esm/{ThemeProvider/themes/win95.js → themes/win95.css.js} +6 -10
- package/package.json +5 -9
- package/@types/Cursor/Cursor.d.ts +0 -38
- 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/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/cjs/Cursor/Cursor.js +0 -86
- package/cjs/GlobalStyle/Borders.js +0 -88
- package/cjs/GlobalStyle/GlobalStyle.js +0 -18
- package/cjs/GlobalStyle/Scrollbar.js +0 -59
- package/cjs/GlobalStyle/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/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/spruce.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/water.js +0 -48
- package/cjs/ThemeProvider/themes/win95.js +0 -48
- package/cjs/ThemeProvider/themes.js +0 -80
- 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/esm/Cursor/Cursor.js +0 -79
- package/esm/GlobalStyle/Borders.js +0 -82
- package/esm/GlobalStyle/GlobalStyle.js +0 -11
- package/esm/GlobalStyle/Scrollbar.js +0 -53
- package/esm/GlobalStyle/index.js +0 -2
- package/esm/ThemeProvider/ThemeProvider.js +0 -15
- package/esm/ThemeProvider/index.js +0 -2
- package/esm/ThemeProvider/themes/baseTheme.js +0 -22
- package/esm/ThemeProvider/themes.js +0 -73
- 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/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;
|
|
@@ -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
|
-
});
|
package/esm/GlobalStyle/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,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,73 +0,0 @@
|
|
|
1
|
-
import win95 from './themes/win95';
|
|
2
|
-
import counterStrike from './themes/counterStrike';
|
|
3
|
-
import bee from './themes/bee';
|
|
4
|
-
import pamelaAnderson from './themes/pamelaAnderson';
|
|
5
|
-
import azureOrange from './themes/azureOrange';
|
|
6
|
-
import olive from './themes/olive';
|
|
7
|
-
import vaporTeal from './themes/vaporTeal';
|
|
8
|
-
import matrix from './themes/matrix';
|
|
9
|
-
import vermillion from './themes/vermillion';
|
|
10
|
-
import tooSexy from './themes/tooSexy';
|
|
11
|
-
import ninjaTurtles from './themes/ninjaTurtles';
|
|
12
|
-
import tokyoDark from './themes/tokyoDark';
|
|
13
|
-
import molecule from './themes/molecule';
|
|
14
|
-
import travel from './themes/travel';
|
|
15
|
-
import theSixtiesUSA from './themes/theSixtiesUSA';
|
|
16
|
-
import candy from './themes/candy';
|
|
17
|
-
import modernDark from './themes/modernDark';
|
|
18
|
-
import storm from './themes/storm';
|
|
19
|
-
import millenium from './themes/millenium';
|
|
20
|
-
import spruce from './themes/spruce';
|
|
21
|
-
import slate from './themes/slate';
|
|
22
|
-
import rose from './themes/rose';
|
|
23
|
-
import rainyDay from './themes/rainyDay';
|
|
24
|
-
import plum from './themes/plum';
|
|
25
|
-
import marine from './themes/marine';
|
|
26
|
-
import maple from './themes/maple';
|
|
27
|
-
import lilac from './themes/lilac';
|
|
28
|
-
import blackAndWhite from './themes/blackAndWhite';
|
|
29
|
-
import highContrast from './themes/highContrast';
|
|
30
|
-
import eggplant from './themes/eggplant';
|
|
31
|
-
import brick from './themes/brick';
|
|
32
|
-
import water from './themes/water';
|
|
33
|
-
import coldGray from './themes/coldGray';
|
|
34
|
-
import lilacRoseDark from './themes/lilacRoseDark';
|
|
35
|
-
import violetDark from './themes/violetDark';
|
|
36
|
-
var themes = {
|
|
37
|
-
win95: win95,
|
|
38
|
-
counterStrike: counterStrike,
|
|
39
|
-
bee: bee,
|
|
40
|
-
pamelaAnderson: pamelaAnderson,
|
|
41
|
-
azureOrange: azureOrange,
|
|
42
|
-
olive: olive,
|
|
43
|
-
vaporTeal: vaporTeal,
|
|
44
|
-
matrix: matrix,
|
|
45
|
-
vermillion: vermillion,
|
|
46
|
-
tooSexy: tooSexy,
|
|
47
|
-
ninjaTurtles: ninjaTurtles,
|
|
48
|
-
tokyoDark: tokyoDark,
|
|
49
|
-
molecule: molecule,
|
|
50
|
-
travel: travel,
|
|
51
|
-
theSixtiesUSA: theSixtiesUSA,
|
|
52
|
-
candy: candy,
|
|
53
|
-
modernDark: modernDark,
|
|
54
|
-
storm: storm,
|
|
55
|
-
millenium: millenium,
|
|
56
|
-
spruce: spruce,
|
|
57
|
-
slate: slate,
|
|
58
|
-
rose: rose,
|
|
59
|
-
rainyDay: rainyDay,
|
|
60
|
-
plum: plum,
|
|
61
|
-
marine: marine,
|
|
62
|
-
maple: maple,
|
|
63
|
-
lilac: lilac,
|
|
64
|
-
blackAndWhite: blackAndWhite,
|
|
65
|
-
highContrast: highContrast,
|
|
66
|
-
eggplant: eggplant,
|
|
67
|
-
brick: brick,
|
|
68
|
-
water: water,
|
|
69
|
-
coldGray: coldGray,
|
|
70
|
-
lilacRoseDark: lilacRoseDark,
|
|
71
|
-
violetDark: violetDark
|
|
72
|
-
};
|
|
73
|
-
export default themes;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|