@tamagui/logo 1.0.12 → 1.0.13
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/package.json +2 -2
- package/types/TamaguiLogo.d.ts +14 -1
- package/types/tints.d.ts +8 -8
- package/types/useTint.d.ts +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/logo",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"react-dom": "*"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@tamagui/build": "^1.0.
|
|
24
|
+
"@tamagui/build": "^1.0.13",
|
|
25
25
|
"react": "^18.2.0",
|
|
26
26
|
"react-dom": "^18.2.0"
|
|
27
27
|
},
|
package/types/TamaguiLogo.d.ts
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const TamaguiLogo: import("react").ForwardRefExoticComponent<
|
|
2
|
+
export declare const TamaguiLogo: import("react").ForwardRefExoticComponent<{
|
|
3
|
+
showWords?: boolean | undefined;
|
|
4
|
+
downscale?: number | undefined;
|
|
5
|
+
animated?: boolean | undefined;
|
|
6
|
+
} & Omit<import("react-native").ViewProps, "children" | "display"> & import("tamagui").RNWViewProps & import("tamagui").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{}, "elevation" | "fullscreen"> & {
|
|
7
|
+
readonly fullscreen?: boolean | undefined;
|
|
8
|
+
readonly elevation?: import("tamagui").SizeTokens | undefined;
|
|
9
|
+
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "children" | "display"> & import("tamagui").RNWViewProps & import("tamagui").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{}, "elevation" | "fullscreen"> & {
|
|
10
|
+
readonly fullscreen?: boolean | undefined;
|
|
11
|
+
readonly elevation?: import("tamagui").SizeTokens | undefined;
|
|
12
|
+
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "children" | "display"> & import("tamagui").RNWViewProps & import("tamagui").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{}, "elevation" | "fullscreen"> & {
|
|
13
|
+
readonly fullscreen?: boolean | undefined;
|
|
14
|
+
readonly elevation?: import("tamagui").SizeTokens | undefined;
|
|
15
|
+
}>> & import("react").RefAttributes<any>>;
|
|
3
16
|
export declare const LogoWords: import("react").MemoExoticComponent<({ downscale, animated }: {
|
|
4
17
|
downscale?: number | undefined;
|
|
5
18
|
animated?: boolean | undefined;
|
package/types/tints.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
declare const families: {
|
|
2
|
-
tamagui:
|
|
3
|
-
xmas:
|
|
2
|
+
tamagui: string[];
|
|
3
|
+
xmas: string[];
|
|
4
4
|
};
|
|
5
5
|
type TintFamily = keyof typeof families;
|
|
6
6
|
export declare function getTints(): {
|
|
7
7
|
name: "tamagui" | "xmas";
|
|
8
|
-
tints:
|
|
8
|
+
tints: string[];
|
|
9
9
|
families: {
|
|
10
|
-
tamagui:
|
|
11
|
-
xmas:
|
|
10
|
+
tamagui: string[];
|
|
11
|
+
xmas: string[];
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
export declare function useTints(): {
|
|
15
15
|
name: "tamagui" | "xmas";
|
|
16
|
-
tints:
|
|
16
|
+
tints: string[];
|
|
17
17
|
families: {
|
|
18
|
-
tamagui:
|
|
19
|
-
xmas:
|
|
18
|
+
tamagui: string[];
|
|
19
|
+
xmas: string[];
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
export declare const setTintFamily: (next: TintFamily) => void;
|
package/types/useTint.d.ts
CHANGED
|
@@ -3,16 +3,16 @@ export declare const initialTint = 3;
|
|
|
3
3
|
export declare const onTintChange: (listener: (cur: number) => void) => () => void;
|
|
4
4
|
export declare const setTintIndex: (next: number) => void;
|
|
5
5
|
export declare const useTint: () => {
|
|
6
|
-
readonly tints:
|
|
6
|
+
readonly tints: string[];
|
|
7
7
|
readonly tintIndex: number;
|
|
8
|
-
readonly tint:
|
|
8
|
+
readonly tint: string;
|
|
9
9
|
readonly setTintIndex: (next: number) => void;
|
|
10
10
|
readonly setNextTintFamily: () => void;
|
|
11
11
|
readonly setNextTint: () => void;
|
|
12
12
|
readonly name: "tamagui" | "xmas";
|
|
13
13
|
readonly families: {
|
|
14
|
-
tamagui:
|
|
15
|
-
xmas:
|
|
14
|
+
tamagui: string[];
|
|
15
|
+
xmas: string[];
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
export declare const ThemeTint: (props: {
|