@gv-tech/ui-native 2.29.1 → 2.29.3
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/dist/alert-dialog.d.ts +51 -0
- package/dist/alert-dialog.d.ts.map +1 -0
- package/dist/alert.d.ts +10 -0
- package/dist/alert.d.ts.map +1 -0
- package/dist/breadcrumb.d.ts +6 -25
- package/dist/breadcrumb.d.ts.map +1 -1
- package/dist/button.d.ts +2 -5
- package/dist/button.d.ts.map +1 -1
- package/dist/calendar.d.ts +7 -10
- package/dist/calendar.d.ts.map +1 -1
- package/dist/card.d.ts +13 -0
- package/dist/card.d.ts.map +1 -0
- package/dist/carousel.d.ts +6 -29
- package/dist/carousel.d.ts.map +1 -1
- package/dist/checkbox.d.ts +15 -0
- package/dist/checkbox.d.ts.map +1 -0
- package/dist/context-menu.d.ts +61 -0
- package/dist/context-menu.d.ts.map +1 -0
- package/dist/dialog.d.ts +61 -0
- package/dist/dialog.d.ts.map +1 -0
- package/dist/drawer.d.ts +33 -0
- package/dist/drawer.d.ts.map +1 -0
- package/dist/dropdown-menu.d.ts +60 -0
- package/dist/dropdown-menu.d.ts.map +1 -0
- package/dist/form.d.ts +33 -0
- package/dist/form.d.ts.map +1 -0
- package/dist/hooks/use-theme.d.ts +52 -52
- package/dist/hover-card.d.ts +23 -0
- package/dist/hover-card.d.ts.map +1 -0
- package/dist/input.d.ts +8 -0
- package/dist/input.d.ts.map +1 -0
- package/dist/label.d.ts +9 -0
- package/dist/label.d.ts.map +1 -0
- package/dist/menubar.d.ts +53 -0
- package/dist/menubar.d.ts.map +1 -0
- package/dist/navigation-menu.d.ts +14 -0
- package/dist/navigation-menu.d.ts.map +1 -0
- package/dist/pagination.d.ts +3 -10
- package/dist/pagination.d.ts.map +1 -1
- package/dist/popover.d.ts +9 -0
- package/dist/popover.d.ts.map +1 -0
- package/dist/progress.d.ts +6 -0
- package/dist/progress.d.ts.map +1 -0
- package/dist/radio-group.d.ts +11 -0
- package/dist/radio-group.d.ts.map +1 -0
- package/dist/scroll-area.d.ts +2 -9
- package/dist/scroll-area.d.ts.map +1 -1
- package/dist/search.d.ts +2 -5
- package/dist/search.d.ts.map +1 -1
- package/dist/select.d.ts +59 -0
- package/dist/select.d.ts.map +1 -0
- package/dist/separator.d.ts +9 -0
- package/dist/separator.d.ts.map +1 -0
- package/dist/sheet.d.ts +59 -0
- package/dist/sheet.d.ts.map +1 -0
- package/dist/switch.d.ts +8 -0
- package/dist/switch.d.ts.map +1 -0
- package/dist/table.d.ts +12 -0
- package/dist/table.d.ts.map +1 -0
- package/dist/tabs.d.ts +24 -0
- package/dist/tabs.d.ts.map +1 -0
- package/dist/text.d.ts +13 -0
- package/dist/text.d.ts.map +1 -0
- package/dist/textarea.d.ts +6 -0
- package/dist/textarea.d.ts.map +1 -0
- package/dist/toast.d.ts +35 -0
- package/dist/toast.d.ts.map +1 -0
- package/dist/toggle-group.d.ts +11 -0
- package/dist/toggle-group.d.ts.map +1 -0
- package/dist/toggle.d.ts +8 -0
- package/dist/toggle.d.ts.map +1 -0
- package/dist/tooltip.d.ts +30 -0
- package/dist/tooltip.d.ts.map +1 -0
- package/dist/ui-native.cjs +2 -2
- package/dist/ui-native.esm.js +335 -404
- package/package.json +3 -3
|
@@ -2,62 +2,62 @@ export declare function useTheme(): import('../theme-provider').ThemeContextValu
|
|
|
2
2
|
theme: import('react-native').ColorSchemeName | null;
|
|
3
3
|
resolvedTheme: "dark" | "light";
|
|
4
4
|
tokens: {
|
|
5
|
-
readonly background: "hsl(
|
|
6
|
-
readonly foreground: "hsl(
|
|
7
|
-
readonly card: "hsl(
|
|
8
|
-
readonly cardForeground: "hsl(
|
|
9
|
-
readonly popover: "hsl(
|
|
10
|
-
readonly popoverForeground: "hsl(
|
|
11
|
-
readonly primary: "hsl(
|
|
12
|
-
readonly primaryForeground: "hsl(
|
|
13
|
-
readonly secondary: "hsl(
|
|
14
|
-
readonly secondaryForeground: "hsl(
|
|
15
|
-
readonly muted: "hsl(
|
|
16
|
-
readonly mutedForeground: "hsl(
|
|
17
|
-
readonly accent: "hsl(
|
|
18
|
-
readonly accentForeground: "hsl(
|
|
5
|
+
readonly background: "hsl(35 25% 88%)";
|
|
6
|
+
readonly foreground: "hsl(150 50% 22%)";
|
|
7
|
+
readonly card: "hsl(35 20% 94%)";
|
|
8
|
+
readonly cardForeground: "hsl(150 50% 22%)";
|
|
9
|
+
readonly popover: "hsl(35 20% 94%)";
|
|
10
|
+
readonly popoverForeground: "hsl(150 50% 22%)";
|
|
11
|
+
readonly primary: "hsl(150 50% 28%)";
|
|
12
|
+
readonly primaryForeground: "hsl(35 33% 97%)";
|
|
13
|
+
readonly secondary: "hsl(150 25% 40%)";
|
|
14
|
+
readonly secondaryForeground: "hsl(35 33% 97%)";
|
|
15
|
+
readonly muted: "hsl(35 15% 80%)";
|
|
16
|
+
readonly mutedForeground: "hsl(150 15% 32%)";
|
|
17
|
+
readonly accent: "hsl(35 18% 82%)";
|
|
18
|
+
readonly accentForeground: "hsl(150 50% 22%)";
|
|
19
19
|
readonly destructive: "hsl(0 84.2% 60.2%)";
|
|
20
|
-
readonly destructiveForeground: "hsl(
|
|
21
|
-
readonly border: "hsl(
|
|
22
|
-
readonly input: "hsl(
|
|
23
|
-
readonly ring: "hsl(
|
|
24
|
-
readonly sidebar: "hsl(
|
|
25
|
-
readonly sidebarForeground: "hsl(
|
|
26
|
-
readonly sidebarPrimary: "hsl(
|
|
27
|
-
readonly sidebarPrimaryForeground: "hsl(
|
|
28
|
-
readonly sidebarAccent: "hsl(
|
|
29
|
-
readonly sidebarAccentForeground: "hsl(
|
|
30
|
-
readonly sidebarBorder: "hsl(
|
|
31
|
-
readonly sidebarRing: "hsl(
|
|
20
|
+
readonly destructiveForeground: "hsl(35 33% 97%)";
|
|
21
|
+
readonly border: "hsl(35 15% 80%)";
|
|
22
|
+
readonly input: "hsl(35 15% 80%)";
|
|
23
|
+
readonly ring: "hsl(150 50% 28%)";
|
|
24
|
+
readonly sidebar: "hsl(35 25% 88%)";
|
|
25
|
+
readonly sidebarForeground: "hsl(150 50% 22%)";
|
|
26
|
+
readonly sidebarPrimary: "hsl(150 50% 28%)";
|
|
27
|
+
readonly sidebarPrimaryForeground: "hsl(35 33% 97%)";
|
|
28
|
+
readonly sidebarAccent: "hsl(35 15% 80%)";
|
|
29
|
+
readonly sidebarAccentForeground: "hsl(150 50% 22%)";
|
|
30
|
+
readonly sidebarBorder: "hsl(35 15% 80%)";
|
|
31
|
+
readonly sidebarRing: "hsl(150 50% 28%)";
|
|
32
32
|
readonly radius: "0.5rem";
|
|
33
33
|
} | {
|
|
34
|
-
readonly background: "hsl(
|
|
35
|
-
readonly foreground: "hsl(
|
|
36
|
-
readonly card: "hsl(
|
|
37
|
-
readonly cardForeground: "hsl(
|
|
38
|
-
readonly popover: "hsl(
|
|
39
|
-
readonly popoverForeground: "hsl(
|
|
40
|
-
readonly primary: "hsl(
|
|
41
|
-
readonly primaryForeground: "hsl(
|
|
42
|
-
readonly secondary: "hsl(
|
|
43
|
-
readonly secondaryForeground: "hsl(
|
|
44
|
-
readonly muted: "hsl(
|
|
45
|
-
readonly mutedForeground: "hsl(
|
|
46
|
-
readonly accent: "hsl(
|
|
47
|
-
readonly accentForeground: "hsl(
|
|
34
|
+
readonly background: "hsl(30 15% 12%)";
|
|
35
|
+
readonly foreground: "hsl(35 20% 92%)";
|
|
36
|
+
readonly card: "hsl(30 12% 16%)";
|
|
37
|
+
readonly cardForeground: "hsl(35 20% 92%)";
|
|
38
|
+
readonly popover: "hsl(30 12% 16%)";
|
|
39
|
+
readonly popoverForeground: "hsl(35 20% 92%)";
|
|
40
|
+
readonly primary: "hsl(150 40% 55%)";
|
|
41
|
+
readonly primaryForeground: "hsl(150 45% 10%)";
|
|
42
|
+
readonly secondary: "hsl(150 30% 65%)";
|
|
43
|
+
readonly secondaryForeground: "hsl(150 45% 10%)";
|
|
44
|
+
readonly muted: "hsl(30 10% 22%)";
|
|
45
|
+
readonly mutedForeground: "hsl(35 12% 70%)";
|
|
46
|
+
readonly accent: "hsl(30 12% 18%)";
|
|
47
|
+
readonly accentForeground: "hsl(35 20% 92%)";
|
|
48
48
|
readonly destructive: "hsl(0 62.8% 30.6%)";
|
|
49
|
-
readonly destructiveForeground: "hsl(
|
|
50
|
-
readonly border: "hsl(
|
|
51
|
-
readonly input: "hsl(
|
|
52
|
-
readonly ring: "hsl(
|
|
53
|
-
readonly sidebar: "hsl(
|
|
54
|
-
readonly sidebarForeground: "hsl(
|
|
55
|
-
readonly sidebarPrimary: "hsl(
|
|
56
|
-
readonly sidebarPrimaryForeground: "hsl(
|
|
57
|
-
readonly sidebarAccent: "hsl(
|
|
58
|
-
readonly sidebarAccentForeground: "hsl(
|
|
59
|
-
readonly sidebarBorder: "hsl(
|
|
60
|
-
readonly sidebarRing: "hsl(
|
|
49
|
+
readonly destructiveForeground: "hsl(35 20% 92%)";
|
|
50
|
+
readonly border: "hsl(30 10% 22%)";
|
|
51
|
+
readonly input: "hsl(30 10% 22%)";
|
|
52
|
+
readonly ring: "hsl(150 40% 55%)";
|
|
53
|
+
readonly sidebar: "hsl(30 18% 8%)";
|
|
54
|
+
readonly sidebarForeground: "hsl(35 12% 70%)";
|
|
55
|
+
readonly sidebarPrimary: "hsl(150 40% 55%)";
|
|
56
|
+
readonly sidebarPrimaryForeground: "hsl(150 45% 10%)";
|
|
57
|
+
readonly sidebarAccent: "hsl(30 10% 22%)";
|
|
58
|
+
readonly sidebarAccentForeground: "hsl(35 20% 92%)";
|
|
59
|
+
readonly sidebarBorder: "hsl(30 10% 22%)";
|
|
60
|
+
readonly sidebarRing: "hsl(150 40% 55%)";
|
|
61
61
|
readonly radius: "0.5rem";
|
|
62
62
|
};
|
|
63
63
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HoverCardContentBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export declare const HoverCard: {
|
|
4
|
+
({ asChild, openDelay: _openDelay, closeDelay: _closeDelay, onOpenChange: onOpenChangeProp, ref, ...viewProps }: import('react-native').ViewProps & {
|
|
5
|
+
asChild?: boolean;
|
|
6
|
+
} & {
|
|
7
|
+
onOpenChange?: (open: boolean) => void;
|
|
8
|
+
openDelay?: number;
|
|
9
|
+
closeDelay?: number;
|
|
10
|
+
} & React.RefAttributes<import('react-native').View>): React.JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const HoverCardTrigger: {
|
|
14
|
+
({ asChild, onPress: onPressProp, disabled, ref, ...props }: Omit<import('react-native').PressableProps & React.RefAttributes<import('react-native').View>, "ref"> & {
|
|
15
|
+
asChild?: boolean;
|
|
16
|
+
} & {
|
|
17
|
+
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
18
|
+
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
19
|
+
} & React.RefAttributes<import('@rn-primitives/hover-card').TriggerRef>): React.JSX.Element;
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const HoverCardContent: React.ForwardRefExoticComponent<HoverCardContentBaseProps & React.RefAttributes<import('react-native').View>>;
|
|
23
|
+
//# sourceMappingURL=hover-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hover-card.d.ts","sourceRoot":"","sources":["../src/hover-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAElE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,eAAO,MAAM,SAAS;;;;;;;;;CAA0B,CAAC;AAEjD,eAAO,MAAM,gBAAgB;;;;;;;;CAA6B,CAAC;AAE3D,eAAO,MAAM,gBAAgB,+GAkB3B,CAAC"}
|
package/dist/input.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InputBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { TextInput } from 'react-native';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface InputProps extends React.ComponentPropsWithoutRef<typeof TextInput>, InputBaseProps {
|
|
5
|
+
}
|
|
6
|
+
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<TextInput>>;
|
|
7
|
+
export { Input };
|
|
8
|
+
//# sourceMappingURL=input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../src/input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzC,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,SAAS,CAAC,EAAE,cAAc;CAAG;AAEvG,QAAA,MAAM,KAAK,8EAcV,CAAC;AAIF,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
package/dist/label.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const Label: React.ForwardRefExoticComponent<Omit<import('react-native').TextProps & {
|
|
3
|
+
asChild?: boolean;
|
|
4
|
+
} & {
|
|
5
|
+
nativeID?: string;
|
|
6
|
+
htmlFor?: string;
|
|
7
|
+
} & React.RefAttributes<import('react-native').Text>, "ref"> & React.RefAttributes<import('react-native').Text>>;
|
|
8
|
+
export { Label };
|
|
9
|
+
//# sourceMappingURL=label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../src/label.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,KAAK;;;;;gHAoBT,CAAC;AAGH,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { MenubarBaseProps, MenubarCheckboxItemBaseProps, MenubarContentBaseProps, MenubarItemBaseProps, MenubarLabelBaseProps, MenubarRadioItemBaseProps, MenubarSeparatorBaseProps, MenubarShortcutBaseProps, MenubarSubContentBaseProps, MenubarSubTriggerBaseProps, MenubarTriggerBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import * as MenubarPrimitive from '@rn-primitives/menubar';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
export declare const Menubar: React.ForwardRefExoticComponent<MenubarBaseProps & React.RefAttributes<View>>;
|
|
6
|
+
export declare const MenubarMenu: {
|
|
7
|
+
({ asChild, value, ref, ...viewProps }: import('react-native').ViewProps & {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
} & {
|
|
10
|
+
value: string | undefined;
|
|
11
|
+
} & React.RefAttributes<View>): React.JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const MenubarPortal: typeof MenubarPrimitive.Portal;
|
|
15
|
+
export declare const MenubarGroup: {
|
|
16
|
+
({ asChild, ref, ...props }: import('react-native').ViewProps & {
|
|
17
|
+
asChild?: boolean;
|
|
18
|
+
} & React.RefAttributes<View>): React.JSX.Element;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const MenubarRadioGroup: {
|
|
22
|
+
({ asChild, value, onValueChange, ref, ...props }: import('react-native').ViewProps & {
|
|
23
|
+
asChild?: boolean;
|
|
24
|
+
} & {
|
|
25
|
+
value: string | undefined;
|
|
26
|
+
onValueChange: (value: string) => void;
|
|
27
|
+
} & React.RefAttributes<View>): React.JSX.Element;
|
|
28
|
+
displayName: string;
|
|
29
|
+
};
|
|
30
|
+
export declare const MenubarSub: {
|
|
31
|
+
({ asChild, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ref, ...props }: import('react-native').ViewProps & {
|
|
32
|
+
asChild?: boolean;
|
|
33
|
+
} & {
|
|
34
|
+
defaultOpen?: boolean;
|
|
35
|
+
open?: boolean;
|
|
36
|
+
onOpenChange?: (value: boolean) => void;
|
|
37
|
+
} & React.RefAttributes<View>): React.JSX.Element;
|
|
38
|
+
displayName: string;
|
|
39
|
+
};
|
|
40
|
+
export declare const MenubarTrigger: React.ForwardRefExoticComponent<MenubarTriggerBaseProps & React.RefAttributes<View>>;
|
|
41
|
+
export declare const MenubarContent: React.ForwardRefExoticComponent<MenubarContentBaseProps & React.RefAttributes<View>>;
|
|
42
|
+
export declare const MenubarItem: React.ForwardRefExoticComponent<MenubarItemBaseProps & React.RefAttributes<View>>;
|
|
43
|
+
export declare const MenubarCheckboxItem: React.ForwardRefExoticComponent<MenubarCheckboxItemBaseProps & React.RefAttributes<View>>;
|
|
44
|
+
export declare const MenubarRadioItem: React.ForwardRefExoticComponent<MenubarRadioItemBaseProps & React.RefAttributes<View>>;
|
|
45
|
+
export declare const MenubarLabel: React.ForwardRefExoticComponent<MenubarLabelBaseProps & React.RefAttributes<import('react-native').Text>>;
|
|
46
|
+
export declare const MenubarSeparator: React.ForwardRefExoticComponent<MenubarSeparatorBaseProps & React.RefAttributes<View>>;
|
|
47
|
+
export declare const MenubarShortcut: {
|
|
48
|
+
({ className, children, ...props }: MenubarShortcutBaseProps): React.JSX.Element;
|
|
49
|
+
displayName: string;
|
|
50
|
+
};
|
|
51
|
+
export declare const MenubarSubTrigger: React.ForwardRefExoticComponent<MenubarSubTriggerBaseProps & React.RefAttributes<View>>;
|
|
52
|
+
export declare const MenubarSubContent: React.ForwardRefExoticComponent<MenubarSubContentBaseProps & React.RefAttributes<View>>;
|
|
53
|
+
//# sourceMappingURL=menubar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menubar.d.ts","sourceRoot":"","sources":["../src/menubar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,4BAA4B,EAC5B,uBAAuB,EACvB,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,0BAA0B,EAC1B,0BAA0B,EAC1B,uBAAuB,EACxB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC;AAE3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAwB,IAAI,EAAE,MAAM,cAAc,CAAC;AAO1D,eAAO,MAAM,OAAO,+EAwBnB,CAAC;AAGF,eAAO,MAAM,WAAW;;;;;;;CAAwB,CAAC;AAEjD,eAAO,MAAM,aAAa,gCAA0B,CAAC;AAErD,eAAO,MAAM,YAAY;;;;;CAAyB,CAAC;AAEnD,eAAO,MAAM,iBAAiB;;;;;;;;CAA8B,CAAC;AAE7D,eAAO,MAAM,UAAU;;;;;;;;;CAAuB,CAAC;AAkB/C,eAAO,MAAM,cAAc,sFAgBzB,CAAC;AAGH,eAAO,MAAM,cAAc,sFAmBzB,CAAC;AAGH,eAAO,MAAM,WAAW,mFAgBvB,CAAC;AAGF,eAAO,MAAM,mBAAmB,2FAuB9B,CAAC;AAGH,eAAO,MAAM,gBAAgB,wFAsB3B,CAAC;AAGH,eAAO,MAAM,YAAY,2GAYxB,CAAC;AAGF,eAAO,MAAM,gBAAgB,wFAK3B,CAAC;AAGH,eAAO,MAAM,eAAe;wCAAuC,wBAAwB;;CAM1F,CAAC;AAGF,eAAO,MAAM,iBAAiB,yFAkB5B,CAAC;AAGH,eAAO,MAAM,iBAAiB,yFAgB5B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NavigationMenuBaseProps, NavigationMenuContentBaseProps, NavigationMenuIndicatorBaseProps, NavigationMenuItemBaseProps, NavigationMenuLinkBaseProps, NavigationMenuListBaseProps, NavigationMenuTriggerBaseProps, NavigationMenuViewportBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export declare const NavigationMenu: React.ForwardRefExoticComponent<NavigationMenuBaseProps & React.RefAttributes<View>>;
|
|
5
|
+
export declare const NavigationMenuList: React.ForwardRefExoticComponent<NavigationMenuListBaseProps & React.RefAttributes<View>>;
|
|
6
|
+
export declare const NavigationMenuItem: React.ForwardRefExoticComponent<NavigationMenuItemBaseProps & React.RefAttributes<View>>;
|
|
7
|
+
export declare const NavigationMenuTrigger: React.ForwardRefExoticComponent<NavigationMenuTriggerBaseProps & React.RefAttributes<View>>;
|
|
8
|
+
export declare const NavigationMenuContent: React.ForwardRefExoticComponent<NavigationMenuContentBaseProps & React.RefAttributes<View>>;
|
|
9
|
+
export declare const NavigationMenuLink: React.ForwardRefExoticComponent<NavigationMenuLinkBaseProps & {
|
|
10
|
+
onPress?: () => void;
|
|
11
|
+
} & React.RefAttributes<View>>;
|
|
12
|
+
export declare const NavigationMenuViewport: React.ForwardRefExoticComponent<NavigationMenuViewportBaseProps & React.RefAttributes<View>>;
|
|
13
|
+
export declare const NavigationMenuIndicator: React.ForwardRefExoticComponent<NavigationMenuIndicatorBaseProps & React.RefAttributes<View>>;
|
|
14
|
+
//# sourceMappingURL=navigation-menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation-menu.d.ts","sourceRoot":"","sources":["../src/navigation-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,8BAA8B,EAC9B,gCAAgC,EAChC,2BAA2B,EAC3B,2BAA2B,EAC3B,2BAA2B,EAC3B,8BAA8B,EAC9B,+BAA+B,EAChC,MAAM,kBAAkB,CAAC;AAG1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAKpC,eAAO,MAAM,cAAc,sFAgC1B,CAAC;AAGF,eAAO,MAAM,kBAAkB,0FAa7B,CAAC;AAGH,eAAO,MAAM,kBAAkB,0FAS7B,CAAC;AAGH,eAAO,MAAM,qBAAqB,6FAqBhC,CAAC;AAGH,eAAO,MAAM,qBAAqB,6FAiBhC,CAAC;AAGH,eAAO,MAAM,kBAAkB;cAEa,MAAM,IAAI;8BA0BpD,CAAC;AAGH,eAAO,MAAM,sBAAsB,8FAgBjC,CAAC;AAGH,eAAO,MAAM,uBAAuB,+FAalC,CAAC"}
|
package/dist/pagination.d.ts
CHANGED
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
import { PaginationBaseProps, PaginationContentBaseProps, PaginationEllipsisBaseProps, PaginationItemBaseProps, PaginationLinkBaseProps, PaginationNextBaseProps, PaginationPreviousBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { View } from 'react-native';
|
|
2
3
|
import * as React from 'react';
|
|
3
4
|
export declare const Pagination: {
|
|
4
5
|
({ className, children, ...props }: PaginationBaseProps): React.JSX.Element;
|
|
5
6
|
displayName: string;
|
|
6
7
|
};
|
|
7
|
-
export declare const PaginationContent: React.ForwardRefExoticComponent<PaginationContentBaseProps & React.RefAttributes<
|
|
8
|
-
|
|
9
|
-
}> & {
|
|
10
|
-
ref?: React.Ref<import('react-native').ViewInstance> | undefined;
|
|
11
|
-
}) => React.ReactNode>>;
|
|
12
|
-
export declare const PaginationItem: React.ForwardRefExoticComponent<PaginationItemBaseProps & React.RefAttributes<(props: Omit<import('react-native').ViewProps, keyof {
|
|
13
|
-
ref?: React.Ref<import('react-native').ViewInstance> | undefined;
|
|
14
|
-
}> & {
|
|
15
|
-
ref?: React.Ref<import('react-native').ViewInstance> | undefined;
|
|
16
|
-
}) => React.ReactNode>>;
|
|
8
|
+
export declare const PaginationContent: React.ForwardRefExoticComponent<PaginationContentBaseProps & React.RefAttributes<View>>;
|
|
9
|
+
export declare const PaginationItem: React.ForwardRefExoticComponent<PaginationItemBaseProps & React.RefAttributes<View>>;
|
|
17
10
|
export type PaginationLinkProps = PaginationLinkBaseProps & {
|
|
18
11
|
onPress?: () => void;
|
|
19
12
|
};
|
package/dist/pagination.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../src/pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,0BAA0B,EAC1B,2BAA2B,EAC3B,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,2BAA2B,EAC5B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../src/pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,0BAA0B,EAC1B,2BAA2B,EAC3B,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,2BAA2B,EAC5B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAMpC,eAAO,MAAM,UAAU;wCAAuC,mBAAmB;;CAahF,CAAC;AAGF,eAAO,MAAM,iBAAiB,yFAM7B,CAAC;AAGF,eAAO,MAAM,cAAc,sFAM1B,CAAC;AAGF,MAAM,MAAM,mBAAmB,GAAG,uBAAuB,GAAG;IAC1D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,cAAc;iEAOxB,mBAAmB;;CAMrB,CAAC;AAGF,eAAO,MAAM,kBAAkB;4DAK5B,2BAA2B,GAAG;QAAE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;KAAE;;CAWxD,CAAC;AAGF,eAAO,MAAM,cAAc;4DAKxB,uBAAuB,GAAG;QAAE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;KAAE;;CAWpD,CAAC;AAGF,eAAO,MAAM,kBAAkB;8BAA6B,2BAA2B;;CAItF,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PopoverAnchorBaseProps, PopoverBaseProps, PopoverContentBaseProps, PopoverTriggerBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
declare const Popover: React.ForwardRefExoticComponent<import('react-native').ViewProps & PopoverBaseProps & React.RefAttributes<View>>;
|
|
5
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<import('react-native').PressableProps & React.RefAttributes<View>, "ref"> & PopoverTriggerBaseProps & React.RefAttributes<View>>;
|
|
6
|
+
declare const PopoverAnchor: React.ForwardRefExoticComponent<import('react-native').ViewProps & PopoverAnchorBaseProps & React.RefAttributes<View>>;
|
|
7
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<import('react-native').ViewProps & PopoverContentBaseProps & React.RefAttributes<View>>;
|
|
8
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
9
|
+
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../src/popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,gBAAgB,EAChB,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAoB,IAAI,EAAE,MAAM,cAAc,CAAC;AAYtD,QAAA,MAAM,OAAO,kHAgBX,CAAC;AAGH,QAAA,MAAM,cAAc,uKAWlB,CAAC;AAGH,QAAA,MAAM,aAAa,wHAGoC,CAAC;AAGxD,QAAA,MAAM,cAAc,yHAuBlB,CAAC;AAGH,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ProgressBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
declare const Progress: React.ForwardRefExoticComponent<import('react-native').ViewProps & ProgressBaseProps & React.RefAttributes<View>>;
|
|
5
|
+
export { Progress };
|
|
6
|
+
//# sourceMappingURL=progress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../src/progress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAIpC,QAAA,MAAM,QAAQ,mHAYZ,CAAC;AAGH,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RadioGroupBaseProps, RadioGroupItemBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import * as RadioGroupPrimitive from '@rn-primitives/radio-group';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface RadioGroupProps extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>, RadioGroupBaseProps {
|
|
5
|
+
}
|
|
6
|
+
declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<import('react-native').View>>;
|
|
7
|
+
export interface RadioGroupItemProps extends Omit<React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, 'disabled'>, RadioGroupItemBaseProps {
|
|
8
|
+
}
|
|
9
|
+
declare const RadioGroupItem: React.ForwardRefExoticComponent<RadioGroupItemProps & React.RefAttributes<import('react-native').View>>;
|
|
10
|
+
export { RadioGroup, RadioGroupItem };
|
|
11
|
+
//# sourceMappingURL=radio-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../src/radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AACrF,OAAO,KAAK,mBAAmB,MAAM,4BAA4B,CAAC;AAElE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,eACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,EAAE,mBAAmB;CAAG;AAEjG,QAAA,MAAM,UAAU,qGAIf,CAAC;AAGF,MAAM,WAAW,mBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,EAAE,uBAAuB;CAAG;AAEvH,QAAA,MAAM,cAAc,yGAkBnB,CAAC;AAGF,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC"}
|
package/dist/scroll-area.d.ts
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
import { ScrollAreaBaseProps, ScrollBarBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { ScrollView } from 'react-native';
|
|
2
3
|
import * as React from 'react';
|
|
3
|
-
export declare const ScrollArea: React.ForwardRefExoticComponent<ScrollAreaBaseProps & React.RefAttributes<
|
|
4
|
-
ref?: React.Ref<import('react-native').ScrollViewInstance> | undefined;
|
|
5
|
-
}> & {
|
|
6
|
-
ref?: React.Ref<import('react-native').ScrollViewInstance> | undefined;
|
|
7
|
-
}) => React.ReactNode) & Readonly<{
|
|
8
|
-
Context: React.Context<{
|
|
9
|
-
horizontal: boolean;
|
|
10
|
-
} | null>;
|
|
11
|
-
}>>>;
|
|
4
|
+
export declare const ScrollArea: React.ForwardRefExoticComponent<ScrollAreaBaseProps & React.RefAttributes<ScrollView>>;
|
|
12
5
|
export declare const ScrollBar: React.FC<ScrollBarBaseProps>;
|
|
13
6
|
//# sourceMappingURL=scroll-area.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../src/scroll-area.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAChF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../src/scroll-area.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAChF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAQ,MAAM,cAAc,CAAC;AAIhD,eAAO,MAAM,UAAU,wFActB,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAIlD,CAAC"}
|
package/dist/search.d.ts
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { SearchBaseProps, SearchTriggerBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { View } from 'react-native';
|
|
2
3
|
import { Button } from './button';
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
export type SearchProps = SearchBaseProps;
|
|
5
6
|
export declare function Search({ children, open: customOpen, onOpenChange }: SearchProps): React.JSX.Element;
|
|
6
7
|
export interface SearchTriggerProps extends Omit<React.ComponentPropsWithoutRef<typeof Button>, 'variant'>, SearchTriggerBaseProps {
|
|
7
8
|
}
|
|
8
|
-
export declare const SearchTrigger: React.ForwardRefExoticComponent<SearchTriggerProps & React.RefAttributes<
|
|
9
|
-
ref?: React.Ref<import('react-native').ViewInstance> | undefined;
|
|
10
|
-
}> & {
|
|
11
|
-
ref?: React.Ref<import('react-native').ViewInstance> | undefined;
|
|
12
|
-
}) => React.ReactNode>>;
|
|
9
|
+
export declare const SearchTrigger: React.ForwardRefExoticComponent<SearchTriggerProps & React.RefAttributes<View>>;
|
|
13
10
|
//# sourceMappingURL=search.d.ts.map
|
package/dist/search.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../src/search.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAEhF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../src/search.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAEhF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAkB,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC,MAAM,MAAM,WAAW,GAAG,eAAe,CAAC;AAE1C,wBAAgB,MAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,YAAY,EAAE,EAAE,WAAW,qBAqB/E;AAED,MAAM,WAAW,kBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,MAAM,CAAC,EAAE,SAAS,CAAC,EAAE,sBAAsB;CAAG;AAEnG,eAAO,MAAM,aAAa,iFAyCzB,CAAC"}
|
package/dist/select.d.ts
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { SelectBaseProps, SelectContentBaseProps, SelectGroupBaseProps, SelectItemBaseProps, SelectLabelBaseProps, SelectScrollDownButtonBaseProps, SelectScrollUpButtonBaseProps, SelectSeparatorBaseProps, SelectTriggerBaseProps, SelectValueBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { View, ViewStyle } from 'react-native';
|
|
3
|
+
import * as SelectPrimitive from '@rn-primitives/select';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
export interface SelectProps extends Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Root>, 'value' | 'defaultValue' | 'onValueChange' | 'disabled'>, SelectBaseProps {
|
|
6
|
+
}
|
|
7
|
+
declare const Select: {
|
|
8
|
+
({ asChild, value: valueProp, defaultValue, onValueChange: onValueChangeProp, onOpenChange: onOpenChangeProp, disabled, ref, ...viewProps }: import('react-native').ViewProps & {
|
|
9
|
+
asChild?: boolean;
|
|
10
|
+
} & {
|
|
11
|
+
value?: import('@rn-primitives/select').Option;
|
|
12
|
+
defaultValue?: import('@rn-primitives/select').Option;
|
|
13
|
+
onValueChange?: (option: import('@rn-primitives/select').Option) => void;
|
|
14
|
+
onOpenChange?: (open: boolean) => void;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
dir?: "ltr" | "rtl";
|
|
17
|
+
name?: string;
|
|
18
|
+
required?: boolean;
|
|
19
|
+
} & React.RefAttributes<View>): React.JSX.Element;
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
export interface SelectGroupProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Group>, SelectGroupBaseProps {
|
|
23
|
+
}
|
|
24
|
+
declare const SelectGroup: {
|
|
25
|
+
({ asChild, ref, ...props }: import('react-native').ViewProps & {
|
|
26
|
+
asChild?: boolean;
|
|
27
|
+
} & React.RefAttributes<View>): React.JSX.Element;
|
|
28
|
+
displayName: string;
|
|
29
|
+
};
|
|
30
|
+
export interface SelectValueProps extends Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Value>, 'placeholder'>, SelectValueBaseProps {
|
|
31
|
+
}
|
|
32
|
+
declare const SelectValue: React.ForwardRefExoticComponent<SelectValueProps & React.RefAttributes<import('react-native').Text>>;
|
|
33
|
+
export interface SelectTriggerProps extends Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, 'children' | 'disabled'>, SelectTriggerBaseProps {
|
|
34
|
+
}
|
|
35
|
+
declare const SelectTrigger: React.ForwardRefExoticComponent<SelectTriggerProps & React.RefAttributes<import('@rn-primitives/select').TriggerRef>>;
|
|
36
|
+
export interface SelectScrollUpButtonProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollUpButton>, SelectScrollUpButtonBaseProps {
|
|
37
|
+
}
|
|
38
|
+
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<SelectScrollUpButtonProps & React.RefAttributes<unknown>>;
|
|
39
|
+
export interface SelectScrollDownButtonProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollDownButton>, SelectScrollDownButtonBaseProps {
|
|
40
|
+
}
|
|
41
|
+
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<SelectScrollDownButtonProps & React.RefAttributes<unknown>>;
|
|
42
|
+
export interface SelectContentProps extends Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>, 'position'>, SelectContentBaseProps {
|
|
43
|
+
portalHost?: string;
|
|
44
|
+
overlayClassName?: string;
|
|
45
|
+
overlayStyle?: ViewStyle;
|
|
46
|
+
}
|
|
47
|
+
declare const SelectContent: React.ForwardRefExoticComponent<SelectContentProps & React.RefAttributes<View>>;
|
|
48
|
+
export interface SelectLabelProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Label>, SelectLabelBaseProps {
|
|
49
|
+
}
|
|
50
|
+
declare const SelectLabel: React.ForwardRefExoticComponent<SelectLabelProps & React.RefAttributes<import('react-native').Text>>;
|
|
51
|
+
export interface SelectItemProps extends Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>, 'children' | 'disabled' | 'label'>, SelectItemBaseProps {
|
|
52
|
+
label?: string;
|
|
53
|
+
}
|
|
54
|
+
declare const SelectItem: React.ForwardRefExoticComponent<SelectItemProps & React.RefAttributes<View>>;
|
|
55
|
+
export interface SelectSeparatorProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>, SelectSeparatorBaseProps {
|
|
56
|
+
}
|
|
57
|
+
declare const SelectSeparator: React.ForwardRefExoticComponent<SelectSeparatorProps & React.RefAttributes<View>>;
|
|
58
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
|
|
59
|
+
//# sourceMappingURL=select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../src/select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACtB,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,EACpB,+BAA+B,EAC/B,6BAA6B,EAC7B,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AAEzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAwB,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAK1E,MAAM,WAAW,WACf,SACE,IAAI,CACF,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,EAC3D,OAAO,GAAG,cAAc,GAAG,eAAe,GAAG,UAAU,CACxD,EACD,eAAe;CAAG;AAEtB,QAAA,MAAM,MAAM;;;;;;;;;;;;;;CAAuB,CAAC;AAEpC,MAAM,WAAW,gBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,EAAE,oBAAoB;CAAG;AAE/F,QAAA,MAAM,WAAW;;;;;CAAwB,CAAC;AAE1C,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,EAAE,aAAa,CAAC,EAAE,oBAAoB;CAAG;AAEpH,QAAA,MAAM,WAAW,sGAShB,CAAC;AAGF,MAAM,WAAW,kBACf,SACE,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC,EAC7F,sBAAsB;CAAG;AAE7B,QAAA,MAAM,aAAa,uHAelB,CAAC;AAGF,MAAM,WAAW,yBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,cAAc,CAAC,EAAE,6BAA6B;CAAG;AAEjH,QAAA,MAAM,oBAAoB,2FAYxB,CAAC;AAKH,MAAM,WAAW,2BACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,gBAAgB,CAAC,EAAE,+BAA+B;CAAG;AAErH,QAAA,MAAM,sBAAsB,6FAY1B,CAAC;AAMH,MAAM,WAAW,kBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,EAAE,sBAAsB;IAChH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B;AAED,QAAA,MAAM,aAAa,iFAoClB,CAAC;AAGF,MAAM,WAAW,gBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,EAAE,oBAAoB;CAAG;AAE/F,QAAA,MAAM,WAAW,sGAQhB,CAAC;AAGF,MAAM,WAAW,eACf,SACE,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,OAAO,CAAC,EACpG,mBAAmB;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,UAAU,8EA6Bf,CAAC;AAGF,MAAM,WAAW,oBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,EAAE,wBAAwB;CAAG;AAEvG,QAAA,MAAM,eAAe,mFAQpB,CAAC;AAGF,OAAO,EACL,MAAM,EACN,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,WAAW,GACZ,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const Separator: React.ForwardRefExoticComponent<Omit<import('react-native').ViewProps & {
|
|
3
|
+
asChild?: boolean;
|
|
4
|
+
} & {
|
|
5
|
+
orientation?: "horizontal" | "vertical";
|
|
6
|
+
decorative?: boolean;
|
|
7
|
+
} & React.RefAttributes<import('react-native').View>, "ref"> & React.RefAttributes<import('react-native').View>>;
|
|
8
|
+
export { Separator };
|
|
9
|
+
//# sourceMappingURL=separator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../src/separator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,SAAS;;;;;gHAWb,CAAC;AAGH,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
package/dist/sheet.d.ts
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { View, ViewStyle } from 'react-native';
|
|
2
|
+
import { DialogContentProps } from './dialog';
|
|
3
|
+
import * as DialogPrimitive from '@rn-primitives/dialog';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
declare const Sheet: {
|
|
6
|
+
({ asChild, open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, ref, ...viewProps }: import('react-native').ViewProps & {
|
|
7
|
+
asChild?: boolean;
|
|
8
|
+
} & {
|
|
9
|
+
open?: boolean;
|
|
10
|
+
defaultOpen?: boolean;
|
|
11
|
+
onOpenChange?: (value: boolean) => void;
|
|
12
|
+
} & React.RefAttributes<View>): React.JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
declare const SheetTrigger: {
|
|
16
|
+
({ asChild, onPress: onPressProp, disabled, ref, ...props }: Omit<import('react-native').PressableProps & React.RefAttributes<View>, "ref"> & {
|
|
17
|
+
asChild?: boolean;
|
|
18
|
+
} & {
|
|
19
|
+
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
20
|
+
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
21
|
+
} & React.RefAttributes<View>): React.JSX.Element;
|
|
22
|
+
displayName: string;
|
|
23
|
+
};
|
|
24
|
+
declare const SheetClose: {
|
|
25
|
+
({ asChild, onPress: onPressProp, disabled, ref, ...props }: Omit<import('react-native').PressableProps & React.RefAttributes<View>, "ref"> & {
|
|
26
|
+
asChild?: boolean;
|
|
27
|
+
} & {
|
|
28
|
+
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
29
|
+
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
30
|
+
} & React.RefAttributes<View>): React.JSX.Element;
|
|
31
|
+
displayName: string;
|
|
32
|
+
};
|
|
33
|
+
declare const SheetPortal: typeof DialogPrimitive.Portal;
|
|
34
|
+
export type SheetOverlayRef = React.ComponentRef<typeof DialogPrimitive.Overlay>;
|
|
35
|
+
export type SheetOverlayProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>;
|
|
36
|
+
declare const SheetOverlay: React.ForwardRefExoticComponent<SheetOverlayProps & React.RefAttributes<SheetOverlayRef>>;
|
|
37
|
+
export type SheetContentRef = React.ComponentRef<typeof DialogPrimitive.Content>;
|
|
38
|
+
export type SheetContentProps = DialogContentProps & {
|
|
39
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
40
|
+
overlayClassName?: string;
|
|
41
|
+
overlayStyle?: ViewStyle;
|
|
42
|
+
};
|
|
43
|
+
declare const SheetContent: React.ForwardRefExoticComponent<SheetContentProps & React.RefAttributes<SheetContentRef>>;
|
|
44
|
+
declare const SheetHeader: {
|
|
45
|
+
({ className, ...props }: React.ComponentPropsWithoutRef<typeof View>): React.JSX.Element;
|
|
46
|
+
displayName: string;
|
|
47
|
+
};
|
|
48
|
+
declare const SheetFooter: {
|
|
49
|
+
({ className, ...props }: React.ComponentPropsWithoutRef<typeof View>): React.JSX.Element;
|
|
50
|
+
displayName: string;
|
|
51
|
+
};
|
|
52
|
+
export type SheetTitleRef = React.ComponentRef<typeof DialogPrimitive.Title>;
|
|
53
|
+
export type SheetTitleProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>;
|
|
54
|
+
declare const SheetTitle: React.ForwardRefExoticComponent<SheetTitleProps & React.RefAttributes<SheetTitleRef>>;
|
|
55
|
+
export type SheetDescriptionRef = React.ComponentRef<typeof DialogPrimitive.Description>;
|
|
56
|
+
export type SheetDescriptionProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>;
|
|
57
|
+
declare const SheetDescription: React.ForwardRefExoticComponent<SheetDescriptionProps & React.RefAttributes<SheetDescriptionRef>>;
|
|
58
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, };
|
|
59
|
+
//# sourceMappingURL=sheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../src/sheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AAEzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAwB,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAc1E,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAInD,QAAA,MAAM,KAAK;;;;;;;;;CAAuB,CAAC;AAEnC,QAAA,MAAM,YAAY;;;;;;;;CAA0B,CAAC;AAE7C,QAAA,MAAM,UAAU;;;;;;;;CAAwB,CAAC;AAEzC,QAAA,MAAM,WAAW,+BAAyB,CAAC;AAE3C,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC;AACjF,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC;AAC/F,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,yBAAyB,CAAC,iBAAiB,GAAG,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC,CAgBxG,CAAC;AAGL,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC;AACjF,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,GAAG;IACnD,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC3C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B,CAAC;AACF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,yBAAyB,CAAC,iBAAiB,GAAG,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC,CA6DzG,CAAC;AAGJ,QAAA,MAAM,WAAW;8BAA6B,KAAK,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC;;CAExF,CAAC;AAGF,QAAA,MAAM,WAAW;8BAA6B,KAAK,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC;;CAExF,CAAC;AAGF,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,CAAC;AAC7E,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,CAAC;AAC3F,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,yBAAyB,CAAC,eAAe,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAGlG,CAAC;AAGL,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,CAAC;AACzF,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,CAAC;AACvG,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,yBAAyB,CACrD,qBAAqB,GAAG,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAGhE,CAAC;AAGH,OAAO,EACL,KAAK,EACL,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,YAAY,EACZ,WAAW,EACX,UAAU,EACV,YAAY,GACb,CAAC"}
|
package/dist/switch.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SwitchBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import * as SwitchPrimitives from '@rn-primitives/switch';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface SwitchProps extends Omit<React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>, 'checked' | 'onCheckedChange'>, SwitchBaseProps {
|
|
5
|
+
}
|
|
6
|
+
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<import('react-native').View>>;
|
|
7
|
+
export { Switch };
|
|
8
|
+
//# sourceMappingURL=switch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../src/switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,WACf,SACE,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,EAAE,SAAS,GAAG,iBAAiB,CAAC,EACjG,eAAe;CAAG;AAEtB,QAAA,MAAM,MAAM,iGAmBX,CAAC;AAGF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
package/dist/table.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const Table: React.ForwardRefExoticComponent<import('react-native').ViewProps & React.RefAttributes<View>>;
|
|
4
|
+
declare const TableHeader: React.ForwardRefExoticComponent<import('react-native').ViewProps & React.RefAttributes<View>>;
|
|
5
|
+
declare const TableBody: React.ForwardRefExoticComponent<import('react-native').ViewProps & React.RefAttributes<View>>;
|
|
6
|
+
declare const TableFooter: React.ForwardRefExoticComponent<import('react-native').ViewProps & React.RefAttributes<View>>;
|
|
7
|
+
declare const TableRow: React.ForwardRefExoticComponent<import('react-native').ViewProps & React.RefAttributes<View>>;
|
|
8
|
+
declare const TableHead: React.ForwardRefExoticComponent<Omit<import('./text').TextProps & React.RefAttributes<import('react-native').Text>, "ref"> & React.RefAttributes<import('react-native').Text>>;
|
|
9
|
+
declare const TableCell: React.ForwardRefExoticComponent<Omit<import('./text').TextProps & React.RefAttributes<import('react-native').Text>, "ref"> & React.RefAttributes<import('react-native').Text>>;
|
|
10
|
+
declare const TableCaption: React.ForwardRefExoticComponent<Omit<import('./text').TextProps & React.RefAttributes<import('react-native').Text>, "ref"> & React.RefAttributes<import('react-native').Text>>;
|
|
11
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
12
|
+
//# sourceMappingURL=table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../src/table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAKpC,QAAA,MAAM,KAAK,+FAIV,CAAC;AAGF,QAAA,MAAM,WAAW,+FAEhB,CAAC;AAGF,QAAA,MAAM,SAAS,+FAEd,CAAC;AAGF,QAAA,MAAM,WAAW,+FAIhB,CAAC;AAGF,QAAA,MAAM,QAAQ,+FAWb,CAAC;AAGF,QAAA,MAAM,SAAS,gLAWd,CAAC;AAGF,QAAA,MAAM,SAAS,gLAId,CAAC;AAGF,QAAA,MAAM,YAAY,gLAIjB,CAAC;AAGF,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC"}
|
package/dist/tabs.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TabsBaseProps, TabsContentBaseProps, TabsListBaseProps, TabsTriggerBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import * as TabsPrimitive from '@rn-primitives/tabs';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
declare const Tabs: React.ForwardRefExoticComponent<Omit<Omit<import('react-native').ViewProps & {
|
|
5
|
+
asChild?: boolean;
|
|
6
|
+
} & {
|
|
7
|
+
value: string;
|
|
8
|
+
onValueChange: (value: string) => void;
|
|
9
|
+
orientation?: "horizontal" | "vertical";
|
|
10
|
+
dir?: "ltr" | "rtl";
|
|
11
|
+
activationMode?: "automatic" | "manual";
|
|
12
|
+
} & React.RefAttributes<import('react-native').View>, "ref">, "defaultValue" | "value" | "onValueChange"> & TabsBaseProps & React.RefAttributes<import('react-native').View>>;
|
|
13
|
+
export type TabsProps = Omit<React.ComponentPropsWithoutRef<typeof TabsPrimitive.Root>, 'onValueChange' | 'value' | 'defaultValue'> & TabsBaseProps;
|
|
14
|
+
export interface TabsListProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.List>, TabsListBaseProps {
|
|
15
|
+
}
|
|
16
|
+
export interface TabsTriggerProps extends Omit<React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, 'children' | 'disabled'>, TabsTriggerBaseProps {
|
|
17
|
+
}
|
|
18
|
+
export interface TabsContentProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>, TabsContentBaseProps {
|
|
19
|
+
}
|
|
20
|
+
declare const TabsList: React.ForwardRefExoticComponent<TabsListProps & React.RefAttributes<import('react-native').View>>;
|
|
21
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<TabsTriggerProps & React.RefAttributes<import('react-native').View>>;
|
|
22
|
+
declare const TabsContent: React.ForwardRefExoticComponent<TabsContentProps & React.RefAttributes<import('react-native').View>>;
|
|
23
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
24
|
+
//# sourceMappingURL=tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../src/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACrH,OAAO,KAAK,aAAa,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,IAAI;;;;;;;;6KAUT,CAAC;AAGF,MAAM,MAAM,SAAS,GAAG,IAAI,CAC1B,KAAK,CAAC,wBAAwB,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,EACzD,eAAe,GAAG,OAAO,GAAG,cAAc,CAC3C,GACC,aAAa,CAAC;AAChB,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,EAAE,iBAAiB;CAAG;AACtH,MAAM,WAAW,gBACf,SACE,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC,EAC3F,oBAAoB;CAAG;AAC3B,MAAM,WAAW,gBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,EAAE,oBAAoB;CAAG;AAE/F,QAAA,MAAM,QAAQ,mGAWb,CAAC;AAGF,QAAA,MAAM,WAAW,sGAuBhB,CAAC;AAGF,QAAA,MAAM,WAAW,sGAWhB,CAAC;AAGF,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC"}
|
package/dist/text.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TextBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { Text as RNText } from 'react-native';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
declare const TextClassContext: React.Context<string | undefined>;
|
|
6
|
+
declare const textVariants: (props?: ({
|
|
7
|
+
variant?: "body" | "caption" | "h1" | "h2" | "h3" | "h4" | "label" | "bodySmall" | "overline" | null | undefined;
|
|
8
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
+
export interface TextProps extends React.ComponentPropsWithoutRef<typeof RNText>, VariantProps<typeof textVariants>, TextBaseProps {
|
|
10
|
+
}
|
|
11
|
+
declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<RNText>>;
|
|
12
|
+
export { Text, TextClassContext, textVariants };
|
|
13
|
+
//# sourceMappingURL=text.d.ts.map
|