@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,58 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Text, View } from 'react-native';
|
|
3
|
+
import { Pressable } from 'react-native-gesture-handler';
|
|
4
|
+
import { Icon } from '../Icon';
|
|
5
|
+
import { useColors, useThemedStyles } from '../../../theme';
|
|
6
|
+
import { makeStyles } from './styles';
|
|
7
|
+
import type { EntryCardProps } from './types';
|
|
8
|
+
|
|
9
|
+
/** 入口横向小卡 —— 独立 surface 小卡视觉,不依赖 List 容器,
|
|
10
|
+
* 无 arrow / extra,纯入口语义,放在 grid 双列里靠 caller `style={{flex:1}}` 撑等宽。 */
|
|
11
|
+
export function EntryCard({
|
|
12
|
+
icon,
|
|
13
|
+
title,
|
|
14
|
+
sub,
|
|
15
|
+
onPress,
|
|
16
|
+
style,
|
|
17
|
+
testID,
|
|
18
|
+
}: EntryCardProps): React.JSX.Element {
|
|
19
|
+
const c = useColors();
|
|
20
|
+
const styles = useThemedStyles(makeStyles);
|
|
21
|
+
|
|
22
|
+
const content = (
|
|
23
|
+
<>
|
|
24
|
+
<View style={styles.iconTile}>
|
|
25
|
+
<Icon name={icon} size={16} color={c.foregroundMuted} />
|
|
26
|
+
</View>
|
|
27
|
+
<View style={styles.body}>
|
|
28
|
+
<Text style={styles.title} numberOfLines={1}>
|
|
29
|
+
{title}
|
|
30
|
+
</Text>
|
|
31
|
+
{sub ? (
|
|
32
|
+
<Text style={styles.sub} numberOfLines={1}>
|
|
33
|
+
{sub}
|
|
34
|
+
</Text>
|
|
35
|
+
) : null}
|
|
36
|
+
</View>
|
|
37
|
+
</>
|
|
38
|
+
);
|
|
39
|
+
|
|
40
|
+
if (onPress) {
|
|
41
|
+
return (
|
|
42
|
+
<Pressable
|
|
43
|
+
onPress={onPress}
|
|
44
|
+
accessibilityRole="button"
|
|
45
|
+
accessibilityLabel={title}
|
|
46
|
+
testID={testID}
|
|
47
|
+
style={({ pressed }) => [styles.card, pressed && styles.pressed, style]}
|
|
48
|
+
>
|
|
49
|
+
{content}
|
|
50
|
+
</Pressable>
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
return (
|
|
54
|
+
<View style={[styles.card, style]} testID={testID}>
|
|
55
|
+
{content}
|
|
56
|
+
</View>
|
|
57
|
+
);
|
|
58
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
import { fw, icon, r, radius, space, type ColorTokens } from '../../../theme';
|
|
3
|
+
|
|
4
|
+
export const makeStyles = (c: ColorTokens) =>
|
|
5
|
+
StyleSheet.create({
|
|
6
|
+
card: {
|
|
7
|
+
flexDirection: 'row',
|
|
8
|
+
alignItems: 'center',
|
|
9
|
+
gap: space[4],
|
|
10
|
+
backgroundColor: c.surface,
|
|
11
|
+
borderRadius: radius['2xl'],
|
|
12
|
+
paddingVertical: space[5],
|
|
13
|
+
paddingHorizontal: space[6],
|
|
14
|
+
},
|
|
15
|
+
iconTile: {
|
|
16
|
+
width: icon.lg,
|
|
17
|
+
height: icon.lg,
|
|
18
|
+
// 9pt 介于 radius.md(8) / radius.lg(10) 之间,匹配 30×30 tile 的视觉圆度
|
|
19
|
+
borderRadius: r(9),
|
|
20
|
+
backgroundColor: c.surfaceContainer,
|
|
21
|
+
alignItems: 'center',
|
|
22
|
+
justifyContent: 'center',
|
|
23
|
+
flexShrink: 0,
|
|
24
|
+
},
|
|
25
|
+
body: {
|
|
26
|
+
flex: 1,
|
|
27
|
+
minWidth: 0,
|
|
28
|
+
gap: space.px,
|
|
29
|
+
},
|
|
30
|
+
title: {
|
|
31
|
+
// 13.5pt —— 介于 type.xs(13) / type.sm(14) 之间的设计稿专定字号
|
|
32
|
+
fontSize: r(13) + 0.5,
|
|
33
|
+
fontWeight: fw.medium,
|
|
34
|
+
letterSpacing: -0.2,
|
|
35
|
+
color: c.foreground,
|
|
36
|
+
},
|
|
37
|
+
sub: {
|
|
38
|
+
fontSize: r(11),
|
|
39
|
+
color: c.foregroundMuted,
|
|
40
|
+
},
|
|
41
|
+
pressed: {
|
|
42
|
+
opacity: 0.7,
|
|
43
|
+
},
|
|
44
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
2
|
+
import type { IconName } from '../Icon';
|
|
3
|
+
|
|
4
|
+
export type EntryCardProps = {
|
|
5
|
+
/** 左侧 icon tile 内的图标名 */
|
|
6
|
+
icon: IconName;
|
|
7
|
+
/** 主标题(13.5px medium) */
|
|
8
|
+
title: string;
|
|
9
|
+
/** 副标题(11px muted),省略不渲染该行 */
|
|
10
|
+
sub?: string;
|
|
11
|
+
/** 点击回调,未传不挂 Pressable */
|
|
12
|
+
onPress?: () => void;
|
|
13
|
+
/** 外层附加样式 —— 常用于 grid 列设 `flex: 1` */
|
|
14
|
+
style?: StyleProp<ViewStyle>;
|
|
15
|
+
/** E2E / 测试定位 */
|
|
16
|
+
testID?: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { useThemedStyles } from '../../../theme';
|
|
4
|
+
import { makeStyles } from './styles';
|
|
5
|
+
import type { FormProps } from './types';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* 表单根容器 —— 纵向堆叠多个 FormGroup。
|
|
9
|
+
*/
|
|
10
|
+
export function Form({ children, testID }: FormProps): React.JSX.Element {
|
|
11
|
+
const styles = useThemedStyles(makeStyles);
|
|
12
|
+
return (
|
|
13
|
+
<View style={styles.form} testID={testID}>
|
|
14
|
+
{children}
|
|
15
|
+
</View>
|
|
16
|
+
);
|
|
17
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Text, View } from 'react-native';
|
|
3
|
+
import { useThemedStyles } from '../../../theme';
|
|
4
|
+
import { makeStyles } from './styles';
|
|
5
|
+
import type { FormGroupProps } from './types';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* 白卡片上的分组:分组标题 + 一组行。
|
|
9
|
+
* 组内行之间用 1px 细线分隔(表单是「不用 gap」规则的例外)。
|
|
10
|
+
*
|
|
11
|
+
* **业务约定:** 动态列表(运行时增删 FormRow)必须给每个 child 传稳定 `key` prop。
|
|
12
|
+
* 不传时 fallback 到 `__row-${i}` —— 仅适用于**静态**列表,动态列表会导致 state 漂移。
|
|
13
|
+
*/
|
|
14
|
+
export function FormGroup({
|
|
15
|
+
label,
|
|
16
|
+
children,
|
|
17
|
+
testID,
|
|
18
|
+
}: FormGroupProps): React.JSX.Element {
|
|
19
|
+
const styles = useThemedStyles(makeStyles);
|
|
20
|
+
const arr = React.Children.toArray(children);
|
|
21
|
+
return (
|
|
22
|
+
<View style={styles.group} testID={testID}>
|
|
23
|
+
{label ? (
|
|
24
|
+
<Text style={styles.groupLabel} numberOfLines={1}>
|
|
25
|
+
{label}
|
|
26
|
+
</Text>
|
|
27
|
+
) : null}
|
|
28
|
+
<View style={styles.groupBody}>
|
|
29
|
+
{arr.map((child, i) => {
|
|
30
|
+
const childKey =
|
|
31
|
+
React.isValidElement(child) && child.key != null
|
|
32
|
+
? child.key
|
|
33
|
+
: `__row-${i}`;
|
|
34
|
+
return (
|
|
35
|
+
<View key={childKey} style={i > 0 ? styles.divider : null}>
|
|
36
|
+
{child}
|
|
37
|
+
</View>
|
|
38
|
+
);
|
|
39
|
+
})}
|
|
40
|
+
</View>
|
|
41
|
+
</View>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Text, View } from 'react-native';
|
|
3
|
+
import { useThemedStyles } from '../../../theme';
|
|
4
|
+
import { makeStyles } from './styles';
|
|
5
|
+
import type { FormRowProps } from './types';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* 带 label 的单行表单项。布局:左 label · 右控件。最小高度 48。
|
|
9
|
+
*/
|
|
10
|
+
export function FormRow({
|
|
11
|
+
label,
|
|
12
|
+
children,
|
|
13
|
+
required,
|
|
14
|
+
error,
|
|
15
|
+
testID,
|
|
16
|
+
}: FormRowProps): React.JSX.Element {
|
|
17
|
+
const styles = useThemedStyles(makeStyles);
|
|
18
|
+
return (
|
|
19
|
+
<View style={styles.row} testID={testID}>
|
|
20
|
+
<View style={styles.rowMain}>
|
|
21
|
+
<Text style={styles.rowLabel} numberOfLines={1}>
|
|
22
|
+
{label}
|
|
23
|
+
{required ? <Text style={styles.required}> *</Text> : null}
|
|
24
|
+
</Text>
|
|
25
|
+
<View style={styles.rowControl}>{children}</View>
|
|
26
|
+
</View>
|
|
27
|
+
{error ? <Text style={styles.errorText}>{error}</Text> : null}
|
|
28
|
+
</View>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
import {
|
|
3
|
+
fw,
|
|
4
|
+
r,
|
|
5
|
+
radius,
|
|
6
|
+
space,
|
|
7
|
+
type as t,
|
|
8
|
+
type ColorTokens,
|
|
9
|
+
} from '../../../theme';
|
|
10
|
+
|
|
11
|
+
export const makeStyles = (c: ColorTokens) =>
|
|
12
|
+
StyleSheet.create({
|
|
13
|
+
form: {
|
|
14
|
+
gap: space[7],
|
|
15
|
+
},
|
|
16
|
+
group: {
|
|
17
|
+
gap: space[3],
|
|
18
|
+
},
|
|
19
|
+
groupLabel: {
|
|
20
|
+
fontSize: t.xs,
|
|
21
|
+
fontWeight: fw.semi,
|
|
22
|
+
color: c.foregroundSubtle,
|
|
23
|
+
textTransform: 'uppercase',
|
|
24
|
+
letterSpacing: 1,
|
|
25
|
+
paddingHorizontal: space[1],
|
|
26
|
+
},
|
|
27
|
+
groupBody: {
|
|
28
|
+
backgroundColor: c.surface,
|
|
29
|
+
borderRadius: radius.lg,
|
|
30
|
+
overflow: 'hidden',
|
|
31
|
+
},
|
|
32
|
+
divider: {
|
|
33
|
+
borderTopWidth: StyleSheet.hairlineWidth,
|
|
34
|
+
borderTopColor: c.outline,
|
|
35
|
+
},
|
|
36
|
+
row: {
|
|
37
|
+
paddingHorizontal: space[7],
|
|
38
|
+
paddingVertical: space[5],
|
|
39
|
+
minHeight: r(48),
|
|
40
|
+
justifyContent: 'center',
|
|
41
|
+
},
|
|
42
|
+
rowMain: {
|
|
43
|
+
flexDirection: 'row',
|
|
44
|
+
alignItems: 'center',
|
|
45
|
+
gap: space[5],
|
|
46
|
+
},
|
|
47
|
+
rowLabel: {
|
|
48
|
+
fontSize: t.sm,
|
|
49
|
+
fontWeight: fw.medium,
|
|
50
|
+
color: c.foreground,
|
|
51
|
+
},
|
|
52
|
+
required: {
|
|
53
|
+
color: c.error,
|
|
54
|
+
},
|
|
55
|
+
rowControl: {
|
|
56
|
+
flex: 1,
|
|
57
|
+
alignItems: 'flex-end',
|
|
58
|
+
},
|
|
59
|
+
errorText: {
|
|
60
|
+
fontSize: t.micro,
|
|
61
|
+
color: c.error,
|
|
62
|
+
marginTop: space[1],
|
|
63
|
+
},
|
|
64
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export type FormProps = {
|
|
4
|
+
/** Form 内部内容,通常是若干个 FormGroup / FormRow */
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
/** E2E / 测试定位 */
|
|
7
|
+
testID?: string;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export type FormGroupProps = {
|
|
11
|
+
/** 分组标题(uppercase 小标签风格) */
|
|
12
|
+
label?: string;
|
|
13
|
+
/** 该分组下若干个 FormRow */
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
/** E2E / 测试定位 */
|
|
16
|
+
testID?: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export type FormRowProps = {
|
|
20
|
+
/** 字段标题 */
|
|
21
|
+
label: string;
|
|
22
|
+
/** 字段控件(Input / Select / etc) */
|
|
23
|
+
children: ReactNode;
|
|
24
|
+
/** 必填标记,渲染右上红色星号 */
|
|
25
|
+
required?: boolean;
|
|
26
|
+
/** 错误信息,渲染在控件下方 */
|
|
27
|
+
error?: string;
|
|
28
|
+
/** E2E / 测试定位 */
|
|
29
|
+
testID?: string;
|
|
30
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Text, View } from 'react-native';
|
|
3
|
+
import { Pressable } from 'react-native-gesture-handler';
|
|
4
|
+
import { useColors, useThemedStyles } from '../../../theme';
|
|
5
|
+
import { createLogger } from '../../../utils/logger';
|
|
6
|
+
import { childTestID } from '../../../utils/testID';
|
|
7
|
+
import { Icon } from '../Icon';
|
|
8
|
+
import { colWidth, makeStyles } from './styles';
|
|
9
|
+
import type { GridProps } from './types';
|
|
10
|
+
|
|
11
|
+
const log = createLogger('Grid');
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* 图标入口宫格 —— 首页 / 分类落地页。1..6 列。
|
|
15
|
+
* 每格:图标 + 小标签,纵向居中。
|
|
16
|
+
*
|
|
17
|
+
* 性能:列宽走 StyleSheet 预生成规则(colWidth),避免每个 cell 创建内联对象。
|
|
18
|
+
*/
|
|
19
|
+
export function Grid({
|
|
20
|
+
items,
|
|
21
|
+
columns = 4,
|
|
22
|
+
onPress,
|
|
23
|
+
card = true,
|
|
24
|
+
testID,
|
|
25
|
+
}: GridProps): React.JSX.Element {
|
|
26
|
+
const c = useColors();
|
|
27
|
+
const styles = useThemedStyles(makeStyles);
|
|
28
|
+
if (![1, 2, 3, 4, 5, 6].includes(columns)) {
|
|
29
|
+
log.warn(`columns 仅支持 1..6,传入 ${columns},已 fallback 为 4 列`);
|
|
30
|
+
}
|
|
31
|
+
const cellWidth = colWidth(columns);
|
|
32
|
+
return (
|
|
33
|
+
<View style={[styles.wrap, card && styles.card]} testID={testID}>
|
|
34
|
+
<View style={styles.inner}>
|
|
35
|
+
{items.map((item) => {
|
|
36
|
+
const itemTestID = childTestID(testID, item.id, item.testID);
|
|
37
|
+
return (
|
|
38
|
+
<View key={item.id} style={cellWidth}>
|
|
39
|
+
<Pressable
|
|
40
|
+
onPress={() => onPress?.(item)}
|
|
41
|
+
accessibilityRole="button"
|
|
42
|
+
accessibilityLabel={item.label}
|
|
43
|
+
testID={itemTestID}
|
|
44
|
+
style={({ pressed }) => [
|
|
45
|
+
styles.cell,
|
|
46
|
+
{ opacity: pressed ? 0.7 : 1 },
|
|
47
|
+
]}
|
|
48
|
+
>
|
|
49
|
+
<View>
|
|
50
|
+
{/* 28pt 介于 icon.md(26) / icon.lg(30) 之间的设计稿专定字号 */}
|
|
51
|
+
<Icon name={item.icon} size={28} color={c.foregroundMuted} />
|
|
52
|
+
{item.badge != null ? (
|
|
53
|
+
<View style={styles.badge}>
|
|
54
|
+
<Text style={styles.badgeText}>{item.badge}</Text>
|
|
55
|
+
</View>
|
|
56
|
+
) : null}
|
|
57
|
+
</View>
|
|
58
|
+
<Text style={styles.label} numberOfLines={1}>
|
|
59
|
+
{item.label}
|
|
60
|
+
</Text>
|
|
61
|
+
</Pressable>
|
|
62
|
+
</View>
|
|
63
|
+
);
|
|
64
|
+
})}
|
|
65
|
+
</View>
|
|
66
|
+
</View>
|
|
67
|
+
);
|
|
68
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
import {
|
|
3
|
+
fw,
|
|
4
|
+
r,
|
|
5
|
+
radius,
|
|
6
|
+
space,
|
|
7
|
+
type as t,
|
|
8
|
+
type ColorTokens,
|
|
9
|
+
} from '../../../theme';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* 预生成 1..6 列的宽度规则,避免 render 时创建 `{ width: pct }` 内联对象
|
|
13
|
+
* 让 Grid 在长列表 / 多 cell 场景下复用 StyleSheet 缓存。
|
|
14
|
+
*/
|
|
15
|
+
const COLUMN_WIDTHS = StyleSheet.create({
|
|
16
|
+
col1: { width: '100%' },
|
|
17
|
+
col2: { width: '50%' },
|
|
18
|
+
col3: { width: '33.333%' },
|
|
19
|
+
col4: { width: '25%' },
|
|
20
|
+
col5: { width: '20%' },
|
|
21
|
+
col6: { width: '16.666%' },
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export const colWidth = (columns: number) => {
|
|
25
|
+
switch (columns) {
|
|
26
|
+
case 1:
|
|
27
|
+
return COLUMN_WIDTHS.col1;
|
|
28
|
+
case 2:
|
|
29
|
+
return COLUMN_WIDTHS.col2;
|
|
30
|
+
case 3:
|
|
31
|
+
return COLUMN_WIDTHS.col3;
|
|
32
|
+
case 5:
|
|
33
|
+
return COLUMN_WIDTHS.col5;
|
|
34
|
+
case 6:
|
|
35
|
+
return COLUMN_WIDTHS.col6;
|
|
36
|
+
case 4:
|
|
37
|
+
default:
|
|
38
|
+
return COLUMN_WIDTHS.col4;
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export const makeStyles = (c: ColorTokens) =>
|
|
43
|
+
StyleSheet.create({
|
|
44
|
+
wrap: {
|
|
45
|
+
width: '100%',
|
|
46
|
+
},
|
|
47
|
+
card: {
|
|
48
|
+
backgroundColor: c.surface,
|
|
49
|
+
borderRadius: radius.xl,
|
|
50
|
+
paddingVertical: space[5],
|
|
51
|
+
paddingHorizontal: space[3],
|
|
52
|
+
borderWidth: 1,
|
|
53
|
+
borderColor: c.outline,
|
|
54
|
+
},
|
|
55
|
+
inner: {
|
|
56
|
+
flexDirection: 'row',
|
|
57
|
+
flexWrap: 'wrap',
|
|
58
|
+
},
|
|
59
|
+
cell: {
|
|
60
|
+
paddingVertical: space[5],
|
|
61
|
+
alignItems: 'center',
|
|
62
|
+
justifyContent: 'center',
|
|
63
|
+
gap: space[2],
|
|
64
|
+
},
|
|
65
|
+
label: {
|
|
66
|
+
fontSize: t.xxs,
|
|
67
|
+
fontWeight: fw.medium,
|
|
68
|
+
color: c.foreground,
|
|
69
|
+
},
|
|
70
|
+
badge: {
|
|
71
|
+
position: 'absolute',
|
|
72
|
+
top: r(-6),
|
|
73
|
+
right: r(-10),
|
|
74
|
+
minWidth: r(16),
|
|
75
|
+
height: r(16),
|
|
76
|
+
borderRadius: radius.md,
|
|
77
|
+
backgroundColor: c.error,
|
|
78
|
+
paddingHorizontal: space[1],
|
|
79
|
+
alignItems: 'center',
|
|
80
|
+
justifyContent: 'center',
|
|
81
|
+
},
|
|
82
|
+
badgeText: {
|
|
83
|
+
color: c.onError,
|
|
84
|
+
fontSize: t.nano,
|
|
85
|
+
fontWeight: fw.bold,
|
|
86
|
+
lineHeight: 12,
|
|
87
|
+
},
|
|
88
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { IconName } from '../Icon';
|
|
2
|
+
|
|
3
|
+
export type GridItem = {
|
|
4
|
+
id: string;
|
|
5
|
+
icon: IconName;
|
|
6
|
+
label: string;
|
|
7
|
+
/** 图标右上角的数字角标(用 string 才能写 '99+') */
|
|
8
|
+
badge?: number | string;
|
|
9
|
+
/** 单 cell 测试定位(不传则自动用 `${gridTestID}-${id}`) */
|
|
10
|
+
testID?: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export type GridProps = {
|
|
14
|
+
items: GridItem[];
|
|
15
|
+
/**
|
|
16
|
+
* 列数 1..6;默认 4。
|
|
17
|
+
* ⚠️ 类型外的值(如 `7`)会**静默**回退到 4 列 — 业务应在传入前自行校验。
|
|
18
|
+
*/
|
|
19
|
+
columns?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
20
|
+
onPress?: (item: GridItem) => void;
|
|
21
|
+
/** 是否套白色卡片;传 false 则背景透明 */
|
|
22
|
+
card?: boolean;
|
|
23
|
+
/** 容器 testID;item testID 会自动派生为 `${testID}-${item.id}` */
|
|
24
|
+
testID?: string;
|
|
25
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import Svg, { Circle, Path, Rect } from 'react-native-svg';
|
|
4
|
+
import { ICONS, type IconDef } from '../../../icons';
|
|
5
|
+
import { useColors } from '../../../theme';
|
|
6
|
+
import { createLogger } from '../../../utils/logger';
|
|
7
|
+
import type { IconProps } from './types';
|
|
8
|
+
|
|
9
|
+
const log = createLogger('Icon');
|
|
10
|
+
|
|
11
|
+
export function Icon({
|
|
12
|
+
name,
|
|
13
|
+
size = 18,
|
|
14
|
+
color,
|
|
15
|
+
strokeWidth,
|
|
16
|
+
style,
|
|
17
|
+
testID,
|
|
18
|
+
}: IconProps): React.JSX.Element {
|
|
19
|
+
const c = useColors();
|
|
20
|
+
const stroke = color ?? c.foregroundMuted;
|
|
21
|
+
const def: IconDef | undefined = ICONS[name];
|
|
22
|
+
if (!def) {
|
|
23
|
+
log.warn(`unknown icon: ${name}`);
|
|
24
|
+
return (
|
|
25
|
+
<View
|
|
26
|
+
style={[{ width: size, height: size }, style]}
|
|
27
|
+
testID={testID}
|
|
28
|
+
accessibilityElementsHidden
|
|
29
|
+
importantForAccessibility="no-hide-descendants"
|
|
30
|
+
/>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
const sw = strokeWidth ?? def.strokeWidth;
|
|
34
|
+
|
|
35
|
+
return (
|
|
36
|
+
<View
|
|
37
|
+
style={style}
|
|
38
|
+
testID={testID}
|
|
39
|
+
accessibilityElementsHidden
|
|
40
|
+
importantForAccessibility="no-hide-descendants"
|
|
41
|
+
>
|
|
42
|
+
<Svg
|
|
43
|
+
width={size}
|
|
44
|
+
height={size}
|
|
45
|
+
viewBox="0 0 24 24"
|
|
46
|
+
fill="none"
|
|
47
|
+
stroke={stroke}
|
|
48
|
+
strokeWidth={sw}
|
|
49
|
+
strokeLinecap="round"
|
|
50
|
+
strokeLinejoin="round"
|
|
51
|
+
>
|
|
52
|
+
{def.elements.map((el, i) => {
|
|
53
|
+
const fill =
|
|
54
|
+
el.fill === 'currentColor' ? stroke : (el.fill ?? 'none');
|
|
55
|
+
if (el.kind === 'path') {
|
|
56
|
+
return <Path key={i} d={el.d} fill={fill} />;
|
|
57
|
+
}
|
|
58
|
+
if (el.kind === 'circle') {
|
|
59
|
+
return (
|
|
60
|
+
<Circle key={i} cx={el.cx} cy={el.cy} r={el.r} fill={fill} />
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
if (el.kind === 'rect') {
|
|
64
|
+
return (
|
|
65
|
+
<Rect
|
|
66
|
+
key={i}
|
|
67
|
+
x={el.x}
|
|
68
|
+
y={el.y}
|
|
69
|
+
width={el.width}
|
|
70
|
+
height={el.height}
|
|
71
|
+
rx={el.rx}
|
|
72
|
+
ry={el.ry}
|
|
73
|
+
fill={fill}
|
|
74
|
+
/>
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
return null;
|
|
78
|
+
})}
|
|
79
|
+
</Svg>
|
|
80
|
+
</View>
|
|
81
|
+
);
|
|
82
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
2
|
+
import type { IconName } from '../../../icons';
|
|
3
|
+
|
|
4
|
+
export type { IconName };
|
|
5
|
+
|
|
6
|
+
export type IconProps = {
|
|
7
|
+
name: IconName;
|
|
8
|
+
size?: number;
|
|
9
|
+
color?: string;
|
|
10
|
+
/** 覆盖描边宽度(默认按每个图标自带值,多数 1.75,少数 2) */
|
|
11
|
+
strokeWidth?: number;
|
|
12
|
+
style?: StyleProp<ViewStyle>;
|
|
13
|
+
/** E2E / 测试定位(挂在外层 View) */
|
|
14
|
+
testID?: string;
|
|
15
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonBase } from '../Button/ButtonBase';
|
|
3
|
+
import { Icon } from '../Icon';
|
|
4
|
+
import type { IconButtonProps } from './types';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Icon-only 按钮 —— 与 Button 共享 ButtonBase chrome。
|
|
8
|
+
*
|
|
9
|
+
* `square=true` 触发 ButtonBase 方形布局(width=height=sizing.h)。
|
|
10
|
+
* Icon 大小由 `sizing.fs + 4` 决定 —— 无文本平衡,稍大于 Button 内 icon(`fs + 2`)。
|
|
11
|
+
*
|
|
12
|
+
* `accessibilityLabel` TypeScript 强制必填 —— icon-only 无文本提示语义,
|
|
13
|
+
* SR 必须靠 a11y label 朗读。
|
|
14
|
+
*/
|
|
15
|
+
export function IconButton({
|
|
16
|
+
icon,
|
|
17
|
+
onPress,
|
|
18
|
+
size = 'md',
|
|
19
|
+
variant = 'ghost',
|
|
20
|
+
color,
|
|
21
|
+
disabled,
|
|
22
|
+
accessibilityLabel,
|
|
23
|
+
accessibilityHint,
|
|
24
|
+
style,
|
|
25
|
+
testID,
|
|
26
|
+
}: IconButtonProps): React.JSX.Element {
|
|
27
|
+
return (
|
|
28
|
+
<ButtonBase
|
|
29
|
+
square
|
|
30
|
+
onPress={onPress}
|
|
31
|
+
size={size}
|
|
32
|
+
variant={variant}
|
|
33
|
+
disabled={disabled}
|
|
34
|
+
accessibilityLabel={accessibilityLabel}
|
|
35
|
+
accessibilityHint={accessibilityHint}
|
|
36
|
+
style={style}
|
|
37
|
+
testID={testID}
|
|
38
|
+
>
|
|
39
|
+
{({ sizing, palette }) => (
|
|
40
|
+
<Icon name={icon} size={sizing.fs + 4} color={color ?? palette.fg} />
|
|
41
|
+
)}
|
|
42
|
+
</ButtonBase>
|
|
43
|
+
);
|
|
44
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
2
|
+
import type { IconName } from '../Icon';
|
|
3
|
+
import type { ButtonSize, ButtonVariant } from '../Button/types';
|
|
4
|
+
|
|
5
|
+
export type IconButtonProps = {
|
|
6
|
+
/** 图标名 */
|
|
7
|
+
icon: IconName;
|
|
8
|
+
/** 点击;disabled 时不触发 */
|
|
9
|
+
onPress?: () => void;
|
|
10
|
+
/** 尺寸,默认 'md'(28 / 36 / 44 方形) */
|
|
11
|
+
size?: ButtonSize;
|
|
12
|
+
/** 视觉变体,默认 'ghost'(透明底,适合 header right-tray 场景) */
|
|
13
|
+
variant?: ButtonVariant;
|
|
14
|
+
/** Icon 颜色 override —— 不传走 variant.palette.fg(品牌一致默认);
|
|
15
|
+
* caller 显式控制 icon 色场景(eg NavBar 内部按 variant 推导出 foreground /
|
|
16
|
+
* onPrimary)。仅影响 icon 色,bg/border 仍由 variant palette 决定。 */
|
|
17
|
+
color?: string;
|
|
18
|
+
/** 整体禁用:opacity 0.5 + 不响应 */
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/** **必填** — 无文本提示语义,SR 需要 */
|
|
21
|
+
accessibilityLabel: string;
|
|
22
|
+
/** SR 朗读 label 后的行为说明 hint。仅在"行为不显然"时加。 */
|
|
23
|
+
accessibilityHint?: string;
|
|
24
|
+
/** 额外样式 */
|
|
25
|
+
style?: StyleProp<ViewStyle>;
|
|
26
|
+
/** E2E / 测试定位 */
|
|
27
|
+
testID?: string;
|
|
28
|
+
};
|