@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,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.badgeVariants = exports.badgeTextVariants = exports.Badge = void 0;
|
|
7
|
+
var Slot = _interopRequireWildcard(require("@rn-primitives/slot"));
|
|
8
|
+
var _classVarianceAuthority = require("class-variance-authority");
|
|
9
|
+
var _nativewind = require("nativewind");
|
|
10
|
+
var React = _interopRequireWildcard(require("react"));
|
|
11
|
+
var _reactNative = require("react-native");
|
|
12
|
+
var _utils = require("../../lib/utils");
|
|
13
|
+
var _Text = require("./Text");
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
16
|
+
(0, _nativewind.cssInterop)(_reactNative.View, {
|
|
17
|
+
className: 'style'
|
|
18
|
+
});
|
|
19
|
+
(0, _nativewind.cssInterop)(Slot.View, {
|
|
20
|
+
className: 'style'
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Badge container style variants
|
|
25
|
+
*
|
|
26
|
+
* @variant default - Primary badge with solid background
|
|
27
|
+
* @variant secondary - Secondary badge with muted background
|
|
28
|
+
* @variant destructive - Destructive badge with danger/error styling
|
|
29
|
+
* @variant outline - Badge with border and transparent background
|
|
30
|
+
*/
|
|
31
|
+
const badgeVariants = exports.badgeVariants = (0, _classVarianceAuthority.cva)('flex-row items-center rounded-full border border-border px-2.5 py-0.5 web:inline-flex', {
|
|
32
|
+
variants: {
|
|
33
|
+
variant: {
|
|
34
|
+
default: 'border-transparent bg-primary',
|
|
35
|
+
secondary: 'border-transparent bg-secondary',
|
|
36
|
+
destructive: 'border-transparent bg-destructive',
|
|
37
|
+
outline: 'border-border'
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
defaultVariants: {
|
|
41
|
+
variant: 'default'
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Badge text style variants for matching text colors with badge variants
|
|
47
|
+
* Applied through TextClassContext to child Text components
|
|
48
|
+
*
|
|
49
|
+
* Variants match badgeVariants to ensure proper contrast
|
|
50
|
+
* @see badgeVariants
|
|
51
|
+
*/
|
|
52
|
+
const badgeTextVariants = exports.badgeTextVariants = (0, _classVarianceAuthority.cva)('text-xs font-semibold', {
|
|
53
|
+
variants: {
|
|
54
|
+
variant: {
|
|
55
|
+
default: 'text-primary-foreground',
|
|
56
|
+
secondary: 'text-secondary-foreground',
|
|
57
|
+
destructive: 'text-destructive-foreground',
|
|
58
|
+
outline: 'text-foreground'
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
defaultVariants: {
|
|
62
|
+
variant: 'default'
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Props for Badge component
|
|
68
|
+
*
|
|
69
|
+
* @extends SlottableViewProps - Includes all View props plus asChild for slot composition
|
|
70
|
+
* @extends VariantProps - Includes variant styling options from badgeVariants
|
|
71
|
+
*
|
|
72
|
+
* @property {string} [className] - Additional Tailwind classes for custom styling
|
|
73
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
74
|
+
* @property {'default' | 'secondary' | 'destructive' | 'outline'} [variant='default'] - Badge style variant
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* ```tsx
|
|
78
|
+
* <Badge variant="default">
|
|
79
|
+
* <Text>New</Text>
|
|
80
|
+
* </Badge>
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* A compact badge component for displaying status, labels, or counts
|
|
86
|
+
*
|
|
87
|
+
* Small, pill-shaped component for highlighting information. Supports multiple
|
|
88
|
+
* variants for different contexts and automatically styles child Text components.
|
|
89
|
+
*
|
|
90
|
+
* @component
|
|
91
|
+
* @example
|
|
92
|
+
* ```tsx
|
|
93
|
+
* // Status badge
|
|
94
|
+
* <Badge variant="default">
|
|
95
|
+
* <Text>Active</Text>
|
|
96
|
+
* </Badge>
|
|
97
|
+
*
|
|
98
|
+
* // Count badge
|
|
99
|
+
* <Badge variant="destructive">
|
|
100
|
+
* <Text>5</Text>
|
|
101
|
+
* </Badge>
|
|
102
|
+
*
|
|
103
|
+
* // Outline badge
|
|
104
|
+
* <Badge variant="outline">
|
|
105
|
+
* <Text>Draft</Text>
|
|
106
|
+
* </Badge>
|
|
107
|
+
* ```
|
|
108
|
+
*/
|
|
109
|
+
const Badge = exports.Badge = /*#__PURE__*/React.forwardRef(({
|
|
110
|
+
className,
|
|
111
|
+
variant,
|
|
112
|
+
asChild = false,
|
|
113
|
+
...props
|
|
114
|
+
}, ref) => {
|
|
115
|
+
const Component = asChild ? Slot.View : _reactNative.View;
|
|
116
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.TextClassContext.Provider, {
|
|
117
|
+
value: (0, _utils.cn)(badgeTextVariants({
|
|
118
|
+
variant
|
|
119
|
+
})),
|
|
120
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Component, {
|
|
121
|
+
className: (0, _utils.cn)(badgeVariants({
|
|
122
|
+
variant,
|
|
123
|
+
className
|
|
124
|
+
})),
|
|
125
|
+
ref: ref,
|
|
126
|
+
...props
|
|
127
|
+
})
|
|
128
|
+
});
|
|
129
|
+
});
|
|
130
|
+
Badge.displayName = 'Badge';
|
|
131
|
+
//# sourceMappingURL=Badge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Slot","_interopRequireWildcard","require","_classVarianceAuthority","_nativewind","React","_reactNative","_utils","_Text","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","cssInterop","View","className","badgeVariants","exports","cva","variants","variant","secondary","destructive","outline","defaultVariants","badgeTextVariants","Badge","forwardRef","asChild","props","ref","Component","jsx","TextClassContext","Provider","value","cn","children","displayName"],"sourceRoot":"../../../../src","sources":["components/ui/Badge.tsx"],"mappings":";;;;;;AAAA,IAAAA,IAAA,GAAAC,uB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1D,MAAMC,SAAS,GAAGH,OAAO,GAAG5C,IAAI,CAAC8B,IAAI,GAAGA,iBAAI;EAC5C,oBACE,IAAArB,WAAA,CAAAuC,GAAA,EAACxC,KAAA,CAAAyC,gBAAgB,CAACC,QAAQ;IAACC,KAAK,EAAE,IAAAC,SAAE,EAACX,iBAAiB,CAAC;MAAEL;IAAQ,CAAC,CAAC,CAAE;IAAAiB,QAAA,eACnE,IAAA5C,WAAA,CAAAuC,GAAA,EAACD,SAAS;MACRhB,SAAS,EAAE,IAAAqB,SAAE,EAACpB,aAAa,CAAC;QAAEI,OAAO;QAAEL;MAAU,CAAC,CAAC,CAAE;MACrDe,GAAG,EAAEA,GAAW;MAAA,GACZD;IAAK,CACV;EAAC,CACuB,CAAC;AAEhC,CACF,CAAC;AACDH,KAAK,CAACY,WAAW,GAAG,OAAO","ignoreList":[]}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.BottomSheetHeader = exports.BottomSheetFooter = exports.BottomSheetContent = exports.BottomSheet = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _bottomSheet = _interopRequireWildcard(require("@gorhom/bottom-sheet"));
|
|
10
|
+
var _nativewind = require("nativewind");
|
|
11
|
+
var _utils = require("../../lib/utils");
|
|
12
|
+
var _ThemeProvider = require("../../lib/ThemeProvider");
|
|
13
|
+
var _themeConfig = require("../theme-config");
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
16
|
+
const View = (0, _nativewind.cssInterop)(_reactNative.View, {
|
|
17
|
+
className: 'style'
|
|
18
|
+
});
|
|
19
|
+
const BottomSheetView = (0, _nativewind.cssInterop)(_bottomSheet.BottomSheetView, {
|
|
20
|
+
className: 'style'
|
|
21
|
+
});
|
|
22
|
+
const BottomSheet = exports.BottomSheet = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
23
|
+
children,
|
|
24
|
+
snapPoints: customSnapPoints,
|
|
25
|
+
initialSnapIndex = -1,
|
|
26
|
+
enablePanDownToClose = true,
|
|
27
|
+
enableDynamicSizing = false,
|
|
28
|
+
backdropOpacity = 0.5,
|
|
29
|
+
enableBackdropDismiss = true,
|
|
30
|
+
handleIndicatorStyle,
|
|
31
|
+
backgroundStyle,
|
|
32
|
+
className,
|
|
33
|
+
containerClassName,
|
|
34
|
+
onChange,
|
|
35
|
+
onClose
|
|
36
|
+
}, ref) => {
|
|
37
|
+
const bottomSheetRef = (0, _react.useRef)(null);
|
|
38
|
+
const {
|
|
39
|
+
colors
|
|
40
|
+
} = (0, _ThemeProvider.useTheme)();
|
|
41
|
+
|
|
42
|
+
// Default snap points if not provided
|
|
43
|
+
const snapPoints = (0, _react.useMemo)(() => customSnapPoints ?? ['25%', '50%', '90%'], [customSnapPoints]);
|
|
44
|
+
|
|
45
|
+
// Expose methods via ref (similar to Flutter's showModalBottomSheet)
|
|
46
|
+
(0, _react.useImperativeHandle)(ref, () => ({
|
|
47
|
+
open: () => bottomSheetRef.current?.expand(),
|
|
48
|
+
close: () => bottomSheetRef.current?.close(),
|
|
49
|
+
expand: () => bottomSheetRef.current?.expand(),
|
|
50
|
+
collapse: () => bottomSheetRef.current?.collapse(),
|
|
51
|
+
snapToIndex: index => bottomSheetRef.current?.snapToIndex(index)
|
|
52
|
+
}));
|
|
53
|
+
|
|
54
|
+
// Custom backdrop component
|
|
55
|
+
const renderBackdrop = (0, _react.useCallback)(props => /*#__PURE__*/(0, _jsxRuntime.jsx)(_bottomSheet.BottomSheetBackdrop, {
|
|
56
|
+
...props,
|
|
57
|
+
opacity: backdropOpacity,
|
|
58
|
+
appearsOnIndex: 0,
|
|
59
|
+
disappearsOnIndex: -1,
|
|
60
|
+
pressBehavior: enableBackdropDismiss ? 'close' : 'none'
|
|
61
|
+
}), [backdropOpacity, enableBackdropDismiss]);
|
|
62
|
+
|
|
63
|
+
// Handle sheet changes
|
|
64
|
+
const handleSheetChanges = (0, _react.useCallback)(index => {
|
|
65
|
+
onChange?.(index);
|
|
66
|
+
if (index === -1) {
|
|
67
|
+
onClose?.();
|
|
68
|
+
}
|
|
69
|
+
}, [onChange, onClose]);
|
|
70
|
+
|
|
71
|
+
// Theme-aware background style - convert HSL to RGB for React Native
|
|
72
|
+
const themedBackgroundStyle = (0, _react.useMemo)(() => [styles.background, {
|
|
73
|
+
backgroundColor: (0, _themeConfig.hslToRgb)(colors.card)
|
|
74
|
+
}, backgroundStyle], [colors.card, backgroundStyle]);
|
|
75
|
+
|
|
76
|
+
// Theme-aware handle indicator style - convert HSL to RGB for React Native
|
|
77
|
+
const themedHandleStyle = (0, _react.useMemo)(() => [styles.handleIndicator, {
|
|
78
|
+
backgroundColor: (0, _themeConfig.hslToRgb)(colors.border)
|
|
79
|
+
}, handleIndicatorStyle], [colors.border, handleIndicatorStyle]);
|
|
80
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_bottomSheet.default, {
|
|
81
|
+
ref: bottomSheetRef,
|
|
82
|
+
index: initialSnapIndex,
|
|
83
|
+
snapPoints: snapPoints,
|
|
84
|
+
enablePanDownToClose: enablePanDownToClose,
|
|
85
|
+
enableDynamicSizing: enableDynamicSizing,
|
|
86
|
+
backdropComponent: renderBackdrop,
|
|
87
|
+
onChange: handleSheetChanges,
|
|
88
|
+
handleIndicatorStyle: themedHandleStyle,
|
|
89
|
+
backgroundStyle: themedBackgroundStyle,
|
|
90
|
+
style: styles.container,
|
|
91
|
+
animateOnMount: false,
|
|
92
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(BottomSheetView, {
|
|
93
|
+
style: [styles.contentContainer],
|
|
94
|
+
className: (0, _utils.cn)('flex-1 bg-card', containerClassName),
|
|
95
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(View, {
|
|
96
|
+
className: (0, _utils.cn)('flex-1', className),
|
|
97
|
+
children: children
|
|
98
|
+
})
|
|
99
|
+
})
|
|
100
|
+
});
|
|
101
|
+
});
|
|
102
|
+
BottomSheet.displayName = 'BottomSheet';
|
|
103
|
+
const styles = _reactNative.StyleSheet.create({
|
|
104
|
+
container: {
|
|
105
|
+
zIndex: 9999
|
|
106
|
+
},
|
|
107
|
+
contentContainer: {
|
|
108
|
+
flex: 1
|
|
109
|
+
},
|
|
110
|
+
background: {
|
|
111
|
+
borderTopLeftRadius: 20,
|
|
112
|
+
borderTopRightRadius: 20
|
|
113
|
+
},
|
|
114
|
+
handleIndicator: {
|
|
115
|
+
width: 40,
|
|
116
|
+
height: 4
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
// Helper component for bottom sheet header
|
|
121
|
+
|
|
122
|
+
const BottomSheetHeader = ({
|
|
123
|
+
children,
|
|
124
|
+
className
|
|
125
|
+
}) => {
|
|
126
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(View, {
|
|
127
|
+
className: (0, _utils.cn)('border-b border-border px-4 py-3 web:px-6', className),
|
|
128
|
+
children: children
|
|
129
|
+
});
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
// Helper component for bottom sheet content
|
|
133
|
+
exports.BottomSheetHeader = BottomSheetHeader;
|
|
134
|
+
const BottomSheetContent = ({
|
|
135
|
+
children,
|
|
136
|
+
className
|
|
137
|
+
}) => {
|
|
138
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(View, {
|
|
139
|
+
className: (0, _utils.cn)('flex-1 px-4 py-4 web:px-6', className),
|
|
140
|
+
children: children
|
|
141
|
+
});
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
// Helper component for bottom sheet footer
|
|
145
|
+
exports.BottomSheetContent = BottomSheetContent;
|
|
146
|
+
const BottomSheetFooter = ({
|
|
147
|
+
children,
|
|
148
|
+
className
|
|
149
|
+
}) => {
|
|
150
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(View, {
|
|
151
|
+
className: (0, _utils.cn)('border-t border-border px-4 py-3 web:px-6', className),
|
|
152
|
+
children: children
|
|
153
|
+
});
|
|
154
|
+
};
|
|
155
|
+
exports.BottomSheetFooter = BottomSheetFooter;
|
|
156
|
+
//# sourceMappingURL=Bottom-Sheet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_bottomSheet","_nativewind","_utils","_ThemeProvider","_themeConfig","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","View","cssInterop","RNView","className","BottomSheetView","BSView","BottomSheet","exports","forwardRef","children","snapPoints","customSnapPoints","initialSnapIndex","enablePanDownToClose","enableDynamicSizing","backdropOpacity","enableBackdropDismiss","handleIndicatorStyle","backgroundStyle","containerClassName","onChange","onClose","ref","bottomSheetRef","useRef","colors","useTheme","useMemo","useImperativeHandle","open","current","expand","close","collapse","snapToIndex","index","renderBackdrop","useCallback","props","jsx","BottomSheetBackdrop","opacity","appearsOnIndex","disappearsOnIndex","pressBehavior","handleSheetChanges","themedBackgroundStyle","styles","background","backgroundColor","hslToRgb","card","themedHandleStyle","handleIndicator","border","backdropComponent","style","container","animateOnMount","contentContainer","cn","displayName","StyleSheet","create","zIndex","flex","borderTopLeftRadius","borderTopRightRadius","width","height","Bottom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Q;EAAEN;AAAkC,CAAC,KAAK;EAC7E,oBACE,IAAAvB,WAAA,CAAA2D,GAAA,EAACvC,IAAI;IACHG,SAAS,EAAE,IAAAyD,SAAE,EAAC,2CAA2C,EAAEzD,SAAS,CAAE;IAAAM,QAAA,EAErEA;EAAQ,CACL,CAAC;AAEX,CAAC;;AAED;AAAAF,OAAA,CAAA+D,iBAAA,GAAAA,iBAAA;AAMA,MAAMC,kBAAkB,GAAGA,CAAC;EAC1B9D,QAAQ;EACRN;AACuB,CAAC,KAAK;EAC7B,oBACE,IAAAvB,WAAA,CAAA2D,GAAA,EAACvC,IAAI;IAACG,SAAS,EAAE,IAAAyD,SAAE,EAAC,2BAA2B,EAAEzD,SAAS,CAAE;IAAAM,QAAA,EACzDA;EAAQ,CACL,CAAC;AAEX,CAAC;;AAED;AAAAF,OAAA,CAAAgE,kBAAA,GAAAA,kBAAA;AAMA,MAAMC,iBAAiB,GAAGA,CAAC;EAAE/D,QAAQ;EAAEN;AAAkC,CAAC,KAAK;EAC7E,oBACE,IAAAvB,WAAA,CAAA2D,GAAA,EAACvC,IAAI;IACHG,SAAS,EAAE,IAAAyD,SAAE,EAAC,2CAA2C,EAAEzD,SAAS,CAAE;IAAAM,QAAA,EAErEA;EAAQ,CACL,CAAC;AAEX,CAAC;AAACF,OAAA,CAAAiE,iBAAA,GAAAA,iBAAA","ignoreList":[]}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.buttonVariants = exports.buttonTextVariants = exports.Button = void 0;
|
|
7
|
+
var Slot = _interopRequireWildcard(require("@rn-primitives/slot"));
|
|
8
|
+
var _classVarianceAuthority = require("class-variance-authority");
|
|
9
|
+
var _nativewind = require("nativewind");
|
|
10
|
+
var React = _interopRequireWildcard(require("react"));
|
|
11
|
+
var _reactNative = require("react-native");
|
|
12
|
+
var _utils = require("../../lib/utils");
|
|
13
|
+
var _Text = require("./Text");
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
16
|
+
(0, _nativewind.cssInterop)(_reactNative.Pressable, {
|
|
17
|
+
className: 'style'
|
|
18
|
+
});
|
|
19
|
+
(0, _nativewind.cssInterop)(Slot.Pressable, {
|
|
20
|
+
className: 'style'
|
|
21
|
+
});
|
|
22
|
+
const buttonVariants = exports.buttonVariants = (0, _classVarianceAuthority.cva)('group flex items-center justify-center rounded-4 web:ring-offset-background web:transition-colors web:focus-visible:outline-none web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2', {
|
|
23
|
+
variants: {
|
|
24
|
+
variant: {
|
|
25
|
+
default: 'bg-primary active:opacity-20',
|
|
26
|
+
destructive: 'bg-destructive active:opacity-90',
|
|
27
|
+
outline: 'border border-input bg-background active:bg-accent',
|
|
28
|
+
secondary: 'bg-secondary active:opacity-80',
|
|
29
|
+
ghost: 'active:bg-accent',
|
|
30
|
+
link: 'web:underline-offset-4'
|
|
31
|
+
},
|
|
32
|
+
size: {
|
|
33
|
+
default: 'h-10 px-button-x py-button-y native:h-12 native:px-button-x native:py-button-y',
|
|
34
|
+
sm: 'h-9 px-3',
|
|
35
|
+
lg: 'h-11 px-8 native:h-14',
|
|
36
|
+
icon: 'h-10 w-10'
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
defaultVariants: {
|
|
40
|
+
variant: 'default',
|
|
41
|
+
size: 'default'
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
const buttonTextVariants = exports.buttonTextVariants = (0, _classVarianceAuthority.cva)('web:whitespace-nowrap text-sm native:text-base font-medium web:transition-colors', {
|
|
45
|
+
variants: {
|
|
46
|
+
variant: {
|
|
47
|
+
default: 'text-primary-foreground',
|
|
48
|
+
destructive: 'text-destructive-foreground',
|
|
49
|
+
outline: 'text-foreground group-active:text-accent-foreground',
|
|
50
|
+
secondary: 'text-secondary-foreground group-active:text-secondary-foreground',
|
|
51
|
+
ghost: 'text-foreground group-active:text-accent-foreground',
|
|
52
|
+
link: 'text-primary group-active:underline'
|
|
53
|
+
},
|
|
54
|
+
size: {
|
|
55
|
+
default: '',
|
|
56
|
+
sm: '',
|
|
57
|
+
lg: 'native:text-lg',
|
|
58
|
+
icon: ''
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
defaultVariants: {
|
|
62
|
+
variant: 'default',
|
|
63
|
+
size: 'default'
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
const Button = exports.Button = /*#__PURE__*/React.forwardRef(({
|
|
67
|
+
className,
|
|
68
|
+
variant,
|
|
69
|
+
size,
|
|
70
|
+
asChild = false,
|
|
71
|
+
...props
|
|
72
|
+
}, ref) => {
|
|
73
|
+
const Component = asChild ? Slot.Pressable : _reactNative.Pressable;
|
|
74
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.TextClassContext.Provider, {
|
|
75
|
+
value: (0, _utils.cn)(buttonTextVariants({
|
|
76
|
+
variant,
|
|
77
|
+
size
|
|
78
|
+
})),
|
|
79
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Component, {
|
|
80
|
+
ref: ref,
|
|
81
|
+
role: "button",
|
|
82
|
+
className: (0, _utils.cn)(buttonVariants({
|
|
83
|
+
variant,
|
|
84
|
+
size,
|
|
85
|
+
className
|
|
86
|
+
}), props.disabled && 'opacity-50 web:pointer-events-none'),
|
|
87
|
+
...props
|
|
88
|
+
})
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
Button.displayName = 'Button';
|
|
92
|
+
//# sourceMappingURL=Button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Slot","_interopRequireWildcard","require","_classVarianceAuthority","_nativewind","React","_reactNative","_utils","_Text","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","cssInterop","Pressable","className","buttonVariants","exports","cva","variants","variant","destructive","outline","secondary","ghost","link","size","sm","lg","icon","defaultVariants","buttonTextVariants","Button","forwardRef","asChild","props","ref","Component","jsx","TextClassContext","Provider","value","cn","children","role","disabled","displayName"],"sourceRoot":"../../../../src","sources":["components/ui/Button.tsx"],"mappings":";;;;;;AAAA,IAAAA,IAAA,GAAAC,uBAAA,CAAAC,OAAA;AAKA,IAAAC,uBAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAJ,uBAAA,CAAAC,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,KAAA,GAAAN,OAAA;AAA0C,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAD,wBAAAS,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAX,uBAAA,YAAAA,CAAAS,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAA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QAAQ,IAAI,oCACpB,CAAE;MAAA,GACEV;IAAK,CACV;EAAC,CACuB,CAAC;AAEhC,CACF,CAAC;AAEDH,MAAM,CAACc,WAAW,GAAG,QAAQ","ignoreList":[]}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CardTitle = exports.CardHeader = exports.CardFooter = exports.CardDescription = exports.CardContent = exports.Card = void 0;
|
|
7
|
+
var Slot = _interopRequireWildcard(require("@rn-primitives/slot"));
|
|
8
|
+
var _nativewind = require("nativewind");
|
|
9
|
+
var React = _interopRequireWildcard(require("react"));
|
|
10
|
+
var _reactNative = require("react-native");
|
|
11
|
+
var _utils = require("../../lib/utils");
|
|
12
|
+
var _Text = require("./Text");
|
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
15
|
+
(0, _nativewind.cssInterop)(_reactNative.View, {
|
|
16
|
+
className: 'style'
|
|
17
|
+
});
|
|
18
|
+
(0, _nativewind.cssInterop)(Slot.View, {
|
|
19
|
+
className: 'style'
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Card container component - Main wrapper for card content
|
|
24
|
+
*
|
|
25
|
+
* Provides elevated container with border, rounded corners, and shadow.
|
|
26
|
+
* Use with CardHeader, CardTitle, CardDescription, CardContent, and CardFooter
|
|
27
|
+
* for a complete card structure.
|
|
28
|
+
*
|
|
29
|
+
* @component
|
|
30
|
+
* @example
|
|
31
|
+
* ```tsx
|
|
32
|
+
* <Card>
|
|
33
|
+
* <CardHeader>
|
|
34
|
+
* <CardTitle><Text>Title</Text></CardTitle>
|
|
35
|
+
* <CardDescription><Text>Description</Text></CardDescription>
|
|
36
|
+
* </CardHeader>
|
|
37
|
+
* <CardContent>
|
|
38
|
+
* <Text>Card content goes here</Text>
|
|
39
|
+
* </CardContent>
|
|
40
|
+
* <CardFooter>
|
|
41
|
+
* <Button>Action</Button>
|
|
42
|
+
* </CardFooter>
|
|
43
|
+
* </Card>
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
47
|
+
* @property {string} [className] - Additional Tailwind classes
|
|
48
|
+
*/
|
|
49
|
+
const Card = exports.Card = /*#__PURE__*/React.forwardRef(({
|
|
50
|
+
className,
|
|
51
|
+
asChild = false,
|
|
52
|
+
...props
|
|
53
|
+
}, ref) => {
|
|
54
|
+
const Component = asChild ? Slot.View : _reactNative.View;
|
|
55
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Component, {
|
|
56
|
+
className: (0, _utils.cn)('rounded-lg border border-border dark:border-border bg-card dark:bg-card p-6 shadow-sm shadow-foreground/10 dark:shadow-white/10', className),
|
|
57
|
+
ref: ref,
|
|
58
|
+
...props
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
Card.displayName = 'Card';
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* CardHeader - Container for card title and description
|
|
65
|
+
*
|
|
66
|
+
* Provides proper spacing for title and description elements at the top of a card.
|
|
67
|
+
*
|
|
68
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
69
|
+
* @property {string} [className] - Additional Tailwind classes
|
|
70
|
+
*/
|
|
71
|
+
const CardHeader = exports.CardHeader = /*#__PURE__*/React.forwardRef(({
|
|
72
|
+
className,
|
|
73
|
+
asChild = false,
|
|
74
|
+
...props
|
|
75
|
+
}, ref) => {
|
|
76
|
+
const Component = asChild ? Slot.View : _reactNative.View;
|
|
77
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Component, {
|
|
78
|
+
className: (0, _utils.cn)('flex flex-col gap-1.5 p-6', className),
|
|
79
|
+
ref: ref,
|
|
80
|
+
...props
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
CardHeader.displayName = 'CardHeader';
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* CardTitle - Main title text for the card
|
|
87
|
+
*
|
|
88
|
+
* Automatically styles child Text components with large, semibold typography.
|
|
89
|
+
* Uses TextClassContext to apply consistent styling to nested Text elements.
|
|
90
|
+
*
|
|
91
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
92
|
+
* @property {string} [className] - Additional Tailwind classes for text styling
|
|
93
|
+
*/
|
|
94
|
+
const CardTitle = exports.CardTitle = /*#__PURE__*/React.forwardRef(({
|
|
95
|
+
className,
|
|
96
|
+
asChild = false,
|
|
97
|
+
...props
|
|
98
|
+
}, ref) => {
|
|
99
|
+
const Component = asChild ? Slot.View : _reactNative.View;
|
|
100
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.TextClassContext.Provider, {
|
|
101
|
+
value: (0, _utils.cn)('text-2xl font-semibold leading-none tracking-tight text-card-foreground dark:text-card-foreground', className),
|
|
102
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Component, {
|
|
103
|
+
ref: ref,
|
|
104
|
+
...props
|
|
105
|
+
})
|
|
106
|
+
});
|
|
107
|
+
});
|
|
108
|
+
CardTitle.displayName = 'CardTitle';
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* CardDescription - Subtitle or description text for the card
|
|
112
|
+
*
|
|
113
|
+
* Automatically styles child Text components with muted, smaller typography.
|
|
114
|
+
* Uses TextClassContext to apply consistent styling to nested Text elements.
|
|
115
|
+
*
|
|
116
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
117
|
+
* @property {string} [className] - Additional Tailwind classes for text styling
|
|
118
|
+
*/
|
|
119
|
+
const CardDescription = exports.CardDescription = /*#__PURE__*/React.forwardRef(({
|
|
120
|
+
className,
|
|
121
|
+
asChild = false,
|
|
122
|
+
...props
|
|
123
|
+
}, ref) => {
|
|
124
|
+
const Component = asChild ? Slot.View : _reactNative.View;
|
|
125
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.TextClassContext.Provider, {
|
|
126
|
+
value: (0, _utils.cn)('text-sm text-muted-foreground dark:text-muted-foreground', className),
|
|
127
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Component, {
|
|
128
|
+
ref: ref,
|
|
129
|
+
...props
|
|
130
|
+
})
|
|
131
|
+
});
|
|
132
|
+
});
|
|
133
|
+
CardDescription.displayName = 'CardDescription';
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* CardContent - Main content area of the card
|
|
137
|
+
*
|
|
138
|
+
* Container for the primary card content with appropriate padding.
|
|
139
|
+
* Top padding is removed to flow naturally after CardHeader.
|
|
140
|
+
*
|
|
141
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
142
|
+
* @property {string} [className] - Additional Tailwind classes
|
|
143
|
+
*/
|
|
144
|
+
const CardContent = exports.CardContent = /*#__PURE__*/React.forwardRef(({
|
|
145
|
+
className,
|
|
146
|
+
asChild = false,
|
|
147
|
+
...props
|
|
148
|
+
}, ref) => {
|
|
149
|
+
const Component = asChild ? Slot.View : _reactNative.View;
|
|
150
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Component, {
|
|
151
|
+
className: (0, _utils.cn)('p-6 pt-0', className),
|
|
152
|
+
ref: ref,
|
|
153
|
+
...props
|
|
154
|
+
});
|
|
155
|
+
});
|
|
156
|
+
CardContent.displayName = 'CardContent';
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* CardFooter - Footer area for actions or additional info
|
|
160
|
+
*
|
|
161
|
+
* Typically contains buttons or other interactive elements.
|
|
162
|
+
* Arranged as a row with centered items.
|
|
163
|
+
*
|
|
164
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
165
|
+
* @property {string} [className] - Additional Tailwind classes
|
|
166
|
+
*/
|
|
167
|
+
const CardFooter = exports.CardFooter = /*#__PURE__*/React.forwardRef(({
|
|
168
|
+
className,
|
|
169
|
+
asChild = false,
|
|
170
|
+
...props
|
|
171
|
+
}, ref) => {
|
|
172
|
+
const Component = asChild ? Slot.View : _reactNative.View;
|
|
173
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Component, {
|
|
174
|
+
className: (0, _utils.cn)('flex flex-row items-center p-6 pt-0', className),
|
|
175
|
+
ref: ref,
|
|
176
|
+
...props
|
|
177
|
+
});
|
|
178
|
+
});
|
|
179
|
+
CardFooter.displayName = 'CardFooter';
|
|
180
|
+
//# sourceMappingURL=Card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Slot","_interopRequireWildcard","require","_nativewind","React","_reactNative","_utils","_Text","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","cssInterop","View","className","Card","exports","forwardRef","asChild","props","ref","Component","jsx","cn","displayName","CardHeader","CardTitle","TextClassContext","Provider","value","children","CardDescription","CardContent","CardFooter"],"sourceRoot":"../../../../src","sources":["components/ui/Card.tsx"],"mappings":";;;;;;AAAA,IAAAA,IAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAH,uBAAA,CAAAC,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,KAAA,GAAAL,OAAA;AAA0C,IAAAM,WAAA,GAAAN,OAAA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