@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,33 @@
|
|
|
1
|
+
import { StyleSheet, type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
import type { ColorTokens, ShadowTokens } from '../../../theme';
|
|
3
|
+
import type { CardVariant } from './types';
|
|
4
|
+
|
|
5
|
+
export const makeStyles = (c: ColorTokens) =>
|
|
6
|
+
StyleSheet.create({
|
|
7
|
+
base: {
|
|
8
|
+
backgroundColor: c.surface,
|
|
9
|
+
overflow: 'hidden',
|
|
10
|
+
},
|
|
11
|
+
flat: {},
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* variant → 装饰样式映射(§8 返 style 值的 helper,合并入 styles.ts):
|
|
16
|
+
* - `default`:`s.card` 标准卡片阴影
|
|
17
|
+
* - `flat`:走 `styles.flat`(目前空,deprecated 等价 plain;保留以容纳未来差量)
|
|
18
|
+
* - `plain`:`undefined`(纯白底,装饰为零)
|
|
19
|
+
*/
|
|
20
|
+
export function variantToStyle(
|
|
21
|
+
v: CardVariant,
|
|
22
|
+
s: ShadowTokens,
|
|
23
|
+
styles: ReturnType<typeof makeStyles>
|
|
24
|
+
): StyleProp<ViewStyle> {
|
|
25
|
+
switch (v) {
|
|
26
|
+
case 'default':
|
|
27
|
+
return s.card;
|
|
28
|
+
case 'flat':
|
|
29
|
+
return styles.flat;
|
|
30
|
+
case 'plain':
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Card **视觉变体**(控制装饰,跟 `bare` 是正交维度):
|
|
6
|
+
* - `default`:白底 + 阴影 + 边框(标准卡片)
|
|
7
|
+
* - `plain`:仅白底(无阴影无边框,承载更轻量,如 chat 气泡内嵌组件)
|
|
8
|
+
* - `flat`:**deprecated** — 等价于 `plain`,新代码请用 `plain`。
|
|
9
|
+
*/
|
|
10
|
+
export type CardVariant = 'default' | 'flat' | 'plain';
|
|
11
|
+
|
|
12
|
+
export type CardProps = {
|
|
13
|
+
/** Card 内容 */
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
/** 视觉变体,默认 'default' */
|
|
16
|
+
variant?: CardVariant;
|
|
17
|
+
/** 自定义内边距(覆盖默认 padding) */
|
|
18
|
+
padding?: number;
|
|
19
|
+
/** 自定义圆角(覆盖默认 radius.md) */
|
|
20
|
+
borderRadius?: number;
|
|
21
|
+
/** 自定义边框色(覆盖默认 c.outline;仅 default/flat 有边框) */
|
|
22
|
+
borderColor?: string;
|
|
23
|
+
/** 自定义边框宽度(覆盖默认 1;仅 default/flat 有边框) */
|
|
24
|
+
borderWidth?: number;
|
|
25
|
+
/**
|
|
26
|
+
* 「裸壳」模式:把 padding 设为 0,children 紧贴 Card 边缘渲染。
|
|
27
|
+
*
|
|
28
|
+
* **跟 variant 是正交维度**:
|
|
29
|
+
* - `variant` 控制装饰(阴影 / 边框 / 底色)
|
|
30
|
+
* - `bare` 控制内边距(是否留白)
|
|
31
|
+
*
|
|
32
|
+
* 常用组合:
|
|
33
|
+
* - 业务想自己控 padding 但保留卡片视觉 → `<Card variant="default" bare>`
|
|
34
|
+
* - 业务要「完全朴素」(无装饰 + 无 padding)→ `<Card variant="plain" bare>`
|
|
35
|
+
*/
|
|
36
|
+
bare?: boolean;
|
|
37
|
+
/** 额外样式覆盖 */
|
|
38
|
+
style?: StyleProp<ViewStyle>;
|
|
39
|
+
/** 测试 testID */
|
|
40
|
+
testID?: string;
|
|
41
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Pressable, useWindowDimensions, View } from 'react-native';
|
|
3
|
+
import ReanimatedCarousel, {
|
|
4
|
+
Pagination,
|
|
5
|
+
} from 'react-native-reanimated-carousel';
|
|
6
|
+
import { useSharedValue } from 'react-native-reanimated';
|
|
7
|
+
import { space, useThemedStyles } from '../../../theme';
|
|
8
|
+
import { makeCarouselStyles } from './styles';
|
|
9
|
+
import type { CarouselProps } from './types';
|
|
10
|
+
|
|
11
|
+
/** Carousel —— 包装 `react-native-reanimated-carousel@5.0.0-beta.5`。
|
|
12
|
+
*
|
|
13
|
+
* dot indicator 走 `c.primary` token,使用库内置 `Pagination.Custom`
|
|
14
|
+
* (`useSharedValue` + `onProgressChange` 驱动,re-render 全在 worklet 里)。
|
|
15
|
+
*
|
|
16
|
+
* 用 Pagination.Custom 而非 Basic:Basic 的 activeDot 用 translateX 推进
|
|
17
|
+
* 内层 fill,外壳宽度等于 dotStyle.width,activeDotStyle.width 只影响内层,
|
|
18
|
+
* 做不出"active 4 → 12 长条"。Custom 自己 interpolate width/height/bg。
|
|
19
|
+
*/
|
|
20
|
+
// T 约束 object —— `Pagination.Basic<T extends {}>` 需要 object
|
|
21
|
+
export function Carousel<T extends object>({
|
|
22
|
+
items,
|
|
23
|
+
renderItem,
|
|
24
|
+
height,
|
|
25
|
+
itemWidth,
|
|
26
|
+
autoPlay,
|
|
27
|
+
showIndicator = true,
|
|
28
|
+
indicatorPosition = 'bottom',
|
|
29
|
+
onPressItem,
|
|
30
|
+
getAccessibilityLabel,
|
|
31
|
+
style,
|
|
32
|
+
testID,
|
|
33
|
+
}: CarouselProps<T>): React.JSX.Element {
|
|
34
|
+
const { width: screenWidth } = useWindowDimensions();
|
|
35
|
+
const width = itemWidth ?? screenWidth;
|
|
36
|
+
const styles = useThemedStyles(makeCarouselStyles);
|
|
37
|
+
// Carousel `onProgressChange` 把 absoluteProgress 写进 shared value,Pagination 自动跟。
|
|
38
|
+
const progress = useSharedValue<number>(0);
|
|
39
|
+
|
|
40
|
+
// 'bottom' 模式给容器额外 +space[7] (=r(16)) 高度容纳独立行指示器;
|
|
41
|
+
// 与 dotsWrapBottom 的 paddingTop=space[3]+dot height space[1] 一起跟 r() 同步缩放。
|
|
42
|
+
// 'overlay-bottom-right' 不占额外高度。
|
|
43
|
+
const indicatorReservedHeight =
|
|
44
|
+
showIndicator && indicatorPosition === 'bottom' ? space['7'] : 0;
|
|
45
|
+
|
|
46
|
+
const data = items as T[];
|
|
47
|
+
|
|
48
|
+
return (
|
|
49
|
+
<View
|
|
50
|
+
style={[{ height: height + indicatorReservedHeight }, style]}
|
|
51
|
+
testID={testID}
|
|
52
|
+
>
|
|
53
|
+
<ReanimatedCarousel
|
|
54
|
+
// v5 把 width / height prop deprecate,迁到 style
|
|
55
|
+
style={{ width, height }}
|
|
56
|
+
data={data}
|
|
57
|
+
loop
|
|
58
|
+
autoPlay={!!autoPlay}
|
|
59
|
+
autoPlayInterval={autoPlay}
|
|
60
|
+
onProgressChange={progress}
|
|
61
|
+
renderItem={({ item, index }) => (
|
|
62
|
+
<Pressable
|
|
63
|
+
onPress={() => onPressItem?.(item, index)}
|
|
64
|
+
style={{ width, height }}
|
|
65
|
+
testID={`${testID ?? 'carousel'}-item-${index}`}
|
|
66
|
+
// 只在真正可点时声明 button 语义,纯展示型不标 button 避免读屏器误导
|
|
67
|
+
{...(onPressItem
|
|
68
|
+
? {
|
|
69
|
+
accessibilityRole: 'button' as const,
|
|
70
|
+
accessibilityLabel:
|
|
71
|
+
getAccessibilityLabel?.(item, index) ??
|
|
72
|
+
`第 ${index + 1} 项`,
|
|
73
|
+
}
|
|
74
|
+
: null)}
|
|
75
|
+
>
|
|
76
|
+
{renderItem(item, index)}
|
|
77
|
+
</Pressable>
|
|
78
|
+
)}
|
|
79
|
+
/>
|
|
80
|
+
{showIndicator && items.length > 1 ? (
|
|
81
|
+
<Pagination.Custom<T>
|
|
82
|
+
progress={progress}
|
|
83
|
+
data={data}
|
|
84
|
+
dotStyle={styles.dot}
|
|
85
|
+
activeDotStyle={styles.dotActive}
|
|
86
|
+
containerStyle={
|
|
87
|
+
indicatorPosition === 'overlay-bottom-right'
|
|
88
|
+
? styles.dotsWrapOverlay
|
|
89
|
+
: styles.dotsWrapBottom
|
|
90
|
+
}
|
|
91
|
+
/>
|
|
92
|
+
) : null}
|
|
93
|
+
</View>
|
|
94
|
+
);
|
|
95
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
import { r, radius, space, type ColorTokens } from '../../../theme';
|
|
3
|
+
|
|
4
|
+
export const makeCarouselStyles = (c: ColorTokens) =>
|
|
5
|
+
StyleSheet.create({
|
|
6
|
+
/** 'bottom' 模式:独立行容器,覆盖 Pagination.Custom 默认的 `justifyContent: 'space-between'`
|
|
7
|
+
* (否则 dot 横向撑开),让 dot 居中紧贴。 */
|
|
8
|
+
dotsWrapBottom: {
|
|
9
|
+
flexDirection: 'row',
|
|
10
|
+
justifyContent: 'center',
|
|
11
|
+
alignItems: 'center',
|
|
12
|
+
// 3pt 横间距:dot 单元 4pt + space[1]=r(4) 偏大,保留 r(3) 作为局部 dot 间隙
|
|
13
|
+
gap: r(3),
|
|
14
|
+
paddingTop: space['3'],
|
|
15
|
+
},
|
|
16
|
+
/** 'overlay-bottom-right' 模式:absolute 浮在 Carousel 右下角,
|
|
17
|
+
* override `justifyContent` → 'flex-end' 让 dot 群靠右。 */
|
|
18
|
+
dotsWrapOverlay: {
|
|
19
|
+
position: 'absolute',
|
|
20
|
+
bottom: space['3'],
|
|
21
|
+
right: space['5'],
|
|
22
|
+
flexDirection: 'row',
|
|
23
|
+
justifyContent: 'flex-end',
|
|
24
|
+
alignItems: 'center',
|
|
25
|
+
gap: r(3),
|
|
26
|
+
},
|
|
27
|
+
dot: {
|
|
28
|
+
width: space['1'],
|
|
29
|
+
height: space['1'],
|
|
30
|
+
// 4×4 dot 走 pill —— 任意大正数都会被 clamp 成圆,自文档化
|
|
31
|
+
borderRadius: radius.pill,
|
|
32
|
+
backgroundColor: c.primary,
|
|
33
|
+
opacity: 0.32,
|
|
34
|
+
},
|
|
35
|
+
/** activeDot —— 12×4 长条,Pagination.Custom 会把 dotStyle 的 height /
|
|
36
|
+
* borderRadius 与 activeDotStyle 的 width 一起 interpolate,这里只 override 变化值。 */
|
|
37
|
+
dotActive: {
|
|
38
|
+
width: space['5'],
|
|
39
|
+
opacity: 1,
|
|
40
|
+
},
|
|
41
|
+
});
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
|
|
4
|
+
/** Indicator 位置策略:
|
|
5
|
+
* - 'bottom'(默认):指示器独立行,跟 Carousel 下方;容器高度 = height + 16
|
|
6
|
+
* - 'overlay-bottom-right':指示器 absolute 浮在 Carousel 右下角,不占额外高度 */
|
|
7
|
+
export type CarouselIndicatorPosition = 'bottom' | 'overlay-bottom-right';
|
|
8
|
+
|
|
9
|
+
export type CarouselProps<T> = {
|
|
10
|
+
/** 数组数据 */
|
|
11
|
+
items: ReadonlyArray<T>;
|
|
12
|
+
/** 单项渲染 */
|
|
13
|
+
renderItem: (item: T, index: number) => ReactNode;
|
|
14
|
+
/** 每张高度(宽度默认 = 屏宽,被 itemWidth 覆盖) */
|
|
15
|
+
height: number;
|
|
16
|
+
/** 每张宽度,默认 useWindowDimensions().width。
|
|
17
|
+
* 若 caller 外层有 marginHorizontal(如 Dashboard banner inset 16),需要传
|
|
18
|
+
* `屏宽 - 左右 margin*2`,否则 slide 宽度超过可视区,右侧内容被裁切。 */
|
|
19
|
+
itemWidth?: number;
|
|
20
|
+
/** autoPlay 间隔 ms,undefined / 0 不自动 */
|
|
21
|
+
autoPlay?: number;
|
|
22
|
+
/** 是否显示底部 dot indicator,默认 true */
|
|
23
|
+
showIndicator?: boolean;
|
|
24
|
+
/** indicator 位置策略,默认 'bottom' */
|
|
25
|
+
indicatorPosition?: CarouselIndicatorPosition;
|
|
26
|
+
/** 单项点击 */
|
|
27
|
+
onPressItem?: (item: T, index: number) => void;
|
|
28
|
+
/** 单项 a11y label 解析器。仅 `onPressItem` 存在时启用 —— Pressable 拿来作
|
|
29
|
+
* `accessibilityLabel`(role 自动设 button)。不传则 fallback `第 N 项`。 */
|
|
30
|
+
getAccessibilityLabel?: (item: T, index: number) => string;
|
|
31
|
+
/** 外层 View 附加样式 */
|
|
32
|
+
style?: StyleProp<ViewStyle>;
|
|
33
|
+
/** E2E / 测试定位 */
|
|
34
|
+
testID?: string;
|
|
35
|
+
};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type StyleProp, Text, type TextStyle, View } from 'react-native';
|
|
3
|
+
import { Pressable } from 'react-native-gesture-handler';
|
|
4
|
+
import { useColors, useThemedStyles } from '../../../theme';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { useListVariant } from './context';
|
|
7
|
+
import { Leading } from './Leading';
|
|
8
|
+
import { makeStyles } from './styles';
|
|
9
|
+
import type { CellProps } from './types';
|
|
10
|
+
|
|
11
|
+
function renderSlot(
|
|
12
|
+
value: React.ReactNode,
|
|
13
|
+
textStyle: StyleProp<TextStyle>,
|
|
14
|
+
numberOfLines: number
|
|
15
|
+
): React.ReactNode {
|
|
16
|
+
if (value == null) return null;
|
|
17
|
+
if (typeof value === 'string') {
|
|
18
|
+
return (
|
|
19
|
+
<Text style={textStyle} numberOfLines={numberOfLines}>
|
|
20
|
+
{value}
|
|
21
|
+
</Text>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
return value;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* 设置 / 列表行。布局:`leading? · (title / desc) · extra? · arrow?`
|
|
29
|
+
*
|
|
30
|
+
* 两种风格(由父 `<List>` 通过 ListVariantContext 决定):
|
|
31
|
+
* - `grouped`(默认):独立白卡片 + 8px 间距
|
|
32
|
+
* - `flush`(嵌在 Card 内):紧凑列表,28×28 橙色 icon 盒子,行间 inset hairline 分隔
|
|
33
|
+
*/
|
|
34
|
+
export function Cell({
|
|
35
|
+
title,
|
|
36
|
+
titleLines,
|
|
37
|
+
desc,
|
|
38
|
+
extra,
|
|
39
|
+
arrow,
|
|
40
|
+
leading,
|
|
41
|
+
onPress,
|
|
42
|
+
disabled,
|
|
43
|
+
danger,
|
|
44
|
+
style,
|
|
45
|
+
testID,
|
|
46
|
+
accessibilityLabel,
|
|
47
|
+
accessibilityHint,
|
|
48
|
+
}: CellProps): React.JSX.Element {
|
|
49
|
+
const c = useColors();
|
|
50
|
+
const styles = useThemedStyles(makeStyles);
|
|
51
|
+
const variant = useListVariant();
|
|
52
|
+
const flush = variant === 'flush';
|
|
53
|
+
|
|
54
|
+
const cellStyle = [
|
|
55
|
+
styles.cell,
|
|
56
|
+
flush && styles.cellFlush,
|
|
57
|
+
flush && desc != null && styles.cellFlushWithDesc,
|
|
58
|
+
style,
|
|
59
|
+
];
|
|
60
|
+
|
|
61
|
+
const titleColor = danger ? c.error : undefined;
|
|
62
|
+
const titleStyle = [
|
|
63
|
+
flush ? styles.titleFlush : styles.title,
|
|
64
|
+
titleColor && { color: titleColor },
|
|
65
|
+
];
|
|
66
|
+
const descStyle = flush ? styles.descFlush : styles.desc;
|
|
67
|
+
const extraStyle = flush ? styles.extraFlush : styles.extra;
|
|
68
|
+
|
|
69
|
+
const inner = (
|
|
70
|
+
<View style={cellStyle} testID={onPress ? undefined : testID}>
|
|
71
|
+
{leading != null ? <Leading slot={leading} danger={danger} /> : null}
|
|
72
|
+
<View style={styles.body}>
|
|
73
|
+
{renderSlot(title, titleStyle, titleLines ?? 1)}
|
|
74
|
+
{renderSlot(desc, descStyle, 2)}
|
|
75
|
+
</View>
|
|
76
|
+
{renderSlot(extra, extraStyle, 1)}
|
|
77
|
+
{arrow && !danger ? (
|
|
78
|
+
<Icon
|
|
79
|
+
name="chevron-right"
|
|
80
|
+
size={flush ? 18 : 20}
|
|
81
|
+
color={c.foregroundSubtle}
|
|
82
|
+
style={flush ? styles.chevronFlush : undefined}
|
|
83
|
+
/>
|
|
84
|
+
) : null}
|
|
85
|
+
</View>
|
|
86
|
+
);
|
|
87
|
+
|
|
88
|
+
if (onPress) {
|
|
89
|
+
return (
|
|
90
|
+
<Pressable
|
|
91
|
+
onPress={onPress}
|
|
92
|
+
disabled={disabled}
|
|
93
|
+
accessibilityRole="button"
|
|
94
|
+
accessibilityLabel={
|
|
95
|
+
accessibilityLabel ?? (typeof title === 'string' ? title : undefined)
|
|
96
|
+
}
|
|
97
|
+
accessibilityHint={accessibilityHint}
|
|
98
|
+
accessibilityState={disabled ? { disabled: true } : undefined}
|
|
99
|
+
testID={testID}
|
|
100
|
+
style={({ pressed }) => [
|
|
101
|
+
{ opacity: disabled ? 0.5 : pressed ? 0.7 : 1 },
|
|
102
|
+
]}
|
|
103
|
+
>
|
|
104
|
+
{inner}
|
|
105
|
+
</Pressable>
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
return inner;
|
|
109
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { StyleSheet, View } from 'react-native';
|
|
3
|
+
import { r, useColors } from '../../../theme';
|
|
4
|
+
import { Icon, type IconName } from '../Icon';
|
|
5
|
+
import { useListVariant } from './context';
|
|
6
|
+
|
|
7
|
+
const FLUSH_BOX_SIZE = r(28);
|
|
8
|
+
const FLUSH_BOX_RADIUS = r(7);
|
|
9
|
+
|
|
10
|
+
const sharedStyles = StyleSheet.create({
|
|
11
|
+
flushBox: {
|
|
12
|
+
width: FLUSH_BOX_SIZE,
|
|
13
|
+
height: FLUSH_BOX_SIZE,
|
|
14
|
+
borderRadius: FLUSH_BOX_RADIUS,
|
|
15
|
+
alignItems: 'center',
|
|
16
|
+
justifyContent: 'center',
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
export function Leading({
|
|
21
|
+
slot,
|
|
22
|
+
danger,
|
|
23
|
+
}: {
|
|
24
|
+
slot: IconName | ReactNode;
|
|
25
|
+
danger?: boolean;
|
|
26
|
+
}) {
|
|
27
|
+
const c = useColors();
|
|
28
|
+
const variant = useListVariant();
|
|
29
|
+
|
|
30
|
+
if (typeof slot === 'string') {
|
|
31
|
+
// grouped 模式:裸 icon 22px;flush 模式:28×28 圆角盒子,danger 时切 error-container
|
|
32
|
+
if (variant === 'flush') {
|
|
33
|
+
return (
|
|
34
|
+
<View
|
|
35
|
+
style={[
|
|
36
|
+
sharedStyles.flushBox,
|
|
37
|
+
{
|
|
38
|
+
backgroundColor: danger ? c.errorContainer : c.primaryContainer,
|
|
39
|
+
},
|
|
40
|
+
]}
|
|
41
|
+
>
|
|
42
|
+
<Icon
|
|
43
|
+
name={slot as IconName}
|
|
44
|
+
size={16}
|
|
45
|
+
color={danger ? c.error : c.primary}
|
|
46
|
+
/>
|
|
47
|
+
</View>
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
return (
|
|
51
|
+
<Icon
|
|
52
|
+
name={slot as IconName}
|
|
53
|
+
size={22}
|
|
54
|
+
color={danger ? c.error : c.foregroundMuted}
|
|
55
|
+
/>
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
return <View>{slot}</View>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { useThemedStyles } from '../../../theme';
|
|
4
|
+
import { ListVariantContext } from './context';
|
|
5
|
+
import { makeStyles } from './styles';
|
|
6
|
+
import type { ListProps } from './types';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Cell 的分组容器。
|
|
10
|
+
*
|
|
11
|
+
* - 默认 `grouped` = 灰底排列白卡片,间距 8px
|
|
12
|
+
* - `flush=true` = 嵌在外层 Card 内,紧凑列表;`divider="full"` 铺满全宽 hairline / `"none"` 无分隔线
|
|
13
|
+
*/
|
|
14
|
+
export function List({
|
|
15
|
+
children,
|
|
16
|
+
flush,
|
|
17
|
+
divider = 'full',
|
|
18
|
+
style,
|
|
19
|
+
testID,
|
|
20
|
+
}: ListProps): React.JSX.Element {
|
|
21
|
+
const styles = useThemedStyles(makeStyles);
|
|
22
|
+
if (flush) {
|
|
23
|
+
const items = React.Children.toArray(children).filter(Boolean);
|
|
24
|
+
return (
|
|
25
|
+
<ListVariantContext.Provider value="flush">
|
|
26
|
+
<View style={[styles.listFlush, style]} testID={testID}>
|
|
27
|
+
{items.map((child, i) => (
|
|
28
|
+
<React.Fragment key={i}>
|
|
29
|
+
{i > 0 && divider === 'full' ? (
|
|
30
|
+
<View style={styles.separator} />
|
|
31
|
+
) : null}
|
|
32
|
+
{child}
|
|
33
|
+
</React.Fragment>
|
|
34
|
+
))}
|
|
35
|
+
</View>
|
|
36
|
+
</ListVariantContext.Provider>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
return (
|
|
40
|
+
<ListVariantContext.Provider value="grouped">
|
|
41
|
+
<View style={[styles.list, styles.listGrouped, style]} testID={testID}>
|
|
42
|
+
{children}
|
|
43
|
+
</View>
|
|
44
|
+
</ListVariantContext.Provider>
|
|
45
|
+
);
|
|
46
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createContext, useContext } from 'react';
|
|
2
|
+
|
|
3
|
+
/** List → Cell 间的样式风格通道。
|
|
4
|
+
* - 'grouped' = 默认,每个 Cell 独立白卡片 + 8px 间距,无 cell 间分隔线
|
|
5
|
+
* - 'flush' = 紧凑列表,28×28 圆角 7 icon 盒子,Cell 之间 hairline 分隔线 */
|
|
6
|
+
export type ListVariant = 'grouped' | 'flush';
|
|
7
|
+
|
|
8
|
+
export const ListVariantContext = createContext<ListVariant>('grouped');
|
|
9
|
+
|
|
10
|
+
export const useListVariant = (): ListVariant => useContext(ListVariantContext);
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
cell: {
|
|
14
|
+
flexDirection: 'row',
|
|
15
|
+
alignItems: 'center',
|
|
16
|
+
gap: space[5],
|
|
17
|
+
paddingHorizontal: space[6],
|
|
18
|
+
paddingVertical: space[6],
|
|
19
|
+
minHeight: r(56),
|
|
20
|
+
backgroundColor: c.surface,
|
|
21
|
+
borderRadius: radius.lg,
|
|
22
|
+
},
|
|
23
|
+
cellFlush: {
|
|
24
|
+
backgroundColor: 'transparent',
|
|
25
|
+
borderRadius: 0,
|
|
26
|
+
gap: space[4],
|
|
27
|
+
paddingHorizontal: r(11),
|
|
28
|
+
paddingVertical: r(11),
|
|
29
|
+
minHeight: 0,
|
|
30
|
+
},
|
|
31
|
+
cellFlushWithDesc: {
|
|
32
|
+
paddingVertical: r(9),
|
|
33
|
+
},
|
|
34
|
+
body: {
|
|
35
|
+
flex: 1,
|
|
36
|
+
minWidth: 0,
|
|
37
|
+
gap: r(2),
|
|
38
|
+
},
|
|
39
|
+
title: {
|
|
40
|
+
fontSize: t.body,
|
|
41
|
+
fontWeight: fw.medium,
|
|
42
|
+
color: c.foreground,
|
|
43
|
+
lineHeight: t.body * 1.3,
|
|
44
|
+
},
|
|
45
|
+
titleFlush: {
|
|
46
|
+
fontSize: r(13),
|
|
47
|
+
fontWeight: fw.medium,
|
|
48
|
+
letterSpacing: -0.1,
|
|
49
|
+
lineHeight: r(13) * 1.3,
|
|
50
|
+
color: c.foreground,
|
|
51
|
+
},
|
|
52
|
+
desc: {
|
|
53
|
+
fontSize: t.xs,
|
|
54
|
+
color: c.foregroundSubtle,
|
|
55
|
+
lineHeight: t.xs * 1.4,
|
|
56
|
+
},
|
|
57
|
+
descFlush: {
|
|
58
|
+
fontSize: r(11),
|
|
59
|
+
color: c.foregroundMuted,
|
|
60
|
+
opacity: 0.55,
|
|
61
|
+
marginTop: r(1),
|
|
62
|
+
},
|
|
63
|
+
extra: {
|
|
64
|
+
fontSize: t.xs,
|
|
65
|
+
color: c.foregroundSubtle,
|
|
66
|
+
},
|
|
67
|
+
extraFlush: {
|
|
68
|
+
fontSize: r(11),
|
|
69
|
+
color: c.foregroundMuted,
|
|
70
|
+
opacity: 0.55,
|
|
71
|
+
},
|
|
72
|
+
chevronFlush: {
|
|
73
|
+
opacity: 0.35,
|
|
74
|
+
},
|
|
75
|
+
/** flush 行间分隔线 —— hairline + outline,铺满 cell 全宽 */
|
|
76
|
+
separator: {
|
|
77
|
+
height: StyleSheet.hairlineWidth,
|
|
78
|
+
backgroundColor: c.outline,
|
|
79
|
+
},
|
|
80
|
+
list: {
|
|
81
|
+
gap: space[3],
|
|
82
|
+
},
|
|
83
|
+
listGrouped: {
|
|
84
|
+
backgroundColor: c.background,
|
|
85
|
+
padding: space[3],
|
|
86
|
+
borderRadius: radius.xl,
|
|
87
|
+
},
|
|
88
|
+
listFlush: {
|
|
89
|
+
backgroundColor: 'transparent',
|
|
90
|
+
},
|
|
91
|
+
});
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
import type { IconName } from '../Icon';
|
|
4
|
+
|
|
5
|
+
export type CellProps = {
|
|
6
|
+
/** 标题(必填);string 自动套 Text + numberOfLines=titleLines,传 ReactNode 完全自定义 */
|
|
7
|
+
title: ReactNode;
|
|
8
|
+
/** title 是 string 时的 numberOfLines(默认 1)。多行场景如新闻列表标题传 2。 */
|
|
9
|
+
titleLines?: number;
|
|
10
|
+
/** 副标题;string 自动 numberOfLines=2,传 ReactNode 完全自定义 */
|
|
11
|
+
desc?: ReactNode;
|
|
12
|
+
/** 右侧 slot —— 字符串自动套 Text;传 ReactNode 放 Switch / Stepper / Tag 等控件 */
|
|
13
|
+
extra?: ReactNode;
|
|
14
|
+
/** 显示右侧 chevron-right 图标,常配合 onPress 表示「可进入下一级」 */
|
|
15
|
+
arrow?: boolean;
|
|
16
|
+
/** 前置 slot —— IconName 自动渲染 24×24 图标;传 ReactNode 放 Avatar / 自定义图形 */
|
|
17
|
+
leading?: IconName | ReactNode;
|
|
18
|
+
/** 点击回调 —— 不传则 cell 不可点(纯展示) */
|
|
19
|
+
onPress?: () => void;
|
|
20
|
+
/**
|
|
21
|
+
* 显式禁用:仅对带 onPress 的 cell 有效。
|
|
22
|
+
* disabled=true 时 onPress 不触发 + 整体半透明 + a11y disabled。
|
|
23
|
+
*/
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
/** 危险态:icon 盒子 + 标题用 error 红色,且不渲染 arrow(常用于退出登录 / 删除等)。 */
|
|
26
|
+
danger?: boolean;
|
|
27
|
+
/** 额外样式覆盖(合并到 cell 容器的 style 数组) */
|
|
28
|
+
style?: StyleProp<ViewStyle>;
|
|
29
|
+
/** E2E / 测试定位 */
|
|
30
|
+
testID?: string;
|
|
31
|
+
/** 显式 SR 朗读文案,覆盖 Cell 默认从 string title 推断的 fallback。
|
|
32
|
+
* title 是 ReactNode(自定义渲染)时尤其需要,否则 SR 用户听不到任何内容。 */
|
|
33
|
+
accessibilityLabel?: string;
|
|
34
|
+
/** SR 朗读 hint —— 说明 tap 后行为(参 CLAUDE.md a11y 章节,短 ≤8 字)。
|
|
35
|
+
* 常用:"查看详情" / "打开应用" 等;onPress 缺省时此 prop 无意义。 */
|
|
36
|
+
accessibilityHint?: string;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export type ListProps = {
|
|
40
|
+
/** 一组 Cell */
|
|
41
|
+
children: ReactNode;
|
|
42
|
+
/**
|
|
43
|
+
* `flush=true` 时不画灰色容器,行直接放在透明背景上。
|
|
44
|
+
* 用于:嵌套在 Card 内 / 第一屏 hero 区下方等已有底色的场景。
|
|
45
|
+
*/
|
|
46
|
+
flush?: boolean;
|
|
47
|
+
/** flush 模式下行间分隔线样式,默认 `'full'`(铺满全宽 hairline) / `'none'` 不画 */
|
|
48
|
+
divider?: 'full' | 'none';
|
|
49
|
+
/** 额外样式覆盖 */
|
|
50
|
+
style?: StyleProp<ViewStyle>;
|
|
51
|
+
/** E2E / 测试定位 */
|
|
52
|
+
testID?: string;
|
|
53
|
+
};
|