@campxdev/react-native-blueprint 0.1.18 → 0.1.20
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/lib/global.css +1 -672
- package/lib/module/components/DataDisplay/CalendarItem/CalendarItem.js +2 -2
- package/lib/module/components/DataDisplay/CalendarItem/CalendarItem.js.map +1 -1
- package/lib/module/components/Input/Button/Button.js +5 -5
- package/lib/module/components/Input/Button/Button.js.map +1 -1
- package/lib/module/components/Navigation/Popover/Popover.js +1 -1
- package/lib/module/components/Navigation/Popover/Popover.js.map +1 -1
- package/lib/module/components/ui/index.js +34 -34
- package/lib/module/components/ui/index.js.map +1 -1
- package/lib/typescript/babel.config.d.ts +13 -0
- package/lib/typescript/babel.config.d.ts.map +1 -0
- package/lib/typescript/src/app/_layout.d.ts +8 -0
- package/lib/typescript/src/app/_layout.d.ts.map +1 -0
- package/lib/typescript/src/assets/index.d.ts +2 -0
- package/lib/typescript/src/assets/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/lotties/index.d.ts +14 -0
- package/lib/typescript/src/assets/lotties/index.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Accordion/Accordion.d.ts +35 -0
- package/lib/typescript/src/components/DataDisplay/Accordion/Accordion.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Accordion/Accordion.figma.d.ts +2 -0
- package/lib/typescript/src/components/DataDisplay/Accordion/Accordion.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/AccordionItem/AccordionItem.d.ts +32 -0
- package/lib/typescript/src/components/DataDisplay/AccordionItem/AccordionItem.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/AccordionItem/AccordionItem.figma.d.ts +2 -0
- package/lib/typescript/src/components/DataDisplay/AccordionItem/AccordionItem.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Avatar/Avatar.d.ts +36 -0
- package/lib/typescript/src/components/DataDisplay/Avatar/Avatar.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Avatar/Avatar.figma.d.ts +2 -0
- package/lib/typescript/src/components/DataDisplay/Avatar/Avatar.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Badge/Badge.d.ts +219 -0
- package/lib/typescript/src/components/DataDisplay/Badge/Badge.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Badge/Badge.figma.d.ts +2 -0
- package/lib/typescript/src/components/DataDisplay/Badge/Badge.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Banner/Banner.d.ts +15 -0
- package/lib/typescript/src/components/DataDisplay/Banner/Banner.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Banner/Banner.figma.d.ts +2 -0
- package/lib/typescript/src/components/DataDisplay/Banner/Banner.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/BannerRow/BannerRow.d.ts +61 -0
- package/lib/typescript/src/components/DataDisplay/BannerRow/BannerRow.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/BannerRow/BannerRow.figma.d.ts +2 -0
- package/lib/typescript/src/components/DataDisplay/BannerRow/BannerRow.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/CalendarItem/CalendarItem.d.ts +44 -0
- package/lib/typescript/src/components/DataDisplay/CalendarItem/CalendarItem.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/CalendarItem/CalendarItem.figma.d.ts +2 -0
- package/lib/typescript/src/components/DataDisplay/CalendarItem/CalendarItem.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Card/Card.d.ts +65 -0
- package/lib/typescript/src/components/DataDisplay/Card/Card.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Card/Card.figma.d.ts +2 -0
- package/lib/typescript/src/components/DataDisplay/Card/Card.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Chips/Chips.d.ts +37 -0
- package/lib/typescript/src/components/DataDisplay/Chips/Chips.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Chips/Chips.figma.d.ts +2 -0
- package/lib/typescript/src/components/DataDisplay/Chips/Chips.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/ChipsRow/ChipsRow.d.ts +31 -0
- package/lib/typescript/src/components/DataDisplay/ChipsRow/ChipsRow.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/ChipsRow/ChipsRow.figma.d.ts +2 -0
- package/lib/typescript/src/components/DataDisplay/ChipsRow/ChipsRow.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/DataCard/DataCard.d.ts +25 -0
- package/lib/typescript/src/components/DataDisplay/DataCard/DataCard.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/DataCard/DataCard.figma.d.ts +2 -0
- package/lib/typescript/src/components/DataDisplay/DataCard/DataCard.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/DataListItem/DataListItem.d.ts +47 -0
- package/lib/typescript/src/components/DataDisplay/DataListItem/DataListItem.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/DataListItem/DataListItem.figma.d.ts +3 -0
- package/lib/typescript/src/components/DataDisplay/DataListItem/DataListItem.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Datalist/DataList.figma.d.ts +2 -0
- package/lib/typescript/src/components/DataDisplay/Datalist/DataList.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Datalist/Datalist.d.ts +14 -0
- package/lib/typescript/src/components/DataDisplay/Datalist/Datalist.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/FeedCard/FeedCard.d.ts +49 -0
- package/lib/typescript/src/components/DataDisplay/FeedCard/FeedCard.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/FeedCard/FeedCard.figma.d.ts +2 -0
- package/lib/typescript/src/components/DataDisplay/FeedCard/FeedCard.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Greeting/Greeting.d.ts +58 -0
- package/lib/typescript/src/components/DataDisplay/Greeting/Greeting.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Greeting/Greeting.figma.d.ts +2 -0
- package/lib/typescript/src/components/DataDisplay/Greeting/Greeting.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/MonthCalendar/MonthCalendar.d.ts +6 -0
- package/lib/typescript/src/components/DataDisplay/MonthCalendar/MonthCalendar.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/MonthCalendar/MonthCalendar.figma.d.ts +3 -0
- package/lib/typescript/src/components/DataDisplay/MonthCalendar/MonthCalendar.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/MonthCalendar/index.d.ts +2 -0
- package/lib/typescript/src/components/DataDisplay/MonthCalendar/index.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Separator/Separator.d.ts +29 -0
- package/lib/typescript/src/components/DataDisplay/Separator/Separator.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Separator/Separator.figma.d.ts +2 -0
- package/lib/typescript/src/components/DataDisplay/Separator/Separator.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Skeleton/Skeleton.d.ts +45 -0
- package/lib/typescript/src/components/DataDisplay/Skeleton/Skeleton.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Skeleton/Skeleton.figma.d.ts +2 -0
- package/lib/typescript/src/components/DataDisplay/Skeleton/Skeleton.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Tooltip/Tooltip.d.ts +178 -0
- package/lib/typescript/src/components/DataDisplay/Tooltip/Tooltip.d.ts.map +1 -0
- package/lib/typescript/src/components/DataDisplay/Tooltip/Tooltip.figma.d.ts +2 -0
- package/lib/typescript/src/components/DataDisplay/Tooltip/Tooltip.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Feedback/Alert/Alert.d.ts +32 -0
- package/lib/typescript/src/components/Feedback/Alert/Alert.d.ts.map +1 -0
- package/lib/typescript/src/components/Feedback/Alert/Alert.figma.d.ts +2 -0
- package/lib/typescript/src/components/Feedback/Alert/Alert.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Feedback/AlertDialog/Alert-Dialog.d.ts +28 -0
- package/lib/typescript/src/components/Feedback/AlertDialog/Alert-Dialog.d.ts.map +1 -0
- package/lib/typescript/src/components/Feedback/AlertDialog/Alert-Dialog.figma.d.ts +2 -0
- package/lib/typescript/src/components/Feedback/AlertDialog/Alert-Dialog.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Feedback/InfoBar/InfoBar.d.ts +22 -0
- package/lib/typescript/src/components/Feedback/InfoBar/InfoBar.d.ts.map +1 -0
- package/lib/typescript/src/components/Feedback/InfoBar/InfoBar.figma.d.ts +2 -0
- package/lib/typescript/src/components/Feedback/InfoBar/InfoBar.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Feedback/ProgressCircular/Progress-circular.d.ts +47 -0
- package/lib/typescript/src/components/Feedback/ProgressCircular/Progress-circular.d.ts.map +1 -0
- package/lib/typescript/src/components/Feedback/ProgressCircular/Progress-circular.figma.d.ts +2 -0
- package/lib/typescript/src/components/Feedback/ProgressCircular/Progress-circular.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Feedback/ProgressLinear/Progress-linear.d.ts +39 -0
- package/lib/typescript/src/components/Feedback/ProgressLinear/Progress-linear.d.ts.map +1 -0
- package/lib/typescript/src/components/Feedback/ProgressLinear/Progress-linear.figma.d.ts +2 -0
- package/lib/typescript/src/components/Feedback/ProgressLinear/Progress-linear.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Feedback/Stepper/Stepper.d.ts +37 -0
- package/lib/typescript/src/components/Feedback/Stepper/Stepper.d.ts.map +1 -0
- package/lib/typescript/src/components/Feedback/Stepper/Stepper.figma.d.ts +2 -0
- package/lib/typescript/src/components/Feedback/Stepper/Stepper.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/Button/Button.d.ts +50 -0
- package/lib/typescript/src/components/Input/Button/Button.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/Button/Button.figma.d.ts +2 -0
- package/lib/typescript/src/components/Input/Button/Button.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/Checkbox/Checkbox.d.ts +35 -0
- package/lib/typescript/src/components/Input/Checkbox/Checkbox.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/Checkbox/Checkbox.figma.d.ts +2 -0
- package/lib/typescript/src/components/Input/Checkbox/Checkbox.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/RadioGroup/Radio-Group.d.ts +46 -0
- package/lib/typescript/src/components/Input/RadioGroup/Radio-Group.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/RadioGroup/Radio-Group.figma.d.ts +2 -0
- package/lib/typescript/src/components/Input/RadioGroup/Radio-Group.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/Select/Select.d.ts +68 -0
- package/lib/typescript/src/components/Input/Select/Select.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/Select/Select.figma.d.ts +2 -0
- package/lib/typescript/src/components/Input/Select/Select.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/Text/Text.d.ts +116 -0
- package/lib/typescript/src/components/Input/Text/Text.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/TextField/Textfield.d.ts +57 -0
- package/lib/typescript/src/components/Input/TextField/Textfield.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/TextField/Textfield.figma.d.ts +2 -0
- package/lib/typescript/src/components/Input/TextField/Textfield.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/Toggle/Toggle.d.ts +14 -0
- package/lib/typescript/src/components/Input/Toggle/Toggle.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/Toggle/Toggle.figma.d.ts +2 -0
- package/lib/typescript/src/components/Input/Toggle/Toggle.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/ToggleGroup/Toggle-Group.d.ts +34 -0
- package/lib/typescript/src/components/Input/ToggleGroup/Toggle-Group.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/ToggleGroup/Toggle-Group.figma.d.ts +2 -0
- package/lib/typescript/src/components/Input/ToggleGroup/Toggle-Group.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/switch/Switch.d.ts +11 -0
- package/lib/typescript/src/components/Input/switch/Switch.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/switch/Switch.figma.d.ts +2 -0
- package/lib/typescript/src/components/Input/switch/Switch.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Layout/AspectRatio/Aspect-Ratio.d.ts +12 -0
- package/lib/typescript/src/components/Layout/AspectRatio/Aspect-Ratio.d.ts.map +1 -0
- package/lib/typescript/src/components/Layout/AspectRatio/Aspect-Ratio.figma.d.ts +2 -0
- package/lib/typescript/src/components/Layout/AspectRatio/Aspect-Ratio.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Layout/Bottomsheet/Bottom-Sheet.d.ts +63 -0
- package/lib/typescript/src/components/Layout/Bottomsheet/Bottom-Sheet.d.ts.map +1 -0
- package/lib/typescript/src/components/Layout/Bottomsheet/BottomSheet.figma.d.ts +2 -0
- package/lib/typescript/src/components/Layout/Bottomsheet/BottomSheet.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Layout/PageContent/PageContent.d.ts +19 -0
- package/lib/typescript/src/components/Layout/PageContent/PageContent.d.ts.map +1 -0
- package/lib/typescript/src/components/Layout/PageContent/PageContent.figma.d.ts +2 -0
- package/lib/typescript/src/components/Layout/PageContent/PageContent.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Layout/PageLayoutFocused/PageLayoutFocused.d.ts +40 -0
- package/lib/typescript/src/components/Layout/PageLayoutFocused/PageLayoutFocused.d.ts.map +1 -0
- package/lib/typescript/src/components/Layout/PageLayoutFocused/PageLayoutFocused.figma.d.ts +2 -0
- package/lib/typescript/src/components/Layout/PageLayoutFocused/PageLayoutFocused.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Layout/PageLayoutShell/PageLayoutShell.d.ts +52 -0
- package/lib/typescript/src/components/Layout/PageLayoutShell/PageLayoutShell.d.ts.map +1 -0
- package/lib/typescript/src/components/Layout/PageLayoutShell/PageLayoutShell.figma.d.ts +2 -0
- package/lib/typescript/src/components/Layout/PageLayoutShell/PageLayoutShell.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Layout/PopoverContainer/Popover-Container.d.ts +288 -0
- package/lib/typescript/src/components/Layout/PopoverContainer/Popover-Container.d.ts.map +1 -0
- package/lib/typescript/src/components/Layout/PopoverContainer/PopoverContainer.figma.d.ts +2 -0
- package/lib/typescript/src/components/Layout/PopoverContainer/PopoverContainer.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Layout/Tabs/Tabs.d.ts +32 -0
- package/lib/typescript/src/components/Layout/Tabs/Tabs.d.ts.map +1 -0
- package/lib/typescript/src/components/Layout/Tabs/Tabs.figma.d.ts +2 -0
- package/lib/typescript/src/components/Layout/Tabs/Tabs.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Navigation/Appbar/AppBar.d.ts +29 -0
- package/lib/typescript/src/components/Navigation/Appbar/AppBar.d.ts.map +1 -0
- package/lib/typescript/src/components/Navigation/Appbar/AppBar.figma.d.ts +2 -0
- package/lib/typescript/src/components/Navigation/Appbar/AppBar.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Navigation/ContextMenu/Context-Menu.d.ts +30 -0
- package/lib/typescript/src/components/Navigation/ContextMenu/Context-Menu.d.ts.map +1 -0
- package/lib/typescript/src/components/Navigation/ContextMenu/ContextMenu.figma.d.ts +3 -0
- package/lib/typescript/src/components/Navigation/ContextMenu/ContextMenu.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Navigation/Dialog/Dialog.d.ts +24 -0
- package/lib/typescript/src/components/Navigation/Dialog/Dialog.d.ts.map +1 -0
- package/lib/typescript/src/components/Navigation/Dialog/Dialog.figma.d.ts +2 -0
- package/lib/typescript/src/components/Navigation/Dialog/Dialog.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Navigation/FloatingAction/Floating-Action.d.ts +12 -0
- package/lib/typescript/src/components/Navigation/FloatingAction/Floating-Action.d.ts.map +1 -0
- package/lib/typescript/src/components/Navigation/FloatingAction/Floating-Action.figma.d.ts +2 -0
- package/lib/typescript/src/components/Navigation/FloatingAction/Floating-Action.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Navigation/Navbar/NavBar.d.ts +40 -0
- package/lib/typescript/src/components/Navigation/Navbar/NavBar.d.ts.map +1 -0
- package/lib/typescript/src/components/Navigation/Navbar/NavBar.figma.d.ts +3 -0
- package/lib/typescript/src/components/Navigation/Navbar/NavBar.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Navigation/Popover/Popover.d.ts +19 -0
- package/lib/typescript/src/components/Navigation/Popover/Popover.d.ts.map +1 -0
- package/lib/typescript/src/components/Navigation/Popover/Popover.figma.d.ts +2 -0
- package/lib/typescript/src/components/Navigation/Popover/Popover.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/Navigation/Themetoggle/Theme-Toggle.d.ts +7 -0
- package/lib/typescript/src/components/Navigation/Themetoggle/Theme-Toggle.d.ts.map +1 -0
- package/lib/typescript/src/components/Navigation/Themetoggle/Theme-Toggle.figma.d.ts +3 -0
- package/lib/typescript/src/components/Navigation/Themetoggle/Theme-Toggle.figma.d.ts.map +1 -0
- package/lib/typescript/src/components/theme-config.d.ts +174 -0
- package/lib/typescript/src/components/theme-config.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Collapsible.d.ts +212 -0
- package/lib/typescript/src/components/ui/Collapsible.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Custom-Card.d.ts +864 -0
- package/lib/typescript/src/components/ui/Custom-Card.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Dropdown-Menu.d.ts +430 -0
- package/lib/typescript/src/components/ui/Dropdown-Menu.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Hover-Card.d.ts +214 -0
- package/lib/typescript/src/components/ui/Hover-Card.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Icon.d.ts +43 -0
- package/lib/typescript/src/components/ui/Icon.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Input.d.ts +52 -0
- package/lib/typescript/src/components/ui/Input.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Label.d.ts +105 -0
- package/lib/typescript/src/components/ui/Label.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Menubar.d.ts +142 -0
- package/lib/typescript/src/components/ui/Menubar.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Native-Only-Animated-View.d.ts +28 -0
- package/lib/typescript/src/components/ui/Native-Only-Animated-View.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/SizedBox.d.ts +79 -0
- package/lib/typescript/src/components/ui/SizedBox.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Slider.d.ts +55 -0
- package/lib/typescript/src/components/ui/Slider.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Table.d.ts +70 -0
- package/lib/typescript/src/components/ui/Table.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Toast.d.ts +55 -0
- package/lib/typescript/src/components/ui/Toast.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/index.d.ts +61 -0
- package/lib/typescript/src/components/ui/index.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +10 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/lib/ThemeProvider.d.ts +137 -0
- package/lib/typescript/src/lib/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/src/lib/cornerRadius.d.ts +112 -0
- package/lib/typescript/src/lib/cornerRadius.d.ts.map +1 -0
- package/lib/typescript/src/lib/fonts.d.ts +21 -0
- package/lib/typescript/src/lib/fonts.d.ts.map +1 -0
- package/lib/typescript/src/lib/theme.d.ts +136 -0
- package/lib/typescript/src/lib/theme.d.ts.map +1 -0
- package/lib/typescript/src/lib/utils.d.ts +111 -0
- package/lib/typescript/src/lib/utils.d.ts.map +1 -0
- package/lib/typescript/src/patterns/MonthlyCalendarPattern.d.ts +4 -0
- package/lib/typescript/src/patterns/MonthlyCalendarPattern.d.ts.map +1 -0
- package/lib/typescript/src/patterns/index.d.ts +2 -0
- package/lib/typescript/src/patterns/index.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/AlertDialogPattern/AlertDialogPattern.d.ts +27 -0
- package/lib/typescript/src/patterns/pattern-components/AlertDialogPattern/AlertDialogPattern.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/AlertDialogPattern/AlertDialogPattern.figma.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/AlertDialogPattern/AlertDialogPattern.figma.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/AlertDialogPattern/index.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/AlertDialogPattern/index.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/AlertPattern/AlertPattern.d.ts +23 -0
- package/lib/typescript/src/patterns/pattern-components/AlertPattern/AlertPattern.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/AlertPattern/AlertPattern.figma.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/AlertPattern/AlertPattern.figma.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/AlertPattern/index.d.ts +3 -0
- package/lib/typescript/src/patterns/pattern-components/AlertPattern/index.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/BottomSheetPattern/BottomSheetPattern.d.ts +22 -0
- package/lib/typescript/src/patterns/pattern-components/BottomSheetPattern/BottomSheetPattern.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/BottomSheetPattern/BottomSheetPattern.figma.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/BottomSheetPattern/BottomSheetPattern.figma.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/BottomSheetPattern/index.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/BottomSheetPattern/index.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/CalendarPattern/CalendarPattern.d.ts +37 -0
- package/lib/typescript/src/patterns/pattern-components/CalendarPattern/CalendarPattern.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/CalendarPattern/CalendarPattern.figma.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/CalendarPattern/CalendarPattern.figma.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/CalendarPattern/index.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/CalendarPattern/index.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/CardListPattern/CardListPattern.d.ts +70 -0
- package/lib/typescript/src/patterns/pattern-components/CardListPattern/CardListPattern.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/CardListPattern/CardListPattern.figma.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/CardListPattern/CardListPattern.figma.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/CardListPattern/index.d.ts +3 -0
- package/lib/typescript/src/patterns/pattern-components/CardListPattern/index.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/DashboardPattern/DashboardPattern.d.ts +45 -0
- package/lib/typescript/src/patterns/pattern-components/DashboardPattern/DashboardPattern.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/DashboardPattern/DashboardPattern.figma.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/DashboardPattern/DashboardPattern.figma.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/DashboardPattern/index.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/DashboardPattern/index.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/DataListPattern/DataListPattern.d.ts +49 -0
- package/lib/typescript/src/patterns/pattern-components/DataListPattern/DataListPattern.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/DataListPattern/DataListPattern.figma.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/DataListPattern/DataListPattern.figma.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/DataListPattern/index.d.ts +3 -0
- package/lib/typescript/src/patterns/pattern-components/DataListPattern/index.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/DialogPattern/DialogPattern.d.ts +24 -0
- package/lib/typescript/src/patterns/pattern-components/DialogPattern/DialogPattern.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/DialogPattern/DialogPattern.figma.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/DialogPattern/DialogPattern.figma.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/DialogPattern/index.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/DialogPattern/index.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/EmptyState/EmptyState.d.ts +38 -0
- package/lib/typescript/src/patterns/pattern-components/EmptyState/EmptyState.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/EmptyState/EmptyState.figma.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/EmptyState/EmptyState.figma.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/EmptyState/index.d.ts +3 -0
- package/lib/typescript/src/patterns/pattern-components/EmptyState/index.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/EntityPatternGuided/EntityPatternGuided.d.ts +35 -0
- package/lib/typescript/src/patterns/pattern-components/EntityPatternGuided/EntityPatternGuided.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/EntityPatternGuided/EntityPatternGuided.figma.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/EntityPatternGuided/EntityPatternGuided.figma.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/EntityPatternGuided/index.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/EntityPatternGuided/index.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/EntityPatternOverview/EntityPatternOverview.d.ts +42 -0
- package/lib/typescript/src/patterns/pattern-components/EntityPatternOverview/EntityPatternOverview.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/EntityPatternOverview/EntityPatternOverview.figma.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/EntityPatternOverview/EntityPatternOverview.figma.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/EntityPatternOverview/index.d.ts +3 -0
- package/lib/typescript/src/patterns/pattern-components/EntityPatternOverview/index.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/EntityPatternStructured/EntityPatternStructured.d.ts +43 -0
- package/lib/typescript/src/patterns/pattern-components/EntityPatternStructured/EntityPatternStructured.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/EntityPatternStructured/EntityPatternStructured.figma.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/EntityPatternStructured/EntityPatternStructured.figma.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/EntityPatternStructured/index.d.ts +3 -0
- package/lib/typescript/src/patterns/pattern-components/EntityPatternStructured/index.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/FormPattern/FormPattern.d.ts +42 -0
- package/lib/typescript/src/patterns/pattern-components/FormPattern/FormPattern.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/FormPattern/FormPattern.figma.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/FormPattern/FormPattern.figma.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/FormPattern/index.d.ts +3 -0
- package/lib/typescript/src/patterns/pattern-components/FormPattern/index.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/MonthlyCalendarPattern/MonthlyCalendarPattern.d.ts +41 -0
- package/lib/typescript/src/patterns/pattern-components/MonthlyCalendarPattern/MonthlyCalendarPattern.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/MonthlyCalendarPattern/MonthlyCalendarPattern.figma.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/MonthlyCalendarPattern/MonthlyCalendarPattern.figma.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/MonthlyCalendarPattern/index.d.ts +3 -0
- package/lib/typescript/src/patterns/pattern-components/MonthlyCalendarPattern/index.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/SkeletonPattern/SkeletonPattern.d.ts +42 -0
- package/lib/typescript/src/patterns/pattern-components/SkeletonPattern/SkeletonPattern.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/SkeletonPattern/SkeletonPattern.figma.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/SkeletonPattern/SkeletonPattern.figma.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/SkeletonPattern/index.d.ts +3 -0
- package/lib/typescript/src/patterns/pattern-components/SkeletonPattern/index.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/SuccessPattern/SuccessPattern.d.ts +45 -0
- package/lib/typescript/src/patterns/pattern-components/SuccessPattern/SuccessPattern.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/SuccessPattern/SuccessPattern.figma.d.ts +2 -0
- package/lib/typescript/src/patterns/pattern-components/SuccessPattern/SuccessPattern.figma.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/SuccessPattern/index.d.ts +3 -0
- package/lib/typescript/src/patterns/pattern-components/SuccessPattern/index.d.ts.map +1 -0
- package/lib/typescript/src/patterns/pattern-components/index.d.ts +16 -0
- package/lib/typescript/src/patterns/pattern-components/index.d.ts.map +1 -0
- package/lib/typescript/tailwind.config.d.ts +3 -0
- package/lib/typescript/tailwind.config.d.ts.map +1 -0
- package/package.json +8 -5
- package/src/components/DataDisplay/CalendarItem/CalendarItem.tsx +2 -2
- package/src/components/Input/Button/Button.tsx +6 -6
- package/src/components/Navigation/Popover/Popover.tsx +3 -3
- package/src/components/ui/index.ts +39 -34
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Font configuration for CampX Design System
|
|
3
|
+
*
|
|
4
|
+
* Fonts:
|
|
5
|
+
* - Poppins: Used for headings, buttons, labels, subtitles
|
|
6
|
+
* - Heebo: Used for body text, inputs, captions
|
|
7
|
+
*
|
|
8
|
+
* Weights:
|
|
9
|
+
* - 400 (Regular): Body text, labels, captions
|
|
10
|
+
* - 600 (Semi Bold): Subtitles, buttons, emphasized body
|
|
11
|
+
* - 800 (Extra Bold): Headings
|
|
12
|
+
*/
|
|
13
|
+
export declare const fonts: {
|
|
14
|
+
Poppins_400Regular: number;
|
|
15
|
+
Poppins_600SemiBold: number;
|
|
16
|
+
Poppins_800ExtraBold: number;
|
|
17
|
+
Heebo_400Regular: number;
|
|
18
|
+
Heebo_600SemiBold: number;
|
|
19
|
+
};
|
|
20
|
+
export type FontName = keyof typeof fonts;
|
|
21
|
+
//# sourceMappingURL=fonts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../../src/lib/fonts.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,KAAK;;;;;;CAMjB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,KAAK,CAAC"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { type Theme } from '@react-navigation/native';
|
|
2
|
+
/**
|
|
3
|
+
* Custom theme colors based on your Figma design tokens
|
|
4
|
+
* Using your categorized color system:
|
|
5
|
+
* 1. Surfaces - Page and card backgrounds
|
|
6
|
+
* 2. Text - All text colors with opacity variants
|
|
7
|
+
* 3. Primary - Main buttons and CTAs
|
|
8
|
+
* 4. Secondary - Secondary buttons
|
|
9
|
+
* 5. Tertiary/Accent - Highlights and selections
|
|
10
|
+
* 6. Borders - All borders and dividers
|
|
11
|
+
* 7. Highlights - Status/semantic colors
|
|
12
|
+
* 8. Brand - Brand accent colors (use sparingly)
|
|
13
|
+
*/
|
|
14
|
+
export declare const THEME: {
|
|
15
|
+
light: {
|
|
16
|
+
background: string;
|
|
17
|
+
card: string;
|
|
18
|
+
popover: string;
|
|
19
|
+
muted: string;
|
|
20
|
+
surfaceDefault: string;
|
|
21
|
+
surfaceSubtle: string;
|
|
22
|
+
foreground: string;
|
|
23
|
+
cardForeground: string;
|
|
24
|
+
popoverForeground: string;
|
|
25
|
+
mutedForeground: string;
|
|
26
|
+
primary: string;
|
|
27
|
+
primaryForeground: string;
|
|
28
|
+
brandPrimary: string;
|
|
29
|
+
brandSecondary: string;
|
|
30
|
+
secondary: string;
|
|
31
|
+
secondaryForeground: string;
|
|
32
|
+
accent: string;
|
|
33
|
+
accentForeground: string;
|
|
34
|
+
border: string;
|
|
35
|
+
input: string;
|
|
36
|
+
ring: string;
|
|
37
|
+
destructive: string;
|
|
38
|
+
destructiveForeground: string;
|
|
39
|
+
success: string;
|
|
40
|
+
info: string;
|
|
41
|
+
warning: string;
|
|
42
|
+
brand1: string;
|
|
43
|
+
brand2: string;
|
|
44
|
+
brand3: string;
|
|
45
|
+
chart1: string;
|
|
46
|
+
chart2: string;
|
|
47
|
+
chart3: string;
|
|
48
|
+
chart4: string;
|
|
49
|
+
chart5: string;
|
|
50
|
+
radius: string;
|
|
51
|
+
};
|
|
52
|
+
dark: {
|
|
53
|
+
background: string;
|
|
54
|
+
card: string;
|
|
55
|
+
popover: string;
|
|
56
|
+
muted: string;
|
|
57
|
+
surfaceDefault: string;
|
|
58
|
+
surfaceSubtle: string;
|
|
59
|
+
foreground: string;
|
|
60
|
+
cardForeground: string;
|
|
61
|
+
popoverForeground: string;
|
|
62
|
+
mutedForeground: string;
|
|
63
|
+
primary: string;
|
|
64
|
+
primaryForeground: string;
|
|
65
|
+
brandPrimary: string;
|
|
66
|
+
brandSecondary: string;
|
|
67
|
+
secondary: string;
|
|
68
|
+
secondaryForeground: string;
|
|
69
|
+
accent: string;
|
|
70
|
+
accentForeground: string;
|
|
71
|
+
border: string;
|
|
72
|
+
input: string;
|
|
73
|
+
ring: string;
|
|
74
|
+
destructive: string;
|
|
75
|
+
destructiveForeground: string;
|
|
76
|
+
success: string;
|
|
77
|
+
info: string;
|
|
78
|
+
warning: string;
|
|
79
|
+
brand1: string;
|
|
80
|
+
brand2: string;
|
|
81
|
+
brand3: string;
|
|
82
|
+
chart1: string;
|
|
83
|
+
chart2: string;
|
|
84
|
+
chart3: string;
|
|
85
|
+
chart4: string;
|
|
86
|
+
chart5: string;
|
|
87
|
+
radius: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* React Navigation theme configuration
|
|
92
|
+
* Maps our custom theme to React Navigation's theme structure
|
|
93
|
+
*/
|
|
94
|
+
export declare const NAV_THEME: Record<'light' | 'dark', Theme>;
|
|
95
|
+
/**
|
|
96
|
+
* Hook to get theme colors based on current color scheme
|
|
97
|
+
* Returns the appropriate light or dark theme colors
|
|
98
|
+
*/
|
|
99
|
+
export declare function useThemeColors(): {
|
|
100
|
+
background: string;
|
|
101
|
+
card: string;
|
|
102
|
+
popover: string;
|
|
103
|
+
muted: string;
|
|
104
|
+
surfaceDefault: string;
|
|
105
|
+
surfaceSubtle: string;
|
|
106
|
+
foreground: string;
|
|
107
|
+
cardForeground: string;
|
|
108
|
+
popoverForeground: string;
|
|
109
|
+
mutedForeground: string;
|
|
110
|
+
primary: string;
|
|
111
|
+
primaryForeground: string;
|
|
112
|
+
brandPrimary: string;
|
|
113
|
+
brandSecondary: string;
|
|
114
|
+
secondary: string;
|
|
115
|
+
secondaryForeground: string;
|
|
116
|
+
accent: string;
|
|
117
|
+
accentForeground: string;
|
|
118
|
+
border: string;
|
|
119
|
+
input: string;
|
|
120
|
+
ring: string;
|
|
121
|
+
destructive: string;
|
|
122
|
+
destructiveForeground: string;
|
|
123
|
+
success: string;
|
|
124
|
+
info: string;
|
|
125
|
+
warning: string;
|
|
126
|
+
brand1: string;
|
|
127
|
+
brand2: string;
|
|
128
|
+
brand3: string;
|
|
129
|
+
chart1: string;
|
|
130
|
+
chart2: string;
|
|
131
|
+
chart3: string;
|
|
132
|
+
chart4: string;
|
|
133
|
+
chart5: string;
|
|
134
|
+
radius: string;
|
|
135
|
+
};
|
|
136
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/lib/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAG/E;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqHjB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,OAAO,GAAG,MAAM,EAAE,KAAK,CAyBrD,CAAC;AAEF;;;GAGG;AACH,wBAAgB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG7B"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { type ClassValue } from 'clsx';
|
|
2
|
+
/**
|
|
3
|
+
* Utility function to merge Tailwind CSS classes with proper precedence
|
|
4
|
+
*
|
|
5
|
+
* Combines clsx (for conditional classes) and tailwind-merge (for deduplication)
|
|
6
|
+
* to create a single, optimized class string. Later classes override earlier ones.
|
|
7
|
+
*
|
|
8
|
+
* @param {...ClassValue[]} inputs - Class values to merge (strings, objects, arrays)
|
|
9
|
+
* @returns {string} Merged and deduplicated class string
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* // Basic usage
|
|
14
|
+
* cn('px-2 py-1', 'px-4') // => 'py-1 px-4'
|
|
15
|
+
*
|
|
16
|
+
* // With conditionals
|
|
17
|
+
* cn('text-base', isDark && 'text-white', 'font-bold')
|
|
18
|
+
* // => 'text-base text-white font-bold' (if isDark is true)
|
|
19
|
+
*
|
|
20
|
+
* // With objects
|
|
21
|
+
* cn({
|
|
22
|
+
* 'bg-primary': isPrimary,
|
|
23
|
+
* 'bg-secondary': !isPrimary
|
|
24
|
+
* })
|
|
25
|
+
*
|
|
26
|
+
* // Common component pattern
|
|
27
|
+
* cn('base-classes', variant === 'large' && 'large-classes', className)
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare function cn(...inputs: ClassValue[]): string;
|
|
31
|
+
/**
|
|
32
|
+
* Applies dark mode classes with optional runtime control
|
|
33
|
+
*
|
|
34
|
+
* Provides three modes of operation:
|
|
35
|
+
* 1. Static mode (darkMode undefined): Returns classes with `dark:` prefix for automatic switching
|
|
36
|
+
* 2. Dark mode (darkMode true): Strips `dark:` prefix and returns only dark classes
|
|
37
|
+
* 3. Light mode (darkMode false): Returns only base classes
|
|
38
|
+
*
|
|
39
|
+
* This function is useful when you need to programmatically control dark mode
|
|
40
|
+
* instead of relying on Tailwind's automatic dark mode detection.
|
|
41
|
+
*
|
|
42
|
+
* @param {string} baseClasses - Classes to apply in light mode
|
|
43
|
+
* @param {string} darkClasses - Classes to apply in dark mode (with or without `dark:` prefix)
|
|
44
|
+
* @param {boolean} [darkMode] - Optional dark mode override (true/false/undefined)
|
|
45
|
+
* @returns {string} Merged class string based on mode
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```tsx
|
|
49
|
+
* // Static mode - use Tailwind's automatic detection
|
|
50
|
+
* cnWithDark('bg-white', 'dark:bg-black')
|
|
51
|
+
* // => 'bg-white dark:bg-black'
|
|
52
|
+
*
|
|
53
|
+
* // Programmatic dark mode
|
|
54
|
+
* const { isDark } = useTheme();
|
|
55
|
+
* cnWithDark('bg-white', 'dark:bg-black', isDark)
|
|
56
|
+
* // => 'bg-black' (if isDark is true)
|
|
57
|
+
* // => 'bg-white' (if isDark is false)
|
|
58
|
+
*
|
|
59
|
+
* // With multiple classes
|
|
60
|
+
* cnWithDark(
|
|
61
|
+
* 'bg-white text-black border-gray-200',
|
|
62
|
+
* 'dark:bg-black dark:text-white dark:border-gray-800',
|
|
63
|
+
* isDark
|
|
64
|
+
* )
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @see {@link cn} for basic class merging
|
|
68
|
+
* @see {@link useTheme} for accessing theme state
|
|
69
|
+
*/
|
|
70
|
+
export declare function cnWithDark(baseClasses: string, darkClasses: string, darkMode?: boolean): string;
|
|
71
|
+
/**
|
|
72
|
+
* Get color value based on theme mode
|
|
73
|
+
*
|
|
74
|
+
* Simple utility to select between light and dark color values based on the
|
|
75
|
+
* current theme. Primarily used for native platforms where Tailwind CSS
|
|
76
|
+
* classes don't work with inline styles.
|
|
77
|
+
*
|
|
78
|
+
* @param {string} lightColor - Color value for light mode (CSS color, HSL, RGB, hex)
|
|
79
|
+
* @param {string} darkColor - Color value for dark mode (CSS color, HSL, RGB, hex)
|
|
80
|
+
* @param {boolean} [darkMode] - Whether dark mode is active (defaults to light if undefined)
|
|
81
|
+
* @returns {string} The appropriate color value for the current mode
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* ```tsx
|
|
85
|
+
* import { useTheme } from './ThemeProvider';
|
|
86
|
+
*
|
|
87
|
+
* function MyComponent() {
|
|
88
|
+
* const { isDark } = useTheme();
|
|
89
|
+
*
|
|
90
|
+
* // Get color for inline styles
|
|
91
|
+
* const textColor = getThemeColor('#000000', '#ffffff', isDark);
|
|
92
|
+
* const bgColor = getThemeColor('hsl(0, 0%, 100%)', 'hsl(0, 0%, 10%)', isDark);
|
|
93
|
+
*
|
|
94
|
+
* return (
|
|
95
|
+
* <View style={{ backgroundColor: bgColor }}>
|
|
96
|
+
* <NativeText style={{ color: textColor }}>
|
|
97
|
+
* Theme-aware text
|
|
98
|
+
* </NativeText>
|
|
99
|
+
* </View>
|
|
100
|
+
* );
|
|
101
|
+
* }
|
|
102
|
+
*
|
|
103
|
+
* // Without theme context (defaults to light)
|
|
104
|
+
* const color = getThemeColor('#000', '#fff'); // => '#000'
|
|
105
|
+
* ```
|
|
106
|
+
*
|
|
107
|
+
* @see {@link useTheme} for accessing theme state
|
|
108
|
+
* @see {@link getThemeColorValue} from theme-config for more advanced usage
|
|
109
|
+
*/
|
|
110
|
+
export declare function getThemeColor(lightColor: string, darkColor: string, darkMode?: boolean): string;
|
|
111
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAG7C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,UAAU,CACxB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,QAAQ,CAAC,EAAE,OAAO,GACjB,MAAM,CAiBR;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,aAAa,CAC3B,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,QAAQ,CAAC,EAAE,OAAO,GACjB,MAAM,CAKR"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MonthlyCalendarPattern.d.ts","sourceRoot":"","sources":["../../../../src/patterns/MonthlyCalendarPattern.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA2W/B,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAsC1C,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/patterns/index.ts"],"names":[],"mappings":"AACA,cAAc,sBAAsB,CAAC"}
|
package/lib/typescript/src/patterns/pattern-components/AlertDialogPattern/AlertDialogPattern.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type AlertDialogProps } from '../../../components/Feedback/AlertDialog/Alert-Dialog';
|
|
2
|
+
export interface AlertDialogPatternProps {
|
|
3
|
+
/** Alert dialog title */
|
|
4
|
+
title?: string;
|
|
5
|
+
/** Alert dialog description */
|
|
6
|
+
description?: string;
|
|
7
|
+
/** Intent/variant of the alert (default or destructive) */
|
|
8
|
+
intent?: AlertDialogProps['intent'];
|
|
9
|
+
/** Whether to show the description text */
|
|
10
|
+
showDescription?: boolean;
|
|
11
|
+
/** Whether to show the secondary (Cancel) action button */
|
|
12
|
+
showSecondaryAction?: boolean;
|
|
13
|
+
/** Callback when confirm button is pressed */
|
|
14
|
+
onConfirm?: () => void;
|
|
15
|
+
/** Callback when cancel button is pressed */
|
|
16
|
+
onCancel?: () => void;
|
|
17
|
+
/** Primary action button text */
|
|
18
|
+
confirmText?: string;
|
|
19
|
+
/** Secondary action button text */
|
|
20
|
+
cancelText?: string;
|
|
21
|
+
}
|
|
22
|
+
export declare function AlertDialogPattern({ title, description, intent, showDescription, showSecondaryAction, onConfirm: _onConfirm, onCancel: _onCancel, confirmText: _confirmText, cancelText: _cancelText, }: AlertDialogPatternProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare namespace AlertDialogPattern {
|
|
24
|
+
var displayName: string;
|
|
25
|
+
}
|
|
26
|
+
export default AlertDialogPattern;
|
|
27
|
+
//# sourceMappingURL=AlertDialogPattern.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertDialogPattern.d.ts","sourceRoot":"","sources":["../../../../../../src/patterns/pattern-components/AlertDialogPattern/AlertDialogPattern.tsx"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,uDAAuD,CAAC;AAQ/D,MAAM,WAAW,uBAAuB;IACtC,yBAAyB;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,2DAA2D;IAC3D,MAAM,CAAC,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAEpC,2CAA2C;IAC3C,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B,2DAA2D;IAC3D,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IAEvB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAEtB,iCAAiC;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,mCAAmC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAMD,wBAAgB,kBAAkB,CAAC,EACjC,KAAkC,EAClC,WAA8H,EAC9H,MAAkB,EAClB,eAAsB,EACtB,mBAA0B,EAC1B,SAAS,EAAE,UAAU,EACrB,QAAQ,EAAE,SAAS,EACnB,WAAW,EAAE,YAAwB,EACrC,UAAU,EAAE,WAAsB,GACnC,EAAE,uBAAuB,2CAYzB;yBAtBe,kBAAkB;;;AA0BlC,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertDialogPattern.figma.d.ts","sourceRoot":"","sources":["../../../../../../src/patterns/pattern-components/AlertDialogPattern/AlertDialogPattern.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/patterns/pattern-components/AlertDialogPattern/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,KAAK,uBAAuB,GAC7B,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type AlertProps } from '../../../components/Feedback/Alert/Alert';
|
|
2
|
+
export interface AlertPatternProps {
|
|
3
|
+
/** Alert title/message */
|
|
4
|
+
title?: string;
|
|
5
|
+
/** Alert description text */
|
|
6
|
+
description?: string;
|
|
7
|
+
/** Alert variant */
|
|
8
|
+
variant?: AlertProps['variant'];
|
|
9
|
+
/** Whether to show the close button */
|
|
10
|
+
showClose?: boolean;
|
|
11
|
+
/** Whether the alert is visible */
|
|
12
|
+
visible?: boolean;
|
|
13
|
+
/** Callback when close button is pressed */
|
|
14
|
+
onClose?: () => void;
|
|
15
|
+
/** Auto-dismiss duration in milliseconds (0 to disable) */
|
|
16
|
+
autoDismiss?: number;
|
|
17
|
+
}
|
|
18
|
+
export declare function AlertPattern({ title, description, variant, showClose, visible, onClose, autoDismiss, }: AlertPatternProps): import("react/jsx-runtime").JSX.Element | null;
|
|
19
|
+
export declare namespace AlertPattern {
|
|
20
|
+
var displayName: string;
|
|
21
|
+
}
|
|
22
|
+
export default AlertPattern;
|
|
23
|
+
//# sourceMappingURL=AlertPattern.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertPattern.d.ts","sourceRoot":"","sources":["../../../../../../src/patterns/pattern-components/AlertPattern/AlertPattern.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEL,KAAK,UAAU,EAChB,MAAM,0CAA0C,CAAC;AAQlD,MAAM,WAAW,iBAAiB;IAChC,0BAA0B;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,6BAA6B;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,oBAAoB;IACpB,OAAO,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;IAEhC,uCAAuC;IACvC,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,mCAAmC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,4CAA4C;IAC5C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,2DAA2D;IAC3D,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAMD,wBAAgB,YAAY,CAAC,EAC3B,KAAqC,EACrC,WAAwE,EACxE,OAAmB,EACnB,SAAgB,EAChB,OAAc,EACd,OAAO,EACP,WAAe,GAChB,EAAE,iBAAiB,kDAoGnB;yBA5Ge,YAAY;;;AAgH5B,eAAe,YAAY,CAAC"}
|
package/lib/typescript/src/patterns/pattern-components/AlertPattern/AlertPattern.figma.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertPattern.figma.d.ts","sourceRoot":"","sources":["../../../../../../src/patterns/pattern-components/AlertPattern/AlertPattern.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/patterns/pattern-components/AlertPattern/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
|
package/lib/typescript/src/patterns/pattern-components/BottomSheetPattern/BottomSheetPattern.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface BottomSheetPatternProps {
|
|
2
|
+
/** Bottom sheet title */
|
|
3
|
+
titleText?: string;
|
|
4
|
+
/** Bottom sheet description */
|
|
5
|
+
descriptionText?: string;
|
|
6
|
+
/** Whether to show header */
|
|
7
|
+
showHeader?: boolean;
|
|
8
|
+
/** Whether to show description */
|
|
9
|
+
showDescription?: boolean;
|
|
10
|
+
/** Whether to show footer */
|
|
11
|
+
showFooter?: boolean;
|
|
12
|
+
/** Whether dismissable */
|
|
13
|
+
dismissable?: boolean;
|
|
14
|
+
/** Content type for sheet body */
|
|
15
|
+
sheetContentType?: 'placeholder' | 'form' | 'text';
|
|
16
|
+
}
|
|
17
|
+
export declare function BottomSheetPattern({ titleText, descriptionText, showHeader, showDescription, showFooter, dismissable, sheetContentType, }: BottomSheetPatternProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare namespace BottomSheetPattern {
|
|
19
|
+
var displayName: string;
|
|
20
|
+
}
|
|
21
|
+
export default BottomSheetPattern;
|
|
22
|
+
//# sourceMappingURL=BottomSheetPattern.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BottomSheetPattern.d.ts","sourceRoot":"","sources":["../../../../../../src/patterns/pattern-components/BottomSheetPattern/BottomSheetPattern.tsx"],"names":[],"mappings":"AAYA,MAAM,WAAW,uBAAuB;IACtC,yBAAyB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,+BAA+B;IAC/B,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,6BAA6B;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,kCAAkC;IAClC,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B,6BAA6B;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,0BAA0B;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,kCAAkC;IAClC,gBAAgB,CAAC,EAAE,aAAa,GAAG,MAAM,GAAG,MAAM,CAAC;CACpD;AAMD,wBAAgB,kBAAkB,CAAC,EACjC,SAAgC,EAChC,eAA4C,EAC5C,UAAiB,EACjB,eAAsB,EACtB,UAAiB,EACjB,WAAkB,EAClB,gBAAgC,GACjC,EAAE,uBAAuB,2CAczB;yBAtBe,kBAAkB;;;AA0BlC,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BottomSheetPattern.figma.d.ts","sourceRoot":"","sources":["../../../../../../src/patterns/pattern-components/BottomSheetPattern/BottomSheetPattern.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/patterns/pattern-components/BottomSheetPattern/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
import { type CalendarItemProps } from '../../../components/DataDisplay/CalendarItem/CalendarItem';
|
|
3
|
+
/**
|
|
4
|
+
* Calendar Pattern Component
|
|
5
|
+
*
|
|
6
|
+
* A complete calendar daily schedule pattern with date selector and event list.
|
|
7
|
+
* Displays calendar events organized by date with interactive date selection.
|
|
8
|
+
*/
|
|
9
|
+
export interface DateItem {
|
|
10
|
+
day: string;
|
|
11
|
+
date: number;
|
|
12
|
+
isActive?: boolean;
|
|
13
|
+
isToday?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface CalendarEventItem extends Omit<CalendarItemProps, 'time'> {
|
|
16
|
+
time: string;
|
|
17
|
+
}
|
|
18
|
+
export interface CalendarPatternProps {
|
|
19
|
+
/** Array of dates to display in the selector */
|
|
20
|
+
dates?: DateItem[];
|
|
21
|
+
/** Currently selected date */
|
|
22
|
+
selectedDate?: number;
|
|
23
|
+
/** Callback when date is selected */
|
|
24
|
+
onDateSelect?: (date: number) => void;
|
|
25
|
+
/** Array of calendar events to display */
|
|
26
|
+
events?: CalendarEventItem[];
|
|
27
|
+
/** Custom style override */
|
|
28
|
+
style?: StyleProp<ViewStyle>;
|
|
29
|
+
/** Test ID for testing */
|
|
30
|
+
testID?: string;
|
|
31
|
+
}
|
|
32
|
+
export declare function CalendarPattern({ dates, selectedDate: _selectedDate, onDateSelect, events, style, testID, }: CalendarPatternProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export declare namespace CalendarPattern {
|
|
34
|
+
var displayName: string;
|
|
35
|
+
}
|
|
36
|
+
export default CalendarPattern;
|
|
37
|
+
//# sourceMappingURL=CalendarPattern.d.ts.map
|
package/lib/typescript/src/patterns/pattern-components/CalendarPattern/CalendarPattern.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarPattern.d.ts","sourceRoot":"","sources":["../../../../../../src/patterns/pattern-components/CalendarPattern/CalendarPattern.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGhF,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,2DAA2D,CAAC;AAgBnE;;;;;GAKG;AAEH,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACxE,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,gDAAgD;IAChD,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IACnB,8BAA8B;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qCAAqC;IACrC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,0CAA0C;IAC1C,MAAM,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC7B,4BAA4B;IAC5B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,0BAA0B;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AA6DD,wBAAgB,eAAe,CAAC,EAC9B,KAAqB,EACrB,YAAY,EAAE,aAAkB,EAChC,YAAY,EACZ,MAAuB,EACvB,KAAK,EACL,MAAM,GACP,EAAE,oBAAoB,2CAyEtB;yBAhFe,eAAe;;;AAoF/B,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarPattern.figma.d.ts","sourceRoot":"","sources":["../../../../../../src/patterns/pattern-components/CalendarPattern/CalendarPattern.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/patterns/pattern-components/CalendarPattern/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { type ChipItem } from '../../../components/DataDisplay/ChipsRow/ChipsRow';
|
|
2
|
+
import { type BannerItem } from '../../../components/DataDisplay/BannerRow/BannerRow';
|
|
3
|
+
import { type CardProps } from '../../../components/DataDisplay/Card/Card';
|
|
4
|
+
export interface CardItem {
|
|
5
|
+
id: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
subtitle?: string;
|
|
8
|
+
body?: string;
|
|
9
|
+
badge1Text?: string;
|
|
10
|
+
badge2Text?: string;
|
|
11
|
+
primaryActionText?: string;
|
|
12
|
+
secondaryActionText?: string;
|
|
13
|
+
showMedia?: boolean;
|
|
14
|
+
showSubtitle?: boolean;
|
|
15
|
+
showBadges?: boolean;
|
|
16
|
+
showFooterActions?: boolean;
|
|
17
|
+
showLeading?: boolean;
|
|
18
|
+
showOverflowMenu?: boolean;
|
|
19
|
+
onPrimaryActionPress?: () => void;
|
|
20
|
+
onSecondaryActionPress?: () => void;
|
|
21
|
+
onOverflowPress?: () => void;
|
|
22
|
+
}
|
|
23
|
+
export interface CardListPatternProps {
|
|
24
|
+
/** Whether to show the chips row */
|
|
25
|
+
showChips?: boolean;
|
|
26
|
+
/** Whether to show the banner row */
|
|
27
|
+
showBanners?: boolean;
|
|
28
|
+
/** Chips data for ChipsRow */
|
|
29
|
+
chips?: ChipItem[];
|
|
30
|
+
/** Banners data for BannerRow */
|
|
31
|
+
banners?: BannerItem[];
|
|
32
|
+
/** Data for CardList */
|
|
33
|
+
data: CardItem[];
|
|
34
|
+
/** Card density variant */
|
|
35
|
+
cardDensity?: CardProps['density'];
|
|
36
|
+
/** Card tone variant */
|
|
37
|
+
cardTone?: CardProps['tone'];
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* CardListPattern Component
|
|
41
|
+
*
|
|
42
|
+
* A pattern component that composes BannerRow, ChipsRow, and a list of Cards.
|
|
43
|
+
* BannerRow and ChipsRow visibility is controlled by boolean props.
|
|
44
|
+
*
|
|
45
|
+
* Order:
|
|
46
|
+
* 1. ChipsRow (optional)
|
|
47
|
+
* 2. BannerRow (optional)
|
|
48
|
+
* 3. Card list (always shown)
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```tsx
|
|
52
|
+
* <CardListPattern
|
|
53
|
+
* showBanners={true}
|
|
54
|
+
* showChips={true}
|
|
55
|
+
* banners={[{ id: '1' }, { id: '2' }]}
|
|
56
|
+
* chips={[
|
|
57
|
+
* { id: '1', label: 'Chip 1' },
|
|
58
|
+
* { id: '2', label: 'Chip 2' },
|
|
59
|
+
* ]}
|
|
60
|
+
* data={[
|
|
61
|
+
* { id: '1', title: 'Card Title', subtitle: 'Subtitle', body: 'Card body content' },
|
|
62
|
+
* ]}
|
|
63
|
+
* />
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
export declare const CardListPattern: {
|
|
67
|
+
({ showChips, showBanners, chips, banners, data, cardDensity, cardTone, }: CardListPatternProps): import("react/jsx-runtime").JSX.Element;
|
|
68
|
+
displayName: string;
|
|
69
|
+
};
|
|
70
|
+
//# sourceMappingURL=CardListPattern.d.ts.map
|
package/lib/typescript/src/patterns/pattern-components/CardListPattern/CardListPattern.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardListPattern.d.ts","sourceRoot":"","sources":["../../../../../../src/patterns/pattern-components/CardListPattern/CardListPattern.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,QAAQ,EACd,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAEL,KAAK,UAAU,EAChB,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,2CAA2C,CAAC;AAMnD,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,sBAAsB,CAAC,EAAE,MAAM,IAAI,CAAC;IACpC,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,oBAAoB;IACnC,oCAAoC;IACpC,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,qCAAqC;IACrC,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,8BAA8B;IAC9B,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IAEnB,iCAAiC;IACjC,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;IAEvB,wBAAwB;IACxB,IAAI,EAAE,QAAQ,EAAE,CAAC;IAEjB,2BAA2B;IAC3B,WAAW,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAEnC,wBAAwB;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CAC9B;AAMD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,eAAe;+EAQzB,oBAAoB;;CAmCtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardListPattern.figma.d.ts","sourceRoot":"","sources":["../../../../../../src/patterns/pattern-components/CardListPattern/CardListPattern.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/patterns/pattern-components/CardListPattern/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export interface DashboardPatternProps {
|
|
2
|
+
showDataCardsSection?: boolean;
|
|
3
|
+
dataCardsSectionLabel?: string;
|
|
4
|
+
dataCards?: Array<{
|
|
5
|
+
title?: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
}>;
|
|
8
|
+
showBarChartSection?: boolean;
|
|
9
|
+
barChartSectionLabel?: string;
|
|
10
|
+
barChartTitle?: string;
|
|
11
|
+
barChartSubtitle?: string;
|
|
12
|
+
barChartTrend?: string;
|
|
13
|
+
barChartTrendDescription?: string;
|
|
14
|
+
showLineChartSection?: boolean;
|
|
15
|
+
lineChartSectionLabel?: string;
|
|
16
|
+
lineChartTitle?: string;
|
|
17
|
+
lineChartSubtitle?: string;
|
|
18
|
+
lineChartTrend?: string;
|
|
19
|
+
lineChartTrendDescription?: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* DashboardPattern Component
|
|
23
|
+
*
|
|
24
|
+
* A comprehensive dashboard layout pattern that combines multiple data visualization
|
|
25
|
+
* components to create a cohesive analytics dashboard.
|
|
26
|
+
*
|
|
27
|
+
* Layout:
|
|
28
|
+
* 1. Data Cards grid (2x2) - Key metrics
|
|
29
|
+
* 2. Bar Chart section - Categorical data comparison
|
|
30
|
+
* 3. Line Chart section - Time series trends
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```tsx
|
|
34
|
+
* <DashboardPattern
|
|
35
|
+
* showDataCardsSection={true}
|
|
36
|
+
* showBarChartSection={true}
|
|
37
|
+
* showLineChartSection={true}
|
|
38
|
+
* />
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare const DashboardPattern: {
|
|
42
|
+
({ showDataCardsSection, dataCardsSectionLabel, dataCards, showBarChartSection, barChartSectionLabel, barChartTitle, barChartSubtitle, barChartTrend, barChartTrendDescription, showLineChartSection, lineChartSectionLabel, lineChartTitle, lineChartSubtitle, lineChartTrend, lineChartTrendDescription, }: DashboardPatternProps): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
displayName: string;
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=DashboardPattern.d.ts.map
|
package/lib/typescript/src/patterns/pattern-components/DashboardPattern/DashboardPattern.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashboardPattern.d.ts","sourceRoot":"","sources":["../../../../../../src/patterns/pattern-components/DashboardPattern/DashboardPattern.tsx"],"names":[],"mappings":"AAQA,MAAM,WAAW,qBAAqB;IAEpC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,SAAS,CAAC,EAAE,KAAK,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC,CAAC;IAGH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAGlC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACpC;AAMD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,gBAAgB;kTA0B1B,qBAAqB;;CAgNvB,CAAC"}
|