@tamagui/logo 1.128.0 → 1.129.0
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 +4 -4
- package/types/LogoIcon.d.ts +3 -1
- package/types/LogoIcon.d.ts.map +1 -1
- package/types/ThemeTint.d.ts +3 -1
- package/types/ThemeTint.d.ts.map +1 -1
- package/types/tints.d.ts +18 -0
- package/types/tints.d.ts.map +1 -1
- package/types/useTint.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/logo",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.129.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"clean:build": "tamagui-build clean:build"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"one": "1.1.
|
|
48
|
-
"tamagui": "1.
|
|
47
|
+
"one": "1.1.499",
|
|
48
|
+
"tamagui": "1.129.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@tamagui/build": "1.
|
|
51
|
+
"@tamagui/build": "1.129.0",
|
|
52
52
|
"react": "*"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
package/types/LogoIcon.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { JSX } from "react/jsx-runtime";
|
|
2
|
-
export declare const LogoIcon: ({ downscale }: {
|
|
2
|
+
export declare const LogoIcon: ({ downscale }: {
|
|
3
|
+
downscale?: number;
|
|
4
|
+
}) => JSX.Element;
|
|
3
5
|
|
|
4
6
|
//# sourceMappingURL=LogoIcon.d.ts.map
|
package/types/LogoIcon.d.ts.map
CHANGED
package/types/ThemeTint.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { type ThemeProps } from "@tamagui/web";
|
|
2
2
|
import type { JSX } from "react/jsx-runtime";
|
|
3
|
-
export declare const ThemeTint: ({ disable, children,...rest }: ThemeProps & {
|
|
3
|
+
export declare const ThemeTint: ({ disable, children,...rest }: ThemeProps & {
|
|
4
|
+
disable?: boolean;
|
|
5
|
+
}) => JSX.Element;
|
|
4
6
|
export declare const ThemeTintAlt: ({ children, disable, offset,...rest }: ThemeProps & {
|
|
5
7
|
disable?: boolean;
|
|
6
8
|
offset?: number;
|
package/types/ThemeTint.d.ts.map
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"mappings": "AAAA,cAAc,kBAAyB,cAAc;AACrD,cAAc,WAAW,mBAAmB;AAG5C,OAAO,cAAM,YAAa,EACxB,SACA,SACA,GAAG,MACgC,EAAlC,aAAa,
|
|
2
|
+
"mappings": "AAAA,cAAc,kBAAyB,cAAc;AACrD,cAAc,WAAW,mBAAmB;AAG5C,OAAO,cAAM,YAAa,EACxB,SACA,SACA,GAAG,MACgC,EAAlC,aAAa;CAAE;AAAmB,MAAG,IAAI;AAU5C,OAAO,cAAM,eAAgB,EAC3B,UACA,SACA,OACA,GAAG,MACiD,EAAnD,aAAa;CAAE;CAAmB;AAAiB,MAAG,IAAI",
|
|
3
3
|
"names": [],
|
|
4
4
|
"sources": [
|
|
5
5
|
"src/ThemeTint.tsx"
|
package/types/tints.d.ts
CHANGED
|
@@ -12,6 +12,24 @@ type Family = keyof typeof familiesValues;
|
|
|
12
12
|
type Families = { [key in Family] : ThemeName[] };
|
|
13
13
|
declare const families: Families;
|
|
14
14
|
type TintFamily = keyof typeof families;
|
|
15
|
+
// disabling - server time diff from client :/
|
|
16
|
+
// const seasonalTheme = (() => {
|
|
17
|
+
// const month = new Date().getMonth()
|
|
18
|
+
// const day = new Date().getDate()
|
|
19
|
+
// if (month === 11 && day >= 14) {
|
|
20
|
+
// return 'xmas'
|
|
21
|
+
// }
|
|
22
|
+
// if (month === 9 && day >= 20) {
|
|
23
|
+
// return 'halloween'
|
|
24
|
+
// }
|
|
25
|
+
// if (month === 2 && day >= 30) {
|
|
26
|
+
// return 'easter'
|
|
27
|
+
// }
|
|
28
|
+
// })()
|
|
29
|
+
// setTintFamily('valentine')
|
|
30
|
+
// if (seasonalTheme) {
|
|
31
|
+
// setTintFamily(seasonalTheme)
|
|
32
|
+
// }
|
|
15
33
|
export declare function getTints(): {
|
|
16
34
|
name: string;
|
|
17
35
|
tints: ThemeName[];
|
package/types/tints.d.ts.map
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"mappings": "AACA,cAAc,iBAAiB,SAAS;KAEnC,iBAAiBA,MAAM;AAI5B,cAAM;CACJ,SAAyE;CACzE,MAAiE;CACjE,QAA4E;CAC5E,WAQK;CACL,WAAoE;CACpE,OAAkE;;KAG/D,sBAAsB;KAMtB,cAAc,OAAO,UAAS;AACnC,cAAM,UAA6B;KAE9B,0BAA0B
|
|
2
|
+
"mappings": "AACA,cAAc,iBAAiB,SAAS;KAEnC,iBAAiBA,MAAM;AAI5B,cAAM;CACJ,SAAyE;CACzE,MAAiE;CACjE,QAA4E;CAC5E,WAQK;CACL,WAAoE;CACpE,OAAkE;;KAG/D,sBAAsB;KAMtB,cAAc,OAAO,UAAS;AACnC,cAAM,UAA6B;KAE9B,0BAA0B;;;;;;;;;;;;;;;;;;;AA0B/B,OAAO,iBAAS,YAAY;CAC1B;CACA,OAAO;CACP,UAAU;AACX;AAQD,OAAO,iBAAS,YAAY;CAC1B;CACA,OAAO;CACP,UAAU;AACX;AAcD,OAAO,iBAAS,cAAcA,MAAM;AAQpC,OAAO,cAAM;AAIb,OAAO,cAAM,qBAAsBC,IAAI",
|
|
3
3
|
"names": [
|
|
4
4
|
"next: TintFamily",
|
|
5
5
|
"cb: ChangeHandler"
|
package/types/useTint.d.ts.map
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"mappings": "AAAA,OAAO,WAA0C,OAAO;AACxD,cAAc,iBAAiB,SAAS;AAOxC,OAAO,cAAM,eAAgBA,WAAWC;AASxC,OAAO,cAAM,eAAgBC;AAO7B,OAAO,iBAAS,eAAeC,mBAAmB,aAAa,OAAO
|
|
2
|
+
"mappings": "AAAA,OAAO,WAA0C,OAAO;AACxD,cAAc,iBAAiB,SAAS;AAOxC,OAAO,cAAM,eAAgBA,WAAWC;AASxC,OAAO,cAAM,eAAgBC;AAO7B,OAAO,iBAAS,eAAeC,mBAAmB,aAAa,OAAO;AAYtE,OAAO,cAAMC,oBAAoB,MAAM;AAEvC,OAAO,cAAM,UACX,uBACC;CACD,OAAO;CACP;CACA;CACA,MAAM;CACN,SAAS;CACT,eAAeF;CACf;CACA;CACA;CACA,UAAU;EACR;EACA;EACA;EACA;EACA;EACA;CACD;AACF",
|
|
3
3
|
"names": [
|
|
4
4
|
"listener: (cur: number) => void",
|
|
5
5
|
"cur: number",
|