@campxdev/react-native-blueprint 0.1.17 → 0.1.19
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 -0
- package/lib/module/components/DataDisplay/FeedCard/FeedCard.figma.js +42 -0
- package/lib/module/components/DataDisplay/FeedCard/FeedCard.figma.js.map +1 -0
- package/lib/module/components/DataDisplay/FeedCard/FeedCard.js +261 -0
- package/lib/module/components/DataDisplay/FeedCard/FeedCard.js.map +1 -0
- package/lib/module/components/DataDisplay/Greeting/Greeting.figma.js +8 -1
- package/lib/module/components/DataDisplay/Greeting/Greeting.figma.js.map +1 -1
- package/lib/module/components/DataDisplay/Greeting/Greeting.js +75 -21
- package/lib/module/components/DataDisplay/Greeting/Greeting.js.map +1 -1
- package/lib/module/components/ui/index.js +1 -0
- 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/package.json +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 +7 -5
- package/src/components/DataDisplay/FeedCard/FeedCard.figma.tsx +43 -0
- package/src/components/DataDisplay/FeedCard/FeedCard.tsx +376 -0
- package/src/components/DataDisplay/Greeting/Greeting.figma.tsx +10 -2
- package/src/components/DataDisplay/Greeting/Greeting.tsx +107 -26
- package/src/components/ui/index.ts +1 -0
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import * as HoverCardPrimitive from '@rn-primitives/hover-card';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Root component for hover card - provides context for trigger and content
|
|
5
|
+
*
|
|
6
|
+
* @component
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <HoverCard>
|
|
10
|
+
* <HoverCardTrigger>
|
|
11
|
+
* <Text>Hover over me</Text>
|
|
12
|
+
* </HoverCardTrigger>
|
|
13
|
+
* <HoverCardContent>
|
|
14
|
+
* <Text>Additional information appears here</Text>
|
|
15
|
+
* </HoverCardContent>
|
|
16
|
+
* </HoverCard>
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
declare const HoverCard: React.ForwardRefExoticComponent<import("react-native").ViewProps & {
|
|
20
|
+
asChild?: boolean;
|
|
21
|
+
} & {
|
|
22
|
+
onOpenChange?: (open: boolean) => void;
|
|
23
|
+
openDelay?: number;
|
|
24
|
+
closeDelay?: number;
|
|
25
|
+
} & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
26
|
+
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
27
|
+
}> & {
|
|
28
|
+
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
29
|
+
}) => React.ReactNode>>;
|
|
30
|
+
/**
|
|
31
|
+
* Trigger component that shows hover card content on hover/press
|
|
32
|
+
*
|
|
33
|
+
* @component
|
|
34
|
+
*/
|
|
35
|
+
declare const HoverCardTrigger: React.ForwardRefExoticComponent<Omit<Readonly<Omit<Omit<Readonly<Omit<Readonly<{
|
|
36
|
+
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
|
|
37
|
+
onAccessibilityTap?: (() => unknown) | undefined;
|
|
38
|
+
onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
|
|
39
|
+
onMagicTap?: (() => unknown) | undefined;
|
|
40
|
+
onAccessibilityEscape?: (() => unknown) | undefined;
|
|
41
|
+
}>, "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<{
|
|
42
|
+
onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
43
|
+
onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
44
|
+
onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
|
|
45
|
+
onResponderMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
46
|
+
onResponderReject?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
47
|
+
onResponderRelease?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
48
|
+
onResponderStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
49
|
+
onResponderEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
50
|
+
onResponderTerminate?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
51
|
+
onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
52
|
+
onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
53
|
+
onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
54
|
+
}>, "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<{
|
|
55
|
+
onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
56
|
+
onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
57
|
+
}>, "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<{
|
|
58
|
+
onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
59
|
+
onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
60
|
+
onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
61
|
+
onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
62
|
+
onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
63
|
+
onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
64
|
+
onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
65
|
+
onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
66
|
+
onPointerCancel?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
67
|
+
onPointerCancelCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
68
|
+
onPointerDown?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
69
|
+
onPointerDownCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
70
|
+
onPointerUp?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
71
|
+
onPointerUpCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
72
|
+
onPointerOver?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
73
|
+
onPointerOverCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
74
|
+
onPointerOut?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
75
|
+
onPointerOutCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
76
|
+
onGotPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
77
|
+
onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
78
|
+
onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
79
|
+
onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
80
|
+
}>, "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<{
|
|
81
|
+
onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
82
|
+
onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
83
|
+
onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
84
|
+
onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
85
|
+
}>, "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<{
|
|
86
|
+
onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
87
|
+
onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
88
|
+
onTouchEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
89
|
+
onTouchEndCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
90
|
+
onTouchMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
91
|
+
onTouchMoveCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
92
|
+
onTouchStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
93
|
+
onTouchStartCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
94
|
+
}>, "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<{
|
|
95
|
+
nativeBackgroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
96
|
+
nativeForegroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
97
|
+
renderToHardwareTextureAndroid?: boolean | undefined;
|
|
98
|
+
hasTVPreferredFocus?: boolean | undefined;
|
|
99
|
+
nextFocusDown?: number | undefined;
|
|
100
|
+
nextFocusForward?: number | undefined;
|
|
101
|
+
nextFocusLeft?: number | undefined;
|
|
102
|
+
nextFocusRight?: number | undefined;
|
|
103
|
+
nextFocusUp?: number | undefined;
|
|
104
|
+
focusable?: boolean | undefined;
|
|
105
|
+
tabIndex?: 0 | -1;
|
|
106
|
+
onClick?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
107
|
+
}>, "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<{
|
|
108
|
+
shouldRasterizeIOS?: boolean | 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" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<Omit<Readonly<{
|
|
110
|
+
accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
|
|
111
|
+
"aria-labelledby"?: string | undefined;
|
|
112
|
+
accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
|
|
113
|
+
"aria-live"?: ("polite" | "assertive" | "off") | undefined;
|
|
114
|
+
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
|
|
115
|
+
screenReaderFocusable?: boolean;
|
|
116
|
+
}>, "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<{
|
|
117
|
+
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
118
|
+
accessibilityViewIsModal?: boolean | undefined;
|
|
119
|
+
accessibilityShowsLargeContentViewer?: boolean | undefined;
|
|
120
|
+
accessibilityLargeContentTitle?: string | undefined;
|
|
121
|
+
"aria-modal"?: boolean | undefined;
|
|
122
|
+
accessibilityElementsHidden?: boolean | undefined;
|
|
123
|
+
accessibilityLanguage?: string | undefined;
|
|
124
|
+
accessibilityRespondsToUserInteraction?: boolean | undefined;
|
|
125
|
+
}>, "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"> & {
|
|
126
|
+
accessible?: boolean | undefined;
|
|
127
|
+
accessibilityLabel?: string | undefined;
|
|
128
|
+
accessibilityHint?: string | undefined;
|
|
129
|
+
"aria-label"?: string | undefined;
|
|
130
|
+
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
131
|
+
role?: import("react-native").Role | undefined;
|
|
132
|
+
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
133
|
+
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
134
|
+
"aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
|
|
135
|
+
"aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
|
|
136
|
+
"aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
|
|
137
|
+
"aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
|
|
138
|
+
accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
|
|
139
|
+
"aria-busy"?: boolean | undefined;
|
|
140
|
+
"aria-checked"?: (boolean | undefined) | "mixed";
|
|
141
|
+
"aria-disabled"?: boolean | undefined;
|
|
142
|
+
"aria-expanded"?: boolean | undefined;
|
|
143
|
+
"aria-selected"?: boolean | undefined;
|
|
144
|
+
"aria-hidden"?: boolean | undefined;
|
|
145
|
+
}>, "pointerEvents" | "style" | "children" | "id" | "nativeID" | "testID" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
146
|
+
children?: React.ReactNode;
|
|
147
|
+
style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp | undefined;
|
|
148
|
+
collapsable?: boolean | undefined;
|
|
149
|
+
collapsableChildren?: boolean | undefined;
|
|
150
|
+
id?: string;
|
|
151
|
+
testID?: string | undefined;
|
|
152
|
+
nativeID?: string | undefined;
|
|
153
|
+
needsOffscreenAlphaCompositing?: boolean | undefined;
|
|
154
|
+
hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/EdgeInsetsPropType").EdgeInsetsOrSizeProp | undefined;
|
|
155
|
+
pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
|
|
156
|
+
removeClippedSubviews?: boolean | undefined;
|
|
157
|
+
experimental_accessibilityOrder?: Array<string> | undefined;
|
|
158
|
+
}>, 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<{
|
|
159
|
+
cancelable?: boolean | undefined;
|
|
160
|
+
children?: React.ReactNode | ((state: import("react-native").PressableStateCallbackType) => React.ReactNode);
|
|
161
|
+
delayHoverIn?: number | undefined;
|
|
162
|
+
delayHoverOut?: number | undefined;
|
|
163
|
+
delayLongPress?: number | undefined;
|
|
164
|
+
disabled?: boolean | undefined;
|
|
165
|
+
hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/Rect").RectOrSize | undefined;
|
|
166
|
+
pressRetentionOffset?: import("react-native/types_generated/Libraries/StyleSheet/Rect").RectOrSize | undefined;
|
|
167
|
+
onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
|
|
168
|
+
onHoverIn?: ((event: import("react-native").MouseEvent) => unknown) | undefined;
|
|
169
|
+
onHoverOut?: ((event: import("react-native").MouseEvent) => unknown) | undefined;
|
|
170
|
+
onLongPress?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
171
|
+
onPress?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
172
|
+
onPressIn?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
173
|
+
onPressMove?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
174
|
+
onPressOut?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
175
|
+
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;
|
|
176
|
+
testID?: string | undefined;
|
|
177
|
+
android_disableSound?: boolean | undefined;
|
|
178
|
+
android_ripple?: import("react-native").PressableAndroidRippleConfig | undefined;
|
|
179
|
+
testOnly_pressed?: boolean | undefined;
|
|
180
|
+
unstable_pressDelay?: number | undefined;
|
|
181
|
+
}>, never>> & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
182
|
+
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
183
|
+
}> & {
|
|
184
|
+
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
185
|
+
}) => React.ReactNode>, "ref"> & {
|
|
186
|
+
asChild?: boolean;
|
|
187
|
+
} & {
|
|
188
|
+
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
189
|
+
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
190
|
+
} & React.RefAttributes<import("@rn-primitives/hover-card").TriggerRef>>;
|
|
191
|
+
/**
|
|
192
|
+
* Content container for hover card
|
|
193
|
+
*
|
|
194
|
+
* Displays rich content in a popover when hovering over or pressing the trigger.
|
|
195
|
+
* Includes smooth fade animations and proper positioning.
|
|
196
|
+
*
|
|
197
|
+
* @component
|
|
198
|
+
* @example
|
|
199
|
+
* ```tsx
|
|
200
|
+
* <HoverCardContent align="center" sideOffset={8}>
|
|
201
|
+
* <View className="gap-2">
|
|
202
|
+
* <Text className="font-semibold">User Profile</Text>
|
|
203
|
+
* <Text className="text-sm">Additional details about the user</Text>
|
|
204
|
+
* </View>
|
|
205
|
+
* </HoverCardContent>
|
|
206
|
+
* ```
|
|
207
|
+
*
|
|
208
|
+
* @accessibility
|
|
209
|
+
* - Content is announced by screen readers
|
|
210
|
+
* - Proper focus management on web
|
|
211
|
+
*/
|
|
212
|
+
declare function HoverCardContent({ className, align, sideOffset, ...props }: HoverCardPrimitive.ContentProps & React.RefAttributes<HoverCardPrimitive.ContentRef>): import("react/jsx-runtime").JSX.Element;
|
|
213
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
214
|
+
//# sourceMappingURL=Hover-Card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Hover-Card.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Hover-Card.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,SAAS;;;;;;;OAAP,CAAC;;OAGyB,CAAC;uBAHM,CAAC;AAE1C;;;;GAIG;AACH,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAPd,CAAC;;OAGyB,CAAC;;;;;;wEAIgB,CAAC;AAQpD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,KAAgB,EAChB,UAAc,EACd,GAAG,KAAK,EACT,EAAE,kBAAkB,CAAC,YAAY,GAChC,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,UAAU,CAAC,2CA+BnD;AAED,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { LucideIcon, LucideProps } from 'lucide-react-native';
|
|
2
|
+
/**
|
|
3
|
+
* Props for Icon component
|
|
4
|
+
*
|
|
5
|
+
* @extends LucideProps - All Lucide icon properties (size, color, strokeWidth, etc.)
|
|
6
|
+
* @property {LucideIcon} as - The Lucide icon component to render
|
|
7
|
+
* @property {string} [className] - Tailwind classes for styling (supports NativeWind)
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* import { Home } from 'lucide-react-native';
|
|
12
|
+
* <Icon as={Home} size={24} className="text-primary" />
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
type IconProps = LucideProps & {
|
|
16
|
+
as: LucideIcon;
|
|
17
|
+
className?: string;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Universal icon wrapper for Lucide icons
|
|
21
|
+
*
|
|
22
|
+
* Provides consistent styling and sizing for Lucide React Native icons across the application.
|
|
23
|
+
* Automatically handles platform-specific sizing and color theming.
|
|
24
|
+
*
|
|
25
|
+
* @component
|
|
26
|
+
* @example
|
|
27
|
+
* ```tsx
|
|
28
|
+
* import { Settings, User, ChevronRight } from 'lucide-react-native';
|
|
29
|
+
*
|
|
30
|
+
* // Basic icon
|
|
31
|
+
* <Icon as={Settings} />
|
|
32
|
+
*
|
|
33
|
+
* // Sized icon with custom color
|
|
34
|
+
* <Icon as={User} size={32} className="text-primary" />
|
|
35
|
+
*
|
|
36
|
+
* // Icon with stroke width
|
|
37
|
+
* <Icon as={ChevronRight} size={20} strokeWidth={2.5} />
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
declare function Icon({ as: IconComponent, className, size, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export { Icon };
|
|
42
|
+
export type { IconProps };
|
|
43
|
+
//# sourceMappingURL=Icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Icon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAGnE;;;;;;;;;;;;GAYG;AACH,KAAK,SAAS,GAAG,WAAW,GAAG;IAC7B,EAAE,EAAE,UAAU,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAgBF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,iBAAS,IAAI,CAAC,EACZ,EAAE,EAAE,aAAa,EACjB,SAAS,EACT,IAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,2CASX;AAED,OAAO,EAAE,IAAI,EAAE,CAAC;AAChB,YAAY,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { TextInput, type TextInputProps } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* Props for Input component
|
|
4
|
+
*
|
|
5
|
+
* @extends TextInputProps - All standard React Native TextInput props
|
|
6
|
+
* @property {string} [className] - Additional Tailwind classes for custom styling
|
|
7
|
+
* @property {boolean} [editable=true] - Whether the input is editable (disabled when false)
|
|
8
|
+
*/
|
|
9
|
+
interface InputProps extends TextInputProps {
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* A styled text input component with consistent design across platforms
|
|
14
|
+
*
|
|
15
|
+
* Features platform-specific behaviors:
|
|
16
|
+
* - Web: Focus ring, selection styling, aria-invalid support
|
|
17
|
+
* - Native: Optimized placeholder opacity and input styling
|
|
18
|
+
*
|
|
19
|
+
* Automatically adapts styling when disabled/non-editable.
|
|
20
|
+
*
|
|
21
|
+
* @component
|
|
22
|
+
* @example
|
|
23
|
+
* ```tsx
|
|
24
|
+
* // Basic input
|
|
25
|
+
* <Input
|
|
26
|
+
* placeholder="Enter your name"
|
|
27
|
+
* value={name}
|
|
28
|
+
* onChangeText={setName}
|
|
29
|
+
* />
|
|
30
|
+
*
|
|
31
|
+
* // Disabled input
|
|
32
|
+
* <Input
|
|
33
|
+
* value="Read only"
|
|
34
|
+
* editable={false}
|
|
35
|
+
* />
|
|
36
|
+
*
|
|
37
|
+
* // With custom styling
|
|
38
|
+
* <Input
|
|
39
|
+
* className="border-primary"
|
|
40
|
+
* placeholder="Search..."
|
|
41
|
+
* />
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @accessibility
|
|
45
|
+
* - Supports aria-invalid for form validation states (web)
|
|
46
|
+
* - Placeholder text uses appropriate contrast colors
|
|
47
|
+
* - Disabled state is visually indicated with opacity
|
|
48
|
+
*/
|
|
49
|
+
declare function Input({ className, editable, ...props }: InputProps & React.RefAttributes<TextInput>): import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
export { Input };
|
|
51
|
+
export type { InputProps };
|
|
52
|
+
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Input.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAKxE;;;;;;GAMG;AACH,UAAU,UAAW,SAAQ,cAAc;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,QAAe,EACf,GAAG,KAAK,EACT,EAAE,UAAU,GAAG,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,2CA4B7C;AAED,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Accessible label component for form controls
|
|
4
|
+
*
|
|
5
|
+
* Provides semantic labeling for form inputs with proper styling and accessibility support.
|
|
6
|
+
* Automatically associates with form controls and respects disabled states.
|
|
7
|
+
*
|
|
8
|
+
* @component
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* // Label with input
|
|
12
|
+
* <View className="gap-2">
|
|
13
|
+
* <Label htmlFor="email">Email Address</Label>
|
|
14
|
+
* <Input id="email" placeholder="Enter email" />
|
|
15
|
+
* </View>
|
|
16
|
+
*
|
|
17
|
+
* // Label for checkbox
|
|
18
|
+
* <View className="flex-row items-center gap-2">
|
|
19
|
+
* <Checkbox id="terms" />
|
|
20
|
+
* <Label htmlFor="terms">I agree to the terms and conditions</Label>
|
|
21
|
+
* </View>
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @accessibility
|
|
25
|
+
* - Properly associates with form controls via htmlFor/id
|
|
26
|
+
* - Reduced opacity when associated control is disabled
|
|
27
|
+
* - Screen reader compatible
|
|
28
|
+
*/
|
|
29
|
+
declare const Label: React.ForwardRefExoticComponent<Omit<Omit<Readonly<Omit<Readonly<{
|
|
30
|
+
onPointerEnter?: (event: import("react-native").PointerEvent) => void;
|
|
31
|
+
onPointerLeave?: (event: import("react-native").PointerEvent) => void;
|
|
32
|
+
onPointerMove?: (event: import("react-native").PointerEvent) => void;
|
|
33
|
+
}>, "style" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "disabled" | "selectionColor" | "dataDetectorType" | "textBreakStrategy" | "minimumFontScale" | "onAccessibilityAction" | "allowFontScaling" | "android_hyphenationFrequency" | "children" | "ellipsizeMode" | "id" | "maxFontSizeMultiplier" | "nativeID" | "numberOfLines" | "onLayout" | "onLongPress" | "onPress" | "onPressIn" | "onPressOut" | "onResponderGrant" | "onResponderMove" | "onResponderRelease" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onTextLayout" | "pressRetentionOffset" | "role" | "selectable" | "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"> & Omit<import("react-native/types_generated/Libraries/Text/TextProps").TextPropsIOS, "style" | keyof import("react-native/types_generated/Libraries/Text/TextProps").TextPropsAndroid | "onAccessibilityAction" | "allowFontScaling" | "android_hyphenationFrequency" | "children" | "ellipsizeMode" | "id" | "maxFontSizeMultiplier" | "nativeID" | "numberOfLines" | "onLayout" | "onLongPress" | "onPress" | "onPressIn" | "onPressOut" | "onResponderGrant" | "onResponderMove" | "onResponderRelease" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onTextLayout" | "pressRetentionOffset" | "role" | "selectable" | "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"> & Omit<import("react-native/types_generated/Libraries/Text/TextProps").TextPropsAndroid, "style" | "onAccessibilityAction" | "allowFontScaling" | "android_hyphenationFrequency" | "children" | "ellipsizeMode" | "id" | "maxFontSizeMultiplier" | "nativeID" | "numberOfLines" | "onLayout" | "onLongPress" | "onPress" | "onPressIn" | "onPressOut" | "onResponderGrant" | "onResponderMove" | "onResponderRelease" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onTextLayout" | "pressRetentionOffset" | "role" | "selectable" | "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"> & Omit<Readonly<{
|
|
34
|
+
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
|
|
35
|
+
allowFontScaling?: boolean | undefined;
|
|
36
|
+
android_hyphenationFrequency?: ("normal" | "none" | "full") | undefined;
|
|
37
|
+
children?: React.ReactNode | undefined;
|
|
38
|
+
ellipsizeMode?: ("clip" | "head" | "middle" | "tail") | undefined;
|
|
39
|
+
id?: string;
|
|
40
|
+
maxFontSizeMultiplier?: number | undefined;
|
|
41
|
+
nativeID?: string | undefined;
|
|
42
|
+
numberOfLines?: number | undefined;
|
|
43
|
+
onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
|
|
44
|
+
onLongPress?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
45
|
+
onPress?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
46
|
+
onPressIn?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
47
|
+
onPressOut?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
48
|
+
onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
49
|
+
onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
50
|
+
onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
51
|
+
onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
52
|
+
onResponderTerminationRequest?: (() => boolean) | undefined;
|
|
53
|
+
onStartShouldSetResponder?: (() => boolean) | undefined;
|
|
54
|
+
onMoveShouldSetResponder?: (() => boolean) | undefined;
|
|
55
|
+
onTextLayout?: ((event: import("react-native").TextLayoutEvent) => unknown) | undefined;
|
|
56
|
+
pressRetentionOffset?: import("react-native/types_generated/Libraries/Text/TextProps").PressRetentionOffset | undefined;
|
|
57
|
+
role?: import("react-native").Role | undefined;
|
|
58
|
+
selectable?: boolean | undefined;
|
|
59
|
+
style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").TextStyleProp | undefined;
|
|
60
|
+
testID?: string | undefined;
|
|
61
|
+
}>, "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" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable"> & Omit<Readonly<Omit<Readonly<{
|
|
62
|
+
accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
|
|
63
|
+
"aria-labelledby"?: string | undefined;
|
|
64
|
+
accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
|
|
65
|
+
"aria-live"?: ("polite" | "assertive" | "off") | undefined;
|
|
66
|
+
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
|
|
67
|
+
screenReaderFocusable?: boolean;
|
|
68
|
+
}>, "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<{
|
|
69
|
+
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
70
|
+
accessibilityViewIsModal?: boolean | undefined;
|
|
71
|
+
accessibilityShowsLargeContentViewer?: boolean | undefined;
|
|
72
|
+
accessibilityLargeContentTitle?: string | undefined;
|
|
73
|
+
"aria-modal"?: boolean | undefined;
|
|
74
|
+
accessibilityElementsHidden?: boolean | undefined;
|
|
75
|
+
accessibilityLanguage?: string | undefined;
|
|
76
|
+
accessibilityRespondsToUserInteraction?: boolean | undefined;
|
|
77
|
+
}>, "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"> & {
|
|
78
|
+
accessible?: boolean | undefined;
|
|
79
|
+
accessibilityLabel?: string | undefined;
|
|
80
|
+
accessibilityHint?: string | undefined;
|
|
81
|
+
"aria-label"?: string | undefined;
|
|
82
|
+
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
83
|
+
role?: import("react-native").Role | undefined;
|
|
84
|
+
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
85
|
+
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
86
|
+
"aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
|
|
87
|
+
"aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
|
|
88
|
+
"aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
|
|
89
|
+
"aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
|
|
90
|
+
accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
|
|
91
|
+
"aria-busy"?: boolean | undefined;
|
|
92
|
+
"aria-checked"?: (boolean | undefined) | "mixed";
|
|
93
|
+
"aria-disabled"?: boolean | undefined;
|
|
94
|
+
"aria-expanded"?: boolean | undefined;
|
|
95
|
+
"aria-selected"?: boolean | undefined;
|
|
96
|
+
"aria-hidden"?: boolean | undefined;
|
|
97
|
+
}>, never>>, "ref"> & {
|
|
98
|
+
ref?: React.Ref<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>;
|
|
99
|
+
}, "ref"> & {
|
|
100
|
+
asChild?: boolean;
|
|
101
|
+
} & {
|
|
102
|
+
className?: string;
|
|
103
|
+
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
104
|
+
export { Label };
|
|
105
|
+
//# sourceMappingURL=Label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAE0B,MAAM;yHAUzC,CAAC;AAGH,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import * as MenubarPrimitive from '@rn-primitives/menubar';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { type StyleProp, Text, type TextProps, type ViewStyle } from 'react-native';
|
|
4
|
+
/**
|
|
5
|
+
* Individual menu within the menubar
|
|
6
|
+
*
|
|
7
|
+
* @component
|
|
8
|
+
*/
|
|
9
|
+
declare const MenubarMenu: any;
|
|
10
|
+
/**
|
|
11
|
+
* Groups related menu items together
|
|
12
|
+
*
|
|
13
|
+
* @component
|
|
14
|
+
*/
|
|
15
|
+
declare const MenubarGroup: any;
|
|
16
|
+
/**
|
|
17
|
+
* Portal component to render menu content outside the DOM hierarchy
|
|
18
|
+
*
|
|
19
|
+
* @component
|
|
20
|
+
*/
|
|
21
|
+
declare const MenubarPortal: any;
|
|
22
|
+
/**
|
|
23
|
+
* Root component for nested submenu
|
|
24
|
+
*
|
|
25
|
+
* @component
|
|
26
|
+
*/
|
|
27
|
+
declare const MenubarSub: any;
|
|
28
|
+
/**
|
|
29
|
+
* Groups radio items together with single selection
|
|
30
|
+
*
|
|
31
|
+
* @component
|
|
32
|
+
*/
|
|
33
|
+
declare const MenubarRadioGroup: any;
|
|
34
|
+
/**
|
|
35
|
+
* Root menubar component for application-level menu navigation
|
|
36
|
+
*
|
|
37
|
+
* Provides horizontal menu bar similar to desktop applications, with support
|
|
38
|
+
* for nested menus and automatic close on outside press.
|
|
39
|
+
*
|
|
40
|
+
* @component
|
|
41
|
+
* @example
|
|
42
|
+
* ```tsx
|
|
43
|
+
* <Menubar>
|
|
44
|
+
* <MenubarMenu>
|
|
45
|
+
* <MenubarTrigger>
|
|
46
|
+
* <Text>File</Text>
|
|
47
|
+
* </MenubarTrigger>
|
|
48
|
+
* <MenubarContent>
|
|
49
|
+
* <MenubarItem>
|
|
50
|
+
* <Text>New File</Text>
|
|
51
|
+
* </MenubarItem>
|
|
52
|
+
* <MenubarItem>
|
|
53
|
+
* <Text>Open</Text>
|
|
54
|
+
* </MenubarItem>
|
|
55
|
+
* </MenubarContent>
|
|
56
|
+
* </MenubarMenu>
|
|
57
|
+
* </Menubar>
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @accessibility
|
|
61
|
+
* - Keyboard navigation support
|
|
62
|
+
* - Proper ARIA attributes for menu structure
|
|
63
|
+
*/
|
|
64
|
+
declare function Menubar({ className, value: valueProp, onValueChange: onValueChangeProp, ...props }: MenubarPrimitive.RootProps & React.RefAttributes<MenubarPrimitive.RootRef>): import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
/**
|
|
66
|
+
* Trigger button for a menubar menu
|
|
67
|
+
*
|
|
68
|
+
* @component
|
|
69
|
+
* @example
|
|
70
|
+
* ```tsx
|
|
71
|
+
* <MenubarTrigger>
|
|
72
|
+
* <Text>Edit</Text>
|
|
73
|
+
* </MenubarTrigger>
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
declare function MenubarTrigger({ className, ...props }: MenubarPrimitive.TriggerProps & React.RefAttributes<MenubarPrimitive.TriggerRef>): import("react/jsx-runtime").JSX.Element;
|
|
77
|
+
/**
|
|
78
|
+
* Trigger for opening a nested submenu
|
|
79
|
+
* @component
|
|
80
|
+
*/
|
|
81
|
+
declare function MenubarSubTrigger({ className: _className, inset, children, iconClassName, ...props }: MenubarPrimitive.SubTriggerProps & React.RefAttributes<MenubarPrimitive.SubTriggerRef> & {
|
|
82
|
+
children?: React.ReactNode;
|
|
83
|
+
iconClassName?: string;
|
|
84
|
+
inset?: boolean;
|
|
85
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
86
|
+
/**
|
|
87
|
+
* Content container for nested submenu items
|
|
88
|
+
* @component
|
|
89
|
+
*/
|
|
90
|
+
declare function MenubarSubContent({ className, ...props }: MenubarPrimitive.SubContentProps & React.RefAttributes<MenubarPrimitive.SubContentRef>): import("react/jsx-runtime").JSX.Element;
|
|
91
|
+
/**
|
|
92
|
+
* Main content container for menu items
|
|
93
|
+
* @component
|
|
94
|
+
*/
|
|
95
|
+
declare function MenubarContent({ className, overlayClassName: _overlayClassName, overlayStyle: _overlayStyle, portalHost, align, alignOffset, sideOffset, ...props }: MenubarPrimitive.ContentProps & React.RefAttributes<MenubarPrimitive.ContentRef> & {
|
|
96
|
+
overlayStyle?: StyleProp<ViewStyle>;
|
|
97
|
+
overlayClassName?: string;
|
|
98
|
+
portalHost?: string;
|
|
99
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
100
|
+
/**
|
|
101
|
+
* Individual menu item component
|
|
102
|
+
* @component
|
|
103
|
+
*/
|
|
104
|
+
declare function MenubarItem({ className, inset, variant, ...props }: MenubarPrimitive.ItemProps & React.RefAttributes<MenubarPrimitive.ItemRef> & {
|
|
105
|
+
className?: string;
|
|
106
|
+
inset?: boolean;
|
|
107
|
+
variant?: 'default' | 'destructive';
|
|
108
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
109
|
+
/**
|
|
110
|
+
* Menu item with checkbox for multi-selection
|
|
111
|
+
* @component
|
|
112
|
+
*/
|
|
113
|
+
declare function MenubarCheckboxItem({ className, children, ...props }: MenubarPrimitive.CheckboxItemProps & React.RefAttributes<MenubarPrimitive.CheckboxItemRef> & {
|
|
114
|
+
children?: React.ReactNode;
|
|
115
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
116
|
+
/**
|
|
117
|
+
* Menu item with radio button for single selection within a group
|
|
118
|
+
* @component
|
|
119
|
+
*/
|
|
120
|
+
declare function MenubarRadioItem({ className, children, ...props }: MenubarPrimitive.RadioItemProps & React.RefAttributes<MenubarPrimitive.RadioItemRef> & {
|
|
121
|
+
children?: React.ReactNode;
|
|
122
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
123
|
+
/**
|
|
124
|
+
* Label component for grouping and describing menu sections
|
|
125
|
+
* @component
|
|
126
|
+
*/
|
|
127
|
+
declare function MenubarLabel({ className, inset, ...props }: MenubarPrimitive.LabelProps & React.RefAttributes<MenubarPrimitive.LabelRef> & {
|
|
128
|
+
className?: string;
|
|
129
|
+
inset?: boolean;
|
|
130
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
131
|
+
/**
|
|
132
|
+
* Visual separator between menu items or sections
|
|
133
|
+
* @component
|
|
134
|
+
*/
|
|
135
|
+
declare function MenubarSeparator({ className, ...props }: MenubarPrimitive.SeparatorProps & React.RefAttributes<MenubarPrimitive.SeparatorRef>): import("react/jsx-runtime").JSX.Element;
|
|
136
|
+
/**
|
|
137
|
+
* Displays keyboard shortcut hint for menu items
|
|
138
|
+
* @component
|
|
139
|
+
*/
|
|
140
|
+
declare function MenubarShortcut({ className, ...props }: TextProps & React.RefAttributes<Text>): import("react/jsx-runtime").JSX.Element;
|
|
141
|
+
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, };
|
|
142
|
+
//# sourceMappingURL=Menubar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Menubar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Menubar.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC;AAQ3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAGL,KAAK,SAAS,EAEd,IAAI,EACJ,KAAK,SAAS,EAEd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAStB;;;;GAIG;AACH,QAAA,MAAM,WAAW,KAAwB,CAAC;AAE1C;;;;GAIG;AACH,QAAA,MAAM,YAAY,KAAyB,CAAC;AAE5C;;;;GAIG;AACH,QAAA,MAAM,aAAa,KAA0B,CAAC;AAE9C;;;;GAIG;AACH,QAAA,MAAM,UAAU,KAAuB,CAAC;AAExC;;;;GAIG;AACH,QAAA,MAAM,iBAAiB,KAA8B,CAAC;AAQtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,iBAAS,OAAO,CAAC,EACf,SAAS,EACT,KAAK,EAAE,SAAS,EAChB,aAAa,EAAE,iBAAiB,EAChC,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,OAAO,CAAC,2CA8B5E;AAED;;;;;;;;;;GAUG;AACH,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,YAAY,GAC9B,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,UAAU,CAAC,2CAwBjD;AAED;;;GAGG;AACH,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EAAE,UAAU,EACrB,KAAK,EACL,QAAQ,EACR,aAAa,EACb,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,eAAe,GACjC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,aAAa,CAAC,GAAG;IACpD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,2CAiCF;AAED;;;GAGG;AACH,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,eAAe,GACjC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,aAAa,CAAC,2CAepD;AAED;;;GAGG;AACH,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,gBAAgB,EAAE,iBAAiB,EACnC,YAAY,EAAE,aAAa,EAC3B,UAAU,EACV,KAAe,EACf,WAAgB,EAChB,UAAc,EACd,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,YAAY,GAC9B,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG;IACjD,YAAY,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,2CAgCF;AAED;;;GAGG;AACH,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,KAAK,EACL,OAAO,EACP,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,SAAS,GAC3B,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,OAAO,CAAC,GAAG;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;CACrC,2CA6BF;AAED;;;GAGG;AACH,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,iBAAiB,GACnC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,eAAe,CAAC,GAAG;IACtD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,2CA6BF;AAED;;;GAGG;AACH,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,cAAc,GAChC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,YAAY,CAAC,GAAG;IACnD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,2CAuBF;AAED;;;GAGG;AACH,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,UAAU,GAC5B,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,QAAQ,CAAC,GAAG;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,2CAWF;AAED;;;GAGG;AACH,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,cAAc,GAChC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,YAAY,CAAC,2CAOnD;AAED;;;GAGG;AACH,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,2CAUvC;AAED,OAAO,EACL,OAAO,EACP,mBAAmB,EACnB,cAAc,EACd,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,GACf,CAAC"}
|