react95-native-rabbl 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/assets/fonts/src/ms-sans-serif/MS Sans Serif.ttf +0 -0
- package/dist/commonjs/assets/fonts/src/ms-sans-serif/license.txt +4 -0
- package/dist/commonjs/assets/fonts/src/ms-sans-serif/readme.txt +26 -0
- package/dist/commonjs/assets/fonts/src/ms-sans-serif-bold/MS Sans Serif Bold.ttf +0 -0
- package/dist/commonjs/assets/fonts/src/ms-sans-serif-bold/license.txt +4 -0
- package/dist/commonjs/assets/fonts/src/ms-sans-serif-bold/readme.txt +26 -0
- package/dist/commonjs/components/AppBar/AppBar.js +40 -0
- package/dist/commonjs/components/AppBar/AppBar.js.map +1 -0
- package/dist/commonjs/components/AppBar/AppBar.spec.js +154 -0
- package/dist/commonjs/components/AppBar/AppBar.spec.js.map +1 -0
- package/dist/commonjs/components/AppBar/AppBarBackAction.js +30 -0
- package/dist/commonjs/components/AppBar/AppBarBackAction.js.map +1 -0
- package/dist/commonjs/components/AppBar/AppBarContent.js +66 -0
- package/dist/commonjs/components/AppBar/AppBarContent.js.map +1 -0
- package/dist/commonjs/components/AppBar/index.js +14 -0
- package/dist/commonjs/components/AppBar/index.js.map +1 -0
- package/dist/commonjs/components/Button/Button.js +170 -0
- package/dist/commonjs/components/Button/Button.js.map +1 -0
- package/dist/commonjs/components/Button/Button.spec.js +70 -0
- package/dist/commonjs/components/Button/Button.spec.js.map +1 -0
- package/dist/commonjs/components/Button/index.js +14 -0
- package/dist/commonjs/components/Button/index.js.map +1 -0
- package/dist/commonjs/components/Card/Card.js +69 -0
- package/dist/commonjs/components/Card/Card.js.map +1 -0
- package/dist/commonjs/components/Card/Card.spec.js +63 -0
- package/dist/commonjs/components/Card/Card.spec.js.map +1 -0
- package/dist/commonjs/components/Card/CardContent.js +28 -0
- package/dist/commonjs/components/Card/CardContent.js.map +1 -0
- package/dist/commonjs/components/Card/index.js +14 -0
- package/dist/commonjs/components/Card/index.js.map +1 -0
- package/dist/commonjs/components/Checkbox/Checkbox.js +19 -0
- package/dist/commonjs/components/Checkbox/Checkbox.js.map +1 -0
- package/dist/commonjs/components/Checkbox/index.js +14 -0
- package/dist/commonjs/components/Checkbox/index.js.map +1 -0
- package/dist/commonjs/components/ColorButton/ColorButton.js +67 -0
- package/dist/commonjs/components/ColorButton/ColorButton.js.map +1 -0
- package/dist/commonjs/components/ColorButton/index.js +14 -0
- package/dist/commonjs/components/ColorButton/index.js.map +1 -0
- package/dist/commonjs/components/ColorPicker/ColorPicker.js +85 -0
- package/dist/commonjs/components/ColorPicker/ColorPicker.js.map +1 -0
- package/dist/commonjs/components/ColorPicker/index.js +14 -0
- package/dist/commonjs/components/ColorPicker/index.js.map +1 -0
- package/dist/commonjs/components/Desktop/Desktop.js +149 -0
- package/dist/commonjs/components/Desktop/Desktop.js.map +1 -0
- package/dist/commonjs/components/Desktop/Desktop.spec.js +43 -0
- package/dist/commonjs/components/Desktop/Desktop.spec.js.map +1 -0
- package/dist/commonjs/components/Desktop/index.js +14 -0
- package/dist/commonjs/components/Desktop/index.js.map +1 -0
- package/dist/commonjs/components/Divider/Divider.js +46 -0
- package/dist/commonjs/components/Divider/Divider.js.map +1 -0
- package/dist/commonjs/components/Divider/Divider.spec.js +74 -0
- package/dist/commonjs/components/Divider/Divider.spec.js.map +1 -0
- package/dist/commonjs/components/Divider/index.js +14 -0
- package/dist/commonjs/components/Divider/index.js.map +1 -0
- package/dist/commonjs/components/FAB/FAB.js +210 -0
- package/dist/commonjs/components/FAB/FAB.js.map +1 -0
- package/dist/commonjs/components/FAB/FABGroup.js +255 -0
- package/dist/commonjs/components/FAB/FABGroup.js.map +1 -0
- package/dist/commonjs/components/FAB/index.js +14 -0
- package/dist/commonjs/components/FAB/index.js.map +1 -0
- package/dist/commonjs/components/Fieldset/Fieldset.js +85 -0
- package/dist/commonjs/components/Fieldset/Fieldset.js.map +1 -0
- package/dist/commonjs/components/Fieldset/Fieldset.spec.js +60 -0
- package/dist/commonjs/components/Fieldset/Fieldset.spec.js.map +1 -0
- package/dist/commonjs/components/Fieldset/index.js +14 -0
- package/dist/commonjs/components/Fieldset/index.js.map +1 -0
- package/dist/commonjs/components/Hourglass/Hourglass.js +40 -0
- package/dist/commonjs/components/Hourglass/Hourglass.js.map +1 -0
- package/dist/commonjs/components/Hourglass/Hourglass.spec.js +35 -0
- package/dist/commonjs/components/Hourglass/Hourglass.spec.js.map +1 -0
- package/dist/commonjs/components/Hourglass/base64hourglass.js +9 -0
- package/dist/commonjs/components/Hourglass/base64hourglass.js.map +1 -0
- package/dist/commonjs/components/Hourglass/index.js +14 -0
- package/dist/commonjs/components/Hourglass/index.js.map +1 -0
- package/dist/commonjs/components/Icons/ArrowIcon.js +59 -0
- package/dist/commonjs/components/Icons/ArrowIcon.js.map +1 -0
- package/dist/commonjs/components/Icons/CheckmarkIcon.js +43 -0
- package/dist/commonjs/components/Icons/CheckmarkIcon.js.map +1 -0
- package/dist/commonjs/components/Icons/ChevronIcon.js +65 -0
- package/dist/commonjs/components/Icons/ChevronIcon.js.map +1 -0
- package/dist/commonjs/components/Icons/CloseIcon.js +47 -0
- package/dist/commonjs/components/Icons/CloseIcon.js.map +1 -0
- package/dist/commonjs/components/Icons/index.js +35 -0
- package/dist/commonjs/components/Icons/index.js.map +1 -0
- package/dist/commonjs/components/Label/Label.js +58 -0
- package/dist/commonjs/components/Label/Label.js.map +1 -0
- package/dist/commonjs/components/Label/index.js +14 -0
- package/dist/commonjs/components/Label/index.js.map +1 -0
- package/dist/commonjs/components/List/List.js +35 -0
- package/dist/commonjs/components/List/List.js.map +1 -0
- package/dist/commonjs/components/List/ListAccordion.js +135 -0
- package/dist/commonjs/components/List/ListAccordion.js.map +1 -0
- package/dist/commonjs/components/List/ListItem.js +67 -0
- package/dist/commonjs/components/List/ListItem.js.map +1 -0
- package/dist/commonjs/components/List/ListSection.js +41 -0
- package/dist/commonjs/components/List/ListSection.js.map +1 -0
- package/dist/commonjs/components/List/index.js +10 -0
- package/dist/commonjs/components/List/index.js.map +1 -0
- package/dist/commonjs/components/Menu/Menu.js +86 -0
- package/dist/commonjs/components/Menu/Menu.js.map +1 -0
- package/dist/commonjs/components/Menu/MenuItem.js +79 -0
- package/dist/commonjs/components/Menu/MenuItem.js.map +1 -0
- package/dist/commonjs/components/Menu/index.js +14 -0
- package/dist/commonjs/components/Menu/index.js.map +1 -0
- package/dist/commonjs/components/NumberInput/NumberInput.js +123 -0
- package/dist/commonjs/components/NumberInput/NumberInput.js.map +1 -0
- package/dist/commonjs/components/NumberInput/NumberInput.spec.js +130 -0
- package/dist/commonjs/components/NumberInput/NumberInput.spec.js.map +1 -0
- package/dist/commonjs/components/NumberInput/index.js +14 -0
- package/dist/commonjs/components/NumberInput/index.js.map +1 -0
- package/dist/commonjs/components/Panel/Panel.js +60 -0
- package/dist/commonjs/components/Panel/Panel.js.map +1 -0
- package/dist/commonjs/components/Panel/Panel.spec.js +35 -0
- package/dist/commonjs/components/Panel/Panel.spec.js.map +1 -0
- package/dist/commonjs/components/Panel/index.js +14 -0
- package/dist/commonjs/components/Panel/index.js.map +1 -0
- package/dist/commonjs/components/Portal/Portal.js +49 -0
- package/dist/commonjs/components/Portal/Portal.js.map +1 -0
- package/dist/commonjs/components/Portal/PortalConsumer.js +39 -0
- package/dist/commonjs/components/Portal/PortalConsumer.js.map +1 -0
- package/dist/commonjs/components/Portal/PortalHost.js +141 -0
- package/dist/commonjs/components/Portal/PortalHost.js.map +1 -0
- package/dist/commonjs/components/Portal/PortalManager.js +57 -0
- package/dist/commonjs/components/Portal/PortalManager.js.map +1 -0
- package/dist/commonjs/components/Portal/index.js +14 -0
- package/dist/commonjs/components/Portal/index.js.map +1 -0
- package/dist/commonjs/components/Progress/Progress.js +94 -0
- package/dist/commonjs/components/Progress/Progress.js.map +1 -0
- package/dist/commonjs/components/Progress/index.js +14 -0
- package/dist/commonjs/components/Progress/index.js.map +1 -0
- package/dist/commonjs/components/Radio/Radio.js +19 -0
- package/dist/commonjs/components/Radio/Radio.js.map +1 -0
- package/dist/commonjs/components/Radio/index.js +14 -0
- package/dist/commonjs/components/Radio/index.js.map +1 -0
- package/dist/commonjs/components/ScrollPanel/ScrollPanel.js +78 -0
- package/dist/commonjs/components/ScrollPanel/ScrollPanel.js.map +1 -0
- package/dist/commonjs/components/ScrollPanel/index.js +14 -0
- package/dist/commonjs/components/ScrollPanel/index.js.map +1 -0
- package/dist/commonjs/components/ScrollView/ScrollView.js +211 -0
- package/dist/commonjs/components/ScrollView/ScrollView.js.map +1 -0
- package/dist/commonjs/components/ScrollView/index.js +14 -0
- package/dist/commonjs/components/ScrollView/index.js.map +1 -0
- package/dist/commonjs/components/Select/Select.js +180 -0
- package/dist/commonjs/components/Select/Select.js.map +1 -0
- package/dist/commonjs/components/Select/SelectBase.js +80 -0
- package/dist/commonjs/components/Select/SelectBase.js.map +1 -0
- package/dist/commonjs/components/Select/SelectBox.js +60 -0
- package/dist/commonjs/components/Select/SelectBox.js.map +1 -0
- package/dist/commonjs/components/Select/index.js +21 -0
- package/dist/commonjs/components/Select/index.js.map +1 -0
- package/dist/commonjs/components/Slider/Slider.js +243 -0
- package/dist/commonjs/components/Slider/Slider.js.map +1 -0
- package/dist/commonjs/components/Slider/index.js +14 -0
- package/dist/commonjs/components/Slider/index.js.map +1 -0
- package/dist/commonjs/components/Snackbar/Snackbar.js +192 -0
- package/dist/commonjs/components/Snackbar/Snackbar.js.map +1 -0
- package/dist/commonjs/components/Snackbar/SnackbarContent.js +28 -0
- package/dist/commonjs/components/Snackbar/SnackbarContent.js.map +1 -0
- package/dist/commonjs/components/Snackbar/index.js +14 -0
- package/dist/commonjs/components/Snackbar/index.js.map +1 -0
- package/dist/commonjs/components/SwitchBase/SwitchBase.js +154 -0
- package/dist/commonjs/components/SwitchBase/SwitchBase.js.map +1 -0
- package/dist/commonjs/components/SwitchBase/index.js +17 -0
- package/dist/commonjs/components/SwitchBase/index.js.map +1 -0
- package/dist/commonjs/components/Tabs/Tabs.js +162 -0
- package/dist/commonjs/components/Tabs/Tabs.js.map +1 -0
- package/dist/commonjs/components/Tabs/index.js +14 -0
- package/dist/commonjs/components/Tabs/index.js.map +1 -0
- package/dist/commonjs/components/TextInput/TextInput.js +66 -0
- package/dist/commonjs/components/TextInput/TextInput.js.map +1 -0
- package/dist/commonjs/components/TextInput/index.js +14 -0
- package/dist/commonjs/components/TextInput/index.js.map +1 -0
- package/dist/commonjs/components/Toolbar/Toolbar.js +90 -0
- package/dist/commonjs/components/Toolbar/Toolbar.js.map +1 -0
- package/dist/commonjs/components/Toolbar/index.js +14 -0
- package/dist/commonjs/components/Toolbar/index.js.map +1 -0
- package/dist/commonjs/components/Typography/Anchor.js +31 -0
- package/dist/commonjs/components/Typography/Anchor.js.map +1 -0
- package/dist/commonjs/components/Typography/Text.js +40 -0
- package/dist/commonjs/components/Typography/Text.js.map +1 -0
- package/dist/commonjs/components/Typography/Text.spec.js +37 -0
- package/dist/commonjs/components/Typography/Text.spec.js.map +1 -0
- package/dist/commonjs/components/Typography/Title.js +64 -0
- package/dist/commonjs/components/Typography/Title.js.map +1 -0
- package/dist/commonjs/components/Typography/index.js +28 -0
- package/dist/commonjs/components/Typography/index.js.map +1 -0
- package/dist/commonjs/components/Window/Window.js +107 -0
- package/dist/commonjs/components/Window/Window.js.map +1 -0
- package/dist/commonjs/components/Window/index.js +14 -0
- package/dist/commonjs/components/Window/index.js.map +1 -0
- package/dist/commonjs/core/Provider.js +59 -0
- package/dist/commonjs/core/Provider.js.map +1 -0
- package/dist/commonjs/core/theming.js +18 -0
- package/dist/commonjs/core/theming.js.map +1 -0
- package/dist/commonjs/hooks/useAsyncReference.js +19 -0
- package/dist/commonjs/hooks/useAsyncReference.js.map +1 -0
- package/dist/commonjs/hooks/useControlledOrUncontrolled.js +24 -0
- package/dist/commonjs/hooks/useControlledOrUncontrolled.js.map +1 -0
- package/dist/commonjs/index.js +328 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/package.json +1 -0
- package/dist/commonjs/styles/shadow.js +40 -0
- package/dist/commonjs/styles/shadow.js.map +1 -0
- package/dist/commonjs/styles/styleElements.js +80 -0
- package/dist/commonjs/styles/styleElements.js.map +1 -0
- package/dist/commonjs/styles/styles.js +134 -0
- package/dist/commonjs/styles/styles.js.map +1 -0
- package/dist/commonjs/styles/themes/aiee.js +42 -0
- package/dist/commonjs/styles/themes/aiee.js.map +1 -0
- package/dist/commonjs/styles/themes/ash.js +42 -0
- package/dist/commonjs/styles/themes/ash.js.map +1 -0
- package/dist/commonjs/styles/themes/azureOrange.js +39 -0
- package/dist/commonjs/styles/themes/azureOrange.js.map +1 -0
- package/dist/commonjs/styles/themes/bee.js +39 -0
- package/dist/commonjs/styles/themes/bee.js.map +1 -0
- package/dist/commonjs/styles/themes/blackAndWhite.js +39 -0
- package/dist/commonjs/styles/themes/blackAndWhite.js.map +1 -0
- package/dist/commonjs/styles/themes/blue.js +42 -0
- package/dist/commonjs/styles/themes/blue.js.map +1 -0
- package/dist/commonjs/styles/themes/brick.js +39 -0
- package/dist/commonjs/styles/themes/brick.js.map +1 -0
- package/dist/commonjs/styles/themes/candy.js +39 -0
- package/dist/commonjs/styles/themes/candy.js.map +1 -0
- package/dist/commonjs/styles/themes/cherry.js +42 -0
- package/dist/commonjs/styles/themes/cherry.js.map +1 -0
- package/dist/commonjs/styles/themes/coldGray.js +40 -0
- package/dist/commonjs/styles/themes/coldGray.js.map +1 -0
- package/dist/commonjs/styles/themes/counterStrike.js +39 -0
- package/dist/commonjs/styles/themes/counterStrike.js.map +1 -0
- package/dist/commonjs/styles/themes/darkTeal.js +42 -0
- package/dist/commonjs/styles/themes/darkTeal.js.map +1 -0
- package/dist/commonjs/styles/themes/eggplant.js +39 -0
- package/dist/commonjs/styles/themes/eggplant.js.map +1 -0
- package/dist/commonjs/styles/themes/fxDev.js +42 -0
- package/dist/commonjs/styles/themes/fxDev.js.map +1 -0
- package/dist/commonjs/styles/themes/highContrast.js +39 -0
- package/dist/commonjs/styles/themes/highContrast.js.map +1 -0
- package/dist/commonjs/styles/themes/hotChocolate.js +42 -0
- package/dist/commonjs/styles/themes/hotChocolate.js.map +1 -0
- package/dist/commonjs/styles/themes/index.js +110 -0
- package/dist/commonjs/styles/themes/index.js.map +1 -0
- package/dist/commonjs/styles/themes/lilac.js +39 -0
- package/dist/commonjs/styles/themes/lilac.js.map +1 -0
- package/dist/commonjs/styles/themes/lilacRoseDark.js +40 -0
- package/dist/commonjs/styles/themes/lilacRoseDark.js.map +1 -0
- package/dist/commonjs/styles/themes/maple.js +39 -0
- package/dist/commonjs/styles/themes/maple.js.map +1 -0
- package/dist/commonjs/styles/themes/marine.js +39 -0
- package/dist/commonjs/styles/themes/marine.js.map +1 -0
- package/dist/commonjs/styles/themes/matrix.js +39 -0
- package/dist/commonjs/styles/themes/matrix.js.map +1 -0
- package/dist/commonjs/styles/themes/millenium.js +39 -0
- package/dist/commonjs/styles/themes/millenium.js.map +1 -0
- package/dist/commonjs/styles/themes/modernDark.js +39 -0
- package/dist/commonjs/styles/themes/modernDark.js.map +1 -0
- package/dist/commonjs/styles/themes/molecule.js +39 -0
- package/dist/commonjs/styles/themes/molecule.js.map +1 -0
- package/dist/commonjs/styles/themes/monochrome.js +2 -0
- package/dist/commonjs/styles/themes/monochrome.js.map +1 -0
- package/dist/commonjs/styles/themes/ninjaTurtles.js +39 -0
- package/dist/commonjs/styles/themes/ninjaTurtles.js.map +1 -0
- package/dist/commonjs/styles/themes/olive.js +39 -0
- package/dist/commonjs/styles/themes/olive.js.map +1 -0
- package/dist/commonjs/styles/themes/original.js +39 -0
- package/dist/commonjs/styles/themes/original.js.map +1 -0
- package/dist/commonjs/styles/themes/pamelaAnderson.js +39 -0
- package/dist/commonjs/styles/themes/pamelaAnderson.js.map +1 -0
- package/dist/commonjs/styles/themes/plum.js +39 -0
- package/dist/commonjs/styles/themes/plum.js.map +1 -0
- package/dist/commonjs/styles/themes/polarized.js +42 -0
- package/dist/commonjs/styles/themes/polarized.js.map +1 -0
- package/dist/commonjs/styles/themes/powerShell.js +42 -0
- package/dist/commonjs/styles/themes/powerShell.js.map +1 -0
- package/dist/commonjs/styles/themes/rainyDay.js +39 -0
- package/dist/commonjs/styles/themes/rainyDay.js.map +1 -0
- package/dist/commonjs/styles/themes/raspberry.js +42 -0
- package/dist/commonjs/styles/themes/raspberry.js.map +1 -0
- package/dist/commonjs/styles/themes/redWine.js +42 -0
- package/dist/commonjs/styles/themes/redWine.js.map +1 -0
- package/dist/commonjs/styles/themes/rose.js +39 -0
- package/dist/commonjs/styles/themes/rose.js.map +1 -0
- package/dist/commonjs/styles/themes/seawater.js +42 -0
- package/dist/commonjs/styles/themes/seawater.js.map +1 -0
- package/dist/commonjs/styles/themes/slate.js +39 -0
- package/dist/commonjs/styles/themes/slate.js.map +1 -0
- package/dist/commonjs/styles/themes/solarizedDark.js +42 -0
- package/dist/commonjs/styles/themes/solarizedDark.js.map +1 -0
- package/dist/commonjs/styles/themes/solarizedLight.js +42 -0
- package/dist/commonjs/styles/themes/solarizedLight.js.map +1 -0
- package/dist/commonjs/styles/themes/spruce.js +39 -0
- package/dist/commonjs/styles/themes/spruce.js.map +1 -0
- package/dist/commonjs/styles/themes/stormClouds.js +42 -0
- package/dist/commonjs/styles/themes/stormClouds.js.map +1 -0
- package/dist/commonjs/styles/themes/theSixtiesUSA.js +39 -0
- package/dist/commonjs/styles/themes/theSixtiesUSA.js.map +1 -0
- package/dist/commonjs/styles/themes/tokyoDark.js +39 -0
- package/dist/commonjs/styles/themes/tokyoDark.js.map +1 -0
- package/dist/commonjs/styles/themes/tooSexy.js +39 -0
- package/dist/commonjs/styles/themes/tooSexy.js.map +1 -0
- package/dist/commonjs/styles/themes/travel.js +39 -0
- package/dist/commonjs/styles/themes/travel.js.map +1 -0
- package/dist/commonjs/styles/themes/vaporTeal.js +39 -0
- package/dist/commonjs/styles/themes/vaporTeal.js.map +1 -0
- package/dist/commonjs/styles/themes/vermillion.js +39 -0
- package/dist/commonjs/styles/themes/vermillion.js.map +1 -0
- package/dist/commonjs/styles/themes/violetDark.js +39 -0
- package/dist/commonjs/styles/themes/violetDark.js.map +1 -0
- package/dist/commonjs/styles/themes/water.js +39 -0
- package/dist/commonjs/styles/themes/water.js.map +1 -0
- package/dist/commonjs/styles/themes/wmii.js +42 -0
- package/dist/commonjs/styles/themes/wmii.js.map +1 -0
- package/dist/commonjs/types.js +6 -0
- package/dist/commonjs/types.js.map +1 -0
- package/dist/commonjs/utils/index.js +54 -0
- package/dist/commonjs/utils/index.js.map +1 -0
- package/dist/module/assets/fonts/src/ms-sans-serif/MS Sans Serif.ttf +0 -0
- package/dist/module/assets/fonts/src/ms-sans-serif/license.txt +4 -0
- package/dist/module/assets/fonts/src/ms-sans-serif/readme.txt +26 -0
- package/dist/module/assets/fonts/src/ms-sans-serif-bold/MS Sans Serif Bold.ttf +0 -0
- package/dist/module/assets/fonts/src/ms-sans-serif-bold/license.txt +4 -0
- package/dist/module/assets/fonts/src/ms-sans-serif-bold/readme.txt +26 -0
- package/dist/module/components/AppBar/AppBar.js +35 -0
- package/dist/module/components/AppBar/AppBar.js.map +1 -0
- package/dist/module/components/AppBar/AppBar.spec.js +153 -0
- package/dist/module/components/AppBar/AppBar.spec.js.map +1 -0
- package/dist/module/components/AppBar/AppBarBackAction.js +25 -0
- package/dist/module/components/AppBar/AppBarBackAction.js.map +1 -0
- package/dist/module/components/AppBar/AppBarContent.js +60 -0
- package/dist/module/components/AppBar/AppBarContent.js.map +1 -0
- package/dist/module/components/AppBar/index.js +4 -0
- package/dist/module/components/AppBar/index.js.map +1 -0
- package/dist/module/components/Button/Button.js +170 -0
- package/dist/module/components/Button/Button.js.map +1 -0
- package/dist/module/components/Button/Button.spec.js +69 -0
- package/dist/module/components/Button/Button.spec.js.map +1 -0
- package/dist/module/components/Button/index.js +4 -0
- package/dist/module/components/Button/index.js.map +1 -0
- package/dist/module/components/Card/Card.js +64 -0
- package/dist/module/components/Card/Card.js.map +1 -0
- package/dist/module/components/Card/Card.spec.js +62 -0
- package/dist/module/components/Card/Card.spec.js.map +1 -0
- package/dist/module/components/Card/CardContent.js +23 -0
- package/dist/module/components/Card/CardContent.js.map +1 -0
- package/dist/module/components/Card/index.js +4 -0
- package/dist/module/components/Card/index.js.map +1 -0
- package/dist/module/components/Checkbox/Checkbox.js +14 -0
- package/dist/module/components/Checkbox/Checkbox.js.map +1 -0
- package/dist/module/components/Checkbox/index.js +4 -0
- package/dist/module/components/Checkbox/index.js.map +1 -0
- package/dist/module/components/ColorButton/ColorButton.js +62 -0
- package/dist/module/components/ColorButton/ColorButton.js.map +1 -0
- package/dist/module/components/ColorButton/index.js +4 -0
- package/dist/module/components/ColorButton/index.js.map +1 -0
- package/dist/module/components/ColorPicker/ColorPicker.js +80 -0
- package/dist/module/components/ColorPicker/ColorPicker.js.map +1 -0
- package/dist/module/components/ColorPicker/index.js +4 -0
- package/dist/module/components/ColorPicker/index.js.map +1 -0
- package/dist/module/components/Desktop/Desktop.js +144 -0
- package/dist/module/components/Desktop/Desktop.js.map +1 -0
- package/dist/module/components/Desktop/Desktop.spec.js +42 -0
- package/dist/module/components/Desktop/Desktop.spec.js.map +1 -0
- package/dist/module/components/Desktop/index.js +4 -0
- package/dist/module/components/Desktop/index.js.map +1 -0
- package/dist/module/components/Divider/Divider.js +41 -0
- package/dist/module/components/Divider/Divider.js.map +1 -0
- package/dist/module/components/Divider/Divider.spec.js +73 -0
- package/dist/module/components/Divider/Divider.spec.js.map +1 -0
- package/dist/module/components/Divider/index.js +4 -0
- package/dist/module/components/Divider/index.js.map +1 -0
- package/dist/module/components/FAB/FAB.js +205 -0
- package/dist/module/components/FAB/FAB.js.map +1 -0
- package/dist/module/components/FAB/FABGroup.js +250 -0
- package/dist/module/components/FAB/FABGroup.js.map +1 -0
- package/dist/module/components/FAB/index.js +4 -0
- package/dist/module/components/FAB/index.js.map +1 -0
- package/dist/module/components/Fieldset/Fieldset.js +79 -0
- package/dist/module/components/Fieldset/Fieldset.js.map +1 -0
- package/dist/module/components/Fieldset/Fieldset.spec.js +59 -0
- package/dist/module/components/Fieldset/Fieldset.spec.js.map +1 -0
- package/dist/module/components/Fieldset/index.js +4 -0
- package/dist/module/components/Fieldset/index.js.map +1 -0
- package/dist/module/components/Hourglass/Hourglass.js +35 -0
- package/dist/module/components/Hourglass/Hourglass.js.map +1 -0
- package/dist/module/components/Hourglass/Hourglass.spec.js +34 -0
- package/dist/module/components/Hourglass/Hourglass.spec.js.map +1 -0
- package/dist/module/components/Hourglass/base64hourglass.js +5 -0
- package/dist/module/components/Hourglass/base64hourglass.js.map +1 -0
- package/dist/module/components/Hourglass/index.js +4 -0
- package/dist/module/components/Hourglass/index.js.map +1 -0
- package/dist/module/components/Icons/ArrowIcon.js +54 -0
- package/dist/module/components/Icons/ArrowIcon.js.map +1 -0
- package/dist/module/components/Icons/CheckmarkIcon.js +38 -0
- package/dist/module/components/Icons/CheckmarkIcon.js.map +1 -0
- package/dist/module/components/Icons/ChevronIcon.js +60 -0
- package/dist/module/components/Icons/ChevronIcon.js.map +1 -0
- package/dist/module/components/Icons/CloseIcon.js +42 -0
- package/dist/module/components/Icons/CloseIcon.js.map +1 -0
- package/dist/module/components/Icons/index.js +7 -0
- package/dist/module/components/Icons/index.js.map +1 -0
- package/dist/module/components/Label/Label.js +53 -0
- package/dist/module/components/Label/Label.js.map +1 -0
- package/dist/module/components/Label/index.js +4 -0
- package/dist/module/components/Label/index.js.map +1 -0
- package/dist/module/components/List/List.js +6 -0
- package/dist/module/components/List/List.js.map +1 -0
- package/dist/module/components/List/ListAccordion.js +131 -0
- package/dist/module/components/List/ListAccordion.js.map +1 -0
- package/dist/module/components/List/ListItem.js +62 -0
- package/dist/module/components/List/ListItem.js.map +1 -0
- package/dist/module/components/List/ListSection.js +36 -0
- package/dist/module/components/List/ListSection.js.map +1 -0
- package/dist/module/components/List/index.js +5 -0
- package/dist/module/components/List/index.js.map +1 -0
- package/dist/module/components/Menu/Menu.js +81 -0
- package/dist/module/components/Menu/Menu.js.map +1 -0
- package/dist/module/components/Menu/MenuItem.js +73 -0
- package/dist/module/components/Menu/MenuItem.js.map +1 -0
- package/dist/module/components/Menu/index.js +4 -0
- package/dist/module/components/Menu/index.js.map +1 -0
- package/dist/module/components/NumberInput/NumberInput.js +118 -0
- package/dist/module/components/NumberInput/NumberInput.js.map +1 -0
- package/dist/module/components/NumberInput/NumberInput.spec.js +129 -0
- package/dist/module/components/NumberInput/NumberInput.spec.js.map +1 -0
- package/dist/module/components/NumberInput/index.js +4 -0
- package/dist/module/components/NumberInput/index.js.map +1 -0
- package/dist/module/components/Panel/Panel.js +55 -0
- package/dist/module/components/Panel/Panel.js.map +1 -0
- package/dist/module/components/Panel/Panel.spec.js +34 -0
- package/dist/module/components/Panel/Panel.spec.js.map +1 -0
- package/dist/module/components/Panel/index.js +4 -0
- package/dist/module/components/Panel/index.js.map +1 -0
- package/dist/module/components/Portal/Portal.js +43 -0
- package/dist/module/components/Portal/Portal.js.map +1 -0
- package/dist/module/components/Portal/PortalConsumer.js +32 -0
- package/dist/module/components/Portal/PortalConsumer.js.map +1 -0
- package/dist/module/components/Portal/PortalHost.js +133 -0
- package/dist/module/components/Portal/PortalHost.js.map +1 -0
- package/dist/module/components/Portal/PortalManager.js +50 -0
- package/dist/module/components/Portal/PortalManager.js.map +1 -0
- package/dist/module/components/Portal/index.js +4 -0
- package/dist/module/components/Portal/index.js.map +1 -0
- package/dist/module/components/Progress/Progress.js +89 -0
- package/dist/module/components/Progress/Progress.js.map +1 -0
- package/dist/module/components/Progress/index.js +4 -0
- package/dist/module/components/Progress/index.js.map +1 -0
- package/dist/module/components/Radio/Radio.js +14 -0
- package/dist/module/components/Radio/Radio.js.map +1 -0
- package/dist/module/components/Radio/index.js +4 -0
- package/dist/module/components/Radio/index.js.map +1 -0
- package/dist/module/components/ScrollPanel/ScrollPanel.js +73 -0
- package/dist/module/components/ScrollPanel/ScrollPanel.js.map +1 -0
- package/dist/module/components/ScrollPanel/index.js +4 -0
- package/dist/module/components/ScrollPanel/index.js.map +1 -0
- package/dist/module/components/ScrollView/ScrollView.js +205 -0
- package/dist/module/components/ScrollView/ScrollView.js.map +1 -0
- package/dist/module/components/ScrollView/index.js +4 -0
- package/dist/module/components/ScrollView/index.js.map +1 -0
- package/dist/module/components/Select/Select.js +174 -0
- package/dist/module/components/Select/Select.js.map +1 -0
- package/dist/module/components/Select/SelectBase.js +74 -0
- package/dist/module/components/Select/SelectBase.js.map +1 -0
- package/dist/module/components/Select/SelectBox.js +55 -0
- package/dist/module/components/Select/SelectBox.js.map +1 -0
- package/dist/module/components/Select/index.js +5 -0
- package/dist/module/components/Select/index.js.map +1 -0
- package/dist/module/components/Slider/Slider.js +237 -0
- package/dist/module/components/Slider/Slider.js.map +1 -0
- package/dist/module/components/Slider/index.js +4 -0
- package/dist/module/components/Slider/index.js.map +1 -0
- package/dist/module/components/Snackbar/Snackbar.js +187 -0
- package/dist/module/components/Snackbar/Snackbar.js.map +1 -0
- package/dist/module/components/Snackbar/SnackbarContent.js +23 -0
- package/dist/module/components/Snackbar/SnackbarContent.js.map +1 -0
- package/dist/module/components/Snackbar/index.js +4 -0
- package/dist/module/components/Snackbar/index.js.map +1 -0
- package/dist/module/components/SwitchBase/SwitchBase.js +150 -0
- package/dist/module/components/SwitchBase/SwitchBase.js.map +1 -0
- package/dist/module/components/SwitchBase/index.js +4 -0
- package/dist/module/components/SwitchBase/index.js.map +1 -0
- package/dist/module/components/Tabs/Tabs.js +157 -0
- package/dist/module/components/Tabs/Tabs.js.map +1 -0
- package/dist/module/components/Tabs/index.js +4 -0
- package/dist/module/components/Tabs/index.js.map +1 -0
- package/dist/module/components/TextInput/TextInput.js +61 -0
- package/dist/module/components/TextInput/TextInput.js.map +1 -0
- package/dist/module/components/TextInput/index.js +4 -0
- package/dist/module/components/TextInput/index.js.map +1 -0
- package/dist/module/components/Toolbar/Toolbar.js +85 -0
- package/dist/module/components/Toolbar/Toolbar.js.map +1 -0
- package/dist/module/components/Toolbar/index.js +4 -0
- package/dist/module/components/Toolbar/index.js.map +1 -0
- package/dist/module/components/Typography/Anchor.js +26 -0
- package/dist/module/components/Typography/Anchor.js.map +1 -0
- package/dist/module/components/Typography/Text.js +35 -0
- package/dist/module/components/Typography/Text.js.map +1 -0
- package/dist/module/components/Typography/Text.spec.js +36 -0
- package/dist/module/components/Typography/Text.spec.js.map +1 -0
- package/dist/module/components/Typography/Title.js +59 -0
- package/dist/module/components/Typography/Title.js.map +1 -0
- package/dist/module/components/Typography/index.js +6 -0
- package/dist/module/components/Typography/index.js.map +1 -0
- package/dist/module/components/Window/Window.js +102 -0
- package/dist/module/components/Window/Window.js.map +1 -0
- package/dist/module/components/Window/index.js +4 -0
- package/dist/module/components/Window/index.js.map +1 -0
- package/dist/module/core/Provider.js +51 -0
- package/dist/module/core/Provider.js.map +1 -0
- package/dist/module/core/theming.js +10 -0
- package/dist/module/core/theming.js.map +1 -0
- package/dist/module/hooks/useAsyncReference.js +15 -0
- package/dist/module/hooks/useAsyncReference.js.map +1 -0
- package/dist/module/hooks/useControlledOrUncontrolled.js +19 -0
- package/dist/module/hooks/useControlledOrUncontrolled.js.map +1 -0
- package/dist/module/index.js +38 -0
- package/dist/module/index.js.map +1 -0
- package/dist/module/styles/shadow.js +36 -0
- package/dist/module/styles/shadow.js.map +1 -0
- package/dist/module/styles/styleElements.js +75 -0
- package/dist/module/styles/styleElements.js.map +1 -0
- package/dist/module/styles/styles.js +126 -0
- package/dist/module/styles/styles.js.map +1 -0
- package/dist/module/styles/themes/aiee.js +39 -0
- package/dist/module/styles/themes/aiee.js.map +1 -0
- package/dist/module/styles/themes/ash.js +38 -0
- package/dist/module/styles/themes/ash.js.map +1 -0
- package/dist/module/styles/themes/azureOrange.js +35 -0
- package/dist/module/styles/themes/azureOrange.js.map +1 -0
- package/dist/module/styles/themes/bee.js +35 -0
- package/dist/module/styles/themes/bee.js.map +1 -0
- package/dist/module/styles/themes/blackAndWhite.js +35 -0
- package/dist/module/styles/themes/blackAndWhite.js.map +1 -0
- package/dist/module/styles/themes/blue.js +39 -0
- package/dist/module/styles/themes/blue.js.map +1 -0
- package/dist/module/styles/themes/brick.js +35 -0
- package/dist/module/styles/themes/brick.js.map +1 -0
- package/dist/module/styles/themes/candy.js +35 -0
- package/dist/module/styles/themes/candy.js.map +1 -0
- package/dist/module/styles/themes/cherry.js +39 -0
- package/dist/module/styles/themes/cherry.js.map +1 -0
- package/dist/module/styles/themes/coldGray.js +36 -0
- package/dist/module/styles/themes/coldGray.js.map +1 -0
- package/dist/module/styles/themes/counterStrike.js +35 -0
- package/dist/module/styles/themes/counterStrike.js.map +1 -0
- package/dist/module/styles/themes/darkTeal.js +39 -0
- package/dist/module/styles/themes/darkTeal.js.map +1 -0
- package/dist/module/styles/themes/eggplant.js +35 -0
- package/dist/module/styles/themes/eggplant.js.map +1 -0
- package/dist/module/styles/themes/fxDev.js +39 -0
- package/dist/module/styles/themes/fxDev.js.map +1 -0
- package/dist/module/styles/themes/highContrast.js +35 -0
- package/dist/module/styles/themes/highContrast.js.map +1 -0
- package/dist/module/styles/themes/hotChocolate.js +39 -0
- package/dist/module/styles/themes/hotChocolate.js.map +1 -0
- package/dist/module/styles/themes/index.js +105 -0
- package/dist/module/styles/themes/index.js.map +1 -0
- package/dist/module/styles/themes/lilac.js +35 -0
- package/dist/module/styles/themes/lilac.js.map +1 -0
- package/dist/module/styles/themes/lilacRoseDark.js +36 -0
- package/dist/module/styles/themes/lilacRoseDark.js.map +1 -0
- package/dist/module/styles/themes/maple.js +35 -0
- package/dist/module/styles/themes/maple.js.map +1 -0
- package/dist/module/styles/themes/marine.js +35 -0
- package/dist/module/styles/themes/marine.js.map +1 -0
- package/dist/module/styles/themes/matrix.js +35 -0
- package/dist/module/styles/themes/matrix.js.map +1 -0
- package/dist/module/styles/themes/millenium.js +35 -0
- package/dist/module/styles/themes/millenium.js.map +1 -0
- package/dist/module/styles/themes/modernDark.js +35 -0
- package/dist/module/styles/themes/modernDark.js.map +1 -0
- package/dist/module/styles/themes/molecule.js +35 -0
- package/dist/module/styles/themes/molecule.js.map +1 -0
- package/dist/module/styles/themes/monochrome.js +2 -0
- package/dist/module/styles/themes/monochrome.js.map +1 -0
- package/dist/module/styles/themes/ninjaTurtles.js +35 -0
- package/dist/module/styles/themes/ninjaTurtles.js.map +1 -0
- package/dist/module/styles/themes/olive.js +35 -0
- package/dist/module/styles/themes/olive.js.map +1 -0
- package/dist/module/styles/themes/original.js +35 -0
- package/dist/module/styles/themes/original.js.map +1 -0
- package/dist/module/styles/themes/pamelaAnderson.js +35 -0
- package/dist/module/styles/themes/pamelaAnderson.js.map +1 -0
- package/dist/module/styles/themes/plum.js +35 -0
- package/dist/module/styles/themes/plum.js.map +1 -0
- package/dist/module/styles/themes/polarized.js +39 -0
- package/dist/module/styles/themes/polarized.js.map +1 -0
- package/dist/module/styles/themes/powerShell.js +39 -0
- package/dist/module/styles/themes/powerShell.js.map +1 -0
- package/dist/module/styles/themes/rainyDay.js +35 -0
- package/dist/module/styles/themes/rainyDay.js.map +1 -0
- package/dist/module/styles/themes/raspberry.js +39 -0
- package/dist/module/styles/themes/raspberry.js.map +1 -0
- package/dist/module/styles/themes/redWine.js +39 -0
- package/dist/module/styles/themes/redWine.js.map +1 -0
- package/dist/module/styles/themes/rose.js +35 -0
- package/dist/module/styles/themes/rose.js.map +1 -0
- package/dist/module/styles/themes/seawater.js +39 -0
- package/dist/module/styles/themes/seawater.js.map +1 -0
- package/dist/module/styles/themes/slate.js +35 -0
- package/dist/module/styles/themes/slate.js.map +1 -0
- package/dist/module/styles/themes/solarizedDark.js +39 -0
- package/dist/module/styles/themes/solarizedDark.js.map +1 -0
- package/dist/module/styles/themes/solarizedLight.js +39 -0
- package/dist/module/styles/themes/solarizedLight.js.map +1 -0
- package/dist/module/styles/themes/spruce.js +35 -0
- package/dist/module/styles/themes/spruce.js.map +1 -0
- package/dist/module/styles/themes/stormClouds.js +39 -0
- package/dist/module/styles/themes/stormClouds.js.map +1 -0
- package/dist/module/styles/themes/theSixtiesUSA.js +35 -0
- package/dist/module/styles/themes/theSixtiesUSA.js.map +1 -0
- package/dist/module/styles/themes/tokyoDark.js +35 -0
- package/dist/module/styles/themes/tokyoDark.js.map +1 -0
- package/dist/module/styles/themes/tooSexy.js +35 -0
- package/dist/module/styles/themes/tooSexy.js.map +1 -0
- package/dist/module/styles/themes/travel.js +35 -0
- package/dist/module/styles/themes/travel.js.map +1 -0
- package/dist/module/styles/themes/vaporTeal.js +35 -0
- package/dist/module/styles/themes/vaporTeal.js.map +1 -0
- package/dist/module/styles/themes/vermillion.js +35 -0
- package/dist/module/styles/themes/vermillion.js.map +1 -0
- package/dist/module/styles/themes/violetDark.js +35 -0
- package/dist/module/styles/themes/violetDark.js.map +1 -0
- package/dist/module/styles/themes/water.js +35 -0
- package/dist/module/styles/themes/water.js.map +1 -0
- package/dist/module/styles/themes/wmii.js +39 -0
- package/dist/module/styles/themes/wmii.js.map +1 -0
- package/dist/module/types.js +4 -0
- package/dist/module/types.js.map +1 -0
- package/dist/module/utils/index.js +47 -0
- package/dist/module/utils/index.js.map +1 -0
- package/dist/typescript/jest.setup.d.ts +2 -0
- package/dist/typescript/jest.setup.d.ts.map +1 -0
- package/dist/typescript/src/components/AppBar/AppBar.d.ts +152 -0
- package/dist/typescript/src/components/AppBar/AppBar.d.ts.map +1 -0
- package/dist/typescript/src/components/AppBar/AppBar.spec.d.ts +2 -0
- package/dist/typescript/src/components/AppBar/AppBar.spec.d.ts.map +1 -0
- package/dist/typescript/src/components/AppBar/AppBarBackAction.d.ts +7 -0
- package/dist/typescript/src/components/AppBar/AppBarBackAction.d.ts.map +1 -0
- package/dist/typescript/src/components/AppBar/AppBarContent.d.ts +21 -0
- package/dist/typescript/src/components/AppBar/AppBarContent.d.ts.map +1 -0
- package/dist/typescript/src/components/AppBar/index.d.ts +2 -0
- package/dist/typescript/src/components/AppBar/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Button/Button.d.ts +24 -0
- package/dist/typescript/src/components/Button/Button.d.ts.map +1 -0
- package/dist/typescript/src/components/Button/Button.spec.d.ts +2 -0
- package/dist/typescript/src/components/Button/Button.spec.d.ts.map +1 -0
- package/dist/typescript/src/components/Button/index.d.ts +2 -0
- package/dist/typescript/src/components/Button/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Card/Card.d.ts +20 -0
- package/dist/typescript/src/components/Card/Card.d.ts.map +1 -0
- package/dist/typescript/src/components/Card/Card.spec.d.ts +2 -0
- package/dist/typescript/src/components/Card/Card.spec.d.ts.map +1 -0
- package/dist/typescript/src/components/Card/CardContent.d.ts +9 -0
- package/dist/typescript/src/components/Card/CardContent.d.ts.map +1 -0
- package/dist/typescript/src/components/Card/index.d.ts +2 -0
- package/dist/typescript/src/components/Card/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Checkbox/Checkbox.d.ts +7 -0
- package/dist/typescript/src/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/typescript/src/components/Checkbox/index.d.ts +2 -0
- package/dist/typescript/src/components/Checkbox/index.d.ts.map +1 -0
- package/dist/typescript/src/components/ColorButton/ColorButton.d.ts +12 -0
- package/dist/typescript/src/components/ColorButton/ColorButton.d.ts.map +1 -0
- package/dist/typescript/src/components/ColorButton/index.d.ts +2 -0
- package/dist/typescript/src/components/ColorButton/index.d.ts.map +1 -0
- package/dist/typescript/src/components/ColorPicker/ColorPicker.d.ts +17 -0
- package/dist/typescript/src/components/ColorPicker/ColorPicker.d.ts.map +1 -0
- package/dist/typescript/src/components/ColorPicker/index.d.ts +2 -0
- package/dist/typescript/src/components/ColorPicker/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Desktop/Desktop.d.ts +14 -0
- package/dist/typescript/src/components/Desktop/Desktop.d.ts.map +1 -0
- package/dist/typescript/src/components/Desktop/Desktop.spec.d.ts +2 -0
- package/dist/typescript/src/components/Desktop/Desktop.spec.d.ts.map +1 -0
- package/dist/typescript/src/components/Desktop/index.d.ts +2 -0
- package/dist/typescript/src/components/Desktop/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Divider/Divider.d.ts +15 -0
- package/dist/typescript/src/components/Divider/Divider.d.ts.map +1 -0
- package/dist/typescript/src/components/Divider/Divider.spec.d.ts +2 -0
- package/dist/typescript/src/components/Divider/Divider.spec.d.ts.map +1 -0
- package/dist/typescript/src/components/Divider/index.d.ts +2 -0
- package/dist/typescript/src/components/Divider/index.d.ts.map +1 -0
- package/dist/typescript/src/components/FAB/FAB.d.ts +68 -0
- package/dist/typescript/src/components/FAB/FAB.d.ts.map +1 -0
- package/dist/typescript/src/components/FAB/FABGroup.d.ts +132 -0
- package/dist/typescript/src/components/FAB/FABGroup.d.ts.map +1 -0
- package/dist/typescript/src/components/FAB/index.d.ts +2 -0
- package/dist/typescript/src/components/FAB/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Fieldset/Fieldset.d.ts +18 -0
- package/dist/typescript/src/components/Fieldset/Fieldset.d.ts.map +1 -0
- package/dist/typescript/src/components/Fieldset/Fieldset.spec.d.ts +2 -0
- package/dist/typescript/src/components/Fieldset/Fieldset.spec.d.ts.map +1 -0
- package/dist/typescript/src/components/Fieldset/index.d.ts +2 -0
- package/dist/typescript/src/components/Fieldset/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Hourglass/Hourglass.d.ts +10 -0
- package/dist/typescript/src/components/Hourglass/Hourglass.d.ts.map +1 -0
- package/dist/typescript/src/components/Hourglass/Hourglass.spec.d.ts +2 -0
- package/dist/typescript/src/components/Hourglass/Hourglass.spec.d.ts.map +1 -0
- package/dist/typescript/src/components/Hourglass/base64hourglass.d.ts +3 -0
- package/dist/typescript/src/components/Hourglass/base64hourglass.d.ts.map +1 -0
- package/dist/typescript/src/components/Hourglass/index.d.ts +2 -0
- package/dist/typescript/src/components/Hourglass/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Icons/ArrowIcon.d.ts +17 -0
- package/dist/typescript/src/components/Icons/ArrowIcon.d.ts.map +1 -0
- package/dist/typescript/src/components/Icons/CheckmarkIcon.d.ts +13 -0
- package/dist/typescript/src/components/Icons/CheckmarkIcon.d.ts.map +1 -0
- package/dist/typescript/src/components/Icons/ChevronIcon.d.ts +16 -0
- package/dist/typescript/src/components/Icons/ChevronIcon.d.ts.map +1 -0
- package/dist/typescript/src/components/Icons/CloseIcon.d.ts +14 -0
- package/dist/typescript/src/components/Icons/CloseIcon.d.ts.map +1 -0
- package/dist/typescript/src/components/Icons/index.d.ts +5 -0
- package/dist/typescript/src/components/Icons/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Label/Label.d.ts +18 -0
- package/dist/typescript/src/components/Label/Label.d.ts.map +1 -0
- package/dist/typescript/src/components/Label/index.d.ts +2 -0
- package/dist/typescript/src/components/Label/index.d.ts.map +1 -0
- package/dist/typescript/src/components/List/List.d.ts +4 -0
- package/dist/typescript/src/components/List/List.d.ts.map +1 -0
- package/dist/typescript/src/components/List/ListAccordion.d.ts +27 -0
- package/dist/typescript/src/components/List/ListAccordion.d.ts.map +1 -0
- package/dist/typescript/src/components/List/ListItem.d.ts +17 -0
- package/dist/typescript/src/components/List/ListItem.d.ts.map +1 -0
- package/dist/typescript/src/components/List/ListSection.d.ts +15 -0
- package/dist/typescript/src/components/List/ListSection.d.ts.map +1 -0
- package/dist/typescript/src/components/List/index.d.ts +3 -0
- package/dist/typescript/src/components/List/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Menu/Menu.d.ts +47 -0
- package/dist/typescript/src/components/Menu/Menu.d.ts.map +1 -0
- package/dist/typescript/src/components/Menu/MenuItem.d.ts +18 -0
- package/dist/typescript/src/components/Menu/MenuItem.d.ts.map +1 -0
- package/dist/typescript/src/components/Menu/index.d.ts +2 -0
- package/dist/typescript/src/components/Menu/index.d.ts.map +1 -0
- package/dist/typescript/src/components/NumberInput/NumberInput.d.ts +21 -0
- package/dist/typescript/src/components/NumberInput/NumberInput.d.ts.map +1 -0
- package/dist/typescript/src/components/NumberInput/NumberInput.spec.d.ts +2 -0
- package/dist/typescript/src/components/NumberInput/NumberInput.spec.d.ts.map +1 -0
- package/dist/typescript/src/components/NumberInput/index.d.ts +2 -0
- package/dist/typescript/src/components/NumberInput/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Panel/Panel.d.ts +19 -0
- package/dist/typescript/src/components/Panel/Panel.d.ts.map +1 -0
- package/dist/typescript/src/components/Panel/Panel.spec.d.ts +2 -0
- package/dist/typescript/src/components/Panel/Panel.spec.d.ts.map +1 -0
- package/dist/typescript/src/components/Panel/index.d.ts +2 -0
- package/dist/typescript/src/components/Panel/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Portal/Portal.d.ts +21 -0
- package/dist/typescript/src/components/Portal/Portal.d.ts.map +1 -0
- package/dist/typescript/src/components/Portal/PortalConsumer.d.ts +16 -0
- package/dist/typescript/src/components/Portal/PortalConsumer.d.ts.map +1 -0
- package/dist/typescript/src/components/Portal/PortalHost.d.ts +46 -0
- package/dist/typescript/src/components/Portal/PortalHost.d.ts.map +1 -0
- package/dist/typescript/src/components/Portal/PortalManager.d.ts +19 -0
- package/dist/typescript/src/components/Portal/PortalManager.d.ts.map +1 -0
- package/dist/typescript/src/components/Portal/index.d.ts +2 -0
- package/dist/typescript/src/components/Portal/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Progress/Progress.d.ts +15 -0
- package/dist/typescript/src/components/Progress/Progress.d.ts.map +1 -0
- package/dist/typescript/src/components/Progress/index.d.ts +2 -0
- package/dist/typescript/src/components/Progress/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Radio/Radio.d.ts +10 -0
- package/dist/typescript/src/components/Radio/Radio.d.ts.map +1 -0
- package/dist/typescript/src/components/Radio/index.d.ts +2 -0
- package/dist/typescript/src/components/Radio/index.d.ts.map +1 -0
- package/dist/typescript/src/components/ScrollPanel/ScrollPanel.d.ts +13 -0
- package/dist/typescript/src/components/ScrollPanel/ScrollPanel.d.ts.map +1 -0
- package/dist/typescript/src/components/ScrollPanel/index.d.ts +2 -0
- package/dist/typescript/src/components/ScrollPanel/index.d.ts.map +1 -0
- package/dist/typescript/src/components/ScrollView/ScrollView.d.ts +17 -0
- package/dist/typescript/src/components/ScrollView/ScrollView.d.ts.map +1 -0
- package/dist/typescript/src/components/ScrollView/index.d.ts +2 -0
- package/dist/typescript/src/components/ScrollView/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Select/Select.d.ts +18 -0
- package/dist/typescript/src/components/Select/Select.d.ts.map +1 -0
- package/dist/typescript/src/components/Select/SelectBase.d.ts +15 -0
- package/dist/typescript/src/components/Select/SelectBase.d.ts.map +1 -0
- package/dist/typescript/src/components/Select/SelectBox.d.ts +16 -0
- package/dist/typescript/src/components/Select/SelectBox.d.ts.map +1 -0
- package/dist/typescript/src/components/Select/index.d.ts +3 -0
- package/dist/typescript/src/components/Select/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Slider/Slider.d.ts +24 -0
- package/dist/typescript/src/components/Slider/Slider.d.ts.map +1 -0
- package/dist/typescript/src/components/Slider/index.d.ts +2 -0
- package/dist/typescript/src/components/Slider/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Snackbar/Snackbar.d.ts +51 -0
- package/dist/typescript/src/components/Snackbar/Snackbar.d.ts.map +1 -0
- package/dist/typescript/src/components/Snackbar/SnackbarContent.d.ts +9 -0
- package/dist/typescript/src/components/Snackbar/SnackbarContent.d.ts.map +1 -0
- package/dist/typescript/src/components/Snackbar/index.d.ts +2 -0
- package/dist/typescript/src/components/Snackbar/index.d.ts.map +1 -0
- package/dist/typescript/src/components/SwitchBase/SwitchBase.d.ts +21 -0
- package/dist/typescript/src/components/SwitchBase/SwitchBase.d.ts.map +1 -0
- package/dist/typescript/src/components/SwitchBase/index.d.ts +2 -0
- package/dist/typescript/src/components/SwitchBase/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Tabs/Tabs.d.ts +38 -0
- package/dist/typescript/src/components/Tabs/Tabs.d.ts.map +1 -0
- package/dist/typescript/src/components/Tabs/index.d.ts +2 -0
- package/dist/typescript/src/components/Tabs/index.d.ts.map +1 -0
- package/dist/typescript/src/components/TextInput/TextInput.d.ts +16 -0
- package/dist/typescript/src/components/TextInput/TextInput.d.ts.map +1 -0
- package/dist/typescript/src/components/TextInput/index.d.ts +2 -0
- package/dist/typescript/src/components/TextInput/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Toolbar/Toolbar.d.ts +10 -0
- package/dist/typescript/src/components/Toolbar/Toolbar.d.ts.map +1 -0
- package/dist/typescript/src/components/Toolbar/index.d.ts +2 -0
- package/dist/typescript/src/components/Toolbar/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Typography/Anchor.d.ts +12 -0
- package/dist/typescript/src/components/Typography/Anchor.d.ts.map +1 -0
- package/dist/typescript/src/components/Typography/Text.d.ts +16 -0
- package/dist/typescript/src/components/Typography/Text.d.ts.map +1 -0
- package/dist/typescript/src/components/Typography/Text.spec.d.ts +2 -0
- package/dist/typescript/src/components/Typography/Text.spec.d.ts.map +1 -0
- package/dist/typescript/src/components/Typography/Title.d.ts +12 -0
- package/dist/typescript/src/components/Typography/Title.d.ts.map +1 -0
- package/dist/typescript/src/components/Typography/index.d.ts +4 -0
- package/dist/typescript/src/components/Typography/index.d.ts.map +1 -0
- package/dist/typescript/src/components/Window/Window.d.ts +18 -0
- package/dist/typescript/src/components/Window/Window.d.ts.map +1 -0
- package/dist/typescript/src/components/Window/index.d.ts +2 -0
- package/dist/typescript/src/components/Window/index.d.ts.map +1 -0
- package/dist/typescript/src/core/Provider.d.ts +9 -0
- package/dist/typescript/src/core/Provider.d.ts.map +1 -0
- package/dist/typescript/src/core/theming.d.ts +10 -0
- package/dist/typescript/src/core/theming.d.ts.map +1 -0
- package/dist/typescript/src/hooks/useAsyncReference.d.ts +8 -0
- package/dist/typescript/src/hooks/useAsyncReference.d.ts.map +1 -0
- package/dist/typescript/src/hooks/useControlledOrUncontrolled.d.ts +8 -0
- package/dist/typescript/src/hooks/useControlledOrUncontrolled.d.ts.map +1 -0
- package/dist/typescript/src/index.d.ts +36 -0
- package/dist/typescript/src/index.d.ts.map +1 -0
- package/dist/typescript/src/styles/shadow.d.ts +15 -0
- package/dist/typescript/src/styles/shadow.d.ts.map +1 -0
- package/dist/typescript/src/styles/styleElements.d.ts +17 -0
- package/dist/typescript/src/styles/styleElements.d.ts.map +1 -0
- package/dist/typescript/src/styles/styles.d.ts +117 -0
- package/dist/typescript/src/styles/styles.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/aiee.d.ts +34 -0
- package/dist/typescript/src/styles/themes/aiee.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/ash.d.ts +34 -0
- package/dist/typescript/src/styles/themes/ash.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/azureOrange.d.ts +34 -0
- package/dist/typescript/src/styles/themes/azureOrange.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/bee.d.ts +34 -0
- package/dist/typescript/src/styles/themes/bee.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/blackAndWhite.d.ts +34 -0
- package/dist/typescript/src/styles/themes/blackAndWhite.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/blue.d.ts +34 -0
- package/dist/typescript/src/styles/themes/blue.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/brick.d.ts +34 -0
- package/dist/typescript/src/styles/themes/brick.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/candy.d.ts +34 -0
- package/dist/typescript/src/styles/themes/candy.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/cherry.d.ts +34 -0
- package/dist/typescript/src/styles/themes/cherry.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/coldGray.d.ts +35 -0
- package/dist/typescript/src/styles/themes/coldGray.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/counterStrike.d.ts +34 -0
- package/dist/typescript/src/styles/themes/counterStrike.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/darkTeal.d.ts +34 -0
- package/dist/typescript/src/styles/themes/darkTeal.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/eggplant.d.ts +34 -0
- package/dist/typescript/src/styles/themes/eggplant.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/fxDev.d.ts +34 -0
- package/dist/typescript/src/styles/themes/fxDev.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/highContrast.d.ts +34 -0
- package/dist/typescript/src/styles/themes/highContrast.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/hotChocolate.d.ts +34 -0
- package/dist/typescript/src/styles/themes/hotChocolate.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/index.d.ts +1606 -0
- package/dist/typescript/src/styles/themes/index.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/lilac.d.ts +34 -0
- package/dist/typescript/src/styles/themes/lilac.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/lilacRoseDark.d.ts +35 -0
- package/dist/typescript/src/styles/themes/lilacRoseDark.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/maple.d.ts +34 -0
- package/dist/typescript/src/styles/themes/maple.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/marine.d.ts +34 -0
- package/dist/typescript/src/styles/themes/marine.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/matrix.d.ts +34 -0
- package/dist/typescript/src/styles/themes/matrix.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/millenium.d.ts +34 -0
- package/dist/typescript/src/styles/themes/millenium.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/modernDark.d.ts +34 -0
- package/dist/typescript/src/styles/themes/modernDark.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/molecule.d.ts +34 -0
- package/dist/typescript/src/styles/themes/molecule.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/monochrome.d.ts +1 -0
- package/dist/typescript/src/styles/themes/monochrome.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/ninjaTurtles.d.ts +34 -0
- package/dist/typescript/src/styles/themes/ninjaTurtles.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/olive.d.ts +34 -0
- package/dist/typescript/src/styles/themes/olive.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/original.d.ts +34 -0
- package/dist/typescript/src/styles/themes/original.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/pamelaAnderson.d.ts +34 -0
- package/dist/typescript/src/styles/themes/pamelaAnderson.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/plum.d.ts +34 -0
- package/dist/typescript/src/styles/themes/plum.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/polarized.d.ts +34 -0
- package/dist/typescript/src/styles/themes/polarized.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/powerShell.d.ts +34 -0
- package/dist/typescript/src/styles/themes/powerShell.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/rainyDay.d.ts +34 -0
- package/dist/typescript/src/styles/themes/rainyDay.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/raspberry.d.ts +34 -0
- package/dist/typescript/src/styles/themes/raspberry.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/redWine.d.ts +34 -0
- package/dist/typescript/src/styles/themes/redWine.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/rose.d.ts +34 -0
- package/dist/typescript/src/styles/themes/rose.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/seawater.d.ts +34 -0
- package/dist/typescript/src/styles/themes/seawater.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/slate.d.ts +34 -0
- package/dist/typescript/src/styles/themes/slate.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/solarizedDark.d.ts +34 -0
- package/dist/typescript/src/styles/themes/solarizedDark.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/solarizedLight.d.ts +34 -0
- package/dist/typescript/src/styles/themes/solarizedLight.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/spruce.d.ts +34 -0
- package/dist/typescript/src/styles/themes/spruce.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/stormClouds.d.ts +34 -0
- package/dist/typescript/src/styles/themes/stormClouds.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/theSixtiesUSA.d.ts +34 -0
- package/dist/typescript/src/styles/themes/theSixtiesUSA.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/tokyoDark.d.ts +34 -0
- package/dist/typescript/src/styles/themes/tokyoDark.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/tooSexy.d.ts +34 -0
- package/dist/typescript/src/styles/themes/tooSexy.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/travel.d.ts +34 -0
- package/dist/typescript/src/styles/themes/travel.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/vaporTeal.d.ts +34 -0
- package/dist/typescript/src/styles/themes/vaporTeal.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/vermillion.d.ts +34 -0
- package/dist/typescript/src/styles/themes/vermillion.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/violetDark.d.ts +34 -0
- package/dist/typescript/src/styles/themes/violetDark.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/water.d.ts +34 -0
- package/dist/typescript/src/styles/themes/water.d.ts.map +1 -0
- package/dist/typescript/src/styles/themes/wmii.d.ts +34 -0
- package/dist/typescript/src/styles/themes/wmii.d.ts.map +1 -0
- package/dist/typescript/src/types.d.ts +42 -0
- package/dist/typescript/src/types.d.ts.map +1 -0
- package/dist/typescript/src/utils/index.d.ts +7 -0
- package/dist/typescript/src/utils/index.d.ts.map +1 -0
- package/package.json +18 -65
- package/src/components/AppBar/AppBarContent.tsx +1 -1
- package/src/components/Button/Button.tsx +0 -2
- package/src/components/Divider/Divider.tsx +1 -0
- package/src/components/FAB/FAB.tsx +0 -2
- package/src/components/FAB/FABGroup.tsx +0 -6
- package/src/components/Hourglass/Hourglass.tsx +1 -0
- package/src/components/NumberInput/NumberInput.tsx +1 -0
- package/src/components/Select/SelectBase.tsx +1 -1
- package/src/components/SwitchBase/SwitchBase.tsx +2 -4
- package/src/components/Tabs/Tabs.tsx +1 -2
- package/src/hooks/useControlledOrUncontrolled.ts +1 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { StyleSheet, View } from 'react-native';
|
|
5
|
+
import { withTheme } from '../../core/theming';
|
|
6
|
+
import CardContent from './CardContent';
|
|
7
|
+
|
|
8
|
+
// TODO: add following props:
|
|
9
|
+
// onLongPress,
|
|
10
|
+
// onPress,
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
+
const Card = ({
|
|
13
|
+
children,
|
|
14
|
+
elevation: elevationProp = 1,
|
|
15
|
+
style = {},
|
|
16
|
+
theme,
|
|
17
|
+
...rest
|
|
18
|
+
}) => {
|
|
19
|
+
const elevation = elevationProp * 2;
|
|
20
|
+
return /*#__PURE__*/_jsx(View, {
|
|
21
|
+
style: [styles.wrapper, style],
|
|
22
|
+
...rest,
|
|
23
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
24
|
+
style: [styles.inner, {
|
|
25
|
+
marginRight: elevation,
|
|
26
|
+
marginBottom: elevation
|
|
27
|
+
}],
|
|
28
|
+
children: [elevation !== 0 && /*#__PURE__*/_jsx(View, {
|
|
29
|
+
style: [styles.shadow, {
|
|
30
|
+
top: elevation,
|
|
31
|
+
left: elevation,
|
|
32
|
+
width: '100%',
|
|
33
|
+
height: '100%',
|
|
34
|
+
backgroundColor: theme.borderDarkest
|
|
35
|
+
}]
|
|
36
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
37
|
+
style: [styles.card, {
|
|
38
|
+
backgroundColor: theme.canvas,
|
|
39
|
+
borderColor: theme.borderDarkest
|
|
40
|
+
}],
|
|
41
|
+
children: children
|
|
42
|
+
})]
|
|
43
|
+
})
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
const styles = StyleSheet.create({
|
|
47
|
+
wrapper: {
|
|
48
|
+
flex: 1,
|
|
49
|
+
position: 'relative'
|
|
50
|
+
},
|
|
51
|
+
inner: {
|
|
52
|
+
flexGrow: 1
|
|
53
|
+
},
|
|
54
|
+
card: {
|
|
55
|
+
borderWidth: 2,
|
|
56
|
+
flexGrow: 1
|
|
57
|
+
},
|
|
58
|
+
shadow: {
|
|
59
|
+
position: 'absolute'
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
Card.Content = CardContent;
|
|
63
|
+
export default withTheme(Card);
|
|
64
|
+
//# sourceMappingURL=Card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","withTheme","CardContent","jsx","_jsx","jsxs","_jsxs","Card","children","elevation","elevationProp","style","theme","rest","styles","wrapper","inner","marginRight","marginBottom","shadow","top","left","width","height","backgroundColor","borderDarkest","card","canvas","borderColor","create","flex","position","flexGrow","borderWidth","Content"],"sourceRoot":"../../../../src","sources":["components/Card/Card.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAoBC,UAAU,EAAaC,IAAI,QAAQ,cAAc;AAGrE,SAASC,SAAS,QAAQ,oBAAoB;AAE9C,OAAOC,WAAW,MAAM,eAAe;;AAEvC;AACA;AACA;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AASA,MAAMC,IAAI,GAAGA,CAAC;EACZC,QAAQ;EACRC,SAAS,EAAEC,aAAa,GAAG,CAAC;EAC5BC,KAAK,GAAG,CAAC,CAAC;EACVC,KAAK;EACL,GAAGC;AACE,CAAC,KAAK;EACX,MAAMJ,SAAS,GAAGC,aAAa,GAAG,CAAC;EACnC,oBACEN,IAAA,CAACJ,IAAI;IAACW,KAAK,EAAE,CAACG,MAAM,CAACC,OAAO,EAAEJ,KAAK,CAAE;IAAA,GAAKE,IAAI;IAAAL,QAAA,eAC5CF,KAAA,CAACN,IAAI;MACHW,KAAK,EAAE,CACLG,MAAM,CAACE,KAAK,EACZ;QACEC,WAAW,EAAER,SAAS;QACtBS,YAAY,EAAET;MAChB,CAAC,CACD;MAAAD,QAAA,GAEDC,SAAS,KAAK,CAAC,iBACdL,IAAA,CAACJ,IAAI;QACHW,KAAK,EAAE,CACLG,MAAM,CAACK,MAAM,EACb;UACEC,GAAG,EAAEX,SAAS;UACdY,IAAI,EAAEZ,SAAS;UACfa,KAAK,EAAE,MAAM;UACbC,MAAM,EAAE,MAAM;UACdC,eAAe,EAAEZ,KAAK,CAACa;QACzB,CAAC;MACD,CACH,CACF,eACDrB,IAAA,CAACJ,IAAI;QACHW,KAAK,EAAE,CACLG,MAAM,CAACY,IAAI,EACX;UACEF,eAAe,EAAEZ,KAAK,CAACe,MAAM;UAC7BC,WAAW,EAAEhB,KAAK,CAACa;QACrB,CAAC,CACD;QAAAjB,QAAA,EAEDA;MAAQ,CACL,CAAC;IAAA,CACH;EAAC,CACH,CAAC;AAEX,CAAC;AAED,MAAMM,MAAM,GAAGf,UAAU,CAAC8B,MAAM,CAAC;EAC/Bd,OAAO,EAAE;IACPe,IAAI,EAAE,CAAC;IACPC,QAAQ,EAAE;EACZ,CAAC;EACDf,KAAK,EAAE;IACLgB,QAAQ,EAAE;EACZ,CAAC;EACDN,IAAI,EAAE;IACJO,WAAW,EAAE,CAAC;IACdD,QAAQ,EAAE;EACZ,CAAC;EACDb,MAAM,EAAE;IACNY,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC;AAEFxB,IAAI,CAAC2B,OAAO,GAAGhC,WAAW;AAE1B,eAAeD,SAAS,CAACM,IAAI,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { render } from '@testing-library/react-native';
|
|
5
|
+
import { Card, Text } from '../..';
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
describe('<Card />', () => {
|
|
8
|
+
it('should render children', () => {
|
|
9
|
+
const {
|
|
10
|
+
getByText
|
|
11
|
+
} = render(/*#__PURE__*/_jsx(Card, {
|
|
12
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
13
|
+
children: "Banana dance"
|
|
14
|
+
})
|
|
15
|
+
}));
|
|
16
|
+
expect(getByText('Banana dance')).toBeTruthy();
|
|
17
|
+
});
|
|
18
|
+
it('should render custom styles', () => {
|
|
19
|
+
const style = {
|
|
20
|
+
backgroundColor: 'teal'
|
|
21
|
+
};
|
|
22
|
+
const {
|
|
23
|
+
getByTestId
|
|
24
|
+
} = render(/*#__PURE__*/_jsx(Card, {
|
|
25
|
+
style: style,
|
|
26
|
+
testID: "card",
|
|
27
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
28
|
+
children: "Card"
|
|
29
|
+
})
|
|
30
|
+
}));
|
|
31
|
+
expect(getByTestId('card')).toHaveStyle(style);
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
describe('<Card.Content />', () => {
|
|
35
|
+
it('should render children', () => {
|
|
36
|
+
const {
|
|
37
|
+
getByText
|
|
38
|
+
} = render(/*#__PURE__*/_jsx(Card, {
|
|
39
|
+
children: /*#__PURE__*/_jsx(Card.Content, {
|
|
40
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
41
|
+
children: "Banana dance"
|
|
42
|
+
})
|
|
43
|
+
})
|
|
44
|
+
}));
|
|
45
|
+
expect(getByText('Banana dance')).toBeTruthy();
|
|
46
|
+
});
|
|
47
|
+
it('should render custom styles', () => {
|
|
48
|
+
const style = {
|
|
49
|
+
backgroundColor: 'teal'
|
|
50
|
+
};
|
|
51
|
+
const {
|
|
52
|
+
getByTestId
|
|
53
|
+
} = render(/*#__PURE__*/_jsx(Card, {
|
|
54
|
+
children: /*#__PURE__*/_jsx(Card.Content, {
|
|
55
|
+
style: style,
|
|
56
|
+
testID: "content"
|
|
57
|
+
})
|
|
58
|
+
}));
|
|
59
|
+
expect(getByTestId('content')).toHaveStyle(style);
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
//# sourceMappingURL=Card.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","render","Card","Text","jsx","_jsx","describe","it","getByText","children","expect","toBeTruthy","style","backgroundColor","getByTestId","testID","toHaveStyle","Content"],"sourceRoot":"../../../../src","sources":["components/Card/Card.spec.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,QAAQ,+BAA+B;AAEtD,SAASC,IAAI,EAAEC,IAAI,QAAQ,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEnCC,QAAQ,CAAC,UAAU,EAAE,MAAM;EACzBC,EAAE,CAAC,wBAAwB,EAAE,MAAM;IACjC,MAAM;MAAEC;IAAU,CAAC,GAAGP,MAAM,cAC1BI,IAAA,CAACH,IAAI;MAAAO,QAAA,eACHJ,IAAA,CAACF,IAAI;QAAAM,QAAA,EAAC;MAAY,CAAM;IAAC,CACrB,CACR,CAAC;IAEDC,MAAM,CAACF,SAAS,CAAC,cAAc,CAAC,CAAC,CAACG,UAAU,CAAC,CAAC;EAChD,CAAC,CAAC;EAEFJ,EAAE,CAAC,6BAA6B,EAAE,MAAM;IACtC,MAAMK,KAAK,GAAG;MAAEC,eAAe,EAAE;IAAO,CAAC;IAEzC,MAAM;MAAEC;IAAY,CAAC,GAAGb,MAAM,cAC5BI,IAAA,CAACH,IAAI;MAACU,KAAK,EAAEA,KAAM;MAACG,MAAM,EAAC,MAAM;MAAAN,QAAA,eAC/BJ,IAAA,CAACF,IAAI;QAAAM,QAAA,EAAC;MAAI,CAAM;IAAC,CACb,CACR,CAAC;IAEDC,MAAM,CAACI,WAAW,CAAC,MAAM,CAAC,CAAC,CAACE,WAAW,CAACJ,KAAK,CAAC;EAChD,CAAC,CAAC;AACJ,CAAC,CAAC;AAEFN,QAAQ,CAAC,kBAAkB,EAAE,MAAM;EACjCC,EAAE,CAAC,wBAAwB,EAAE,MAAM;IACjC,MAAM;MAAEC;IAAU,CAAC,GAAGP,MAAM,cAC1BI,IAAA,CAACH,IAAI;MAAAO,QAAA,eACHJ,IAAA,CAACH,IAAI,CAACe,OAAO;QAAAR,QAAA,eACXJ,IAAA,CAACF,IAAI;UAAAM,QAAA,EAAC;QAAY,CAAM;MAAC,CACb;IAAC,CACX,CACR,CAAC;IAEDC,MAAM,CAACF,SAAS,CAAC,cAAc,CAAC,CAAC,CAACG,UAAU,CAAC,CAAC;EAChD,CAAC,CAAC;EAEFJ,EAAE,CAAC,6BAA6B,EAAE,MAAM;IACtC,MAAMK,KAAK,GAAG;MAAEC,eAAe,EAAE;IAAO,CAAC;IAEzC,MAAM;MAAEC;IAAY,CAAC,GAAGb,MAAM,cAC5BI,IAAA,CAACH,IAAI;MAAAO,QAAA,eACHJ,IAAA,CAACH,IAAI,CAACe,OAAO;QAACL,KAAK,EAAEA,KAAM;QAACG,MAAM,EAAC;MAAS,CAAE;IAAC,CAC3C,CACR,CAAC;IAEDL,MAAM,CAACI,WAAW,CAAC,SAAS,CAAC,CAAC,CAACE,WAAW,CAACJ,KAAK,CAAC;EACnD,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { StyleSheet, View } from 'react-native';
|
|
5
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
const CardContent = ({
|
|
7
|
+
children,
|
|
8
|
+
style = {},
|
|
9
|
+
...rest
|
|
10
|
+
}) => {
|
|
11
|
+
return /*#__PURE__*/_jsx(View, {
|
|
12
|
+
style: [styles.wrapper, style],
|
|
13
|
+
...rest,
|
|
14
|
+
children: children
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
const styles = StyleSheet.create({
|
|
18
|
+
wrapper: {
|
|
19
|
+
padding: 8
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export default CardContent;
|
|
23
|
+
//# sourceMappingURL=CardContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","jsx","_jsx","CardContent","children","style","rest","styles","wrapper","create","padding"],"sourceRoot":"../../../../src","sources":["components/Card/CardContent.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAoBC,UAAU,EAAaC,IAAI,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAOtE,MAAMC,WAAW,GAAGA,CAAC;EAAEC,QAAQ;EAAEC,KAAK,GAAG,CAAC,CAAC;EAAE,GAAGC;AAAY,CAAC,KAAK;EAChE,oBACEJ,IAAA,CAACF,IAAI;IAACK,KAAK,EAAE,CAACE,MAAM,CAACC,OAAO,EAAEH,KAAK,CAAE;IAAA,GAAKC,IAAI;IAAAF,QAAA,EAC3CA;EAAQ,CACL,CAAC;AAEX,CAAC;AAED,MAAMG,MAAM,GAAGR,UAAU,CAACU,MAAM,CAAC;EAC/BD,OAAO,EAAE;IACPE,OAAO,EAAE;EACX;AACF,CAAC,CAAC;AAEF,eAAeP,WAAW","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["default"],"sourceRoot":"../../../../src","sources":["components/Card/index.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,QAAQ","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { SwitchBase } from '../SwitchBase';
|
|
5
|
+
import { withTheme } from '../../core/theming';
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
const Checkbox = props => {
|
|
8
|
+
return /*#__PURE__*/_jsx(SwitchBase, {
|
|
9
|
+
component: "checkbox",
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
export default withTheme(Checkbox);
|
|
14
|
+
//# sourceMappingURL=Checkbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","SwitchBase","withTheme","jsx","_jsx","Checkbox","props","component"],"sourceRoot":"../../../../src","sources":["components/Checkbox/Checkbox.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,QAAqB,eAAe;AAEvD,SAASC,SAAS,QAAQ,oBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE/C,MAAMC,QAAQ,GAAIC,KAAkB,IAAK;EACvC,oBAAOF,IAAA,CAACH,UAAU;IAACM,SAAS,EAAC,UAAU;IAAA,GAAKD;EAAK,CAAG,CAAC;AACvD,CAAC;AAED,eAAeJ,SAAS,CAACG,QAAQ,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["default"],"sourceRoot":"../../../../src","sources":["components/Checkbox/index.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,YAAY","ignoreList":[]}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { StyleSheet, View } from 'react-native';
|
|
5
|
+
import { withTheme } from '../../core/theming';
|
|
6
|
+
import { Button, Divider, ArrowIcon } from '../..';
|
|
7
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
|
+
const previewHeight = 20;
|
|
9
|
+
const ColorButton = ({
|
|
10
|
+
disabled,
|
|
11
|
+
color,
|
|
12
|
+
theme,
|
|
13
|
+
...rest
|
|
14
|
+
}) => {
|
|
15
|
+
return /*#__PURE__*/_jsx(Button, {
|
|
16
|
+
variant: "raised",
|
|
17
|
+
disabled: disabled,
|
|
18
|
+
...rest,
|
|
19
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
20
|
+
style: styles.row,
|
|
21
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
22
|
+
style: [styles.colorPreview, {
|
|
23
|
+
backgroundColor: color || 'transparent',
|
|
24
|
+
borderWidth: 2,
|
|
25
|
+
borderColor: disabled ? theme.materialTextDisabled : theme.materialText,
|
|
26
|
+
shadowColor: disabled ? theme.materialTextDisabledShadow : 'transparent',
|
|
27
|
+
shadowOffset: {
|
|
28
|
+
width: 1,
|
|
29
|
+
height: 1
|
|
30
|
+
},
|
|
31
|
+
shadowOpacity: 1,
|
|
32
|
+
shadowRadius: 0
|
|
33
|
+
}]
|
|
34
|
+
}), /*#__PURE__*/_jsx(Divider, {
|
|
35
|
+
orientation: "vertical",
|
|
36
|
+
size: previewHeight
|
|
37
|
+
}), /*#__PURE__*/_jsx(ArrowIcon, {
|
|
38
|
+
theme: theme,
|
|
39
|
+
direction: "down",
|
|
40
|
+
disabled: disabled,
|
|
41
|
+
segments: 3,
|
|
42
|
+
style: styles.dropdownIcon
|
|
43
|
+
})]
|
|
44
|
+
})
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
const styles = StyleSheet.create({
|
|
48
|
+
row: {
|
|
49
|
+
flexDirection: 'row'
|
|
50
|
+
},
|
|
51
|
+
colorPreview: {
|
|
52
|
+
width: 36,
|
|
53
|
+
marginRight: 6
|
|
54
|
+
},
|
|
55
|
+
dropdownIcon: {
|
|
56
|
+
alignSelf: 'center',
|
|
57
|
+
marginRight: 2,
|
|
58
|
+
marginLeft: 4
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
export default withTheme(ColorButton);
|
|
62
|
+
//# sourceMappingURL=ColorButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","withTheme","Button","Divider","ArrowIcon","jsx","_jsx","jsxs","_jsxs","previewHeight","ColorButton","disabled","color","theme","rest","variant","children","style","styles","row","colorPreview","backgroundColor","borderWidth","borderColor","materialTextDisabled","materialText","shadowColor","materialTextDisabledShadow","shadowOffset","width","height","shadowOpacity","shadowRadius","orientation","size","direction","segments","dropdownIcon","create","flexDirection","marginRight","alignSelf","marginLeft"],"sourceRoot":"../../../../src","sources":["components/ColorButton/ColorButton.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAG/C,SAASC,SAAS,QAAQ,oBAAoB;AAE9C,SAASC,MAAM,EAAEC,OAAO,EAAEC,SAAS,QAAQ,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAOnD,MAAMC,aAAa,GAAG,EAAE;AAExB,MAAMC,WAAW,GAAGA,CAAC;EAAEC,QAAQ;EAAEC,KAAK;EAAEC,KAAK;EAAE,GAAGC;AAAY,CAAC,KAAK;EAClE,oBACER,IAAA,CAACJ,MAAM;IAACa,OAAO,EAAC,QAAQ;IAACJ,QAAQ,EAAEA,QAAS;IAAA,GAAKG,IAAI;IAAAE,QAAA,eACnDR,KAAA,CAACR,IAAI;MAACiB,KAAK,EAAEC,MAAM,CAACC,GAAI;MAAAH,QAAA,gBACtBV,IAAA,CAACN,IAAI;QACHiB,KAAK,EAAE,CACLC,MAAM,CAACE,YAAY,EACnB;UACEC,eAAe,EAAET,KAAK,IAAI,aAAa;UACvCU,WAAW,EAAE,CAAC;UACdC,WAAW,EAAEZ,QAAQ,GACjBE,KAAK,CAACW,oBAAoB,GAC1BX,KAAK,CAACY,YAAY;UACtBC,WAAW,EAAEf,QAAQ,GACjBE,KAAK,CAACc,0BAA0B,GAChC,aAAa;UACjBC,YAAY,EAAE;YACZC,KAAK,EAAE,CAAC;YACRC,MAAM,EAAE;UACV,CAAC;UACDC,aAAa,EAAE,CAAC;UAChBC,YAAY,EAAE;QAChB,CAAC;MACD,CACH,CAAC,eACF1B,IAAA,CAACH,OAAO;QAAC8B,WAAW,EAAC,UAAU;QAACC,IAAI,EAAEzB;MAAc,CAAE,CAAC,eACvDH,IAAA,CAACF,SAAS;QACRS,KAAK,EAAEA,KAAM;QACbsB,SAAS,EAAC,MAAM;QAChBxB,QAAQ,EAAEA,QAAS;QACnByB,QAAQ,EAAE,CAAE;QACZnB,KAAK,EAAEC,MAAM,CAACmB;MAAa,CAC5B,CAAC;IAAA,CACE;EAAC,CACD,CAAC;AAEb,CAAC;AAED,MAAMnB,MAAM,GAAGnB,UAAU,CAACuC,MAAM,CAAC;EAC/BnB,GAAG,EAAE;IACHoB,aAAa,EAAE;EACjB,CAAC;EACDnB,YAAY,EAAE;IACZS,KAAK,EAAE,EAAE;IACTW,WAAW,EAAE;EACf,CAAC;EACDH,YAAY,EAAE;IACZI,SAAS,EAAE,QAAQ;IACnBD,WAAW,EAAE,CAAC;IACdE,UAAU,EAAE;EACd;AACF,CAAC,CAAC;AAEF,eAAezC,SAAS,CAACS,WAAW,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["default"],"sourceRoot":"../../../../src","sources":["components/ColorButton/index.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,eAAe","ignoreList":[]}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { StyleSheet, TouchableHighlight, View } from 'react-native';
|
|
5
|
+
import { withTheme } from '../../core/theming';
|
|
6
|
+
import { Border } from '../../styles/styleElements';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
const colorPreviewSize = 34;
|
|
9
|
+
|
|
10
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
11
|
+
function chunk(arr, chunkSize) {
|
|
12
|
+
const R = [];
|
|
13
|
+
for (let i = 0, len = arr.length; i < len; i += chunkSize) R.push(arr.slice(i, i + chunkSize));
|
|
14
|
+
return R;
|
|
15
|
+
}
|
|
16
|
+
const ColorPicker = ({
|
|
17
|
+
colors,
|
|
18
|
+
colorsPerRow = 5,
|
|
19
|
+
onChange,
|
|
20
|
+
style,
|
|
21
|
+
theme,
|
|
22
|
+
value,
|
|
23
|
+
wide = false,
|
|
24
|
+
...rest
|
|
25
|
+
}) => {
|
|
26
|
+
const handleColorPress = v => {
|
|
27
|
+
onChange?.(v);
|
|
28
|
+
};
|
|
29
|
+
const rows = chunk(colors, colorsPerRow);
|
|
30
|
+
return /*#__PURE__*/_jsx(View, {
|
|
31
|
+
style: style,
|
|
32
|
+
...rest,
|
|
33
|
+
children: rows.map((rowColors, i) => /*#__PURE__*/_jsx(View, {
|
|
34
|
+
style: styles.row,
|
|
35
|
+
children: rowColors.map(color => {
|
|
36
|
+
// TODO: pick more visible cborders olors for selected item
|
|
37
|
+
const isSelected = color === value;
|
|
38
|
+
return /*#__PURE__*/_jsx(TouchableHighlight, {
|
|
39
|
+
onPress: () => handleColorPress(color),
|
|
40
|
+
style: [styles.colorPreview, {
|
|
41
|
+
width: (wide ? 1.4 : 1) * colorPreviewSize,
|
|
42
|
+
height: colorPreviewSize,
|
|
43
|
+
borderWidth: 2,
|
|
44
|
+
borderColor: isSelected ? theme.materialText : 'transparent'
|
|
45
|
+
}],
|
|
46
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
47
|
+
style: {
|
|
48
|
+
flex: 1,
|
|
49
|
+
backgroundColor: color,
|
|
50
|
+
borderWidth: isSelected ? 2 : 0,
|
|
51
|
+
borderColor: theme.canvas
|
|
52
|
+
},
|
|
53
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
54
|
+
style: {
|
|
55
|
+
flex: 1,
|
|
56
|
+
borderWidth: isSelected ? 2 : 0,
|
|
57
|
+
borderColor: theme.materialText
|
|
58
|
+
},
|
|
59
|
+
children: !isSelected && /*#__PURE__*/_jsx(Border, {
|
|
60
|
+
variant: "cutout",
|
|
61
|
+
theme: theme
|
|
62
|
+
})
|
|
63
|
+
})
|
|
64
|
+
})
|
|
65
|
+
}, color);
|
|
66
|
+
})
|
|
67
|
+
}, i))
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
const styles = StyleSheet.create({
|
|
71
|
+
row: {
|
|
72
|
+
flexDirection: 'row'
|
|
73
|
+
},
|
|
74
|
+
colorPreview: {
|
|
75
|
+
width: colorPreviewSize,
|
|
76
|
+
height: colorPreviewSize
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
export default withTheme(ColorPicker);
|
|
80
|
+
//# sourceMappingURL=ColorPicker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","TouchableHighlight","View","withTheme","Border","jsx","_jsx","colorPreviewSize","chunk","arr","chunkSize","R","i","len","length","push","slice","ColorPicker","colors","colorsPerRow","onChange","style","theme","value","wide","rest","handleColorPress","v","rows","children","map","rowColors","styles","row","color","isSelected","onPress","colorPreview","width","height","borderWidth","borderColor","materialText","flex","backgroundColor","canvas","variant","create","flexDirection"],"sourceRoot":"../../../../src","sources":["components/ColorPicker/ColorPicker.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["default"],"sourceRoot":"../../../../src","sources":["components/ColorPicker/index.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,eAAe","ignoreList":[]}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { StyleSheet, View } from 'react-native';
|
|
5
|
+
import { withTheme } from '../../core/theming';
|
|
6
|
+
import { Border } from '../../styles/styleElements';
|
|
7
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
|
+
const Desktop = ({
|
|
9
|
+
children,
|
|
10
|
+
style,
|
|
11
|
+
screenStyle,
|
|
12
|
+
theme,
|
|
13
|
+
...rest
|
|
14
|
+
}) => {
|
|
15
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
16
|
+
style: [styles.wrapper, style],
|
|
17
|
+
...rest,
|
|
18
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
19
|
+
style: [styles.monitor, {
|
|
20
|
+
backgroundColor: theme.material
|
|
21
|
+
}],
|
|
22
|
+
children: [/*#__PURE__*/_jsx(Border, {
|
|
23
|
+
theme: theme,
|
|
24
|
+
variant: "raised",
|
|
25
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
26
|
+
style: [styles.monitorShadowBorder, {
|
|
27
|
+
borderColor: theme.borderDark
|
|
28
|
+
}],
|
|
29
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
30
|
+
style: [styles.monitorShadowBorder, {
|
|
31
|
+
borderColor: theme.borderDark
|
|
32
|
+
}]
|
|
33
|
+
})
|
|
34
|
+
})
|
|
35
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
36
|
+
style: [styles.screen, screenStyle],
|
|
37
|
+
testID: "desktopScreen",
|
|
38
|
+
children: [/*#__PURE__*/_jsx(Border, {
|
|
39
|
+
theme: theme,
|
|
40
|
+
variant: "cutout"
|
|
41
|
+
}), children]
|
|
42
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
43
|
+
style: [styles.light]
|
|
44
|
+
})]
|
|
45
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
46
|
+
style: [styles.stand],
|
|
47
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
48
|
+
style: [styles.standSegmentOne, {
|
|
49
|
+
borderTopColor: theme.borderDark
|
|
50
|
+
}],
|
|
51
|
+
children: /*#__PURE__*/_jsx(Border, {
|
|
52
|
+
theme: theme,
|
|
53
|
+
variant: "raised",
|
|
54
|
+
style: {
|
|
55
|
+
backgroundColor: theme.material
|
|
56
|
+
}
|
|
57
|
+
})
|
|
58
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
59
|
+
style: [styles.standSegmentTwo, {
|
|
60
|
+
backgroundColor: theme.material
|
|
61
|
+
}],
|
|
62
|
+
children: /*#__PURE__*/_jsx(Border, {
|
|
63
|
+
theme: theme,
|
|
64
|
+
variant: "default"
|
|
65
|
+
})
|
|
66
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
67
|
+
style: [styles.standSegmentThree],
|
|
68
|
+
children: /*#__PURE__*/_jsx(Border, {
|
|
69
|
+
theme: theme,
|
|
70
|
+
variant: "raised"
|
|
71
|
+
})
|
|
72
|
+
})]
|
|
73
|
+
})]
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
const styles = StyleSheet.create({
|
|
77
|
+
wrapper: {
|
|
78
|
+
position: 'relative',
|
|
79
|
+
width: 'auto',
|
|
80
|
+
alignSelf: 'center'
|
|
81
|
+
},
|
|
82
|
+
monitor: {
|
|
83
|
+
position: 'relative',
|
|
84
|
+
zIndex: 1,
|
|
85
|
+
width: 195,
|
|
86
|
+
height: 155,
|
|
87
|
+
padding: 18
|
|
88
|
+
},
|
|
89
|
+
monitorShadowBorder: {
|
|
90
|
+
position: 'absolute',
|
|
91
|
+
top: 0,
|
|
92
|
+
left: 0,
|
|
93
|
+
bottom: 0,
|
|
94
|
+
right: 0,
|
|
95
|
+
borderWidth: 1,
|
|
96
|
+
borderStyle: 'dotted'
|
|
97
|
+
// TODO: left and top dotted border shoulg be of light color
|
|
98
|
+
// borderTopColor: theme.borderLightest,
|
|
99
|
+
// borderLeftColor: theme.borderLightest,
|
|
100
|
+
// borderBottomColor: theme.borderDark,
|
|
101
|
+
// borderRightColor: theme.borderDark,
|
|
102
|
+
},
|
|
103
|
+
screen: {
|
|
104
|
+
flex: 1,
|
|
105
|
+
padding: 4
|
|
106
|
+
},
|
|
107
|
+
light: {
|
|
108
|
+
position: 'absolute',
|
|
109
|
+
right: 20,
|
|
110
|
+
top: 140,
|
|
111
|
+
width: 10,
|
|
112
|
+
borderWidth: 2,
|
|
113
|
+
borderTopColor: '#4d9046',
|
|
114
|
+
borderBottomColor: '#07ff00',
|
|
115
|
+
borderLeftColor: '#4d9046',
|
|
116
|
+
borderRightColor: '#07ff00'
|
|
117
|
+
},
|
|
118
|
+
stand: {
|
|
119
|
+
display: 'flex',
|
|
120
|
+
position: 'relative',
|
|
121
|
+
alignItems: 'center'
|
|
122
|
+
},
|
|
123
|
+
standSegmentOne: {
|
|
124
|
+
width: '50%',
|
|
125
|
+
height: 14,
|
|
126
|
+
borderWidth: 2,
|
|
127
|
+
borderColor: 'transparent',
|
|
128
|
+
zIndex: 1
|
|
129
|
+
},
|
|
130
|
+
standSegmentTwo: {
|
|
131
|
+
width: '40%',
|
|
132
|
+
height: 12,
|
|
133
|
+
position: 'relative',
|
|
134
|
+
top: -4
|
|
135
|
+
},
|
|
136
|
+
standSegmentThree: {
|
|
137
|
+
width: '75%',
|
|
138
|
+
height: 8,
|
|
139
|
+
position: 'relative',
|
|
140
|
+
top: -6
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
export default withTheme(Desktop);
|
|
144
|
+
//# sourceMappingURL=Desktop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","withTheme","Border","jsx","_jsx","jsxs","_jsxs","Desktop","children","style","screenStyle","theme","rest","styles","wrapper","monitor","backgroundColor","material","variant","monitorShadowBorder","borderColor","borderDark","screen","testID","light","stand","standSegmentOne","borderTopColor","standSegmentTwo","standSegmentThree","create","position","width","alignSelf","zIndex","height","padding","top","left","bottom","right","borderWidth","borderStyle","flex","borderBottomColor","borderLeftColor","borderRightColor","display","alignItems"],"sourceRoot":"../../../../src","sources":["components/Desktop/Desktop.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { render } from '@testing-library/react-native';
|
|
5
|
+
import { Desktop, Text } from '../..';
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
describe('<Desktop />', () => {
|
|
8
|
+
it('should render children in "screen"', () => {
|
|
9
|
+
const {
|
|
10
|
+
getByTestId
|
|
11
|
+
} = render(/*#__PURE__*/_jsx(Desktop, {
|
|
12
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
13
|
+
children: "Desktop content"
|
|
14
|
+
})
|
|
15
|
+
}));
|
|
16
|
+
expect(getByTestId('desktopScreen')).toHaveTextContent('Desktop content');
|
|
17
|
+
});
|
|
18
|
+
it('should render custom styles', () => {
|
|
19
|
+
const style = {
|
|
20
|
+
backgroundColor: 'teal'
|
|
21
|
+
};
|
|
22
|
+
const {
|
|
23
|
+
getByTestId
|
|
24
|
+
} = render(/*#__PURE__*/_jsx(Desktop, {
|
|
25
|
+
style: style,
|
|
26
|
+
testID: "card"
|
|
27
|
+
}));
|
|
28
|
+
expect(getByTestId('card')).toHaveStyle(style);
|
|
29
|
+
});
|
|
30
|
+
it('should render custom screenStyles', () => {
|
|
31
|
+
const style = {
|
|
32
|
+
backgroundColor: 'teal'
|
|
33
|
+
};
|
|
34
|
+
const {
|
|
35
|
+
getByTestId
|
|
36
|
+
} = render(/*#__PURE__*/_jsx(Desktop, {
|
|
37
|
+
screenStyle: style
|
|
38
|
+
}));
|
|
39
|
+
expect(getByTestId('desktopScreen')).toHaveStyle(style);
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
//# sourceMappingURL=Desktop.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","render","Desktop","Text","jsx","_jsx","describe","it","getByTestId","children","expect","toHaveTextContent","style","backgroundColor","testID","toHaveStyle","screenStyle"],"sourceRoot":"../../../../src","sources":["components/Desktop/Desktop.spec.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,QAAQ,+BAA+B;AAEtD,SAASC,OAAO,EAAEC,IAAI,QAAQ,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEtCC,QAAQ,CAAC,aAAa,EAAE,MAAM;EAC5BC,EAAE,CAAC,oCAAoC,EAAE,MAAM;IAC7C,MAAM;MAAEC;IAAY,CAAC,GAAGP,MAAM,cAC5BI,IAAA,CAACH,OAAO;MAAAO,QAAA,eACNJ,IAAA,CAACF,IAAI;QAAAM,QAAA,EAAC;MAAe,CAAM;IAAC,CACrB,CACX,CAAC;IAEDC,MAAM,CAACF,WAAW,CAAC,eAAe,CAAC,CAAC,CAACG,iBAAiB,CAAC,iBAAiB,CAAC;EAC3E,CAAC,CAAC;EAEFJ,EAAE,CAAC,6BAA6B,EAAE,MAAM;IACtC,MAAMK,KAAK,GAAG;MAAEC,eAAe,EAAE;IAAO,CAAC;IAEzC,MAAM;MAAEL;IAAY,CAAC,GAAGP,MAAM,cAACI,IAAA,CAACH,OAAO;MAACU,KAAK,EAAEA,KAAM;MAACE,MAAM,EAAC;IAAM,CAAE,CAAC,CAAC;IAEvEJ,MAAM,CAACF,WAAW,CAAC,MAAM,CAAC,CAAC,CAACO,WAAW,CAACH,KAAK,CAAC;EAChD,CAAC,CAAC;EAEFL,EAAE,CAAC,mCAAmC,EAAE,MAAM;IAC5C,MAAMK,KAAK,GAAG;MAAEC,eAAe,EAAE;IAAO,CAAC;IAEzC,MAAM;MAAEL;IAAY,CAAC,GAAGP,MAAM,cAACI,IAAA,CAACH,OAAO;MAACc,WAAW,EAAEJ;IAAM,CAAE,CAAC,CAAC;IAE/DF,MAAM,CAACF,WAAW,CAAC,eAAe,CAAC,CAAC,CAACO,WAAW,CAACH,KAAK,CAAC;EACzD,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["default"],"sourceRoot":"../../../../src","sources":["components/Desktop/index.tsx"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,WAAW","ignoreList":[]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { StyleSheet, View } from 'react-native';
|
|
5
|
+
import { withTheme } from '../../core/theming';
|
|
6
|
+
import { Border } from '../../styles/styleElements';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
const Divider = ({
|
|
9
|
+
orientation = 'horizontal',
|
|
10
|
+
size = '100%',
|
|
11
|
+
style = {},
|
|
12
|
+
theme,
|
|
13
|
+
variant = 'default',
|
|
14
|
+
...rest
|
|
15
|
+
}) => {
|
|
16
|
+
const isHorizontal = orientation === 'horizontal';
|
|
17
|
+
const isRaised = variant === 'raised';
|
|
18
|
+
const thickness = isRaised ? 5 : 4;
|
|
19
|
+
//@ts-ignore
|
|
20
|
+
const dynamicStyles = {
|
|
21
|
+
width: isHorizontal ? size : thickness,
|
|
22
|
+
height: isHorizontal ? thickness : size,
|
|
23
|
+
backgroundColor: theme.material
|
|
24
|
+
};
|
|
25
|
+
return /*#__PURE__*/_jsx(View, {
|
|
26
|
+
style: [styles.divider, dynamicStyles, style],
|
|
27
|
+
...rest,
|
|
28
|
+
children: /*#__PURE__*/_jsx(Border, {
|
|
29
|
+
variant: "well",
|
|
30
|
+
invert: isRaised,
|
|
31
|
+
theme: theme
|
|
32
|
+
})
|
|
33
|
+
});
|
|
34
|
+
};
|
|
35
|
+
const styles = StyleSheet.create({
|
|
36
|
+
divider: {
|
|
37
|
+
position: 'relative'
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
export default withTheme(Divider);
|
|
41
|
+
//# sourceMappingURL=Divider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","withTheme","Border","jsx","_jsx","Divider","orientation","size","style","theme","variant","rest","isHorizontal","isRaised","thickness","dynamicStyles","width","height","backgroundColor","material","styles","divider","children","invert","create","position"],"sourceRoot":"../../../../src","sources":["components/Divider/Divider.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAoBC,UAAU,EAAEC,IAAI,QAAmB,cAAc;AAErE,SAASC,SAAS,QAAQ,oBAAoB;AAQ9C,SAASC,MAAM,QAAQ,4BAA4B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAWpD,MAAMC,OAAO,GAAGA,CAAC;EACfC,WAAW,GAAG,YAAY;EAC1BC,IAAI,GAAG,MAAM;EACbC,KAAK,GAAG,CAAC,CAAC;EACVC,KAAK;EACLC,OAAO,GAAG,SAAS;EACnB,GAAGC;AACE,CAAC,KAAK;EACX,MAAMC,YAAY,GAAGN,WAAW,KAAK,YAAY;EACjD,MAAMO,QAAQ,GAAGH,OAAO,KAAK,QAAQ;EACrC,MAAMI,SAAS,GAAGD,QAAQ,GAAG,CAAC,GAAG,CAAC;EAClC;EACA,MAAME,aAAmC,GAAG;IAC1CC,KAAK,EAAEJ,YAAY,GAAGL,IAAI,GAAGO,SAAS;IACtCG,MAAM,EAAEL,YAAY,GAAGE,SAAS,GAAGP,IAAI;IACvCW,eAAe,EAAET,KAAK,CAACU;EACzB,CAAC;EACD,oBACEf,IAAA,CAACJ,IAAI;IAACQ,KAAK,EAAE,CAACY,MAAM,CAACC,OAAO,EAAEN,aAAa,EAAEP,KAAK,CAAE;IAAA,GAAKG,IAAI;IAAAW,QAAA,eAC3DlB,IAAA,CAACF,MAAM;MAACQ,OAAO,EAAC,MAAM;MAACa,MAAM,EAAEV,QAAS;MAACJ,KAAK,EAAEA;IAAM,CAAE;EAAC,CACrD,CAAC;AAEX,CAAC;AAED,MAAMW,MAAM,GAAGrB,UAAU,CAACyB,MAAM,CAAC;EAC/BH,OAAO,EAAE;IACPI,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC;AAEF,eAAexB,SAAS,CAACI,OAAO,CAAC","ignoreList":[]}
|