@navegarti/rn-design-system 0.8.2 → 0.8.5

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 (119) hide show
  1. package/lib/module/components/Button/styles.js +4 -2
  2. package/lib/module/components/Button/types.js +4 -0
  3. package/lib/module/components/Checkbox/types.js +4 -0
  4. package/lib/module/components/FAB/types.js +4 -0
  5. package/lib/module/components/Flex/types.js +4 -0
  6. package/lib/module/components/FormLabel/types.js +4 -0
  7. package/lib/module/components/Input/styles.js +6 -3
  8. package/lib/module/components/Input/types.js +4 -0
  9. package/lib/module/components/Margin/styles.js +4 -6
  10. package/lib/module/components/Margin/types.js +2 -0
  11. package/lib/module/components/OTPInput/index.js +50 -67
  12. package/lib/module/components/OTPInput/types.js +4 -0
  13. package/lib/module/components/Padding/styles.js +4 -6
  14. package/lib/module/components/Padding/types.js +2 -0
  15. package/lib/module/components/Radio/types.js +4 -0
  16. package/lib/module/components/Select/types.js +4 -0
  17. package/lib/module/components/Skeleton/types.js +4 -0
  18. package/lib/module/components/Switch/types.js +4 -0
  19. package/lib/module/components/Text/styles.js +3 -1
  20. package/lib/module/components/Text/types.js +4 -0
  21. package/lib/typescript/src/components/Button/index.d.ts +3 -81
  22. package/lib/typescript/src/components/Button/styles.d.ts +2 -87
  23. package/lib/typescript/src/components/Button/types.d.ts +8 -0
  24. package/lib/typescript/src/components/Card/index.d.ts +55 -322
  25. package/lib/typescript/src/components/Card/styles.d.ts +55 -322
  26. package/lib/typescript/src/components/Carousel/index.d.ts +10 -17
  27. package/lib/typescript/src/components/Checkbox/index.d.ts +3 -8
  28. package/lib/typescript/src/components/Checkbox/styles.d.ts +9 -4
  29. package/lib/typescript/src/components/Checkbox/types.d.ts +8 -0
  30. package/lib/typescript/src/components/FAB/components/extended-fab.d.ts +1 -1
  31. package/lib/typescript/src/components/FAB/index.d.ts +3 -3
  32. package/lib/typescript/src/components/FAB/styles.d.ts +9 -103
  33. package/lib/typescript/src/components/FAB/types.d.ts +16 -0
  34. package/lib/typescript/src/components/Flex/index.d.ts +1 -0
  35. package/lib/typescript/src/components/Flex/styles.d.ts +10 -7
  36. package/lib/typescript/src/components/Flex/types.d.ts +3 -0
  37. package/lib/typescript/src/components/FormLabel/index.d.ts +3 -2
  38. package/lib/typescript/src/components/FormLabel/styles.d.ts +1 -79
  39. package/lib/typescript/src/components/FormLabel/types.d.ts +3 -0
  40. package/lib/typescript/src/components/Input/components/input-field.d.ts +2 -6
  41. package/lib/typescript/src/components/Input/components/input-root.d.ts +1 -7
  42. package/lib/typescript/src/components/Input/index.d.ts +3 -9
  43. package/lib/typescript/src/components/Input/styles.d.ts +29 -170
  44. package/lib/typescript/src/components/Input/types.d.ts +11 -0
  45. package/lib/typescript/src/components/Margin/index.d.ts +1 -0
  46. package/lib/typescript/src/components/Margin/styles.d.ts +11 -17
  47. package/lib/typescript/src/components/Margin/types.d.ts +12 -0
  48. package/lib/typescript/src/components/OTPInput/index.d.ts +3 -15
  49. package/lib/typescript/src/components/OTPInput/types.d.ts +12 -0
  50. package/lib/typescript/src/components/Padding/index.d.ts +1 -0
  51. package/lib/typescript/src/components/Padding/styles.d.ts +11 -17
  52. package/lib/typescript/src/components/Padding/types.d.ts +12 -0
  53. package/lib/typescript/src/components/Radio/components/radio-item.d.ts +1 -6
  54. package/lib/typescript/src/components/Radio/index.d.ts +3 -83
  55. package/lib/typescript/src/components/Radio/styles.d.ts +18 -8
  56. package/lib/typescript/src/components/Radio/types.d.ts +12 -0
  57. package/lib/typescript/src/components/Select/components/select-field.d.ts +2 -4
  58. package/lib/typescript/src/components/Select/index.d.ts +3 -6
  59. package/lib/typescript/src/components/Select/styles.d.ts +2 -158
  60. package/lib/typescript/src/components/Select/types.d.ts +7 -0
  61. package/lib/typescript/src/components/Skeleton/index.d.ts +2 -9
  62. package/lib/typescript/src/components/Skeleton/types.d.ts +9 -0
  63. package/lib/typescript/src/components/Switch/index.d.ts +2 -9
  64. package/lib/typescript/src/components/Switch/styles.d.ts +18 -8
  65. package/lib/typescript/src/components/Switch/types.d.ts +9 -0
  66. package/lib/typescript/src/components/Text/index.d.ts +1 -1
  67. package/lib/typescript/src/components/Text/styles.d.ts +2 -93
  68. package/lib/typescript/src/components/Text/types.d.ts +15 -0
  69. package/lib/typescript/src/components.d.ts +11 -0
  70. package/lib/typescript/src/index.d.ts +11 -0
  71. package/package.json +16 -38
  72. package/src/components/Button/index.tsx +3 -2
  73. package/src/components/Button/styles.ts +6 -10
  74. package/src/components/Button/types.ts +8 -0
  75. package/src/components/Checkbox/index.tsx +3 -8
  76. package/src/components/Checkbox/types.ts +8 -0
  77. package/src/components/FAB/components/extended-fab.tsx +2 -5
  78. package/src/components/FAB/index.tsx +3 -2
  79. package/src/components/FAB/styles.ts +2 -24
  80. package/src/components/FAB/types.ts +18 -0
  81. package/src/components/Flex/index.tsx +1 -0
  82. package/src/components/Flex/styles.ts +1 -15
  83. package/src/components/Flex/types.ts +16 -0
  84. package/src/components/FormLabel/index.tsx +4 -2
  85. package/src/components/FormLabel/types.ts +3 -0
  86. package/src/components/Input/components/input-field.tsx +2 -6
  87. package/src/components/Input/components/input-root.tsx +1 -7
  88. package/src/components/Input/index.tsx +2 -0
  89. package/src/components/Input/styles.ts +6 -3
  90. package/src/components/Input/types.ts +12 -0
  91. package/src/components/Margin/index.tsx +1 -0
  92. package/src/components/Margin/styles.ts +6 -18
  93. package/src/components/Margin/types.ts +11 -0
  94. package/src/components/OTPInput/index.tsx +54 -99
  95. package/src/components/OTPInput/types.ts +13 -0
  96. package/src/components/Padding/index.tsx +1 -0
  97. package/src/components/Padding/styles.ts +6 -18
  98. package/src/components/Padding/types.ts +11 -0
  99. package/src/components/Radio/components/radio-item.tsx +1 -7
  100. package/src/components/Radio/index.tsx +2 -8
  101. package/src/components/Radio/types.ts +14 -0
  102. package/src/components/Select/components/select-field.tsx +2 -4
  103. package/src/components/Select/index.tsx +2 -4
  104. package/src/components/Select/types.ts +8 -0
  105. package/src/components/Skeleton/index.tsx +6 -9
  106. package/src/components/Skeleton/types.ts +9 -0
  107. package/src/components/Switch/index.tsx +3 -9
  108. package/src/components/Switch/types.ts +10 -0
  109. package/src/components/Text/index.tsx +1 -1
  110. package/src/components/Text/styles.ts +3 -18
  111. package/src/components/Text/types.ts +16 -0
  112. package/src/components.tsx +11 -0
  113. package/src/index.tsx +11 -0
  114. package/lib/module/components/OTPInput/styles.js +0 -23
  115. package/lib/module/components/OTPInput/utils.js +0 -24
  116. package/lib/typescript/src/components/OTPInput/styles.d.ts +0 -214
  117. package/lib/typescript/src/components/OTPInput/utils.d.ts +0 -3
  118. package/src/components/OTPInput/styles.ts +0 -23
  119. package/src/components/OTPInput/utils.ts +0 -31
@@ -83,7 +83,7 @@ export declare const SwitchTrack: import("@emotion/native").StyledComponent<Omit
83
83
  onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
84
84
  onMagicTap?: (() => unknown) | undefined;
85
85
  onAccessibilityEscape?: (() => unknown) | undefined;
86
- }>, "children" | "id" | "nativeID" | "onResponderGrant" | "onResponderMove" | "onResponderRelease" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onBlur" | "onFocus" | "onMoveShouldSetResponderCapture" | "onResponderReject" | "onResponderStart" | "onResponderEnd" | "onStartShouldSetResponderCapture" | "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
86
+ }>, "children" | "id" | "nativeID" | "onResponderGrant" | "onResponderMove" | "onResponderRelease" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onBlur" | "onFocus" | "onMoveShouldSetResponderCapture" | "onResponderReject" | "onResponderStart" | "onResponderEnd" | "onStartShouldSetResponderCapture" | "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyUp" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
87
87
  onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
88
88
  onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
89
89
  onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
@@ -96,10 +96,10 @@ export declare const SwitchTrack: import("@emotion/native").StyledComponent<Omit
96
96
  onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
97
97
  onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
98
98
  onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
99
- }>, "children" | "id" | "nativeID" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onBlur" | "onFocus" | "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
99
+ }>, "children" | "id" | "nativeID" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onBlur" | "onFocus" | "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyUp" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
100
100
  onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
101
101
  onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
102
- }>, "children" | "id" | "nativeID" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onBlur" | "onFocus" | "onClick" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
102
+ }>, "children" | "id" | "nativeID" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onBlur" | "onFocus" | "onClick" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyUp" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
103
103
  onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
104
104
  onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
105
105
  onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
@@ -122,11 +122,16 @@ export declare const SwitchTrack: import("@emotion/native").StyledComponent<Omit
122
122
  onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
123
123
  onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
124
124
  onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
125
- }>, "children" | "id" | "nativeID" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onBlur" | "onFocus" | "onClick" | "onBlurCapture" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
125
+ }>, "children" | "id" | "nativeID" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onBlur" | "onFocus" | "onClick" | "onBlurCapture" | "onFocusCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyUp" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
126
126
  onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
127
127
  onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
128
128
  onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
129
129
  onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
130
+ }>, "children" | "id" | "nativeID" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onClick" | "onKeyDown" | "onKeyDownCapture" | "onKeyUp" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
131
+ onKeyDown?: ((event: import("react-native").KeyDownEvent) => void) | undefined;
132
+ onKeyDownCapture?: ((event: import("react-native").KeyDownEvent) => void) | undefined;
133
+ onKeyUp?: ((event: import("react-native").KeyUpEvent) => void) | undefined;
134
+ onKeyUpCapture?: ((event: import("react-native").KeyUpEvent) => void) | undefined;
130
135
  }>, "children" | "id" | "nativeID" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onClick" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
131
136
  onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
132
137
  onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
@@ -218,7 +223,7 @@ export declare const SwitchThumb: import("@emotion/native").StyledComponent<Omit
218
223
  onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
219
224
  onMagicTap?: (() => unknown) | undefined;
220
225
  onAccessibilityEscape?: (() => unknown) | undefined;
221
- }>, "children" | "id" | "nativeID" | "onResponderGrant" | "onResponderMove" | "onResponderRelease" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onBlur" | "onFocus" | "onMoveShouldSetResponderCapture" | "onResponderReject" | "onResponderStart" | "onResponderEnd" | "onStartShouldSetResponderCapture" | "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
226
+ }>, "children" | "id" | "nativeID" | "onResponderGrant" | "onResponderMove" | "onResponderRelease" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onBlur" | "onFocus" | "onMoveShouldSetResponderCapture" | "onResponderReject" | "onResponderStart" | "onResponderEnd" | "onStartShouldSetResponderCapture" | "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyUp" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
222
227
  onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
223
228
  onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
224
229
  onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
@@ -231,10 +236,10 @@ export declare const SwitchThumb: import("@emotion/native").StyledComponent<Omit
231
236
  onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
232
237
  onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
233
238
  onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
234
- }>, "children" | "id" | "nativeID" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onBlur" | "onFocus" | "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
239
+ }>, "children" | "id" | "nativeID" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onBlur" | "onFocus" | "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyUp" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
235
240
  onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
236
241
  onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
237
- }>, "children" | "id" | "nativeID" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onBlur" | "onFocus" | "onClick" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
242
+ }>, "children" | "id" | "nativeID" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onBlur" | "onFocus" | "onClick" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyUp" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
238
243
  onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
239
244
  onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
240
245
  onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
@@ -257,11 +262,16 @@ export declare const SwitchThumb: import("@emotion/native").StyledComponent<Omit
257
262
  onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
258
263
  onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
259
264
  onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
260
- }>, "children" | "id" | "nativeID" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onBlur" | "onFocus" | "onClick" | "onBlurCapture" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
265
+ }>, "children" | "id" | "nativeID" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onBlur" | "onFocus" | "onClick" | "onBlurCapture" | "onFocusCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyUp" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
261
266
  onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
262
267
  onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
263
268
  onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
264
269
  onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
270
+ }>, "children" | "id" | "nativeID" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onClick" | "onKeyDown" | "onKeyDownCapture" | "onKeyUp" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
271
+ onKeyDown?: ((event: import("react-native").KeyDownEvent) => void) | undefined;
272
+ onKeyDownCapture?: ((event: import("react-native").KeyDownEvent) => void) | undefined;
273
+ onKeyUp?: ((event: import("react-native").KeyUpEvent) => void) | undefined;
274
+ onKeyUpCapture?: ((event: import("react-native").KeyUpEvent) => void) | undefined;
265
275
  }>, "children" | "id" | "nativeID" | "role" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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" | "pointerEvents" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "hitSlop" | "onClick" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
266
276
  onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
267
277
  onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
@@ -0,0 +1,9 @@
1
+ import type { PropsWithChildren } from 'react';
2
+ import type { TouchableOpacityProps } from 'react-native';
3
+ export type SwitchProps = PropsWithChildren<{
4
+ value: boolean;
5
+ onValueChange: (value: boolean) => void;
6
+ disabled?: boolean;
7
+ hasError?: boolean;
8
+ }> & Omit<TouchableOpacityProps, 'onPress'>;
9
+ //# sourceMappingURL=types.d.ts.map
@@ -1,3 +1,3 @@
1
- export type { TextComponentProps, TextStyleProps } from './styles';
2
1
  export { Text } from './styles';
2
+ export type { TextComponentProps, TextStyleProps } from './types';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,17 +1,4 @@
1
- import type { DimensionValue, TextProps as RNTextProps, TextProps } from 'react-native';
2
- export type TextStyleProps = TextProps & {
3
- flex?: number;
4
- weight?: 'light' | 'regular' | 'medium' | 'bold';
5
- size?: number;
6
- margin?: DimensionValue | string;
7
- width?: string;
8
- color?: string;
9
- textAlign?: 'left' | 'center' | 'right' | 'justify';
10
- textTransform?: 'none' | 'uppercase' | 'capitalize' | 'lowercase';
11
- textDecorationLine?: 'none' | 'underline' | 'line-through';
12
- };
13
- export interface TextComponentProps extends RNTextProps, TextStyleProps {
14
- }
1
+ import type { TextStyleProps } from './types';
15
2
  export declare const Text: import("@emotion/native").StyledComponent<Omit<Readonly<Omit<Readonly<{
16
3
  onPointerEnter?: (event: import("react-native").PointerEvent) => void;
17
4
  onPointerLeave?: (event: import("react-native").PointerEvent) => void;
@@ -85,85 +72,7 @@ export declare const Text: import("@emotion/native").StyledComponent<Omit<Readon
85
72
  } & {
86
73
  theme?: import("@emotion/react").Theme;
87
74
  as?: React.ElementType;
88
- } & Readonly<Omit<Readonly<{
89
- onPointerEnter?: (event: import("react-native").PointerEvent) => void;
90
- onPointerLeave?: (event: import("react-native").PointerEvent) => void;
91
- onPointerMove?: (event: import("react-native").PointerEvent) => void;
92
- }>, "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "disabled" | "selectionColor" | "dataDetectorType" | "textBreakStrategy" | "minimumFontScale" | "onAccessibilityAction" | "allowFontScaling" | "android_hyphenationFrequency" | "children" | "ellipsizeMode" | "id" | "maxFontSizeMultiplier" | "nativeID" | "numberOfLines" | "onLayout" | "onLongPress" | "onPress" | "onPressIn" | "onPressOut" | "onResponderGrant" | "onResponderMove" | "onResponderRelease" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onTextLayout" | "pressRetentionOffset" | "role" | "selectable" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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, keyof import("react-native/types_generated/Libraries/Text/TextProps").TextPropsAndroid | "onAccessibilityAction" | "allowFontScaling" | "android_hyphenationFrequency" | "children" | "ellipsizeMode" | "id" | "maxFontSizeMultiplier" | "nativeID" | "numberOfLines" | "onLayout" | "onLongPress" | "onPress" | "onPressIn" | "onPressOut" | "onResponderGrant" | "onResponderMove" | "onResponderRelease" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onTextLayout" | "pressRetentionOffset" | "role" | "selectable" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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, "onAccessibilityAction" | "allowFontScaling" | "android_hyphenationFrequency" | "children" | "ellipsizeMode" | "id" | "maxFontSizeMultiplier" | "nativeID" | "numberOfLines" | "onLayout" | "onLongPress" | "onPress" | "onPressIn" | "onPressOut" | "onResponderGrant" | "onResponderMove" | "onResponderRelease" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onTextLayout" | "pressRetentionOffset" | "role" | "selectable" | "style" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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<{
93
- onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
94
- allowFontScaling?: boolean | undefined;
95
- android_hyphenationFrequency?: ("normal" | "none" | "full") | undefined;
96
- children?: React.ReactNode | undefined;
97
- ellipsizeMode?: ("clip" | "head" | "middle" | "tail") | undefined;
98
- id?: string;
99
- maxFontSizeMultiplier?: number | undefined;
100
- nativeID?: string | undefined;
101
- numberOfLines?: number | undefined;
102
- onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
103
- onLongPress?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
104
- onPress?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
105
- onPressIn?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
106
- onPressOut?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
107
- onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
108
- onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
109
- onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
110
- onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
111
- onResponderTerminationRequest?: (() => boolean) | undefined;
112
- onStartShouldSetResponder?: (() => boolean) | undefined;
113
- onMoveShouldSetResponder?: (() => boolean) | undefined;
114
- onTextLayout?: ((event: import("react-native").TextLayoutEvent) => unknown) | undefined;
115
- pressRetentionOffset?: import("react-native/types_generated/Libraries/Text/TextProps").PressRetentionOffset | undefined;
116
- role?: import("react-native").Role | undefined;
117
- selectable?: boolean | undefined;
118
- style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").TextStyleProp | undefined;
119
- testID?: string | undefined;
120
- }>, "role" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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<{
121
- accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
122
- "aria-labelledby"?: string | undefined;
123
- accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
124
- "aria-live"?: ("polite" | "assertive" | "off") | undefined;
125
- importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
126
- screenReaderFocusable?: boolean;
127
- }>, "role" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "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<{
128
- accessibilityIgnoresInvertColors?: boolean | undefined;
129
- accessibilityViewIsModal?: boolean | undefined;
130
- accessibilityShowsLargeContentViewer?: boolean | undefined;
131
- accessibilityLargeContentTitle?: string | undefined;
132
- "aria-modal"?: boolean | undefined;
133
- accessibilityElementsHidden?: boolean | undefined;
134
- accessibilityLanguage?: string | undefined;
135
- accessibilityRespondsToUserInteraction?: boolean | undefined;
136
- }>, "role" | "accessible" | "accessibilityLabel" | "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"> & {
137
- accessible?: boolean | undefined;
138
- accessibilityLabel?: string | undefined;
139
- accessibilityHint?: string | undefined;
140
- "aria-label"?: string | undefined;
141
- accessibilityRole?: import("react-native").AccessibilityRole | undefined;
142
- role?: import("react-native").Role | undefined;
143
- accessibilityState?: import("react-native").AccessibilityState | undefined;
144
- accessibilityValue?: import("react-native").AccessibilityValue | undefined;
145
- "aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
146
- "aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
147
- "aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
148
- "aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
149
- accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
150
- "aria-busy"?: boolean | undefined;
151
- "aria-checked"?: (boolean | undefined) | "mixed";
152
- "aria-disabled"?: boolean | undefined;
153
- "aria-expanded"?: boolean | undefined;
154
- "aria-selected"?: boolean | undefined;
155
- "aria-hidden"?: boolean | undefined;
156
- }>, never>> & {
157
- flex?: number;
158
- weight?: "light" | "regular" | "medium" | "bold";
159
- size?: number;
160
- margin?: DimensionValue | string;
161
- width?: string;
162
- color?: string;
163
- textAlign?: "left" | "center" | "right" | "justify";
164
- textTransform?: "none" | "uppercase" | "capitalize" | "lowercase";
165
- textDecorationLine?: "none" | "underline" | "line-through";
166
- }, {}, {
75
+ } & TextStyleProps, {}, {
167
76
  ref?: import("react").Ref<any> | undefined;
168
77
  }>;
169
78
  //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1,15 @@
1
+ import type { DimensionValue, TextProps } from 'react-native';
2
+ export type TextStyleProps = {
3
+ flex?: number;
4
+ weight?: 'light' | 'regular' | 'medium' | 'bold';
5
+ size?: number;
6
+ margin?: DimensionValue;
7
+ width?: string;
8
+ color?: string;
9
+ textAlign?: 'left' | 'center' | 'right' | 'justify';
10
+ textTransform?: 'none' | 'uppercase' | 'capitalize' | 'lowercase';
11
+ textDecorationLine?: 'none' | 'underline' | 'line-through';
12
+ fontFamily?: string;
13
+ };
14
+ export type TextComponentProps = TextStyleProps & TextProps;
15
+ //# sourceMappingURL=types.d.ts.map
@@ -8,18 +8,29 @@ export type { CardProps } from './components/Card';
8
8
  export { Card } from './components/Card';
9
9
  export type { CarouselRootProps } from './components/Carousel';
10
10
  export { Carousel } from './components/Carousel';
11
+ export type { CheckboxProps } from './components/Checkbox';
11
12
  export { Checkbox } from './components/Checkbox';
12
13
  export type { ExtendedFABProps, FABProps } from './components/FAB';
13
14
  export { FAB } from './components/FAB';
15
+ export type { FlexProps } from './components/Flex';
14
16
  export { Flex } from './components/Flex';
17
+ export type { FormLabelProps } from './components/FormLabel';
15
18
  export { FormLabel } from './components/FormLabel';
19
+ export type { InputFieldProps, InputRootProps } from './components/Input';
16
20
  export { Input } from './components/Input';
21
+ export type { MarginProps } from './components/Margin';
17
22
  export { Margin } from './components/Margin';
23
+ export type { OTPInputProps } from './components/OTPInput';
18
24
  export { OTPInput } from './components/OTPInput';
25
+ export type { PaddingProps } from './components/Padding';
19
26
  export { Padding } from './components/Padding';
27
+ export type { RadioGroupProps, RadioItemProps } from './components/Radio';
20
28
  export { Radio } from './components/Radio';
29
+ export type { SelectFieldProps, SelectRootProps } from './components/Select';
21
30
  export { Select } from './components/Select';
31
+ export type { SkeletonProps } from './components/Skeleton';
22
32
  export { Skeleton } from './components/Skeleton';
33
+ export type { SwitchProps } from './components/Switch';
23
34
  export { Switch } from './components/Switch';
24
35
  export type { TextComponentProps, TextStyleProps } from './components/Text';
25
36
  export { Text } from './components/Text';
@@ -17,18 +17,29 @@ export type { CardProps } from './components/Card';
17
17
  export { Card } from './components/Card';
18
18
  export type { CarouselRootProps } from './components/Carousel';
19
19
  export { Carousel } from './components/Carousel';
20
+ export type { CheckboxProps } from './components/Checkbox';
20
21
  export { Checkbox } from './components/Checkbox';
21
22
  export type { ExtendedFABProps, FABProps } from './components/FAB';
22
23
  export { FAB } from './components/FAB';
24
+ export type { FlexProps } from './components/Flex';
23
25
  export { Flex } from './components/Flex';
26
+ export type { FormLabelProps } from './components/FormLabel';
24
27
  export { FormLabel } from './components/FormLabel';
28
+ export type { InputFieldProps, InputRootProps } from './components/Input';
25
29
  export { Input } from './components/Input';
30
+ export type { MarginProps } from './components/Margin';
26
31
  export { Margin } from './components/Margin';
32
+ export type { OTPInputProps } from './components/OTPInput';
27
33
  export { OTPInput } from './components/OTPInput';
34
+ export type { PaddingProps } from './components/Padding';
28
35
  export { Padding } from './components/Padding';
36
+ export type { RadioGroupProps, RadioItemProps } from './components/Radio';
29
37
  export { Radio } from './components/Radio';
38
+ export type { SelectFieldProps, SelectRootProps } from './components/Select';
30
39
  export { Select } from './components/Select';
40
+ export type { SkeletonProps } from './components/Skeleton';
31
41
  export { Skeleton } from './components/Skeleton';
42
+ export type { SwitchProps } from './components/Switch';
32
43
  export { Switch } from './components/Switch';
33
44
  export type { TextComponentProps, TextStyleProps } from './components/Text';
34
45
  export { Text } from './components/Text';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navegarti/rn-design-system",
3
- "version": "0.8.2",
3
+ "version": "0.8.5",
4
4
  "description": "Components and functions to help navegar projects",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/module/index.js",
@@ -9,43 +9,43 @@
9
9
  "exports": {
10
10
  ".": {
11
11
  "source": "./src/index.tsx",
12
- "react-native": "./src/index.tsx",
13
12
  "types": "./lib/typescript/src/index.d.ts",
13
+ "react-native": "./src/index.tsx",
14
14
  "import": "./lib/module/index.js",
15
15
  "default": "./lib/module/index.js"
16
16
  },
17
17
  "./components": {
18
18
  "source": "./src/components.tsx",
19
- "react-native": "./src/components.tsx",
20
19
  "types": "./lib/typescript/src/components.d.ts",
20
+ "react-native": "./src/components.tsx",
21
21
  "import": "./lib/module/components.js",
22
22
  "default": "./lib/module/components.js"
23
23
  },
24
24
  "./utils": {
25
25
  "source": "./src/utils.tsx",
26
- "react-native": "./src/utils.tsx",
27
26
  "types": "./lib/typescript/src/utils.d.ts",
27
+ "react-native": "./src/utils.tsx",
28
28
  "import": "./lib/module/utils.js",
29
29
  "default": "./lib/module/utils.js"
30
30
  },
31
31
  "./hooks": {
32
32
  "source": "./src/hooks.tsx",
33
- "react-native": "./src/hooks.tsx",
34
33
  "types": "./lib/typescript/src/hooks.d.ts",
34
+ "react-native": "./src/hooks.tsx",
35
35
  "import": "./lib/module/hooks.js",
36
36
  "default": "./lib/module/hooks.js"
37
37
  },
38
38
  "./api": {
39
39
  "source": "./src/api.tsx",
40
- "react-native": "./src/api.tsx",
41
40
  "types": "./lib/typescript/src/api.d.ts",
41
+ "react-native": "./src/api.tsx",
42
42
  "import": "./lib/module/api.js",
43
43
  "default": "./lib/module/api.js"
44
44
  },
45
45
  "./form": {
46
46
  "source": "./src/form.tsx",
47
- "react-native": "./src/form.tsx",
48
47
  "types": "./lib/typescript/src/form.d.ts",
48
+ "react-native": "./src/form.tsx",
49
49
  "import": "./lib/module/form.js",
50
50
  "default": "./lib/module/form.js"
51
51
  },
@@ -121,20 +121,25 @@
121
121
  "@tanstack/react-query": "^5.90.20",
122
122
  "axios": "1.13.0",
123
123
  "date-fns": "^4.1.0",
124
+ "expo-checkbox": "^5.0.8",
124
125
  "jail-monkey": "^2.8.4",
125
126
  "libphonenumber-js": "^1.12.36",
126
127
  "react-native-mask-input": "^1.2.3",
127
128
  "react-native-nitro-modules": "^0.33.8",
128
- "react-native-permissions": "^5.4.4",
129
+ "react-native-otp-entry": "^1.8.5",
129
130
  "react-native-picker-select": "^9.3.1",
130
131
  "react-native-svg": "^15.15.3",
131
132
  "zod": "^4.3.6",
132
133
  "zustand": "^5.0.11"
133
134
  },
135
+ "peerDependencies": {
136
+ "react": "^19.2.3",
137
+ "react-native": "^0.81.5"
138
+ },
134
139
  "devDependencies": {
135
140
  "@biomejs/biome": "^2.4.4",
136
141
  "@commitlint/config-conventional": "^20.4.1",
137
- "@react-native/babel-preset": "0.83.1",
142
+ "@react-native/babel-preset": "0.84.1",
138
143
  "@release-it/conventional-changelog": "^10.0.5",
139
144
  "@types/jest": "^30.0.0",
140
145
  "@types/prop-types": "^15",
@@ -142,43 +147,16 @@
142
147
  "babel-plugin-react-compiler": "^1.0.0",
143
148
  "commitlint": "^20.4.1",
144
149
  "del-cli": "^7.0.0",
145
- "expo-checkbox": "^5.0.8",
146
150
  "jest": "^30.2.0",
147
151
  "lefthook": "^2.1.0",
148
152
  "prettier": "^3.8.1",
149
153
  "prop-types": "^15.8.1",
150
- "react": "19.1.0",
151
- "react-native": "0.83.1",
154
+ "react": "19.2.3",
155
+ "react-native": "0.84.1",
152
156
  "react-native-builder-bob": "^0.40.18",
153
157
  "release-it": "^19.2.4",
154
158
  "typescript": "^5.9.3"
155
159
  },
156
- "peerDependenciesMeta": {
157
- "@react-native-community/netinfo": {
158
- "optional": true
159
- },
160
- "@react-native-picker/picker": {
161
- "optional": true
162
- },
163
- "@tanstack/react-query": {
164
- "optional": true
165
- },
166
- "axios": {
167
- "optional": true
168
- },
169
- "expo-checkbox": {
170
- "optional": true
171
- },
172
- "jail-monkey": {
173
- "optional": true
174
- },
175
- "react-native-permissions": {
176
- "optional": true
177
- },
178
- "zod": {
179
- "optional": true
180
- }
181
- },
182
160
  "workspaces": [
183
161
  "example"
184
162
  ],
@@ -1,8 +1,9 @@
1
1
  import styled from '@emotion/native';
2
2
 
3
- import { type ButtonProps, ButtonText, DefaultButtonStyle } from './styles';
3
+ import { ButtonText, DefaultButtonStyle } from './styles';
4
+ import type { ButtonProps } from './types';
4
5
 
5
- export type { ButtonProps } from './styles';
6
+ export type { ButtonProps } from './types';
6
7
 
7
8
  const DefaultButton = (props: ButtonProps) => (
8
9
  <DefaultButtonStyle activeOpacity={0.5} {...props} />
@@ -1,21 +1,17 @@
1
1
  import styled from '@emotion/native';
2
- import type { DimensionValue, TouchableOpacityProps } from 'react-native';
3
- import { Text } from '../Text';
4
2
 
5
- export type ButtonProps = {
6
- color?: string;
7
- paddingVertical?: number;
8
- paddingHorizontal?: number;
9
- margin?: DimensionValue;
10
- } & TouchableOpacityProps;
3
+ import { Text } from '../Text';
4
+ import type { ButtonProps } from './types';
11
5
 
12
6
  export const DefaultButtonStyle = styled.TouchableOpacity<ButtonProps>(
13
7
  ({ paddingVertical, paddingHorizontal, color, margin }) => ({
14
8
  flexDirection: 'row',
15
9
  alignItems: 'center',
16
10
  justifyContent: 'center',
17
- paddingHorizontal: paddingHorizontal ?? 20,
18
- paddingVertical: paddingVertical ?? 14,
11
+ paddingLeft: paddingHorizontal ?? 20,
12
+ paddingRight: paddingHorizontal ?? 20,
13
+ paddingTop: paddingVertical ?? 14,
14
+ paddingBottom: paddingVertical ?? 14,
19
15
  gap: 8,
20
16
  backgroundColor: color ?? '#333',
21
17
  margin,
@@ -0,0 +1,8 @@
1
+ import type { DimensionValue, TouchableOpacityProps } from 'react-native';
2
+
3
+ export type ButtonProps = {
4
+ color?: string;
5
+ paddingVertical?: number;
6
+ paddingHorizontal?: number;
7
+ margin?: DimensionValue;
8
+ } & TouchableOpacityProps;
@@ -1,14 +1,9 @@
1
- import type { CheckboxProps } from 'expo-checkbox';
2
1
  import RNCheckBox from 'expo-checkbox';
3
- import type { ViewProps } from 'react-native';
4
2
  import { Text } from '../Text';
5
3
  import { Container } from './styles';
4
+ import type { CheckboxProps } from './types';
6
5
 
7
- type Props = {
8
- value: boolean;
9
- onValueChange: (value: boolean) => void;
10
- containerProps?: ViewProps;
11
- } & Omit<CheckboxProps, 'OnValueChange'>;
6
+ export type { CheckboxProps } from './types';
12
7
 
13
8
  const Checkbox = ({
14
9
  value,
@@ -17,7 +12,7 @@ const Checkbox = ({
17
12
  containerProps,
18
13
  disabled,
19
14
  ...props
20
- }: Props) => {
15
+ }: CheckboxProps) => {
21
16
  return (
22
17
  <Container onPress={() => onValueChange(!value)} {...containerProps}>
23
18
  <RNCheckBox