@unif/react-native-design 0.1.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/LICENSE +20 -0
- package/README.md +37 -0
- package/lib/module/components/business/AvatarWithRing/AvatarWithRing.js +70 -0
- package/lib/module/components/business/AvatarWithRing/AvatarWithRing.js.map +1 -0
- package/lib/module/components/business/AvatarWithRing/index.js +4 -0
- package/lib/module/components/business/AvatarWithRing/index.js.map +1 -0
- package/lib/module/components/business/AvatarWithRing/styles.js +64 -0
- package/lib/module/components/business/AvatarWithRing/styles.js.map +1 -0
- package/lib/module/components/business/AvatarWithRing/types.js +4 -0
- package/lib/module/components/business/AvatarWithRing/types.js.map +1 -0
- package/lib/module/components/business/Decorations/GradientWash.js +101 -0
- package/lib/module/components/business/Decorations/GradientWash.js.map +1 -0
- package/lib/module/components/business/Decorations/RadialHalo.js +79 -0
- package/lib/module/components/business/Decorations/RadialHalo.js.map +1 -0
- package/lib/module/components/business/Decorations/ScreenBackdrop.js +131 -0
- package/lib/module/components/business/Decorations/ScreenBackdrop.js.map +1 -0
- package/lib/module/components/business/Decorations/index.js +6 -0
- package/lib/module/components/business/Decorations/index.js.map +1 -0
- package/lib/module/components/business/Decorations/types.js +4 -0
- package/lib/module/components/business/Decorations/types.js.map +1 -0
- package/lib/module/components/business/GlassStats/GlassStats.js +54 -0
- package/lib/module/components/business/GlassStats/GlassStats.js.map +1 -0
- package/lib/module/components/business/GlassStats/index.js +4 -0
- package/lib/module/components/business/GlassStats/index.js.map +1 -0
- package/lib/module/components/business/GlassStats/styles.js +62 -0
- package/lib/module/components/business/GlassStats/styles.js.map +1 -0
- package/lib/module/components/business/GlassStats/types.js +2 -0
- package/lib/module/components/business/GlassStats/types.js.map +1 -0
- package/lib/module/components/business/VersionPill/VersionPill.js +38 -0
- package/lib/module/components/business/VersionPill/VersionPill.js.map +1 -0
- package/lib/module/components/business/VersionPill/index.js +4 -0
- package/lib/module/components/business/VersionPill/index.js.map +1 -0
- package/lib/module/components/business/VersionPill/styles.js +41 -0
- package/lib/module/components/business/VersionPill/styles.js.map +1 -0
- package/lib/module/components/business/VersionPill/types.js +4 -0
- package/lib/module/components/business/VersionPill/types.js.map +1 -0
- package/lib/module/components/business/index.js +12 -0
- package/lib/module/components/business/index.js.map +1 -0
- package/lib/module/components/index.js +5 -0
- package/lib/module/components/index.js.map +1 -0
- package/lib/module/components/ui/Avatar/Avatar.js +58 -0
- package/lib/module/components/ui/Avatar/Avatar.js.map +1 -0
- package/lib/module/components/ui/Avatar/index.js +4 -0
- package/lib/module/components/ui/Avatar/index.js.map +1 -0
- package/lib/module/components/ui/Avatar/styles.js +79 -0
- package/lib/module/components/ui/Avatar/styles.js.map +1 -0
- package/lib/module/components/ui/Avatar/types.js +4 -0
- package/lib/module/components/ui/Avatar/types.js.map +1 -0
- package/lib/module/components/ui/BlurLayer/BlurLayer.js +41 -0
- package/lib/module/components/ui/BlurLayer/BlurLayer.js.map +1 -0
- package/lib/module/components/ui/BlurLayer/BlurLayer.web.js +40 -0
- package/lib/module/components/ui/BlurLayer/BlurLayer.web.js.map +1 -0
- package/lib/module/components/ui/BlurLayer/index.js +4 -0
- package/lib/module/components/ui/BlurLayer/index.js.map +1 -0
- package/lib/module/components/ui/BlurLayer/types.js +4 -0
- package/lib/module/components/ui/BlurLayer/types.js.map +1 -0
- package/lib/module/components/ui/BottomSheet/BottomSheet.js +104 -0
- package/lib/module/components/ui/BottomSheet/BottomSheet.js.map +1 -0
- package/lib/module/components/ui/BottomSheet/index.js +4 -0
- package/lib/module/components/ui/BottomSheet/index.js.map +1 -0
- package/lib/module/components/ui/BottomSheet/styles.js +26 -0
- package/lib/module/components/ui/BottomSheet/styles.js.map +1 -0
- package/lib/module/components/ui/BottomSheet/types.js +4 -0
- package/lib/module/components/ui/BottomSheet/types.js.map +1 -0
- package/lib/module/components/ui/Button/Button.js +65 -0
- package/lib/module/components/ui/Button/Button.js.map +1 -0
- package/lib/module/components/ui/Button/ButtonBase.js +69 -0
- package/lib/module/components/ui/Button/ButtonBase.js.map +1 -0
- package/lib/module/components/ui/Button/index.js +4 -0
- package/lib/module/components/ui/Button/index.js.map +1 -0
- package/lib/module/components/ui/Button/styles.js +97 -0
- package/lib/module/components/ui/Button/styles.js.map +1 -0
- package/lib/module/components/ui/Button/types.js +4 -0
- package/lib/module/components/ui/Button/types.js.map +1 -0
- package/lib/module/components/ui/Card/Card.js +34 -0
- package/lib/module/components/ui/Card/Card.js.map +1 -0
- package/lib/module/components/ui/Card/index.js +4 -0
- package/lib/module/components/ui/Card/index.js.map +1 -0
- package/lib/module/components/ui/Card/styles.js +28 -0
- package/lib/module/components/ui/Card/styles.js.map +1 -0
- package/lib/module/components/ui/Card/types.js +4 -0
- package/lib/module/components/ui/Card/types.js.map +1 -0
- package/lib/module/components/ui/Carousel/Carousel.js +90 -0
- package/lib/module/components/ui/Carousel/Carousel.js.map +1 -0
- package/lib/module/components/ui/Carousel/index.js +4 -0
- package/lib/module/components/ui/Carousel/index.js.map +1 -0
- package/lib/module/components/ui/Carousel/styles.js +42 -0
- package/lib/module/components/ui/Carousel/styles.js.map +1 -0
- package/lib/module/components/ui/Carousel/types.js +4 -0
- package/lib/module/components/ui/Carousel/types.js.map +1 -0
- package/lib/module/components/ui/Cell/Cell.js +94 -0
- package/lib/module/components/ui/Cell/Cell.js.map +1 -0
- package/lib/module/components/ui/Cell/Leading.js +49 -0
- package/lib/module/components/ui/Cell/Leading.js.map +1 -0
- package/lib/module/components/ui/Cell/List.js +47 -0
- package/lib/module/components/ui/Cell/List.js.map +1 -0
- package/lib/module/components/ui/Cell/context.js +11 -0
- package/lib/module/components/ui/Cell/context.js.map +1 -0
- package/lib/module/components/ui/Cell/index.js +5 -0
- package/lib/module/components/ui/Cell/index.js.map +1 -0
- package/lib/module/components/ui/Cell/styles.js +85 -0
- package/lib/module/components/ui/Cell/styles.js.map +1 -0
- package/lib/module/components/ui/Cell/types.js +4 -0
- package/lib/module/components/ui/Cell/types.js.map +1 -0
- package/lib/module/components/ui/Checkbox/Checkbox.js +62 -0
- package/lib/module/components/ui/Checkbox/Checkbox.js.map +1 -0
- package/lib/module/components/ui/Checkbox/index.js +4 -0
- package/lib/module/components/ui/Checkbox/index.js.map +1 -0
- package/lib/module/components/ui/Checkbox/styles.js +26 -0
- package/lib/module/components/ui/Checkbox/styles.js.map +1 -0
- package/lib/module/components/ui/Checkbox/types.js +2 -0
- package/lib/module/components/ui/Checkbox/types.js.map +1 -0
- package/lib/module/components/ui/Chip/Chip.js +59 -0
- package/lib/module/components/ui/Chip/Chip.js.map +1 -0
- package/lib/module/components/ui/Chip/index.js +4 -0
- package/lib/module/components/ui/Chip/index.js.map +1 -0
- package/lib/module/components/ui/Chip/styles.js +31 -0
- package/lib/module/components/ui/Chip/styles.js.map +1 -0
- package/lib/module/components/ui/Chip/types.js +4 -0
- package/lib/module/components/ui/Chip/types.js.map +1 -0
- package/lib/module/components/ui/Confirm/ConfirmHost.js +111 -0
- package/lib/module/components/ui/Confirm/ConfirmHost.js.map +1 -0
- package/lib/module/components/ui/Confirm/confirm.js +51 -0
- package/lib/module/components/ui/Confirm/confirm.js.map +1 -0
- package/lib/module/components/ui/Confirm/index.js +5 -0
- package/lib/module/components/ui/Confirm/index.js.map +1 -0
- package/lib/module/components/ui/Confirm/styles.js +35 -0
- package/lib/module/components/ui/Confirm/styles.js.map +1 -0
- package/lib/module/components/ui/Confirm/types.js +2 -0
- package/lib/module/components/ui/Confirm/types.js.map +1 -0
- package/lib/module/components/ui/DrawerHeader/DrawerHeader.js +56 -0
- package/lib/module/components/ui/DrawerHeader/DrawerHeader.js.map +1 -0
- package/lib/module/components/ui/DrawerHeader/index.js +4 -0
- package/lib/module/components/ui/DrawerHeader/index.js.map +1 -0
- package/lib/module/components/ui/DrawerHeader/styles.js +44 -0
- package/lib/module/components/ui/DrawerHeader/styles.js.map +1 -0
- package/lib/module/components/ui/DrawerHeader/types.js +4 -0
- package/lib/module/components/ui/DrawerHeader/types.js.map +1 -0
- package/lib/module/components/ui/Empty/Empty.js +38 -0
- package/lib/module/components/ui/Empty/Empty.js.map +1 -0
- package/lib/module/components/ui/Empty/index.js +4 -0
- package/lib/module/components/ui/Empty/index.js.map +1 -0
- package/lib/module/components/ui/Empty/styles.js +31 -0
- package/lib/module/components/ui/Empty/styles.js.map +1 -0
- package/lib/module/components/ui/Empty/types.js +2 -0
- package/lib/module/components/ui/Empty/types.js.map +1 -0
- package/lib/module/components/ui/EntryCard/EntryCard.js +61 -0
- package/lib/module/components/ui/EntryCard/EntryCard.js.map +1 -0
- package/lib/module/components/ui/EntryCard/index.js +4 -0
- package/lib/module/components/ui/EntryCard/index.js.map +1 -0
- package/lib/module/components/ui/EntryCard/styles.js +45 -0
- package/lib/module/components/ui/EntryCard/styles.js.map +1 -0
- package/lib/module/components/ui/EntryCard/types.js +4 -0
- package/lib/module/components/ui/EntryCard/types.js.map +1 -0
- package/lib/module/components/ui/Form/Form.js +22 -0
- package/lib/module/components/ui/Form/Form.js.map +1 -0
- package/lib/module/components/ui/Form/FormGroup.js +41 -0
- package/lib/module/components/ui/Form/FormGroup.js.map +1 -0
- package/lib/module/components/ui/Form/FormRow.js +41 -0
- package/lib/module/components/ui/Form/FormRow.js.map +1 -0
- package/lib/module/components/ui/Form/index.js +6 -0
- package/lib/module/components/ui/Form/index.js.map +1 -0
- package/lib/module/components/ui/Form/styles.js +58 -0
- package/lib/module/components/ui/Form/styles.js.map +1 -0
- package/lib/module/components/ui/Form/types.js +4 -0
- package/lib/module/components/ui/Form/types.js.map +1 -0
- package/lib/module/components/ui/Grid/Grid.js +75 -0
- package/lib/module/components/ui/Grid/Grid.js.map +1 -0
- package/lib/module/components/ui/Grid/index.js +4 -0
- package/lib/module/components/ui/Grid/index.js.map +1 -0
- package/lib/module/components/ui/Grid/styles.js +93 -0
- package/lib/module/components/ui/Grid/styles.js.map +1 -0
- package/lib/module/components/ui/Grid/types.js +4 -0
- package/lib/module/components/ui/Grid/types.js.map +1 -0
- package/lib/module/components/ui/Icon/Icon.js +81 -0
- package/lib/module/components/ui/Icon/Icon.js.map +1 -0
- package/lib/module/components/ui/Icon/index.js +4 -0
- package/lib/module/components/ui/Icon/index.js.map +1 -0
- package/lib/module/components/ui/Icon/types.js +4 -0
- package/lib/module/components/ui/Icon/types.js.map +1 -0
- package/lib/module/components/ui/IconButton/IconButton.js +48 -0
- package/lib/module/components/ui/IconButton/IconButton.js.map +1 -0
- package/lib/module/components/ui/IconButton/index.js +4 -0
- package/lib/module/components/ui/IconButton/index.js.map +1 -0
- package/lib/module/components/ui/IconButton/types.js +4 -0
- package/lib/module/components/ui/IconButton/types.js.map +1 -0
- package/lib/module/components/ui/Input/Input.js +24 -0
- package/lib/module/components/ui/Input/Input.js.map +1 -0
- package/lib/module/components/ui/Input/index.js +4 -0
- package/lib/module/components/ui/Input/index.js.map +1 -0
- package/lib/module/components/ui/Input/types.js +4 -0
- package/lib/module/components/ui/Input/types.js.map +1 -0
- package/lib/module/components/ui/Logo/Logo.js +38 -0
- package/lib/module/components/ui/Logo/Logo.js.map +1 -0
- package/lib/module/components/ui/Logo/index.js +4 -0
- package/lib/module/components/ui/Logo/index.js.map +1 -0
- package/lib/module/components/ui/Logo/types.js +4 -0
- package/lib/module/components/ui/Logo/types.js.map +1 -0
- package/lib/module/components/ui/NavBar/NavBar.js +72 -0
- package/lib/module/components/ui/NavBar/NavBar.js.map +1 -0
- package/lib/module/components/ui/NavBar/index.js +4 -0
- package/lib/module/components/ui/NavBar/index.js.map +1 -0
- package/lib/module/components/ui/NavBar/isSlot.js +10 -0
- package/lib/module/components/ui/NavBar/isSlot.js.map +1 -0
- package/lib/module/components/ui/NavBar/styles.js +49 -0
- package/lib/module/components/ui/NavBar/styles.js.map +1 -0
- package/lib/module/components/ui/NavBar/types.js +4 -0
- package/lib/module/components/ui/NavBar/types.js.map +1 -0
- package/lib/module/components/ui/PasswordInput/PasswordInput.js +50 -0
- package/lib/module/components/ui/PasswordInput/PasswordInput.js.map +1 -0
- package/lib/module/components/ui/PasswordInput/index.js +4 -0
- package/lib/module/components/ui/PasswordInput/index.js.map +1 -0
- package/lib/module/components/ui/PasswordInput/styles.js +12 -0
- package/lib/module/components/ui/PasswordInput/styles.js.map +1 -0
- package/lib/module/components/ui/PasswordInput/types.js +4 -0
- package/lib/module/components/ui/PasswordInput/types.js.map +1 -0
- package/lib/module/components/ui/Pulse/Pulse.js +19 -0
- package/lib/module/components/ui/Pulse/Pulse.js.map +1 -0
- package/lib/module/components/ui/Pulse/PulseDot.js +37 -0
- package/lib/module/components/ui/Pulse/PulseDot.js.map +1 -0
- package/lib/module/components/ui/Pulse/index.js +6 -0
- package/lib/module/components/ui/Pulse/index.js.map +1 -0
- package/lib/module/components/ui/Pulse/types.js +2 -0
- package/lib/module/components/ui/Pulse/types.js.map +1 -0
- package/lib/module/components/ui/Pulse/usePulse.js +31 -0
- package/lib/module/components/ui/Pulse/usePulse.js.map +1 -0
- package/lib/module/components/ui/Radio/Radio.js +62 -0
- package/lib/module/components/ui/Radio/Radio.js.map +1 -0
- package/lib/module/components/ui/Radio/RadioContext.js +5 -0
- package/lib/module/components/ui/Radio/RadioContext.js.map +1 -0
- package/lib/module/components/ui/Radio/RadioGroup.js +37 -0
- package/lib/module/components/ui/Radio/RadioGroup.js.map +1 -0
- package/lib/module/components/ui/Radio/index.js +4 -0
- package/lib/module/components/ui/Radio/index.js.map +1 -0
- package/lib/module/components/ui/Radio/styles.js +36 -0
- package/lib/module/components/ui/Radio/styles.js.map +1 -0
- package/lib/module/components/ui/Radio/types.js +4 -0
- package/lib/module/components/ui/Radio/types.js.map +1 -0
- package/lib/module/components/ui/Search/Search.js +55 -0
- package/lib/module/components/ui/Search/Search.js.map +1 -0
- package/lib/module/components/ui/Search/index.js +4 -0
- package/lib/module/components/ui/Search/index.js.map +1 -0
- package/lib/module/components/ui/Search/types.js +4 -0
- package/lib/module/components/ui/Search/types.js.map +1 -0
- package/lib/module/components/ui/Segmented/Segmented.js +63 -0
- package/lib/module/components/ui/Segmented/Segmented.js.map +1 -0
- package/lib/module/components/ui/Segmented/index.js +4 -0
- package/lib/module/components/ui/Segmented/index.js.map +1 -0
- package/lib/module/components/ui/Segmented/styles.js +24 -0
- package/lib/module/components/ui/Segmented/styles.js.map +1 -0
- package/lib/module/components/ui/Segmented/types.js +4 -0
- package/lib/module/components/ui/Segmented/types.js.map +1 -0
- package/lib/module/components/ui/Skeleton/Skeleton.js +65 -0
- package/lib/module/components/ui/Skeleton/Skeleton.js.map +1 -0
- package/lib/module/components/ui/Skeleton/index.js +4 -0
- package/lib/module/components/ui/Skeleton/index.js.map +1 -0
- package/lib/module/components/ui/Skeleton/types.js +4 -0
- package/lib/module/components/ui/Skeleton/types.js.map +1 -0
- package/lib/module/components/ui/Spinner/Spinner.js +53 -0
- package/lib/module/components/ui/Spinner/Spinner.js.map +1 -0
- package/lib/module/components/ui/Spinner/index.js +4 -0
- package/lib/module/components/ui/Spinner/index.js.map +1 -0
- package/lib/module/components/ui/Spinner/types.js +4 -0
- package/lib/module/components/ui/Spinner/types.js.map +1 -0
- package/lib/module/components/ui/StatusDot/StatusDot.js +42 -0
- package/lib/module/components/ui/StatusDot/StatusDot.js.map +1 -0
- package/lib/module/components/ui/StatusDot/index.js +4 -0
- package/lib/module/components/ui/StatusDot/index.js.map +1 -0
- package/lib/module/components/ui/StatusDot/styles.js +40 -0
- package/lib/module/components/ui/StatusDot/styles.js.map +1 -0
- package/lib/module/components/ui/StatusDot/types.js +2 -0
- package/lib/module/components/ui/StatusDot/types.js.map +1 -0
- package/lib/module/components/ui/Stepper/Stepper.js +112 -0
- package/lib/module/components/ui/Stepper/Stepper.js.map +1 -0
- package/lib/module/components/ui/Stepper/index.js +4 -0
- package/lib/module/components/ui/Stepper/index.js.map +1 -0
- package/lib/module/components/ui/Stepper/styles.js +67 -0
- package/lib/module/components/ui/Stepper/styles.js.map +1 -0
- package/lib/module/components/ui/Stepper/types.js +2 -0
- package/lib/module/components/ui/Stepper/types.js.map +1 -0
- package/lib/module/components/ui/Switch/Switch.js +66 -0
- package/lib/module/components/ui/Switch/Switch.js.map +1 -0
- package/lib/module/components/ui/Switch/index.js +4 -0
- package/lib/module/components/ui/Switch/index.js.map +1 -0
- package/lib/module/components/ui/Switch/styles.js +31 -0
- package/lib/module/components/ui/Switch/styles.js.map +1 -0
- package/lib/module/components/ui/Switch/types.js +2 -0
- package/lib/module/components/ui/Switch/types.js.map +1 -0
- package/lib/module/components/ui/TabBar/TabBar.js +67 -0
- package/lib/module/components/ui/TabBar/TabBar.js.map +1 -0
- package/lib/module/components/ui/TabBar/index.js +4 -0
- package/lib/module/components/ui/TabBar/index.js.map +1 -0
- package/lib/module/components/ui/TabBar/styles.js +43 -0
- package/lib/module/components/ui/TabBar/styles.js.map +1 -0
- package/lib/module/components/ui/TabBar/types.js +4 -0
- package/lib/module/components/ui/TabBar/types.js.map +1 -0
- package/lib/module/components/ui/Tabs/Tabs.js +55 -0
- package/lib/module/components/ui/Tabs/Tabs.js.map +1 -0
- package/lib/module/components/ui/Tabs/index.js +4 -0
- package/lib/module/components/ui/Tabs/index.js.map +1 -0
- package/lib/module/components/ui/Tabs/styles.js +30 -0
- package/lib/module/components/ui/Tabs/styles.js.map +1 -0
- package/lib/module/components/ui/Tabs/types.js +2 -0
- package/lib/module/components/ui/Tabs/types.js.map +1 -0
- package/lib/module/components/ui/Tag/Tag.js +39 -0
- package/lib/module/components/ui/Tag/Tag.js.map +1 -0
- package/lib/module/components/ui/Tag/index.js +4 -0
- package/lib/module/components/ui/Tag/index.js.map +1 -0
- package/lib/module/components/ui/Tag/styles.js +79 -0
- package/lib/module/components/ui/Tag/styles.js.map +1 -0
- package/lib/module/components/ui/Tag/types.js +4 -0
- package/lib/module/components/ui/Tag/types.js.map +1 -0
- package/lib/module/components/ui/TextField/TextFieldBase.js +98 -0
- package/lib/module/components/ui/TextField/TextFieldBase.js.map +1 -0
- package/lib/module/components/ui/TextField/styles.js +61 -0
- package/lib/module/components/ui/TextField/styles.js.map +1 -0
- package/lib/module/components/ui/TextField/types.js +4 -0
- package/lib/module/components/ui/TextField/types.js.map +1 -0
- package/lib/module/components/ui/Textarea/Textarea.js +26 -0
- package/lib/module/components/ui/Textarea/Textarea.js.map +1 -0
- package/lib/module/components/ui/Textarea/index.js +4 -0
- package/lib/module/components/ui/Textarea/index.js.map +1 -0
- package/lib/module/components/ui/Textarea/types.js +4 -0
- package/lib/module/components/ui/Textarea/types.js.map +1 -0
- package/lib/module/components/ui/Thumbnail/Thumbnail.js +40 -0
- package/lib/module/components/ui/Thumbnail/Thumbnail.js.map +1 -0
- package/lib/module/components/ui/Thumbnail/index.js +4 -0
- package/lib/module/components/ui/Thumbnail/index.js.map +1 -0
- package/lib/module/components/ui/Thumbnail/styles.js +38 -0
- package/lib/module/components/ui/Thumbnail/styles.js.map +1 -0
- package/lib/module/components/ui/Thumbnail/types.js +4 -0
- package/lib/module/components/ui/Thumbnail/types.js.map +1 -0
- package/lib/module/components/ui/Toast/ToastHost.js +85 -0
- package/lib/module/components/ui/Toast/ToastHost.js.map +1 -0
- package/lib/module/components/ui/Toast/index.js +5 -0
- package/lib/module/components/ui/Toast/index.js.map +1 -0
- package/lib/module/components/ui/Toast/styles.js +53 -0
- package/lib/module/components/ui/Toast/styles.js.map +1 -0
- package/lib/module/components/ui/Toast/toast.js +39 -0
- package/lib/module/components/ui/Toast/toast.js.map +1 -0
- package/lib/module/components/ui/Toast/types.js +2 -0
- package/lib/module/components/ui/Toast/types.js.map +1 -0
- package/lib/module/components/ui/index.js +39 -0
- package/lib/module/components/ui/index.js.map +1 -0
- package/lib/module/icons/data.js +1614 -0
- package/lib/module/icons/data.js.map +1 -0
- package/lib/module/icons/index.js +5 -0
- package/lib/module/icons/index.js.map +1 -0
- package/lib/module/icons/svg/alert.svg +1 -0
- package/lib/module/icons/svg/app-fallback.svg +1 -0
- package/lib/module/icons/svg/arrow-down.svg +1 -0
- package/lib/module/icons/svg/arrow-left.svg +1 -0
- package/lib/module/icons/svg/arrow-right.svg +1 -0
- package/lib/module/icons/svg/arrow-up.svg +1 -0
- package/lib/module/icons/svg/attachment.svg +1 -0
- package/lib/module/icons/svg/bag-check.svg +1 -0
- package/lib/module/icons/svg/bell.svg +1 -0
- package/lib/module/icons/svg/bot.svg +1 -0
- package/lib/module/icons/svg/box-list.svg +1 -0
- package/lib/module/icons/svg/box-up.svg +1 -0
- package/lib/module/icons/svg/building.svg +1 -0
- package/lib/module/icons/svg/calculator.svg +1 -0
- package/lib/module/icons/svg/calendar-route.svg +1 -0
- package/lib/module/icons/svg/calendar.svg +1 -0
- package/lib/module/icons/svg/camera.svg +1 -0
- package/lib/module/icons/svg/card.svg +1 -0
- package/lib/module/icons/svg/chat-star.svg +1 -0
- package/lib/module/icons/svg/check.svg +1 -0
- package/lib/module/icons/svg/chevron-down.svg +1 -0
- package/lib/module/icons/svg/chevron-left.svg +1 -0
- package/lib/module/icons/svg/chevron-right.svg +1 -0
- package/lib/module/icons/svg/chevron-up.svg +1 -0
- package/lib/module/icons/svg/circle-minus.svg +1 -0
- package/lib/module/icons/svg/circle-plus.svg +1 -0
- package/lib/module/icons/svg/clipboard-search.svg +1 -0
- package/lib/module/icons/svg/clipboard-user.svg +1 -0
- package/lib/module/icons/svg/clipboard.svg +1 -0
- package/lib/module/icons/svg/close.svg +1 -0
- package/lib/module/icons/svg/coin.svg +1 -0
- package/lib/module/icons/svg/copy.svg +1 -0
- package/lib/module/icons/svg/dashboard-megaphone.svg +1 -0
- package/lib/module/icons/svg/dashboard-star.svg +1 -0
- package/lib/module/icons/svg/download.svg +1 -0
- package/lib/module/icons/svg/edit-pencil.svg +1 -0
- package/lib/module/icons/svg/edit.svg +1 -0
- package/lib/module/icons/svg/error.svg +1 -0
- package/lib/module/icons/svg/eye-off.svg +1 -0
- package/lib/module/icons/svg/eye.svg +1 -0
- package/lib/module/icons/svg/file.svg +1 -0
- package/lib/module/icons/svg/filter.svg +1 -0
- package/lib/module/icons/svg/flag.svg +1 -0
- package/lib/module/icons/svg/grid.svg +1 -0
- package/lib/module/icons/svg/heart.svg +1 -0
- package/lib/module/icons/svg/home.svg +1 -0
- package/lib/module/icons/svg/image.svg +1 -0
- package/lib/module/icons/svg/info.svg +1 -0
- package/lib/module/icons/svg/keyboard.svg +1 -0
- package/lib/module/icons/svg/lightbulb.svg +1 -0
- package/lib/module/icons/svg/list.svg +1 -0
- package/lib/module/icons/svg/location.svg +1 -0
- package/lib/module/icons/svg/lock.svg +1 -0
- package/lib/module/icons/svg/logout.svg +1 -0
- package/lib/module/icons/svg/mail.svg +1 -0
- package/lib/module/icons/svg/menu.svg +1 -0
- package/lib/module/icons/svg/mic-on.svg +1 -0
- package/lib/module/icons/svg/mic.svg +1 -0
- package/lib/module/icons/svg/more-h.svg +1 -0
- package/lib/module/icons/svg/more-v.svg +1 -0
- package/lib/module/icons/svg/order.svg +1 -0
- package/lib/module/icons/svg/package.svg +1 -0
- package/lib/module/icons/svg/paperclip.svg +1 -0
- package/lib/module/icons/svg/pause.svg +1 -0
- package/lib/module/icons/svg/phone.svg +1 -0
- package/lib/module/icons/svg/pin-search.svg +1 -0
- package/lib/module/icons/svg/play.svg +1 -0
- package/lib/module/icons/svg/plus.svg +1 -0
- package/lib/module/icons/svg/qr.svg +1 -0
- package/lib/module/icons/svg/refresh.svg +1 -0
- package/lib/module/icons/svg/retry.svg +1 -0
- package/lib/module/icons/svg/route.svg +1 -0
- package/lib/module/icons/svg/scan.svg +1 -0
- package/lib/module/icons/svg/scanner.svg +1 -0
- package/lib/module/icons/svg/search.svg +1 -0
- package/lib/module/icons/svg/send.svg +1 -0
- package/lib/module/icons/svg/settings.svg +1 -0
- package/lib/module/icons/svg/share.svg +1 -0
- package/lib/module/icons/svg/shelf-pay.svg +1 -0
- package/lib/module/icons/svg/shield-check.svg +1 -0
- package/lib/module/icons/svg/sort.svg +1 -0
- package/lib/module/icons/svg/sound.svg +1 -0
- package/lib/module/icons/svg/spark.svg +1 -0
- package/lib/module/icons/svg/star.svg +1 -0
- package/lib/module/icons/svg/stop.svg +1 -0
- package/lib/module/icons/svg/storefront-ai.svg +1 -0
- package/lib/module/icons/svg/storefront-arrow.svg +1 -0
- package/lib/module/icons/svg/storefront-check.svg +1 -0
- package/lib/module/icons/svg/storefront-tag.svg +1 -0
- package/lib/module/icons/svg/storefront.svg +1 -0
- package/lib/module/icons/svg/success.svg +1 -0
- package/lib/module/icons/svg/tag.svg +1 -0
- package/lib/module/icons/svg/thinking.svg +1 -0
- package/lib/module/icons/svg/trash.svg +1 -0
- package/lib/module/icons/svg/upload.svg +1 -0
- package/lib/module/icons/svg/user.svg +1 -0
- package/lib/module/icons/svg/users-search.svg +1 -0
- package/lib/module/icons/svg/visit.svg +1 -0
- package/lib/module/icons/svg/warning.svg +1 -0
- package/lib/module/icons/types.js +2 -0
- package/lib/module/icons/types.js.map +1 -0
- package/lib/module/index.js +9 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/theme/ThemeProvider.js +28 -0
- package/lib/module/theme/ThemeProvider.js.map +1 -0
- package/lib/module/theme/blur.js +12 -0
- package/lib/module/theme/blur.js.map +1 -0
- package/lib/module/theme/colors.js +176 -0
- package/lib/module/theme/colors.js.map +1 -0
- package/lib/module/theme/index.js +12 -0
- package/lib/module/theme/index.js.map +1 -0
- package/lib/module/theme/palettes.js +26 -0
- package/lib/module/theme/palettes.js.map +1 -0
- package/lib/module/theme/scale.js +22 -0
- package/lib/module/theme/scale.js.map +1 -0
- package/lib/module/theme/shadow.js +229 -0
- package/lib/module/theme/shadow.js.map +1 -0
- package/lib/module/theme/tokens.js +118 -0
- package/lib/module/theme/tokens.js.map +1 -0
- package/lib/module/theme/useTheme.js +22 -0
- package/lib/module/theme/useTheme.js.map +1 -0
- package/lib/module/theme/useThemedStyles.js +23 -0
- package/lib/module/theme/useThemedStyles.js.map +1 -0
- package/lib/module/utils/logger/index.js +5 -0
- package/lib/module/utils/logger/index.js.map +1 -0
- package/lib/module/utils/logger/logger.js +52 -0
- package/lib/module/utils/logger/logger.js.map +1 -0
- package/lib/module/utils/logger/transports/console.js +23 -0
- package/lib/module/utils/logger/transports/console.js.map +1 -0
- package/lib/module/utils/logger/types.js +2 -0
- package/lib/module/utils/logger/types.js.map +1 -0
- package/lib/module/utils/testID/index.js +4 -0
- package/lib/module/utils/testID/index.js.map +1 -0
- package/lib/module/utils/testID/testID.js +22 -0
- package/lib/module/utils/testID/testID.js.map +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/components/business/AvatarWithRing/AvatarWithRing.d.ts +11 -0
- package/lib/typescript/src/components/business/AvatarWithRing/AvatarWithRing.d.ts.map +1 -0
- package/lib/typescript/src/components/business/AvatarWithRing/index.d.ts +3 -0
- package/lib/typescript/src/components/business/AvatarWithRing/index.d.ts.map +1 -0
- package/lib/typescript/src/components/business/AvatarWithRing/styles.d.ts +202 -0
- package/lib/typescript/src/components/business/AvatarWithRing/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/business/AvatarWithRing/types.d.ts +15 -0
- package/lib/typescript/src/components/business/AvatarWithRing/types.d.ts.map +1 -0
- package/lib/typescript/src/components/business/Decorations/GradientWash.d.ts +4 -0
- package/lib/typescript/src/components/business/Decorations/GradientWash.d.ts.map +1 -0
- package/lib/typescript/src/components/business/Decorations/RadialHalo.d.ts +12 -0
- package/lib/typescript/src/components/business/Decorations/RadialHalo.d.ts.map +1 -0
- package/lib/typescript/src/components/business/Decorations/ScreenBackdrop.d.ts +22 -0
- package/lib/typescript/src/components/business/Decorations/ScreenBackdrop.d.ts.map +1 -0
- package/lib/typescript/src/components/business/Decorations/index.d.ts +5 -0
- package/lib/typescript/src/components/business/Decorations/index.d.ts.map +1 -0
- package/lib/typescript/src/components/business/Decorations/types.d.ts +100 -0
- package/lib/typescript/src/components/business/Decorations/types.d.ts.map +1 -0
- package/lib/typescript/src/components/business/GlassStats/GlassStats.d.ts +10 -0
- package/lib/typescript/src/components/business/GlassStats/GlassStats.d.ts.map +1 -0
- package/lib/typescript/src/components/business/GlassStats/index.d.ts +3 -0
- package/lib/typescript/src/components/business/GlassStats/index.d.ts.map +1 -0
- package/lib/typescript/src/components/business/GlassStats/styles.d.ts +66 -0
- package/lib/typescript/src/components/business/GlassStats/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/business/GlassStats/types.d.ts +7 -0
- package/lib/typescript/src/components/business/GlassStats/types.d.ts.map +1 -0
- package/lib/typescript/src/components/business/VersionPill/VersionPill.d.ts +5 -0
- package/lib/typescript/src/components/business/VersionPill/VersionPill.d.ts.map +1 -0
- package/lib/typescript/src/components/business/VersionPill/index.d.ts +3 -0
- package/lib/typescript/src/components/business/VersionPill/index.d.ts.map +1 -0
- package/lib/typescript/src/components/business/VersionPill/styles.d.ts +37 -0
- package/lib/typescript/src/components/business/VersionPill/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/business/VersionPill/types.d.ts +12 -0
- package/lib/typescript/src/components/business/VersionPill/types.d.ts.map +1 -0
- package/lib/typescript/src/components/business/index.d.ts +9 -0
- package/lib/typescript/src/components/business/index.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +3 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Avatar/Avatar.d.ts +10 -0
- package/lib/typescript/src/components/ui/Avatar/Avatar.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Avatar/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Avatar/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Avatar/styles.d.ts +30 -0
- package/lib/typescript/src/components/ui/Avatar/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Avatar/types.d.ts +30 -0
- package/lib/typescript/src/components/ui/Avatar/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/BlurLayer/BlurLayer.d.ts +10 -0
- package/lib/typescript/src/components/ui/BlurLayer/BlurLayer.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/BlurLayer/BlurLayer.web.d.ts +12 -0
- package/lib/typescript/src/components/ui/BlurLayer/BlurLayer.web.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/BlurLayer/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/BlurLayer/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/BlurLayer/types.d.ts +15 -0
- package/lib/typescript/src/components/ui/BlurLayer/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/BottomSheet/BottomSheet.d.ts +4 -0
- package/lib/typescript/src/components/ui/BottomSheet/BottomSheet.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/BottomSheet/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/BottomSheet/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/BottomSheet/styles.d.ts +23 -0
- package/lib/typescript/src/components/ui/BottomSheet/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/BottomSheet/types.d.ts +26 -0
- package/lib/typescript/src/components/ui/BottomSheet/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Button/Button.d.ts +11 -0
- package/lib/typescript/src/components/ui/Button/Button.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Button/ButtonBase.d.ts +27 -0
- package/lib/typescript/src/components/ui/Button/ButtonBase.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Button/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Button/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Button/styles.d.ts +22 -0
- package/lib/typescript/src/components/ui/Button/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Button/types.d.ts +67 -0
- package/lib/typescript/src/components/ui/Button/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Card/Card.d.ts +4 -0
- package/lib/typescript/src/components/ui/Card/Card.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Card/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Card/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Card/styles.d.ts +18 -0
- package/lib/typescript/src/components/ui/Card/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Card/types.d.ts +40 -0
- package/lib/typescript/src/components/ui/Card/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Carousel/Carousel.d.ts +13 -0
- package/lib/typescript/src/components/ui/Carousel/Carousel.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Carousel/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Carousel/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Carousel/styles.d.ts +37 -0
- package/lib/typescript/src/components/ui/Carousel/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Carousel/types.d.ts +34 -0
- package/lib/typescript/src/components/ui/Carousel/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Cell/Cell.d.ts +11 -0
- package/lib/typescript/src/components/ui/Cell/Cell.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Cell/Leading.d.ts +7 -0
- package/lib/typescript/src/components/ui/Cell/Leading.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Cell/List.d.ts +10 -0
- package/lib/typescript/src/components/ui/Cell/List.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Cell/context.d.ts +7 -0
- package/lib/typescript/src/components/ui/Cell/context.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Cell/index.d.ts +4 -0
- package/lib/typescript/src/components/ui/Cell/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Cell/styles.d.ts +82 -0
- package/lib/typescript/src/components/ui/Cell/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Cell/types.d.ts +52 -0
- package/lib/typescript/src/components/ui/Cell/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Checkbox/Checkbox.d.ts +11 -0
- package/lib/typescript/src/components/ui/Checkbox/Checkbox.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Checkbox/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Checkbox/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Checkbox/styles.d.ts +23 -0
- package/lib/typescript/src/components/ui/Checkbox/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Checkbox/types.d.ts +15 -0
- package/lib/typescript/src/components/ui/Checkbox/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Chip/Chip.d.ts +12 -0
- package/lib/typescript/src/components/ui/Chip/Chip.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Chip/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Chip/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Chip/styles.d.ts +28 -0
- package/lib/typescript/src/components/ui/Chip/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Chip/types.d.ts +15 -0
- package/lib/typescript/src/components/ui/Chip/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Confirm/ConfirmHost.d.ts +9 -0
- package/lib/typescript/src/components/ui/Confirm/ConfirmHost.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Confirm/confirm.d.ts +20 -0
- package/lib/typescript/src/components/ui/Confirm/confirm.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Confirm/index.d.ts +4 -0
- package/lib/typescript/src/components/ui/Confirm/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Confirm/styles.d.ts +32 -0
- package/lib/typescript/src/components/ui/Confirm/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Confirm/types.d.ts +21 -0
- package/lib/typescript/src/components/ui/Confirm/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/DrawerHeader/DrawerHeader.d.ts +8 -0
- package/lib/typescript/src/components/ui/DrawerHeader/DrawerHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/DrawerHeader/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/DrawerHeader/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/DrawerHeader/styles.d.ts +41 -0
- package/lib/typescript/src/components/ui/DrawerHeader/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/DrawerHeader/types.d.ts +12 -0
- package/lib/typescript/src/components/ui/DrawerHeader/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Empty/Empty.d.ts +7 -0
- package/lib/typescript/src/components/ui/Empty/Empty.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Empty/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Empty/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Empty/styles.d.ts +28 -0
- package/lib/typescript/src/components/ui/Empty/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Empty/types.d.ts +9 -0
- package/lib/typescript/src/components/ui/Empty/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/EntryCard/EntryCard.d.ts +6 -0
- package/lib/typescript/src/components/ui/EntryCard/EntryCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/EntryCard/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/EntryCard/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/EntryCard/styles.d.ts +40 -0
- package/lib/typescript/src/components/ui/EntryCard/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/EntryCard/types.d.ts +17 -0
- package/lib/typescript/src/components/ui/EntryCard/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Form/Form.d.ts +7 -0
- package/lib/typescript/src/components/ui/Form/Form.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Form/FormGroup.d.ts +11 -0
- package/lib/typescript/src/components/ui/Form/FormGroup.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Form/FormRow.d.ts +7 -0
- package/lib/typescript/src/components/ui/Form/FormRow.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Form/index.d.ts +5 -0
- package/lib/typescript/src/components/ui/Form/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Form/styles.d.ts +55 -0
- package/lib/typescript/src/components/ui/Form/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Form/types.d.ts +28 -0
- package/lib/typescript/src/components/ui/Form/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Grid/Grid.d.ts +10 -0
- package/lib/typescript/src/components/ui/Grid/Grid.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Grid/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Grid/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Grid/styles.d.ts +51 -0
- package/lib/typescript/src/components/ui/Grid/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Grid/types.d.ts +24 -0
- package/lib/typescript/src/components/ui/Grid/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Icon/Icon.d.ts +4 -0
- package/lib/typescript/src/components/ui/Icon/Icon.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Icon/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Icon/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Icon/types.d.ts +14 -0
- package/lib/typescript/src/components/ui/Icon/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/IconButton/IconButton.d.ts +13 -0
- package/lib/typescript/src/components/ui/IconButton/IconButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/IconButton/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/IconButton/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/IconButton/types.d.ts +28 -0
- package/lib/typescript/src/components/ui/IconButton/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Input/Input.d.ts +391 -0
- package/lib/typescript/src/components/ui/Input/Input.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Input/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Input/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Input/types.d.ts +28 -0
- package/lib/typescript/src/components/ui/Input/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Logo/Logo.d.ts +10 -0
- package/lib/typescript/src/components/ui/Logo/Logo.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Logo/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Logo/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Logo/types.d.ts +13 -0
- package/lib/typescript/src/components/ui/Logo/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/NavBar/NavBar.d.ts +3 -0
- package/lib/typescript/src/components/ui/NavBar/NavBar.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/NavBar/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/NavBar/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/NavBar/isSlot.d.ts +7 -0
- package/lib/typescript/src/components/ui/NavBar/isSlot.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/NavBar/styles.d.ts +44 -0
- package/lib/typescript/src/components/ui/NavBar/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/NavBar/types.d.ts +30 -0
- package/lib/typescript/src/components/ui/NavBar/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/PasswordInput/PasswordInput.d.ts +8 -0
- package/lib/typescript/src/components/ui/PasswordInput/PasswordInput.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/PasswordInput/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/PasswordInput/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/PasswordInput/styles.d.ts +7 -0
- package/lib/typescript/src/components/ui/PasswordInput/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/PasswordInput/types.d.ts +12 -0
- package/lib/typescript/src/components/ui/PasswordInput/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Pulse/Pulse.d.ts +6 -0
- package/lib/typescript/src/components/ui/Pulse/Pulse.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Pulse/PulseDot.d.ts +4 -0
- package/lib/typescript/src/components/ui/Pulse/PulseDot.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Pulse/index.d.ts +5 -0
- package/lib/typescript/src/components/ui/Pulse/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Pulse/types.d.ts +21 -0
- package/lib/typescript/src/components/ui/Pulse/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Pulse/usePulse.d.ts +9 -0
- package/lib/typescript/src/components/ui/Pulse/usePulse.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Radio/Radio.d.ts +11 -0
- package/lib/typescript/src/components/ui/Radio/Radio.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Radio/RadioContext.d.ts +3 -0
- package/lib/typescript/src/components/ui/Radio/RadioContext.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Radio/RadioGroup.d.ts +12 -0
- package/lib/typescript/src/components/ui/Radio/RadioGroup.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Radio/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Radio/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Radio/styles.d.ts +33 -0
- package/lib/typescript/src/components/ui/Radio/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Radio/types.d.ts +35 -0
- package/lib/typescript/src/components/ui/Radio/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Search/Search.d.ts +217 -0
- package/lib/typescript/src/components/ui/Search/Search.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Search/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Search/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Search/types.d.ts +8 -0
- package/lib/typescript/src/components/ui/Search/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Segmented/Segmented.d.ts +10 -0
- package/lib/typescript/src/components/ui/Segmented/Segmented.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Segmented/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Segmented/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Segmented/styles.d.ts +21 -0
- package/lib/typescript/src/components/ui/Segmented/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Segmented/types.d.ts +10 -0
- package/lib/typescript/src/components/ui/Segmented/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Skeleton/Skeleton.d.ts +15 -0
- package/lib/typescript/src/components/ui/Skeleton/Skeleton.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Skeleton/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Skeleton/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Skeleton/types.d.ts +21 -0
- package/lib/typescript/src/components/ui/Skeleton/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Spinner/Spinner.d.ts +3 -0
- package/lib/typescript/src/components/ui/Spinner/Spinner.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Spinner/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Spinner/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Spinner/types.d.ts +14 -0
- package/lib/typescript/src/components/ui/Spinner/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/StatusDot/StatusDot.d.ts +8 -0
- package/lib/typescript/src/components/ui/StatusDot/StatusDot.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/StatusDot/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/StatusDot/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/StatusDot/styles.d.ts +22 -0
- package/lib/typescript/src/components/ui/StatusDot/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/StatusDot/types.d.ts +14 -0
- package/lib/typescript/src/components/ui/StatusDot/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Stepper/Stepper.d.ts +11 -0
- package/lib/typescript/src/components/ui/Stepper/Stepper.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Stepper/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Stepper/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Stepper/styles.d.ts +52 -0
- package/lib/typescript/src/components/ui/Stepper/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Stepper/types.d.ts +21 -0
- package/lib/typescript/src/components/ui/Stepper/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Switch/Switch.d.ts +10 -0
- package/lib/typescript/src/components/ui/Switch/Switch.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Switch/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Switch/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Switch/styles.d.ts +28 -0
- package/lib/typescript/src/components/ui/Switch/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Switch/types.d.ts +9 -0
- package/lib/typescript/src/components/ui/Switch/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/TabBar/TabBar.d.ts +9 -0
- package/lib/typescript/src/components/ui/TabBar/TabBar.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/TabBar/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/TabBar/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/TabBar/styles.d.ts +40 -0
- package/lib/typescript/src/components/ui/TabBar/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/TabBar/types.d.ts +18 -0
- package/lib/typescript/src/components/ui/TabBar/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Tabs/Tabs.d.ts +8 -0
- package/lib/typescript/src/components/ui/Tabs/Tabs.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Tabs/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Tabs/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Tabs/styles.d.ts +27 -0
- package/lib/typescript/src/components/ui/Tabs/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Tabs/types.d.ts +19 -0
- package/lib/typescript/src/components/ui/Tabs/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Tag/Tag.d.ts +3 -0
- package/lib/typescript/src/components/ui/Tag/Tag.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Tag/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Tag/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Tag/styles.d.ts +33 -0
- package/lib/typescript/src/components/ui/Tag/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Tag/types.d.ts +25 -0
- package/lib/typescript/src/components/ui/Tag/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/TextField/TextFieldBase.d.ts +402 -0
- package/lib/typescript/src/components/ui/TextField/TextFieldBase.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/TextField/styles.d.ts +57 -0
- package/lib/typescript/src/components/ui/TextField/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/TextField/types.d.ts +27 -0
- package/lib/typescript/src/components/ui/TextField/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Textarea/Textarea.d.ts +394 -0
- package/lib/typescript/src/components/ui/Textarea/Textarea.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Textarea/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Textarea/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Textarea/types.d.ts +25 -0
- package/lib/typescript/src/components/ui/Textarea/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Thumbnail/Thumbnail.d.ts +13 -0
- package/lib/typescript/src/components/ui/Thumbnail/Thumbnail.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Thumbnail/index.d.ts +3 -0
- package/lib/typescript/src/components/ui/Thumbnail/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Thumbnail/styles.d.ts +16 -0
- package/lib/typescript/src/components/ui/Thumbnail/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Thumbnail/types.d.ts +23 -0
- package/lib/typescript/src/components/ui/Thumbnail/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Toast/ToastHost.d.ts +8 -0
- package/lib/typescript/src/components/ui/Toast/ToastHost.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Toast/index.d.ts +4 -0
- package/lib/typescript/src/components/ui/Toast/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Toast/styles.d.ts +37 -0
- package/lib/typescript/src/components/ui/Toast/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Toast/toast.d.ts +21 -0
- package/lib/typescript/src/components/ui/Toast/toast.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Toast/types.d.ts +32 -0
- package/lib/typescript/src/components/ui/Toast/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/index.d.ts +73 -0
- package/lib/typescript/src/components/ui/index.d.ts.map +1 -0
- package/lib/typescript/src/icons/data.d.ts +5 -0
- package/lib/typescript/src/icons/data.d.ts.map +1 -0
- package/lib/typescript/src/icons/index.d.ts +3 -0
- package/lib/typescript/src/icons/index.d.ts.map +1 -0
- package/lib/typescript/src/icons/types.d.ts +26 -0
- package/lib/typescript/src/icons/types.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +7 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/theme/ThemeProvider.d.ts +18 -0
- package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/src/theme/blur.d.ts +11 -0
- package/lib/typescript/src/theme/blur.d.ts.map +1 -0
- package/lib/typescript/src/theme/colors.d.ts +91 -0
- package/lib/typescript/src/theme/colors.d.ts.map +1 -0
- package/lib/typescript/src/theme/index.d.ts +15 -0
- package/lib/typescript/src/theme/index.d.ts.map +1 -0
- package/lib/typescript/src/theme/palettes.d.ts +23 -0
- package/lib/typescript/src/theme/palettes.d.ts.map +1 -0
- package/lib/typescript/src/theme/scale.d.ts +6 -0
- package/lib/typescript/src/theme/scale.d.ts.map +1 -0
- package/lib/typescript/src/theme/shadow.d.ts +149 -0
- package/lib/typescript/src/theme/shadow.d.ts.map +1 -0
- package/lib/typescript/src/theme/tokens.d.ts +102 -0
- package/lib/typescript/src/theme/tokens.d.ts.map +1 -0
- package/lib/typescript/src/theme/useTheme.d.ts +5 -0
- package/lib/typescript/src/theme/useTheme.d.ts.map +1 -0
- package/lib/typescript/src/theme/useThemedStyles.d.ts +19 -0
- package/lib/typescript/src/theme/useThemedStyles.d.ts.map +1 -0
- package/lib/typescript/src/utils/logger/index.d.ts +4 -0
- package/lib/typescript/src/utils/logger/index.d.ts.map +1 -0
- package/lib/typescript/src/utils/logger/logger.d.ts +7 -0
- package/lib/typescript/src/utils/logger/logger.d.ts.map +1 -0
- package/lib/typescript/src/utils/logger/transports/console.d.ts +3 -0
- package/lib/typescript/src/utils/logger/transports/console.d.ts.map +1 -0
- package/lib/typescript/src/utils/logger/types.d.ts +19 -0
- package/lib/typescript/src/utils/logger/types.d.ts.map +1 -0
- package/lib/typescript/src/utils/testID/index.d.ts +2 -0
- package/lib/typescript/src/utils/testID/index.d.ts.map +1 -0
- package/lib/typescript/src/utils/testID/testID.d.ts +17 -0
- package/lib/typescript/src/utils/testID/testID.d.ts.map +1 -0
- package/package.json +179 -0
- package/src/components/business/AvatarWithRing/AvatarWithRing.tsx +59 -0
- package/src/components/business/AvatarWithRing/index.ts +2 -0
- package/src/components/business/AvatarWithRing/styles.ts +61 -0
- package/src/components/business/AvatarWithRing/types.ts +15 -0
- package/src/components/business/Decorations/GradientWash.tsx +81 -0
- package/src/components/business/Decorations/RadialHalo.tsx +74 -0
- package/src/components/business/Decorations/ScreenBackdrop.tsx +122 -0
- package/src/components/business/Decorations/index.ts +10 -0
- package/src/components/business/Decorations/types.ts +103 -0
- package/src/components/business/GlassStats/GlassStats.tsx +39 -0
- package/src/components/business/GlassStats/index.ts +2 -0
- package/src/components/business/GlassStats/styles.ts +58 -0
- package/src/components/business/GlassStats/types.ts +7 -0
- package/src/components/business/VersionPill/VersionPill.tsx +29 -0
- package/src/components/business/VersionPill/index.ts +2 -0
- package/src/components/business/VersionPill/styles.ts +46 -0
- package/src/components/business/VersionPill/types.ts +12 -0
- package/src/components/business/index.ts +22 -0
- package/src/components/index.ts +2 -0
- package/src/components/ui/Avatar/Avatar.tsx +69 -0
- package/src/components/ui/Avatar/index.ts +2 -0
- package/src/components/ui/Avatar/styles.ts +54 -0
- package/src/components/ui/Avatar/types.ts +32 -0
- package/src/components/ui/BlurLayer/BlurLayer.tsx +44 -0
- package/src/components/ui/BlurLayer/BlurLayer.web.tsx +40 -0
- package/src/components/ui/BlurLayer/index.ts +2 -0
- package/src/components/ui/BlurLayer/types.ts +15 -0
- package/src/components/ui/BottomSheet/BottomSheet.tsx +117 -0
- package/src/components/ui/BottomSheet/index.ts +2 -0
- package/src/components/ui/BottomSheet/styles.ts +20 -0
- package/src/components/ui/BottomSheet/types.ts +26 -0
- package/src/components/ui/Button/Button.tsx +61 -0
- package/src/components/ui/Button/ButtonBase.tsx +100 -0
- package/src/components/ui/Button/index.ts +2 -0
- package/src/components/ui/Button/styles.ts +89 -0
- package/src/components/ui/Button/types.ts +79 -0
- package/src/components/ui/Card/Card.tsx +39 -0
- package/src/components/ui/Card/index.ts +2 -0
- package/src/components/ui/Card/styles.ts +33 -0
- package/src/components/ui/Card/types.ts +41 -0
- package/src/components/ui/Carousel/Carousel.tsx +95 -0
- package/src/components/ui/Carousel/index.ts +2 -0
- package/src/components/ui/Carousel/styles.ts +41 -0
- package/src/components/ui/Carousel/types.ts +35 -0
- package/src/components/ui/Cell/Cell.tsx +109 -0
- package/src/components/ui/Cell/Leading.tsx +59 -0
- package/src/components/ui/Cell/List.tsx +46 -0
- package/src/components/ui/Cell/context.ts +10 -0
- package/src/components/ui/Cell/index.ts +3 -0
- package/src/components/ui/Cell/styles.ts +91 -0
- package/src/components/ui/Cell/types.ts +53 -0
- package/src/components/ui/Checkbox/Checkbox.tsx +57 -0
- package/src/components/ui/Checkbox/index.ts +2 -0
- package/src/components/ui/Checkbox/styles.ts +26 -0
- package/src/components/ui/Checkbox/types.ts +14 -0
- package/src/components/ui/Chip/Chip.tsx +54 -0
- package/src/components/ui/Chip/index.ts +2 -0
- package/src/components/ui/Chip/styles.ts +30 -0
- package/src/components/ui/Chip/types.ts +15 -0
- package/src/components/ui/Confirm/ConfirmHost.tsx +134 -0
- package/src/components/ui/Confirm/confirm.ts +53 -0
- package/src/components/ui/Confirm/index.ts +3 -0
- package/src/components/ui/Confirm/styles.ts +35 -0
- package/src/components/ui/Confirm/types.ts +22 -0
- package/src/components/ui/DrawerHeader/DrawerHeader.tsx +57 -0
- package/src/components/ui/DrawerHeader/index.ts +2 -0
- package/src/components/ui/DrawerHeader/styles.ts +44 -0
- package/src/components/ui/DrawerHeader/types.ts +12 -0
- package/src/components/ui/Empty/Empty.tsx +23 -0
- package/src/components/ui/Empty/index.ts +2 -0
- package/src/components/ui/Empty/styles.ts +30 -0
- package/src/components/ui/Empty/types.ts +8 -0
- package/src/components/ui/EntryCard/EntryCard.tsx +58 -0
- package/src/components/ui/EntryCard/index.ts +2 -0
- package/src/components/ui/EntryCard/styles.ts +44 -0
- package/src/components/ui/EntryCard/types.ts +17 -0
- package/src/components/ui/Form/Form.tsx +17 -0
- package/src/components/ui/Form/FormGroup.tsx +43 -0
- package/src/components/ui/Form/FormRow.tsx +30 -0
- package/src/components/ui/Form/index.ts +4 -0
- package/src/components/ui/Form/styles.ts +64 -0
- package/src/components/ui/Form/types.ts +30 -0
- package/src/components/ui/Grid/Grid.tsx +68 -0
- package/src/components/ui/Grid/index.ts +2 -0
- package/src/components/ui/Grid/styles.ts +88 -0
- package/src/components/ui/Grid/types.ts +25 -0
- package/src/components/ui/Icon/Icon.tsx +82 -0
- package/src/components/ui/Icon/index.ts +2 -0
- package/src/components/ui/Icon/types.ts +15 -0
- package/src/components/ui/IconButton/IconButton.tsx +44 -0
- package/src/components/ui/IconButton/index.ts +2 -0
- package/src/components/ui/IconButton/types.ts +28 -0
- package/src/components/ui/Input/Input.tsx +21 -0
- package/src/components/ui/Input/index.ts +2 -0
- package/src/components/ui/Input/types.ts +31 -0
- package/src/components/ui/Logo/Logo.tsx +40 -0
- package/src/components/ui/Logo/index.ts +2 -0
- package/src/components/ui/Logo/types.ts +13 -0
- package/src/components/ui/NavBar/NavBar.tsx +75 -0
- package/src/components/ui/NavBar/index.ts +2 -0
- package/src/components/ui/NavBar/isSlot.ts +9 -0
- package/src/components/ui/NavBar/styles.ts +49 -0
- package/src/components/ui/NavBar/types.ts +31 -0
- package/src/components/ui/PasswordInput/PasswordInput.tsx +50 -0
- package/src/components/ui/PasswordInput/index.ts +2 -0
- package/src/components/ui/PasswordInput/styles.ts +7 -0
- package/src/components/ui/PasswordInput/types.ts +12 -0
- package/src/components/ui/Pulse/Pulse.tsx +17 -0
- package/src/components/ui/Pulse/PulseDot.tsx +35 -0
- package/src/components/ui/Pulse/index.ts +4 -0
- package/src/components/ui/Pulse/types.ts +22 -0
- package/src/components/ui/Pulse/usePulse.ts +41 -0
- package/src/components/ui/Radio/Radio.tsx +55 -0
- package/src/components/ui/Radio/RadioContext.ts +4 -0
- package/src/components/ui/Radio/RadioGroup.tsx +30 -0
- package/src/components/ui/Radio/index.ts +2 -0
- package/src/components/ui/Radio/styles.ts +36 -0
- package/src/components/ui/Radio/types.ts +38 -0
- package/src/components/ui/Search/Search.tsx +52 -0
- package/src/components/ui/Search/index.ts +2 -0
- package/src/components/ui/Search/types.ts +8 -0
- package/src/components/ui/Segmented/Segmented.tsx +63 -0
- package/src/components/ui/Segmented/index.ts +2 -0
- package/src/components/ui/Segmented/styles.ts +24 -0
- package/src/components/ui/Segmented/types.ts +10 -0
- package/src/components/ui/Skeleton/Skeleton.tsx +61 -0
- package/src/components/ui/Skeleton/index.ts +2 -0
- package/src/components/ui/Skeleton/types.ts +22 -0
- package/src/components/ui/Spinner/Spinner.tsx +68 -0
- package/src/components/ui/Spinner/index.ts +2 -0
- package/src/components/ui/Spinner/types.ts +14 -0
- package/src/components/ui/StatusDot/StatusDot.tsx +48 -0
- package/src/components/ui/StatusDot/index.ts +2 -0
- package/src/components/ui/StatusDot/styles.ts +40 -0
- package/src/components/ui/StatusDot/types.ts +15 -0
- package/src/components/ui/Stepper/Stepper.tsx +95 -0
- package/src/components/ui/Stepper/index.ts +2 -0
- package/src/components/ui/Stepper/styles.ts +63 -0
- package/src/components/ui/Stepper/types.ts +21 -0
- package/src/components/ui/Switch/Switch.tsx +81 -0
- package/src/components/ui/Switch/index.ts +2 -0
- package/src/components/ui/Switch/styles.ts +32 -0
- package/src/components/ui/Switch/types.ts +8 -0
- package/src/components/ui/TabBar/TabBar.tsx +58 -0
- package/src/components/ui/TabBar/index.ts +2 -0
- package/src/components/ui/TabBar/styles.ts +43 -0
- package/src/components/ui/TabBar/types.ts +19 -0
- package/src/components/ui/Tabs/Tabs.tsx +57 -0
- package/src/components/ui/Tabs/index.ts +2 -0
- package/src/components/ui/Tabs/styles.ts +30 -0
- package/src/components/ui/Tabs/types.ts +19 -0
- package/src/components/ui/Tag/Tag.tsx +37 -0
- package/src/components/ui/Tag/index.ts +2 -0
- package/src/components/ui/Tag/styles.ts +58 -0
- package/src/components/ui/Tag/types.ts +33 -0
- package/src/components/ui/TextField/TextFieldBase.tsx +111 -0
- package/src/components/ui/TextField/styles.ts +61 -0
- package/src/components/ui/TextField/types.ts +27 -0
- package/src/components/ui/Textarea/Textarea.tsx +23 -0
- package/src/components/ui/Textarea/index.ts +2 -0
- package/src/components/ui/Textarea/types.ts +28 -0
- package/src/components/ui/Thumbnail/Thumbnail.tsx +38 -0
- package/src/components/ui/Thumbnail/index.ts +2 -0
- package/src/components/ui/Thumbnail/styles.ts +26 -0
- package/src/components/ui/Thumbnail/types.ts +24 -0
- package/src/components/ui/Toast/ToastHost.tsx +85 -0
- package/src/components/ui/Toast/index.ts +8 -0
- package/src/components/ui/Toast/styles.ts +54 -0
- package/src/components/ui/Toast/toast.ts +36 -0
- package/src/components/ui/Toast/types.ts +37 -0
- package/src/components/ui/index.ts +81 -0
- package/src/icons/data.ts +2218 -0
- package/src/icons/index.ts +2 -0
- package/src/icons/svg/alert.svg +1 -0
- package/src/icons/svg/app-fallback.svg +1 -0
- package/src/icons/svg/arrow-down.svg +1 -0
- package/src/icons/svg/arrow-left.svg +1 -0
- package/src/icons/svg/arrow-right.svg +1 -0
- package/src/icons/svg/arrow-up.svg +1 -0
- package/src/icons/svg/attachment.svg +1 -0
- package/src/icons/svg/bag-check.svg +1 -0
- package/src/icons/svg/bell.svg +1 -0
- package/src/icons/svg/bot.svg +1 -0
- package/src/icons/svg/box-list.svg +1 -0
- package/src/icons/svg/box-up.svg +1 -0
- package/src/icons/svg/building.svg +1 -0
- package/src/icons/svg/calculator.svg +1 -0
- package/src/icons/svg/calendar-route.svg +1 -0
- package/src/icons/svg/calendar.svg +1 -0
- package/src/icons/svg/camera.svg +1 -0
- package/src/icons/svg/card.svg +1 -0
- package/src/icons/svg/chat-star.svg +1 -0
- package/src/icons/svg/check.svg +1 -0
- package/src/icons/svg/chevron-down.svg +1 -0
- package/src/icons/svg/chevron-left.svg +1 -0
- package/src/icons/svg/chevron-right.svg +1 -0
- package/src/icons/svg/chevron-up.svg +1 -0
- package/src/icons/svg/circle-minus.svg +1 -0
- package/src/icons/svg/circle-plus.svg +1 -0
- package/src/icons/svg/clipboard-search.svg +1 -0
- package/src/icons/svg/clipboard-user.svg +1 -0
- package/src/icons/svg/clipboard.svg +1 -0
- package/src/icons/svg/close.svg +1 -0
- package/src/icons/svg/coin.svg +1 -0
- package/src/icons/svg/copy.svg +1 -0
- package/src/icons/svg/dashboard-megaphone.svg +1 -0
- package/src/icons/svg/dashboard-star.svg +1 -0
- package/src/icons/svg/download.svg +1 -0
- package/src/icons/svg/edit-pencil.svg +1 -0
- package/src/icons/svg/edit.svg +1 -0
- package/src/icons/svg/error.svg +1 -0
- package/src/icons/svg/eye-off.svg +1 -0
- package/src/icons/svg/eye.svg +1 -0
- package/src/icons/svg/file.svg +1 -0
- package/src/icons/svg/filter.svg +1 -0
- package/src/icons/svg/flag.svg +1 -0
- package/src/icons/svg/grid.svg +1 -0
- package/src/icons/svg/heart.svg +1 -0
- package/src/icons/svg/home.svg +1 -0
- package/src/icons/svg/image.svg +1 -0
- package/src/icons/svg/info.svg +1 -0
- package/src/icons/svg/keyboard.svg +1 -0
- package/src/icons/svg/lightbulb.svg +1 -0
- package/src/icons/svg/list.svg +1 -0
- package/src/icons/svg/location.svg +1 -0
- package/src/icons/svg/lock.svg +1 -0
- package/src/icons/svg/logout.svg +1 -0
- package/src/icons/svg/mail.svg +1 -0
- package/src/icons/svg/menu.svg +1 -0
- package/src/icons/svg/mic-on.svg +1 -0
- package/src/icons/svg/mic.svg +1 -0
- package/src/icons/svg/more-h.svg +1 -0
- package/src/icons/svg/more-v.svg +1 -0
- package/src/icons/svg/order.svg +1 -0
- package/src/icons/svg/package.svg +1 -0
- package/src/icons/svg/paperclip.svg +1 -0
- package/src/icons/svg/pause.svg +1 -0
- package/src/icons/svg/phone.svg +1 -0
- package/src/icons/svg/pin-search.svg +1 -0
- package/src/icons/svg/play.svg +1 -0
- package/src/icons/svg/plus.svg +1 -0
- package/src/icons/svg/qr.svg +1 -0
- package/src/icons/svg/refresh.svg +1 -0
- package/src/icons/svg/retry.svg +1 -0
- package/src/icons/svg/route.svg +1 -0
- package/src/icons/svg/scan.svg +1 -0
- package/src/icons/svg/scanner.svg +1 -0
- package/src/icons/svg/search.svg +1 -0
- package/src/icons/svg/send.svg +1 -0
- package/src/icons/svg/settings.svg +1 -0
- package/src/icons/svg/share.svg +1 -0
- package/src/icons/svg/shelf-pay.svg +1 -0
- package/src/icons/svg/shield-check.svg +1 -0
- package/src/icons/svg/sort.svg +1 -0
- package/src/icons/svg/sound.svg +1 -0
- package/src/icons/svg/spark.svg +1 -0
- package/src/icons/svg/star.svg +1 -0
- package/src/icons/svg/stop.svg +1 -0
- package/src/icons/svg/storefront-ai.svg +1 -0
- package/src/icons/svg/storefront-arrow.svg +1 -0
- package/src/icons/svg/storefront-check.svg +1 -0
- package/src/icons/svg/storefront-tag.svg +1 -0
- package/src/icons/svg/storefront.svg +1 -0
- package/src/icons/svg/success.svg +1 -0
- package/src/icons/svg/tag.svg +1 -0
- package/src/icons/svg/thinking.svg +1 -0
- package/src/icons/svg/trash.svg +1 -0
- package/src/icons/svg/upload.svg +1 -0
- package/src/icons/svg/user.svg +1 -0
- package/src/icons/svg/users-search.svg +1 -0
- package/src/icons/svg/visit.svg +1 -0
- package/src/icons/svg/warning.svg +1 -0
- package/src/icons/types.ts +19 -0
- package/src/index.tsx +6 -0
- package/src/theme/ThemeProvider.tsx +41 -0
- package/src/theme/blur.ts +11 -0
- package/src/theme/colors.ts +196 -0
- package/src/theme/index.ts +33 -0
- package/src/theme/palettes.ts +23 -0
- package/src/theme/scale.ts +24 -0
- package/src/theme/shadow.ts +164 -0
- package/src/theme/tokens.ts +119 -0
- package/src/theme/useTheme.ts +23 -0
- package/src/theme/useThemedStyles.ts +28 -0
- package/src/utils/logger/index.ts +9 -0
- package/src/utils/logger/logger.ts +69 -0
- package/src/utils/logger/transports/console.ts +23 -0
- package/src/utils/logger/types.ts +21 -0
- package/src/utils/testID/index.ts +1 -0
- package/src/utils/testID/testID.ts +23 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/** Blur intensity tokens —— backdrop-filter 二档语义化封装。
|
|
4
|
+
*
|
|
5
|
+
* 数值是 `@sbaiahmed1/react-native-blur` 的 BlurView `blurAmount` prop(0-100)。 */
|
|
6
|
+
export const blur = {
|
|
7
|
+
/** 玻璃数据条 / 小区域玻璃感。 */
|
|
8
|
+
soft: 10,
|
|
9
|
+
/** 焦点引导大面积 backdrop。 */
|
|
10
|
+
strong: 40
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=blur.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["blur","soft","strong"],"sourceRoot":"../../../src","sources":["theme/blur.ts"],"mappings":";;AAAA;AACA;AACA;AACA,OAAO,MAAMA,IAAI,GAAG;EAClB;EACAC,IAAI,EAAE,EAAE;EACR;EACAC,MAAM,EAAE;AACV,CAAU","ignoreList":[]}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
// Role-based color tokens —— role 名固定,亮/暗主题切的是 role 指向哪个 hex。
|
|
4
|
+
|
|
5
|
+
export const lightColors = {
|
|
6
|
+
// Brand
|
|
7
|
+
primary: '#EB6E00',
|
|
8
|
+
primaryPressed: '#D06200',
|
|
9
|
+
primaryContainer: '#FFF5EB',
|
|
10
|
+
primaryContainerSubtle: '#FFF8F0',
|
|
11
|
+
/** 品牌橙 10% alpha 浅底 —— icon tile 等屏内重复浅橙铺色。 */
|
|
12
|
+
brandTint10: 'rgba(235,110,0,0.10)',
|
|
13
|
+
/** 品牌橙 14% alpha —— Me 屏角色徽章。 */
|
|
14
|
+
brandTint14: 'rgba(235,110,0,0.14)',
|
|
15
|
+
onPrimary: '#FFFFFF',
|
|
16
|
+
onPrimaryMuted: 'rgba(255,255,255,0.85)',
|
|
17
|
+
// Semantic
|
|
18
|
+
success: '#52C41A',
|
|
19
|
+
successContainer: '#F0FFF0',
|
|
20
|
+
onSuccess: '#FFFFFF',
|
|
21
|
+
error: '#F4511E',
|
|
22
|
+
errorContainer: '#FFF5F5',
|
|
23
|
+
onError: '#FFFFFF',
|
|
24
|
+
info: '#3775F6',
|
|
25
|
+
infoContainer: '#F0F5FF',
|
|
26
|
+
onInfo: '#FFFFFF',
|
|
27
|
+
// Surface (5-layer)
|
|
28
|
+
background: '#F5F5F5',
|
|
29
|
+
surface: '#FFFFFF',
|
|
30
|
+
surfaceContainer: '#F5F5F5',
|
|
31
|
+
surfaceContainerHigh: '#F0F0F0',
|
|
32
|
+
surfaceContainerHighest: '#E0E0E0',
|
|
33
|
+
// Foreground
|
|
34
|
+
foreground: '#333333',
|
|
35
|
+
foregroundMuted: '#666666',
|
|
36
|
+
foregroundSubtle: '#999999',
|
|
37
|
+
onSurface: '#333333',
|
|
38
|
+
onSurfaceMuted: '#666666',
|
|
39
|
+
// Outline
|
|
40
|
+
outline: '#EDEDED',
|
|
41
|
+
outlineVariant: '#E8E8E8',
|
|
42
|
+
outlineFaint: '#F5F5F5',
|
|
43
|
+
// Inverse
|
|
44
|
+
inverseSurface: '#1C1C1E',
|
|
45
|
+
inverseOnSurface: '#FFFFFF',
|
|
46
|
+
// Misc
|
|
47
|
+
scrim: 'rgba(0,0,0,0.5)',
|
|
48
|
+
/** Sheet backdrop —— sheet 之下浅灰 tint,合规态高对比度让 sheet 焦点突出。
|
|
49
|
+
* 跟通用 scrim(黑半透"普通遮挡")区分:这是"焦点引导"。 */
|
|
50
|
+
sheetBackdrop: 'rgba(245,245,247,0.72)',
|
|
51
|
+
/** 玻璃感浅色 tint —— BlurView 之上的 0.55 白纱(数据条 / scanBtn)。 */
|
|
52
|
+
glassTintLight: 'rgba(255,255,255,0.55)',
|
|
53
|
+
/** 玻璃容器内部分隔线 —— 暗色翻成对应低透白,保证暗底可见。 */
|
|
54
|
+
glassSeparator: 'rgba(0,0,0,0.08)',
|
|
55
|
+
/** 浮动玻璃胶囊外区 tint(TabBar 滚动玻璃门)。
|
|
56
|
+
* 数值配合 blurAmount=25 让"玻璃门外区滚动内容透过模糊显示"达成。
|
|
57
|
+
* 跟 glassTintLight 区分:此 token 给"玻璃门外区"语义。 */
|
|
58
|
+
glassSurface: 'rgba(255,255,255,0.20)',
|
|
59
|
+
/** TabBar 玻璃门 tint —— 跟 glassSurface 区分,真机实测 0.20 太厚看不清滚动内容,
|
|
60
|
+
* TabBar 场景配合 blurAmount=15 主导,语义不同不可复用同一个 alpha。 */
|
|
61
|
+
tabBarGlassTint: 'rgba(255,255,255,0.10)',
|
|
62
|
+
/** 玻璃胶囊边框(亮 0.18 / 暗 0.14 白透)。 */
|
|
63
|
+
glassBorder: 'rgba(255,255,255,0.18)',
|
|
64
|
+
/** 玻璃胶囊顶部内高光(亮 0.28 / 暗 0.24 白透)。 */
|
|
65
|
+
glassHighlight: 'rgba(255,255,255,0.28)',
|
|
66
|
+
/** GlassStats 顶部 inset 高光线 —— 比 glassHighlight 更强,
|
|
67
|
+
* 弥补 RN BlurView backdrop 比 web 弱 + 让数据条"顶部凸起"。 */
|
|
68
|
+
glassStatsHighlight: 'rgba(255,255,255,0.65)',
|
|
69
|
+
/** 玻璃胶囊 active 段文字 / icon 色。亮色同 primary;暗色 #FFB068
|
|
70
|
+
* 更浅一档的橙,在半透深灰玻璃上分量更轻。 */
|
|
71
|
+
glassActiveFg: '#EB6E00',
|
|
72
|
+
/** 品牌橙 active 容器底 —— TabBar active 段比 brandTint10 多 2% 视觉权重。 */
|
|
73
|
+
brandTint12: 'rgba(235,110,0,0.12)',
|
|
74
|
+
// Icon faint —— 跨屏"再淡一档"的灰阶图标色;暗色翻反相白 alpha 保暗底可见
|
|
75
|
+
/** Input leading/trailing icon 默认色(placeholder 风格)。 */
|
|
76
|
+
iconFaint40: 'rgba(0,0,0,0.40)',
|
|
77
|
+
/** 列表箭头 / 副 chevron。 */
|
|
78
|
+
iconFaint30: 'rgba(0,0,0,0.30)',
|
|
79
|
+
/** 空状态 / placeholder 屏巨型图标。 */
|
|
80
|
+
iconFaint25: 'rgba(0,0,0,0.25)',
|
|
81
|
+
/** 头像白色 ring —— Me 屏 avatar 圆环。跟 onPrimaryMuted(品牌底次主文字)区分。 */
|
|
82
|
+
avatarRing: 'rgba(255,255,255,0.6)',
|
|
83
|
+
/** Me 屏 QR / 扫码按钮背景 —— scanBtn 要在 hero 上"凸起被看到"。 */
|
|
84
|
+
qrBg: 'rgba(255,255,255,0.55)',
|
|
85
|
+
// Hero gradient stops —— Me 屏顶部暖橙 → 浅黄 → background 三段渐变
|
|
86
|
+
/** Hero 渐变第 1 段:暖橙起色。 */
|
|
87
|
+
heroGradient0: '#FFE3C8',
|
|
88
|
+
/** Hero 渐变第 2 段(0.55 offset):浅黄过渡。 */
|
|
89
|
+
heroGradient1: '#FFF0DD',
|
|
90
|
+
/** Hero 渐变第 3 段:接 background。亮色 = background hex,暗色 = 深暖灰收到 background。 */
|
|
91
|
+
heroGradient2: '#F5F5F5',
|
|
92
|
+
/** 玻璃身份胶囊背景 —— ProfileCard 玻璃 pill 浮在 warmOrange 背景上。
|
|
93
|
+
* 亮色半透浓白(暖橙背景);暗色半透薄白晕(深背景)。 */
|
|
94
|
+
glassPillBg: 'rgba(255,255,255,0.72)',
|
|
95
|
+
/** 玻璃身份胶囊边框 —— 高光描边,衬出玻璃质感。 */
|
|
96
|
+
glassPillBorder: 'rgba(255,255,255,0.9)'
|
|
97
|
+
};
|
|
98
|
+
export const darkColors = {
|
|
99
|
+
// Brand
|
|
100
|
+
primary: '#EB6E00',
|
|
101
|
+
primaryPressed: '#D06200',
|
|
102
|
+
primaryContainer: '#3D1F00',
|
|
103
|
+
primaryContainerSubtle: '#2A1500',
|
|
104
|
+
// 暗底用纯品牌橙 + 略高 alpha 维持视觉权重(亮 10% 在暗底几乎不可见)
|
|
105
|
+
brandTint10: 'rgba(235,110,0,0.16)',
|
|
106
|
+
brandTint14: 'rgba(235,110,0,0.22)',
|
|
107
|
+
onPrimary: '#FFFFFF',
|
|
108
|
+
onPrimaryMuted: 'rgba(255,255,255,0.85)',
|
|
109
|
+
// Semantic
|
|
110
|
+
success: '#52C41A',
|
|
111
|
+
successContainer: '#0E2810',
|
|
112
|
+
onSuccess: '#FFFFFF',
|
|
113
|
+
error: '#FF6B40',
|
|
114
|
+
errorContainer: '#2A1010',
|
|
115
|
+
onError: '#FFFFFF',
|
|
116
|
+
info: '#5A91FF',
|
|
117
|
+
infoContainer: '#0F1A33',
|
|
118
|
+
onInfo: '#FFFFFF',
|
|
119
|
+
// Surface (5-layer, iOS HIG dark)
|
|
120
|
+
background: '#0A0A0A',
|
|
121
|
+
surface: '#1C1C1E',
|
|
122
|
+
surfaceContainer: '#2C2C2E',
|
|
123
|
+
surfaceContainerHigh: '#3A3A3C',
|
|
124
|
+
surfaceContainerHighest: '#48484A',
|
|
125
|
+
// Foreground
|
|
126
|
+
foreground: '#FFFFFF',
|
|
127
|
+
foregroundMuted: 'rgba(235,235,245,0.6)',
|
|
128
|
+
foregroundSubtle: 'rgba(235,235,245,0.3)',
|
|
129
|
+
onSurface: '#FFFFFF',
|
|
130
|
+
onSurfaceMuted: 'rgba(235,235,245,0.6)',
|
|
131
|
+
// Outline
|
|
132
|
+
outline: '#3A3A3C',
|
|
133
|
+
outlineVariant: '#48484A',
|
|
134
|
+
outlineFaint: 'rgba(84,84,88,0.65)',
|
|
135
|
+
// Inverse
|
|
136
|
+
inverseSurface: '#FFFFFF',
|
|
137
|
+
inverseOnSurface: '#000000',
|
|
138
|
+
// Misc
|
|
139
|
+
scrim: 'rgba(0,0,0,0.7)',
|
|
140
|
+
/** Sheet backdrop 暗色:沿用亮色同值,合规态保持浅 tint(打破暗色默认深底)让焦点
|
|
141
|
+
* 聚焦在协议 sheet 上。 */
|
|
142
|
+
sheetBackdrop: 'rgba(245,245,247,0.72)',
|
|
143
|
+
// 暗色 0.06 白透,凸起感由 glassBar 暗色黑 0.35 shadow 补
|
|
144
|
+
glassTintLight: 'rgba(255,255,255,0.06)',
|
|
145
|
+
glassSeparator: 'rgba(255,255,255,0.10)',
|
|
146
|
+
// 深灰半透 0.30,配合 blurAmount=25 让"玻璃门"语义达成
|
|
147
|
+
glassSurface: 'rgba(28,28,30,0.30)',
|
|
148
|
+
// 配合 blurAmount=15 让内容透过模糊带 alpha 染色
|
|
149
|
+
tabBarGlassTint: 'rgba(28,28,30,0.18)',
|
|
150
|
+
glassBorder: 'rgba(255,255,255,0.14)',
|
|
151
|
+
glassHighlight: 'rgba(255,255,255,0.24)',
|
|
152
|
+
glassStatsHighlight: 'rgba(255,255,255,0.10)',
|
|
153
|
+
// 浅橙,半透深灰玻璃上品牌色更亮起,视觉重量比纯品牌橙轻一档
|
|
154
|
+
glassActiveFg: '#FFB068',
|
|
155
|
+
brandTint12: 'rgba(235,110,0,0.22)',
|
|
156
|
+
// Icon faint —— 暗底反相成白色 alpha,数值跟亮色一致
|
|
157
|
+
iconFaint40: 'rgba(255,255,255,0.40)',
|
|
158
|
+
iconFaint30: 'rgba(255,255,255,0.30)',
|
|
159
|
+
iconFaint25: 'rgba(255,255,255,0.25)',
|
|
160
|
+
/** 头像白 ring 暗色:ring 改克制(几乎隐去),靠 brandAvatar 0.40 橙光晕浮起头像。 */
|
|
161
|
+
avatarRing: 'rgba(255,255,255,0.10)',
|
|
162
|
+
/** scanBtn 在暗 hero 上更显眼,比 glassTintLight 0.06 多一档。 */
|
|
163
|
+
qrBg: 'rgba(255,255,255,0.10)',
|
|
164
|
+
// Hero gradient stops —— 品牌橙 alpha 渐变。
|
|
165
|
+
// react-native-svg <Stop stopColor> 支持 rgba 字符串,最终 alpha = rgba.a × stopOpacity。
|
|
166
|
+
heroGradient0: 'rgba(235,110,0,0.18)',
|
|
167
|
+
heroGradient1: 'rgba(235,110,0,0.06)',
|
|
168
|
+
heroGradient2: '#0A0A0A',
|
|
169
|
+
/** 玻璃身份胶囊暗色:半透薄白晕浮在深暖橙 / 深底上,比亮色弱 12 倍。 */
|
|
170
|
+
glassPillBg: 'rgba(255,255,255,0.06)',
|
|
171
|
+
glassPillBorder: 'rgba(255,255,255,0.12)'
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
/** 头像品牌渐变 —— 浅橙 → 主品牌橙,135° 对角线渐变。亮 / 暗共用。 */
|
|
175
|
+
export const avatarGradient = ['#F49443', '#EB6E00'];
|
|
176
|
+
//# sourceMappingURL=colors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["lightColors","primary","primaryPressed","primaryContainer","primaryContainerSubtle","brandTint10","brandTint14","onPrimary","onPrimaryMuted","success","successContainer","onSuccess","error","errorContainer","onError","info","infoContainer","onInfo","background","surface","surfaceContainer","surfaceContainerHigh","surfaceContainerHighest","foreground","foregroundMuted","foregroundSubtle","onSurface","onSurfaceMuted","outline","outlineVariant","outlineFaint","inverseSurface","inverseOnSurface","scrim","sheetBackdrop","glassTintLight","glassSeparator","glassSurface","tabBarGlassTint","glassBorder","glassHighlight","glassStatsHighlight","glassActiveFg","brandTint12","iconFaint40","iconFaint30","iconFaint25","avatarRing","qrBg","heroGradient0","heroGradient1","heroGradient2","glassPillBg","glassPillBorder","darkColors","avatarGradient"],"sourceRoot":"../../../src","sources":["theme/colors.ts"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
export { lightColors, darkColors, avatarGradient } from "./colors.js";
|
|
4
|
+
export { warmOrangePalette } from "./palettes.js";
|
|
5
|
+
export { lightShadow, darkShadow } from "./shadow.js";
|
|
6
|
+
export { ThemeProvider, ThemeContext } from "./ThemeProvider.js";
|
|
7
|
+
export { useTheme, useColors, useShadow } from "./useTheme.js";
|
|
8
|
+
export { useThemedStyles } from "./useThemedStyles.js";
|
|
9
|
+
export { fontMono, type, fw, space, radius, avatar, icon, control, dim, fixed, motion } from "./tokens.js";
|
|
10
|
+
export { blur } from "./blur.js";
|
|
11
|
+
export { r, rf } from "./scale.js";
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["lightColors","darkColors","avatarGradient","warmOrangePalette","lightShadow","darkShadow","ThemeProvider","ThemeContext","useTheme","useColors","useShadow","useThemedStyles","fontMono","type","fw","space","radius","avatar","icon","control","dim","fixed","motion","blur","r","rf"],"sourceRoot":"../../../src","sources":["theme/index.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,UAAU,EAAEC,cAAc,QAAQ,aAAU;AAGlE,SAASC,iBAAiB,QAAQ,eAAY;AAE9C,SAASC,WAAW,EAAEC,UAAU,QAAQ,aAAU;AAGlD,SAASC,aAAa,EAAEC,YAAY,QAAQ,oBAAiB;AAG7D,SAASC,QAAQ,EAAEC,SAAS,EAAEC,SAAS,QAAQ,eAAY;AAC3D,SAASC,eAAe,QAAQ,sBAAmB;AAGnD,SACEC,QAAQ,EACRC,IAAI,EACJC,EAAE,EACFC,KAAK,EACLC,MAAM,EACNC,MAAM,EACNC,IAAI,EACJC,OAAO,EACPC,GAAG,EACHC,KAAK,EACLC,MAAM,QACD,aAAU;AAEjB,SAASC,IAAI,QAAQ,WAAQ;AAG7B,SAASC,CAAC,EAAEC,EAAE,QAAQ,YAAS","ignoreList":[]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/** Theme palettes —— 不属于 role-based ColorTokens 的"设计调色板序列"。
|
|
4
|
+
*
|
|
5
|
+
* ColorTokens(`c.primary / c.foreground / ...`)给单一 role 命名,
|
|
6
|
+
* 亮暗各一个 hex。某些设计需要"渐变序列"或"亮暗两套相关色组",硬塞 4 个
|
|
7
|
+
* role 进 ColorTokens 语义模糊,改放这里。
|
|
8
|
+
*
|
|
9
|
+
* 用法:
|
|
10
|
+
* ```ts
|
|
11
|
+
* import { useTheme, warmOrangePalette } from './';
|
|
12
|
+
* const { scheme } = useTheme();
|
|
13
|
+
* const stops = scheme === 'dark' ? warmOrangePalette.dark : warmOrangePalette.light;
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* 新增 palette 在这里加一项 + theme/index.ts 同步 export。
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/** 全屏沉浸暖橙 4 stop 渐变 —— ScreenBackdrop preset="warmOrange"。
|
|
20
|
+
* - light:4 stop 暖橙序列(QR / 名片 / Splash 屏沉浸亮色背景)
|
|
21
|
+
* - dark:深暖橙到黑(暗 theme 切换后仍保留橙色"温度感",底部收到 background) */
|
|
22
|
+
export const warmOrangePalette = {
|
|
23
|
+
light: ['#FFE3C8', '#FFEED7', '#FFE6CA', '#FBD9B6'],
|
|
24
|
+
dark: ['#1F1208', '#170D05', '#110903', '#0A0A0A']
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=palettes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["warmOrangePalette","light","dark"],"sourceRoot":"../../../src","sources":["theme/palettes.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO,MAAMA,iBAAiB,GAAG;EAC/BC,KAAK,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,CAAU;EAC5DC,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS;AACnD,CAAU","ignoreList":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Dimensions, Platform, PixelRatio } from 'react-native';
|
|
4
|
+
|
|
5
|
+
/** iPhone 17 Pro 逻辑宽。所有缩放以此为基准。 */
|
|
6
|
+
const DESIGN_WIDTH = 402;
|
|
7
|
+
|
|
8
|
+
/** 字体 moderate 系数:0 = 不缩放,0.5 = react-native-size-matters 默认,
|
|
9
|
+
* 0.3 对中文字号最友好(避免大屏字过大、小屏字过小)。 */
|
|
10
|
+
const FONT_FACTOR = 0.3;
|
|
11
|
+
const w = Platform.OS === 'web' ? DESIGN_WIDTH : Dimensions.get('window').width || DESIGN_WIDTH;
|
|
12
|
+
|
|
13
|
+
/** 实际缩放比。 */
|
|
14
|
+
const ratio = w / DESIGN_WIDTH;
|
|
15
|
+
|
|
16
|
+
/** 尺寸缩放。返回值经 `PixelRatio.roundToNearestPixel` 对齐设备像素栅格,
|
|
17
|
+
* 避免 0.5px 渲染瑕疵(@3x 屏 hairline 尤其明显)。 */
|
|
18
|
+
export const r = n => PixelRatio.roundToNearestPixel(n * ratio);
|
|
19
|
+
|
|
20
|
+
/** 字号 moderate 缩放。不做像素对齐 —— 字号小数点对排版有意义。 */
|
|
21
|
+
export const rf = n => n + (n * ratio - n) * FONT_FACTOR;
|
|
22
|
+
//# sourceMappingURL=scale.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Dimensions","Platform","PixelRatio","DESIGN_WIDTH","FONT_FACTOR","w","OS","get","width","ratio","r","n","roundToNearestPixel","rf"],"sourceRoot":"../../../src","sources":["theme/scale.ts"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,QAAQ,EAAEC,UAAU,QAAQ,cAAc;;AAE/D;AACA,MAAMC,YAAY,GAAG,GAAG;;AAExB;AACA;AACA,MAAMC,WAAW,GAAG,GAAG;AAEvB,MAAMC,CAAC,GACLJ,QAAQ,CAACK,EAAE,KAAK,KAAK,GACjBH,YAAY,GACZH,UAAU,CAACO,GAAG,CAAC,QAAQ,CAAC,CAACC,KAAK,IAAIL,YAAY;;AAEpD;AACA,MAAMM,KAAK,GAAGJ,CAAC,GAAGF,YAAY;;AAE9B;AACA;AACA,OAAO,MAAMO,CAAC,GAAIC,CAAS,IACzBT,UAAU,CAACU,mBAAmB,CAACD,CAAC,GAAGF,KAAK,CAAC;;AAE3C;AACA,OAAO,MAAMI,EAAE,GAAIF,CAAS,IAAaA,CAAC,GAAG,CAACA,CAAC,GAAGF,KAAK,GAAGE,CAAC,IAAIP,WAAW","ignoreList":[]}
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
// Themed shadow tokens —— 全仓 shadow 走这一份,callers 不再 inline 写
|
|
4
|
+
// shadowColor/Offset/Opacity/Radius/elevation 5 件套。
|
|
5
|
+
//
|
|
6
|
+
// 暗色下中性阴影 shadowOpacity / elevation 全部置 0:视觉层次靠 surface 5 层
|
|
7
|
+
// 明度差表达(layered surface 替代 shadow)。
|
|
8
|
+
|
|
9
|
+
const BRAND = '#EB6E00';
|
|
10
|
+
export const lightShadow = {
|
|
11
|
+
/** 轻提示浮起 —— Segmented active 段 */
|
|
12
|
+
subtle: {
|
|
13
|
+
shadowColor: '#000',
|
|
14
|
+
shadowOffset: {
|
|
15
|
+
width: 0,
|
|
16
|
+
height: 1
|
|
17
|
+
},
|
|
18
|
+
shadowOpacity: 0.06,
|
|
19
|
+
shadowRadius: 2,
|
|
20
|
+
elevation: 1
|
|
21
|
+
},
|
|
22
|
+
/** 标准卡片下沉 —— Card 默认 variant */
|
|
23
|
+
card: {
|
|
24
|
+
shadowColor: '#000',
|
|
25
|
+
shadowOffset: {
|
|
26
|
+
width: 0,
|
|
27
|
+
height: 1
|
|
28
|
+
},
|
|
29
|
+
shadowOpacity: 0.08,
|
|
30
|
+
shadowRadius: 4,
|
|
31
|
+
elevation: 2
|
|
32
|
+
},
|
|
33
|
+
/** 中性浮岛 —— TabBar 玻璃胶囊等贴底浮起,大半径柔散。 */
|
|
34
|
+
floating: {
|
|
35
|
+
shadowColor: '#000',
|
|
36
|
+
shadowOffset: {
|
|
37
|
+
width: 0,
|
|
38
|
+
height: 16
|
|
39
|
+
},
|
|
40
|
+
shadowOpacity: 0.1,
|
|
41
|
+
shadowRadius: 40,
|
|
42
|
+
elevation: 12
|
|
43
|
+
},
|
|
44
|
+
/** 品牌光晕 - sm —— 品牌橙浮起轻量档。 */
|
|
45
|
+
brandSm: {
|
|
46
|
+
shadowColor: BRAND,
|
|
47
|
+
shadowOffset: {
|
|
48
|
+
width: 0,
|
|
49
|
+
height: 6
|
|
50
|
+
},
|
|
51
|
+
shadowOpacity: 0.08,
|
|
52
|
+
shadowRadius: 18,
|
|
53
|
+
elevation: 3
|
|
54
|
+
},
|
|
55
|
+
/** GlassStats 数据条专用 shadow。
|
|
56
|
+
* 顶部 `1px inset` 高光由 GlassStats topHighlight View 节点画,不进 shadow。 */
|
|
57
|
+
glassBar: {
|
|
58
|
+
shadowColor: BRAND,
|
|
59
|
+
shadowOffset: {
|
|
60
|
+
width: 0,
|
|
61
|
+
height: 6
|
|
62
|
+
},
|
|
63
|
+
shadowOpacity: 0.08,
|
|
64
|
+
shadowRadius: 18,
|
|
65
|
+
elevation: 3
|
|
66
|
+
},
|
|
67
|
+
/** 品牌光晕 - md —— 主按钮 / Avatar ring 中等强调 */
|
|
68
|
+
brandMd: {
|
|
69
|
+
shadowColor: BRAND,
|
|
70
|
+
shadowOffset: {
|
|
71
|
+
width: 0,
|
|
72
|
+
height: 12
|
|
73
|
+
},
|
|
74
|
+
shadowOpacity: 0.26,
|
|
75
|
+
shadowRadius: 24,
|
|
76
|
+
elevation: 12
|
|
77
|
+
},
|
|
78
|
+
/** 品牌光晕 - lg —— Login Logo halo。 */
|
|
79
|
+
brandLg: {
|
|
80
|
+
shadowColor: BRAND,
|
|
81
|
+
shadowOffset: {
|
|
82
|
+
width: 0,
|
|
83
|
+
height: 16
|
|
84
|
+
},
|
|
85
|
+
shadowOpacity: 0.22,
|
|
86
|
+
shadowRadius: 36,
|
|
87
|
+
elevation: 12
|
|
88
|
+
},
|
|
89
|
+
/** 品牌光晕 - xl —— Splash Logo 启动屏最重浮起。 */
|
|
90
|
+
brandXl: {
|
|
91
|
+
shadowColor: BRAND,
|
|
92
|
+
shadowOffset: {
|
|
93
|
+
width: 0,
|
|
94
|
+
height: 20
|
|
95
|
+
},
|
|
96
|
+
shadowOpacity: 0.2,
|
|
97
|
+
shadowRadius: 50,
|
|
98
|
+
elevation: 12
|
|
99
|
+
},
|
|
100
|
+
/** About icon halo —— 在 brandLg(Login Logo)和 brandXl(Splash)之间。 */
|
|
101
|
+
brandAbout: {
|
|
102
|
+
shadowColor: BRAND,
|
|
103
|
+
shadowOffset: {
|
|
104
|
+
width: 0,
|
|
105
|
+
height: 18
|
|
106
|
+
},
|
|
107
|
+
shadowOpacity: 0.28,
|
|
108
|
+
shadowRadius: 40,
|
|
109
|
+
elevation: 12
|
|
110
|
+
},
|
|
111
|
+
/** AssistantCard 42×42 icon tile shadow —— 比 brandSm 重一档,给 hero 区品牌入口加视觉权重。 */
|
|
112
|
+
brandAssistant: {
|
|
113
|
+
shadowColor: BRAND,
|
|
114
|
+
shadowOffset: {
|
|
115
|
+
width: 0,
|
|
116
|
+
height: 8
|
|
117
|
+
},
|
|
118
|
+
shadowOpacity: 0.3,
|
|
119
|
+
shadowRadius: 18,
|
|
120
|
+
elevation: 12
|
|
121
|
+
},
|
|
122
|
+
/** Avatar 品牌橙光晕。
|
|
123
|
+
* 数值不用 r() 缩放(shadow 不跟屏宽等比)。 */
|
|
124
|
+
brandAvatar: {
|
|
125
|
+
shadowColor: BRAND,
|
|
126
|
+
shadowOffset: {
|
|
127
|
+
width: 0,
|
|
128
|
+
height: 10
|
|
129
|
+
},
|
|
130
|
+
shadowOpacity: 0.28,
|
|
131
|
+
shadowRadius: 24,
|
|
132
|
+
elevation: 12
|
|
133
|
+
},
|
|
134
|
+
none: {
|
|
135
|
+
shadowColor: 'transparent',
|
|
136
|
+
shadowOffset: {
|
|
137
|
+
width: 0,
|
|
138
|
+
height: 0
|
|
139
|
+
},
|
|
140
|
+
shadowOpacity: 0,
|
|
141
|
+
shadowRadius: 0,
|
|
142
|
+
elevation: 0
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
/** 暗色统一置零 —— dark theme 用 surface 明度差替代 shadow */
|
|
146
|
+
const darkZero = {
|
|
147
|
+
shadowOffset: {
|
|
148
|
+
width: 0,
|
|
149
|
+
height: 0
|
|
150
|
+
},
|
|
151
|
+
shadowOpacity: 0,
|
|
152
|
+
shadowRadius: 0,
|
|
153
|
+
elevation: 0
|
|
154
|
+
};
|
|
155
|
+
export const darkShadow = {
|
|
156
|
+
subtle: {
|
|
157
|
+
...darkZero,
|
|
158
|
+
shadowColor: '#000'
|
|
159
|
+
},
|
|
160
|
+
card: {
|
|
161
|
+
...darkZero,
|
|
162
|
+
shadowColor: '#000'
|
|
163
|
+
},
|
|
164
|
+
/** floating 暗色不走 darkZero:浮动胶囊在暗 bg 上需要黑色 drop shadow,
|
|
165
|
+
* 否则跟暗背景贴平,视觉无层级。 */
|
|
166
|
+
floating: {
|
|
167
|
+
shadowColor: '#000',
|
|
168
|
+
shadowOffset: {
|
|
169
|
+
width: 0,
|
|
170
|
+
height: 28
|
|
171
|
+
},
|
|
172
|
+
shadowOpacity: 0.85,
|
|
173
|
+
shadowRadius: 60,
|
|
174
|
+
elevation: 16
|
|
175
|
+
},
|
|
176
|
+
brandSm: {
|
|
177
|
+
...darkZero,
|
|
178
|
+
shadowColor: BRAND
|
|
179
|
+
},
|
|
180
|
+
brandMd: {
|
|
181
|
+
...darkZero,
|
|
182
|
+
shadowColor: BRAND
|
|
183
|
+
},
|
|
184
|
+
brandLg: {
|
|
185
|
+
...darkZero,
|
|
186
|
+
shadowColor: BRAND
|
|
187
|
+
},
|
|
188
|
+
brandXl: {
|
|
189
|
+
...darkZero,
|
|
190
|
+
shadowColor: BRAND
|
|
191
|
+
},
|
|
192
|
+
brandAbout: {
|
|
193
|
+
...darkZero,
|
|
194
|
+
shadowColor: BRAND
|
|
195
|
+
},
|
|
196
|
+
brandAssistant: {
|
|
197
|
+
...darkZero,
|
|
198
|
+
shadowColor: BRAND
|
|
199
|
+
},
|
|
200
|
+
/** brandAvatar 暗色不置零:暗色 ring 0.10 几乎隐去,靠橙光晕(0.40 比亮色 0.28 更强)
|
|
201
|
+
* 托起头像。 */
|
|
202
|
+
brandAvatar: {
|
|
203
|
+
shadowColor: BRAND,
|
|
204
|
+
shadowOffset: {
|
|
205
|
+
width: 0,
|
|
206
|
+
height: 10
|
|
207
|
+
},
|
|
208
|
+
shadowOpacity: 0.4,
|
|
209
|
+
shadowRadius: 24,
|
|
210
|
+
elevation: 12
|
|
211
|
+
},
|
|
212
|
+
/** glassBar 暗色不置零:黑色浮起让数据条在暗 hero 上凸起,缺它整个条贴在背景上
|
|
213
|
+
* 像没渲染。 */
|
|
214
|
+
glassBar: {
|
|
215
|
+
shadowColor: '#000',
|
|
216
|
+
shadowOffset: {
|
|
217
|
+
width: 0,
|
|
218
|
+
height: 6
|
|
219
|
+
},
|
|
220
|
+
shadowOpacity: 0.35,
|
|
221
|
+
shadowRadius: 18,
|
|
222
|
+
elevation: 6
|
|
223
|
+
},
|
|
224
|
+
none: {
|
|
225
|
+
...darkZero,
|
|
226
|
+
shadowColor: 'transparent'
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
//# sourceMappingURL=shadow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BRAND","lightShadow","subtle","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","card","floating","brandSm","glassBar","brandMd","brandLg","brandXl","brandAbout","brandAssistant","brandAvatar","none","darkZero","darkShadow"],"sourceRoot":"../../../src","sources":["theme/shadow.ts"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Platform, StyleSheet } from 'react-native';
|
|
4
|
+
import { r, rf } from "./scale.js";
|
|
5
|
+
export const fontMono = Platform.select({
|
|
6
|
+
ios: 'Menlo',
|
|
7
|
+
android: 'monospace',
|
|
8
|
+
default: 'monospace'
|
|
9
|
+
});
|
|
10
|
+
export const type = {
|
|
11
|
+
display: rf(22),
|
|
12
|
+
h1: rf(18),
|
|
13
|
+
h2: rf(17),
|
|
14
|
+
h3: rf(15),
|
|
15
|
+
body: rf(15),
|
|
16
|
+
sm: rf(14),
|
|
17
|
+
xs: rf(13),
|
|
18
|
+
xxs: rf(12),
|
|
19
|
+
micro: rf(11),
|
|
20
|
+
nano: rf(10),
|
|
21
|
+
// TabBar/Grid/Citation/Sources 角标/小标签 10pt
|
|
22
|
+
// ── 半档微调(0.5 step,加于"近似 token + delta"反模式收敛) ──
|
|
23
|
+
/** micro(11)与 xxs(12)之间:VersionPill / profileCard / Splash / carousel 副标题。 */
|
|
24
|
+
microPlus: rf(11.5),
|
|
25
|
+
/** xs(13)与 sm(14)之间:Privacy 长文阅读字号。 */
|
|
26
|
+
xsPlus: rf(13.5),
|
|
27
|
+
/** sm(14)与 body/h3(15)之间:dashboard card 标题"小一档 semi"惯例
|
|
28
|
+
* (NewsArea / AssistantCard / ApplicationArea 共用)。 */
|
|
29
|
+
smPlus: rf(14.5),
|
|
30
|
+
/** Hero 区主标题档(一级 brand hero,带 Logo,Login 屏)。 */
|
|
31
|
+
heroLg: rf(26),
|
|
32
|
+
/** Hero 区中等档(独立屏 + NavBar 的二级 hero,ForgotPassword)。 */
|
|
33
|
+
heroMd: rf(22),
|
|
34
|
+
/** Hero 区小档(承接式 hero,Group 选组/选角色子区)。 */
|
|
35
|
+
heroSm: rf(18)
|
|
36
|
+
};
|
|
37
|
+
export const fw = {
|
|
38
|
+
regular: '400',
|
|
39
|
+
medium: '500',
|
|
40
|
+
semi: '600',
|
|
41
|
+
bold: '700',
|
|
42
|
+
heavy: '800'
|
|
43
|
+
};
|
|
44
|
+
export const space = {
|
|
45
|
+
'px': r(1),
|
|
46
|
+
'1': r(4),
|
|
47
|
+
'2': r(6),
|
|
48
|
+
'3': r(8),
|
|
49
|
+
'4': r(10),
|
|
50
|
+
'5': r(12),
|
|
51
|
+
'6': r(14),
|
|
52
|
+
'7': r(16),
|
|
53
|
+
'8': r(20),
|
|
54
|
+
'9': r(24),
|
|
55
|
+
'10': r(32)
|
|
56
|
+
};
|
|
57
|
+
export const radius = {
|
|
58
|
+
'xs': r(4),
|
|
59
|
+
// Radio/Checkbox/Tag/Citation 内圈 4pt
|
|
60
|
+
'sm': r(6),
|
|
61
|
+
'md': r(8),
|
|
62
|
+
'lg': r(10),
|
|
63
|
+
'xl': r(12),
|
|
64
|
+
'2xl': r(14),
|
|
65
|
+
'3xl': r(18),
|
|
66
|
+
'pill': 999 // big-enough sentinel,不缩放
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/** 头像容器尺寸阶梯:xs=18 列表 / sm=28 二级 / md=32 默认 / lg=40 卡片 / xl=56 hero。 */
|
|
70
|
+
export const avatar = {
|
|
71
|
+
xs: r(18),
|
|
72
|
+
sm: r(28),
|
|
73
|
+
md: r(32),
|
|
74
|
+
lg: r(40),
|
|
75
|
+
xl: r(56)
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
/** 图标盒尺寸阶梯(IconBox / 浅色 bg + 中心 icon)。
|
|
79
|
+
* icon['2xl'] 与 avatar.xl 同值但语义不同(图标 vs 头像),业务按语义选不要混用。 */
|
|
80
|
+
export const icon = {
|
|
81
|
+
'xs': r(18),
|
|
82
|
+
'sm': r(22),
|
|
83
|
+
'md': r(26),
|
|
84
|
+
'lg': r(30),
|
|
85
|
+
'xl': r(36),
|
|
86
|
+
'2xl': r(56)
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
/** 控件高度阶梯(Button / Stepper / Input / Segmented 通用)。
|
|
90
|
+
* lg 44 数值与 fixed.hitTarget 一致,但 lg 是 scaled / hitTarget 是物理常量,语义不同
|
|
91
|
+
* 不要合用。 */
|
|
92
|
+
export const control = {
|
|
93
|
+
sm: r(28),
|
|
94
|
+
md: r(36),
|
|
95
|
+
lg: r(44)
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
/** 散尺寸 —— 未归到 avatar/icon/control 阶梯的单点常量。 */
|
|
99
|
+
export const dim = {
|
|
100
|
+
/** 发送按钮 32px —— chat PromptInput / 主送出按钮专用,与 avatar.md 同值 */
|
|
101
|
+
sendBtn: r(32)
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
/** 物理常量表 —— **不**参与缩放,在任何设备上保持同一物理尺寸。
|
|
105
|
+
* iOS HIG 要求触控目标 ≥44pt 物理。 */
|
|
106
|
+
export const fixed = {
|
|
107
|
+
hitTarget: 44,
|
|
108
|
+
navbarH: 44,
|
|
109
|
+
tabbarH: 50,
|
|
110
|
+
hairline: StyleSheet.hairlineWidth
|
|
111
|
+
};
|
|
112
|
+
export const motion = {
|
|
113
|
+
fast: 150,
|
|
114
|
+
base: 200,
|
|
115
|
+
slow: 300,
|
|
116
|
+
pulse: 1600
|
|
117
|
+
};
|
|
118
|
+
//# sourceMappingURL=tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Platform","StyleSheet","r","rf","fontMono","select","ios","android","default","type","display","h1","h2","h3","body","sm","xs","xxs","micro","nano","microPlus","xsPlus","smPlus","heroLg","heroMd","heroSm","fw","regular","medium","semi","bold","heavy","space","radius","avatar","md","lg","xl","icon","control","dim","sendBtn","fixed","hitTarget","navbarH","tabbarH","hairline","hairlineWidth","motion","fast","base","slow","pulse"],"sourceRoot":"../../../src","sources":["theme/tokens.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,UAAU,QAAQ,cAAc;AACnD,SAASC,CAAC,EAAEC,EAAE,QAAQ,YAAS;AAE/B,OAAO,MAAMC,QAAQ,GAAGJ,QAAQ,CAACK,MAAM,CAAC;EACtCC,GAAG,EAAE,OAAO;EACZC,OAAO,EAAE,WAAW;EACpBC,OAAO,EAAE;AACX,CAAC,CAAC;AAEF,OAAO,MAAMC,IAAI,GAAG;EAClBC,OAAO,EAAEP,EAAE,CAAC,EAAE,CAAC;EACfQ,EAAE,EAAER,EAAE,CAAC,EAAE,CAAC;EACVS,EAAE,EAAET,EAAE,CAAC,EAAE,CAAC;EACVU,EAAE,EAAEV,EAAE,CAAC,EAAE,CAAC;EACVW,IAAI,EAAEX,EAAE,CAAC,EAAE,CAAC;EACZY,EAAE,EAAEZ,EAAE,CAAC,EAAE,CAAC;EACVa,EAAE,EAAEb,EAAE,CAAC,EAAE,CAAC;EACVc,GAAG,EAAEd,EAAE,CAAC,EAAE,CAAC;EACXe,KAAK,EAAEf,EAAE,CAAC,EAAE,CAAC;EACbgB,IAAI,EAAEhB,EAAE,CAAC,EAAE,CAAC;EAAE;EACd;EACA;EACAiB,SAAS,EAAEjB,EAAE,CAAC,IAAI,CAAC;EACnB;EACAkB,MAAM,EAAElB,EAAE,CAAC,IAAI,CAAC;EAChB;AACF;EACEmB,MAAM,EAAEnB,EAAE,CAAC,IAAI,CAAC;EAChB;EACAoB,MAAM,EAAEpB,EAAE,CAAC,EAAE,CAAC;EACd;EACAqB,MAAM,EAAErB,EAAE,CAAC,EAAE,CAAC;EACd;EACAsB,MAAM,EAAEtB,EAAE,CAAC,EAAE;AACf,CAAU;AAEV,OAAO,MAAMuB,EAAE,GAAG;EAChBC,OAAO,EAAE,KAAK;EACdC,MAAM,EAAE,KAAK;EACbC,IAAI,EAAE,KAAK;EACXC,IAAI,EAAE,KAAK;EACXC,KAAK,EAAE;AACT,CAAU;AAEV,OAAO,MAAMC,KAAK,GAAG;EACnB,IAAI,EAAE9B,CAAC,CAAC,CAAC,CAAC;EACV,GAAG,EAAEA,CAAC,CAAC,CAAC,CAAC;EACT,GAAG,EAAEA,CAAC,CAAC,CAAC,CAAC;EACT,GAAG,EAAEA,CAAC,CAAC,CAAC,CAAC;EACT,GAAG,EAAEA,CAAC,CAAC,EAAE,CAAC;EACV,GAAG,EAAEA,CAAC,CAAC,EAAE,CAAC;EACV,GAAG,EAAEA,CAAC,CAAC,EAAE,CAAC;EACV,GAAG,EAAEA,CAAC,CAAC,EAAE,CAAC;EACV,GAAG,EAAEA,CAAC,CAAC,EAAE,CAAC;EACV,GAAG,EAAEA,CAAC,CAAC,EAAE,CAAC;EACV,IAAI,EAAEA,CAAC,CAAC,EAAE;AACZ,CAAU;AAEV,OAAO,MAAM+B,MAAM,GAAG;EACpB,IAAI,EAAE/B,CAAC,CAAC,CAAC,CAAC;EAAE;EACZ,IAAI,EAAEA,CAAC,CAAC,CAAC,CAAC;EACV,IAAI,EAAEA,CAAC,CAAC,CAAC,CAAC;EACV,IAAI,EAAEA,CAAC,CAAC,EAAE,CAAC;EACX,IAAI,EAAEA,CAAC,CAAC,EAAE,CAAC;EACX,KAAK,EAAEA,CAAC,CAAC,EAAE,CAAC;EACZ,KAAK,EAAEA,CAAC,CAAC,EAAE,CAAC;EACZ,MAAM,EAAE,GAAG,CAAE;AACf,CAAU;;AAEV;AACA,OAAO,MAAMgC,MAAM,GAAG;EACpBlB,EAAE,EAAEd,CAAC,CAAC,EAAE,CAAC;EACTa,EAAE,EAAEb,CAAC,CAAC,EAAE,CAAC;EACTiC,EAAE,EAAEjC,CAAC,CAAC,EAAE,CAAC;EACTkC,EAAE,EAAElC,CAAC,CAAC,EAAE,CAAC;EACTmC,EAAE,EAAEnC,CAAC,CAAC,EAAE;AACV,CAAU;;AAEV;AACA;AACA,OAAO,MAAMoC,IAAI,GAAG;EAClB,IAAI,EAAEpC,CAAC,CAAC,EAAE,CAAC;EACX,IAAI,EAAEA,CAAC,CAAC,EAAE,CAAC;EACX,IAAI,EAAEA,CAAC,CAAC,EAAE,CAAC;EACX,IAAI,EAAEA,CAAC,CAAC,EAAE,CAAC;EACX,IAAI,EAAEA,CAAC,CAAC,EAAE,CAAC;EACX,KAAK,EAAEA,CAAC,CAAC,EAAE;AACb,CAAU;;AAEV;AACA;AACA;AACA,OAAO,MAAMqC,OAAO,GAAG;EACrBxB,EAAE,EAAEb,CAAC,CAAC,EAAE,CAAC;EACTiC,EAAE,EAAEjC,CAAC,CAAC,EAAE,CAAC;EACTkC,EAAE,EAAElC,CAAC,CAAC,EAAE;AACV,CAAU;;AAEV;AACA,OAAO,MAAMsC,GAAG,GAAG;EACjB;EACAC,OAAO,EAAEvC,CAAC,CAAC,EAAE;AACf,CAAU;;AAEV;AACA;AACA,OAAO,MAAMwC,KAAK,GAAG;EACnBC,SAAS,EAAE,EAAE;EACbC,OAAO,EAAE,EAAE;EACXC,OAAO,EAAE,EAAE;EACXC,QAAQ,EAAE7C,UAAU,CAAC8C;AACvB,CAAU;AAEV,OAAO,MAAMC,MAAM,GAAG;EACpBC,IAAI,EAAE,GAAG;EACTC,IAAI,EAAE,GAAG;EACTC,IAAI,EAAE,GAAG;EACTC,KAAK,EAAE;AACT,CAAU","ignoreList":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useContext } from 'react';
|
|
4
|
+
import { ThemeContext } from "./ThemeProvider.js";
|
|
5
|
+
import { lightColors } from "./colors.js";
|
|
6
|
+
import { lightShadow } from "./shadow.js";
|
|
7
|
+
const FALLBACK = {
|
|
8
|
+
scheme: 'light',
|
|
9
|
+
colors: lightColors,
|
|
10
|
+
shadow: lightShadow
|
|
11
|
+
};
|
|
12
|
+
export function useTheme() {
|
|
13
|
+
const ctx = useContext(ThemeContext);
|
|
14
|
+
return ctx ?? FALLBACK;
|
|
15
|
+
}
|
|
16
|
+
export function useColors() {
|
|
17
|
+
return useTheme().colors;
|
|
18
|
+
}
|
|
19
|
+
export function useShadow() {
|
|
20
|
+
return useTheme().shadow;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=useTheme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useContext","ThemeContext","lightColors","lightShadow","FALLBACK","scheme","colors","shadow","useTheme","ctx","useColors","useShadow"],"sourceRoot":"../../../src","sources":["theme/useTheme.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,OAAO;AAClC,SAASC,YAAY,QAAgC,oBAAiB;AACtE,SAASC,WAAW,QAAQ,aAAU;AACtC,SAASC,WAAW,QAAQ,aAAU;AAEtC,MAAMC,QAA2B,GAAG;EAClCC,MAAM,EAAE,OAAO;EACfC,MAAM,EAAEJ,WAAW;EACnBK,MAAM,EAAEJ;AACV,CAAC;AAED,OAAO,SAASK,QAAQA,CAAA,EAAsB;EAC5C,MAAMC,GAAG,GAAGT,UAAU,CAACC,YAAY,CAAC;EACpC,OAAOQ,GAAG,IAAIL,QAAQ;AACxB;AAEA,OAAO,SAASM,SAASA,CAAA,EAAG;EAC1B,OAAOF,QAAQ,CAAC,CAAC,CAACF,MAAM;AAC1B;AAEA,OAAO,SAASK,SAASA,CAAA,EAAG;EAC1B,OAAOH,QAAQ,CAAC,CAAC,CAACD,MAAM;AAC1B","ignoreList":[]}
|