@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.
Files changed (157) hide show
  1. package/README.md +153 -69
  2. package/lib/module/app/_layout.js +7 -1
  3. package/lib/module/app/_layout.js.map +1 -1
  4. package/lib/module/components/ui/Accordion.js.map +1 -1
  5. package/lib/module/components/ui/Alert-Dialog.js +2 -2
  6. package/lib/module/components/ui/Alert-Dialog.js.map +1 -1
  7. package/lib/module/components/ui/Alert.js +2 -2
  8. package/lib/module/components/ui/Alert.js.map +1 -1
  9. package/lib/module/components/ui/AppBar.js.map +1 -1
  10. package/lib/module/components/ui/Avatar.js +3 -3
  11. package/lib/module/components/ui/Avatar.js.map +1 -1
  12. package/lib/module/components/ui/Bottom-Sheet.js +9 -2
  13. package/lib/module/components/ui/Bottom-Sheet.js.map +1 -1
  14. package/lib/module/components/ui/Context-Menu.js +24 -24
  15. package/lib/module/components/ui/Context-Menu.js.map +1 -1
  16. package/lib/module/components/ui/Custom-Card.js +6 -2
  17. package/lib/module/components/ui/Custom-Card.js.map +1 -1
  18. package/lib/module/components/ui/Dialog.js +3 -3
  19. package/lib/module/components/ui/Dialog.js.map +1 -1
  20. package/lib/module/components/ui/Dropdown-Menu.js +3 -3
  21. package/lib/module/components/ui/Dropdown-Menu.js.map +1 -1
  22. package/lib/module/components/ui/Input.js +3 -2
  23. package/lib/module/components/ui/Input.js.map +1 -1
  24. package/lib/module/components/ui/Menubar.js +4 -4
  25. package/lib/module/components/ui/Menubar.js.map +1 -1
  26. package/lib/module/components/ui/Native-Only-Animated-View.js.map +1 -1
  27. package/lib/module/components/ui/NavBar.js.map +1 -1
  28. package/lib/module/components/ui/Progress.js +2 -2
  29. package/lib/module/components/ui/Progress.js.map +1 -1
  30. package/lib/module/components/ui/Select.js +3 -3
  31. package/lib/module/components/ui/Select.js.map +1 -1
  32. package/lib/module/components/ui/Separator.js +2 -2
  33. package/lib/module/components/ui/Separator.js.map +1 -1
  34. package/lib/module/components/ui/Skeleton.js +2 -2
  35. package/lib/module/components/ui/Skeleton.js.map +1 -1
  36. package/lib/module/components/ui/Slider.js +7 -2
  37. package/lib/module/components/ui/Slider.js.map +1 -1
  38. package/lib/module/components/ui/Table.js +2 -2
  39. package/lib/module/components/ui/Table.js.map +1 -1
  40. package/lib/module/components/ui/Text.js.map +1 -1
  41. package/lib/module/components/ui/Textarea.js +3 -2
  42. package/lib/module/components/ui/Textarea.js.map +1 -1
  43. package/lib/module/components/ui/Theme-Toggle.js +3 -3
  44. package/lib/module/components/ui/Theme-Toggle.js.map +1 -1
  45. package/lib/module/components/ui/Toast.js +2 -2
  46. package/lib/module/components/ui/Toast.js.map +1 -1
  47. package/lib/module/index.js +4 -0
  48. package/lib/module/index.js.map +1 -1
  49. package/lib/module/lib/slot-helpers.js +19 -0
  50. package/lib/module/lib/slot-helpers.js.map +1 -0
  51. package/lib/module/types/components.d.js +4 -0
  52. package/lib/module/types/components.d.js.map +1 -0
  53. package/lib/module/types/global.d.js +5 -0
  54. package/lib/module/types/global.d.js.map +1 -1
  55. package/lib/module/types/rn-primitives.d.js +56 -1
  56. package/lib/module/types/rn-primitives.d.js.map +1 -1
  57. package/lib/typescript/package.json +1 -0
  58. package/lib/typescript/src/app/_layout.d.ts +0 -1
  59. package/lib/typescript/src/app/_layout.d.ts.map +1 -1
  60. package/lib/typescript/src/components/ui/Accordion.d.ts.map +1 -1
  61. package/lib/typescript/src/components/ui/Alert-Dialog.d.ts +3 -26
  62. package/lib/typescript/src/components/ui/Alert-Dialog.d.ts.map +1 -1
  63. package/lib/typescript/src/components/ui/Alert.d.ts +3 -2
  64. package/lib/typescript/src/components/ui/Alert.d.ts.map +1 -1
  65. package/lib/typescript/src/components/ui/AppBar.d.ts +3 -3
  66. package/lib/typescript/src/components/ui/AppBar.d.ts.map +1 -1
  67. package/lib/typescript/src/components/ui/Aspect-Ratio.d.ts +2 -8
  68. package/lib/typescript/src/components/ui/Aspect-Ratio.d.ts.map +1 -1
  69. package/lib/typescript/src/components/ui/Avatar.d.ts +472 -337
  70. package/lib/typescript/src/components/ui/Avatar.d.ts.map +1 -1
  71. package/lib/typescript/src/components/ui/Badge.d.ts +9 -136
  72. package/lib/typescript/src/components/ui/Badge.d.ts.map +1 -1
  73. package/lib/typescript/src/components/ui/Bottom-Sheet.d.ts.map +1 -1
  74. package/lib/typescript/src/components/ui/Button.d.ts +12 -165
  75. package/lib/typescript/src/components/ui/Button.d.ts.map +1 -1
  76. package/lib/typescript/src/components/ui/Card.d.ts +7 -768
  77. package/lib/typescript/src/components/ui/Card.d.ts.map +1 -1
  78. package/lib/typescript/src/components/ui/Collapsible.d.ts +4 -33
  79. package/lib/typescript/src/components/ui/Collapsible.d.ts.map +1 -1
  80. package/lib/typescript/src/components/ui/Context-Menu.d.ts +6 -49
  81. package/lib/typescript/src/components/ui/Context-Menu.d.ts.map +1 -1
  82. package/lib/typescript/src/components/ui/Custom-Card.d.ts +7 -768
  83. package/lib/typescript/src/components/ui/Custom-Card.d.ts.map +1 -1
  84. package/lib/typescript/src/components/ui/Dialog.d.ts +4 -40
  85. package/lib/typescript/src/components/ui/Dialog.d.ts.map +1 -1
  86. package/lib/typescript/src/components/ui/Dropdown-Menu.d.ts +7 -49
  87. package/lib/typescript/src/components/ui/Dropdown-Menu.d.ts.map +1 -1
  88. package/lib/typescript/src/components/ui/Hover-Card.d.ts +2 -21
  89. package/lib/typescript/src/components/ui/Hover-Card.d.ts.map +1 -1
  90. package/lib/typescript/src/components/ui/Input.d.ts +5 -3
  91. package/lib/typescript/src/components/ui/Input.d.ts.map +1 -1
  92. package/lib/typescript/src/components/ui/Label.d.ts +2 -73
  93. package/lib/typescript/src/components/ui/Label.d.ts.map +1 -1
  94. package/lib/typescript/src/components/ui/Menubar.d.ts +6 -39
  95. package/lib/typescript/src/components/ui/Menubar.d.ts.map +1 -1
  96. package/lib/typescript/src/components/ui/NavBar.d.ts.map +1 -1
  97. package/lib/typescript/src/components/ui/Popover.d.ts +2 -19
  98. package/lib/typescript/src/components/ui/Popover.d.ts.map +1 -1
  99. package/lib/typescript/src/components/ui/Progress.d.ts.map +1 -1
  100. package/lib/typescript/src/components/ui/Select.d.ts +5 -26
  101. package/lib/typescript/src/components/ui/Select.d.ts.map +1 -1
  102. package/lib/typescript/src/components/ui/Separator.d.ts +2 -128
  103. package/lib/typescript/src/components/ui/Separator.d.ts.map +1 -1
  104. package/lib/typescript/src/components/ui/Skeleton.d.ts +4 -2
  105. package/lib/typescript/src/components/ui/Skeleton.d.ts.map +1 -1
  106. package/lib/typescript/src/components/ui/Slider.d.ts +2 -1
  107. package/lib/typescript/src/components/ui/Slider.d.ts.map +1 -1
  108. package/lib/typescript/src/components/ui/Table.d.ts +16 -6
  109. package/lib/typescript/src/components/ui/Table.d.ts.map +1 -1
  110. package/lib/typescript/src/components/ui/Text.d.ts +3 -74
  111. package/lib/typescript/src/components/ui/Text.d.ts.map +1 -1
  112. package/lib/typescript/src/components/ui/Textarea.d.ts +7 -3
  113. package/lib/typescript/src/components/ui/Textarea.d.ts.map +1 -1
  114. package/lib/typescript/src/components/ui/Theme-Toggle.d.ts +1 -128
  115. package/lib/typescript/src/components/ui/Theme-Toggle.d.ts.map +1 -1
  116. package/lib/typescript/src/components/ui/Toast.d.ts +3 -2
  117. package/lib/typescript/src/components/ui/Toast.d.ts.map +1 -1
  118. package/lib/typescript/src/components/ui/Toggle.d.ts +4 -4
  119. package/lib/typescript/src/components/ui/Toggle.d.ts.map +1 -1
  120. package/lib/typescript/src/components/ui/Tooltip.d.ts +2 -22
  121. package/lib/typescript/src/components/ui/Tooltip.d.ts.map +1 -1
  122. package/lib/typescript/src/index.d.ts +2 -0
  123. package/lib/typescript/src/index.d.ts.map +1 -1
  124. package/lib/typescript/src/lib/slot-helpers.d.ts +32 -0
  125. package/lib/typescript/src/lib/slot-helpers.d.ts.map +1 -0
  126. package/nativewind-env.d.ts +7 -0
  127. package/package.json +24 -7
  128. package/src/app/_layout.tsx +7 -1
  129. package/src/components/ui/Accordion.tsx +3 -1
  130. package/src/components/ui/Alert-Dialog.tsx +5 -3
  131. package/src/components/ui/Alert.tsx +7 -4
  132. package/src/components/ui/AppBar.tsx +6 -2
  133. package/src/components/ui/Avatar.tsx +10 -6
  134. package/src/components/ui/Bottom-Sheet.tsx +10 -2
  135. package/src/components/ui/Context-Menu.tsx +15 -4
  136. package/src/components/ui/Custom-Card.tsx +6 -1
  137. package/src/components/ui/Dialog.tsx +13 -3
  138. package/src/components/ui/Dropdown-Menu.tsx +8 -4
  139. package/src/components/ui/Input.tsx +12 -4
  140. package/src/components/ui/Menubar.tsx +13 -6
  141. package/src/components/ui/Native-Only-Animated-View.tsx +1 -1
  142. package/src/components/ui/NavBar.tsx +9 -3
  143. package/src/components/ui/Progress.tsx +4 -2
  144. package/src/components/ui/Select.tsx +18 -6
  145. package/src/components/ui/Separator.tsx +4 -2
  146. package/src/components/ui/Skeleton.tsx +5 -3
  147. package/src/components/ui/Slider.tsx +8 -2
  148. package/src/components/ui/Table.tsx +9 -7
  149. package/src/components/ui/Text.tsx +1 -6
  150. package/src/components/ui/Textarea.tsx +15 -4
  151. package/src/components/ui/Theme-Toggle.tsx +7 -3
  152. package/src/components/ui/Toast.tsx +6 -3
  153. package/src/index.tsx +4 -0
  154. package/src/lib/slot-helpers.ts +57 -0
  155. package/src/types/components.d.ts +38 -0
  156. package/src/types/global.d.ts +178 -4
  157. package/src/types/rn-primitives.d.ts +1403 -46
@@ -1 +1 @@
1
- {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Card.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,CAAC"}
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Card.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,sBAAsB,CAAC;AAExE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,QAAA,MAAM,IAAI;gBAE2B,MAAM;yHAazC,CAAC;AAGH;;;;;;;GAOG;AACH,QAAA,MAAM,UAAU;gBAEqB,MAAM;yHAUzC,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,SAAS;gBAEsB,MAAM;yHAazC,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,eAAe;gBAEgB,MAAM;yHAazC,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,WAAW;gBAEoB,MAAM;yHAMzC,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,UAAU;gBAEqB,MAAM;yHAUzC,CAAC;AAGH,OAAO,EACL,IAAI,EACJ,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ import * as CollapsiblePrimitive from '@rn-primitives/collapsible';
1
2
  /**
2
3
  * Root collapsible container
3
4
  *
@@ -17,37 +18,13 @@
17
18
  * </Collapsible>
18
19
  * ```
19
20
  */
20
- declare const Collapsible: import("react").ForwardRefExoticComponent<import("react-native").ViewProps & {
21
- asChild?: boolean;
22
- } & {
23
- open?: boolean;
24
- defaultOpen?: boolean;
25
- onOpenChange?: (open: boolean) => void;
26
- disabled?: boolean;
27
- } & import("react").RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
28
- ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
29
- }> & {
30
- ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
31
- }) => React.ReactNode>>;
21
+ declare const Collapsible: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.RootProps>;
32
22
  /**
33
23
  * Trigger button that toggles collapsible content visibility
34
24
  *
35
25
  * @component
36
26
  */
37
- declare const CollapsibleTrigger: import("react").ForwardRefExoticComponent<Omit<import("react-native").PressableProps & import("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>, "ref"> & {
42
- asChild?: boolean;
43
- } & {
44
- onKeyDown?: (ev: React.KeyboardEvent) => void;
45
- onKeyUp?: (ev: React.KeyboardEvent) => void;
46
- } & import("react").RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
47
- ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
48
- }> & {
49
- ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
50
- }) => React.ReactNode>>;
27
+ declare const CollapsibleTrigger: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.TriggerProps>;
51
28
  /**
52
29
  * Collapsible content container
53
30
  *
@@ -55,12 +32,6 @@ declare const CollapsibleTrigger: import("react").ForwardRefExoticComponent<Omit
55
32
  *
56
33
  * @component
57
34
  */
58
- declare const CollapsibleContent: import("react").ForwardRefExoticComponent<import("@rn-primitives/types").ForceMountable & import("react-native").ViewProps & {
59
- asChild?: boolean;
60
- } & import("react").RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
61
- ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
62
- }> & {
63
- ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
64
- }) => React.ReactNode>>;
35
+ declare const CollapsibleContent: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.ContentProps>;
65
36
  export { Collapsible, CollapsibleTrigger, CollapsibleContent };
66
37
  //# sourceMappingURL=Collapsible.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Collapsible.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Collapsible.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;GAkBG;AACH,QAAA,MAAM,WAAW;;;;;;;;OAgBjB,CAPC;;OAGiC,CAAC;uBAZU,CAAC;AAE9C;;;;GAIG;AACH,QAAA,MAAM,kBAAkB;OASxB,CAPC;;OAGiC,CAAC;;;;;;;OAInC,CAPC;;OAGiC,CAAC;uBALoB,CAAC;AAExD;;;;;;GAMG;AACH,QAAA,MAAM,kBAAkB;;;OAAxB,CAPC;;OAGiC,CAAC;uBAIoB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAC"}
1
+ {"version":3,"file":"Collapsible.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Collapsible.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,oBAAoB,MAAM,4BAA4B,CAAC;AAEnE;;;;;;;;;;;;;;;;;;GAkBG;AACH,QAAA,MAAM,WAAW,2EAA4B,CAAC;AAE9C;;;;GAIG;AACH,QAAA,MAAM,kBAAkB,8EAA+B,CAAC;AAExD;;;;;;GAMG;AACH,QAAA,MAAM,kBAAkB,8EAA+B,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as ContextMenuPrimitive from '@rn-primitives/context-menu';
2
2
  import * as React from 'react';
3
- import { type StyleProp, Text, type TextProps, type ViewStyle } from 'react-native';
3
+ import { type StyleProp, type TextProps, type ViewStyle } from 'react-native';
4
4
  /**
5
5
  * Root context menu component
6
6
  *
@@ -18,70 +18,27 @@ import { type StyleProp, Text, type TextProps, type ViewStyle } from 'react-nati
18
18
  * </ContextMenu>
19
19
  * ```
20
20
  */
21
- declare const ContextMenu: React.ForwardRefExoticComponent<import("react-native").ViewProps & {
22
- asChild?: boolean;
23
- } & {
24
- onOpenChange?: (open: boolean) => void;
25
- relativeTo?: "longPress" | "trigger";
26
- } & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
27
- ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
28
- }> & {
29
- ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
30
- }) => React.ReactNode>>;
21
+ declare const ContextMenu: React.ForwardRefExoticComponent<ContextMenuPrimitive.RootProps>;
31
22
  /**
32
23
  * Trigger component that opens context menu on right-click or long-press
33
24
  * @component
34
25
  */
35
- declare const ContextMenuTrigger: React.ForwardRefExoticComponent<Omit<import("react-native").PressableProps & 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>, "ref"> & {
40
- asChild?: boolean;
41
- } & {
42
- onKeyDown?: (ev: React.KeyboardEvent) => void;
43
- onKeyUp?: (ev: React.KeyboardEvent) => void;
44
- } & React.RefAttributes<import("@rn-primitives/context-menu").TriggerRef>>;
26
+ declare const ContextMenuTrigger: React.ForwardRefExoticComponent<ContextMenuPrimitive.TriggerProps>;
45
27
  /**
46
28
  * Groups related context menu items
47
29
  * @component
48
30
  */
49
- declare const ContextMenuGroup: React.ForwardRefExoticComponent<import("react-native").ViewProps & {
50
- asChild?: boolean;
51
- } & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
52
- ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
53
- }> & {
54
- ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
55
- }) => React.ReactNode>>;
31
+ declare const ContextMenuGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.GroupProps>;
56
32
  /**
57
33
  * Root component for nested submenu
58
34
  * @component
59
35
  */
60
- declare const ContextMenuSub: React.ForwardRefExoticComponent<import("react-native").ViewProps & {
61
- asChild?: boolean;
62
- } & {
63
- defaultOpen?: boolean;
64
- open?: boolean;
65
- onOpenChange?: (value: boolean) => void;
66
- } & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
67
- ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
68
- }> & {
69
- ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
70
- }) => React.ReactNode>>;
36
+ declare const ContextMenuSub: React.ForwardRefExoticComponent<ContextMenuPrimitive.SubProps>;
71
37
  /**
72
38
  * Groups radio items for single selection
73
39
  * @component
74
40
  */
75
- declare const ContextMenuRadioGroup: React.ForwardRefExoticComponent<import("react-native").ViewProps & {
76
- asChild?: boolean;
77
- } & {
78
- value: string | undefined;
79
- onValueChange: (value: string) => void;
80
- } & React.RefAttributes<(props: Omit<import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").ViewProps, keyof {
81
- ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
82
- }> & {
83
- ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
84
- }) => React.ReactNode>>;
41
+ declare const ContextMenuRadioGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.RadioGroupProps>;
85
42
  /**
86
43
  * Trigger for opening a nested submenu
87
44
  * @component
@@ -1 +1 @@
1
- {"version":3,"file":"Context-Menu.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Context-Menu.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAC;AAOpE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,KAAK,SAAS,EAEd,IAAI,EACJ,KAAK,SAAS,EAEd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAQtB;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,WAAW;;;;;;OAZhB,CAAC;;OAGoB,CAAC;uBASsB,CAAC;AAE9C;;;GAGG;AACH,QAAA,MAAM,kBAAkB;OAlBvB,CAAC;;OAGoB,CAAC;;;;;;0EAegC,CAAC;AAExD;;;GAGG;AACH,QAAA,MAAM,gBAAgB;;;OAxBrB,CAAC;;OAGoB,CAAC;uBAqB4B,CAAC;AAEpD;;;GAGG;AACH,QAAA,MAAM,cAAc;;;;;;;OA9BnB,CAAC;;OAGoB,CAAC;uBA2BwB,CAAC;AAEhD;;;GAGG;AACH,QAAA,MAAM,qBAAqB;;;;;;OApC1B,CAAC;;OAGoB,CAAC;uBAiCsC,CAAC;AAE9D;;;GAGG;AACH,iBAAS,qBAAqB,CAAC,EAC7B,SAAS,EAAE,UAAU,EACrB,KAAK,EACL,QAAQ,EACR,aAAa,EACb,GAAG,KAAK,EACT,EAAE,oBAAoB,CAAC,eAAe,GACrC,KAAK,CAAC,aAAa,CAAC,oBAAoB,CA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AAED;;;GAGG;AACH,iBAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,oBAAoB,CAAC,cAAc,GACpC,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,YAAY,CAAC,GAAG;IACvD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,2CAuBF;AAED;;;GAGG;AACH,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,oBAAoB,CAAC,UAAU,GAChC,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,QAAQ,CAAC,GAAG;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,2CAWF;AAED;;;GAGG;AACH,iBAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,oBAAoB,CAAC,cAAc,GACpC,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,YAAY,CAAC,2CAOvD;AAED;;;GAGG;AACH,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,2CAUvC;AAED,OAAO,EACL,WAAW,EACX,uBAAuB,EACvB,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,GACnB,CAAC"}
1
+ {"version":3,"file":"Context-Menu.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Context-Menu.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAC;AAOpE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,KAAK,SAAS,EA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