@react-navigation/native 8.0.0-alpha.0 → 8.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ReactNavigation.podspec +20 -0
- package/android/build.gradle +147 -0
- package/android/src/main/AndroidManifest.xml +2 -0
- package/android/src/main/java/org/reactnavigation/MaterialSymbolModule.kt +100 -0
- package/android/src/main/java/org/reactnavigation/MaterialSymbolTypeface.kt +77 -0
- package/android/src/main/java/org/reactnavigation/MaterialSymbolView.kt +95 -0
- package/android/src/main/java/org/reactnavigation/MaterialSymbolViewManager.kt +49 -0
- package/android/src/main/java/org/reactnavigation/ReactNavigationPackage.kt +34 -0
- package/assets/fonts/MaterialSymbolsOutlined.codepoints +4102 -0
- package/assets/fonts/MaterialSymbolsOutlined_100.ttf +0 -0
- package/assets/fonts/MaterialSymbolsOutlined_200.ttf +0 -0
- package/assets/fonts/MaterialSymbolsOutlined_300.ttf +0 -0
- package/assets/fonts/MaterialSymbolsOutlined_400.ttf +0 -0
- package/assets/fonts/MaterialSymbolsOutlined_500.ttf +0 -0
- package/assets/fonts/MaterialSymbolsOutlined_600.ttf +0 -0
- package/assets/fonts/MaterialSymbolsOutlined_700.ttf +0 -0
- package/assets/fonts/MaterialSymbolsRounded.codepoints +4102 -0
- package/assets/fonts/MaterialSymbolsRounded_100.ttf +0 -0
- package/assets/fonts/MaterialSymbolsRounded_200.ttf +0 -0
- package/assets/fonts/MaterialSymbolsRounded_300.ttf +0 -0
- package/assets/fonts/MaterialSymbolsRounded_400.ttf +0 -0
- package/assets/fonts/MaterialSymbolsRounded_500.ttf +0 -0
- package/assets/fonts/MaterialSymbolsRounded_600.ttf +0 -0
- package/assets/fonts/MaterialSymbolsRounded_700.ttf +0 -0
- package/assets/fonts/MaterialSymbolsSharp.codepoints +4102 -0
- package/assets/fonts/MaterialSymbolsSharp_100.ttf +0 -0
- package/assets/fonts/MaterialSymbolsSharp_200.ttf +0 -0
- package/assets/fonts/MaterialSymbolsSharp_300.ttf +0 -0
- package/assets/fonts/MaterialSymbolsSharp_400.ttf +0 -0
- package/assets/fonts/MaterialSymbolsSharp_500.ttf +0 -0
- package/assets/fonts/MaterialSymbolsSharp_600.ttf +0 -0
- package/assets/fonts/MaterialSymbolsSharp_700.ttf +0 -0
- package/ios/ReactNavigationSFSymbolView.h +14 -0
- package/ios/ReactNavigationSFSymbolView.mm +79 -0
- package/ios/ReactNavigationSFSymbolView.swift +300 -0
- package/lib/module/NavigationContainer.js +7 -2
- package/lib/module/NavigationContainer.js.map +1 -1
- package/lib/module/createStaticNavigation.js +3 -6
- package/lib/module/createStaticNavigation.js.map +1 -1
- package/lib/module/index.js +4 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/native/MaterialSymbol.android.js +58 -0
- package/lib/module/native/MaterialSymbol.android.js.map +1 -0
- package/lib/module/native/MaterialSymbol.js +9 -0
- package/lib/module/native/MaterialSymbol.js.map +1 -0
- package/lib/module/native/MaterialSymbolData.js +2 -0
- package/lib/module/native/MaterialSymbolData.js.map +1 -0
- package/lib/module/native/MaterialSymbolViewNativeComponent.ts +23 -0
- package/lib/module/native/NativeMaterialSymbolModule.js +7 -0
- package/lib/module/native/NativeMaterialSymbolModule.js.map +1 -0
- package/lib/module/native/SFSymbol.ios.js +46 -0
- package/lib/module/native/SFSymbol.ios.js.map +1 -0
- package/lib/module/native/SFSymbol.js +6 -0
- package/lib/module/native/SFSymbol.js.map +1 -0
- package/lib/module/native/SFSymbolViewNativeComponent.ts +32 -0
- package/lib/module/native/constants.js +14 -0
- package/lib/module/native/constants.js.map +1 -0
- package/lib/module/native/types.js +4 -0
- package/lib/module/native/types.js.map +1 -0
- package/lib/module/theming/{DefaultTheme.js → LightTheme.js} +2 -2
- package/lib/module/theming/LightTheme.js.map +1 -0
- package/lib/module/theming/MaterialTheme.android.js +29 -0
- package/lib/module/theming/MaterialTheme.android.js.map +1 -0
- package/lib/module/theming/MaterialTheme.js +18 -0
- package/lib/module/theming/MaterialTheme.js.map +1 -0
- package/lib/module/useLinkBuilder.js +24 -5
- package/lib/module/useLinkBuilder.js.map +1 -1
- package/lib/module/useLinkTo.js +2 -4
- package/lib/module/useLinkTo.js.map +1 -1
- package/lib/module/useLinking.native.js +20 -3
- package/lib/module/useLinking.native.js.map +1 -1
- package/lib/typescript/src/NavigationContainer.d.ts +6 -1
- package/lib/typescript/src/NavigationContainer.d.ts.map +1 -1
- package/lib/typescript/src/createStaticNavigation.d.ts +3 -3
- package/lib/typescript/src/createStaticNavigation.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +4 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/native/MaterialSymbol.android.d.ts +8 -0
- package/lib/typescript/src/native/MaterialSymbol.android.d.ts.map +1 -0
- package/lib/typescript/src/native/MaterialSymbol.d.ts +8 -0
- package/lib/typescript/src/native/MaterialSymbol.d.ts.map +1 -0
- package/lib/typescript/src/native/MaterialSymbolData.d.ts +2 -0
- package/lib/typescript/src/native/MaterialSymbolData.d.ts.map +1 -0
- package/lib/typescript/src/native/MaterialSymbolViewNativeComponent.d.ts +11 -0
- package/lib/typescript/src/native/MaterialSymbolViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/native/NativeMaterialSymbolModule.d.ts +7 -0
- package/lib/typescript/src/native/NativeMaterialSymbolModule.d.ts.map +1 -0
- package/lib/typescript/src/native/SFSymbol.d.ts +5 -0
- package/lib/typescript/src/native/SFSymbol.d.ts.map +1 -0
- package/lib/typescript/src/native/SFSymbol.ios.d.ts +5 -0
- package/lib/typescript/src/native/SFSymbol.ios.d.ts.map +1 -0
- package/lib/typescript/src/native/SFSymbolViewNativeComponent.d.ts +23 -0
- package/lib/typescript/src/native/SFSymbolViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/native/constants.d.ts +12 -0
- package/lib/typescript/src/native/constants.d.ts.map +1 -0
- package/lib/typescript/src/native/types.d.ts +181 -0
- package/lib/typescript/src/native/types.d.ts.map +1 -0
- package/lib/typescript/src/theming/{DefaultTheme.d.ts → LightTheme.d.ts} +2 -2
- package/lib/typescript/src/theming/LightTheme.d.ts.map +1 -0
- package/lib/typescript/src/theming/MaterialTheme.android.d.ts +127 -0
- package/lib/typescript/src/theming/MaterialTheme.android.d.ts.map +1 -0
- package/lib/typescript/src/theming/MaterialTheme.d.ts +114 -0
- package/lib/typescript/src/theming/MaterialTheme.d.ts.map +1 -0
- package/lib/typescript/src/useLinkBuilder.d.ts +104 -6
- package/lib/typescript/src/useLinkBuilder.d.ts.map +1 -1
- package/lib/typescript/src/useLinking.native.d.ts.map +1 -1
- package/package.json +39 -4
- package/src/NavigationContainer.tsx +20 -3
- package/src/createStaticNavigation.tsx +8 -12
- package/src/index.tsx +7 -1
- package/src/native/MaterialSymbol.android.tsx +83 -0
- package/src/native/MaterialSymbol.tsx +17 -0
- package/src/native/MaterialSymbolData.tsx +4106 -0
- package/src/native/MaterialSymbolViewNativeComponent.ts +23 -0
- package/src/native/NativeMaterialSymbolModule.ts +19 -0
- package/src/native/SFSymbol.ios.tsx +53 -0
- package/src/native/SFSymbol.tsx +9 -0
- package/src/native/SFSymbolViewNativeComponent.ts +32 -0
- package/src/native/constants.tsx +11 -0
- package/src/native/types.tsx +218 -0
- package/src/theming/{DefaultTheme.tsx → LightTheme.tsx} +1 -1
- package/src/theming/MaterialTheme.android.tsx +30 -0
- package/src/theming/MaterialTheme.tsx +19 -0
- package/src/useLinkBuilder.tsx +26 -6
- package/src/useLinkTo.tsx +2 -2
- package/src/useLinking.native.tsx +38 -15
- package/lib/module/theming/DefaultTheme.js.map +0 -1
- package/lib/typescript/src/theming/DefaultTheme.d.ts.map +0 -1
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import type { ColorValue } from 'react-native';
|
|
2
|
+
import type { FONT_WEIGHTS } from './constants';
|
|
3
|
+
import type { MaterialSymbolName } from './MaterialSymbolData';
|
|
4
|
+
export type MaterialSymbolOptions = {
|
|
5
|
+
/**
|
|
6
|
+
* The name of the Material Symbol to display.
|
|
7
|
+
*/
|
|
8
|
+
name: MaterialSymbolName;
|
|
9
|
+
/**
|
|
10
|
+
* The variant of the symbol.
|
|
11
|
+
*
|
|
12
|
+
* Can be customized using `react-navigation` key in `package.json`:
|
|
13
|
+
*
|
|
14
|
+
* ```json
|
|
15
|
+
* "react-navigation": {
|
|
16
|
+
* "material-symbol": {
|
|
17
|
+
* "fonts": [
|
|
18
|
+
* {
|
|
19
|
+
* "variant": "rounded",
|
|
20
|
+
* "weight": 300,
|
|
21
|
+
* },
|
|
22
|
+
* ]
|
|
23
|
+
* }
|
|
24
|
+
* }
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* Automatically set if a single variant is available.
|
|
28
|
+
*
|
|
29
|
+
* @default 'outlined'
|
|
30
|
+
*/
|
|
31
|
+
variant?: 'outlined' | 'rounded' | 'sharp';
|
|
32
|
+
/**
|
|
33
|
+
* The weight of the symbol.
|
|
34
|
+
*
|
|
35
|
+
* Can be customized using `react-navigation` key in `package.json`:
|
|
36
|
+
*
|
|
37
|
+
* ```json
|
|
38
|
+
* "react-navigation": {
|
|
39
|
+
* "material-symbol": {
|
|
40
|
+
* "fonts": [
|
|
41
|
+
* {
|
|
42
|
+
* "variant": "rounded",
|
|
43
|
+
* "weight": 300,
|
|
44
|
+
* },
|
|
45
|
+
* ]
|
|
46
|
+
* }
|
|
47
|
+
* }
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* Only numeric weights are supported in the configuration.
|
|
51
|
+
*
|
|
52
|
+
* Automatically set if a single weight is available.
|
|
53
|
+
*
|
|
54
|
+
* @default 400
|
|
55
|
+
*/
|
|
56
|
+
weight?: 'thin' | 'ultralight' | 'light' | 'regular' | 'medium' | 'semibold' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700;
|
|
57
|
+
/**
|
|
58
|
+
* The size of the symbol.
|
|
59
|
+
*
|
|
60
|
+
* @default 24
|
|
61
|
+
*/
|
|
62
|
+
size?: number;
|
|
63
|
+
/**
|
|
64
|
+
* The color of the symbol.
|
|
65
|
+
*
|
|
66
|
+
* @default 'black'
|
|
67
|
+
*/
|
|
68
|
+
color?: ColorValue;
|
|
69
|
+
};
|
|
70
|
+
export type SFSymbolScale = 'small' | 'medium' | 'large';
|
|
71
|
+
export type SFSymbolMode = 'monochrome' | 'hierarchical' | 'palette' | 'multicolor';
|
|
72
|
+
export type SFSymbolAnimationEffect = 'bounce' | 'pulse' | 'appear' | 'disappear' | 'variableColor' | 'breathe' | 'wiggle' | 'rotate';
|
|
73
|
+
export type SFSymbolAnimationConfig = {
|
|
74
|
+
/**
|
|
75
|
+
* The animation effect to apply.
|
|
76
|
+
*/
|
|
77
|
+
effect: SFSymbolAnimationEffect;
|
|
78
|
+
/**
|
|
79
|
+
* Whether the animation repeats continuously.
|
|
80
|
+
*
|
|
81
|
+
* @default false
|
|
82
|
+
*/
|
|
83
|
+
repeating?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Number of times to repeat the animation.
|
|
86
|
+
* Ignored if `repeating` is `true`.
|
|
87
|
+
*/
|
|
88
|
+
repeatCount?: number;
|
|
89
|
+
/**
|
|
90
|
+
* Speed multiplier for the animation.
|
|
91
|
+
*
|
|
92
|
+
* @default 1
|
|
93
|
+
*/
|
|
94
|
+
speed?: number;
|
|
95
|
+
/**
|
|
96
|
+
* Whether to animate the whole symbol at once or layer by layer.
|
|
97
|
+
*
|
|
98
|
+
* @default false
|
|
99
|
+
*/
|
|
100
|
+
wholeSymbol?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Direction of the animation.
|
|
103
|
+
* Applicable to `bounce` and `wiggle`.
|
|
104
|
+
*/
|
|
105
|
+
direction?: 'up' | 'down';
|
|
106
|
+
/**
|
|
107
|
+
* Whether the variable color effect reverses with each cycle.
|
|
108
|
+
* Only applicable to `variableColor`.
|
|
109
|
+
*
|
|
110
|
+
* @default false
|
|
111
|
+
*/
|
|
112
|
+
reversing?: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Whether each layer remains changed until the end of the cycle.
|
|
115
|
+
* Only applicable to `variableColor`.
|
|
116
|
+
*
|
|
117
|
+
* @default false
|
|
118
|
+
*/
|
|
119
|
+
cumulative?: boolean;
|
|
120
|
+
};
|
|
121
|
+
export type SFSymbolAnimation = SFSymbolAnimationEffect | SFSymbolAnimationConfig;
|
|
122
|
+
export type SFSymbolOptions = {
|
|
123
|
+
/**
|
|
124
|
+
* The name of the SF Symbol to display.
|
|
125
|
+
*/
|
|
126
|
+
name: import('sf-symbols-typescript').SFSymbol;
|
|
127
|
+
/**
|
|
128
|
+
* The size of the symbol.
|
|
129
|
+
* @default 24
|
|
130
|
+
*/
|
|
131
|
+
size?: number;
|
|
132
|
+
/**
|
|
133
|
+
* The color of the symbol.
|
|
134
|
+
* Used as the tint color in monochrome mode, and as the fallback for
|
|
135
|
+
* `colors.primary` in hierarchical and palette modes.
|
|
136
|
+
*
|
|
137
|
+
* @default 'black'
|
|
138
|
+
*/
|
|
139
|
+
color?: ColorValue;
|
|
140
|
+
/**
|
|
141
|
+
* The weight of the symbol.
|
|
142
|
+
*
|
|
143
|
+
* @default 'regular'
|
|
144
|
+
*/
|
|
145
|
+
weight?: keyof typeof FONT_WEIGHTS | (typeof FONT_WEIGHTS)[keyof typeof FONT_WEIGHTS];
|
|
146
|
+
/**
|
|
147
|
+
* The scale of the symbol relative to the font size.
|
|
148
|
+
*
|
|
149
|
+
* @default 'medium'
|
|
150
|
+
*/
|
|
151
|
+
scale?: SFSymbolScale;
|
|
152
|
+
/**
|
|
153
|
+
* The rendering mode of the symbol.
|
|
154
|
+
* - `monochrome`: Single color tint (default).
|
|
155
|
+
* - `hierarchical`: Derived hierarchy from a single color.
|
|
156
|
+
* - `palette`: Explicit colors for each layer.
|
|
157
|
+
* - `multicolor`: Uses the symbol's built-in multicolor scheme.
|
|
158
|
+
*
|
|
159
|
+
* @default 'monochrome'
|
|
160
|
+
*/
|
|
161
|
+
mode?: SFSymbolMode;
|
|
162
|
+
/**
|
|
163
|
+
* The colors for non-monochrome rendering modes.
|
|
164
|
+
* - `hierarchical`: uses `primary` as the base color.
|
|
165
|
+
* - `palette`: uses `primary`, `secondary`, and `tertiary` for each layer.
|
|
166
|
+
* - `multicolor`: ignored.
|
|
167
|
+
*
|
|
168
|
+
* Falls back to `color` for `primary` if not specified.
|
|
169
|
+
*/
|
|
170
|
+
colors?: {
|
|
171
|
+
primary?: ColorValue;
|
|
172
|
+
secondary?: ColorValue;
|
|
173
|
+
tertiary?: ColorValue;
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* The animation effect to apply to the symbol.
|
|
177
|
+
* Requires iOS 17+. Ignored on earlier versions.
|
|
178
|
+
*/
|
|
179
|
+
animation?: SFSymbolAnimation;
|
|
180
|
+
};
|
|
181
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/native/types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,IAAI,EAAE,kBAAkB,CAAC;IACzB;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC;IAC3C;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,MAAM,CAAC,EACH,MAAM,GACN,YAAY,GACZ,OAAO,GACP,SAAS,GACT,QAAQ,GACR,UAAU,GACV,MAAM,GACN,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,CAAC;IACR;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEzD,MAAM,MAAM,YAAY,GACpB,YAAY,GACZ,cAAc,GACd,SAAS,GACT,YAAY,CAAC;AAEjB,MAAM,MAAM,uBAAuB,GAC/B,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,WAAW,GACX,eAAe,GACf,SAAS,GACT,QAAQ,GACR,QAAQ,CAAC;AAEb,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,MAAM,EAAE,uBAAuB,CAAC;IAChC;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GACzB,uBAAuB,GACvB,uBAAuB,CAAC;AAE5B,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,IAAI,EAAE,OAAO,uBAAuB,EAAE,QAAQ,CAAC;IAC/C;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EACH,MAAM,OAAO,YAAY,GACzB,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;IACrD;;;;OAIG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE;QACP,OAAO,CAAC,EAAE,UAAU,CAAC;QACrB,SAAS,CAAC,EAAE,UAAU,CAAC;QACvB,QAAQ,CAAC,EAAE,UAAU,CAAC;KACvB,CAAC;IACF;;;OAGG;IACH,SAAS,CAAC,EAAE,iBAAiB,CAAC;CAC/B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const LightTheme: {
|
|
2
2
|
readonly dark: false;
|
|
3
3
|
readonly colors: {
|
|
4
4
|
readonly primary: "rgb(0, 122, 255)";
|
|
@@ -61,4 +61,4 @@ export declare const DefaultTheme: {
|
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
-
//# sourceMappingURL=
|
|
64
|
+
//# sourceMappingURL=LightTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LightTheme.d.ts","sourceRoot":"","sources":["../../../../src/theming/LightTheme.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWG,CAAC"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
export declare const MaterialLightTheme: {
|
|
2
|
+
readonly dark: false;
|
|
3
|
+
readonly colors: {
|
|
4
|
+
readonly primary: import("react-native").OpaqueColorValue;
|
|
5
|
+
readonly background: import("react-native").OpaqueColorValue;
|
|
6
|
+
readonly card: import("react-native").OpaqueColorValue;
|
|
7
|
+
readonly text: import("react-native").OpaqueColorValue;
|
|
8
|
+
readonly border: import("react-native").OpaqueColorValue;
|
|
9
|
+
readonly notification: import("react-native").OpaqueColorValue;
|
|
10
|
+
};
|
|
11
|
+
readonly fonts: {
|
|
12
|
+
readonly regular: {
|
|
13
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
14
|
+
readonly fontWeight: "400";
|
|
15
|
+
};
|
|
16
|
+
readonly medium: {
|
|
17
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
18
|
+
readonly fontWeight: "500";
|
|
19
|
+
};
|
|
20
|
+
readonly bold: {
|
|
21
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
22
|
+
readonly fontWeight: "600";
|
|
23
|
+
};
|
|
24
|
+
readonly heavy: {
|
|
25
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
26
|
+
readonly fontWeight: "700";
|
|
27
|
+
};
|
|
28
|
+
} | {
|
|
29
|
+
readonly regular: {
|
|
30
|
+
readonly fontFamily: "System";
|
|
31
|
+
readonly fontWeight: "400";
|
|
32
|
+
};
|
|
33
|
+
readonly medium: {
|
|
34
|
+
readonly fontFamily: "System";
|
|
35
|
+
readonly fontWeight: "500";
|
|
36
|
+
};
|
|
37
|
+
readonly bold: {
|
|
38
|
+
readonly fontFamily: "System";
|
|
39
|
+
readonly fontWeight: "600";
|
|
40
|
+
};
|
|
41
|
+
readonly heavy: {
|
|
42
|
+
readonly fontFamily: "System";
|
|
43
|
+
readonly fontWeight: "700";
|
|
44
|
+
};
|
|
45
|
+
} | {
|
|
46
|
+
readonly regular: {
|
|
47
|
+
readonly fontFamily: "sans-serif";
|
|
48
|
+
readonly fontWeight: "normal";
|
|
49
|
+
};
|
|
50
|
+
readonly medium: {
|
|
51
|
+
readonly fontFamily: "sans-serif-medium";
|
|
52
|
+
readonly fontWeight: "normal";
|
|
53
|
+
};
|
|
54
|
+
readonly bold: {
|
|
55
|
+
readonly fontFamily: "sans-serif";
|
|
56
|
+
readonly fontWeight: "600";
|
|
57
|
+
};
|
|
58
|
+
readonly heavy: {
|
|
59
|
+
readonly fontFamily: "sans-serif";
|
|
60
|
+
readonly fontWeight: "700";
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
export declare const MaterialDarkTheme: {
|
|
65
|
+
readonly dark: true;
|
|
66
|
+
readonly colors: {
|
|
67
|
+
readonly primary: import("react-native").OpaqueColorValue;
|
|
68
|
+
readonly background: import("react-native").OpaqueColorValue;
|
|
69
|
+
readonly card: import("react-native").OpaqueColorValue;
|
|
70
|
+
readonly text: import("react-native").OpaqueColorValue;
|
|
71
|
+
readonly border: import("react-native").OpaqueColorValue;
|
|
72
|
+
readonly notification: import("react-native").OpaqueColorValue;
|
|
73
|
+
};
|
|
74
|
+
readonly fonts: {
|
|
75
|
+
readonly regular: {
|
|
76
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
77
|
+
readonly fontWeight: "400";
|
|
78
|
+
};
|
|
79
|
+
readonly medium: {
|
|
80
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
81
|
+
readonly fontWeight: "500";
|
|
82
|
+
};
|
|
83
|
+
readonly bold: {
|
|
84
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
85
|
+
readonly fontWeight: "600";
|
|
86
|
+
};
|
|
87
|
+
readonly heavy: {
|
|
88
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
89
|
+
readonly fontWeight: "700";
|
|
90
|
+
};
|
|
91
|
+
} | {
|
|
92
|
+
readonly regular: {
|
|
93
|
+
readonly fontFamily: "System";
|
|
94
|
+
readonly fontWeight: "400";
|
|
95
|
+
};
|
|
96
|
+
readonly medium: {
|
|
97
|
+
readonly fontFamily: "System";
|
|
98
|
+
readonly fontWeight: "500";
|
|
99
|
+
};
|
|
100
|
+
readonly bold: {
|
|
101
|
+
readonly fontFamily: "System";
|
|
102
|
+
readonly fontWeight: "600";
|
|
103
|
+
};
|
|
104
|
+
readonly heavy: {
|
|
105
|
+
readonly fontFamily: "System";
|
|
106
|
+
readonly fontWeight: "700";
|
|
107
|
+
};
|
|
108
|
+
} | {
|
|
109
|
+
readonly regular: {
|
|
110
|
+
readonly fontFamily: "sans-serif";
|
|
111
|
+
readonly fontWeight: "normal";
|
|
112
|
+
};
|
|
113
|
+
readonly medium: {
|
|
114
|
+
readonly fontFamily: "sans-serif-medium";
|
|
115
|
+
readonly fontWeight: "normal";
|
|
116
|
+
};
|
|
117
|
+
readonly bold: {
|
|
118
|
+
readonly fontFamily: "sans-serif";
|
|
119
|
+
readonly fontWeight: "600";
|
|
120
|
+
};
|
|
121
|
+
readonly heavy: {
|
|
122
|
+
readonly fontFamily: "sans-serif";
|
|
123
|
+
readonly fontWeight: "700";
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
//# sourceMappingURL=MaterialTheme.android.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MaterialTheme.android.d.ts","sourceRoot":"","sources":["../../../../src/theming/MaterialTheme.android.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWL,CAAC;AAE3B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWJ,CAAC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import type { Theme } from '@react-navigation/core';
|
|
2
|
+
export declare const MaterialLightTheme: {
|
|
3
|
+
readonly dark: false;
|
|
4
|
+
readonly colors: Theme["colors"];
|
|
5
|
+
readonly fonts: {
|
|
6
|
+
readonly regular: {
|
|
7
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
8
|
+
readonly fontWeight: "400";
|
|
9
|
+
};
|
|
10
|
+
readonly medium: {
|
|
11
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
12
|
+
readonly fontWeight: "500";
|
|
13
|
+
};
|
|
14
|
+
readonly bold: {
|
|
15
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
16
|
+
readonly fontWeight: "600";
|
|
17
|
+
};
|
|
18
|
+
readonly heavy: {
|
|
19
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
20
|
+
readonly fontWeight: "700";
|
|
21
|
+
};
|
|
22
|
+
} | {
|
|
23
|
+
readonly regular: {
|
|
24
|
+
readonly fontFamily: "System";
|
|
25
|
+
readonly fontWeight: "400";
|
|
26
|
+
};
|
|
27
|
+
readonly medium: {
|
|
28
|
+
readonly fontFamily: "System";
|
|
29
|
+
readonly fontWeight: "500";
|
|
30
|
+
};
|
|
31
|
+
readonly bold: {
|
|
32
|
+
readonly fontFamily: "System";
|
|
33
|
+
readonly fontWeight: "600";
|
|
34
|
+
};
|
|
35
|
+
readonly heavy: {
|
|
36
|
+
readonly fontFamily: "System";
|
|
37
|
+
readonly fontWeight: "700";
|
|
38
|
+
};
|
|
39
|
+
} | {
|
|
40
|
+
readonly regular: {
|
|
41
|
+
readonly fontFamily: "sans-serif";
|
|
42
|
+
readonly fontWeight: "normal";
|
|
43
|
+
};
|
|
44
|
+
readonly medium: {
|
|
45
|
+
readonly fontFamily: "sans-serif-medium";
|
|
46
|
+
readonly fontWeight: "normal";
|
|
47
|
+
};
|
|
48
|
+
readonly bold: {
|
|
49
|
+
readonly fontFamily: "sans-serif";
|
|
50
|
+
readonly fontWeight: "600";
|
|
51
|
+
};
|
|
52
|
+
readonly heavy: {
|
|
53
|
+
readonly fontFamily: "sans-serif";
|
|
54
|
+
readonly fontWeight: "700";
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
export declare const MaterialDarkTheme: {
|
|
59
|
+
readonly dark: true;
|
|
60
|
+
readonly colors: Theme["colors"];
|
|
61
|
+
readonly fonts: {
|
|
62
|
+
readonly regular: {
|
|
63
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
64
|
+
readonly fontWeight: "400";
|
|
65
|
+
};
|
|
66
|
+
readonly medium: {
|
|
67
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
68
|
+
readonly fontWeight: "500";
|
|
69
|
+
};
|
|
70
|
+
readonly bold: {
|
|
71
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
72
|
+
readonly fontWeight: "600";
|
|
73
|
+
};
|
|
74
|
+
readonly heavy: {
|
|
75
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
76
|
+
readonly fontWeight: "700";
|
|
77
|
+
};
|
|
78
|
+
} | {
|
|
79
|
+
readonly regular: {
|
|
80
|
+
readonly fontFamily: "System";
|
|
81
|
+
readonly fontWeight: "400";
|
|
82
|
+
};
|
|
83
|
+
readonly medium: {
|
|
84
|
+
readonly fontFamily: "System";
|
|
85
|
+
readonly fontWeight: "500";
|
|
86
|
+
};
|
|
87
|
+
readonly bold: {
|
|
88
|
+
readonly fontFamily: "System";
|
|
89
|
+
readonly fontWeight: "600";
|
|
90
|
+
};
|
|
91
|
+
readonly heavy: {
|
|
92
|
+
readonly fontFamily: "System";
|
|
93
|
+
readonly fontWeight: "700";
|
|
94
|
+
};
|
|
95
|
+
} | {
|
|
96
|
+
readonly regular: {
|
|
97
|
+
readonly fontFamily: "sans-serif";
|
|
98
|
+
readonly fontWeight: "normal";
|
|
99
|
+
};
|
|
100
|
+
readonly medium: {
|
|
101
|
+
readonly fontFamily: "sans-serif-medium";
|
|
102
|
+
readonly fontWeight: "normal";
|
|
103
|
+
};
|
|
104
|
+
readonly bold: {
|
|
105
|
+
readonly fontFamily: "sans-serif";
|
|
106
|
+
readonly fontWeight: "600";
|
|
107
|
+
};
|
|
108
|
+
readonly heavy: {
|
|
109
|
+
readonly fontFamily: "sans-serif";
|
|
110
|
+
readonly fontWeight: "700";
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
//# sourceMappingURL=MaterialTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MaterialTheme.d.ts","sourceRoot":"","sources":["../../../../src/theming/MaterialTheme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAIpD,eAAO,MAAM,kBAAkB;;qBAEf,KAAK,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIL,CAAC;AAE3B,eAAO,MAAM,iBAAiB;;qBAEd,KAAK,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIL,CAAC"}
|
|
@@ -1,3 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Helper to build a href for a screen based on the linking options.
|
|
3
|
+
*/
|
|
4
|
+
export declare function useBuildHref(): (name: string, params?: object) => string | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* Helper to build a navigation action from a href based on the linking options.
|
|
7
|
+
*/
|
|
8
|
+
export declare function useBuildAction(): (href: string) => {
|
|
9
|
+
type: "NAVIGATE";
|
|
10
|
+
payload: {
|
|
11
|
+
name: string;
|
|
12
|
+
params?: import("@react-navigation/core").NavigatorScreenParams<Readonly<{
|
|
13
|
+
key: string;
|
|
14
|
+
index: number;
|
|
15
|
+
routeNames: string[];
|
|
16
|
+
history?: unknown[];
|
|
17
|
+
routes: import("@react-navigation/routers").NavigationRoute<import("@react-navigation/routers").ParamListBase, string>[];
|
|
18
|
+
type: string;
|
|
19
|
+
stale: false;
|
|
20
|
+
}>>;
|
|
21
|
+
path?: string;
|
|
22
|
+
};
|
|
23
|
+
} | {
|
|
24
|
+
type: "GO_BACK";
|
|
25
|
+
source?: string;
|
|
26
|
+
target?: string;
|
|
27
|
+
} | {
|
|
28
|
+
type: "NAVIGATE";
|
|
29
|
+
payload: {
|
|
30
|
+
name: string;
|
|
31
|
+
params?: object;
|
|
32
|
+
path
|
|
33
|
+
/**
|
|
34
|
+
* Helper to build a href for a screen based on the linking options.
|
|
35
|
+
*/
|
|
36
|
+
? /**
|
|
37
|
+
* Helper to build a href for a screen based on the linking options.
|
|
38
|
+
*/: string;
|
|
39
|
+
merge?: boolean;
|
|
40
|
+
pop?: boolean;
|
|
41
|
+
};
|
|
42
|
+
source?: string;
|
|
43
|
+
target?: string;
|
|
44
|
+
} | {
|
|
45
|
+
type: "SET_PARAMS";
|
|
46
|
+
payload: {
|
|
47
|
+
params?: object;
|
|
48
|
+
};
|
|
49
|
+
source?: string;
|
|
50
|
+
target?: string;
|
|
51
|
+
} | {
|
|
52
|
+
type: "REPLACE_PARAMS";
|
|
53
|
+
payload: {
|
|
54
|
+
params?: object;
|
|
55
|
+
};
|
|
56
|
+
source?: string;
|
|
57
|
+
target?: string;
|
|
58
|
+
} | {
|
|
59
|
+
type: "PUSH_PARAMS";
|
|
60
|
+
payload: {
|
|
61
|
+
params?: object;
|
|
62
|
+
};
|
|
63
|
+
source?: string;
|
|
64
|
+
target?: string;
|
|
65
|
+
} | {
|
|
66
|
+
type: "PRELOAD";
|
|
67
|
+
payload: {
|
|
68
|
+
name: string;
|
|
69
|
+
params?: object;
|
|
70
|
+
};
|
|
71
|
+
source?: string;
|
|
72
|
+
target?: string;
|
|
73
|
+
} | {
|
|
74
|
+
readonly type: "RESET";
|
|
75
|
+
readonly payload: (Readonly<{
|
|
76
|
+
key: string;
|
|
77
|
+
index: number;
|
|
78
|
+
routeNames: string[];
|
|
79
|
+
history?: unknown[];
|
|
80
|
+
routes: import("@react-navigation/routers").NavigationRoute<import("@react-navigation/routers").ParamListBase, string>[];
|
|
81
|
+
type: string;
|
|
82
|
+
stale: false;
|
|
83
|
+
}> | import("@react-navigation/routers").PartialState<Readonly<{
|
|
84
|
+
key: string;
|
|
85
|
+
index: number;
|
|
86
|
+
routeNames: string[];
|
|
87
|
+
history?: unknown[];
|
|
88
|
+
routes: import("@react-navigation/routers").NavigationRoute<import("@react-navigation/routers").ParamListBase, string>[];
|
|
89
|
+
type: string;
|
|
90
|
+
stale: false;
|
|
91
|
+
}>> | (Omit<Readonly<{
|
|
92
|
+
key: string;
|
|
93
|
+
index: number;
|
|
94
|
+
routeNames: string[];
|
|
95
|
+
history?: unknown[];
|
|
96
|
+
routes: import("@react-navigation/routers").NavigationRoute<import("@react-navigation/routers").ParamListBase, string>[];
|
|
97
|
+
type: string;
|
|
98
|
+
stale: false;
|
|
99
|
+
}>, "routes"> & {
|
|
100
|
+
routes: Omit<import("@react-navigation/routers").Route<string>, "key">[];
|
|
101
|
+
})) | undefined;
|
|
102
|
+
};
|
|
1
103
|
/**
|
|
2
104
|
* Helpers to build href or action based on the linking options.
|
|
3
105
|
*
|
|
@@ -31,14 +133,10 @@ export declare function useLinkBuilder(): {
|
|
|
31
133
|
params?: object;
|
|
32
134
|
path
|
|
33
135
|
/**
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* @returns `buildHref` to build an `href` for screen and `buildAction` to build an action from an `href`.
|
|
136
|
+
* Helper to build a href for a screen based on the linking options.
|
|
37
137
|
*/
|
|
38
138
|
? /**
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* @returns `buildHref` to build an `href` for screen and `buildAction` to build an action from an `href`.
|
|
139
|
+
* Helper to build a href for a screen based on the linking options.
|
|
42
140
|
*/: string;
|
|
43
141
|
merge?: boolean;
|
|
44
142
|
pop?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLinkBuilder.d.ts","sourceRoot":"","sources":["../../../src/useLinkBuilder.tsx"],"names":[],"mappings":"AAkBA;;;;GAIG;AACH,wBAAgB,cAAc;
|
|
1
|
+
{"version":3,"file":"useLinkBuilder.d.ts","sourceRoot":"","sources":["../../../src/useLinkBuilder.tsx"],"names":[],"mappings":"AAkBA;;GAEG;AACH,wBAAgB,YAAY,WAWjB,MAAM,WAAW,MAAM,wBAmEjC;AAED;;GAEG;AACH,wBAAgB,cAAc,WAOnB,MAAM;;;;;;;;;;;;;;;;;;;;;;;cAhGgC,CAAC;;QAGlD;;WAEG;QACH,CAHA,CAAA;;WAEG;aADgB,CAAC;WAAsB,CAAC;;;;;;;cAQxB,CAAC;;;;;;;cAKhB,CAAH;;;;;;;cAK0B,CAAC;;;;;;;;cAGmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwF/C;AAED;;;;GAIG;AACH,wBAAgB,cAAc;sBAvGnB,MAAM,WAAW,MAAM;wBA+EvB,MAAM;;;;;;;;;;;;;;;;;;;;;;;kBAhGgC,CAAC;;YAGlD;;eAEG;YACH,CAHA,CAAA;;eAEG;iBADgB,CAAC;eAAsB,CAAC;;;;;;;kBAQxB,CAAC;;;;;;;kBAKhB,CAAH;;;;;;;kBAK0B,CAAC;;;;;;;;kBAGmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuG/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLinking.native.d.ts","sourceRoot":"","sources":["../../../src/useLinking.native.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,sBAAsB,EAC3B,KAAK,aAAa,EAEnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAI9C,KAAK,OAAO,GAAG,cAAc,CAAC,aAAa,CAAC,CAAC;AAI7C,wBAAgB,UAAU,CACxB,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,EAClE,EACE,OAAc,EACd,QAAgB,EAChB,MAAM,EACN,MAAM,EACN,aAQI,EACJ,SAQC,EACD,gBAA0C,EAC1C,kBAA8C,GAC/C,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"useLinking.native.d.ts","sourceRoot":"","sources":["../../../src/useLinking.native.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,sBAAsB,EAC3B,KAAK,aAAa,EAEnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAI9C,KAAK,OAAO,GAAG,cAAc,CAAC,aAAa,CAAC,CAAC;AAI7C,wBAAgB,UAAU,CACxB,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,EAClE,EACE,OAAc,EACd,QAAgB,EAChB,MAAM,EACN,MAAM,EACN,aAQI,EACJ,SAQC,EACD,gBAA0C,EAC1C,kBAA8C,GAC/C,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyKX"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-navigation/native",
|
|
3
3
|
"description": "React Native integration for React Navigation",
|
|
4
|
-
"version": "8.0.0-alpha.
|
|
4
|
+
"version": "8.0.0-alpha.10",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
7
7
|
"react-navigation",
|
|
@@ -31,7 +31,22 @@
|
|
|
31
31
|
"files": [
|
|
32
32
|
"src",
|
|
33
33
|
"lib",
|
|
34
|
-
"
|
|
34
|
+
"assets",
|
|
35
|
+
"android",
|
|
36
|
+
"ios",
|
|
37
|
+
"cpp",
|
|
38
|
+
"*.podspec",
|
|
39
|
+
"react-native.config.js",
|
|
40
|
+
"!ios/build",
|
|
41
|
+
"!android/build",
|
|
42
|
+
"!android/gradle",
|
|
43
|
+
"!android/gradlew",
|
|
44
|
+
"!android/gradlew.bat",
|
|
45
|
+
"!android/local.properties",
|
|
46
|
+
"!**/__tests__",
|
|
47
|
+
"!**/__fixtures__",
|
|
48
|
+
"!**/__mocks__",
|
|
49
|
+
"!**/.*"
|
|
35
50
|
],
|
|
36
51
|
"sideEffects": false,
|
|
37
52
|
"publishConfig": {
|
|
@@ -42,10 +57,11 @@
|
|
|
42
57
|
"clean": "del lib"
|
|
43
58
|
},
|
|
44
59
|
"dependencies": {
|
|
45
|
-
"@react-navigation/core": "^8.0.0-alpha.
|
|
60
|
+
"@react-navigation/core": "^8.0.0-alpha.3",
|
|
46
61
|
"escape-string-regexp": "^4.0.0",
|
|
47
62
|
"fast-deep-equal": "^3.1.3",
|
|
48
63
|
"nanoid": "^3.3.11",
|
|
64
|
+
"sf-symbols-typescript": "^2.2.0",
|
|
49
65
|
"use-latest-callback": "^0.3.2"
|
|
50
66
|
},
|
|
51
67
|
"devDependencies": {
|
|
@@ -83,5 +99,24 @@
|
|
|
83
99
|
]
|
|
84
100
|
]
|
|
85
101
|
},
|
|
86
|
-
"
|
|
102
|
+
"codegenConfig": {
|
|
103
|
+
"name": "ReactNavigationSpec",
|
|
104
|
+
"type": "all",
|
|
105
|
+
"jsSrcsDir": "src/native",
|
|
106
|
+
"android": {
|
|
107
|
+
"components": {
|
|
108
|
+
"ReactNavigationMaterialSymbolView": {
|
|
109
|
+
"className": "ReactNavigationMaterialSymbolView"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"ios": {
|
|
114
|
+
"components": {
|
|
115
|
+
"ReactNavigationSFSymbolView": {
|
|
116
|
+
"className": "ReactNavigationSFSymbolView"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"gitHead": "4bf35245d085655607d8c658407a4a0c8e641f8d"
|
|
87
122
|
}
|