@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,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { StyleSheet } from 'react-native';
|
|
4
|
+
import { control, fw, r, radius, type as t } from "../../../theme/index.js";
|
|
5
|
+
/** Stepper 静态 + themed base —— btn / value 容器共用 cell 基底,radius / border 走 token。
|
|
6
|
+
* 尺寸(高 / 宽 / 字号)由 sizingFor 派生,sm 走 control.sm,md 走 r(32)(介于
|
|
7
|
+
* control.sm 与 control.md 之间,与 avatar.md / dim.sendBtn 同值但语义独立)。 */
|
|
8
|
+
export const makeStyles = c => StyleSheet.create({
|
|
9
|
+
wrap: {
|
|
10
|
+
flexDirection: 'row',
|
|
11
|
+
alignItems: 'center',
|
|
12
|
+
alignSelf: 'flex-start'
|
|
13
|
+
},
|
|
14
|
+
/** btn / value 共用的 cell 基底 —— 居中 + surface 背景 + 上下边框。
|
|
15
|
+
* 左右边框 / 圆角由 btnLeft / btnRight 增量补齐;value 中间无侧边框。 */
|
|
16
|
+
cell: {
|
|
17
|
+
alignItems: 'center',
|
|
18
|
+
justifyContent: 'center',
|
|
19
|
+
backgroundColor: c.surface,
|
|
20
|
+
borderTopWidth: 1,
|
|
21
|
+
borderBottomWidth: 1,
|
|
22
|
+
borderColor: c.outline
|
|
23
|
+
},
|
|
24
|
+
btnLeft: {
|
|
25
|
+
borderLeftWidth: 1,
|
|
26
|
+
borderTopLeftRadius: radius.md,
|
|
27
|
+
borderBottomLeftRadius: radius.md
|
|
28
|
+
},
|
|
29
|
+
btnRight: {
|
|
30
|
+
borderRightWidth: 1,
|
|
31
|
+
borderTopRightRadius: radius.md,
|
|
32
|
+
borderBottomRightRadius: radius.md
|
|
33
|
+
},
|
|
34
|
+
btnText: {
|
|
35
|
+
fontSize: t.h1,
|
|
36
|
+
color: c.foreground,
|
|
37
|
+
fontWeight: fw.medium,
|
|
38
|
+
lineHeight: t.h1
|
|
39
|
+
},
|
|
40
|
+
valueText: {
|
|
41
|
+
color: c.foreground,
|
|
42
|
+
fontWeight: fw.medium
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
/** Stepper 尺寸推导:sm(control.sm=28 高 / 28 按钮 / 40 值宽 / xs 字)/
|
|
47
|
+
* md(r(32) 高 / r(32) 按钮 / r(48) 值宽 / sm 字)。
|
|
48
|
+
* 新增 size 在 types.ts 加 union + 这里加 case。 */
|
|
49
|
+
export function sizingFor(size) {
|
|
50
|
+
switch (size) {
|
|
51
|
+
case 'sm':
|
|
52
|
+
return {
|
|
53
|
+
h: control.sm,
|
|
54
|
+
btn: control.sm,
|
|
55
|
+
w: r(40),
|
|
56
|
+
fs: t.xs
|
|
57
|
+
};
|
|
58
|
+
case 'md':
|
|
59
|
+
return {
|
|
60
|
+
h: r(32),
|
|
61
|
+
btn: r(32),
|
|
62
|
+
w: r(48),
|
|
63
|
+
fs: t.sm
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","control","fw","r","radius","type","t","makeStyles","c","create","wrap","flexDirection","alignItems","alignSelf","cell","justifyContent","backgroundColor","surface","borderTopWidth","borderBottomWidth","borderColor","outline","btnLeft","borderLeftWidth","borderTopLeftRadius","md","borderBottomLeftRadius","btnRight","borderRightWidth","borderTopRightRadius","borderBottomRightRadius","btnText","fontSize","h1","color","foreground","fontWeight","medium","lineHeight","valueText","sizingFor","size","h","sm","btn","w","fs","xs"],"sourceRoot":"../../../../../src","sources":["components/ui/Stepper/styles.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,OAAO,EAAEC,EAAE,EAAEC,CAAC,EAAEC,MAAM,EAAEC,IAAI,IAAIC,CAAC,QAAQ,yBAAgB;AAIlE;AACA;AACA;AACA,OAAO,MAAMC,UAAU,GAAIC,CAAc,IACvCR,UAAU,CAACS,MAAM,CAAC;EAChBC,IAAI,EAAE;IACJC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,SAAS,EAAE;EACb,CAAC;EACD;AACJ;EACIC,IAAI,EAAE;IACJF,UAAU,EAAE,QAAQ;IACpBG,cAAc,EAAE,QAAQ;IACxBC,eAAe,EAAER,CAAC,CAACS,OAAO;IAC1BC,cAAc,EAAE,CAAC;IACjBC,iBAAiB,EAAE,CAAC;IACpBC,WAAW,EAAEZ,CAAC,CAACa;EACjB,CAAC;EACDC,OAAO,EAAE;IACPC,eAAe,EAAE,CAAC;IAClBC,mBAAmB,EAAEpB,MAAM,CAACqB,EAAE;IAC9BC,sBAAsB,EAAEtB,MAAM,CAACqB;EACjC,CAAC;EACDE,QAAQ,EAAE;IACRC,gBAAgB,EAAE,CAAC;IACnBC,oBAAoB,EAAEzB,MAAM,CAACqB,EAAE;IAC/BK,uBAAuB,EAAE1B,MAAM,CAACqB;EAClC,CAAC;EACDM,OAAO,EAAE;IACPC,QAAQ,EAAE1B,CAAC,CAAC2B,EAAE;IACdC,KAAK,EAAE1B,CAAC,CAAC2B,UAAU;IACnBC,UAAU,EAAElC,EAAE,CAACmC,MAAM;IACrBC,UAAU,EAAEhC,CAAC,CAAC2B;EAChB,CAAC;EACDM,SAAS,EAAE;IACTL,KAAK,EAAE1B,CAAC,CAAC2B,UAAU;IACnBC,UAAU,EAAElC,EAAE,CAACmC;EACjB;AACF,CAAC,CAAC;;AAEJ;AACA;AACA;AACA,OAAO,SAASG,SAASA,CAACC,IAAiB,EAKzC;EACA,QAAQA,IAAI;IACV,KAAK,IAAI;MACP,OAAO;QAAEC,CAAC,EAAEzC,OAAO,CAAC0C,EAAE;QAAEC,GAAG,EAAE3C,OAAO,CAAC0C,EAAE;QAAEE,CAAC,EAAE1C,CAAC,CAAC,EAAE,CAAC;QAAE2C,EAAE,EAAExC,CAAC,CAACyC;MAAG,CAAC;IAC/D,KAAK,IAAI;MACP,OAAO;QAAEL,CAAC,EAAEvC,CAAC,CAAC,EAAE,CAAC;QAAEyC,GAAG,EAAEzC,CAAC,CAAC,EAAE,CAAC;QAAE0C,CAAC,EAAE1C,CAAC,CAAC,EAAE,CAAC;QAAE2C,EAAE,EAAExC,CAAC,CAACqC;MAAG,CAAC;EACvD;AACF","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/ui/Stepper/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { useEffect } from 'react';
|
|
4
|
+
import { Pressable } from 'react-native-gesture-handler';
|
|
5
|
+
import Animated, { cancelAnimation, interpolate, interpolateColor, useAnimatedStyle, useSharedValue, withTiming } from 'react-native-reanimated';
|
|
6
|
+
import { motion, r, useColors, useThemedStyles } from "../../../theme/index.js";
|
|
7
|
+
import { INSET, makeStyles, THUMB, TRACK_W } from "./styles.js";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
// ─── 动画派生常量(组件私有,非 style)─────────────────────────────────────
|
|
10
|
+
// 把手 translateX 的 off / on 端点:左右各留 INSET 间距,
|
|
11
|
+
// off = INSET(2),on = trackW - INSET - thumbW(32-2-16=14)。
|
|
12
|
+
// 走 r() 保证多设备缩放跟 track / thumb 物理尺寸一致(否则非设计基准设备会错位)。
|
|
13
|
+
const THUMB_OFF_X = r(INSET);
|
|
14
|
+
const THUMB_ON_X = r(TRACK_W - INSET - THUMB);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* 布尔切换。32×20 轨道 + 16×16 白色把手,200ms 缓动。
|
|
18
|
+
*
|
|
19
|
+
* 不用 RN 原生 Switch(iOS 上无法精确还原 Unif 尺寸)。
|
|
20
|
+
* reanimated 4 worklet 全程 UI 线程驱动。
|
|
21
|
+
*/
|
|
22
|
+
export function Switch({
|
|
23
|
+
value,
|
|
24
|
+
onChange,
|
|
25
|
+
disabled,
|
|
26
|
+
accessibilityLabel,
|
|
27
|
+
testID
|
|
28
|
+
}) {
|
|
29
|
+
const c = useColors();
|
|
30
|
+
const styles = useThemedStyles(makeStyles);
|
|
31
|
+
const progress = useSharedValue(value ? 1 : 0);
|
|
32
|
+
useEffect(() => {
|
|
33
|
+
progress.value = withTiming(value ? 1 : 0, {
|
|
34
|
+
duration: motion.base
|
|
35
|
+
});
|
|
36
|
+
return () => cancelAnimation(progress);
|
|
37
|
+
}, [value, progress]);
|
|
38
|
+
const trackStyle = useAnimatedStyle(() => ({
|
|
39
|
+
backgroundColor: interpolateColor(progress.value, [0, 1], [c.surfaceContainerHighest, c.primary])
|
|
40
|
+
}));
|
|
41
|
+
const thumbStyle = useAnimatedStyle(() => ({
|
|
42
|
+
transform: [{
|
|
43
|
+
translateX: interpolate(progress.value, [0, 1], [THUMB_OFF_X, THUMB_ON_X])
|
|
44
|
+
}]
|
|
45
|
+
}));
|
|
46
|
+
return /*#__PURE__*/_jsx(Pressable, {
|
|
47
|
+
onPress: () => !disabled && onChange(!value),
|
|
48
|
+
disabled: disabled,
|
|
49
|
+
hitSlop: 6,
|
|
50
|
+
style: disabled ? styles.pressableDisabled : styles.pressableEnabled,
|
|
51
|
+
accessibilityRole: "switch",
|
|
52
|
+
accessibilityState: {
|
|
53
|
+
checked: value,
|
|
54
|
+
disabled: !!disabled
|
|
55
|
+
},
|
|
56
|
+
accessibilityLabel: accessibilityLabel,
|
|
57
|
+
testID: testID,
|
|
58
|
+
children: /*#__PURE__*/_jsx(Animated.View, {
|
|
59
|
+
style: [styles.track, trackStyle],
|
|
60
|
+
children: /*#__PURE__*/_jsx(Animated.View, {
|
|
61
|
+
style: [styles.thumb, thumbStyle]
|
|
62
|
+
})
|
|
63
|
+
})
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=Switch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useEffect","Pressable","Animated","cancelAnimation","interpolate","interpolateColor","useAnimatedStyle","useSharedValue","withTiming","motion","r","useColors","useThemedStyles","INSET","makeStyles","THUMB","TRACK_W","jsx","_jsx","THUMB_OFF_X","THUMB_ON_X","Switch","value","onChange","disabled","accessibilityLabel","testID","c","styles","progress","duration","base","trackStyle","backgroundColor","surfaceContainerHighest","primary","thumbStyle","transform","translateX","onPress","hitSlop","style","pressableDisabled","pressableEnabled","accessibilityRole","accessibilityState","checked","children","View","track","thumb"],"sourceRoot":"../../../../../src","sources":["components/ui/Switch/Switch.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,SAASC,SAAS,QAAQ,8BAA8B;AAExD,OAAOC,QAAQ,IACbC,eAAe,EACfC,WAAW,EACXC,gBAAgB,EAChBC,gBAAgB,EAChBC,cAAc,EACdC,UAAU,QACL,yBAAyB;AAChC,SAASC,MAAM,EAAEC,CAAC,EAAEC,SAAS,EAAEC,eAAe,QAAQ,yBAAgB;AACtE,SAASC,KAAK,EAAEC,UAAU,EAAEC,KAAK,EAAEC,OAAO,QAAQ,aAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAG7D;AACA;AACA;AACA;AACA,MAAMC,WAAW,GAAGT,CAAC,CAACG,KAAK,CAAC;AAC5B,MAAMO,UAAU,GAAGV,CAAC,CAACM,OAAO,GAAGH,KAAK,GAAGE,KAAK,CAAC;;AAE7C;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASM,MAAMA,CAAC;EACrBC,KAAK;EACLC,QAAQ;EACRC,QAAQ;EACRC,kBAAkB;EAClBC;AACW,CAAC,EAAqB;EACjC,MAAMC,CAAC,GAAGhB,SAAS,CAAC,CAAC;EACrB,MAAMiB,MAAM,GAAGhB,eAAe,CAACE,UAAU,CAAC;EAC1C,MAAMe,QAAQ,GAAGtB,cAAc,CAACe,KAAK,GAAG,CAAC,GAAG,CAAC,CAAC;EAE9CtB,SAAS,CAAC,MAAM;IACd6B,QAAQ,CAACP,KAAK,GAAGd,UAAU,CAACc,KAAK,GAAG,CAAC,GAAG,CAAC,EAAE;MAAEQ,QAAQ,EAAErB,MAAM,CAACsB;IAAK,CAAC,CAAC;IACrE,OAAO,MAAM5B,eAAe,CAAC0B,QAAQ,CAAC;EACxC,CAAC,EAAE,CAACP,KAAK,EAAEO,QAAQ,CAAC,CAAC;EAErB,MAAMG,UAAU,GAAG1B,gBAAgB,CAAC,OAAO;IACzC2B,eAAe,EAAE5B,gBAAgB,CAC/BwB,QAAQ,CAACP,KAAK,EACd,CAAC,CAAC,EAAE,CAAC,CAAC,EACN,CAACK,CAAC,CAACO,uBAAuB,EAAEP,CAAC,CAACQ,OAAO,CACvC;EACF,CAAC,CAAC,CAAC;EAEH,MAAMC,UAAU,GAAG9B,gBAAgB,CAAC,OAAO;IACzC+B,SAAS,EAAE,CACT;MACEC,UAAU,EAAElC,WAAW,CACrByB,QAAQ,CAACP,KAAK,EACd,CAAC,CAAC,EAAE,CAAC,CAAC,EACN,CAACH,WAAW,EAAEC,UAAU,CAC1B;IACF,CAAC;EAEL,CAAC,CAAC,CAAC;EAEH,oBACEF,IAAA,CAACjB,SAAS;IACRsC,OAAO,EAAEA,CAAA,KAAM,CAACf,QAAQ,IAAID,QAAQ,CAAC,CAACD,KAAK,CAAE;IAC7CE,QAAQ,EAAEA,QAAS;IACnBgB,OAAO,EAAE,CAAE;IACXC,KAAK,EAAEjB,QAAQ,GAAGI,MAAM,CAACc,iBAAiB,GAAGd,MAAM,CAACe,gBAAiB;IACrEC,iBAAiB,EAAC,QAAQ;IAC1BC,kBAAkB,EAAE;MAAEC,OAAO,EAAExB,KAAK;MAAEE,QAAQ,EAAE,CAAC,CAACA;IAAS,CAAE;IAC7DC,kBAAkB,EAAEA,kBAAmB;IACvCC,MAAM,EAAEA,MAAO;IAAAqB,QAAA,eAEf7B,IAAA,CAAChB,QAAQ,CAAC8C,IAAI;MAACP,KAAK,EAAE,CAACb,MAAM,CAACqB,KAAK,EAAEjB,UAAU,CAAE;MAAAe,QAAA,eAC/C7B,IAAA,CAAChB,QAAQ,CAAC8C,IAAI;QAACP,KAAK,EAAE,CAACb,MAAM,CAACsB,KAAK,EAAEd,UAAU;MAAE,CAAE;IAAC,CACvC;EAAC,CACP,CAAC;AAEhB","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Switch"],"sourceRoot":"../../../../../src","sources":["components/ui/Switch/index.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,aAAU","ignoreList":[]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { StyleSheet } from 'react-native';
|
|
4
|
+
import { r, radius } from "../../../theme/index.js";
|
|
5
|
+
/** 轨道宽 32 / 高 20、把手 16×16、轨道内边距 2 —— Unif 自有 Switch 物理尺寸。
|
|
6
|
+
* 导出常量给 Switch.tsx interpolate translateX 复用(走 r() 保证多设备一致缩放)。 */
|
|
7
|
+
export const TRACK_W = 32;
|
|
8
|
+
export const TRACK_H = 20;
|
|
9
|
+
export const THUMB = 16;
|
|
10
|
+
export const INSET = 2;
|
|
11
|
+
export const makeStyles = c => StyleSheet.create({
|
|
12
|
+
pressableEnabled: {
|
|
13
|
+
opacity: 1
|
|
14
|
+
},
|
|
15
|
+
pressableDisabled: {
|
|
16
|
+
opacity: 0.5
|
|
17
|
+
},
|
|
18
|
+
track: {
|
|
19
|
+
width: r(TRACK_W),
|
|
20
|
+
height: r(TRACK_H),
|
|
21
|
+
borderRadius: radius.lg,
|
|
22
|
+
justifyContent: 'center'
|
|
23
|
+
},
|
|
24
|
+
thumb: {
|
|
25
|
+
width: r(THUMB),
|
|
26
|
+
height: r(THUMB),
|
|
27
|
+
borderRadius: radius.md,
|
|
28
|
+
backgroundColor: c.onPrimary
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","r","radius","TRACK_W","TRACK_H","THUMB","INSET","makeStyles","c","create","pressableEnabled","opacity","pressableDisabled","track","width","height","borderRadius","lg","justifyContent","thumb","md","backgroundColor","onPrimary"],"sourceRoot":"../../../../../src","sources":["components/ui/Switch/styles.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,CAAC,EAAEC,MAAM,QAAQ,yBAAgB;AAG1C;AACA;AACA,OAAO,MAAMC,OAAO,GAAG,EAAE;AACzB,OAAO,MAAMC,OAAO,GAAG,EAAE;AACzB,OAAO,MAAMC,KAAK,GAAG,EAAE;AACvB,OAAO,MAAMC,KAAK,GAAG,CAAC;AAEtB,OAAO,MAAMC,UAAU,GAAIC,CAAc,IACvCR,UAAU,CAACS,MAAM,CAAC;EAChBC,gBAAgB,EAAE;IAChBC,OAAO,EAAE;EACX,CAAC;EACDC,iBAAiB,EAAE;IACjBD,OAAO,EAAE;EACX,CAAC;EACDE,KAAK,EAAE;IACLC,KAAK,EAAEb,CAAC,CAACE,OAAO,CAAC;IACjBY,MAAM,EAAEd,CAAC,CAACG,OAAO,CAAC;IAClBY,YAAY,EAAEd,MAAM,CAACe,EAAE;IACvBC,cAAc,EAAE;EAClB,CAAC;EACDC,KAAK,EAAE;IACLL,KAAK,EAAEb,CAAC,CAACI,KAAK,CAAC;IACfU,MAAM,EAAEd,CAAC,CAACI,KAAK,CAAC;IAChBW,YAAY,EAAEd,MAAM,CAACkB,EAAE;IACvBC,eAAe,EAAEb,CAAC,CAACc;EACrB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/ui/Switch/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { Text, View } from 'react-native';
|
|
5
|
+
import { Pressable } from 'react-native-gesture-handler';
|
|
6
|
+
import { icon, useColors, useThemedStyles } from "../../../theme/index.js";
|
|
7
|
+
import { childTestID } from "../../../utils/testID/index.js";
|
|
8
|
+
import { Icon } from "../Icon/index.js";
|
|
9
|
+
import { makeStyles } from "./styles.js";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
/**
|
|
12
|
+
* 固定底部 tab bar —— App 主导航。
|
|
13
|
+
* 高 50px,顶部一条细线边框。激活色:primary-300。
|
|
14
|
+
* 想留 home indicator 的安全区,请外面包一层 `<SafeAreaView edges={['bottom']}>`。
|
|
15
|
+
*/
|
|
16
|
+
export function TabBar({
|
|
17
|
+
active,
|
|
18
|
+
onChange,
|
|
19
|
+
items,
|
|
20
|
+
testID
|
|
21
|
+
}) {
|
|
22
|
+
const c = useColors();
|
|
23
|
+
const styles = useThemedStyles(makeStyles);
|
|
24
|
+
return /*#__PURE__*/_jsx(View, {
|
|
25
|
+
style: styles.bar,
|
|
26
|
+
testID: testID,
|
|
27
|
+
children: items.map(item => {
|
|
28
|
+
const on = item.id === active;
|
|
29
|
+
const tint = on ? c.primary : c.foregroundSubtle;
|
|
30
|
+
const itemTestID = childTestID(testID, item.id, item.testID);
|
|
31
|
+
return /*#__PURE__*/_jsxs(Pressable, {
|
|
32
|
+
onPress: () => onChange(item.id),
|
|
33
|
+
accessibilityRole: "tab",
|
|
34
|
+
accessibilityState: {
|
|
35
|
+
selected: on
|
|
36
|
+
},
|
|
37
|
+
accessibilityLabel: item.label,
|
|
38
|
+
testID: itemTestID,
|
|
39
|
+
style: ({
|
|
40
|
+
pressed
|
|
41
|
+
}) => [styles.tab, {
|
|
42
|
+
opacity: pressed ? 0.7 : 1
|
|
43
|
+
}],
|
|
44
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
45
|
+
children: [/*#__PURE__*/_jsx(Icon, {
|
|
46
|
+
name: item.icon,
|
|
47
|
+
size: icon.sm,
|
|
48
|
+
color: tint
|
|
49
|
+
}), item.badge != null ? /*#__PURE__*/_jsx(View, {
|
|
50
|
+
style: styles.badge,
|
|
51
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
52
|
+
style: styles.badgeText,
|
|
53
|
+
children: item.badge
|
|
54
|
+
})
|
|
55
|
+
}) : null]
|
|
56
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
57
|
+
style: [styles.label, {
|
|
58
|
+
color: tint
|
|
59
|
+
}],
|
|
60
|
+
numberOfLines: 1,
|
|
61
|
+
children: item.label
|
|
62
|
+
})]
|
|
63
|
+
}, item.id);
|
|
64
|
+
})
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=TabBar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Text","View","Pressable","icon","useColors","useThemedStyles","childTestID","Icon","makeStyles","jsx","_jsx","jsxs","_jsxs","TabBar","active","onChange","items","testID","c","styles","style","bar","children","map","item","on","id","tint","primary","foregroundSubtle","itemTestID","onPress","accessibilityRole","accessibilityState","selected","accessibilityLabel","label","pressed","tab","opacity","name","size","sm","color","badge","badgeText","numberOfLines"],"sourceRoot":"../../../../../src","sources":["components/ui/TabBar/TabBar.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzC,SAASC,SAAS,QAAQ,8BAA8B;AACxD,SAASC,IAAI,EAAEC,SAAS,EAAEC,eAAe,QAAQ,yBAAgB;AACjE,SAASC,WAAW,QAAQ,gCAAuB;AACnD,SAASC,IAAI,QAAQ,kBAAS;AAC9B,SAASC,UAAU,QAAQ,aAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGtC;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAAC;EACrBC,MAAM;EACNC,QAAQ;EACRC,KAAK;EACLC;AACW,CAAC,EAAqB;EACjC,MAAMC,CAAC,GAAGd,SAAS,CAAC,CAAC;EACrB,MAAMe,MAAM,GAAGd,eAAe,CAACG,UAAU,CAAC;EAC1C,oBACEE,IAAA,CAACT,IAAI;IAACmB,KAAK,EAAED,MAAM,CAACE,GAAI;IAACJ,MAAM,EAAEA,MAAO;IAAAK,QAAA,EACrCN,KAAK,CAACO,GAAG,CAAEC,IAAI,IAAK;MACnB,MAAMC,EAAE,GAAGD,IAAI,CAACE,EAAE,KAAKZ,MAAM;MAC7B,MAAMa,IAAI,GAAGF,EAAE,GAAGP,CAAC,CAACU,OAAO,GAAGV,CAAC,CAACW,gBAAgB;MAChD,MAAMC,UAAU,GAAGxB,WAAW,CAACW,MAAM,EAAEO,IAAI,CAACE,EAAE,EAAEF,IAAI,CAACP,MAAM,CAAC;MAC5D,oBACEL,KAAA,CAACV,SAAS;QAER6B,OAAO,EAAEA,CAAA,KAAMhB,QAAQ,CAACS,IAAI,CAACE,EAAE,CAAE;QACjCM,iBAAiB,EAAC,KAAK;QACvBC,kBAAkB,EAAE;UAAEC,QAAQ,EAAET;QAAG,CAAE;QACrCU,kBAAkB,EAAEX,IAAI,CAACY,KAAM;QAC/BnB,MAAM,EAAEa,UAAW;QACnBV,KAAK,EAAEA,CAAC;UAAEiB;QAAQ,CAAC,KAAK,CACtBlB,MAAM,CAACmB,GAAG,EACV;UAAEC,OAAO,EAAEF,OAAO,GAAG,GAAG,GAAG;QAAE,CAAC,CAC9B;QAAAf,QAAA,gBAEFV,KAAA,CAACX,IAAI;UAAAqB,QAAA,gBACHZ,IAAA,CAACH,IAAI;YAACiC,IAAI,EAAEhB,IAAI,CAACrB,IAAK;YAACsC,IAAI,EAAEtC,IAAI,CAACuC,EAAG;YAACC,KAAK,EAAEhB;UAAK,CAAE,CAAC,EACpDH,IAAI,CAACoB,KAAK,IAAI,IAAI,gBACjBlC,IAAA,CAACT,IAAI;YAACmB,KAAK,EAAED,MAAM,CAACyB,KAAM;YAAAtB,QAAA,eACxBZ,IAAA,CAACV,IAAI;cAACoB,KAAK,EAAED,MAAM,CAAC0B,SAAU;cAAAvB,QAAA,EAAEE,IAAI,CAACoB;YAAK,CAAO;UAAC,CAC9C,CAAC,GACL,IAAI;QAAA,CACJ,CAAC,eACPlC,IAAA,CAACV,IAAI;UAACoB,KAAK,EAAE,CAACD,MAAM,CAACiB,KAAK,EAAE;YAAEO,KAAK,EAAEhB;UAAK,CAAC,CAAE;UAACmB,aAAa,EAAE,CAAE;UAAAxB,QAAA,EAC5DE,IAAI,CAACY;QAAK,CACP,CAAC;MAAA,GArBFZ,IAAI,CAACE,EAsBD,CAAC;IAEhB,CAAC;EAAC,CACE,CAAC;AAEX","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["TabBar"],"sourceRoot":"../../../../../src","sources":["components/ui/TabBar/index.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,aAAU","ignoreList":[]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { StyleSheet } from 'react-native';
|
|
4
|
+
import { fixed, fw, r, radius, space, type as t } from "../../../theme/index.js";
|
|
5
|
+
export const makeStyles = c => StyleSheet.create({
|
|
6
|
+
bar: {
|
|
7
|
+
height: fixed.tabbarH,
|
|
8
|
+
flexDirection: 'row',
|
|
9
|
+
backgroundColor: c.surface,
|
|
10
|
+
borderTopWidth: StyleSheet.hairlineWidth,
|
|
11
|
+
borderTopColor: c.outline
|
|
12
|
+
},
|
|
13
|
+
tab: {
|
|
14
|
+
flex: 1,
|
|
15
|
+
alignItems: 'center',
|
|
16
|
+
justifyContent: 'center',
|
|
17
|
+
gap: r(2)
|
|
18
|
+
},
|
|
19
|
+
label: {
|
|
20
|
+
fontSize: t.nano,
|
|
21
|
+
fontWeight: fw.medium,
|
|
22
|
+
lineHeight: 12
|
|
23
|
+
},
|
|
24
|
+
badge: {
|
|
25
|
+
position: 'absolute',
|
|
26
|
+
top: r(-3),
|
|
27
|
+
right: r(-10),
|
|
28
|
+
minWidth: r(16),
|
|
29
|
+
height: r(16),
|
|
30
|
+
borderRadius: radius.md,
|
|
31
|
+
backgroundColor: c.error,
|
|
32
|
+
paddingHorizontal: space[1],
|
|
33
|
+
alignItems: 'center',
|
|
34
|
+
justifyContent: 'center'
|
|
35
|
+
},
|
|
36
|
+
badgeText: {
|
|
37
|
+
color: c.onError,
|
|
38
|
+
fontSize: t.nano,
|
|
39
|
+
fontWeight: fw.bold,
|
|
40
|
+
lineHeight: 12
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","fixed","fw","r","radius","space","type","t","makeStyles","c","create","bar","height","tabbarH","flexDirection","backgroundColor","surface","borderTopWidth","hairlineWidth","borderTopColor","outline","tab","flex","alignItems","justifyContent","gap","label","fontSize","nano","fontWeight","medium","lineHeight","badge","position","top","right","minWidth","borderRadius","md","error","paddingHorizontal","badgeText","color","onError","bold"],"sourceRoot":"../../../../../src","sources":["components/ui/TabBar/styles.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,cAAc;AAEzC,SAASC,KAAK,EAAEC,EAAE,EAAEC,CAAC,EAAEC,MAAM,EAAEC,KAAK,EAAEC,IAAI,IAAIC,CAAC,QAAQ,yBAAgB;AAEvE,OAAO,MAAMC,UAAU,GAAIC,CAAc,IACvCT,UAAU,CAACU,MAAM,CAAC;EAChBC,GAAG,EAAE;IACHC,MAAM,EAAEX,KAAK,CAACY,OAAO;IACrBC,aAAa,EAAE,KAAK;IACpBC,eAAe,EAAEN,CAAC,CAACO,OAAO;IAC1BC,cAAc,EAAEjB,UAAU,CAACkB,aAAa;IACxCC,cAAc,EAAEV,CAAC,CAACW;EACpB,CAAC;EACDC,GAAG,EAAE;IACHC,IAAI,EAAE,CAAC;IACPC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,GAAG,EAAEtB,CAAC,CAAC,CAAC;EACV,CAAC;EACDuB,KAAK,EAAE;IACLC,QAAQ,EAAEpB,CAAC,CAACqB,IAAI;IAChBC,UAAU,EAAE3B,EAAE,CAAC4B,MAAM;IACrBC,UAAU,EAAE;EACd,CAAC;EACDC,KAAK,EAAE;IACLC,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE/B,CAAC,CAAC,CAAC,CAAC,CAAC;IACVgC,KAAK,EAAEhC,CAAC,CAAC,CAAC,EAAE,CAAC;IACbiC,QAAQ,EAAEjC,CAAC,CAAC,EAAE,CAAC;IACfS,MAAM,EAAET,CAAC,CAAC,EAAE,CAAC;IACbkC,YAAY,EAAEjC,MAAM,CAACkC,EAAE;IACvBvB,eAAe,EAAEN,CAAC,CAAC8B,KAAK;IACxBC,iBAAiB,EAAEnC,KAAK,CAAC,CAAC,CAAC;IAC3BkB,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDiB,SAAS,EAAE;IACTC,KAAK,EAAEjC,CAAC,CAACkC,OAAO;IAChBhB,QAAQ,EAAEpB,CAAC,CAACqB,IAAI;IAChBC,UAAU,EAAE3B,EAAE,CAAC0C,IAAI;IACnBb,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/ui/TabBar/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { Text, View } from 'react-native';
|
|
5
|
+
import { Pressable } from 'react-native-gesture-handler';
|
|
6
|
+
import { useColors, useThemedStyles, fw } from "../../../theme/index.js";
|
|
7
|
+
import { childTestID } from "../../../utils/testID/index.js";
|
|
8
|
+
import { makeStyles } from "./styles.js";
|
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
/**
|
|
11
|
+
* 页面级下划线 tabs。
|
|
12
|
+
* 占满宽度,高 44px,激活项下方有 2px 主色下划线。
|
|
13
|
+
*/
|
|
14
|
+
export function Tabs({
|
|
15
|
+
value,
|
|
16
|
+
onChange,
|
|
17
|
+
items,
|
|
18
|
+
testID
|
|
19
|
+
}) {
|
|
20
|
+
const c = useColors();
|
|
21
|
+
const styles = useThemedStyles(makeStyles);
|
|
22
|
+
return /*#__PURE__*/_jsx(View, {
|
|
23
|
+
style: styles.under,
|
|
24
|
+
testID: testID,
|
|
25
|
+
children: items.map(it => {
|
|
26
|
+
const on = it.id === value;
|
|
27
|
+
const itemTestID = childTestID(testID, it.id, it.testID);
|
|
28
|
+
return /*#__PURE__*/_jsxs(Pressable, {
|
|
29
|
+
onPress: () => onChange(it.id),
|
|
30
|
+
accessibilityRole: "tab",
|
|
31
|
+
accessibilityState: {
|
|
32
|
+
selected: on
|
|
33
|
+
},
|
|
34
|
+
accessibilityLabel: it.label,
|
|
35
|
+
testID: itemTestID,
|
|
36
|
+
style: ({
|
|
37
|
+
pressed
|
|
38
|
+
}) => [styles.underTab, {
|
|
39
|
+
opacity: pressed ? 0.7 : 1
|
|
40
|
+
}],
|
|
41
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
42
|
+
style: [styles.underLabel, {
|
|
43
|
+
color: on ? c.primary : c.foregroundMuted,
|
|
44
|
+
fontWeight: on ? fw.semi : fw.medium
|
|
45
|
+
}],
|
|
46
|
+
numberOfLines: 1,
|
|
47
|
+
children: it.label
|
|
48
|
+
}), on ? /*#__PURE__*/_jsx(View, {
|
|
49
|
+
style: styles.underBar
|
|
50
|
+
}) : null]
|
|
51
|
+
}, it.id);
|
|
52
|
+
})
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=Tabs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Text","View","Pressable","useColors","useThemedStyles","fw","childTestID","makeStyles","jsx","_jsx","jsxs","_jsxs","Tabs","value","onChange","items","testID","c","styles","style","under","children","map","it","on","id","itemTestID","onPress","accessibilityRole","accessibilityState","selected","accessibilityLabel","label","pressed","underTab","opacity","underLabel","color","primary","foregroundMuted","fontWeight","semi","medium","numberOfLines","underBar"],"sourceRoot":"../../../../../src","sources":["components/ui/Tabs/Tabs.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzC,SAASC,SAAS,QAAQ,8BAA8B;AACxD,SAASC,SAAS,EAAEC,eAAe,EAAEC,EAAE,QAAQ,yBAAgB;AAC/D,SAASC,WAAW,QAAQ,gCAAuB;AACnD,SAASC,UAAU,QAAQ,aAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGtC;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAAC;EACnBC,KAAK;EACLC,QAAQ;EACRC,KAAK;EACLC;AACS,CAAC,EAAqB;EAC/B,MAAMC,CAAC,GAAGd,SAAS,CAAC,CAAC;EACrB,MAAMe,MAAM,GAAGd,eAAe,CAACG,UAAU,CAAC;EAC1C,oBACEE,IAAA,CAACR,IAAI;IAACkB,KAAK,EAAED,MAAM,CAACE,KAAM;IAACJ,MAAM,EAAEA,MAAO;IAAAK,QAAA,EACvCN,KAAK,CAACO,GAAG,CAAEC,EAAE,IAAK;MACjB,MAAMC,EAAE,GAAGD,EAAE,CAACE,EAAE,KAAKZ,KAAK;MAC1B,MAAMa,UAAU,GAAGpB,WAAW,CAACU,MAAM,EAAEO,EAAE,CAACE,EAAE,EAAEF,EAAE,CAACP,MAAM,CAAC;MACxD,oBACEL,KAAA,CAACT,SAAS;QAERyB,OAAO,EAAEA,CAAA,KAAMb,QAAQ,CAACS,EAAE,CAACE,EAAE,CAAE;QAC/BG,iBAAiB,EAAC,KAAK;QACvBC,kBAAkB,EAAE;UAAEC,QAAQ,EAAEN;QAAG,CAAE;QACrCO,kBAAkB,EAAER,EAAE,CAACS,KAAM;QAC7BhB,MAAM,EAAEU,UAAW;QACnBP,KAAK,EAAEA,CAAC;UAAEc;QAAQ,CAAC,KAAK,CACtBf,MAAM,CAACgB,QAAQ,EACf;UAAEC,OAAO,EAAEF,OAAO,GAAG,GAAG,GAAG;QAAE,CAAC,CAC9B;QAAAZ,QAAA,gBAEFZ,IAAA,CAACT,IAAI;UACHmB,KAAK,EAAE,CACLD,MAAM,CAACkB,UAAU,EACjB;YACEC,KAAK,EAAEb,EAAE,GAAGP,CAAC,CAACqB,OAAO,GAAGrB,CAAC,CAACsB,eAAe;YACzCC,UAAU,EAAEhB,EAAE,GAAGnB,EAAE,CAACoC,IAAI,GAAGpC,EAAE,CAACqC;UAChC,CAAC,CACD;UACFC,aAAa,EAAE,CAAE;UAAAtB,QAAA,EAEhBE,EAAE,CAACS;QAAK,CACL,CAAC,EACNR,EAAE,gBAAGf,IAAA,CAACR,IAAI;UAACkB,KAAK,EAAED,MAAM,CAAC0B;QAAS,CAAE,CAAC,GAAG,IAAI;MAAA,GAvBxCrB,EAAE,CAACE,EAwBC,CAAC;IAEhB,CAAC;EAAC,CACE,CAAC;AAEX","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Tabs"],"sourceRoot":"../../../../../src","sources":["components/ui/Tabs/index.ts"],"mappings":";;AAAA,SAASA,IAAI,QAAQ,WAAQ","ignoreList":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { StyleSheet } from 'react-native';
|
|
4
|
+
import { fixed, icon, r, type as t } from "../../../theme/index.js";
|
|
5
|
+
export const makeStyles = c => StyleSheet.create({
|
|
6
|
+
under: {
|
|
7
|
+
flexDirection: 'row',
|
|
8
|
+
backgroundColor: c.surface,
|
|
9
|
+
borderBottomWidth: StyleSheet.hairlineWidth,
|
|
10
|
+
borderBottomColor: c.outline
|
|
11
|
+
},
|
|
12
|
+
underTab: {
|
|
13
|
+
flex: 1,
|
|
14
|
+
height: fixed.hitTarget,
|
|
15
|
+
alignItems: 'center',
|
|
16
|
+
justifyContent: 'center'
|
|
17
|
+
},
|
|
18
|
+
underLabel: {
|
|
19
|
+
fontSize: t.sm
|
|
20
|
+
},
|
|
21
|
+
underBar: {
|
|
22
|
+
position: 'absolute',
|
|
23
|
+
bottom: 0,
|
|
24
|
+
height: r(2),
|
|
25
|
+
width: icon.xl,
|
|
26
|
+
backgroundColor: c.primary,
|
|
27
|
+
borderRadius: r(1)
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","fixed","icon","r","type","t","makeStyles","c","create","under","flexDirection","backgroundColor","surface","borderBottomWidth","hairlineWidth","borderBottomColor","outline","underTab","flex","height","hitTarget","alignItems","justifyContent","underLabel","fontSize","sm","underBar","position","bottom","width","xl","primary","borderRadius"],"sourceRoot":"../../../../../src","sources":["components/ui/Tabs/styles.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,cAAc;AAEzC,SAASC,KAAK,EAAEC,IAAI,EAAEC,CAAC,EAAEC,IAAI,IAAIC,CAAC,QAAQ,yBAAgB;AAE1D,OAAO,MAAMC,UAAU,GAAIC,CAAc,IACvCP,UAAU,CAACQ,MAAM,CAAC;EAChBC,KAAK,EAAE;IACLC,aAAa,EAAE,KAAK;IACpBC,eAAe,EAAEJ,CAAC,CAACK,OAAO;IAC1BC,iBAAiB,EAAEb,UAAU,CAACc,aAAa;IAC3CC,iBAAiB,EAAER,CAAC,CAACS;EACvB,CAAC;EACDC,QAAQ,EAAE;IACRC,IAAI,EAAE,CAAC;IACPC,MAAM,EAAElB,KAAK,CAACmB,SAAS;IACvBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDC,UAAU,EAAE;IACVC,QAAQ,EAAEnB,CAAC,CAACoB;EACd,CAAC;EACDC,QAAQ,EAAE;IACRC,QAAQ,EAAE,UAAU;IACpBC,MAAM,EAAE,CAAC;IACTT,MAAM,EAAEhB,CAAC,CAAC,CAAC,CAAC;IACZ0B,KAAK,EAAE3B,IAAI,CAAC4B,EAAE;IACdnB,eAAe,EAAEJ,CAAC,CAACwB,OAAO;IAC1BC,YAAY,EAAE7B,CAAC,CAAC,CAAC;EACnB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/ui/Tabs/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Text, View } from 'react-native';
|
|
4
|
+
import { useColors } from "../../../theme/index.js";
|
|
5
|
+
import { paletteFor, sizingFor, styles } from "./styles.js";
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
export function Tag({
|
|
8
|
+
label,
|
|
9
|
+
variant = 'neutral',
|
|
10
|
+
size = 'md',
|
|
11
|
+
style,
|
|
12
|
+
numberOfLines = 1,
|
|
13
|
+
testID
|
|
14
|
+
}) {
|
|
15
|
+
const c = useColors();
|
|
16
|
+
const palette = paletteFor(variant, c);
|
|
17
|
+
const sizing = sizingFor(size);
|
|
18
|
+
const dynamicStyle = {
|
|
19
|
+
height: sizing.h,
|
|
20
|
+
paddingHorizontal: sizing.px,
|
|
21
|
+
backgroundColor: palette.bg,
|
|
22
|
+
borderColor: palette.border ?? 'transparent',
|
|
23
|
+
borderWidth: palette.border ? 1 : 0
|
|
24
|
+
};
|
|
25
|
+
const dynamicTextStyle = {
|
|
26
|
+
color: palette.fg,
|
|
27
|
+
fontSize: sizing.fs
|
|
28
|
+
};
|
|
29
|
+
return /*#__PURE__*/_jsx(View, {
|
|
30
|
+
style: [styles.base, dynamicStyle, style],
|
|
31
|
+
testID: testID,
|
|
32
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
33
|
+
style: [styles.text, dynamicTextStyle],
|
|
34
|
+
numberOfLines: numberOfLines,
|
|
35
|
+
children: label
|
|
36
|
+
})
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=Tag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Text","View","useColors","paletteFor","sizingFor","styles","jsx","_jsx","Tag","label","variant","size","style","numberOfLines","testID","c","palette","sizing","dynamicStyle","height","h","paddingHorizontal","px","backgroundColor","bg","borderColor","border","borderWidth","dynamicTextStyle","color","fg","fontSize","fs","base","children","text"],"sourceRoot":"../../../../../src","sources":["components/ui/Tag/Tag.tsx"],"mappings":";;AAAA,SAASA,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzC,SAASC,SAAS,QAAQ,yBAAgB;AAC1C,SAASC,UAAU,EAAEC,SAAS,EAAEC,MAAM,QAAQ,aAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAGzD,OAAO,SAASC,GAAGA,CAAC;EAClBC,KAAK;EACLC,OAAO,GAAG,SAAS;EACnBC,IAAI,GAAG,IAAI;EACXC,KAAK;EACLC,aAAa,GAAG,CAAC;EACjBC;AACQ,CAAC,EAAE;EACX,MAAMC,CAAC,GAAGb,SAAS,CAAC,CAAC;EACrB,MAAMc,OAAO,GAAGb,UAAU,CAACO,OAAO,EAAEK,CAAC,CAAC;EACtC,MAAME,MAAM,GAAGb,SAAS,CAACO,IAAI,CAAC;EAE9B,MAAMO,YAAY,GAAG;IACnBC,MAAM,EAAEF,MAAM,CAACG,CAAC;IAChBC,iBAAiB,EAAEJ,MAAM,CAACK,EAAE;IAC5BC,eAAe,EAAEP,OAAO,CAACQ,EAAE;IAC3BC,WAAW,EAAET,OAAO,CAACU,MAAM,IAAI,aAAa;IAC5CC,WAAW,EAAEX,OAAO,CAACU,MAAM,GAAG,CAAC,GAAG;EACpC,CAAC;EACD,MAAME,gBAAgB,GAAG;IAAEC,KAAK,EAAEb,OAAO,CAACc,EAAE;IAAEC,QAAQ,EAAEd,MAAM,CAACe;EAAG,CAAC;EAEnE,oBACEzB,IAAA,CAACN,IAAI;IAACW,KAAK,EAAE,CAACP,MAAM,CAAC4B,IAAI,EAAEf,YAAY,EAAEN,KAAK,CAAE;IAACE,MAAM,EAAEA,MAAO;IAAAoB,QAAA,eAC9D3B,IAAA,CAACP,IAAI;MACHY,KAAK,EAAE,CAACP,MAAM,CAAC8B,IAAI,EAAEP,gBAAgB,CAAE;MACvCf,aAAa,EAAEA,aAAc;MAAAqB,QAAA,EAE5BzB;IAAK,CACF;EAAC,CACH,CAAC;AAEX","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Tag"],"sourceRoot":"../../../../../src","sources":["components/ui/Tag/index.ts"],"mappings":";;AAAA,SAASA,GAAG,QAAQ,UAAO","ignoreList":[]}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { StyleSheet } from 'react-native';
|
|
4
|
+
import { fw, radius } from "../../../theme/index.js";
|
|
5
|
+
/** Tag 静态 base —— alignSelf 防 flex 父容器拉伸,radius 走 token。 */
|
|
6
|
+
export const styles = StyleSheet.create({
|
|
7
|
+
base: {
|
|
8
|
+
alignSelf: 'flex-start',
|
|
9
|
+
flexDirection: 'row',
|
|
10
|
+
alignItems: 'center',
|
|
11
|
+
borderRadius: radius.sm
|
|
12
|
+
},
|
|
13
|
+
text: {
|
|
14
|
+
fontWeight: fw.medium
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
/** Tag 尺寸推导:md(22h / 8px / 12fs)/ lg(26h / 10px / 13fs)。
|
|
19
|
+
* 新增 size 在 types.ts 加 union + 这里加 case。 */
|
|
20
|
+
export function sizingFor(size) {
|
|
21
|
+
switch (size) {
|
|
22
|
+
case 'md':
|
|
23
|
+
return {
|
|
24
|
+
h: 22,
|
|
25
|
+
px: 8,
|
|
26
|
+
fs: 12
|
|
27
|
+
};
|
|
28
|
+
case 'lg':
|
|
29
|
+
return {
|
|
30
|
+
h: 26,
|
|
31
|
+
px: 10,
|
|
32
|
+
fs: 13
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/** Tag 颜色推导:variant → { bg, fg, border } 三色,全走 ColorTokens。
|
|
38
|
+
* 签名 `(target, context)` 与 chat/Tool 的 tintFor / variantFor / labelFor 一致。 */
|
|
39
|
+
export function paletteFor(variant, c) {
|
|
40
|
+
switch (variant) {
|
|
41
|
+
case 'brand':
|
|
42
|
+
return {
|
|
43
|
+
bg: c.primaryContainer,
|
|
44
|
+
fg: c.primary,
|
|
45
|
+
border: undefined
|
|
46
|
+
};
|
|
47
|
+
case 'success':
|
|
48
|
+
return {
|
|
49
|
+
bg: c.successContainer,
|
|
50
|
+
fg: c.success,
|
|
51
|
+
border: undefined
|
|
52
|
+
};
|
|
53
|
+
case 'error':
|
|
54
|
+
return {
|
|
55
|
+
bg: c.errorContainer,
|
|
56
|
+
fg: c.error,
|
|
57
|
+
border: undefined
|
|
58
|
+
};
|
|
59
|
+
case 'info':
|
|
60
|
+
return {
|
|
61
|
+
bg: c.infoContainer,
|
|
62
|
+
fg: c.info,
|
|
63
|
+
border: undefined
|
|
64
|
+
};
|
|
65
|
+
case 'outline':
|
|
66
|
+
return {
|
|
67
|
+
bg: 'transparent',
|
|
68
|
+
fg: c.foregroundMuted,
|
|
69
|
+
border: c.outline
|
|
70
|
+
};
|
|
71
|
+
default:
|
|
72
|
+
return {
|
|
73
|
+
bg: c.surfaceContainerHigh,
|
|
74
|
+
fg: c.foregroundMuted,
|
|
75
|
+
border: undefined
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","fw","radius","styles","create","base","alignSelf","flexDirection","alignItems","borderRadius","sm","text","fontWeight","medium","sizingFor","size","h","px","fs","paletteFor","variant","c","bg","primaryContainer","fg","primary","border","undefined","successContainer","success","errorContainer","error","infoContainer","info","foregroundMuted","outline","surfaceContainerHigh"],"sourceRoot":"../../../../../src","sources":["components/ui/Tag/styles.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,EAAE,EAAEC,MAAM,QAA0B,yBAAgB;AAG7D;AACA,OAAO,MAAMC,MAAM,GAAGH,UAAU,CAACI,MAAM,CAAC;EACtCC,IAAI,EAAE;IACJC,SAAS,EAAE,YAAY;IACvBC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,YAAY,EAAEP,MAAM,CAACQ;EACvB,CAAC;EACDC,IAAI,EAAE;IACJC,UAAU,EAAEX,EAAE,CAACY;EACjB;AACF,CAAC,CAAC;;AAEF;AACA;AACA,OAAO,SAASC,SAASA,CAACC,IAAa,EAIrC;EACA,QAAQA,IAAI;IACV,KAAK,IAAI;MACP,OAAO;QAAEC,CAAC,EAAE,EAAE;QAAEC,EAAE,EAAE,CAAC;QAAEC,EAAE,EAAE;MAAG,CAAC;IACjC,KAAK,IAAI;MACP,OAAO;QAAEF,CAAC,EAAE,EAAE;QAAEC,EAAE,EAAE,EAAE;QAAEC,EAAE,EAAE;MAAG,CAAC;EACpC;AACF;;AAEA;AACA;AACA,OAAO,SAASC,UAAUA,CAACC,OAAmB,EAAEC,CAAc,EAAE;EAC9D,QAAQD,OAAO;IACb,KAAK,OAAO;MACV,OAAO;QAAEE,EAAE,EAAED,CAAC,CAACE,gBAAgB;QAAEC,EAAE,EAAEH,CAAC,CAACI,OAAO;QAAEC,MAAM,EAAEC;MAAU,CAAC;IACrE,KAAK,SAAS;MACZ,OAAO;QAAEL,EAAE,EAAED,CAAC,CAACO,gBAAgB;QAAEJ,EAAE,EAAEH,CAAC,CAACQ,OAAO;QAAEH,MAAM,EAAEC;MAAU,CAAC;IACrE,KAAK,OAAO;MACV,OAAO;QAAEL,EAAE,EAAED,CAAC,CAACS,cAAc;QAAEN,EAAE,EAAEH,CAAC,CAACU,KAAK;QAAEL,MAAM,EAAEC;MAAU,CAAC;IACjE,KAAK,MAAM;MACT,OAAO;QAAEL,EAAE,EAAED,CAAC,CAACW,aAAa;QAAER,EAAE,EAAEH,CAAC,CAACY,IAAI;QAAEP,MAAM,EAAEC;MAAU,CAAC;IAC/D,KAAK,SAAS;MACZ,OAAO;QACLL,EAAE,EAAE,aAAsB;QAC1BE,EAAE,EAAEH,CAAC,CAACa,eAAe;QACrBR,MAAM,EAAEL,CAAC,CAACc;MACZ,CAAC;IACH;MACE,OAAO;QACLb,EAAE,EAAED,CAAC,CAACe,oBAAoB;QAC1BZ,EAAE,EAAEH,CAAC,CAACa,eAAe;QACrBR,MAAM,EAAEC;MACV,CAAC;EACL;AACF","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/ui/Tag/types.ts"],"mappings":"","ignoreList":[]}
|