@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,219 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { SlottableViewProps } from '@rn-primitives/types';
|
|
3
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
4
|
+
import type { LucideIcon } from 'lucide-react-native';
|
|
5
|
+
/**
|
|
6
|
+
* Badge container style variants
|
|
7
|
+
*
|
|
8
|
+
* @variant default - Primary badge with solid background
|
|
9
|
+
* @variant secondary - Secondary badge with muted background
|
|
10
|
+
* @variant destructive - Destructive badge with danger/error styling
|
|
11
|
+
* @variant success - Success badge with positive/confirmation styling
|
|
12
|
+
* @variant warning - Warning badge with caution styling
|
|
13
|
+
* @variant outline - Badge with border and transparent background
|
|
14
|
+
*
|
|
15
|
+
* @size sm - Small badge with compact padding and text
|
|
16
|
+
* @size md - Default badge size
|
|
17
|
+
*/
|
|
18
|
+
declare const badgeVariants: (props?: ({
|
|
19
|
+
variant?: "secondary" | "success" | "warning" | "destructive" | "default" | "outline" | null | undefined;
|
|
20
|
+
size?: "md" | "sm" | null | undefined;
|
|
21
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
22
|
+
/**
|
|
23
|
+
* Badge text style variants for matching text colors with badge variants
|
|
24
|
+
* Applied through TextClassContext to child Text components
|
|
25
|
+
*
|
|
26
|
+
* Variants match badgeVariants to ensure proper contrast
|
|
27
|
+
* @see badgeVariants
|
|
28
|
+
*/
|
|
29
|
+
declare const badgeTextVariants: (props?: ({
|
|
30
|
+
variant?: "secondary" | "success" | "warning" | "destructive" | "default" | "outline" | null | undefined;
|
|
31
|
+
size?: "md" | "sm" | null | undefined;
|
|
32
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
33
|
+
/**
|
|
34
|
+
* Props for Badge component
|
|
35
|
+
*
|
|
36
|
+
* @extends SlottableViewProps - Includes all View props plus asChild for slot composition
|
|
37
|
+
* @extends VariantProps - Includes variant and size styling options from badgeVariants
|
|
38
|
+
*
|
|
39
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
40
|
+
* @property {'default' | 'secondary' | 'destructive' | 'success' | 'warning' | 'outline'} [variant='default']
|
|
41
|
+
* - Badge style variant
|
|
42
|
+
* @property {'sm' | 'md'} [size='md'] - Badge size
|
|
43
|
+
* @property {LucideIcon} [leftIcon] - Optional icon displayed before badge content
|
|
44
|
+
* @property {LucideIcon} [rightIcon] - Optional icon displayed after badge content
|
|
45
|
+
* @property {boolean} [showRightIcon=false] - Controls visibility of rightIcon
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```tsx
|
|
49
|
+
* <Badge variant="success" size="sm">
|
|
50
|
+
* <Text>Active</Text>
|
|
51
|
+
* </Badge>
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
type BadgeProps = SlottableViewProps & VariantProps<typeof badgeVariants> & {
|
|
55
|
+
asChild?: boolean;
|
|
56
|
+
leftIcon?: LucideIcon;
|
|
57
|
+
rightIcon?: LucideIcon;
|
|
58
|
+
showRightIcon?: boolean;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* A compact badge component for displaying status, labels, or counts
|
|
62
|
+
*
|
|
63
|
+
* Small, pill-shaped component for highlighting information. Supports multiple
|
|
64
|
+
* variants and sizes, optional icons, and automatically styles child Text
|
|
65
|
+
* components via TextClassContext.
|
|
66
|
+
*
|
|
67
|
+
* @component
|
|
68
|
+
* @example
|
|
69
|
+
* ```tsx
|
|
70
|
+
* // Success badge with icon
|
|
71
|
+
* <Badge variant="success" leftIcon={Check}>
|
|
72
|
+
* <Text>Verified</Text>
|
|
73
|
+
* </Badge>
|
|
74
|
+
*
|
|
75
|
+
* // Warning badge with right icon
|
|
76
|
+
* <Badge variant="warning" rightIcon={X} showRightIcon>
|
|
77
|
+
* <Text>Pending</Text>
|
|
78
|
+
* </Badge>
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
declare const Badge: React.ForwardRefExoticComponent<Omit<Omit<Readonly<Omit<Readonly<{
|
|
82
|
+
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
|
|
83
|
+
onAccessibilityTap?: (() => unknown) | undefined;
|
|
84
|
+
onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
|
|
85
|
+
onMagicTap?: (() => unknown) | undefined;
|
|
86
|
+
onAccessibilityEscape?: (() => unknown) | undefined;
|
|
87
|
+
}>, "pointerEvents" | "style" | "children" | "id" | "nativeID" | "onResponderGrant" | "onResponderMove" | "onResponderRelease" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "role" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onClick" | "onMoveShouldSetResponderCapture" | "onResponderReject" | "onResponderStart" | "onResponderEnd" | "onStartShouldSetResponderCapture" | "onMouseEnter" | "onMouseLeave" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
88
|
+
onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
89
|
+
onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
90
|
+
onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
|
|
91
|
+
onResponderMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
92
|
+
onResponderReject?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
93
|
+
onResponderRelease?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
94
|
+
onResponderStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
95
|
+
onResponderEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
96
|
+
onResponderTerminate?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
97
|
+
onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
98
|
+
onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
99
|
+
onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
100
|
+
}>, "pointerEvents" | "style" | "children" | "id" | "nativeID" | "role" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
101
|
+
onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
102
|
+
onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
103
|
+
}>, "pointerEvents" | "style" | "children" | "id" | "nativeID" | "role" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onClick" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
104
|
+
onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
105
|
+
onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
106
|
+
onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
107
|
+
onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
108
|
+
onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
109
|
+
onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
110
|
+
onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
111
|
+
onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
112
|
+
onPointerCancel?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
113
|
+
onPointerCancelCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
114
|
+
onPointerDown?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
115
|
+
onPointerDownCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
116
|
+
onPointerUp?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
117
|
+
onPointerUpCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
118
|
+
onPointerOver?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
119
|
+
onPointerOverCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
120
|
+
onPointerOut?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
121
|
+
onPointerOutCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
122
|
+
onGotPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
123
|
+
onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
124
|
+
onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
125
|
+
onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
126
|
+
}>, "pointerEvents" | "style" | "children" | "id" | "nativeID" | "role" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "onClick" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
127
|
+
onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
128
|
+
onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
129
|
+
onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
130
|
+
onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
131
|
+
}>, "pointerEvents" | "style" | "children" | "id" | "nativeID" | "role" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "onClick" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
132
|
+
onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
133
|
+
onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
134
|
+
onTouchEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
135
|
+
onTouchEndCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
136
|
+
onTouchMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
137
|
+
onTouchMoveCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
138
|
+
onTouchStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
139
|
+
onTouchStartCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
140
|
+
}>, "pointerEvents" | "style" | "children" | "id" | "nativeID" | "role" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "onClick" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
141
|
+
nativeBackgroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
142
|
+
nativeForegroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
143
|
+
renderToHardwareTextureAndroid?: boolean | undefined;
|
|
144
|
+
hasTVPreferredFocus?: boolean | undefined;
|
|
145
|
+
nextFocusDown?: number | undefined;
|
|
146
|
+
nextFocusForward?: number | undefined;
|
|
147
|
+
nextFocusLeft?: number | undefined;
|
|
148
|
+
nextFocusRight?: number | undefined;
|
|
149
|
+
nextFocusUp?: number | undefined;
|
|
150
|
+
focusable?: boolean | undefined;
|
|
151
|
+
tabIndex?: 0 | -1;
|
|
152
|
+
onClick?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
153
|
+
}>, "pointerEvents" | "style" | "children" | "id" | "nativeID" | "role" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
154
|
+
shouldRasterizeIOS?: boolean | undefined;
|
|
155
|
+
}>, "pointerEvents" | "style" | "children" | "id" | "nativeID" | "role" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<Omit<Readonly<{
|
|
156
|
+
accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
|
|
157
|
+
"aria-labelledby"?: string | undefined;
|
|
158
|
+
accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
|
|
159
|
+
"aria-live"?: ("polite" | "assertive" | "off") | undefined;
|
|
160
|
+
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
|
|
161
|
+
screenReaderFocusable?: boolean;
|
|
162
|
+
}>, "role" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & Omit<Readonly<{
|
|
163
|
+
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
164
|
+
accessibilityViewIsModal?: boolean | undefined;
|
|
165
|
+
accessibilityShowsLargeContentViewer?: boolean | undefined;
|
|
166
|
+
accessibilityLargeContentTitle?: string | undefined;
|
|
167
|
+
"aria-modal"?: boolean | undefined;
|
|
168
|
+
accessibilityElementsHidden?: boolean | undefined;
|
|
169
|
+
accessibilityLanguage?: string | undefined;
|
|
170
|
+
accessibilityRespondsToUserInteraction?: boolean | undefined;
|
|
171
|
+
}>, "role" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & {
|
|
172
|
+
accessible?: boolean | undefined;
|
|
173
|
+
accessibilityLabel?: string | undefined;
|
|
174
|
+
accessibilityHint?: string | undefined;
|
|
175
|
+
"aria-label"?: string | undefined;
|
|
176
|
+
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
177
|
+
role?: import("react-native").Role | undefined;
|
|
178
|
+
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
179
|
+
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
180
|
+
"aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
|
|
181
|
+
"aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
|
|
182
|
+
"aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
|
|
183
|
+
"aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
|
|
184
|
+
accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
|
|
185
|
+
"aria-busy"?: boolean | undefined;
|
|
186
|
+
"aria-checked"?: (boolean | undefined) | "mixed";
|
|
187
|
+
"aria-disabled"?: boolean | undefined;
|
|
188
|
+
"aria-expanded"?: boolean | undefined;
|
|
189
|
+
"aria-selected"?: boolean | undefined;
|
|
190
|
+
"aria-hidden"?: boolean | undefined;
|
|
191
|
+
}>, "pointerEvents" | "style" | "children" | "id" | "nativeID" | "testID" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
192
|
+
children?: React.ReactNode;
|
|
193
|
+
style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp | undefined;
|
|
194
|
+
collapsable?: boolean | undefined;
|
|
195
|
+
collapsableChildren?: boolean | undefined;
|
|
196
|
+
id?: string;
|
|
197
|
+
testID?: string | undefined;
|
|
198
|
+
nativeID?: string | undefined;
|
|
199
|
+
needsOffscreenAlphaCompositing?: boolean | undefined;
|
|
200
|
+
hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/EdgeInsetsPropType").EdgeInsetsOrSizeProp | undefined;
|
|
201
|
+
pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
|
|
202
|
+
removeClippedSubviews?: boolean | undefined;
|
|
203
|
+
experimental_accessibilityOrder?: Array<string> | undefined;
|
|
204
|
+
}>, never>>, "ref"> & {
|
|
205
|
+
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
206
|
+
}, "ref"> & {
|
|
207
|
+
asChild?: boolean;
|
|
208
|
+
} & VariantProps<(props?: ({
|
|
209
|
+
variant?: "secondary" | "success" | "warning" | "destructive" | "default" | "outline" | null | undefined;
|
|
210
|
+
size?: "md" | "sm" | null | undefined;
|
|
211
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
|
|
212
|
+
asChild?: boolean;
|
|
213
|
+
leftIcon?: LucideIcon;
|
|
214
|
+
rightIcon?: LucideIcon;
|
|
215
|
+
showRightIcon?: boolean;
|
|
216
|
+
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
217
|
+
export { Badge, badgeTextVariants, badgeVariants };
|
|
218
|
+
export type { BadgeProps };
|
|
219
|
+
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DataDisplay/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAOtD;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,aAAa;;;8EAsBlB,CAAC;AAEF;;;;;;GAMG;AACH,QAAA,MAAM,iBAAiB;;;8EAmBrB,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,KAAK,UAAU,GAAG,kBAAkB,GAClC,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEJ;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA3BG,OAAO;eACN,UAAU;gBACT,UAAU;oBACN,OAAO;yHA2D1B,CAAC;AAIF,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,CAAC;AACnD,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.figma.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DataDisplay/Badge/Badge.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface BannerProps {
|
|
2
|
+
title?: string;
|
|
3
|
+
subtitle?: string;
|
|
4
|
+
showBadge?: boolean;
|
|
5
|
+
badgeText?: string;
|
|
6
|
+
showActionItems?: boolean;
|
|
7
|
+
actionItems?: string[];
|
|
8
|
+
showTrailing?: boolean;
|
|
9
|
+
onTrailingPress?: () => void;
|
|
10
|
+
testID?: string;
|
|
11
|
+
}
|
|
12
|
+
declare function Banner({ title, subtitle, showBadge, badgeText, showActionItems, actionItems, showTrailing, onTrailingPress, testID, }: BannerProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export { Banner };
|
|
14
|
+
export default Banner;
|
|
15
|
+
//# sourceMappingURL=Banner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DataDisplay/Banner/Banner.tsx"],"names":[],"mappings":"AAwBA,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAMD,iBAAS,MAAM,CAAC,EACd,KAAsB,EACtB,QAA6C,EAC7C,SAAgB,EAChB,SAAmB,EACnB,eAAsB,EACtB,WAA2D,EAC3D,YAAmB,EACnB,eAAe,EACf,MAAM,GACP,EAAE,WAAW,2CAqDb;AAED,OAAO,EAAE,MAAM,EAAE,CAAC;AAClB,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Banner.figma.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DataDisplay/Banner/Banner.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface BannerItem {
|
|
4
|
+
/** Unique identifier for the banner */
|
|
5
|
+
id: string;
|
|
6
|
+
/** Custom gradient colors [start, end] */
|
|
7
|
+
gradientColors?: [string, string];
|
|
8
|
+
/** Custom width (default: 400) */
|
|
9
|
+
width?: number;
|
|
10
|
+
/** Custom height (default: 150) */
|
|
11
|
+
height?: number;
|
|
12
|
+
/** Custom border radius (default: 20) */
|
|
13
|
+
borderRadius?: number;
|
|
14
|
+
/** Content to render inside the banner */
|
|
15
|
+
children?: React.ReactNode;
|
|
16
|
+
}
|
|
17
|
+
export interface BannerProps {
|
|
18
|
+
/** Custom gradient colors [start, end] */
|
|
19
|
+
gradientColors?: [string, string];
|
|
20
|
+
/** Banner width (default: 400) */
|
|
21
|
+
width?: number;
|
|
22
|
+
/** Banner height (default: 150) */
|
|
23
|
+
height?: number;
|
|
24
|
+
/** Border radius (default: 20) */
|
|
25
|
+
borderRadius?: number;
|
|
26
|
+
/** Content to render inside the banner */
|
|
27
|
+
children?: React.ReactNode;
|
|
28
|
+
/** Used to override the banner style */
|
|
29
|
+
style?: StyleProp<ViewStyle>;
|
|
30
|
+
/** Used to locate this view in end-to-end tests */
|
|
31
|
+
testID?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface BannerRowProps {
|
|
34
|
+
/** Array of banner items to render */
|
|
35
|
+
banners: BannerItem[];
|
|
36
|
+
/** Gap between banners (default: 8) */
|
|
37
|
+
gap?: number;
|
|
38
|
+
/** Content padding (default: 20) */
|
|
39
|
+
contentPadding?: number;
|
|
40
|
+
/** Whether to show scroll indicators (default: false) */
|
|
41
|
+
showsScrollIndicator?: boolean;
|
|
42
|
+
/** Whether to show end spacer (default: true) */
|
|
43
|
+
showEndSpacer?: boolean;
|
|
44
|
+
/** Callback when a banner is pressed */
|
|
45
|
+
onBannerPress?: (banner: BannerItem, index: number) => void;
|
|
46
|
+
/** Used to override the container style */
|
|
47
|
+
style?: StyleProp<ViewStyle>;
|
|
48
|
+
/** Used to override the content container style */
|
|
49
|
+
contentContainerStyle?: StyleProp<ViewStyle>;
|
|
50
|
+
/** Used to locate this view in end-to-end tests */
|
|
51
|
+
testID?: string;
|
|
52
|
+
}
|
|
53
|
+
export declare function Banner({ gradientColors, width, height, borderRadius, children, style, testID, }: BannerProps): import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
export declare namespace Banner {
|
|
55
|
+
var displayName: string;
|
|
56
|
+
}
|
|
57
|
+
export declare function BannerRow({ banners, gap, contentPadding, showsScrollIndicator, showEndSpacer, onBannerPress: _onBannerPress, style, contentContainerStyle, testID, }: BannerRowProps): import("react/jsx-runtime").JSX.Element;
|
|
58
|
+
export declare namespace BannerRow {
|
|
59
|
+
var displayName: string;
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=BannerRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BannerRow.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DataDisplay/BannerRow/BannerRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AA8BhF,MAAM,WAAW,UAAU;IACzB,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,0CAA0C;IAC1C,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mCAAmC;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yCAAyC;IACzC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,MAAM,WAAW,WAAW;IAC1B,0CAA0C;IAC1C,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mCAAmC;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kCAAkC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,wCAAwC;IACxC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,mDAAmD;IACnD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,cAAc;IAC7B,sCAAsC;IACtC,OAAO,EAAE,UAAU,EAAE,CAAC;IAEtB,uCAAuC;IACvC,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,oCAAoC;IACpC,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,yDAAyD;IACzD,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B,iDAAiD;IACjD,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,wCAAwC;IACxC,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAE5D,2CAA2C;IAC3C,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B,mDAAmD;IACnD,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7C,mDAAmD;IACnD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAMD,wBAAgB,MAAM,CAAC,EACrB,cAGC,EACD,KAAW,EACX,MAAY,EACZ,YAA+B,EAC/B,QAAQ,EACR,KAAK,EACL,MAAM,GACP,EAAE,WAAW,2CAoBb;yBA/Be,MAAM;;;AAuCtB,wBAAgB,SAAS,CAAC,EACxB,OAAO,EACP,GAAuB,EACvB,cAAkC,EAClC,oBAA4B,EAC5B,aAAoB,EACpB,aAAa,EAAE,cAAc,EAC7B,KAAK,EACL,qBAAqB,EACrB,MAAM,GACP,EAAE,cAAc,2CAqChB;yBA/Ce,SAAS"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BannerRow.figma.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DataDisplay/BannerRow/BannerRow.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
import { type BadgeProps } from '../../DataDisplay/Badge/Badge';
|
|
4
|
+
/**
|
|
5
|
+
* CalendarItem Component
|
|
6
|
+
*
|
|
7
|
+
* A flexible calendar event display component with responsive variants.
|
|
8
|
+
* Supports span variants (1, 2, 3) for different event durations.
|
|
9
|
+
* Integrates Badge component for status/category indicators.
|
|
10
|
+
*/
|
|
11
|
+
export type CalendarSpan = 1 | 2 | 3;
|
|
12
|
+
export interface CalendarItemProps {
|
|
13
|
+
/** Time displayed in left column (e.g., "09:00 AM") */
|
|
14
|
+
time?: string;
|
|
15
|
+
/** Event name/title */
|
|
16
|
+
eventName?: string;
|
|
17
|
+
/** Event time range (e.g., "09:00 AM - 09:50 AM") */
|
|
18
|
+
eventTime?: string;
|
|
19
|
+
/** Span variant: 1 (compact), 2 (medium), 3 (large) */
|
|
20
|
+
span?: CalendarSpan;
|
|
21
|
+
/** Show badge component */
|
|
22
|
+
showBadge?: boolean;
|
|
23
|
+
/** Show trailing checkmark icon */
|
|
24
|
+
showTrailing?: boolean;
|
|
25
|
+
/** Badge variant */
|
|
26
|
+
badgeVariant?: BadgeProps['variant'];
|
|
27
|
+
/** Badge size */
|
|
28
|
+
badgeSize?: BadgeProps['size'];
|
|
29
|
+
/** Badge text content */
|
|
30
|
+
badgeText?: string;
|
|
31
|
+
/** Left icon for badge */
|
|
32
|
+
leftIcon?: BadgeProps['leftIcon'];
|
|
33
|
+
/** Right icon for badge */
|
|
34
|
+
rightIcon?: BadgeProps['rightIcon'];
|
|
35
|
+
/** Show right icon in badge */
|
|
36
|
+
showRightIcon?: boolean;
|
|
37
|
+
/** Custom style override */
|
|
38
|
+
style?: StyleProp<ViewStyle>;
|
|
39
|
+
/** Test ID for testing */
|
|
40
|
+
testID?: string;
|
|
41
|
+
}
|
|
42
|
+
export declare const CalendarItem: React.ForwardRefExoticComponent<CalendarItemProps & React.RefAttributes<View_>>;
|
|
43
|
+
export default CalendarItem;
|
|
44
|
+
//# sourceMappingURL=CalendarItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DataDisplay/CalendarItem/CalendarItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpE,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,+BAA+B,CAAC;AASvE;;;;;;GAMG;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAErC,MAAM,WAAW,iBAAiB;IAChC,uDAAuD;IACvD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mCAAmC;IACnC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,oBAAoB;IACpB,YAAY,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;IACrC,iBAAiB;IACjB,SAAS,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IAC/B,yBAAyB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;IAClC,2BAA2B;IAC3B,SAAS,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;IACpC,+BAA+B;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,4BAA4B;IAC5B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,0BAA0B;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AA4BD,eAAO,MAAM,YAAY,iFA0FxB,CAAC;AAIF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarItem.figma.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DataDisplay/CalendarItem/CalendarItem.figma.tsx"],"names":[],"mappings":"AAoCA,MAAM,CAAC,OAAO,UAAU,iBAAiB,4CAqCxC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { type ImageSourcePropType, type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
export declare const CardVariants: {
|
|
4
|
+
readonly density: readonly ["comfortable", "compact"];
|
|
5
|
+
readonly tone: readonly ["default", "subtle"];
|
|
6
|
+
};
|
|
7
|
+
type CardDensity = (typeof CardVariants.density)[number];
|
|
8
|
+
type CardTone = (typeof CardVariants.tone)[number];
|
|
9
|
+
declare const rootVariants: (props?: ({
|
|
10
|
+
tone?: "default" | "subtle" | null | undefined;
|
|
11
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
12
|
+
declare const mediaWrapVariants: (props?: ({
|
|
13
|
+
density?: "comfortable" | "compact" | null | undefined;
|
|
14
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
|
+
declare const contentWrapVariants: (props?: ({
|
|
16
|
+
density?: "comfortable" | "compact" | null | undefined;
|
|
17
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
18
|
+
declare const overflowBtnVariants: (props?: ({
|
|
19
|
+
density?: "comfortable" | "compact" | null | undefined;
|
|
20
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
21
|
+
type LeadingType = 'avatar' | 'checkbox' | 'none';
|
|
22
|
+
export type CardProps = Omit<VariantProps<typeof rootVariants> & VariantProps<typeof contentWrapVariants> & VariantProps<typeof mediaWrapVariants> & VariantProps<typeof overflowBtnVariants>, 'density' | 'tone'> & {
|
|
23
|
+
title?: string;
|
|
24
|
+
subtitle?: string;
|
|
25
|
+
body?: string;
|
|
26
|
+
/** optional media */
|
|
27
|
+
image?: ImageSourcePropType;
|
|
28
|
+
/** switches */
|
|
29
|
+
showMedia?: boolean;
|
|
30
|
+
showSubtitle?: boolean;
|
|
31
|
+
showBadges?: boolean;
|
|
32
|
+
showFooterActions?: boolean;
|
|
33
|
+
showLeading?: boolean;
|
|
34
|
+
showOverflowMenu?: boolean;
|
|
35
|
+
/** leading */
|
|
36
|
+
leadingType?: LeadingType | 'Avatar' | 'Checkbox' | 'None';
|
|
37
|
+
leadingChecked?: boolean | 'True' | 'False' | 'true' | 'false' | '1' | '0';
|
|
38
|
+
avatarInitials?: string;
|
|
39
|
+
/** variants */
|
|
40
|
+
density?: CardDensity | 'Comfortable' | 'Compact';
|
|
41
|
+
tone?: CardTone | 'Default' | 'Subtle';
|
|
42
|
+
/** optional badge labels */
|
|
43
|
+
badge1Text?: string;
|
|
44
|
+
badge2Text?: string;
|
|
45
|
+
/** footer button labels */
|
|
46
|
+
primaryActionText?: string;
|
|
47
|
+
secondaryActionText?: string;
|
|
48
|
+
/** callbacks */
|
|
49
|
+
onPrimaryActionPress?: () => void;
|
|
50
|
+
onSecondaryActionPress?: () => void;
|
|
51
|
+
onOverflowPress?: () => void;
|
|
52
|
+
/** Used to override the default root style. */
|
|
53
|
+
style?: StyleProp<ViewStyle>;
|
|
54
|
+
/** Used to locate this view in end-to-end tests. */
|
|
55
|
+
testID?: string;
|
|
56
|
+
/** Strictly block passing className */
|
|
57
|
+
className?: never;
|
|
58
|
+
};
|
|
59
|
+
export declare function Card(props: CardProps): import("react/jsx-runtime").JSX.Element;
|
|
60
|
+
export declare namespace Card {
|
|
61
|
+
var displayName: string;
|
|
62
|
+
}
|
|
63
|
+
export { rootVariants };
|
|
64
|
+
export type { CardProps };
|
|
65
|
+
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DataDisplay/Card/Card.tsx"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAsBlE,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,KAAK,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AACzD,KAAK,QAAQ,GAAG,CAAC,OAAO,YAAY,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnD,QAAA,MAAM,YAAY;;8EAUhB,CAAC;AAEH,QAAA,MAAM,iBAAiB;;8EAUrB,CAAC;AAEH,QAAA,MAAM,mBAAmB;;8EAUvB,CAAC;AAmCH,QAAA,MAAM,mBAAmB;;8EAaxB,CAAC;AAoBF,KAAK,WAAW,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAC;AAgDlD,MAAM,MAAM,SAAS,GAAG,IAAI,CAC1B,YAAY,CAAC,OAAO,YAAY,CAAC,GAC/B,YAAY,CAAC,OAAO,mBAAmB,CAAC,GACxC,YAAY,CAAC,OAAO,iBAAiB,CAAC,GACtC,YAAY,CAAC,OAAO,mBAAmB,CAAC,EAC1C,SAAS,GAAG,MAAM,CACnB,GAAG;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,qBAAqB;IACrB,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAE5B,eAAe;IACf,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;IAE3B,cAAc;IACd,WAAW,CAAC,EAAE,WAAW,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAC;IAC3D,cAAc,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,GAAG,GAAG,GAAG,CAAC;IAC3E,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,eAAe;IACf,OAAO,CAAC,EAAE,WAAW,GAAG,aAAa,GAAG,SAAS,CAAC;IAClD,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;IAEvC,4BAA4B;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,2BAA2B;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B,gBAAgB;IAChB,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,sBAAsB,CAAC,EAAE,MAAM,IAAI,CAAC;IACpC,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAE7B,+CAA+C;IAC/C,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,uCAAuC;IACvC,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB,CAAC;AAMF,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,2CAmMpC;yBAnMe,IAAI;;;AAuMpB,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,YAAY,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.figma.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DataDisplay/Card/Card.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
4
|
+
export declare const ChipVariants: {
|
|
5
|
+
readonly state: readonly ["default", "selected", "disabled"];
|
|
6
|
+
readonly variant: readonly ["default", "outline", "brand", "success", "warning", "destructive"];
|
|
7
|
+
};
|
|
8
|
+
type ChipState = (typeof ChipVariants.state)[number];
|
|
9
|
+
type ChipVariant = (typeof ChipVariants.variant)[number];
|
|
10
|
+
declare const rootVariants: (props?: ({
|
|
11
|
+
variant?: "success" | "warning" | "destructive" | "brand" | "default" | "outline" | null | undefined;
|
|
12
|
+
state?: "default" | "disabled" | "selected" | null | undefined;
|
|
13
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
14
|
+
declare const textVariants: (props?: ({
|
|
15
|
+
variant?: "success" | "warning" | "destructive" | "brand" | "default" | "outline" | null | undefined;
|
|
16
|
+
state?: "default" | "disabled" | "selected" | null | undefined;
|
|
17
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
18
|
+
export type ChipProps = Omit<VariantProps<typeof rootVariants>, 'variant' | 'state'> & {
|
|
19
|
+
variant?: ChipVariant | 'Default' | 'Outline' | 'Brand' | 'Success' | 'Warning' | 'Destructive';
|
|
20
|
+
state?: ChipState | 'Default' | 'Selected' | 'Disabled';
|
|
21
|
+
showLeftIcon?: boolean;
|
|
22
|
+
showRightIcon?: boolean;
|
|
23
|
+
/** Used to override the default root style. */
|
|
24
|
+
style?: StyleProp<ViewStyle>;
|
|
25
|
+
/** Used to locate this view in end-to-end tests. */
|
|
26
|
+
testID?: string;
|
|
27
|
+
/** Chip label */
|
|
28
|
+
children?: React.ReactNode;
|
|
29
|
+
/** Prevent passing className */
|
|
30
|
+
className?: never;
|
|
31
|
+
};
|
|
32
|
+
export declare function Chip(props: ChipProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export declare namespace Chip {
|
|
34
|
+
var displayName: string;
|
|
35
|
+
}
|
|
36
|
+
export { rootVariants, textVariants };
|
|
37
|
+
//# sourceMappingURL=Chips.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Chips.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DataDisplay/Chips/Chips.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAalE,eAAO,MAAM,YAAY;;;CAUf,CAAC;AAEX,KAAK,SAAS,GAAG,CAAC,OAAO,YAAY,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;AACrD,KAAK,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AAMzD,QAAA,MAAM,YAAY;;;8EAmEjB,CAAC;AAEF,QAAA,MAAM,YAAY;;;8EA+BhB,CAAC;AAmBH,MAAM,MAAM,SAAS,GAAG,IAAI,CAC1B,YAAY,CAAC,OAAO,YAAY,CAAC,EACjC,SAAS,GAAG,OAAO,CACpB,GAAG;IACF,OAAO,CAAC,EACJ,WAAW,GACX,SAAS,GACT,SAAS,GACT,OAAO,GACP,SAAS,GACT,SAAS,GACT,aAAa,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;IAExD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,iBAAiB;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,gCAAgC;IAChC,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB,CAAC;AA+BF,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,2CAsDpC;yBAtDe,IAAI;;;AA0DpB,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Chips.figma.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DataDisplay/Chips/Chips.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
import { type ChipProps } from '../Chips/Chips';
|
|
3
|
+
export interface ChipItem extends Omit<ChipProps, 'testID'> {
|
|
4
|
+
/** Unique identifier for the chip */
|
|
5
|
+
id: string;
|
|
6
|
+
/** Label text for the chip */
|
|
7
|
+
label: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ChipsRowProps {
|
|
10
|
+
/** Array of chip items to render */
|
|
11
|
+
chips: ChipItem[];
|
|
12
|
+
/** Gap between chips (default: 8) */
|
|
13
|
+
gap?: number;
|
|
14
|
+
/** Content padding (default: 16) */
|
|
15
|
+
contentPadding?: number;
|
|
16
|
+
/** Whether to show scroll indicators (default: false) */
|
|
17
|
+
showsScrollIndicator?: boolean;
|
|
18
|
+
/** Callback when a chip is pressed */
|
|
19
|
+
onChipPress?: (chip: ChipItem, index: number) => void;
|
|
20
|
+
/** Used to override the container style */
|
|
21
|
+
style?: StyleProp<ViewStyle>;
|
|
22
|
+
/** Used to override the content container style */
|
|
23
|
+
contentContainerStyle?: StyleProp<ViewStyle>;
|
|
24
|
+
/** Used to locate this view in end-to-end tests */
|
|
25
|
+
testID?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare function ChipsRow({ chips, gap, contentPadding, showsScrollIndicator, onChipPress: _onChipPress, style, contentContainerStyle, testID, }: ChipsRowProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare namespace ChipsRow {
|
|
29
|
+
var displayName: string;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=ChipsRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipsRow.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DataDisplay/ChipsRow/ChipsRow.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGhF,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAUtD,MAAM,WAAW,QAAS,SAAQ,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC;IACzD,qCAAqC;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,aAAa;IAC5B,oCAAoC;IACpC,KAAK,EAAE,QAAQ,EAAE,CAAC;IAElB,qCAAqC;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,oCAAoC;IACpC,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,yDAAyD;IACzD,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B,sCAAsC;IACtC,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAEtD,2CAA2C;IAC3C,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B,mDAAmD;IACnD,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7C,mDAAmD;IACnD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAMD,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,GAAO,EACP,cAAmB,EACnB,oBAA4B,EAC5B,WAAW,EAAE,YAAY,EACzB,KAAK,EACL,qBAAqB,EACrB,MAAM,GACP,EAAE,aAAa,2CA2Bf;yBApCe,QAAQ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipsRow.figma.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DataDisplay/ChipsRow/ChipsRow.figma.tsx"],"names":[],"mappings":""}
|