@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 @@
|
|
|
1
|
+
{"version":3,"file":"Popover.figma.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Navigation/Popover/Popover.figma.tsx"],"names":[],"mappings":"AAmCA,MAAM,CAAC,OAAO,UAAU,YAAY,4CA4BnC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type ThemeToggleProps = {
|
|
2
|
+
value: 'light' | 'dark';
|
|
3
|
+
onChange?: (value: 'light' | 'dark') => void;
|
|
4
|
+
className?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare function ThemeToggle({ value, onChange, className }: ThemeToggleProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=Theme-Toggle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Theme-Toggle.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Navigation/Themetoggle/Theme-Toggle.tsx"],"names":[],"mappings":"AAWA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,KAAK,IAAI,CAAC;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,gBAAgB,2CAiC3E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Theme-Toggle.figma.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Navigation/Themetoggle/Theme-Toggle.figma.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGvD,YAAY,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Comprehensive Dark Theme Configuration
|
|
3
|
+
*
|
|
4
|
+
* This file provides complete theme tokens and utilities for consistent
|
|
5
|
+
* dark mode support across all components in the Blueprint library.
|
|
6
|
+
*
|
|
7
|
+
* Best Practices:
|
|
8
|
+
* - Uses HSL color format for better color manipulation
|
|
9
|
+
* - Provides semantic color tokens (not raw colors)
|
|
10
|
+
* - Maintains proper contrast ratios for accessibility (WCAG AA/AAA)
|
|
11
|
+
* - Consistent with Tailwind CSS conventions
|
|
12
|
+
*/
|
|
13
|
+
import type { ColorValue } from 'react-native';
|
|
14
|
+
/**
|
|
15
|
+
* Color tokens for light and dark themes
|
|
16
|
+
* Each token follows the pattern: purpose-variant
|
|
17
|
+
*/
|
|
18
|
+
export declare const THEME_COLORS: {
|
|
19
|
+
readonly light: {
|
|
20
|
+
readonly background: "hsl(0, 0%, 100%)";
|
|
21
|
+
readonly foreground: "hsl(0, 0%, 3.9%)";
|
|
22
|
+
readonly card: "hsl(0, 0%, 100%)";
|
|
23
|
+
readonly cardForeground: "hsl(0, 0%, 3.9%)";
|
|
24
|
+
readonly popover: "hsl(0, 0%, 100%)";
|
|
25
|
+
readonly popoverForeground: "hsl(0, 0%, 3.9%)";
|
|
26
|
+
readonly primary: "hsl(0, 0%, 9%)";
|
|
27
|
+
readonly primaryForeground: "hsl(0, 0%, 98%)";
|
|
28
|
+
readonly secondary: "hsl(0, 0%, 96.1%)";
|
|
29
|
+
readonly secondaryForeground: "hsl(0, 0%, 9%)";
|
|
30
|
+
readonly muted: "hsl(0, 0%, 96.1%)";
|
|
31
|
+
readonly mutedForeground: "hsl(0, 0%, 45.1%)";
|
|
32
|
+
readonly accent: "hsl(0, 0%, 96.1%)";
|
|
33
|
+
readonly accentForeground: "hsl(0, 0%, 9%)";
|
|
34
|
+
readonly destructive: "hsl(0, 84.2%, 60.2%)";
|
|
35
|
+
readonly destructiveForeground: "hsl(0, 0%, 98%)";
|
|
36
|
+
readonly border: "hsl(0, 0%, 89.8%)";
|
|
37
|
+
readonly input: "hsl(0, 0%, 89.8%)";
|
|
38
|
+
readonly ring: "hsl(0, 0%, 63%)";
|
|
39
|
+
readonly success: "hsl(142, 76%, 36%)";
|
|
40
|
+
readonly successForeground: "hsl(0, 0%, 98%)";
|
|
41
|
+
readonly warning: "hsl(38, 92%, 50%)";
|
|
42
|
+
readonly warningForeground: "hsl(0, 0%, 9%)";
|
|
43
|
+
readonly info: "hsl(199, 89%, 48%)";
|
|
44
|
+
readonly infoForeground: "hsl(0, 0%, 98%)";
|
|
45
|
+
};
|
|
46
|
+
readonly dark: {
|
|
47
|
+
readonly background: "hsl(0, 0%, 3.9%)";
|
|
48
|
+
readonly foreground: "hsl(0, 0%, 98%)";
|
|
49
|
+
readonly card: "hsl(0, 0%, 3.9%)";
|
|
50
|
+
readonly cardForeground: "hsl(0, 0%, 98%)";
|
|
51
|
+
readonly popover: "hsl(0, 0%, 3.9%)";
|
|
52
|
+
readonly popoverForeground: "hsl(0, 0%, 98%)";
|
|
53
|
+
readonly primary: "hsl(0, 0%, 98%)";
|
|
54
|
+
readonly primaryForeground: "hsl(0, 0%, 9%)";
|
|
55
|
+
readonly secondary: "hsl(0, 0%, 14.9%)";
|
|
56
|
+
readonly secondaryForeground: "hsl(0, 0%, 98%)";
|
|
57
|
+
readonly muted: "hsl(0, 0%, 14.9%)";
|
|
58
|
+
readonly mutedForeground: "hsl(0, 0%, 63.9%)";
|
|
59
|
+
readonly accent: "hsl(0, 0%, 14.9%)";
|
|
60
|
+
readonly accentForeground: "hsl(0, 0%, 98%)";
|
|
61
|
+
readonly destructive: "hsl(0, 62.8%, 30.6%)";
|
|
62
|
+
readonly destructiveForeground: "hsl(0, 0%, 98%)";
|
|
63
|
+
readonly border: "hsl(0, 0%, 14.9%)";
|
|
64
|
+
readonly input: "hsl(0, 0%, 14.9%)";
|
|
65
|
+
readonly ring: "hsl(0, 0%, 45%)";
|
|
66
|
+
readonly success: "hsl(142, 76%, 36%)";
|
|
67
|
+
readonly successForeground: "hsl(0, 0%, 98%)";
|
|
68
|
+
readonly warning: "hsl(38, 92%, 50%)";
|
|
69
|
+
readonly warningForeground: "hsl(0, 0%, 9%)";
|
|
70
|
+
readonly info: "hsl(199, 89%, 48%)";
|
|
71
|
+
readonly infoForeground: "hsl(0, 0%, 98%)";
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Convert HSL string to React Native ColorValue
|
|
76
|
+
* Useful for native platform styling where HSL needs to be converted
|
|
77
|
+
*/
|
|
78
|
+
export declare function hslToRgb(hsl: string): ColorValue;
|
|
79
|
+
/**
|
|
80
|
+
* Get theme color value based on current theme mode
|
|
81
|
+
* Automatically selects the appropriate color from light/dark theme
|
|
82
|
+
*/
|
|
83
|
+
export declare function getThemeColorValue(colorKey: keyof typeof THEME_COLORS.light, isDark: boolean, asRgb?: boolean): ColorValue;
|
|
84
|
+
/**
|
|
85
|
+
* Component-specific dark mode class mappings
|
|
86
|
+
* Use these to ensure consistent styling across all components
|
|
87
|
+
*/
|
|
88
|
+
export declare const DARK_MODE_CLASSES: {
|
|
89
|
+
readonly text: {
|
|
90
|
+
readonly default: "dark:text-foreground";
|
|
91
|
+
readonly muted: "dark:text-muted-foreground";
|
|
92
|
+
readonly primary: "dark:text-primary-foreground";
|
|
93
|
+
readonly secondary: "dark:text-secondary-foreground";
|
|
94
|
+
readonly accent: "dark:text-accent-foreground";
|
|
95
|
+
readonly destructive: "dark:text-destructive-foreground";
|
|
96
|
+
readonly card: "dark:text-card-foreground";
|
|
97
|
+
};
|
|
98
|
+
readonly background: {
|
|
99
|
+
readonly default: "dark:bg-background";
|
|
100
|
+
readonly card: "dark:bg-card";
|
|
101
|
+
readonly primary: "dark:bg-primary";
|
|
102
|
+
readonly secondary: "dark:bg-secondary";
|
|
103
|
+
readonly muted: "dark:bg-muted";
|
|
104
|
+
readonly accent: "dark:bg-accent";
|
|
105
|
+
readonly destructive: "dark:bg-destructive";
|
|
106
|
+
readonly popover: "dark:bg-popover";
|
|
107
|
+
};
|
|
108
|
+
readonly border: {
|
|
109
|
+
readonly default: "dark:border-border";
|
|
110
|
+
readonly input: "dark:border-input";
|
|
111
|
+
readonly primary: "dark:border-primary";
|
|
112
|
+
readonly muted: "dark:border-muted";
|
|
113
|
+
readonly accent: "dark:border-accent";
|
|
114
|
+
readonly destructive: "dark:border-destructive";
|
|
115
|
+
};
|
|
116
|
+
readonly state: {
|
|
117
|
+
readonly hover: "dark:hover:bg-accent";
|
|
118
|
+
readonly active: "dark:active:bg-accent";
|
|
119
|
+
readonly focus: "dark:focus:ring-ring";
|
|
120
|
+
readonly disabled: "dark:disabled:opacity-50";
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Helper to combine base classes with dark mode classes
|
|
125
|
+
* Ensures consistent application of dark mode styles
|
|
126
|
+
*/
|
|
127
|
+
export declare function withDarkMode(baseClass: string, darkClass: string, additionalClasses?: string): string;
|
|
128
|
+
/**
|
|
129
|
+
* Pre-configured class strings for common component patterns
|
|
130
|
+
* Use these for consistent styling across the library
|
|
131
|
+
*/
|
|
132
|
+
export declare const THEME_PRESETS: {
|
|
133
|
+
readonly card: "bg-card text-card-foreground dark:bg-card dark:text-card-foreground border border-border dark:border-border";
|
|
134
|
+
readonly input: "bg-background text-foreground dark:bg-background dark:text-foreground border border-input dark:border-input";
|
|
135
|
+
readonly buttonPrimary: "bg-primary text-primary-foreground dark:bg-primary dark:text-primary-foreground";
|
|
136
|
+
readonly buttonSecondary: "bg-secondary text-secondary-foreground dark:bg-secondary dark:text-secondary-foreground";
|
|
137
|
+
readonly buttonOutline: "bg-background text-foreground dark:bg-background dark:text-foreground border border-input dark:border-input";
|
|
138
|
+
readonly buttonGhost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent dark:hover:text-accent-foreground";
|
|
139
|
+
readonly destructive: "bg-destructive text-destructive-foreground dark:bg-destructive dark:text-destructive-foreground";
|
|
140
|
+
readonly muted: "bg-muted text-muted-foreground dark:bg-muted dark:text-muted-foreground";
|
|
141
|
+
readonly popover: "bg-popover text-popover-foreground dark:bg-popover dark:text-popover-foreground border border-border dark:border-border";
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* Semantic color map for native components
|
|
145
|
+
* Use these for StyleSheet-based styling
|
|
146
|
+
*/
|
|
147
|
+
export declare function getNativeThemeColors(isDark: boolean): {
|
|
148
|
+
background: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
149
|
+
foreground: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
150
|
+
card: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
151
|
+
cardForeground: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
152
|
+
primary: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
153
|
+
primaryForeground: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
154
|
+
secondary: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
155
|
+
secondaryForeground: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
156
|
+
muted: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
157
|
+
mutedForeground: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
158
|
+
accent: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
159
|
+
accentForeground: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
160
|
+
destructive: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
161
|
+
destructiveForeground: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
162
|
+
border: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
163
|
+
input: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
164
|
+
ring: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Type-safe theme color keys
|
|
168
|
+
*/
|
|
169
|
+
export type ThemeColorKey = keyof typeof THEME_COLORS.light;
|
|
170
|
+
/**
|
|
171
|
+
* Check if a color key exists in the theme
|
|
172
|
+
*/
|
|
173
|
+
export declare function isValidThemeColor(key: string): key is ThemeColorKey;
|
|
174
|
+
//# sourceMappingURL=theme-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-config.d.ts","sourceRoot":"","sources":["../../../../src/components/theme-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqGf,CAAC;AAEX;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAuChD;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,MAAM,OAAO,YAAY,CAAC,KAAK,EACzC,MAAM,EAAE,OAAO,EACf,KAAK,UAAQ,GACZ,UAAU,CAKZ;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCpB,CAAC;AAEX;;;GAGG;AACH,wBAAgB,YAAY,CAC1B,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,iBAAiB,CAAC,EAAE,MAAM,GACzB,MAAM,CAER;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;CAmChB,CAAC;AAEX;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,OAAO;;;;;;;;;;;;;;;;;;EAgCnD;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,YAAY,CAAC,KAAK,CAAC;AAE5D;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,IAAI,aAAa,CAEnE"}
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Root collapsible container
|
|
3
|
+
*
|
|
4
|
+
* An interactive component that can show and hide content. Unlike Accordion, it doesn't enforce
|
|
5
|
+
* any specific visual styling, making it more flexible for custom layouts.
|
|
6
|
+
*
|
|
7
|
+
* @component
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <Collapsible open={isOpen} onOpenChange={setIsOpen}>
|
|
11
|
+
* <CollapsibleTrigger asChild>
|
|
12
|
+
* <Button variant="ghost"><Text>Toggle</Text></Button>
|
|
13
|
+
* </CollapsibleTrigger>
|
|
14
|
+
* <CollapsibleContent>
|
|
15
|
+
* <Text>This content can be shown or hidden</Text>
|
|
16
|
+
* </CollapsibleContent>
|
|
17
|
+
* </Collapsible>
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
declare const Collapsible: import("react").ForwardRefExoticComponent<import("react-native").ViewProps & {
|
|
21
|
+
asChild?: boolean;
|
|
22
|
+
} & {
|
|
23
|
+
open?: boolean;
|
|
24
|
+
defaultOpen?: boolean;
|
|
25
|
+
onOpenChange?: (open: boolean) => void;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
} & import("react").RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
28
|
+
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
29
|
+
}> & {
|
|
30
|
+
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
31
|
+
}) => React.ReactNode>>;
|
|
32
|
+
/**
|
|
33
|
+
* Trigger button that toggles collapsible content visibility
|
|
34
|
+
*
|
|
35
|
+
* @component
|
|
36
|
+
*/
|
|
37
|
+
declare const CollapsibleTrigger: import("react").ForwardRefExoticComponent<Omit<Readonly<Omit<Omit<Readonly<Omit<Readonly<{
|
|
38
|
+
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
|
|
39
|
+
onAccessibilityTap?: (() => unknown) | undefined;
|
|
40
|
+
onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
|
|
41
|
+
onMagicTap?: (() => unknown) | undefined;
|
|
42
|
+
onAccessibilityEscape?: (() => unknown) | undefined;
|
|
43
|
+
}>, "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<{
|
|
44
|
+
onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
45
|
+
onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
46
|
+
onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
|
|
47
|
+
onResponderMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
48
|
+
onResponderReject?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
49
|
+
onResponderRelease?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
50
|
+
onResponderStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
51
|
+
onResponderEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
52
|
+
onResponderTerminate?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
53
|
+
onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
54
|
+
onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
55
|
+
onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
56
|
+
}>, "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<{
|
|
57
|
+
onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
58
|
+
onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
59
|
+
}>, "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<{
|
|
60
|
+
onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
61
|
+
onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
62
|
+
onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
63
|
+
onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
64
|
+
onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
65
|
+
onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
66
|
+
onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
67
|
+
onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
68
|
+
onPointerCancel?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
69
|
+
onPointerCancelCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
70
|
+
onPointerDown?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
71
|
+
onPointerDownCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
72
|
+
onPointerUp?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
73
|
+
onPointerUpCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
74
|
+
onPointerOver?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
75
|
+
onPointerOverCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
76
|
+
onPointerOut?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
77
|
+
onPointerOutCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
78
|
+
onGotPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
79
|
+
onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
80
|
+
onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
81
|
+
onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
82
|
+
}>, "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<{
|
|
83
|
+
onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
84
|
+
onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
85
|
+
onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
86
|
+
onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
87
|
+
}>, "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<{
|
|
88
|
+
onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
89
|
+
onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
90
|
+
onTouchEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
91
|
+
onTouchEndCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
92
|
+
onTouchMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
93
|
+
onTouchMoveCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
94
|
+
onTouchStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
95
|
+
onTouchStartCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
96
|
+
}>, "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<{
|
|
97
|
+
nativeBackgroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
98
|
+
nativeForegroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
99
|
+
renderToHardwareTextureAndroid?: boolean | undefined;
|
|
100
|
+
hasTVPreferredFocus?: boolean | undefined;
|
|
101
|
+
nextFocusDown?: number | undefined;
|
|
102
|
+
nextFocusForward?: number | undefined;
|
|
103
|
+
nextFocusLeft?: number | undefined;
|
|
104
|
+
nextFocusRight?: number | undefined;
|
|
105
|
+
nextFocusUp?: number | undefined;
|
|
106
|
+
focusable?: boolean | undefined;
|
|
107
|
+
tabIndex?: 0 | -1;
|
|
108
|
+
onClick?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
109
|
+
}>, "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<{
|
|
110
|
+
shouldRasterizeIOS?: boolean | undefined;
|
|
111
|
+
}>, "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<{
|
|
112
|
+
accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
|
|
113
|
+
"aria-labelledby"?: string | undefined;
|
|
114
|
+
accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
|
|
115
|
+
"aria-live"?: ("polite" | "assertive" | "off") | undefined;
|
|
116
|
+
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
|
|
117
|
+
screenReaderFocusable?: boolean;
|
|
118
|
+
}>, "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<{
|
|
119
|
+
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
120
|
+
accessibilityViewIsModal?: boolean | undefined;
|
|
121
|
+
accessibilityShowsLargeContentViewer?: boolean | undefined;
|
|
122
|
+
accessibilityLargeContentTitle?: string | undefined;
|
|
123
|
+
"aria-modal"?: boolean | undefined;
|
|
124
|
+
accessibilityElementsHidden?: boolean | undefined;
|
|
125
|
+
accessibilityLanguage?: string | undefined;
|
|
126
|
+
accessibilityRespondsToUserInteraction?: boolean | undefined;
|
|
127
|
+
}>, "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"> & {
|
|
128
|
+
accessible?: boolean | undefined;
|
|
129
|
+
accessibilityLabel?: string | undefined;
|
|
130
|
+
accessibilityHint?: string | undefined;
|
|
131
|
+
"aria-label"?: string | undefined;
|
|
132
|
+
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
133
|
+
role?: import("react-native").Role | undefined;
|
|
134
|
+
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
135
|
+
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
136
|
+
"aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
|
|
137
|
+
"aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
|
|
138
|
+
"aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
|
|
139
|
+
"aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
|
|
140
|
+
accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
|
|
141
|
+
"aria-busy"?: boolean | undefined;
|
|
142
|
+
"aria-checked"?: (boolean | undefined) | "mixed";
|
|
143
|
+
"aria-disabled"?: boolean | undefined;
|
|
144
|
+
"aria-expanded"?: boolean | undefined;
|
|
145
|
+
"aria-selected"?: boolean | undefined;
|
|
146
|
+
"aria-hidden"?: boolean | undefined;
|
|
147
|
+
}>, "pointerEvents" | "style" | "children" | "id" | "nativeID" | "testID" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
148
|
+
children?: React.ReactNode;
|
|
149
|
+
style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp | undefined;
|
|
150
|
+
collapsable?: boolean | undefined;
|
|
151
|
+
collapsableChildren?: boolean | undefined;
|
|
152
|
+
id?: string;
|
|
153
|
+
testID?: string | undefined;
|
|
154
|
+
nativeID?: string | undefined;
|
|
155
|
+
needsOffscreenAlphaCompositing?: boolean | undefined;
|
|
156
|
+
hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/EdgeInsetsPropType").EdgeInsetsOrSizeProp | undefined;
|
|
157
|
+
pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
|
|
158
|
+
removeClippedSubviews?: boolean | undefined;
|
|
159
|
+
experimental_accessibilityOrder?: Array<string> | undefined;
|
|
160
|
+
}>, never>>, "onMouseEnter" | "onMouseLeave">, "style" | "disabled" | "children" | "onLayout" | "onLongPress" | "onPress" | "onPressIn" | "onPressOut" | "pressRetentionOffset" | "testID" | "hitSlop" | "cancelable" | "delayHoverIn" | "delayHoverOut" | "delayLongPress" | "onHoverIn" | "onHoverOut" | "onPressMove" | "android_disableSound" | "android_ripple" | "testOnly_pressed" | "unstable_pressDelay"> & Omit<Readonly<{
|
|
161
|
+
cancelable?: boolean | undefined;
|
|
162
|
+
children?: React.ReactNode | ((state: import("react-native").PressableStateCallbackType) => React.ReactNode);
|
|
163
|
+
delayHoverIn?: number | undefined;
|
|
164
|
+
delayHoverOut?: number | undefined;
|
|
165
|
+
delayLongPress?: number | undefined;
|
|
166
|
+
disabled?: boolean | undefined;
|
|
167
|
+
hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/Rect").RectOrSize | undefined;
|
|
168
|
+
pressRetentionOffset?: import("react-native/types_generated/Libraries/StyleSheet/Rect").RectOrSize | undefined;
|
|
169
|
+
onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
|
|
170
|
+
onHoverIn?: ((event: import("react-native").MouseEvent) => unknown) | undefined;
|
|
171
|
+
onHoverOut?: ((event: import("react-native").MouseEvent) => unknown) | undefined;
|
|
172
|
+
onLongPress?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
173
|
+
onPress?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
174
|
+
onPressIn?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
175
|
+
onPressMove?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
176
|
+
onPressOut?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
177
|
+
style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ViewStyleProp_Internal | ((state: import("react-native").PressableStateCallbackType) => import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp) | undefined;
|
|
178
|
+
testID?: string | undefined;
|
|
179
|
+
android_disableSound?: boolean | undefined;
|
|
180
|
+
android_ripple?: import("react-native").PressableAndroidRippleConfig | undefined;
|
|
181
|
+
testOnly_pressed?: boolean | undefined;
|
|
182
|
+
unstable_pressDelay?: number | undefined;
|
|
183
|
+
}>, never>> & import("react").RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
184
|
+
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
185
|
+
}> & {
|
|
186
|
+
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
187
|
+
}) => React.ReactNode>, "ref"> & {
|
|
188
|
+
asChild?: boolean;
|
|
189
|
+
} & {
|
|
190
|
+
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
191
|
+
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
192
|
+
} & import("react").RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
193
|
+
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
194
|
+
}> & {
|
|
195
|
+
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
196
|
+
}) => React.ReactNode>>;
|
|
197
|
+
/**
|
|
198
|
+
* Collapsible content container
|
|
199
|
+
*
|
|
200
|
+
* Automatically animates height when expanding or collapsing.
|
|
201
|
+
*
|
|
202
|
+
* @component
|
|
203
|
+
*/
|
|
204
|
+
declare const CollapsibleContent: import("react").ForwardRefExoticComponent<import("@rn-primitives/types").ForceMountable & import("react-native").ViewProps & {
|
|
205
|
+
asChild?: boolean;
|
|
206
|
+
} & import("react").RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
207
|
+
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
208
|
+
}> & {
|
|
209
|
+
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
210
|
+
}) => React.ReactNode>>;
|
|
211
|
+
export { Collapsible, CollapsibleTrigger, CollapsibleContent };
|
|
212
|
+
//# sourceMappingURL=Collapsible.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Collapsible.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Collapsible.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;GAkBG;AACH,QAAA,MAAM,WAAW;;;;;;;;OAgBjB,CAPC;;OAGiC,CAAC;uBAZU,CAAC;AAE9C;;;;GAIG;AACH,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OASxB,CAPC;;OAGiC,CAAC;;;;;;;OAInC,CAPC;;OAGiC,CAAC;uBALoB,CAAC;AAExD;;;;;;GAMG;AACH,QAAA,MAAM,kBAAkB;;;OAAxB,CAPC;;OAGiC,CAAC;uBAIoB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAC"}
|