@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,47 @@
|
|
|
1
|
+
import * as RadioGroupPrimitive from '@rn-primitives/radio-group';
|
|
2
|
+
/**
|
|
3
|
+
* Radio group component for single-choice selection
|
|
4
|
+
*
|
|
5
|
+
* Groups radio buttons together to ensure only one can be selected at a time.
|
|
6
|
+
*
|
|
7
|
+
* @component
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <RadioGroup value={selectedValue} onValueChange={setSelectedValue}>
|
|
11
|
+
* <View className="flex-row items-center gap-2">
|
|
12
|
+
* <RadioGroupItem value="option1" />
|
|
13
|
+
* <Label>Option 1</Label>
|
|
14
|
+
* </View>
|
|
15
|
+
* <View className="flex-row items-center gap-2">
|
|
16
|
+
* <RadioGroupItem value="option2" />
|
|
17
|
+
* <Label>Option 2</Label>
|
|
18
|
+
* </View>
|
|
19
|
+
* </RadioGroup>
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @accessibility
|
|
23
|
+
* - Uses proper ARIA role for radio group
|
|
24
|
+
* - Keyboard navigation support (arrow keys)
|
|
25
|
+
* - Screen reader friendly with proper labeling
|
|
26
|
+
*/
|
|
27
|
+
declare function RadioGroup({ className, ...props }: RadioGroupPrimitive.RootProps & React.RefAttributes<RadioGroupPrimitive.RootRef>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
/**
|
|
29
|
+
* Individual radio button item
|
|
30
|
+
*
|
|
31
|
+
* Displays as a circular button with an inner indicator when selected.
|
|
32
|
+
*
|
|
33
|
+
* @component
|
|
34
|
+
* @example
|
|
35
|
+
* ```tsx
|
|
36
|
+
* <RadioGroupItem value="dark" />
|
|
37
|
+
* <RadioGroupItem value="light" disabled />
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* @accessibility
|
|
41
|
+
* - Disabled state prevents interaction
|
|
42
|
+
* - Focus visible states on web
|
|
43
|
+
* - Invalid state styling for form validation
|
|
44
|
+
*/
|
|
45
|
+
declare function RadioGroupItem({ className, ...props }: RadioGroupPrimitive.ItemProps & React.RefAttributes<RadioGroupPrimitive.ItemRef>): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
export { RadioGroup, RadioGroupItem };
|
|
47
|
+
//# sourceMappingURL=Radio-Group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Radio-Group.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Radio-Group.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,mBAAmB,MAAM,4BAA4B,CAAC;AAGlE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,mBAAmB,CAAC,SAAS,GAC9B,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,OAAO,CAAC,2CAIjD;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,mBAAmB,CAAC,SAAS,GAC9B,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,OAAO,CAAC,2CAgBjD;AAED,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as SelectPrimitive from '@rn-primitives/select';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const ScrollView: React.ComponentType<any>;
|
|
4
|
+
/**
|
|
5
|
+
* Option type for select items
|
|
6
|
+
*/
|
|
7
|
+
type Option = SelectPrimitive.Option;
|
|
8
|
+
/**
|
|
9
|
+
* Root select component for dropdown selection
|
|
10
|
+
*
|
|
11
|
+
* @component
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* <Select value={value} onValueChange={setValue}>
|
|
15
|
+
* <SelectTrigger>
|
|
16
|
+
* <SelectValue placeholder="Select an option" />
|
|
17
|
+
* </SelectTrigger>
|
|
18
|
+
* <SelectContent>
|
|
19
|
+
* <SelectItem value="option1">
|
|
20
|
+
* <Text>Option 1</Text>
|
|
21
|
+
* </SelectItem>
|
|
22
|
+
* </SelectContent>
|
|
23
|
+
* </Select>
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
declare const Select: React.ForwardRefExoticComponent<SelectPrimitive.RootProps>;
|
|
27
|
+
/**
|
|
28
|
+
* Groups related select items together
|
|
29
|
+
* @component
|
|
30
|
+
*/
|
|
31
|
+
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.GroupProps>;
|
|
32
|
+
/**
|
|
33
|
+
* Displays the selected value or placeholder text
|
|
34
|
+
* @component
|
|
35
|
+
*/
|
|
36
|
+
declare function SelectValue({ ref, className, ...props }: SelectPrimitive.ValueProps & React.RefAttributes<SelectPrimitive.ValueRef> & {
|
|
37
|
+
className?: string;
|
|
38
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
/**
|
|
40
|
+
* Trigger button that opens the select dropdown
|
|
41
|
+
* @component
|
|
42
|
+
*/
|
|
43
|
+
declare function SelectTrigger({ ref, className, children, size, ...props }: SelectPrimitive.TriggerProps & React.RefAttributes<SelectPrimitive.TriggerRef> & {
|
|
44
|
+
children?: React.ReactNode;
|
|
45
|
+
size?: 'default' | 'sm';
|
|
46
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
47
|
+
/**
|
|
48
|
+
* Content container for select items
|
|
49
|
+
* @component
|
|
50
|
+
*/
|
|
51
|
+
declare function SelectContent({ className, children, position, portalHost, ...props }: SelectPrimitive.ContentProps & React.RefAttributes<SelectPrimitive.ContentRef> & {
|
|
52
|
+
className?: string;
|
|
53
|
+
portalHost?: string;
|
|
54
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
/**
|
|
56
|
+
* Label for grouping select items
|
|
57
|
+
* @component
|
|
58
|
+
*/
|
|
59
|
+
declare function SelectLabel({ className, ...props }: SelectPrimitive.LabelProps & React.RefAttributes<SelectPrimitive.LabelRef>): import("react/jsx-runtime").JSX.Element;
|
|
60
|
+
/**
|
|
61
|
+
* Individual selectable item
|
|
62
|
+
* @component
|
|
63
|
+
*/
|
|
64
|
+
declare function SelectItem({ className, children: _children, ...props }: SelectPrimitive.ItemProps & React.RefAttributes<SelectPrimitive.ItemRef>): import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
/**
|
|
66
|
+
* Visual separator between select items
|
|
67
|
+
* @component
|
|
68
|
+
*/
|
|
69
|
+
declare function SelectSeparator({ className, ...props }: SelectPrimitive.SeparatorProps & React.RefAttributes<SelectPrimitive.SeparatorRef>): import("react/jsx-runtime").JSX.Element;
|
|
70
|
+
/**
|
|
71
|
+
* @platform Web only
|
|
72
|
+
* Returns null on native platforms
|
|
73
|
+
*/
|
|
74
|
+
declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): import("react/jsx-runtime").JSX.Element | null;
|
|
75
|
+
/**
|
|
76
|
+
* @platform Web only
|
|
77
|
+
* Returns null on native platforms
|
|
78
|
+
*/
|
|
79
|
+
declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): import("react/jsx-runtime").JSX.Element | null;
|
|
80
|
+
/**
|
|
81
|
+
* @platform Native only
|
|
82
|
+
* Returns the children on the web
|
|
83
|
+
*/
|
|
84
|
+
declare function NativeSelectScrollView({ className, ...props }: React.ComponentProps<typeof ScrollView>): import("react/jsx-runtime").JSX.Element;
|
|
85
|
+
export { NativeSelectScrollView, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type Option, };
|
|
86
|
+
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Select.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AAOzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAc/B,QAAA,MAAM,UAAU,EAEV,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;AAE/B;;GAEG;AACH,KAAK,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC;AAErC;;;;;;;;;;;;;;;;;GAiBG;AACH,QAAA,MAAM,MAAM,4DAAuB,CAAC;AAEpC;;;GAGG;AACH,QAAA,MAAM,WAAW,6DAAwB,CAAC;AAE1C;;;GAGG;AACH,iBAAS,WAAW,CAAC,EACnB,GAAG,EACH,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,CAAC,UAAU,GAC3B,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC,QAAQ,CAAC,GAAG;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CAaF;AAED;;;GAGG;AACH,iBAAS,aAAa,CAAC,EACrB,GAAG,EACH,SAAS,EACT,QAAQ,EACR,IAAgB,EAChB,GAAG,KAAK,EACT,EAAE,eAAe,CAAC,YAAY,GAC7B,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG;IAChD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;CACzB,2CAuBF;AAQD;;;GAGG;AACH,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,QAAQ,EACR,QAAmB,EACnB,UAAU,EACV,GAAG,KAAK,EACT,EAAE,eAAe,CAAC,YAAY,GAC7B,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,2CA4DF;AAED;;;GAGG;AACH,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,CAAC,UAAU,GAAG,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC,QAAQ,CAAC,2CAU5E;AAED;;;GAGG;AACH,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,QAAQ,EAAE,SAAS,EACnB,GAAG,KAAK,EACT,EAAE,eAAe,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC,OAAO,CAAC,2CAsB1E;AAED;;;GAGG;AACH,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,CAAC,cAAc,GAC/B,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC,YAAY,CAAC,2CAWlD;AAED;;;GAGG;AACH,iBAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,cAAc,CAAC,kDAe7D;AAED;;;GAGG;AACH,iBAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,gBAAgB,CAAC,kDAe/D;AAED;;;GAGG;AACH,iBAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,2CAMzC;AAED,OAAO,EACL,sBAAsB,EACtB,MAAM,EACN,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,WAAW,EACX,KAAK,MAAM,GACZ,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { SlottableViewProps } from '@rn-primitives/types';
|
|
3
|
+
/**
|
|
4
|
+
* Visual divider for separating content sections
|
|
5
|
+
*
|
|
6
|
+
* A thin line that creates visual separation between content areas. Can be oriented
|
|
7
|
+
* horizontally or vertically and supports decorative or semantic roles.
|
|
8
|
+
*
|
|
9
|
+
* @component
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* // Horizontal separator (default)
|
|
13
|
+
* <View>
|
|
14
|
+
* <Text>Section 1</Text>
|
|
15
|
+
* <Separator className="my-4" />
|
|
16
|
+
* <Text>Section 2</Text>
|
|
17
|
+
* </View>
|
|
18
|
+
*
|
|
19
|
+
* // Vertical separator
|
|
20
|
+
* <View className="flex-row items-center gap-4">
|
|
21
|
+
* <Text>Left</Text>
|
|
22
|
+
* <Separator orientation="vertical" className="h-4" />
|
|
23
|
+
* <Text>Right</Text>
|
|
24
|
+
* </View>
|
|
25
|
+
*
|
|
26
|
+
* // Semantic separator for screen readers
|
|
27
|
+
* <Separator decorative={false} />
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @accessibility
|
|
31
|
+
* - Decorative separators (default) have role="none" for screen readers
|
|
32
|
+
* - Non-decorative separators have role="separator" for semantic meaning
|
|
33
|
+
*/
|
|
34
|
+
declare const Separator: React.ForwardRefExoticComponent<SlottableViewProps & {
|
|
35
|
+
className?: string;
|
|
36
|
+
orientation?: "horizontal" | "vertical";
|
|
37
|
+
decorative?: boolean;
|
|
38
|
+
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
39
|
+
export { Separator };
|
|
40
|
+
//# sourceMappingURL=Separator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAW,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAMxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,QAAA,MAAM,SAAS;gBAGC,MAAM;kBACJ,YAAY,GAAG,UAAU;iBAC1B,OAAO;yHAoBvB,CAAC;AAGF,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type ViewStyle } from 'react-native';
|
|
3
|
+
interface SizedBoxProps {
|
|
4
|
+
/**
|
|
5
|
+
* The width of the box
|
|
6
|
+
*/
|
|
7
|
+
width?: number;
|
|
8
|
+
/**
|
|
9
|
+
* The height of the box
|
|
10
|
+
*/
|
|
11
|
+
height?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Optional child element to render inside the box
|
|
14
|
+
*/
|
|
15
|
+
children?: React.ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* Additional styles to apply
|
|
18
|
+
*/
|
|
19
|
+
style?: ViewStyle;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A box with a specified size.
|
|
23
|
+
*
|
|
24
|
+
* If a child is provided, this widget forces its child to have a specific width and/or height.
|
|
25
|
+
* If either the width or height is not specified, this widget will size itself to match the child's size in that dimension.
|
|
26
|
+
*
|
|
27
|
+
* If no child is provided, this widget will size itself to the specified width and height,
|
|
28
|
+
* treating null values as zero.
|
|
29
|
+
*
|
|
30
|
+
* This is similar to Flutter's SizedBox widget and is useful for:
|
|
31
|
+
* - Adding fixed spacing between widgets
|
|
32
|
+
* - Constraining child widget dimensions
|
|
33
|
+
* - Creating empty space
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* // Create spacing
|
|
37
|
+
* <SizedBox height={16} />
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* // Constrain child size
|
|
41
|
+
* <SizedBox width={100} height={100}>
|
|
42
|
+
* <Image source={...} />
|
|
43
|
+
* </SizedBox>
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* // Create horizontal spacing
|
|
47
|
+
* <View style={{ flexDirection: 'row' }}>
|
|
48
|
+
* <Button />
|
|
49
|
+
* <SizedBox width={12} />
|
|
50
|
+
* <Button />
|
|
51
|
+
* </View>
|
|
52
|
+
*/
|
|
53
|
+
export declare function SizedBox({ width, height, children, style }: SizedBoxProps): import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
export declare namespace SizedBox {
|
|
55
|
+
/**
|
|
56
|
+
* Creates a square SizedBox with equal width and height
|
|
57
|
+
*/
|
|
58
|
+
function Square({ size, children, style, }: {
|
|
59
|
+
size: number;
|
|
60
|
+
children?: React.ReactNode;
|
|
61
|
+
style?: ViewStyle;
|
|
62
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
63
|
+
/**
|
|
64
|
+
* Creates a SizedBox that expands to fill available space
|
|
65
|
+
*/
|
|
66
|
+
function Expand({ children, style, }: {
|
|
67
|
+
children?: React.ReactNode;
|
|
68
|
+
style?: ViewStyle;
|
|
69
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
70
|
+
/**
|
|
71
|
+
* Creates a SizedBox that shrinks to fit its content
|
|
72
|
+
*/
|
|
73
|
+
function Shrink({ children, style, }: {
|
|
74
|
+
children?: React.ReactNode;
|
|
75
|
+
style?: ViewStyle;
|
|
76
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
77
|
+
}
|
|
78
|
+
export {};
|
|
79
|
+
//# sourceMappingURL=SizedBox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SizedBox.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/SizedBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,UAAU,aAAa;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,aAAa,2CAQzE;AAGD,yBAAiB,QAAQ,CAAC;IACxB;;OAEG;IACH,SAAgB,MAAM,CAAC,EACrB,IAAI,EACJ,QAAQ,EACR,KAAK,GACN,EAAE;QACD,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,KAAK,CAAC,EAAE,SAAS,CAAC;KACnB,2CAMA;IAED;;OAEG;IACH,SAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,KAAK,GACN,EAAE;QACD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,KAAK,CAAC,EAAE,SAAS,CAAC;KACnB,2CAGA;IAED;;OAEG;IACH,SAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,KAAK,GACN,EAAE;QACD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,KAAK,CAAC,EAAE,SAAS,CAAC;KACnB,2CAGA;CACF"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { View as RNView, type ViewProps } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* Skeleton loading placeholder component
|
|
4
|
+
*
|
|
5
|
+
* Displays an animated placeholder during content loading states. Provides visual feedback
|
|
6
|
+
* to users while data is being fetched, improving perceived performance.
|
|
7
|
+
*
|
|
8
|
+
* @component
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* // Text skeleton
|
|
12
|
+
* <Skeleton className="h-4 w-[250px]" />
|
|
13
|
+
*
|
|
14
|
+
* // Avatar skeleton
|
|
15
|
+
* <Skeleton className="h-12 w-12 rounded-full" />
|
|
16
|
+
*
|
|
17
|
+
* // Card skeleton
|
|
18
|
+
* <View className="flex gap-3">
|
|
19
|
+
* <Skeleton className="h-[125px] w-full rounded-xl" />
|
|
20
|
+
* <View className="gap-2">
|
|
21
|
+
* <Skeleton className="h-4 w-full" />
|
|
22
|
+
* <Skeleton className="h-4 w-[80%]" />
|
|
23
|
+
* </View>
|
|
24
|
+
* </View>
|
|
25
|
+
*
|
|
26
|
+
* // List skeleton
|
|
27
|
+
* {[1, 2, 3].map((i) => (
|
|
28
|
+
* <View key={i} className="flex-row items-center gap-4">
|
|
29
|
+
* <Skeleton className="h-12 w-12 rounded-full" />
|
|
30
|
+
* <View className="flex-1 gap-2">
|
|
31
|
+
* <Skeleton className="h-4 w-full" />
|
|
32
|
+
* <Skeleton className="h-4 w-3/4" />
|
|
33
|
+
* </View>
|
|
34
|
+
* </View>
|
|
35
|
+
* ))}
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
declare function Skeleton({ className, ...props }: ViewProps & {
|
|
39
|
+
className?: string;
|
|
40
|
+
} & React.RefAttributes<RNView>): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export { Skeleton };
|
|
42
|
+
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAO9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,2CAOlE;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type ViewProps } from 'react-native';
|
|
3
|
+
/**
|
|
4
|
+
* Props for the Slider component
|
|
5
|
+
*
|
|
6
|
+
* @property {number} value - Current slider value
|
|
7
|
+
* @property {function} onValueChange - Callback when value changes
|
|
8
|
+
* @property {number} min - Minimum value (default: 0)
|
|
9
|
+
* @property {number} max - Maximum value (default: 100)
|
|
10
|
+
* @property {number} step - Step increment (default: 1)
|
|
11
|
+
* @property {boolean} disabled - Whether the slider is disabled
|
|
12
|
+
*/
|
|
13
|
+
export interface SliderProps extends Omit<ViewProps, 'children'> {
|
|
14
|
+
value: number;
|
|
15
|
+
onValueChange?: (value: number[]) => void;
|
|
16
|
+
min?: number;
|
|
17
|
+
max?: number;
|
|
18
|
+
step?: number;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
className?: string;
|
|
21
|
+
style?: any;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Ref interface for Slider component
|
|
25
|
+
*
|
|
26
|
+
* @property {function} reset - Resets slider to minimum value
|
|
27
|
+
*/
|
|
28
|
+
export interface SliderRef {
|
|
29
|
+
reset: () => void;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Interactive slider component for selecting numeric values
|
|
33
|
+
*
|
|
34
|
+
* Provides smooth gesture-based interaction with spring animations.
|
|
35
|
+
* Supports min/max ranges, step increments, and tap-to-select.
|
|
36
|
+
*
|
|
37
|
+
* @component
|
|
38
|
+
* @example
|
|
39
|
+
* ```tsx
|
|
40
|
+
* <Slider
|
|
41
|
+
* value={volume}
|
|
42
|
+
* onValueChange={(values) => setVolume(values[0])}
|
|
43
|
+
* min={0}
|
|
44
|
+
* max={100}
|
|
45
|
+
* step={5}
|
|
46
|
+
* />
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @accessibility
|
|
50
|
+
* - Disabled state prevents interaction
|
|
51
|
+
* - Focus visible states on web
|
|
52
|
+
* - Value changes are announced by screen readers
|
|
53
|
+
*/
|
|
54
|
+
declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<SliderRef>>;
|
|
55
|
+
export { Slider };
|
|
56
|
+
//# sourceMappingURL=Slider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAA4B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAexE;;;;;;;;;GASG;AACH,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC1C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,GAAG,CAAC;CACb;AAED;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,QAAA,MAAM,MAAM,+EA0JX,CAAC;AAIF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as SwitchPrimitives from '@rn-primitives/switch';
|
|
2
|
+
/**
|
|
3
|
+
* A toggle switch component for binary on/off states
|
|
4
|
+
*
|
|
5
|
+
* Provides a visual toggle control with smooth animations and platform-specific styling.
|
|
6
|
+
* Automatically handles checked/unchecked states and disabled interactions.
|
|
7
|
+
*
|
|
8
|
+
* @component
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* const [enabled, setEnabled] = useState(false);
|
|
12
|
+
*
|
|
13
|
+
* <Switch
|
|
14
|
+
* checked={enabled}
|
|
15
|
+
* onCheckedChange={setEnabled}
|
|
16
|
+
* />
|
|
17
|
+
*
|
|
18
|
+
* // Disabled switch
|
|
19
|
+
* <Switch checked={true} disabled />
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @param {boolean} checked - Current state of the switch
|
|
23
|
+
* @param {(checked: boolean) => void} onCheckedChange - Callback when switch is toggled
|
|
24
|
+
* @param {boolean} [disabled] - Whether the switch is disabled
|
|
25
|
+
* @param {string} [className] - Additional Tailwind classes
|
|
26
|
+
*
|
|
27
|
+
* @accessibility
|
|
28
|
+
* - Proper focus states on web for keyboard navigation
|
|
29
|
+
* - Disabled state prevents interaction
|
|
30
|
+
* - Visual feedback for checked/unchecked states
|
|
31
|
+
*/
|
|
32
|
+
declare function Switch({ className, ...props }: SwitchPrimitives.RootProps & React.RefAttributes<SwitchPrimitives.RootRef>): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export { Switch };
|
|
34
|
+
//# sourceMappingURL=Switch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Switch.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC;AAG1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,OAAO,CAAC,2CA2B5E;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Text } from './Text';
|
|
2
|
+
import { View as RNView, type ViewProps } from 'react-native';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
/**
|
|
5
|
+
* Root table container component
|
|
6
|
+
*
|
|
7
|
+
* @component
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <Table>
|
|
11
|
+
* <TableHeader>
|
|
12
|
+
* <TableRow>
|
|
13
|
+
* <TableHead><Text>Name</Text></TableHead>
|
|
14
|
+
* <TableHead><Text>Email</Text></TableHead>
|
|
15
|
+
* </TableRow>
|
|
16
|
+
* </TableHeader>
|
|
17
|
+
* <TableBody>
|
|
18
|
+
* <TableRow>
|
|
19
|
+
* <TableCell><Text>John Doe</Text></TableCell>
|
|
20
|
+
* <TableCell><Text>john@example.com</Text></TableCell>
|
|
21
|
+
* </TableRow>
|
|
22
|
+
* </TableBody>
|
|
23
|
+
* </Table>
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
declare function Table({ className, ...props }: ViewProps & {
|
|
27
|
+
className?: string;
|
|
28
|
+
} & React.RefAttributes<RNView>): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
/**
|
|
30
|
+
* Table header container
|
|
31
|
+
*
|
|
32
|
+
* @component
|
|
33
|
+
*/
|
|
34
|
+
declare function TableHeader({ className, ...props }: ViewProps & {
|
|
35
|
+
className?: string;
|
|
36
|
+
} & React.RefAttributes<RNView>): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
/**
|
|
38
|
+
* Table body container for data rows
|
|
39
|
+
*
|
|
40
|
+
* @component
|
|
41
|
+
*/
|
|
42
|
+
declare function TableBody({ className, ...props }: ViewProps & {
|
|
43
|
+
className?: string;
|
|
44
|
+
} & React.RefAttributes<RNView>): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
/**
|
|
46
|
+
* Table footer container
|
|
47
|
+
*
|
|
48
|
+
* @component
|
|
49
|
+
*/
|
|
50
|
+
declare function TableFooter({ className, ...props }: ViewProps & {
|
|
51
|
+
className?: string;
|
|
52
|
+
} & React.RefAttributes<RNView>): import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
/**
|
|
54
|
+
* Table row component
|
|
55
|
+
*
|
|
56
|
+
* @component
|
|
57
|
+
*/
|
|
58
|
+
declare function TableRow({ className, ...props }: ViewProps & {
|
|
59
|
+
className?: string;
|
|
60
|
+
} & React.RefAttributes<RNView>): import("react/jsx-runtime").JSX.Element;
|
|
61
|
+
/**
|
|
62
|
+
* Table header cell component
|
|
63
|
+
*
|
|
64
|
+
* @component
|
|
65
|
+
*/
|
|
66
|
+
declare function TableHead({ className, ...props }: React.ComponentProps<typeof Text> & React.RefAttributes<Text>): import("react/jsx-runtime").JSX.Element;
|
|
67
|
+
/**
|
|
68
|
+
* Table data cell component
|
|
69
|
+
*
|
|
70
|
+
* @component
|
|
71
|
+
*/
|
|
72
|
+
declare function TableCell({ className, ...props }: React.ComponentProps<typeof Text> & React.RefAttributes<Text>): import("react/jsx-runtime").JSX.Element;
|
|
73
|
+
/**
|
|
74
|
+
* Table caption for describing the table
|
|
75
|
+
*
|
|
76
|
+
* @component
|
|
77
|
+
*/
|
|
78
|
+
declare function TableCaption({ className, ...props }: React.ComponentProps<typeof Text> & React.RefAttributes<Text>): import("react/jsx-runtime").JSX.Element;
|
|
79
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, };
|
|
80
|
+
//# sourceMappingURL=Table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Table.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,2CAElE;AAED;;;;GAIG;AACH,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,2CAOlE;AAED;;;;GAIG;AACH,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,2CAElE;AAED;;;;GAIG;AACH,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,2CAUlE;AAED;;;;GAIG;AACH,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,2CAOlE;AAED;;;;GAIG;AACH,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,2CAU/D;AAED;;;;GAIG;AACH,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,2CAO/D;AAED;;;;GAIG;AACH,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,2CAU/D;AAED,OAAO,EACL,KAAK,EACL,SAAS,EACT,YAAY,EACZ,SAAS,EACT,WAAW,EACX,SAAS,EACT,WAAW,EACX,QAAQ,GACT,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as TabsPrimitive from '@rn-primitives/tabs';
|
|
2
|
+
/**
|
|
3
|
+
* Root tabs component for organizing content into panels
|
|
4
|
+
*
|
|
5
|
+
* @component
|
|
6
|
+
* @example
|
|
7
|
+
* ```tsx
|
|
8
|
+
* <Tabs value={activeTab} onValueChange={setActiveTab}>
|
|
9
|
+
* <TabsList>
|
|
10
|
+
* <TabsTrigger value="account">
|
|
11
|
+
* <Text>Account</Text>
|
|
12
|
+
* </TabsTrigger>
|
|
13
|
+
* <TabsTrigger value="password">
|
|
14
|
+
* <Text>Password</Text>
|
|
15
|
+
* </TabsTrigger>
|
|
16
|
+
* </TabsList>
|
|
17
|
+
* <TabsContent value="account">
|
|
18
|
+
* <Text>Account settings content</Text>
|
|
19
|
+
* </TabsContent>
|
|
20
|
+
* <TabsContent value="password">
|
|
21
|
+
* <Text>Password settings content</Text>
|
|
22
|
+
* </TabsContent>
|
|
23
|
+
* </Tabs>
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @accessibility
|
|
27
|
+
* - Keyboard navigation support (arrow keys)
|
|
28
|
+
* - Proper ARIA attributes for tab structure
|
|
29
|
+
* - Screen reader friendly
|
|
30
|
+
*/
|
|
31
|
+
declare function Tabs({ className, ...props }: TabsPrimitive.RootProps & React.RefAttributes<TabsPrimitive.RootRef>): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
/**
|
|
33
|
+
* Container for tab triggers
|
|
34
|
+
*
|
|
35
|
+
* @component
|
|
36
|
+
*/
|
|
37
|
+
declare function TabsList({ className, ...props }: TabsPrimitive.ListProps & React.RefAttributes<TabsPrimitive.ListRef>): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
/**
|
|
39
|
+
* Individual tab trigger button
|
|
40
|
+
*
|
|
41
|
+
* @component
|
|
42
|
+
*/
|
|
43
|
+
declare function TabsTrigger({ className, ...props }: TabsPrimitive.TriggerProps & React.RefAttributes<TabsPrimitive.TriggerRef>): import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
/**
|
|
45
|
+
* Tab content panel
|
|
46
|
+
*
|
|
47
|
+
* @component
|
|
48
|
+
*/
|
|
49
|
+
declare function TabsContent({ className, ...props }: TabsPrimitive.ContentProps & React.RefAttributes<TabsPrimitive.ContentRef>): import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
51
|
+
//# sourceMappingURL=Tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Tabs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,aAAa,MAAM,qBAAqB,CAAC;AAGrD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,iBAAS,IAAI,CAAC,EACZ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,aAAa,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,OAAO,CAAC,2CAOtE;AAED;;;;GAIG;AACH,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,aAAa,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,OAAO,CAAC,2CAWtE;AAED;;;;GAIG;AACH,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,aAAa,CAAC,YAAY,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,UAAU,CAAC,2CAwB5E;AAED;;;;GAIG;AACH,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,aAAa,CAAC,YAAY,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,UAAU,CAAC,2CAO5E;AAED,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { SlottableTextProps } from '@rn-primitives/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Context for sharing text class styles with child Text components
|
|
5
|
+
* Used by components like Button, Card, Badge to automatically style nested Text
|
|
6
|
+
*/
|
|
7
|
+
declare const TextClassContext: React.Context<string | undefined>;
|
|
8
|
+
/**
|
|
9
|
+
* Enhanced Text component with NativeWind styling support
|
|
10
|
+
*
|
|
11
|
+
* Extends React Native's Text with:
|
|
12
|
+
* - Automatic style inheritance from TextClassContext
|
|
13
|
+
* - NativeWind className support
|
|
14
|
+
* - Slot pattern support for composition
|
|
15
|
+
* - Web-specific selection styling
|
|
16
|
+
*
|
|
17
|
+
* @component
|
|
18
|
+
* @example
|
|
19
|
+
* ```tsx
|
|
20
|
+
* // Basic text
|
|
21
|
+
* <Text>Hello World</Text>
|
|
22
|
+
*
|
|
23
|
+
* // With custom styling
|
|
24
|
+
* <Text className="text-lg font-bold">Title</Text>
|
|
25
|
+
*
|
|
26
|
+
* // Inside a styled context (e.g., Button)
|
|
27
|
+
* <Button variant="default">
|
|
28
|
+
* <Text>Button Text</Text> // Automatically inherits button text styling
|
|
29
|
+
* </Button>
|
|
30
|
+
*
|
|
31
|
+
* // Using asChild for composition
|
|
32
|
+
* <Text asChild>
|
|
33
|
+
* <Link href="/home">Home</Link>
|
|
34
|
+
* </Text>
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @property {string} [className] - Additional Tailwind classes
|
|
38
|
+
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
39
|
+
*/
|
|
40
|
+
declare const Text: React.ForwardRefExoticComponent<SlottableTextProps & {
|
|
41
|
+
className?: string;
|
|
42
|
+
children?: React.ReactNode;
|
|
43
|
+
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
44
|
+
export { Text, TextClassContext };
|
|
45
|
+
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Text.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,sBAAsB,CAAC;AAExE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B;;;GAGG;AACH,QAAA,MAAM,gBAAgB,mCAAqD,CAAC;AAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,QAAA,MAAM,IAAI;gBAGM,MAAM;eACP,KAAK,CAAC,SAAS;yHAa5B,CAAC;AAGH,OAAO,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC"}
|