@campxdev/react-native-blueprint 0.1.3 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +153 -69
- package/lib/module/app/_layout.js +7 -1
- package/lib/module/app/_layout.js.map +1 -1
- package/lib/module/components/ui/Accordion.js.map +1 -1
- package/lib/module/components/ui/Alert-Dialog.js +2 -2
- package/lib/module/components/ui/Alert-Dialog.js.map +1 -1
- package/lib/module/components/ui/Alert.js +2 -2
- package/lib/module/components/ui/Alert.js.map +1 -1
- package/lib/module/components/ui/AppBar.js.map +1 -1
- package/lib/module/components/ui/Avatar.js +3 -3
- package/lib/module/components/ui/Avatar.js.map +1 -1
- package/lib/module/components/ui/Bottom-Sheet.js +9 -2
- package/lib/module/components/ui/Bottom-Sheet.js.map +1 -1
- package/lib/module/components/ui/Context-Menu.js +24 -24
- package/lib/module/components/ui/Context-Menu.js.map +1 -1
- package/lib/module/components/ui/Custom-Card.js +6 -2
- package/lib/module/components/ui/Custom-Card.js.map +1 -1
- package/lib/module/components/ui/Dialog.js +3 -3
- package/lib/module/components/ui/Dialog.js.map +1 -1
- package/lib/module/components/ui/Dropdown-Menu.js +3 -3
- package/lib/module/components/ui/Dropdown-Menu.js.map +1 -1
- package/lib/module/components/ui/Input.js +3 -2
- package/lib/module/components/ui/Input.js.map +1 -1
- package/lib/module/components/ui/Menubar.js +4 -4
- package/lib/module/components/ui/Menubar.js.map +1 -1
- package/lib/module/components/ui/Native-Only-Animated-View.js.map +1 -1
- package/lib/module/components/ui/NavBar.js.map +1 -1
- package/lib/module/components/ui/Progress.js +2 -2
- package/lib/module/components/ui/Progress.js.map +1 -1
- package/lib/module/components/ui/Select.js +3 -3
- package/lib/module/components/ui/Select.js.map +1 -1
- package/lib/module/components/ui/Separator.js +2 -2
- package/lib/module/components/ui/Separator.js.map +1 -1
- package/lib/module/components/ui/Skeleton.js +2 -2
- package/lib/module/components/ui/Skeleton.js.map +1 -1
- package/lib/module/components/ui/Slider.js +7 -2
- package/lib/module/components/ui/Slider.js.map +1 -1
- package/lib/module/components/ui/Table.js +2 -2
- package/lib/module/components/ui/Table.js.map +1 -1
- package/lib/module/components/ui/Text.js.map +1 -1
- package/lib/module/components/ui/Textarea.js +3 -2
- package/lib/module/components/ui/Textarea.js.map +1 -1
- package/lib/module/components/ui/Theme-Toggle.js +3 -3
- package/lib/module/components/ui/Theme-Toggle.js.map +1 -1
- package/lib/module/components/ui/Toast.js +2 -2
- package/lib/module/components/ui/Toast.js.map +1 -1
- package/lib/module/index.js +4 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/lib/slot-helpers.js +19 -0
- package/lib/module/lib/slot-helpers.js.map +1 -0
- package/lib/module/types/components.d.js +4 -0
- package/lib/module/types/components.d.js.map +1 -0
- package/lib/module/types/global.d.js +5 -0
- package/lib/module/types/global.d.js.map +1 -1
- package/lib/module/types/rn-primitives.d.js +56 -1
- package/lib/module/types/rn-primitives.d.js.map +1 -1
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/app/_layout.d.ts +0 -1
- package/lib/typescript/src/app/_layout.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Accordion.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Alert-Dialog.d.ts +3 -26
- package/lib/typescript/src/components/ui/Alert-Dialog.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Alert.d.ts +3 -2
- package/lib/typescript/src/components/ui/Alert.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/AppBar.d.ts +3 -3
- package/lib/typescript/src/components/ui/AppBar.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Aspect-Ratio.d.ts +2 -8
- package/lib/typescript/src/components/ui/Aspect-Ratio.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Avatar.d.ts +472 -337
- package/lib/typescript/src/components/ui/Avatar.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Badge.d.ts +9 -136
- package/lib/typescript/src/components/ui/Badge.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Bottom-Sheet.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Button.d.ts +12 -165
- package/lib/typescript/src/components/ui/Button.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Card.d.ts +7 -768
- package/lib/typescript/src/components/ui/Card.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Collapsible.d.ts +4 -33
- package/lib/typescript/src/components/ui/Collapsible.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Context-Menu.d.ts +6 -49
- package/lib/typescript/src/components/ui/Context-Menu.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Custom-Card.d.ts +7 -768
- package/lib/typescript/src/components/ui/Custom-Card.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Dialog.d.ts +4 -40
- package/lib/typescript/src/components/ui/Dialog.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Dropdown-Menu.d.ts +7 -49
- package/lib/typescript/src/components/ui/Dropdown-Menu.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Hover-Card.d.ts +2 -21
- package/lib/typescript/src/components/ui/Hover-Card.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Input.d.ts +5 -3
- package/lib/typescript/src/components/ui/Input.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Label.d.ts +2 -73
- package/lib/typescript/src/components/ui/Label.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Menubar.d.ts +6 -39
- package/lib/typescript/src/components/ui/Menubar.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/NavBar.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Popover.d.ts +2 -19
- package/lib/typescript/src/components/ui/Popover.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Progress.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Select.d.ts +5 -26
- package/lib/typescript/src/components/ui/Select.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Separator.d.ts +2 -128
- package/lib/typescript/src/components/ui/Separator.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Skeleton.d.ts +4 -2
- package/lib/typescript/src/components/ui/Skeleton.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Slider.d.ts +2 -1
- package/lib/typescript/src/components/ui/Slider.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Table.d.ts +16 -6
- package/lib/typescript/src/components/ui/Table.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Text.d.ts +3 -74
- package/lib/typescript/src/components/ui/Text.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Textarea.d.ts +7 -3
- package/lib/typescript/src/components/ui/Textarea.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Theme-Toggle.d.ts +1 -128
- package/lib/typescript/src/components/ui/Theme-Toggle.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Toast.d.ts +3 -2
- package/lib/typescript/src/components/ui/Toast.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Toggle.d.ts +4 -4
- package/lib/typescript/src/components/ui/Toggle.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Tooltip.d.ts +2 -22
- package/lib/typescript/src/components/ui/Tooltip.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +2 -0
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/lib/slot-helpers.d.ts +32 -0
- package/lib/typescript/src/lib/slot-helpers.d.ts.map +1 -0
- package/nativewind-env.d.ts +7 -0
- package/package.json +24 -7
- package/src/app/_layout.tsx +7 -1
- package/src/components/ui/Accordion.tsx +3 -1
- package/src/components/ui/Alert-Dialog.tsx +5 -3
- package/src/components/ui/Alert.tsx +7 -4
- package/src/components/ui/AppBar.tsx +6 -2
- package/src/components/ui/Avatar.tsx +10 -6
- package/src/components/ui/Bottom-Sheet.tsx +10 -2
- package/src/components/ui/Context-Menu.tsx +15 -4
- package/src/components/ui/Custom-Card.tsx +6 -1
- package/src/components/ui/Dialog.tsx +13 -3
- package/src/components/ui/Dropdown-Menu.tsx +8 -4
- package/src/components/ui/Input.tsx +12 -4
- package/src/components/ui/Menubar.tsx +13 -6
- package/src/components/ui/Native-Only-Animated-View.tsx +1 -1
- package/src/components/ui/NavBar.tsx +9 -3
- package/src/components/ui/Progress.tsx +4 -2
- package/src/components/ui/Select.tsx +18 -6
- package/src/components/ui/Separator.tsx +4 -2
- package/src/components/ui/Skeleton.tsx +5 -3
- package/src/components/ui/Slider.tsx +8 -2
- package/src/components/ui/Table.tsx +9 -7
- package/src/components/ui/Text.tsx +1 -6
- package/src/components/ui/Textarea.tsx +15 -4
- package/src/components/ui/Theme-Toggle.tsx +7 -3
- package/src/components/ui/Toast.tsx +6 -3
- package/src/index.tsx +4 -0
- package/src/lib/slot-helpers.ts +57 -0
- package/src/types/components.d.ts +38 -0
- package/src/types/global.d.ts +178 -4
- package/src/types/rn-primitives.d.ts +1403 -46
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Custom-Card.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Custom-Card.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Custom-Card.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Custom-Card.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,sBAAsB,CAAC;AACxE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,QAAA,MAAM,UAAU;gBAGA,MAAM;mBACH,MAAM;sBACH,MAAM;yHA8C3B,CAAC;AAGF;;;;;;;GAOG;AACH,QAAA,MAAM,gBAAgB;gBAEe,MAAM;yHAUzC,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,eAAe;gBAEgB,MAAM;yHAazC,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,qBAAqB;gBAEU,MAAM;yHAazC,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,iBAAiB;gBAEc,MAAM;yHAMzC,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,gBAAgB;gBAEe,MAAM;yHAUzC,CAAC;AAGH,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,GAChB,CAAC"}
|
|
@@ -26,55 +26,19 @@ import { type ViewProps } from 'react-native';
|
|
|
26
26
|
* </Dialog>
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
|
-
declare const Dialog: React.ForwardRefExoticComponent<
|
|
30
|
-
asChild?: boolean;
|
|
31
|
-
} & {
|
|
32
|
-
open?: boolean;
|
|
33
|
-
defaultOpen?: boolean;
|
|
34
|
-
onOpenChange?: (value: boolean) => void;
|
|
35
|
-
} & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
36
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
37
|
-
}> & {
|
|
38
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
39
|
-
}) => React.ReactNode>>;
|
|
29
|
+
declare const Dialog: React.ForwardRefExoticComponent<DialogPrimitive.RootProps>;
|
|
40
30
|
/**
|
|
41
31
|
* Trigger button that opens the dialog
|
|
42
32
|
*/
|
|
43
|
-
declare const DialogTrigger: React.ForwardRefExoticComponent<
|
|
44
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
45
|
-
}> & {
|
|
46
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
47
|
-
}) => React.ReactNode>, "ref"> & {
|
|
48
|
-
asChild?: boolean;
|
|
49
|
-
} & {
|
|
50
|
-
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
51
|
-
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
52
|
-
} & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
53
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
54
|
-
}> & {
|
|
55
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
56
|
-
}) => React.ReactNode>>;
|
|
33
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.TriggerProps>;
|
|
57
34
|
/**
|
|
58
35
|
* Portal component for rendering dialog outside DOM hierarchy
|
|
59
36
|
*/
|
|
60
|
-
declare const DialogPortal:
|
|
37
|
+
declare const DialogPortal: React.ForwardRefExoticComponent<DialogPrimitive.PortalProps>;
|
|
61
38
|
/**
|
|
62
39
|
* Close button component for manually closing the dialog
|
|
63
40
|
*/
|
|
64
|
-
declare const DialogClose: React.ForwardRefExoticComponent<
|
|
65
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
66
|
-
}> & {
|
|
67
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
68
|
-
}) => React.ReactNode>, "ref"> & {
|
|
69
|
-
asChild?: boolean;
|
|
70
|
-
} & {
|
|
71
|
-
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
72
|
-
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
73
|
-
} & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
74
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
75
|
-
}> & {
|
|
76
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
77
|
-
}) => React.ReactNode>>;
|
|
41
|
+
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.CloseProps>;
|
|
78
42
|
/**
|
|
79
43
|
* Semi-transparent overlay behind the dialog
|
|
80
44
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Dialog.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AAEzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Dialog.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AAEzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAIL,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAYtB;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,QAAA,MAAM,MAAM,4DAAuB,CAAC;AAEpC;;GAEG;AACH,QAAA,MAAM,aAAa,+DAA0B,CAAC;AAE9C;;GAEG;AACH,QAAA,MAAM,YAAY,8DAAyB,CAAC;AAE5C;;GAEG;AACH,QAAA,MAAM,WAAW,6DAAwB,CAAC;AAK1C;;;;;GAKG;AACH,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,eAAe,CAAC,YAAY,EAAE,SAAS,CAAC,GAC9C,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG;IAChD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,2CA4BF;AAED;;;;;;;;GAQG;AACH,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,UAAU,EACV,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,eAAe,CAAC,YAAY,GAC7B,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG;IAChD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,2CAqCF;AAED;;;;;GAKG;AACH,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAOvD;AAED;;;;;GAKG;AACH,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAUvD;AAED;;;;GAIG;AACH,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,CAAC,UAAU,GAAG,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC,QAAQ,CAAC,2CAU5E;AAED;;;;GAIG;AACH,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,CAAC,gBAAgB,GACjC,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC,cAAc,CAAC,2CAOpD;AAED,OAAO,EACL,MAAM,EACN,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,WAAW,EACX,aAAa,GACd,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as DropdownMenuPrimitive from '@rn-primitives/dropdown-menu';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { type StyleProp,
|
|
3
|
+
import { type StyleProp, type TextProps, type ViewStyle } from 'react-native';
|
|
4
4
|
/**
|
|
5
5
|
* Root component for dropdown menu - provides context for all dropdown menu children
|
|
6
6
|
*
|
|
@@ -21,79 +21,37 @@ import { type StyleProp, Text, type TextProps, type ViewStyle } from 'react-nati
|
|
|
21
21
|
* </DropdownMenu>
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
|
-
declare const DropdownMenu: React.ForwardRefExoticComponent<
|
|
25
|
-
asChild?: boolean;
|
|
26
|
-
} & {
|
|
27
|
-
onOpenChange?: (open: boolean) => void;
|
|
28
|
-
} & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
29
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
30
|
-
}> & {
|
|
31
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
32
|
-
}) => React.ReactNode>>;
|
|
24
|
+
declare const DropdownMenu: React.ForwardRefExoticComponent<DropdownMenuPrimitive.RootProps>;
|
|
33
25
|
/**
|
|
34
26
|
* Trigger component that opens the dropdown menu when pressed
|
|
35
27
|
*
|
|
36
28
|
* @component
|
|
37
29
|
*/
|
|
38
|
-
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<
|
|
39
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
40
|
-
}> & {
|
|
41
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
42
|
-
}) => React.ReactNode>, "ref"> & {
|
|
43
|
-
asChild?: boolean;
|
|
44
|
-
} & {
|
|
45
|
-
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
46
|
-
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
47
|
-
} & React.RefAttributes<import("@rn-primitives/dropdown-menu").TriggerRef>>;
|
|
30
|
+
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.TriggerProps>;
|
|
48
31
|
/**
|
|
49
32
|
* Groups related menu items together
|
|
50
33
|
*
|
|
51
34
|
* @component
|
|
52
35
|
*/
|
|
53
|
-
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<
|
|
54
|
-
asChild?: boolean;
|
|
55
|
-
} & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
56
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
57
|
-
}> & {
|
|
58
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
59
|
-
}) => React.ReactNode>>;
|
|
36
|
+
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.GroupProps>;
|
|
60
37
|
/**
|
|
61
38
|
* Portal component to render menu content outside the DOM hierarchy
|
|
62
39
|
*
|
|
63
40
|
* @component
|
|
64
41
|
*/
|
|
65
|
-
declare const DropdownMenuPortal:
|
|
42
|
+
declare const DropdownMenuPortal: React.ForwardRefExoticComponent<DropdownMenuPrimitive.PortalProps>;
|
|
66
43
|
/**
|
|
67
44
|
* Root component for nested submenu
|
|
68
45
|
*
|
|
69
46
|
* @component
|
|
70
47
|
*/
|
|
71
|
-
declare const DropdownMenuSub: React.ForwardRefExoticComponent<
|
|
72
|
-
asChild?: boolean;
|
|
73
|
-
} & {
|
|
74
|
-
defaultOpen?: boolean;
|
|
75
|
-
open?: boolean;
|
|
76
|
-
onOpenChange?: (value: boolean) => void;
|
|
77
|
-
} & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
78
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
79
|
-
}> & {
|
|
80
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
81
|
-
}) => React.ReactNode>>;
|
|
48
|
+
declare const DropdownMenuSub: React.ForwardRefExoticComponent<DropdownMenuPrimitive.SubProps>;
|
|
82
49
|
/**
|
|
83
50
|
* Groups radio items together with single selection
|
|
84
51
|
*
|
|
85
52
|
* @component
|
|
86
53
|
*/
|
|
87
|
-
declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<
|
|
88
|
-
asChild?: boolean;
|
|
89
|
-
} & {
|
|
90
|
-
value: string | undefined;
|
|
91
|
-
onValueChange: (value: string) => void;
|
|
92
|
-
} & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
93
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
94
|
-
}> & {
|
|
95
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
96
|
-
}) => React.ReactNode>>;
|
|
54
|
+
declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.RadioGroupProps>;
|
|
97
55
|
/**
|
|
98
56
|
* Trigger for opening a nested submenu
|
|
99
57
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown-Menu.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Dropdown-Menu.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,qBAAqB,MAAM,8BAA8B,CAAC;AAOtE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"Dropdown-Menu.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Dropdown-Menu.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,qBAAqB,MAAM,8BAA8B,CAAC;AAOtE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,KAAK,SAAS,EAGd,KAAK,SAAS,EAEd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAYtB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,YAAY,kEAA6B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AC,aAAa,CAAC,qBAAqB,CAAC,YAAY,CAAC,2CAOxD;AAED;;;;;;;;;;;;;GAaG;AACH,iBAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,2CAUvC;AAED,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,GACpB,CAAC"}
|
|
@@ -16,32 +16,13 @@ import * as React from 'react';
|
|
|
16
16
|
* </HoverCard>
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
|
-
declare const HoverCard: React.ForwardRefExoticComponent<
|
|
20
|
-
asChild?: boolean;
|
|
21
|
-
} & {
|
|
22
|
-
onOpenChange?: (open: boolean) => void;
|
|
23
|
-
openDelay?: number;
|
|
24
|
-
closeDelay?: number;
|
|
25
|
-
} & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
26
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
27
|
-
}> & {
|
|
28
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
29
|
-
}) => React.ReactNode>>;
|
|
19
|
+
declare const HoverCard: React.ForwardRefExoticComponent<HoverCardPrimitive.RootProps>;
|
|
30
20
|
/**
|
|
31
21
|
* Trigger component that shows hover card content on hover/press
|
|
32
22
|
*
|
|
33
23
|
* @component
|
|
34
24
|
*/
|
|
35
|
-
declare const HoverCardTrigger: React.ForwardRefExoticComponent<
|
|
36
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
37
|
-
}> & {
|
|
38
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
39
|
-
}) => React.ReactNode>, "ref"> & {
|
|
40
|
-
asChild?: boolean;
|
|
41
|
-
} & {
|
|
42
|
-
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
43
|
-
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
44
|
-
} & React.RefAttributes<import("@rn-primitives/hover-card").TriggerRef>>;
|
|
25
|
+
declare const HoverCardTrigger: React.ForwardRefExoticComponent<HoverCardPrimitive.TriggerProps>;
|
|
45
26
|
/**
|
|
46
27
|
* Content container for hover card
|
|
47
28
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Hover-Card.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Hover-Card.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"Hover-Card.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Hover-Card.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,SAAS,+DAA0B,CAAC;AAE1C;;;;GAIG;AACH,QAAA,MAAM,gBAAgB,kEAA6B,CAAC;AAQpD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,KAAgB,EAChB,UAAc,EACd,GAAG,KAAK,EACT,EAAE,kBAAkB,CAAC,YAAY,GAChC,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,UAAU,CAAC,2CA+BnD;AAED,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TextInput as RNTextInput, type TextInputProps } from 'react-native';
|
|
2
3
|
/**
|
|
3
4
|
* Props for Input component
|
|
4
5
|
*
|
|
@@ -6,8 +7,9 @@ import { TextInput, type TextInputProps } from 'react-native';
|
|
|
6
7
|
* @property {string} [className] - Additional Tailwind classes for custom styling
|
|
7
8
|
* @property {boolean} [editable=true] - Whether the input is editable (disabled when false)
|
|
8
9
|
*/
|
|
9
|
-
interface InputProps extends TextInputProps {
|
|
10
|
+
interface InputProps extends Omit<TextInputProps, 'editable'> {
|
|
10
11
|
className?: string;
|
|
12
|
+
editable?: boolean;
|
|
11
13
|
}
|
|
12
14
|
/**
|
|
13
15
|
* A styled text input component with consistent design across platforms
|
|
@@ -46,7 +48,7 @@ interface InputProps extends TextInputProps {
|
|
|
46
48
|
* - Placeholder text uses appropriate contrast colors
|
|
47
49
|
* - Disabled state is visually indicated with opacity
|
|
48
50
|
*/
|
|
49
|
-
declare function Input({ className, editable, ...props }: InputProps & React.RefAttributes<
|
|
51
|
+
declare function Input({ className, editable, ...props }: InputProps & React.RefAttributes<RNTextInput>): import("react/jsx-runtime").JSX.Element;
|
|
50
52
|
export { Input };
|
|
51
53
|
export type { InputProps };
|
|
52
54
|
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Input.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,SAAS,IAAI,WAAW,EACxB,KAAK,cAAc,EACpB,MAAM,cAAc,CAAC;AAOtB;;;;;;GAMG;AACH,UAAU,UAAW,SAAQ,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,QAAe,EACf,GAAG,KAAK,EACT,EAAE,UAAU,GAAG,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,2CA4B/C;AAED,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import type { SlottableTextProps } from '@rn-primitives/types';
|
|
2
3
|
/**
|
|
3
4
|
* Accessible label component for form controls
|
|
4
5
|
*
|
|
@@ -26,79 +27,7 @@ import * as React from 'react';
|
|
|
26
27
|
* - Reduced opacity when associated control is disabled
|
|
27
28
|
* - Screen reader compatible
|
|
28
29
|
*/
|
|
29
|
-
declare const Label: React.ForwardRefExoticComponent<
|
|
30
|
-
onPointerEnter?: (event: import("react-native").PointerEvent) => void;
|
|
31
|
-
onPointerLeave?: (event: import("react-native").PointerEvent) => void;
|
|
32
|
-
onPointerMove?: (event: import("react-native").PointerEvent) => void;
|
|
33
|
-
}>, "onMoveShouldSetResponder" | "onResponderGrant" | "onResponderMove" | "onResponderRelease" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "children" | "disabled" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "id" | "onLayout" | "accessibilityLabel" | "accessible" | "testID" | "style" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectionColor" | "dataDetectorType" | "textBreakStrategy" | "minimumFontScale" | "onAccessibilityAction" | "allowFontScaling" | "android_hyphenationFrequency" | "ellipsizeMode" | "maxFontSizeMultiplier" | "nativeID" | "numberOfLines" | "onTextLayout" | "pressRetentionOffset" | "role" | "selectable" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable"> & Omit<import("react-native/types_generated/Libraries/Text/TextProps").TextPropsIOS, "onMoveShouldSetResponder" | "onResponderGrant" | "onResponderMove" | "onResponderRelease" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "children" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "id" | "onLayout" | "accessibilityLabel" | "accessible" | "testID" | "style" | keyof import("react-native/types_generated/Libraries/Text/TextProps").TextPropsAndroid | "onAccessibilityAction" | "allowFontScaling" | "android_hyphenationFrequency" | "ellipsizeMode" | "maxFontSizeMultiplier" | "nativeID" | "numberOfLines" | "onTextLayout" | "pressRetentionOffset" | "role" | "selectable" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable"> & Omit<import("react-native/types_generated/Libraries/Text/TextProps").TextPropsAndroid, "onMoveShouldSetResponder" | "onResponderGrant" | "onResponderMove" | "onResponderRelease" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "children" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "id" | "onLayout" | "accessibilityLabel" | "accessible" | "testID" | "style" | "onAccessibilityAction" | "allowFontScaling" | "android_hyphenationFrequency" | "ellipsizeMode" | "maxFontSizeMultiplier" | "nativeID" | "numberOfLines" | "onTextLayout" | "pressRetentionOffset" | "role" | "selectable" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable"> & Omit<Readonly<{
|
|
34
|
-
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
|
|
35
|
-
allowFontScaling?: boolean | undefined;
|
|
36
|
-
android_hyphenationFrequency?: ("normal" | "none" | "full") | undefined;
|
|
37
|
-
children?: React.ReactNode | undefined;
|
|
38
|
-
ellipsizeMode?: ("clip" | "head" | "middle" | "tail") | undefined;
|
|
39
|
-
id?: string;
|
|
40
|
-
maxFontSizeMultiplier?: number | undefined;
|
|
41
|
-
nativeID?: string | undefined;
|
|
42
|
-
numberOfLines?: number | undefined;
|
|
43
|
-
onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
|
|
44
|
-
onLongPress?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
45
|
-
onPress?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
46
|
-
onPressIn?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
47
|
-
onPressOut?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
48
|
-
onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
49
|
-
onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
50
|
-
onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
51
|
-
onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
52
|
-
onResponderTerminationRequest?: (() => boolean) | undefined;
|
|
53
|
-
onStartShouldSetResponder?: (() => boolean) | undefined;
|
|
54
|
-
onMoveShouldSetResponder?: (() => boolean) | undefined;
|
|
55
|
-
onTextLayout?: ((event: import("react-native").TextLayoutEvent) => unknown) | undefined;
|
|
56
|
-
pressRetentionOffset?: import("react-native/types_generated/Libraries/Text/TextProps").PressRetentionOffset | undefined;
|
|
57
|
-
role?: import("react-native").Role | undefined;
|
|
58
|
-
selectable?: boolean | undefined;
|
|
59
|
-
style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").TextStyleProp | undefined;
|
|
60
|
-
testID?: string | undefined;
|
|
61
|
-
}>, "accessibilityLabel" | "accessible" | "role" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable"> & Omit<Readonly<Omit<Readonly<{
|
|
62
|
-
accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
|
|
63
|
-
"aria-labelledby"?: string | undefined;
|
|
64
|
-
accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
|
|
65
|
-
"aria-live"?: ("polite" | "assertive" | "off") | undefined;
|
|
66
|
-
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
|
|
67
|
-
screenReaderFocusable?: boolean;
|
|
68
|
-
}>, "accessibilityLabel" | "accessible" | "role" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & Omit<Readonly<{
|
|
69
|
-
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
70
|
-
accessibilityViewIsModal?: boolean | undefined;
|
|
71
|
-
accessibilityShowsLargeContentViewer?: boolean | undefined;
|
|
72
|
-
accessibilityLargeContentTitle?: string | undefined;
|
|
73
|
-
"aria-modal"?: boolean | undefined;
|
|
74
|
-
accessibilityElementsHidden?: boolean | undefined;
|
|
75
|
-
accessibilityLanguage?: string | undefined;
|
|
76
|
-
accessibilityRespondsToUserInteraction?: boolean | undefined;
|
|
77
|
-
}>, "accessibilityLabel" | "accessible" | "role" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & {
|
|
78
|
-
accessible?: boolean | undefined;
|
|
79
|
-
accessibilityLabel?: string | undefined;
|
|
80
|
-
accessibilityHint?: string | undefined;
|
|
81
|
-
"aria-label"?: string | undefined;
|
|
82
|
-
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
83
|
-
role?: import("react-native").Role | undefined;
|
|
84
|
-
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
85
|
-
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
86
|
-
"aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
|
|
87
|
-
"aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
|
|
88
|
-
"aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
|
|
89
|
-
"aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
|
|
90
|
-
accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
|
|
91
|
-
"aria-busy"?: boolean | undefined;
|
|
92
|
-
"aria-checked"?: (boolean | undefined) | "mixed";
|
|
93
|
-
"aria-disabled"?: boolean | undefined;
|
|
94
|
-
"aria-expanded"?: boolean | undefined;
|
|
95
|
-
"aria-selected"?: boolean | undefined;
|
|
96
|
-
"aria-hidden"?: boolean | undefined;
|
|
97
|
-
}>, never>>, "ref"> & {
|
|
98
|
-
ref?: React.Ref<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>;
|
|
99
|
-
}, "ref"> & {
|
|
100
|
-
asChild?: boolean;
|
|
101
|
-
} & {
|
|
30
|
+
declare const Label: React.ForwardRefExoticComponent<SlottableTextProps & {
|
|
102
31
|
className?: string;
|
|
103
32
|
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
104
33
|
export { Label };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,sBAAsB,CAAC;AAExE;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,QAAA,MAAM,KAAK;gBAE0B,MAAM;yHAUzC,CAAC;AAGH,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -1,69 +1,36 @@
|
|
|
1
1
|
import * as MenubarPrimitive from '@rn-primitives/menubar';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { type StyleProp,
|
|
3
|
+
import { type StyleProp, type TextProps, type ViewStyle } from 'react-native';
|
|
4
4
|
/**
|
|
5
5
|
* Individual menu within the menubar
|
|
6
6
|
*
|
|
7
7
|
* @component
|
|
8
8
|
*/
|
|
9
|
-
declare const MenubarMenu: React.ForwardRefExoticComponent<
|
|
10
|
-
asChild?: boolean;
|
|
11
|
-
} & {
|
|
12
|
-
value: string | undefined;
|
|
13
|
-
} & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
14
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
15
|
-
}> & {
|
|
16
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
17
|
-
}) => React.ReactNode>>;
|
|
9
|
+
declare const MenubarMenu: React.ForwardRefExoticComponent<MenubarPrimitive.MenuProps>;
|
|
18
10
|
/**
|
|
19
11
|
* Groups related menu items together
|
|
20
12
|
*
|
|
21
13
|
* @component
|
|
22
14
|
*/
|
|
23
|
-
declare const MenubarGroup: React.ForwardRefExoticComponent<
|
|
24
|
-
asChild?: boolean;
|
|
25
|
-
} & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
26
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
27
|
-
}> & {
|
|
28
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
29
|
-
}) => React.ReactNode>>;
|
|
15
|
+
declare const MenubarGroup: React.ForwardRefExoticComponent<MenubarPrimitive.GroupProps>;
|
|
30
16
|
/**
|
|
31
17
|
* Portal component to render menu content outside the DOM hierarchy
|
|
32
18
|
*
|
|
33
19
|
* @component
|
|
34
20
|
*/
|
|
35
|
-
declare const MenubarPortal:
|
|
21
|
+
declare const MenubarPortal: React.ForwardRefExoticComponent<MenubarPrimitive.PortalProps>;
|
|
36
22
|
/**
|
|
37
23
|
* Root component for nested submenu
|
|
38
24
|
*
|
|
39
25
|
* @component
|
|
40
26
|
*/
|
|
41
|
-
declare const MenubarSub: React.ForwardRefExoticComponent<
|
|
42
|
-
asChild?: boolean;
|
|
43
|
-
} & {
|
|
44
|
-
defaultOpen?: boolean;
|
|
45
|
-
open?: boolean;
|
|
46
|
-
onOpenChange?: (value: boolean) => void;
|
|
47
|
-
} & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
48
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
49
|
-
}> & {
|
|
50
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
51
|
-
}) => React.ReactNode>>;
|
|
27
|
+
declare const MenubarSub: React.ForwardRefExoticComponent<MenubarPrimitive.SubProps>;
|
|
52
28
|
/**
|
|
53
29
|
* Groups radio items together with single selection
|
|
54
30
|
*
|
|
55
31
|
* @component
|
|
56
32
|
*/
|
|
57
|
-
declare const MenubarRadioGroup: React.ForwardRefExoticComponent<
|
|
58
|
-
asChild?: boolean;
|
|
59
|
-
} & {
|
|
60
|
-
value: string | undefined;
|
|
61
|
-
onValueChange: (value: string) => void;
|
|
62
|
-
} & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
63
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
64
|
-
}> & {
|
|
65
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
66
|
-
}) => React.ReactNode>>;
|
|
33
|
+
declare const MenubarRadioGroup: React.ForwardRefExoticComponent<MenubarPrimitive.RadioGroupProps>;
|
|
67
34
|
/**
|
|
68
35
|
* Root menubar component for application-level menu navigation
|
|
69
36
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menubar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Menubar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC;AAQ3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAGL,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"Menubar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Menubar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC;AAQ3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAGL,KAAK,SAAS,EAGd,KAAK,SAAS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AACH,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,UAAU,GAC5B,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,QAAQ,CAAC,GAAG;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,2CAWF;AAED;;;GAGG;AACH,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,cAAc,GAChC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,YAAY,CAAC,2CAOnD;AAED;;;GAGG;AACH,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,2CAUvC;AAED,OAAO,EACL,OAAO,EACP,mBAAmB,EACnB,cAAc,EACd,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,GACf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/NavBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"NavBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/NavBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAkBxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,mBAAmB,GAAG,KAAK,CAAC,YAAY,CAAC;IAC/C,UAAU,EAAE,mBAAmB,GAAG,KAAK,CAAC,YAAY,CAAC;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoLG;AACH,QAAA,MAAM,MAAM,qKA4GX,CAAC;AAIF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -18,30 +18,13 @@ import * as React from 'react';
|
|
|
18
18
|
* </Popover>
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
21
|
-
declare const Popover: React.ForwardRefExoticComponent<
|
|
22
|
-
asChild?: boolean;
|
|
23
|
-
} & {
|
|
24
|
-
onOpenChange?: (open: boolean) => void;
|
|
25
|
-
} & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
26
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
27
|
-
}> & {
|
|
28
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
29
|
-
}) => React.ReactNode>>;
|
|
21
|
+
declare const Popover: React.ForwardRefExoticComponent<PopoverPrimitive.RootProps>;
|
|
30
22
|
/**
|
|
31
23
|
* Trigger component that opens the popover when pressed
|
|
32
24
|
*
|
|
33
25
|
* @component
|
|
34
26
|
*/
|
|
35
|
-
declare const PopoverTrigger: React.ForwardRefExoticComponent<
|
|
36
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
37
|
-
}> & {
|
|
38
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
39
|
-
}) => React.ReactNode>, "ref"> & {
|
|
40
|
-
asChild?: boolean;
|
|
41
|
-
} & {
|
|
42
|
-
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
43
|
-
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
44
|
-
} & React.RefAttributes<import("@rn-primitives/popover").TriggerRef>>;
|
|
27
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.TriggerProps>;
|
|
45
28
|
/**
|
|
46
29
|
* Content container for popover
|
|
47
30
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Popover.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;;;;;;;;;;GAiBG;AACH,QAAA,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Popover.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;;;;;;;;;;GAiBG;AACH,QAAA,MAAM,OAAO,6DAAwB,CAAC;AAEtC;;;;GAIG;AACH,QAAA,MAAM,cAAc,gEAA2B,CAAC;AAQhD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,KAAgB,EAChB,UAAc,EACd,UAAU,EACV,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,YAAY,GAC9B,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG;IACjD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,2CAkCF;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Progress.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Progress.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,iBAAiB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"Progress.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Progress.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,iBAAiB,MAAM,yBAAyB,CAAC;AAe7D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,KAAK,EACL,kBAAkB,EAClB,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,SAAS,GAC5B,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,OAAO,CAAC,GAAG;IAC/C,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,2CAYF;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as SelectPrimitive from '@rn-primitives/select';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
|
|
3
|
+
declare const ScrollView: React.ComponentType<any>;
|
|
4
4
|
/**
|
|
5
5
|
* Option type for select items
|
|
6
6
|
*/
|
|
@@ -23,33 +23,12 @@ type Option = SelectPrimitive.Option;
|
|
|
23
23
|
* </Select>
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
26
|
-
declare const Select: React.ForwardRefExoticComponent<
|
|
27
|
-
asChild?: boolean;
|
|
28
|
-
} & {
|
|
29
|
-
value?: import("@rn-primitives/select").Option;
|
|
30
|
-
defaultValue?: import("@rn-primitives/select").Option;
|
|
31
|
-
onValueChange?: (option: import("@rn-primitives/select").Option) => void;
|
|
32
|
-
onOpenChange?: (open: boolean) => void;
|
|
33
|
-
disabled?: boolean;
|
|
34
|
-
dir?: "ltr" | "rtl";
|
|
35
|
-
name?: string;
|
|
36
|
-
required?: boolean;
|
|
37
|
-
} & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
38
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
39
|
-
}> & {
|
|
40
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
41
|
-
}) => React.ReactNode>>;
|
|
26
|
+
declare const Select: React.ForwardRefExoticComponent<SelectPrimitive.RootProps>;
|
|
42
27
|
/**
|
|
43
28
|
* Groups related select items together
|
|
44
29
|
* @component
|
|
45
30
|
*/
|
|
46
|
-
declare const SelectGroup: React.ForwardRefExoticComponent<
|
|
47
|
-
asChild?: boolean;
|
|
48
|
-
} & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
|
|
49
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
50
|
-
}> & {
|
|
51
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
52
|
-
}) => React.ReactNode>>;
|
|
31
|
+
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.GroupProps>;
|
|
53
32
|
/**
|
|
54
33
|
* Displays the selected value or placeholder text
|
|
55
34
|
* @component
|
|
@@ -92,12 +71,12 @@ declare function SelectSeparator({ className, ...props }: SelectPrimitive.Separa
|
|
|
92
71
|
* @platform Web only
|
|
93
72
|
* Returns null on native platforms
|
|
94
73
|
*/
|
|
95
|
-
declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): import("react/jsx-runtime").JSX.Element;
|
|
74
|
+
declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): import("react/jsx-runtime").JSX.Element | null;
|
|
96
75
|
/**
|
|
97
76
|
* @platform Web only
|
|
98
77
|
* Returns null on native platforms
|
|
99
78
|
*/
|
|
100
|
-
declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): import("react/jsx-runtime").JSX.Element;
|
|
79
|
+
declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): import("react/jsx-runtime").JSX.Element | null;
|
|
101
80
|
/**
|
|
102
81
|
* @platform Native only
|
|
103
82
|
* Returns the children on the web
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Select.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AAOzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Select.tsx"],"names":[],"mappings":"AAIA,OAA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