@campxdev/react-native-blueprint 0.1.8 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +188 -89
- package/lib/commonjs/app/_layout.js +34 -0
- package/lib/commonjs/app/_layout.js.map +1 -0
- package/lib/commonjs/assets/icons/weather_icons/drizzle.png +0 -0
- package/lib/commonjs/assets/icons/weather_icons/foggy.png +0 -0
- package/lib/commonjs/assets/icons/weather_icons/freezing_rain.png +0 -0
- package/lib/commonjs/assets/icons/weather_icons/partly_cloudy.png +0 -0
- package/lib/commonjs/assets/icons/weather_icons/rainy.png +0 -0
- package/lib/commonjs/assets/icons/weather_icons/showers.png +0 -0
- package/lib/commonjs/assets/icons/weather_icons/sunny_weather.png +0 -0
- package/lib/commonjs/assets/icons/weather_icons/thunderstorm.png +0 -0
- package/lib/commonjs/assets/icons/weather_icons/thunderstorm_hail.png +0 -0
- package/lib/commonjs/components/theme-config.js +274 -0
- package/lib/commonjs/components/theme-config.js.map +1 -0
- package/lib/commonjs/components/ui/Accordion.js +235 -0
- package/lib/commonjs/components/ui/Accordion.js.map +1 -0
- package/lib/commonjs/components/ui/Alert-Dialog.js +280 -0
- package/lib/commonjs/components/ui/Alert-Dialog.js.map +1 -0
- package/lib/commonjs/components/ui/Alert.js +113 -0
- package/lib/commonjs/components/ui/Alert.js.map +1 -0
- package/lib/commonjs/components/ui/AppBar.js +407 -0
- package/lib/commonjs/components/ui/AppBar.js.map +1 -0
- package/lib/commonjs/components/ui/Aspect-Ratio.js +30 -0
- package/lib/commonjs/components/ui/Aspect-Ratio.js.map +1 -0
- package/lib/commonjs/components/ui/Avatar.js +101 -0
- package/lib/commonjs/components/ui/Avatar.js.map +1 -0
- package/lib/commonjs/components/ui/Badge.js +131 -0
- package/lib/commonjs/components/ui/Badge.js.map +1 -0
- package/lib/commonjs/components/ui/Bottom-Sheet.js +156 -0
- package/lib/commonjs/components/ui/Bottom-Sheet.js.map +1 -0
- package/lib/commonjs/components/ui/Button.js +92 -0
- package/lib/commonjs/components/ui/Button.js.map +1 -0
- package/lib/commonjs/components/ui/Card.js +180 -0
- package/lib/commonjs/components/ui/Card.js.map +1 -0
- package/lib/commonjs/components/ui/Checkbox.js +69 -0
- package/lib/commonjs/components/ui/Checkbox.js.map +1 -0
- package/lib/commonjs/components/ui/Collapsible.js +45 -0
- package/lib/commonjs/components/ui/Collapsible.js.map +1 -0
- package/lib/commonjs/components/ui/Context-Menu.js +304 -0
- package/lib/commonjs/components/ui/Context-Menu.js.map +1 -0
- package/lib/commonjs/components/ui/Custom-Card.js +210 -0
- package/lib/commonjs/components/ui/Custom-Card.js.map +1 -0
- package/lib/commonjs/components/ui/Dialog.js +214 -0
- package/lib/commonjs/components/ui/Dialog.js.map +1 -0
- package/lib/commonjs/components/ui/Dropdown-Menu.js +438 -0
- package/lib/commonjs/components/ui/Dropdown-Menu.js.map +1 -0
- package/lib/commonjs/components/ui/Floating-Action.js +55 -0
- package/lib/commonjs/components/ui/Floating-Action.js.map +1 -0
- package/lib/commonjs/components/ui/Greeting-Card.js +401 -0
- package/lib/commonjs/components/ui/Greeting-Card.js.map +1 -0
- package/lib/commonjs/components/ui/Hover-Card.js +100 -0
- package/lib/commonjs/components/ui/Hover-Card.js.map +1 -0
- package/lib/commonjs/components/ui/Icon.js +76 -0
- package/lib/commonjs/components/ui/Icon.js.map +1 -0
- package/lib/commonjs/components/ui/Input.js +79 -0
- package/lib/commonjs/components/ui/Input.js.map +1 -0
- package/lib/commonjs/components/ui/Label.js +48 -0
- package/lib/commonjs/components/ui/Label.js.map +1 -0
- package/lib/commonjs/components/ui/Menubar.js +392 -0
- package/lib/commonjs/components/ui/Menubar.js.map +1 -0
- package/lib/commonjs/components/ui/Native-Only-Animated-View.js +43 -0
- package/lib/commonjs/components/ui/Native-Only-Animated-View.js.map +1 -0
- package/lib/commonjs/components/ui/NavBar.js +356 -0
- package/lib/commonjs/components/ui/NavBar.js.map +1 -0
- package/lib/commonjs/components/ui/Popover.js +105 -0
- package/lib/commonjs/components/ui/Popover.js.map +1 -0
- package/lib/commonjs/components/ui/Progress.js +127 -0
- package/lib/commonjs/components/ui/Progress.js.map +1 -0
- package/lib/commonjs/components/ui/Radio-Group.js +78 -0
- package/lib/commonjs/components/ui/Radio-Group.js.map +1 -0
- package/lib/commonjs/components/ui/Select.js +283 -0
- package/lib/commonjs/components/ui/Select.js.map +1 -0
- package/lib/commonjs/components/ui/Separator.js +62 -0
- package/lib/commonjs/components/ui/Separator.js.map +1 -0
- package/lib/commonjs/components/ui/SizedBox.js +106 -0
- package/lib/commonjs/components/ui/SizedBox.js.map +1 -0
- package/lib/commonjs/components/ui/Skeleton.js +60 -0
- package/lib/commonjs/components/ui/Skeleton.js.map +1 -0
- package/lib/commonjs/components/ui/Slider.js +178 -0
- package/lib/commonjs/components/ui/Slider.js.map +1 -0
- package/lib/commonjs/components/ui/Switch.js +57 -0
- package/lib/commonjs/components/ui/Switch.js.map +1 -0
- package/lib/commonjs/components/ui/Table.js +161 -0
- package/lib/commonjs/components/ui/Table.js.map +1 -0
- package/lib/commonjs/components/ui/Tabs.js +111 -0
- package/lib/commonjs/components/ui/Tabs.js.map +1 -0
- package/lib/commonjs/components/ui/Text.js +73 -0
- package/lib/commonjs/components/ui/Text.js.map +1 -0
- package/lib/commonjs/components/ui/Textarea.js +93 -0
- package/lib/commonjs/components/ui/Textarea.js.map +1 -0
- package/lib/commonjs/components/ui/Theme-Toggle.js +160 -0
- package/lib/commonjs/components/ui/Theme-Toggle.js.map +1 -0
- package/lib/commonjs/components/ui/Toast.js +107 -0
- package/lib/commonjs/components/ui/Toast.js.map +1 -0
- package/lib/commonjs/components/ui/Toggle-Group.js +133 -0
- package/lib/commonjs/components/ui/Toggle-Group.js.map +1 -0
- package/lib/commonjs/components/ui/Toggle.js +110 -0
- package/lib/commonjs/components/ui/Toggle.js.map +1 -0
- package/lib/commonjs/components/ui/Tooltip.js +110 -0
- package/lib/commonjs/components/ui/Tooltip.js.map +1 -0
- package/lib/commonjs/components/ui/index.js +479 -0
- package/lib/commonjs/components/ui/index.js.map +1 -0
- package/lib/commonjs/global.css +417 -0
- package/lib/commonjs/index.js +118 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/lib/ThemeProvider.js +180 -0
- package/lib/commonjs/lib/ThemeProvider.js.map +1 -0
- package/lib/commonjs/lib/cornerRadius.js +171 -0
- package/lib/commonjs/lib/cornerRadius.js.map +1 -0
- package/lib/commonjs/lib/fonts.js +101 -0
- package/lib/commonjs/lib/fonts.js.map +1 -0
- package/lib/commonjs/lib/slot-helpers.js +24 -0
- package/lib/commonjs/lib/slot-helpers.js.map +1 -0
- package/lib/commonjs/lib/theme.js +215 -0
- package/lib/commonjs/lib/theme.js.map +1 -0
- package/lib/commonjs/lib/utils.js +142 -0
- package/lib/commonjs/lib/utils.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/types/components.d.js +6 -0
- package/lib/commonjs/types/components.d.js.map +1 -0
- package/lib/commonjs/types/global.d.js +8 -0
- package/lib/commonjs/types/global.d.js.map +1 -0
- package/lib/commonjs/types/rn-primitives.d.js +6 -0
- package/lib/commonjs/types/rn-primitives.d.js.map +1 -0
- package/lib/module/components/ui/Alert-Dialog.js.map +1 -1
- package/lib/module/components/ui/Context-Menu.js.map +1 -1
- package/lib/module/components/ui/Dropdown-Menu.js.map +1 -1
- package/lib/module/components/ui/Menubar.js.map +1 -1
- package/lib/module/components/ui/Tabs.js.map +1 -1
- package/lib/module/components/ui/Toggle-Group.js.map +1 -1
- package/lib/module/lib/fonts.js +81 -8
- package/lib/module/lib/fonts.js.map +1 -1
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/src/app/_layout.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/theme-config.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Accordion.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Alert-Dialog.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Alert.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/AppBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Aspect-Ratio.d.ts.map +1 -0
- package/lib/typescript/{src → commonjs/src}/components/ui/Avatar.d.ts +59 -59
- package/lib/typescript/{src → commonjs/src}/components/ui/Avatar.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/ui/Badge.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Bottom-Sheet.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Button.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Card.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Checkbox.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Collapsible.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Context-Menu.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Custom-Card.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Dialog.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Dropdown-Menu.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Floating-Action.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Greeting-Card.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Hover-Card.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Icon.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Input.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Label.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Menubar.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Native-Only-Animated-View.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/NavBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Popover.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Progress.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Radio-Group.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Select.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Separator.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/SizedBox.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Skeleton.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Slider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Switch.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Table.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Tabs.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Text.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Textarea.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Theme-Toggle.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Toast.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Toggle-Group.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Toggle.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/Tooltip.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ui/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/lib/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/lib/cornerRadius.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/lib/fonts.d.ts +16 -0
- package/lib/typescript/commonjs/src/lib/fonts.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/lib/slot-helpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/lib/theme.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/lib/utils.d.ts.map +1 -0
- package/lib/typescript/module/src/app/_layout.d.ts +7 -0
- package/lib/typescript/module/src/app/_layout.d.ts.map +1 -0
- package/lib/typescript/module/src/components/theme-config.d.ts +174 -0
- package/lib/typescript/module/src/components/theme-config.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Accordion.d.ts +103 -0
- package/lib/typescript/module/src/components/ui/Accordion.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Alert-Dialog.d.ts +145 -0
- package/lib/typescript/module/src/components/ui/Alert-Dialog.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Alert.d.ts +61 -0
- package/lib/typescript/module/src/components/ui/Alert.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/AppBar.d.ts +227 -0
- package/lib/typescript/module/src/components/ui/AppBar.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Aspect-Ratio.d.ts +24 -0
- package/lib/typescript/module/src/components/ui/Aspect-Ratio.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Avatar.d.ts +1486 -0
- package/lib/typescript/module/src/components/ui/Avatar.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Badge.d.ts +77 -0
- package/lib/typescript/module/src/components/ui/Badge.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Bottom-Sheet.d.ts +43 -0
- package/lib/typescript/module/src/components/ui/Bottom-Sheet.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Button.d.ts +23 -0
- package/lib/typescript/module/src/components/ui/Button.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Card.d.ts +93 -0
- package/lib/typescript/module/src/components/ui/Card.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Checkbox.d.ts +36 -0
- package/lib/typescript/module/src/components/ui/Checkbox.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Collapsible.d.ts +37 -0
- package/lib/typescript/module/src/components/ui/Collapsible.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Context-Menu.d.ts +107 -0
- package/lib/typescript/module/src/components/ui/Context-Menu.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Custom-Card.d.ts +103 -0
- package/lib/typescript/module/src/components/ui/Custom-Card.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Dialog.d.ts +90 -0
- package/lib/typescript/module/src/components/ui/Dialog.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Dropdown-Menu.d.ts +242 -0
- package/lib/typescript/module/src/components/ui/Dropdown-Menu.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Floating-Action.d.ts +44 -0
- package/lib/typescript/module/src/components/ui/Floating-Action.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Greeting-Card.d.ts +153 -0
- package/lib/typescript/module/src/components/ui/Greeting-Card.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Hover-Card.d.ts +49 -0
- package/lib/typescript/module/src/components/ui/Hover-Card.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Icon.d.ts +43 -0
- package/lib/typescript/module/src/components/ui/Icon.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Input.d.ts +54 -0
- package/lib/typescript/module/src/components/ui/Input.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Label.d.ts +34 -0
- package/lib/typescript/module/src/components/ui/Label.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Menubar.d.ts +142 -0
- package/lib/typescript/module/src/components/ui/Menubar.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Native-Only-Animated-View.d.ts +26 -0
- package/lib/typescript/module/src/components/ui/Native-Only-Animated-View.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/NavBar.d.ts +273 -0
- package/lib/typescript/module/src/components/ui/NavBar.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Popover.d.ts +54 -0
- package/lib/typescript/module/src/components/ui/Popover.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Progress.d.ts +27 -0
- package/lib/typescript/module/src/components/ui/Progress.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Radio-Group.d.ts +47 -0
- package/lib/typescript/module/src/components/ui/Radio-Group.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Select.d.ts +86 -0
- package/lib/typescript/module/src/components/ui/Select.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Separator.d.ts +40 -0
- package/lib/typescript/module/src/components/ui/Separator.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/SizedBox.d.ts +79 -0
- package/lib/typescript/module/src/components/ui/SizedBox.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Skeleton.d.ts +42 -0
- package/lib/typescript/module/src/components/ui/Skeleton.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Slider.d.ts +56 -0
- package/lib/typescript/module/src/components/ui/Slider.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Switch.d.ts +34 -0
- package/lib/typescript/module/src/components/ui/Switch.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Table.d.ts +80 -0
- package/lib/typescript/module/src/components/ui/Table.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Tabs.d.ts +51 -0
- package/lib/typescript/module/src/components/ui/Tabs.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Text.d.ts +45 -0
- package/lib/typescript/module/src/components/ui/Text.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Textarea.d.ts +65 -0
- package/lib/typescript/module/src/components/ui/Textarea.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Theme-Toggle.d.ts +67 -0
- package/lib/typescript/module/src/components/ui/Theme-Toggle.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Toast.d.ts +56 -0
- package/lib/typescript/module/src/components/ui/Toast.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Toggle-Group.d.ts +49 -0
- package/lib/typescript/module/src/components/ui/Toggle-Group.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Toggle.d.ts +53 -0
- package/lib/typescript/module/src/components/ui/Toggle.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/Tooltip.d.ts +51 -0
- package/lib/typescript/module/src/components/ui/Tooltip.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ui/index.d.ts +44 -0
- package/lib/typescript/module/src/components/ui/index.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +9 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/lib/typescript/module/src/lib/ThemeProvider.d.ts +137 -0
- package/lib/typescript/module/src/lib/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/module/src/lib/cornerRadius.d.ts +112 -0
- package/lib/typescript/module/src/lib/cornerRadius.d.ts.map +1 -0
- package/lib/typescript/module/src/lib/fonts.d.ts +16 -0
- package/lib/typescript/module/src/lib/fonts.d.ts.map +1 -0
- package/lib/typescript/module/src/lib/slot-helpers.d.ts +32 -0
- package/lib/typescript/module/src/lib/slot-helpers.d.ts.map +1 -0
- package/lib/typescript/module/src/lib/theme.d.ts +87 -0
- package/lib/typescript/module/src/lib/theme.d.ts.map +1 -0
- package/lib/typescript/module/src/lib/utils.d.ts +111 -0
- package/lib/typescript/module/src/lib/utils.d.ts.map +1 -0
- package/package.json +180 -50
- package/src/components/ui/Alert-Dialog.tsx +2 -2
- package/src/components/ui/Context-Menu.tsx +1 -1
- package/src/components/ui/Dropdown-Menu.tsx +1 -1
- package/src/components/ui/Menubar.tsx +2 -2
- package/src/components/ui/Tabs.tsx +1 -1
- package/src/components/ui/Toggle-Group.tsx +2 -2
- package/src/lib/fonts.ts +83 -12
- package/lib/typescript/src/app/_layout.d.ts.map +0 -1
- package/lib/typescript/src/components/theme-config.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Accordion.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Alert-Dialog.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Alert.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/AppBar.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Aspect-Ratio.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Badge.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Bottom-Sheet.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Button.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Card.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Checkbox.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Collapsible.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Context-Menu.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Custom-Card.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Dialog.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Dropdown-Menu.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Floating-Action.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Greeting-Card.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Hover-Card.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Icon.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Input.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Label.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Menubar.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Native-Only-Animated-View.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/NavBar.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Popover.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Progress.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Radio-Group.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Select.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Separator.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/SizedBox.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Skeleton.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Slider.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Switch.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Table.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Tabs.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Text.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Textarea.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Theme-Toggle.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Toast.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Toggle-Group.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Toggle.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/Tooltip.d.ts.map +0 -1
- package/lib/typescript/src/components/ui/index.d.ts.map +0 -1
- package/lib/typescript/src/index.d.ts.map +0 -1
- package/lib/typescript/src/lib/ThemeProvider.d.ts.map +0 -1
- package/lib/typescript/src/lib/cornerRadius.d.ts.map +0 -1
- package/lib/typescript/src/lib/fonts.d.ts +0 -21
- package/lib/typescript/src/lib/fonts.d.ts.map +0 -1
- package/lib/typescript/src/lib/slot-helpers.d.ts.map +0 -1
- package/lib/typescript/src/lib/theme.d.ts.map +0 -1
- package/lib/typescript/src/lib/utils.d.ts.map +0 -1
- /package/lib/typescript/{src → commonjs/src}/app/_layout.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/theme-config.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Accordion.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Alert-Dialog.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Alert.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/AppBar.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Aspect-Ratio.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Badge.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Bottom-Sheet.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Button.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Card.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Checkbox.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Collapsible.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Context-Menu.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Custom-Card.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Dialog.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Dropdown-Menu.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Floating-Action.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Greeting-Card.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Hover-Card.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Icon.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Input.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Label.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Menubar.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Native-Only-Animated-View.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/NavBar.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Popover.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Progress.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Radio-Group.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Select.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Separator.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/SizedBox.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Skeleton.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Slider.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Switch.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Table.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Tabs.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Text.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Textarea.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Theme-Toggle.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Toast.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Toggle-Group.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Toggle.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/Tooltip.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/components/ui/index.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/index.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/lib/ThemeProvider.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/lib/cornerRadius.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/lib/slot-helpers.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/lib/theme.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/lib/utils.d.ts +0 -0
- /package/lib/typescript/{package.json → module/package.json} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAW,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAWxE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,MAAM;gBAEyB,MAAM;yHAazC,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA6Cq7sB,CAAC;sBAAoB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eApCv6sB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAjCtD,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAqEs8sB,CAAC;sBAAoB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eApCv6sB,CAAC;;;;;;;;;gBANtC,MAAM;UACZ,MAAM;0HAUd,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,cAAc;gBAEiB,MAAM;yHAazC,CAAC;AAGH,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import type { SlottableViewProps } from '@rn-primitives/types';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
/**
|
|
5
|
+
* Badge container style variants
|
|
6
|
+
*
|
|
7
|
+
* @variant default - Primary badge with solid background
|
|
8
|
+
* @variant secondary - Secondary badge with muted background
|
|
9
|
+
* @variant destructive - Destructive badge with danger/error styling
|
|
10
|
+
* @variant outline - Badge with border and transparent background
|
|
11
|
+
*/
|
|
12
|
+
declare const badgeVariants: (props?: ({
|
|
13
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
14
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
|
+
/**
|
|
16
|
+
* Badge text style variants for matching text colors with badge variants
|
|
17
|
+
* Applied through TextClassContext to child Text components
|
|
18
|
+
*
|
|
19
|
+
* Variants match badgeVariants to ensure proper contrast
|
|
20
|
+
* @see badgeVariants
|
|
21
|
+
*/
|
|
22
|
+
declare const badgeTextVariants: (props?: ({
|
|
23
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
24
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
25
|
+
/**
|
|
26
|
+
* Props for Badge component
|
|
27
|
+
*
|
|
28
|
+
* @extends SlottableViewProps - Includes all View props plus asChild for slot composition
|
|
29
|
+
* @extends VariantProps - Includes variant styling options from badgeVariants
|
|
30
|
+
*
|
|
31
|
+
* @property {string} [className] - Additional Tailwind classes for custom styling
|
|
32
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
33
|
+
* @property {'default' | 'secondary' | 'destructive' | 'outline'} [variant='default'] - Badge style variant
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```tsx
|
|
37
|
+
* <Badge variant="default">
|
|
38
|
+
* <Text>New</Text>
|
|
39
|
+
* </Badge>
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
type BadgeProps = SlottableViewProps & VariantProps<typeof badgeVariants> & {
|
|
43
|
+
className?: string;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* A compact badge component for displaying status, labels, or counts
|
|
47
|
+
*
|
|
48
|
+
* Small, pill-shaped component for highlighting information. Supports multiple
|
|
49
|
+
* variants for different contexts and automatically styles child Text components.
|
|
50
|
+
*
|
|
51
|
+
* @component
|
|
52
|
+
* @example
|
|
53
|
+
* ```tsx
|
|
54
|
+
* // Status badge
|
|
55
|
+
* <Badge variant="default">
|
|
56
|
+
* <Text>Active</Text>
|
|
57
|
+
* </Badge>
|
|
58
|
+
*
|
|
59
|
+
* // Count badge
|
|
60
|
+
* <Badge variant="destructive">
|
|
61
|
+
* <Text>5</Text>
|
|
62
|
+
* </Badge>
|
|
63
|
+
*
|
|
64
|
+
* // Outline badge
|
|
65
|
+
* <Badge variant="outline">
|
|
66
|
+
* <Text>Draft</Text>
|
|
67
|
+
* </Badge>
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
declare const Badge: React.ForwardRefExoticComponent<SlottableViewProps & VariantProps<(props?: ({
|
|
71
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
72
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
|
|
73
|
+
className?: string;
|
|
74
|
+
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
75
|
+
export { Badge, badgeTextVariants, badgeVariants };
|
|
76
|
+
export type { BadgeProps };
|
|
77
|
+
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Badge.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B;;;;;;;GAOG;AACH,QAAA,MAAM,aAAa;;8EAelB,CAAC;AAEF;;;;;;GAMG;AACH,QAAA,MAAM,iBAAiB;;8EAYrB,CAAC;AAEH;;;;;;;;;;;;;;;;GAgBG;AACH,KAAK,UAAU,GAAG,kBAAkB,GAClC,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9D;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,QAAA,MAAM,KAAK;;;gBA3B0C,MAAM;yHAwC1D,CAAC;AAGF,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,CAAC;AACnD,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ViewStyle } from 'react-native';
|
|
3
|
+
type BottomSheetRef = {
|
|
4
|
+
open: () => void;
|
|
5
|
+
close: () => void;
|
|
6
|
+
expand: () => void;
|
|
7
|
+
collapse: () => void;
|
|
8
|
+
snapToIndex: (index: number) => void;
|
|
9
|
+
};
|
|
10
|
+
interface BottomSheetProps {
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
snapPoints?: (string | number)[];
|
|
13
|
+
initialSnapIndex?: number;
|
|
14
|
+
enablePanDownToClose?: boolean;
|
|
15
|
+
enableDynamicSizing?: boolean;
|
|
16
|
+
backdropOpacity?: number;
|
|
17
|
+
enableBackdropDismiss?: boolean;
|
|
18
|
+
handleIndicatorStyle?: ViewStyle;
|
|
19
|
+
backgroundStyle?: ViewStyle;
|
|
20
|
+
className?: string;
|
|
21
|
+
containerClassName?: string;
|
|
22
|
+
onChange?: (index: number) => void;
|
|
23
|
+
onClose?: () => void;
|
|
24
|
+
}
|
|
25
|
+
declare const BottomSheet: React.ForwardRefExoticComponent<BottomSheetProps & React.RefAttributes<BottomSheetRef>>;
|
|
26
|
+
interface BottomSheetHeaderProps {
|
|
27
|
+
children: React.ReactNode;
|
|
28
|
+
className?: string;
|
|
29
|
+
}
|
|
30
|
+
declare const BottomSheetHeader: ({ children, className }: BottomSheetHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
interface BottomSheetContentProps {
|
|
32
|
+
children: React.ReactNode;
|
|
33
|
+
className?: string;
|
|
34
|
+
}
|
|
35
|
+
declare const BottomSheetContent: ({ children, className, }: BottomSheetContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
interface BottomSheetFooterProps {
|
|
37
|
+
children: React.ReactNode;
|
|
38
|
+
className?: string;
|
|
39
|
+
}
|
|
40
|
+
declare const BottomSheetFooter: ({ children, className }: BottomSheetFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export { BottomSheet, BottomSheetHeader, BottomSheetContent, BottomSheetFooter, };
|
|
42
|
+
export type { BottomSheetRef, BottomSheetProps };
|
|
43
|
+
//# sourceMappingURL=Bottom-Sheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Bottom-Sheet.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Bottom-Sheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAO,EAA8B,SAAS,EAAE,MAAM,cAAc,CAAC;AAkBrE,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AAEF,UAAU,gBAAgB;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IACjC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,oBAAoB,CAAC,EAAE,SAAS,CAAC;IACjC,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,QAAA,MAAM,WAAW,yFA0GhB,CAAC;AAsBF,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,iBAAiB,GAAI,yBAAyB,sBAAsB,4CAQzE,CAAC;AAGF,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,kBAAkB,GAAI,0BAGzB,uBAAuB,4CAMzB,CAAC;AAGF,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,iBAAiB,GAAI,yBAAyB,sBAAsB,4CAQzE,CAAC;AAEF,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,CAAC;AACF,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { SlottablePressableProps } from '@rn-primitives/types';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
declare const buttonVariants: (props?: ({
|
|
5
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
6
|
+
size?: "default" | "icon" | "sm" | "lg" | null | undefined;
|
|
7
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
+
declare const buttonTextVariants: (props?: ({
|
|
9
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
10
|
+
size?: "default" | "icon" | "sm" | "lg" | null | undefined;
|
|
11
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
12
|
+
type ButtonProps = SlottablePressableProps & VariantProps<typeof buttonVariants> & {
|
|
13
|
+
className?: string;
|
|
14
|
+
};
|
|
15
|
+
declare const Button: React.ForwardRefExoticComponent<SlottablePressableProps & VariantProps<(props?: ({
|
|
16
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
17
|
+
size?: "default" | "icon" | "sm" | "lg" | null | undefined;
|
|
18
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
|
|
19
|
+
className?: string;
|
|
20
|
+
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
21
|
+
export { Button, buttonTextVariants, buttonVariants };
|
|
22
|
+
export type { ButtonProps };
|
|
23
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,QAAA,MAAM,cAAc;;;8EAyBnB,CAAC;AAEF,QAAA,MAAM,kBAAkB;;;8EAyBvB,CAAC;AAEF,KAAK,WAAW,GAAG,uBAAuB,GACxC,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEJ,QAAA,MAAM,MAAM;;;;gBAHI,MAAM;yHAuBrB,CAAC;AAIF,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,cAAc,EAAE,CAAC;AACtD,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { SlottableViewProps } from '@rn-primitives/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Card container component - Main wrapper for card content
|
|
5
|
+
*
|
|
6
|
+
* Provides elevated container with border, rounded corners, and shadow.
|
|
7
|
+
* Use with CardHeader, CardTitle, CardDescription, CardContent, and CardFooter
|
|
8
|
+
* for a complete card structure.
|
|
9
|
+
*
|
|
10
|
+
* @component
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <Card>
|
|
14
|
+
* <CardHeader>
|
|
15
|
+
* <CardTitle><Text>Title</Text></CardTitle>
|
|
16
|
+
* <CardDescription><Text>Description</Text></CardDescription>
|
|
17
|
+
* </CardHeader>
|
|
18
|
+
* <CardContent>
|
|
19
|
+
* <Text>Card content goes here</Text>
|
|
20
|
+
* </CardContent>
|
|
21
|
+
* <CardFooter>
|
|
22
|
+
* <Button>Action</Button>
|
|
23
|
+
* </CardFooter>
|
|
24
|
+
* </Card>
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
28
|
+
* @property {string} [className] - Additional Tailwind classes
|
|
29
|
+
*/
|
|
30
|
+
declare const Card: React.ForwardRefExoticComponent<SlottableViewProps & {
|
|
31
|
+
className?: string;
|
|
32
|
+
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
33
|
+
/**
|
|
34
|
+
* CardHeader - Container for card title and description
|
|
35
|
+
*
|
|
36
|
+
* Provides proper spacing for title and description elements at the top of a card.
|
|
37
|
+
*
|
|
38
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
39
|
+
* @property {string} [className] - Additional Tailwind classes
|
|
40
|
+
*/
|
|
41
|
+
declare const CardHeader: React.ForwardRefExoticComponent<SlottableViewProps & {
|
|
42
|
+
className?: string;
|
|
43
|
+
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
44
|
+
/**
|
|
45
|
+
* CardTitle - Main title text for the card
|
|
46
|
+
*
|
|
47
|
+
* Automatically styles child Text components with large, semibold typography.
|
|
48
|
+
* Uses TextClassContext to apply consistent styling to nested Text elements.
|
|
49
|
+
*
|
|
50
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
51
|
+
* @property {string} [className] - Additional Tailwind classes for text styling
|
|
52
|
+
*/
|
|
53
|
+
declare const CardTitle: React.ForwardRefExoticComponent<SlottableViewProps & {
|
|
54
|
+
className?: string;
|
|
55
|
+
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
56
|
+
/**
|
|
57
|
+
* CardDescription - Subtitle or description text for the card
|
|
58
|
+
*
|
|
59
|
+
* Automatically styles child Text components with muted, smaller typography.
|
|
60
|
+
* Uses TextClassContext to apply consistent styling to nested Text elements.
|
|
61
|
+
*
|
|
62
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
63
|
+
* @property {string} [className] - Additional Tailwind classes for text styling
|
|
64
|
+
*/
|
|
65
|
+
declare const CardDescription: React.ForwardRefExoticComponent<SlottableViewProps & {
|
|
66
|
+
className?: string;
|
|
67
|
+
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
68
|
+
/**
|
|
69
|
+
* CardContent - Main content area of the card
|
|
70
|
+
*
|
|
71
|
+
* Container for the primary card content with appropriate padding.
|
|
72
|
+
* Top padding is removed to flow naturally after CardHeader.
|
|
73
|
+
*
|
|
74
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
75
|
+
* @property {string} [className] - Additional Tailwind classes
|
|
76
|
+
*/
|
|
77
|
+
declare const CardContent: React.ForwardRefExoticComponent<SlottableViewProps & {
|
|
78
|
+
className?: string;
|
|
79
|
+
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
80
|
+
/**
|
|
81
|
+
* CardFooter - Footer area for actions or additional info
|
|
82
|
+
*
|
|
83
|
+
* Typically contains buttons or other interactive elements.
|
|
84
|
+
* Arranged as a row with centered items.
|
|
85
|
+
*
|
|
86
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
87
|
+
* @property {string} [className] - Additional Tailwind classes
|
|
88
|
+
*/
|
|
89
|
+
declare const CardFooter: React.ForwardRefExoticComponent<SlottableViewProps & {
|
|
90
|
+
className?: string;
|
|
91
|
+
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
92
|
+
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, };
|
|
93
|
+
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Card.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,sBAAsB,CAAC;AAExE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,QAAA,MAAM,IAAI;gBAE2B,MAAM;yHAazC,CAAC;AAGH;;;;;;;GAOG;AACH,QAAA,MAAM,UAAU;gBAEqB,MAAM;yHAUzC,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,SAAS;gBAEsB,MAAM;yHAazC,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,eAAe;gBAEgB,MAAM;yHAazC,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,WAAW;gBAEoB,MAAM;yHAMzC,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,UAAU;gBAEqB,MAAM;yHAUzC,CAAC;AAGH,OAAO,EACL,IAAI,EACJ,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as CheckboxPrimitive from '@rn-primitives/checkbox';
|
|
2
|
+
/**
|
|
3
|
+
* Interactive checkbox for boolean selections
|
|
4
|
+
*
|
|
5
|
+
* A control that allows users to toggle between checked and unchecked states.
|
|
6
|
+
* Features a checkmark indicator, configurable styling, and accessible touch targets.
|
|
7
|
+
*
|
|
8
|
+
* @component
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* // Basic checkbox
|
|
12
|
+
* <Checkbox checked={isChecked} onCheckedChange={setIsChecked} />
|
|
13
|
+
*
|
|
14
|
+
* // Checkbox with label
|
|
15
|
+
* <View className="flex-row items-center gap-2">
|
|
16
|
+
* <Checkbox id="terms" checked={accepted} onCheckedChange={setAccepted} />
|
|
17
|
+
* <Label htmlFor="terms">Accept terms and conditions</Label>
|
|
18
|
+
* </View>
|
|
19
|
+
*
|
|
20
|
+
* // Disabled checkbox
|
|
21
|
+
* <Checkbox checked={true} disabled />
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @accessibility
|
|
25
|
+
* - Uses 24px hit slop for easier touch interaction
|
|
26
|
+
* - Supports keyboard navigation on web
|
|
27
|
+
* - Proper ARIA attributes for screen readers
|
|
28
|
+
* - Visual focus indicators on web
|
|
29
|
+
*/
|
|
30
|
+
declare function Checkbox({ className, checkedClassName, indicatorClassName, iconClassName, ...props }: CheckboxPrimitive.RootProps & React.RefAttributes<CheckboxPrimitive.RootRef> & {
|
|
31
|
+
checkedClassName?: string;
|
|
32
|
+
indicatorClassName?: string;
|
|
33
|
+
iconClassName?: string;
|
|
34
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
export { Checkbox };
|
|
36
|
+
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Checkbox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,iBAAiB,MAAM,yBAAyB,CAAC;AAM7D;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,SAAS,GAC5B,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,OAAO,CAAC,GAAG;IAC/C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,2CA+BF;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as CollapsiblePrimitive from '@rn-primitives/collapsible';
|
|
2
|
+
/**
|
|
3
|
+
* Root collapsible container
|
|
4
|
+
*
|
|
5
|
+
* An interactive component that can show and hide content. Unlike Accordion, it doesn't enforce
|
|
6
|
+
* any specific visual styling, making it more flexible for custom layouts.
|
|
7
|
+
*
|
|
8
|
+
* @component
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <Collapsible open={isOpen} onOpenChange={setIsOpen}>
|
|
12
|
+
* <CollapsibleTrigger asChild>
|
|
13
|
+
* <Button variant="ghost"><Text>Toggle</Text></Button>
|
|
14
|
+
* </CollapsibleTrigger>
|
|
15
|
+
* <CollapsibleContent>
|
|
16
|
+
* <Text>This content can be shown or hidden</Text>
|
|
17
|
+
* </CollapsibleContent>
|
|
18
|
+
* </Collapsible>
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
declare const Collapsible: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.RootProps>;
|
|
22
|
+
/**
|
|
23
|
+
* Trigger button that toggles collapsible content visibility
|
|
24
|
+
*
|
|
25
|
+
* @component
|
|
26
|
+
*/
|
|
27
|
+
declare const CollapsibleTrigger: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.TriggerProps>;
|
|
28
|
+
/**
|
|
29
|
+
* Collapsible content container
|
|
30
|
+
*
|
|
31
|
+
* Automatically animates height when expanding or collapsing.
|
|
32
|
+
*
|
|
33
|
+
* @component
|
|
34
|
+
*/
|
|
35
|
+
declare const CollapsibleContent: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.ContentProps>;
|
|
36
|
+
export { Collapsible, CollapsibleTrigger, CollapsibleContent };
|
|
37
|
+
//# sourceMappingURL=Collapsible.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Collapsible.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Collapsible.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,oBAAoB,MAAM,4BAA4B,CAAC;AAEnE;;;;;;;;;;;;;;;;;;GAkBG;AACH,QAAA,MAAM,WAAW,2EAA4B,CAAC;AAE9C;;;;GAIG;AACH,QAAA,MAAM,kBAAkB,8EAA+B,CAAC;AAExD;;;;;;GAMG;AACH,QAAA,MAAM,kBAAkB,8EAA+B,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import * as ContextMenuPrimitive from '@rn-primitives/context-menu';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { type StyleProp, type TextProps, type ViewStyle } from 'react-native';
|
|
4
|
+
/**
|
|
5
|
+
* Root context menu component
|
|
6
|
+
*
|
|
7
|
+
* @component
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <ContextMenu>
|
|
11
|
+
* <ContextMenuTrigger>
|
|
12
|
+
* <View><Text>Right-click me</Text></View>
|
|
13
|
+
* </ContextMenuTrigger>
|
|
14
|
+
* <ContextMenuContent>
|
|
15
|
+
* <ContextMenuItem><Text>Edit</Text></ContextMenuItem>
|
|
16
|
+
* <ContextMenuItem><Text>Delete</Text></ContextMenuItem>
|
|
17
|
+
* </ContextMenuContent>
|
|
18
|
+
* </ContextMenu>
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
declare const ContextMenu: React.ForwardRefExoticComponent<ContextMenuPrimitive.RootProps>;
|
|
22
|
+
/**
|
|
23
|
+
* Trigger component that opens context menu on right-click or long-press
|
|
24
|
+
* @component
|
|
25
|
+
*/
|
|
26
|
+
declare const ContextMenuTrigger: React.ForwardRefExoticComponent<ContextMenuPrimitive.TriggerProps>;
|
|
27
|
+
/**
|
|
28
|
+
* Groups related context menu items
|
|
29
|
+
* @component
|
|
30
|
+
*/
|
|
31
|
+
declare const ContextMenuGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.GroupProps>;
|
|
32
|
+
/**
|
|
33
|
+
* Root component for nested submenu
|
|
34
|
+
* @component
|
|
35
|
+
*/
|
|
36
|
+
declare const ContextMenuSub: React.ForwardRefExoticComponent<ContextMenuPrimitive.SubProps>;
|
|
37
|
+
/**
|
|
38
|
+
* Groups radio items for single selection
|
|
39
|
+
* @component
|
|
40
|
+
*/
|
|
41
|
+
declare const ContextMenuRadioGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.RadioGroupProps>;
|
|
42
|
+
/**
|
|
43
|
+
* Trigger for opening a nested submenu
|
|
44
|
+
* @component
|
|
45
|
+
*/
|
|
46
|
+
declare function ContextMenuSubTrigger({ className: _className, inset, children, iconClassName, ...props }: ContextMenuPrimitive.SubTriggerProps & React.RefAttributes<ContextMenuPrimitive.SubTriggerRef> & {
|
|
47
|
+
children?: React.ReactNode;
|
|
48
|
+
iconClassName?: string;
|
|
49
|
+
inset?: boolean;
|
|
50
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
/**
|
|
52
|
+
* Content container for nested submenu items
|
|
53
|
+
* @component
|
|
54
|
+
*/
|
|
55
|
+
declare function ContextMenuSubContent({ className, ...props }: ContextMenuPrimitive.SubContentProps & React.RefAttributes<ContextMenuPrimitive.SubContentRef>): import("react/jsx-runtime").JSX.Element;
|
|
56
|
+
/**
|
|
57
|
+
* Main content container for context menu items
|
|
58
|
+
* @component
|
|
59
|
+
*/
|
|
60
|
+
declare function ContextMenuContent({ className, overlayClassName, overlayStyle, portalHost, ...props }: ContextMenuPrimitive.ContentProps & React.RefAttributes<ContextMenuPrimitive.ContentRef> & {
|
|
61
|
+
overlayStyle?: StyleProp<ViewStyle>;
|
|
62
|
+
overlayClassName?: string;
|
|
63
|
+
portalHost?: string;
|
|
64
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
/**
|
|
66
|
+
* Individual context menu item
|
|
67
|
+
* @component
|
|
68
|
+
*/
|
|
69
|
+
declare function ContextMenuItem({ className, inset, variant, ...props }: ContextMenuPrimitive.ItemProps & React.RefAttributes<ContextMenuPrimitive.ItemRef> & {
|
|
70
|
+
className?: string;
|
|
71
|
+
inset?: boolean;
|
|
72
|
+
variant?: 'default' | 'destructive';
|
|
73
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
74
|
+
/**
|
|
75
|
+
* Menu item with checkbox for multi-selection
|
|
76
|
+
* @component
|
|
77
|
+
*/
|
|
78
|
+
declare function ContextMenuCheckboxItem({ className, children, ...props }: ContextMenuPrimitive.CheckboxItemProps & React.RefAttributes<ContextMenuPrimitive.CheckboxItemRef> & {
|
|
79
|
+
children?: React.ReactNode;
|
|
80
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
81
|
+
/**
|
|
82
|
+
* Menu item with radio button for single selection
|
|
83
|
+
* @component
|
|
84
|
+
*/
|
|
85
|
+
declare function ContextMenuRadioItem({ className, children, ...props }: ContextMenuPrimitive.RadioItemProps & React.RefAttributes<ContextMenuPrimitive.RadioItemRef> & {
|
|
86
|
+
children?: React.ReactNode;
|
|
87
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
88
|
+
/**
|
|
89
|
+
* Label for grouping context menu sections
|
|
90
|
+
* @component
|
|
91
|
+
*/
|
|
92
|
+
declare function ContextMenuLabel({ className, inset, ...props }: ContextMenuPrimitive.LabelProps & React.RefAttributes<ContextMenuPrimitive.LabelRef> & {
|
|
93
|
+
className?: string;
|
|
94
|
+
inset?: boolean;
|
|
95
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
96
|
+
/**
|
|
97
|
+
* Visual separator between menu items
|
|
98
|
+
* @component
|
|
99
|
+
*/
|
|
100
|
+
declare function ContextMenuSeparator({ className, ...props }: ContextMenuPrimitive.SeparatorProps & React.RefAttributes<ContextMenuPrimitive.SeparatorRef>): import("react/jsx-runtime").JSX.Element;
|
|
101
|
+
/**
|
|
102
|
+
* Displays keyboard shortcut hint for menu items
|
|
103
|
+
* @component
|
|
104
|
+
*/
|
|
105
|
+
declare function ContextMenuShortcut({ className, ...props }: TextProps & React.RefAttributes<Text>): import("react/jsx-runtime").JSX.Element;
|
|
106
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, };
|
|
107
|
+
//# sourceMappingURL=Context-Menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Context-Menu.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Context-Menu.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAC;AAOpE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,KAAK,SAAS,EAGd,KAAK,SAAS,EAEd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAYtB;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,WAAW,iEAA4B,CAAC;AAE9C;;;GAGG;AACH,QAAA,MAAM,kBAAkB,oEAA+B,CAAC;AAExD;;;GAGG;AACH,QAAA,MAAM,gBAAgB,kEAA6B,CAAC;AAEpD;;;GAGG;AACH,QAAA,MAAM,cAAc,gEAA2B,CAAC;AAEhD;;;GAGG;AACH,QAAA,MAAM,qBAAqB,uEAAkC,CAAC;AAE9D;;;GAGG;AACH,iBAAS,qBAAqB,CAAC,EAC7B,SAAS,EAAE,UAAU,EACrB,KAAK,EACL,QAAQ,EACR,aAAa,EACb,GAAG,KAAK,EACT,EAAE,oBAAoB,CAAC,eAAe,GACrC,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,aAAa,CAAC,GAAG;IACxD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,2CAkCF;AAED;;;GAGG;AACH,iBAAS,qBAAqB,CAAC,EAC7B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,oBAAoB,CAAC,eAAe,GACrC,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,aAAa,CAAC,2CAgBxD;AAQD;;;GAGG;AACH,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,GAAG,KAAK,EACT,EAAE,oBAAoB,CAAC,YAAY,GAClC,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG;IACrD,YAAY,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,2CAwCF;AAED;;;GAGG;AACH,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,KAAK,EACL,OAAO,EACP,GAAG,KAAK,EACT,EAAE,oBAAoB,CAAC,SAAS,GAC/B,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,OAAO,CAAC,GAAG;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;CACrC,2CA8BF;AAED;;;GAGG;AACH,iBAAS,uBAAuB,CAAC,EAC/B,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,oBAAoB,CAAC,iBAAiB,GACvC,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,eAAe,CAAC,GAAG;IAC1D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,2CA8BF;AAED;;;GAGG;AACH,iBAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,oBAAoB,CAAC,cAAc,GACpC,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,YAAY,CAAC,GAAG;IACvD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,2CAwBF;AAED;;;GAGG;AACH,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,oBAAoB,CAAC,UAAU,GAChC,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,QAAQ,CAAC,GAAG;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,2CAWF;AAED;;;GAGG;AACH,iBAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,oBAAoB,CAAC,cAAc,GACpC,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,YAAY,CAAC,2CAOvD;AAED;;;GAGG;AACH,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,2CAUvC;AAED,OAAO,EACL,WAAW,EACX,uBAAuB,EACvB,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,GACnB,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { SlottableViewProps } from '@rn-primitives/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* CustomCard container component with squircle shape
|
|
5
|
+
*
|
|
6
|
+
* Provides elevated container with smooth squircle corners (iOS-like rounded corners),
|
|
7
|
+
* border, and shadow. Uses Figma's squircle algorithm for premium look.
|
|
8
|
+
* Use with CardHeader, CardTitle, CardDescription, CardContent, and CardFooter
|
|
9
|
+
* for a complete card structure.
|
|
10
|
+
*
|
|
11
|
+
* @component
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* <CustomCard>
|
|
15
|
+
* <CardHeader>
|
|
16
|
+
* <CardTitle><Text>Title</Text></CardTitle>
|
|
17
|
+
* <CardDescription><Text>Description</Text></CardDescription>
|
|
18
|
+
* </CardHeader>
|
|
19
|
+
* <CardContent>
|
|
20
|
+
* <Text>Card content goes here</Text>
|
|
21
|
+
* </CardContent>
|
|
22
|
+
* <CardFooter>
|
|
23
|
+
* <Button>Action</Button>
|
|
24
|
+
* </CardFooter>
|
|
25
|
+
* </CustomCard>
|
|
26
|
+
*
|
|
27
|
+
* // With custom corner smoothing
|
|
28
|
+
* <CustomCard cornerSmoothing={1}>
|
|
29
|
+
* <Text>Extra smooth corners</Text>
|
|
30
|
+
* </CustomCard>
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
34
|
+
* @property {string} [className] - Additional Tailwind classes
|
|
35
|
+
* @property {number} [cornerRadius=16] - Corner radius in pixels
|
|
36
|
+
* @property {number} [cornerSmoothing=0.8] - Smoothing factor (0-1), higher = more iOS-like
|
|
37
|
+
*/
|
|
38
|
+
declare const CustomCard: React.ForwardRefExoticComponent<SlottableViewProps & {
|
|
39
|
+
className?: string;
|
|
40
|
+
cornerRadius?: number;
|
|
41
|
+
cornerSmoothing?: number;
|
|
42
|
+
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
43
|
+
/**
|
|
44
|
+
* CustomCardHeader - Container for card title and description
|
|
45
|
+
*
|
|
46
|
+
* Provides proper spacing for title and description elements at the top of a card.
|
|
47
|
+
*
|
|
48
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
49
|
+
* @property {string} [className] - Additional Tailwind classes
|
|
50
|
+
*/
|
|
51
|
+
declare const CustomCardHeader: React.ForwardRefExoticComponent<SlottableViewProps & {
|
|
52
|
+
className?: string;
|
|
53
|
+
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
54
|
+
/**
|
|
55
|
+
* CustomCardTitle - Main title text for the card
|
|
56
|
+
*
|
|
57
|
+
* Automatically styles child Text components with large, semibold typography.
|
|
58
|
+
* Uses TextClassContext to apply consistent styling to nested Text elements.
|
|
59
|
+
*
|
|
60
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
61
|
+
* @property {string} [className] - Additional Tailwind classes for text styling
|
|
62
|
+
*/
|
|
63
|
+
declare const CustomCardTitle: React.ForwardRefExoticComponent<SlottableViewProps & {
|
|
64
|
+
className?: string;
|
|
65
|
+
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
66
|
+
/**
|
|
67
|
+
* CustomCardDescription - Subtitle or description text for the card
|
|
68
|
+
*
|
|
69
|
+
* Automatically styles child Text components with muted, smaller typography.
|
|
70
|
+
* Uses TextClassContext to apply consistent styling to nested Text elements.
|
|
71
|
+
*
|
|
72
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
73
|
+
* @property {string} [className] - Additional Tailwind classes for text styling
|
|
74
|
+
*/
|
|
75
|
+
declare const CustomCardDescription: React.ForwardRefExoticComponent<SlottableViewProps & {
|
|
76
|
+
className?: string;
|
|
77
|
+
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
78
|
+
/**
|
|
79
|
+
* CustomCardContent - Main content area of the card
|
|
80
|
+
*
|
|
81
|
+
* Container for the primary card content with appropriate padding.
|
|
82
|
+
* Top padding is removed to flow naturally after CustomCardHeader.
|
|
83
|
+
*
|
|
84
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
85
|
+
* @property {string} [className] - Additional Tailwind classes
|
|
86
|
+
*/
|
|
87
|
+
declare const CustomCardContent: React.ForwardRefExoticComponent<SlottableViewProps & {
|
|
88
|
+
className?: string;
|
|
89
|
+
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
90
|
+
/**
|
|
91
|
+
* CustomCardFooter - Footer area for actions or additional info
|
|
92
|
+
*
|
|
93
|
+
* Typically contains buttons or other interactive elements.
|
|
94
|
+
* Arranged as a row with centered items.
|
|
95
|
+
*
|
|
96
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
97
|
+
* @property {string} [className] - Additional Tailwind classes
|
|
98
|
+
*/
|
|
99
|
+
declare const CustomCardFooter: React.ForwardRefExoticComponent<SlottableViewProps & {
|
|
100
|
+
className?: string;
|
|
101
|
+
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
102
|
+
export { CustomCard, CustomCardContent, CustomCardDescription, CustomCardFooter, CustomCardHeader, CustomCardTitle, };
|
|
103
|
+
//# sourceMappingURL=Custom-Card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Custom-Card.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Custom-Card.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,sBAAsB,CAAC;AACxE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,QAAA,MAAM,UAAU;gBAGA,MAAM;mBACH,MAAM;sBACH,MAAM;yHA8C3B,CAAC;AAGF;;;;;;;GAOG;AACH,QAAA,MAAM,gBAAgB;gBAEe,MAAM;yHAUzC,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,eAAe;gBAEgB,MAAM;yHAazC,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,qBAAqB;gBAEU,MAAM;yHAazC,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,iBAAiB;gBAEc,MAAM;yHAMzC,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,gBAAgB;gBAEe,MAAM;yHAUzC,CAAC;AAGH,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,GAChB,CAAC"}
|