@campxdev/react-native-blueprint 0.1.3 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +153 -69
- package/lib/module/app/_layout.js +7 -1
- package/lib/module/app/_layout.js.map +1 -1
- package/lib/module/components/ui/Accordion.js.map +1 -1
- package/lib/module/components/ui/Alert-Dialog.js +2 -2
- package/lib/module/components/ui/Alert-Dialog.js.map +1 -1
- package/lib/module/components/ui/Alert.js +2 -2
- package/lib/module/components/ui/Alert.js.map +1 -1
- package/lib/module/components/ui/AppBar.js.map +1 -1
- package/lib/module/components/ui/Avatar.js +3 -3
- package/lib/module/components/ui/Avatar.js.map +1 -1
- package/lib/module/components/ui/Bottom-Sheet.js +9 -2
- package/lib/module/components/ui/Bottom-Sheet.js.map +1 -1
- package/lib/module/components/ui/Context-Menu.js +24 -24
- package/lib/module/components/ui/Context-Menu.js.map +1 -1
- package/lib/module/components/ui/Custom-Card.js +6 -2
- package/lib/module/components/ui/Custom-Card.js.map +1 -1
- package/lib/module/components/ui/Dialog.js +3 -3
- package/lib/module/components/ui/Dialog.js.map +1 -1
- package/lib/module/components/ui/Dropdown-Menu.js +3 -3
- package/lib/module/components/ui/Dropdown-Menu.js.map +1 -1
- package/lib/module/components/ui/Input.js +3 -2
- package/lib/module/components/ui/Input.js.map +1 -1
- package/lib/module/components/ui/Menubar.js +4 -4
- package/lib/module/components/ui/Menubar.js.map +1 -1
- package/lib/module/components/ui/Native-Only-Animated-View.js.map +1 -1
- package/lib/module/components/ui/NavBar.js.map +1 -1
- package/lib/module/components/ui/Progress.js +2 -2
- package/lib/module/components/ui/Progress.js.map +1 -1
- package/lib/module/components/ui/Select.js +3 -3
- package/lib/module/components/ui/Select.js.map +1 -1
- package/lib/module/components/ui/Separator.js +2 -2
- package/lib/module/components/ui/Separator.js.map +1 -1
- package/lib/module/components/ui/Skeleton.js +2 -2
- package/lib/module/components/ui/Skeleton.js.map +1 -1
- package/lib/module/components/ui/Slider.js +7 -2
- package/lib/module/components/ui/Slider.js.map +1 -1
- package/lib/module/components/ui/Table.js +2 -2
- package/lib/module/components/ui/Table.js.map +1 -1
- package/lib/module/components/ui/Text.js.map +1 -1
- package/lib/module/components/ui/Textarea.js +3 -2
- package/lib/module/components/ui/Textarea.js.map +1 -1
- package/lib/module/components/ui/Theme-Toggle.js +3 -3
- package/lib/module/components/ui/Theme-Toggle.js.map +1 -1
- package/lib/module/components/ui/Toast.js +2 -2
- package/lib/module/components/ui/Toast.js.map +1 -1
- package/lib/module/index.js +4 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/lib/slot-helpers.js +19 -0
- package/lib/module/lib/slot-helpers.js.map +1 -0
- package/lib/module/types/components.d.js +4 -0
- package/lib/module/types/components.d.js.map +1 -0
- package/lib/module/types/global.d.js +5 -0
- package/lib/module/types/global.d.js.map +1 -1
- package/lib/module/types/rn-primitives.d.js +56 -1
- package/lib/module/types/rn-primitives.d.js.map +1 -1
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/app/_layout.d.ts +0 -1
- package/lib/typescript/src/app/_layout.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Accordion.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Alert-Dialog.d.ts +3 -26
- package/lib/typescript/src/components/ui/Alert-Dialog.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Alert.d.ts +3 -2
- package/lib/typescript/src/components/ui/Alert.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/AppBar.d.ts +3 -3
- package/lib/typescript/src/components/ui/AppBar.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Aspect-Ratio.d.ts +2 -8
- package/lib/typescript/src/components/ui/Aspect-Ratio.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Avatar.d.ts +472 -337
- package/lib/typescript/src/components/ui/Avatar.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Badge.d.ts +9 -136
- package/lib/typescript/src/components/ui/Badge.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Bottom-Sheet.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Button.d.ts +12 -165
- package/lib/typescript/src/components/ui/Button.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Card.d.ts +7 -768
- package/lib/typescript/src/components/ui/Card.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Collapsible.d.ts +4 -33
- package/lib/typescript/src/components/ui/Collapsible.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Context-Menu.d.ts +6 -49
- package/lib/typescript/src/components/ui/Context-Menu.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Custom-Card.d.ts +7 -768
- package/lib/typescript/src/components/ui/Custom-Card.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Dialog.d.ts +4 -40
- package/lib/typescript/src/components/ui/Dialog.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Dropdown-Menu.d.ts +7 -49
- package/lib/typescript/src/components/ui/Dropdown-Menu.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Hover-Card.d.ts +2 -21
- package/lib/typescript/src/components/ui/Hover-Card.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Input.d.ts +5 -3
- package/lib/typescript/src/components/ui/Input.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Label.d.ts +2 -73
- package/lib/typescript/src/components/ui/Label.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Menubar.d.ts +6 -39
- package/lib/typescript/src/components/ui/Menubar.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/NavBar.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Popover.d.ts +2 -19
- package/lib/typescript/src/components/ui/Popover.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Progress.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Select.d.ts +5 -26
- package/lib/typescript/src/components/ui/Select.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Separator.d.ts +2 -128
- package/lib/typescript/src/components/ui/Separator.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Skeleton.d.ts +4 -2
- package/lib/typescript/src/components/ui/Skeleton.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Slider.d.ts +2 -1
- package/lib/typescript/src/components/ui/Slider.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Table.d.ts +16 -6
- package/lib/typescript/src/components/ui/Table.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Text.d.ts +3 -74
- package/lib/typescript/src/components/ui/Text.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Textarea.d.ts +7 -3
- package/lib/typescript/src/components/ui/Textarea.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Theme-Toggle.d.ts +1 -128
- package/lib/typescript/src/components/ui/Theme-Toggle.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Toast.d.ts +3 -2
- package/lib/typescript/src/components/ui/Toast.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Toggle.d.ts +4 -4
- package/lib/typescript/src/components/ui/Toggle.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Tooltip.d.ts +2 -22
- package/lib/typescript/src/components/ui/Tooltip.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +2 -0
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/lib/slot-helpers.d.ts +32 -0
- package/lib/typescript/src/lib/slot-helpers.d.ts.map +1 -0
- package/nativewind-env.d.ts +7 -0
- package/package.json +24 -7
- package/src/app/_layout.tsx +7 -1
- package/src/components/ui/Accordion.tsx +3 -1
- package/src/components/ui/Alert-Dialog.tsx +5 -3
- package/src/components/ui/Alert.tsx +7 -4
- package/src/components/ui/AppBar.tsx +6 -2
- package/src/components/ui/Avatar.tsx +10 -6
- package/src/components/ui/Bottom-Sheet.tsx +10 -2
- package/src/components/ui/Context-Menu.tsx +15 -4
- package/src/components/ui/Custom-Card.tsx +6 -1
- package/src/components/ui/Dialog.tsx +13 -3
- package/src/components/ui/Dropdown-Menu.tsx +8 -4
- package/src/components/ui/Input.tsx +12 -4
- package/src/components/ui/Menubar.tsx +13 -6
- package/src/components/ui/Native-Only-Animated-View.tsx +1 -1
- package/src/components/ui/NavBar.tsx +9 -3
- package/src/components/ui/Progress.tsx +4 -2
- package/src/components/ui/Select.tsx +18 -6
- package/src/components/ui/Separator.tsx +4 -2
- package/src/components/ui/Skeleton.tsx +5 -3
- package/src/components/ui/Slider.tsx +8 -2
- package/src/components/ui/Table.tsx +9 -7
- package/src/components/ui/Text.tsx +1 -6
- package/src/components/ui/Textarea.tsx +15 -4
- package/src/components/ui/Theme-Toggle.tsx +7 -3
- package/src/components/ui/Toast.tsx +6 -3
- package/src/index.tsx +4 -0
- package/src/lib/slot-helpers.ts +57 -0
- package/src/types/components.d.ts +38 -0
- package/src/types/global.d.ts +178 -4
- package/src/types/rn-primitives.d.ts +1403 -46
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import type { SlottableViewProps } from '@rn-primitives/types';
|
|
2
3
|
/**
|
|
3
4
|
* Visual divider for separating content sections
|
|
4
5
|
*
|
|
@@ -30,134 +31,7 @@ import * as React from 'react';
|
|
|
30
31
|
* - Decorative separators (default) have role="none" for screen readers
|
|
31
32
|
* - Non-decorative separators have role="separator" for semantic meaning
|
|
32
33
|
*/
|
|
33
|
-
declare const Separator: React.ForwardRefExoticComponent<
|
|
34
|
-
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
|
|
35
|
-
onAccessibilityTap?: (() => unknown) | undefined;
|
|
36
|
-
onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
|
|
37
|
-
onMagicTap?: (() => unknown) | undefined;
|
|
38
|
-
onAccessibilityEscape?: (() => unknown) | undefined;
|
|
39
|
-
}>, "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<{
|
|
40
|
-
onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
41
|
-
onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
42
|
-
onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
|
|
43
|
-
onResponderMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
44
|
-
onResponderReject?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
45
|
-
onResponderRelease?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
46
|
-
onResponderStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
47
|
-
onResponderEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
48
|
-
onResponderTerminate?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
49
|
-
onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
50
|
-
onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
51
|
-
onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
52
|
-
}>, "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<{
|
|
53
|
-
onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
54
|
-
onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
55
|
-
}>, "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<{
|
|
56
|
-
onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
57
|
-
onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
58
|
-
onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
59
|
-
onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
60
|
-
onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
61
|
-
onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
62
|
-
onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
63
|
-
onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
64
|
-
onPointerCancel?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
65
|
-
onPointerCancelCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
66
|
-
onPointerDown?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
67
|
-
onPointerDownCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
68
|
-
onPointerUp?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
69
|
-
onPointerUpCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
70
|
-
onPointerOver?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
71
|
-
onPointerOverCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
72
|
-
onPointerOut?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
73
|
-
onPointerOutCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
74
|
-
onGotPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
75
|
-
onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
76
|
-
onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
77
|
-
onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
78
|
-
}>, "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<{
|
|
79
|
-
onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
80
|
-
onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
81
|
-
onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
82
|
-
onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
83
|
-
}>, "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<{
|
|
84
|
-
onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
85
|
-
onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
86
|
-
onTouchEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
87
|
-
onTouchEndCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
88
|
-
onTouchMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
89
|
-
onTouchMoveCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
90
|
-
onTouchStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
91
|
-
onTouchStartCapture?: ((e: import("react-native").GestureResponderEvent) => 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" | "onClick" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
93
|
-
nativeBackgroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
94
|
-
nativeForegroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
95
|
-
renderToHardwareTextureAndroid?: boolean | undefined;
|
|
96
|
-
hasTVPreferredFocus?: boolean | undefined;
|
|
97
|
-
nextFocusDown?: number | undefined;
|
|
98
|
-
nextFocusForward?: number | undefined;
|
|
99
|
-
nextFocusLeft?: number | undefined;
|
|
100
|
-
nextFocusRight?: number | undefined;
|
|
101
|
-
nextFocusUp?: number | undefined;
|
|
102
|
-
focusable?: boolean | undefined;
|
|
103
|
-
tabIndex?: 0 | -1;
|
|
104
|
-
onClick?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
105
|
-
}>, "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<{
|
|
106
|
-
shouldRasterizeIOS?: boolean | undefined;
|
|
107
|
-
}>, "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<{
|
|
108
|
-
accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
|
|
109
|
-
"aria-labelledby"?: string | undefined;
|
|
110
|
-
accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
|
|
111
|
-
"aria-live"?: ("polite" | "assertive" | "off") | undefined;
|
|
112
|
-
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
|
|
113
|
-
screenReaderFocusable?: boolean;
|
|
114
|
-
}>, "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<{
|
|
115
|
-
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
116
|
-
accessibilityViewIsModal?: boolean | undefined;
|
|
117
|
-
accessibilityShowsLargeContentViewer?: boolean | undefined;
|
|
118
|
-
accessibilityLargeContentTitle?: string | undefined;
|
|
119
|
-
"aria-modal"?: boolean | undefined;
|
|
120
|
-
accessibilityElementsHidden?: boolean | undefined;
|
|
121
|
-
accessibilityLanguage?: string | undefined;
|
|
122
|
-
accessibilityRespondsToUserInteraction?: boolean | undefined;
|
|
123
|
-
}>, "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"> & {
|
|
124
|
-
accessible?: boolean | undefined;
|
|
125
|
-
accessibilityLabel?: string | undefined;
|
|
126
|
-
accessibilityHint?: string | undefined;
|
|
127
|
-
"aria-label"?: string | undefined;
|
|
128
|
-
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
129
|
-
role?: import("react-native").Role | undefined;
|
|
130
|
-
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
131
|
-
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
132
|
-
"aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
|
|
133
|
-
"aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
|
|
134
|
-
"aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
|
|
135
|
-
"aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
|
|
136
|
-
accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
|
|
137
|
-
"aria-busy"?: boolean | undefined;
|
|
138
|
-
"aria-checked"?: (boolean | undefined) | "mixed";
|
|
139
|
-
"aria-disabled"?: boolean | undefined;
|
|
140
|
-
"aria-expanded"?: boolean | undefined;
|
|
141
|
-
"aria-selected"?: boolean | undefined;
|
|
142
|
-
"aria-hidden"?: boolean | undefined;
|
|
143
|
-
}>, "pointerEvents" | "hitSlop" | "children" | "id" | "testID" | "style" | "nativeID" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
144
|
-
children?: React.ReactNode;
|
|
145
|
-
style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp | undefined;
|
|
146
|
-
collapsable?: boolean | undefined;
|
|
147
|
-
collapsableChildren?: boolean | undefined;
|
|
148
|
-
id?: string;
|
|
149
|
-
testID?: string | undefined;
|
|
150
|
-
nativeID?: string | undefined;
|
|
151
|
-
needsOffscreenAlphaCompositing?: boolean | undefined;
|
|
152
|
-
hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/EdgeInsetsPropType").EdgeInsetsOrSizeProp | undefined;
|
|
153
|
-
pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
|
|
154
|
-
removeClippedSubviews?: boolean | undefined;
|
|
155
|
-
experimental_accessibilityOrder?: Array<string> | undefined;
|
|
156
|
-
}>, never>>, "ref"> & {
|
|
157
|
-
ref?: React.Ref<React.ComponentRef<typeof import("react-native/types_generated/Libraries/Components/View/ViewNativeComponent").default>>;
|
|
158
|
-
}, "ref"> & {
|
|
159
|
-
asChild?: boolean;
|
|
160
|
-
} & {
|
|
34
|
+
declare const Separator: React.ForwardRefExoticComponent<SlottableViewProps & {
|
|
161
35
|
className?: string;
|
|
162
36
|
orientation?: "horizontal" | "vertical";
|
|
163
37
|
decorative?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAW,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAMxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,QAAA,MAAM,SAAS;gBAGC,MAAM;kBACJ,YAAY,GAAG,UAAU;iBAC1B,OAAO;yHAoBvB,CAAC;AAGF,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { View } from 'react-native';
|
|
1
|
+
import { View as RNView, type ViewProps } from 'react-native';
|
|
2
2
|
/**
|
|
3
3
|
* Skeleton loading placeholder component
|
|
4
4
|
*
|
|
@@ -35,6 +35,8 @@ import { View } from 'react-native';
|
|
|
35
35
|
* ))}
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
38
|
-
declare function Skeleton({ className, ...props }:
|
|
38
|
+
declare function Skeleton({ className, ...props }: ViewProps & {
|
|
39
|
+
className?: string;
|
|
40
|
+
} & React.RefAttributes<RNView>): import("react/jsx-runtime").JSX.Element;
|
|
39
41
|
export { Skeleton };
|
|
40
42
|
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAO9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,2CAOlE;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ViewProps } from 'react-native';
|
|
2
|
+
import { type ViewProps } from 'react-native';
|
|
3
3
|
/**
|
|
4
4
|
* Props for the Slider component
|
|
5
5
|
*
|
|
@@ -18,6 +18,7 @@ export interface SliderProps extends Omit<ViewProps, 'children'> {
|
|
|
18
18
|
step?: number;
|
|
19
19
|
disabled?: boolean;
|
|
20
20
|
className?: string;
|
|
21
|
+
style?: any;
|
|
21
22
|
}
|
|
22
23
|
/**
|
|
23
24
|
* Ref interface for Slider component
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,
|
|
1
|
+
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAA4B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAexE;;;;;;;;;GASG;AACH,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC1C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,GAAG,CAAC;CACb;AAED;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,QAAA,MAAM,MAAM,+EA0JX,CAAC;AAIF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Text } from './Text';
|
|
2
|
-
import { View } from 'react-native';
|
|
2
|
+
import { View as RNView, type ViewProps } from 'react-native';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
/**
|
|
5
5
|
* Root table container component
|
|
@@ -23,31 +23,41 @@ import * as React from 'react';
|
|
|
23
23
|
* </Table>
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
26
|
-
declare function Table({ className, ...props }:
|
|
26
|
+
declare function Table({ className, ...props }: ViewProps & {
|
|
27
|
+
className?: string;
|
|
28
|
+
} & React.RefAttributes<RNView>): import("react/jsx-runtime").JSX.Element;
|
|
27
29
|
/**
|
|
28
30
|
* Table header container
|
|
29
31
|
*
|
|
30
32
|
* @component
|
|
31
33
|
*/
|
|
32
|
-
declare function TableHeader({ className, ...props }:
|
|
34
|
+
declare function TableHeader({ className, ...props }: ViewProps & {
|
|
35
|
+
className?: string;
|
|
36
|
+
} & React.RefAttributes<RNView>): import("react/jsx-runtime").JSX.Element;
|
|
33
37
|
/**
|
|
34
38
|
* Table body container for data rows
|
|
35
39
|
*
|
|
36
40
|
* @component
|
|
37
41
|
*/
|
|
38
|
-
declare function TableBody({ className, ...props }:
|
|
42
|
+
declare function TableBody({ className, ...props }: ViewProps & {
|
|
43
|
+
className?: string;
|
|
44
|
+
} & React.RefAttributes<RNView>): import("react/jsx-runtime").JSX.Element;
|
|
39
45
|
/**
|
|
40
46
|
* Table footer container
|
|
41
47
|
*
|
|
42
48
|
* @component
|
|
43
49
|
*/
|
|
44
|
-
declare function TableFooter({ className, ...props }:
|
|
50
|
+
declare function TableFooter({ className, ...props }: ViewProps & {
|
|
51
|
+
className?: string;
|
|
52
|
+
} & React.RefAttributes<RNView>): import("react/jsx-runtime").JSX.Element;
|
|
45
53
|
/**
|
|
46
54
|
* Table row component
|
|
47
55
|
*
|
|
48
56
|
* @component
|
|
49
57
|
*/
|
|
50
|
-
declare function TableRow({ className, ...props }:
|
|
58
|
+
declare function TableRow({ className, ...props }: ViewProps & {
|
|
59
|
+
className?: string;
|
|
60
|
+
} & React.RefAttributes<RNView>): import("react/jsx-runtime").JSX.Element;
|
|
51
61
|
/**
|
|
52
62
|
* Table header cell component
|
|
53
63
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Table.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Table.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,2CAElE;AAED;;;;GAIG;AACH,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,2CAOlE;AAED;;;;GAIG;AACH,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,2CAElE;AAED;;;;GAIG;AACH,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,2CAUlE;AAED;;;;GAIG;AACH,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,2CAOlE;AAED;;;;GAIG;AACH,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,2CAU/D;AAED;;;;GAIG;AACH,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,2CAO/D;AAED;;;;GAIG;AACH,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,2CAU/D;AAED,OAAO,EACL,KAAK,EACL,SAAS,EACT,YAAY,EACZ,SAAS,EACT,WAAW,EACX,SAAS,EACT,WAAW,EACX,QAAQ,GACT,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import type { SlottableTextProps } from '@rn-primitives/types';
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
/**
|
|
3
4
|
* Context for sharing text class styles with child Text components
|
|
4
5
|
* Used by components like Button, Card, Badge to automatically style nested Text
|
|
5
6
|
*/
|
|
6
|
-
declare const TextClassContext: React.Context<string>;
|
|
7
|
+
declare const TextClassContext: React.Context<string | undefined>;
|
|
7
8
|
/**
|
|
8
9
|
* Enhanced Text component with NativeWind styling support
|
|
9
10
|
*
|
|
@@ -36,79 +37,7 @@ declare const TextClassContext: React.Context<string>;
|
|
|
36
37
|
* @property {string} [className] - Additional Tailwind classes
|
|
37
38
|
* @property {boolean} [asChild] - When true, merges props into immediate child
|
|
38
39
|
*/
|
|
39
|
-
declare const Text: React.ForwardRefExoticComponent<
|
|
40
|
-
onPointerEnter?: (event: import("react-native").PointerEvent) => void;
|
|
41
|
-
onPointerLeave?: (event: import("react-native").PointerEvent) => void;
|
|
42
|
-
onPointerMove?: (event: import("react-native").PointerEvent) => void;
|
|
43
|
-
}>, "onMoveShouldSetResponder" | "onResponderGrant" | "onResponderMove" | "onResponderRelease" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "children" | "disabled" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "id" | "onLayout" | "accessibilityLabel" | "accessible" | "testID" | "style" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectionColor" | "dataDetectorType" | "textBreakStrategy" | "minimumFontScale" | "onAccessibilityAction" | "allowFontScaling" | "android_hyphenationFrequency" | "ellipsizeMode" | "maxFontSizeMultiplier" | "nativeID" | "numberOfLines" | "onTextLayout" | "pressRetentionOffset" | "role" | "selectable" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable"> & Omit<import("react-native/types_generated/Libraries/Text/TextProps").TextPropsIOS, "onMoveShouldSetResponder" | "onResponderGrant" | "onResponderMove" | "onResponderRelease" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "children" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "id" | "onLayout" | "accessibilityLabel" | "accessible" | "testID" | "style" | keyof import("react-native/types_generated/Libraries/Text/TextProps").TextPropsAndroid | "onAccessibilityAction" | "allowFontScaling" | "android_hyphenationFrequency" | "ellipsizeMode" | "maxFontSizeMultiplier" | "nativeID" | "numberOfLines" | "onTextLayout" | "pressRetentionOffset" | "role" | "selectable" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable"> & Omit<import("react-native/types_generated/Libraries/Text/TextProps").TextPropsAndroid, "onMoveShouldSetResponder" | "onResponderGrant" | "onResponderMove" | "onResponderRelease" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "children" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "id" | "onLayout" | "accessibilityLabel" | "accessible" | "testID" | "style" | "onAccessibilityAction" | "allowFontScaling" | "android_hyphenationFrequency" | "ellipsizeMode" | "maxFontSizeMultiplier" | "nativeID" | "numberOfLines" | "onTextLayout" | "pressRetentionOffset" | "role" | "selectable" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable"> & Omit<Readonly<{
|
|
44
|
-
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
|
|
45
|
-
allowFontScaling?: boolean | undefined;
|
|
46
|
-
android_hyphenationFrequency?: ("normal" | "none" | "full") | undefined;
|
|
47
|
-
children?: React.ReactNode | undefined;
|
|
48
|
-
ellipsizeMode?: ("clip" | "head" | "middle" | "tail") | undefined;
|
|
49
|
-
id?: string;
|
|
50
|
-
maxFontSizeMultiplier?: number | undefined;
|
|
51
|
-
nativeID?: string | undefined;
|
|
52
|
-
numberOfLines?: number | undefined;
|
|
53
|
-
onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
|
|
54
|
-
onLongPress?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
55
|
-
onPress?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
56
|
-
onPressIn?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
57
|
-
onPressOut?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
58
|
-
onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
59
|
-
onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
60
|
-
onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
61
|
-
onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
62
|
-
onResponderTerminationRequest?: (() => boolean) | undefined;
|
|
63
|
-
onStartShouldSetResponder?: (() => boolean) | undefined;
|
|
64
|
-
onMoveShouldSetResponder?: (() => boolean) | undefined;
|
|
65
|
-
onTextLayout?: ((event: import("react-native").TextLayoutEvent) => unknown) | undefined;
|
|
66
|
-
pressRetentionOffset?: import("react-native/types_generated/Libraries/Text/TextProps").PressRetentionOffset | undefined;
|
|
67
|
-
role?: import("react-native").Role | undefined;
|
|
68
|
-
selectable?: boolean | undefined;
|
|
69
|
-
style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").TextStyleProp | undefined;
|
|
70
|
-
testID?: string | undefined;
|
|
71
|
-
}>, "accessibilityLabel" | "accessible" | "role" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable"> & Omit<Readonly<Omit<Readonly<{
|
|
72
|
-
accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
|
|
73
|
-
"aria-labelledby"?: string | undefined;
|
|
74
|
-
accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
|
|
75
|
-
"aria-live"?: ("polite" | "assertive" | "off") | undefined;
|
|
76
|
-
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
|
|
77
|
-
screenReaderFocusable?: boolean;
|
|
78
|
-
}>, "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<{
|
|
79
|
-
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
80
|
-
accessibilityViewIsModal?: boolean | undefined;
|
|
81
|
-
accessibilityShowsLargeContentViewer?: boolean | undefined;
|
|
82
|
-
accessibilityLargeContentTitle?: string | undefined;
|
|
83
|
-
"aria-modal"?: boolean | undefined;
|
|
84
|
-
accessibilityElementsHidden?: boolean | undefined;
|
|
85
|
-
accessibilityLanguage?: string | undefined;
|
|
86
|
-
accessibilityRespondsToUserInteraction?: boolean | undefined;
|
|
87
|
-
}>, "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"> & {
|
|
88
|
-
accessible?: boolean | undefined;
|
|
89
|
-
accessibilityLabel?: string | undefined;
|
|
90
|
-
accessibilityHint?: string | undefined;
|
|
91
|
-
"aria-label"?: string | undefined;
|
|
92
|
-
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
93
|
-
role?: import("react-native").Role | undefined;
|
|
94
|
-
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
95
|
-
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
96
|
-
"aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
|
|
97
|
-
"aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
|
|
98
|
-
"aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
|
|
99
|
-
"aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
|
|
100
|
-
accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
|
|
101
|
-
"aria-busy"?: boolean | undefined;
|
|
102
|
-
"aria-checked"?: (boolean | undefined) | "mixed";
|
|
103
|
-
"aria-disabled"?: boolean | undefined;
|
|
104
|
-
"aria-expanded"?: boolean | undefined;
|
|
105
|
-
"aria-selected"?: boolean | undefined;
|
|
106
|
-
"aria-hidden"?: boolean | undefined;
|
|
107
|
-
}>, never>>, "ref"> & {
|
|
108
|
-
ref?: React.Ref<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>;
|
|
109
|
-
}, "ref"> & {
|
|
110
|
-
asChild?: boolean;
|
|
111
|
-
} & {
|
|
40
|
+
declare const Text: React.ForwardRefExoticComponent<SlottableTextProps & {
|
|
112
41
|
className?: string;
|
|
113
42
|
children?: React.ReactNode;
|
|
114
43
|
} & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Text.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Text.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,sBAAsB,CAAC;AAExE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B;;;GAGG;AACH,QAAA,MAAM,gBAAgB,mCAAqD,CAAC;AAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,QAAA,MAAM,IAAI;gBAGM,MAAM;eACP,KAAK,CAAC,SAAS;yHAa5B,CAAC;AAGH,OAAO,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TextInput as RNTextInput, type TextInputProps } from 'react-native';
|
|
2
3
|
/**
|
|
3
4
|
* Props for Textarea component
|
|
4
5
|
*
|
|
@@ -16,9 +17,12 @@ import { TextInput, type TextInputProps } from 'react-native';
|
|
|
16
17
|
* />
|
|
17
18
|
* ```
|
|
18
19
|
*/
|
|
19
|
-
interface TextareaProps extends TextInputProps {
|
|
20
|
+
interface TextareaProps extends Omit<TextInputProps, 'multiline' | 'numberOfLines' | 'editable'> {
|
|
20
21
|
className?: string;
|
|
21
22
|
placeholderClassName?: string;
|
|
23
|
+
multiline?: boolean;
|
|
24
|
+
numberOfLines?: number;
|
|
25
|
+
editable?: boolean;
|
|
22
26
|
}
|
|
23
27
|
/**
|
|
24
28
|
* Multi-line text input component
|
|
@@ -55,7 +59,7 @@ interface TextareaProps extends TextInputProps {
|
|
|
55
59
|
* - Focus states on web for keyboard navigation
|
|
56
60
|
* - Disabled state with reduced opacity
|
|
57
61
|
*/
|
|
58
|
-
declare function Textarea({ className, multiline, numberOfLines, placeholderClassName, editable, ...props }: TextareaProps & React.RefAttributes<
|
|
62
|
+
declare function Textarea({ className, multiline, numberOfLines, placeholderClassName, editable, ...props }: TextareaProps & React.RefAttributes<RNTextInput>): import("react/jsx-runtime").JSX.Element;
|
|
59
63
|
export { Textarea };
|
|
60
64
|
export type { TextareaProps };
|
|
61
65
|
//# sourceMappingURL=Textarea.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Textarea.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Textarea.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,SAAS,IAAI,WAAW,EACxB,KAAK,cAAc,EACpB,MAAM,cAAc,CAAC;AAOtB;;;;;;;;;;;;;;;;GAgBG;AACH,UAAU,aACR,SAAQ,IAAI,CAAC,cAAc,EAAE,WAAW,GAAG,eAAe,GAAG,UAAU,CAAC;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,SAAgB,EAChB,aAAsD,EACtD,oBAAoB,EACpB,QAAe,EACf,GAAG,KAAK,EACT,EAAE,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,2CAmBlD;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,YAAY,EAAE,aAAa,EAAE,CAAC"}
|