@campxdev/react-native-blueprint 0.1.9 → 0.1.12
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 +287 -26
- 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/components/ui/index.js +24 -19
- package/lib/module/components/ui/index.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 +65 -65
- package/lib/typescript/{src → commonjs/src}/components/ui/Avatar.d.ts.map +1 -1
- package/lib/typescript/{src → commonjs/src}/components/ui/Badge.d.ts +3 -3
- 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/{src → commonjs/src}/components/ui/Button.d.ts +3 -3
- 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/{src → commonjs/src}/components/ui/index.d.ts +19 -19
- 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 +609 -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/components/ui/index.ts +24 -19
- 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/Bottom-Sheet.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}/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,54 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TextInput as RNTextInput, type TextInputProps } from 'react-native';
|
|
3
|
+
/**
|
|
4
|
+
* Props for Input component
|
|
5
|
+
*
|
|
6
|
+
* @extends TextInputProps - All standard React Native TextInput props
|
|
7
|
+
* @property {string} [className] - Additional Tailwind classes for custom styling
|
|
8
|
+
* @property {boolean} [editable=true] - Whether the input is editable (disabled when false)
|
|
9
|
+
*/
|
|
10
|
+
interface InputProps extends Omit<TextInputProps, 'editable'> {
|
|
11
|
+
className?: string;
|
|
12
|
+
editable?: boolean;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* A styled text input component with consistent design across platforms
|
|
16
|
+
*
|
|
17
|
+
* Features platform-specific behaviors:
|
|
18
|
+
* - Web: Focus ring, selection styling, aria-invalid support
|
|
19
|
+
* - Native: Optimized placeholder opacity and input styling
|
|
20
|
+
*
|
|
21
|
+
* Automatically adapts styling when disabled/non-editable.
|
|
22
|
+
*
|
|
23
|
+
* @component
|
|
24
|
+
* @example
|
|
25
|
+
* ```tsx
|
|
26
|
+
* // Basic input
|
|
27
|
+
* <Input
|
|
28
|
+
* placeholder="Enter your name"
|
|
29
|
+
* value={name}
|
|
30
|
+
* onChangeText={setName}
|
|
31
|
+
* />
|
|
32
|
+
*
|
|
33
|
+
* // Disabled input
|
|
34
|
+
* <Input
|
|
35
|
+
* value="Read only"
|
|
36
|
+
* editable={false}
|
|
37
|
+
* />
|
|
38
|
+
*
|
|
39
|
+
* // With custom styling
|
|
40
|
+
* <Input
|
|
41
|
+
* className="border-primary"
|
|
42
|
+
* placeholder="Search..."
|
|
43
|
+
* />
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @accessibility
|
|
47
|
+
* - Supports aria-invalid for form validation states (web)
|
|
48
|
+
* - Placeholder text uses appropriate contrast colors
|
|
49
|
+
* - Disabled state is visually indicated with opacity
|
|
50
|
+
*/
|
|
51
|
+
declare function Input({ className, editable, ...props }: InputProps & React.RefAttributes<RNTextInput>): import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
export { Input };
|
|
53
|
+
export type { InputProps };
|
|
54
|
+
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,SAAS,IAAI,WAAW,EACxB,KAAK,cAAc,EACpB,MAAM,cAAc,CAAC;AAOtB;;;;;;GAMG;AACH,UAAU,UAAW,SAAQ,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,QAAe,EACf,GAAG,KAAK,EACT,EAAE,UAAU,GAAG,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,2CA4B/C;AAED,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { SlottableTextProps } from '@rn-primitives/types';
|
|
3
|
+
/**
|
|
4
|
+
* Accessible label component for form controls
|
|
5
|
+
*
|
|
6
|
+
* Provides semantic labeling for form inputs with proper styling and accessibility support.
|
|
7
|
+
* Automatically associates with form controls and respects disabled states.
|
|
8
|
+
*
|
|
9
|
+
* @component
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* // Label with input
|
|
13
|
+
* <View className="gap-2">
|
|
14
|
+
* <Label htmlFor="email">Email Address</Label>
|
|
15
|
+
* <Input id="email" placeholder="Enter email" />
|
|
16
|
+
* </View>
|
|
17
|
+
*
|
|
18
|
+
* // Label for checkbox
|
|
19
|
+
* <View className="flex-row items-center gap-2">
|
|
20
|
+
* <Checkbox id="terms" />
|
|
21
|
+
* <Label htmlFor="terms">I agree to the terms and conditions</Label>
|
|
22
|
+
* </View>
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @accessibility
|
|
26
|
+
* - Properly associates with form controls via htmlFor/id
|
|
27
|
+
* - Reduced opacity when associated control is disabled
|
|
28
|
+
* - Screen reader compatible
|
|
29
|
+
*/
|
|
30
|
+
declare const Label: React.ForwardRefExoticComponent<SlottableTextProps & {
|
|
31
|
+
className?: string;
|
|
32
|
+
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
33
|
+
export { Label };
|
|
34
|
+
//# sourceMappingURL=Label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,sBAAsB,CAAC;AAExE;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,QAAA,MAAM,KAAK;gBAE0B,MAAM;yHAUzC,CAAC;AAGH,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import * as MenubarPrimitive from '@rn-primitives/menubar';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { type StyleProp, type TextProps, type ViewStyle } from 'react-native';
|
|
4
|
+
/**
|
|
5
|
+
* Individual menu within the menubar
|
|
6
|
+
*
|
|
7
|
+
* @component
|
|
8
|
+
*/
|
|
9
|
+
declare const MenubarMenu: React.ForwardRefExoticComponent<MenubarPrimitive.MenuProps>;
|
|
10
|
+
/**
|
|
11
|
+
* Groups related menu items together
|
|
12
|
+
*
|
|
13
|
+
* @component
|
|
14
|
+
*/
|
|
15
|
+
declare const MenubarGroup: React.ForwardRefExoticComponent<MenubarPrimitive.GroupProps>;
|
|
16
|
+
/**
|
|
17
|
+
* Portal component to render menu content outside the DOM hierarchy
|
|
18
|
+
*
|
|
19
|
+
* @component
|
|
20
|
+
*/
|
|
21
|
+
declare const MenubarPortal: React.ForwardRefExoticComponent<MenubarPrimitive.PortalProps>;
|
|
22
|
+
/**
|
|
23
|
+
* Root component for nested submenu
|
|
24
|
+
*
|
|
25
|
+
* @component
|
|
26
|
+
*/
|
|
27
|
+
declare const MenubarSub: React.ForwardRefExoticComponent<MenubarPrimitive.SubProps>;
|
|
28
|
+
/**
|
|
29
|
+
* Groups radio items together with single selection
|
|
30
|
+
*
|
|
31
|
+
* @component
|
|
32
|
+
*/
|
|
33
|
+
declare const MenubarRadioGroup: React.ForwardRefExoticComponent<MenubarPrimitive.RadioGroupProps>;
|
|
34
|
+
/**
|
|
35
|
+
* Root menubar component for application-level menu navigation
|
|
36
|
+
*
|
|
37
|
+
* Provides horizontal menu bar similar to desktop applications, with support
|
|
38
|
+
* for nested menus and automatic close on outside press.
|
|
39
|
+
*
|
|
40
|
+
* @component
|
|
41
|
+
* @example
|
|
42
|
+
* ```tsx
|
|
43
|
+
* <Menubar>
|
|
44
|
+
* <MenubarMenu>
|
|
45
|
+
* <MenubarTrigger>
|
|
46
|
+
* <Text>File</Text>
|
|
47
|
+
* </MenubarTrigger>
|
|
48
|
+
* <MenubarContent>
|
|
49
|
+
* <MenubarItem>
|
|
50
|
+
* <Text>New File</Text>
|
|
51
|
+
* </MenubarItem>
|
|
52
|
+
* <MenubarItem>
|
|
53
|
+
* <Text>Open</Text>
|
|
54
|
+
* </MenubarItem>
|
|
55
|
+
* </MenubarContent>
|
|
56
|
+
* </MenubarMenu>
|
|
57
|
+
* </Menubar>
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @accessibility
|
|
61
|
+
* - Keyboard navigation support
|
|
62
|
+
* - Proper ARIA attributes for menu structure
|
|
63
|
+
*/
|
|
64
|
+
declare function Menubar({ className, value: valueProp, onValueChange: onValueChangeProp, ...props }: MenubarPrimitive.RootProps & React.RefAttributes<MenubarPrimitive.RootRef>): import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
/**
|
|
66
|
+
* Trigger button for a menubar menu
|
|
67
|
+
*
|
|
68
|
+
* @component
|
|
69
|
+
* @example
|
|
70
|
+
* ```tsx
|
|
71
|
+
* <MenubarTrigger>
|
|
72
|
+
* <Text>Edit</Text>
|
|
73
|
+
* </MenubarTrigger>
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
declare function MenubarTrigger({ className, ...props }: MenubarPrimitive.TriggerProps & React.RefAttributes<MenubarPrimitive.TriggerRef>): import("react/jsx-runtime").JSX.Element;
|
|
77
|
+
/**
|
|
78
|
+
* Trigger for opening a nested submenu
|
|
79
|
+
* @component
|
|
80
|
+
*/
|
|
81
|
+
declare function MenubarSubTrigger({ className: _className, inset, children, iconClassName, ...props }: MenubarPrimitive.SubTriggerProps & React.RefAttributes<MenubarPrimitive.SubTriggerRef> & {
|
|
82
|
+
children?: React.ReactNode;
|
|
83
|
+
iconClassName?: string;
|
|
84
|
+
inset?: boolean;
|
|
85
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
86
|
+
/**
|
|
87
|
+
* Content container for nested submenu items
|
|
88
|
+
* @component
|
|
89
|
+
*/
|
|
90
|
+
declare function MenubarSubContent({ className, ...props }: MenubarPrimitive.SubContentProps & React.RefAttributes<MenubarPrimitive.SubContentRef>): import("react/jsx-runtime").JSX.Element;
|
|
91
|
+
/**
|
|
92
|
+
* Main content container for menu items
|
|
93
|
+
* @component
|
|
94
|
+
*/
|
|
95
|
+
declare function MenubarContent({ className, overlayClassName: _overlayClassName, overlayStyle: _overlayStyle, portalHost, align, alignOffset, sideOffset, ...props }: MenubarPrimitive.ContentProps & React.RefAttributes<MenubarPrimitive.ContentRef> & {
|
|
96
|
+
overlayStyle?: StyleProp<ViewStyle>;
|
|
97
|
+
overlayClassName?: string;
|
|
98
|
+
portalHost?: string;
|
|
99
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
100
|
+
/**
|
|
101
|
+
* Individual menu item component
|
|
102
|
+
* @component
|
|
103
|
+
*/
|
|
104
|
+
declare function MenubarItem({ className, inset, variant, ...props }: MenubarPrimitive.ItemProps & React.RefAttributes<MenubarPrimitive.ItemRef> & {
|
|
105
|
+
className?: string;
|
|
106
|
+
inset?: boolean;
|
|
107
|
+
variant?: 'default' | 'destructive';
|
|
108
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
109
|
+
/**
|
|
110
|
+
* Menu item with checkbox for multi-selection
|
|
111
|
+
* @component
|
|
112
|
+
*/
|
|
113
|
+
declare function MenubarCheckboxItem({ className, children, ...props }: MenubarPrimitive.CheckboxItemProps & React.RefAttributes<MenubarPrimitive.CheckboxItemRef> & {
|
|
114
|
+
children?: React.ReactNode;
|
|
115
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
116
|
+
/**
|
|
117
|
+
* Menu item with radio button for single selection within a group
|
|
118
|
+
* @component
|
|
119
|
+
*/
|
|
120
|
+
declare function MenubarRadioItem({ className, children, ...props }: MenubarPrimitive.RadioItemProps & React.RefAttributes<MenubarPrimitive.RadioItemRef> & {
|
|
121
|
+
children?: React.ReactNode;
|
|
122
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
123
|
+
/**
|
|
124
|
+
* Label component for grouping and describing menu sections
|
|
125
|
+
* @component
|
|
126
|
+
*/
|
|
127
|
+
declare function MenubarLabel({ className, inset, ...props }: MenubarPrimitive.LabelProps & React.RefAttributes<MenubarPrimitive.LabelRef> & {
|
|
128
|
+
className?: string;
|
|
129
|
+
inset?: boolean;
|
|
130
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
131
|
+
/**
|
|
132
|
+
* Visual separator between menu items or sections
|
|
133
|
+
* @component
|
|
134
|
+
*/
|
|
135
|
+
declare function MenubarSeparator({ className, ...props }: MenubarPrimitive.SeparatorProps & React.RefAttributes<MenubarPrimitive.SeparatorRef>): import("react/jsx-runtime").JSX.Element;
|
|
136
|
+
/**
|
|
137
|
+
* Displays keyboard shortcut hint for menu items
|
|
138
|
+
* @component
|
|
139
|
+
*/
|
|
140
|
+
declare function MenubarShortcut({ className, ...props }: TextProps & React.RefAttributes<Text>): import("react/jsx-runtime").JSX.Element;
|
|
141
|
+
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, };
|
|
142
|
+
//# sourceMappingURL=Menubar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Menubar.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Menubar.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import Animated from 'react-native-reanimated';
|
|
2
|
+
/**
|
|
3
|
+
* Platform-conditional animated view component
|
|
4
|
+
*
|
|
5
|
+
* Renders an Animated.View on native platforms (iOS/Android) and a React Fragment
|
|
6
|
+
* on web. This utility helps maintain consistent animation APIs across platforms
|
|
7
|
+
* while avoiding web-incompatible animations.
|
|
8
|
+
*
|
|
9
|
+
* Used internally by other components like Dialog, Popover, Tooltip, etc. to provide
|
|
10
|
+
* smooth entrance/exit animations on native while gracefully degrading to no animation
|
|
11
|
+
* on web where certain Reanimated features are not supported.
|
|
12
|
+
*
|
|
13
|
+
* @component
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* <NativeOnlyAnimatedView entering={FadeIn} exiting={FadeOut}>
|
|
17
|
+
* <View><Text>Animated content on native, static on web</Text></View>
|
|
18
|
+
* </NativeOnlyAnimatedView>
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @platform iOS, Android - Full animation support
|
|
22
|
+
* @platform web - Renders as Fragment without animations
|
|
23
|
+
*/
|
|
24
|
+
declare function NativeOnlyAnimatedView(props: React.ComponentProps<typeof Animated.View> & React.RefAttributes<Animated.View>): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export { NativeOnlyAnimatedView };
|
|
26
|
+
//# sourceMappingURL=Native-Only-Animated-View.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Native-Only-Animated-View.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Native-Only-Animated-View.tsx"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,yBAAyB,CAAC;AAE/C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,iBAAS,sBAAsB,CAC7B,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,IAAI,CAAC,GAC/C,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,2CAOrC;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { ImageSourcePropType } from 'react-native';
|
|
3
|
+
/**
|
|
4
|
+
* Props for individual navigation bar items
|
|
5
|
+
*
|
|
6
|
+
* Defines the structure for each item displayed in the NavBar component.
|
|
7
|
+
* Each item can have both active and inactive states with different icons.
|
|
8
|
+
*
|
|
9
|
+
* @interface NavBarItem
|
|
10
|
+
*
|
|
11
|
+
* @property {ImageSourcePropType | React.ReactElement} icon - Icon displayed when item is inactive
|
|
12
|
+
* - Can be an image source from require() or { uri: 'url' }
|
|
13
|
+
* - Can be a React element like lucide-react-native icons
|
|
14
|
+
* @property {ImageSourcePropType | React.ReactElement} activeIcon - Icon displayed when item is active
|
|
15
|
+
* - Same types as icon property
|
|
16
|
+
* - Typically a different color or style variant
|
|
17
|
+
* @property {string} label - Text label displayed below the icon
|
|
18
|
+
* @property {() => void} onPress - Callback function invoked when item is pressed
|
|
19
|
+
* @property {boolean} [disabled] - Optional flag to disable the item interaction
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```tsx
|
|
23
|
+
* // Using image sources
|
|
24
|
+
* const homeItem: NavBarItem = {
|
|
25
|
+
* icon: require('./assets/home-inactive.png'),
|
|
26
|
+
* activeIcon: require('./assets/home-active.png'),
|
|
27
|
+
* label: 'Home',
|
|
28
|
+
* onPress: () => console.log('Home pressed'),
|
|
29
|
+
* };
|
|
30
|
+
*
|
|
31
|
+
* // Using React elements (lucide icons)
|
|
32
|
+
* import { Home } from 'lucide-react-native';
|
|
33
|
+
* const homeItem: NavBarItem = {
|
|
34
|
+
* icon: <Icon as={Home} color="#666" />,
|
|
35
|
+
* activeIcon: <Icon as={Home} color="#000" />,
|
|
36
|
+
* label: 'Home',
|
|
37
|
+
* onPress: () => navigation.navigate('Home'),
|
|
38
|
+
* };
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export interface NavBarItem {
|
|
42
|
+
icon: ImageSourcePropType | React.ReactElement;
|
|
43
|
+
activeIcon: ImageSourcePropType | React.ReactElement;
|
|
44
|
+
label: string;
|
|
45
|
+
onPress: () => void;
|
|
46
|
+
disabled?: boolean;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Props for NavBar component
|
|
50
|
+
*
|
|
51
|
+
* Configuration options for customizing the NavBar appearance and behavior.
|
|
52
|
+
* Provides fine-grained control over styling for different states and elements.
|
|
53
|
+
*
|
|
54
|
+
* @interface NavBarProps
|
|
55
|
+
*
|
|
56
|
+
* @property {NavBarItem[]} items - Array of navigation items to display in the bar
|
|
57
|
+
* @property {number} activeIndex - Zero-based index of the currently active item
|
|
58
|
+
*
|
|
59
|
+
* @property {string} [className] - Additional Tailwind classes for the main container
|
|
60
|
+
* @property {string} [itemClassName] - Additional Tailwind classes applied to all items
|
|
61
|
+
* @property {string} [activeItemClassName] - Additional Tailwind classes for the active item only
|
|
62
|
+
* @property {string} [labelClassName] - Additional Tailwind classes for all labels
|
|
63
|
+
* @property {string} [activeLabelClassName] - Additional Tailwind classes for the active label only
|
|
64
|
+
* @property {string} [backgroundColor] - Custom background color classes (overrides default)
|
|
65
|
+
* @property {number} [iconSize] - Size of icons in pixels (default: 24)
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```tsx
|
|
69
|
+
* const navBarProps: NavBarProps = {
|
|
70
|
+
* items: navigationItems,
|
|
71
|
+
* activeIndex: 0,
|
|
72
|
+
* iconSize: 28,
|
|
73
|
+
* className: 'px-4',
|
|
74
|
+
* activeItemClassName: 'scale-110',
|
|
75
|
+
* backgroundColor: 'bg-white dark:bg-gray-900',
|
|
76
|
+
* };
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
export interface NavBarProps {
|
|
80
|
+
items: NavBarItem[];
|
|
81
|
+
activeIndex: number;
|
|
82
|
+
className?: string;
|
|
83
|
+
itemClassName?: string;
|
|
84
|
+
activeItemClassName?: string;
|
|
85
|
+
labelClassName?: string;
|
|
86
|
+
activeLabelClassName?: string;
|
|
87
|
+
backgroundColor?: string;
|
|
88
|
+
iconSize?: number;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* NavBar - Bottom navigation bar component
|
|
92
|
+
*
|
|
93
|
+
* A navigation component designed for mobile applications that displays at the bottom
|
|
94
|
+
* of the screen with proper safe area handling. Similar to Flutter's BottomNavigationBar,
|
|
95
|
+
* it provides an intuitive way to switch between different sections of your app.
|
|
96
|
+
*
|
|
97
|
+
* Features:
|
|
98
|
+
* - Automatic safe area handling for devices with notches/home indicators
|
|
99
|
+
* - Support for both image and React element icons
|
|
100
|
+
* - Active/inactive state management with visual feedback
|
|
101
|
+
* - Customizable styling through Tailwind classes
|
|
102
|
+
* - Full dark mode support
|
|
103
|
+
* - Accessibility features built-in
|
|
104
|
+
* - Disabled state support for items
|
|
105
|
+
*
|
|
106
|
+
* @component
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* // Basic usage with state management
|
|
110
|
+
* ```tsx
|
|
111
|
+
* import { useState } from 'react';
|
|
112
|
+
* import { NavBar, NavBarItem } from 'react-native-blueprint';
|
|
113
|
+
*
|
|
114
|
+
* function App() {
|
|
115
|
+
* const [activeIndex, setActiveIndex] = useState(0);
|
|
116
|
+
*
|
|
117
|
+
* const navItems: NavBarItem[] = [
|
|
118
|
+
* {
|
|
119
|
+
* icon: require('./assets/home-inactive.png'),
|
|
120
|
+
* activeIcon: require('./assets/home-active.png'),
|
|
121
|
+
* label: 'Home',
|
|
122
|
+
* onPress: () => setActiveIndex(0),
|
|
123
|
+
* },
|
|
124
|
+
* {
|
|
125
|
+
* icon: require('./assets/browse-inactive.png'),
|
|
126
|
+
* activeIcon: require('./assets/browse-active.png'),
|
|
127
|
+
* label: 'Browse',
|
|
128
|
+
* onPress: () => setActiveIndex(1),
|
|
129
|
+
* },
|
|
130
|
+
* {
|
|
131
|
+
* icon: require('./assets/feed-inactive.png'),
|
|
132
|
+
* activeIcon: require('./assets/feed-active.png'),
|
|
133
|
+
* label: 'Feed',
|
|
134
|
+
* onPress: () => setActiveIndex(2),
|
|
135
|
+
* },
|
|
136
|
+
* {
|
|
137
|
+
* icon: require('./assets/chat-inactive.png'),
|
|
138
|
+
* activeIcon: require('./assets/chat-active.png'),
|
|
139
|
+
* label: 'Chat',
|
|
140
|
+
* onPress: () => setActiveIndex(3),
|
|
141
|
+
* },
|
|
142
|
+
* ];
|
|
143
|
+
*
|
|
144
|
+
* return (
|
|
145
|
+
* <View style={{ flex: 1 }}>
|
|
146
|
+
* <View style={{ flex: 1 }}>
|
|
147
|
+
* {renderScreen(activeIndex)}
|
|
148
|
+
* </View>
|
|
149
|
+
* <NavBar items={navItems} activeIndex={activeIndex} />
|
|
150
|
+
* </View>
|
|
151
|
+
* );
|
|
152
|
+
* }
|
|
153
|
+
* ```
|
|
154
|
+
*
|
|
155
|
+
* @example
|
|
156
|
+
* // With React Navigation
|
|
157
|
+
* ```tsx
|
|
158
|
+
* import { useNavigation, useRoute } from '@react-navigation/native';
|
|
159
|
+
* import { Home, Search, Bell, MessageCircle } from 'lucide-react-native';
|
|
160
|
+
* import { Icon } from 'react-native-blueprint';
|
|
161
|
+
*
|
|
162
|
+
* function BottomTabBar() {
|
|
163
|
+
* const navigation = useNavigation();
|
|
164
|
+
* const route = useRoute();
|
|
165
|
+
* const [activeIndex, setActiveIndex] = useState(0);
|
|
166
|
+
*
|
|
167
|
+
* const navItems: NavBarItem[] = [
|
|
168
|
+
* {
|
|
169
|
+
* icon: <Icon as={Home} size={24} color="#666" />,
|
|
170
|
+
* activeIcon: <Icon as={Home} size={24} color="#000" />,
|
|
171
|
+
* label: 'Home',
|
|
172
|
+
* onPress: () => {
|
|
173
|
+
* setActiveIndex(0);
|
|
174
|
+
* navigation.navigate('Home');
|
|
175
|
+
* },
|
|
176
|
+
* },
|
|
177
|
+
* {
|
|
178
|
+
* icon: <Icon as={Search} size={24} color="#666" />,
|
|
179
|
+
* activeIcon: <Icon as={Search} size={24} color="#000" />,
|
|
180
|
+
* label: 'Browse',
|
|
181
|
+
* onPress: () => {
|
|
182
|
+
* setActiveIndex(1);
|
|
183
|
+
* navigation.navigate('Browse');
|
|
184
|
+
* },
|
|
185
|
+
* },
|
|
186
|
+
* {
|
|
187
|
+
* icon: <Icon as={Bell} size={24} color="#666" />,
|
|
188
|
+
* activeIcon: <Icon as={Bell} size={24} color="#000" />,
|
|
189
|
+
* label: 'Feed',
|
|
190
|
+
* onPress: () => {
|
|
191
|
+
* setActiveIndex(2);
|
|
192
|
+
* navigation.navigate('Feed');
|
|
193
|
+
* },
|
|
194
|
+
* },
|
|
195
|
+
* {
|
|
196
|
+
* icon: <Icon as={MessageCircle} size={24} color="#666" />,
|
|
197
|
+
* activeIcon: <Icon as={MessageCircle} size={24} color="#000" />,
|
|
198
|
+
* label: 'Chat',
|
|
199
|
+
* onPress: () => {
|
|
200
|
+
* setActiveIndex(3);
|
|
201
|
+
* navigation.navigate('Chat');
|
|
202
|
+
* },
|
|
203
|
+
* },
|
|
204
|
+
* ];
|
|
205
|
+
*
|
|
206
|
+
* return <NavBar items={navItems} activeIndex={activeIndex} />;
|
|
207
|
+
* }
|
|
208
|
+
* ```
|
|
209
|
+
*
|
|
210
|
+
* @example
|
|
211
|
+
* // With custom styling and theming
|
|
212
|
+
* ```tsx
|
|
213
|
+
* import { useTheme } from 'react-native-blueprint';
|
|
214
|
+
*
|
|
215
|
+
* function ThemedNavBar() {
|
|
216
|
+
* const { isDark } = useTheme();
|
|
217
|
+
* const [activeIndex, setActiveIndex] = useState(0);
|
|
218
|
+
*
|
|
219
|
+
* return (
|
|
220
|
+
* <NavBar
|
|
221
|
+
* items={navItems}
|
|
222
|
+
* activeIndex={activeIndex}
|
|
223
|
+
* backgroundColor="bg-gray-100 dark:bg-gray-900"
|
|
224
|
+
* iconSize={28}
|
|
225
|
+
* className="py-2 px-4"
|
|
226
|
+
* activeItemClassName="scale-110 transition-transform"
|
|
227
|
+
* activeLabelClassName="text-blue-600 dark:text-blue-400 font-bold"
|
|
228
|
+
* labelClassName="text-gray-500 dark:text-gray-400"
|
|
229
|
+
* />
|
|
230
|
+
* );
|
|
231
|
+
* }
|
|
232
|
+
* ```
|
|
233
|
+
*
|
|
234
|
+
* @example
|
|
235
|
+
* // With disabled items
|
|
236
|
+
* ```tsx
|
|
237
|
+
* const navItems: NavBarItem[] = [
|
|
238
|
+
* {
|
|
239
|
+
* icon: require('./assets/home-inactive.png'),
|
|
240
|
+
* activeIcon: require('./assets/home-active.png'),
|
|
241
|
+
* label: 'Home',
|
|
242
|
+
* onPress: () => setActiveIndex(0),
|
|
243
|
+
* },
|
|
244
|
+
* {
|
|
245
|
+
* icon: require('./assets/premium-inactive.png'),
|
|
246
|
+
* activeIcon: require('./assets/premium-active.png'),
|
|
247
|
+
* label: 'Premium',
|
|
248
|
+
* onPress: () => showUpgradeModal(),
|
|
249
|
+
* disabled: !user.isPremium, // Disable if user is not premium
|
|
250
|
+
* },
|
|
251
|
+
* ];
|
|
252
|
+
* ```
|
|
253
|
+
*
|
|
254
|
+
* @param {NavBarProps} props - Component props
|
|
255
|
+
* @param {React.Ref<ViewRef>} ref - Forwarded ref to the container View
|
|
256
|
+
*
|
|
257
|
+
* @returns {React.ReactElement} The rendered NavBar component
|
|
258
|
+
*
|
|
259
|
+
* @accessibility
|
|
260
|
+
* - Sets role="navigation" on the container for proper semantic structure
|
|
261
|
+
* - Each item has role="button" with appropriate labels
|
|
262
|
+
* - Uses aria-label for screen reader support
|
|
263
|
+
* - Indicates selected state with aria-selected
|
|
264
|
+
* - Respects and communicates disabled state
|
|
265
|
+
* - Provides accessibilityRole and accessibilityLabel for React Native
|
|
266
|
+
* - Includes accessibilityState for selected and disabled states
|
|
267
|
+
*
|
|
268
|
+
* @see {@link NavBarItem} for item configuration
|
|
269
|
+
* @see {@link NavBarProps} for all available props
|
|
270
|
+
*/
|
|
271
|
+
declare const NavBar: React.ForwardRefExoticComponent<NavBarProps & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
272
|
+
export { NavBar };
|
|
273
|
+
//# sourceMappingURL=NavBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavBar.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/NavBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAkBxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,mBAAmB,GAAG,KAAK,CAAC,YAAY,CAAC;IAC/C,UAAU,EAAE,mBAAmB,GAAG,KAAK,CAAC,YAAY,CAAC;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoLG;AACH,QAAA,MAAM,MAAM,qKA4GX,CAAC;AAIF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as PopoverPrimitive from '@rn-primitives/popover';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Root component for popover - provides context for trigger and content
|
|
5
|
+
*
|
|
6
|
+
* @component
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <Popover>
|
|
10
|
+
* <PopoverTrigger>
|
|
11
|
+
* <Button variant="outline">
|
|
12
|
+
* <Text>Open Popover</Text>
|
|
13
|
+
* </Button>
|
|
14
|
+
* </PopoverTrigger>
|
|
15
|
+
* <PopoverContent>
|
|
16
|
+
* <Text>Popover content goes here</Text>
|
|
17
|
+
* </PopoverContent>
|
|
18
|
+
* </Popover>
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
declare const Popover: React.ForwardRefExoticComponent<PopoverPrimitive.RootProps>;
|
|
22
|
+
/**
|
|
23
|
+
* Trigger component that opens the popover when pressed
|
|
24
|
+
*
|
|
25
|
+
* @component
|
|
26
|
+
*/
|
|
27
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.TriggerProps>;
|
|
28
|
+
/**
|
|
29
|
+
* Content container for popover
|
|
30
|
+
*
|
|
31
|
+
* Displays content in a floating panel anchored to the trigger.
|
|
32
|
+
* Includes smooth animations and proper positioning.
|
|
33
|
+
*
|
|
34
|
+
* @component
|
|
35
|
+
* @example
|
|
36
|
+
* ```tsx
|
|
37
|
+
* <PopoverContent align="start" sideOffset={8}>
|
|
38
|
+
* <View className="gap-2">
|
|
39
|
+
* <Text className="font-semibold">Dimensions</Text>
|
|
40
|
+
* <Text className="text-sm">Set the dimensions for the layer</Text>
|
|
41
|
+
* </View>
|
|
42
|
+
* </PopoverContent>
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @accessibility
|
|
46
|
+
* - Content is announced by screen readers
|
|
47
|
+
* - Dismissible with escape key on web
|
|
48
|
+
* - Proper focus management
|
|
49
|
+
*/
|
|
50
|
+
declare function PopoverContent({ className, align, sideOffset, portalHost, ...props }: PopoverPrimitive.ContentProps & React.RefAttributes<PopoverPrimitive.ContentRef> & {
|
|
51
|
+
portalHost?: string;
|
|
52
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
export { Popover, PopoverContent, PopoverTrigger };
|
|
54
|
+
//# sourceMappingURL=Popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Popover.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;;;;;;;;;;GAiBG;AACH,QAAA,MAAM,OAAO,6DAAwB,CAAC;AAEtC;;;;GAIG;AACH,QAAA,MAAM,cAAc,gEAA2B,CAAC;AAQhD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,KAAgB,EAChB,UAAc,EACd,UAAU,EACV,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,YAAY,GAC9B,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG;IACjD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,2CAkCF;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as ProgressPrimitive from '@rn-primitives/progress';
|
|
2
|
+
/**
|
|
3
|
+
* Progress bar component for displaying task completion
|
|
4
|
+
*
|
|
5
|
+
* Displays an animated progress indicator with customizable styles.
|
|
6
|
+
* Uses spring animations on native platforms for smooth transitions.
|
|
7
|
+
*
|
|
8
|
+
* @component
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <Progress value={60} className="w-full" />
|
|
12
|
+
*
|
|
13
|
+
* <Progress
|
|
14
|
+
* value={progress}
|
|
15
|
+
* indicatorClassName="bg-green-500"
|
|
16
|
+
* />
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* @accessibility
|
|
20
|
+
* - Uses proper ARIA attributes for progress indication
|
|
21
|
+
* - Value changes are announced by screen readers
|
|
22
|
+
*/
|
|
23
|
+
declare function Progress({ className, value, indicatorClassName, ...props }: ProgressPrimitive.RootProps & React.RefAttributes<ProgressPrimitive.RootRef> & {
|
|
24
|
+
indicatorClassName?: string;
|
|
25
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export { Progress };
|
|
27
|
+
//# sourceMappingURL=Progress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Progress.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Progress.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,iBAAiB,MAAM,yBAAyB,CAAC;AAe7D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,KAAK,EACL,kBAAkB,EAClB,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,SAAS,GAC5B,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,OAAO,CAAC,GAAG;IAC/C,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,2CAYF;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|