@gv-tech/ui-native 2.28.0 → 2.29.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/dist/__contracts.d.ts +44 -2
- package/dist/__contracts.d.ts.map +1 -1
- package/dist/aspect-ratio.d.ts.map +1 -1
- package/dist/attachment.d.ts +12 -0
- package/dist/attachment.d.ts.map +1 -0
- package/dist/badge.d.ts +1 -1
- package/dist/badge.d.ts.map +1 -1
- package/dist/breadcrumb.d.ts +27 -8
- package/dist/breadcrumb.d.ts.map +1 -1
- package/dist/bubble.d.ts +7 -0
- package/dist/bubble.d.ts.map +1 -0
- package/dist/button-group.d.ts +3 -3
- package/dist/button-group.d.ts.map +1 -1
- package/dist/button.d.ts +5 -2
- package/dist/button.d.ts.map +1 -1
- package/dist/calendar.d.ts +10 -7
- package/dist/calendar.d.ts.map +1 -1
- package/dist/carousel.d.ts +29 -6
- package/dist/carousel.d.ts.map +1 -1
- package/dist/collapsible.d.ts.map +1 -1
- package/dist/combobox.d.ts +16 -16
- package/dist/combobox.d.ts.map +1 -1
- package/dist/command.d.ts.map +1 -1
- package/dist/direction.d.ts +1 -1
- package/dist/direction.d.ts.map +1 -1
- package/dist/empty.d.ts +6 -6
- package/dist/empty.d.ts.map +1 -1
- package/dist/field.d.ts +10 -10
- package/dist/field.d.ts.map +1 -1
- package/dist/hooks/use-theme.d.ts +1 -1
- package/dist/hooks/use-theme.d.ts.map +1 -1
- package/dist/hooks/use-toast.d.ts.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/input-group.d.ts +6 -6
- package/dist/input-group.d.ts.map +1 -1
- package/dist/input-otp.d.ts +4 -4
- package/dist/input-otp.d.ts.map +1 -1
- package/dist/item.d.ts +10 -10
- package/dist/item.d.ts.map +1 -1
- package/dist/kbd.d.ts +2 -2
- package/dist/kbd.d.ts.map +1 -1
- package/dist/marker.d.ts +6 -0
- package/dist/marker.d.ts.map +1 -0
- package/dist/message-scroller.d.ts +9 -0
- package/dist/message-scroller.d.ts.map +1 -0
- package/dist/message.d.ts +9 -0
- package/dist/message.d.ts.map +1 -0
- package/dist/native-select.d.ts +3 -3
- package/dist/native-select.d.ts.map +1 -1
- package/dist/pagination.d.ts +17 -10
- package/dist/pagination.d.ts.map +1 -1
- package/dist/questionnaire.d.ts +18 -0
- package/dist/questionnaire.d.ts.map +1 -0
- package/dist/scroll-area.d.ts +9 -2
- package/dist/scroll-area.d.ts.map +1 -1
- package/dist/scroll-to-top.d.ts +7 -6
- package/dist/scroll-to-top.d.ts.map +1 -1
- package/dist/search.d.ts +6 -3
- package/dist/search.d.ts.map +1 -1
- package/dist/sidebar.d.ts +23 -23
- package/dist/sidebar.d.ts.map +1 -1
- package/dist/skeleton.d.ts +1 -1
- package/dist/skeleton.d.ts.map +1 -1
- package/dist/slider.d.ts.map +1 -1
- package/dist/sonner.d.ts.map +1 -1
- package/dist/spinner.d.ts +1 -1
- package/dist/spinner.d.ts.map +1 -1
- package/dist/support-fab.d.ts +1 -1
- package/dist/support-fab.d.ts.map +1 -1
- package/dist/table-of-contents.d.ts +9 -17
- package/dist/table-of-contents.d.ts.map +1 -1
- package/dist/theme-provider.d.ts +1 -1
- package/dist/theme-provider.d.ts.map +1 -1
- package/dist/theme-toggle.d.ts +1 -1
- package/dist/theme-toggle.d.ts.map +1 -1
- package/dist/toaster.d.ts.map +1 -1
- package/dist/ui-native.cjs +2 -2
- package/dist/ui-native.esm.js +407 -268
- package/package.json +19 -18
- package/src/__contracts.ts +441 -281
- package/src/aspect-ratio.tsx +1 -0
- package/src/attachment.tsx +51 -0
- package/src/badge.tsx +3 -3
- package/src/breadcrumb.tsx +2 -8
- package/src/bubble.tsx +26 -0
- package/src/button-group.tsx +8 -3
- package/src/button.tsx +4 -3
- package/src/calendar.tsx +8 -5
- package/src/card.tsx +1 -1
- package/src/carousel.tsx +6 -23
- package/src/collapsible.tsx +1 -1
- package/src/combobox.tsx +8 -8
- package/src/command.tsx +1 -0
- package/src/context-menu.tsx +1 -0
- package/src/dialog.tsx +1 -1
- package/src/drawer.tsx +1 -0
- package/src/dropdown-menu.tsx +1 -0
- package/src/empty.tsx +6 -1
- package/src/field.tsx +2 -1
- package/src/form.tsx +9 -9
- package/src/hooks/use-theme.ts +1 -0
- package/src/hooks/use-toast.ts +1 -0
- package/src/hover-card.tsx +1 -0
- package/src/index.ts +51 -0
- package/src/input-group.tsx +7 -2
- package/src/input-otp.tsx +6 -1
- package/src/input.tsx +1 -1
- package/src/item.tsx +9 -3
- package/src/kbd.tsx +1 -0
- package/src/marker.tsx +17 -0
- package/src/menubar.tsx +1 -0
- package/src/message-scroller.tsx +39 -0
- package/src/message.tsx +36 -0
- package/src/native-select.tsx +2 -1
- package/src/navigation-menu.tsx +18 -6
- package/src/pagination.tsx +5 -2
- package/src/popover.tsx +1 -1
- package/src/progress.tsx +1 -2
- package/src/questionnaire.tsx +87 -0
- package/src/radio-group.tsx +1 -1
- package/src/scroll-area.tsx +1 -0
- package/src/scroll-to-top.tsx +11 -10
- package/src/search.tsx +2 -1
- package/src/select.tsx +1 -1
- package/src/sidebar.tsx +20 -19
- package/src/skeleton.tsx +4 -2
- package/src/slider.tsx +2 -1
- package/src/sonner.tsx +1 -0
- package/src/spinner.tsx +4 -1
- package/src/switch.tsx +1 -1
- package/src/table-of-contents.tsx +16 -27
- package/src/tabs.tsx +18 -7
- package/src/text.tsx +3 -3
- package/src/theme-provider.tsx +3 -1
- package/src/theme-toggle.tsx +32 -29
- package/src/toaster.tsx +1 -0
- package/src/toggle-group.tsx +2 -2
- package/src/toggle.tsx +3 -2
- package/dist/alert-dialog.d.ts +0 -51
- package/dist/alert-dialog.d.ts.map +0 -1
- package/dist/alert.d.ts +0 -10
- package/dist/alert.d.ts.map +0 -1
- package/dist/card.d.ts +0 -13
- package/dist/card.d.ts.map +0 -1
- package/dist/checkbox.d.ts +0 -15
- package/dist/checkbox.d.ts.map +0 -1
- package/dist/context-menu.d.ts +0 -61
- package/dist/context-menu.d.ts.map +0 -1
- package/dist/dialog.d.ts +0 -61
- package/dist/dialog.d.ts.map +0 -1
- package/dist/drawer.d.ts +0 -33
- package/dist/drawer.d.ts.map +0 -1
- package/dist/dropdown-menu.d.ts +0 -60
- package/dist/dropdown-menu.d.ts.map +0 -1
- package/dist/form.d.ts +0 -33
- package/dist/form.d.ts.map +0 -1
- package/dist/hover-card.d.ts +0 -23
- package/dist/hover-card.d.ts.map +0 -1
- package/dist/input.d.ts +0 -8
- package/dist/input.d.ts.map +0 -1
- package/dist/label.d.ts +0 -9
- package/dist/label.d.ts.map +0 -1
- package/dist/menubar.d.ts +0 -53
- package/dist/menubar.d.ts.map +0 -1
- package/dist/navigation-menu.d.ts +0 -14
- package/dist/navigation-menu.d.ts.map +0 -1
- package/dist/popover.d.ts +0 -9
- package/dist/popover.d.ts.map +0 -1
- package/dist/progress.d.ts +0 -6
- package/dist/progress.d.ts.map +0 -1
- package/dist/radio-group.d.ts +0 -11
- package/dist/radio-group.d.ts.map +0 -1
- package/dist/select.d.ts +0 -59
- package/dist/select.d.ts.map +0 -1
- package/dist/separator.d.ts +0 -9
- package/dist/separator.d.ts.map +0 -1
- package/dist/sheet.d.ts +0 -59
- package/dist/sheet.d.ts.map +0 -1
- package/dist/switch.d.ts +0 -8
- package/dist/switch.d.ts.map +0 -1
- package/dist/table.d.ts +0 -12
- package/dist/table.d.ts.map +0 -1
- package/dist/tabs.d.ts +0 -30
- package/dist/tabs.d.ts.map +0 -1
- package/dist/text.d.ts +0 -13
- package/dist/text.d.ts.map +0 -1
- package/dist/textarea.d.ts +0 -6
- package/dist/textarea.d.ts.map +0 -1
- package/dist/toast.d.ts +0 -35
- package/dist/toast.d.ts.map +0 -1
- package/dist/toggle-group.d.ts +0 -11
- package/dist/toggle-group.d.ts.map +0 -1
- package/dist/toggle.d.ts +0 -8
- package/dist/toggle.d.ts.map +0 -1
- package/dist/tooltip.d.ts +0 -30
- package/dist/tooltip.d.ts.map +0 -1
package/src/tabs.tsx
CHANGED
|
@@ -1,17 +1,28 @@
|
|
|
1
|
-
import { TabsBaseProps, TabsContentBaseProps, TabsListBaseProps, TabsTriggerBaseProps } from '@gv-tech/ui-core';
|
|
1
|
+
import type { TabsBaseProps, TabsContentBaseProps, TabsListBaseProps, TabsTriggerBaseProps } from '@gv-tech/ui-core';
|
|
2
2
|
import * as TabsPrimitive from '@rn-primitives/tabs';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
|
|
5
5
|
import { cn } from './lib/utils';
|
|
6
6
|
import { TextClassContext } from './text';
|
|
7
7
|
|
|
8
|
-
const Tabs = React.forwardRef<React.ComponentRef<typeof TabsPrimitive.Root>, TabsProps>(
|
|
9
|
-
|
|
10
|
-
)
|
|
8
|
+
const Tabs = React.forwardRef<React.ComponentRef<typeof TabsPrimitive.Root>, TabsProps>(
|
|
9
|
+
({ value: valueProp, defaultValue, onValueChange, ...props }, ref) => {
|
|
10
|
+
const [uncontrolledValue, setUncontrolledValue] = React.useState(defaultValue ?? '');
|
|
11
|
+
const value = valueProp ?? uncontrolledValue;
|
|
12
|
+
const handleValueChange = (next: string) => {
|
|
13
|
+
setUncontrolledValue(next);
|
|
14
|
+
onValueChange?.(next);
|
|
15
|
+
};
|
|
16
|
+
return <TabsPrimitive.Root ref={ref} value={value} onValueChange={handleValueChange} {...props} />;
|
|
17
|
+
},
|
|
18
|
+
);
|
|
11
19
|
Tabs.displayName = 'Tabs';
|
|
12
20
|
|
|
13
|
-
export type TabsProps = Omit<
|
|
14
|
-
|
|
21
|
+
export type TabsProps = Omit<
|
|
22
|
+
React.ComponentPropsWithoutRef<typeof TabsPrimitive.Root>,
|
|
23
|
+
'onValueChange' | 'value' | 'defaultValue'
|
|
24
|
+
> &
|
|
25
|
+
TabsBaseProps;
|
|
15
26
|
export interface TabsListProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.List>, TabsListBaseProps {}
|
|
16
27
|
export interface TabsTriggerProps
|
|
17
28
|
extends
|
|
@@ -40,7 +51,7 @@ const TabsTrigger = React.forwardRef<React.ComponentRef<typeof TabsPrimitive.Tri
|
|
|
40
51
|
return (
|
|
41
52
|
<TextClassContext.Provider
|
|
42
53
|
value={cn(
|
|
43
|
-
'
|
|
54
|
+
'native:text-base text-muted-foreground web:transition-all text-sm font-medium',
|
|
44
55
|
value === props.value && 'text-foreground',
|
|
45
56
|
)}
|
|
46
57
|
>
|
package/src/text.tsx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { TextBaseProps } from '@gv-tech/ui-core';
|
|
1
2
|
import { cva, type VariantProps } from 'class-variance-authority';
|
|
2
3
|
import * as React from 'react';
|
|
3
4
|
import { Text as RNText } from 'react-native';
|
|
4
5
|
|
|
5
|
-
import type { TextBaseProps } from '@gv-tech/ui-core';
|
|
6
6
|
import { cn } from './lib/utils';
|
|
7
7
|
|
|
8
8
|
const TextClassContext = React.createContext<string | undefined>(undefined);
|
|
@@ -16,9 +16,9 @@ const textVariants = cva('text-foreground', {
|
|
|
16
16
|
h4: 'text-xl font-semibold tracking-tight',
|
|
17
17
|
body: 'text-base leading-7',
|
|
18
18
|
bodySmall: 'text-sm leading-6',
|
|
19
|
-
caption: 'text-
|
|
19
|
+
caption: 'text-muted-foreground text-xs',
|
|
20
20
|
label: 'text-sm font-medium',
|
|
21
|
-
overline: 'text-xs font-semibold
|
|
21
|
+
overline: 'text-muted-foreground text-xs font-semibold tracking-widest uppercase',
|
|
22
22
|
},
|
|
23
23
|
},
|
|
24
24
|
defaultVariants: {
|
package/src/theme-provider.tsx
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { theme as designTokens } from '@gv-tech/design-tokens';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import type { ViewProps } from 'react-native';
|
|
4
|
+
import { Appearance, useColorScheme, View } from 'react-native';
|
|
5
|
+
|
|
4
6
|
import { cn } from './lib/utils';
|
|
5
7
|
|
|
6
8
|
export interface ThemeContextValue {
|
package/src/theme-toggle.tsx
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ThemeToggleBaseProps } from '@gv-tech/ui-core';
|
|
1
|
+
import type { ThemeToggleBaseProps } from '@gv-tech/ui-core';
|
|
2
2
|
import { Moon, Sun, SunMoon } from 'lucide-react-native';
|
|
3
3
|
import { Appearance, View } from 'react-native';
|
|
4
|
+
|
|
4
5
|
import { Button } from './button';
|
|
5
6
|
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from './dropdown-menu';
|
|
6
7
|
import { useTheme } from './hooks/use-theme';
|
|
@@ -14,29 +15,8 @@ iconWithClassName(SunMoon);
|
|
|
14
15
|
|
|
15
16
|
export type ThemeToggleProps = ThemeToggleBaseProps;
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const currentTheme = (customTheme ?? theme) as 'light' | 'dark' | 'system';
|
|
21
|
-
|
|
22
|
-
// Determine the effective theme for icon rendering
|
|
23
|
-
const effectiveTheme = customTheme === 'system' || !customTheme ? resolvedTheme : customTheme;
|
|
24
|
-
const isDark = effectiveTheme === 'dark';
|
|
25
|
-
const isSystem = currentTheme === 'system';
|
|
26
|
-
|
|
27
|
-
const handleThemeChange = (newTheme: 'light' | 'dark' | 'system') => {
|
|
28
|
-
if (onThemeChange) {
|
|
29
|
-
onThemeChange(newTheme);
|
|
30
|
-
} else {
|
|
31
|
-
if (newTheme === 'system') {
|
|
32
|
-
Appearance.setColorScheme('unspecified');
|
|
33
|
-
} else {
|
|
34
|
-
Appearance.setColorScheme(newTheme);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
const IconToggle = () => (
|
|
18
|
+
function ThemeIcons({ isDark, isSystem, foreground }: { isDark: boolean; isSystem: boolean; foreground: string }) {
|
|
19
|
+
return (
|
|
40
20
|
<View className="flex h-6 w-6 items-center justify-center">
|
|
41
21
|
<View
|
|
42
22
|
className={cn(
|
|
@@ -44,7 +24,7 @@ export function ThemeToggle({ variant = 'binary', onThemeChange, customTheme, cl
|
|
|
44
24
|
!isSystem && !isDark ? 'rotate-0 opacity-100' : 'absolute -rotate-90 opacity-0',
|
|
45
25
|
)}
|
|
46
26
|
>
|
|
47
|
-
<Sun size={18} color={
|
|
27
|
+
<Sun size={18} color={foreground} />
|
|
48
28
|
</View>
|
|
49
29
|
<View
|
|
50
30
|
className={cn(
|
|
@@ -52,7 +32,7 @@ export function ThemeToggle({ variant = 'binary', onThemeChange, customTheme, cl
|
|
|
52
32
|
!isSystem && isDark ? 'rotate-0 opacity-100' : 'absolute rotate-90 opacity-0',
|
|
53
33
|
)}
|
|
54
34
|
>
|
|
55
|
-
<Moon size={18} color={
|
|
35
|
+
<Moon size={18} color={foreground} />
|
|
56
36
|
</View>
|
|
57
37
|
<View
|
|
58
38
|
className={cn(
|
|
@@ -60,10 +40,33 @@ export function ThemeToggle({ variant = 'binary', onThemeChange, customTheme, cl
|
|
|
60
40
|
isSystem ? 'rotate-0 opacity-100' : 'absolute rotate-90 opacity-0',
|
|
61
41
|
)}
|
|
62
42
|
>
|
|
63
|
-
<SunMoon size={18} color={
|
|
43
|
+
<SunMoon size={18} color={foreground} />
|
|
64
44
|
</View>
|
|
65
45
|
</View>
|
|
66
46
|
);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ThemeToggle({ variant = 'binary', onThemeChange, customTheme, className }: ThemeToggleProps) {
|
|
50
|
+
const { theme, resolvedTheme, tokens } = useTheme();
|
|
51
|
+
|
|
52
|
+
const currentTheme = (customTheme ?? theme) as 'light' | 'dark' | 'system';
|
|
53
|
+
|
|
54
|
+
// Determine the effective theme for icon rendering
|
|
55
|
+
const effectiveTheme = customTheme === 'system' || !customTheme ? resolvedTheme : customTheme;
|
|
56
|
+
const isDark = effectiveTheme === 'dark';
|
|
57
|
+
const isSystem = currentTheme === 'system';
|
|
58
|
+
|
|
59
|
+
const handleThemeChange = (newTheme: 'light' | 'dark' | 'system') => {
|
|
60
|
+
if (onThemeChange) {
|
|
61
|
+
onThemeChange(newTheme);
|
|
62
|
+
} else {
|
|
63
|
+
if (newTheme === 'system') {
|
|
64
|
+
Appearance.setColorScheme('unspecified');
|
|
65
|
+
} else {
|
|
66
|
+
Appearance.setColorScheme(newTheme);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
};
|
|
67
70
|
|
|
68
71
|
if (variant === 'ternary') {
|
|
69
72
|
return (
|
|
@@ -74,7 +77,7 @@ export function ThemeToggle({ variant = 'binary', onThemeChange, customTheme, cl
|
|
|
74
77
|
className,
|
|
75
78
|
)}
|
|
76
79
|
>
|
|
77
|
-
<
|
|
80
|
+
<ThemeIcons isDark={isDark} isSystem={isSystem} foreground={tokens.foreground} />
|
|
78
81
|
</DropdownMenuTrigger>
|
|
79
82
|
<DropdownMenuContent align="end">
|
|
80
83
|
<DropdownMenuItem onSelect={() => handleThemeChange('light')}>
|
|
@@ -101,7 +104,7 @@ export function ThemeToggle({ variant = 'binary', onThemeChange, customTheme, cl
|
|
|
101
104
|
className={cn('relative h-9 w-9', className)}
|
|
102
105
|
onPress={() => handleThemeChange(currentTheme === 'dark' ? 'light' : 'dark')}
|
|
103
106
|
>
|
|
104
|
-
<
|
|
107
|
+
<ThemeIcons isDark={isDark} isSystem={isSystem} foreground={tokens.foreground} />
|
|
105
108
|
</Button>
|
|
106
109
|
);
|
|
107
110
|
}
|
package/src/toaster.tsx
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ToasterBaseProps } from '@gv-tech/ui-core';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { View } from 'react-native';
|
|
4
|
+
|
|
4
5
|
import { useToast } from './hooks/use-toast';
|
|
5
6
|
import { Toast, ToastClose, ToastDescription, ToastProvider, ToastTitle } from './toast';
|
|
6
7
|
|
package/src/toggle-group.tsx
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ToggleGroupBaseProps, ToggleGroupItemBaseProps } from '@gv-tech/ui-core';
|
|
1
|
+
import type { ToggleGroupBaseProps, ToggleGroupItemBaseProps } from '@gv-tech/ui-core';
|
|
2
2
|
import * as ToggleGroupPrimitive from '@rn-primitives/toggle-group';
|
|
3
3
|
import { type VariantProps } from 'class-variance-authority';
|
|
4
4
|
import * as React from 'react';
|
|
@@ -48,7 +48,7 @@ const ToggleGroupItem = React.forwardRef<React.ComponentRef<typeof ToggleGroupPr
|
|
|
48
48
|
return (
|
|
49
49
|
<TextClassContext.Provider
|
|
50
50
|
value={cn(
|
|
51
|
-
'
|
|
51
|
+
'native:text-base text-foreground text-sm font-medium',
|
|
52
52
|
props.disabled && 'web:cursor-not-allowed opacity-50',
|
|
53
53
|
value === '' && 'text-accent-foreground',
|
|
54
54
|
className,
|
package/src/toggle.tsx
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ToggleBaseProps
|
|
1
|
+
import type { ToggleBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { toggleVariants } from '@gv-tech/ui-core';
|
|
2
3
|
import * as TogglePrimitive from '@rn-primitives/toggle';
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
|
|
@@ -14,7 +15,7 @@ const Toggle = React.forwardRef<React.ComponentRef<typeof TogglePrimitive.Root>,
|
|
|
14
15
|
({ className, variant, size, ...props }, ref) => (
|
|
15
16
|
<TextClassContext.Provider
|
|
16
17
|
value={cn(
|
|
17
|
-
'
|
|
18
|
+
'native:text-base text-foreground text-sm font-medium',
|
|
18
19
|
props.pressed && 'text-accent-foreground',
|
|
19
20
|
className,
|
|
20
21
|
)}
|
package/dist/alert-dialog.d.ts
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { View, ViewStyle } from 'react-native';
|
|
2
|
-
import * as AlertDialogPrimitive from '@rn-primitives/alert-dialog';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
declare const AlertDialog: {
|
|
5
|
-
({ asChild, open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, ref, ...viewProps }: {
|
|
6
|
-
open?: boolean;
|
|
7
|
-
onOpenChange?: (value: boolean) => void;
|
|
8
|
-
defaultOpen?: boolean;
|
|
9
|
-
} & import('react-native').ViewProps & {
|
|
10
|
-
asChild?: boolean;
|
|
11
|
-
} & React.RefAttributes<View>): React.JSX.Element;
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
14
|
-
declare const AlertDialogTrigger: {
|
|
15
|
-
({ asChild, onPress: onPressProp, disabled, ref, ...props }: Omit<import('react-native').PressableProps & React.RefAttributes<View>, "ref"> & {
|
|
16
|
-
asChild?: boolean;
|
|
17
|
-
} & {
|
|
18
|
-
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
19
|
-
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
20
|
-
} & React.RefAttributes<View>): React.JSX.Element;
|
|
21
|
-
displayName: string;
|
|
22
|
-
};
|
|
23
|
-
declare const AlertDialogPortal: typeof AlertDialogPrimitive.Portal;
|
|
24
|
-
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<AlertDialogOverlayProps & React.RefAttributes<React.ComponentRef<typeof AlertDialogPrimitive.Overlay>>>;
|
|
25
|
-
declare const AlertDialogContent: React.ForwardRefExoticComponent<AlertDialogContentProps & React.RefAttributes<React.ComponentRef<typeof AlertDialogPrimitive.Content>>>;
|
|
26
|
-
declare const AlertDialogHeader: {
|
|
27
|
-
({ className, ...props }: React.ComponentPropsWithoutRef<typeof View>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
displayName: string;
|
|
29
|
-
};
|
|
30
|
-
declare const AlertDialogFooter: {
|
|
31
|
-
({ className, ...props }: React.ComponentPropsWithoutRef<typeof View>): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
displayName: string;
|
|
33
|
-
};
|
|
34
|
-
declare const AlertDialogTitle: React.ForwardRefExoticComponent<AlertDialogTitleProps & React.RefAttributes<React.ComponentRef<typeof AlertDialogPrimitive.Title>>>;
|
|
35
|
-
declare const AlertDialogDescription: React.ForwardRefExoticComponent<AlertDialogDescriptionProps & React.RefAttributes<React.ComponentRef<typeof AlertDialogPrimitive.Description>>>;
|
|
36
|
-
declare const AlertDialogAction: React.ForwardRefExoticComponent<AlertDialogActionProps & React.RefAttributes<React.ComponentRef<typeof AlertDialogPrimitive.Action>>>;
|
|
37
|
-
declare const AlertDialogCancel: React.ForwardRefExoticComponent<AlertDialogCancelProps & React.RefAttributes<React.ComponentRef<typeof AlertDialogPrimitive.Cancel>>>;
|
|
38
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, };
|
|
39
|
-
export type AlertDialogOverlayProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>;
|
|
40
|
-
export type AlertDialogContentProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content> & {
|
|
41
|
-
portalHost?: string;
|
|
42
|
-
overlayClassName?: string;
|
|
43
|
-
overlayStyle?: ViewStyle;
|
|
44
|
-
};
|
|
45
|
-
export type AlertDialogHeaderProps = React.ComponentPropsWithoutRef<typeof View>;
|
|
46
|
-
export type AlertDialogFooterProps = React.ComponentPropsWithoutRef<typeof View>;
|
|
47
|
-
export type AlertDialogTitleProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>;
|
|
48
|
-
export type AlertDialogDescriptionProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>;
|
|
49
|
-
export type AlertDialogActionProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>;
|
|
50
|
-
export type AlertDialogCancelProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>;
|
|
51
|
-
//# sourceMappingURL=alert-dialog.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alert-dialog.d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AAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,oBAAoB,CAAC,MAAM,CAAC,CAAC;AACxG,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,oBAAoB,CAAC,MAAM,CAAC,CAAC"}
|
package/dist/alert.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { Text, View } from 'react-native';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
declare const Alert: React.ForwardRefExoticComponent<import('react-native').ViewProps & VariantProps<(props?: ({
|
|
5
|
-
variant?: "default" | "destructive" | "warning" | "info" | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & React.RefAttributes<View>>;
|
|
7
|
-
declare const AlertTitle: React.ForwardRefExoticComponent<import('react-native').TextProps & React.RefAttributes<Text>>;
|
|
8
|
-
declare const AlertDescription: React.ForwardRefExoticComponent<import('react-native').TextProps & React.RefAttributes<Text>>;
|
|
9
|
-
export { Alert, AlertDescription, AlertTitle };
|
|
10
|
-
//# sourceMappingURL=alert.d.ts.map
|
package/dist/alert.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../src/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAmB1C,QAAA,MAAM,KAAK;;4GAOT,CAAC;AAGH,QAAA,MAAM,UAAU,+FAQf,CAAC;AAGF,QAAA,MAAM,gBAAgB,+FAIrB,CAAC;AAGF,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,CAAC"}
|
package/dist/card.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Text, View } from 'react-native';
|
|
2
|
-
import { CardBaseProps } from '@gv-tech/ui-core';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
export interface CardProps extends React.ComponentPropsWithoutRef<typeof View>, CardBaseProps {
|
|
5
|
-
}
|
|
6
|
-
declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<View>>;
|
|
7
|
-
declare const CardHeader: React.ForwardRefExoticComponent<import('react-native').ViewProps & React.RefAttributes<View>>;
|
|
8
|
-
declare const CardTitle: React.ForwardRefExoticComponent<import('react-native').TextProps & React.RefAttributes<Text>>;
|
|
9
|
-
declare const CardDescription: React.ForwardRefExoticComponent<import('react-native').TextProps & React.RefAttributes<Text>>;
|
|
10
|
-
declare const CardContent: React.ForwardRefExoticComponent<import('react-native').ViewProps & React.RefAttributes<View>>;
|
|
11
|
-
declare const CardFooter: React.ForwardRefExoticComponent<import('react-native').ViewProps & React.RefAttributes<View>>;
|
|
12
|
-
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
13
|
-
//# sourceMappingURL=card.d.ts.map
|
package/dist/card.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../src/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAItD,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC,EAAE,aAAa;CAAG;AAEhG,QAAA,MAAM,IAAI,wEAER,CAAC;AAGH,QAAA,MAAM,UAAU,+FAIf,CAAC;AAGF,QAAA,MAAM,SAAS,+FAQd,CAAC;AAGF,QAAA,MAAM,eAAe,+FAIpB,CAAC;AAGF,QAAA,MAAM,WAAW,+FAMhB,CAAC;AAGF,QAAA,MAAM,UAAU,+FAIf,CAAC;AAGF,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC"}
|
package/dist/checkbox.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as CheckboxPrimitive from '@rn-primitives/checkbox';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
declare const Checkbox: React.ForwardRefExoticComponent<Omit<Omit<import('react-native').PressableProps & React.RefAttributes<import('react-native').View>, "ref"> & {
|
|
4
|
-
asChild?: boolean;
|
|
5
|
-
} & {
|
|
6
|
-
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
7
|
-
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
8
|
-
} & {
|
|
9
|
-
checked: boolean;
|
|
10
|
-
onCheckedChange: (checked: boolean) => void;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
} & React.RefAttributes<import('react-native').View>, "ref"> & React.RefAttributes<import('react-native').View>>;
|
|
13
|
-
export { Checkbox };
|
|
14
|
-
export type CheckboxProps = React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>;
|
|
15
|
-
//# sourceMappingURL=checkbox.d.ts.map
|
package/dist/checkbox.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../src/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,yBAAyB,CAAC;AAE7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,QAAQ;;;;;;;;;gHAmBZ,CAAC;AAGH,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC,CAAC"}
|
package/dist/context-menu.d.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { ContextMenuCheckboxItemBaseProps, ContextMenuContentBaseProps, ContextMenuItemBaseProps, ContextMenuLabelBaseProps, ContextMenuRadioItemBaseProps, ContextMenuSeparatorBaseProps, ContextMenuShortcutBaseProps, ContextMenuSubContentBaseProps, ContextMenuSubTriggerBaseProps } from '@gv-tech/ui-core';
|
|
2
|
-
import { View } from 'react-native';
|
|
3
|
-
import * as ContextMenuPrimitive from '@rn-primitives/context-menu';
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
export declare const ContextMenu: {
|
|
6
|
-
({ asChild, relativeTo, onOpenChange: onOpenChangeProp, ref, ...viewProps }: import('react-native').ViewProps & {
|
|
7
|
-
asChild?: boolean;
|
|
8
|
-
} & {
|
|
9
|
-
onOpenChange?: (open: boolean) => void;
|
|
10
|
-
relativeTo?: "longPress" | "trigger";
|
|
11
|
-
} & React.RefAttributes<View>): React.JSX.Element;
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
14
|
-
export declare const ContextMenuTrigger: {
|
|
15
|
-
({ asChild, onLongPress: onLongPressProp, disabled, onAccessibilityAction: onAccessibilityActionProp, ref, ...props }: Omit<import('react-native').PressableProps & React.RefAttributes<View>, "ref"> & {
|
|
16
|
-
asChild?: boolean;
|
|
17
|
-
} & {
|
|
18
|
-
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
19
|
-
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
20
|
-
} & React.RefAttributes<import('@rn-primitives/context-menu').TriggerRef>): React.JSX.Element;
|
|
21
|
-
displayName: string;
|
|
22
|
-
};
|
|
23
|
-
export declare const ContextMenuPortal: typeof ContextMenuPrimitive.Portal;
|
|
24
|
-
export declare const ContextMenuGroup: {
|
|
25
|
-
({ asChild, ref, ...props }: import('react-native').ViewProps & {
|
|
26
|
-
asChild?: boolean;
|
|
27
|
-
} & React.RefAttributes<View>): React.JSX.Element;
|
|
28
|
-
displayName: string;
|
|
29
|
-
};
|
|
30
|
-
export declare const ContextMenuRadioGroup: {
|
|
31
|
-
({ asChild, value, onValueChange, ref, ...props }: import('react-native').ViewProps & {
|
|
32
|
-
asChild?: boolean;
|
|
33
|
-
} & {
|
|
34
|
-
value: string | undefined;
|
|
35
|
-
onValueChange: (value: string) => void;
|
|
36
|
-
} & React.RefAttributes<View>): React.JSX.Element;
|
|
37
|
-
displayName: string;
|
|
38
|
-
};
|
|
39
|
-
export declare const ContextMenuSub: {
|
|
40
|
-
({ asChild, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ref, ...props }: import('react-native').ViewProps & {
|
|
41
|
-
asChild?: boolean;
|
|
42
|
-
} & {
|
|
43
|
-
defaultOpen?: boolean;
|
|
44
|
-
open?: boolean;
|
|
45
|
-
onOpenChange?: (value: boolean) => void;
|
|
46
|
-
} & React.RefAttributes<View>): React.JSX.Element;
|
|
47
|
-
displayName: string;
|
|
48
|
-
};
|
|
49
|
-
export declare const ContextMenuContent: React.ForwardRefExoticComponent<ContextMenuContentBaseProps & React.RefAttributes<View>>;
|
|
50
|
-
export declare const ContextMenuItem: React.ForwardRefExoticComponent<ContextMenuItemBaseProps & React.RefAttributes<View>>;
|
|
51
|
-
export declare const ContextMenuCheckboxItem: React.ForwardRefExoticComponent<ContextMenuCheckboxItemBaseProps & React.RefAttributes<View>>;
|
|
52
|
-
export declare const ContextMenuRadioItem: React.ForwardRefExoticComponent<ContextMenuRadioItemBaseProps & React.RefAttributes<View>>;
|
|
53
|
-
export declare const ContextMenuLabel: React.ForwardRefExoticComponent<ContextMenuLabelBaseProps & React.RefAttributes<import('react-native').Text>>;
|
|
54
|
-
export declare const ContextMenuSeparator: React.ForwardRefExoticComponent<ContextMenuSeparatorBaseProps & React.RefAttributes<View>>;
|
|
55
|
-
export declare const ContextMenuShortcut: {
|
|
56
|
-
({ className, children, ...props }: ContextMenuShortcutBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
57
|
-
displayName: string;
|
|
58
|
-
};
|
|
59
|
-
export declare const ContextMenuSubTrigger: React.ForwardRefExoticComponent<ContextMenuSubTriggerBaseProps & React.RefAttributes<View>>;
|
|
60
|
-
export declare const ContextMenuSubContent: React.ForwardRefExoticComponent<ContextMenuSubContentBaseProps & React.RefAttributes<View>>;
|
|
61
|
-
//# sourceMappingURL=context-menu.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context-menu.d.ts","sourceRoot":"","sources":["../src/context-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gCAAgC,EAChC,2BAA2B,EAC3B,wBAAwB,EACxB,yBAAyB,EACzB,6BAA6B,EAC7B,6BAA6B,EAC7B,4BAA4B,EAC5B,8BAA8B,EAC9B,8BAA8B,EAC/B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAC;AAEpE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAwB,IAAI,EAAE,MAAM,cAAc,CAAC;AAM1D,eAAO,MAAM,WAAW;;;;;;;;CAA4B,CAAC;AAErD,eAAO,MAAM,kBAAkB;;;;;;;;CAA+B,CAAC;AAE/D,eAAO,MAAM,iBAAiB,oCAA8B,CAAC;AAE7D,eAAO,MAAM,gBAAgB;;;;;CAA6B,CAAC;AAE3D,eAAO,MAAM,qBAAqB;;;;;;;;CAAkC,CAAC;AAErE,eAAO,MAAM,cAAc;;;;;;;;;CAA2B,CAAC;AAsBvD,eAAO,MAAM,kBAAkB,0FAmB7B,CAAC;AAGH,eAAO,MAAM,eAAe,uFAiB1B,CAAC;AAGH,eAAO,MAAM,uBAAuB,+FAuBlC,CAAC;AAGH,eAAO,MAAM,oBAAoB,4FAsB/B,CAAC;AAGH,eAAO,MAAM,gBAAgB,+GAa3B,CAAC;AAGH,eAAO,MAAM,oBAAoB,4FAK/B,CAAC;AAGH,eAAO,MAAM,mBAAmB;wCAAuC,4BAA4B;;CAMlG,CAAC;AAGF,eAAO,MAAM,qBAAqB,6FAkBhC,CAAC;AAGH,eAAO,MAAM,qBAAqB,6FAgBhC,CAAC"}
|
package/dist/dialog.d.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { DialogBaseProps, DialogContentBaseProps } from '@gv-tech/ui-core';
|
|
2
|
-
import { View, ViewStyle } from 'react-native';
|
|
3
|
-
import * as DialogPrimitive from '@rn-primitives/dialog';
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
declare const Dialog: {
|
|
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
|
-
export interface DialogProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Root>, DialogBaseProps {
|
|
16
|
-
}
|
|
17
|
-
export interface DialogContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, DialogContentBaseProps {
|
|
18
|
-
portalHost?: string;
|
|
19
|
-
overlayClassName?: string;
|
|
20
|
-
overlayStyle?: ViewStyle;
|
|
21
|
-
}
|
|
22
|
-
declare const DialogTrigger: {
|
|
23
|
-
({ asChild, onPress: onPressProp, disabled, ref, ...props }: Omit<import('react-native').PressableProps & React.RefAttributes<View>, "ref"> & {
|
|
24
|
-
asChild?: boolean;
|
|
25
|
-
} & {
|
|
26
|
-
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
27
|
-
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
28
|
-
} & React.RefAttributes<View>): React.JSX.Element;
|
|
29
|
-
displayName: string;
|
|
30
|
-
};
|
|
31
|
-
declare const DialogPortal: typeof DialogPrimitive.Portal;
|
|
32
|
-
declare const DialogClose: {
|
|
33
|
-
({ asChild, onPress: onPressProp, disabled, ref, ...props }: Omit<import('react-native').PressableProps & React.RefAttributes<View>, "ref"> & {
|
|
34
|
-
asChild?: boolean;
|
|
35
|
-
} & {
|
|
36
|
-
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
37
|
-
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
38
|
-
} & React.RefAttributes<View>): React.JSX.Element;
|
|
39
|
-
displayName: string;
|
|
40
|
-
};
|
|
41
|
-
export type DialogOverlayProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>;
|
|
42
|
-
export type DialogOverlayRef = React.ComponentRef<typeof DialogPrimitive.Overlay>;
|
|
43
|
-
declare const DialogOverlay: React.ForwardRefExoticComponent<DialogOverlayProps & React.RefAttributes<DialogOverlayRef>>;
|
|
44
|
-
export type DialogContentRef = React.ComponentRef<typeof DialogPrimitive.Content>;
|
|
45
|
-
declare const DialogContent: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<DialogContentRef>>;
|
|
46
|
-
declare const DialogHeader: {
|
|
47
|
-
({ className, ...props }: React.ComponentPropsWithoutRef<typeof View>): import("react/jsx-runtime").JSX.Element;
|
|
48
|
-
displayName: string;
|
|
49
|
-
};
|
|
50
|
-
declare const DialogFooter: {
|
|
51
|
-
({ className, ...props }: React.ComponentPropsWithoutRef<typeof View>): import("react/jsx-runtime").JSX.Element;
|
|
52
|
-
displayName: string;
|
|
53
|
-
};
|
|
54
|
-
export type DialogTitleRef = React.ComponentRef<typeof DialogPrimitive.Title>;
|
|
55
|
-
export type DialogTitleProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>;
|
|
56
|
-
declare const DialogTitle: React.ForwardRefExoticComponent<DialogTitleProps & React.RefAttributes<DialogTitleRef>>;
|
|
57
|
-
export type DialogDescriptionRef = React.ComponentRef<typeof DialogPrimitive.Description>;
|
|
58
|
-
export type DialogDescriptionProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>;
|
|
59
|
-
declare const DialogDescription: React.ForwardRefExoticComponent<DialogDescriptionProps & React.RefAttributes<DialogDescriptionRef>>;
|
|
60
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
|
|
61
|
-
//# sourceMappingURL=dialog.d.ts.map
|
package/dist/dialog.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../src/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC3E,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AAEzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAY,IAAI,EAAkB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAM9E,QAAA,MAAM,MAAM;;;;;;;;;CAAuB,CAAC;AAEpC,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,EAAE,eAAe;CAAG;AAEpH,MAAM,WAAW,kBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAAE,sBAAsB;IAC9F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B;AAED,QAAA,MAAM,aAAa;;;;;;;;CAA0B,CAAC;AAE9C,QAAA,MAAM,YAAY,+BAAyB,CAAC;AAE5C,QAAA,MAAM,WAAW;;;;;;;;CAAwB,CAAC;AAE1C,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC;AAChG,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,YAAY,CAAC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,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,WAAW,EACX,aAAa,GACd,CAAC"}
|
package/dist/drawer.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { DrawerBaseProps, DrawerCloseBaseProps, DrawerContentBaseProps, DrawerDescriptionBaseProps, DrawerFooterBaseProps, DrawerHeaderBaseProps, DrawerTitleBaseProps, DrawerTriggerBaseProps } from '@gv-tech/ui-core';
|
|
2
|
-
import { View, ViewStyle } from 'react-native';
|
|
3
|
-
import * as DialogPrimitive from '@rn-primitives/dialog';
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
export interface DrawerProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Root>, DrawerBaseProps {
|
|
6
|
-
}
|
|
7
|
-
export declare const Drawer: React.FC<DrawerProps>;
|
|
8
|
-
export declare const DrawerTrigger: React.ForwardRefExoticComponent<DrawerTriggerBaseProps & {
|
|
9
|
-
className?: string;
|
|
10
|
-
} & React.RefAttributes<View>>;
|
|
11
|
-
export declare const DrawerPortal: typeof DialogPrimitive.Portal;
|
|
12
|
-
export type DrawerOverlayProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>;
|
|
13
|
-
export type DrawerOverlayRef = React.ComponentRef<typeof DialogPrimitive.Overlay>;
|
|
14
|
-
export declare const DrawerOverlay: React.ForwardRefExoticComponent<DrawerOverlayProps & React.RefAttributes<DrawerOverlayRef>>;
|
|
15
|
-
export declare const DrawerContent: React.ForwardRefExoticComponent<DrawerContentBaseProps & {
|
|
16
|
-
portalHost?: string;
|
|
17
|
-
overlayClassName?: string;
|
|
18
|
-
overlayStyle?: ViewStyle;
|
|
19
|
-
} & React.RefAttributes<View>>;
|
|
20
|
-
export declare const DrawerHeader: {
|
|
21
|
-
({ className, children, ...props }: DrawerHeaderBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
displayName: string;
|
|
23
|
-
};
|
|
24
|
-
export declare const DrawerFooter: {
|
|
25
|
-
({ className, children, ...props }: DrawerFooterBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
displayName: string;
|
|
27
|
-
};
|
|
28
|
-
export declare const DrawerClose: React.ForwardRefExoticComponent<DrawerCloseBaseProps & {
|
|
29
|
-
className?: string;
|
|
30
|
-
} & React.RefAttributes<View>>;
|
|
31
|
-
export declare const DrawerTitle: React.ForwardRefExoticComponent<DrawerTitleBaseProps & React.RefAttributes<import('react-native').Text>>;
|
|
32
|
-
export declare const DrawerDescription: React.ForwardRefExoticComponent<DrawerDescriptionBaseProps & React.RefAttributes<import('react-native').Text>>;
|
|
33
|
-
//# sourceMappingURL=drawer.d.ts.map
|
package/dist/drawer.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../src/drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACtB,0BAA0B,EAC1B,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAY,IAAI,EAAkB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAK9E,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,EAAE,eAAe;CAAG;AAEpH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAExC,CAAC;AAGF,eAAO,MAAM,aAAa;gBAEe,MAAM;8BAO7C,CAAC;AAGH,eAAO,MAAM,YAAY,+BAAyB,CAAC;AAEnD,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC;AAChG,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC;AAElF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,yBAAyB,CACzD,kBAAkB,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CA0B1D,CAAC;AAGH,eAAO,MAAM,aAAa;iBAGT,MAAM;uBACA,MAAM;mBACV,SAAS;8BAsB1B,CAAC;AAGH,eAAO,MAAM,YAAY;wCAAuC,qBAAqB;;CAIpF,CAAC;AAGF,eAAO,MAAM,YAAY;wCAAuC,qBAAqB;;CAIpF,CAAC;AAGF,eAAO,MAAM,WAAW;gBAEe,MAAM;8BAO3C,CAAC;AAGH,eAAO,MAAM,WAAW,0GAYvB,CAAC;AAGF,eAAO,MAAM,iBAAiB,gHAS5B,CAAC"}
|
package/dist/dropdown-menu.d.ts
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { DropdownMenuCheckboxItemBaseProps, DropdownMenuContentBaseProps, DropdownMenuItemBaseProps, DropdownMenuLabelBaseProps, DropdownMenuRadioItemBaseProps, DropdownMenuSeparatorBaseProps, DropdownMenuShortcutBaseProps, DropdownMenuSubContentBaseProps, DropdownMenuSubTriggerBaseProps } from '@gv-tech/ui-core';
|
|
2
|
-
import { View } from 'react-native';
|
|
3
|
-
import * as DropdownMenuPrimitive from '@rn-primitives/dropdown-menu';
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
export declare const DropdownMenu: {
|
|
6
|
-
({ asChild, onOpenChange: onOpenChangeProp, ref, ...viewProps }: import('react-native').ViewProps & {
|
|
7
|
-
asChild?: boolean;
|
|
8
|
-
} & {
|
|
9
|
-
onOpenChange?: (open: boolean) => void;
|
|
10
|
-
} & React.RefAttributes<View>): React.JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
export declare const DropdownMenuTrigger: {
|
|
14
|
-
({ asChild, onPress: onPressProp, disabled, ref, ...props }: Omit<import('react-native').PressableProps & React.RefAttributes<View>, "ref"> & {
|
|
15
|
-
asChild?: boolean;
|
|
16
|
-
} & {
|
|
17
|
-
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
18
|
-
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
19
|
-
} & React.RefAttributes<import('@rn-primitives/dropdown-menu').TriggerRef>): React.JSX.Element;
|
|
20
|
-
displayName: string;
|
|
21
|
-
};
|
|
22
|
-
export declare const DropdownMenuPortal: typeof DropdownMenuPrimitive.Portal;
|
|
23
|
-
export declare const DropdownMenuGroup: {
|
|
24
|
-
({ asChild, ref, ...props }: import('react-native').ViewProps & {
|
|
25
|
-
asChild?: boolean;
|
|
26
|
-
} & React.RefAttributes<View>): React.JSX.Element;
|
|
27
|
-
displayName: string;
|
|
28
|
-
};
|
|
29
|
-
export declare const DropdownMenuRadioGroup: {
|
|
30
|
-
({ asChild, value, onValueChange, ref, ...props }: import('react-native').ViewProps & {
|
|
31
|
-
asChild?: boolean;
|
|
32
|
-
} & {
|
|
33
|
-
value: string | undefined;
|
|
34
|
-
onValueChange: (value: string) => void;
|
|
35
|
-
} & React.RefAttributes<View>): React.JSX.Element;
|
|
36
|
-
displayName: string;
|
|
37
|
-
};
|
|
38
|
-
export declare const DropdownMenuSub: {
|
|
39
|
-
({ asChild, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ref, ...props }: import('react-native').ViewProps & {
|
|
40
|
-
asChild?: boolean;
|
|
41
|
-
} & {
|
|
42
|
-
defaultOpen?: boolean;
|
|
43
|
-
open?: boolean;
|
|
44
|
-
onOpenChange?: (value: boolean) => void;
|
|
45
|
-
} & React.RefAttributes<View>): React.JSX.Element;
|
|
46
|
-
displayName: string;
|
|
47
|
-
};
|
|
48
|
-
export declare const DropdownMenuContent: React.ForwardRefExoticComponent<DropdownMenuContentBaseProps & React.RefAttributes<View>>;
|
|
49
|
-
export declare const DropdownMenuItem: React.ForwardRefExoticComponent<DropdownMenuItemBaseProps & React.RefAttributes<View>>;
|
|
50
|
-
export declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<DropdownMenuCheckboxItemBaseProps & React.RefAttributes<View>>;
|
|
51
|
-
export declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<DropdownMenuRadioItemBaseProps & React.RefAttributes<View>>;
|
|
52
|
-
export declare const DropdownMenuLabel: React.ForwardRefExoticComponent<DropdownMenuLabelBaseProps & React.RefAttributes<import('react-native').Text>>;
|
|
53
|
-
export declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<DropdownMenuSeparatorBaseProps & React.RefAttributes<View>>;
|
|
54
|
-
export declare const DropdownMenuShortcut: {
|
|
55
|
-
({ className, children, ...props }: DropdownMenuShortcutBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
56
|
-
displayName: string;
|
|
57
|
-
};
|
|
58
|
-
export declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<DropdownMenuSubTriggerBaseProps & React.RefAttributes<View>>;
|
|
59
|
-
export declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<DropdownMenuSubContentBaseProps & React.RefAttributes<View>>;
|
|
60
|
-
//# sourceMappingURL=dropdown-menu.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../src/dropdown-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iCAAiC,EACjC,4BAA4B,EAC5B,yBAAyB,EACzB,0BAA0B,EAC1B,8BAA8B,EAC9B,8BAA8B,EAC9B,6BAA6B,EAC7B,+BAA+B,EAC/B,+BAA+B,EAChC,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,qBAAqB,MAAM,8BAA8B,CAAC;AAEtE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAwB,IAAI,EAAE,MAAM,cAAc,CAAC;AAM1D,eAAO,MAAM,YAAY;;;;;;;CAA6B,CAAC;AAEvD,eAAO,MAAM,mBAAmB;;;;;;;;CAAgC,CAAC;AAEjE,eAAO,MAAM,kBAAkB,qCAA+B,CAAC;AAE/D,eAAO,MAAM,iBAAiB;;;;;CAA8B,CAAC;AAE7D,eAAO,MAAM,sBAAsB;;;;;;;;CAAmC,CAAC;AAEvE,eAAO,MAAM,eAAe;;;;;;;;;CAA4B,CAAC;AAsBzD,eAAO,MAAM,mBAAmB,2FAqB9B,CAAC;AAGH,eAAO,MAAM,gBAAgB,wFAmC3B,CAAC;AAGH,eAAO,MAAM,wBAAwB,gGAuBnC,CAAC;AAGH,eAAO,MAAM,qBAAqB,6FAsBhC,CAAC;AAGH,eAAO,MAAM,iBAAiB,gHAa5B,CAAC;AAGH,eAAO,MAAM,qBAAqB,6FAOhC,CAAC;AAGH,eAAO,MAAM,oBAAoB;wCAAuC,6BAA6B;;CAMpG,CAAC;AAGF,eAAO,MAAM,sBAAsB,8FAkBjC,CAAC;AAGH,eAAO,MAAM,sBAAsB,8FAgBjC,CAAC"}
|
package/dist/form.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
|
|
2
|
-
import { Text, View } from 'react-native';
|
|
3
|
-
import { FormControlBaseProps, FormDescriptionBaseProps, FormItemBaseProps, FormLabelBaseProps, FormMessageBaseProps } from '@gv-tech/ui-core';
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: import('react-hook-form').FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
6
|
-
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare const useFormField: () => {
|
|
8
|
-
invalid: boolean;
|
|
9
|
-
isDirty: boolean;
|
|
10
|
-
isTouched: boolean;
|
|
11
|
-
isValidating: boolean;
|
|
12
|
-
error?: import('react-hook-form').FieldError;
|
|
13
|
-
id: string;
|
|
14
|
-
name: string;
|
|
15
|
-
formItemId: string;
|
|
16
|
-
formDescriptionId: string;
|
|
17
|
-
formMessageId: string;
|
|
18
|
-
};
|
|
19
|
-
declare const FormItem: React.ForwardRefExoticComponent<import('react-native').ViewProps & FormItemBaseProps & React.RefAttributes<View>>;
|
|
20
|
-
declare const FormLabel: React.ForwardRefExoticComponent<Omit<Omit<import('react-native').TextProps & {
|
|
21
|
-
asChild?: boolean;
|
|
22
|
-
} & {
|
|
23
|
-
nativeID?: string;
|
|
24
|
-
htmlFor?: string;
|
|
25
|
-
} & React.RefAttributes<Text>, "ref"> & React.RefAttributes<Text>, "ref"> & FormLabelBaseProps & React.RefAttributes<Text>>;
|
|
26
|
-
declare const FormControl: React.ForwardRefExoticComponent<Omit<Omit<any, "ref"> & FormControlBaseProps & {
|
|
27
|
-
children?: React.ReactNode;
|
|
28
|
-
}, "ref"> & React.RefAttributes<unknown>>;
|
|
29
|
-
declare const FormDescription: React.ForwardRefExoticComponent<import('react-native').TextProps & FormDescriptionBaseProps & React.RefAttributes<Text>>;
|
|
30
|
-
declare const FormMessage: React.ForwardRefExoticComponent<import('react-native').TextProps & FormMessageBaseProps & React.RefAttributes<Text>>;
|
|
31
|
-
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
|
|
32
|
-
export type { FormControlBaseProps as FormControlProps, FormDescriptionBaseProps as FormDescriptionProps, FormItemBaseProps as FormItemProps, FormLabelBaseProps as FormLabelProps, FormMessageBaseProps as FormMessageProps, };
|
|
33
|
-
//# sourceMappingURL=form.d.ts.map
|
package/dist/form.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../src/form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CA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