@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
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { useCallback, useEffect, useRef } from 'react';
|
|
2
|
+
import { View, Animated } from 'react-native';
|
|
3
|
+
import { cssInterop } from 'nativewind';
|
|
4
|
+
import {
|
|
5
|
+
Alert,
|
|
6
|
+
type AlertProps,
|
|
7
|
+
} from '../../../components/Feedback/Alert/Alert';
|
|
8
|
+
|
|
9
|
+
cssInterop(View, { className: 'style' });
|
|
10
|
+
|
|
11
|
+
/* -----------------------------------------------------
|
|
12
|
+
* Types
|
|
13
|
+
* --------------------------------------------------- */
|
|
14
|
+
|
|
15
|
+
export interface AlertPatternProps {
|
|
16
|
+
/** Alert title/message */
|
|
17
|
+
title?: string;
|
|
18
|
+
|
|
19
|
+
/** Alert description text */
|
|
20
|
+
description?: string;
|
|
21
|
+
|
|
22
|
+
/** Alert variant */
|
|
23
|
+
variant?: AlertProps['variant'];
|
|
24
|
+
|
|
25
|
+
/** Whether to show the close button */
|
|
26
|
+
showClose?: boolean;
|
|
27
|
+
|
|
28
|
+
/** Whether the alert is visible */
|
|
29
|
+
visible?: boolean;
|
|
30
|
+
|
|
31
|
+
/** Callback when close button is pressed */
|
|
32
|
+
onClose?: () => void;
|
|
33
|
+
|
|
34
|
+
/** Auto-dismiss duration in milliseconds (0 to disable) */
|
|
35
|
+
autoDismiss?: number;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* -----------------------------------------------------
|
|
39
|
+
* Component
|
|
40
|
+
* --------------------------------------------------- */
|
|
41
|
+
|
|
42
|
+
export function AlertPattern({
|
|
43
|
+
title = 'This is the Success Message',
|
|
44
|
+
description = 'Alert description goes here. It can be one or two lines.',
|
|
45
|
+
variant = 'success',
|
|
46
|
+
showClose = true,
|
|
47
|
+
visible = true,
|
|
48
|
+
onClose,
|
|
49
|
+
autoDismiss = 0,
|
|
50
|
+
}: AlertPatternProps) {
|
|
51
|
+
const slideAnim = useRef(new Animated.Value(100)).current;
|
|
52
|
+
const opacityAnim = useRef(new Animated.Value(0)).current;
|
|
53
|
+
|
|
54
|
+
const handleDismiss = useCallback(() => {
|
|
55
|
+
Animated.parallel([
|
|
56
|
+
Animated.timing(slideAnim, {
|
|
57
|
+
toValue: 100,
|
|
58
|
+
duration: 250,
|
|
59
|
+
useNativeDriver: true,
|
|
60
|
+
}),
|
|
61
|
+
Animated.timing(opacityAnim, {
|
|
62
|
+
toValue: 0,
|
|
63
|
+
duration: 250,
|
|
64
|
+
useNativeDriver: true,
|
|
65
|
+
}),
|
|
66
|
+
]).start(() => {
|
|
67
|
+
onClose?.();
|
|
68
|
+
});
|
|
69
|
+
}, [slideAnim, opacityAnim, onClose]);
|
|
70
|
+
|
|
71
|
+
useEffect(() => {
|
|
72
|
+
if (visible) {
|
|
73
|
+
// Slide up and fade in animation
|
|
74
|
+
Animated.parallel([
|
|
75
|
+
Animated.timing(slideAnim, {
|
|
76
|
+
toValue: 0,
|
|
77
|
+
duration: 300,
|
|
78
|
+
useNativeDriver: true,
|
|
79
|
+
}),
|
|
80
|
+
Animated.timing(opacityAnim, {
|
|
81
|
+
toValue: 1,
|
|
82
|
+
duration: 300,
|
|
83
|
+
useNativeDriver: true,
|
|
84
|
+
}),
|
|
85
|
+
]).start();
|
|
86
|
+
|
|
87
|
+
// Auto-dismiss if duration is set
|
|
88
|
+
if (autoDismiss > 0) {
|
|
89
|
+
const timer = setTimeout(() => {
|
|
90
|
+
handleDismiss();
|
|
91
|
+
}, autoDismiss);
|
|
92
|
+
return () => clearTimeout(timer);
|
|
93
|
+
}
|
|
94
|
+
return undefined;
|
|
95
|
+
} else {
|
|
96
|
+
// Slide down and fade out animation
|
|
97
|
+
Animated.parallel([
|
|
98
|
+
Animated.timing(slideAnim, {
|
|
99
|
+
toValue: 100,
|
|
100
|
+
duration: 250,
|
|
101
|
+
useNativeDriver: true,
|
|
102
|
+
}),
|
|
103
|
+
Animated.timing(opacityAnim, {
|
|
104
|
+
toValue: 0,
|
|
105
|
+
duration: 250,
|
|
106
|
+
useNativeDriver: true,
|
|
107
|
+
}),
|
|
108
|
+
]).start();
|
|
109
|
+
}
|
|
110
|
+
}, [visible, autoDismiss, slideAnim, opacityAnim, handleDismiss]);
|
|
111
|
+
|
|
112
|
+
if (!visible) return null;
|
|
113
|
+
|
|
114
|
+
return (
|
|
115
|
+
<View
|
|
116
|
+
className="absolute inset-0 pointer-events-none"
|
|
117
|
+
style={{
|
|
118
|
+
zIndex: 9999,
|
|
119
|
+
}}
|
|
120
|
+
>
|
|
121
|
+
{/* Semi-transparent overlay background */}
|
|
122
|
+
<Animated.View
|
|
123
|
+
className="absolute inset-0 bg-black/40"
|
|
124
|
+
style={{
|
|
125
|
+
opacity: opacityAnim,
|
|
126
|
+
pointerEvents: visible ? 'auto' : 'none',
|
|
127
|
+
}}
|
|
128
|
+
/>
|
|
129
|
+
|
|
130
|
+
{/* Alert container at bottom */}
|
|
131
|
+
<View className="absolute bottom-0 left-0 right-0 p-4 pointer-events-none">
|
|
132
|
+
<Animated.View
|
|
133
|
+
style={{
|
|
134
|
+
transform: [{ translateY: slideAnim }],
|
|
135
|
+
opacity: opacityAnim,
|
|
136
|
+
pointerEvents: visible ? 'auto' : 'none',
|
|
137
|
+
}}
|
|
138
|
+
>
|
|
139
|
+
<Alert
|
|
140
|
+
title={title}
|
|
141
|
+
description={description}
|
|
142
|
+
variant={variant}
|
|
143
|
+
showCloseIcon={showClose}
|
|
144
|
+
onClose={handleDismiss}
|
|
145
|
+
/>
|
|
146
|
+
</Animated.View>
|
|
147
|
+
</View>
|
|
148
|
+
</View>
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
AlertPattern.displayName = 'AlertPattern';
|
|
153
|
+
|
|
154
|
+
export default AlertPattern;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import figma from '@figma/code-connect';
|
|
2
|
+
import { BottomSheetPattern } from './BottomSheetPattern';
|
|
3
|
+
|
|
4
|
+
const FIGMA_URL =
|
|
5
|
+
'https://www.figma.com/design/66WaqopqU3WXgwVtyQuTUf/React-Native-Blueprint-Library?node-id=224-3608';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* BottomSheetPattern - Pattern component for bottom sheets
|
|
9
|
+
*
|
|
10
|
+
* Use cases:
|
|
11
|
+
* - Form inputs that slide up from bottom
|
|
12
|
+
* - Action sheets with form fields
|
|
13
|
+
* - Mobile-optimized data entry
|
|
14
|
+
* - Quick actions and settings panels
|
|
15
|
+
*
|
|
16
|
+
* Features:
|
|
17
|
+
* - Slides up from bottom of screen
|
|
18
|
+
* - Semi-transparent overlay background
|
|
19
|
+
* - Rounded top corners
|
|
20
|
+
* - Configurable title and description
|
|
21
|
+
* - Primary and secondary action buttons
|
|
22
|
+
* - Form fields and inputs
|
|
23
|
+
* - Drag-to-dismiss capability
|
|
24
|
+
*/
|
|
25
|
+
figma.connect(BottomSheetPattern, FIGMA_URL, {
|
|
26
|
+
props: {
|
|
27
|
+
children: figma.children('*'),
|
|
28
|
+
},
|
|
29
|
+
example: (props) => <>{props.children}</>,
|
|
30
|
+
});
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
import { cssInterop } from 'nativewind';
|
|
3
|
+
import { BottomSheetDefault } from '../../../components/Layout/Bottomsheet/Bottom-Sheet';
|
|
4
|
+
|
|
5
|
+
// NativeWind interop
|
|
6
|
+
cssInterop(View, { className: 'style' });
|
|
7
|
+
const StyledView = View as any;
|
|
8
|
+
|
|
9
|
+
/* -----------------------------------------------------
|
|
10
|
+
* Types
|
|
11
|
+
* --------------------------------------------------- */
|
|
12
|
+
|
|
13
|
+
export interface BottomSheetPatternProps {
|
|
14
|
+
/** Bottom sheet title */
|
|
15
|
+
titleText?: string;
|
|
16
|
+
|
|
17
|
+
/** Bottom sheet description */
|
|
18
|
+
descriptionText?: string;
|
|
19
|
+
|
|
20
|
+
/** Whether to show header */
|
|
21
|
+
showHeader?: boolean;
|
|
22
|
+
|
|
23
|
+
/** Whether to show description */
|
|
24
|
+
showDescription?: boolean;
|
|
25
|
+
|
|
26
|
+
/** Whether to show footer */
|
|
27
|
+
showFooter?: boolean;
|
|
28
|
+
|
|
29
|
+
/** Whether dismissable */
|
|
30
|
+
dismissable?: boolean;
|
|
31
|
+
|
|
32
|
+
/** Content type for sheet body */
|
|
33
|
+
sheetContentType?: 'placeholder' | 'form' | 'text';
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* -----------------------------------------------------
|
|
37
|
+
* Component
|
|
38
|
+
* --------------------------------------------------- */
|
|
39
|
+
|
|
40
|
+
export function BottomSheetPattern({
|
|
41
|
+
titleText = 'Bottom Sheet Title',
|
|
42
|
+
descriptionText = 'Bottom Sheet Description',
|
|
43
|
+
showHeader = true,
|
|
44
|
+
showDescription = true,
|
|
45
|
+
showFooter = true,
|
|
46
|
+
dismissable = true,
|
|
47
|
+
sheetContentType = 'placeholder',
|
|
48
|
+
}: BottomSheetPatternProps) {
|
|
49
|
+
return (
|
|
50
|
+
<StyledView className="bg-[rgba(18,18,18,0.6)] content-stretch flex flex-col h-full justify-end">
|
|
51
|
+
<BottomSheetDefault
|
|
52
|
+
titleText={titleText}
|
|
53
|
+
descriptionText={descriptionText}
|
|
54
|
+
showHeader={showHeader}
|
|
55
|
+
showDescription={showDescription}
|
|
56
|
+
showFooter={showFooter}
|
|
57
|
+
dismissable={dismissable}
|
|
58
|
+
sheetContentType={sheetContentType}
|
|
59
|
+
/>
|
|
60
|
+
</StyledView>
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
BottomSheetPattern.displayName = 'BottomSheetPattern';
|
|
65
|
+
|
|
66
|
+
export default BottomSheetPattern;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import figma from '@figma/code-connect';
|
|
2
|
+
import { CalendarPattern } from './CalendarPattern';
|
|
3
|
+
|
|
4
|
+
const FIGMA_URL =
|
|
5
|
+
'https://www.figma.com/design/66WaqopqU3WXgwVtyQuTUf/React-Native-Blueprint-Library?node-id=314-6537';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* CalendarPattern - Daily schedule calendar view pattern
|
|
9
|
+
*
|
|
10
|
+
* Use cases:
|
|
11
|
+
* - Daily schedule displays
|
|
12
|
+
* - Calendar event views
|
|
13
|
+
* - Timetable layouts
|
|
14
|
+
* - Meeting schedules
|
|
15
|
+
*
|
|
16
|
+
* Features:
|
|
17
|
+
* - Date selector showing week view
|
|
18
|
+
* - Vertical scrolling timeline
|
|
19
|
+
* - Multiple calendar items with different time spans
|
|
20
|
+
* - Color-coded events
|
|
21
|
+
* - Optional badges and trailing icons
|
|
22
|
+
* - Room/location information
|
|
23
|
+
*/
|
|
24
|
+
figma.connect(CalendarPattern, FIGMA_URL, {
|
|
25
|
+
example: () => (
|
|
26
|
+
<CalendarPattern
|
|
27
|
+
events={[
|
|
28
|
+
{
|
|
29
|
+
id: '1',
|
|
30
|
+
title: 'Web Technologies',
|
|
31
|
+
startTime: '09:00 AM',
|
|
32
|
+
endTime: '09:50 AM',
|
|
33
|
+
span: 1,
|
|
34
|
+
showTrailing: true,
|
|
35
|
+
color: 'cyan',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
id: '2',
|
|
39
|
+
title: 'Digital Logic Design Lab',
|
|
40
|
+
startTime: '10:00 AM',
|
|
41
|
+
endTime: '10:50 AM',
|
|
42
|
+
span: 3,
|
|
43
|
+
showTrailing: true,
|
|
44
|
+
color: 'green',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
id: '3',
|
|
48
|
+
title: 'Electrical Networks',
|
|
49
|
+
startTime: '02:00 PM',
|
|
50
|
+
endTime: '02:50 PM',
|
|
51
|
+
span: 1,
|
|
52
|
+
showTrailing: false,
|
|
53
|
+
color: 'pink',
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: '4',
|
|
57
|
+
title: 'Internal Exam - Digital Logic Design',
|
|
58
|
+
startTime: '03:00 PM',
|
|
59
|
+
endTime: '03:50 PM',
|
|
60
|
+
span: 2,
|
|
61
|
+
showBadge: true,
|
|
62
|
+
badgeText: 'Room No. 504',
|
|
63
|
+
showTrailing: false,
|
|
64
|
+
color: 'purple',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
id: '5',
|
|
68
|
+
title: 'Control Systems',
|
|
69
|
+
startTime: '05:00 PM',
|
|
70
|
+
endTime: '05:50 PM',
|
|
71
|
+
span: 1,
|
|
72
|
+
showTrailing: false,
|
|
73
|
+
color: 'orange',
|
|
74
|
+
},
|
|
75
|
+
]}
|
|
76
|
+
selectedDate="Mon 20"
|
|
77
|
+
/>
|
|
78
|
+
),
|
|
79
|
+
});
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { View, ScrollView, type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
import { cssInterop } from 'nativewind';
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
CalendarItem,
|
|
7
|
+
type CalendarItemProps,
|
|
8
|
+
} from '../../../components/DataDisplay/CalendarItem/CalendarItem';
|
|
9
|
+
import { Text } from '../../../components/Input/Text/Text';
|
|
10
|
+
import { Button } from '../../../components/Input/Button/Button';
|
|
11
|
+
import { cn } from '../../../lib/utils';
|
|
12
|
+
|
|
13
|
+
cssInterop(View, { className: 'style' });
|
|
14
|
+
cssInterop(ScrollView, { className: 'style' });
|
|
15
|
+
|
|
16
|
+
const View_ = View as React.ComponentType<
|
|
17
|
+
React.ComponentProps<typeof View> & { className?: string }
|
|
18
|
+
>;
|
|
19
|
+
|
|
20
|
+
const ScrollView_ = ScrollView as React.ComponentType<
|
|
21
|
+
React.ComponentProps<typeof ScrollView> & { className?: string }
|
|
22
|
+
>;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Calendar Pattern Component
|
|
26
|
+
*
|
|
27
|
+
* A complete calendar daily schedule pattern with date selector and event list.
|
|
28
|
+
* Displays calendar events organized by date with interactive date selection.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
export interface DateItem {
|
|
32
|
+
day: string;
|
|
33
|
+
date: number;
|
|
34
|
+
isActive?: boolean;
|
|
35
|
+
isToday?: boolean;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface CalendarEventItem extends Omit<CalendarItemProps, 'time'> {
|
|
39
|
+
time: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface CalendarPatternProps {
|
|
43
|
+
/** Array of dates to display in the selector */
|
|
44
|
+
dates?: DateItem[];
|
|
45
|
+
/** Currently selected date */
|
|
46
|
+
selectedDate?: number;
|
|
47
|
+
/** Callback when date is selected */
|
|
48
|
+
onDateSelect?: (date: number) => void;
|
|
49
|
+
/** Array of calendar events to display */
|
|
50
|
+
events?: CalendarEventItem[];
|
|
51
|
+
/** Custom style override */
|
|
52
|
+
style?: StyleProp<ViewStyle>;
|
|
53
|
+
/** Test ID for testing */
|
|
54
|
+
testID?: string;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Default dates for the pattern
|
|
58
|
+
const DEFAULT_DATES: DateItem[] = [
|
|
59
|
+
{ day: 'Mon', date: 18, isActive: false, isToday: false },
|
|
60
|
+
{ day: 'Tue', date: 19, isActive: false, isToday: false },
|
|
61
|
+
{ day: 'Wed', date: 20, isActive: true, isToday: false },
|
|
62
|
+
{ day: 'Thu', date: 21, isActive: false, isToday: true },
|
|
63
|
+
{ day: 'Fri', date: 22, isActive: false, isToday: false },
|
|
64
|
+
{ day: 'Sat', date: 23, isActive: false, isToday: false },
|
|
65
|
+
{ day: 'Sun', date: 24, isActive: false, isToday: false },
|
|
66
|
+
{ day: 'Mon', date: 25, isActive: false, isToday: false },
|
|
67
|
+
{ day: 'Tue', date: 26, isActive: false, isToday: false },
|
|
68
|
+
];
|
|
69
|
+
|
|
70
|
+
// Default events
|
|
71
|
+
const DEFAULT_EVENTS: CalendarEventItem[] = [
|
|
72
|
+
{
|
|
73
|
+
time: '09:00 AM',
|
|
74
|
+
eventName: 'Web Technologies',
|
|
75
|
+
eventTime: '09:00 AM - 09:50 AM',
|
|
76
|
+
span: 1,
|
|
77
|
+
showBadge: false,
|
|
78
|
+
showTrailing: false,
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
time: '10:00 AM',
|
|
82
|
+
eventName: 'Digital Logic Design Lab',
|
|
83
|
+
eventTime: '10:00 AM - 11:30 AM',
|
|
84
|
+
span: 3,
|
|
85
|
+
showBadge: false,
|
|
86
|
+
showTrailing: true,
|
|
87
|
+
badgeText: 'Lab',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
time: '02:00 PM',
|
|
91
|
+
eventName: 'Electrical Networks',
|
|
92
|
+
eventTime: '02:00 PM - 02:50 PM',
|
|
93
|
+
span: 1,
|
|
94
|
+
showBadge: false,
|
|
95
|
+
showTrailing: false,
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
time: '03:00 PM',
|
|
99
|
+
eventName: 'Internal Exam',
|
|
100
|
+
eventTime: '03:00 PM - 05:00 PM',
|
|
101
|
+
span: 2,
|
|
102
|
+
showBadge: true,
|
|
103
|
+
showTrailing: false,
|
|
104
|
+
badgeText: 'Room No. 504',
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
time: '05:00 PM',
|
|
108
|
+
eventName: 'Control Systems',
|
|
109
|
+
eventTime: '05:00 PM - 05:50 PM',
|
|
110
|
+
span: 1,
|
|
111
|
+
showBadge: false,
|
|
112
|
+
showTrailing: false,
|
|
113
|
+
},
|
|
114
|
+
];
|
|
115
|
+
|
|
116
|
+
export function CalendarPattern({
|
|
117
|
+
dates = DEFAULT_DATES,
|
|
118
|
+
selectedDate: _selectedDate = 20,
|
|
119
|
+
onDateSelect,
|
|
120
|
+
events = DEFAULT_EVENTS,
|
|
121
|
+
style,
|
|
122
|
+
testID,
|
|
123
|
+
}: CalendarPatternProps) {
|
|
124
|
+
return (
|
|
125
|
+
<View_
|
|
126
|
+
testID={testID ?? 'calendar-pattern'}
|
|
127
|
+
style={style}
|
|
128
|
+
className={cn('flex-1 bg-surface-page')}
|
|
129
|
+
>
|
|
130
|
+
{/* Date Selector */}
|
|
131
|
+
<ScrollView_ horizontal className="bg-white px-3">
|
|
132
|
+
<View_ className="flex-row gap-3 py-3">
|
|
133
|
+
{dates.map((dateItem) => (
|
|
134
|
+
<Button
|
|
135
|
+
key={dateItem.date}
|
|
136
|
+
variant={
|
|
137
|
+
dateItem.isActive
|
|
138
|
+
? 'default'
|
|
139
|
+
: dateItem.isToday
|
|
140
|
+
? 'outline'
|
|
141
|
+
: 'ghost'
|
|
142
|
+
}
|
|
143
|
+
onPress={() => onDateSelect?.(dateItem.date)}
|
|
144
|
+
className={cn(
|
|
145
|
+
'w-12 h-auto rounded-lg px-3 py-2',
|
|
146
|
+
dateItem.isActive && 'bg-highlight-purple',
|
|
147
|
+
dateItem.isToday && 'border border-border'
|
|
148
|
+
)}
|
|
149
|
+
>
|
|
150
|
+
<View_ className="flex-col gap-0.5 items-center">
|
|
151
|
+
<Text
|
|
152
|
+
className={cn(
|
|
153
|
+
'text-xs font-medium',
|
|
154
|
+
dateItem.isActive
|
|
155
|
+
? 'text-text-muted'
|
|
156
|
+
: dateItem.isToday
|
|
157
|
+
? 'text-text-secondary'
|
|
158
|
+
: 'text-text-secondary'
|
|
159
|
+
)}
|
|
160
|
+
>
|
|
161
|
+
{dateItem.day}
|
|
162
|
+
</Text>
|
|
163
|
+
<Text
|
|
164
|
+
className={cn(
|
|
165
|
+
'text-base font-semibold',
|
|
166
|
+
dateItem.isActive ? 'text-white' : 'text-text-primary'
|
|
167
|
+
)}
|
|
168
|
+
>
|
|
169
|
+
{dateItem.date}
|
|
170
|
+
</Text>
|
|
171
|
+
</View_>
|
|
172
|
+
</Button>
|
|
173
|
+
))}
|
|
174
|
+
</View_>
|
|
175
|
+
</ScrollView_>
|
|
176
|
+
|
|
177
|
+
{/* Events List */}
|
|
178
|
+
<ScrollView_ className="flex-1">
|
|
179
|
+
<View_ className="flex-col gap-4 px-5 py-4">
|
|
180
|
+
{events.map((event, index) => (
|
|
181
|
+
<CalendarItem
|
|
182
|
+
key={index}
|
|
183
|
+
time={event.time}
|
|
184
|
+
eventName={event.eventName}
|
|
185
|
+
eventTime={event.eventTime}
|
|
186
|
+
span={event.span}
|
|
187
|
+
showBadge={event.showBadge}
|
|
188
|
+
showTrailing={event.showTrailing}
|
|
189
|
+
badgeText={event.badgeText}
|
|
190
|
+
/>
|
|
191
|
+
))}
|
|
192
|
+
</View_>
|
|
193
|
+
</ScrollView_>
|
|
194
|
+
</View_>
|
|
195
|
+
);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
CalendarPattern.displayName = 'CalendarPattern';
|
|
199
|
+
|
|
200
|
+
export default CalendarPattern;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import figma from '@figma/code-connect';
|
|
2
|
+
import { CardListPattern } from './CardListPattern';
|
|
3
|
+
|
|
4
|
+
const FIGMA_URL =
|
|
5
|
+
'https://www.figma.com/design/66WaqopqU3WXgwVtyQuTUf/React-Native-Blueprint-Library?node-id=224-3665';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* CardListPattern - Pattern component for card list with optional chips and banners
|
|
9
|
+
*
|
|
10
|
+
* Use cases:
|
|
11
|
+
* - Product catalog pages
|
|
12
|
+
* - Content cards with media
|
|
13
|
+
* - Article or blog post listings
|
|
14
|
+
* - E-commerce product grids
|
|
15
|
+
*
|
|
16
|
+
* Features:
|
|
17
|
+
* - Optional BannerRow at top
|
|
18
|
+
* - Optional ChipsRow for filtering
|
|
19
|
+
* - Card list with rich content (media, badges, actions)
|
|
20
|
+
*/
|
|
21
|
+
figma.connect(CardListPattern, FIGMA_URL, {
|
|
22
|
+
props: {
|
|
23
|
+
showChips: figma.boolean('Show Chips'),
|
|
24
|
+
showBanners: figma.boolean('Show Banners'),
|
|
25
|
+
},
|
|
26
|
+
example: (props) => (
|
|
27
|
+
<CardListPattern
|
|
28
|
+
showChips={props.showChips}
|
|
29
|
+
showBanners={props.showBanners}
|
|
30
|
+
banners={[{ id: '1' }, { id: '2' }]}
|
|
31
|
+
chips={[
|
|
32
|
+
{ id: '1', label: 'Chip Title 1' },
|
|
33
|
+
{ id: '2', label: 'Chip Title 2' },
|
|
34
|
+
{ id: '3', label: 'Chip Title 3' },
|
|
35
|
+
{ id: '4', label: 'Chip Title 4' },
|
|
36
|
+
]}
|
|
37
|
+
data={[
|
|
38
|
+
{
|
|
39
|
+
id: '1',
|
|
40
|
+
title: 'Card Title',
|
|
41
|
+
subtitle: 'Subtitle of the card goes here',
|
|
42
|
+
body: 'The card may contain body content which can be truncated to 1-2 lines. Swap Content in Props.',
|
|
43
|
+
badge1Text: 'Badge',
|
|
44
|
+
badge2Text: 'Badge',
|
|
45
|
+
primaryActionText: 'Button',
|
|
46
|
+
secondaryActionText: 'Button',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: '2',
|
|
50
|
+
title: 'Card Title',
|
|
51
|
+
subtitle: 'Subtitle of the card goes here',
|
|
52
|
+
body: 'The card may contain body content which can be truncated to 1-2 lines. Swap Content in Props.',
|
|
53
|
+
badge1Text: 'Badge',
|
|
54
|
+
badge2Text: 'Badge',
|
|
55
|
+
primaryActionText: 'Button',
|
|
56
|
+
secondaryActionText: 'Button',
|
|
57
|
+
},
|
|
58
|
+
]}
|
|
59
|
+
/>
|
|
60
|
+
),
|
|
61
|
+
});
|