@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.
- package/lib/module/ActivityView.js +90 -0
- package/lib/module/ActivityView.js.map +1 -0
- package/lib/module/ActivityView.native.js +67 -0
- package/lib/module/ActivityView.native.js.map +1 -0
- package/lib/module/Badge.js +5 -4
- package/lib/module/Badge.js.map +1 -1
- package/lib/module/BlurEffectBackground.js +3 -3
- package/lib/module/BlurEffectBackground.js.map +1 -1
- package/lib/module/Button.js +96 -14
- package/lib/module/Button.js.map +1 -1
- package/lib/module/Color.js +565 -4
- package/lib/module/Color.js.map +1 -1
- package/lib/module/Container.js +11 -1
- package/lib/module/Container.js.map +1 -1
- package/lib/module/Header/Header.js +29 -17
- package/lib/module/Header/Header.js.map +1 -1
- package/lib/module/Header/HeaderBackButton.js +27 -13
- package/lib/module/Header/HeaderBackButton.js.map +1 -1
- package/lib/module/Header/HeaderButton.js +4 -5
- package/lib/module/Header/HeaderButton.js.map +1 -1
- package/lib/module/Header/HeaderButtonBackground.js +1 -2
- package/lib/module/Header/HeaderButtonBackground.js.map +1 -1
- package/lib/module/Header/HeaderIcon.js +14 -17
- package/lib/module/Header/HeaderIcon.js.map +1 -1
- package/lib/module/Header/HeaderSearchBar.js +35 -25
- package/lib/module/Header/HeaderSearchBar.js.map +1 -1
- package/lib/module/Header/getHeaderTitle.js.map +1 -1
- package/lib/module/Header/useHeaderHeight.js +1 -1
- package/lib/module/Header/useHeaderHeight.js.map +1 -1
- package/lib/module/Label/getLabel.js.map +1 -1
- package/lib/module/LiquidGlassView.ios.js +1 -2
- package/lib/module/LiquidGlassView.ios.js.map +1 -1
- package/lib/module/LiquidGlassView.js +0 -4
- package/lib/module/LiquidGlassView.js.map +1 -1
- package/lib/module/PlatformColor.js +1 -0
- package/lib/module/PlatformColor.js.map +1 -1
- package/lib/module/PlatformColor.native.js +1 -1
- package/lib/module/PlatformColor.native.js.map +1 -1
- package/lib/module/PlatformIcon.js +46 -0
- package/lib/module/PlatformIcon.js.map +1 -0
- package/lib/module/PlatformPressable.js +56 -14
- package/lib/module/PlatformPressable.js.map +1 -1
- package/lib/module/SafeAreaProviderCompat.js +1 -1
- package/lib/module/SafeAreaProviderCompat.js.map +1 -1
- package/lib/module/Screen.js +31 -18
- package/lib/module/Screen.js.map +1 -1
- package/lib/module/index.js +2 -7
- package/lib/module/index.js.map +1 -1
- package/lib/module/internal.js +1 -1
- package/lib/module/internal.js.map +1 -1
- package/lib/module/useFrameSize.js +6 -2
- package/lib/module/useFrameSize.js.map +1 -1
- package/lib/typescript/src/ActivityView.d.ts +31 -0
- package/lib/typescript/src/ActivityView.d.ts.map +1 -0
- package/lib/typescript/src/ActivityView.native.d.ts +3 -0
- package/lib/typescript/src/ActivityView.native.d.ts.map +1 -0
- package/lib/typescript/src/Badge.d.ts +6 -5
- package/lib/typescript/src/Badge.d.ts.map +1 -1
- package/lib/typescript/src/BlurEffectBackground.d.ts +2 -2
- package/lib/typescript/src/BlurEffectBackground.d.ts.map +1 -1
- package/lib/typescript/src/Button.d.ts +54 -6
- package/lib/typescript/src/Button.d.ts.map +1 -1
- package/lib/typescript/src/Color.d.ts +4 -4
- package/lib/typescript/src/Color.d.ts.map +1 -1
- package/lib/typescript/src/Container.d.ts +7 -4
- package/lib/typescript/src/Container.d.ts.map +1 -1
- package/lib/typescript/src/Header/Header.d.ts +5 -4
- package/lib/typescript/src/Header/Header.d.ts.map +1 -1
- package/lib/typescript/src/Header/HeaderBackButton.d.ts +3 -2
- package/lib/typescript/src/Header/HeaderBackButton.d.ts.map +1 -1
- package/lib/typescript/src/Header/HeaderBackground.d.ts +5 -5
- package/lib/typescript/src/Header/HeaderBackground.d.ts.map +1 -1
- package/lib/typescript/src/Header/HeaderButton.d.ts +7 -2
- package/lib/typescript/src/Header/HeaderButton.d.ts.map +1 -1
- package/lib/typescript/src/Header/HeaderButtonBackground.d.ts +1 -1
- package/lib/typescript/src/Header/HeaderButtonBackground.d.ts.map +1 -1
- package/lib/typescript/src/Header/HeaderIcon.d.ts +9 -4
- package/lib/typescript/src/Header/HeaderIcon.d.ts.map +1 -1
- package/lib/typescript/src/Header/HeaderSearchBar.d.ts +10 -7
- package/lib/typescript/src/Header/HeaderSearchBar.d.ts.map +1 -1
- package/lib/typescript/src/Header/HeaderTitle.d.ts +4 -4
- package/lib/typescript/src/Header/HeaderTitle.d.ts.map +1 -1
- package/lib/typescript/src/Header/getHeaderTitle.d.ts +2 -2
- package/lib/typescript/src/Header/getHeaderTitle.d.ts.map +1 -1
- package/lib/typescript/src/Label/Label.d.ts +1 -1
- package/lib/typescript/src/Label/Label.d.ts.map +1 -1
- package/lib/typescript/src/Label/getLabel.d.ts +2 -2
- package/lib/typescript/src/Label/getLabel.d.ts.map +1 -1
- package/lib/typescript/src/LiquidGlassView.d.ts +7 -5
- package/lib/typescript/src/LiquidGlassView.d.ts.map +1 -1
- package/lib/typescript/src/LiquidGlassView.ios.d.ts +4 -2
- package/lib/typescript/src/LiquidGlassView.ios.d.ts.map +1 -1
- package/lib/typescript/src/MissingIcon.d.ts +1 -1
- package/lib/typescript/src/MissingIcon.d.ts.map +1 -1
- package/lib/typescript/src/PlatformColor.d.ts +1 -0
- package/lib/typescript/src/PlatformColor.d.ts.map +1 -1
- package/lib/typescript/src/PlatformColor.native.d.ts +1 -1
- package/lib/typescript/src/PlatformColor.native.d.ts.map +1 -1
- package/lib/typescript/src/PlatformIcon.d.ts +10 -0
- package/lib/typescript/src/PlatformIcon.d.ts.map +1 -0
- package/lib/typescript/src/PlatformPressable.d.ts +12 -15
- package/lib/typescript/src/PlatformPressable.d.ts.map +1 -1
- package/lib/typescript/src/SafeAreaProviderCompat.d.ts +1 -1
- package/lib/typescript/src/SafeAreaProviderCompat.d.ts.map +1 -1
- package/lib/typescript/src/Screen.d.ts +7 -7
- package/lib/typescript/src/Screen.d.ts.map +1 -1
- package/lib/typescript/src/Text.d.ts +1 -1
- package/lib/typescript/src/Text.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +21 -21
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/internal.d.ts +6 -6
- package/lib/typescript/src/internal.d.ts.map +1 -1
- package/lib/typescript/src/types.d.ts +120 -70
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/lib/typescript/src/useFrameSize.d.ts +1 -1
- package/lib/typescript/src/useFrameSize.d.ts.map +1 -1
- package/package.json +23 -22
- package/src/ActivityView.native.tsx +90 -0
- package/src/ActivityView.tsx +129 -0
- package/src/Badge.tsx +10 -8
- package/src/BlurEffectBackground.tsx +3 -3
- package/src/Button.tsx +173 -28
- package/src/Color.tsx +755 -8
- package/src/Container.tsx +20 -4
- package/src/Header/Header.tsx +46 -26
- package/src/Header/HeaderBackButton.tsx +31 -17
- package/src/Header/HeaderBackground.tsx +3 -3
- package/src/Header/HeaderButton.tsx +16 -18
- package/src/Header/HeaderButtonBackground.tsx +1 -4
- package/src/Header/HeaderIcon.tsx +27 -13
- package/src/Header/HeaderSearchBar.tsx +52 -44
- package/src/Header/HeaderTitle.tsx +3 -3
- package/src/Header/getHeaderTitle.tsx +4 -1
- package/src/Header/useHeaderHeight.tsx +1 -1
- package/src/Label/getLabel.tsx +1 -1
- package/src/LiquidGlassView.ios.tsx +14 -9
- package/src/LiquidGlassView.tsx +15 -11
- package/src/PlatformColor.native.tsx +1 -1
- package/src/PlatformColor.tsx +4 -0
- package/src/PlatformIcon.tsx +66 -0
- package/src/PlatformPressable.tsx +99 -41
- package/src/SafeAreaProviderCompat.tsx +1 -1
- package/src/Screen.tsx +40 -27
- package/src/index.tsx +2 -16
- package/src/internal.tsx +1 -1
- package/src/types.tsx +153 -76
- package/src/useFrameSize.tsx +9 -2
- package/lib/module/Lazy.js +0 -42
- package/lib/module/Lazy.js.map +0 -1
- package/lib/module/assets/back-icon.ios.svg +0 -4
- package/lib/module/assets/back-icon@1x.android.png +0 -0
- package/lib/module/assets/back-icon@1x.ios.png +0 -0
- package/lib/module/assets/back-icon@2x.android.png +0 -0
- package/lib/module/assets/back-icon@2x.ios.png +0 -0
- package/lib/module/assets/back-icon@3x.android.png +0 -0
- package/lib/module/assets/back-icon@3x.ios.png +0 -0
- package/lib/module/assets/back-icon@4x.android.png +0 -0
- package/lib/module/assets/back-icon@4x.ios.png +0 -0
- package/lib/module/assets/clear-icon@1x.png +0 -0
- package/lib/module/assets/clear-icon@2x.png +0 -0
- package/lib/module/assets/clear-icon@3x.png +0 -0
- package/lib/module/assets/clear-icon@4x.png +0 -0
- package/lib/module/assets/close-icon@1x.png +0 -0
- package/lib/module/assets/close-icon@2x.png +0 -0
- package/lib/module/assets/close-icon@3x.png +0 -0
- package/lib/module/assets/close-icon@4x.png +0 -0
- package/lib/module/assets/search-icon-legacy@1x.ios.png +0 -0
- package/lib/module/assets/search-icon-legacy@2x.ios.png +0 -0
- package/lib/module/assets/search-icon-legacy@3x.ios.png +0 -0
- package/lib/module/assets/search-icon-legacy@4x.ios.png +0 -0
- package/lib/module/assets/search-icon.ios.svg +0 -4
- package/lib/module/assets/search-icon@1x.android.png +0 -0
- package/lib/module/assets/search-icon@1x.ios.png +0 -0
- package/lib/module/assets/search-icon@2x.android.png +0 -0
- package/lib/module/assets/search-icon@2x.ios.png +0 -0
- package/lib/module/assets/search-icon@3x.android.png +0 -0
- package/lib/module/assets/search-icon@3x.ios.png +0 -0
- package/lib/module/assets/search-icon@4x.android.png +0 -0
- package/lib/module/assets/search-icon@4x.ios.png +0 -0
- package/lib/typescript/src/Lazy.d.ts +0 -31
- package/lib/typescript/src/Lazy.d.ts.map +0 -1
- package/src/Lazy.tsx +0 -59
- package/src/assets/back-icon.ios.svg +0 -4
- package/src/assets/back-icon@1x.android.png +0 -0
- package/src/assets/back-icon@1x.ios.png +0 -0
- package/src/assets/back-icon@2x.android.png +0 -0
- package/src/assets/back-icon@2x.ios.png +0 -0
- package/src/assets/back-icon@3x.android.png +0 -0
- package/src/assets/back-icon@3x.ios.png +0 -0
- package/src/assets/back-icon@4x.android.png +0 -0
- package/src/assets/back-icon@4x.ios.png +0 -0
- package/src/assets/clear-icon@1x.png +0 -0
- package/src/assets/clear-icon@2x.png +0 -0
- package/src/assets/clear-icon@3x.png +0 -0
- package/src/assets/clear-icon@4x.png +0 -0
- package/src/assets/close-icon@1x.png +0 -0
- package/src/assets/close-icon@2x.png +0 -0
- package/src/assets/close-icon@3x.png +0 -0
- package/src/assets/close-icon@4x.png +0 -0
- package/src/assets/search-icon-legacy@1x.ios.png +0 -0
- package/src/assets/search-icon-legacy@2x.ios.png +0 -0
- package/src/assets/search-icon-legacy@3x.ios.png +0 -0
- package/src/assets/search-icon-legacy@4x.ios.png +0 -0
- package/src/assets/search-icon.ios.svg +0 -4
- package/src/assets/search-icon@1x.android.png +0 -0
- package/src/assets/search-icon@1x.ios.png +0 -0
- package/src/assets/search-icon@2x.android.png +0 -0
- package/src/assets/search-icon@2x.ios.png +0 -0
- package/src/assets/search-icon@3x.android.png +0 -0
- package/src/assets/search-icon@3x.ios.png +0 -0
- package/src/assets/search-icon@4x.android.png +0 -0
- 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 @@
|
|
|
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):
|
|
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":"
|
|
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):
|
|
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,
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
|
11
|
-
|
|
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,
|
|
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
|
|
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":"
|
|
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
|
-
|
|
4
|
-
|
|
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
|
|
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,
|
|
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
|
|
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):
|
|
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":"
|
|
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
|
|
2
|
-
|
|
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":"
|
|
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):
|
|
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,
|
|
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
|
|
3
|
-
|
|
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;
|
|
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
|
|
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;
|
|
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
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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,
|
|
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
|
-
|
|
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
|
-
|
|
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,
|
|
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
|
|
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;
|
|
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,
|
|
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
|
|
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
|
|
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 +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,
|
|
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
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
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,
|
|
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
|
|
3
|
-
|
|
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,
|
|
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
|
|
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
|
|
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"}
|