fluent-styles 1.54.0 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4065 -77
- package/lib/commonjs/actionSheet/actionSheet.js +372 -0
- package/lib/commonjs/actionSheet/actionSheet.js.map +1 -0
- package/lib/commonjs/actionSheet/index.js +20 -0
- package/lib/commonjs/actionSheet/index.js.map +1 -0
- package/lib/commonjs/actionSheet/useActionSheet.js +89 -0
- package/lib/commonjs/actionSheet/useActionSheet.js.map +1 -0
- package/lib/commonjs/badge/index.js +148 -0
- package/lib/commonjs/badge/index.js.map +1 -0
- package/lib/commonjs/barChart/index.js +298 -0
- package/lib/commonjs/barChart/index.js.map +1 -0
- package/lib/commonjs/button/index.js +228 -0
- package/lib/commonjs/button/index.js.map +1 -0
- package/lib/commonjs/card/index.js +202 -0
- package/lib/commonjs/card/index.js.map +1 -0
- package/lib/commonjs/checkBox/index.js +90 -0
- package/lib/commonjs/checkBox/index.js.map +1 -0
- package/lib/commonjs/chips/index.js +239 -0
- package/lib/commonjs/chips/index.js.map +1 -0
- package/lib/commonjs/circularProgress/index.js +265 -0
- package/lib/commonjs/circularProgress/index.js.map +1 -0
- package/lib/commonjs/collapsible/Collapse.js +293 -0
- package/lib/commonjs/collapsible/Collapse.js.map +1 -0
- package/lib/commonjs/collapsible/CollapseGroup.js +137 -0
- package/lib/commonjs/collapsible/CollapseGroup.js.map +1 -0
- package/lib/commonjs/collapsible/index.js +64 -0
- package/lib/commonjs/collapsible/index.js.map +1 -0
- package/lib/commonjs/collapsible/interface.js +39 -0
- package/lib/commonjs/collapsible/interface.js.map +1 -0
- package/lib/commonjs/collapsible/style.js +161 -0
- package/lib/commonjs/collapsible/style.js.map +1 -0
- package/lib/commonjs/datePicker/index.js +915 -0
- package/lib/commonjs/datePicker/index.js.map +1 -0
- package/lib/commonjs/dialog/dialogue.js +205 -0
- package/lib/commonjs/dialog/dialogue.js.map +1 -0
- package/lib/commonjs/dialog/index.js +393 -0
- package/lib/commonjs/dialog/index.js.map +1 -0
- package/lib/commonjs/dialog/useDialogue.js +117 -0
- package/lib/commonjs/dialog/useDialogue.js.map +1 -0
- package/lib/commonjs/divider/index.js +37 -0
- package/lib/commonjs/divider/index.js.map +1 -0
- package/lib/commonjs/drawer/Drawer.js +587 -0
- package/lib/commonjs/drawer/Drawer.js.map +1 -0
- package/lib/commonjs/drawer/index.js +51 -0
- package/lib/commonjs/drawer/index.js.map +1 -0
- package/lib/commonjs/drawer/interface.js +84 -0
- package/lib/commonjs/drawer/interface.js.map +1 -0
- package/lib/commonjs/dropdown/index.js +859 -0
- package/lib/commonjs/dropdown/index.js.map +1 -0
- package/lib/commonjs/emptyState/index.js +231 -0
- package/lib/commonjs/emptyState/index.js.map +1 -0
- package/lib/commonjs/form/index.js +2 -0
- package/lib/commonjs/form/index.js.map +1 -0
- package/lib/commonjs/header/index.js +147 -0
- package/lib/commonjs/header/index.js.map +1 -0
- package/lib/commonjs/header/statusBar/index.js +20 -0
- package/lib/commonjs/header/statusBar/index.js.map +1 -0
- package/lib/commonjs/icons/backArrow.js +42 -0
- package/lib/commonjs/icons/backArrow.js.map +1 -0
- package/lib/commonjs/icons/bellFill.js +43 -0
- package/lib/commonjs/icons/bellFill.js.map +1 -0
- package/lib/commonjs/icons/bellOutline.js +43 -0
- package/lib/commonjs/icons/bellOutline.js.map +1 -0
- package/lib/commonjs/icons/checkmark.js +36 -0
- package/lib/commonjs/icons/checkmark.js.map +1 -0
- package/lib/commonjs/icons/delete.js +53 -0
- package/lib/commonjs/icons/delete.js.map +1 -0
- package/lib/commonjs/icons/downChevron.js +36 -0
- package/lib/commonjs/icons/downChevron.js.map +1 -0
- package/lib/commonjs/icons/error.js +41 -0
- package/lib/commonjs/icons/error.js.map +1 -0
- package/lib/commonjs/icons/forwardArrow.js +42 -0
- package/lib/commonjs/icons/forwardArrow.js.map +1 -0
- package/lib/commonjs/icons/index.js +111 -0
- package/lib/commonjs/icons/index.js.map +1 -0
- package/lib/commonjs/icons/info.js +48 -0
- package/lib/commonjs/icons/info.js.map +1 -0
- package/lib/commonjs/icons/leftChevron.js +36 -0
- package/lib/commonjs/icons/leftChevron.js.map +1 -0
- package/lib/commonjs/icons/rightChevron.js +36 -0
- package/lib/commonjs/icons/rightChevron.js.map +1 -0
- package/lib/commonjs/icons/save.js +50 -0
- package/lib/commonjs/icons/save.js.map +1 -0
- package/lib/commonjs/icons/success.js +43 -0
- package/lib/commonjs/icons/success.js.map +1 -0
- package/lib/commonjs/icons/upChevron.js +36 -0
- package/lib/commonjs/icons/upChevron.js.map +1 -0
- package/lib/commonjs/icons/warning.js +48 -0
- package/lib/commonjs/icons/warning.js.map +1 -0
- package/lib/commonjs/image/index.js +47 -0
- package/lib/commonjs/image/index.js.map +1 -0
- package/lib/commonjs/index.js +519 -138
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/input/index.js +488 -0
- package/lib/commonjs/input/index.js.map +1 -0
- package/lib/commonjs/loading/circular.js +116 -0
- package/lib/commonjs/loading/circular.js.map +1 -0
- package/lib/commonjs/loading/index.js +34 -0
- package/lib/commonjs/loading/index.js.map +1 -0
- package/lib/commonjs/loading/loader.js +247 -0
- package/lib/commonjs/loading/loader.js.map +1 -0
- package/lib/commonjs/loading/spinner.js +90 -0
- package/lib/commonjs/loading/spinner.js.map +1 -0
- package/lib/commonjs/loading/useLoader.js +62 -0
- package/lib/commonjs/loading/useLoader.js.map +1 -0
- package/lib/commonjs/loading/useLoaderBinding.js +34 -0
- package/lib/commonjs/loading/useLoaderBinding.js.map +1 -0
- package/lib/commonjs/notification/index.js +269 -0
- package/lib/commonjs/notification/index.js.map +1 -0
- package/lib/commonjs/notification/useNotification.js +62 -0
- package/lib/commonjs/notification/useNotification.js.map +1 -0
- package/lib/commonjs/page/index.js +22 -0
- package/lib/commonjs/page/index.js.map +1 -0
- package/lib/commonjs/popup/Popup.js +332 -0
- package/lib/commonjs/popup/Popup.js.map +1 -0
- package/lib/commonjs/popup/helpers.js +168 -0
- package/lib/commonjs/popup/helpers.js.map +1 -0
- package/lib/commonjs/popup/index.js +51 -0
- package/lib/commonjs/popup/index.js.map +1 -0
- package/lib/commonjs/popup/interface.js +45 -0
- package/lib/commonjs/popup/interface.js.map +1 -0
- package/lib/commonjs/portal/GlobalPortalProvider.js +68 -0
- package/lib/commonjs/portal/GlobalPortalProvider.js.map +1 -0
- package/lib/commonjs/portal/PortalContext.js +38 -0
- package/lib/commonjs/portal/PortalContext.js.map +1 -0
- package/lib/commonjs/portal/PortalInstance.js +123 -0
- package/lib/commonjs/portal/PortalInstance.js.map +1 -0
- package/lib/commonjs/portal/PortalManager.js +87 -0
- package/lib/commonjs/portal/PortalManager.js.map +1 -0
- package/lib/commonjs/portal/PortalRenderer.js +57 -0
- package/lib/commonjs/portal/PortalRenderer.js.map +1 -0
- package/lib/commonjs/portal/index.js +54 -0
- package/lib/commonjs/portal/index.js.map +1 -0
- package/lib/commonjs/portal/portal.test.js +154 -0
- package/lib/commonjs/portal/portal.test.js.map +1 -0
- package/lib/commonjs/portal/types.js +6 -0
- package/lib/commonjs/portal/types.js.map +1 -0
- package/lib/commonjs/pressable/index.js +18 -0
- package/lib/commonjs/pressable/index.js.map +1 -0
- package/lib/commonjs/progressBar/index.js +512 -0
- package/lib/commonjs/progressBar/index.js.map +1 -0
- package/lib/commonjs/radio/index.js +368 -0
- package/lib/commonjs/radio/index.js.map +1 -0
- package/lib/commonjs/safeAreaProvider/index.js +12 -0
- package/lib/commonjs/safeAreaProvider/index.js.map +1 -0
- package/lib/commonjs/safeAreaView/index.js +14 -0
- package/lib/commonjs/safeAreaView/index.js.map +1 -0
- package/lib/commonjs/scrollView/index.js +14 -0
- package/lib/commonjs/scrollView/index.js.map +1 -0
- package/lib/commonjs/searchBar/index.js +356 -0
- package/lib/commonjs/searchBar/index.js.map +1 -0
- package/lib/commonjs/seperator/index.js +44 -0
- package/lib/commonjs/seperator/index.js.map +1 -0
- package/lib/commonjs/services/index.js +185 -0
- package/lib/commonjs/services/index.js.map +1 -0
- package/lib/commonjs/shape/index.js +36 -0
- package/lib/commonjs/shape/index.js.map +1 -0
- package/lib/commonjs/skeleton/index.js +430 -0
- package/lib/commonjs/skeleton/index.js.map +1 -0
- package/lib/commonjs/slider/index.js +499 -0
- package/lib/commonjs/slider/index.js.map +1 -0
- package/lib/commonjs/spacer/index.js +14 -0
- package/lib/commonjs/spacer/index.js.map +1 -0
- package/lib/commonjs/stack/index.js +52 -0
- package/lib/commonjs/stack/index.js.map +1 -0
- package/lib/commonjs/switch/Switch.js +289 -0
- package/lib/commonjs/switch/Switch.js.map +1 -0
- package/lib/commonjs/switch/_index.js +118 -0
- package/lib/commonjs/switch/_index.js.map +1 -0
- package/lib/commonjs/switch/index.js +26 -0
- package/lib/commonjs/switch/index.js.map +1 -0
- package/lib/commonjs/switch/interface.js +47 -0
- package/lib/commonjs/switch/interface.js.map +1 -0
- package/lib/commonjs/tabBar/TabBar.js +409 -0
- package/lib/commonjs/tabBar/TabBar.js.map +1 -0
- package/lib/commonjs/tabBar/TabBarUsage.js +441 -0
- package/lib/commonjs/tabBar/TabBarUsage.js.map +1 -0
- package/lib/commonjs/tabBar/index.js +26 -0
- package/lib/commonjs/tabBar/index.js.map +1 -0
- package/lib/commonjs/tabBar/interface.js +43 -0
- package/lib/commonjs/tabBar/interface.js.map +1 -0
- package/lib/commonjs/text/index.js +65 -0
- package/lib/commonjs/text/index.js.map +1 -0
- package/lib/commonjs/timeline/index.js +264 -0
- package/lib/commonjs/timeline/index.js.map +1 -0
- package/lib/commonjs/toast/index.js +203 -0
- package/lib/commonjs/toast/index.js.map +1 -0
- package/lib/commonjs/toast/useToast.js +82 -0
- package/lib/commonjs/toast/useToast.js.map +1 -0
- package/lib/commonjs/utiles/createIcon.js +49 -0
- package/lib/commonjs/utiles/createIcon.js.map +1 -0
- package/lib/commonjs/utiles/fontStyles.js +36 -0
- package/lib/commonjs/utiles/fontStyles.js.map +1 -0
- package/lib/commonjs/utiles/position.js +98 -0
- package/lib/commonjs/utiles/position.js.map +1 -0
- package/lib/commonjs/utiles/statusBar.js +425 -0
- package/lib/commonjs/utiles/statusBar.js.map +1 -0
- package/lib/commonjs/utiles/styled.js +42 -0
- package/lib/commonjs/utiles/styled.js.map +1 -0
- package/lib/commonjs/utiles/styles.js +30 -0
- package/lib/commonjs/utiles/styles.js.map +1 -0
- package/lib/commonjs/utiles/theme.js +680 -0
- package/lib/commonjs/utiles/theme.js.map +1 -0
- package/lib/commonjs/utiles/validators.js +31 -0
- package/lib/commonjs/utiles/validators.js.map +1 -0
- package/lib/commonjs/utiles/viewStyleProps.js +6 -0
- package/lib/commonjs/utiles/viewStyleProps.js.map +1 -0
- package/lib/commonjs/utiles/viewStyleVariants.js +546 -0
- package/lib/commonjs/utiles/viewStyleVariants.js.map +1 -0
- package/lib/module/actionSheet/actionSheet.js +368 -0
- package/lib/module/actionSheet/actionSheet.js.map +1 -0
- package/lib/module/actionSheet/index.js +5 -0
- package/lib/module/actionSheet/index.js.map +1 -0
- package/lib/module/actionSheet/useActionSheet.js +85 -0
- package/lib/module/actionSheet/useActionSheet.js.map +1 -0
- package/lib/module/badge/index.js +147 -0
- package/lib/module/badge/index.js.map +1 -0
- package/lib/module/barChart/index.js +292 -0
- package/lib/module/barChart/index.js.map +1 -0
- package/lib/module/button/index.js +224 -0
- package/lib/module/button/index.js.map +1 -0
- package/lib/module/card/index.js +198 -0
- package/lib/module/card/index.js.map +1 -0
- package/lib/module/checkBox/index.js +86 -0
- package/lib/module/checkBox/index.js.map +1 -0
- package/lib/module/chips/index.js +232 -0
- package/lib/module/chips/index.js.map +1 -0
- package/lib/module/circularProgress/index.js +259 -0
- package/lib/module/circularProgress/index.js.map +1 -0
- package/lib/module/collapsible/Collapse.js +288 -0
- package/lib/module/collapsible/Collapse.js.map +1 -0
- package/lib/module/collapsible/CollapseGroup.js +133 -0
- package/lib/module/collapsible/CollapseGroup.js.map +1 -0
- package/lib/module/collapsible/index.js +40 -0
- package/lib/module/collapsible/index.js.map +1 -0
- package/lib/module/collapsible/interface.js +35 -0
- package/lib/module/collapsible/interface.js.map +1 -0
- package/lib/module/collapsible/style.js +153 -0
- package/lib/module/collapsible/style.js.map +1 -0
- package/lib/module/datePicker/index.js +908 -0
- package/lib/module/datePicker/index.js.map +1 -0
- package/lib/module/dialog/dialogue.js +189 -0
- package/lib/module/dialog/dialogue.js.map +1 -0
- package/lib/module/dialog/index.js +386 -0
- package/lib/module/dialog/index.js.map +1 -0
- package/lib/module/dialog/useDialogue.js +113 -0
- package/lib/module/dialog/useDialogue.js.map +1 -0
- package/lib/module/divider/index.js +34 -0
- package/lib/module/divider/index.js.map +1 -0
- package/lib/module/drawer/Drawer.js +583 -0
- package/lib/module/drawer/Drawer.js.map +1 -0
- package/lib/module/drawer/index.js +60 -0
- package/lib/module/drawer/index.js.map +1 -0
- package/lib/module/drawer/interface.js +80 -0
- package/lib/module/drawer/interface.js.map +1 -0
- package/lib/module/dropdown/index.js +854 -0
- package/lib/module/dropdown/index.js.map +1 -0
- package/lib/module/emptyState/index.js +225 -0
- package/lib/module/emptyState/index.js.map +1 -0
- package/lib/module/form/index.js +2 -0
- package/lib/module/form/index.js.map +1 -0
- package/lib/module/header/index.js +143 -0
- package/lib/module/header/index.js.map +1 -0
- package/lib/module/header/statusBar/index.js +15 -0
- package/lib/module/header/statusBar/index.js.map +1 -0
- package/lib/module/icons/backArrow.js +37 -0
- package/lib/module/icons/backArrow.js.map +1 -0
- package/lib/module/icons/bellFill.js +38 -0
- package/lib/module/icons/bellFill.js.map +1 -0
- package/lib/module/icons/bellOutline.js +38 -0
- package/lib/module/icons/bellOutline.js.map +1 -0
- package/lib/module/icons/checkmark.js +31 -0
- package/lib/module/icons/checkmark.js.map +1 -0
- package/lib/module/icons/delete.js +48 -0
- package/lib/module/icons/delete.js.map +1 -0
- package/lib/module/icons/downChevron.js +31 -0
- package/lib/module/icons/downChevron.js.map +1 -0
- package/lib/module/icons/error.js +36 -0
- package/lib/module/icons/error.js.map +1 -0
- package/lib/module/icons/forwardArrow.js +37 -0
- package/lib/module/icons/forwardArrow.js.map +1 -0
- package/lib/module/icons/index.js +18 -0
- package/lib/module/icons/index.js.map +1 -0
- package/lib/module/icons/info.js +43 -0
- package/lib/module/icons/info.js.map +1 -0
- package/lib/module/icons/leftChevron.js +31 -0
- package/lib/module/icons/leftChevron.js.map +1 -0
- package/lib/module/icons/rightChevron.js +31 -0
- package/lib/module/icons/rightChevron.js.map +1 -0
- package/lib/module/icons/save.js +45 -0
- package/lib/module/icons/save.js.map +1 -0
- package/lib/module/icons/success.js +38 -0
- package/lib/module/icons/success.js.map +1 -0
- package/lib/module/icons/upChevron.js +31 -0
- package/lib/module/icons/upChevron.js.map +1 -0
- package/lib/module/icons/warning.js +43 -0
- package/lib/module/icons/warning.js.map +1 -0
- package/lib/module/image/index.js +43 -0
- package/lib/module/image/index.js.map +1 -0
- package/lib/module/index.js +56 -24
- package/lib/module/index.js.map +1 -1
- package/lib/module/input/index.js +483 -0
- package/lib/module/input/index.js.map +1 -0
- package/lib/module/loading/circular.js +111 -0
- package/lib/module/loading/circular.js.map +1 -0
- package/lib/module/loading/index.js +7 -0
- package/lib/module/loading/index.js.map +1 -0
- package/lib/module/loading/loader.js +242 -0
- package/lib/module/loading/loader.js.map +1 -0
- package/lib/module/loading/spinner.js +85 -0
- package/lib/module/loading/spinner.js.map +1 -0
- package/lib/module/loading/useLoader.js +58 -0
- package/lib/module/loading/useLoader.js.map +1 -0
- package/lib/module/loading/useLoaderBinding.js +28 -0
- package/lib/module/loading/useLoaderBinding.js.map +1 -0
- package/lib/module/notification/index.js +253 -0
- package/lib/module/notification/index.js.map +1 -0
- package/lib/module/notification/useNotification.js +58 -0
- package/lib/module/notification/useNotification.js.map +1 -0
- package/lib/module/page/index.js +17 -0
- package/lib/module/page/index.js.map +1 -0
- package/lib/module/popup/Popup.js +328 -0
- package/lib/module/popup/Popup.js.map +1 -0
- package/lib/module/popup/helpers.js +159 -0
- package/lib/module/popup/helpers.js.map +1 -0
- package/lib/module/popup/index.js +45 -0
- package/lib/module/popup/index.js.map +1 -0
- package/lib/module/popup/interface.js +41 -0
- package/lib/module/popup/interface.js.map +1 -0
- package/lib/module/portal/GlobalPortalProvider.js +62 -0
- package/lib/module/portal/GlobalPortalProvider.js.map +1 -0
- package/lib/module/portal/PortalContext.js +33 -0
- package/lib/module/portal/PortalContext.js.map +1 -0
- package/lib/module/portal/PortalInstance.js +118 -0
- package/lib/module/portal/PortalInstance.js.map +1 -0
- package/lib/module/portal/PortalManager.js +81 -0
- package/lib/module/portal/PortalManager.js.map +1 -0
- package/lib/module/portal/PortalRenderer.js +51 -0
- package/lib/module/portal/PortalRenderer.js.map +1 -0
- package/lib/module/portal/index.js +56 -0
- package/lib/module/portal/index.js.map +1 -0
- package/lib/module/portal/portal.test.js +155 -0
- package/lib/module/portal/portal.test.js.map +1 -0
- package/lib/module/portal/types.js +4 -0
- package/lib/module/portal/types.js.map +1 -0
- package/lib/module/pressable/index.js +15 -0
- package/lib/module/pressable/index.js.map +1 -0
- package/lib/module/progressBar/index.js +506 -0
- package/lib/module/progressBar/index.js.map +1 -0
- package/lib/module/radio/index.js +361 -0
- package/lib/module/radio/index.js.map +1 -0
- package/lib/module/safeAreaProvider/index.js +9 -0
- package/lib/module/safeAreaProvider/index.js.map +1 -0
- package/lib/module/safeAreaView/index.js +11 -0
- package/lib/module/safeAreaView/index.js.map +1 -0
- package/lib/module/scrollView/index.js +11 -0
- package/lib/module/scrollView/index.js.map +1 -0
- package/lib/module/searchBar/index.js +350 -0
- package/lib/module/searchBar/index.js.map +1 -0
- package/lib/module/seperator/index.js +40 -0
- package/lib/module/seperator/index.js.map +1 -0
- package/lib/module/services/index.js +181 -0
- package/lib/module/services/index.js.map +1 -0
- package/lib/module/shape/index.js +33 -0
- package/lib/module/shape/index.js.map +1 -0
- package/lib/module/skeleton/index.js +425 -0
- package/lib/module/skeleton/index.js.map +1 -0
- package/lib/module/slider/index.js +493 -0
- package/lib/module/slider/index.js.map +1 -0
- package/lib/module/spacer/index.js +11 -0
- package/lib/module/spacer/index.js.map +1 -0
- package/lib/module/stack/index.js +50 -0
- package/lib/module/stack/index.js.map +1 -0
- package/lib/module/switch/Switch.js +285 -0
- package/lib/module/switch/Switch.js.map +1 -0
- package/lib/module/switch/_index.js +114 -0
- package/lib/module/switch/_index.js.map +1 -0
- package/lib/module/switch/index.js +64 -0
- package/lib/module/switch/index.js.map +1 -0
- package/lib/module/switch/interface.js +43 -0
- package/lib/module/switch/interface.js.map +1 -0
- package/lib/module/tabBar/TabBar.js +405 -0
- package/lib/module/tabBar/TabBar.js.map +1 -0
- package/lib/module/tabBar/TabBarUsage.js +437 -0
- package/lib/module/tabBar/TabBarUsage.js.map +1 -0
- package/lib/module/tabBar/index.js +54 -0
- package/lib/module/tabBar/index.js.map +1 -0
- package/lib/module/tabBar/interface.js +39 -0
- package/lib/module/tabBar/interface.js.map +1 -0
- package/lib/module/text/index.js +62 -0
- package/lib/module/text/index.js.map +1 -0
- package/lib/module/timeline/index.js +258 -0
- package/lib/module/timeline/index.js.map +1 -0
- package/lib/module/toast/index.js +187 -0
- package/lib/module/toast/index.js.map +1 -0
- package/lib/module/toast/useToast.js +78 -0
- package/lib/module/toast/useToast.js.map +1 -0
- package/lib/module/utiles/createIcon.js +45 -0
- package/lib/module/utiles/createIcon.js.map +1 -0
- package/lib/module/utiles/fontStyles.js +31 -0
- package/lib/module/utiles/fontStyles.js.map +1 -0
- package/lib/module/utiles/position.js +94 -0
- package/lib/module/utiles/position.js.map +1 -0
- package/lib/module/utiles/statusBar.js +401 -0
- package/lib/module/utiles/statusBar.js.map +1 -0
- package/lib/module/utiles/styled.js +37 -0
- package/lib/module/utiles/styled.js.map +1 -0
- package/lib/module/utiles/styles.js +27 -0
- package/lib/module/utiles/styles.js.map +1 -0
- package/lib/module/{package → utiles}/theme.js +305 -17
- package/lib/module/utiles/theme.js.map +1 -0
- package/lib/module/utiles/validators.js +24 -0
- package/lib/module/utiles/validators.js.map +1 -0
- package/lib/module/utiles/viewStyleProps.js +4 -0
- package/lib/module/utiles/viewStyleProps.js.map +1 -0
- package/lib/module/utiles/viewStyleVariants.js +542 -0
- package/lib/module/utiles/viewStyleVariants.js.map +1 -0
- package/lib/typescript/actionSheet/actionSheet.d.ts +82 -0
- package/lib/typescript/actionSheet/actionSheet.d.ts.map +1 -0
- package/lib/typescript/actionSheet/index.d.ts +4 -0
- package/lib/typescript/actionSheet/index.d.ts.map +1 -0
- package/lib/typescript/actionSheet/useActionSheet.d.ts +82 -0
- package/lib/typescript/actionSheet/useActionSheet.d.ts.map +1 -0
- package/lib/typescript/badge/index.d.ts +37 -0
- package/lib/typescript/badge/index.d.ts.map +1 -0
- package/lib/typescript/barChart/index.d.ts +125 -0
- package/lib/typescript/barChart/index.d.ts.map +1 -0
- package/lib/typescript/button/index.d.ts +86 -0
- package/lib/typescript/button/index.d.ts.map +1 -0
- package/lib/typescript/card/index.d.ts +53 -0
- package/lib/typescript/card/index.d.ts.map +1 -0
- package/lib/typescript/checkBox/index.d.ts +28 -0
- package/lib/typescript/checkBox/index.d.ts.map +1 -0
- package/lib/typescript/chips/index.d.ts +104 -0
- package/lib/typescript/chips/index.d.ts.map +1 -0
- package/lib/typescript/circularProgress/index.d.ts +36 -0
- package/lib/typescript/circularProgress/index.d.ts.map +1 -0
- package/lib/typescript/collapsible/Collapse.d.ts +5 -0
- package/lib/typescript/collapsible/Collapse.d.ts.map +1 -0
- package/lib/typescript/collapsible/CollapseGroup.d.ts +49 -0
- package/lib/typescript/collapsible/CollapseGroup.d.ts.map +1 -0
- package/lib/typescript/collapsible/index.d.ts +38 -0
- package/lib/typescript/collapsible/index.d.ts.map +1 -0
- package/lib/typescript/collapsible/interface.d.ts +116 -0
- package/lib/typescript/collapsible/interface.d.ts.map +1 -0
- package/lib/typescript/collapsible/style.d.ts +92 -0
- package/lib/typescript/collapsible/style.d.ts.map +1 -0
- package/lib/typescript/datePicker/index.d.ts +91 -0
- package/lib/typescript/datePicker/index.d.ts.map +1 -0
- package/lib/typescript/dialog/dialogue.d.ts +20 -0
- package/lib/typescript/dialog/dialogue.d.ts.map +1 -0
- package/lib/typescript/dialog/index.d.ts +175 -0
- package/lib/typescript/dialog/index.d.ts.map +1 -0
- package/lib/typescript/dialog/useDialogue.d.ts +21 -0
- package/lib/typescript/dialog/useDialogue.d.ts.map +1 -0
- package/lib/typescript/divider/index.d.ts +12 -0
- package/lib/typescript/divider/index.d.ts.map +1 -0
- package/lib/typescript/drawer/Drawer.d.ts +4 -0
- package/lib/typescript/drawer/Drawer.d.ts.map +1 -0
- package/lib/typescript/drawer/index.d.ts +48 -0
- package/lib/typescript/drawer/index.d.ts.map +1 -0
- package/lib/typescript/drawer/interface.d.ts +232 -0
- package/lib/typescript/drawer/interface.d.ts.map +1 -0
- package/lib/typescript/dropdown/index.d.ts +54 -0
- package/lib/typescript/dropdown/index.d.ts.map +1 -0
- package/lib/typescript/emptyState/index.d.ts +57 -0
- package/lib/typescript/emptyState/index.d.ts.map +1 -0
- package/lib/typescript/form/index.d.ts +1 -0
- package/lib/typescript/form/index.d.ts.map +1 -0
- package/lib/typescript/header/index.d.ts +44 -0
- package/lib/typescript/header/index.d.ts.map +1 -0
- package/lib/typescript/header/statusBar/index.d.ts +6 -0
- package/lib/typescript/header/statusBar/index.d.ts.map +1 -0
- package/lib/typescript/icons/backArrow.d.ts +12 -0
- package/lib/typescript/icons/backArrow.d.ts.map +1 -0
- package/lib/typescript/icons/bellFill.d.ts +12 -0
- package/lib/typescript/icons/bellFill.d.ts.map +1 -0
- package/lib/typescript/icons/bellOutline.d.ts +12 -0
- package/lib/typescript/icons/bellOutline.d.ts.map +1 -0
- package/lib/typescript/icons/checkmark.d.ts +12 -0
- package/lib/typescript/icons/checkmark.d.ts.map +1 -0
- package/lib/typescript/icons/delete.d.ts +12 -0
- package/lib/typescript/icons/delete.d.ts.map +1 -0
- package/lib/typescript/icons/downChevron.d.ts +12 -0
- package/lib/typescript/icons/downChevron.d.ts.map +1 -0
- package/lib/typescript/icons/error.d.ts +12 -0
- package/lib/typescript/icons/error.d.ts.map +1 -0
- package/lib/typescript/icons/forwardArrow.d.ts +12 -0
- package/lib/typescript/icons/forwardArrow.d.ts.map +1 -0
- package/lib/typescript/icons/index.d.ts +16 -0
- package/lib/typescript/icons/index.d.ts.map +1 -0
- package/lib/typescript/icons/info.d.ts +12 -0
- package/lib/typescript/icons/info.d.ts.map +1 -0
- package/lib/typescript/icons/leftChevron.d.ts +12 -0
- package/lib/typescript/icons/leftChevron.d.ts.map +1 -0
- package/lib/typescript/icons/rightChevron.d.ts +12 -0
- package/lib/typescript/icons/rightChevron.d.ts.map +1 -0
- package/lib/typescript/icons/save.d.ts +12 -0
- package/lib/typescript/icons/save.d.ts.map +1 -0
- package/lib/typescript/icons/success.d.ts +12 -0
- package/lib/typescript/icons/success.d.ts.map +1 -0
- package/lib/typescript/icons/upChevron.d.ts +12 -0
- package/lib/typescript/icons/upChevron.d.ts.map +1 -0
- package/lib/typescript/icons/warning.d.ts +12 -0
- package/lib/typescript/icons/warning.d.ts.map +1 -0
- package/lib/typescript/image/index.d.ts +15 -0
- package/lib/typescript/image/index.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +56 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/input/index.d.ts +89 -0
- package/lib/typescript/input/index.d.ts.map +1 -0
- package/lib/typescript/loading/circular.d.ts +10 -0
- package/lib/typescript/loading/circular.d.ts.map +1 -0
- package/lib/typescript/loading/index.d.ts +7 -0
- package/lib/typescript/loading/index.d.ts.map +1 -0
- package/lib/typescript/loading/loader.d.ts +23 -0
- package/lib/typescript/loading/loader.d.ts.map +1 -0
- package/lib/typescript/loading/spinner.d.ts +22 -0
- package/lib/typescript/loading/spinner.d.ts.map +1 -0
- package/lib/typescript/loading/useLoader.d.ts +27 -0
- package/lib/typescript/loading/useLoader.d.ts.map +1 -0
- package/lib/typescript/loading/useLoaderBinding.d.ts +9 -0
- package/lib/typescript/loading/useLoaderBinding.d.ts.map +1 -0
- package/lib/typescript/notification/index.d.ts +21 -0
- package/lib/typescript/notification/index.d.ts.map +1 -0
- package/lib/typescript/notification/useNotification.d.ts +30 -0
- package/lib/typescript/notification/useNotification.d.ts.map +1 -0
- package/lib/typescript/page/index.d.ts +12 -0
- package/lib/typescript/page/index.d.ts.map +1 -0
- package/lib/typescript/popup/Popup.d.ts +4 -0
- package/lib/typescript/popup/Popup.d.ts.map +1 -0
- package/lib/typescript/popup/helpers.d.ts +9 -0
- package/lib/typescript/popup/helpers.d.ts.map +1 -0
- package/lib/typescript/popup/index.d.ts +43 -0
- package/lib/typescript/popup/index.d.ts.map +1 -0
- package/lib/typescript/popup/interface.d.ts +103 -0
- package/lib/typescript/popup/interface.d.ts.map +1 -0
- package/lib/typescript/portal/GlobalPortalProvider.d.ts +44 -0
- package/lib/typescript/portal/GlobalPortalProvider.d.ts.map +1 -0
- package/lib/typescript/portal/PortalContext.d.ts +25 -0
- package/lib/typescript/portal/PortalContext.d.ts.map +1 -0
- package/lib/typescript/portal/PortalInstance.d.ts +72 -0
- package/lib/typescript/portal/PortalInstance.d.ts.map +1 -0
- package/lib/typescript/portal/PortalManager.d.ts +7 -0
- package/lib/typescript/portal/PortalManager.d.ts.map +1 -0
- package/lib/typescript/portal/PortalRenderer.d.ts +27 -0
- package/lib/typescript/portal/PortalRenderer.d.ts.map +1 -0
- package/lib/typescript/portal/index.d.ts +43 -0
- package/lib/typescript/portal/index.d.ts.map +1 -0
- package/lib/typescript/portal/portal.test.d.ts +11 -0
- package/lib/typescript/portal/portal.test.d.ts.map +1 -0
- package/lib/typescript/portal/types.d.ts +30 -0
- package/lib/typescript/portal/types.d.ts.map +1 -0
- package/lib/typescript/pressable/index.d.ts +8 -0
- package/lib/typescript/pressable/index.d.ts.map +1 -0
- package/lib/typescript/progressBar/index.d.ts +155 -0
- package/lib/typescript/progressBar/index.d.ts.map +1 -0
- package/lib/typescript/radio/index.d.ts +144 -0
- package/lib/typescript/radio/index.d.ts.map +1 -0
- package/lib/typescript/safeAreaProvider/index.d.ts +7 -0
- package/lib/typescript/safeAreaProvider/index.d.ts.map +1 -0
- package/lib/typescript/safeAreaView/index.d.ts +8 -0
- package/lib/typescript/safeAreaView/index.d.ts.map +1 -0
- package/lib/typescript/scrollView/index.d.ts +8 -0
- package/lib/typescript/scrollView/index.d.ts.map +1 -0
- package/lib/typescript/searchBar/index.d.ts +70 -0
- package/lib/typescript/searchBar/index.d.ts.map +1 -0
- package/lib/typescript/seperator/index.d.ts +13 -0
- package/lib/typescript/seperator/index.d.ts.map +1 -0
- package/lib/typescript/services/index.d.ts +56 -0
- package/lib/typescript/services/index.d.ts.map +1 -0
- package/lib/typescript/shape/index.d.ts +11 -0
- package/lib/typescript/shape/index.d.ts.map +1 -0
- package/lib/typescript/skeleton/index.d.ts +63 -0
- package/lib/typescript/skeleton/index.d.ts.map +1 -0
- package/lib/typescript/slider/index.d.ts +60 -0
- package/lib/typescript/slider/index.d.ts.map +1 -0
- package/lib/typescript/spacer/index.d.ts +8 -0
- package/lib/typescript/spacer/index.d.ts.map +1 -0
- package/lib/typescript/stack/index.d.ts +24 -0
- package/lib/typescript/stack/index.d.ts.map +1 -0
- package/lib/typescript/switch/Switch.d.ts +6 -0
- package/lib/typescript/switch/Switch.d.ts.map +1 -0
- package/lib/typescript/switch/_index.d.ts +11 -0
- package/lib/typescript/switch/_index.d.ts.map +1 -0
- package/lib/typescript/switch/index.d.ts +62 -0
- package/lib/typescript/switch/index.d.ts.map +1 -0
- package/lib/typescript/switch/interface.d.ts +74 -0
- package/lib/typescript/switch/interface.d.ts.map +1 -0
- package/lib/typescript/tabBar/TabBar.d.ts +5 -0
- package/lib/typescript/tabBar/TabBar.d.ts.map +1 -0
- package/lib/typescript/tabBar/TabBarUsage.d.ts +6 -0
- package/lib/typescript/tabBar/TabBarUsage.d.ts.map +1 -0
- package/lib/typescript/tabBar/index.d.ts +52 -0
- package/lib/typescript/tabBar/index.d.ts.map +1 -0
- package/lib/typescript/tabBar/interface.d.ts +119 -0
- package/lib/typescript/tabBar/interface.d.ts.map +1 -0
- package/lib/typescript/text/index.d.ts +16 -0
- package/lib/typescript/text/index.d.ts.map +1 -0
- package/lib/typescript/timeline/index.d.ts +125 -0
- package/lib/typescript/timeline/index.d.ts.map +1 -0
- package/lib/typescript/toast/index.d.ts +28 -0
- package/lib/typescript/toast/index.d.ts.map +1 -0
- package/lib/typescript/toast/useToast.d.ts +31 -0
- package/lib/typescript/toast/useToast.d.ts.map +1 -0
- package/lib/typescript/utiles/createIcon.d.ts +39 -0
- package/lib/typescript/utiles/createIcon.d.ts.map +1 -0
- package/lib/typescript/utiles/fontStyles.d.ts +9 -0
- package/lib/typescript/utiles/fontStyles.d.ts.map +1 -0
- package/lib/typescript/utiles/position.d.ts +13 -0
- package/lib/typescript/utiles/position.d.ts.map +1 -0
- package/lib/typescript/utiles/statusBar.d.ts +128 -0
- package/lib/typescript/utiles/statusBar.d.ts.map +1 -0
- package/lib/typescript/utiles/styled.d.ts +14 -0
- package/lib/typescript/utiles/styled.d.ts.map +1 -0
- package/lib/typescript/utiles/styles.d.ts +31 -0
- package/lib/typescript/utiles/styles.d.ts.map +1 -0
- package/lib/typescript/utiles/theme.d.ts +918 -0
- package/lib/typescript/utiles/theme.d.ts.map +1 -0
- package/lib/typescript/utiles/validators.d.ts +14 -0
- package/lib/typescript/utiles/validators.d.ts.map +1 -0
- package/lib/typescript/utiles/viewStyleProps.d.ts +4 -0
- package/lib/typescript/utiles/viewStyleProps.d.ts.map +1 -0
- package/lib/typescript/utiles/viewStyleVariants.d.ts +121 -0
- package/lib/typescript/utiles/viewStyleVariants.d.ts.map +1 -0
- package/package.json +146 -52
- package/src/actionSheet/actionSheet.tsx +471 -0
- package/src/actionSheet/index.tsx +3 -0
- package/src/actionSheet/useActionSheet.tsx +140 -0
- package/src/badge/index.tsx +185 -0
- package/src/barChart/index.tsx +386 -0
- package/src/button/index.tsx +335 -0
- package/src/card/index.tsx +220 -0
- package/src/checkBox/index.tsx +137 -0
- package/src/chips/index.tsx +293 -0
- package/src/circularProgress/index.tsx +349 -0
- package/src/collapsible/Collapse.tsx +366 -0
- package/src/collapsible/CollapseGroup.tsx +161 -0
- package/src/collapsible/index.ts +48 -0
- package/src/collapsible/interface.ts +187 -0
- package/src/collapsible/style.ts +130 -0
- package/src/datePicker/index.tsx +961 -0
- package/src/dialog/dialogue.tsx +155 -0
- package/src/dialog/index.tsx +604 -0
- package/src/dialog/useDialogue.tsx +158 -0
- package/src/divider/index.tsx +45 -0
- package/src/drawer/Drawer.tsx +655 -0
- package/src/drawer/index.ts +60 -0
- package/src/drawer/interface.ts +391 -0
- package/src/dropdown/index.tsx +1081 -0
- package/src/emptyState/index.tsx +287 -0
- package/src/form/index.tsx +0 -0
- package/src/header/index.tsx +217 -0
- package/src/header/statusBar/index.tsx +11 -0
- package/src/icons/backArrow.tsx +17 -0
- package/src/icons/bellFill.tsx +19 -0
- package/src/icons/bellOutline.tsx +18 -0
- package/src/icons/checkmark.tsx +18 -0
- package/src/icons/delete.tsx +19 -0
- package/src/icons/downChevron.tsx +18 -0
- package/src/icons/error.tsx +17 -0
- package/src/icons/forwardArrow.tsx +19 -0
- package/src/icons/index.ts +15 -0
- package/src/icons/info.tsx +19 -0
- package/src/icons/leftChevron.tsx +18 -0
- package/src/icons/rightChevron.tsx +18 -0
- package/src/icons/save.tsx +18 -0
- package/src/icons/success.tsx +17 -0
- package/src/icons/upChevron.tsx +18 -0
- package/src/icons/warning.tsx +19 -0
- package/src/image/index.tsx +45 -0
- package/src/index.ts +72 -0
- package/src/input/index.tsx +668 -0
- package/src/loading/circular.tsx +141 -0
- package/src/loading/index.tsx +6 -0
- package/src/loading/loader.tsx +191 -0
- package/src/loading/spinner.tsx +126 -0
- package/src/loading/useLoader.tsx +78 -0
- package/src/loading/useLoaderBinding.tsx +38 -0
- package/src/notification/index.tsx +189 -0
- package/src/notification/useNotification.tsx +64 -0
- package/src/page/index.tsx +19 -0
- package/src/popup/Popup.tsx +398 -0
- package/src/popup/helpers.ts +123 -0
- package/src/popup/index.ts +45 -0
- package/src/popup/interface.ts +178 -0
- package/src/portal/GlobalPortalProvider.tsx +63 -0
- package/src/portal/PortalContext.ts +37 -0
- package/src/portal/PortalInstance.ts +118 -0
- package/src/portal/PortalManager.tsx +84 -0
- package/src/portal/PortalRenderer.tsx +72 -0
- package/src/portal/index.ts +60 -0
- package/src/portal/portal.test.ts +157 -0
- package/src/portal/types.ts +49 -0
- package/src/pressable/index.tsx +19 -0
- package/src/progressBar/index.tsx +564 -0
- package/src/radio/index.tsx +469 -0
- package/src/safeAreaProvider/index.ts +16 -0
- package/src/safeAreaView/index.tsx +17 -0
- package/src/scrollView/index.ts +15 -0
- package/src/searchBar/index.tsx +383 -0
- package/src/seperator/index.tsx +59 -0
- package/src/services/index.ts +149 -0
- package/src/shape/index.tsx +38 -0
- package/src/skeleton/index.tsx +350 -0
- package/src/slider/index.tsx +637 -0
- package/src/spacer/index.ts +29 -0
- package/src/stack/index.ts +58 -0
- package/src/switch/Switch.tsx +343 -0
- package/src/switch/_index.tsx +135 -0
- package/src/switch/index.ts +62 -0
- package/src/switch/interface.ts +120 -0
- package/src/tabBar/TabBar.tsx +503 -0
- package/src/tabBar/TabBarUsage.tsx +366 -0
- package/src/tabBar/index.ts +59 -0
- package/src/tabBar/interface.ts +196 -0
- package/src/text/index.ts +73 -0
- package/src/timeline/index.tsx +374 -0
- package/src/toast/index.tsx +172 -0
- package/src/toast/useToast.tsx +93 -0
- package/src/utiles/createIcon.ts +44 -0
- package/src/utiles/fontStyles.js +31 -0
- package/src/utiles/position.ts +100 -0
- package/src/utiles/statusBar.ts +410 -0
- package/src/utiles/styled.tsx +48 -0
- package/src/utiles/styles.ts +25 -0
- package/src/utiles/theme.ts +727 -0
- package/src/utiles/validators.ts +21 -0
- package/src/utiles/viewStyleProps.ts +41 -0
- package/src/utiles/viewStyleVariants.ts +411 -0
- package/lib/commonjs/assets/img/blank_1.png +0 -0
- package/lib/commonjs/assets/img/blank_2.png +0 -0
- package/lib/commonjs/assets/img/doctor.png +0 -0
- package/lib/commonjs/package/badge/index.js +0 -161
- package/lib/commonjs/package/badge/index.js.map +0 -1
- package/lib/commonjs/package/button/index.js +0 -99
- package/lib/commonjs/package/button/index.js.map +0 -1
- package/lib/commonjs/package/card/index.js +0 -46
- package/lib/commonjs/package/card/index.js.map +0 -1
- package/lib/commonjs/package/checkBox/index.js +0 -97
- package/lib/commonjs/package/checkBox/index.js.map +0 -1
- package/lib/commonjs/package/cycle/index.js +0 -43
- package/lib/commonjs/package/cycle/index.js.map +0 -1
- package/lib/commonjs/package/dialog/index.js +0 -216
- package/lib/commonjs/package/dialog/index.js.map +0 -1
- package/lib/commonjs/package/dropdown/index.js +0 -112
- package/lib/commonjs/package/dropdown/index.js.map +0 -1
- package/lib/commonjs/package/form/index.js +0 -190
- package/lib/commonjs/package/form/index.js.map +0 -1
- package/lib/commonjs/package/header/index.js +0 -99
- package/lib/commonjs/package/header/index.js.map +0 -1
- package/lib/commonjs/package/image/index.js +0 -326
- package/lib/commonjs/package/image/index.js.map +0 -1
- package/lib/commonjs/package/radioButton/index.js +0 -75
- package/lib/commonjs/package/radioButton/index.js.map +0 -1
- package/lib/commonjs/package/safeAreaView/index.js +0 -26
- package/lib/commonjs/package/safeAreaView/index.js.map +0 -1
- package/lib/commonjs/package/scrollView/index.js +0 -23
- package/lib/commonjs/package/scrollView/index.js.map +0 -1
- package/lib/commonjs/package/separator/index.js +0 -33
- package/lib/commonjs/package/separator/index.js.map +0 -1
- package/lib/commonjs/package/spacer/index.js +0 -18
- package/lib/commonjs/package/spacer/index.js.map +0 -1
- package/lib/commonjs/package/spinner/index.js +0 -43
- package/lib/commonjs/package/spinner/index.js.map +0 -1
- package/lib/commonjs/package/stack/__test__/index.test.js +0 -91
- package/lib/commonjs/package/stack/__test__/index.test.js.map +0 -1
- package/lib/commonjs/package/stack/index.js +0 -54
- package/lib/commonjs/package/stack/index.js.map +0 -1
- package/lib/commonjs/package/styled/__test__/index.test.js +0 -161
- package/lib/commonjs/package/styled/__test__/index.test.js.map +0 -1
- package/lib/commonjs/package/styled/index.js +0 -42
- package/lib/commonjs/package/styled/index.js.map +0 -1
- package/lib/commonjs/package/switch/index.js +0 -43
- package/lib/commonjs/package/switch/index.js.map +0 -1
- package/lib/commonjs/package/text/index.js +0 -81
- package/lib/commonjs/package/text/index.js.map +0 -1
- package/lib/commonjs/package/theme.js +0 -385
- package/lib/commonjs/package/theme.js.map +0 -1
- package/lib/commonjs/package/utils/index.js +0 -130
- package/lib/commonjs/package/utils/index.js.map +0 -1
- package/lib/commonjs/package/utils/statusBar.js +0 -70
- package/lib/commonjs/package/utils/statusBar.js.map +0 -1
- package/lib/commonjs/package/utils/validator.js +0 -40
- package/lib/commonjs/package/utils/validator.js.map +0 -1
- package/lib/commonjs/styled.code-workspace +0 -9
- package/lib/module/assets/img/blank_1.png +0 -0
- package/lib/module/assets/img/blank_2.png +0 -0
- package/lib/module/assets/img/doctor.png +0 -0
- package/lib/module/package/badge/index.js +0 -153
- package/lib/module/package/badge/index.js.map +0 -1
- package/lib/module/package/button/index.js +0 -92
- package/lib/module/package/button/index.js.map +0 -1
- package/lib/module/package/card/index.js +0 -39
- package/lib/module/package/card/index.js.map +0 -1
- package/lib/module/package/checkBox/index.js +0 -88
- package/lib/module/package/checkBox/index.js.map +0 -1
- package/lib/module/package/cycle/index.js +0 -36
- package/lib/module/package/cycle/index.js.map +0 -1
- package/lib/module/package/dialog/index.js +0 -206
- package/lib/module/package/dialog/index.js.map +0 -1
- package/lib/module/package/dropdown/index.js +0 -102
- package/lib/module/package/dropdown/index.js.map +0 -1
- package/lib/module/package/form/index.js +0 -182
- package/lib/module/package/form/index.js.map +0 -1
- package/lib/module/package/header/index.js +0 -93
- package/lib/module/package/header/index.js.map +0 -1
- package/lib/module/package/image/index.js +0 -315
- package/lib/module/package/image/index.js.map +0 -1
- package/lib/module/package/radioButton/index.js +0 -66
- package/lib/module/package/radioButton/index.js.map +0 -1
- package/lib/module/package/safeAreaView/index.js +0 -21
- package/lib/module/package/safeAreaView/index.js.map +0 -1
- package/lib/module/package/scrollView/index.js +0 -18
- package/lib/module/package/scrollView/index.js.map +0 -1
- package/lib/module/package/separator/index.js +0 -26
- package/lib/module/package/separator/index.js.map +0 -1
- package/lib/module/package/spacer/index.js +0 -11
- package/lib/module/package/spacer/index.js.map +0 -1
- package/lib/module/package/spinner/index.js +0 -36
- package/lib/module/package/spinner/index.js.map +0 -1
- package/lib/module/package/stack/__test__/index.test.js +0 -89
- package/lib/module/package/stack/__test__/index.test.js.map +0 -1
- package/lib/module/package/stack/index.js +0 -49
- package/lib/module/package/stack/index.js.map +0 -1
- package/lib/module/package/styled/__test__/index.test.js +0 -158
- package/lib/module/package/styled/__test__/index.test.js.map +0 -1
- package/lib/module/package/styled/index.js +0 -35
- package/lib/module/package/styled/index.js.map +0 -1
- package/lib/module/package/switch/index.js +0 -36
- package/lib/module/package/switch/index.js.map +0 -1
- package/lib/module/package/text/index.js +0 -76
- package/lib/module/package/text/index.js.map +0 -1
- package/lib/module/package/theme.js.map +0 -1
- package/lib/module/package/utils/index.js +0 -120
- package/lib/module/package/utils/index.js.map +0 -1
- package/lib/module/package/utils/statusBar.js +0 -57
- package/lib/module/package/utils/statusBar.js.map +0 -1
- package/lib/module/package/utils/validator.js +0 -34
- package/lib/module/package/utils/validator.js.map +0 -1
- package/lib/module/styled.code-workspace +0 -9
- package/src/assets/img/blank_1.png +0 -0
- package/src/assets/img/blank_2.png +0 -0
- package/src/assets/img/doctor.png +0 -0
- package/src/index.js +0 -24
- package/src/package/badge/index.jsx +0 -135
- package/src/package/button/index.jsx +0 -83
- package/src/package/card/index.jsx +0 -52
- package/src/package/checkBox/index.jsx +0 -102
- package/src/package/cycle/index.jsx +0 -49
- package/src/package/dialog/index.jsx +0 -263
- package/src/package/dropdown/index.jsx +0 -101
- package/src/package/form/index.jsx +0 -144
- package/src/package/header/index.jsx +0 -96
- package/src/package/image/index.jsx +0 -300
- package/src/package/radioButton/index.jsx +0 -74
- package/src/package/safeAreaView/index.jsx +0 -20
- package/src/package/scrollView/index.jsx +0 -17
- package/src/package/separator/index.jsx +0 -27
- package/src/package/spacer/index.jsx +0 -13
- package/src/package/spinner/index.jsx +0 -33
- package/src/package/stack/__test__/index.test.js +0 -68
- package/src/package/stack/index.jsx +0 -50
- package/src/package/styled/__test__/index.test.js +0 -132
- package/src/package/styled/index.js +0 -32
- package/src/package/switch/index.jsx +0 -33
- package/src/package/text/index.jsx +0 -67
- package/src/package/theme.js +0 -377
- package/src/package/utils/index.js +0 -109
- package/src/package/utils/statusBar.js +0 -65
- package/src/package/utils/validator.js +0 -38
- package/src/styled.code-workspace +0 -9
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* StyledRadio.tsx
|
|
3
|
+
* ───────────────
|
|
4
|
+
* Production-ready radio button components for fluent-styles.
|
|
5
|
+
*
|
|
6
|
+
* Exports:
|
|
7
|
+
* • StyledRadio — single radio dot (controlled or uncontrolled)
|
|
8
|
+
* • StyledRadioOption — row layout: radio + label + optional right content
|
|
9
|
+
* • StyledRadioCard — full card with border highlight when selected
|
|
10
|
+
* • StyledRadioGroup — manages a list of StyledRadioOptions or StyledRadioCards
|
|
11
|
+
*
|
|
12
|
+
* Variants:
|
|
13
|
+
* • 'list' — vertical rows (billing period, payment method rows)
|
|
14
|
+
* • 'card' — horizontal grid cards (delivery method)
|
|
15
|
+
* • 'boxed' — full-width card with inner row options (billing period card)
|
|
16
|
+
*
|
|
17
|
+
* Sizes: sm | md | lg
|
|
18
|
+
*/
|
|
19
|
+
import React from 'react';
|
|
20
|
+
export type RadioSize = 'sm' | 'md' | 'lg';
|
|
21
|
+
export type RadioVariant = 'list' | 'card' | 'boxed';
|
|
22
|
+
export interface RadioOption<T extends string | number = string> {
|
|
23
|
+
/** Unique value for this option */
|
|
24
|
+
value: T;
|
|
25
|
+
/** Primary label */
|
|
26
|
+
label: string;
|
|
27
|
+
color?: string;
|
|
28
|
+
/** Secondary line below the label */
|
|
29
|
+
subtitle?: string;
|
|
30
|
+
/** Content shown on the right side (price, description, etc.) */
|
|
31
|
+
rightContent?: React.ReactNode;
|
|
32
|
+
/** Leading content (card logo, icon, etc.) */
|
|
33
|
+
leadingContent?: React.ReactNode;
|
|
34
|
+
/** Badge shown inline after the label (e.g. "SAVE 33%") */
|
|
35
|
+
badge?: React.ReactNode;
|
|
36
|
+
/** Disable this specific option */
|
|
37
|
+
disabled?: boolean;
|
|
38
|
+
}
|
|
39
|
+
export interface StyledRadioColors {
|
|
40
|
+
/** Active dot + border colour. Default: theme.colors.gray[900] */
|
|
41
|
+
active?: string;
|
|
42
|
+
/** Inactive ring colour. Default: theme.colors.gray[300] */
|
|
43
|
+
inactive?: string;
|
|
44
|
+
/** Selected card background. Default: transparent tint of `active` */
|
|
45
|
+
selectedCardBg?: string;
|
|
46
|
+
/** Selected card border. Default: `active` */
|
|
47
|
+
selectedCardBorder?: string;
|
|
48
|
+
/** Unselected card border. Default: theme.colors.gray[200] */
|
|
49
|
+
unselectedCardBorder?: string;
|
|
50
|
+
/** Label colour. Default: theme.colors.gray[900] */
|
|
51
|
+
label?: string;
|
|
52
|
+
/** Subtitle colour. Default: theme.colors.gray[400] */
|
|
53
|
+
subtitle?: string;
|
|
54
|
+
}
|
|
55
|
+
export interface StyledRadioGroupProps<T extends string | number = string> {
|
|
56
|
+
/** Array of options to render */
|
|
57
|
+
options: RadioOption<T>[];
|
|
58
|
+
/** Controlled selected value */
|
|
59
|
+
value?: T;
|
|
60
|
+
/** Initial value for uncontrolled mode */
|
|
61
|
+
defaultValue?: T;
|
|
62
|
+
/** Called when selection changes */
|
|
63
|
+
onChange?: (value: T) => void;
|
|
64
|
+
/** Visual layout variant. Default: 'list' */
|
|
65
|
+
variant?: RadioVariant;
|
|
66
|
+
/** Dot size preset. Default: 'md' */
|
|
67
|
+
size?: RadioSize;
|
|
68
|
+
/** Section title shown above the group (for 'boxed' variant) */
|
|
69
|
+
title?: string;
|
|
70
|
+
/** Colour overrides */
|
|
71
|
+
colors?: StyledRadioColors;
|
|
72
|
+
/** Number of columns for 'card' variant. Default: 3 */
|
|
73
|
+
columns?: number;
|
|
74
|
+
/** Gap between card items. Default: 10 */
|
|
75
|
+
gap?: number;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* The raw animated radio dot — use this directly if you need
|
|
79
|
+
* a custom layout, or use StyledRadioGroup for the full component.
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* <StyledRadio selected={isSelected} color="#2563eb" size="md" />
|
|
83
|
+
*/
|
|
84
|
+
export declare const StyledRadio: React.FC<{
|
|
85
|
+
selected: boolean;
|
|
86
|
+
color?: string;
|
|
87
|
+
inactive?: string;
|
|
88
|
+
size?: RadioSize;
|
|
89
|
+
onPress?: () => void;
|
|
90
|
+
disabled?: boolean;
|
|
91
|
+
}>;
|
|
92
|
+
/**
|
|
93
|
+
* StyledRadioGroup — fully managed radio selection group.
|
|
94
|
+
*
|
|
95
|
+
* @example Vertical list (billing period rows)
|
|
96
|
+
* ```tsx
|
|
97
|
+
* <StyledRadioGroup
|
|
98
|
+
* options={[
|
|
99
|
+
* { value: 'monthly', label: 'Monthly', rightContent: <StyledText>$9.99/month</StyledText> },
|
|
100
|
+
* { value: 'yearly', label: 'Yearly', rightContent: <StyledText>$12.99/month</StyledText> },
|
|
101
|
+
* ]}
|
|
102
|
+
* defaultValue="monthly"
|
|
103
|
+
* variant="list"
|
|
104
|
+
* />
|
|
105
|
+
* ```
|
|
106
|
+
*
|
|
107
|
+
* @example Boxed card with title
|
|
108
|
+
* ```tsx
|
|
109
|
+
* <StyledRadioGroup
|
|
110
|
+
* title="Billing Period"
|
|
111
|
+
* options={billingOptions}
|
|
112
|
+
* defaultValue="monthly"
|
|
113
|
+
* variant="boxed"
|
|
114
|
+
* />
|
|
115
|
+
* ```
|
|
116
|
+
*
|
|
117
|
+
* @example Horizontal cards (delivery method)
|
|
118
|
+
* ```tsx
|
|
119
|
+
* <StyledRadioGroup
|
|
120
|
+
* options={deliveryOptions}
|
|
121
|
+
* defaultValue="express"
|
|
122
|
+
* variant="card"
|
|
123
|
+
* columns={3}
|
|
124
|
+
* colors={{ active: '#2563eb', selectedCardBg: '#eff6ff' }}
|
|
125
|
+
* />
|
|
126
|
+
* ```
|
|
127
|
+
*
|
|
128
|
+
* @example Custom colours (blue theme)
|
|
129
|
+
* ```tsx
|
|
130
|
+
* <StyledRadioGroup
|
|
131
|
+
* options={paymentOptions}
|
|
132
|
+
* defaultValue="visa"
|
|
133
|
+
* variant="list"
|
|
134
|
+
* colors={{
|
|
135
|
+
* active: '#2563eb',
|
|
136
|
+
* selectedCardBg: '#eff6ff',
|
|
137
|
+
* selectedCardBorder: '#2563eb',
|
|
138
|
+
* }}
|
|
139
|
+
* />
|
|
140
|
+
* ```
|
|
141
|
+
*/
|
|
142
|
+
export declare function StyledRadioGroup<T extends string | number = string>({ options, value: controlledValue, defaultValue, onChange, variant, size, title, colors: colorsProp, columns, gap, }: StyledRadioGroupProps<T>): React.JSX.Element;
|
|
143
|
+
export default StyledRadioGroup;
|
|
144
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/radio/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAmB,MAAM,OAAO,CAAC;AAcxC,MAAM,MAAM,SAAS,GAAM,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC9C,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAErD,MAAM,WAAW,WAAW,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM;IAC7D,mCAAmC;IACnC,KAAK,EAAE,CAAC,CAAC;IACT,oBAAoB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AAM,CAAC;IACf,uBAAuB;IACvB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,uDAAuD;IACvD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0CAA0C;IAC1C,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAYD;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC;IACjC,QAAQ,EAAG,OAAO,CAAC;IACnB,KAAK,CAAC,EAAK,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAM,SAAS,CAAC;IACrB,OAAO,CAAC,EAAG,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAmDA,CAAC;AAmBF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,EACnE,OAAO,EACP,KAAK,EAAS,eAAe,EAC7B,YAAY,EACZ,QAAQ,EACR,OAAiB,EACjB,IAAe,EACf,KAAK,EACL,MAAM,EAAG,UAAU,EACnB,OAAY,EACZ,GAAa,GACd,EAAE,qBAAqB,CAAC,CAAC,CAAC,qBAiN1B;AAUD,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SafeAreaProviderProps } from 'react-native-safe-area-context';
|
|
3
|
+
type StyledSafeAreaProviderProps = SafeAreaProviderProps;
|
|
4
|
+
declare const StyledSafeAreaProvider: import("react").ForwardRefExoticComponent<SafeAreaProviderProps & import("react").RefAttributes<any>>;
|
|
5
|
+
export { StyledSafeAreaProvider };
|
|
6
|
+
export type { StyledSafeAreaProviderProps };
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/safeAreaProvider/index.ts"],"names":[],"mappings":";AACA,OAAO,EAEH,qBAAqB,EACxB,MAAM,gCAAgC,CAAC;AAGxC,KAAK,2BAA2B,GAAG,qBAAqB,CAAC;AAEzD,QAAA,MAAM,sBAAsB,uGAG1B,CAAC;AAEH,OAAO,EAAE,sBAAsB,EAAE,CAAC;AAClC,YAAY,EAAE,2BAA2B,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SafeAreaViewProps } from 'react-native-safe-area-context';
|
|
3
|
+
import { ViewStyleProps } from '../utiles/viewStyleProps';
|
|
4
|
+
type StyledSafeAreaViewProps = SafeAreaViewProps & ViewStyleProps;
|
|
5
|
+
declare const StyledSafeAreaView: import("react").ForwardRefExoticComponent<import("react-native-safe-area-context").NativeSafeAreaViewProps & ViewStyleProps & import("react").RefAttributes<any>>;
|
|
6
|
+
export { StyledSafeAreaView };
|
|
7
|
+
export type { StyledSafeAreaViewProps };
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/safeAreaView/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAEH,iBAAiB,EACpB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,cAAc,EAAa,MAAM,0BAA0B,CAAC;AAErE,KAAK,uBAAuB,GAAG,iBAAiB,GAAG,cAAc,CAAC;AAElE,QAAA,MAAM,kBAAkB,mKAItB,CAAC;AAEH,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAC9B,YAAY,EAAE,uBAAuB,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ScrollViewProps } from 'react-native';
|
|
3
|
+
import { ViewStyleProps } from '../utiles/viewStyleProps';
|
|
4
|
+
type StyledScrollViewProps = ScrollViewProps & ViewStyleProps;
|
|
5
|
+
declare const StyledScrollView: import("react").ForwardRefExoticComponent<ScrollViewProps & ViewStyleProps & import("react").RefAttributes<any>>;
|
|
6
|
+
export { StyledScrollView };
|
|
7
|
+
export type { StyledScrollViewProps };
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/scrollView/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAc,eAAe,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAa,MAAM,0BAA0B,CAAC;AAErE,KAAK,qBAAqB,GAAG,eAAe,GAAG,cAAc,CAAC;AAE9D,QAAA,MAAM,gBAAgB,kHAIpB,CAAC;AAEH,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,YAAY,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* StyledSearchBar
|
|
3
|
+
*
|
|
4
|
+
* A polished animated search input with:
|
|
5
|
+
* - 4 variants: outline | filled | ghost | floating
|
|
6
|
+
* - 3 sizes: sm | md | lg
|
|
7
|
+
* - Animated focus ring & clear button
|
|
8
|
+
* - Optional left icon / right action slot
|
|
9
|
+
* - Suggestion list with keyboard-aware dismiss
|
|
10
|
+
* - Cancel button (mobile pattern)
|
|
11
|
+
* - Voice / filter button slots
|
|
12
|
+
* - Full colour token overrides
|
|
13
|
+
*
|
|
14
|
+
* Rules:
|
|
15
|
+
* - Uses Stack, StyledText, StyledPressable — no bare View/Text
|
|
16
|
+
* - No StyleSheet.create — flat style props only
|
|
17
|
+
* - All colours from theme.colors / palettes
|
|
18
|
+
* - Children typed as CompatNode
|
|
19
|
+
*/
|
|
20
|
+
import React, { type ReactNode } from 'react';
|
|
21
|
+
import { type TextInputProps } from 'react-native';
|
|
22
|
+
type CompatNode = ReactNode;
|
|
23
|
+
export interface SearchBarColors {
|
|
24
|
+
background: string;
|
|
25
|
+
border: string;
|
|
26
|
+
focusBorder: string;
|
|
27
|
+
placeholder: string;
|
|
28
|
+
text: string;
|
|
29
|
+
icon: string;
|
|
30
|
+
clearBg: string;
|
|
31
|
+
clearIcon: string;
|
|
32
|
+
cancelText: string;
|
|
33
|
+
suggestionBg: string;
|
|
34
|
+
suggestionText: string;
|
|
35
|
+
suggestionBorder: string;
|
|
36
|
+
divider: string;
|
|
37
|
+
}
|
|
38
|
+
export interface SearchSuggestion {
|
|
39
|
+
id: string;
|
|
40
|
+
label: string;
|
|
41
|
+
subtitle?: string;
|
|
42
|
+
icon?: CompatNode;
|
|
43
|
+
}
|
|
44
|
+
export type SearchBarVariant = 'outline' | 'filled' | 'ghost' | 'floating';
|
|
45
|
+
export type SearchBarSize = 'sm' | 'md' | 'lg';
|
|
46
|
+
export interface StyledSearchBarProps extends Omit<TextInputProps, 'style'> {
|
|
47
|
+
variant?: SearchBarVariant;
|
|
48
|
+
size?: SearchBarSize;
|
|
49
|
+
placeholder?: string;
|
|
50
|
+
value?: string;
|
|
51
|
+
onChangeText?: (text: string) => void;
|
|
52
|
+
onSubmit?: (text: string) => void;
|
|
53
|
+
onCancel?: () => void;
|
|
54
|
+
onClear?: () => void;
|
|
55
|
+
showCancel?: boolean;
|
|
56
|
+
cancelLabel?: string;
|
|
57
|
+
leftIcon?: CompatNode;
|
|
58
|
+
rightAction?: CompatNode;
|
|
59
|
+
suggestions?: SearchSuggestion[];
|
|
60
|
+
onSuggestionPress?: (item: SearchSuggestion) => void;
|
|
61
|
+
loading?: boolean;
|
|
62
|
+
disabled?: boolean;
|
|
63
|
+
autoFocus?: boolean;
|
|
64
|
+
colors?: Partial<SearchBarColors>;
|
|
65
|
+
/** borderRadius override */
|
|
66
|
+
borderRadius?: number;
|
|
67
|
+
}
|
|
68
|
+
export declare const StyledSearchBar: React.FC<StyledSearchBarProps>;
|
|
69
|
+
export default StyledSearchBar;
|
|
70
|
+
//# sourceMappingUR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CAAA;IACzB,KAAK,CAAC,EAAa,MAAM,CAAA;IACzB,YAAY,CAAC,EAAM,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,QAAQ,CAAC,EAAU,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,QAAQ,CAAC,EAAU,MAAM,IAAI,CAAA;IAC7B,OAAO,CAAC,EAAW,MAAM,IAAI,CAAA;IAC7B,UAAU,CAAC,EAAQ,OAAO,CAAA;IAC1B,WAAW,CAAC,EAAO,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAU,UAAU,CAAA;IAC7B,WAAW,CAAC,EAAO,UAAU,CAAA;IAC7B,WAAW,CAAC,EAAO,gBAAgB,EAAE,CAAA;IACrC,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAA;IACpD,OAAO,CAAC,EAAW,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAU,OAAO,CAAA;IAC1B,SAAS,CAAC,EAAS,OAAO,CAAA;IAC1B,MAAM,CAAC,EAAY,OAAO,CAAC,eAAe,CAAC,CAAA;IAC3C,4BAA4B;IAC5B,YAAY,CAAC,EAAM,MAAM,CAAA;CAC1B;AAGD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA0Q1D,CAAA;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { StackProps } from "../stack";
|
|
2
|
+
import { StyledText } from "../text";
|
|
3
|
+
import React from "react";
|
|
4
|
+
interface SeperatorProps extends StackProps {
|
|
5
|
+
leftLabel: string;
|
|
6
|
+
leftLabelProps?: React.ComponentProps<typeof StyledText>;
|
|
7
|
+
rightLabel?: string;
|
|
8
|
+
rightLabelProps?: React.ComponentProps<typeof StyledText>;
|
|
9
|
+
}
|
|
10
|
+
declare const StyledSeperator: React.ForwardRefExoticComponent<SeperatorProps & React.RefAttributes<any>>;
|
|
11
|
+
export { StyledSeperator };
|
|
12
|
+
export type { SeperatorProps };
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/seperator/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAS,UAAU,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,cAAe,SAAQ,UAAU;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;IACzD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;CAC7D;AAED,QAAA,MAAM,eAAe,4EAyCpB,CAAC;AAIF,OAAO,EAAE,eAAe,EAAE,CAAC;AAC3B,YAAY,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Imperative portal services — usable from outside the React tree.
|
|
3
|
+
* Prerequisite: wrap your app root with `<GlobalPortalProvider>`.
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { ToastProps } from '../toast';
|
|
7
|
+
import { NotificationProps } from '../notification';
|
|
8
|
+
import { LoaderProps } from '../loading/loader';
|
|
9
|
+
import { DialogueAction, DialogueProps } from '../dialog/dialogue';
|
|
10
|
+
import { ActionSheetProps } from '../actionSheet';
|
|
11
|
+
export type ToastOptions = Omit<ToastProps, 'onDismiss'>;
|
|
12
|
+
export declare const toastService: {
|
|
13
|
+
show: (options: ToastOptions) => number;
|
|
14
|
+
success: (message: string, description?: string) => number;
|
|
15
|
+
error: (message: string, description?: string) => number;
|
|
16
|
+
warning: (message: string, description?: string) => number;
|
|
17
|
+
info: (message: string, description?: string) => number;
|
|
18
|
+
dismiss: (id: number) => void;
|
|
19
|
+
};
|
|
20
|
+
export type NotificationOptions = Omit<NotificationProps, 'onDismiss'>;
|
|
21
|
+
export declare const notificationService: {
|
|
22
|
+
show: (options: NotificationOptions) => number;
|
|
23
|
+
dismiss: (id: number) => void;
|
|
24
|
+
};
|
|
25
|
+
export type LoaderOptions = LoaderProps;
|
|
26
|
+
export declare const loaderService: {
|
|
27
|
+
show: (options?: LoaderOptions) => number;
|
|
28
|
+
hide: (id: number) => void;
|
|
29
|
+
wrap: <T>(fn: () => Promise<T>, options?: LoaderOptions) => Promise<T>;
|
|
30
|
+
};
|
|
31
|
+
export type DialogueOptions = Omit<DialogueProps, 'onDismiss'> & {
|
|
32
|
+
actions?: DialogueAction[];
|
|
33
|
+
};
|
|
34
|
+
export type ConfirmOptions = {
|
|
35
|
+
title: string;
|
|
36
|
+
message?: string;
|
|
37
|
+
icon?: string;
|
|
38
|
+
confirmLabel?: string;
|
|
39
|
+
cancelLabel?: string;
|
|
40
|
+
destructive?: boolean;
|
|
41
|
+
theme?: DialogueProps['theme'];
|
|
42
|
+
colors?: DialogueProps['colors'];
|
|
43
|
+
};
|
|
44
|
+
export declare const dialogueService: {
|
|
45
|
+
show: (options: DialogueOptions) => number;
|
|
46
|
+
dismiss: (id: number) => void;
|
|
47
|
+
confirm: (options: ConfirmOptions) => Promise<boolean>;
|
|
48
|
+
alert: (title: string, message?: string, icon?: string) => Promise<void>;
|
|
49
|
+
};
|
|
50
|
+
export type ActionSheetOptions = Omit<ActionSheetProps, 'onDismiss'>;
|
|
51
|
+
export declare const actionSheetService: {
|
|
52
|
+
show: (options: ActionSheetOptions) => number;
|
|
53
|
+
present: (children: React.ReactNode, options?: Omit<ActionSheetOptions, 'children'>) => number;
|
|
54
|
+
dismiss: (id: number) => void;
|
|
55
|
+
};
|
|
56
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,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AAM,CAAA;IACrB,IAAI,CAAC,EAAU,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAG,MAAM,CAAA;IACrB,WAAW,CAAC,EAAG,OAAO,CAAA;IACtB,KAAK,CAAC,EAAS,aAAa,CAAC,OAAO,CAAC,CAAA;IACrC,MAAM,CAAC,EAAQ,aAAa,CAAC,QAAQ,CAAC,CAAA;CACvC,CAAA;AAiBD,eAAO,MAAM,eAAe;oBACP,eAAe,KAAG,MAAM;kBAC7B,MAAM,KAAG,IAAI;uBACR,cAAc,KAAG,QAAQ,OAAO,CAAC;mBAWrC,MAAM,YAAY,MAAM,SAAS,MAAM,KAAG,QAAQ,IAAI,CAAC;CAIvE,CAAA;AAID,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,gBAAgB,EAAE,WAAW,CAAC,CAAA;AAapE,eAAO,MAAM,kBAAkB;oBACV,kBAAkB,KAAG,MAAM;wBAC1B,MAAM,SAAS,YAAW,KAAK,kBAAkB,EAAE,UAAU,CAAC,KAAQ,MAAM;kBAElF,MAAM,KAAG,IAAI;CAC5B,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ViewProps, ViewStyle } from 'react-native';
|
|
3
|
+
type ShapeVariants = {
|
|
4
|
+
cycle?: boolean | [boolean, ViewStyle];
|
|
5
|
+
size?: string | number | [string | number, ViewStyle];
|
|
6
|
+
};
|
|
7
|
+
type ShapeProps = ShapeVariants & ViewProps & ViewStyle;
|
|
8
|
+
declare const StyleShape: import("react").ForwardRefExoticComponent<ShapeVariants & ViewProps & ViewStyle & import("react").RefAttributes<any>>;
|
|
9
|
+
export { StyleShape };
|
|
10
|
+
export type { ShapeProps };
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shape/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAQ,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG1D,KAAK,aAAa,GAAG;IACjB,KAAK,CAAC,EAAE,OAAO,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;IACvC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,EAAE,SAAS,CAAC,CAAC;CACzD,CAAC;AAEF,KAAK,UAAU,GAAG,aAAa,GAAG,SAAS,GAAG,SAAS,CAAC;AAExD,QAAA,MAAM,UAAU,uHAuBd,CAAC;AAEH,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* StyledSkeleton
|
|
3
|
+
*
|
|
4
|
+
* An animated loading placeholder with:
|
|
5
|
+
* - 2 animation types: shimmer | pulse
|
|
6
|
+
* - Primitive shapes: rect | circle | text | rounded
|
|
7
|
+
* - Pre-built layout templates: card | list-item | profile | article | grid
|
|
8
|
+
* - Composable: nest <Skeleton.Row> / <Skeleton.Group> for custom layouts
|
|
9
|
+
* - Speed + colour token overrides
|
|
10
|
+
*
|
|
11
|
+
* Rules:
|
|
12
|
+
* - Stack / StyledText — no bare View/Text
|
|
13
|
+
* - No StyleSheet.create
|
|
14
|
+
* - Colours from theme.colors / palettes
|
|
15
|
+
* - Children typed as CompatNode
|
|
16
|
+
*/
|
|
17
|
+
import React, { type ReactNode } from 'react';
|
|
18
|
+
import { type ViewStyle } from 'react-native';
|
|
19
|
+
type CompatNode = ReactNode;
|
|
20
|
+
export interface SkeletonColors {
|
|
21
|
+
base: string;
|
|
22
|
+
highlight: string;
|
|
23
|
+
shimmer: string;
|
|
24
|
+
}
|
|
25
|
+
declare const LIGHT_COLORS: SkeletonColors;
|
|
26
|
+
declare const DARK_COLORS: SkeletonColors;
|
|
27
|
+
export type SkeletonAnimation = 'shimmer' | 'pulse' | 'none';
|
|
28
|
+
export type SkeletonShape = 'rect' | 'circle' | 'text' | 'rounded';
|
|
29
|
+
export type SkeletonTemplate = 'card' | 'list-item' | 'profile' | 'article' | 'grid';
|
|
30
|
+
export type SkeletonTheme = 'light' | 'dark';
|
|
31
|
+
export interface StyledSkeletonProps {
|
|
32
|
+
/** Primitive: render a single bone */
|
|
33
|
+
width?: number | `${number}%`;
|
|
34
|
+
height?: number;
|
|
35
|
+
shape?: SkeletonShape;
|
|
36
|
+
borderRadius?: number;
|
|
37
|
+
/** Template: render a composed layout */
|
|
38
|
+
template?: SkeletonTemplate;
|
|
39
|
+
/** Repeat template N times */
|
|
40
|
+
repeat?: number;
|
|
41
|
+
animation?: SkeletonAnimation;
|
|
42
|
+
speed?: number;
|
|
43
|
+
skeletonTheme?: SkeletonTheme;
|
|
44
|
+
colors?: Partial<SkeletonColors>;
|
|
45
|
+
style?: ViewStyle;
|
|
46
|
+
children?: CompatNode;
|
|
47
|
+
}
|
|
48
|
+
interface BoneProps {
|
|
49
|
+
width?: number | string;
|
|
50
|
+
height?: number;
|
|
51
|
+
shape?: SkeletonShape;
|
|
52
|
+
borderRadius?: number;
|
|
53
|
+
colors: SkeletonColors;
|
|
54
|
+
animation: SkeletonAnimation;
|
|
55
|
+
speed: number;
|
|
56
|
+
style?: ViewStyle;
|
|
57
|
+
}
|
|
58
|
+
declare const Bone: React.FC<BoneProps>;
|
|
59
|
+
export declare const StyledSkeleton: React.FC<StyledSkeletonProps>;
|
|
60
|
+
export { Bone as SkeletonBone };
|
|
61
|
+
export { LIGHT_COLORS as SKELETON_LIGHT, DARK_COLORS as SKELETON_DARK };
|
|
62
|
+
export default StyledSkeleton;
|
|
63
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/skeleton/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,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IACjB,KAAK,CAAC,EAAS,MAAM,GAAG,MAAM,CAAA;IAC9B,MAAM,CAAC,EAAQ,MAAM,CAAA;IACrB,KAAK,CAAC,EAAS,aAAa,CAAA;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,MAAM,EAAS,cAAc,CAAA;IAC7B,SAAS,EAAM,iBAAiB,CAAA;IAChC,KAAK,EAAU,MAAM,CAAA;IACrB,KAAK,CAAC,EAAS,SAAS,CAAA;CACzB;AAED,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA6E7B,CAAA;AAsFD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAuDxD,CAAA;AAKD,OAAO,EAAE,IAAI,IAAI,YAAY,EAAE,CAAA;AAC/B,OAAO,EAAE,YAAY,IAAI,cAAc,EAAE,WAAW,IAAI,aAAa,EAAE,CAAA;AACvE,eAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* StyledSlider.tsx
|
|
3
|
+
* ─────────────────
|
|
4
|
+
* Production-ready animated slider component for fluent-styles apps.
|
|
5
|
+
*
|
|
6
|
+
* Variants:
|
|
7
|
+
* • default — single thumb, fill left of thumb
|
|
8
|
+
* • range — two thumbs, fill between them
|
|
9
|
+
* • stepped — snaps to discrete tick marks
|
|
10
|
+
* • gradient — gradient-filled track
|
|
11
|
+
* • buffer — primary thumb + secondary buffer fill (media player style)
|
|
12
|
+
*
|
|
13
|
+
* Tooltip fix (three-layer layout):
|
|
14
|
+
* • Track fill lives in its own overflow:hidden View
|
|
15
|
+
* • Thumbs + tooltips live in a sibling overflow:visible wrapper
|
|
16
|
+
* • SVG <Path> triangle pointer — never clips, always sharp
|
|
17
|
+
* • useNativeDriver: false for tooltipAnim so text colour renders correctly on iOS
|
|
18
|
+
*/
|
|
19
|
+
import React from "react";
|
|
20
|
+
export type SliderVariant = "default" | "range" | "stepped" | "gradient" | "buffer";
|
|
21
|
+
export type SliderSize = "sm" | "md" | "lg";
|
|
22
|
+
export interface StyledSliderColors {
|
|
23
|
+
fill?: string;
|
|
24
|
+
track?: string;
|
|
25
|
+
buffer?: string;
|
|
26
|
+
thumb?: string;
|
|
27
|
+
thumbBorder?: string;
|
|
28
|
+
gradFrom?: string;
|
|
29
|
+
gradTo?: string;
|
|
30
|
+
tooltipBg?: string;
|
|
31
|
+
tooltipText?: string;
|
|
32
|
+
rangeLabel?: string;
|
|
33
|
+
tick?: string;
|
|
34
|
+
tickActive?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface StyledSliderProps {
|
|
37
|
+
value: number;
|
|
38
|
+
valueHigh?: number;
|
|
39
|
+
bufferValue?: number;
|
|
40
|
+
min?: number;
|
|
41
|
+
max?: number;
|
|
42
|
+
step?: number;
|
|
43
|
+
variant?: SliderVariant;
|
|
44
|
+
size?: SliderSize;
|
|
45
|
+
showTooltip?: boolean;
|
|
46
|
+
alwaysShowTooltip?: boolean;
|
|
47
|
+
showMinMax?: boolean;
|
|
48
|
+
steps?: number;
|
|
49
|
+
formatLabel?: (value: number) => string;
|
|
50
|
+
width?: number;
|
|
51
|
+
disabled?: boolean;
|
|
52
|
+
colors?: StyledSliderColors;
|
|
53
|
+
onValueChange?: (value: number) => void;
|
|
54
|
+
onSlidingComplete?: (value: number) => void;
|
|
55
|
+
onRangeChange?: (low: number, high: number) => void;
|
|
56
|
+
onRangeComplete?: (low: number, high: number) => void;
|
|
57
|
+
}
|
|
58
|
+
export declare const StyledSlider: React.FC<StyledSliderProps>;
|
|
59
|
+
export default StyledSlider;
|
|
60
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/slider/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAmD,MAAM,OAAO,CAAC;AAaxE,MAAM,MAAM,aAAa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CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACvD;AAiSD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA6QpD,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ViewProps } from 'react-native';
|
|
3
|
+
import { ViewStyleProps } from '../utiles/viewStyleProps';
|
|
4
|
+
type SpacerProps = ViewProps & (Pick<ViewStyleProps, 'margin' | 'marginTop' | 'marginBottom' | 'marginLeft' | 'marginRight' | 'marginHorizontal' | 'marginVertical' | 'backgroundColor' | 'borderRadius' | 'borderWidth' | 'borderColor' | 'flex' | 'width' | 'height'>);
|
|
5
|
+
declare const StyledSpacer: import("react").ForwardRefExoticComponent<ViewProps & Pick<ViewStyleProps, "flex" | "backgroundColor" | "borderColor" | "borderRadius" | "borderWidth" | "height" | "margin" | "marginBottom" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginTop" | "marginVertical" | "width"> & import("react").RefAttributes<any>>;
|
|
6
|
+
export { StyledSpacer };
|
|
7
|
+
export type { SpacerProps };
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/spacer/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAQ,SAAS,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,cAAc,EAAa,MAAM,0BAA0B,CAAC;AAErE,KAAK,WAAW,GAAI,SAAS,GAAG,CAAC,IAAI,CAAC,cAAc,EAChD,QAAQ,GACR,WAAW,GACX,cAAc,GACd,YAAY,GACZ,aAAa,GACb,kBAAkB,GAClB,gBAAgB,GAChB,iBAAiB,GACjB,cAAc,GACd,aAAa,GACb,aAAa,GACb,MAAM,GACN,OAAO,GACP,QAAQ,CAAC,CAAC,CAAC;AAEf,QAAA,MAAM,YAAY,qUAIhB,CAAC;AAEH,OAAO,EAAG,YAAY,EAAE,CAAC;AACzB,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ViewProps, ViewStyle } from 'react-native';
|
|
3
|
+
/**
|
|
4
|
+
* Stack-specific layout variants for flex direction
|
|
5
|
+
* Supports dual-level customization:
|
|
6
|
+
* - Variant level: horizontal={[true, { gap: 10 }]}
|
|
7
|
+
* - Component level: horizontal={true} gap={15}
|
|
8
|
+
*/
|
|
9
|
+
type StackVariants = {
|
|
10
|
+
horizontal?: boolean | [boolean, ViewStyle];
|
|
11
|
+
vertical?: boolean | [boolean, ViewStyle];
|
|
12
|
+
};
|
|
13
|
+
type StackProps = StackVariants & ViewProps & ViewStyle;
|
|
14
|
+
/**
|
|
15
|
+
* Base Stack component - flexible layout container
|
|
16
|
+
* Default: neutral layout (no flex direction preset)
|
|
17
|
+
* Use horizontal or vertical variants to set flex direction
|
|
18
|
+
*/
|
|
19
|
+
declare const Stack: import("react").ForwardRefExoticComponent<StackVariants & ViewProps & ViewStyle & import("react").RefAttributes<any>>;
|
|
20
|
+
declare const XStack: import("react").ForwardRefExoticComponent<Omit<StackProps, "horizontal" | "vertical"> & import("react").RefAttributes<any>>;
|
|
21
|
+
declare const YStack: import("react").ForwardRefExoticComponent<Omit<StackProps, "horizontal" | "vertical"> & import("react").RefAttributes<any>>;
|
|
22
|
+
export { Stack, XStack, YStack };
|
|
23
|
+
export type { StackProps };
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/stack/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAQ,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG1D;;;;;GAKG;AACH,KAAK,aAAa,GAAG;IACjB,UAAU,CAAC,EAAE,OAAO,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;CAC7C,CAAC;AAEF,KAAK,UAAU,GAAG,aAAa,GAAG,SAAS,GAAG,SAAS,CAAC;AAExD;;;;GAIG;AACH,QAAA,MAAM,KAAK,uHAkBT,CAAC;AAEH,QAAA,MAAM,MAAM,6HAKV,CAAC;AAEH,QAAA,MAAM,MAAM,6HAKV,CAAC;AAEH,OAAO,EAAG,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AAClC,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type SwitchProps } from './interface';
|
|
3
|
+
declare function SwitchInner<ActiveValueT = boolean, InactiveValueT = boolean>(props: SwitchProps<ActiveValueT, InactiveValueT>): React.JSX.Element;
|
|
4
|
+
export declare const Switch: typeof SwitchInner;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=Switch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAA;AAUd,OAAO,EAIL,KAAK,WAAW,EAEjB,MAAM,aAAa,CAAA;AA2CpB,iBAAS,WAAW,CAAC,YAAY,GAAG,OAAO,EAAE,cAAc,GAAG,OAAO,EACnE,KAAK,EAAE,WAAW,CAAC,YAAY,EAAE,cAAc,CAAC,qBAyOjD;AAGD,eAAO,MAAM,MAAM,oBAA0C,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ToggleSwitchProps {
|
|
3
|
+
initialValue?: boolean;
|
|
4
|
+
onToggle?: (value: boolean) => void;
|
|
5
|
+
width?: number;
|
|
6
|
+
height?: number;
|
|
7
|
+
}
|
|
8
|
+
declare function StyledSwitch({ initialValue, onToggle, width, height, }: ToggleSwitchProps): React.JSX.Element;
|
|
9
|
+
export { StyledSwitch };
|
|
10
|
+
export type { ToggleSwitchProps as StyledSwitchProps };
|
|
11
|
+
//# sourceMappingURL=_index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_index.d.ts","sourceRoot":"","sources":["../../../src/switch/_index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAQhD,UAAU,iBAAiB;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AACA,iBAAS,YAAY,CAAC,EACrB,YAAoB,EACpB,QAAQ,EACR,KAAW,EACX,MAAW,GACZ,EAAE,iBAAiB,qBAkFnB;AA8BD,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,YAAY,EAAE,iBAAiB,IAAI,iBAAiB,EAAE,CAAA"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module Switch
|
|
3
|
+
*
|
|
4
|
+
* ─── Basic ───────────────────────────────────────────────────────────────────
|
|
5
|
+
* ```tsx
|
|
6
|
+
* import { Switch } from './switch'
|
|
7
|
+
*
|
|
8
|
+
* // Uncontrolled
|
|
9
|
+
* <Switch defaultValue onChange={v => console.log(v)} />
|
|
10
|
+
*
|
|
11
|
+
* // Controlled
|
|
12
|
+
* <Switch value={isOn} onChange={setIsOn} />
|
|
13
|
+
* ```
|
|
14
|
+
*
|
|
15
|
+
* ─── Sizes ───────────────────────────────────────────────────────────────────
|
|
16
|
+
* ```tsx
|
|
17
|
+
* <Switch size="sm" />
|
|
18
|
+
* <Switch size="md" /> // default
|
|
19
|
+
* <Switch size="lg" />
|
|
20
|
+
* <Switch customSize={40} /> // arbitrary pixel height
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ─── Labels ──────────────────────────────────────────────────────────────────
|
|
24
|
+
* ```tsx
|
|
25
|
+
* <Switch activeLabel="ON" inactiveLabel="OFF" />
|
|
26
|
+
* <Switch activeLabel={<Icon name="check" />} inactiveLabel={<Icon name="x" />} />
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ─── Custom values (non-boolean) ─────────────────────────────────────────────
|
|
30
|
+
* ```tsx
|
|
31
|
+
* <Switch
|
|
32
|
+
* activeValue="yes"
|
|
33
|
+
* inactiveValue="no"
|
|
34
|
+
* defaultValue="no"
|
|
35
|
+
* onChange={(v: 'yes' | 'no') => console.log(v)}
|
|
36
|
+
* />
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* ─── Guard (beforeChange) ────────────────────────────────────────────────────
|
|
40
|
+
* ```tsx
|
|
41
|
+
* <Switch
|
|
42
|
+
* beforeChange={async next => {
|
|
43
|
+
* const ok = await confirmDialog()
|
|
44
|
+
* return ok
|
|
45
|
+
* }}
|
|
46
|
+
* />
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* ─── Colors ──────────────────────────────────────────────────────────────────
|
|
50
|
+
* ```tsx
|
|
51
|
+
* <Switch
|
|
52
|
+
* colors={{ activeTrack: '#22c55e', thumb: '#fff' }}
|
|
53
|
+
* // or per-prop shortcuts:
|
|
54
|
+
* activeColor="#22c55e"
|
|
55
|
+
* inactiveColor="#f4f4f5"
|
|
56
|
+
* />
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
export { Switch } from './Switch';
|
|
60
|
+
export type { SwitchProps, SwitchColors, SwitchSize } from './interface';
|
|
61
|
+
export { SWITCH_COLORS_DEFAULT, SWITCH_SIZES } from './interface';
|
|
62
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/switch/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAgC,UAAU,CAAA;AAC3D,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxE,OAAO,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAa,aAAa,CAAA"}
|