@campxdev/react-native-blueprint 0.1.13 → 0.1.15
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/README.md +82 -481
- package/lib/module/@types/rn-primitives.d.js +2 -0
- package/lib/module/@types/rn-primitives.d.js.map +1 -0
- package/lib/module/app/_layout.js +1 -7
- package/lib/module/app/_layout.js.map +1 -1
- package/lib/module/assets/404.json +1 -0
- package/lib/module/assets/Loading Animation.json +1 -0
- package/lib/module/assets/empty-document.json +1 -0
- package/lib/module/assets/icons/logo.png +0 -0
- package/lib/module/assets/index.js +4 -0
- package/lib/module/assets/index.js.map +1 -0
- package/lib/module/assets/lotties/index.js +17 -0
- package/lib/module/assets/lotties/index.js.map +1 -0
- package/lib/module/assets/no-connection.json +1 -0
- package/lib/module/assets/no-content.json +1 -0
- package/lib/module/assets/no-profile.json +1 -0
- package/lib/module/assets/no-search.json +1 -0
- package/lib/module/assets/no-task.json +1 -0
- package/lib/module/assets/no-wifi.json +1 -0
- package/lib/module/components/DataDisplay/Accordion/Accordion.figma.js +41 -0
- package/lib/module/components/DataDisplay/Accordion/Accordion.figma.js.map +1 -0
- package/lib/module/components/DataDisplay/Accordion/Accordion.js +204 -0
- package/lib/module/components/DataDisplay/Accordion/Accordion.js.map +1 -0
- package/lib/module/components/DataDisplay/AccordionItem/AccordionItem.figma.js +35 -0
- package/lib/module/components/DataDisplay/AccordionItem/AccordionItem.figma.js.map +1 -0
- package/lib/module/components/DataDisplay/AccordionItem/AccordionItem.js +148 -0
- package/lib/module/components/DataDisplay/AccordionItem/AccordionItem.js.map +1 -0
- package/lib/module/components/DataDisplay/Avatar/Avatar.figma.js +44 -0
- package/lib/module/components/DataDisplay/Avatar/Avatar.figma.js.map +1 -0
- package/lib/module/components/DataDisplay/Avatar/Avatar.js +129 -0
- package/lib/module/components/DataDisplay/Avatar/Avatar.js.map +1 -0
- package/lib/module/components/DataDisplay/Badge/Badge.figma.js +55 -0
- package/lib/module/components/DataDisplay/Badge/Badge.figma.js.map +1 -0
- package/lib/module/components/DataDisplay/Badge/Badge.js +160 -0
- package/lib/module/components/DataDisplay/Badge/Badge.js.map +1 -0
- package/lib/module/components/DataDisplay/BannerRow/BannerRow.figma.js +34 -0
- package/lib/module/components/DataDisplay/BannerRow/BannerRow.figma.js.map +1 -0
- package/lib/module/components/DataDisplay/BannerRow/BannerRow.js +121 -0
- package/lib/module/components/DataDisplay/BannerRow/BannerRow.js.map +1 -0
- package/lib/module/components/DataDisplay/CalendarItem/CalendarItem.figma.js +62 -0
- package/lib/module/components/DataDisplay/CalendarItem/CalendarItem.figma.js.map +1 -0
- package/lib/module/components/DataDisplay/CalendarItem/CalendarItem.js +117 -0
- package/lib/module/components/DataDisplay/CalendarItem/CalendarItem.js.map +1 -0
- package/lib/module/components/DataDisplay/Card/Card.figma.js +34 -0
- package/lib/module/components/DataDisplay/Card/Card.figma.js.map +1 -0
- package/lib/module/components/DataDisplay/Card/Card.js +336 -0
- package/lib/module/components/DataDisplay/Card/Card.js.map +1 -0
- package/lib/module/components/DataDisplay/Chips/Chips.figma.js +48 -0
- package/lib/module/components/DataDisplay/Chips/Chips.figma.js.map +1 -0
- package/lib/module/components/DataDisplay/Chips/Chips.js +225 -0
- package/lib/module/components/DataDisplay/Chips/Chips.js.map +1 -0
- package/lib/module/components/DataDisplay/ChipsRow/ChipsRow.figma.js +42 -0
- package/lib/module/components/DataDisplay/ChipsRow/ChipsRow.figma.js.map +1 -0
- package/lib/module/components/DataDisplay/ChipsRow/ChipsRow.js +62 -0
- package/lib/module/components/DataDisplay/ChipsRow/ChipsRow.js.map +1 -0
- package/lib/module/components/DataDisplay/DataCard/DataCard.figma.js +38 -0
- package/lib/module/components/DataDisplay/DataCard/DataCard.figma.js.map +1 -0
- package/lib/module/components/DataDisplay/DataCard/DataCard.js +50 -0
- package/lib/module/components/DataDisplay/DataCard/DataCard.js.map +1 -0
- package/lib/module/components/DataDisplay/DataListItem/DataListItem.figma.js +58 -0
- package/lib/module/components/DataDisplay/DataListItem/DataListItem.figma.js.map +1 -0
- package/lib/module/components/DataDisplay/DataListItem/DataListItem.js +273 -0
- package/lib/module/components/DataDisplay/DataListItem/DataListItem.js.map +1 -0
- package/lib/module/components/DataDisplay/Datalist/DataList.figma.js +28 -0
- package/lib/module/components/DataDisplay/Datalist/DataList.figma.js.map +1 -0
- package/lib/module/components/DataDisplay/Datalist/Datalist.js +40 -0
- package/lib/module/components/DataDisplay/Datalist/Datalist.js.map +1 -0
- package/lib/module/components/DataDisplay/MonthCalendar/MonthCalendar.figma.js +15 -0
- package/lib/module/components/DataDisplay/MonthCalendar/MonthCalendar.figma.js.map +1 -0
- package/lib/module/components/DataDisplay/MonthCalendar/MonthCalendar.js +362 -0
- package/lib/module/components/DataDisplay/MonthCalendar/MonthCalendar.js.map +1 -0
- package/lib/module/components/DataDisplay/MonthCalendar/index.js +4 -0
- package/lib/module/components/DataDisplay/MonthCalendar/index.js.map +1 -0
- package/lib/module/components/DataDisplay/Separator/Separator.figma.js +38 -0
- package/lib/module/components/DataDisplay/Separator/Separator.figma.js.map +1 -0
- package/lib/module/components/DataDisplay/Separator/Separator.js +110 -0
- package/lib/module/components/DataDisplay/Separator/Separator.js.map +1 -0
- package/lib/module/components/DataDisplay/Skeleton/Skeleton.figma.js +39 -0
- package/lib/module/components/DataDisplay/Skeleton/Skeleton.figma.js.map +1 -0
- package/lib/module/components/DataDisplay/Skeleton/Skeleton.js +182 -0
- package/lib/module/components/DataDisplay/Skeleton/Skeleton.js.map +1 -0
- package/lib/module/components/DataDisplay/Tooltip/Tooltip.figma.js +34 -0
- package/lib/module/components/DataDisplay/Tooltip/Tooltip.figma.js.map +1 -0
- package/lib/module/components/DataDisplay/Tooltip/Tooltip.js +79 -0
- package/lib/module/components/DataDisplay/Tooltip/Tooltip.js.map +1 -0
- package/lib/module/components/Feedback/Alert/Alert.figma.js +33 -0
- package/lib/module/components/Feedback/Alert/Alert.figma.js.map +1 -0
- package/lib/module/components/Feedback/Alert/Alert.js +350 -0
- package/lib/module/components/Feedback/Alert/Alert.js.map +1 -0
- package/lib/module/components/Feedback/AlertDialog/Alert-Dialog.figma.js +24 -0
- package/lib/module/components/Feedback/AlertDialog/Alert-Dialog.figma.js.map +1 -0
- package/lib/module/components/Feedback/AlertDialog/Alert-Dialog.js +126 -0
- package/lib/module/components/Feedback/AlertDialog/Alert-Dialog.js.map +1 -0
- package/lib/module/components/Feedback/InfoBar/InfoBar.figma.js +32 -0
- package/lib/module/components/Feedback/InfoBar/InfoBar.figma.js.map +1 -0
- package/lib/module/components/Feedback/InfoBar/InfoBar.js +107 -0
- package/lib/module/components/Feedback/InfoBar/InfoBar.js.map +1 -0
- package/lib/module/components/Feedback/ProgressCircular/Progress-circular.figma.js +28 -0
- package/lib/module/components/Feedback/ProgressCircular/Progress-circular.figma.js.map +1 -0
- package/lib/module/components/Feedback/ProgressCircular/Progress-circular.js +142 -0
- package/lib/module/components/Feedback/ProgressCircular/Progress-circular.js.map +1 -0
- package/lib/module/components/Feedback/ProgressLinear/Progress-linear.figma.js +24 -0
- package/lib/module/components/Feedback/ProgressLinear/Progress-linear.figma.js.map +1 -0
- package/lib/module/components/Feedback/ProgressLinear/Progress-linear.js +99 -0
- package/lib/module/components/Feedback/ProgressLinear/Progress-linear.js.map +1 -0
- package/lib/module/components/Feedback/Stepper/Stepper.figma.js +76 -0
- package/lib/module/components/Feedback/Stepper/Stepper.figma.js.map +1 -0
- package/lib/module/components/Feedback/Stepper/Stepper.js +219 -0
- package/lib/module/components/Feedback/Stepper/Stepper.js.map +1 -0
- package/lib/module/components/Input/Button/Button.figma.js +35 -0
- package/lib/module/components/Input/Button/Button.figma.js.map +1 -0
- package/lib/module/components/Input/Button/Button.js +258 -0
- package/lib/module/components/Input/Button/Button.js.map +1 -0
- package/lib/module/components/Input/Checkbox/Checkbox.figma.js +36 -0
- package/lib/module/components/Input/Checkbox/Checkbox.figma.js.map +1 -0
- package/lib/module/components/Input/Checkbox/Checkbox.js +160 -0
- package/lib/module/components/Input/Checkbox/Checkbox.js.map +1 -0
- package/lib/module/components/Input/RadioGroup/Radio-Group.figma.js +38 -0
- package/lib/module/components/Input/RadioGroup/Radio-Group.figma.js.map +1 -0
- package/lib/module/components/Input/RadioGroup/Radio-Group.js +171 -0
- package/lib/module/components/Input/RadioGroup/Radio-Group.js.map +1 -0
- package/lib/module/components/Input/Select/Select.figma.js +39 -0
- package/lib/module/components/Input/Select/Select.figma.js.map +1 -0
- package/lib/module/components/Input/Select/Select.js +277 -0
- package/lib/module/components/Input/Select/Select.js.map +1 -0
- package/lib/module/components/Input/Text/Text.js +69 -0
- package/lib/module/components/Input/Text/Text.js.map +1 -0
- package/lib/module/components/Input/TextField/Textfield.figma.js +51 -0
- package/lib/module/components/Input/TextField/Textfield.figma.js.map +1 -0
- package/lib/module/components/Input/TextField/Textfield.js +311 -0
- package/lib/module/components/Input/TextField/Textfield.js.map +1 -0
- package/lib/module/components/Input/Toggle/Toggle.figma.js +32 -0
- package/lib/module/components/Input/Toggle/Toggle.figma.js.map +1 -0
- package/lib/module/components/Input/Toggle/Toggle.js +140 -0
- package/lib/module/components/Input/Toggle/Toggle.js.map +1 -0
- package/lib/module/components/Input/ToggleGroup/Toggle-Group.figma.js +54 -0
- package/lib/module/components/Input/ToggleGroup/Toggle-Group.figma.js.map +1 -0
- package/lib/module/components/Input/ToggleGroup/Toggle-Group.js +211 -0
- package/lib/module/components/Input/ToggleGroup/Toggle-Group.js.map +1 -0
- package/lib/module/components/Input/switch/Switch.figma.js +35 -0
- package/lib/module/components/Input/switch/Switch.figma.js.map +1 -0
- package/lib/module/components/Input/switch/Switch.js +108 -0
- package/lib/module/components/Input/switch/Switch.js.map +1 -0
- package/lib/module/components/Layout/AspectRatio/Aspect-Ratio.figma.js +24 -0
- package/lib/module/components/Layout/AspectRatio/Aspect-Ratio.figma.js.map +1 -0
- package/lib/module/components/Layout/AspectRatio/Aspect-Ratio.js +59 -0
- package/lib/module/components/Layout/AspectRatio/Aspect-Ratio.js.map +1 -0
- package/lib/module/components/Layout/Bottomsheet/Bottom-Sheet.js +312 -0
- package/lib/module/components/Layout/Bottomsheet/Bottom-Sheet.js.map +1 -0
- package/lib/module/components/Layout/Bottomsheet/BottomSheet.figma.js +35 -0
- package/lib/module/components/Layout/Bottomsheet/BottomSheet.figma.js.map +1 -0
- package/lib/module/components/Layout/PageContent/PageContent.figma.js +32 -0
- package/lib/module/components/Layout/PageContent/PageContent.figma.js.map +1 -0
- package/lib/module/components/Layout/PageContent/PageContent.js +50 -0
- package/lib/module/components/Layout/PageContent/PageContent.js.map +1 -0
- package/lib/module/components/Layout/PageLayoutFocused/PageLayoutFocused.figma.js +62 -0
- package/lib/module/components/Layout/PageLayoutFocused/PageLayoutFocused.figma.js.map +1 -0
- package/lib/module/components/Layout/PageLayoutFocused/PageLayoutFocused.js +66 -0
- package/lib/module/components/Layout/PageLayoutFocused/PageLayoutFocused.js.map +1 -0
- package/lib/module/components/Layout/PageLayoutShell/PageLayoutShell.figma.js +38 -0
- package/lib/module/components/Layout/PageLayoutShell/PageLayoutShell.figma.js.map +1 -0
- package/lib/module/components/Layout/PageLayoutShell/PageLayoutShell.js +86 -0
- package/lib/module/components/Layout/PageLayoutShell/PageLayoutShell.js.map +1 -0
- package/lib/module/components/Layout/PopoverContainer/Popover-Container.js +226 -0
- package/lib/module/components/Layout/PopoverContainer/Popover-Container.js.map +1 -0
- package/lib/module/components/Layout/PopoverContainer/PopoverContainer.figma.js +33 -0
- package/lib/module/components/Layout/PopoverContainer/PopoverContainer.figma.js.map +1 -0
- package/lib/module/components/Layout/Tabs/Tabs.figma.js +26 -0
- package/lib/module/components/Layout/Tabs/Tabs.figma.js.map +1 -0
- package/lib/module/components/Layout/Tabs/Tabs.js +144 -0
- package/lib/module/components/Layout/Tabs/Tabs.js.map +1 -0
- package/lib/module/components/Navigation/Appbar/AppBar.figma.js +57 -0
- package/lib/module/components/Navigation/Appbar/AppBar.figma.js.map +1 -0
- package/lib/module/components/Navigation/Appbar/AppBar.js +147 -0
- package/lib/module/components/Navigation/Appbar/AppBar.js.map +1 -0
- package/lib/module/components/Navigation/ContextMenu/Context-Menu.js +98 -0
- package/lib/module/components/Navigation/ContextMenu/Context-Menu.js.map +1 -0
- package/lib/module/components/Navigation/ContextMenu/ContextMenu.figma.js +28 -0
- package/lib/module/components/Navigation/ContextMenu/ContextMenu.figma.js.map +1 -0
- package/lib/module/components/Navigation/Dialog/Dialog.figma.js +35 -0
- package/lib/module/components/Navigation/Dialog/Dialog.figma.js.map +1 -0
- package/lib/module/components/Navigation/Dialog/Dialog.js +199 -0
- package/lib/module/components/Navigation/Dialog/Dialog.js.map +1 -0
- package/lib/module/components/Navigation/FloatingAction/Floating-Action.figma.js +26 -0
- package/lib/module/components/Navigation/FloatingAction/Floating-Action.figma.js.map +1 -0
- package/lib/module/components/Navigation/FloatingAction/Floating-Action.js +59 -0
- package/lib/module/components/Navigation/FloatingAction/Floating-Action.js.map +1 -0
- package/lib/module/components/Navigation/Navbar/NavBar.figma.js +29 -0
- package/lib/module/components/Navigation/Navbar/NavBar.figma.js.map +1 -0
- package/lib/module/components/Navigation/Navbar/NavBar.js +170 -0
- package/lib/module/components/Navigation/Navbar/NavBar.js.map +1 -0
- package/lib/module/components/Navigation/Popover/Popover.figma.js +55 -0
- package/lib/module/components/Navigation/Popover/Popover.figma.js.map +1 -0
- package/lib/module/components/Navigation/Popover/Popover.js +49 -0
- package/lib/module/components/Navigation/Popover/Popover.js.map +1 -0
- package/lib/module/components/Navigation/Themetoggle/Theme-Toggle.figma.js +18 -0
- package/lib/module/components/Navigation/Themetoggle/Theme-Toggle.figma.js.map +1 -0
- package/lib/module/components/Navigation/Themetoggle/Theme-Toggle.js +48 -0
- package/lib/module/components/Navigation/Themetoggle/Theme-Toggle.js.map +1 -0
- package/lib/module/components/ui/Custom-Card.js +4 -7
- package/lib/module/components/ui/Custom-Card.js.map +1 -1
- package/lib/module/components/ui/Dropdown-Menu.js +5 -4
- package/lib/module/components/ui/Dropdown-Menu.js.map +1 -1
- package/lib/module/components/ui/Greeting-Card.js +2 -1
- package/lib/module/components/ui/Greeting-Card.js.map +1 -1
- package/lib/module/components/ui/Hover-Card.js +2 -1
- package/lib/module/components/ui/Hover-Card.js.map +1 -1
- package/lib/module/components/ui/Icon.js +1 -0
- package/lib/module/components/ui/Icon.js.map +1 -1
- package/lib/module/components/ui/Input.js +3 -3
- package/lib/module/components/ui/Input.js.map +1 -1
- package/lib/module/components/ui/Label.js +1 -1
- package/lib/module/components/ui/Label.js.map +1 -1
- package/lib/module/components/ui/Menubar.js +6 -5
- package/lib/module/components/ui/Menubar.js.map +1 -1
- package/lib/module/components/ui/Native-Only-Animated-View.js.map +1 -1
- package/lib/module/components/ui/Slider.js +3 -7
- package/lib/module/components/ui/Slider.js.map +1 -1
- package/lib/module/components/ui/Table.js +4 -3
- package/lib/module/components/ui/Table.js.map +1 -1
- package/lib/module/components/ui/Toast.js +4 -3
- package/lib/module/components/ui/Toast.js.map +1 -1
- package/lib/module/components/ui/index.js +53 -48
- package/lib/module/components/ui/index.js.map +1 -1
- package/lib/module/index.js +0 -3
- package/lib/module/index.js.map +1 -1
- package/lib/module/lib/fonts.js +8 -81
- package/lib/module/lib/fonts.js.map +1 -1
- package/lib/module/lib/theme.js +26 -2
- package/lib/module/lib/theme.js.map +1 -1
- package/lib/module/patterns/MonthlyCalendarPattern.js +465 -0
- package/lib/module/patterns/MonthlyCalendarPattern.js.map +1 -0
- package/lib/module/patterns/index.js +5 -0
- package/lib/module/patterns/index.js.map +1 -0
- package/lib/module/patterns/pattern-components/AlertDialogPattern/AlertDialogPattern.figma.js +32 -0
- package/lib/module/patterns/pattern-components/AlertDialogPattern/AlertDialogPattern.figma.js.map +1 -0
- package/lib/module/patterns/pattern-components/AlertDialogPattern/AlertDialogPattern.js +44 -0
- package/lib/module/patterns/pattern-components/AlertDialogPattern/AlertDialogPattern.js.map +1 -0
- package/lib/module/patterns/pattern-components/AlertDialogPattern/index.js +4 -0
- package/lib/module/patterns/pattern-components/AlertDialogPattern/index.js.map +1 -0
- package/lib/module/patterns/pattern-components/AlertPattern/AlertPattern.figma.js +19 -0
- package/lib/module/patterns/pattern-components/AlertPattern/AlertPattern.figma.js.map +1 -0
- package/lib/module/patterns/pattern-components/AlertPattern/AlertPattern.js +114 -0
- package/lib/module/patterns/pattern-components/AlertPattern/AlertPattern.js.map +1 -0
- package/lib/module/patterns/pattern-components/AlertPattern/index.js +4 -0
- package/lib/module/patterns/pattern-components/AlertPattern/index.js.map +1 -0
- package/lib/module/patterns/pattern-components/BottomSheetPattern/BottomSheetPattern.figma.js +34 -0
- package/lib/module/patterns/pattern-components/BottomSheetPattern/BottomSheetPattern.figma.js.map +1 -0
- package/lib/module/patterns/pattern-components/BottomSheetPattern/BottomSheetPattern.js +46 -0
- package/lib/module/patterns/pattern-components/BottomSheetPattern/BottomSheetPattern.js.map +1 -0
- package/lib/module/patterns/pattern-components/CalendarPattern/CalendarPattern.figma.js +74 -0
- package/lib/module/patterns/pattern-components/CalendarPattern/CalendarPattern.figma.js.map +1 -0
- package/lib/module/patterns/pattern-components/CalendarPattern/CalendarPattern.js +167 -0
- package/lib/module/patterns/pattern-components/CalendarPattern/CalendarPattern.js.map +1 -0
- package/lib/module/patterns/pattern-components/CardListPattern/CardListPattern.figma.js +69 -0
- package/lib/module/patterns/pattern-components/CardListPattern/CardListPattern.figma.js.map +1 -0
- package/lib/module/patterns/pattern-components/CardListPattern/CardListPattern.js +91 -0
- package/lib/module/patterns/pattern-components/CardListPattern/CardListPattern.js.map +1 -0
- package/lib/module/patterns/pattern-components/CardListPattern/index.js +4 -0
- package/lib/module/patterns/pattern-components/CardListPattern/index.js.map +1 -0
- package/lib/module/patterns/pattern-components/DashboardPattern/DashboardPattern.figma.js +57 -0
- package/lib/module/patterns/pattern-components/DashboardPattern/DashboardPattern.figma.js.map +1 -0
- package/lib/module/patterns/pattern-components/DashboardPattern/DashboardPattern.js +242 -0
- package/lib/module/patterns/pattern-components/DashboardPattern/DashboardPattern.js.map +1 -0
- package/lib/module/patterns/pattern-components/DataListPattern/DataListPattern.figma.js +70 -0
- package/lib/module/patterns/pattern-components/DataListPattern/DataListPattern.figma.js.map +1 -0
- package/lib/module/patterns/pattern-components/DataListPattern/DataListPattern.js +66 -0
- package/lib/module/patterns/pattern-components/DataListPattern/DataListPattern.js.map +1 -0
- package/lib/module/patterns/pattern-components/DataListPattern/index.js +4 -0
- package/lib/module/patterns/pattern-components/DataListPattern/index.js.map +1 -0
- package/lib/module/patterns/pattern-components/DialogPattern/DialogPattern.figma.js +33 -0
- package/lib/module/patterns/pattern-components/DialogPattern/DialogPattern.figma.js.map +1 -0
- package/lib/module/patterns/pattern-components/DialogPattern/DialogPattern.js +48 -0
- package/lib/module/patterns/pattern-components/DialogPattern/DialogPattern.js.map +1 -0
- package/lib/module/patterns/pattern-components/DialogPattern/index.js +4 -0
- package/lib/module/patterns/pattern-components/DialogPattern/index.js.map +1 -0
- package/lib/module/patterns/pattern-components/EmptyState/EmptyState.figma.js +33 -0
- package/lib/module/patterns/pattern-components/EmptyState/EmptyState.figma.js.map +1 -0
- package/lib/module/patterns/pattern-components/EmptyState/EmptyState.js +141 -0
- package/lib/module/patterns/pattern-components/EmptyState/EmptyState.js.map +1 -0
- package/lib/module/patterns/pattern-components/EmptyState/index.js +4 -0
- package/lib/module/patterns/pattern-components/EmptyState/index.js.map +1 -0
- package/lib/module/patterns/pattern-components/EntityPatternGuided/EntityPatternGuided.figma.js +31 -0
- package/lib/module/patterns/pattern-components/EntityPatternGuided/EntityPatternGuided.figma.js.map +1 -0
- package/lib/module/patterns/pattern-components/EntityPatternGuided/EntityPatternGuided.js +123 -0
- package/lib/module/patterns/pattern-components/EntityPatternGuided/EntityPatternGuided.js.map +1 -0
- package/lib/module/patterns/pattern-components/EntityPatternOverview/EntityPatternOverview.figma.js +31 -0
- package/lib/module/patterns/pattern-components/EntityPatternOverview/EntityPatternOverview.figma.js.map +1 -0
- package/lib/module/patterns/pattern-components/EntityPatternOverview/EntityPatternOverview.js +136 -0
- package/lib/module/patterns/pattern-components/EntityPatternOverview/EntityPatternOverview.js.map +1 -0
- package/lib/module/patterns/pattern-components/EntityPatternOverview/index.js +4 -0
- package/lib/module/patterns/pattern-components/EntityPatternOverview/index.js.map +1 -0
- package/lib/module/patterns/pattern-components/EntityPatternStructured/EntityPatternStructured.figma.js +31 -0
- package/lib/module/patterns/pattern-components/EntityPatternStructured/EntityPatternStructured.figma.js.map +1 -0
- package/lib/module/patterns/pattern-components/EntityPatternStructured/EntityPatternStructured.js +140 -0
- package/lib/module/patterns/pattern-components/EntityPatternStructured/EntityPatternStructured.js.map +1 -0
- package/lib/module/patterns/pattern-components/EntityPatternStructured/index.js +4 -0
- package/lib/module/patterns/pattern-components/EntityPatternStructured/index.js.map +1 -0
- package/lib/module/patterns/pattern-components/FormPattern/FormPattern.figma.js +31 -0
- package/lib/module/patterns/pattern-components/FormPattern/FormPattern.figma.js.map +1 -0
- package/lib/module/patterns/pattern-components/FormPattern/FormPattern.js +116 -0
- package/lib/module/patterns/pattern-components/FormPattern/FormPattern.js.map +1 -0
- package/lib/module/patterns/pattern-components/FormPattern/index.js +4 -0
- package/lib/module/patterns/pattern-components/FormPattern/index.js.map +1 -0
- package/lib/module/patterns/pattern-components/MonthlyCalendarPattern/MonthlyCalendarPattern.figma.js +48 -0
- package/lib/module/patterns/pattern-components/MonthlyCalendarPattern/MonthlyCalendarPattern.figma.js.map +1 -0
- package/lib/module/patterns/pattern-components/MonthlyCalendarPattern/MonthlyCalendarPattern.js +121 -0
- package/lib/module/patterns/pattern-components/MonthlyCalendarPattern/MonthlyCalendarPattern.js.map +1 -0
- package/lib/module/patterns/pattern-components/MonthlyCalendarPattern/index.js +5 -0
- package/lib/module/patterns/pattern-components/MonthlyCalendarPattern/index.js.map +1 -0
- package/lib/module/patterns/pattern-components/SkeletonPattern/SkeletonPattern.figma.js +31 -0
- package/lib/module/patterns/pattern-components/SkeletonPattern/SkeletonPattern.figma.js.map +1 -0
- package/lib/module/patterns/pattern-components/SkeletonPattern/SkeletonPattern.js +91 -0
- package/lib/module/patterns/pattern-components/SkeletonPattern/SkeletonPattern.js.map +1 -0
- package/lib/module/patterns/pattern-components/SkeletonPattern/index.js +4 -0
- package/lib/module/patterns/pattern-components/SkeletonPattern/index.js.map +1 -0
- package/lib/module/patterns/pattern-components/index.js +18 -0
- package/lib/module/patterns/pattern-components/index.js.map +1 -0
- package/package.json +66 -635
- package/src/@types/rn-primitives.d.ts +85 -0
- package/src/app/_layout.tsx +1 -7
- package/src/assets/404.json +1 -0
- package/src/assets/Loading Animation.json +1 -0
- package/src/assets/empty-document.json +1 -0
- package/src/assets/icons/logo.png +0 -0
- package/src/assets/index.ts +1 -0
- package/src/assets/lotties/index.ts +16 -0
- package/src/assets/no-connection.json +1 -0
- package/src/assets/no-content.json +1 -0
- package/src/assets/no-profile.json +1 -0
- package/src/assets/no-search.json +1 -0
- package/src/assets/no-task.json +1 -0
- package/src/assets/no-wifi.json +1 -0
- package/src/components/DataDisplay/Accordion/Accordion.figma.tsx +36 -0
- package/src/components/DataDisplay/Accordion/Accordion.tsx +227 -0
- package/src/components/DataDisplay/AccordionItem/AccordionItem.figma.tsx +33 -0
- package/src/components/DataDisplay/AccordionItem/AccordionItem.tsx +169 -0
- package/src/components/DataDisplay/Avatar/Avatar.figma.tsx +36 -0
- package/src/components/DataDisplay/Avatar/Avatar.tsx +146 -0
- package/src/components/DataDisplay/Badge/Badge.figma.tsx +57 -0
- package/src/components/DataDisplay/Badge/Badge.tsx +170 -0
- package/src/components/DataDisplay/BannerRow/BannerRow.figma.tsx +26 -0
- package/src/components/DataDisplay/BannerRow/BannerRow.tsx +186 -0
- package/src/components/DataDisplay/CalendarItem/CalendarItem.figma.tsx +74 -0
- package/src/components/DataDisplay/CalendarItem/CalendarItem.tsx +177 -0
- package/src/components/DataDisplay/Card/Card.figma.tsx +36 -0
- package/src/components/DataDisplay/Card/Card.tsx +450 -0
- package/src/components/DataDisplay/Chips/Chips.figma.tsx +43 -0
- package/src/components/DataDisplay/Chips/Chips.tsx +279 -0
- package/src/components/DataDisplay/ChipsRow/ChipsRow.figma.tsx +34 -0
- package/src/components/DataDisplay/ChipsRow/ChipsRow.tsx +91 -0
- package/src/components/DataDisplay/DataCard/DataCard.figma.tsx +31 -0
- package/src/components/DataDisplay/DataCard/DataCard.tsx +67 -0
- package/src/components/DataDisplay/DataListItem/DataListItem.figma.tsx +60 -0
- package/src/components/DataDisplay/DataListItem/DataListItem.tsx +371 -0
- package/src/components/DataDisplay/Datalist/DataList.figma.tsx +32 -0
- package/src/components/DataDisplay/Datalist/Datalist.tsx +44 -0
- package/src/components/DataDisplay/MonthCalendar/MonthCalendar.figma.tsx +15 -0
- package/src/components/DataDisplay/MonthCalendar/MonthCalendar.tsx +354 -0
- package/src/components/DataDisplay/MonthCalendar/index.ts +1 -0
- package/src/components/DataDisplay/Separator/Separator.figma.tsx +34 -0
- package/src/components/DataDisplay/Separator/Separator.tsx +108 -0
- package/src/components/DataDisplay/Skeleton/Skeleton.figma.tsx +36 -0
- package/src/components/DataDisplay/Skeleton/Skeleton.tsx +165 -0
- package/src/components/DataDisplay/Tooltip/Tooltip.figma.tsx +31 -0
- package/src/components/DataDisplay/Tooltip/Tooltip.tsx +101 -0
- package/src/components/Feedback/Alert/Alert.figma.tsx +40 -0
- package/src/components/Feedback/Alert/Alert.tsx +378 -0
- package/src/components/Feedback/AlertDialog/Alert-Dialog.figma.tsx +25 -0
- package/src/components/Feedback/AlertDialog/Alert-Dialog.tsx +176 -0
- package/src/components/Feedback/InfoBar/InfoBar.figma.tsx +31 -0
- package/src/components/Feedback/InfoBar/InfoBar.tsx +127 -0
- package/src/components/Feedback/ProgressCircular/Progress-circular.figma.tsx +32 -0
- package/src/components/Feedback/ProgressCircular/Progress-circular.tsx +165 -0
- package/src/components/Feedback/ProgressLinear/Progress-linear.figma.tsx +27 -0
- package/src/components/Feedback/ProgressLinear/Progress-linear.tsx +126 -0
- package/src/components/Feedback/Stepper/Stepper.figma.tsx +92 -0
- package/src/components/Feedback/Stepper/Stepper.tsx +289 -0
- package/src/components/Input/Button/Button.figma.tsx +41 -0
- package/src/components/Input/Button/Button.tsx +290 -0
- package/src/components/Input/Checkbox/Checkbox.figma.tsx +35 -0
- package/src/components/Input/Checkbox/Checkbox.tsx +180 -0
- package/src/components/Input/RadioGroup/Radio-Group.figma.tsx +36 -0
- package/src/components/Input/RadioGroup/Radio-Group.tsx +222 -0
- package/src/components/Input/Select/Select.figma.tsx +44 -0
- package/src/components/Input/Select/Select.tsx +366 -0
- package/src/components/Input/Text/Text.tsx +73 -0
- package/src/components/Input/TextField/Textfield.figma.tsx +56 -0
- package/src/components/Input/TextField/Textfield.tsx +416 -0
- package/src/components/Input/Toggle/Toggle.figma.tsx +37 -0
- package/src/components/Input/Toggle/Toggle.tsx +146 -0
- package/src/components/Input/ToggleGroup/Toggle-Group.figma.tsx +48 -0
- package/src/components/Input/ToggleGroup/Toggle-Group.tsx +264 -0
- package/src/components/Input/switch/Switch.figma.tsx +39 -0
- package/src/components/Input/switch/Switch.tsx +104 -0
- package/src/components/Layout/AspectRatio/Aspect-Ratio.figma.tsx +22 -0
- package/src/components/Layout/AspectRatio/Aspect-Ratio.tsx +54 -0
- package/src/components/Layout/Bottomsheet/Bottom-Sheet.tsx +443 -0
- package/src/components/Layout/Bottomsheet/BottomSheet.figma.tsx +38 -0
- package/src/components/Layout/PageContent/PageContent.figma.tsx +26 -0
- package/src/components/Layout/PageContent/PageContent.tsx +61 -0
- package/src/components/Layout/PageLayoutFocused/PageLayoutFocused.figma.tsx +65 -0
- package/src/components/Layout/PageLayoutFocused/PageLayoutFocused.tsx +67 -0
- package/src/components/Layout/PageLayoutShell/PageLayoutShell.figma.tsx +39 -0
- package/src/components/Layout/PageLayoutShell/PageLayoutShell.tsx +86 -0
- package/src/components/Layout/PopoverContainer/Popover-Container.tsx +300 -0
- package/src/components/Layout/PopoverContainer/PopoverContainer.figma.tsx +38 -0
- package/src/components/Layout/Tabs/Tabs.figma.tsx +22 -0
- package/src/components/Layout/Tabs/Tabs.tsx +171 -0
- package/src/components/Navigation/Appbar/AppBar.figma.tsx +57 -0
- package/src/components/Navigation/Appbar/AppBar.tsx +216 -0
- package/src/components/Navigation/ContextMenu/Context-Menu.tsx +136 -0
- package/src/components/Navigation/ContextMenu/ContextMenu.figma.tsx +27 -0
- package/src/components/Navigation/Dialog/Dialog.figma.tsx +38 -0
- package/src/components/Navigation/Dialog/Dialog.tsx +249 -0
- package/src/components/Navigation/FloatingAction/Floating-Action.figma.tsx +30 -0
- package/src/components/Navigation/FloatingAction/Floating-Action.tsx +78 -0
- package/src/components/Navigation/Navbar/NavBar.figma.tsx +41 -0
- package/src/components/Navigation/Navbar/NavBar.tsx +214 -0
- package/src/components/Navigation/Popover/Popover.figma.tsx +64 -0
- package/src/components/Navigation/Popover/Popover.tsx +60 -0
- package/src/components/Navigation/Themetoggle/Theme-Toggle.figma.tsx +19 -0
- package/src/components/Navigation/Themetoggle/Theme-Toggle.tsx +51 -0
- package/src/components/ui/Custom-Card.tsx +3 -7
- package/src/components/ui/Dropdown-Menu.tsx +7 -10
- package/src/components/ui/Greeting-Card.tsx +2 -1
- package/src/components/ui/Hover-Card.tsx +2 -1
- package/src/components/ui/Icon.tsx +1 -0
- package/src/components/ui/Input.tsx +5 -12
- package/src/components/ui/Label.tsx +1 -1
- package/src/components/ui/Menubar.tsx +10 -16
- package/src/components/ui/Native-Only-Animated-View.tsx +4 -3
- package/src/components/ui/Slider.tsx +3 -8
- package/src/components/ui/Table.tsx +9 -10
- package/src/components/ui/Toast.tsx +5 -7
- package/src/components/ui/index.ts +53 -48
- package/src/index.tsx +0 -3
- package/src/lib/fonts.ts +12 -83
- package/src/lib/theme.ts +22 -0
- package/src/patterns/MonthlyCalendarPattern.tsx +404 -0
- package/src/patterns/index.ts +2 -0
- package/src/patterns/pattern-components/AlertDialogPattern/AlertDialogPattern.figma.tsx +28 -0
- package/src/patterns/pattern-components/AlertDialogPattern/AlertDialogPattern.tsx +74 -0
- package/src/patterns/pattern-components/AlertDialogPattern/index.ts +4 -0
- package/src/patterns/pattern-components/AlertPattern/AlertPattern.figma.tsx +15 -0
- package/src/patterns/pattern-components/AlertPattern/AlertPattern.tsx +155 -0
- package/src/patterns/pattern-components/AlertPattern/index.ts +2 -0
- package/src/patterns/pattern-components/BottomSheetPattern/BottomSheetPattern.figma.tsx +30 -0
- package/src/patterns/pattern-components/BottomSheetPattern/BottomSheetPattern.tsx +66 -0
- package/src/patterns/pattern-components/CalendarPattern/CalendarPattern.figma.tsx +80 -0
- package/src/patterns/pattern-components/CalendarPattern/CalendarPattern.tsx +201 -0
- package/src/patterns/pattern-components/CardListPattern/CardListPattern.figma.tsx +61 -0
- package/src/patterns/pattern-components/CardListPattern/CardListPattern.tsx +139 -0
- package/src/patterns/pattern-components/CardListPattern/index.ts +2 -0
- package/src/patterns/pattern-components/DashboardPattern/DashboardPattern.figma.tsx +50 -0
- package/src/patterns/pattern-components/DashboardPattern/DashboardPattern.tsx +295 -0
- package/src/patterns/pattern-components/DataListPattern/DataListPattern.figma.tsx +45 -0
- package/src/patterns/pattern-components/DataListPattern/DataListPattern.tsx +88 -0
- package/src/patterns/pattern-components/DataListPattern/index.ts +2 -0
- package/src/patterns/pattern-components/DialogPattern/DialogPattern.figma.tsx +29 -0
- package/src/patterns/pattern-components/DialogPattern/DialogPattern.tsx +71 -0
- package/src/patterns/pattern-components/DialogPattern/index.ts +1 -0
- package/src/patterns/pattern-components/EmptyState/EmptyState.figma.tsx +34 -0
- package/src/patterns/pattern-components/EmptyState/EmptyState.tsx +176 -0
- package/src/patterns/pattern-components/EmptyState/index.ts +2 -0
- package/src/patterns/pattern-components/EntityPatternGuided/EntityPatternGuided.figma.tsx +27 -0
- package/src/patterns/pattern-components/EntityPatternGuided/EntityPatternGuided.tsx +164 -0
- package/src/patterns/pattern-components/EntityPatternOverview/EntityPatternOverview.figma.tsx +27 -0
- package/src/patterns/pattern-components/EntityPatternOverview/EntityPatternOverview.tsx +175 -0
- package/src/patterns/pattern-components/EntityPatternOverview/index.ts +2 -0
- package/src/patterns/pattern-components/EntityPatternStructured/EntityPatternStructured.figma.tsx +27 -0
- package/src/patterns/pattern-components/EntityPatternStructured/EntityPatternStructured.tsx +188 -0
- package/src/patterns/pattern-components/EntityPatternStructured/index.ts +2 -0
- package/src/patterns/pattern-components/FormPattern/FormPattern.figma.tsx +27 -0
- package/src/patterns/pattern-components/FormPattern/FormPattern.tsx +139 -0
- package/src/patterns/pattern-components/FormPattern/index.ts +2 -0
- package/src/patterns/pattern-components/MonthlyCalendarPattern/MonthlyCalendarPattern.figma.tsx +39 -0
- package/src/patterns/pattern-components/MonthlyCalendarPattern/MonthlyCalendarPattern.tsx +139 -0
- package/src/patterns/pattern-components/MonthlyCalendarPattern/index.ts +5 -0
- package/src/patterns/pattern-components/SkeletonPattern/SkeletonPattern.figma.tsx +27 -0
- package/src/patterns/pattern-components/SkeletonPattern/SkeletonPattern.tsx +100 -0
- package/src/patterns/pattern-components/SkeletonPattern/index.ts +2 -0
- package/src/patterns/pattern-components/index.ts +15 -0
- package/lib/commonjs/app/_layout.js +0 -34
- package/lib/commonjs/app/_layout.js.map +0 -1
- package/lib/commonjs/assets/icons/weather_icons/drizzle.png +0 -0
- package/lib/commonjs/assets/icons/weather_icons/foggy.png +0 -0
- package/lib/commonjs/assets/icons/weather_icons/freezing_rain.png +0 -0
- package/lib/commonjs/assets/icons/weather_icons/partly_cloudy.png +0 -0
- package/lib/commonjs/assets/icons/weather_icons/rainy.png +0 -0
- package/lib/commonjs/assets/icons/weather_icons/showers.png +0 -0
- package/lib/commonjs/assets/icons/weather_icons/sunny_weather.png +0 -0
- package/lib/commonjs/assets/icons/weather_icons/thunderstorm.png +0 -0
- package/lib/commonjs/assets/icons/weather_icons/thunderstorm_hail.png +0 -0
- package/lib/commonjs/components/theme-config.js +0 -274
- package/lib/commonjs/components/theme-config.js.map +0 -1
- package/lib/commonjs/components/ui/Accordion.js +0 -235
- package/lib/commonjs/components/ui/Accordion.js.map +0 -1
- package/lib/commonjs/components/ui/Alert-Dialog.js +0 -280
- package/lib/commonjs/components/ui/Alert-Dialog.js.map +0 -1
- package/lib/commonjs/components/ui/Alert.js +0 -113
- package/lib/commonjs/components/ui/Alert.js.map +0 -1
- package/lib/commonjs/components/ui/AppBar.js +0 -407
- package/lib/commonjs/components/ui/AppBar.js.map +0 -1
- package/lib/commonjs/components/ui/Aspect-Ratio.js +0 -30
- package/lib/commonjs/components/ui/Aspect-Ratio.js.map +0 -1
- package/lib/commonjs/components/ui/Avatar.js +0 -101
- package/lib/commonjs/components/ui/Avatar.js.map +0 -1
- package/lib/commonjs/components/ui/Badge.js +0 -131
- package/lib/commonjs/components/ui/Badge.js.map +0 -1
- package/lib/commonjs/components/ui/Bottom-Sheet.js +0 -156
- package/lib/commonjs/components/ui/Bottom-Sheet.js.map +0 -1
- package/lib/commonjs/components/ui/Button.js +0 -92
- package/lib/commonjs/components/ui/Button.js.map +0 -1
- package/lib/commonjs/components/ui/Card.js +0 -180
- package/lib/commonjs/components/ui/Card.js.map +0 -1
- package/lib/commonjs/components/ui/Checkbox.js +0 -69
- package/lib/commonjs/components/ui/Checkbox.js.map +0 -1
- package/lib/commonjs/components/ui/Collapsible.js +0 -45
- package/lib/commonjs/components/ui/Collapsible.js.map +0 -1
- package/lib/commonjs/components/ui/Context-Menu.js +0 -304
- package/lib/commonjs/components/ui/Context-Menu.js.map +0 -1
- package/lib/commonjs/components/ui/Custom-Card.js +0 -210
- package/lib/commonjs/components/ui/Custom-Card.js.map +0 -1
- package/lib/commonjs/components/ui/Dialog.js +0 -214
- package/lib/commonjs/components/ui/Dialog.js.map +0 -1
- package/lib/commonjs/components/ui/Dropdown-Menu.js +0 -438
- package/lib/commonjs/components/ui/Dropdown-Menu.js.map +0 -1
- package/lib/commonjs/components/ui/Floating-Action.js +0 -55
- package/lib/commonjs/components/ui/Floating-Action.js.map +0 -1
- package/lib/commonjs/components/ui/Greeting-Card.js +0 -401
- package/lib/commonjs/components/ui/Greeting-Card.js.map +0 -1
- package/lib/commonjs/components/ui/Hover-Card.js +0 -100
- package/lib/commonjs/components/ui/Hover-Card.js.map +0 -1
- package/lib/commonjs/components/ui/Icon.js +0 -76
- package/lib/commonjs/components/ui/Icon.js.map +0 -1
- package/lib/commonjs/components/ui/Input.js +0 -79
- package/lib/commonjs/components/ui/Input.js.map +0 -1
- package/lib/commonjs/components/ui/Label.js +0 -48
- package/lib/commonjs/components/ui/Label.js.map +0 -1
- package/lib/commonjs/components/ui/Menubar.js +0 -392
- package/lib/commonjs/components/ui/Menubar.js.map +0 -1
- package/lib/commonjs/components/ui/Native-Only-Animated-View.js +0 -43
- package/lib/commonjs/components/ui/Native-Only-Animated-View.js.map +0 -1
- package/lib/commonjs/components/ui/NavBar.js +0 -356
- package/lib/commonjs/components/ui/NavBar.js.map +0 -1
- package/lib/commonjs/components/ui/Popover.js +0 -105
- package/lib/commonjs/components/ui/Popover.js.map +0 -1
- package/lib/commonjs/components/ui/Progress.js +0 -127
- package/lib/commonjs/components/ui/Progress.js.map +0 -1
- package/lib/commonjs/components/ui/Radio-Group.js +0 -78
- package/lib/commonjs/components/ui/Radio-Group.js.map +0 -1
- package/lib/commonjs/components/ui/Select.js +0 -283
- package/lib/commonjs/components/ui/Select.js.map +0 -1
- package/lib/commonjs/components/ui/Separator.js +0 -62
- package/lib/commonjs/components/ui/Separator.js.map +0 -1
- package/lib/commonjs/components/ui/SizedBox.js +0 -106
- package/lib/commonjs/components/ui/SizedBox.js.map +0 -1
- package/lib/commonjs/components/ui/Skeleton.js +0 -60
- package/lib/commonjs/components/ui/Skeleton.js.map +0 -1
- package/lib/commonjs/components/ui/Slider.js +0 -178
- package/lib/commonjs/components/ui/Slider.js.map +0 -1
- package/lib/commonjs/components/ui/Switch.js +0 -57
- package/lib/commonjs/components/ui/Switch.js.map +0 -1
- package/lib/commonjs/components/ui/Table.js +0 -161
- package/lib/commonjs/components/ui/Table.js.map +0 -1
- package/lib/commonjs/components/ui/Tabs.js +0 -111
- package/lib/commonjs/components/ui/Tabs.js.map +0 -1
- package/lib/commonjs/components/ui/Text.js +0 -73
- package/lib/commonjs/components/ui/Text.js.map +0 -1
- package/lib/commonjs/components/ui/Textarea.js +0 -93
- package/lib/commonjs/components/ui/Textarea.js.map +0 -1
- package/lib/commonjs/components/ui/Theme-Toggle.js +0 -160
- package/lib/commonjs/components/ui/Theme-Toggle.js.map +0 -1
- package/lib/commonjs/components/ui/Toast.js +0 -107
- package/lib/commonjs/components/ui/Toast.js.map +0 -1
- package/lib/commonjs/components/ui/Toggle-Group.js +0 -133
- package/lib/commonjs/components/ui/Toggle-Group.js.map +0 -1
- package/lib/commonjs/components/ui/Toggle.js +0 -110
- package/lib/commonjs/components/ui/Toggle.js.map +0 -1
- package/lib/commonjs/components/ui/Tooltip.js +0 -110
- package/lib/commonjs/components/ui/Tooltip.js.map +0 -1
- package/lib/commonjs/components/ui/index.js +0 -215
- package/lib/commonjs/components/ui/index.js.map +0 -1
- package/lib/commonjs/global.css +0 -417
- package/lib/commonjs/index.js +0 -118
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/lib/ThemeProvider.js +0 -180
- package/lib/commonjs/lib/ThemeProvider.js.map +0 -1
- package/lib/commonjs/lib/cornerRadius.js +0 -171
- package/lib/commonjs/lib/cornerRadius.js.map +0 -1
- package/lib/commonjs/lib/fonts.js +0 -101
- package/lib/commonjs/lib/fonts.js.map +0 -1
- package/lib/commonjs/lib/slot-helpers.js +0 -24
- package/lib/commonjs/lib/slot-helpers.js.map +0 -1
- package/lib/commonjs/lib/theme.js +0 -215
- package/lib/commonjs/lib/theme.js.map +0 -1
- package/lib/commonjs/lib/utils.js +0 -142
- package/lib/commonjs/lib/utils.js.map +0 -1
- package/lib/commonjs/package.json +0 -1
- package/lib/commonjs/types/components.d.js +0 -6
- package/lib/commonjs/types/components.d.js.map +0 -1
- package/lib/commonjs/types/global.d.js +0 -8
- package/lib/commonjs/types/global.d.js.map +0 -1
- package/lib/commonjs/types/rn-primitives.d.js +0 -6
- package/lib/commonjs/types/rn-primitives.d.js.map +0 -1
- package/lib/module/components/ui/Accordion.js +0 -228
- package/lib/module/components/ui/Accordion.js.map +0 -1
- package/lib/module/components/ui/Alert-Dialog.js +0 -266
- package/lib/module/components/ui/Alert-Dialog.js.map +0 -1
- package/lib/module/components/ui/Alert.js +0 -107
- package/lib/module/components/ui/Alert.js.map +0 -1
- package/lib/module/components/ui/AppBar.js +0 -403
- package/lib/module/components/ui/AppBar.js.map +0 -1
- package/lib/module/components/ui/Aspect-Ratio.js +0 -27
- package/lib/module/components/ui/Aspect-Ratio.js.map +0 -1
- package/lib/module/components/ui/Avatar.js +0 -97
- package/lib/module/components/ui/Avatar.js.map +0 -1
- package/lib/module/components/ui/Badge.js +0 -127
- package/lib/module/components/ui/Badge.js.map +0 -1
- package/lib/module/components/ui/Bottom-Sheet.js +0 -151
- package/lib/module/components/ui/Bottom-Sheet.js.map +0 -1
- package/lib/module/components/ui/Button.js +0 -88
- package/lib/module/components/ui/Button.js.map +0 -1
- package/lib/module/components/ui/Card.js +0 -176
- package/lib/module/components/ui/Card.js.map +0 -1
- package/lib/module/components/ui/Checkbox.js +0 -65
- package/lib/module/components/ui/Checkbox.js.map +0 -1
- package/lib/module/components/ui/Context-Menu.js +0 -287
- package/lib/module/components/ui/Context-Menu.js.map +0 -1
- package/lib/module/components/ui/Dialog.js +0 -202
- package/lib/module/components/ui/Dialog.js.map +0 -1
- package/lib/module/components/ui/Floating-Action.js +0 -50
- package/lib/module/components/ui/Floating-Action.js.map +0 -1
- package/lib/module/components/ui/NavBar.js +0 -352
- package/lib/module/components/ui/NavBar.js.map +0 -1
- package/lib/module/components/ui/Popover.js +0 -101
- package/lib/module/components/ui/Popover.js.map +0 -1
- package/lib/module/components/ui/Progress.js +0 -124
- package/lib/module/components/ui/Progress.js.map +0 -1
- package/lib/module/components/ui/Radio-Group.js +0 -75
- package/lib/module/components/ui/Radio-Group.js.map +0 -1
- package/lib/module/components/ui/Select.js +0 -269
- package/lib/module/components/ui/Select.js.map +0 -1
- package/lib/module/components/ui/Separator.js +0 -58
- package/lib/module/components/ui/Separator.js.map +0 -1
- package/lib/module/components/ui/Skeleton.js +0 -57
- package/lib/module/components/ui/Skeleton.js.map +0 -1
- package/lib/module/components/ui/Switch.js +0 -55
- package/lib/module/components/ui/Switch.js.map +0 -1
- package/lib/module/components/ui/Tabs.js +0 -106
- package/lib/module/components/ui/Tabs.js.map +0 -1
- package/lib/module/components/ui/Text.js +0 -69
- package/lib/module/components/ui/Text.js.map +0 -1
- package/lib/module/components/ui/Textarea.js +0 -89
- package/lib/module/components/ui/Textarea.js.map +0 -1
- package/lib/module/components/ui/Theme-Toggle.js +0 -156
- package/lib/module/components/ui/Theme-Toggle.js.map +0 -1
- package/lib/module/components/ui/Toggle-Group.js +0 -129
- package/lib/module/components/ui/Toggle-Group.js.map +0 -1
- package/lib/module/components/ui/Toggle.js +0 -106
- package/lib/module/components/ui/Toggle.js.map +0 -1
- package/lib/module/components/ui/Tooltip.js +0 -106
- package/lib/module/components/ui/Tooltip.js.map +0 -1
- package/lib/module/global.css +0 -417
- package/lib/module/lib/slot-helpers.js +0 -19
- package/lib/module/lib/slot-helpers.js.map +0 -1
- package/lib/module/types/components.d.js +0 -4
- package/lib/module/types/components.d.js.map +0 -1
- package/lib/module/types/global.d.js +0 -11
- package/lib/module/types/global.d.js.map +0 -1
- package/lib/module/types/rn-primitives.d.js +0 -61
- package/lib/module/types/rn-primitives.d.js.map +0 -1
- package/lib/typescript/commonjs/package.json +0 -1
- package/lib/typescript/commonjs/src/app/_layout.d.ts +0 -7
- package/lib/typescript/commonjs/src/app/_layout.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/theme-config.d.ts +0 -174
- package/lib/typescript/commonjs/src/components/theme-config.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Accordion.d.ts +0 -103
- package/lib/typescript/commonjs/src/components/ui/Accordion.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Alert-Dialog.d.ts +0 -145
- package/lib/typescript/commonjs/src/components/ui/Alert-Dialog.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Alert.d.ts +0 -61
- package/lib/typescript/commonjs/src/components/ui/Alert.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/AppBar.d.ts +0 -227
- package/lib/typescript/commonjs/src/components/ui/AppBar.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Aspect-Ratio.d.ts +0 -24
- package/lib/typescript/commonjs/src/components/ui/Aspect-Ratio.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Avatar.d.ts +0 -1486
- package/lib/typescript/commonjs/src/components/ui/Avatar.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Badge.d.ts +0 -77
- package/lib/typescript/commonjs/src/components/ui/Badge.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Bottom-Sheet.d.ts +0 -43
- package/lib/typescript/commonjs/src/components/ui/Bottom-Sheet.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Button.d.ts +0 -23
- package/lib/typescript/commonjs/src/components/ui/Button.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Card.d.ts +0 -93
- package/lib/typescript/commonjs/src/components/ui/Card.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Checkbox.d.ts +0 -36
- package/lib/typescript/commonjs/src/components/ui/Checkbox.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Collapsible.d.ts +0 -37
- package/lib/typescript/commonjs/src/components/ui/Collapsible.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Context-Menu.d.ts +0 -107
- package/lib/typescript/commonjs/src/components/ui/Context-Menu.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Custom-Card.d.ts +0 -103
- package/lib/typescript/commonjs/src/components/ui/Custom-Card.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Dialog.d.ts +0 -90
- package/lib/typescript/commonjs/src/components/ui/Dialog.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Dropdown-Menu.d.ts +0 -242
- package/lib/typescript/commonjs/src/components/ui/Dropdown-Menu.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Floating-Action.d.ts +0 -44
- package/lib/typescript/commonjs/src/components/ui/Floating-Action.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Greeting-Card.d.ts +0 -153
- package/lib/typescript/commonjs/src/components/ui/Greeting-Card.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Hover-Card.d.ts +0 -49
- package/lib/typescript/commonjs/src/components/ui/Hover-Card.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Icon.d.ts +0 -43
- package/lib/typescript/commonjs/src/components/ui/Icon.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Input.d.ts +0 -54
- package/lib/typescript/commonjs/src/components/ui/Input.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Label.d.ts +0 -34
- package/lib/typescript/commonjs/src/components/ui/Label.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Menubar.d.ts +0 -142
- package/lib/typescript/commonjs/src/components/ui/Menubar.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Native-Only-Animated-View.d.ts +0 -26
- package/lib/typescript/commonjs/src/components/ui/Native-Only-Animated-View.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/NavBar.d.ts +0 -273
- package/lib/typescript/commonjs/src/components/ui/NavBar.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Popover.d.ts +0 -54
- package/lib/typescript/commonjs/src/components/ui/Popover.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Progress.d.ts +0 -27
- package/lib/typescript/commonjs/src/components/ui/Progress.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Radio-Group.d.ts +0 -47
- package/lib/typescript/commonjs/src/components/ui/Radio-Group.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Select.d.ts +0 -86
- package/lib/typescript/commonjs/src/components/ui/Select.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Separator.d.ts +0 -40
- package/lib/typescript/commonjs/src/components/ui/Separator.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/SizedBox.d.ts +0 -79
- package/lib/typescript/commonjs/src/components/ui/SizedBox.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Skeleton.d.ts +0 -42
- package/lib/typescript/commonjs/src/components/ui/Skeleton.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Slider.d.ts +0 -56
- package/lib/typescript/commonjs/src/components/ui/Slider.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Switch.d.ts +0 -34
- package/lib/typescript/commonjs/src/components/ui/Switch.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Table.d.ts +0 -80
- package/lib/typescript/commonjs/src/components/ui/Table.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Tabs.d.ts +0 -51
- package/lib/typescript/commonjs/src/components/ui/Tabs.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Text.d.ts +0 -45
- package/lib/typescript/commonjs/src/components/ui/Text.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Textarea.d.ts +0 -65
- package/lib/typescript/commonjs/src/components/ui/Textarea.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Theme-Toggle.d.ts +0 -67
- package/lib/typescript/commonjs/src/components/ui/Theme-Toggle.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Toast.d.ts +0 -56
- package/lib/typescript/commonjs/src/components/ui/Toast.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Toggle-Group.d.ts +0 -49
- package/lib/typescript/commonjs/src/components/ui/Toggle-Group.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Toggle.d.ts +0 -53
- package/lib/typescript/commonjs/src/components/ui/Toggle.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/Tooltip.d.ts +0 -51
- package/lib/typescript/commonjs/src/components/ui/Tooltip.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ui/index.d.ts +0 -20
- package/lib/typescript/commonjs/src/components/ui/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/index.d.ts +0 -9
- package/lib/typescript/commonjs/src/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/lib/ThemeProvider.d.ts +0 -137
- package/lib/typescript/commonjs/src/lib/ThemeProvider.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/lib/cornerRadius.d.ts +0 -112
- package/lib/typescript/commonjs/src/lib/cornerRadius.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/lib/fonts.d.ts +0 -16
- package/lib/typescript/commonjs/src/lib/fonts.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/lib/slot-helpers.d.ts +0 -32
- package/lib/typescript/commonjs/src/lib/slot-helpers.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/lib/theme.d.ts +0 -87
- package/lib/typescript/commonjs/src/lib/theme.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/lib/utils.d.ts +0 -111
- package/lib/typescript/commonjs/src/lib/utils.d.ts.map +0 -1
- package/lib/typescript/module/package.json +0 -1
- package/lib/typescript/module/src/app/_layout.d.ts +0 -7
- package/lib/typescript/module/src/app/_layout.d.ts.map +0 -1
- package/lib/typescript/module/src/components/theme-config.d.ts +0 -174
- package/lib/typescript/module/src/components/theme-config.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Accordion.d.ts +0 -103
- package/lib/typescript/module/src/components/ui/Accordion.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Alert-Dialog.d.ts +0 -145
- package/lib/typescript/module/src/components/ui/Alert-Dialog.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Alert.d.ts +0 -61
- package/lib/typescript/module/src/components/ui/Alert.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/AppBar.d.ts +0 -227
- package/lib/typescript/module/src/components/ui/AppBar.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Aspect-Ratio.d.ts +0 -24
- package/lib/typescript/module/src/components/ui/Aspect-Ratio.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Avatar.d.ts +0 -1486
- package/lib/typescript/module/src/components/ui/Avatar.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Badge.d.ts +0 -77
- package/lib/typescript/module/src/components/ui/Badge.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Bottom-Sheet.d.ts +0 -43
- package/lib/typescript/module/src/components/ui/Bottom-Sheet.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Button.d.ts +0 -23
- package/lib/typescript/module/src/components/ui/Button.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Card.d.ts +0 -93
- package/lib/typescript/module/src/components/ui/Card.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Checkbox.d.ts +0 -36
- package/lib/typescript/module/src/components/ui/Checkbox.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Collapsible.d.ts +0 -37
- package/lib/typescript/module/src/components/ui/Collapsible.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Context-Menu.d.ts +0 -107
- package/lib/typescript/module/src/components/ui/Context-Menu.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Custom-Card.d.ts +0 -103
- package/lib/typescript/module/src/components/ui/Custom-Card.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Dialog.d.ts +0 -90
- package/lib/typescript/module/src/components/ui/Dialog.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Dropdown-Menu.d.ts +0 -242
- package/lib/typescript/module/src/components/ui/Dropdown-Menu.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Floating-Action.d.ts +0 -44
- package/lib/typescript/module/src/components/ui/Floating-Action.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Greeting-Card.d.ts +0 -153
- package/lib/typescript/module/src/components/ui/Greeting-Card.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Hover-Card.d.ts +0 -49
- package/lib/typescript/module/src/components/ui/Hover-Card.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Icon.d.ts +0 -43
- package/lib/typescript/module/src/components/ui/Icon.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Input.d.ts +0 -54
- package/lib/typescript/module/src/components/ui/Input.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Label.d.ts +0 -34
- package/lib/typescript/module/src/components/ui/Label.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Menubar.d.ts +0 -142
- package/lib/typescript/module/src/components/ui/Menubar.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Native-Only-Animated-View.d.ts +0 -26
- package/lib/typescript/module/src/components/ui/Native-Only-Animated-View.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/NavBar.d.ts +0 -273
- package/lib/typescript/module/src/components/ui/NavBar.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Popover.d.ts +0 -54
- package/lib/typescript/module/src/components/ui/Popover.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Progress.d.ts +0 -27
- package/lib/typescript/module/src/components/ui/Progress.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Radio-Group.d.ts +0 -47
- package/lib/typescript/module/src/components/ui/Radio-Group.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Select.d.ts +0 -86
- package/lib/typescript/module/src/components/ui/Select.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Separator.d.ts +0 -40
- package/lib/typescript/module/src/components/ui/Separator.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/SizedBox.d.ts +0 -79
- package/lib/typescript/module/src/components/ui/SizedBox.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Skeleton.d.ts +0 -42
- package/lib/typescript/module/src/components/ui/Skeleton.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Slider.d.ts +0 -56
- package/lib/typescript/module/src/components/ui/Slider.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Switch.d.ts +0 -34
- package/lib/typescript/module/src/components/ui/Switch.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Table.d.ts +0 -80
- package/lib/typescript/module/src/components/ui/Table.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Tabs.d.ts +0 -51
- package/lib/typescript/module/src/components/ui/Tabs.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Text.d.ts +0 -45
- package/lib/typescript/module/src/components/ui/Text.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Textarea.d.ts +0 -65
- package/lib/typescript/module/src/components/ui/Textarea.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Theme-Toggle.d.ts +0 -67
- package/lib/typescript/module/src/components/ui/Theme-Toggle.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Toast.d.ts +0 -56
- package/lib/typescript/module/src/components/ui/Toast.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Toggle-Group.d.ts +0 -49
- package/lib/typescript/module/src/components/ui/Toggle-Group.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Toggle.d.ts +0 -53
- package/lib/typescript/module/src/components/ui/Toggle.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/Tooltip.d.ts +0 -51
- package/lib/typescript/module/src/components/ui/Tooltip.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ui/index.d.ts +0 -20
- package/lib/typescript/module/src/components/ui/index.d.ts.map +0 -1
- package/lib/typescript/module/src/index.d.ts +0 -9
- package/lib/typescript/module/src/index.d.ts.map +0 -1
- package/lib/typescript/module/src/lib/ThemeProvider.d.ts +0 -137
- package/lib/typescript/module/src/lib/ThemeProvider.d.ts.map +0 -1
- package/lib/typescript/module/src/lib/cornerRadius.d.ts +0 -112
- package/lib/typescript/module/src/lib/cornerRadius.d.ts.map +0 -1
- package/lib/typescript/module/src/lib/fonts.d.ts +0 -16
- package/lib/typescript/module/src/lib/fonts.d.ts.map +0 -1
- package/lib/typescript/module/src/lib/slot-helpers.d.ts +0 -32
- package/lib/typescript/module/src/lib/slot-helpers.d.ts.map +0 -1
- package/lib/typescript/module/src/lib/theme.d.ts +0 -87
- package/lib/typescript/module/src/lib/theme.d.ts.map +0 -1
- package/lib/typescript/module/src/lib/utils.d.ts +0 -111
- package/lib/typescript/module/src/lib/utils.d.ts.map +0 -1
- package/nativewind-env.d.ts +0 -7
- package/src/components/ui/Accordion.tsx +0 -255
- package/src/components/ui/Alert-Dialog.tsx +0 -297
- package/src/components/ui/Alert.tsx +0 -140
- package/src/components/ui/AppBar.tsx +0 -555
- package/src/components/ui/Aspect-Ratio.tsx +0 -25
- package/src/components/ui/Avatar.tsx +0 -107
- package/src/components/ui/Badge.tsx +0 -121
- package/src/components/ui/Bottom-Sheet.tsx +0 -232
- package/src/components/ui/Button.tsx +0 -100
- package/src/components/ui/Card.tsx +0 -185
- package/src/components/ui/Checkbox.tsx +0 -81
- package/src/components/ui/Context-Menu.tsx +0 -418
- package/src/components/ui/Dialog.tsx +0 -250
- package/src/components/ui/Floating-Action.tsx +0 -54
- package/src/components/ui/NavBar.tsx +0 -403
- package/src/components/ui/Popover.tsx +0 -110
- package/src/components/ui/Progress.tsx +0 -140
- package/src/components/ui/Radio-Group.tsx +0 -79
- package/src/components/ui/Select.tsx +0 -356
- package/src/components/ui/Separator.tsx +0 -70
- package/src/components/ui/Skeleton.tsx +0 -57
- package/src/components/ui/Switch.tsx +0 -67
- package/src/components/ui/Tabs.tsx +0 -119
- package/src/components/ui/Text.tsx +0 -68
- package/src/components/ui/Textarea.tsx +0 -104
- package/src/components/ui/Theme-Toggle.tsx +0 -208
- package/src/components/ui/Toggle-Group.tsx +0 -160
- package/src/components/ui/Toggle.tsx +0 -122
- package/src/components/ui/Tooltip.tsx +0 -117
- package/src/global.css +0 -417
- package/src/lib/slot-helpers.ts +0 -57
- package/src/types/components.d.ts +0 -38
- package/src/types/global.d.ts +0 -218
- package/src/types/rn-primitives.d.ts +0 -1427
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
import { Icon } from './Icon';
|
|
2
|
-
import { NativeOnlyAnimatedView } from './Native-Only-Animated-View';
|
|
3
|
-
import { cn } from '../../lib/utils';
|
|
4
|
-
import * as DialogPrimitive from '@rn-primitives/dialog';
|
|
5
|
-
import { X } from 'lucide-react-native';
|
|
6
|
-
import * as React from 'react';
|
|
7
|
-
import {
|
|
8
|
-
Platform,
|
|
9
|
-
Text as RNText,
|
|
10
|
-
View as RNView,
|
|
11
|
-
type ViewProps,
|
|
12
|
-
} from 'react-native';
|
|
13
|
-
import { cssInterop } from 'nativewind';
|
|
14
|
-
import { FadeIn, FadeOut } from 'react-native-reanimated';
|
|
15
|
-
import { FullWindowOverlay as RNFullWindowOverlay } from 'react-native-screens';
|
|
16
|
-
|
|
17
|
-
const View = cssInterop(RNView, {
|
|
18
|
-
className: 'style',
|
|
19
|
-
}) as React.ComponentType<any>;
|
|
20
|
-
const Text = cssInterop(RNText, {
|
|
21
|
-
className: 'style',
|
|
22
|
-
}) as React.ComponentType<any>;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Root dialog container
|
|
26
|
-
*
|
|
27
|
-
* A modal window that overlays the main content and requires user interaction.
|
|
28
|
-
* Unlike AlertDialog, this is for non-critical content that doesn't require immediate action.
|
|
29
|
-
*
|
|
30
|
-
* @component
|
|
31
|
-
* @example
|
|
32
|
-
* ```tsx
|
|
33
|
-
* <Dialog>
|
|
34
|
-
* <DialogTrigger asChild>
|
|
35
|
-
* <Button><Text>Open Dialog</Text></Button>
|
|
36
|
-
* </DialogTrigger>
|
|
37
|
-
* <DialogContent>
|
|
38
|
-
* <DialogHeader>
|
|
39
|
-
* <DialogTitle><Text>Edit Profile</Text></DialogTitle>
|
|
40
|
-
* <DialogDescription><Text>Make changes to your profile</Text></DialogDescription>
|
|
41
|
-
* </DialogHeader>
|
|
42
|
-
* <DialogFooter>
|
|
43
|
-
* <Button><Text>Save</Text></Button>
|
|
44
|
-
* </DialogFooter>
|
|
45
|
-
* </DialogContent>
|
|
46
|
-
* </Dialog>
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
const Dialog = DialogPrimitive.Root;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Trigger button that opens the dialog
|
|
53
|
-
*/
|
|
54
|
-
const DialogTrigger = DialogPrimitive.Trigger;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Portal component for rendering dialog outside DOM hierarchy
|
|
58
|
-
*/
|
|
59
|
-
const DialogPortal = DialogPrimitive.Portal;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Close button component for manually closing the dialog
|
|
63
|
-
*/
|
|
64
|
-
const DialogClose = DialogPrimitive.Close;
|
|
65
|
-
|
|
66
|
-
const FullWindowOverlay =
|
|
67
|
-
Platform.OS === 'ios' ? RNFullWindowOverlay : React.Fragment;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Semi-transparent overlay behind the dialog
|
|
71
|
-
*
|
|
72
|
-
* Provides backdrop that dims background content. Uses platform-specific
|
|
73
|
-
* full window overlay on iOS for proper z-index layering.
|
|
74
|
-
*/
|
|
75
|
-
function DialogOverlay({
|
|
76
|
-
className,
|
|
77
|
-
children,
|
|
78
|
-
...props
|
|
79
|
-
}: Omit<DialogPrimitive.OverlayProps, 'asChild'> &
|
|
80
|
-
React.RefAttributes<DialogPrimitive.OverlayRef> & {
|
|
81
|
-
children?: React.ReactNode;
|
|
82
|
-
}) {
|
|
83
|
-
return (
|
|
84
|
-
<FullWindowOverlay>
|
|
85
|
-
<DialogPrimitive.Overlay
|
|
86
|
-
className={cn(
|
|
87
|
-
'absolute bottom-0 left-0 right-0 top-0 z-50 flex items-center justify-center bg-black/50 p-2',
|
|
88
|
-
Platform.select({
|
|
89
|
-
web: 'animate-in fade-in-0 fixed cursor-default [&>*]:cursor-auto',
|
|
90
|
-
}),
|
|
91
|
-
className
|
|
92
|
-
)}
|
|
93
|
-
{...props}
|
|
94
|
-
asChild={Platform.OS !== 'web'}
|
|
95
|
-
>
|
|
96
|
-
<NativeOnlyAnimatedView
|
|
97
|
-
entering={FadeIn.duration(200)}
|
|
98
|
-
exiting={FadeOut.duration(150)}
|
|
99
|
-
>
|
|
100
|
-
<NativeOnlyAnimatedView
|
|
101
|
-
entering={FadeIn.delay(50)}
|
|
102
|
-
exiting={FadeOut.duration(150)}
|
|
103
|
-
>
|
|
104
|
-
<>{children}</>
|
|
105
|
-
</NativeOnlyAnimatedView>
|
|
106
|
-
</NativeOnlyAnimatedView>
|
|
107
|
-
</DialogPrimitive.Overlay>
|
|
108
|
-
</FullWindowOverlay>
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Main dialog content container
|
|
114
|
-
*
|
|
115
|
-
* Contains the actual dialog UI with automatic close button in top-right corner.
|
|
116
|
-
* Includes smooth fade and zoom animations.
|
|
117
|
-
*
|
|
118
|
-
* @param {string} [portalHost] - Optional portal host name for custom rendering location
|
|
119
|
-
* @param {string} [className] - Additional Tailwind classes
|
|
120
|
-
*/
|
|
121
|
-
function DialogContent({
|
|
122
|
-
className,
|
|
123
|
-
portalHost,
|
|
124
|
-
children,
|
|
125
|
-
...props
|
|
126
|
-
}: DialogPrimitive.ContentProps &
|
|
127
|
-
React.RefAttributes<DialogPrimitive.ContentRef> & {
|
|
128
|
-
portalHost?: string;
|
|
129
|
-
}) {
|
|
130
|
-
return (
|
|
131
|
-
<DialogPortal hostName={portalHost}>
|
|
132
|
-
<DialogOverlay>
|
|
133
|
-
<DialogPrimitive.Content
|
|
134
|
-
className={cn(
|
|
135
|
-
'bg-background border-border z-50 mx-auto flex w-full max-w-[calc(100%-2rem)] flex-col gap-4 rounded-lg border p-6 shadow-lg shadow-black/5 sm:max-w-lg',
|
|
136
|
-
Platform.select({
|
|
137
|
-
web: 'animate-in fade-in-0 zoom-in-95 duration-200',
|
|
138
|
-
}),
|
|
139
|
-
className
|
|
140
|
-
)}
|
|
141
|
-
{...props}
|
|
142
|
-
>
|
|
143
|
-
<>{children}</>
|
|
144
|
-
|
|
145
|
-
<DialogPrimitive.Close
|
|
146
|
-
className={cn(
|
|
147
|
-
'absolute right-4 top-4 rounded opacity-70 active:opacity-100',
|
|
148
|
-
Platform.select({
|
|
149
|
-
web: 'ring-offset-background focus:ring-ring data-[state=open]:bg-accent transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2',
|
|
150
|
-
})
|
|
151
|
-
)}
|
|
152
|
-
hitSlop={12}
|
|
153
|
-
>
|
|
154
|
-
<Icon
|
|
155
|
-
as={X}
|
|
156
|
-
className={cn(
|
|
157
|
-
'text-accent-foreground web:pointer-events-none size-4 shrink-0'
|
|
158
|
-
)}
|
|
159
|
-
/>
|
|
160
|
-
<Text className="sr-only">Close</Text>
|
|
161
|
-
</DialogPrimitive.Close>
|
|
162
|
-
</DialogPrimitive.Content>
|
|
163
|
-
</DialogOverlay>
|
|
164
|
-
</DialogPortal>
|
|
165
|
-
);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* Dialog header container
|
|
170
|
-
*
|
|
171
|
-
* Contains title and description with appropriate spacing and alignment.
|
|
172
|
-
* Centered on mobile, left-aligned on larger screens.
|
|
173
|
-
*/
|
|
174
|
-
function DialogHeader({ className, ...props }: ViewProps) {
|
|
175
|
-
return (
|
|
176
|
-
<View
|
|
177
|
-
className={cn('flex flex-col gap-2 text-center sm:text-left', className)}
|
|
178
|
-
{...props}
|
|
179
|
-
/>
|
|
180
|
-
);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* Dialog footer container
|
|
185
|
-
*
|
|
186
|
-
* Contains action buttons. Stacked vertically on mobile (reverse order),
|
|
187
|
-
* horizontal row on larger screens (right-aligned).
|
|
188
|
-
*/
|
|
189
|
-
function DialogFooter({ className, ...props }: ViewProps) {
|
|
190
|
-
return (
|
|
191
|
-
<View
|
|
192
|
-
className={cn(
|
|
193
|
-
'flex flex-col-reverse gap-2 sm:flex-row sm:justify-end',
|
|
194
|
-
className
|
|
195
|
-
)}
|
|
196
|
-
{...props}
|
|
197
|
-
/>
|
|
198
|
-
);
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Dialog title component
|
|
203
|
-
*
|
|
204
|
-
* Large, semibold heading for the dialog. Automatically announced by screen readers.
|
|
205
|
-
*/
|
|
206
|
-
function DialogTitle({
|
|
207
|
-
className,
|
|
208
|
-
...props
|
|
209
|
-
}: DialogPrimitive.TitleProps & React.RefAttributes<DialogPrimitive.TitleRef>) {
|
|
210
|
-
return (
|
|
211
|
-
<DialogPrimitive.Title
|
|
212
|
-
className={cn(
|
|
213
|
-
'text-foreground text-lg font-semibold leading-none',
|
|
214
|
-
className
|
|
215
|
-
)}
|
|
216
|
-
{...props}
|
|
217
|
-
/>
|
|
218
|
-
);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* Dialog description component
|
|
223
|
-
*
|
|
224
|
-
* Muted text providing additional context or instructions for the dialog.
|
|
225
|
-
*/
|
|
226
|
-
function DialogDescription({
|
|
227
|
-
className,
|
|
228
|
-
...props
|
|
229
|
-
}: DialogPrimitive.DescriptionProps &
|
|
230
|
-
React.RefAttributes<DialogPrimitive.DescriptionRef>) {
|
|
231
|
-
return (
|
|
232
|
-
<DialogPrimitive.Description
|
|
233
|
-
className={cn('text-muted-foreground text-sm', className)}
|
|
234
|
-
{...props}
|
|
235
|
-
/>
|
|
236
|
-
);
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
export {
|
|
240
|
-
Dialog,
|
|
241
|
-
DialogClose,
|
|
242
|
-
DialogContent,
|
|
243
|
-
DialogDescription,
|
|
244
|
-
DialogFooter,
|
|
245
|
-
DialogHeader,
|
|
246
|
-
DialogOverlay,
|
|
247
|
-
DialogPortal,
|
|
248
|
-
DialogTitle,
|
|
249
|
-
DialogTrigger,
|
|
250
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { IFloatingActionProps as RNFloatingActionProps } from 'react-native-floating-action';
|
|
3
|
-
import { FloatingAction as RNFloatingAction } from 'react-native-floating-action';
|
|
4
|
-
|
|
5
|
-
export interface FloatingActionProps extends RNFloatingActionProps {
|
|
6
|
-
/**
|
|
7
|
-
* Custom className for styling (if using NativeWind)
|
|
8
|
-
*/
|
|
9
|
-
className?: string;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* FloatingAction Component
|
|
14
|
-
*
|
|
15
|
-
* A customizable floating action button (FAB) component with support for multiple actions.
|
|
16
|
-
* Based on react-native-floating-action with additional styling capabilities.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```tsx
|
|
20
|
-
* import { FloatingAction } from 'react-native-blueprint';
|
|
21
|
-
*
|
|
22
|
-
* const actions = [
|
|
23
|
-
* {
|
|
24
|
-
* text: 'Add',
|
|
25
|
-
* icon: require('./add-icon.png'),
|
|
26
|
-
* name: 'bt_add',
|
|
27
|
-
* position: 1
|
|
28
|
-
* },
|
|
29
|
-
* {
|
|
30
|
-
* text: 'Delete',
|
|
31
|
-
* icon: require('./delete-icon.png'),
|
|
32
|
-
* name: 'bt_delete',
|
|
33
|
-
* position: 2
|
|
34
|
-
* }
|
|
35
|
-
* ];
|
|
36
|
-
*
|
|
37
|
-
* <FloatingAction
|
|
38
|
-
* actions={actions}
|
|
39
|
-
* onPressItem={(name) => {
|
|
40
|
-
* console.log(`Selected button: ${name}`);
|
|
41
|
-
* }}
|
|
42
|
-
* />
|
|
43
|
-
* ```
|
|
44
|
-
*/
|
|
45
|
-
export const FloatingAction: React.FC<FloatingActionProps> = React.forwardRef<
|
|
46
|
-
RNFloatingAction,
|
|
47
|
-
FloatingActionProps
|
|
48
|
-
>(({ className: _className, ...props }, ref) => {
|
|
49
|
-
return <RNFloatingAction ref={ref} {...props} />;
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
FloatingAction.displayName = 'FloatingAction';
|
|
53
|
-
|
|
54
|
-
export default FloatingAction;
|
|
@@ -1,403 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { View as RNView, Pressable as RNPressable, Image } from 'react-native';
|
|
3
|
-
import type { ImageSourcePropType } from 'react-native';
|
|
4
|
-
import { SafeAreaView as RNSafeAreaView } from 'react-native-safe-area-context';
|
|
5
|
-
import { cssInterop } from 'nativewind';
|
|
6
|
-
import { cn } from '../../lib/utils';
|
|
7
|
-
import { Text, TextClassContext } from './Text';
|
|
8
|
-
import type { ViewRef } from '@rn-primitives/types';
|
|
9
|
-
|
|
10
|
-
// Enable NativeWind className support
|
|
11
|
-
const View = cssInterop(RNView, {
|
|
12
|
-
className: 'style',
|
|
13
|
-
}) as React.ComponentType<any>;
|
|
14
|
-
const Pressable = cssInterop(RNPressable, {
|
|
15
|
-
className: 'style',
|
|
16
|
-
}) as React.ComponentType<any>;
|
|
17
|
-
const SafeAreaView = cssInterop(RNSafeAreaView, {
|
|
18
|
-
className: 'style',
|
|
19
|
-
}) as React.ComponentType<any>;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Props for individual navigation bar items
|
|
23
|
-
*
|
|
24
|
-
* Defines the structure for each item displayed in the NavBar component.
|
|
25
|
-
* Each item can have both active and inactive states with different icons.
|
|
26
|
-
*
|
|
27
|
-
* @interface NavBarItem
|
|
28
|
-
*
|
|
29
|
-
* @property {ImageSourcePropType | React.ReactElement} icon - Icon displayed when item is inactive
|
|
30
|
-
* - Can be an image source from require() or { uri: 'url' }
|
|
31
|
-
* - Can be a React element like lucide-react-native icons
|
|
32
|
-
* @property {ImageSourcePropType | React.ReactElement} activeIcon - Icon displayed when item is active
|
|
33
|
-
* - Same types as icon property
|
|
34
|
-
* - Typically a different color or style variant
|
|
35
|
-
* @property {string} label - Text label displayed below the icon
|
|
36
|
-
* @property {() => void} onPress - Callback function invoked when item is pressed
|
|
37
|
-
* @property {boolean} [disabled] - Optional flag to disable the item interaction
|
|
38
|
-
*
|
|
39
|
-
* @example
|
|
40
|
-
* ```tsx
|
|
41
|
-
* // Using image sources
|
|
42
|
-
* const homeItem: NavBarItem = {
|
|
43
|
-
* icon: require('./assets/home-inactive.png'),
|
|
44
|
-
* activeIcon: require('./assets/home-active.png'),
|
|
45
|
-
* label: 'Home',
|
|
46
|
-
* onPress: () => console.log('Home pressed'),
|
|
47
|
-
* };
|
|
48
|
-
*
|
|
49
|
-
* // Using React elements (lucide icons)
|
|
50
|
-
* import { Home } from 'lucide-react-native';
|
|
51
|
-
* const homeItem: NavBarItem = {
|
|
52
|
-
* icon: <Icon as={Home} color="#666" />,
|
|
53
|
-
* activeIcon: <Icon as={Home} color="#000" />,
|
|
54
|
-
* label: 'Home',
|
|
55
|
-
* onPress: () => navigation.navigate('Home'),
|
|
56
|
-
* };
|
|
57
|
-
* ```
|
|
58
|
-
*/
|
|
59
|
-
export interface NavBarItem {
|
|
60
|
-
icon: ImageSourcePropType | React.ReactElement;
|
|
61
|
-
activeIcon: ImageSourcePropType | React.ReactElement;
|
|
62
|
-
label: string;
|
|
63
|
-
onPress: () => void;
|
|
64
|
-
disabled?: boolean;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* Props for NavBar component
|
|
69
|
-
*
|
|
70
|
-
* Configuration options for customizing the NavBar appearance and behavior.
|
|
71
|
-
* Provides fine-grained control over styling for different states and elements.
|
|
72
|
-
*
|
|
73
|
-
* @interface NavBarProps
|
|
74
|
-
*
|
|
75
|
-
* @property {NavBarItem[]} items - Array of navigation items to display in the bar
|
|
76
|
-
* @property {number} activeIndex - Zero-based index of the currently active item
|
|
77
|
-
*
|
|
78
|
-
* @property {string} [className] - Additional Tailwind classes for the main container
|
|
79
|
-
* @property {string} [itemClassName] - Additional Tailwind classes applied to all items
|
|
80
|
-
* @property {string} [activeItemClassName] - Additional Tailwind classes for the active item only
|
|
81
|
-
* @property {string} [labelClassName] - Additional Tailwind classes for all labels
|
|
82
|
-
* @property {string} [activeLabelClassName] - Additional Tailwind classes for the active label only
|
|
83
|
-
* @property {string} [backgroundColor] - Custom background color classes (overrides default)
|
|
84
|
-
* @property {number} [iconSize] - Size of icons in pixels (default: 24)
|
|
85
|
-
*
|
|
86
|
-
* @example
|
|
87
|
-
* ```tsx
|
|
88
|
-
* const navBarProps: NavBarProps = {
|
|
89
|
-
* items: navigationItems,
|
|
90
|
-
* activeIndex: 0,
|
|
91
|
-
* iconSize: 28,
|
|
92
|
-
* className: 'px-4',
|
|
93
|
-
* activeItemClassName: 'scale-110',
|
|
94
|
-
* backgroundColor: 'bg-white dark:bg-gray-900',
|
|
95
|
-
* };
|
|
96
|
-
* ```
|
|
97
|
-
*/
|
|
98
|
-
export interface NavBarProps {
|
|
99
|
-
items: NavBarItem[];
|
|
100
|
-
activeIndex: number;
|
|
101
|
-
className?: string;
|
|
102
|
-
itemClassName?: string;
|
|
103
|
-
activeItemClassName?: string;
|
|
104
|
-
labelClassName?: string;
|
|
105
|
-
activeLabelClassName?: string;
|
|
106
|
-
backgroundColor?: string;
|
|
107
|
-
iconSize?: number;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* NavBar - Bottom navigation bar component
|
|
112
|
-
*
|
|
113
|
-
* A navigation component designed for mobile applications that displays at the bottom
|
|
114
|
-
* of the screen with proper safe area handling. Similar to Flutter's BottomNavigationBar,
|
|
115
|
-
* it provides an intuitive way to switch between different sections of your app.
|
|
116
|
-
*
|
|
117
|
-
* Features:
|
|
118
|
-
* - Automatic safe area handling for devices with notches/home indicators
|
|
119
|
-
* - Support for both image and React element icons
|
|
120
|
-
* - Active/inactive state management with visual feedback
|
|
121
|
-
* - Customizable styling through Tailwind classes
|
|
122
|
-
* - Full dark mode support
|
|
123
|
-
* - Accessibility features built-in
|
|
124
|
-
* - Disabled state support for items
|
|
125
|
-
*
|
|
126
|
-
* @component
|
|
127
|
-
*
|
|
128
|
-
* @example
|
|
129
|
-
* // Basic usage with state management
|
|
130
|
-
* ```tsx
|
|
131
|
-
* import { useState } from 'react';
|
|
132
|
-
* import { NavBar, NavBarItem } from 'react-native-blueprint';
|
|
133
|
-
*
|
|
134
|
-
* function App() {
|
|
135
|
-
* const [activeIndex, setActiveIndex] = useState(0);
|
|
136
|
-
*
|
|
137
|
-
* const navItems: NavBarItem[] = [
|
|
138
|
-
* {
|
|
139
|
-
* icon: require('./assets/home-inactive.png'),
|
|
140
|
-
* activeIcon: require('./assets/home-active.png'),
|
|
141
|
-
* label: 'Home',
|
|
142
|
-
* onPress: () => setActiveIndex(0),
|
|
143
|
-
* },
|
|
144
|
-
* {
|
|
145
|
-
* icon: require('./assets/browse-inactive.png'),
|
|
146
|
-
* activeIcon: require('./assets/browse-active.png'),
|
|
147
|
-
* label: 'Browse',
|
|
148
|
-
* onPress: () => setActiveIndex(1),
|
|
149
|
-
* },
|
|
150
|
-
* {
|
|
151
|
-
* icon: require('./assets/feed-inactive.png'),
|
|
152
|
-
* activeIcon: require('./assets/feed-active.png'),
|
|
153
|
-
* label: 'Feed',
|
|
154
|
-
* onPress: () => setActiveIndex(2),
|
|
155
|
-
* },
|
|
156
|
-
* {
|
|
157
|
-
* icon: require('./assets/chat-inactive.png'),
|
|
158
|
-
* activeIcon: require('./assets/chat-active.png'),
|
|
159
|
-
* label: 'Chat',
|
|
160
|
-
* onPress: () => setActiveIndex(3),
|
|
161
|
-
* },
|
|
162
|
-
* ];
|
|
163
|
-
*
|
|
164
|
-
* return (
|
|
165
|
-
* <View style={{ flex: 1 }}>
|
|
166
|
-
* <View style={{ flex: 1 }}>
|
|
167
|
-
* {renderScreen(activeIndex)}
|
|
168
|
-
* </View>
|
|
169
|
-
* <NavBar items={navItems} activeIndex={activeIndex} />
|
|
170
|
-
* </View>
|
|
171
|
-
* );
|
|
172
|
-
* }
|
|
173
|
-
* ```
|
|
174
|
-
*
|
|
175
|
-
* @example
|
|
176
|
-
* // With React Navigation
|
|
177
|
-
* ```tsx
|
|
178
|
-
* import { useNavigation, useRoute } from '@react-navigation/native';
|
|
179
|
-
* import { Home, Search, Bell, MessageCircle } from 'lucide-react-native';
|
|
180
|
-
* import { Icon } from 'react-native-blueprint';
|
|
181
|
-
*
|
|
182
|
-
* function BottomTabBar() {
|
|
183
|
-
* const navigation = useNavigation();
|
|
184
|
-
* const route = useRoute();
|
|
185
|
-
* const [activeIndex, setActiveIndex] = useState(0);
|
|
186
|
-
*
|
|
187
|
-
* const navItems: NavBarItem[] = [
|
|
188
|
-
* {
|
|
189
|
-
* icon: <Icon as={Home} size={24} color="#666" />,
|
|
190
|
-
* activeIcon: <Icon as={Home} size={24} color="#000" />,
|
|
191
|
-
* label: 'Home',
|
|
192
|
-
* onPress: () => {
|
|
193
|
-
* setActiveIndex(0);
|
|
194
|
-
* navigation.navigate('Home');
|
|
195
|
-
* },
|
|
196
|
-
* },
|
|
197
|
-
* {
|
|
198
|
-
* icon: <Icon as={Search} size={24} color="#666" />,
|
|
199
|
-
* activeIcon: <Icon as={Search} size={24} color="#000" />,
|
|
200
|
-
* label: 'Browse',
|
|
201
|
-
* onPress: () => {
|
|
202
|
-
* setActiveIndex(1);
|
|
203
|
-
* navigation.navigate('Browse');
|
|
204
|
-
* },
|
|
205
|
-
* },
|
|
206
|
-
* {
|
|
207
|
-
* icon: <Icon as={Bell} size={24} color="#666" />,
|
|
208
|
-
* activeIcon: <Icon as={Bell} size={24} color="#000" />,
|
|
209
|
-
* label: 'Feed',
|
|
210
|
-
* onPress: () => {
|
|
211
|
-
* setActiveIndex(2);
|
|
212
|
-
* navigation.navigate('Feed');
|
|
213
|
-
* },
|
|
214
|
-
* },
|
|
215
|
-
* {
|
|
216
|
-
* icon: <Icon as={MessageCircle} size={24} color="#666" />,
|
|
217
|
-
* activeIcon: <Icon as={MessageCircle} size={24} color="#000" />,
|
|
218
|
-
* label: 'Chat',
|
|
219
|
-
* onPress: () => {
|
|
220
|
-
* setActiveIndex(3);
|
|
221
|
-
* navigation.navigate('Chat');
|
|
222
|
-
* },
|
|
223
|
-
* },
|
|
224
|
-
* ];
|
|
225
|
-
*
|
|
226
|
-
* return <NavBar items={navItems} activeIndex={activeIndex} />;
|
|
227
|
-
* }
|
|
228
|
-
* ```
|
|
229
|
-
*
|
|
230
|
-
* @example
|
|
231
|
-
* // With custom styling and theming
|
|
232
|
-
* ```tsx
|
|
233
|
-
* import { useTheme } from 'react-native-blueprint';
|
|
234
|
-
*
|
|
235
|
-
* function ThemedNavBar() {
|
|
236
|
-
* const { isDark } = useTheme();
|
|
237
|
-
* const [activeIndex, setActiveIndex] = useState(0);
|
|
238
|
-
*
|
|
239
|
-
* return (
|
|
240
|
-
* <NavBar
|
|
241
|
-
* items={navItems}
|
|
242
|
-
* activeIndex={activeIndex}
|
|
243
|
-
* backgroundColor="bg-gray-100 dark:bg-gray-900"
|
|
244
|
-
* iconSize={28}
|
|
245
|
-
* className="py-2 px-4"
|
|
246
|
-
* activeItemClassName="scale-110 transition-transform"
|
|
247
|
-
* activeLabelClassName="text-blue-600 dark:text-blue-400 font-bold"
|
|
248
|
-
* labelClassName="text-gray-500 dark:text-gray-400"
|
|
249
|
-
* />
|
|
250
|
-
* );
|
|
251
|
-
* }
|
|
252
|
-
* ```
|
|
253
|
-
*
|
|
254
|
-
* @example
|
|
255
|
-
* // With disabled items
|
|
256
|
-
* ```tsx
|
|
257
|
-
* const navItems: NavBarItem[] = [
|
|
258
|
-
* {
|
|
259
|
-
* icon: require('./assets/home-inactive.png'),
|
|
260
|
-
* activeIcon: require('./assets/home-active.png'),
|
|
261
|
-
* label: 'Home',
|
|
262
|
-
* onPress: () => setActiveIndex(0),
|
|
263
|
-
* },
|
|
264
|
-
* {
|
|
265
|
-
* icon: require('./assets/premium-inactive.png'),
|
|
266
|
-
* activeIcon: require('./assets/premium-active.png'),
|
|
267
|
-
* label: 'Premium',
|
|
268
|
-
* onPress: () => showUpgradeModal(),
|
|
269
|
-
* disabled: !user.isPremium, // Disable if user is not premium
|
|
270
|
-
* },
|
|
271
|
-
* ];
|
|
272
|
-
* ```
|
|
273
|
-
*
|
|
274
|
-
* @param {NavBarProps} props - Component props
|
|
275
|
-
* @param {React.Ref<ViewRef>} ref - Forwarded ref to the container View
|
|
276
|
-
*
|
|
277
|
-
* @returns {React.ReactElement} The rendered NavBar component
|
|
278
|
-
*
|
|
279
|
-
* @accessibility
|
|
280
|
-
* - Sets role="navigation" on the container for proper semantic structure
|
|
281
|
-
* - Each item has role="button" with appropriate labels
|
|
282
|
-
* - Uses aria-label for screen reader support
|
|
283
|
-
* - Indicates selected state with aria-selected
|
|
284
|
-
* - Respects and communicates disabled state
|
|
285
|
-
* - Provides accessibilityRole and accessibilityLabel for React Native
|
|
286
|
-
* - Includes accessibilityState for selected and disabled states
|
|
287
|
-
*
|
|
288
|
-
* @see {@link NavBarItem} for item configuration
|
|
289
|
-
* @see {@link NavBarProps} for all available props
|
|
290
|
-
*/
|
|
291
|
-
const NavBar = React.forwardRef<ViewRef, NavBarProps>(
|
|
292
|
-
(
|
|
293
|
-
{
|
|
294
|
-
items,
|
|
295
|
-
activeIndex,
|
|
296
|
-
className,
|
|
297
|
-
itemClassName,
|
|
298
|
-
activeItemClassName,
|
|
299
|
-
labelClassName,
|
|
300
|
-
activeLabelClassName,
|
|
301
|
-
backgroundColor,
|
|
302
|
-
iconSize = 24,
|
|
303
|
-
},
|
|
304
|
-
ref
|
|
305
|
-
) => {
|
|
306
|
-
/**
|
|
307
|
-
* Renders an icon based on its type (image source or React element)
|
|
308
|
-
*
|
|
309
|
-
* @param {NavBarItem} item - The navigation item containing the icon
|
|
310
|
-
* @param {boolean} isActive - Whether this item is currently active
|
|
311
|
-
* @returns {React.ReactElement} The rendered icon
|
|
312
|
-
*/
|
|
313
|
-
const renderIcon = (
|
|
314
|
-
item: NavBarItem,
|
|
315
|
-
isActive: boolean
|
|
316
|
-
): React.ReactElement => {
|
|
317
|
-
const iconSource = isActive ? item.activeIcon : item.icon;
|
|
318
|
-
|
|
319
|
-
// Check if it's a React element (like lucide icon)
|
|
320
|
-
if (React.isValidElement(iconSource)) {
|
|
321
|
-
return iconSource;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
// It's an image source
|
|
325
|
-
return (
|
|
326
|
-
<Image
|
|
327
|
-
source={iconSource as ImageSourcePropType}
|
|
328
|
-
style={{ width: iconSize, height: iconSize }}
|
|
329
|
-
resizeMode="contain"
|
|
330
|
-
accessibilityIgnoresInvertColors
|
|
331
|
-
/>
|
|
332
|
-
);
|
|
333
|
-
};
|
|
334
|
-
|
|
335
|
-
// Default background color with dark mode support
|
|
336
|
-
const defaultBgColor = 'bg-background';
|
|
337
|
-
|
|
338
|
-
return (
|
|
339
|
-
<SafeAreaView
|
|
340
|
-
edges={['bottom']}
|
|
341
|
-
className={cn(
|
|
342
|
-
'border-t border-border',
|
|
343
|
-
backgroundColor || defaultBgColor
|
|
344
|
-
)}
|
|
345
|
-
ref={ref as any}
|
|
346
|
-
>
|
|
347
|
-
<View
|
|
348
|
-
className={cn(
|
|
349
|
-
'flex-row items-center justify-around px-2 py-1',
|
|
350
|
-
className
|
|
351
|
-
)}
|
|
352
|
-
role="navigation"
|
|
353
|
-
>
|
|
354
|
-
{items.map((item, index) => {
|
|
355
|
-
const isActive = index === activeIndex;
|
|
356
|
-
const isDisabled = item.disabled;
|
|
357
|
-
|
|
358
|
-
return (
|
|
359
|
-
<Pressable
|
|
360
|
-
key={`nav-item-${index}-${item.label}`}
|
|
361
|
-
onPress={item.onPress}
|
|
362
|
-
disabled={isDisabled}
|
|
363
|
-
className={cn(
|
|
364
|
-
'flex-1 items-center justify-center py-2 px-1 active:opacity-70',
|
|
365
|
-
isDisabled && 'opacity-40',
|
|
366
|
-
itemClassName,
|
|
367
|
-
isActive && activeItemClassName
|
|
368
|
-
)}
|
|
369
|
-
role="button"
|
|
370
|
-
aria-label={item.label}
|
|
371
|
-
aria-selected={isActive}
|
|
372
|
-
accessibilityRole="button"
|
|
373
|
-
accessibilityLabel={item.label}
|
|
374
|
-
accessibilityState={{
|
|
375
|
-
selected: isActive,
|
|
376
|
-
disabled: isDisabled,
|
|
377
|
-
}}
|
|
378
|
-
>
|
|
379
|
-
<View className="mb-1.5 mt-2.5">
|
|
380
|
-
{renderIcon(item, isActive)}
|
|
381
|
-
</View>
|
|
382
|
-
<TextClassContext.Provider
|
|
383
|
-
value={cn(
|
|
384
|
-
'text-xs font-medium text-center',
|
|
385
|
-
isActive
|
|
386
|
-
? activeLabelClassName || 'text-foreground'
|
|
387
|
-
: labelClassName || 'text-muted-foreground'
|
|
388
|
-
)}
|
|
389
|
-
>
|
|
390
|
-
<Text>{item.label}</Text>
|
|
391
|
-
</TextClassContext.Provider>
|
|
392
|
-
</Pressable>
|
|
393
|
-
);
|
|
394
|
-
})}
|
|
395
|
-
</View>
|
|
396
|
-
</SafeAreaView>
|
|
397
|
-
);
|
|
398
|
-
}
|
|
399
|
-
);
|
|
400
|
-
|
|
401
|
-
NavBar.displayName = 'NavBar';
|
|
402
|
-
|
|
403
|
-
export { NavBar };
|