@campxdev/react-native-blueprint 0.1.1 → 0.1.3

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 (78) hide show
  1. package/lib/module/app/_layout.js +1 -1
  2. package/lib/module/app/_layout.js.map +1 -1
  3. package/lib/module/components/ui/index.js +1 -0
  4. package/lib/module/components/ui/index.js.map +1 -1
  5. package/lib/module/global.css +417 -0
  6. package/lib/module/types/global.d.js +6 -0
  7. package/lib/module/types/global.d.js.map +1 -0
  8. package/lib/module/types/rn-primitives.d.js +6 -0
  9. package/lib/module/types/rn-primitives.d.js.map +1 -0
  10. package/lib/typescript/src/app/_layout.d.ts +7 -8
  11. package/lib/typescript/src/components/ui/Accordion.d.ts +103 -11
  12. package/lib/typescript/src/components/ui/Alert-Dialog.d.ts +167 -10
  13. package/lib/typescript/src/components/ui/Alert-Dialog.d.ts.map +1 -1
  14. package/lib/typescript/src/components/ui/Alert.d.ts +59 -10
  15. package/lib/typescript/src/components/ui/Avatar.d.ts +1350 -10
  16. package/lib/typescript/src/components/ui/Badge.d.ts +203 -10
  17. package/lib/typescript/src/components/ui/Bottom-Sheet.d.ts +43 -11
  18. package/lib/typescript/src/components/ui/Button.d.ts +175 -10
  19. package/lib/typescript/src/components/ui/Card.d.ts +853 -10
  20. package/lib/typescript/src/components/ui/Checkbox.d.ts +36 -11
  21. package/lib/typescript/src/components/ui/Collapsible.d.ts +1 -147
  22. package/lib/typescript/src/components/ui/Collapsible.d.ts.map +1 -1
  23. package/lib/typescript/src/components/ui/Context-Menu.d.ts +149 -10
  24. package/lib/typescript/src/components/ui/Context-Menu.d.ts.map +1 -1
  25. package/lib/typescript/src/components/ui/Custom-Card.d.ts +863 -10
  26. package/lib/typescript/src/components/ui/Dialog.d.ts +125 -10
  27. package/lib/typescript/src/components/ui/Dialog.d.ts.map +1 -1
  28. package/lib/typescript/src/components/ui/Dropdown-Menu.d.ts +283 -10
  29. package/lib/typescript/src/components/ui/Dropdown-Menu.d.ts.map +1 -1
  30. package/lib/typescript/src/components/ui/Greeting-Card.d.ts +152 -10
  31. package/lib/typescript/src/components/ui/Hover-Card.d.ts +67 -10
  32. package/lib/typescript/src/components/ui/Hover-Card.d.ts.map +1 -1
  33. package/lib/typescript/src/components/ui/Icon.d.ts +43 -11
  34. package/lib/typescript/src/components/ui/Input.d.ts +51 -10
  35. package/lib/typescript/src/components/ui/Label.d.ts +104 -10
  36. package/lib/typescript/src/components/ui/Menubar.d.ts +174 -10
  37. package/lib/typescript/src/components/ui/NavBar.d.ts +271 -9
  38. package/lib/typescript/src/components/ui/Popover.d.ts +70 -10
  39. package/lib/typescript/src/components/ui/Popover.d.ts.map +1 -1
  40. package/lib/typescript/src/components/ui/Progress.d.ts +27 -11
  41. package/lib/typescript/src/components/ui/Radio-Group.d.ts +47 -11
  42. package/lib/typescript/src/components/ui/Select.d.ts +106 -10
  43. package/lib/typescript/src/components/ui/Separator.d.ts +165 -10
  44. package/lib/typescript/src/components/ui/Skeleton.d.ts +40 -11
  45. package/lib/typescript/src/components/ui/Slider.d.ts +52 -8
  46. package/lib/typescript/src/components/ui/Switch.d.ts +34 -11
  47. package/lib/typescript/src/components/ui/Table.d.ts +69 -10
  48. package/lib/typescript/src/components/ui/Tabs.d.ts +51 -11
  49. package/lib/typescript/src/components/ui/Text.d.ts +115 -10
  50. package/lib/typescript/src/components/ui/Textarea.d.ts +60 -10
  51. package/lib/typescript/src/components/ui/Theme-Toggle.d.ts +193 -10
  52. package/lib/typescript/src/components/ui/Toast.d.ts +54 -10
  53. package/lib/typescript/src/components/ui/Toggle-Group.d.ts +48 -10
  54. package/lib/typescript/src/components/ui/Toggle.d.ts +52 -10
  55. package/lib/typescript/src/components/ui/Tooltip.d.ts +70 -10
  56. package/lib/typescript/src/components/ui/Tooltip.d.ts.map +1 -1
  57. package/lib/typescript/src/components/ui/index.d.ts +7 -2
  58. package/lib/typescript/src/components/ui/index.d.ts.map +1 -1
  59. package/lib/typescript/src/index.d.ts +7 -93
  60. package/lib/typescript/src/lib/ThemeProvider.d.ts +136 -13
  61. package/lib/typescript/src/lib/cornerRadius.d.ts +112 -21
  62. package/lib/typescript/src/lib/fonts.d.ts +21 -30
  63. package/lib/typescript/src/lib/theme.d.ts +86 -8
  64. package/lib/typescript/src/lib/utils.d.ts +111 -1
  65. package/package.json +2 -9
  66. package/src/app/_layout.tsx +1 -1
  67. package/src/components/ui/index.ts +1 -0
  68. package/src/global.css +417 -0
  69. package/src/types/global.d.ts +44 -0
  70. package/src/types/rn-primitives.d.ts +70 -0
  71. package/lib/typescript/babel.config.d.ts +0 -13
  72. package/lib/typescript/babel.config.d.ts.map +0 -1
  73. package/lib/typescript/metro.config.d.ts +0 -3
  74. package/lib/typescript/metro.config.d.ts.map +0 -1
  75. package/lib/typescript/src/components/ui/Floating-Action-Button.d.ts +0 -11
  76. package/lib/typescript/src/components/ui.d.ts +0 -49
  77. package/lib/typescript/tailwind.config.d.ts +0 -3
  78. package/lib/typescript/tailwind.config.d.ts.map +0 -1
@@ -1,11 +1,204 @@
1
+ import type { SlottableViewProps } from '@rn-primitives/types';
2
+ import { type VariantProps } from 'class-variance-authority';
1
3
  import * as React from 'react';
2
- import { ViewProps } from 'react-native';
3
-
4
- export interface BadgeProps extends ViewProps {
5
- className?: string;
6
- children?: React.ReactNode;
7
- [key: string]: any;
8
- }
9
-
10
- export const Badge: React.ComponentType<BadgeProps>;
11
- export default Badge;
4
+ /**
5
+ * Badge container style variants
6
+ *
7
+ * @variant default - Primary badge with solid background
8
+ * @variant secondary - Secondary badge with muted background
9
+ * @variant destructive - Destructive badge with danger/error styling
10
+ * @variant outline - Badge with border and transparent background
11
+ */
12
+ declare const badgeVariants: (props?: {
13
+ variant?: "default" | "destructive" | "outline" | "secondary";
14
+ } & import("class-variance-authority/types").ClassProp) => string;
15
+ /**
16
+ * Badge text style variants for matching text colors with badge variants
17
+ * Applied through TextClassContext to child Text components
18
+ *
19
+ * Variants match badgeVariants to ensure proper contrast
20
+ * @see badgeVariants
21
+ */
22
+ declare const badgeTextVariants: (props?: {
23
+ variant?: "default" | "destructive" | "outline" | "secondary";
24
+ } & import("class-variance-authority/types").ClassProp) => string;
25
+ /**
26
+ * Props for Badge component
27
+ *
28
+ * @extends SlottableViewProps - Includes all View props plus asChild for slot composition
29
+ * @extends VariantProps - Includes variant styling options from badgeVariants
30
+ *
31
+ * @property {string} [className] - Additional Tailwind classes for custom styling
32
+ * @property {boolean} [asChild] - When true, merges props into immediate child
33
+ * @property {'default' | 'secondary' | 'destructive' | 'outline'} [variant='default'] - Badge style variant
34
+ *
35
+ * @example
36
+ * ```tsx
37
+ * <Badge variant="default">
38
+ * <Text>New</Text>
39
+ * </Badge>
40
+ * ```
41
+ */
42
+ type BadgeProps = SlottableViewProps & VariantProps<typeof badgeVariants> & {
43
+ className?: string;
44
+ };
45
+ /**
46
+ * A compact badge component for displaying status, labels, or counts
47
+ *
48
+ * Small, pill-shaped component for highlighting information. Supports multiple
49
+ * variants for different contexts and automatically styles child Text components.
50
+ *
51
+ * @component
52
+ * @example
53
+ * ```tsx
54
+ * // Status badge
55
+ * <Badge variant="default">
56
+ * <Text>Active</Text>
57
+ * </Badge>
58
+ *
59
+ * // Count badge
60
+ * <Badge variant="destructive">
61
+ * <Text>5</Text>
62
+ * </Badge>
63
+ *
64
+ * // Outline badge
65
+ * <Badge variant="outline">
66
+ * <Text>Draft</Text>
67
+ * </Badge>
68
+ * ```
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> & {
200
+ className?: string;
201
+ } & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
202
+ export { Badge, badgeTextVariants, badgeVariants };
203
+ export type { BadgeProps };
204
+ //# sourceMappingURL=Badge.d.ts.map
@@ -1,11 +1,43 @@
1
- import * as React from 'react';
2
- import { ViewProps } from 'react-native';
3
-
4
- export interface Bottom-SheetProps extends ViewProps {
5
- className?: string;
6
- children?: React.ReactNode;
7
- [key: string]: any;
8
- }
9
-
10
- export const Bottom-Sheet: React.ComponentType<Bottom-SheetProps>;
11
- export default Bottom-Sheet;
1
+ import React from 'react';
2
+ import { ViewStyle } from 'react-native';
3
+ type BottomSheetRef = {
4
+ open: () => void;
5
+ close: () => void;
6
+ expand: () => void;
7
+ collapse: () => void;
8
+ snapToIndex: (index: number) => void;
9
+ };
10
+ interface BottomSheetProps {
11
+ children: React.ReactNode;
12
+ snapPoints?: (string | number)[];
13
+ initialSnapIndex?: number;
14
+ enablePanDownToClose?: boolean;
15
+ enableDynamicSizing?: boolean;
16
+ backdropOpacity?: number;
17
+ enableBackdropDismiss?: boolean;
18
+ handleIndicatorStyle?: ViewStyle;
19
+ backgroundStyle?: ViewStyle;
20
+ className?: string;
21
+ containerClassName?: string;
22
+ onChange?: (index: number) => void;
23
+ onClose?: () => void;
24
+ }
25
+ declare const BottomSheet: React.ForwardRefExoticComponent<BottomSheetProps & React.RefAttributes<BottomSheetRef>>;
26
+ interface BottomSheetHeaderProps {
27
+ children: React.ReactNode;
28
+ className?: string;
29
+ }
30
+ declare const BottomSheetHeader: ({ children, className }: BottomSheetHeaderProps) => import("react/jsx-runtime").JSX.Element;
31
+ interface BottomSheetContentProps {
32
+ children: React.ReactNode;
33
+ className?: string;
34
+ }
35
+ declare const BottomSheetContent: ({ children, className, }: BottomSheetContentProps) => import("react/jsx-runtime").JSX.Element;
36
+ interface BottomSheetFooterProps {
37
+ children: React.ReactNode;
38
+ className?: string;
39
+ }
40
+ declare const BottomSheetFooter: ({ children, className }: BottomSheetFooterProps) => import("react/jsx-runtime").JSX.Element;
41
+ export { BottomSheet, BottomSheetHeader, BottomSheetContent, BottomSheetFooter, };
42
+ export type { BottomSheetRef, BottomSheetProps };
43
+ //# sourceMappingURL=Bottom-Sheet.d.ts.map
@@ -1,11 +1,176 @@
1
+ import type { SlottablePressableProps } from '@rn-primitives/types';
2
+ import { type VariantProps } from 'class-variance-authority';
1
3
  import * as React from 'react';
2
- import { ViewProps } from 'react-native';
3
-
4
- export interface ButtonProps extends ViewProps {
5
- className?: string;
6
- children?: React.ReactNode;
7
- [key: string]: any;
8
- }
9
-
10
- export const Button: React.ComponentType<ButtonProps>;
11
- export default Button;
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;
12
+ type ButtonProps = SlottablePressableProps & VariantProps<typeof buttonVariants> & {
13
+ className?: string;
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> & {
172
+ className?: string;
173
+ } & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
174
+ export { Button, buttonTextVariants, buttonVariants };
175
+ export type { ButtonProps };
176
+ //# sourceMappingURL=Button.d.ts.map