@gv-tech/ui-native 2.27.3 → 2.29.0

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.
Files changed (143) hide show
  1. package/dist/__contracts.d.ts +44 -1
  2. package/dist/__contracts.d.ts.map +1 -1
  3. package/dist/attachment.d.ts +12 -0
  4. package/dist/attachment.d.ts.map +1 -0
  5. package/dist/badge.d.ts +1 -1
  6. package/dist/badge.d.ts.map +1 -1
  7. package/dist/breadcrumb.d.ts +27 -8
  8. package/dist/breadcrumb.d.ts.map +1 -1
  9. package/dist/bubble.d.ts +7 -0
  10. package/dist/bubble.d.ts.map +1 -0
  11. package/dist/button-group.d.ts +3 -3
  12. package/dist/button-group.d.ts.map +1 -1
  13. package/dist/button.d.ts +5 -2
  14. package/dist/button.d.ts.map +1 -1
  15. package/dist/calendar.d.ts +10 -7
  16. package/dist/calendar.d.ts.map +1 -1
  17. package/dist/carousel.d.ts +29 -6
  18. package/dist/carousel.d.ts.map +1 -1
  19. package/dist/combobox.d.ts +16 -16
  20. package/dist/combobox.d.ts.map +1 -1
  21. package/dist/direction.d.ts +1 -1
  22. package/dist/direction.d.ts.map +1 -1
  23. package/dist/empty.d.ts +6 -6
  24. package/dist/empty.d.ts.map +1 -1
  25. package/dist/field.d.ts +10 -10
  26. package/dist/field.d.ts.map +1 -1
  27. package/dist/hooks/use-theme.d.ts +1 -1
  28. package/dist/index.d.ts +6 -0
  29. package/dist/index.d.ts.map +1 -1
  30. package/dist/input-group.d.ts +6 -6
  31. package/dist/input-group.d.ts.map +1 -1
  32. package/dist/input-otp.d.ts +4 -4
  33. package/dist/input-otp.d.ts.map +1 -1
  34. package/dist/item.d.ts +10 -10
  35. package/dist/item.d.ts.map +1 -1
  36. package/dist/kbd.d.ts +2 -2
  37. package/dist/kbd.d.ts.map +1 -1
  38. package/dist/marker.d.ts +6 -0
  39. package/dist/marker.d.ts.map +1 -0
  40. package/dist/message-scroller.d.ts +9 -0
  41. package/dist/message-scroller.d.ts.map +1 -0
  42. package/dist/message.d.ts +9 -0
  43. package/dist/message.d.ts.map +1 -0
  44. package/dist/native-select.d.ts +3 -3
  45. package/dist/native-select.d.ts.map +1 -1
  46. package/dist/pagination.d.ts +15 -8
  47. package/dist/pagination.d.ts.map +1 -1
  48. package/dist/questionnaire.d.ts +18 -0
  49. package/dist/questionnaire.d.ts.map +1 -0
  50. package/dist/scroll-area.d.ts +9 -2
  51. package/dist/scroll-area.d.ts.map +1 -1
  52. package/dist/scroll-to-top.d.ts +1 -1
  53. package/dist/scroll-to-top.d.ts.map +1 -1
  54. package/dist/search.d.ts +6 -3
  55. package/dist/search.d.ts.map +1 -1
  56. package/dist/sidebar.d.ts +23 -23
  57. package/dist/sidebar.d.ts.map +1 -1
  58. package/dist/skeleton.d.ts +1 -1
  59. package/dist/skeleton.d.ts.map +1 -1
  60. package/dist/spinner.d.ts +1 -1
  61. package/dist/spinner.d.ts.map +1 -1
  62. package/dist/support-fab.d.ts +1 -1
  63. package/dist/support-fab.d.ts.map +1 -1
  64. package/dist/table-of-contents.d.ts +4 -4
  65. package/dist/table-of-contents.d.ts.map +1 -1
  66. package/dist/theme-provider.d.ts +1 -1
  67. package/dist/theme-provider.d.ts.map +1 -1
  68. package/dist/theme-toggle.d.ts +1 -1
  69. package/dist/theme-toggle.d.ts.map +1 -1
  70. package/dist/ui-native.cjs +2 -2
  71. package/dist/ui-native.esm.js +379 -266
  72. package/package.json +2 -1
  73. package/src/__contracts.ts +163 -0
  74. package/src/attachment.tsx +51 -0
  75. package/src/bubble.tsx +26 -0
  76. package/src/index.ts +51 -0
  77. package/src/marker.tsx +17 -0
  78. package/src/message-scroller.tsx +39 -0
  79. package/src/message.tsx +36 -0
  80. package/src/questionnaire.tsx +87 -0
  81. package/src/scroll-to-top.tsx +1 -1
  82. package/src/support-fab.tsx +25 -3
  83. package/src/switch.tsx +20 -58
  84. package/src/table-of-contents.tsx +7 -2
  85. package/src/tabs.tsx +16 -5
  86. package/dist/alert-dialog.d.ts +0 -51
  87. package/dist/alert-dialog.d.ts.map +0 -1
  88. package/dist/alert.d.ts +0 -10
  89. package/dist/alert.d.ts.map +0 -1
  90. package/dist/card.d.ts +0 -13
  91. package/dist/card.d.ts.map +0 -1
  92. package/dist/checkbox.d.ts +0 -15
  93. package/dist/checkbox.d.ts.map +0 -1
  94. package/dist/context-menu.d.ts +0 -61
  95. package/dist/context-menu.d.ts.map +0 -1
  96. package/dist/dialog.d.ts +0 -61
  97. package/dist/dialog.d.ts.map +0 -1
  98. package/dist/drawer.d.ts +0 -33
  99. package/dist/drawer.d.ts.map +0 -1
  100. package/dist/dropdown-menu.d.ts +0 -60
  101. package/dist/dropdown-menu.d.ts.map +0 -1
  102. package/dist/form.d.ts +0 -33
  103. package/dist/form.d.ts.map +0 -1
  104. package/dist/hover-card.d.ts +0 -23
  105. package/dist/hover-card.d.ts.map +0 -1
  106. package/dist/input.d.ts +0 -8
  107. package/dist/input.d.ts.map +0 -1
  108. package/dist/label.d.ts +0 -9
  109. package/dist/label.d.ts.map +0 -1
  110. package/dist/menubar.d.ts +0 -53
  111. package/dist/menubar.d.ts.map +0 -1
  112. package/dist/navigation-menu.d.ts +0 -14
  113. package/dist/navigation-menu.d.ts.map +0 -1
  114. package/dist/popover.d.ts +0 -9
  115. package/dist/popover.d.ts.map +0 -1
  116. package/dist/progress.d.ts +0 -6
  117. package/dist/progress.d.ts.map +0 -1
  118. package/dist/radio-group.d.ts +0 -11
  119. package/dist/radio-group.d.ts.map +0 -1
  120. package/dist/select.d.ts +0 -59
  121. package/dist/select.d.ts.map +0 -1
  122. package/dist/separator.d.ts +0 -9
  123. package/dist/separator.d.ts.map +0 -1
  124. package/dist/sheet.d.ts +0 -59
  125. package/dist/sheet.d.ts.map +0 -1
  126. package/dist/switch.d.ts +0 -8
  127. package/dist/switch.d.ts.map +0 -1
  128. package/dist/table.d.ts +0 -12
  129. package/dist/table.d.ts.map +0 -1
  130. package/dist/tabs.d.ts +0 -30
  131. package/dist/tabs.d.ts.map +0 -1
  132. package/dist/text.d.ts +0 -13
  133. package/dist/text.d.ts.map +0 -1
  134. package/dist/textarea.d.ts +0 -6
  135. package/dist/textarea.d.ts.map +0 -1
  136. package/dist/toast.d.ts +0 -35
  137. package/dist/toast.d.ts.map +0 -1
  138. package/dist/toggle-group.d.ts +0 -11
  139. package/dist/toggle-group.d.ts.map +0 -1
  140. package/dist/toggle.d.ts +0 -8
  141. package/dist/toggle.d.ts.map +0 -1
  142. package/dist/tooltip.d.ts +0 -30
  143. package/dist/tooltip.d.ts.map +0 -1
package/src/switch.tsx CHANGED
@@ -1,72 +1,34 @@
1
1
  import { SwitchBaseProps } from '@gv-tech/ui-core';
2
- import * as SwitchPrimitive from '@rn-primitives/switch';
2
+ import * as SwitchPrimitives from '@rn-primitives/switch';
3
3
  import * as React from 'react';
4
- import { StyleSheet } from 'react-native';
5
4
 
6
5
  import { cn } from './lib/utils';
7
6
 
8
7
  export interface SwitchProps
9
8
  extends
10
- Omit<React.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root>, 'checked' | 'onCheckedChange'>,
9
+ Omit<React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>, 'checked' | 'onCheckedChange'>,
11
10
  SwitchBaseProps {}
12
11
 
13
- const Switch = React.forwardRef<React.ComponentRef<typeof SwitchPrimitive.Root>, SwitchProps>(
14
- ({ className, checked = false, onCheckedChange, style, ...props }, ref) => {
15
- const isChecked = Boolean(checked);
16
-
17
- const resolvedStyle =
18
- typeof style === 'function'
19
- ? (state: unknown) => ({
20
- width: 44,
21
- height: 24,
22
- minWidth: 44,
23
- minHeight: 24,
24
- flexShrink: 0,
25
- padding: 2,
26
- ...(StyleSheet.flatten(style(state as never)) || {}),
27
- })
28
- : {
29
- width: 44,
30
- height: 24,
31
- minWidth: 44,
32
- minHeight: 24,
33
- flexShrink: 0,
34
- padding: 2,
35
- ...(StyleSheet.flatten(style) || {}),
36
- };
37
-
38
- return (
39
- <SwitchPrimitive.Root
40
- ref={ref}
41
- checked={isChecked}
42
- onCheckedChange={onCheckedChange || (() => {})}
12
+ const Switch = React.forwardRef<React.ComponentRef<typeof SwitchPrimitives.Root>, SwitchProps>(
13
+ ({ className, checked, onCheckedChange, ...props }, ref) => (
14
+ <SwitchPrimitives.Root
15
+ ref={ref}
16
+ checked={checked ?? false}
17
+ onCheckedChange={onCheckedChange || (() => {})}
18
+ className={cn(
19
+ 'peer focus-visible:ring-ring focus-visible:ring-offset-background data-[state=checked]:bg-primary data-[state=unchecked]:bg-input inline-flex h-6 w-11 shrink-0 cursor-pointer flex-row items-center rounded-full border-2 border-transparent transition-colors focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50',
20
+ className,
21
+ )}
22
+ {...props}
23
+ >
24
+ <SwitchPrimitives.Thumb
43
25
  className={cn(
44
- 'peer focus-visible:ring-ring focus-visible:ring-offset-background inline-flex h-6 w-11 shrink-0 cursor-pointer flex-row items-center rounded-full transition-colors focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50',
45
- isChecked ? 'bg-primary data-[state=checked]:bg-primary' : 'bg-input data-[state=unchecked]:bg-input',
46
- className,
26
+ 'bg-background pointer-events-none block h-5 w-5 rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-[18px] data-[state=unchecked]:translate-x-0',
47
27
  )}
48
- style={resolvedStyle as React.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root>['style']}
49
- {...props}
50
- >
51
- <SwitchPrimitive.Thumb
52
- className={cn(
53
- 'bg-background pointer-events-none block h-5 w-5 rounded-full shadow-md transition-transform',
54
- isChecked
55
- ? 'translate-x-5 data-[state=checked]:translate-x-5'
56
- : 'translate-x-0 data-[state=unchecked]:translate-x-0',
57
- )}
58
- style={{
59
- width: 20,
60
- height: 20,
61
- flexShrink: 0,
62
- transform: isChecked ? 'translateX(20px)' : 'translateX(0px)',
63
- marginLeft: isChecked ? 20 : 0,
64
- }}
65
- />
66
- </SwitchPrimitive.Root>
67
- );
68
- },
28
+ />
29
+ </SwitchPrimitives.Root>
30
+ ),
69
31
  );
70
- Switch.displayName = SwitchPrimitive.Root?.displayName || 'Switch';
32
+ Switch.displayName = SwitchPrimitives.Root.displayName;
71
33
 
72
34
  export { Switch };
@@ -180,12 +180,17 @@ export function TableOfContentsHeader({
180
180
  export function TableOfContentsList({ className }: { className?: string }) {
181
181
  const { headings, activeId, scrollToHeading } = useTOC();
182
182
 
183
+ const minLevel = React.useMemo(() => {
184
+ if (headings.length === 0) {
185
+ return 0;
186
+ }
187
+ return Math.min(...headings.map((h) => h.level));
188
+ }, [headings]);
189
+
183
190
  if (headings.length === 0) {
184
191
  return null;
185
192
  }
186
193
 
187
- const minLevel = Math.min(...headings.map((h) => h.level));
188
-
189
194
  return (
190
195
  <View className={cn('space-y-2 p-4', className)}>
191
196
  <Text variant="overline" className="mb-2 font-bold">
package/src/tabs.tsx CHANGED
@@ -5,13 +5,24 @@ import * as React from 'react';
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>((props, ref) => (
9
- <TabsPrimitive.Root ref={ref} {...props} />
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<React.ComponentPropsWithoutRef<typeof TabsPrimitive.Root>, 'onValueChange' | 'value'> &
14
- Omit<TabsBaseProps, 'value'> & { value: string; onValueChange: (value: string) => void };
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
@@ -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 @@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AClH,MAAM,MAAM,sBAAsB,GAAG,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
@@ -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
@@ -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"}
@@ -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
@@ -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"}
@@ -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
@@ -1 +0,0 @@
1
- {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../src/dialog.tsx"],"names":[],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a,CAAC,gBAAgB,CAAC,CAsC5G,CAAC;AAGJ,QAAA,MAAM,YAAY;8BAA6B,KAAK,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC;;CAEzF,CAAC;AAGF,QAAA,MAAM,YAAY;8BAA6B,KAAK,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC;;CAEzF,CAAC;AAGF,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,CAAC;AAC9E,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,CAAC;AAC5F,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,yBAAyB,CAAC,gBAAgB,GAAG,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAOrG,CAAC;AAGL,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,CAAC;AAC1F,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,CAAC;AACxG,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,yBAAyB,CACtD,sBAAsB,GAAG,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAOlE,CAAC;AAGH,OAAO,EACL,MAAM,EACN,WAAW,EACX,aAAa,EACb,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
@@ -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,EAC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emBaseProps, 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
@@ -1 +0,0 @@
1
- {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../src/form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAIL,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,kBAAkB,CAAC;AAM1B,QAAA,MAAM,IAAI,4MAAe,CAAC;AAW1B,QAAA,MAAM,SAAS,GACb,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,cAEC,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,4CAMtC,CAAC;AAEF,QAAA,MAAM,YAAY;;;;;;;;;;;CAyBjB,CAAC;AAQF,QAAA,MAAM,QAAQ,mHAWZ,CAAC;AAGH,QAAA,MAAM,SAAS;;;;;2HAOb,CAAC;AAGH,QAAA,MAAM,WAAW;eAEwE,KAAK,CAAC,SAAS;yCAatG,CAAC;AAGH,QAAA,MAAM,eAAe,0HAcnB,CAAC;AAGH,QAAA,MAAM,WAAW,sHAqBf,CAAC;AAGH,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,CAAC;AACzG,YAAY,EACV,oBAAoB,IAAI,gBAAgB,EACxC,wBAAwB,IAAI,oBAAoB,EAChD,iBAAiB,IAAI,aAAa,EAClC,kBAAkB,IAAI,cAAc,EACpC,oBAAoB,IAAI,gBAAgB,GACzC,CAAC"}
@@ -1,23 +0,0 @@
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
@@ -1 +0,0 @@
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;AAG/B,eAAO,MAAM,SAAS;;;;;;;;;CAA0B,CAAC;AAEjD,eAAO,MAAM,gBAAgB;;;;;;;;CAA6B,CAAC;AAE3D,eAAO,MAAM,gBAAgB,+GAkB3B,CAAC"}
package/dist/input.d.ts DELETED
@@ -1,8 +0,0 @@
1
- import { TextInput } from 'react-native';
2
- import { InputBaseProps } from '@gv-tech/ui-core';
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../src/input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGvD,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 DELETED
@@ -1,9 +0,0 @@
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
@@ -1 +0,0 @@
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"}