@campxdev/react-native-blueprint 0.1.0 → 0.1.1
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/lib/module/components/ui/Skeleton.js +1 -1
- package/lib/module/components/ui/Skeleton.js.map +1 -1
- package/lib/typescript/babel.config.d.ts +13 -0
- package/lib/typescript/babel.config.d.ts.map +1 -0
- package/lib/typescript/metro.config.d.ts +3 -0
- package/lib/typescript/metro.config.d.ts.map +1 -0
- package/lib/typescript/src/app/_layout.d.ts +9 -0
- package/lib/typescript/src/app/_layout.d.ts.map +1 -0
- package/lib/typescript/src/components/theme-config.d.ts +174 -0
- package/lib/typescript/src/components/theme-config.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Accordion.d.ts +11 -0
- package/lib/typescript/src/components/ui/Accordion.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Alert-Dialog.d.ts +11 -0
- package/lib/typescript/src/components/ui/Alert-Dialog.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Alert.d.ts +11 -0
- package/lib/typescript/src/components/ui/Alert.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/AppBar.d.ts +227 -0
- package/lib/typescript/src/components/ui/AppBar.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Aspect-Ratio.d.ts +30 -0
- package/lib/typescript/src/components/ui/Aspect-Ratio.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Avatar.d.ts +11 -0
- package/lib/typescript/src/components/ui/Avatar.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Badge.d.ts +11 -0
- package/lib/typescript/src/components/ui/Badge.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Bottom-Sheet.d.ts +11 -0
- package/lib/typescript/src/components/ui/Bottom-Sheet.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Button.d.ts +11 -0
- package/lib/typescript/src/components/ui/Button.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Card.d.ts +11 -0
- package/lib/typescript/src/components/ui/Card.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Checkbox.d.ts +11 -0
- package/lib/typescript/src/components/ui/Checkbox.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Collapsible.d.ts +212 -0
- package/lib/typescript/src/components/ui/Collapsible.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Context-Menu.d.ts +11 -0
- package/lib/typescript/src/components/ui/Context-Menu.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Custom-Card.d.ts +11 -0
- package/lib/typescript/src/components/ui/Custom-Card.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Dialog.d.ts +11 -0
- package/lib/typescript/src/components/ui/Dialog.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Dropdown-Menu.d.ts +11 -0
- package/lib/typescript/src/components/ui/Dropdown-Menu.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Floating-Action-Button.d.ts +11 -0
- package/lib/typescript/src/components/ui/Floating-Action.d.ts +44 -0
- package/lib/typescript/src/components/ui/Floating-Action.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Greeting-Card.d.ts +11 -0
- package/lib/typescript/src/components/ui/Greeting-Card.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Hover-Card.d.ts +11 -0
- package/lib/typescript/src/components/ui/Hover-Card.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Icon.d.ts +11 -0
- package/lib/typescript/src/components/ui/Icon.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Input.d.ts +11 -0
- package/lib/typescript/src/components/ui/Input.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Label.d.ts +11 -0
- package/lib/typescript/src/components/ui/Label.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Menubar.d.ts +11 -0
- package/lib/typescript/src/components/ui/Menubar.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Native-Only-Animated-View.d.ts +26 -0
- package/lib/typescript/src/components/ui/Native-Only-Animated-View.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/NavBar.d.ts +11 -0
- package/lib/typescript/src/components/ui/NavBar.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Popover.d.ts +11 -0
- package/lib/typescript/src/components/ui/Popover.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Progress.d.ts +11 -0
- package/lib/typescript/src/components/ui/Progress.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Radio-Group.d.ts +11 -0
- package/lib/typescript/src/components/ui/Radio-Group.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Select.d.ts +11 -0
- package/lib/typescript/src/components/ui/Select.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Separator.d.ts +11 -0
- package/lib/typescript/src/components/ui/Separator.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/SizedBox.d.ts +79 -0
- package/lib/typescript/src/components/ui/SizedBox.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Skeleton.d.ts +11 -0
- package/lib/typescript/src/components/ui/Skeleton.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Slider.d.ts +11 -0
- package/lib/typescript/src/components/ui/Slider.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Switch.d.ts +11 -0
- package/lib/typescript/src/components/ui/Switch.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Table.d.ts +11 -0
- package/lib/typescript/src/components/ui/Table.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Tabs.d.ts +11 -0
- package/lib/typescript/src/components/ui/Tabs.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Text.d.ts +11 -0
- package/lib/typescript/src/components/ui/Text.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Textarea.d.ts +11 -0
- package/lib/typescript/src/components/ui/Textarea.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Theme-Toggle.d.ts +11 -0
- package/lib/typescript/src/components/ui/Theme-Toggle.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Toast.d.ts +11 -0
- package/lib/typescript/src/components/ui/Toast.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Toggle-Group.d.ts +11 -0
- package/lib/typescript/src/components/ui/Toggle-Group.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Toggle.d.ts +11 -0
- package/lib/typescript/src/components/ui/Toggle.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/Tooltip.d.ts +11 -0
- package/lib/typescript/src/components/ui/Tooltip.d.ts.map +1 -0
- package/lib/typescript/src/components/ui/index.d.ts +39 -0
- package/lib/typescript/src/components/ui/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ui.d.ts +49 -0
- package/lib/typescript/src/index.d.ts +95 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/lib/ThemeProvider.d.ts +14 -0
- package/lib/typescript/src/lib/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/src/lib/cornerRadius.d.ts +21 -0
- package/lib/typescript/src/lib/cornerRadius.d.ts.map +1 -0
- package/lib/typescript/src/lib/fonts.d.ts +30 -0
- package/lib/typescript/src/lib/fonts.d.ts.map +1 -0
- package/lib/typescript/src/lib/theme.d.ts +9 -0
- package/lib/typescript/src/lib/theme.d.ts.map +1 -0
- package/lib/typescript/src/lib/utils.d.ts +1 -0
- package/lib/typescript/src/lib/utils.d.ts.map +1 -0
- package/lib/typescript/tailwind.config.d.ts +3 -0
- package/lib/typescript/tailwind.config.d.ts.map +1 -0
- package/package.json +2 -3
- package/src/components/ui/Skeleton.tsx +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["cn","View","cssInterop","jsx","_jsx","className","Skeleton","props"],"sourceRoot":"../../../../src","sources":["components/ui/Skeleton.tsx"],"mappings":";;AAAA,SAASA,EAAE,QAAQ,oBAAiB;AACpC,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,UAAU,QAAQ,YAAY;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAExCF,UAAU,CAACD,IAAI,EAAE;EAAEI,SAAS,EAAE;AAAQ,CAAC,CAAC;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,QAAQA,CAAC;EAChBD,SAAS;EACT,GAAGE;AAC0D,CAAC,EAAE;EAChE,oBACEH,IAAA,CAACH,IAAI;IACHI,SAAS,EAAEL,EAAE,CAAC,
|
|
1
|
+
{"version":3,"names":["cn","View","cssInterop","jsx","_jsx","className","Skeleton","props"],"sourceRoot":"../../../../src","sources":["components/ui/Skeleton.tsx"],"mappings":";;AAAA,SAASA,EAAE,QAAQ,oBAAiB;AACpC,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,UAAU,QAAQ,YAAY;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAExCF,UAAU,CAACD,IAAI,EAAE;EAAEI,SAAS,EAAE;AAAQ,CAAC,CAAC;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,QAAQA,CAAC;EAChBD,SAAS;EACT,GAAGE;AAC0D,CAAC,EAAE;EAChE,oBACEH,IAAA,CAACH,IAAI;IACHI,SAAS,EAAEL,EAAE,CAAC,mCAAmC,EAAEK,SAAS,CAAE;IAAA,GAC1DE;EAAK,CACV,CAAC;AAEN;AAEA,SAASD,QAAQ","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export let presets: (string | {
|
|
2
|
+
jsxImportSource: string;
|
|
3
|
+
})[][];
|
|
4
|
+
export let overrides: ({
|
|
5
|
+
exclude: RegExp;
|
|
6
|
+
presets: string[];
|
|
7
|
+
include?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
include: RegExp;
|
|
10
|
+
presets: string[];
|
|
11
|
+
exclude?: undefined;
|
|
12
|
+
})[];
|
|
13
|
+
//# sourceMappingURL=babel.config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"babel.config.d.ts","sourceRoot":"","sources":["../../babel.config.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metro.config.d.ts","sourceRoot":"","sources":["../../metro.config.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_layout.d.ts","sourceRoot":"","sources":["../../../../src/app/_layout.tsx"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAM1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,UAAU,eAAe;IACvB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,QAAQ,EAAE,EAAE,eAAe,2CAY/D"}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Comprehensive Dark Theme Configuration
|
|
3
|
+
*
|
|
4
|
+
* This file provides complete theme tokens and utilities for consistent
|
|
5
|
+
* dark mode support across all components in the Blueprint library.
|
|
6
|
+
*
|
|
7
|
+
* Best Practices:
|
|
8
|
+
* - Uses HSL color format for better color manipulation
|
|
9
|
+
* - Provides semantic color tokens (not raw colors)
|
|
10
|
+
* - Maintains proper contrast ratios for accessibility (WCAG AA/AAA)
|
|
11
|
+
* - Consistent with Tailwind CSS conventions
|
|
12
|
+
*/
|
|
13
|
+
import type { ColorValue } from 'react-native';
|
|
14
|
+
/**
|
|
15
|
+
* Color tokens for light and dark themes
|
|
16
|
+
* Each token follows the pattern: purpose-variant
|
|
17
|
+
*/
|
|
18
|
+
export declare const THEME_COLORS: {
|
|
19
|
+
readonly light: {
|
|
20
|
+
readonly background: "hsl(0, 0%, 100%)";
|
|
21
|
+
readonly foreground: "hsl(0, 0%, 3.9%)";
|
|
22
|
+
readonly card: "hsl(0, 0%, 100%)";
|
|
23
|
+
readonly cardForeground: "hsl(0, 0%, 3.9%)";
|
|
24
|
+
readonly popover: "hsl(0, 0%, 100%)";
|
|
25
|
+
readonly popoverForeground: "hsl(0, 0%, 3.9%)";
|
|
26
|
+
readonly primary: "hsl(0, 0%, 9%)";
|
|
27
|
+
readonly primaryForeground: "hsl(0, 0%, 98%)";
|
|
28
|
+
readonly secondary: "hsl(0, 0%, 96.1%)";
|
|
29
|
+
readonly secondaryForeground: "hsl(0, 0%, 9%)";
|
|
30
|
+
readonly muted: "hsl(0, 0%, 96.1%)";
|
|
31
|
+
readonly mutedForeground: "hsl(0, 0%, 45.1%)";
|
|
32
|
+
readonly accent: "hsl(0, 0%, 96.1%)";
|
|
33
|
+
readonly accentForeground: "hsl(0, 0%, 9%)";
|
|
34
|
+
readonly destructive: "hsl(0, 84.2%, 60.2%)";
|
|
35
|
+
readonly destructiveForeground: "hsl(0, 0%, 98%)";
|
|
36
|
+
readonly border: "hsl(0, 0%, 89.8%)";
|
|
37
|
+
readonly input: "hsl(0, 0%, 89.8%)";
|
|
38
|
+
readonly ring: "hsl(0, 0%, 63%)";
|
|
39
|
+
readonly success: "hsl(142, 76%, 36%)";
|
|
40
|
+
readonly successForeground: "hsl(0, 0%, 98%)";
|
|
41
|
+
readonly warning: "hsl(38, 92%, 50%)";
|
|
42
|
+
readonly warningForeground: "hsl(0, 0%, 9%)";
|
|
43
|
+
readonly info: "hsl(199, 89%, 48%)";
|
|
44
|
+
readonly infoForeground: "hsl(0, 0%, 98%)";
|
|
45
|
+
};
|
|
46
|
+
readonly dark: {
|
|
47
|
+
readonly background: "hsl(0, 0%, 3.9%)";
|
|
48
|
+
readonly foreground: "hsl(0, 0%, 98%)";
|
|
49
|
+
readonly card: "hsl(0, 0%, 3.9%)";
|
|
50
|
+
readonly cardForeground: "hsl(0, 0%, 98%)";
|
|
51
|
+
readonly popover: "hsl(0, 0%, 3.9%)";
|
|
52
|
+
readonly popoverForeground: "hsl(0, 0%, 98%)";
|
|
53
|
+
readonly primary: "hsl(0, 0%, 98%)";
|
|
54
|
+
readonly primaryForeground: "hsl(0, 0%, 9%)";
|
|
55
|
+
readonly secondary: "hsl(0, 0%, 14.9%)";
|
|
56
|
+
readonly secondaryForeground: "hsl(0, 0%, 98%)";
|
|
57
|
+
readonly muted: "hsl(0, 0%, 14.9%)";
|
|
58
|
+
readonly mutedForeground: "hsl(0, 0%, 63.9%)";
|
|
59
|
+
readonly accent: "hsl(0, 0%, 14.9%)";
|
|
60
|
+
readonly accentForeground: "hsl(0, 0%, 98%)";
|
|
61
|
+
readonly destructive: "hsl(0, 62.8%, 30.6%)";
|
|
62
|
+
readonly destructiveForeground: "hsl(0, 0%, 98%)";
|
|
63
|
+
readonly border: "hsl(0, 0%, 14.9%)";
|
|
64
|
+
readonly input: "hsl(0, 0%, 14.9%)";
|
|
65
|
+
readonly ring: "hsl(0, 0%, 45%)";
|
|
66
|
+
readonly success: "hsl(142, 76%, 36%)";
|
|
67
|
+
readonly successForeground: "hsl(0, 0%, 98%)";
|
|
68
|
+
readonly warning: "hsl(38, 92%, 50%)";
|
|
69
|
+
readonly warningForeground: "hsl(0, 0%, 9%)";
|
|
70
|
+
readonly info: "hsl(199, 89%, 48%)";
|
|
71
|
+
readonly infoForeground: "hsl(0, 0%, 98%)";
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Convert HSL string to React Native ColorValue
|
|
76
|
+
* Useful for native platform styling where HSL needs to be converted
|
|
77
|
+
*/
|
|
78
|
+
export declare function hslToRgb(hsl: string): ColorValue;
|
|
79
|
+
/**
|
|
80
|
+
* Get theme color value based on current theme mode
|
|
81
|
+
* Automatically selects the appropriate color from light/dark theme
|
|
82
|
+
*/
|
|
83
|
+
export declare function getThemeColorValue(colorKey: keyof typeof THEME_COLORS.light, isDark: boolean, asRgb?: boolean): ColorValue;
|
|
84
|
+
/**
|
|
85
|
+
* Component-specific dark mode class mappings
|
|
86
|
+
* Use these to ensure consistent styling across all components
|
|
87
|
+
*/
|
|
88
|
+
export declare const DARK_MODE_CLASSES: {
|
|
89
|
+
readonly text: {
|
|
90
|
+
readonly default: "dark:text-foreground";
|
|
91
|
+
readonly muted: "dark:text-muted-foreground";
|
|
92
|
+
readonly primary: "dark:text-primary-foreground";
|
|
93
|
+
readonly secondary: "dark:text-secondary-foreground";
|
|
94
|
+
readonly accent: "dark:text-accent-foreground";
|
|
95
|
+
readonly destructive: "dark:text-destructive-foreground";
|
|
96
|
+
readonly card: "dark:text-card-foreground";
|
|
97
|
+
};
|
|
98
|
+
readonly background: {
|
|
99
|
+
readonly default: "dark:bg-background";
|
|
100
|
+
readonly card: "dark:bg-card";
|
|
101
|
+
readonly primary: "dark:bg-primary";
|
|
102
|
+
readonly secondary: "dark:bg-secondary";
|
|
103
|
+
readonly muted: "dark:bg-muted";
|
|
104
|
+
readonly accent: "dark:bg-accent";
|
|
105
|
+
readonly destructive: "dark:bg-destructive";
|
|
106
|
+
readonly popover: "dark:bg-popover";
|
|
107
|
+
};
|
|
108
|
+
readonly border: {
|
|
109
|
+
readonly default: "dark:border-border";
|
|
110
|
+
readonly input: "dark:border-input";
|
|
111
|
+
readonly primary: "dark:border-primary";
|
|
112
|
+
readonly muted: "dark:border-muted";
|
|
113
|
+
readonly accent: "dark:border-accent";
|
|
114
|
+
readonly destructive: "dark:border-destructive";
|
|
115
|
+
};
|
|
116
|
+
readonly state: {
|
|
117
|
+
readonly hover: "dark:hover:bg-accent";
|
|
118
|
+
readonly active: "dark:active:bg-accent";
|
|
119
|
+
readonly focus: "dark:focus:ring-ring";
|
|
120
|
+
readonly disabled: "dark:disabled:opacity-50";
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Helper to combine base classes with dark mode classes
|
|
125
|
+
* Ensures consistent application of dark mode styles
|
|
126
|
+
*/
|
|
127
|
+
export declare function withDarkMode(baseClass: string, darkClass: string, additionalClasses?: string): string;
|
|
128
|
+
/**
|
|
129
|
+
* Pre-configured class strings for common component patterns
|
|
130
|
+
* Use these for consistent styling across the library
|
|
131
|
+
*/
|
|
132
|
+
export declare const THEME_PRESETS: {
|
|
133
|
+
readonly card: "bg-card text-card-foreground dark:bg-card dark:text-card-foreground border border-border dark:border-border";
|
|
134
|
+
readonly input: "bg-background text-foreground dark:bg-background dark:text-foreground border border-input dark:border-input";
|
|
135
|
+
readonly buttonPrimary: "bg-primary text-primary-foreground dark:bg-primary dark:text-primary-foreground";
|
|
136
|
+
readonly buttonSecondary: "bg-secondary text-secondary-foreground dark:bg-secondary dark:text-secondary-foreground";
|
|
137
|
+
readonly buttonOutline: "bg-background text-foreground dark:bg-background dark:text-foreground border border-input dark:border-input";
|
|
138
|
+
readonly buttonGhost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent dark:hover:text-accent-foreground";
|
|
139
|
+
readonly destructive: "bg-destructive text-destructive-foreground dark:bg-destructive dark:text-destructive-foreground";
|
|
140
|
+
readonly muted: "bg-muted text-muted-foreground dark:bg-muted dark:text-muted-foreground";
|
|
141
|
+
readonly popover: "bg-popover text-popover-foreground dark:bg-popover dark:text-popover-foreground border border-border dark:border-border";
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* Semantic color map for native components
|
|
145
|
+
* Use these for StyleSheet-based styling
|
|
146
|
+
*/
|
|
147
|
+
export declare function getNativeThemeColors(isDark: boolean): {
|
|
148
|
+
background: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
149
|
+
foreground: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
150
|
+
card: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
151
|
+
cardForeground: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
152
|
+
primary: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
153
|
+
primaryForeground: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
154
|
+
secondary: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
155
|
+
secondaryForeground: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
156
|
+
muted: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
157
|
+
mutedForeground: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
158
|
+
accent: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
159
|
+
accentForeground: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
160
|
+
destructive: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
161
|
+
destructiveForeground: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
162
|
+
border: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
163
|
+
input: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
164
|
+
ring: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Type-safe theme color keys
|
|
168
|
+
*/
|
|
169
|
+
export type ThemeColorKey = keyof typeof THEME_COLORS.light;
|
|
170
|
+
/**
|
|
171
|
+
* Check if a color key exists in the theme
|
|
172
|
+
*/
|
|
173
|
+
export declare function isValidThemeColor(key: string): key is ThemeColorKey;
|
|
174
|
+
//# sourceMappingURL=theme-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-config.d.ts","sourceRoot":"","sources":["../../../../src/components/theme-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqGf,CAAC;AAEX;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAuChD;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,MAAM,OAAO,YAAY,CAAC,KAAK,EACzC,MAAM,EAAE,OAAO,EACf,KAAK,UAAQ,GACZ,UAAU,CAKZ;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCpB,CAAC;AAEX;;;GAGG;AACH,wBAAgB,YAAY,CAC1B,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,iBAAiB,CAAC,EAAE,MAAM,GACzB,MAAM,CAER;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;CAmChB,CAAC;AAEX;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,OAAO;;;;;;;;;;;;;;;;;;EAgCnD;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,YAAY,CAAC,KAAK,CAAC;AAE5D;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,IAAI,aAAa,CAEnE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ViewProps } from 'react-native';
|
|
3
|
+
|
|
4
|
+
export interface AccordionProps extends ViewProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const Accordion: React.ComponentType<AccordionProps>;
|
|
11
|
+
export default Accordion;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,0BAA0B,CAAC;AAmB/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,iBAAS,SAAS,CAAC,EACjB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,kBAAkB,CAAC,SAAS,EAAE,SAAS,CAAC,GAC9C,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,OAAO,CAAC,2CAahD;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,iBAAS,aAAa,CAAC,EACrB,QAAQ,EACR,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,kBAAkB,CAAC,SAAS,GAC7B,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,OAAO,CAAC,2CAoBhD;AAID;;;;;;;;;;;;;;;;;;GAkBG;AACH,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,kBAAkB,CAAC,YAAY,GAAG;IACnC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,GAAG,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,UAAU,CAAC,2CAqDrD;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,kBAAkB,CAAC,YAAY,GAChC,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,UAAU,CAAC,2CAsBnD;AAED,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ViewProps } from 'react-native';
|
|
3
|
+
|
|
4
|
+
export interface Alert-DialogProps extends ViewProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const Alert-Dialog: React.ComponentType<Alert-DialogProps>;
|
|
11
|
+
export default Alert-Dialog;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert-Dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Alert-Dialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAO9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,QAAA,MAAM,WAAW;;;;;;;OA3BhB,CAAA;;OAIA,CAAC;uBAuB2C,CAAC;AAE9C;;;;;;;;;;GAUG;AACH,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAxCvB,CAAA;;OAIA,CAAC;;;;;;;OAJD,CAAA;;OAIA,CAAC;uBAoCqD,CAAC;AAExD;;GAEG;AACH,QAAA,MAAM,iBAAiB,oCAA8B,CAAC;AAKtD;;;;;;;;;;;;;GAaG;AACH,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,oBAAoB,CAAC,YAAY,EAAE,SAAS,CAAC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SAAS,CAAC,2CAWpD;AAED,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,GACnB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ViewProps } from 'react-native';
|
|
3
|
+
|
|
4
|
+
export interface AlertProps extends ViewProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const Alert: React.ComponentType<AlertProps>;
|
|
11
|
+
export default Alert;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Alert.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAoB,MAAM,QAAQ,CAAC;AAEhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,aAAa,EACb,GAAG,KAAK,EACT,EAAE,SAAS,GACV,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG;IAC1B,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;IACpC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,2CAgCF;AAED;;;;;;GAMG;AACH,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,2CAU/D;AAED;;;;;;;GAOG;AACH,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,2CAa/D;AAED,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import type { LucideIcon } from 'lucide-react-native';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Configuration for an action item in the AppBar
|
|
5
|
+
*
|
|
6
|
+
* @property {LucideIcon} icon - Icon component from lucide-react-native
|
|
7
|
+
* @property {() => void} [onPress] - Callback when action is pressed
|
|
8
|
+
* @property {string} [label] - Accessibility label for the action
|
|
9
|
+
* @property {string} [className] - Additional classes for the action button container
|
|
10
|
+
* @property {string} [iconClassName] - Additional classes for the icon
|
|
11
|
+
* @property {boolean} [disabled] - Whether the action is disabled
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const actions: AppBarAction[] = [
|
|
16
|
+
* { icon: Search, onPress: handleSearch, label: 'Search' },
|
|
17
|
+
* { icon: MoreVertical, onPress: handleMore, label: 'More options' }
|
|
18
|
+
* ];
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export type AppBarAction = {
|
|
22
|
+
icon: LucideIcon;
|
|
23
|
+
onPress?: () => void;
|
|
24
|
+
label?: string;
|
|
25
|
+
className?: string;
|
|
26
|
+
iconClassName?: string;
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Props for AppBar component - A flexible top app bar following Material Design guidelines
|
|
31
|
+
*
|
|
32
|
+
* @property {string | React.ReactNode} [title] - AppBar title text or custom component
|
|
33
|
+
* @property {string} [subtitle] - Optional subtitle text displayed below title
|
|
34
|
+
*
|
|
35
|
+
* @property {React.ReactNode} [leading] - Custom leading widget (can include multiple icons or custom components, overrides default back button)
|
|
36
|
+
* @property {boolean} [showLeading=true] - Whether to show the leading widget
|
|
37
|
+
* @property {() => void} [onLeadingPress] - Callback when leading icon is pressed (only used if no custom leading provided)
|
|
38
|
+
* @property {LucideIcon} [leadingIcon=ArrowLeft] - Icon for the leading button (only used if no custom leading provided)
|
|
39
|
+
*
|
|
40
|
+
* @property {React.ReactNode} [center] - Custom center component (overrides title/subtitle, can include images, text, or complex layouts)
|
|
41
|
+
*
|
|
42
|
+
* @property {AppBarAction[]} [actions=[]] - Array of action items to display on the right (supports multiple icons)
|
|
43
|
+
*
|
|
44
|
+
* @property {string} [className] - Additional classes for the root container
|
|
45
|
+
* @property {string} [titleClassName] - Additional classes for the title text
|
|
46
|
+
* @property {string} [subtitleClassName] - Additional classes for the subtitle text
|
|
47
|
+
* @property {string} [contentClassName] - Additional classes for the content container
|
|
48
|
+
* @property {string} [leadingClassName] - Additional classes for the leading section container
|
|
49
|
+
* @property {string} [centerClassName] - Additional classes for the center section container
|
|
50
|
+
* @property {string} [actionsClassName] - Additional classes for the actions section container
|
|
51
|
+
*
|
|
52
|
+
* @property {boolean} [centerTitle=false] - Whether to center the title
|
|
53
|
+
* @property {number} [elevation=4] - Elevation level for shadow (0 = no shadow)
|
|
54
|
+
* @property {boolean} [transparent=false] - Whether the AppBar background is transparent
|
|
55
|
+
*
|
|
56
|
+
* @property {boolean} [useSafeArea=true] - Whether to respect safe area insets
|
|
57
|
+
*
|
|
58
|
+
* @property {string} [backgroundColor] - Custom background color class
|
|
59
|
+
* @property {string} [foregroundColor] - Custom foreground/text color class
|
|
60
|
+
*
|
|
61
|
+
* @property {'default' | 'light-content' | 'dark-content'} [statusBarStyle] - Status bar text color (auto-adjusts based on theme if not set)
|
|
62
|
+
* @property {string} [statusBarColor] - Status bar background color (Android)
|
|
63
|
+
*
|
|
64
|
+
* @property {number} [height] - Custom height in pixels (default: 56px per Material Design)
|
|
65
|
+
*
|
|
66
|
+
* @property {React.ReactNode} [bottom] - Additional content below main app bar (e.g., tabs, search)
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* ```tsx
|
|
70
|
+
* // Simple app bar with title
|
|
71
|
+
* <AppBar title="Home" />
|
|
72
|
+
*
|
|
73
|
+
* // With custom center containing image and text
|
|
74
|
+
* <AppBar
|
|
75
|
+
* center={
|
|
76
|
+
* <View className="flex-row items-center gap-2">
|
|
77
|
+
* <Image source={logo} className="w-8 h-8" />
|
|
78
|
+
* <Text className="text-lg font-bold">MyApp</Text>
|
|
79
|
+
* </View>
|
|
80
|
+
* }
|
|
81
|
+
* />
|
|
82
|
+
*
|
|
83
|
+
* // With multiple leading icons
|
|
84
|
+
* <AppBar
|
|
85
|
+
* title="Settings"
|
|
86
|
+
* leading={
|
|
87
|
+
* <View className="flex-row items-center">
|
|
88
|
+
* <IconButton icon={Menu} onPress={openMenu} />
|
|
89
|
+
* <IconButton icon={ArrowLeft} onPress={goBack} />
|
|
90
|
+
* </View>
|
|
91
|
+
* }
|
|
92
|
+
* actions={[
|
|
93
|
+
* { icon: Search, onPress: handleSearch },
|
|
94
|
+
* { icon: Settings, onPress: openSettings },
|
|
95
|
+
* { icon: MoreVertical, onPress: handleMore }
|
|
96
|
+
* ]}
|
|
97
|
+
* />
|
|
98
|
+
* ```
|
|
99
|
+
*/
|
|
100
|
+
export type AppBarProps = {
|
|
101
|
+
title?: string | React.ReactNode;
|
|
102
|
+
subtitle?: string;
|
|
103
|
+
leading?: React.ReactNode;
|
|
104
|
+
showLeading?: boolean;
|
|
105
|
+
onLeadingPress?: () => void;
|
|
106
|
+
leadingIcon?: LucideIcon;
|
|
107
|
+
center?: React.ReactNode;
|
|
108
|
+
actions?: AppBarAction[];
|
|
109
|
+
className?: string;
|
|
110
|
+
titleClassName?: string;
|
|
111
|
+
subtitleClassName?: string;
|
|
112
|
+
contentClassName?: string;
|
|
113
|
+
leadingClassName?: string;
|
|
114
|
+
centerClassName?: string;
|
|
115
|
+
actionsClassName?: string;
|
|
116
|
+
centerTitle?: boolean;
|
|
117
|
+
elevation?: number;
|
|
118
|
+
transparent?: boolean;
|
|
119
|
+
useSafeArea?: boolean;
|
|
120
|
+
backgroundColor?: string;
|
|
121
|
+
foregroundColor?: string;
|
|
122
|
+
statusBarStyle?: 'default' | 'light-content' | 'dark-content';
|
|
123
|
+
statusBarColor?: string;
|
|
124
|
+
height?: number;
|
|
125
|
+
bottom?: React.ReactNode;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* A flexible top app bar component following Material Design guidelines
|
|
129
|
+
*
|
|
130
|
+
* Provides consistent navigation and actions across your app with support for:
|
|
131
|
+
* - Customizable leading navigation (back button, menu, custom widget)
|
|
132
|
+
* - Title and subtitle with flexible positioning
|
|
133
|
+
* - Action buttons on the right side
|
|
134
|
+
* - Safe area insets handling
|
|
135
|
+
* - Platform-specific status bar configuration
|
|
136
|
+
* - Transparent overlay mode
|
|
137
|
+
* - Bottom content slot for tabs or search bars
|
|
138
|
+
*
|
|
139
|
+
* @component
|
|
140
|
+
* @example
|
|
141
|
+
* ```tsx
|
|
142
|
+
* // Basic with back button
|
|
143
|
+
* <AppBar
|
|
144
|
+
* title="Profile"
|
|
145
|
+
* onLeadingPress={() => navigation.goBack()}
|
|
146
|
+
* />
|
|
147
|
+
*
|
|
148
|
+
* // With menu and actions
|
|
149
|
+
* <AppBar
|
|
150
|
+
* title="Home"
|
|
151
|
+
* leadingIcon={Menu}
|
|
152
|
+
* onLeadingPress={openDrawer}
|
|
153
|
+
* actions={[
|
|
154
|
+
* { icon: Search, onPress: handleSearch },
|
|
155
|
+
* { icon: Settings, onPress: openSettings }
|
|
156
|
+
* ]}
|
|
157
|
+
* />
|
|
158
|
+
*
|
|
159
|
+
* // Transparent overlay (for use over content)
|
|
160
|
+
* <AppBar
|
|
161
|
+
* title="Photo"
|
|
162
|
+
* transparent
|
|
163
|
+
* foregroundColor="text-white"
|
|
164
|
+
* statusBarStyle="light-content"
|
|
165
|
+
* />
|
|
166
|
+
* ```
|
|
167
|
+
*
|
|
168
|
+
* @accessibility
|
|
169
|
+
* - Leading button includes "Navigate back" accessibility label
|
|
170
|
+
* - Action buttons support custom accessibility labels
|
|
171
|
+
* - Proper button role for all interactive elements
|
|
172
|
+
*/
|
|
173
|
+
declare const AppBar: React.ForwardRefExoticComponent<AppBarProps & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
174
|
+
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
175
|
+
}> & {
|
|
176
|
+
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
177
|
+
}) => React.ReactNode>>;
|
|
178
|
+
/**
|
|
179
|
+
* Pre-configured AppBar variants for common use cases
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* ```tsx
|
|
183
|
+
* // Simple app bar without navigation
|
|
184
|
+
* <AppBarVariants.Simple title="Home" />
|
|
185
|
+
*
|
|
186
|
+
* // With back button
|
|
187
|
+
* <AppBarVariants.WithBack title="Details" onLeadingPress={goBack} />
|
|
188
|
+
*
|
|
189
|
+
* // With menu drawer
|
|
190
|
+
* <AppBarVariants.WithMenu title="Main" onLeadingPress={openDrawer} />
|
|
191
|
+
*
|
|
192
|
+
* // Transparent overlay
|
|
193
|
+
* <AppBarVariants.Transparent title="Gallery" />
|
|
194
|
+
*
|
|
195
|
+
* // Centered title
|
|
196
|
+
* <AppBarVariants.Centered title="About" />
|
|
197
|
+
* ```
|
|
198
|
+
*/
|
|
199
|
+
export declare const AppBarVariants: {
|
|
200
|
+
Simple: (props: Omit<AppBarProps, "showLeading">) => import("react/jsx-runtime").JSX.Element;
|
|
201
|
+
WithBack: (props: AppBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
202
|
+
WithMenu: (props: Omit<AppBarProps, "leadingIcon">) => import("react/jsx-runtime").JSX.Element;
|
|
203
|
+
Transparent: (props: Omit<AppBarProps, "transparent">) => import("react/jsx-runtime").JSX.Element;
|
|
204
|
+
Centered: (props: Omit<AppBarProps, "centerTitle">) => import("react/jsx-runtime").JSX.Element;
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
* Common icons exported for convenience when configuring AppBar
|
|
208
|
+
*
|
|
209
|
+
* @example
|
|
210
|
+
* ```tsx
|
|
211
|
+
* import { AppBar, AppBarIcons } from './AppBar';
|
|
212
|
+
*
|
|
213
|
+
* <AppBar
|
|
214
|
+
* leadingIcon={AppBarIcons.Menu}
|
|
215
|
+
* actions={[
|
|
216
|
+
* { icon: AppBarIcons.MoreVertical, onPress: handleMore }
|
|
217
|
+
* ]}
|
|
218
|
+
* />
|
|
219
|
+
* ```
|
|
220
|
+
*/
|
|
221
|
+
export declare const AppBarIcons: {
|
|
222
|
+
Menu: LucideIcon;
|
|
223
|
+
ArrowLeft: LucideIcon;
|
|
224
|
+
MoreVertical: LucideIcon;
|
|
225
|
+
};
|
|
226
|
+
export { AppBar };
|
|
227
|
+
//# sourceMappingURL=AppBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/AppBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGtD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,C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SAAS,CAAC;CAC1B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,QAAA,MAAM,MAAM;OA5LU,CAAA;;OACM,CAAC;uBAuc5B,CAAC;AAIF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,cAAc;oBAET,IAAI,CAAC,WAAW,EAAE,aAAa,CAAC;sBAK9B,WAAW;sBAGX,IAAI,CAAC,WAAW,EAAE,aAAa,CAAC;yBAK7B,IAAI,CAAC,WAAW,EAAE,aAAa,CAAC;sBAKnC,IAAI,CAAC,WAAW,EAAE,aAAa,CAAC;CAGnD,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,WAAW;;;;CAIvB,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Maintains a consistent aspect ratio for its child content
|
|
3
|
+
*
|
|
4
|
+
* Displays content within a desired ratio (e.g., 16/9, 4/3, 1/1) regardless of available space.
|
|
5
|
+
* Commonly used for images, videos, and embedded content that require specific proportions.
|
|
6
|
+
*
|
|
7
|
+
* @component
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* // 16:9 aspect ratio for video container
|
|
11
|
+
* <AspectRatio ratio={16 / 9} className="bg-muted">
|
|
12
|
+
* <Image source={{uri: 'video-thumbnail.jpg'}} className="h-full w-full rounded-md object-cover" />
|
|
13
|
+
* </AspectRatio>
|
|
14
|
+
*
|
|
15
|
+
* // Square aspect ratio for avatars
|
|
16
|
+
* <AspectRatio ratio={1} className="w-full">
|
|
17
|
+
* <Image source={{uri: 'avatar.jpg'}} className="h-full w-full" />
|
|
18
|
+
* </AspectRatio>
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
declare const AspectRatio: import("react").ForwardRefExoticComponent<Omit<import("@rn-primitives/types").SlottableViewProps, "style"> & {
|
|
22
|
+
ratio?: number;
|
|
23
|
+
style?: import("react-native").ViewStyle;
|
|
24
|
+
} & import("react").RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
25
|
+
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
26
|
+
}> & {
|
|
27
|
+
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
28
|
+
}) => React.ReactNode>>;
|
|
29
|
+
export { AspectRatio };
|
|
30
|
+
//# sourceMappingURL=Aspect-Ratio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Aspect-Ratio.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Aspect-Ratio.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,WAAW;;;;OAEV,CAAC;;OACiD,CAAC;uBAHb,CAAC;AAE9C,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ViewProps } from 'react-native';
|
|
3
|
+
|
|
4
|
+
export interface AvatarProps extends ViewProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const Avatar: React.ComponentType<AvatarProps>;
|
|
11
|
+
export default Avatar;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAuCa,CAAC;;;;;;;;;gBAfE,MAAM;UACZ,MAAM;0HAUd,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAEiB,MAAM;yHAazC,CAAC;AAGH,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ViewProps } from 'react-native';
|
|
3
|
+
|
|
4
|
+
export interface BadgeProps extends ViewProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const Badge: React.ComponentType<BadgeProps>;
|
|
11
|
+
export default Badge;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Badge.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B;;;;;;;GAOG;AACH,QAAA,MAAM,aAAa;;iEAelB,CAAC;AAEF;;;;;;GAMG;AACH,QAAA,MAAM,iBAAiB;;iEAYrB,CAAC;AAEH;;;;;;;;;;;;;;;;GAgBG;AACH,KAAK,UAAU,GAAG,kBAAkB,GAClC,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9D;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA3B0C,MAAM;yHAwC1D,CAAC;AAGF,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,CAAC;AACnD,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ViewProps } from 'react-native';
|
|
3
|
+
|
|
4
|
+
export interface Bottom-SheetProps extends ViewProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const Bottom-Sheet: React.ComponentType<Bottom-SheetProps>;
|
|
11
|
+
export default Bottom-Sheet;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Bottom-Sheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Bottom-Sheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAO,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAU3D,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,CAAC,KAAK,EA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B,EAClB,iBAAiB,GAClB,CAAC;AACF,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ViewProps } from 'react-native';
|
|
3
|
+
|
|
4
|
+
export interface ButtonProps extends ViewProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const Button: React.ComponentType<ButtonProps>;
|
|
11
|
+
export default Button;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,QAAA,MAAM,cAAc;;;iEAyBnB,CAAC;AAEF,QAAA,MAAM,kBAAkB;;;iEAyBvB,CAAC;AAEF,KAAK,WAAW,GAAG,uBAAuB,GACxC,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEJ,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAHI,MAAM;yHAuBrB,CAAC;AAIF,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,cAAc,EAAE,CAAC;AACtD,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ViewProps } from 'react-native';
|
|
3
|
+
|
|
4
|
+
export interface CardProps extends ViewProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const Card: React.ComponentType<CardProps>;
|
|
11
|
+
export default Card;
|