one 2.0.0-beta.45.1 → 2.0.0-beta.46.1

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.
@@ -51,9 +51,10 @@ const Link = React.forwardRef(function Link2({ href, replace, push: _push, id, m
51
51
  return styleValues.reduce((result, value) => value && typeof value === "object" ? Object.assign(result, value) : result, {});
52
52
  }, [style]);
53
53
  const Element = asChild ? import_react_slot.Slot : "a";
54
+ const anchorProps = rest;
54
55
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Element, {
55
56
  ref,
56
- ...rest,
57
+ ...anchorProps,
57
58
  href: link.href,
58
59
  role: link.role,
59
60
  className,
@@ -23,9 +23,10 @@ const Link = React.forwardRef(function Link2({ href, replace, push: _push, id, m
23
23
  return styleValues.reduce((result, value) => value && typeof value === "object" ? Object.assign(result, value) : result, {});
24
24
  }, [style]);
25
25
  const Element = asChild ? Slot : "a";
26
+ const anchorProps = rest;
26
27
  return /* @__PURE__ */ jsx(Element, {
27
28
  ref,
28
- ...rest,
29
+ ...anchorProps,
29
30
  href: link.href,
30
31
  role: link.role,
31
32
  className,
@@ -1 +1 @@
1
- {"version":3,"file":"Link.js","names":[],"sources":["esm/link/Link.js"],"sourcesContent":["import { Slot } from \"@radix-ui/react-slot\";\nimport * as React from \"react\";\nimport { resolveHref } from \"./href\";\nimport { useLinkTo } from \"./useLinkTo\";\nimport { jsx } from \"react/jsx-runtime\";\nconst Link = React.forwardRef(function Link2({\n href,\n replace,\n push: _push,\n id,\n mask,\n asChild,\n rel,\n target,\n download,\n className,\n style,\n onPress,\n disabled,\n accessibilityLabel,\n // rn-flavored prop shared code passes; rnw translated it, the dom link must too\n testID,\n ...rest\n}, ref) {\n const resolvedHref = React.useMemo(() => {\n if (href == null) {\n throw new Error(\"Link: href is required\");\n }\n return resolveHref(href);\n }, [href]);\n const resolvedMask = React.useMemo(() => mask ? resolveHref(mask) : void 0, [mask]);\n const link = useLinkTo({ href: resolvedHref, replace, mask: resolvedMask });\n const flattenedStyle = React.useMemo(() => {\n const styleValue = style;\n const styleValues = Array.isArray(styleValue) ? styleValue.flat(Number.POSITIVE_INFINITY) : [styleValue];\n return styleValues.reduce(\n (result, value) => value && typeof value === \"object\" ? Object.assign(result, value) : result,\n {}\n );\n }, [style]);\n const Element = asChild ? Slot : \"a\";\n return /* @__PURE__ */ jsx(\n Element,\n {\n ref,\n ...rest,\n href: link.href,\n role: link.role,\n className,\n style: flattenedStyle,\n ...id == null ? null : { id },\n ...rel == null ? null : { rel },\n ...target == null ? null : { target },\n ...download == null ? null : { download },\n ...testID == null ? null : { \"data-testid\": testID },\n ...accessibilityLabel == null ? null : { \"aria-label\": accessibilityLabel },\n ...disabled ? { \"aria-disabled\": true } : null,\n onClick: (event) => {\n if (disabled) {\n event.preventDefault();\n return;\n }\n onPress?.(event);\n link.onPress(event);\n }\n }\n );\n});\nLink.resolveHref = resolveHref;\nexport {\n Link\n};\n//# sourceMappingURL=Link.web.js.map\n"],"mappings":";;;;;;;AAKA,MAAM,OAAO,MAAM,WAAW,SAAS,MAAM,EAC3C,MACA,SACA,MAAM,OACN,IACA,MACA,SACA,KACA,QACA,UACA,WACA,OACA,SACA,UACA,oBAEA,QACA,GAAG,QACF,KAAK;CACN,MAAM,eAAe,MAAM,cAAc;EACvC,IAAI,QAAQ,MAAM;GAChB,MAAM,IAAI,MAAM,wBAAwB;EAC1C;EACA,OAAO,YAAY,IAAI;CACzB,GAAG,CAAC,IAAI,CAAC;CACT,MAAM,eAAe,MAAM,cAAc,OAAO,YAAY,IAAI,IAAI,KAAK,GAAG,CAAC,IAAI,CAAC;CAClF,MAAM,OAAO,UAAU;EAAE,MAAM;EAAc;EAAS,MAAM;CAAa,CAAC;CAC1E,MAAM,iBAAiB,MAAM,cAAc;EACzC,MAAM,aAAa;EACnB,MAAM,cAAc,MAAM,QAAQ,UAAU,IAAI,WAAW,KAAK,OAAO,iBAAiB,IAAI,CAAC,UAAU;EACvG,OAAO,YAAY,QAChB,QAAQ,UAAU,SAAS,OAAO,UAAU,WAAW,OAAO,OAAO,QAAQ,KAAK,IAAI,QACvF,CAAC,CACH;CACF,GAAG,CAAC,KAAK,CAAC;CACV,MAAM,UAAU,UAAU,OAAO;CACjC,OAAuB,oBACrB,SACA;EACE;EACA,GAAG;EACH,MAAM,KAAK;EACX,MAAM,KAAK;EACX;EACA,OAAO;EACP,GAAG,MAAM,OAAO,OAAO,EAAE,GAAG;EAC5B,GAAG,OAAO,OAAO,OAAO,EAAE,IAAI;EAC9B,GAAG,UAAU,OAAO,OAAO,EAAE,OAAO;EACpC,GAAG,YAAY,OAAO,OAAO,EAAE,SAAS;EACxC,GAAG,UAAU,OAAO,OAAO,EAAE,eAAe,OAAO;EACnD,GAAG,sBAAsB,OAAO,OAAO,EAAE,cAAc,mBAAmB;EAC1E,GAAG,WAAW,EAAE,iBAAiB,KAAK,IAAI;EAC1C,UAAU,UAAU;GAClB,IAAI,UAAU;IACZ,MAAM,eAAe;IACrB;GACF;GACA,UAAU,KAAK;GACf,KAAK,QAAQ,KAAK;EACpB;CACF,CACF;AACF,CAAC;AACD,KAAK,cAAc"}
1
+ {"version":3,"file":"Link.js","names":[],"sources":["esm/link/Link.js"],"sourcesContent":["import { Slot } from \"@radix-ui/react-slot\";\nimport * as React from \"react\";\nimport { resolveHref } from \"./href\";\nimport { useLinkTo } from \"./useLinkTo\";\nimport { jsx } from \"react/jsx-runtime\";\nconst Link = React.forwardRef(function Link2({\n href,\n replace,\n push: _push,\n id,\n mask,\n asChild,\n rel,\n target,\n download,\n className,\n style,\n onPress,\n disabled,\n accessibilityLabel,\n // rn-flavored prop shared code passes; rnw translated it, the dom link must too\n testID,\n ...rest\n}, ref) {\n const resolvedHref = React.useMemo(() => {\n if (href == null) {\n throw new Error(\"Link: href is required\");\n }\n return resolveHref(href);\n }, [href]);\n const resolvedMask = React.useMemo(() => mask ? resolveHref(mask) : void 0, [mask]);\n const link = useLinkTo({ href: resolvedHref, replace, mask: resolvedMask });\n const flattenedStyle = React.useMemo(() => {\n const styleValue = style;\n const styleValues = Array.isArray(styleValue) ? styleValue.flat(Number.POSITIVE_INFINITY) : [styleValue];\n return styleValues.reduce(\n (result, value) => value && typeof value === \"object\" ? Object.assign(result, value) : result,\n {}\n );\n }, [style]);\n const Element = asChild ? Slot : \"a\";\n const anchorProps = rest;\n return /* @__PURE__ */ jsx(\n Element,\n {\n ref,\n ...anchorProps,\n href: link.href,\n role: link.role,\n className,\n style: flattenedStyle,\n ...id == null ? null : { id },\n ...rel == null ? null : { rel },\n ...target == null ? null : { target },\n ...download == null ? null : { download },\n ...testID == null ? null : { \"data-testid\": testID },\n ...accessibilityLabel == null ? null : { \"aria-label\": accessibilityLabel },\n ...disabled ? { \"aria-disabled\": true } : null,\n onClick: (event) => {\n if (disabled) {\n event.preventDefault();\n return;\n }\n onPress?.(event);\n link.onPress(event);\n }\n }\n );\n});\nLink.resolveHref = resolveHref;\nexport {\n Link\n};\n//# sourceMappingURL=Link.web.js.map\n"],"mappings":";;;;;;;AAKA,MAAM,OAAO,MAAM,WAAW,SAAS,MAAM,EAC3C,MACA,SACA,MAAM,OACN,IACA,MACA,SACA,KACA,QACA,UACA,WACA,OACA,SACA,UACA,oBAEA,QACA,GAAG,QACF,KAAK;CACN,MAAM,eAAe,MAAM,cAAc;EACvC,IAAI,QAAQ,MAAM;GAChB,MAAM,IAAI,MAAM,wBAAwB;EAC1C;EACA,OAAO,YAAY,IAAI;CACzB,GAAG,CAAC,IAAI,CAAC;CACT,MAAM,eAAe,MAAM,cAAc,OAAO,YAAY,IAAI,IAAI,KAAK,GAAG,CAAC,IAAI,CAAC;CAClF,MAAM,OAAO,UAAU;EAAE,MAAM;EAAc;EAAS,MAAM;CAAa,CAAC;CAC1E,MAAM,iBAAiB,MAAM,cAAc;EACzC,MAAM,aAAa;EACnB,MAAM,cAAc,MAAM,QAAQ,UAAU,IAAI,WAAW,KAAK,OAAO,iBAAiB,IAAI,CAAC,UAAU;EACvG,OAAO,YAAY,QAChB,QAAQ,UAAU,SAAS,OAAO,UAAU,WAAW,OAAO,OAAO,QAAQ,KAAK,IAAI,QACvF,CAAC,CACH;CACF,GAAG,CAAC,KAAK,CAAC;CACV,MAAM,UAAU,UAAU,OAAO;CACjC,MAAM,cAAc;CACpB,OAAuB,oBACrB,SACA;EACE;EACA,GAAG;EACH,MAAM,KAAK;EACX,MAAM,KAAK;EACX;EACA,OAAO;EACP,GAAG,MAAM,OAAO,OAAO,EAAE,GAAG;EAC5B,GAAG,OAAO,OAAO,OAAO,EAAE,IAAI;EAC9B,GAAG,UAAU,OAAO,OAAO,EAAE,OAAO;EACpC,GAAG,YAAY,OAAO,OAAO,EAAE,SAAS;EACxC,GAAG,UAAU,OAAO,OAAO,EAAE,eAAe,OAAO;EACnD,GAAG,sBAAsB,OAAO,OAAO,EAAE,cAAc,mBAAmB;EAC1E,GAAG,WAAW,EAAE,iBAAiB,KAAK,IAAI;EAC1C,UAAU,UAAU;GAClB,IAAI,UAAU;IACZ,MAAM,eAAe;IACrB;GACF;GACA,UAAU,KAAK;GACf,KAAK,QAAQ,KAAK;EACpB;CACF,CACF;AACF,CAAC;AACD,KAAK,cAAc"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "one",
3
- "version": "2.0.0-beta.45.1",
3
+ "version": "2.0.0-beta.46.1",
4
4
  "license": "BSD-3-Clause",
5
5
  "sideEffects": [
6
6
  "setup.mjs",
@@ -188,21 +188,21 @@
188
188
  "@react-navigation/routers": "~8.0.0-alpha.17",
189
189
  "@cloudflare/vite-plugin": "^1.33.1",
190
190
  "@ungap/structured-clone": "^1.2.0",
191
- "@vxrn/color-scheme": "2.0.0-beta.45.1",
192
- "@vxrn/compiler": "2.0.0-beta.45.1",
193
- "@vxrn/resolve": "2.0.0-beta.45.1",
194
- "@vxrn/tslib-lite": "2.0.0-beta.45.1",
195
- "@vxrn/use-isomorphic-layout-effect": "2.0.0-beta.45.1",
196
- "@vxrn/vite-plugin-metro": "2.0.0-beta.45.1",
191
+ "@vxrn/color-scheme": "2.0.0-beta.46.1",
192
+ "@vxrn/compiler": "2.0.0-beta.46.1",
193
+ "@vxrn/resolve": "2.0.0-beta.46.1",
194
+ "@vxrn/tslib-lite": "2.0.0-beta.46.1",
195
+ "@vxrn/use-isomorphic-layout-effect": "2.0.0-beta.46.1",
196
+ "@vxrn/vite-plugin-metro": "2.0.0-beta.46.1",
197
197
  "babel-dead-code-elimination": "1.0.10",
198
198
  "babel-plugin-module-resolver": "^5.0.2",
199
- "babel-preset-expo": "~57.0.5",
199
+ "babel-preset-expo": "58.0.0-canary-20260909-ea7a89a",
200
200
  "citty": "^0.1.6",
201
201
  "core-js": "^3.38.1",
202
- "create-vxrn": "2.0.0-beta.45.1",
202
+ "create-vxrn": "2.0.0-beta.46.1",
203
203
  "escape-string-regexp": "^5.0.0",
204
- "expo-linking": "~57.0.5",
205
- "expo-modules-core": "~57.0.10",
204
+ "expo-linking": "58.0.0-canary-20260909-ea7a89a",
205
+ "expo-modules-core": "58.0.0-canary-20260909-ea7a89a",
206
206
  "fast-deep-equal": "^3.1.3",
207
207
  "fast-glob": "^3.3.3",
208
208
  "fs-extra": "^11.2.0",
@@ -220,7 +220,7 @@
220
220
  "tsconfig-paths": "^4",
221
221
  "use-latest-callback": "^0.2.3",
222
222
  "vite": "^8.2.2",
223
- "vxrn": "2.0.0-beta.45.1",
223
+ "vxrn": "2.0.0-beta.46.1",
224
224
  "web-streams-polyfill": "^4.3.0",
225
225
  "ws": "^8.21.0",
226
226
  "xxhashjs": "^0.2.2"
@@ -231,7 +231,7 @@
231
231
  "@react-navigation/native": "8.0.0-alpha.44",
232
232
  "react": "^19.2.3",
233
233
  "react-dom": "^19.2.3",
234
- "react-native": "^0.86.0",
234
+ "react-native": "^0.87.0",
235
235
  "react-native-gesture-handler": ">=3.0.0",
236
236
  "react-native-reanimated": ">=4.0.0",
237
237
  "react-native-safe-area-context": ">=5.5.0",
@@ -266,10 +266,10 @@
266
266
  "@react-navigation/native": "8.0.0-alpha.44",
267
267
  "@tamagui/build": "3.0.0-beta.1309.1",
268
268
  "react-native-gesture-handler": "~3.3.0",
269
- "react-native-reanimated": "~4.5.1",
269
+ "react-native-reanimated": "~4.6.0",
270
270
  "react-native-safe-area-context": "~5.7.0",
271
271
  "react-native-screens": "~4.27.0",
272
- "react-native-worklets": "~0.10.1",
272
+ "react-native-worklets": "~0.12.2",
273
273
  "@types/node": "^24.10.0",
274
274
  "@types/react-dom": "^19.2.2",
275
275
  "@types/xxhashjs": "^0.2.4",
@@ -277,7 +277,7 @@
277
277
  "immer": "^10.1.1",
278
278
  "react": "19.2.3",
279
279
  "react-dom": "19.2.3",
280
- "react-native": "0.86.2",
280
+ "react-native": "0.87.1",
281
281
  "react-test-renderer": "^19.2.0",
282
282
  "rolldown": "^1.2.8",
283
283
  "sharp": "^0.35.4",
@@ -1,5 +1,6 @@
1
1
  // Isolated to suppress deprecation warning for deep import
2
2
  // React Native 0.81+ discourages deep imports but doesn't provide official alternative yet
3
+ // @ts-ignore
3
4
  import getDevServerDefault from 'react-native/Libraries/Core/Devtools/getDevServer'
4
5
 
5
6
  // handle CJS/ESM interop — Metro may wrap the default export in a module object
@@ -24,20 +24,24 @@ import {
24
24
  import { isChildOfType } from '../../utils/children'
25
25
  import { flattenStyle } from '../../utils/style'
26
26
 
27
+ type StackHeaderStyle = {
28
+ color?: ColorValue
29
+ backgroundColor?: ScreenStackHeaderConfigProps['backgroundColor']
30
+ shadowColor?: undefined | 'transparent'
31
+ }
32
+
33
+ type StackHeaderLargeStyle = {
34
+ backgroundColor?: ScreenStackHeaderConfigProps['largeTitleBackgroundColor']
35
+ shadowColor?: undefined | 'transparent'
36
+ }
37
+
27
38
  export interface StackHeaderProps {
28
39
  children?: ReactNode
29
40
  hidden?: boolean
30
41
  asChild?: boolean
31
42
  blurEffect?: ScreenStackHeaderConfigProps['blurEffect']
32
- style?: StyleProp<{
33
- color?: ColorValue
34
- backgroundColor?: ScreenStackHeaderConfigProps['backgroundColor']
35
- shadowColor?: undefined | 'transparent'
36
- }>
37
- largeStyle?: StyleProp<{
38
- backgroundColor?: ScreenStackHeaderConfigProps['largeTitleBackgroundColor']
39
- shadowColor?: undefined | 'transparent'
40
- }>
43
+ style?: StyleProp<StackHeaderStyle>
44
+ largeStyle?: StyleProp<StackHeaderLargeStyle>
41
45
  }
42
46
 
43
47
  /**
@@ -64,8 +68,8 @@ export function appendStackHeaderPropsToOptions(
64
68
  options: NativeStackNavigationOptions,
65
69
  props: StackHeaderProps
66
70
  ): NativeStackNavigationOptions {
67
- const flattenedStyle = flattenStyle(props.style)
68
- const flattenedLargeStyle = flattenStyle(props.largeStyle)
71
+ const flattenedStyle = flattenStyle<StackHeaderStyle>(props.style)
72
+ const flattenedLargeStyle = flattenStyle<StackHeaderLargeStyle>(props.largeStyle)
69
73
 
70
74
  if (props.hidden) {
71
75
  return { ...options, headerShown: false }
@@ -5,21 +5,20 @@ import { NAVIGATOR_CONFIG } from '../../headless/children'
5
5
  import { PLATFORM } from '../../utils/platform'
6
6
  import { convertFontWeightToStringFontWeight, flattenStyle } from '../../utils/style'
7
7
 
8
+ type StackHeaderTitleStyle = {
9
+ fontFamily?: TextStyle['fontFamily']
10
+ fontSize?: TextStyle['fontSize']
11
+ fontWeight?: Exclude<TextStyle['fontWeight'], number>
12
+ color?: string
13
+ textAlign?: 'left' | 'center'
14
+ }
15
+
16
+ type StackHeaderLargeTitleStyle = Omit<StackHeaderTitleStyle, 'textAlign'>
17
+
8
18
  export type StackHeaderTitleProps = {
9
19
  children?: string
10
- style?: StyleProp<{
11
- fontFamily?: TextStyle['fontFamily']
12
- fontSize?: TextStyle['fontSize']
13
- fontWeight?: Exclude<TextStyle['fontWeight'], number>
14
- color?: string
15
- textAlign?: 'left' | 'center'
16
- }>
17
- largeStyle?: StyleProp<{
18
- fontFamily?: TextStyle['fontFamily']
19
- fontSize?: TextStyle['fontSize']
20
- fontWeight?: Exclude<TextStyle['fontWeight'], number>
21
- color?: string
22
- }>
20
+ style?: StyleProp<StackHeaderTitleStyle>
21
+ largeStyle?: StyleProp<StackHeaderLargeTitleStyle>
23
22
  large?: boolean
24
23
  }
25
24
 
@@ -37,8 +36,8 @@ export function appendStackHeaderTitlePropsToOptions(
37
36
  options: NativeStackNavigationOptions,
38
37
  props: StackHeaderTitleProps
39
38
  ): NativeStackNavigationOptions {
40
- const flattenedStyle = flattenStyle(props.style)
41
- const flattenedLargeStyle = flattenStyle(props.largeStyle)
39
+ const flattenedStyle = flattenStyle<StackHeaderTitleStyle>(props.style)
40
+ const flattenedLargeStyle = flattenStyle<StackHeaderLargeTitleStyle>(props.largeStyle)
42
41
 
43
42
  // Build title style only if there are actual style properties
44
43
  const titleStyle = flattenedStyle
@@ -51,11 +51,12 @@ export const Link = React.forwardRef(function Link(
51
51
  }, [style])
52
52
 
53
53
  const Element = asChild ? Slot : 'a'
54
+ const anchorProps = rest as unknown as React.AnchorHTMLAttributes<HTMLAnchorElement>
54
55
 
55
56
  return (
56
57
  <Element
57
58
  ref={ref}
58
- {...rest}
59
+ {...anchorProps}
59
60
  href={link.href}
60
61
  role={link.role}
61
62
  className={className}
@@ -1 +1 @@
1
- {"version":3,"file":"getDevServer.native.d.ts","sourceRoot":"","sources":["../src/getDevServer.native.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY,EAAE,MAAM;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,sBAAsB,EAAE,OAAO,CAAA;CAGZ,CAAA"}
1
+ {"version":3,"file":"getDevServer.native.d.ts","sourceRoot":"","sources":["../src/getDevServer.native.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY,EAAE,MAAM;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,sBAAsB,EAAE,OAAO,CAAA;CAGZ,CAAA"}
@@ -2,20 +2,22 @@ import type { NativeStackNavigationOptions } from '@react-navigation/native-stac
2
2
  import { type ReactNode } from 'react';
3
3
  import type { ColorValue, StyleProp } from 'react-native';
4
4
  import type { ScreenStackHeaderConfigProps } from 'react-native-screens';
5
+ type StackHeaderStyle = {
6
+ color?: ColorValue;
7
+ backgroundColor?: ScreenStackHeaderConfigProps['backgroundColor'];
8
+ shadowColor?: undefined | 'transparent';
9
+ };
10
+ type StackHeaderLargeStyle = {
11
+ backgroundColor?: ScreenStackHeaderConfigProps['largeTitleBackgroundColor'];
12
+ shadowColor?: undefined | 'transparent';
13
+ };
5
14
  export interface StackHeaderProps {
6
15
  children?: ReactNode;
7
16
  hidden?: boolean;
8
17
  asChild?: boolean;
9
18
  blurEffect?: ScreenStackHeaderConfigProps['blurEffect'];
10
- style?: StyleProp<{
11
- color?: ColorValue;
12
- backgroundColor?: ScreenStackHeaderConfigProps['backgroundColor'];
13
- shadowColor?: undefined | 'transparent';
14
- }>;
15
- largeStyle?: StyleProp<{
16
- backgroundColor?: ScreenStackHeaderConfigProps['largeTitleBackgroundColor'];
17
- shadowColor?: undefined | 'transparent';
18
- }>;
19
+ style?: StyleProp<StackHeaderStyle>;
20
+ largeStyle?: StyleProp<StackHeaderLargeStyle>;
19
21
  }
20
22
  /**
21
23
  * Configuration component for stack headers.
@@ -33,4 +35,5 @@ export interface StackHeaderProps {
33
35
  */
34
36
  export declare function StackHeaderComponent(_props: StackHeaderProps): null;
35
37
  export declare function appendStackHeaderPropsToOptions(options: NativeStackNavigationOptions, props: StackHeaderProps): NativeStackNavigationOptions;
38
+ export {};
36
39
  //# sourceMappingURL=StackHeaderComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StackHeaderComponent.d.ts","sourceRoot":"","sources":["../../../src/layouts/stack-utils/StackHeaderComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAClF,OAAO,EAA4B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACzD,OA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C,iBAAiB,CAAC,CAAA;IACjE,WAAW,CAAC,EAAE,SAAS,GAAG,aAAa,CAAA;CACxC,CAAA;AAED,KAAK,qBAAqB,GAAG;IAC3B,eAAe,CAAC,EAAE,4BAA4B,CAAC,2BAA2B,CAAC,CAAA;IAC3E,WAAW,CAAC,EAAE,SAAS,GAAG,aAAa,CAAA;CACxC,CAAA;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,4BAA4B,CAAC,YAAY,CAAC,CAAA;IACvD,KAAK,CAAC,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAA;IACnC,UAAU,CAAC,EAAE,SAAS,CAAC,qBAAqB,CAAC,CAAA;CAC9C;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,gBAAgB,QAE5D;AAID,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE,4BAA4B,EACrC,KAAK,EAAE,gBAAgB,GACtB,4BAA4B,CA0E9B"}
@@ -1,20 +1,17 @@
1
1
  import type { NativeStackNavigationOptions } from '@react-navigation/native-stack';
2
2
  import type { StyleProp, TextStyle } from 'react-native';
3
+ type StackHeaderTitleStyle = {
4
+ fontFamily?: TextStyle['fontFamily'];
5
+ fontSize?: TextStyle['fontSize'];
6
+ fontWeight?: Exclude<TextStyle['fontWeight'], number>;
7
+ color?: string;
8
+ textAlign?: 'left' | 'center';
9
+ };
10
+ type StackHeaderLargeTitleStyle = Omit<StackHeaderTitleStyle, 'textAlign'>;
3
11
  export type StackHeaderTitleProps = {
4
12
  children?: string;
5
- style?: StyleProp<{
6
- fontFamily?: TextStyle['fontFamily'];
7
- fontSize?: TextStyle['fontSize'];
8
- fontWeight?: Exclude<TextStyle['fontWeight'], number>;
9
- color?: string;
10
- textAlign?: 'left' | 'center';
11
- }>;
12
- largeStyle?: StyleProp<{
13
- fontFamily?: TextStyle['fontFamily'];
14
- fontSize?: TextStyle['fontSize'];
15
- fontWeight?: Exclude<TextStyle['fontWeight'], number>;
16
- color?: string;
17
- }>;
13
+ style?: StyleProp<StackHeaderTitleStyle>;
14
+ largeStyle?: StyleProp<StackHeaderLargeTitleStyle>;
18
15
  large?: boolean;
19
16
  };
20
17
  /**
@@ -23,4 +20,5 @@ export type StackHeaderTitleProps = {
23
20
  */
24
21
  export declare function StackHeaderTitle(_props: StackHeaderTitleProps): null;
25
22
  export declare function appendStackHeaderTitlePropsToOptions(options: NativeStackNavigationOptions, props: StackHeaderTitleProps): NativeStackNavigationOptions;
23
+ export {};
26
24
  //# sourceMappingURL=StackHeaderTitle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StackHeaderTitle.d.ts","sourceRoot":"","sources":["../../../src/layouts/stack-utils/StackHeaderTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAClF,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAMxD,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;QAChB,UAAU,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAA;QACpC,QAAQ,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAA;QAChC,UAAU,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC,CAAA;QACrD,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;KAC9B,CAAC,CAAA;IACF,UAAU,CAAC,EAAE,SAAS,CAAC;QACrB,UAAU,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAA;QACpC,QAAQ,CAAC,EAAE,SA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;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,qBAAqB,QAE7D;AAID,wBAAgB,oCAAoC,CAClD,OAAO,EAAE,4BAA4B,EACrC,KAAK,EAAE,qBAAqB,GAC3B,4BAA4B,CA4C9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"Link.web.d.ts","sourceRoot":"","sources":["../../src/link/Link.web.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAIrD,eAAO,MAAM,IAAI,EA0EA,SAAS,CAAC,aAAa,CAAA"}
1
+ {"version":3,"file":"Link.web.d.ts","sourceRoot":"","sources":["../../src/link/Link.web.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAIrD,eAAO,MAAM,IAAI,EA2EA,SAAS,CAAC,aAAa,CAAA"}