@campxdev/react-native-blueprint 0.1.9 → 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 +156 -25
- 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
package/README.md
CHANGED
|
@@ -21,7 +21,13 @@ This library requires **NativeWind v4+** to be configured in your React Native p
|
|
|
21
21
|
|
|
22
22
|
## Installation
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
This library works with **both Expo and Bare React Native CLI** projects. Choose the installation method for your project type.
|
|
25
|
+
|
|
26
|
+
### For Bare React Native CLI Projects (Recommended)
|
|
27
|
+
|
|
28
|
+
Perfect for apps like **CampxMobileApp** using React Native CLI without Expo.
|
|
29
|
+
|
|
30
|
+
#### 1. Install the package
|
|
25
31
|
|
|
26
32
|
```sh
|
|
27
33
|
npm install @campxdev/react-native-blueprint
|
|
@@ -29,15 +35,80 @@ npm install @campxdev/react-native-blueprint
|
|
|
29
35
|
yarn add @campxdev/react-native-blueprint
|
|
30
36
|
```
|
|
31
37
|
|
|
32
|
-
|
|
38
|
+
#### 2. Install required peer dependencies
|
|
33
39
|
|
|
34
40
|
```sh
|
|
35
|
-
npm install nativewind tailwindcss tailwindcss-animate react-native-reanimated react-native-gesture-handler react-native-svg react-native-safe-area-context
|
|
41
|
+
npm install nativewind tailwindcss tailwindcss-animate react-native-reanimated react-native-gesture-handler react-native-svg react-native-safe-area-context react-native-screens
|
|
36
42
|
# or
|
|
37
|
-
yarn add nativewind tailwindcss tailwindcss-animate react-native-reanimated react-native-gesture-handler react-native-svg react-native-safe-area-context
|
|
43
|
+
yarn add nativewind tailwindcss tailwindcss-animate react-native-reanimated react-native-gesture-handler react-native-svg react-native-safe-area-context react-native-screens
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
#### 3. Install optional peer dependencies (as needed)
|
|
47
|
+
|
|
48
|
+
```sh
|
|
49
|
+
# For bottom sheet components (optional)
|
|
50
|
+
npm install @gorhom/bottom-sheet
|
|
51
|
+
|
|
52
|
+
# For advanced animations (optional)
|
|
53
|
+
npm install react-native-worklets
|
|
54
|
+
|
|
55
|
+
# For specific UI primitives (install only what you need)
|
|
56
|
+
npm install @rn-primitives/accordion @rn-primitives/dialog @rn-primitives/avatar
|
|
57
|
+
# ... add other @rn-primitives packages as needed
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
#### 4. For iOS, install CocoaPods
|
|
61
|
+
|
|
62
|
+
```sh
|
|
63
|
+
cd ios && pod install && cd ..
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
#### 5. Add Reanimated Babel plugin
|
|
67
|
+
|
|
68
|
+
Update your `babel.config.js`:
|
|
69
|
+
|
|
70
|
+
```js
|
|
71
|
+
module.exports = {
|
|
72
|
+
presets: ['module:@react-native/babel-preset'],
|
|
73
|
+
plugins: [
|
|
74
|
+
'react-native-reanimated/plugin', // Must be listed last!
|
|
75
|
+
],
|
|
76
|
+
};
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### For Expo Projects
|
|
80
|
+
|
|
81
|
+
If you're using Expo, the installation is simpler:
|
|
82
|
+
|
|
83
|
+
#### 1. Install the package and peer dependencies
|
|
84
|
+
|
|
85
|
+
```sh
|
|
86
|
+
npx expo install @campxdev/react-native-blueprint nativewind tailwindcss tailwindcss-animate react-native-reanimated react-native-gesture-handler react-native-svg
|
|
87
|
+
# Expo will automatically install compatible versions
|
|
38
88
|
```
|
|
39
89
|
|
|
40
|
-
|
|
90
|
+
#### 2. Install optional fonts (for custom fonts)
|
|
91
|
+
|
|
92
|
+
```sh
|
|
93
|
+
npx expo install expo-font @expo-google-fonts/poppins @expo-google-fonts/heebo
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Then load fonts in your app:
|
|
97
|
+
|
|
98
|
+
```tsx
|
|
99
|
+
import { useFonts } from 'expo-font';
|
|
100
|
+
import { Poppins_400Regular, Poppins_600SemiBold } from '@expo-google-fonts/poppins';
|
|
101
|
+
|
|
102
|
+
function App() {
|
|
103
|
+
const [fontsLoaded] = useFonts({ Poppins_400Regular, Poppins_600SemiBold });
|
|
104
|
+
if (!fontsLoaded) return null;
|
|
105
|
+
// Your app
|
|
106
|
+
}
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Common Setup (Required for Both)
|
|
110
|
+
|
|
111
|
+
#### Import the global styles
|
|
41
112
|
|
|
42
113
|
In your app entry point (e.g., `App.tsx` or `_layout.tsx`):
|
|
43
114
|
|
|
@@ -45,7 +116,7 @@ In your app entry point (e.g., `App.tsx` or `_layout.tsx`):
|
|
|
45
116
|
import '@campxdev/react-native-blueprint/global.css';
|
|
46
117
|
```
|
|
47
118
|
|
|
48
|
-
|
|
119
|
+
#### Configure NativeWind
|
|
49
120
|
|
|
50
121
|
Create or update `tailwind.config.js`:
|
|
51
122
|
|
|
@@ -105,9 +176,9 @@ module.exports = {
|
|
|
105
176
|
};
|
|
106
177
|
```
|
|
107
178
|
|
|
108
|
-
|
|
179
|
+
#### Configure Bundler (Metro or Re.Pack)
|
|
109
180
|
|
|
110
|
-
**
|
|
181
|
+
**For Expo Projects:**
|
|
111
182
|
|
|
112
183
|
Update `metro.config.js`:
|
|
113
184
|
|
|
@@ -120,7 +191,22 @@ const config = getDefaultConfig(__dirname);
|
|
|
120
191
|
module.exports = withNativeWind(config, { input: './global.css' });
|
|
121
192
|
```
|
|
122
193
|
|
|
123
|
-
**
|
|
194
|
+
**For Bare React Native CLI Projects:**
|
|
195
|
+
|
|
196
|
+
Update `metro.config.js`:
|
|
197
|
+
|
|
198
|
+
```js
|
|
199
|
+
const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
|
|
200
|
+
const { withNativeWind } = require('nativewind/metro');
|
|
201
|
+
|
|
202
|
+
const config = mergeConfig(getDefaultConfig(__dirname), {
|
|
203
|
+
// Your custom Metro config
|
|
204
|
+
});
|
|
205
|
+
|
|
206
|
+
module.exports = withNativeWind(config, { input: './global.css' });
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
**Alternative: Re.Pack + Rspack (5x Faster - Used in Example App)**
|
|
124
210
|
|
|
125
211
|
The example app in this repository uses [Re.Pack 5](https://re-pack.dev) with Rspack for **5x faster builds**. See [MIGRATION_REPACK.md](MIGRATION_REPACK.md) for details.
|
|
126
212
|
|
|
@@ -366,15 +452,31 @@ content: [
|
|
|
366
452
|
],
|
|
367
453
|
```
|
|
368
454
|
|
|
369
|
-
## Migration
|
|
455
|
+
## Migration Guides
|
|
456
|
+
|
|
457
|
+
### Migration from v0.1.x to v0.2.x
|
|
370
458
|
|
|
371
|
-
**Breaking
|
|
459
|
+
**Breaking Changes**:
|
|
460
|
+
1. CSS must now be manually imported
|
|
461
|
+
2. Expo is no longer a direct dependency (but still supported!)
|
|
462
|
+
3. Many dependencies moved to peer dependencies
|
|
372
463
|
|
|
373
|
-
|
|
464
|
+
#### What changed?
|
|
374
465
|
|
|
375
|
-
|
|
466
|
+
**v0.1.x**:
|
|
467
|
+
- Included Expo as direct dependency
|
|
468
|
+
- CSS auto-imported via `RootLayout`
|
|
469
|
+
- All packages bundled as direct dependencies
|
|
376
470
|
|
|
377
|
-
|
|
471
|
+
**v0.2.x**:
|
|
472
|
+
- ✅ Works with both Expo and bare React Native CLI
|
|
473
|
+
- ✅ CSS must be explicitly imported (better tree-shaking)
|
|
474
|
+
- ✅ Most packages are now peer dependencies (smaller bundle, less conflicts)
|
|
475
|
+
- ✅ CommonJS and ESM support (fixes module warnings)
|
|
476
|
+
|
|
477
|
+
#### Migration Steps
|
|
478
|
+
|
|
479
|
+
##### For ALL Projects (Expo & Bare RN CLI)
|
|
378
480
|
|
|
379
481
|
1. **Add CSS import** to your app entry point (e.g., `App.tsx` or `_layout.tsx`):
|
|
380
482
|
|
|
@@ -382,25 +484,54 @@ In v0.1.x, the CSS was automatically imported when you used `RootLayout`. In v0.
|
|
|
382
484
|
import '@campxdev/react-native-blueprint/global.css';
|
|
383
485
|
```
|
|
384
486
|
|
|
385
|
-
2. **Install peer dependencies
|
|
487
|
+
2. **Install peer dependencies**:
|
|
386
488
|
|
|
387
489
|
```sh
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
490
|
+
# Required peer dependencies
|
|
491
|
+
npm install nativewind tailwindcss tailwindcss-animate react-native-reanimated react-native-gesture-handler react-native-svg react-native-safe-area-context react-native-screens
|
|
492
|
+
|
|
493
|
+
# Optional (install as needed)
|
|
494
|
+
npm install @gorhom/bottom-sheet react-native-worklets
|
|
495
|
+
npm install @rn-primitives/accordion @rn-primitives/dialog # ... etc
|
|
391
496
|
```
|
|
392
497
|
|
|
393
|
-
|
|
498
|
+
##### For Expo Projects ONLY
|
|
394
499
|
|
|
395
|
-
|
|
396
|
-
// Old
|
|
397
|
-
import { Button } from 'react-native-blueprint';
|
|
500
|
+
3. **Install Expo-specific packages** (if you want custom fonts):
|
|
398
501
|
|
|
399
|
-
|
|
400
|
-
|
|
502
|
+
```sh
|
|
503
|
+
npx expo install expo-font @expo-google-fonts/poppins @expo-google-fonts/heebo
|
|
401
504
|
```
|
|
402
505
|
|
|
403
|
-
|
|
506
|
+
##### For Bare React Native CLI ONLY
|
|
507
|
+
|
|
508
|
+
3. **Add Reanimated plugin** to `babel.config.js`:
|
|
509
|
+
|
|
510
|
+
```js
|
|
511
|
+
module.exports = {
|
|
512
|
+
presets: ['module:@react-native/babel-preset'],
|
|
513
|
+
plugins: [
|
|
514
|
+
'react-native-reanimated/plugin', // Must be last!
|
|
515
|
+
],
|
|
516
|
+
};
|
|
517
|
+
```
|
|
518
|
+
|
|
519
|
+
4. **For iOS, run pod install**:
|
|
520
|
+
|
|
521
|
+
```sh
|
|
522
|
+
cd ios && pod install && cd ..
|
|
523
|
+
```
|
|
524
|
+
|
|
525
|
+
#### Font Handling Changes
|
|
526
|
+
|
|
527
|
+
**v0.1.x**: Fonts were loaded via Expo automatically
|
|
528
|
+
|
|
529
|
+
**v0.2.x**:
|
|
530
|
+
- Uses system fonts by default (works everywhere!)
|
|
531
|
+
- Expo users can still use `expo-font` (see installation guide)
|
|
532
|
+
- Bare RN CLI users can add custom fonts manually (see fonts.ts documentation)
|
|
533
|
+
|
|
534
|
+
That's it! Your app should work as before with better compatibility.
|
|
404
535
|
|
|
405
536
|
## Contributing
|
|
406
537
|
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = RootLayout;
|
|
7
|
+
var _portal = require("@rn-primitives/portal");
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _theme = require("../lib/theme");
|
|
10
|
+
var _native = require("@react-navigation/native");
|
|
11
|
+
var _nativewind = require("nativewind");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
/**
|
|
14
|
+
* RootLayout component - provides theme and navigation setup
|
|
15
|
+
*
|
|
16
|
+
* NOTE: CSS import intentionally removed for library export.
|
|
17
|
+
* Consumers must import '@campxdev/react-native-blueprint/global.css'
|
|
18
|
+
* in their app entry point.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
function RootLayout({
|
|
22
|
+
children
|
|
23
|
+
}) {
|
|
24
|
+
const {
|
|
25
|
+
colorScheme
|
|
26
|
+
} = (0, _nativewind.useColorScheme)();
|
|
27
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_native.ThemeProvider, {
|
|
28
|
+
value: _theme.NAV_THEME[colorScheme ?? 'light'],
|
|
29
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.StatusBar, {
|
|
30
|
+
barStyle: colorScheme === 'dark' ? 'light-content' : 'dark-content'
|
|
31
|
+
}), children, /*#__PURE__*/(0, _jsxRuntime.jsx)(_portal.PortalHost, {})]
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=_layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_portal","require","_reactNative","_theme","_native","_nativewind","_jsxRuntime","RootLayout","children","colorScheme","useColorScheme","jsxs","ThemeProvider","value","NAV_THEME","jsx","StatusBar","barStyle","PortalHost"],"sourceRoot":"../../../src","sources":["app/_layout.tsx"],"mappings":";;;;;;AAOA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AAA4C,IAAAK,WAAA,GAAAL,OAAA;AAX5C;AACA;AACA;AACA;AACA;AACA;AACA;;AAYe,SAASM,UAAUA,CAAC;EAAEC;AAA0B,CAAC,EAAE;EAChE,MAAM;IAAEC;EAAY,CAAC,GAAG,IAAAC,0BAAc,EAAC,CAAC;EAExC,oBACE,IAAAJ,WAAA,CAAAK,IAAA,EAACP,OAAA,CAAAQ,aAAa;IAACC,KAAK,EAAEC,gBAAS,CAACL,WAAW,IAAI,OAAO,CAAE;IAAAD,QAAA,gBACtD,IAAAF,WAAA,CAAAS,GAAA,EAACb,YAAA,CAAAc,SAAS;MACRC,QAAQ,EAAER,WAAW,KAAK,MAAM,GAAG,eAAe,GAAG;IAAe,CACrE,CAAC,EACDD,QAAQ,eACT,IAAAF,WAAA,CAAAS,GAAA,EAACf,OAAA,CAAAkB,UAAU,IAAE,CAAC;EAAA,CACD,CAAC;AAEpB","ignoreList":[]}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.THEME_PRESETS = exports.THEME_COLORS = exports.DARK_MODE_CLASSES = void 0;
|
|
7
|
+
exports.getNativeThemeColors = getNativeThemeColors;
|
|
8
|
+
exports.getThemeColorValue = getThemeColorValue;
|
|
9
|
+
exports.hslToRgb = hslToRgb;
|
|
10
|
+
exports.isValidThemeColor = isValidThemeColor;
|
|
11
|
+
exports.withDarkMode = withDarkMode;
|
|
12
|
+
/**
|
|
13
|
+
* Comprehensive Dark Theme Configuration
|
|
14
|
+
*
|
|
15
|
+
* This file provides complete theme tokens and utilities for consistent
|
|
16
|
+
* dark mode support across all components in the Blueprint library.
|
|
17
|
+
*
|
|
18
|
+
* Best Practices:
|
|
19
|
+
* - Uses HSL color format for better color manipulation
|
|
20
|
+
* - Provides semantic color tokens (not raw colors)
|
|
21
|
+
* - Maintains proper contrast ratios for accessibility (WCAG AA/AAA)
|
|
22
|
+
* - Consistent with Tailwind CSS conventions
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Color tokens for light and dark themes
|
|
27
|
+
* Each token follows the pattern: purpose-variant
|
|
28
|
+
*/
|
|
29
|
+
const THEME_COLORS = exports.THEME_COLORS = {
|
|
30
|
+
light: {
|
|
31
|
+
// Base colors
|
|
32
|
+
background: 'hsl(0, 0%, 100%)',
|
|
33
|
+
// Pure white
|
|
34
|
+
foreground: 'hsl(0, 0%, 3.9%)',
|
|
35
|
+
// Near black
|
|
36
|
+
|
|
37
|
+
// Card colors
|
|
38
|
+
card: 'hsl(0, 0%, 100%)',
|
|
39
|
+
cardForeground: 'hsl(0, 0%, 3.9%)',
|
|
40
|
+
// Popover colors
|
|
41
|
+
popover: 'hsl(0, 0%, 100%)',
|
|
42
|
+
popoverForeground: 'hsl(0, 0%, 3.9%)',
|
|
43
|
+
// Primary action colors
|
|
44
|
+
primary: 'hsl(0, 0%, 9%)',
|
|
45
|
+
primaryForeground: 'hsl(0, 0%, 98%)',
|
|
46
|
+
// Secondary action colors
|
|
47
|
+
secondary: 'hsl(0, 0%, 96.1%)',
|
|
48
|
+
secondaryForeground: 'hsl(0, 0%, 9%)',
|
|
49
|
+
// Muted/subtle colors
|
|
50
|
+
muted: 'hsl(0, 0%, 96.1%)',
|
|
51
|
+
mutedForeground: 'hsl(0, 0%, 45.1%)',
|
|
52
|
+
// Accent colors
|
|
53
|
+
accent: 'hsl(0, 0%, 96.1%)',
|
|
54
|
+
accentForeground: 'hsl(0, 0%, 9%)',
|
|
55
|
+
// Destructive/error colors
|
|
56
|
+
destructive: 'hsl(0, 84.2%, 60.2%)',
|
|
57
|
+
destructiveForeground: 'hsl(0, 0%, 98%)',
|
|
58
|
+
// Border and input colors
|
|
59
|
+
border: 'hsl(0, 0%, 89.8%)',
|
|
60
|
+
input: 'hsl(0, 0%, 89.8%)',
|
|
61
|
+
ring: 'hsl(0, 0%, 63%)',
|
|
62
|
+
// Success colors
|
|
63
|
+
success: 'hsl(142, 76%, 36%)',
|
|
64
|
+
successForeground: 'hsl(0, 0%, 98%)',
|
|
65
|
+
// Warning colors
|
|
66
|
+
warning: 'hsl(38, 92%, 50%)',
|
|
67
|
+
warningForeground: 'hsl(0, 0%, 9%)',
|
|
68
|
+
// Info colors
|
|
69
|
+
info: 'hsl(199, 89%, 48%)',
|
|
70
|
+
infoForeground: 'hsl(0, 0%, 98%)'
|
|
71
|
+
},
|
|
72
|
+
dark: {
|
|
73
|
+
// Base colors
|
|
74
|
+
background: 'hsl(0, 0%, 3.9%)',
|
|
75
|
+
// Near black
|
|
76
|
+
foreground: 'hsl(0, 0%, 98%)',
|
|
77
|
+
// Near white
|
|
78
|
+
|
|
79
|
+
// Card colors
|
|
80
|
+
card: 'hsl(0, 0%, 3.9%)',
|
|
81
|
+
cardForeground: 'hsl(0, 0%, 98%)',
|
|
82
|
+
// Popover colors
|
|
83
|
+
popover: 'hsl(0, 0%, 3.9%)',
|
|
84
|
+
popoverForeground: 'hsl(0, 0%, 98%)',
|
|
85
|
+
// Primary action colors (inverted from light)
|
|
86
|
+
primary: 'hsl(0, 0%, 98%)',
|
|
87
|
+
primaryForeground: 'hsl(0, 0%, 9%)',
|
|
88
|
+
// Secondary action colors
|
|
89
|
+
secondary: 'hsl(0, 0%, 14.9%)',
|
|
90
|
+
secondaryForeground: 'hsl(0, 0%, 98%)',
|
|
91
|
+
// Muted/subtle colors
|
|
92
|
+
muted: 'hsl(0, 0%, 14.9%)',
|
|
93
|
+
mutedForeground: 'hsl(0, 0%, 63.9%)',
|
|
94
|
+
// Accent colors
|
|
95
|
+
accent: 'hsl(0, 0%, 14.9%)',
|
|
96
|
+
accentForeground: 'hsl(0, 0%, 98%)',
|
|
97
|
+
// Destructive/error colors
|
|
98
|
+
destructive: 'hsl(0, 62.8%, 30.6%)',
|
|
99
|
+
destructiveForeground: 'hsl(0, 0%, 98%)',
|
|
100
|
+
// Border and input colors
|
|
101
|
+
border: 'hsl(0, 0%, 14.9%)',
|
|
102
|
+
input: 'hsl(0, 0%, 14.9%)',
|
|
103
|
+
ring: 'hsl(0, 0%, 45%)',
|
|
104
|
+
// Success colors
|
|
105
|
+
success: 'hsl(142, 76%, 36%)',
|
|
106
|
+
successForeground: 'hsl(0, 0%, 98%)',
|
|
107
|
+
// Warning colors
|
|
108
|
+
warning: 'hsl(38, 92%, 50%)',
|
|
109
|
+
warningForeground: 'hsl(0, 0%, 9%)',
|
|
110
|
+
// Info colors
|
|
111
|
+
info: 'hsl(199, 89%, 48%)',
|
|
112
|
+
infoForeground: 'hsl(0, 0%, 98%)'
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Convert HSL string to React Native ColorValue
|
|
118
|
+
* Useful for native platform styling where HSL needs to be converted
|
|
119
|
+
*/
|
|
120
|
+
function hslToRgb(hsl) {
|
|
121
|
+
// Extract h, s, l from "hsl(h, s%, l%)" format
|
|
122
|
+
const match = hsl.match(/hsl\((\d+),\s*(\d+(?:\.\d+)?)%,\s*(\d+(?:\.\d+)?)%\)/);
|
|
123
|
+
if (!match || !match[1] || !match[2] || !match[3]) return hsl;
|
|
124
|
+
const h = parseInt(match[1], 10) / 360;
|
|
125
|
+
const s = parseFloat(match[2]) / 100;
|
|
126
|
+
const l = parseFloat(match[3]) / 100;
|
|
127
|
+
let r, g, b;
|
|
128
|
+
if (s === 0) {
|
|
129
|
+
r = g = b = l;
|
|
130
|
+
} else {
|
|
131
|
+
const hue2rgb = (p, q, t) => {
|
|
132
|
+
if (t < 0) t += 1;
|
|
133
|
+
if (t > 1) t -= 1;
|
|
134
|
+
if (t < 1 / 6) return p + (q - p) * 6 * t;
|
|
135
|
+
if (t < 1 / 2) return q;
|
|
136
|
+
if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
|
|
137
|
+
return p;
|
|
138
|
+
};
|
|
139
|
+
const q = l < 0.5 ? l * (1 + s) : l + s - l * s;
|
|
140
|
+
const p = 2 * l - q;
|
|
141
|
+
r = hue2rgb(p, q, h + 1 / 3);
|
|
142
|
+
g = hue2rgb(p, q, h);
|
|
143
|
+
b = hue2rgb(p, q, h - 1 / 3);
|
|
144
|
+
}
|
|
145
|
+
const toHex = x => {
|
|
146
|
+
const hex = Math.round(x * 255).toString(16);
|
|
147
|
+
return hex.length === 1 ? '0' + hex : hex;
|
|
148
|
+
};
|
|
149
|
+
return `#${toHex(r)}${toHex(g)}${toHex(b)}`;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Get theme color value based on current theme mode
|
|
154
|
+
* Automatically selects the appropriate color from light/dark theme
|
|
155
|
+
*/
|
|
156
|
+
function getThemeColorValue(colorKey, isDark, asRgb = false) {
|
|
157
|
+
const color = isDark ? THEME_COLORS.dark[colorKey] : THEME_COLORS.light[colorKey];
|
|
158
|
+
return asRgb ? hslToRgb(color) : color;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Component-specific dark mode class mappings
|
|
163
|
+
* Use these to ensure consistent styling across all components
|
|
164
|
+
*/
|
|
165
|
+
const DARK_MODE_CLASSES = exports.DARK_MODE_CLASSES = {
|
|
166
|
+
// Text variants
|
|
167
|
+
text: {
|
|
168
|
+
default: 'dark:text-foreground',
|
|
169
|
+
muted: 'dark:text-muted-foreground',
|
|
170
|
+
primary: 'dark:text-primary-foreground',
|
|
171
|
+
secondary: 'dark:text-secondary-foreground',
|
|
172
|
+
accent: 'dark:text-accent-foreground',
|
|
173
|
+
destructive: 'dark:text-destructive-foreground',
|
|
174
|
+
card: 'dark:text-card-foreground'
|
|
175
|
+
},
|
|
176
|
+
// Background variants
|
|
177
|
+
background: {
|
|
178
|
+
default: 'dark:bg-background',
|
|
179
|
+
card: 'dark:bg-card',
|
|
180
|
+
primary: 'dark:bg-primary',
|
|
181
|
+
secondary: 'dark:bg-secondary',
|
|
182
|
+
muted: 'dark:bg-muted',
|
|
183
|
+
accent: 'dark:bg-accent',
|
|
184
|
+
destructive: 'dark:bg-destructive',
|
|
185
|
+
popover: 'dark:bg-popover'
|
|
186
|
+
},
|
|
187
|
+
// Border variants
|
|
188
|
+
border: {
|
|
189
|
+
default: 'dark:border-border',
|
|
190
|
+
input: 'dark:border-input',
|
|
191
|
+
primary: 'dark:border-primary',
|
|
192
|
+
muted: 'dark:border-muted',
|
|
193
|
+
accent: 'dark:border-accent',
|
|
194
|
+
destructive: 'dark:border-destructive'
|
|
195
|
+
},
|
|
196
|
+
// Interactive states
|
|
197
|
+
state: {
|
|
198
|
+
hover: 'dark:hover:bg-accent',
|
|
199
|
+
active: 'dark:active:bg-accent',
|
|
200
|
+
focus: 'dark:focus:ring-ring',
|
|
201
|
+
disabled: 'dark:disabled:opacity-50'
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Helper to combine base classes with dark mode classes
|
|
207
|
+
* Ensures consistent application of dark mode styles
|
|
208
|
+
*/
|
|
209
|
+
function withDarkMode(baseClass, darkClass, additionalClasses) {
|
|
210
|
+
return [baseClass, darkClass, additionalClasses].filter(Boolean).join(' ');
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Pre-configured class strings for common component patterns
|
|
215
|
+
* Use these for consistent styling across the library
|
|
216
|
+
*/
|
|
217
|
+
const THEME_PRESETS = exports.THEME_PRESETS = {
|
|
218
|
+
// Card-like containers
|
|
219
|
+
card: 'bg-card text-card-foreground dark:bg-card dark:text-card-foreground border border-border dark:border-border',
|
|
220
|
+
// Input fields
|
|
221
|
+
input: 'bg-background text-foreground dark:bg-background dark:text-foreground border border-input dark:border-input',
|
|
222
|
+
// Buttons - primary
|
|
223
|
+
buttonPrimary: 'bg-primary text-primary-foreground dark:bg-primary dark:text-primary-foreground',
|
|
224
|
+
// Buttons - secondary
|
|
225
|
+
buttonSecondary: 'bg-secondary text-secondary-foreground dark:bg-secondary dark:text-secondary-foreground',
|
|
226
|
+
// Buttons - outline
|
|
227
|
+
buttonOutline: 'bg-background text-foreground dark:bg-background dark:text-foreground border border-input dark:border-input',
|
|
228
|
+
// Buttons - ghost
|
|
229
|
+
buttonGhost: 'hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent dark:hover:text-accent-foreground',
|
|
230
|
+
// Destructive elements
|
|
231
|
+
destructive: 'bg-destructive text-destructive-foreground dark:bg-destructive dark:text-destructive-foreground',
|
|
232
|
+
// Muted/subtle elements
|
|
233
|
+
muted: 'bg-muted text-muted-foreground dark:bg-muted dark:text-muted-foreground',
|
|
234
|
+
// Popover/dropdown
|
|
235
|
+
popover: 'bg-popover text-popover-foreground dark:bg-popover dark:text-popover-foreground border border-border dark:border-border'
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Semantic color map for native components
|
|
240
|
+
* Use these for StyleSheet-based styling
|
|
241
|
+
*/
|
|
242
|
+
function getNativeThemeColors(isDark) {
|
|
243
|
+
return {
|
|
244
|
+
background: hslToRgb(getThemeColorValue('background', isDark)),
|
|
245
|
+
foreground: hslToRgb(getThemeColorValue('foreground', isDark)),
|
|
246
|
+
card: hslToRgb(getThemeColorValue('card', isDark)),
|
|
247
|
+
cardForeground: hslToRgb(getThemeColorValue('cardForeground', isDark)),
|
|
248
|
+
primary: hslToRgb(getThemeColorValue('primary', isDark)),
|
|
249
|
+
primaryForeground: hslToRgb(getThemeColorValue('primaryForeground', isDark)),
|
|
250
|
+
secondary: hslToRgb(getThemeColorValue('secondary', isDark)),
|
|
251
|
+
secondaryForeground: hslToRgb(getThemeColorValue('secondaryForeground', isDark)),
|
|
252
|
+
muted: hslToRgb(getThemeColorValue('muted', isDark)),
|
|
253
|
+
mutedForeground: hslToRgb(getThemeColorValue('mutedForeground', isDark)),
|
|
254
|
+
accent: hslToRgb(getThemeColorValue('accent', isDark)),
|
|
255
|
+
accentForeground: hslToRgb(getThemeColorValue('accentForeground', isDark)),
|
|
256
|
+
destructive: hslToRgb(getThemeColorValue('destructive', isDark)),
|
|
257
|
+
destructiveForeground: hslToRgb(getThemeColorValue('destructiveForeground', isDark)),
|
|
258
|
+
border: hslToRgb(getThemeColorValue('border', isDark)),
|
|
259
|
+
input: hslToRgb(getThemeColorValue('input', isDark)),
|
|
260
|
+
ring: hslToRgb(getThemeColorValue('ring', isDark))
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Type-safe theme color keys
|
|
266
|
+
*/
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Check if a color key exists in the theme
|
|
270
|
+
*/
|
|
271
|
+
function isValidThemeColor(key) {
|
|
272
|
+
return key in THEME_COLORS.light;
|
|
273
|
+
}
|
|
274
|
+
//# sourceMappingURL=theme-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["THEME_COLORS","exports","light","background","foreground","card","cardForeground","popover","popoverForeground","primary","primaryForeground","secondary","secondaryForeground","muted","mutedForeground","accent","accentForeground","destructive","destructiveForeground","border","input","ring","success","successForeground","warning","warningForeground","info","infoForeground","dark","hslToRgb","hsl","match","h","parseInt","s","parseFloat","l","r","g","b","hue2rgb","p","q","t","toHex","x","hex","Math","round","toString","length","getThemeColorValue","colorKey","isDark","asRgb","color","DARK_MODE_CLASSES","text","default","state","hover","active","focus","disabled","withDarkMode","baseClass","darkClass","additionalClasses","filter","Boolean","join","THEME_PRESETS","buttonPrimary","buttonSecondary","buttonOutline","buttonGhost","getNativeThemeColors","isValidThemeColor","key"],"sourceRoot":"../../../src","sources":["components/theme-config.ts"],"mappings":";;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA;AACA;AACA;AACA;AACO,MAAMA,YAAY,GAAAC,OAAA,CAAAD,YAAA,GAAG;EAC1BE,KAAK,EAAE;IACL;IACAC,UAAU,EAAE,kBAAkB;IAAE;IAChCC,UAAU,EAAE,kBAAkB;IAAE;;IAEhC;IACAC,IAAI,EAAE,kBAAkB;IACxBC,cAAc,EAAE,kBAAkB;IAElC;IACAC,OAAO,EAAE,kBAAkB;IAC3BC,iBAAiB,EAAE,kBAAkB;IAErC;IACAC,OA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