react95-native-rabbl 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- 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 +81 -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 +76 -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
- package/src/styles/styleElements.tsx +1 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { render } from '@testing-library/react-native';
|
|
5
|
+
import { testId } from './Panel';
|
|
6
|
+
import { Panel, Text } from '../..';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
describe('<Panel />', () => {
|
|
9
|
+
it('should render children', () => {
|
|
10
|
+
const {
|
|
11
|
+
getByTestId
|
|
12
|
+
} = render(/*#__PURE__*/_jsx(Panel, {
|
|
13
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
14
|
+
children: "Banana dance"
|
|
15
|
+
})
|
|
16
|
+
}));
|
|
17
|
+
expect(getByTestId(testId)).toHaveTextContent('Banana dance');
|
|
18
|
+
});
|
|
19
|
+
it('should render custom styles', () => {
|
|
20
|
+
const style = {
|
|
21
|
+
backgroundColor: 'teal'
|
|
22
|
+
};
|
|
23
|
+
const {
|
|
24
|
+
getByTestId
|
|
25
|
+
} = render(/*#__PURE__*/_jsx(Panel, {
|
|
26
|
+
style: style,
|
|
27
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
28
|
+
children: "Panel"
|
|
29
|
+
})
|
|
30
|
+
}));
|
|
31
|
+
expect(getByTestId(testId)).toHaveStyle(style);
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
//# sourceMappingURL=Panel.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","render","testId","Panel","Text","jsx","_jsx","describe","it","getByTestId","children","expect","toHaveTextContent","style","backgroundColor","toHaveStyle"],"sourceRoot":"../../../../src","sources":["components/Panel/Panel.spec.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,QAAQ,+BAA+B;AAEtD,SAASC,MAAM,QAAQ,SAAS;AAChC,SAASC,KAAK,EAAEC,IAAI,QAAQ,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEpCC,QAAQ,CAAC,WAAW,EAAE,MAAM;EAC1BC,EAAE,CAAC,wBAAwB,EAAE,MAAM;IACjC,MAAM;MAAEC;IAAY,CAAC,GAAGR,MAAM,cAC5BK,IAAA,CAACH,KAAK;MAAAO,QAAA,eACJJ,IAAA,CAACF,IAAI;QAAAM,QAAA,EAAC;MAAY,CAAM;IAAC,CACpB,CACT,CAAC;IAEDC,MAAM,CAACF,WAAW,CAACP,MAAM,CAAC,CAAC,CAACU,iBAAiB,CAAC,cAAc,CAAC;EAC/D,CAAC,CAAC;EAEFJ,EAAE,CAAC,6BAA6B,EAAE,MAAM;IACtC,MAAMK,KAAK,GAAG;MAAEC,eAAe,EAAE;IAAO,CAAC;IAEzC,MAAM;MAAEL;IAAY,CAAC,GAAGR,MAAM,cAC5BK,IAAA,CAACH,KAAK;MAACU,KAAK,EAAEA,KAAM;MAAAH,QAAA,eAClBJ,IAAA,CAACF,IAAI;QAAAM,QAAA,EAAC;MAAK,CAAM;IAAC,CACb,CACT,CAAC;IAEDC,MAAM,CAACF,WAAW,CAACP,MAAM,CAAC,CAAC,CAACa,WAAW,CAACF,KAAK,CAAC;EAChD,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["default"],"sourceRoot":"../../../../src","sources":["components/Panel/index.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,SAAS","ignoreList":[]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import PortalConsumer from './PortalConsumer';
|
|
5
|
+
import PortalHost, { PortalContext } from './PortalHost';
|
|
6
|
+
import { ThemeProvider, withTheme } from '../../core/theming';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
/**
|
|
9
|
+
* Portal allows to render a component at a different place in the parent tree.
|
|
10
|
+
* You can use it to render content which should appear above other elements, similar to `Modal`.
|
|
11
|
+
* It requires a [`Portal.Host`](portal-host.html) component to be rendered somewhere in the parent tree.
|
|
12
|
+
*
|
|
13
|
+
* ## Usage
|
|
14
|
+
* ```js
|
|
15
|
+
* import * as React from 'react';
|
|
16
|
+
* import { Portal, Text } from 'react-native-paper';
|
|
17
|
+
*
|
|
18
|
+
* const MyComponent = () => (
|
|
19
|
+
* <Portal>
|
|
20
|
+
* <Text>This is rendered at a different place</Text>
|
|
21
|
+
* </Portal>
|
|
22
|
+
* );
|
|
23
|
+
*
|
|
24
|
+
* export default MyComponent;
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
const Portal = ({
|
|
28
|
+
children,
|
|
29
|
+
theme
|
|
30
|
+
}) => {
|
|
31
|
+
return /*#__PURE__*/_jsx(PortalContext.Consumer, {
|
|
32
|
+
children: manager => /*#__PURE__*/_jsx(PortalConsumer, {
|
|
33
|
+
manager: manager,
|
|
34
|
+
children: /*#__PURE__*/_jsx(ThemeProvider, {
|
|
35
|
+
theme: theme,
|
|
36
|
+
children: children
|
|
37
|
+
})
|
|
38
|
+
})
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
Portal.Host = PortalHost;
|
|
42
|
+
export default withTheme(Portal);
|
|
43
|
+
//# sourceMappingURL=Portal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","PortalConsumer","PortalHost","PortalContext","ThemeProvider","withTheme","jsx","_jsx","Portal","children","theme","Consumer","manager","Host"],"sourceRoot":"../../../../src","sources":["components/Portal/Portal.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,cAAc,MAAM,kBAAkB;AAC7C,OAAOC,UAAU,IAAIC,aAAa,QAAuB,cAAc;AAGvE,SAASC,aAAa,EAAEC,SAAS,QAAQ,oBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAa9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,MAAM,GAAGA,CAAC;EAAEC,QAAQ;EAAEC;AAAa,CAAC,KAAK;EAC7C,oBACEH,IAAA,CAACJ,aAAa,CAACQ,QAAQ;IAAAF,QAAA,EACpBG,OAAO,iBACNL,IAAA,CAACN,cAAc;MAACW,OAAO,EAAEA,OAAyB;MAAAH,QAAA,eAChDF,IAAA,CAACH,aAAa;QAACM,KAAK,EAAEA,KAAM;QAAAD,QAAA,EAAEA;MAAQ,CAAgB;IAAC,CACzC;EACjB,CACqB,CAAC;AAE7B,CAAC;AAEDD,MAAM,CAACK,IAAI,GAAGX,UAAU;AAExB,eAAeG,SAAS,CAACG,MAAM,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/* eslint-disable react/destructuring-assignment */
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
export default class PortalConsumer extends React.Component {
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7
|
+
|
|
8
|
+
async componentDidMount() {
|
|
9
|
+
this.checkManager();
|
|
10
|
+
|
|
11
|
+
// Delay updating to prevent React from going to infinite loop
|
|
12
|
+
await Promise.resolve();
|
|
13
|
+
this.key = this.props.manager.mount(this.props.children);
|
|
14
|
+
}
|
|
15
|
+
componentDidUpdate() {
|
|
16
|
+
this.checkManager();
|
|
17
|
+
this.props.manager.update(this.key, this.props.children);
|
|
18
|
+
}
|
|
19
|
+
componentWillUnmount() {
|
|
20
|
+
this.checkManager();
|
|
21
|
+
this.props.manager.unmount(this.key);
|
|
22
|
+
}
|
|
23
|
+
checkManager() {
|
|
24
|
+
if (!this.props.manager) {
|
|
25
|
+
throw new Error('Looks like you forgot to wrap your root component with `Provider` component from `react-native-paper`.\n\n' + "Please read our getting-started guide and make sure you've followed all the required steps.\n\n" + 'https://callstack.github.io/react-native-paper/getting-started.html');
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=PortalConsumer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","PortalConsumer","Component","componentDidMount","checkManager","Promise","resolve","key","props","manager","mount","children","componentDidUpdate","update","componentWillUnmount","unmount","Error","render"],"sourceRoot":"../../../../src","sources":["components/Portal/PortalConsumer.tsx"],"mappings":";;AAAA;AACA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAQ9B,eAAe,MAAMC,cAAc,SAASD,KAAK,CAACE,SAAS,CAAQ;EACjE;;EAGA,MAAMC,iBAAiBA,CAAA,EAAG;IACxB,IAAI,CAACC,YAAY,CAAC,CAAC;;IAEnB;IACA,MAAMC,OAAO,CAACC,OAAO,CAAC,CAAC;IAEvB,IAAI,CAACC,GAAG,GAAG,IAAI,CAACC,KAAK,CAACC,OAAO,CAACC,KAAK,CAAC,IAAI,CAACF,KAAK,CAACG,QAAQ,CAAC;EAC1D;EAEAC,kBAAkBA,CAAA,EAAG;IACnB,IAAI,CAACR,YAAY,CAAC,CAAC;IAEnB,IAAI,CAACI,KAAK,CAACC,OAAO,CAACI,MAAM,CAAC,IAAI,CAACN,GAAG,EAAE,IAAI,CAACC,KAAK,CAACG,QAAQ,CAAC;EAC1D;EAEAG,oBAAoBA,CAAA,EAAG;IACrB,IAAI,CAACV,YAAY,CAAC,CAAC;IAEnB,IAAI,CAACI,KAAK,CAACC,OAAO,CAACM,OAAO,CAAC,IAAI,CAACR,GAAG,CAAC;EACtC;EAEQH,YAAYA,CAAA,EAAG;IACrB,IAAI,CAAC,IAAI,CAACI,KAAK,CAACC,OAAO,EAAE;MACvB,MAAM,IAAIO,KAAK,CACb,4GAA4G,GAC1G,iGAAiG,GACjG,qEACJ,CAAC;IACH;EACF;EAEAC,MAAMA,CAAA,EAAG;IACP,OAAO,IAAI;EACb;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/* eslint-disable react/destructuring-assignment */
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { View, StyleSheet } from 'react-native';
|
|
6
|
+
import PortalManager from './PortalManager';
|
|
7
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
9
|
+
export const PortalContext = /*#__PURE__*/React.createContext(null);
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Portal host renders all of its children `Portal` elements.
|
|
13
|
+
* For example, you can wrap a screen in `Portal.Host` to render items above the screen.
|
|
14
|
+
* If you're using the `Provider` component, it already includes `Portal.Host`.
|
|
15
|
+
*
|
|
16
|
+
* ## Usage
|
|
17
|
+
* ```js
|
|
18
|
+
* import * as React from 'react';
|
|
19
|
+
* import { Text } from 'react-native';
|
|
20
|
+
* import { Portal } from 'react-native-paper';
|
|
21
|
+
*
|
|
22
|
+
* const MyComponent = () => (
|
|
23
|
+
* <Portal.Host>
|
|
24
|
+
* <Text>Content of the app</Text>
|
|
25
|
+
* </Portal.Host>
|
|
26
|
+
* );
|
|
27
|
+
*
|
|
28
|
+
* export default MyComponent;
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* Here any `Portal` elements under `<App />` are rendered alongside `<App />` and will appear above `<App />` like a `Modal`.
|
|
32
|
+
*/
|
|
33
|
+
export default class PortalHost extends React.Component {
|
|
34
|
+
// eslint-disable-next-line react/static-property-placement
|
|
35
|
+
static displayName = 'Portal.Host';
|
|
36
|
+
componentDidMount() {
|
|
37
|
+
const {
|
|
38
|
+
manager
|
|
39
|
+
} = this;
|
|
40
|
+
const {
|
|
41
|
+
queue
|
|
42
|
+
} = this;
|
|
43
|
+
while (queue.length && manager) {
|
|
44
|
+
const action = queue.pop();
|
|
45
|
+
if (action) {
|
|
46
|
+
// eslint-disable-next-line default-case
|
|
47
|
+
switch (action.type) {
|
|
48
|
+
case 'mount':
|
|
49
|
+
manager.mount(action.key, action.children);
|
|
50
|
+
break;
|
|
51
|
+
case 'update':
|
|
52
|
+
manager.update(action.key, action.children);
|
|
53
|
+
break;
|
|
54
|
+
case 'unmount':
|
|
55
|
+
manager.unmount(action.key);
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
setManager = manager => {
|
|
62
|
+
this.manager = manager;
|
|
63
|
+
};
|
|
64
|
+
mount = children => {
|
|
65
|
+
// eslint-disable-next-line no-plusplus
|
|
66
|
+
const key = this.nextKey++;
|
|
67
|
+
if (this.manager) {
|
|
68
|
+
this.manager.mount(key, children);
|
|
69
|
+
} else {
|
|
70
|
+
this.queue.push({
|
|
71
|
+
type: 'mount',
|
|
72
|
+
key,
|
|
73
|
+
children
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
return key;
|
|
77
|
+
};
|
|
78
|
+
update = (key, children) => {
|
|
79
|
+
if (this.manager) {
|
|
80
|
+
this.manager.update(key, children);
|
|
81
|
+
} else {
|
|
82
|
+
const op = {
|
|
83
|
+
type: 'mount',
|
|
84
|
+
key,
|
|
85
|
+
children
|
|
86
|
+
};
|
|
87
|
+
const index = this.queue.findIndex(o => o.type === 'mount' || o.type === 'update' && o.key === key);
|
|
88
|
+
if (index > -1) {
|
|
89
|
+
// @ts-ignore
|
|
90
|
+
this.queue[index] = op;
|
|
91
|
+
} else {
|
|
92
|
+
this.queue.push(op);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
unmount = key => {
|
|
97
|
+
if (this.manager) {
|
|
98
|
+
this.manager.unmount(key);
|
|
99
|
+
} else {
|
|
100
|
+
this.queue.push({
|
|
101
|
+
type: 'unmount',
|
|
102
|
+
key
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
// eslint-disable-next-line react/sort-comp
|
|
108
|
+
nextKey = 0;
|
|
109
|
+
queue = [];
|
|
110
|
+
render() {
|
|
111
|
+
return /*#__PURE__*/_jsxs(PortalContext.Provider, {
|
|
112
|
+
value: {
|
|
113
|
+
mount: this.mount,
|
|
114
|
+
update: this.update,
|
|
115
|
+
unmount: this.unmount
|
|
116
|
+
},
|
|
117
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
118
|
+
style: styles.container,
|
|
119
|
+
collapsable: false,
|
|
120
|
+
pointerEvents: "box-none",
|
|
121
|
+
children: this.props.children
|
|
122
|
+
}), /*#__PURE__*/_jsx(PortalManager, {
|
|
123
|
+
ref: this.setManager
|
|
124
|
+
})]
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
const styles = StyleSheet.create({
|
|
129
|
+
container: {
|
|
130
|
+
flex: 1
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
//# sourceMappingURL=PortalHost.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","StyleSheet","PortalManager","jsx","_jsx","jsxs","_jsxs","PortalContext","createContext","PortalHost","Component","displayName","componentDidMount","manager","queue","length","action","pop","type","mount","key","children","update","unmount","setManager","nextKey","push","op","index","findIndex","o","render","Provider","value","style","styles","container","collapsable","pointerEvents","props","ref","create","flex"],"sourceRoot":"../../../../src","sources":["components/Portal/PortalHost.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/* eslint-disable react/destructuring-assignment */
|
|
4
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
|
5
|
+
/* eslint-disable react/state-in-constructor */
|
|
6
|
+
import * as React from 'react';
|
|
7
|
+
import { View, StyleSheet } from 'react-native';
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
/**
|
|
10
|
+
* Portal host is the component which actually renders all Portals.
|
|
11
|
+
*/
|
|
12
|
+
export default class PortalManager extends React.PureComponent {
|
|
13
|
+
state = {
|
|
14
|
+
portals: []
|
|
15
|
+
};
|
|
16
|
+
mount = (key, children) => {
|
|
17
|
+
this.setState(state => ({
|
|
18
|
+
portals: [...state.portals, {
|
|
19
|
+
key,
|
|
20
|
+
children
|
|
21
|
+
}]
|
|
22
|
+
}));
|
|
23
|
+
};
|
|
24
|
+
update = (key, children) => this.setState(state => ({
|
|
25
|
+
portals: state.portals.map(item => {
|
|
26
|
+
if (item.key === key) {
|
|
27
|
+
return {
|
|
28
|
+
...item,
|
|
29
|
+
children
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
return item;
|
|
33
|
+
})
|
|
34
|
+
}));
|
|
35
|
+
unmount = key => this.setState(state => ({
|
|
36
|
+
portals: state.portals.filter(item => item.key !== key)
|
|
37
|
+
}));
|
|
38
|
+
render() {
|
|
39
|
+
return this.state.portals.map(({
|
|
40
|
+
key,
|
|
41
|
+
children
|
|
42
|
+
}) => /*#__PURE__*/_jsx(View, {
|
|
43
|
+
collapsable: false /* Need collapsable=false here to clip the elevations, otherwise they appear above sibling components */,
|
|
44
|
+
pointerEvents: "box-none",
|
|
45
|
+
style: StyleSheet.absoluteFill,
|
|
46
|
+
children: children
|
|
47
|
+
}, key));
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=PortalManager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","StyleSheet","jsx","_jsx","PortalManager","PureComponent","state","portals","mount","key","children","setState","update","map","item","unmount","filter","render","collapsable","pointerEvents","style","absoluteFill"],"sourceRoot":"../../../../src","sources":["components/Portal/PortalManager.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAShD;AACA;AACA;AACA,eAAe,MAAMC,aAAa,SAASL,KAAK,CAACM,aAAa,CAAY;EACxEC,KAAK,GAAU;IACbC,OAAO,EAAE;EACX,CAAC;EAEDC,KAAK,GAAGA,CAACC,GAAW,EAAEC,QAAyB,KAAK;IAClD,IAAI,CAACC,QAAQ,CAACL,KAAK,KAAK;MACtBC,OAAO,EAAE,CAAC,GAAGD,KAAK,CAACC,OAAO,EAAE;QAAEE,GAAG;QAAEC;MAAS,CAAC;IAC/C,CAAC,CAAC,CAAC;EACL,CAAC;EAEDE,MAAM,GAAGA,CAACH,GAAW,EAAEC,QAAyB,KAC9C,IAAI,CAACC,QAAQ,CAACL,KAAK,KAAK;IACtBC,OAAO,EAAED,KAAK,CAACC,OAAO,CAACM,GAAG,CAACC,IAAI,IAAI;MACjC,IAAIA,IAAI,CAACL,GAAG,KAAKA,GAAG,EAAE;QACpB,OAAO;UAAE,GAAGK,IAAI;UAAEJ;QAAS,CAAC;MAC9B;MACA,OAAOI,IAAI;IACb,CAAC;EACH,CAAC,CAAC,CAAC;EAELC,OAAO,GAAIN,GAAW,IACpB,IAAI,CAACE,QAAQ,CAACL,KAAK,KAAK;IACtBC,OAAO,EAAED,KAAK,CAACC,OAAO,CAACS,MAAM,CAACF,IAAI,IAAIA,IAAI,CAACL,GAAG,KAAKA,GAAG;EACxD,CAAC,CAAC,CAAC;EAELQ,MAAMA,CAAA,EAAG;IACP,OAAO,IAAI,CAACX,KAAK,CAACC,OAAO,CAACM,GAAG,CAAC,CAAC;MAAEJ,GAAG;MAAEC;IAAS,CAAC,kBAC9CP,IAAA,CAACH,IAAI;MAEHkB,WAAW,EACT,KAAK,CAAC,wGACP;MACDC,aAAa,EAAC,UAAU;MACxBC,KAAK,EAAEnB,UAAU,CAACoB,YAAa;MAAAX,QAAA,EAE9BA;IAAQ,GAPJD,GAQD,CACP,CAAC;EACJ;AACF","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["default"],"sourceRoot":"../../../../src","sources":["components/Portal/index.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,UAAU","ignoreList":[]}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { useState, useEffect } from 'react';
|
|
4
|
+
import { StyleSheet, View } from 'react-native';
|
|
5
|
+
import { withTheme } from '../../core/theming';
|
|
6
|
+
import { blockSizes } from '../../styles/styles';
|
|
7
|
+
import { Panel } from '../..';
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
const tileWidth = 17;
|
|
10
|
+
const Progress = ({
|
|
11
|
+
background = 'material',
|
|
12
|
+
percent = 0,
|
|
13
|
+
style = {},
|
|
14
|
+
theme,
|
|
15
|
+
variant = 'default',
|
|
16
|
+
...rest
|
|
17
|
+
}) => {
|
|
18
|
+
const [tilesNumber, setTilesNumber] = useState(0);
|
|
19
|
+
const [progressWidth, setProgressWidth] = useState(0);
|
|
20
|
+
function onProgressWidthChange(e) {
|
|
21
|
+
const {
|
|
22
|
+
width
|
|
23
|
+
} = e.nativeEvent.layout;
|
|
24
|
+
setProgressWidth(width);
|
|
25
|
+
}
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
setTilesNumber(Math.round(percent / 100 * (progressWidth / tileWidth)));
|
|
28
|
+
}, [percent]);
|
|
29
|
+
return /*#__PURE__*/_jsx(Panel, {
|
|
30
|
+
theme: theme,
|
|
31
|
+
variant: "cutout",
|
|
32
|
+
background: background,
|
|
33
|
+
...rest,
|
|
34
|
+
style: [styles.wrapper, {
|
|
35
|
+
height: blockSizes.md
|
|
36
|
+
}, style],
|
|
37
|
+
accessible: true,
|
|
38
|
+
accessibilityRole: "progressbar",
|
|
39
|
+
accessibilityValue: {
|
|
40
|
+
min: 0,
|
|
41
|
+
max: 100,
|
|
42
|
+
now: percent
|
|
43
|
+
},
|
|
44
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
45
|
+
style: [styles.progressWrapper],
|
|
46
|
+
children: variant === 'tile' ? /*#__PURE__*/_jsx(View, {
|
|
47
|
+
style: [styles.tilesWrapper, {
|
|
48
|
+
borderColor: theme.material
|
|
49
|
+
}],
|
|
50
|
+
onLayout: onProgressWidthChange,
|
|
51
|
+
children: Array(tilesNumber).fill(null).map((_, index) => /*#__PURE__*/_jsx(View, {
|
|
52
|
+
style: [styles.tile, styles.progress, {
|
|
53
|
+
backgroundColor: theme.progress,
|
|
54
|
+
borderColor: theme.material
|
|
55
|
+
}]
|
|
56
|
+
}, index))
|
|
57
|
+
}) : /*#__PURE__*/_jsx(View, {
|
|
58
|
+
style: [styles.progress, {
|
|
59
|
+
width: `${percent}%`,
|
|
60
|
+
backgroundColor: theme.progress
|
|
61
|
+
}]
|
|
62
|
+
})
|
|
63
|
+
})
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
const styles = StyleSheet.create({
|
|
67
|
+
wrapper: {
|
|
68
|
+
position: 'relative',
|
|
69
|
+
padding: 4
|
|
70
|
+
},
|
|
71
|
+
progressWrapper: {
|
|
72
|
+
width: '100%',
|
|
73
|
+
height: '100%'
|
|
74
|
+
},
|
|
75
|
+
progress: {
|
|
76
|
+
height: '100%'
|
|
77
|
+
},
|
|
78
|
+
tilesWrapper: {
|
|
79
|
+
flexDirection: 'row',
|
|
80
|
+
flex: 1,
|
|
81
|
+
borderWidth: 1
|
|
82
|
+
},
|
|
83
|
+
tile: {
|
|
84
|
+
width: tileWidth,
|
|
85
|
+
borderWidth: 1
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
export default withTheme(Progress);
|
|
89
|
+
//# sourceMappingURL=Progress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useState","useEffect","StyleSheet","View","withTheme","blockSizes","Panel","jsx","_jsx","tileWidth","Progress","background","percent","style","theme","variant","rest","tilesNumber","setTilesNumber","progressWidth","setProgressWidth","onProgressWidthChange","e","width","nativeEvent","layout","Math","round","styles","wrapper","height","md","accessible","accessibilityRole","accessibilityValue","min","max","now","children","progressWrapper","tilesWrapper","borderColor","material","onLayout","Array","fill","map","_","index","tile","progress","backgroundColor","create","position","padding","flexDirection","flex","borderWidth"],"sourceRoot":"../../../../src","sources":["components/Progress/Progress.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["default"],"sourceRoot":"../../../../src","sources":["components/Progress/index.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,YAAY","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 Radio = props => {
|
|
8
|
+
return /*#__PURE__*/_jsx(SwitchBase, {
|
|
9
|
+
component: "radio",
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
export default withTheme(Radio);
|
|
14
|
+
//# sourceMappingURL=Radio.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","SwitchBase","withTheme","jsx","_jsx","Radio","props","component"],"sourceRoot":"../../../../src","sources":["components/Radio/Radio.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,QAAqB,eAAe;AAEvD,SAASC,SAAS,QAAQ,oBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAM/C,MAAMC,KAAK,GAAIC,KAAY,IAAK;EAC9B,oBAAOF,IAAA,CAACH,UAAU;IAACM,SAAS,EAAC,OAAO;IAAA,GAAKD;EAAK,CAAG,CAAC;AACpD,CAAC;AAED,eAAeJ,SAAS,CAACG,KAAK,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["default"],"sourceRoot":"../../../../src","sources":["components/Radio/index.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,SAAS","ignoreList":[]}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View, StyleSheet, ScrollView } from 'react-native';
|
|
5
|
+
import { withTheme } from '../../core/theming';
|
|
6
|
+
import { Divider, Panel } from '../..';
|
|
7
|
+
|
|
8
|
+
// TODO: should we pass theme to wrapped components? (Divider, Panel etc);
|
|
9
|
+
|
|
10
|
+
// TODO: add noBottomBorder and noTopBorder prop
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
+
const ScrollPanel = ({
|
|
13
|
+
children,
|
|
14
|
+
noBackground,
|
|
15
|
+
style = {},
|
|
16
|
+
theme,
|
|
17
|
+
...rest
|
|
18
|
+
}) => {
|
|
19
|
+
return /*#__PURE__*/_jsx(ScrollView, {
|
|
20
|
+
horizontal: true,
|
|
21
|
+
showsHorizontalScrollIndicator: false,
|
|
22
|
+
style: [styles.wrapper, {
|
|
23
|
+
backgroundColor: noBackground ? 'transparent' : theme.materialDark
|
|
24
|
+
}, style],
|
|
25
|
+
...rest,
|
|
26
|
+
children: /*#__PURE__*/_jsx(Panel, {
|
|
27
|
+
theme: theme,
|
|
28
|
+
variant: "raised",
|
|
29
|
+
style: [styles.borderWrapper],
|
|
30
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
31
|
+
style: [styles.inner, {
|
|
32
|
+
backgroundColor: theme.material
|
|
33
|
+
}],
|
|
34
|
+
children: [/*#__PURE__*/_jsx(Divider, {
|
|
35
|
+
theme: theme,
|
|
36
|
+
orientation: "vertical",
|
|
37
|
+
variant: "raised"
|
|
38
|
+
}), /*#__PURE__*/_jsx(Divider, {
|
|
39
|
+
theme: theme,
|
|
40
|
+
orientation: "vertical",
|
|
41
|
+
variant: "raised"
|
|
42
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
43
|
+
style: [styles.content],
|
|
44
|
+
children: children
|
|
45
|
+
})]
|
|
46
|
+
})
|
|
47
|
+
})
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
const styles = StyleSheet.create({
|
|
51
|
+
wrapper: {
|
|
52
|
+
flexGrow: 0
|
|
53
|
+
},
|
|
54
|
+
inner: {
|
|
55
|
+
padding: 16,
|
|
56
|
+
display: 'flex',
|
|
57
|
+
flexDirection: 'row',
|
|
58
|
+
alignItems: 'center'
|
|
59
|
+
},
|
|
60
|
+
borderWrapper: {
|
|
61
|
+
padding: 4,
|
|
62
|
+
position: 'relative',
|
|
63
|
+
minWidth: '100%'
|
|
64
|
+
},
|
|
65
|
+
content: {
|
|
66
|
+
marginLeft: 8,
|
|
67
|
+
display: 'flex',
|
|
68
|
+
flexDirection: 'row',
|
|
69
|
+
alignItems: 'center'
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
export default withTheme(ScrollPanel);
|
|
73
|
+
//# sourceMappingURL=ScrollPanel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","StyleSheet","ScrollView","withTheme","Divider","Panel","jsx","_jsx","jsxs","_jsxs","ScrollPanel","children","noBackground","style","theme","rest","horizontal","showsHorizontalScrollIndicator","styles","wrapper","backgroundColor","materialDark","variant","borderWrapper","inner","material","orientation","content","create","flexGrow","padding","display","flexDirection","alignItems","position","minWidth","marginLeft"],"sourceRoot":"../../../../src","sources":["components/ScrollPanel/ScrollPanel.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,UAAU,EAAEC,UAAU,QAAQ,cAAc;AAG3D,SAASC,SAAS,QAAQ,oBAAoB;AAE9C,SAASC,OAAO,EAAEC,KAAK,QAAQ,OAAO;;AAEtC;;AAEA;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAOA,MAAMC,WAAW,GAAGA,CAAC;EACnBC,QAAQ;EACRC,YAAY;EACZC,KAAK,GAAG,CAAC,CAAC;EACVC,KAAK;EACL,GAAGC;AACE,CAAC,KAAK;EACX,oBACER,IAAA,CAACL,UAAU;IACTc,UAAU;IACVC,8BAA8B,EAAE,KAAM;IACtCJ,KAAK,EAAE,CACLK,MAAM,CAACC,OAAO,EACd;MACEC,eAAe,EAAER,YAAY,GAAG,aAAa,GAAGE,KAAK,CAACO;IACxD,CAAC,EACDR,KAAK,CACL;IAAA,GACEE,IAAI;IAAAJ,QAAA,eAERJ,IAAA,CAACF,KAAK;MAACS,KAAK,EAAEA,KAAM;MAACQ,OAAO,EAAC,QAAQ;MAACT,KAAK,EAAE,CAACK,MAAM,CAACK,aAAa,CAAE;MAAAZ,QAAA,eAClEF,KAAA,CAACT,IAAI;QAACa,KAAK,EAAE,CAACK,MAAM,CAACM,KAAK,EAAE;UAAEJ,eAAe,EAAEN,KAAK,CAACW;QAAS,CAAC,CAAE;QAAAd,QAAA,gBAC/DJ,IAAA,CAACH,OAAO;UAACU,KAAK,EAAEA,KAAM;UAACY,WAAW,EAAC,UAAU;UAACJ,OAAO,EAAC;QAAQ,CAAE,CAAC,eACjEf,IAAA,CAACH,OAAO;UAACU,KAAK,EAAEA,KAAM;UAACY,WAAW,EAAC,UAAU;UAACJ,OAAO,EAAC;QAAQ,CAAE,CAAC,eACjEf,IAAA,CAACP,IAAI;UAACa,KAAK,EAAE,CAACK,MAAM,CAACS,OAAO,CAAE;UAAAhB,QAAA,EAAEA;QAAQ,CAAO,CAAC;MAAA,CAC5C;IAAC,CACF;EAAC,CACE,CAAC;AAEjB,CAAC;AAED,MAAMO,MAAM,GAAGjB,UAAU,CAAC2B,MAAM,CAAC;EAC/BT,OAAO,EAAE;IACPU,QAAQ,EAAE;EACZ,CAAC;EACDL,KAAK,EAAE;IACLM,OAAO,EAAE,EAAE;IACXC,OAAO,EAAE,MAAM;IACfC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE;EACd,CAAC;EACDV,aAAa,EAAE;IACbO,OAAO,EAAE,CAAC;IACVI,QAAQ,EAAE,UAAU;IACpBC,QAAQ,EAAE;EACZ,CAAC;EACDR,OAAO,EAAE;IACPS,UAAU,EAAE,CAAC;IACbL,OAAO,EAAE,MAAM;IACfC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE;EACd;AACF,CAAC,CAAC;AAEF,eAAe9B,SAAS,CAACO,WAAW,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["default"],"sourceRoot":"../../../../src","sources":["components/ScrollPanel/index.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,eAAe","ignoreList":[]}
|