@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,102 @@
|
|
|
1
|
+
export declare const fontMono: string;
|
|
2
|
+
export declare const type: {
|
|
3
|
+
readonly display: number;
|
|
4
|
+
readonly h1: number;
|
|
5
|
+
readonly h2: number;
|
|
6
|
+
readonly h3: number;
|
|
7
|
+
readonly body: number;
|
|
8
|
+
readonly sm: number;
|
|
9
|
+
readonly xs: number;
|
|
10
|
+
readonly xxs: number;
|
|
11
|
+
readonly micro: number;
|
|
12
|
+
readonly nano: number;
|
|
13
|
+
/** micro(11)与 xxs(12)之间:VersionPill / profileCard / Splash / carousel 副标题。 */
|
|
14
|
+
readonly microPlus: number;
|
|
15
|
+
/** xs(13)与 sm(14)之间:Privacy 长文阅读字号。 */
|
|
16
|
+
readonly xsPlus: number;
|
|
17
|
+
/** sm(14)与 body/h3(15)之间:dashboard card 标题"小一档 semi"惯例
|
|
18
|
+
* (NewsArea / AssistantCard / ApplicationArea 共用)。 */
|
|
19
|
+
readonly smPlus: number;
|
|
20
|
+
/** Hero 区主标题档(一级 brand hero,带 Logo,Login 屏)。 */
|
|
21
|
+
readonly heroLg: number;
|
|
22
|
+
/** Hero 区中等档(独立屏 + NavBar 的二级 hero,ForgotPassword)。 */
|
|
23
|
+
readonly heroMd: number;
|
|
24
|
+
/** Hero 区小档(承接式 hero,Group 选组/选角色子区)。 */
|
|
25
|
+
readonly heroSm: number;
|
|
26
|
+
};
|
|
27
|
+
export declare const fw: {
|
|
28
|
+
readonly regular: "400";
|
|
29
|
+
readonly medium: "500";
|
|
30
|
+
readonly semi: "600";
|
|
31
|
+
readonly bold: "700";
|
|
32
|
+
readonly heavy: "800";
|
|
33
|
+
};
|
|
34
|
+
export declare const space: {
|
|
35
|
+
readonly px: number;
|
|
36
|
+
readonly '1': number;
|
|
37
|
+
readonly '2': number;
|
|
38
|
+
readonly '3': number;
|
|
39
|
+
readonly '4': number;
|
|
40
|
+
readonly '5': number;
|
|
41
|
+
readonly '6': number;
|
|
42
|
+
readonly '7': number;
|
|
43
|
+
readonly '8': number;
|
|
44
|
+
readonly '9': number;
|
|
45
|
+
readonly '10': number;
|
|
46
|
+
};
|
|
47
|
+
export declare const radius: {
|
|
48
|
+
readonly xs: number;
|
|
49
|
+
readonly sm: number;
|
|
50
|
+
readonly md: number;
|
|
51
|
+
readonly lg: number;
|
|
52
|
+
readonly xl: number;
|
|
53
|
+
readonly '2xl': number;
|
|
54
|
+
readonly '3xl': number;
|
|
55
|
+
readonly pill: 999;
|
|
56
|
+
};
|
|
57
|
+
/** 头像容器尺寸阶梯:xs=18 列表 / sm=28 二级 / md=32 默认 / lg=40 卡片 / xl=56 hero。 */
|
|
58
|
+
export declare const avatar: {
|
|
59
|
+
readonly xs: number;
|
|
60
|
+
readonly sm: number;
|
|
61
|
+
readonly md: number;
|
|
62
|
+
readonly lg: number;
|
|
63
|
+
readonly xl: number;
|
|
64
|
+
};
|
|
65
|
+
/** 图标盒尺寸阶梯(IconBox / 浅色 bg + 中心 icon)。
|
|
66
|
+
* icon['2xl'] 与 avatar.xl 同值但语义不同(图标 vs 头像),业务按语义选不要混用。 */
|
|
67
|
+
export declare const icon: {
|
|
68
|
+
readonly xs: number;
|
|
69
|
+
readonly sm: number;
|
|
70
|
+
readonly md: number;
|
|
71
|
+
readonly lg: number;
|
|
72
|
+
readonly xl: number;
|
|
73
|
+
readonly '2xl': number;
|
|
74
|
+
};
|
|
75
|
+
/** 控件高度阶梯(Button / Stepper / Input / Segmented 通用)。
|
|
76
|
+
* lg 44 数值与 fixed.hitTarget 一致,但 lg 是 scaled / hitTarget 是物理常量,语义不同
|
|
77
|
+
* 不要合用。 */
|
|
78
|
+
export declare const control: {
|
|
79
|
+
readonly sm: number;
|
|
80
|
+
readonly md: number;
|
|
81
|
+
readonly lg: number;
|
|
82
|
+
};
|
|
83
|
+
/** 散尺寸 —— 未归到 avatar/icon/control 阶梯的单点常量。 */
|
|
84
|
+
export declare const dim: {
|
|
85
|
+
/** 发送按钮 32px —— chat PromptInput / 主送出按钮专用,与 avatar.md 同值 */
|
|
86
|
+
readonly sendBtn: number;
|
|
87
|
+
};
|
|
88
|
+
/** 物理常量表 —— **不**参与缩放,在任何设备上保持同一物理尺寸。
|
|
89
|
+
* iOS HIG 要求触控目标 ≥44pt 物理。 */
|
|
90
|
+
export declare const fixed: {
|
|
91
|
+
readonly hitTarget: 44;
|
|
92
|
+
readonly navbarH: 44;
|
|
93
|
+
readonly tabbarH: 50;
|
|
94
|
+
readonly hairline: number;
|
|
95
|
+
};
|
|
96
|
+
export declare const motion: {
|
|
97
|
+
readonly fast: 150;
|
|
98
|
+
readonly base: 200;
|
|
99
|
+
readonly slow: 300;
|
|
100
|
+
readonly pulse: 1600;
|
|
101
|
+
};
|
|
102
|
+
//# sourceMappingURL=tokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../../src/theme/tokens.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,QAInB,CAAC;AAEH,eAAO,MAAM,IAAI;;;;;;;;;;;IAYf,8EAA8E;;IAE9E,uCAAuC;;IAEvC;2DACuD;;IAEvD,gDAAgD;;IAEhD,uDAAuD;;IAEvD,yCAAyC;;CAEjC,CAAC;AAEX,eAAO,MAAM,EAAE;;;;;;CAML,CAAC;AAEX,eAAO,MAAM,KAAK;;;;;;;;;;;;CAYR,CAAC;AAEX,eAAO,MAAM,MAAM;;;;;;;;;CAST,CAAC;AAEX,uEAAuE;AACvE,eAAO,MAAM,MAAM;;;;;;CAMT,CAAC;AAEX;4DAC4D;AAC5D,eAAO,MAAM,IAAI;;;;;;;CAOP,CAAC;AAEX;;YAEY;AACZ,eAAO,MAAM,OAAO;;;;CAIV,CAAC;AAEX,8CAA8C;AAC9C,eAAO,MAAM,GAAG;IACd,6DAA6D;;CAErD,CAAC;AAEX;+BAC+B;AAC/B,eAAO,MAAM,KAAK;;;;;CAKR,CAAC;AAEX,eAAO,MAAM,MAAM;;;;;CAKT,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type ThemeContextValue } from './ThemeProvider';
|
|
2
|
+
export declare function useTheme(): ThemeContextValue;
|
|
3
|
+
export declare function useColors(): import("./colors").ColorTokens;
|
|
4
|
+
export declare function useShadow(): import("./shadow").ShadowTokens;
|
|
5
|
+
//# sourceMappingURL=useTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../../../src/theme/useTheme.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAUvE,wBAAgB,QAAQ,IAAI,iBAAiB,CAG5C;AAED,wBAAgB,SAAS,mCAExB;AAED,wBAAgB,SAAS,oCAExB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ImageStyle, TextStyle, ViewStyle } from 'react-native';
|
|
2
|
+
import type { ColorTokens } from './colors';
|
|
3
|
+
import type { ShadowTokens } from './shadow';
|
|
4
|
+
/** RN 0.85 strict-api 不再导出 `StyleSheet.NamedStyles`,这里本地保留同名约束:
|
|
5
|
+
* `{ [k]: ViewStyle | TextStyle | ImageStyle }` —— 给 maker 返回值兜底。 */
|
|
6
|
+
type NamedStyles<T> = {
|
|
7
|
+
[P in keyof T]: ViewStyle | TextStyle | ImageStyle;
|
|
8
|
+
};
|
|
9
|
+
export type StylesMaker<S extends NamedStyles<S>> = (c: ColorTokens, s: ShadowTokens) => S;
|
|
10
|
+
/**
|
|
11
|
+
* 接收 (colors, shadow) => StyleSheet 工厂,返回当前主题对应的 themed StyleSheet。
|
|
12
|
+
*
|
|
13
|
+
* 缓存依赖 [colors, shadow, maker]。`maker` 必须定义在模块顶层(不要写在组件内联),
|
|
14
|
+
* 否则引用每次变,缓存失效。ThemeProvider 通过 useMemo([scheme]) 保证主题不变时
|
|
15
|
+
* colors / shadow 引用稳定。
|
|
16
|
+
*/
|
|
17
|
+
export declare function useThemedStyles<S extends NamedStyles<S>>(maker: StylesMaker<S>): S;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=useThemedStyles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useThemedStyles.d.ts","sourceRoot":"","sources":["../../../../src/theme/useThemedStyles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAG7C;sEACsE;AACtE,KAAK,WAAW,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU;CAAE,CAAC;AAE7E,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,CAAC,IAAI,CAClD,CAAC,EAAE,WAAW,EACd,CAAC,EAAE,YAAY,KACZ,CAAC,CAAC;AAEP;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,CAAC,EACtD,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,GACpB,CAAC,CAGH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/utils/logger/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,WAAW,EACX,WAAW,EACX,YAAY,EACZ,eAAe,GAChB,MAAM,UAAU,CAAC;AAClB,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { LogLevel, LogTransport, Logger } from './types';
|
|
2
|
+
export declare function createLogger(scope: string): Logger;
|
|
3
|
+
export declare function setLogLevel(level: LogLevel): void;
|
|
4
|
+
export declare function getLogLevel(): LogLevel;
|
|
5
|
+
export declare function addTransport(t: LogTransport): void;
|
|
6
|
+
export declare function removeTransport(id: string): void;
|
|
7
|
+
//# sourceMappingURL=logger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../../../src/utils/logger/logger.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAa,YAAY,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAuCzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAWlD;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI,CAEjD;AAED,wBAAgB,WAAW,IAAI,QAAQ,CAEtC;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,YAAY,GAAG,IAAI,CAGlD;AAED,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAEhD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/logger/transports/console.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAuB,YAAY,EAAE,MAAM,UAAU,CAAC;AAelE,eAAO,MAAM,gBAAgB,EAAE,YAO9B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type LogLevel = 'debug' | 'info' | 'warn' | 'error';
|
|
2
|
+
export interface LogRecord {
|
|
3
|
+
level: LogLevel;
|
|
4
|
+
scope: string;
|
|
5
|
+
message: string;
|
|
6
|
+
args: unknown[];
|
|
7
|
+
ts: number;
|
|
8
|
+
}
|
|
9
|
+
export interface LogTransport {
|
|
10
|
+
readonly id: string;
|
|
11
|
+
log(record: LogRecord): void;
|
|
12
|
+
}
|
|
13
|
+
export interface Logger {
|
|
14
|
+
debug(message: string, ...args: unknown[]): void;
|
|
15
|
+
info(message: string, ...args: unknown[]): void;
|
|
16
|
+
warn(message: string, ...args: unknown[]): void;
|
|
17
|
+
error(message: string, ...args: unknown[]): void;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/utils/logger/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAE3D,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,QAAQ,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,MAAM;IACrB,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;IACjD,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;IAChD,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;IAChD,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;CAClD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/utils/testID/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `childTestID` —— 把"父 testID + 子 id → 子 testID"的拼接逻辑收口。
|
|
3
|
+
*
|
|
4
|
+
* 业务侧 7 处 list-like 组件(Tabs / Segmented / TabBar / Grid / Task /
|
|
5
|
+
* Sources / ChainOfThought)重复同一三元:
|
|
6
|
+
*
|
|
7
|
+
* ```ts
|
|
8
|
+
* const itemTestID = item.testID ?? (testID ? `${testID}-${item.id}` : undefined);
|
|
9
|
+
* ```
|
|
10
|
+
*
|
|
11
|
+
* 抽 helper:
|
|
12
|
+
* - `override` 命中 → 用 caller 显式指定
|
|
13
|
+
* - 父 `parent` 缺失 → undefined(testID 不强制)
|
|
14
|
+
* - 都没问题 → `{parent}-{id}` 拼接
|
|
15
|
+
*/
|
|
16
|
+
export declare function childTestID(parent: string | undefined, id: string | number, override?: string): string | undefined;
|
|
17
|
+
//# sourceMappingURL=testID.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testID.d.ts","sourceRoot":"","sources":["../../../../../src/utils/testID/testID.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,WAAW,CACzB,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,EAAE,EAAE,MAAM,GAAG,MAAM,EACnB,QAAQ,CAAC,EAAE,MAAM,GAChB,MAAM,GAAG,SAAS,CAGpB"}
|
package/package.json
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@unif/react-native-design",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Unif 设计系统:theme + icons + utils + components",
|
|
5
|
+
"main": "./lib/module/index.js",
|
|
6
|
+
"types": "./lib/typescript/src/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"source": "./src/index.tsx",
|
|
10
|
+
"types": "./lib/typescript/src/index.d.ts",
|
|
11
|
+
"default": "./lib/module/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./package.json": "./package.json"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"src",
|
|
17
|
+
"lib",
|
|
18
|
+
"android",
|
|
19
|
+
"ios",
|
|
20
|
+
"cpp",
|
|
21
|
+
"*.podspec",
|
|
22
|
+
"react-native.config.js",
|
|
23
|
+
"!ios/build",
|
|
24
|
+
"!android/build",
|
|
25
|
+
"!android/gradle",
|
|
26
|
+
"!android/gradlew",
|
|
27
|
+
"!android/gradlew.bat",
|
|
28
|
+
"!android/local.properties",
|
|
29
|
+
"!**/__tests__",
|
|
30
|
+
"!**/__fixtures__",
|
|
31
|
+
"!**/__mocks__",
|
|
32
|
+
"!**/.*"
|
|
33
|
+
],
|
|
34
|
+
"scripts": {
|
|
35
|
+
"example": "yarn workspace @unif/react-native-design-example",
|
|
36
|
+
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
|
|
37
|
+
"prepare": "bob build",
|
|
38
|
+
"typecheck": "tsc",
|
|
39
|
+
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
40
|
+
"test": "jest --passWithNoTests",
|
|
41
|
+
"release": "release-it --only-version"
|
|
42
|
+
},
|
|
43
|
+
"keywords": [
|
|
44
|
+
"react-native",
|
|
45
|
+
"ios",
|
|
46
|
+
"android"
|
|
47
|
+
],
|
|
48
|
+
"repository": {
|
|
49
|
+
"type": "git",
|
|
50
|
+
"url": "git+https://github.com/unif-design/react-native-design.git"
|
|
51
|
+
},
|
|
52
|
+
"author": "unif-design <382724935@qq.com> (https://github.com/unif-design)",
|
|
53
|
+
"license": "MIT",
|
|
54
|
+
"bugs": {
|
|
55
|
+
"url": "https://github.com/unif-design/react-native-design/issues"
|
|
56
|
+
},
|
|
57
|
+
"homepage": "https://github.com/unif-design/react-native-design#readme",
|
|
58
|
+
"publishConfig": {
|
|
59
|
+
"registry": "https://registry.npmjs.org/"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@commitlint/config-conventional": "^20.5.0",
|
|
63
|
+
"@eslint/compat": "^2.0.3",
|
|
64
|
+
"@eslint/eslintrc": "^3.3.5",
|
|
65
|
+
"@eslint/js": "^10.0.1",
|
|
66
|
+
"@gorhom/bottom-sheet": "^5.2.14",
|
|
67
|
+
"@jest/globals": "^30.0.0",
|
|
68
|
+
"@react-native/babel-preset": "0.85.0",
|
|
69
|
+
"@react-native/eslint-config": "0.85.0",
|
|
70
|
+
"@react-native/jest-preset": "0.85.0",
|
|
71
|
+
"@release-it/conventional-changelog": "^10.0.6",
|
|
72
|
+
"@sbaiahmed1/react-native-blur": "^4.6.2",
|
|
73
|
+
"@types/react": "^19.2.0",
|
|
74
|
+
"commitlint": "^20.5.0",
|
|
75
|
+
"del-cli": "^7.0.0",
|
|
76
|
+
"eslint": "^9.39.4",
|
|
77
|
+
"eslint-config-prettier": "^10.1.8",
|
|
78
|
+
"eslint-plugin-ft-flow": "^3.0.11",
|
|
79
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
80
|
+
"jest": "^30.3.0",
|
|
81
|
+
"lefthook": "^2.1.4",
|
|
82
|
+
"prettier": "^3.8.1",
|
|
83
|
+
"react": "19.2.3",
|
|
84
|
+
"react-native": "0.85.0",
|
|
85
|
+
"react-native-builder-bob": "^0.41.0",
|
|
86
|
+
"react-native-gesture-handler": "^2.31.2",
|
|
87
|
+
"react-native-reanimated": "^4.3.1",
|
|
88
|
+
"react-native-reanimated-carousel": "^5.0.0-beta.5",
|
|
89
|
+
"react-native-safe-area-context": "^5.7.0",
|
|
90
|
+
"react-native-svg": "^15.15.5",
|
|
91
|
+
"react-native-worklets": "0.9.1",
|
|
92
|
+
"release-it": "^19.2.4",
|
|
93
|
+
"turbo": "^2.8.21",
|
|
94
|
+
"typescript": "^6.0.2"
|
|
95
|
+
},
|
|
96
|
+
"peerDependencies": {
|
|
97
|
+
"@gorhom/bottom-sheet": ">=5",
|
|
98
|
+
"@sbaiahmed1/react-native-blur": ">=4",
|
|
99
|
+
"react": "*",
|
|
100
|
+
"react-native": "*",
|
|
101
|
+
"react-native-gesture-handler": ">=2",
|
|
102
|
+
"react-native-reanimated": ">=4",
|
|
103
|
+
"react-native-reanimated-carousel": ">=5.0.0-beta.0",
|
|
104
|
+
"react-native-safe-area-context": ">=5",
|
|
105
|
+
"react-native-svg": ">=15",
|
|
106
|
+
"react-native-worklets": ">=0.9"
|
|
107
|
+
},
|
|
108
|
+
"workspaces": [
|
|
109
|
+
"example"
|
|
110
|
+
],
|
|
111
|
+
"packageManager": "yarn@4.11.0",
|
|
112
|
+
"react-native-builder-bob": {
|
|
113
|
+
"source": "src",
|
|
114
|
+
"output": "lib",
|
|
115
|
+
"targets": [
|
|
116
|
+
[
|
|
117
|
+
"module",
|
|
118
|
+
{
|
|
119
|
+
"esm": true
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
[
|
|
123
|
+
"typescript",
|
|
124
|
+
{
|
|
125
|
+
"project": "tsconfig.build.json"
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
"prettier": {
|
|
131
|
+
"quoteProps": "consistent",
|
|
132
|
+
"singleQuote": true,
|
|
133
|
+
"tabWidth": 2,
|
|
134
|
+
"trailingComma": "es5",
|
|
135
|
+
"useTabs": false
|
|
136
|
+
},
|
|
137
|
+
"jest": {
|
|
138
|
+
"preset": "@react-native/jest-preset",
|
|
139
|
+
"modulePathIgnorePatterns": [
|
|
140
|
+
"<rootDir>/example/node_modules",
|
|
141
|
+
"<rootDir>/lib/"
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
"commitlint": {
|
|
145
|
+
"extends": [
|
|
146
|
+
"@commitlint/config-conventional"
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
"release-it": {
|
|
150
|
+
"git": {
|
|
151
|
+
"commitMessage": "chore: release ${version}",
|
|
152
|
+
"tagName": "v${version}"
|
|
153
|
+
},
|
|
154
|
+
"npm": {
|
|
155
|
+
"publish": true
|
|
156
|
+
},
|
|
157
|
+
"github": {
|
|
158
|
+
"release": true
|
|
159
|
+
},
|
|
160
|
+
"plugins": {
|
|
161
|
+
"@release-it/conventional-changelog": {
|
|
162
|
+
"preset": {
|
|
163
|
+
"name": "angular"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"create-react-native-library": {
|
|
169
|
+
"type": "library",
|
|
170
|
+
"languages": "js",
|
|
171
|
+
"tools": [
|
|
172
|
+
"eslint",
|
|
173
|
+
"jest",
|
|
174
|
+
"lefthook",
|
|
175
|
+
"release-it"
|
|
176
|
+
],
|
|
177
|
+
"version": "0.62.0"
|
|
178
|
+
}
|
|
179
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import React, { useId, useMemo } from 'react';
|
|
2
|
+
import { StyleSheet, Text, View } from 'react-native';
|
|
3
|
+
import Svg, {
|
|
4
|
+
Defs,
|
|
5
|
+
LinearGradient as SvgLinearGradient,
|
|
6
|
+
Rect,
|
|
7
|
+
Stop,
|
|
8
|
+
} from 'react-native-svg';
|
|
9
|
+
import { avatarGradient, useTheme } from '../../../theme';
|
|
10
|
+
import { makeAvatarStyles } from './styles';
|
|
11
|
+
import type { AvatarWithRingProps } from './types';
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* 圆形头像 + 白色 ring + 品牌橙渐变底 + 品牌色 shadow。
|
|
15
|
+
*
|
|
16
|
+
* 用 outer shell (bg=ringColor 圆) + inner avatarCore (圆形 overflow:hidden,
|
|
17
|
+
* 内含 SVG 渐变 + label) 双层模拟 ring,避免 RN Fabric `borderColor + alpha
|
|
18
|
+
* + borderRadius: 50%` 的 anti-aliasing 渲染缺失(详见 styles.ts)。
|
|
19
|
+
*/
|
|
20
|
+
export function AvatarWithRing({
|
|
21
|
+
label,
|
|
22
|
+
size = 64,
|
|
23
|
+
ringColor,
|
|
24
|
+
style,
|
|
25
|
+
}: AvatarWithRingProps): React.JSX.Element {
|
|
26
|
+
const { colors: c, shadow } = useTheme();
|
|
27
|
+
const autoId = useId();
|
|
28
|
+
const id = `av-${autoId.replace(/[^a-zA-Z0-9_-]/g, '')}`;
|
|
29
|
+
const { inner, styles } = useMemo(
|
|
30
|
+
() =>
|
|
31
|
+
makeAvatarStyles(size, ringColor ?? c.avatarRing, shadow.brandAvatar, c),
|
|
32
|
+
[size, ringColor, c, shadow.brandAvatar]
|
|
33
|
+
);
|
|
34
|
+
return (
|
|
35
|
+
<View style={[styles.shell, style]}>
|
|
36
|
+
<View style={styles.avatarCore}>
|
|
37
|
+
<Svg width={inner} height={inner} style={StyleSheet.absoluteFill}>
|
|
38
|
+
<Defs>
|
|
39
|
+
{/* userSpaceOnUse + 像素坐标 + Rect 数值:
|
|
40
|
+
避免 BBox 0-1 模式在 RN-svg 小尺寸 + alpha 下渲染为单色。 */}
|
|
41
|
+
<SvgLinearGradient
|
|
42
|
+
id={id}
|
|
43
|
+
x1={0}
|
|
44
|
+
y1={0}
|
|
45
|
+
x2={inner}
|
|
46
|
+
y2={inner}
|
|
47
|
+
gradientUnits="userSpaceOnUse"
|
|
48
|
+
>
|
|
49
|
+
<Stop offset={0} stopColor={avatarGradient[0]} />
|
|
50
|
+
<Stop offset={1} stopColor={avatarGradient[1]} />
|
|
51
|
+
</SvgLinearGradient>
|
|
52
|
+
</Defs>
|
|
53
|
+
<Rect width={inner} height={inner} fill={`url(#${id})`} />
|
|
54
|
+
</Svg>
|
|
55
|
+
<Text style={[styles.label, { lineHeight: inner }]}>{label}</Text>
|
|
56
|
+
</View>
|
|
57
|
+
</View>
|
|
58
|
+
);
|
|
59
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { StyleSheet, type ViewStyle } from 'react-native';
|
|
2
|
+
import { fw, r, type ColorTokens } from '../../../theme';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* 头像样式工厂 —— **非标 maker 签名**:`(size, ringColor, shadowStyle, c)` 4 参,
|
|
6
|
+
* 而非项目通用 `(c: ColorTokens, s: ShadowTokens) => StyleSheet` 2 参。
|
|
7
|
+
*
|
|
8
|
+
* **为何破例**:`size` / `ringColor` 是 **props 派生**(每次调用值不同,如 ring 宽度
|
|
9
|
+
* = `size * 0.0625`、label 字号 = `size * 0.40`、inner 直径 = `size - ringWidth*2`),
|
|
10
|
+
* 标准 `useThemedStyles(maker)` 按 `[colors, shadow]` memo 假设 maker 是模块顶层
|
|
11
|
+
* 常量,无法承接 props 变化。改走调用点自带 `useMemo([size, ringColor, c,
|
|
12
|
+
* shadow.brandAvatar])` 精确缓存,signature 因此带上 size/ringColor/shadow 三个
|
|
13
|
+
* 运行期入参,c 仍传入用于 label 文字色。
|
|
14
|
+
*
|
|
15
|
+
* **不用 borderWidth + borderColor 实现 ring**:RN new arch (Fabric) 在
|
|
16
|
+
* iOS 上对 `borderColor: rgba alpha + borderRadius: width/2`(完全圆)的组合
|
|
17
|
+
* anti-aliasing 失败,60% 白 ring 在暗 hero 上渲染为接近透明,视觉缺失。
|
|
18
|
+
*
|
|
19
|
+
* 改用 outer (shell) + inner (avatarCore) 双层:
|
|
20
|
+
* - shell:size×size 圆,backgroundColor = ringColor(承担 ring 视觉)+ shadow
|
|
21
|
+
* - avatarCore:inner×inner 圆,在 shell 内 flex center,内部放 SVG 渐变 + label
|
|
22
|
+
*/
|
|
23
|
+
export const makeAvatarStyles = (
|
|
24
|
+
size: number,
|
|
25
|
+
ringColor: string,
|
|
26
|
+
shadowStyle: ViewStyle,
|
|
27
|
+
c: ColorTokens
|
|
28
|
+
) => {
|
|
29
|
+
const dim = r(size);
|
|
30
|
+
const half = dim / 2;
|
|
31
|
+
const ringWidth = Math.max(2, r(Math.round(size * 0.0625)));
|
|
32
|
+
const inner = dim - ringWidth * 2;
|
|
33
|
+
const innerHalf = inner / 2;
|
|
34
|
+
const styles = StyleSheet.create({
|
|
35
|
+
shell: {
|
|
36
|
+
width: dim,
|
|
37
|
+
height: dim,
|
|
38
|
+
borderRadius: half,
|
|
39
|
+
backgroundColor: ringColor,
|
|
40
|
+
...shadowStyle,
|
|
41
|
+
alignItems: 'center',
|
|
42
|
+
justifyContent: 'center',
|
|
43
|
+
},
|
|
44
|
+
avatarCore: {
|
|
45
|
+
width: inner,
|
|
46
|
+
height: inner,
|
|
47
|
+
borderRadius: innerHalf,
|
|
48
|
+
overflow: 'hidden',
|
|
49
|
+
alignItems: 'center',
|
|
50
|
+
justifyContent: 'center',
|
|
51
|
+
},
|
|
52
|
+
label: {
|
|
53
|
+
fontSize: r(Math.round(size * 0.4)),
|
|
54
|
+
fontWeight: fw.bold,
|
|
55
|
+
color: c.onPrimary,
|
|
56
|
+
letterSpacing: -0.5,
|
|
57
|
+
textAlign: 'center',
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
return { ringWidth, dim, inner, styles };
|
|
61
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
2
|
+
|
|
3
|
+
export type AvatarWithRingProps = {
|
|
4
|
+
/** 显示在中心的字符(通常 userName 首字母 / 中文名首字)。 */
|
|
5
|
+
label: string;
|
|
6
|
+
/**
|
|
7
|
+
* 头像总直径(含 ring),默认 64(r() 缩放在内部)。
|
|
8
|
+
* 视觉占比:label 字号约 size * 0.40,ring 宽度约 size * 0.0625。
|
|
9
|
+
*/
|
|
10
|
+
size?: number;
|
|
11
|
+
/** ring + 填充背景色,默认 c.primary。 */
|
|
12
|
+
ringColor?: string;
|
|
13
|
+
/** 容器附加样式(margin / position 等定位)。 */
|
|
14
|
+
style?: StyleProp<ViewStyle>;
|
|
15
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import React, { useId } from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import Svg, {
|
|
4
|
+
Defs,
|
|
5
|
+
LinearGradient as SvgLinearGradient,
|
|
6
|
+
Rect,
|
|
7
|
+
Stop,
|
|
8
|
+
} from 'react-native-svg';
|
|
9
|
+
import type { GradientWashProps } from './types';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* 垂直线性渐变 wash —— 全宽矩形 + 顶到底的 SVG LinearGradient。
|
|
13
|
+
*
|
|
14
|
+
* 两种用法:
|
|
15
|
+
* - 简单单色:`<GradientWash height color fromOpacity toOpacity />`,内部生成 2 stop
|
|
16
|
+
* - 多 stop:`<GradientWash height stops={[...]} />`
|
|
17
|
+
*
|
|
18
|
+
* `pointerEvents="none"` 透传,装饰层不捕事件。
|
|
19
|
+
*
|
|
20
|
+
* gradientId 不传时用 `useId()` 自动唯一;React 19 useId 返回含冒号 `:r0:`,
|
|
21
|
+
* 不是合法 SVG id 字符,sanitize 后再用。
|
|
22
|
+
*/
|
|
23
|
+
/** 解析 rgba(r,g,b,a) 字符串拆出 alpha,返回 { color: rgb(...), opacity }。
|
|
24
|
+
* 非 rgba 输入(hex / rgb / named)原样返回 + opacity=1。
|
|
25
|
+
*
|
|
26
|
+
* Why:react-native-svg `<Stop stopColor>` 接 rgba 时 alpha 可能被忽略
|
|
27
|
+
* (stopColor 只解析 RGB,需要 stopOpacity 分离),拆分后跨平台一致。 */
|
|
28
|
+
function parseRgba(color: string): { color: string; opacity: number } {
|
|
29
|
+
const m = color.match(/^rgba\(([^)]+)\)$/);
|
|
30
|
+
if (!m || !m[1]) return { color, opacity: 1 };
|
|
31
|
+
const parts = m[1].split(',').map((s) => s.trim());
|
|
32
|
+
if (parts.length !== 4) return { color, opacity: 1 };
|
|
33
|
+
const alphaStr = parts[3];
|
|
34
|
+
if (alphaStr === undefined) return { color, opacity: 1 };
|
|
35
|
+
const alpha = parseFloat(alphaStr);
|
|
36
|
+
if (Number.isNaN(alpha)) return { color, opacity: 1 };
|
|
37
|
+
return { color: `rgb(${parts.slice(0, 3).join(',')})`, opacity: alpha };
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function GradientWash(props: GradientWashProps): React.JSX.Element {
|
|
41
|
+
const { height, style, gradientId } = props;
|
|
42
|
+
const autoId = useId();
|
|
43
|
+
const id = gradientId ?? `gw-${autoId.replace(/[^a-zA-Z0-9_-]/g, '')}`;
|
|
44
|
+
const stops = props.stops ?? [
|
|
45
|
+
{ offset: 0, color: props.color, opacity: props.fromOpacity ?? 0.1 },
|
|
46
|
+
{ offset: 1, color: props.color, opacity: props.toOpacity ?? 0 },
|
|
47
|
+
];
|
|
48
|
+
return (
|
|
49
|
+
<View pointerEvents="none" style={[{ height }, style]}>
|
|
50
|
+
<Svg width="100%" height={height}>
|
|
51
|
+
<Defs>
|
|
52
|
+
{/* gradientUnits="userSpaceOnUse":y1/y2 走像素坐标,
|
|
53
|
+
否则默认 BBox(0–1)模式下 y2={height} 被解读为 height 倍容器高,
|
|
54
|
+
渐变退化为均匀色 + 容器底硬切。 */}
|
|
55
|
+
<SvgLinearGradient
|
|
56
|
+
id={id}
|
|
57
|
+
x1={0}
|
|
58
|
+
y1={0}
|
|
59
|
+
x2={0}
|
|
60
|
+
y2={height}
|
|
61
|
+
gradientUnits="userSpaceOnUse"
|
|
62
|
+
>
|
|
63
|
+
{stops.map((s, i) => {
|
|
64
|
+
const parsed = parseRgba(s.color);
|
|
65
|
+
const opacity = s.opacity ?? parsed.opacity;
|
|
66
|
+
return (
|
|
67
|
+
<Stop
|
|
68
|
+
key={`${s.offset}-${i}`}
|
|
69
|
+
offset={s.offset}
|
|
70
|
+
stopColor={parsed.color}
|
|
71
|
+
stopOpacity={opacity}
|
|
72
|
+
/>
|
|
73
|
+
);
|
|
74
|
+
})}
|
|
75
|
+
</SvgLinearGradient>
|
|
76
|
+
</Defs>
|
|
77
|
+
<Rect width="100%" height={height} fill={`url(#${id})`} />
|
|
78
|
+
</Svg>
|
|
79
|
+
</View>
|
|
80
|
+
);
|
|
81
|
+
}
|