@tamagui/config 1.89.30 → 1.90.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/dist/cjs/v3.js +2 -2
- package/dist/cjs/v3.js.map +1 -1
- package/dist/cjs/v3.native.js +3 -3
- package/dist/cjs/v3.native.js.map +2 -2
- package/dist/esm/v3.js +2 -3
- package/dist/esm/v3.js.map +1 -1
- package/dist/esm/v3.mjs +3 -3
- package/dist/esm/v3.native.js +3 -3
- package/dist/esm/v3.native.js.map +2 -2
- package/package.json +12 -12
- package/src/v3.ts +4 -2
- package/types/v3.d.ts +1 -2
package/dist/cjs/v3.js
CHANGED
|
@@ -17,7 +17,6 @@ __export(v3_exports, {
|
|
|
17
17
|
animations: () => import_animations2.animations,
|
|
18
18
|
animationsCSS: () => import_animationsCSS.animationsCSS,
|
|
19
19
|
animationsReactNative: () => import_animationsReactNative.animationsReactNative,
|
|
20
|
-
animationsReanimated: () => import_animationsReanimated.animationsReanimated,
|
|
21
20
|
config: () => config,
|
|
22
21
|
fonts: () => import_fonts2.fonts,
|
|
23
22
|
media: () => import_media2.media,
|
|
@@ -28,7 +27,8 @@ __export(v3_exports, {
|
|
|
28
27
|
tokens: () => import_v3_themes2.tokens
|
|
29
28
|
});
|
|
30
29
|
module.exports = __toCommonJS(v3_exports);
|
|
31
|
-
var import_v2 = require("@tamagui/shorthands/v2"), import_v3_themes = require("@tamagui/themes/v3-themes"), import_animations = require("./animations"), import_fonts = require("./fonts"), import_media = require("./media"),
|
|
30
|
+
var import_v2 = require("@tamagui/shorthands/v2"), import_v3_themes = require("@tamagui/themes/v3-themes"), import_animations = require("./animations"), import_fonts = require("./fonts"), import_media = require("./media"), import_animationsReactNative = require("./animationsReactNative"), import_animationsCSS = require("./animationsCSS"), import_animations2 = require("./animations"), import_v3_themes2 = require("@tamagui/themes/v3-themes"), import_v22 = require("@tamagui/shorthands/v2"), import_fonts2 = require("./fonts"), import_media2 = require("./media");
|
|
31
|
+
globalThis.global ||= globalThis;
|
|
32
32
|
const selectionStyles = (theme) => theme.color5 ? {
|
|
33
33
|
backgroundColor: theme.color5,
|
|
34
34
|
color: theme.color11
|
package/dist/cjs/v3.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/v3.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAA2B,mCAC3B,mBAA+B,sCAC/B,oBAA2B,yBAG3B,eAAsB,oBACtB,eAA+C,oBAK/C,+BAAsC,oCACtC,uBAA8B,4BAE9BA,qBAA2B,yBAC3BC,oBAA+B,sCAC/BC,aAA2B,mCAC3BC,gBAAsB,oBACtBC,gBAA+C;AAT/C,WAAW,WAAc;AAWlB,MAAM,kBAAkB,CAAC,UAC9B,MAAM,SACF;AAAA,EACE,iBAAiB,MAAM;AAAA,EACvB,OAAO,MAAM;AACf,IACA,MAEO,SAAS;AAAA,EACpB;AAAA,EACA,aAAa;AAAA,EACb,6BAA6B;AAAA,EAC7B,sBAAsB;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,yBAAyB;AAAA,EACzB;AACF;",
|
|
5
5
|
"names": ["import_animations", "import_v3_themes", "import_v2", "import_fonts", "import_media"]
|
|
6
6
|
}
|
package/dist/cjs/v3.native.js
CHANGED
|
@@ -18,7 +18,6 @@ __export(v3_exports, {
|
|
|
18
18
|
animations: () => import_animations2.animations,
|
|
19
19
|
animationsCSS: () => import_animationsCSS.animationsCSS,
|
|
20
20
|
animationsReactNative: () => import_animationsReactNative.animationsReactNative,
|
|
21
|
-
animationsReanimated: () => import_animationsReanimated.animationsReanimated,
|
|
22
21
|
config: () => config,
|
|
23
22
|
fonts: () => import_fonts2.fonts,
|
|
24
23
|
media: () => import_media2.media,
|
|
@@ -29,7 +28,9 @@ __export(v3_exports, {
|
|
|
29
28
|
tokens: () => import_v3_themes2.tokens
|
|
30
29
|
});
|
|
31
30
|
module.exports = __toCommonJS(v3_exports);
|
|
32
|
-
var import_v2 = require("@tamagui/shorthands/v2"), import_v3_themes = require("@tamagui/themes/v3-themes"), import_animations = require("./animations"), import_fonts = require("./fonts"), import_media = require("./media"),
|
|
31
|
+
var import_v2 = require("@tamagui/shorthands/v2"), import_v3_themes = require("@tamagui/themes/v3-themes"), import_animations = require("./animations"), import_fonts = require("./fonts"), import_media = require("./media"), import_animationsReactNative = require("./animationsReactNative"), import_animationsCSS = require("./animationsCSS"), import_animations2 = require("./animations"), import_v3_themes2 = require("@tamagui/themes/v3-themes"), import_v22 = require("@tamagui/shorthands/v2"), import_fonts2 = require("./fonts"), import_media2 = require("./media"), _globalThis, _global;
|
|
32
|
+
(_globalThis = globalThis)[_global = "global"] || (_globalThis[_global] = globalThis);
|
|
33
|
+
var selectionStyles = function(theme) {
|
|
33
34
|
return theme.color5 ? {
|
|
34
35
|
backgroundColor: theme.color5,
|
|
35
36
|
color: theme.color11
|
|
@@ -52,7 +53,6 @@ var import_v2 = require("@tamagui/shorthands/v2"), import_v3_themes = require("@
|
|
|
52
53
|
animations,
|
|
53
54
|
animationsCSS,
|
|
54
55
|
animationsReactNative,
|
|
55
|
-
animationsReanimated,
|
|
56
56
|
config,
|
|
57
57
|
fonts,
|
|
58
58
|
media,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Users/n8/tamagui/packages/config/src/v3.ts"],
|
|
4
|
-
"mappings": "
|
|
5
|
-
"names": ["import_animations", "import_v3_themes", "import_v2", "import_fonts", "import_media", "selectionStyles", "theme", "color5", "backgroundColor", "color", "color11", "config", "animations", "defaultFont", "shouldAddPrefersColorThemes", "themeClassNameOnRoot", "themes", "media", "shorthands", "tokens", "fonts", "mediaQueryDefaultActive"]
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gBAA2B,mCAC3B,mBAA+B,sCAC/B,oBAA2B,yBAG3B,eAAsB,oBACtB,eAA+C,oBAK/C,+BAAsC,oCACtC,uBAA8B,4BAE9BA,qBAA2B,yBAC3BC,oBAA+B,sCAC/BC,aAA2B,mCAC3BC,gBAAsB,oBACtBC,gBAA+C,oBAT/CC,aAAW;CAAXA,cAAAA,YAAW,UAAA,QAAA,MAAXA,YAAW,OAAA,IAAcA;AAWlB,IAAMC,kBAAkB,SAACC,OAAAA;SAC9BA,MAAMC,SACF;IACEC,iBAAiBF,MAAMC;IACvBE,OAAOH,MAAMI;EACf,IACA;GAEOC,SAAS;EACpBC,YAAAA;EACAC,aAAa;EACbC,6BAA6B;EAC7BC,sBAAsB;EACtBC,QAAAA;EACAC,OAAAA;EACAC,YAAAA;EACAC,QAAAA;EACAC,OAAAA;EACAC,yBAAyBA;EACzBhB;AACF;",
|
|
5
|
+
"names": ["import_animations", "import_v3_themes", "import_v2", "import_fonts", "import_media", "globalThis", "selectionStyles", "theme", "color5", "backgroundColor", "color", "color11", "config", "animations", "defaultFont", "shouldAddPrefersColorThemes", "themeClassNameOnRoot", "themes", "media", "shorthands", "tokens", "fonts", "mediaQueryDefaultActive"]
|
|
6
6
|
}
|
package/dist/esm/v3.js
CHANGED
|
@@ -3,14 +3,14 @@ import { tokens, themes } from "@tamagui/themes/v3-themes";
|
|
|
3
3
|
import { animations } from "./animations";
|
|
4
4
|
import { fonts } from "./fonts";
|
|
5
5
|
import { media, mediaQueryDefaultActive } from "./media";
|
|
6
|
-
import { animations as animations2 } from "./animations";
|
|
7
|
-
import { animationsReanimated } from "./animationsReanimated";
|
|
8
6
|
import { animationsReactNative } from "./animationsReactNative";
|
|
9
7
|
import { animationsCSS } from "./animationsCSS";
|
|
8
|
+
import { animations as animations2 } from "./animations";
|
|
10
9
|
import { tokens as tokens2, themes as themes2 } from "@tamagui/themes/v3-themes";
|
|
11
10
|
import { shorthands as shorthands2 } from "@tamagui/shorthands/v2";
|
|
12
11
|
import { fonts as fonts2 } from "./fonts";
|
|
13
12
|
import { media as media2, mediaQueryDefaultActive as mediaQueryDefaultActive2 } from "./media";
|
|
13
|
+
globalThis.global ||= globalThis;
|
|
14
14
|
const selectionStyles = (theme) => theme.color5 ? {
|
|
15
15
|
backgroundColor: theme.color5,
|
|
16
16
|
color: theme.color11
|
|
@@ -31,7 +31,6 @@ export {
|
|
|
31
31
|
animations2 as animations,
|
|
32
32
|
animationsCSS,
|
|
33
33
|
animationsReactNative,
|
|
34
|
-
animationsReanimated,
|
|
35
34
|
config,
|
|
36
35
|
fonts2 as fonts,
|
|
37
36
|
media2 as media,
|
package/dist/esm/v3.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/v3.ts"],
|
|
4
|
-
"mappings": "AAAA,SAAS,kBAAkB;AAC3B,SAAS,QAAQ,cAAc;AAC/B,SAAS,kBAAkB;AAG3B,SAAS,aAAa;AACtB,SAAS,OAAO,+BAA+B;
|
|
4
|
+
"mappings": "AAAA,SAAS,kBAAkB;AAC3B,SAAS,QAAQ,cAAc;AAC/B,SAAS,kBAAkB;AAG3B,SAAS,aAAa;AACtB,SAAS,OAAO,+BAA+B;AAK/C,SAAS,6BAA6B;AACtC,SAAS,qBAAqB;AAE9B,SAAS,cAAAA,mBAAkB;AAC3B,SAAS,UAAAC,SAAQ,UAAAC,eAAc;AAC/B,SAAS,cAAAC,mBAAkB;AAC3B,SAAS,SAAAC,cAAa;AACtB,SAAS,SAAAC,QAAO,2BAAAC,gCAA+B;AAT/C,WAAW,WAAc;AAWlB,MAAM,kBAAkB,CAAC,UAC9B,MAAM,SACF;AAAA,EACE,iBAAiB,MAAM;AAAA,EACvB,OAAO,MAAM;AACf,IACA,MAEO,SAAS;AAAA,EACpB;AAAA,EACA,aAAa;AAAA,EACb,6BAA6B;AAAA,EAC7B,sBAAsB;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;",
|
|
5
5
|
"names": ["animations", "tokens", "themes", "shorthands", "fonts", "media", "mediaQueryDefaultActive"]
|
|
6
6
|
}
|
package/dist/esm/v3.mjs
CHANGED
|
@@ -3,14 +3,14 @@ import { tokens, themes } from "@tamagui/themes/v3-themes";
|
|
|
3
3
|
import { animations } from "./animations.mjs";
|
|
4
4
|
import { fonts } from "./fonts.mjs";
|
|
5
5
|
import { media, mediaQueryDefaultActive } from "./media.mjs";
|
|
6
|
-
import { animations as animations2 } from "./animations.mjs";
|
|
7
|
-
import { animationsReanimated } from "./animationsReanimated.mjs";
|
|
8
6
|
import { animationsReactNative } from "./animationsReactNative.mjs";
|
|
9
7
|
import { animationsCSS } from "./animationsCSS.mjs";
|
|
8
|
+
import { animations as animations2 } from "./animations.mjs";
|
|
10
9
|
import { tokens as tokens2, themes as themes2 } from "@tamagui/themes/v3-themes";
|
|
11
10
|
import { shorthands as shorthands2 } from "@tamagui/shorthands/v2";
|
|
12
11
|
import { fonts as fonts2 } from "./fonts.mjs";
|
|
13
12
|
import { media as media2, mediaQueryDefaultActive as mediaQueryDefaultActive2 } from "./media.mjs";
|
|
13
|
+
globalThis.global ||= globalThis;
|
|
14
14
|
const selectionStyles = theme => theme.color5 ? {
|
|
15
15
|
backgroundColor: theme.color5,
|
|
16
16
|
color: theme.color11
|
|
@@ -28,4 +28,4 @@ const selectionStyles = theme => theme.color5 ? {
|
|
|
28
28
|
mediaQueryDefaultActive,
|
|
29
29
|
selectionStyles
|
|
30
30
|
};
|
|
31
|
-
export { animations2 as animations, animationsCSS, animationsReactNative,
|
|
31
|
+
export { animations2 as animations, animationsCSS, animationsReactNative, config, fonts2 as fonts, media2 as media, mediaQueryDefaultActive2 as mediaQueryDefaultActive, selectionStyles, shorthands2 as shorthands, themes2 as themes, tokens2 as tokens };
|
package/dist/esm/v3.native.js
CHANGED
|
@@ -3,14 +3,15 @@ import { tokens, themes } from "@tamagui/themes/v3-themes";
|
|
|
3
3
|
import { animations } from "./animations";
|
|
4
4
|
import { fonts } from "./fonts";
|
|
5
5
|
import { media, mediaQueryDefaultActive } from "./media";
|
|
6
|
-
import { animations as animations2 } from "./animations";
|
|
7
|
-
import { animationsReanimated } from "./animationsReanimated";
|
|
8
6
|
import { animationsReactNative } from "./animationsReactNative";
|
|
9
7
|
import { animationsCSS } from "./animationsCSS";
|
|
8
|
+
import { animations as animations2 } from "./animations";
|
|
10
9
|
import { tokens as tokens2, themes as themes2 } from "@tamagui/themes/v3-themes";
|
|
11
10
|
import { shorthands as shorthands2 } from "@tamagui/shorthands/v2";
|
|
12
11
|
import { fonts as fonts2 } from "./fonts";
|
|
13
12
|
import { media as media2, mediaQueryDefaultActive as mediaQueryDefaultActive2 } from "./media";
|
|
13
|
+
var _globalThis, _global;
|
|
14
|
+
(_globalThis = globalThis)[_global = "global"] || (_globalThis[_global] = globalThis);
|
|
14
15
|
var selectionStyles = function(theme) {
|
|
15
16
|
return theme.color5 ? {
|
|
16
17
|
backgroundColor: theme.color5,
|
|
@@ -33,7 +34,6 @@ export {
|
|
|
33
34
|
animations2 as animations,
|
|
34
35
|
animationsCSS,
|
|
35
36
|
animationsReactNative,
|
|
36
|
-
animationsReanimated,
|
|
37
37
|
config,
|
|
38
38
|
fonts2 as fonts,
|
|
39
39
|
media2 as media,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Users/n8/tamagui/packages/config/src/v3.ts"],
|
|
4
|
-
"mappings": "AAAA,SAASA,kBAAkB;AAC3B,SAASC,QAAQC,cAAc;AAC/B,SAASC,kBAAkB;AAG3B,SAASC,aAAa;AACtB,SAASC,OAAOC,+BAA+B;
|
|
5
|
-
"names": ["shorthands", "tokens", "themes", "animations", "fonts", "media", "mediaQueryDefaultActive", "
|
|
4
|
+
"mappings": "AAAA,SAASA,kBAAkB;AAC3B,SAASC,QAAQC,cAAc;AAC/B,SAASC,kBAAkB;AAG3B,SAASC,aAAa;AACtB,SAASC,OAAOC,+BAA+B;AAK/C,SAASC,6BAA6B;AACtC,SAASC,qBAAqB;AAE9B,SAASL,cAAAA,mBAAkB;AAC3B,SAASF,UAAAA,SAAQC,UAAAA,eAAc;AAC/B,SAASF,cAAAA,mBAAkB;AAC3B,SAASI,SAAAA,cAAa;AACtB,SAASC,SAAAA,QAAOC,2BAAAA,gCAA+B;IAT/CG,aAAW;CAAXA,cAAAA,YAAW,UAAA,QAAA,MAAXA,YAAW,OAAA,IAAcA;AAWlB,IAAMC,kBAAkB,SAACC,OAAAA;SAC9BA,MAAMC,SACF;IACEC,iBAAiBF,MAAMC;IACvBE,OAAOH,MAAMI;EACf,IACA;GAEOC,SAAS;EACpBb;EACAc,aAAa;EACbC,6BAA6B;EAC7BC,sBAAsB;EACtBjB;EACAG;EACAL;EACAC;EACAG;EACAE;EACAI;AACF;",
|
|
5
|
+
"names": ["shorthands", "tokens", "themes", "animations", "fonts", "media", "mediaQueryDefaultActive", "animationsReactNative", "animationsCSS", "globalThis", "selectionStyles", "theme", "color5", "backgroundColor", "color", "color11", "config", "defaultFont", "shouldAddPrefersColorThemes", "themeClassNameOnRoot"]
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.90.0",
|
|
4
4
|
"types": "./types/index.d.ts",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -53,19 +53,19 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@tamagui/animations-css": "1.
|
|
57
|
-
"@tamagui/animations-moti": "1.
|
|
58
|
-
"@tamagui/animations-react-native": "1.
|
|
59
|
-
"@tamagui/colors": "1.
|
|
60
|
-
"@tamagui/font-inter": "1.
|
|
61
|
-
"@tamagui/font-silkscreen": "1.
|
|
62
|
-
"@tamagui/react-native-media-driver": "1.
|
|
63
|
-
"@tamagui/shorthands": "1.
|
|
64
|
-
"@tamagui/themes": "1.
|
|
65
|
-
"@tamagui/web": "1.
|
|
56
|
+
"@tamagui/animations-css": "1.90.0",
|
|
57
|
+
"@tamagui/animations-moti": "1.90.0",
|
|
58
|
+
"@tamagui/animations-react-native": "1.90.0",
|
|
59
|
+
"@tamagui/colors": "1.90.0",
|
|
60
|
+
"@tamagui/font-inter": "1.90.0",
|
|
61
|
+
"@tamagui/font-silkscreen": "1.90.0",
|
|
62
|
+
"@tamagui/react-native-media-driver": "1.90.0",
|
|
63
|
+
"@tamagui/shorthands": "1.90.0",
|
|
64
|
+
"@tamagui/themes": "1.90.0",
|
|
65
|
+
"@tamagui/web": "1.90.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@tamagui/build": "1.
|
|
68
|
+
"@tamagui/build": "1.90.0"
|
|
69
69
|
},
|
|
70
70
|
"publishConfig": {
|
|
71
71
|
"access": "public"
|
package/src/v3.ts
CHANGED
|
@@ -6,11 +6,13 @@ import type { CreateTamaguiProps } from '@tamagui/web'
|
|
|
6
6
|
import { fonts } from './fonts'
|
|
7
7
|
import { media, mediaQueryDefaultActive } from './media'
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
// fix vite - react native uses global which it doesn't provide
|
|
10
|
+
globalThis['global'] ||= globalThis
|
|
11
|
+
|
|
11
12
|
export { animationsReactNative } from './animationsReactNative'
|
|
12
13
|
export { animationsCSS } from './animationsCSS'
|
|
13
14
|
|
|
15
|
+
export { animations } from './animations'
|
|
14
16
|
export { tokens, themes } from '@tamagui/themes/v3-themes'
|
|
15
17
|
export { shorthands } from '@tamagui/shorthands/v2'
|
|
16
18
|
export { fonts } from './fonts'
|
package/types/v3.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export { animations } from './animations';
|
|
2
|
-
export { animationsReanimated } from './animationsReanimated';
|
|
3
1
|
export { animationsReactNative } from './animationsReactNative';
|
|
4
2
|
export { animationsCSS } from './animationsCSS';
|
|
3
|
+
export { animations } from './animations';
|
|
5
4
|
export { tokens, themes } from '@tamagui/themes/v3-themes';
|
|
6
5
|
export { shorthands } from '@tamagui/shorthands/v2';
|
|
7
6
|
export { fonts } from './fonts';
|