@campxdev/react-native-blueprint 0.1.13 → 0.1.14
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/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 +16 -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 +203 -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 +147 -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 +54 -0
- package/lib/module/components/DataDisplay/Badge/Badge.figma.js.map +1 -0
- package/lib/module/components/DataDisplay/Badge/Badge.js +159 -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 +120 -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 +116 -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 +335 -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 +224 -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 +61 -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 +272 -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 +39 -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 +109 -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 +181 -0
- package/lib/module/components/DataDisplay/Skeleton/Skeleton.js.map +1 -0
- package/lib/module/components/DataDisplay/Tooltip/Tooltip.figma.js +33 -0
- package/lib/module/components/DataDisplay/Tooltip/Tooltip.figma.js.map +1 -0
- package/lib/module/components/DataDisplay/Tooltip/Tooltip.js +78 -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/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 +141 -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 +98 -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 +202 -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 +159 -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 +170 -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 +276 -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 +49 -0
- package/lib/module/components/Input/TextField/Textfield.figma.js.map +1 -0
- package/lib/module/components/Input/TextField/Textfield.js +191 -0
- package/lib/module/components/Input/TextField/Textfield.js.map +1 -0
- package/lib/module/components/Input/Toggle/Toggle.js +111 -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 +210 -0
- package/lib/module/components/Input/ToggleGroup/Toggle-Group.js.map +1 -0
- package/lib/module/components/Input/switch/Switch.figma.js +34 -0
- package/lib/module/components/Input/switch/Switch.figma.js.map +1 -0
- package/lib/module/components/Input/switch/Switch.js +107 -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 +25 -0
- package/lib/module/components/Layout/Tabs/Tabs.figma.js.map +1 -0
- package/lib/module/components/Layout/Tabs/Tabs.js +143 -0
- package/lib/module/components/Layout/Tabs/Tabs.js.map +1 -0
- package/lib/module/components/Navigation/Appbar/AppBar.figma.js +56 -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 +58 -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 +54 -0
- package/lib/module/components/Navigation/Popover/Popover.figma.js.map +1 -0
- package/lib/module/components/Navigation/Popover/Popover.js +48 -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 +3 -7
- package/lib/module/components/ui/Custom-Card.js.map +1 -1
- package/lib/module/components/ui/Dropdown-Menu.js +4 -4
- package/lib/module/components/ui/Dropdown-Menu.js.map +1 -1
- package/lib/module/components/ui/Greeting-Card.js +1 -1
- package/lib/module/components/ui/Greeting-Card.js.map +1 -1
- package/lib/module/components/ui/Hover-Card.js +1 -1
- package/lib/module/components/ui/Hover-Card.js.map +1 -1
- package/lib/module/components/ui/Input.js +2 -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 +5 -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 +2 -7
- package/lib/module/components/ui/Slider.js.map +1 -1
- package/lib/module/components/ui/Table.js +3 -3
- package/lib/module/components/ui/Table.js.map +1 -1
- package/lib/module/components/ui/Toast.js +3 -3
- package/lib/module/components/ui/Toast.js.map +1 -1
- package/lib/module/components/ui/index.js +51 -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 +43 -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 +113 -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 +73 -0
- package/lib/module/patterns/pattern-components/CalendarPattern/CalendarPattern.figma.js.map +1 -0
- package/lib/module/patterns/pattern-components/CalendarPattern/CalendarPattern.js +166 -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 +140 -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 +122 -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 +135 -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 +139 -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 +115 -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 +17 -0
- package/lib/module/patterns/pattern-components/index.js.map +1 -0
- package/package.json +65 -634
- 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/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 +15 -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 +226 -0
- package/src/components/DataDisplay/AccordionItem/AccordionItem.figma.tsx +33 -0
- package/src/components/DataDisplay/AccordionItem/AccordionItem.tsx +168 -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 +56 -0
- package/src/components/DataDisplay/Badge/Badge.tsx +169 -0
- package/src/components/DataDisplay/BannerRow/BannerRow.figma.tsx +26 -0
- package/src/components/DataDisplay/BannerRow/BannerRow.tsx +185 -0
- package/src/components/DataDisplay/CalendarItem/CalendarItem.figma.tsx +74 -0
- package/src/components/DataDisplay/CalendarItem/CalendarItem.tsx +176 -0
- package/src/components/DataDisplay/Card/Card.figma.tsx +36 -0
- package/src/components/DataDisplay/Card/Card.tsx +449 -0
- package/src/components/DataDisplay/Chips/Chips.figma.tsx +43 -0
- package/src/components/DataDisplay/Chips/Chips.tsx +278 -0
- package/src/components/DataDisplay/ChipsRow/ChipsRow.figma.tsx +34 -0
- package/src/components/DataDisplay/ChipsRow/ChipsRow.tsx +90 -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 +370 -0
- package/src/components/DataDisplay/Datalist/DataList.figma.tsx +32 -0
- package/src/components/DataDisplay/Datalist/Datalist.tsx +43 -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 +107 -0
- package/src/components/DataDisplay/Skeleton/Skeleton.figma.tsx +36 -0
- package/src/components/DataDisplay/Skeleton/Skeleton.tsx +164 -0
- package/src/components/DataDisplay/Tooltip/Tooltip.figma.tsx +30 -0
- package/src/components/DataDisplay/Tooltip/Tooltip.tsx +100 -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/ProgressCircular/Progress-circular.figma.tsx +32 -0
- package/src/components/Feedback/ProgressCircular/Progress-circular.tsx +164 -0
- package/src/components/Feedback/ProgressLinear/Progress-linear.figma.tsx +27 -0
- package/src/components/Feedback/ProgressLinear/Progress-linear.tsx +125 -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 +223 -0
- package/src/components/Input/Checkbox/Checkbox.figma.tsx +35 -0
- package/src/components/Input/Checkbox/Checkbox.tsx +179 -0
- package/src/components/Input/RadioGroup/Radio-Group.figma.tsx +36 -0
- package/src/components/Input/RadioGroup/Radio-Group.tsx +221 -0
- package/src/components/Input/Select/Select.figma.tsx +44 -0
- package/src/components/Input/Select/Select.tsx +365 -0
- package/src/components/Input/Text/Text.tsx +73 -0
- package/src/components/Input/TextField/Textfield.figma.tsx +54 -0
- package/src/components/Input/TextField/Textfield.tsx +269 -0
- package/src/components/Input/Toggle/Toggle.tsx +119 -0
- package/src/components/Input/ToggleGroup/Toggle-Group.figma.tsx +48 -0
- package/src/components/Input/ToggleGroup/Toggle-Group.tsx +263 -0
- package/src/components/Input/switch/Switch.figma.tsx +38 -0
- package/src/components/Input/switch/Switch.tsx +103 -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 +21 -0
- package/src/components/Layout/Tabs/Tabs.tsx +170 -0
- package/src/components/Navigation/Appbar/AppBar.figma.tsx +56 -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 +77 -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 +63 -0
- package/src/components/Navigation/Popover/Popover.tsx +59 -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 +2 -7
- package/src/components/ui/Dropdown-Menu.tsx +6 -10
- package/src/components/ui/Greeting-Card.tsx +1 -1
- package/src/components/ui/Hover-Card.tsx +1 -1
- package/src/components/ui/Input.tsx +4 -12
- package/src/components/ui/Label.tsx +1 -1
- package/src/components/ui/Menubar.tsx +9 -16
- package/src/components/ui/Native-Only-Animated-View.tsx +4 -3
- package/src/components/ui/Slider.tsx +2 -8
- package/src/components/ui/Table.tsx +8 -10
- package/src/components/ui/Toast.tsx +4 -7
- package/src/components/ui/index.ts +51 -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 +73 -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 +154 -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 +79 -0
- package/src/patterns/pattern-components/CalendarPattern/CalendarPattern.tsx +200 -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 +175 -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 +163 -0
- package/src/patterns/pattern-components/EntityPatternOverview/EntityPatternOverview.figma.tsx +27 -0
- package/src/patterns/pattern-components/EntityPatternOverview/EntityPatternOverview.tsx +174 -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 +187 -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 +138 -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 +14 -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
package/README.md
CHANGED
|
@@ -13,126 +13,25 @@ A production-ready React Native UI component library built with NativeWind (Tail
|
|
|
13
13
|
- 🔧 **Customizable** - Easy to theme and extend with Tailwind utilities
|
|
14
14
|
- ⚡ **Performant** - Built on React Native Reanimated for smooth animations
|
|
15
15
|
|
|
16
|
-
## ⚠️ Prerequisites
|
|
17
|
-
|
|
18
|
-
This library requires **NativeWind v4+** to be configured in your React Native project. NativeWind provides Tailwind CSS styling for React Native.
|
|
19
|
-
|
|
20
|
-
**Not using NativeWind?** This library is designed specifically for NativeWind-based projects. If you're not using NativeWind, you'll need to configure it first or consider an alternative component library.
|
|
21
|
-
|
|
22
16
|
## Installation
|
|
23
17
|
|
|
24
|
-
This library works with **both Expo and Bare React Native CLI** projects. Choose the installation method for your project type.
|
|
25
|
-
|
|
26
|
-
### Quick Start
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
# Install the package
|
|
30
|
-
npm install @campxdev/react-native-blueprint
|
|
31
|
-
# or
|
|
32
|
-
yarn add @campxdev/react-native-blueprint
|
|
33
|
-
|
|
34
|
-
# Install required peer dependencies (minimum)
|
|
35
|
-
npm install @rn-primitives/slot @rn-primitives/types nativewind tailwindcss tailwindcss-animate
|
|
36
|
-
# or
|
|
37
|
-
yarn add @rn-primitives/slot @rn-primitives/types nativewind tailwindcss tailwindcss-animate
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
**Note:** Only install the `@rn-primitives` packages for components you actually use. See the [Component Dependencies](#component-dependencies) table below.
|
|
41
|
-
|
|
42
|
-
### For Bare React Native CLI Projects (Recommended)
|
|
43
|
-
|
|
44
|
-
Perfect for apps like **CampxMobileApp** using React Native CLI without Expo.
|
|
45
|
-
|
|
46
|
-
#### 1. Install the package
|
|
47
|
-
|
|
48
18
|
```sh
|
|
49
|
-
npm install
|
|
19
|
+
npm install react-native-blueprint
|
|
50
20
|
# or
|
|
51
|
-
yarn add
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
#### 2. Install required peer dependencies
|
|
55
|
-
|
|
56
|
-
```sh
|
|
57
|
-
npm install nativewind tailwindcss tailwindcss-animate react-native-reanimated react-native-gesture-handler react-native-svg react-native-safe-area-context react-native-screens
|
|
58
|
-
# or
|
|
59
|
-
yarn add nativewind tailwindcss tailwindcss-animate react-native-reanimated react-native-gesture-handler react-native-svg react-native-safe-area-context react-native-screens
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
#### 3. Install optional peer dependencies (as needed)
|
|
63
|
-
|
|
64
|
-
```sh
|
|
65
|
-
# For bottom sheet components (optional)
|
|
66
|
-
npm install @gorhom/bottom-sheet
|
|
67
|
-
|
|
68
|
-
# For advanced animations (optional)
|
|
69
|
-
npm install react-native-worklets
|
|
70
|
-
|
|
71
|
-
# For specific UI primitives (install only what you need)
|
|
72
|
-
npm install @rn-primitives/accordion @rn-primitives/dialog @rn-primitives/avatar
|
|
73
|
-
# ... add other @rn-primitives packages as needed
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
#### 4. For iOS, install CocoaPods
|
|
77
|
-
|
|
78
|
-
```sh
|
|
79
|
-
cd ios && pod install && cd ..
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
#### 5. Add Reanimated Babel plugin
|
|
83
|
-
|
|
84
|
-
Update your `babel.config.js`:
|
|
85
|
-
|
|
86
|
-
```js
|
|
87
|
-
module.exports = {
|
|
88
|
-
presets: ['module:@react-native/babel-preset'],
|
|
89
|
-
plugins: [
|
|
90
|
-
'react-native-reanimated/plugin', // Must be listed last!
|
|
91
|
-
],
|
|
92
|
-
};
|
|
21
|
+
yarn add react-native-blueprint
|
|
93
22
|
```
|
|
94
23
|
|
|
95
|
-
###
|
|
96
|
-
|
|
97
|
-
If you're using Expo, the installation is simpler:
|
|
24
|
+
### Peer Dependencies
|
|
98
25
|
|
|
99
|
-
|
|
26
|
+
This library requires the following peer dependencies:
|
|
100
27
|
|
|
101
28
|
```sh
|
|
102
|
-
|
|
103
|
-
# Expo will automatically install compatible versions
|
|
29
|
+
npm install react react-native nativewind tailwindcss react-native-reanimated react-native-gesture-handler react-native-svg
|
|
104
30
|
```
|
|
105
31
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
```sh
|
|
109
|
-
npx expo install expo-font @expo-google-fonts/poppins @expo-google-fonts/heebo
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
Then load fonts in your app:
|
|
113
|
-
|
|
114
|
-
```tsx
|
|
115
|
-
import { useFonts } from 'expo-font';
|
|
116
|
-
import { Poppins_400Regular, Poppins_600SemiBold } from '@expo-google-fonts/poppins';
|
|
117
|
-
|
|
118
|
-
function App() {
|
|
119
|
-
const [fontsLoaded] = useFonts({ Poppins_400Regular, Poppins_600SemiBold });
|
|
120
|
-
if (!fontsLoaded) return null;
|
|
121
|
-
// Your app
|
|
122
|
-
}
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
### Common Setup (Required for Both)
|
|
126
|
-
|
|
127
|
-
#### Import the global styles
|
|
128
|
-
|
|
129
|
-
In your app entry point (e.g., `App.tsx` or `_layout.tsx`):
|
|
130
|
-
|
|
131
|
-
```tsx
|
|
132
|
-
import '@campxdev/react-native-blueprint/global.css';
|
|
133
|
-
```
|
|
32
|
+
### Setup
|
|
134
33
|
|
|
135
|
-
|
|
34
|
+
1. **Configure NativeWind:**
|
|
136
35
|
|
|
137
36
|
Create or update `tailwind.config.js`:
|
|
138
37
|
|
|
@@ -143,7 +42,7 @@ module.exports = {
|
|
|
143
42
|
darkMode: 'class',
|
|
144
43
|
content: [
|
|
145
44
|
'./src/**/*.{ts,tsx}',
|
|
146
|
-
'./node_modules
|
|
45
|
+
'./node_modules/react-native-blueprint/src/**/*.{ts,tsx}',
|
|
147
46
|
],
|
|
148
47
|
presets: [require('nativewind/preset')],
|
|
149
48
|
theme: {
|
|
@@ -192,144 +91,82 @@ module.exports = {
|
|
|
192
91
|
};
|
|
193
92
|
```
|
|
194
93
|
|
|
195
|
-
|
|
94
|
+
2. **Import global styles:**
|
|
196
95
|
|
|
197
|
-
|
|
96
|
+
Create `global.css` and import the theme:
|
|
198
97
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
98
|
+
```css
|
|
99
|
+
@tailwind base;
|
|
100
|
+
@tailwind components;
|
|
101
|
+
@tailwind utilities;
|
|
102
|
+
|
|
103
|
+
@layer base {
|
|
104
|
+
:root {
|
|
105
|
+
--background: 0 0% 100%;
|
|
106
|
+
--foreground: 240 10% 3.9%;
|
|
107
|
+
--card: 0 0% 100%;
|
|
108
|
+
--card-foreground: 240 10% 3.9%;
|
|
109
|
+
--popover: 0 0% 100%;
|
|
110
|
+
--popover-foreground: 240 10% 3.9%;
|
|
111
|
+
--primary: 240 5.9% 10%;
|
|
112
|
+
--primary-foreground: 0 0% 98%;
|
|
113
|
+
--secondary: 240 4.8% 95.9%;
|
|
114
|
+
--secondary-foreground: 240 5.9% 10%;
|
|
115
|
+
--muted: 240 4.8% 95.9%;
|
|
116
|
+
--muted-foreground: 240 3.8% 46.1%;
|
|
117
|
+
--accent: 240 4.8% 95.9%;
|
|
118
|
+
--accent-foreground: 240 5.9% 10%;
|
|
119
|
+
--destructive: 0 84.2% 60.2%;
|
|
120
|
+
--destructive-foreground: 0 0% 98%;
|
|
121
|
+
--border: 240 5.9% 90%;
|
|
122
|
+
--input: 240 5.9% 90%;
|
|
123
|
+
--ring: 240 5.9% 10%;
|
|
124
|
+
--radius: 0.5rem;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.dark {
|
|
128
|
+
--background: 240 10% 3.9%;
|
|
129
|
+
--foreground: 0 0% 98%;
|
|
130
|
+
--card: 240 10% 3.9%;
|
|
131
|
+
--card-foreground: 0 0% 98%;
|
|
132
|
+
--popover: 240 10% 3.9%;
|
|
133
|
+
--popover-foreground: 0 0% 98%;
|
|
134
|
+
--primary: 0 0% 98%;
|
|
135
|
+
--primary-foreground: 240 5.9% 10%;
|
|
136
|
+
--secondary: 240 3.7% 15.9%;
|
|
137
|
+
--secondary-foreground: 0 0% 98%;
|
|
138
|
+
--muted: 240 3.7% 15.9%;
|
|
139
|
+
--muted-foreground: 240 5% 64.9%;
|
|
140
|
+
--accent: 240 3.7% 15.9%;
|
|
141
|
+
--accent-foreground: 0 0% 98%;
|
|
142
|
+
--destructive: 0 62.8% 30.6%;
|
|
143
|
+
--destructive-foreground: 0 0% 98%;
|
|
144
|
+
--border: 240 3.7% 15.9%;
|
|
145
|
+
--input: 240 3.7% 15.9%;
|
|
146
|
+
--ring: 240 4.9% 83.9%;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
208
149
|
```
|
|
209
150
|
|
|
210
|
-
**
|
|
151
|
+
3. **Configure Metro:**
|
|
211
152
|
|
|
212
153
|
Update `metro.config.js`:
|
|
213
154
|
|
|
214
155
|
```js
|
|
215
|
-
const { getDefaultConfig
|
|
156
|
+
const { getDefaultConfig } = require('expo/metro-config');
|
|
216
157
|
const { withNativeWind } = require('nativewind/metro');
|
|
217
158
|
|
|
218
|
-
const config =
|
|
219
|
-
// Your custom Metro config
|
|
220
|
-
});
|
|
159
|
+
const config = getDefaultConfig(__dirname);
|
|
221
160
|
|
|
222
161
|
module.exports = withNativeWind(config, { input: './global.css' });
|
|
223
162
|
```
|
|
224
163
|
|
|
225
|
-
**Alternative: Re.Pack + Rspack (5x Faster - Used in Example App)**
|
|
226
|
-
|
|
227
|
-
The example app in this repository uses [Re.Pack 5](https://re-pack.dev) with Rspack for **5x faster builds**. See [MIGRATION_REPACK.md](MIGRATION_REPACK.md) for details.
|
|
228
|
-
|
|
229
|
-
If you want to use Re.Pack in your project:
|
|
230
|
-
|
|
231
|
-
1. Install Re.Pack:
|
|
232
|
-
|
|
233
|
-
```sh
|
|
234
|
-
npx @callstack/repack-init
|
|
235
|
-
```
|
|
236
|
-
|
|
237
|
-
2. Install NativeWind plugin:
|
|
238
|
-
|
|
239
|
-
```sh
|
|
240
|
-
npm install @callstack/repack-plugin-nativewind
|
|
241
|
-
```
|
|
242
|
-
|
|
243
|
-
3. Update `rspack.config.js`:
|
|
244
|
-
|
|
245
|
-
```js
|
|
246
|
-
import { NativeWindPlugin } from '@callstack/repack-plugin-nativewind';
|
|
247
|
-
|
|
248
|
-
export default (env) => ({
|
|
249
|
-
// ... other config
|
|
250
|
-
plugins: [
|
|
251
|
-
new NativeWindPlugin({
|
|
252
|
-
input: './global.css',
|
|
253
|
-
}),
|
|
254
|
-
],
|
|
255
|
-
});
|
|
256
|
-
```
|
|
257
|
-
|
|
258
164
|
## Usage
|
|
259
165
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
### Option 1: Main Package Import (Core Components Only)
|
|
263
|
-
|
|
264
|
-
Import core components from the main package. **The main barrel export only includes components with minimal dependencies** to avoid forcing you to install all @rn-primitives packages.
|
|
265
|
-
|
|
266
|
-
**Core components available from main import:**
|
|
267
|
-
- Alert, AppBar, Badge, Button, Card, Custom-Card, Floating-Action, Greeting-Card, Icon, Input, Native-Only-Animated-View, NavBar, Separator, SizedBox, Skeleton, Table, Text, Textarea, Theme-Toggle
|
|
268
|
-
|
|
269
|
-
```tsx
|
|
270
|
-
// Import CSS at the top of your app entry point (do this ONCE)
|
|
271
|
-
import '@campxdev/react-native-blueprint/global.css';
|
|
272
|
-
|
|
273
|
-
import {
|
|
274
|
-
Button,
|
|
275
|
-
Card,
|
|
276
|
-
Text,
|
|
277
|
-
Input,
|
|
278
|
-
Alert,
|
|
279
|
-
Badge,
|
|
280
|
-
Skeleton,
|
|
281
|
-
} from '@campxdev/react-native-blueprint';
|
|
282
|
-
import { View } from 'react-native';
|
|
283
|
-
|
|
284
|
-
function App() {
|
|
285
|
-
return (
|
|
286
|
-
<View className="flex-1 p-4 bg-background">
|
|
287
|
-
<Card>
|
|
288
|
-
<Card.Header>
|
|
289
|
-
<Card.Title>Welcome</Card.Title>
|
|
290
|
-
<Card.Description>
|
|
291
|
-
Get started with react-native-blueprint
|
|
292
|
-
</Card.Description>
|
|
293
|
-
</Card.Header>
|
|
294
|
-
<Card.Content>
|
|
295
|
-
<Input placeholder="Enter your name" />
|
|
296
|
-
</Card.Content>
|
|
297
|
-
<Card.Footer>
|
|
298
|
-
<Button>
|
|
299
|
-
<Text>Submit</Text>
|
|
300
|
-
</Button>
|
|
301
|
-
</Card.Footer>
|
|
302
|
-
</Card>
|
|
303
|
-
|
|
304
|
-
<Alert>
|
|
305
|
-
<Alert.Title>Info</Alert.Title>
|
|
306
|
-
<Alert.Description>This is a sample alert component.</Alert.Description>
|
|
307
|
-
</Alert>
|
|
308
|
-
</View>
|
|
309
|
-
);
|
|
310
|
-
}
|
|
311
|
-
```
|
|
312
|
-
|
|
313
|
-
### Option 2: Tree-Shakeable Imports (For All Components)
|
|
314
|
-
|
|
315
|
-
For components requiring @rn-primitives (like Accordion, Dialog, Checkbox, etc.), you **must** use tree-shakeable imports. This also works for core components and provides the best bundle size.
|
|
166
|
+
### Basic Example
|
|
316
167
|
|
|
317
168
|
```tsx
|
|
318
|
-
|
|
319
|
-
import '@campxdev/react-native-blueprint/global.css';
|
|
320
|
-
|
|
321
|
-
// Core components (also available from main import)
|
|
322
|
-
import { Button } from '@campxdev/react-native-blueprint/Button';
|
|
323
|
-
import { Card } from '@campxdev/react-native-blueprint/Card';
|
|
324
|
-
import { Text } from '@campxdev/react-native-blueprint/Text';
|
|
325
|
-
import { Input } from '@campxdev/react-native-blueprint/Input';
|
|
326
|
-
import { Alert } from '@campxdev/react-native-blueprint/Alert';
|
|
327
|
-
|
|
328
|
-
// Components requiring @rn-primitives (MUST use tree-shakeable imports)
|
|
329
|
-
import { Dialog } from '@campxdev/react-native-blueprint/Dialog';
|
|
330
|
-
import { Checkbox } from '@campxdev/react-native-blueprint/Checkbox';
|
|
331
|
-
import { Avatar } from '@campxdev/react-native-blueprint/Avatar';
|
|
332
|
-
|
|
169
|
+
import { Button, Card, Text, Input, Alert } from 'react-native-blueprint';
|
|
333
170
|
import { View } from 'react-native';
|
|
334
171
|
|
|
335
172
|
function App() {
|
|
@@ -338,9 +175,7 @@ function App() {
|
|
|
338
175
|
<Card>
|
|
339
176
|
<Card.Header>
|
|
340
177
|
<Card.Title>Welcome</Card.Title>
|
|
341
|
-
<Card.Description>
|
|
342
|
-
Get started with react-native-blueprint
|
|
343
|
-
</Card.Description>
|
|
178
|
+
<Card.Description>Get started with react-native-blueprint</Card.Description>
|
|
344
179
|
</Card.Header>
|
|
345
180
|
<Card.Content>
|
|
346
181
|
<Input placeholder="Enter your name" />
|
|
@@ -354,7 +189,9 @@ function App() {
|
|
|
354
189
|
|
|
355
190
|
<Alert>
|
|
356
191
|
<Alert.Title>Info</Alert.Title>
|
|
357
|
-
<Alert.Description>
|
|
192
|
+
<Alert.Description>
|
|
193
|
+
This is a sample alert component.
|
|
194
|
+
</Alert.Description>
|
|
358
195
|
</Alert>
|
|
359
196
|
</View>
|
|
360
197
|
);
|
|
@@ -364,14 +201,12 @@ function App() {
|
|
|
364
201
|
## Available Components
|
|
365
202
|
|
|
366
203
|
### Layout & Structure
|
|
367
|
-
|
|
368
204
|
- **Button** - Customizable button with variants (default, destructive, outline, ghost, link)
|
|
369
205
|
- **Card** - Container with header, content, and footer sections
|
|
370
206
|
- **Separator** - Horizontal or vertical divider
|
|
371
207
|
- **Skeleton** - Loading placeholder with shimmer effect
|
|
372
208
|
|
|
373
209
|
### Form Components
|
|
374
|
-
|
|
375
210
|
- **Input** - Text input field
|
|
376
211
|
- **Textarea** - Multi-line text input
|
|
377
212
|
- **Checkbox** - Checkbox with label support
|
|
@@ -382,14 +217,12 @@ function App() {
|
|
|
382
217
|
- **Slider** - Range slider input
|
|
383
218
|
|
|
384
219
|
### Navigation
|
|
385
|
-
|
|
386
220
|
- **Tabs** - Tab navigation component
|
|
387
221
|
- **Accordion** - Collapsible content sections
|
|
388
222
|
- **Collapsible** - Expandable/collapsible content
|
|
389
223
|
- **Menubar** - Menu bar with nested items
|
|
390
224
|
|
|
391
225
|
### Overlays & Dialogs
|
|
392
|
-
|
|
393
226
|
- **Dialog** - Modal dialog
|
|
394
227
|
- **Alert Dialog** - Alert/confirmation dialog
|
|
395
228
|
- **Popover** - Floating popover
|
|
@@ -399,101 +232,32 @@ function App() {
|
|
|
399
232
|
- **Hover Card** - Card that appears on hover
|
|
400
233
|
|
|
401
234
|
### Feedback & Status
|
|
402
|
-
|
|
403
235
|
- **Alert** - Informational alert box
|
|
404
236
|
- **Toast** - Toast notification
|
|
405
237
|
- **Progress** - Progress bar
|
|
406
238
|
- **Badge** - Status badge
|
|
407
239
|
|
|
408
240
|
### Data Display
|
|
409
|
-
|
|
410
241
|
- **Table** - Data table with sorting
|
|
411
242
|
- **Avatar** - User avatar with fallback
|
|
412
243
|
- **Text** - Typography component with variants
|
|
413
244
|
- **Icon** - Icon component (powered by lucide-react-native)
|
|
414
245
|
|
|
415
246
|
### Utilities
|
|
416
|
-
|
|
417
247
|
- **Aspect Ratio** - Container with fixed aspect ratio
|
|
418
248
|
- **Toggle** - Toggle button
|
|
419
249
|
- **Toggle Group** - Group of toggle buttons
|
|
420
250
|
|
|
421
|
-
## Component Dependencies
|
|
422
|
-
|
|
423
|
-
All peer dependencies are **optional** - only install what you need based on the components you use.
|
|
424
|
-
|
|
425
|
-
### Core Dependencies (Required for Most Components)
|
|
426
|
-
|
|
427
|
-
```bash
|
|
428
|
-
npm install @rn-primitives/slot @rn-primitives/types
|
|
429
|
-
```
|
|
430
|
-
|
|
431
|
-
### Component-Specific Dependencies
|
|
432
|
-
|
|
433
|
-
| Component | Required Packages | Notes |
|
|
434
|
-
|-----------|------------------|-------|
|
|
435
|
-
| **Accordion** | `@rn-primitives/accordion`<br/>`@rn-primitives/collapsible` | Collapsible content sections |
|
|
436
|
-
| **Alert** | None | Always available |
|
|
437
|
-
| **Alert-Dialog** | `@rn-primitives/alert-dialog`<br/>`@rn-primitives/portal` | Confirmation dialogs |
|
|
438
|
-
| **AppBar** | None | Always available |
|
|
439
|
-
| **Aspect-Ratio** | `@rn-primitives/aspect-ratio` | Fixed aspect ratio containers |
|
|
440
|
-
| **Avatar** | `@rn-primitives/avatar` | User avatars with fallback |
|
|
441
|
-
| **Badge** | None | Always available |
|
|
442
|
-
| **Bottom-Sheet** | `@gorhom/bottom-sheet`<br/>`react-native-reanimated`<br/>`react-native-gesture-handler` | Bottom sheet modals |
|
|
443
|
-
| **Button** | `@rn-primitives/slot` | Always available with slot |
|
|
444
|
-
| **Card** | None | Always available |
|
|
445
|
-
| **Checkbox** | `@rn-primitives/checkbox` | Checkbox inputs |
|
|
446
|
-
| **Collapsible** | `@rn-primitives/collapsible` | Expandable content |
|
|
447
|
-
| **Context-Menu** | `@rn-primitives/context-menu` | Right-click menus |
|
|
448
|
-
| **Custom-Card** | None | Always available |
|
|
449
|
-
| **Dialog** | `@rn-primitives/dialog`<br/>`@rn-primitives/portal` | Modal dialogs |
|
|
450
|
-
| **Dropdown-Menu** | `@rn-primitives/dropdown-menu` | Dropdown menus |
|
|
451
|
-
| **Floating-Action** | `react-native-floating-action` | Floating action button |
|
|
452
|
-
| **Greeting-Card** | None | Always available |
|
|
453
|
-
| **Hover-Card** | `@rn-primitives/hover-card` | Hover-triggered cards |
|
|
454
|
-
| **Icon** | `lucide-react-native`<br/>`react-native-svg` | Icon library |
|
|
455
|
-
| **Input** | None | Always available |
|
|
456
|
-
| **Label** | `@rn-primitives/label` | Form labels |
|
|
457
|
-
| **Menubar** | `@rn-primitives/menubar` | Menu bars |
|
|
458
|
-
| **Native-Only-Animated-View** | `react-native-reanimated` | Animated views |
|
|
459
|
-
| **NavBar** | None | Always available |
|
|
460
|
-
| **Popover** | `@rn-primitives/popover` | Floating popovers |
|
|
461
|
-
| **Progress** | `@rn-primitives/progress` | Progress bars |
|
|
462
|
-
| **Radio-Group** | `@rn-primitives/radio-group` | Radio button groups |
|
|
463
|
-
| **Select** | `@rn-primitives/select` | Dropdown selects |
|
|
464
|
-
| **Separator** | None | Always available |
|
|
465
|
-
| **SizedBox** | None | Always available |
|
|
466
|
-
| **Skeleton** | None | Always available (loading states) |
|
|
467
|
-
| **Slider** | `@rn-primitives/slider` | Range sliders |
|
|
468
|
-
| **Switch** | `@rn-primitives/switch` | Toggle switches |
|
|
469
|
-
| **Table** | None | Always available |
|
|
470
|
-
| **Tabs** | `@rn-primitives/tabs` | Tab navigation |
|
|
471
|
-
| **Text** | None | Always available |
|
|
472
|
-
| **Textarea** | None | Always available |
|
|
473
|
-
| **Theme-Toggle** | None | Always available |
|
|
474
|
-
| **Toast** | Custom implementation | Toast notifications |
|
|
475
|
-
| **Toggle** | `@rn-primitives/toggle` | Toggle buttons |
|
|
476
|
-
| **Toggle-Group** | `@rn-primitives/toggle-group` | Toggle button groups |
|
|
477
|
-
| **Tooltip** | `@rn-primitives/tooltip` | Hover tooltips |
|
|
478
|
-
|
|
479
|
-
### Install All Optional Dependencies (For All Components)
|
|
480
|
-
|
|
481
|
-
If you want to use all components without worrying about individual dependencies:
|
|
482
|
-
|
|
483
|
-
```bash
|
|
484
|
-
npm install @rn-primitives/accordion @rn-primitives/alert-dialog @rn-primitives/aspect-ratio @rn-primitives/avatar @rn-primitives/checkbox @rn-primitives/collapsible @rn-primitives/context-menu @rn-primitives/dialog @rn-primitives/dropdown-menu @rn-primitives/hover-card @rn-primitives/label @rn-primitives/menubar @rn-primitives/popover @rn-primitives/portal @rn-primitives/progress @rn-primitives/radio-group @rn-primitives/select @rn-primitives/separator @rn-primitives/slider @rn-primitives/slot @rn-primitives/switch @rn-primitives/tabs @rn-primitives/toggle @rn-primitives/toggle-group @rn-primitives/tooltip @rn-primitives/types @gorhom/bottom-sheet react-native-worklets
|
|
485
|
-
```
|
|
486
|
-
|
|
487
251
|
## Theming
|
|
488
252
|
|
|
489
253
|
Components use CSS variables for theming. Customize your app's appearance by modifying the CSS variables in `global.css`:
|
|
490
254
|
|
|
491
255
|
```css
|
|
492
256
|
:root {
|
|
493
|
-
--primary: 220 90% 56%;
|
|
494
|
-
--secondary: 280 70% 60%;
|
|
495
|
-
--destructive: 0 84% 60%;
|
|
496
|
-
--radius: 0.75rem;
|
|
257
|
+
--primary: 220 90% 56%; /* Blue */
|
|
258
|
+
--secondary: 280 70% 60%; /* Purple */
|
|
259
|
+
--destructive: 0 84% 60%; /* Red */
|
|
260
|
+
--radius: 0.75rem; /* Border radius */
|
|
497
261
|
}
|
|
498
262
|
```
|
|
499
263
|
|
|
@@ -517,164 +281,23 @@ function App() {
|
|
|
517
281
|
|
|
518
282
|
## Example App
|
|
519
283
|
|
|
520
|
-
Check out the `/example` directory for a complete demo app showcasing all components
|
|
521
|
-
|
|
522
|
-
### Run Normal App Mode
|
|
523
|
-
|
|
524
|
-
```sh
|
|
525
|
-
yarn example:app # From root (recommended)
|
|
526
|
-
# or
|
|
527
|
-
cd example
|
|
528
|
-
yarn app:ios # Run on iOS simulator
|
|
529
|
-
yarn app:android # Run on Android emulator
|
|
530
|
-
```
|
|
531
|
-
|
|
532
|
-
### Run Storybook Mode
|
|
533
|
-
|
|
534
|
-
The example app includes 16 interactive component stories using [Storybook for React Native](https://storybook.js.org/tutorials/intro-to-storybook/react-native/):
|
|
284
|
+
Check out the `/example` directory for a complete demo app showcasing all components:
|
|
535
285
|
|
|
536
286
|
```sh
|
|
537
|
-
yarn example:storybook # From root (recommended)
|
|
538
|
-
# or
|
|
539
287
|
cd example
|
|
540
|
-
|
|
541
|
-
|
|
288
|
+
npm install
|
|
289
|
+
npm run ios # Run on iOS simulator
|
|
290
|
+
npm run android # Run on Android emulator
|
|
542
291
|
```
|
|
543
292
|
|
|
544
|
-
### Build Performance
|
|
545
|
-
|
|
546
|
-
The example app uses **Re.Pack 5 + Rspack** instead of Metro for:
|
|
547
|
-
|
|
548
|
-
- ⚡ **5x faster cold builds**
|
|
549
|
-
- ⚡ **5x faster hot module reload (HMR)**
|
|
550
|
-
- 📦 **Zero package duplications**
|
|
551
|
-
- 🎨 **Full NativeWind support**
|
|
552
|
-
|
|
553
|
-
See [MIGRATION_REPACK.md](MIGRATION_REPACK.md) for complete migration details and architecture.
|
|
554
|
-
|
|
555
293
|
## TypeScript Support
|
|
556
294
|
|
|
557
295
|
All components are fully typed with TypeScript. Import types as needed:
|
|
558
296
|
|
|
559
297
|
```tsx
|
|
560
|
-
import type { ButtonProps, CardProps } from '
|
|
298
|
+
import type { ButtonProps, CardProps } from 'react-native-blueprint';
|
|
561
299
|
```
|
|
562
300
|
|
|
563
|
-
## Troubleshooting
|
|
564
|
-
|
|
565
|
-
### "Cannot find module '@campxdev/react-native-blueprint/global.css'"
|
|
566
|
-
|
|
567
|
-
Make sure you've:
|
|
568
|
-
|
|
569
|
-
1. Installed NativeWind: `npm install nativewind tailwindcss`
|
|
570
|
-
2. Configured Metro with NativeWind plugin (see Installation Step 5)
|
|
571
|
-
3. Imported the CSS in your app entry point
|
|
572
|
-
|
|
573
|
-
### "CSS import is not supported"
|
|
574
|
-
|
|
575
|
-
Your Metro bundler needs the NativeWind plugin. Update `metro.config.js`:
|
|
576
|
-
|
|
577
|
-
```js
|
|
578
|
-
const { getDefaultConfig } = require('expo/metro-config');
|
|
579
|
-
const { withNativeWind } = require('nativewind/metro');
|
|
580
|
-
|
|
581
|
-
const config = getDefaultConfig(__dirname);
|
|
582
|
-
|
|
583
|
-
module.exports = withNativeWind(config, { input: './global.css' });
|
|
584
|
-
```
|
|
585
|
-
|
|
586
|
-
### Components not styling correctly
|
|
587
|
-
|
|
588
|
-
Ensure your `tailwind.config.js` includes the package path in the content array:
|
|
589
|
-
|
|
590
|
-
```js
|
|
591
|
-
content: [
|
|
592
|
-
'./src/**/*.{ts,tsx}',
|
|
593
|
-
'./node_modules/@campxdev/react-native-blueprint/src/**/*.{ts,tsx}',
|
|
594
|
-
],
|
|
595
|
-
```
|
|
596
|
-
|
|
597
|
-
## Migration Guides
|
|
598
|
-
|
|
599
|
-
### Migration from v0.1.x to v0.2.x
|
|
600
|
-
|
|
601
|
-
**Breaking Changes**:
|
|
602
|
-
1. CSS must now be manually imported
|
|
603
|
-
2. Expo is no longer a direct dependency (but still supported!)
|
|
604
|
-
3. Many dependencies moved to peer dependencies
|
|
605
|
-
|
|
606
|
-
#### What changed?
|
|
607
|
-
|
|
608
|
-
**v0.1.x**:
|
|
609
|
-
- Included Expo as direct dependency
|
|
610
|
-
- CSS auto-imported via `RootLayout`
|
|
611
|
-
- All packages bundled as direct dependencies
|
|
612
|
-
|
|
613
|
-
**v0.2.x**:
|
|
614
|
-
- ✅ Works with both Expo and bare React Native CLI
|
|
615
|
-
- ✅ CSS must be explicitly imported (better tree-shaking)
|
|
616
|
-
- ✅ Most packages are now peer dependencies (smaller bundle, less conflicts)
|
|
617
|
-
- ✅ CommonJS and ESM support (fixes module warnings)
|
|
618
|
-
|
|
619
|
-
#### Migration Steps
|
|
620
|
-
|
|
621
|
-
##### For ALL Projects (Expo & Bare RN CLI)
|
|
622
|
-
|
|
623
|
-
1. **Add CSS import** to your app entry point (e.g., `App.tsx` or `_layout.tsx`):
|
|
624
|
-
|
|
625
|
-
```tsx
|
|
626
|
-
import '@campxdev/react-native-blueprint/global.css';
|
|
627
|
-
```
|
|
628
|
-
|
|
629
|
-
2. **Install peer dependencies**:
|
|
630
|
-
|
|
631
|
-
```sh
|
|
632
|
-
# Required peer dependencies
|
|
633
|
-
npm install nativewind tailwindcss tailwindcss-animate react-native-reanimated react-native-gesture-handler react-native-svg react-native-safe-area-context react-native-screens
|
|
634
|
-
|
|
635
|
-
# Optional (install as needed)
|
|
636
|
-
npm install @gorhom/bottom-sheet react-native-worklets
|
|
637
|
-
npm install @rn-primitives/accordion @rn-primitives/dialog # ... etc
|
|
638
|
-
```
|
|
639
|
-
|
|
640
|
-
##### For Expo Projects ONLY
|
|
641
|
-
|
|
642
|
-
3. **Install Expo-specific packages** (if you want custom fonts):
|
|
643
|
-
|
|
644
|
-
```sh
|
|
645
|
-
npx expo install expo-font @expo-google-fonts/poppins @expo-google-fonts/heebo
|
|
646
|
-
```
|
|
647
|
-
|
|
648
|
-
##### For Bare React Native CLI ONLY
|
|
649
|
-
|
|
650
|
-
3. **Add Reanimated plugin** to `babel.config.js`:
|
|
651
|
-
|
|
652
|
-
```js
|
|
653
|
-
module.exports = {
|
|
654
|
-
presets: ['module:@react-native/babel-preset'],
|
|
655
|
-
plugins: [
|
|
656
|
-
'react-native-reanimated/plugin', // Must be last!
|
|
657
|
-
],
|
|
658
|
-
};
|
|
659
|
-
```
|
|
660
|
-
|
|
661
|
-
4. **For iOS, run pod install**:
|
|
662
|
-
|
|
663
|
-
```sh
|
|
664
|
-
cd ios && pod install && cd ..
|
|
665
|
-
```
|
|
666
|
-
|
|
667
|
-
#### Font Handling Changes
|
|
668
|
-
|
|
669
|
-
**v0.1.x**: Fonts were loaded via Expo automatically
|
|
670
|
-
|
|
671
|
-
**v0.2.x**:
|
|
672
|
-
- Uses system fonts by default (works everywhere!)
|
|
673
|
-
- Expo users can still use `expo-font` (see installation guide)
|
|
674
|
-
- Bare RN CLI users can add custom fonts manually (see fonts.ts documentation)
|
|
675
|
-
|
|
676
|
-
That's it! Your app should work as before with better compatibility.
|
|
677
|
-
|
|
678
301
|
## Contributing
|
|
679
302
|
|
|
680
303
|
Contributions are welcome! Please follow these steps:
|
|
@@ -688,7 +311,6 @@ Contributions are welcome! Please follow these steps:
|
|
|
688
311
|
### Development Workflow
|
|
689
312
|
|
|
690
313
|
1. Clone the repo and install dependencies:
|
|
691
|
-
|
|
692
314
|
```sh
|
|
693
315
|
git clone https://github.com/campx-org/react-native-blueprint.git
|
|
694
316
|
cd react-native-blueprint
|
|
@@ -696,27 +318,15 @@ Contributions are welcome! Please follow these steps:
|
|
|
696
318
|
```
|
|
697
319
|
|
|
698
320
|
2. Run the example app:
|
|
699
|
-
|
|
700
|
-
**Normal App Mode:**
|
|
701
|
-
|
|
702
321
|
```sh
|
|
703
|
-
yarn example
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
```
|
|
707
|
-
|
|
708
|
-
**Storybook Mode (Component Library):**
|
|
709
|
-
|
|
710
|
-
```sh
|
|
711
|
-
yarn example:storybook # Start Storybook
|
|
712
|
-
cd example && yarn storybook:ios # Or run on iOS
|
|
713
|
-
cd example && yarn storybook:android # Or run on Android
|
|
322
|
+
yarn example ios
|
|
323
|
+
# or
|
|
324
|
+
yarn example android
|
|
714
325
|
```
|
|
715
326
|
|
|
716
327
|
3. Make your changes in `/src`
|
|
717
328
|
|
|
718
329
|
4. Run type checking and linting:
|
|
719
|
-
|
|
720
330
|
```sh
|
|
721
331
|
yarn typecheck
|
|
722
332
|
yarn lint
|
|
@@ -727,15 +337,6 @@ Contributions are welcome! Please follow these steps:
|
|
|
727
337
|
yarn prepare
|
|
728
338
|
```
|
|
729
339
|
|
|
730
|
-
### Example App Tech Stack
|
|
731
|
-
|
|
732
|
-
The example app showcases modern React Native development with:
|
|
733
|
-
|
|
734
|
-
- **Re.Pack 5 + Rspack** - 5x faster than Metro bundler
|
|
735
|
-
- **Storybook React Native** - Interactive component development
|
|
736
|
-
- **NativeWind v4** - Tailwind CSS for React Native
|
|
737
|
-
- **Command-based mode switching** - Easy switching between app and Storybook modes
|
|
738
|
-
|
|
739
340
|
## License
|
|
740
341
|
|
|
741
342
|
MIT © [CAMPX](https://github.com/campx-org)
|