@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":"Avatar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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s8sB,CAAC;sBAAoB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eApCv6sB,CAAC;;;;;;;;;gBANtC,MAAM;UACZ,MAAM;0HAUd,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,cAAc;gBAEiB,MAAM;yHAazC,CAAC;AAGH,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC"}
@@ -9,9 +9,9 @@ import * as React from 'react';
9
9
  * @variant destructive - Destructive badge with danger/error styling
10
10
  * @variant outline - Badge with border and transparent background
11
11
  */
12
- declare const badgeVariants: (props?: {
13
- variant?: "default" | "destructive" | "outline" | "secondary";
14
- } & import("class-variance-authority/types").ClassProp) => string;
12
+ declare const badgeVariants: (props?: ({
13
+ variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
14
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
15
15
  /**
16
16
  * Badge text style variants for matching text colors with badge variants
17
17
  * Applied through TextClassContext to child Text components
@@ -19,9 +19,9 @@ declare const badgeVariants: (props?: {
19
19
  * Variants match badgeVariants to ensure proper contrast
20
20
  * @see badgeVariants
21
21
  */
22
- declare const badgeTextVariants: (props?: {
23
- variant?: "default" | "destructive" | "outline" | "secondary";
24
- } & import("class-variance-authority/types").ClassProp) => string;
22
+ declare const badgeTextVariants: (props?: ({
23
+ variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
24
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
25
25
  /**
26
26
  * Props for Badge component
27
27
  *
@@ -67,136 +67,9 @@ type BadgeProps = SlottableViewProps & VariantProps<typeof badgeVariants> & {
67
67
  * </Badge>
68
68
  * ```
69
69
  */
70
- declare const Badge: React.ForwardRefExoticComponent<Omit<Omit<Readonly<Omit<Readonly<{
71
- onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
72
- onAccessibilityTap?: (() => unknown) | undefined;
73
- onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
74
- onMagicTap?: (() => unknown) | undefined;
75
- onAccessibilityEscape?: (() => unknown) | undefined;
76
- }>, "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderEnd" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "pointerEvents" | "hitSlop" | "children" | "id" | "accessibilityLabel" | "accessible" | "testID" | "style" | "nativeID" | "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" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
77
- onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
78
- onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
79
- onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
80
- onResponderMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
81
- onResponderReject?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
82
- onResponderRelease?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
83
- onResponderStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
84
- onResponderEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
85
- onResponderTerminate?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
86
- onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
87
- onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
88
- onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
89
- }>, "pointerEvents" | "hitSlop" | "children" | "id" | "accessibilityLabel" | "accessible" | "testID" | "style" | "nativeID" | "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" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
90
- onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
91
- onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
92
- }>, "pointerEvents" | "hitSlop" | "children" | "id" | "accessibilityLabel" | "accessible" | "testID" | "style" | "nativeID" | "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" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onClick" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
93
- onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
94
- onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
95
- onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
96
- onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
97
- onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
98
- onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
99
- onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
100
- onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
101
- onPointerCancel?: ((e: import("react-native").PointerEvent) => void) | undefined;
102
- onPointerCancelCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
103
- onPointerDown?: ((e: import("react-native").PointerEvent) => void) | undefined;
104
- onPointerDownCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
105
- onPointerUp?: ((e: import("react-native").PointerEvent) => void) | undefined;
106
- onPointerUpCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
107
- onPointerOver?: ((e: import("react-native").PointerEvent) => void) | undefined;
108
- onPointerOverCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
109
- onPointerOut?: ((e: import("react-native").PointerEvent) => void) | undefined;
110
- onPointerOutCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
111
- onGotPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
112
- onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
113
- onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
114
- onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
115
- }>, "pointerEvents" | "hitSlop" | "children" | "id" | "accessibilityLabel" | "accessible" | "testID" | "style" | "nativeID" | "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" | "onClick" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
116
- onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
117
- onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
118
- onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
119
- onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
120
- }>, "pointerEvents" | "hitSlop" | "children" | "id" | "accessibilityLabel" | "accessible" | "testID" | "style" | "nativeID" | "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" | "onClick" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
121
- onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
122
- onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
123
- onTouchEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
124
- onTouchEndCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
125
- onTouchMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
126
- onTouchMoveCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
127
- onTouchStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
128
- onTouchStartCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
129
- }>, "pointerEvents" | "hitSlop" | "children" | "id" | "accessibilityLabel" | "accessible" | "testID" | "style" | "nativeID" | "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" | "onClick" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
130
- nativeBackgroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
131
- nativeForegroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
132
- renderToHardwareTextureAndroid?: boolean | undefined;
133
- hasTVPreferredFocus?: boolean | undefined;
134
- nextFocusDown?: number | undefined;
135
- nextFocusForward?: number | undefined;
136
- nextFocusLeft?: number | undefined;
137
- nextFocusRight?: number | undefined;
138
- nextFocusUp?: number | undefined;
139
- focusable?: boolean | undefined;
140
- tabIndex?: 0 | -1;
141
- onClick?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
142
- }>, "pointerEvents" | "hitSlop" | "children" | "id" | "accessibilityLabel" | "accessible" | "testID" | "style" | "nativeID" | "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" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
143
- shouldRasterizeIOS?: boolean | undefined;
144
- }>, "pointerEvents" | "hitSlop" | "children" | "id" | "accessibilityLabel" | "accessible" | "testID" | "style" | "nativeID" | "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" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<Omit<Readonly<{
145
- accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
146
- "aria-labelledby"?: string | undefined;
147
- accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
148
- "aria-live"?: ("polite" | "assertive" | "off") | undefined;
149
- importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
150
- screenReaderFocusable?: boolean;
151
- }>, "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<{
152
- accessibilityIgnoresInvertColors?: boolean | undefined;
153
- accessibilityViewIsModal?: boolean | undefined;
154
- accessibilityShowsLargeContentViewer?: boolean | undefined;
155
- accessibilityLargeContentTitle?: string | undefined;
156
- "aria-modal"?: boolean | undefined;
157
- accessibilityElementsHidden?: boolean | undefined;
158
- accessibilityLanguage?: string | undefined;
159
- accessibilityRespondsToUserInteraction?: boolean | undefined;
160
- }>, "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"> & {
161
- accessible?: boolean | undefined;
162
- accessibilityLabel?: string | undefined;
163
- accessibilityHint?: string | undefined;
164
- "aria-label"?: string | undefined;
165
- accessibilityRole?: import("react-native").AccessibilityRole | undefined;
166
- role?: import("react-native").Role | undefined;
167
- accessibilityState?: import("react-native").AccessibilityState | undefined;
168
- accessibilityValue?: import("react-native").AccessibilityValue | undefined;
169
- "aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
170
- "aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
171
- "aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
172
- "aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
173
- accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
174
- "aria-busy"?: boolean | undefined;
175
- "aria-checked"?: (boolean | undefined) | "mixed";
176
- "aria-disabled"?: boolean | undefined;
177
- "aria-expanded"?: boolean | undefined;
178
- "aria-selected"?: boolean | undefined;
179
- "aria-hidden"?: boolean | undefined;
180
- }>, "pointerEvents" | "hitSlop" | "children" | "id" | "testID" | "style" | "nativeID" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
181
- children?: React.ReactNode;
182
- style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp | undefined;
183
- collapsable?: boolean | undefined;
184
- collapsableChildren?: boolean | undefined;
185
- id?: string;
186
- testID?: string | undefined;
187
- nativeID?: string | undefined;
188
- needsOffscreenAlphaCompositing?: boolean | undefined;
189
- hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/EdgeInsetsPropType").EdgeInsetsOrSizeProp | undefined;
190
- pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
191
- removeClippedSubviews?: boolean | undefined;
192
- experimental_accessibilityOrder?: Array<string> | undefined;
193
- }>, never>>, "ref"> & {
194
- ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
195
- }, "ref"> & {
196
- asChild?: boolean;
197
- } & VariantProps<(props?: {
198
- variant?: "default" | "destructive" | "outline" | "secondary";
199
- } & import("class-variance-authority/types").ClassProp) => string> & {
70
+ declare const Badge: React.ForwardRefExoticComponent<SlottableViewProps & VariantProps<(props?: ({
71
+ variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
72
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
200
73
  className?: string;
201
74
  } & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
202
75
  export { Badge, badgeTextVariants, badgeVariants };
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Badge.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B;;;;;;;GAOG;AACH,QAAA,MAAM,aAAa;;iEAelB,CAAC;AAEF;;;;;;GAMG;AACH,QAAA,MAAM,iBAAiB;;iEAYrB,CAAC;AAEH;;;;;;;;;;;;;;;;GAgB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AAC,EAAE,SAAS,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,QAAA,MAAM,WAAW,yFA0GhB,CAAC;AAsBF,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,iBAAiB,GAAI,yBAAyB,sBAAsB,4CAQzE,CAAC;AAGF,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,kBAAkB,GAAI,0BAGzB,uBAAuB,4CAMzB,CAAC;AAGF,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,iBAAiB,GAAI,yBAAyB,sBAAsB,4CAQzE,CAAC;AAEF,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,CAAC;AACF,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1,174 +1,21 @@
1
1
  import type { SlottablePressableProps } from '@rn-primitives/types';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
3
  import * as React from 'react';
4
- declare const buttonVariants: (props?: {
5
- variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost";
6
- size?: "default" | "icon" | "sm" | "lg";
7
- } & import("class-variance-authority/types").ClassProp) => string;
8
- declare const buttonTextVariants: (props?: {
9
- variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost";
10
- size?: "default" | "icon" | "sm" | "lg";
11
- } & import("class-variance-authority/types").ClassProp) => string;
4
+ declare const buttonVariants: (props?: ({
5
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
6
+ size?: "default" | "icon" | "sm" | "lg" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ declare const buttonTextVariants: (props?: ({
9
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
10
+ size?: "default" | "icon" | "sm" | "lg" | null | undefined;
11
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
12
12
  type ButtonProps = SlottablePressableProps & VariantProps<typeof buttonVariants> & {
13
13
  className?: string;
14
14
  };
15
- declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Readonly<Omit<Omit<Readonly<Omit<Readonly<{
16
- onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
17
- onAccessibilityTap?: (() => unknown) | undefined;
18
- onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
19
- onMagicTap?: (() => unknown) | undefined;
20
- onAccessibilityEscape?: (() => unknown) | undefined;
21
- }>, "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderEnd" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "pointerEvents" | "hitSlop" | "children" | "id" | "accessibilityLabel" | "accessible" | "testID" | "style" | "nativeID" | "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" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
22
- onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
23
- onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
24
- onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
25
- onResponderMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
26
- onResponderReject?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
27
- onResponderRelease?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
28
- onResponderStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
29
- onResponderEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
30
- onResponderTerminate?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
31
- onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
32
- onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
33
- onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
34
- }>, "pointerEvents" | "hitSlop" | "children" | "id" | "accessibilityLabel" | "accessible" | "testID" | "style" | "nativeID" | "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" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
35
- onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
36
- onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
37
- }>, "pointerEvents" | "hitSlop" | "children" | "id" | "accessibilityLabel" | "accessible" | "testID" | "style" | "nativeID" | "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" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onClick" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
38
- onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
39
- onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
40
- onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
41
- onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
42
- onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
43
- onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
44
- onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
45
- onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
46
- onPointerCancel?: ((e: import("react-native").PointerEvent) => void) | undefined;
47
- onPointerCancelCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
48
- onPointerDown?: ((e: import("react-native").PointerEvent) => void) | undefined;
49
- onPointerDownCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
50
- onPointerUp?: ((e: import("react-native").PointerEvent) => void) | undefined;
51
- onPointerUpCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
52
- onPointerOver?: ((e: import("react-native").PointerEvent) => void) | undefined;
53
- onPointerOverCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
54
- onPointerOut?: ((e: import("react-native").PointerEvent) => void) | undefined;
55
- onPointerOutCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
56
- onGotPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
57
- onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
58
- onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
59
- onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
60
- }>, "pointerEvents" | "hitSlop" | "children" | "id" | "accessibilityLabel" | "accessible" | "testID" | "style" | "nativeID" | "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" | "onClick" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
61
- onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
62
- onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
63
- onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
64
- onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
65
- }>, "pointerEvents" | "hitSlop" | "children" | "id" | "accessibilityLabel" | "accessible" | "testID" | "style" | "nativeID" | "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" | "onClick" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
66
- onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
67
- onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
68
- onTouchEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
69
- onTouchEndCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
70
- onTouchMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
71
- onTouchMoveCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
72
- onTouchStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
73
- onTouchStartCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
74
- }>, "pointerEvents" | "hitSlop" | "children" | "id" | "accessibilityLabel" | "accessible" | "testID" | "style" | "nativeID" | "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" | "onClick" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
75
- nativeBackgroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
76
- nativeForegroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
77
- renderToHardwareTextureAndroid?: boolean | undefined;
78
- hasTVPreferredFocus?: boolean | undefined;
79
- nextFocusDown?: number | undefined;
80
- nextFocusForward?: number | undefined;
81
- nextFocusLeft?: number | undefined;
82
- nextFocusRight?: number | undefined;
83
- nextFocusUp?: number | undefined;
84
- focusable?: boolean | undefined;
85
- tabIndex?: 0 | -1;
86
- onClick?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
87
- }>, "pointerEvents" | "hitSlop" | "children" | "id" | "accessibilityLabel" | "accessible" | "testID" | "style" | "nativeID" | "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" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
88
- shouldRasterizeIOS?: boolean | undefined;
89
- }>, "pointerEvents" | "hitSlop" | "children" | "id" | "accessibilityLabel" | "accessible" | "testID" | "style" | "nativeID" | "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" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<Omit<Readonly<{
90
- accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
91
- "aria-labelledby"?: string | undefined;
92
- accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
93
- "aria-live"?: ("polite" | "assertive" | "off") | undefined;
94
- importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
95
- screenReaderFocusable?: boolean;
96
- }>, "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<{
97
- accessibilityIgnoresInvertColors?: boolean | undefined;
98
- accessibilityViewIsModal?: boolean | undefined;
99
- accessibilityShowsLargeContentViewer?: boolean | undefined;
100
- accessibilityLargeContentTitle?: string | undefined;
101
- "aria-modal"?: boolean | undefined;
102
- accessibilityElementsHidden?: boolean | undefined;
103
- accessibilityLanguage?: string | undefined;
104
- accessibilityRespondsToUserInteraction?: boolean | undefined;
105
- }>, "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"> & {
106
- accessible?: boolean | undefined;
107
- accessibilityLabel?: string | undefined;
108
- accessibilityHint?: string | undefined;
109
- "aria-label"?: string | undefined;
110
- accessibilityRole?: import("react-native").AccessibilityRole | undefined;
111
- role?: import("react-native").Role | undefined;
112
- accessibilityState?: import("react-native").AccessibilityState | undefined;
113
- accessibilityValue?: import("react-native").AccessibilityValue | undefined;
114
- "aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
115
- "aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
116
- "aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
117
- "aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
118
- accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
119
- "aria-busy"?: boolean | undefined;
120
- "aria-checked"?: (boolean | undefined) | "mixed";
121
- "aria-disabled"?: boolean | undefined;
122
- "aria-expanded"?: boolean | undefined;
123
- "aria-selected"?: boolean | undefined;
124
- "aria-hidden"?: boolean | undefined;
125
- }>, "pointerEvents" | "hitSlop" | "children" | "id" | "testID" | "style" | "nativeID" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
126
- children?: React.ReactNode;
127
- style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp | undefined;
128
- collapsable?: boolean | undefined;
129
- collapsableChildren?: boolean | undefined;
130
- id?: string;
131
- testID?: string | undefined;
132
- nativeID?: string | undefined;
133
- needsOffscreenAlphaCompositing?: boolean | undefined;
134
- hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/EdgeInsetsPropType").EdgeInsetsOrSizeProp | undefined;
135
- pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
136
- removeClippedSubviews?: boolean | undefined;
137
- experimental_accessibilityOrder?: Array<string> | undefined;
138
- }>, never>>, "onMouseEnter" | "onMouseLeave">, "hitSlop" | "children" | "disabled" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "delayLongPress" | "onLayout" | "testID" | "style" | "pressRetentionOffset" | "cancelable" | "delayHoverIn" | "delayHoverOut" | "onHoverIn" | "onHoverOut" | "onPressMove" | "android_disableSound" | "android_ripple" | "testOnly_pressed" | "unstable_pressDelay"> & Omit<Readonly<{
139
- cancelable?: boolean | undefined;
140
- children?: React.ReactNode | ((state: import("react-native").PressableStateCallbackType) => React.ReactNode);
141
- delayHoverIn?: number | undefined;
142
- delayHoverOut?: number | undefined;
143
- delayLongPress?: number | undefined;
144
- disabled?: boolean | undefined;
145
- hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/Rect").RectOrSize | undefined;
146
- pressRetentionOffset?: import("react-native/types_generated/Libraries/StyleSheet/Rect").RectOrSize | undefined;
147
- onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
148
- onHoverIn?: ((event: import("react-native").MouseEvent) => unknown) | undefined;
149
- onHoverOut?: ((event: import("react-native").MouseEvent) => unknown) | undefined;
150
- onLongPress?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
151
- onPress?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
152
- onPressIn?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
153
- onPressMove?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
154
- onPressOut?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
155
- style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp | ((state: import("react-native").PressableStateCallbackType) => import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp);
156
- testID?: string | undefined;
157
- android_disableSound?: boolean | undefined;
158
- android_ripple?: import("react-native").PressableAndroidRippleConfig | undefined;
159
- testOnly_pressed?: boolean | undefined;
160
- unstable_pressDelay?: number | undefined;
161
- }>, never>>, "ref"> & {
162
- ref?: React.Ref<React.ComponentRef<typeof import("react-native").View>>;
163
- }, "ref"> & {
164
- asChild?: boolean;
165
- } & {
166
- onKeyDown?: (ev: React.KeyboardEvent) => void;
167
- onKeyUp?: (ev: React.KeyboardEvent) => void;
168
- } & VariantProps<(props?: {
169
- variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost";
170
- size?: "default" | "icon" | "sm" | "lg";
171
- } & import("class-variance-authority/types").ClassProp) => string> & {
15
+ declare const Button: React.ForwardRefExoticComponent<SlottablePressableProps & VariantProps<(props?: ({
16
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
17
+ size?: "default" | "icon" | "sm" | "lg" | null | undefined;
18
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
172
19
  className?: string;
173
20
  } & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
174
21
  export { Button, buttonTextVariants, buttonVariants };
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,QAAA,MAAM,cAAc;;;iEAyBnB,CAAC;AAEF,QAAA,MAAM,kBAAkB;;;iEAyBvB,CAAC;AAEF,KAAK,WAAW,GAAG,uBAAuB,GACxC,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEJ,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAHI,MAAM;yHAuBrB,CAAC;AAIF,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,cAAc,EAAE,CAAC;AACtD,YAAY,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAA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