@react-navigation/elements 3.0.0-alpha.4 → 3.0.0-alpha.41

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 (212) hide show
  1. package/lib/module/ActivityView.js +90 -0
  2. package/lib/module/ActivityView.js.map +1 -0
  3. package/lib/module/ActivityView.native.js +67 -0
  4. package/lib/module/ActivityView.native.js.map +1 -0
  5. package/lib/module/Badge.js +5 -4
  6. package/lib/module/Badge.js.map +1 -1
  7. package/lib/module/BlurEffectBackground.js +3 -3
  8. package/lib/module/BlurEffectBackground.js.map +1 -1
  9. package/lib/module/Button.js +96 -14
  10. package/lib/module/Button.js.map +1 -1
  11. package/lib/module/Color.js +565 -4
  12. package/lib/module/Color.js.map +1 -1
  13. package/lib/module/Container.js +11 -1
  14. package/lib/module/Container.js.map +1 -1
  15. package/lib/module/Header/Header.js +29 -17
  16. package/lib/module/Header/Header.js.map +1 -1
  17. package/lib/module/Header/HeaderBackButton.js +27 -13
  18. package/lib/module/Header/HeaderBackButton.js.map +1 -1
  19. package/lib/module/Header/HeaderButton.js +4 -5
  20. package/lib/module/Header/HeaderButton.js.map +1 -1
  21. package/lib/module/Header/HeaderButtonBackground.js +1 -2
  22. package/lib/module/Header/HeaderButtonBackground.js.map +1 -1
  23. package/lib/module/Header/HeaderIcon.js +14 -17
  24. package/lib/module/Header/HeaderIcon.js.map +1 -1
  25. package/lib/module/Header/HeaderSearchBar.js +35 -25
  26. package/lib/module/Header/HeaderSearchBar.js.map +1 -1
  27. package/lib/module/Header/getHeaderTitle.js.map +1 -1
  28. package/lib/module/Header/useHeaderHeight.js +1 -1
  29. package/lib/module/Header/useHeaderHeight.js.map +1 -1
  30. package/lib/module/Label/getLabel.js.map +1 -1
  31. package/lib/module/LiquidGlassView.ios.js +1 -2
  32. package/lib/module/LiquidGlassView.ios.js.map +1 -1
  33. package/lib/module/LiquidGlassView.js +0 -4
  34. package/lib/module/LiquidGlassView.js.map +1 -1
  35. package/lib/module/PlatformColor.js +1 -0
  36. package/lib/module/PlatformColor.js.map +1 -1
  37. package/lib/module/PlatformColor.native.js +1 -1
  38. package/lib/module/PlatformColor.native.js.map +1 -1
  39. package/lib/module/PlatformIcon.js +46 -0
  40. package/lib/module/PlatformIcon.js.map +1 -0
  41. package/lib/module/PlatformPressable.js +56 -14
  42. package/lib/module/PlatformPressable.js.map +1 -1
  43. package/lib/module/SafeAreaProviderCompat.js +1 -1
  44. package/lib/module/SafeAreaProviderCompat.js.map +1 -1
  45. package/lib/module/Screen.js +31 -18
  46. package/lib/module/Screen.js.map +1 -1
  47. package/lib/module/index.js +2 -7
  48. package/lib/module/index.js.map +1 -1
  49. package/lib/module/internal.js +1 -1
  50. package/lib/module/internal.js.map +1 -1
  51. package/lib/module/useFrameSize.js +6 -2
  52. package/lib/module/useFrameSize.js.map +1 -1
  53. package/lib/typescript/src/ActivityView.d.ts +31 -0
  54. package/lib/typescript/src/ActivityView.d.ts.map +1 -0
  55. package/lib/typescript/src/ActivityView.native.d.ts +3 -0
  56. package/lib/typescript/src/ActivityView.native.d.ts.map +1 -0
  57. package/lib/typescript/src/Badge.d.ts +6 -5
  58. package/lib/typescript/src/Badge.d.ts.map +1 -1
  59. package/lib/typescript/src/BlurEffectBackground.d.ts +2 -2
  60. package/lib/typescript/src/BlurEffectBackground.d.ts.map +1 -1
  61. package/lib/typescript/src/Button.d.ts +54 -6
  62. package/lib/typescript/src/Button.d.ts.map +1 -1
  63. package/lib/typescript/src/Color.d.ts +4 -4
  64. package/lib/typescript/src/Color.d.ts.map +1 -1
  65. package/lib/typescript/src/Container.d.ts +7 -4
  66. package/lib/typescript/src/Container.d.ts.map +1 -1
  67. package/lib/typescript/src/Header/Header.d.ts +5 -4
  68. package/lib/typescript/src/Header/Header.d.ts.map +1 -1
  69. package/lib/typescript/src/Header/HeaderBackButton.d.ts +3 -2
  70. package/lib/typescript/src/Header/HeaderBackButton.d.ts.map +1 -1
  71. package/lib/typescript/src/Header/HeaderBackground.d.ts +5 -5
  72. package/lib/typescript/src/Header/HeaderBackground.d.ts.map +1 -1
  73. package/lib/typescript/src/Header/HeaderButton.d.ts +7 -2
  74. package/lib/typescript/src/Header/HeaderButton.d.ts.map +1 -1
  75. package/lib/typescript/src/Header/HeaderButtonBackground.d.ts +1 -1
  76. package/lib/typescript/src/Header/HeaderButtonBackground.d.ts.map +1 -1
  77. package/lib/typescript/src/Header/HeaderIcon.d.ts +9 -4
  78. package/lib/typescript/src/Header/HeaderIcon.d.ts.map +1 -1
  79. package/lib/typescript/src/Header/HeaderSearchBar.d.ts +10 -7
  80. package/lib/typescript/src/Header/HeaderSearchBar.d.ts.map +1 -1
  81. package/lib/typescript/src/Header/HeaderTitle.d.ts +4 -4
  82. package/lib/typescript/src/Header/HeaderTitle.d.ts.map +1 -1
  83. package/lib/typescript/src/Header/getHeaderTitle.d.ts +2 -2
  84. package/lib/typescript/src/Header/getHeaderTitle.d.ts.map +1 -1
  85. package/lib/typescript/src/Label/Label.d.ts +1 -1
  86. package/lib/typescript/src/Label/Label.d.ts.map +1 -1
  87. package/lib/typescript/src/Label/getLabel.d.ts +2 -2
  88. package/lib/typescript/src/Label/getLabel.d.ts.map +1 -1
  89. package/lib/typescript/src/LiquidGlassView.d.ts +7 -5
  90. package/lib/typescript/src/LiquidGlassView.d.ts.map +1 -1
  91. package/lib/typescript/src/LiquidGlassView.ios.d.ts +4 -2
  92. package/lib/typescript/src/LiquidGlassView.ios.d.ts.map +1 -1
  93. package/lib/typescript/src/MissingIcon.d.ts +1 -1
  94. package/lib/typescript/src/MissingIcon.d.ts.map +1 -1
  95. package/lib/typescript/src/PlatformColor.d.ts +1 -0
  96. package/lib/typescript/src/PlatformColor.d.ts.map +1 -1
  97. package/lib/typescript/src/PlatformColor.native.d.ts +1 -1
  98. package/lib/typescript/src/PlatformColor.native.d.ts.map +1 -1
  99. package/lib/typescript/src/PlatformIcon.d.ts +10 -0
  100. package/lib/typescript/src/PlatformIcon.d.ts.map +1 -0
  101. package/lib/typescript/src/PlatformPressable.d.ts +12 -15
  102. package/lib/typescript/src/PlatformPressable.d.ts.map +1 -1
  103. package/lib/typescript/src/SafeAreaProviderCompat.d.ts +1 -1
  104. package/lib/typescript/src/SafeAreaProviderCompat.d.ts.map +1 -1
  105. package/lib/typescript/src/Screen.d.ts +7 -7
  106. package/lib/typescript/src/Screen.d.ts.map +1 -1
  107. package/lib/typescript/src/Text.d.ts +1 -1
  108. package/lib/typescript/src/Text.d.ts.map +1 -1
  109. package/lib/typescript/src/index.d.ts +21 -21
  110. package/lib/typescript/src/index.d.ts.map +1 -1
  111. package/lib/typescript/src/internal.d.ts +6 -6
  112. package/lib/typescript/src/internal.d.ts.map +1 -1
  113. package/lib/typescript/src/types.d.ts +120 -70
  114. package/lib/typescript/src/types.d.ts.map +1 -1
  115. package/lib/typescript/src/useFrameSize.d.ts +1 -1
  116. package/lib/typescript/src/useFrameSize.d.ts.map +1 -1
  117. package/package.json +23 -22
  118. package/src/ActivityView.native.tsx +90 -0
  119. package/src/ActivityView.tsx +129 -0
  120. package/src/Badge.tsx +10 -8
  121. package/src/BlurEffectBackground.tsx +3 -3
  122. package/src/Button.tsx +173 -28
  123. package/src/Color.tsx +755 -8
  124. package/src/Container.tsx +20 -4
  125. package/src/Header/Header.tsx +46 -26
  126. package/src/Header/HeaderBackButton.tsx +31 -17
  127. package/src/Header/HeaderBackground.tsx +3 -3
  128. package/src/Header/HeaderButton.tsx +16 -18
  129. package/src/Header/HeaderButtonBackground.tsx +1 -4
  130. package/src/Header/HeaderIcon.tsx +27 -13
  131. package/src/Header/HeaderSearchBar.tsx +52 -44
  132. package/src/Header/HeaderTitle.tsx +3 -3
  133. package/src/Header/getHeaderTitle.tsx +4 -1
  134. package/src/Header/useHeaderHeight.tsx +1 -1
  135. package/src/Label/getLabel.tsx +1 -1
  136. package/src/LiquidGlassView.ios.tsx +14 -9
  137. package/src/LiquidGlassView.tsx +15 -11
  138. package/src/PlatformColor.native.tsx +1 -1
  139. package/src/PlatformColor.tsx +4 -0
  140. package/src/PlatformIcon.tsx +66 -0
  141. package/src/PlatformPressable.tsx +99 -41
  142. package/src/SafeAreaProviderCompat.tsx +1 -1
  143. package/src/Screen.tsx +40 -27
  144. package/src/index.tsx +2 -16
  145. package/src/internal.tsx +1 -1
  146. package/src/types.tsx +153 -76
  147. package/src/useFrameSize.tsx +9 -2
  148. package/lib/module/Lazy.js +0 -42
  149. package/lib/module/Lazy.js.map +0 -1
  150. package/lib/module/assets/back-icon.ios.svg +0 -4
  151. package/lib/module/assets/back-icon@1x.android.png +0 -0
  152. package/lib/module/assets/back-icon@1x.ios.png +0 -0
  153. package/lib/module/assets/back-icon@2x.android.png +0 -0
  154. package/lib/module/assets/back-icon@2x.ios.png +0 -0
  155. package/lib/module/assets/back-icon@3x.android.png +0 -0
  156. package/lib/module/assets/back-icon@3x.ios.png +0 -0
  157. package/lib/module/assets/back-icon@4x.android.png +0 -0
  158. package/lib/module/assets/back-icon@4x.ios.png +0 -0
  159. package/lib/module/assets/clear-icon@1x.png +0 -0
  160. package/lib/module/assets/clear-icon@2x.png +0 -0
  161. package/lib/module/assets/clear-icon@3x.png +0 -0
  162. package/lib/module/assets/clear-icon@4x.png +0 -0
  163. package/lib/module/assets/close-icon@1x.png +0 -0
  164. package/lib/module/assets/close-icon@2x.png +0 -0
  165. package/lib/module/assets/close-icon@3x.png +0 -0
  166. package/lib/module/assets/close-icon@4x.png +0 -0
  167. package/lib/module/assets/search-icon-legacy@1x.ios.png +0 -0
  168. package/lib/module/assets/search-icon-legacy@2x.ios.png +0 -0
  169. package/lib/module/assets/search-icon-legacy@3x.ios.png +0 -0
  170. package/lib/module/assets/search-icon-legacy@4x.ios.png +0 -0
  171. package/lib/module/assets/search-icon.ios.svg +0 -4
  172. package/lib/module/assets/search-icon@1x.android.png +0 -0
  173. package/lib/module/assets/search-icon@1x.ios.png +0 -0
  174. package/lib/module/assets/search-icon@2x.android.png +0 -0
  175. package/lib/module/assets/search-icon@2x.ios.png +0 -0
  176. package/lib/module/assets/search-icon@3x.android.png +0 -0
  177. package/lib/module/assets/search-icon@3x.ios.png +0 -0
  178. package/lib/module/assets/search-icon@4x.android.png +0 -0
  179. package/lib/module/assets/search-icon@4x.ios.png +0 -0
  180. package/lib/typescript/src/Lazy.d.ts +0 -31
  181. package/lib/typescript/src/Lazy.d.ts.map +0 -1
  182. package/src/Lazy.tsx +0 -59
  183. package/src/assets/back-icon.ios.svg +0 -4
  184. package/src/assets/back-icon@1x.android.png +0 -0
  185. package/src/assets/back-icon@1x.ios.png +0 -0
  186. package/src/assets/back-icon@2x.android.png +0 -0
  187. package/src/assets/back-icon@2x.ios.png +0 -0
  188. package/src/assets/back-icon@3x.android.png +0 -0
  189. package/src/assets/back-icon@3x.ios.png +0 -0
  190. package/src/assets/back-icon@4x.android.png +0 -0
  191. package/src/assets/back-icon@4x.ios.png +0 -0
  192. package/src/assets/clear-icon@1x.png +0 -0
  193. package/src/assets/clear-icon@2x.png +0 -0
  194. package/src/assets/clear-icon@3x.png +0 -0
  195. package/src/assets/clear-icon@4x.png +0 -0
  196. package/src/assets/close-icon@1x.png +0 -0
  197. package/src/assets/close-icon@2x.png +0 -0
  198. package/src/assets/close-icon@3x.png +0 -0
  199. package/src/assets/close-icon@4x.png +0 -0
  200. package/src/assets/search-icon-legacy@1x.ios.png +0 -0
  201. package/src/assets/search-icon-legacy@2x.ios.png +0 -0
  202. package/src/assets/search-icon-legacy@3x.ios.png +0 -0
  203. package/src/assets/search-icon-legacy@4x.ios.png +0 -0
  204. package/src/assets/search-icon.ios.svg +0 -4
  205. package/src/assets/search-icon@1x.android.png +0 -0
  206. package/src/assets/search-icon@1x.ios.png +0 -0
  207. package/src/assets/search-icon@2x.android.png +0 -0
  208. package/src/assets/search-icon@2x.ios.png +0 -0
  209. package/src/assets/search-icon@3x.android.png +0 -0
  210. package/src/assets/search-icon@3x.ios.png +0 -0
  211. package/src/assets/search-icon@4x.android.png +0 -0
  212. package/src/assets/search-icon@4x.ios.png +0 -0
@@ -0,0 +1,31 @@
1
+ import { type ViewStyle } from 'react-native';
2
+ export type Props = {
3
+ /**
4
+ * Mode of the activity view
5
+ * - `normal`: The view renders normally
6
+ * - `inert`: Content is not interactive
7
+ * - `paused`: Effects are unmounted and content is not interactive
8
+ */
9
+ mode: 'normal' | 'inert' | 'paused';
10
+ /**
11
+ * Whether the content is visible or not
12
+ */
13
+ visible: boolean;
14
+ /**
15
+ * Delay before pausing effects.
16
+ * So pending animations have time to finish.
17
+ *
18
+ * Defaults to 500ms.
19
+ */
20
+ delay?: number | undefined;
21
+ /**
22
+ * The style for the container view
23
+ */
24
+ style?: Omit<React.CSSProperties & ViewStyle, 'display'> | undefined;
25
+ /**
26
+ * The content of the activity view
27
+ */
28
+ children: React.ReactNode;
29
+ };
30
+ export declare function ActivityView({ mode, visible, delay, style, children, }: Props): import("react").JSX.Element;
31
+ //# sourceMappingURL=ActivityView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActivityView.d.ts","sourceRoot":"","sources":["../../../src/ActivityView.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9D,MAAM,MAAM,KAAK,GAAG;IAClB;;;;;OAKG;IACH,IAAI,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;IACpC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,aAAa,GAAG,SAAS,EAAE,SAAS,CAAC,GAAG,SAAS,CAAC;IACrE;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,OAAO,EACP,KAAW,EACX,KAAK,EACL,QAAQ,GACT,EAAE,KAAK,+BAwFP"}
@@ -0,0 +1,3 @@
1
+ import type { Props } from './ActivityView.js';
2
+ export declare function ActivityView({ mode, visible, delay, style, children, }: Props): import("react").JSX.Element;
3
+ //# sourceMappingURL=ActivityView.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActivityView.native.d.ts","sourceRoot":"","sources":["../../../src/ActivityView.native.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAoB,CAAC;AAGhD,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,OAAO,EACP,KAAW,EACX,KAAK,EACL,QAAQ,GACT,EAAE,KAAK,+BAyCP"}
@@ -1,5 +1,6 @@
1
+ import * as React from 'react';
1
2
  import { Animated, type StyleProp, type TextProps, type TextStyle } from 'react-native';
2
- type Props = TextProps & {
3
+ type Props = Omit<TextProps, 'style'> & {
3
4
  /**
4
5
  * Whether the badge is visible
5
6
  */
@@ -7,16 +8,16 @@ type Props = TextProps & {
7
8
  /**
8
9
  * Content of the `Badge`.
9
10
  */
10
- children?: string | number;
11
+ children?: string | number | undefined;
11
12
  /**
12
13
  * Size of the `Badge`.
13
14
  */
14
- size?: number;
15
+ size?: number | undefined;
15
16
  /**
16
17
  * Style object for the tab bar container.
17
18
  */
18
- style?: Animated.WithAnimatedValue<StyleProp<TextStyle>>;
19
+ style?: Animated.WithAnimatedValue<StyleProp<TextStyle>> | undefined;
19
20
  };
20
- export declare function Badge({ children, style, visible, size, ...rest }: Props): import("react/jsx-runtime").JSX.Element | null;
21
+ export declare function Badge({ children, style, visible, size, ...rest }: Props): React.JSX.Element | null;
21
22
  export {};
22
23
  //# sourceMappingURL=Badge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/Badge.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EAER,KAAK,SAAS,EAEd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAItB,KAAK,KAAK,GAAG,SAAS,GAAG;IACvB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,QAAQ,CAAC,iBAAiB,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;CAC1D,CAAC;AAIF,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,KAAK,EACL,OAAc,EACd,IAAS,EACT,GAAG,IAAI,EACR,EAAE,KAAK,kDAwEP"}
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/Badge.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,QAAQ,EAER,KAAK,SAAS,EAEd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAItB,KAAK,KAAK,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG;IACtC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,QAAQ,CAAC,iBAAiB,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,GAAG,SAAS,CAAC;CACtE,CAAC;AAIF,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,KAAK,EACL,OAAc,EACd,IAAS,EACT,GAAG,IAAI,EACR,EAAE,KAAK,4BA0EP"}
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { type StyleProp, type ViewProps, type ViewStyle } from 'react-native';
3
- import { type BlurEffectType } from './getBlurBackgroundColor';
3
+ import { type BlurEffectType } from './getBlurBackgroundColor.js';
4
4
  type Props = Omit<ViewProps, 'style'> & {
5
5
  blurEffect: BlurEffectType | 'none' | undefined;
6
6
  style?: StyleProp<ViewStyle>;
@@ -11,6 +11,6 @@ type Props = Omit<ViewProps, 'style'> & {
11
11
  *
12
12
  * Only supported on web. Falls back to a regular `View` on other platforms.
13
13
  */
14
- export declare function BlurEffectBackground({ blurEffect, style, children, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
14
+ export declare function BlurEffectBackground({ blurEffect, style, children, ...rest }: Props): React.JSX.Element;
15
15
  export {};
16
16
  //# sourceMappingURL=BlurEffectBackground.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BlurEffectBackground.d.ts","sourceRoot":"","sources":["../../../src/BlurEffectBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAGL,KAAK,SAAS,EAGd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,KAAK,cAAc,EAEpB,MAAM,0BAA0B,CAAC;AAElC,KAAK,KAAK,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG;IACtC,UAAU,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS,CAAC;IAChD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,UAAU,EACV,KAAK,EACL,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,KAAK,2CAyDP"}
1
+ {"version":3,"file":"BlurEffectBackground.d.ts","sourceRoot":"","sources":["../../../src/BlurEffectBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAGL,KAAK,SAAS,EAGd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,KAAK,cAAc,EAEpB,MAAM,6BAA0B,CAAC;AAElC,KAAK,KAAK,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG;IACtC,UAAU,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS,CAAC;IAChD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,UAAU,EACV,KAAK,EACL,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,KAAK,qBAyDP"}
@@ -1,14 +1,62 @@
1
1
  import { type LinkProps, type RootParamList } from '@react-navigation/native';
2
2
  import * as React from 'react';
3
3
  import { type ColorValue } from 'react-native';
4
- import { type Props as PlatformPressableProps } from './PlatformPressable';
4
+ import { type Props as PlatformPressableProps } from './PlatformPressable.js';
5
+ import type { Icon } from './types.js';
5
6
  type ButtonBaseProps = Omit<PlatformPressableProps, 'children'> & {
6
- variant?: 'plain' | 'tinted' | 'filled';
7
- color?: ColorValue;
8
- children: string | string[];
7
+ /**
8
+ * Variant of the button.
9
+ *
10
+ * - `plain`: transparent background, colored text
11
+ * - `tinted`: lightly tinted background, colored text
12
+ * - `filled`: colored background, contrasting text color
13
+ *
14
+ * @default 'tinted'
15
+ */
16
+ variant?: 'plain' | 'tinted' | 'filled' | undefined;
17
+ /**
18
+ * Custom color for the button.
19
+ * Changes the text color for `plain` and `tinted` variants,
20
+ * and background color for `filled` variant.
21
+ */
22
+ color?: ColorValue | undefined;
23
+ /**
24
+ * Icon to display before the label.
25
+ *
26
+ * Supported types:
27
+ * - image: custom image source
28
+ * - sfSymbol: SF Symbol icon (iOS only)
29
+ * - materialSymbol: material symbol icon (Android only)
30
+ * - React Node: function that returns a React Element
31
+ */
32
+ icon?: Icon | ((props: {
33
+ color: ColorValue;
34
+ size: number;
35
+ }) => Icon | React.ReactNode) | undefined;
36
+ /**
37
+ * Whether to show a loading indicator instead of the icon.
38
+ */
39
+ loading?: boolean | undefined;
40
+ /**
41
+ * Label text to display inside the button.
42
+ */
43
+ children: string | string[] | React.ReactElement | React.ReactElement[];
9
44
  };
10
- type ButtonLinkProps<ParamList extends {} = RootParamList, RouteName extends keyof ParamList = keyof ParamList> = LinkProps<ParamList, RouteName> & Omit<ButtonBaseProps, 'onPress'>;
11
- export declare function Button<ParamList extends {} = RootParamList, RouteName extends keyof ParamList = keyof ParamList>(props: ButtonLinkProps<ParamList, RouteName>): React.JSX.Element;
45
+ type ButtonLinkProps<ParamList extends {} = RootParamList, RouteName extends Extract<keyof ParamList, string> = Extract<keyof ParamList, string>> = LinkProps<NoInfer<ParamList>, RouteName> & ButtonBaseProps;
46
+ /**
47
+ * Component to render a button that navigates to a screen using a path.
48
+ * Uses an anchor tag on the web.
49
+ *
50
+ * @param props.in Name of the current or parent screen whose navigator contains the target screen.
51
+ * @param props.screen Name of the screen to navigate to (e.g. `'Feeds'`).
52
+ * @param props.params Params to pass to the screen to navigate to (e.g. `{ sort: 'hot' }`).
53
+ * @param props.href Optional absolute path to use for the href (e.g. `/feeds/hot`).
54
+ * @param props.action Optional action to override the in-page navigation. The `href` is still derived from `screen`, so this can be used to render a link while dispatching a different action (e.g. a `replace`).
55
+ */
56
+ export declare function Button<ParamList extends {} = RootParamList, RouteName extends Extract<keyof ParamList, string> = Extract<keyof ParamList, string>>(props: ButtonLinkProps<ParamList, RouteName>): React.JSX.Element;
57
+ /**
58
+ * Component to render a button.
59
+ */
12
60
  export declare function Button(props: ButtonBaseProps): React.JSX.Element;
13
61
  export {};
14
62
  //# sourceMappingURL=Button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EACd,KAAK,aAAa,EAGnB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,UAAU,EAAwB,MAAM,cAAc,CAAC;AAGrE,OAAO,EAEL,KAAK,KAAK,IAAI,sBAAsB,EACrC,MAAM,qBAAqB,CAAC;AAG7B,KAAK,eAAe,GAAG,IAAI,CAAC,sBAAsB,EAAE,UAAU,CAAC,GAAG;IAChE,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACxC,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC7B,CAAC;AAEF,KAAK,eAAe,CAClB,SAAS,SAAS,EAAE,GAAG,aAAa,EACpC,SAAS,SAAS,MAAM,SAAS,GAAG,MAAM,SAAS,IACjD,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC,GAAG,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC;AAIvE,wBAAgB,MAAM,CACpB,SAAS,SAAS,EAAE,GAAG,aAAa,EACpC,SAAS,SAAS,MAAM,SAAS,GAAG,MAAM,SAAS,EACnD,KAAK,EAAE,eAAe,CAAC,SAAS,EAAE,SAAS,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;AAEnE,wBAAgB,MAAM,CAAC,KAAK,EAAE,eAAe,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EAEd,KAAK,aAAa,EAGnB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,KAAK,UAAU,EAIhB,MAAM,cAAc,CAAC;AAItB,OAAO,EAEL,KAAK,KAAK,IAAI,sBAAsB,EACrC,MAAM,wBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAS,CAAC;AAEpC,KAAK,eAAe,GAAG,IAAI,CAAC,sBAAsB,EAAE,UAAU,CAAC,GAAG;IAChE;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;IACpD;;;;OAIG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAC/B;;;;;;;;OAQG;IACH,IAAI,CAAC,EACD,IAAI,GACJ,CAAC,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,UAAU,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,GAAG,KAAK,CAAC,SAAS,CAAC,GACxE,SAAS,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,EAAE,CAAC;CACzE,CAAC;AAEF,KAAK,eAAe,CAClB,SAAS,SAAS,EAAE,GAAG,aAAa,EACpC,SAAS,SAAS,OAAO,CAAC,MAAM,SAAS,EAAE,MAAM,CAAC,GAAG,OAAO,CAC1D,MAAM,SAAS,EACf,MAAM,CACP,IACC,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC,GAAG,eAAe,CAAC;AAK/D;;;;;;;;;GASG;AACH,wBAAgB,MAAM,CACpB,SAAS,SAAS,EAAE,GAAG,aAAa,EACpC,SAAS,SAAS,OAAO,CAAC,MAAM,SAAS,EAAE,MAAM,CAAC,GAAG,OAAO,CAC1D,MAAM,SAAS,EACf,MAAM,CACP,EACD,KAAK,EAAE,eAAe,CAAC,SAAS,EAAE,SAAS,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;AAEnE;;GAEG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,eAAe,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC"}
@@ -1,13 +1,13 @@
1
- import type { ColorValue } from 'react-native';
1
+ import { type ColorValue } from 'react-native';
2
2
  type ColorType = {
3
- isLight(): boolean;
4
- isDark(): boolean;
5
3
  alpha(amount: number): ColorType;
6
4
  alpha(): number;
7
5
  fade(amount: number): ColorType;
8
- darken(amount: number): ColorType;
9
6
  string(): string;
10
7
  };
11
8
  export declare function Color(value: ColorValue): ColorType | undefined;
9
+ export declare namespace Color {
10
+ var foreground: (color: ColorValue) => ColorValue;
11
+ }
12
12
  export {};
13
13
  //# sourceMappingURL=Color.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Color.d.ts","sourceRoot":"","sources":["../../../src/Color.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,KAAK,SAAS,GAAG;IACf,OAAO,IAAI,OAAO,CAAC;IACnB,MAAM,IAAI,OAAO,CAAC;IAClB,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,KAAK,IAAI,MAAM,CAAC;IAChB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,MAAM,IAAI,MAAM,CAAC;CAClB,CAAC;AAEF,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,GAAG,SAAS,GAAG,SAAS,CAM9D"}
1
+ {"version":3,"file":"Color.d.ts","sourceRoot":"","sources":["../../../src/Color.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAY,MAAM,cAAc,CAAC;AAIzD,KAAK,SAAS,GAAG;IACf,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,KAAK,IAAI,MAAM,CAAC;IAChB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,MAAM,IAAI,MAAM,CAAC;CAClB,CAAC;AASF,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,GAAG,SAAS,GAAG,SAAS,CAU9D;yBAVe,KAAK;4BAYM,UAAU,KAAG,UAAU"}
@@ -1,8 +1,11 @@
1
- import { type ViewStyle } from 'react-native';
1
+ import { View, type ViewStyle } from 'react-native';
2
2
  export type Props = {
3
- inert?: boolean;
4
- style?: React.CSSProperties & ViewStyle;
3
+ ref?: React.Ref<HTMLDivElement | View> | undefined;
4
+ inert?: boolean | undefined;
5
+ style?: (ViewStyle & Omit<React.CSSProperties, 'backgroundColor'> & {
6
+ backgroundColor?: ViewStyle['backgroundColor'] | undefined;
7
+ }) | undefined;
5
8
  children: React.ReactNode;
6
9
  };
7
- export declare function Container({ inert, children, style }: Props): import("react/jsx-runtime").JSX.Element;
10
+ export declare function Container({ ref, inert, children, style }: Props): import("react").JSX.Element;
8
11
  //# sourceMappingURL=Container.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../src/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9D,MAAM,MAAM,KAAK,GAAG;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;IACxC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,KAAK,2CAsB1D"}
1
+ {"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../src/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9D,MAAM,MAAM,KAAK,GAAG;IAClB,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,GAAG,IAAI,CAAC,GAAG,SAAS,CAAC;IACnD,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,KAAK,CAAC,EACF,CAAC,SAAS,GACR,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,iBAAiB,CAAC,GAAG;QAC7C,eAAe,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;KAC5D,CAAC,GACJ,SAAS,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,wBAAgB,SAAS,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,KAAK,+BAgC/D"}
@@ -1,4 +1,5 @@
1
- import type { HeaderOptions } from '../types';
1
+ import * as React from 'react';
2
+ import type { HeaderOptions } from '../types.js';
2
3
  type Props = HeaderOptions & {
3
4
  /**
4
5
  * Options for the back button.
@@ -12,16 +13,16 @@ type Props = HeaderOptions & {
12
13
  * The `href` to use for the anchor tag on web
13
14
  */
14
15
  href: string | undefined;
15
- };
16
+ } | undefined;
16
17
  /**
17
18
  * Whether the header is in a modal
18
19
  */
19
- modal?: boolean;
20
+ modal?: boolean | undefined;
20
21
  /**
21
22
  * Title text for the header.
22
23
  */
23
24
  title: string;
24
25
  };
25
- export declare function Header(props: Props): import("react/jsx-runtime").JSX.Element;
26
+ export declare function Header(props: Props): React.JSX.Element;
26
27
  export {};
27
28
  //# sourceMappingURL=Header.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/Header/Header.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAY9C,KAAK,KAAK,GAAG,aAAa,GAAG;IAC3B;;OAEG;IACH,IAAI,CAAC,EAAE;QACL;;WAEG;QACH,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;QAC1B;;WAEG;QACH,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;KAC1B,CAAC;IACF;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AA0BF,wBAAgB,MAAM,CAAC,KAAK,EAAE,KAAK,2CAqZlC"}
1
+ {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/Header/Header.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAU,CAAC;AAY9C,KAAK,KAAK,GAAG,aAAa,GAAG;IAC3B;;OAEG;IACH,IAAI,CAAC,EACD;QACE;;WAEG;QACH,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;QAC1B;;WAEG;QACH,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;KAC1B,GACD,SAAS,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AA0BF,wBAAgB,MAAM,CAAC,KAAK,EAAE,KAAK,qBAmalC"}
@@ -1,3 +1,4 @@
1
- import type { HeaderBackButtonProps } from '../types';
2
- export declare function HeaderBackButton({ disabled, allowFontScaling, backImage, label, labelStyle, displayMode, onPress, pressColor, pressOpacity, tintColor, truncatedLabel, accessibilityLabel, testID, style, href, }: HeaderBackButtonProps): import("react/jsx-runtime").JSX.Element;
1
+ import * as React from 'react';
2
+ import type { HeaderBackButtonProps } from '../types.js';
3
+ export declare function HeaderBackButton({ disabled, allowFontScaling, icon, label, labelStyle, displayMode, onPress, pressColor, pressOpacity, tintColor, truncatedLabel, accessibilityLabel, testID, style, href, }: HeaderBackButtonProps): React.JSX.Element;
3
4
  //# sourceMappingURL=HeaderBackButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderBackButton.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderBackButton.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAEV,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAIlB,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,gBAAgB,EAChB,SAAS,EACT,KAAK,EACL,UAAU,EACV,WAAuB,EACvB,OAAO,EACP,UAAU,EACV,YAAY,EACZ,SAAS,EACT,cAAuB,EACvB,kBAA6E,EAC7E,MAAM,EACN,KAAK,EACL,IAAI,GACL,EAAE,qBAAqB,2CAyDvB"}
1
+ {"version":3,"file":"HeaderBackButton.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderBackButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B,OAAO,KAAK,EAEV,qBAAqB,EAEtB,MAAM,aAAU,CAAC;AAIlB,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,gBAAgB,EAChB,IAAI,EACJ,KAAK,EACL,UAAU,EACV,WAAuB,EACvB,OAAO,EACP,UAAU,EACV,YAAY,EACZ,SAAS,EACT,cAAuB,EACvB,kBAA6E,EAC7E,MAAM,EACN,KAAK,EACL,IAAI,GACL,EAAE,qBAAqB,qBAsEvB"}
@@ -1,11 +1,11 @@
1
1
  import * as React from 'react';
2
2
  import { type StyleProp, type ViewProps, type ViewStyle } from 'react-native';
3
- import { type BlurEffectType } from '../getBlurBackgroundColor';
3
+ import { type BlurEffectType } from '../getBlurBackgroundColor.js';
4
4
  type Props = Omit<ViewProps, 'style'> & {
5
- blurEffect?: BlurEffectType | 'none';
6
- style?: StyleProp<ViewStyle>;
7
- children?: React.ReactNode;
5
+ blurEffect?: BlurEffectType | 'none' | undefined;
6
+ style?: StyleProp<ViewStyle> | undefined;
7
+ children?: React.ReactNode | undefined;
8
8
  };
9
- export declare function HeaderBackground({ blurEffect, style, children, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
9
+ export declare function HeaderBackground({ blurEffect, style, children, ...rest }: Props): React.JSX.Element;
10
10
  export {};
11
11
  //# sourceMappingURL=HeaderBackground.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderBackground.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderBackground.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,KAAK,SAAS,EAEd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE,KAAK,KAAK,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG;IACtC,UAAU,CAAC,EAAE,cAAc,GAAG,MAAM,CAAC;IACrC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,EAC/B,UAAU,EACV,KAAK,EACL,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,KAAK,2CAmBP"}
1
+ {"version":3,"file":"HeaderBackground.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderBackground.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,KAAK,SAAS,EAEd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA2B,CAAC;AAEhE,KAAK,KAAK,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG;IACtC,UAAU,CAAC,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS,CAAC;IACjD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,EAC/B,UAAU,EACV,KAAK,EACL,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,KAAK,qBAmBP"}
@@ -1,6 +1,11 @@
1
1
  import * as React from 'react';
2
- import type { HeaderButtonProps } from '../types';
3
- export declare const HeaderButton: React.ForwardRefExoticComponent<HeaderButtonProps & React.RefAttributes<import("react-native").View | import("react-native").Animated.LegacyRef<import("react-native").View>>>;
2
+ import { PlatformPressable } from '../PlatformPressable.js';
3
+ import type { HeaderButtonProps } from '../types.js';
4
+ type Props = HeaderButtonProps & {
5
+ ref?: React.Ref<React.ComponentRef<typeof PlatformPressable>> | undefined;
6
+ };
7
+ export declare function HeaderButton({ disabled, onPress, pressColor, pressOpacity, accessibilityLabel, testID, style, href, children, ref, }: Props): React.JSX.Element;
4
8
  export declare const BUTTON_SIZE: number;
5
9
  export declare const BUTTON_SPACING: number;
10
+ export {};
6
11
  //# sourceMappingURL=HeaderButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderButton.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAsClD,eAAO,MAAM,YAAY,gLAAyC,CAAC;AAInE,eAAO,MAAM,WAAW,QAAkC,CAAC;AAC3D,eAAO,MAAM,cAAc,QAAiC,CAAC"}
1
+ {"version":3,"file":"HeaderButton.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAU,CAAC;AAElD,KAAK,KAAK,GAAG,iBAAiB,GAAG;IAC/B,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC,GAAG,SAAS,CAAC;CAC3E,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,OAAO,EACP,UAAU,EACV,YAAY,EACZ,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,GAAG,GACJ,EAAE,KAAK,qBAqBP;AAED,eAAO,MAAM,WAAW,QAAkC,CAAC;AAC3D,eAAO,MAAM,cAAc,QAAiC,CAAC"}
@@ -2,6 +2,6 @@ import { Animated } from 'react-native';
2
2
  type Props = React.ComponentProps<typeof Animated.View> & {
3
3
  plain?: boolean;
4
4
  };
5
- export declare function HeaderButtonBackground({ plain, style, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
5
+ export declare function HeaderButtonBackground({ plain, style, ...rest }: Props): import("react").JSX.Element;
6
6
  export {};
7
7
  //# sourceMappingURL=HeaderButtonBackground.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderButtonBackground.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderButtonBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAc,MAAM,cAAc,CAAC;AAKpD,KAAK,KAAK,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,IAAI,CAAC,GAAG;IACxD,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAKF,wBAAgB,sBAAsB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,2CAYtE"}
1
+ {"version":3,"file":"HeaderButtonBackground.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderButtonBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAc,MAAM,cAAc,CAAC;AAKpD,KAAK,KAAK,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,IAAI,CAAC,GAAG;IACxD,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,+BAYtE"}
@@ -1,5 +1,10 @@
1
- import { type ImageProps } from 'react-native';
2
- export declare function HeaderIcon({ source, style, ...rest }: ImageProps): import("react/jsx-runtime").JSX.Element;
3
- export declare const ICON_SIZE: number;
4
- export declare const ICON_MARGIN: number;
1
+ import { type ColorValue, type ImageStyle, type StyleProp } from 'react-native';
2
+ import type { Icon } from '../types.js';
3
+ type Props = {
4
+ icon: Icon;
5
+ color: ColorValue;
6
+ style?: StyleProp<ImageStyle> | undefined;
7
+ };
8
+ export declare function HeaderIcon({ icon, color, style }: Props): import("react").JSX.Element;
9
+ export {};
5
10
  //# sourceMappingURL=HeaderIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderIcon.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAS,KAAK,UAAU,EAAwB,MAAM,cAAc,CAAC;AAE5E,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,UAAU,2CAchE;AAED,eAAO,MAAM,SAAS,QAAkC,CAAC;AACzD,eAAO,MAAM,WAAW,QAAgC,CAAC"}
1
+ {"version":3,"file":"HeaderIcon.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,UAAU,EAEf,KAAK,SAAS,EAEf,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAU,CAAC;AAErC,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC;CAC3C,CAAC;AAEF,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,KAAK,+BAavD"}
@@ -1,13 +1,16 @@
1
1
  import * as React from 'react';
2
2
  import { Animated, type ColorValue, type StyleProp, type ViewStyle } from 'react-native';
3
- import type { HeaderSearchBarOptions, HeaderSearchBarRef } from '../types';
4
- export declare const HeaderSearchBar: React.ForwardRefExoticComponent<Omit<HeaderSearchBarOptions, "ref"> & {
3
+ import type { HeaderSearchBarOptions, HeaderSearchBarRef } from '../types.js';
4
+ type Props = Omit<HeaderSearchBarOptions, 'ref'> & {
5
5
  visible: boolean;
6
6
  onClose: () => void;
7
- tintColor?: ColorValue;
8
- pressColor?: ColorValue;
9
- pressOpacity?: number;
7
+ tintColor?: ColorValue | undefined;
8
+ pressColor?: ColorValue | undefined;
9
+ pressOpacity?: number | undefined;
10
10
  statusBarHeight: number;
11
- style?: Animated.WithAnimatedValue<StyleProp<ViewStyle>>;
12
- } & React.RefAttributes<HeaderSearchBarRef>>;
11
+ style?: Animated.WithAnimatedValue<StyleProp<ViewStyle>> | undefined;
12
+ ref?: React.Ref<HeaderSearchBarRef> | undefined;
13
+ };
14
+ export declare function HeaderSearchBar({ visible, inputType, autoFocus, autoCapitalize, placeholder, enterKeyHint, cancelButtonText, onChange, onClose, tintColor, pressColor, pressOpacity, statusBarHeight, style, ref, ...rest }: Props): React.JSX.Element;
15
+ export {};
13
16
  //# sourceMappingURL=HeaderSearchBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderSearchBar.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderSearchBar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,QAAQ,EAER,KAAK,UAAU,EAIf,KAAK,SAAS,EAId,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAatB,OAAO,KAAK,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAyY3E,eAAO,MAAM,eAAe;aAlYjB,OAAO;aACP,MAAM,IAAI;gBACP,UAAU;iBACT,UAAU;mBACR,MAAM;qBACJ,MAAM;YACf,QAAQ,CAAC,iBAAiB,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;4CA4Xc,CAAC"}
1
+ {"version":3,"file":"HeaderSearchBar.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderSearchBar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,QAAQ,EAER,KAAK,UAAU,EAGf,KAAK,SAAS,EAId,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAUtB,OAAO,KAAK,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,aAAU,CAAC;AAM3E,KAAK,KAAK,GAAG,IAAI,CAAC,sBAAsB,EAAE,KAAK,CAAC,GAAG;IACjD,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACnC,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,QAAQ,CAAC,iBAAiB,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,GAAG,SAAS,CAAC;IACrE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC;CACjD,CAAC;AAWF,wBAAgB,eAAe,CAAC,EAC9B,OAAO,EACP,SAAS,EACT,SAAgB,EAChB,cAAc,EACd,WAAsB,EACtB,YAAuB,EACvB,gBAA2B,EAC3B,QAAQ,EACR,OAAO,EACP,SAAS,EACT,UAAU,EACV,YAAY,EACZ,eAAe,EACf,KAAK,EACL,GAAG,EACH,GAAG,IAAI,EACR,EAAE,KAAK,qBAiQP"}
@@ -1,9 +1,9 @@
1
1
  import { Animated, type ColorValue, type StyleProp, type TextProps, type TextStyle } from 'react-native';
2
2
  type Props = Omit<TextProps, 'style'> & {
3
- tintColor?: ColorValue;
4
- children?: string;
5
- style?: Animated.WithAnimatedValue<StyleProp<TextStyle>>;
3
+ tintColor?: ColorValue | undefined;
4
+ children?: string | undefined;
5
+ style?: Animated.WithAnimatedValue<StyleProp<TextStyle>> | undefined;
6
6
  };
7
- export declare function HeaderTitle({ tintColor, style, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
7
+ export declare function HeaderTitle({ tintColor, style, ...rest }: Props): import("react").JSX.Element;
8
8
  export {};
9
9
  //# sourceMappingURL=HeaderTitle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderTitle.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderTitle.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EACR,KAAK,UAAU,EAEf,KAAK,SAAS,EAEd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,KAAK,KAAK,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG;IACtC,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,QAAQ,CAAC,iBAAiB,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;CAC1D,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,2CAiB/D"}
1
+ {"version":3,"file":"HeaderTitle.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderTitle.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EACR,KAAK,UAAU,EAEf,KAAK,SAAS,EAEd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,KAAK,KAAK,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG;IACtC,SAAS,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,KAAK,CAAC,EAAE,QAAQ,CAAC,iBAAiB,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,GAAG,SAAS,CAAC;CACtE,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,+BAiB/D"}
@@ -1,6 +1,6 @@
1
- import type { HeaderOptions } from '../types';
1
+ import type { HeaderOptions } from '../types.js';
2
2
  export declare function getHeaderTitle(options: {
3
- title?: string;
3
+ title?: string | undefined;
4
4
  headerTitle?: HeaderOptions['headerTitle'];
5
5
  }, fallback: string): string;
6
6
  //# sourceMappingURL=getHeaderTitle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getHeaderTitle.d.ts","sourceRoot":"","sources":["../../../../src/Header/getHeaderTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,wBAAgB,cAAc,CAC5B,OAAO,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,aAAa,CAAC,aAAa,CAAC,CAAA;CAAE,EACvE,QAAQ,EAAE,MAAM,GACf,MAAM,CAMR"}
1
+ {"version":3,"file":"getHeaderTitle.d.ts","sourceRoot":"","sources":["../../../../src/Header/getHeaderTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAU,CAAC;AAE9C,wBAAgB,cAAc,CAC5B,OAAO,EAAE;IACP,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;CAC5C,EACD,QAAQ,EAAE,MAAM,GACf,MAAM,CAMR"}
@@ -4,6 +4,6 @@ type Props = Omit<TextProps, 'style'> & {
4
4
  children?: string;
5
5
  style?: StyleProp<TextStyle>;
6
6
  };
7
- export declare function Label({ tintColor, style, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
7
+ export declare function Label({ tintColor, style, ...rest }: Props): import("react").JSX.Element;
8
8
  export {};
9
9
  //# sourceMappingURL=Label.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../src/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,SAAS,EAEd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAItB,KAAK,KAAK,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG;IACtC,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,wBAAgB,KAAK,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,2CAQzD"}
1
+ {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../src/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,SAAS,EAEd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAItB,KAAK,KAAK,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG;IACtC,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,wBAAgB,KAAK,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,+BAQzD"}
@@ -1,5 +1,5 @@
1
1
  export declare function getLabel(options: {
2
- label?: string;
3
- title?: string;
2
+ label?: string | undefined;
3
+ title?: string | undefined;
4
4
  }, fallback: string): string;
5
5
  //# sourceMappingURL=getLabel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getLabel.d.ts","sourceRoot":"","sources":["../../../../src/Label/getLabel.tsx"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CACtB,OAAO,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,EAC3C,QAAQ,EAAE,MAAM,GACf,MAAM,CAMR"}
1
+ {"version":3,"file":"getLabel.d.ts","sourceRoot":"","sources":["../../../../src/Label/getLabel.tsx"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CACtB,OAAO,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,EACnE,QAAQ,EAAE,MAAM,GACf,MAAM,CAMR"}
@@ -1,9 +1,11 @@
1
+ import type { LiquidGlassContainerViewProps, LiquidGlassViewProps } from '@callstack/liquid-glass';
1
2
  import { Animated } from 'react-native';
2
- type CallstackLiquidGlass = typeof import('@callstack/liquid-glass');
3
- export declare const LiquidGlassView: CallstackLiquidGlass['LiquidGlassView'];
4
- export declare const LiquidGlassContainerView: CallstackLiquidGlass['LiquidGlassContainerView'];
5
- export declare const AnimatedLiquidGlassView: Animated.AnimatedComponent<typeof LiquidGlassView>;
6
- export declare const AnimatedLiquidGlassContainerView: Animated.AnimatedComponent<typeof LiquidGlassContainerView>;
3
+ type AnimatedLiquidGlassViewProps = Animated.AnimatedProps<LiquidGlassViewProps>;
4
+ type AnimatedLiquidGlassContainerViewProps = Animated.AnimatedProps<LiquidGlassContainerViewProps>;
5
+ export declare const LiquidGlassView: React.ComponentType<LiquidGlassViewProps>;
6
+ export declare const LiquidGlassContainerView: React.ComponentType<LiquidGlassContainerViewProps>;
7
+ export declare const AnimatedLiquidGlassView: React.ComponentType<AnimatedLiquidGlassViewProps>;
8
+ export declare const AnimatedLiquidGlassContainerView: React.ComponentType<AnimatedLiquidGlassContainerViewProps>;
7
9
  export declare const isLiquidGlassSupported = false;
8
10
  export {};
9
11
  //# sourceMappingURL=LiquidGlassView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LiquidGlassView.d.ts","sourceRoot":"","sources":["../../../src/LiquidGlassView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAQ,MAAM,cAAc,CAAC;AAE9C,KAAK,oBAAoB,GAAG,cAAc,yBAAyB,CAAC,CAAC;AAErE,eAAO,MAAM,eAAe,EAAE,oBAAoB,CAAC,iBAAiB,CAAQ,CAAC;AAE7E,eAAO,MAAM,wBAAwB,EAAE,oBAAoB,CAAC,0BAA0B,CAChF,CAAC;AAGP,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,iBAAiB,CAC9D,OAAO,eAAe,CACP,CAAC;AAGlB,eAAO,MAAM,gCAAgC,EAAE,QAAQ,CAAC,iBAAiB,CACvE,OAAO,wBAAwB,CAChB,CAAC;AAElB,eAAO,MAAM,sBAAsB,QAAQ,CAAC"}
1
+ {"version":3,"file":"LiquidGlassView.d.ts","sourceRoot":"","sources":["../../../src/LiquidGlassView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAC7B,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAQ,MAAM,cAAc,CAAC;AAE9C,KAAK,4BAA4B,GAC/B,QAAQ,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAAC;AAE/C,KAAK,qCAAqC,GACxC,QAAQ,CAAC,aAAa,CAAC,6BAA6B,CAAC,CAAC;AAExD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAQ,CAAC;AAE/E,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,aAAa,CAAC,6BAA6B,CAClF,CAAC;AAEP,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,aAAa,CAAC,4BAA4B,CACvE,CAAC;AAEhB,eAAO,MAAM,gCAAgC,EAAE,KAAK,CAAC,aAAa,CAAC,qCAAqC,CACzF,CAAC;AAEhB,eAAO,MAAM,sBAAsB,QAAQ,CAAC"}
@@ -1,5 +1,7 @@
1
+ import type { LiquidGlassContainerViewProps, LiquidGlassViewProps } from '@callstack/liquid-glass';
1
2
  import { Animated } from 'react-native';
2
- type CallstackLiquidGlass = typeof import('@callstack/liquid-glass');
3
- declare let isLiquidGlassSupported: boolean, LiquidGlassView: CallstackLiquidGlass['LiquidGlassView'], LiquidGlassContainerView: CallstackLiquidGlass['LiquidGlassContainerView'], AnimatedLiquidGlassView: Animated.AnimatedComponent<typeof LiquidGlassView>, AnimatedLiquidGlassContainerView: Animated.AnimatedComponent<typeof LiquidGlassContainerView>;
3
+ type AnimatedLiquidGlassViewProps = Animated.AnimatedProps<LiquidGlassViewProps>;
4
+ type AnimatedLiquidGlassContainerViewProps = Animated.AnimatedProps<LiquidGlassContainerViewProps>;
5
+ declare let isLiquidGlassSupported: boolean, LiquidGlassView: React.ComponentType<LiquidGlassViewProps>, LiquidGlassContainerView: React.ComponentType<LiquidGlassContainerViewProps>, AnimatedLiquidGlassView: React.ComponentType<AnimatedLiquidGlassViewProps>, AnimatedLiquidGlassContainerView: React.ComponentType<AnimatedLiquidGlassContainerViewProps>;
4
6
  export { AnimatedLiquidGlassContainerView, AnimatedLiquidGlassView, isLiquidGlassSupported, LiquidGlassContainerView, LiquidGlassView, };
5
7
  //# sourceMappingURL=LiquidGlassView.ios.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LiquidGlassView.ios.d.ts","sourceRoot":"","sources":["../../../src/LiquidGlassView.ios.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAQ,MAAM,cAAc,CAAC;AAE9C,KAAK,oBAAoB,GAAG,cAAc,yBAAyB,CAAC,CAAC;AAErE,QAAA,IAAI,sBAAsB,EAAE,OAAO,EACjC,eAAe,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,EACxD,wBAAwB,EAAE,oBAAoB,CAAC,0BAA0B,CAAC,EAC1E,uBAAuB,EAAE,QAAQ,CAAC,iBAAiB,CAAC,OAAO,eAAe,CAAC,EAC3E,gCAAgC,EAAE,QAAQ,CAAC,iBAAiB,CAC1D,OAAO,wBAAwB,CAChC,CAAC;AAsBJ,OAAO,EACL,gCAAgC,EAChC,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,eAAe,GAChB,CAAC"}
1
+ {"version":3,"file":"LiquidGlassView.ios.d.ts","sourceRoot":"","sources":["../../../src/LiquidGlassView.ios.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAC7B,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAQ,MAAM,cAAc,CAAC;AAE9C,KAAK,4BAA4B,GAC/B,QAAQ,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAAC;AAE/C,KAAK,qCAAqC,GACxC,QAAQ,CAAC,aAAa,CAAC,6BAA6B,CAAC,CAAC;AAExD,QAAA,IAAI,sBAAsB,EAAE,OAAO,EACjC,eAAe,EAAE,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,EAC1D,wBAAwB,EAAE,KAAK,CAAC,aAAa,CAAC,6BAA6B,CAAC,EAC5E,uBAAuB,EAAE,KAAK,CAAC,aAAa,CAAC,4BAA4B,CAAC,EAC1E,gCAAgC,EAAE,KAAK,CAAC,aAAa,CAAC,qCAAqC,CAAC,CAAC;AAqB/F,OAAO,EACL,gCAAgC,EAChC,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,eAAe,GAChB,CAAC"}
@@ -4,6 +4,6 @@ type Props = {
4
4
  size?: number;
5
5
  style?: StyleProp<TextStyle>;
6
6
  };
7
- export declare function MissingIcon({ color, size, style }: Props): import("react/jsx-runtime").JSX.Element;
7
+ export declare function MissingIcon({ color, size, style }: Props): import("react").JSX.Element;
8
8
  export {};
9
9
  //# sourceMappingURL=MissingIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MissingIcon.d.ts","sourceRoot":"","sources":["../../../src/MissingIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,SAAS,EAEd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAItB,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,2CAMxD"}
1
+ {"version":3,"file":"MissingIcon.d.ts","sourceRoot":"","sources":["../../../src/MissingIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,SAAS,EAEd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAItB,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,+BAMxD"}
@@ -4,4 +4,5 @@
4
4
  * This is a workaround to avoid such errors.
5
5
  */
6
6
  export declare const PlatformColor: typeof import('react-native').PlatformColor | undefined;
7
+ export declare const DynamicColorIOS: typeof import('react-native').DynamicColorIOS | undefined;
7
8
  //# sourceMappingURL=PlatformColor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformColor.d.ts","sourceRoot":"","sources":["../../../src/PlatformColor.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,aAAa,EACtB,cAAc,cAAc,EAAE,aAAa,GAC3C,SAAqB,CAAC"}
1
+ {"version":3,"file":"PlatformColor.d.ts","sourceRoot":"","sources":["../../../src/PlatformColor.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,aAAa,EACtB,cAAc,cAAc,EAAE,aAAa,GAC3C,SAAqB,CAAC;AAE1B,eAAO,MAAM,eAAe,EACxB,cAAc,cAAc,EAAE,eAAe,GAC7C,SAAqB,CAAC"}
@@ -1,2 +1,2 @@
1
- export { PlatformColor } from 'react-native';
1
+ export { DynamicColorIOS, PlatformColor } from 'react-native';
2
2
  //# sourceMappingURL=PlatformColor.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformColor.native.d.ts","sourceRoot":"","sources":["../../../src/PlatformColor.native.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"PlatformColor.native.d.ts","sourceRoot":"","sources":["../../../src/PlatformColor.native.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { type ColorValue, type ImageStyle, type StyleProp } from 'react-native';
2
+ import type { Icon } from './types.js';
3
+ export type PlatformIconProps = {
4
+ icon: Icon;
5
+ size: number;
6
+ color?: ColorValue | undefined;
7
+ style?: StyleProp<ImageStyle> | undefined;
8
+ };
9
+ export declare function PlatformIcon({ icon, color, size, style, ...rest }: PlatformIconProps): import("react").JSX.Element;
10
+ //# sourceMappingURL=PlatformIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlatformIcon.d.ts","sourceRoot":"","sources":["../../../src/PlatformIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,UAAU,EAEf,KAAK,UAAU,EACf,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAS,CAAC;AAEpC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC;CAC3C,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,KAAK,EACL,GAAG,IAAI,EACR,EAAE,iBAAiB,+BA0CnB"}