@tamagui/config 1.74.4 → 1.74.6
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/config.js +3 -6
- package/dist/cjs/config.js.map +1 -1
- package/dist/cjs/config.native.js +3 -6
- package/dist/cjs/config.native.js.map +1 -1
- package/dist/esm/config.js +0 -3
- package/dist/esm/config.js.map +1 -1
- package/dist/esm/config.native.js +0 -3
- package/dist/esm/config.native.js.map +1 -1
- package/package.json +12 -11
- package/src/config.ts +0 -4
- package/types/config.d.ts +0 -40
- package/types/config.d.ts.map +1 -1
package/dist/cjs/config.js
CHANGED
|
@@ -10,17 +10,15 @@ var __export = (target, all) => {
|
|
|
10
10
|
for (let key of __getOwnPropNames(from))
|
|
11
11
|
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
12
|
return to;
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
14
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
15
|
var config_exports = {};
|
|
16
16
|
__export(config_exports, {
|
|
17
17
|
configWithoutAnimations: () => configWithoutAnimations
|
|
18
18
|
});
|
|
19
19
|
module.exports = __toCommonJS(config_exports);
|
|
20
|
-
var import_shorthands = require("@tamagui/shorthands"), import_themes = require("@tamagui/themes"),
|
|
21
|
-
__reExport(config_exports, require("./animations"), module.exports);
|
|
20
|
+
var import_shorthands = require("@tamagui/shorthands"), import_themes = require("@tamagui/themes"), import_fonts = require("./fonts"), import_media = require("./media");
|
|
22
21
|
const configWithoutAnimations = {
|
|
23
|
-
animations: import_animations.animations,
|
|
24
22
|
defaultFont: "body",
|
|
25
23
|
shouldAddPrefersColorThemes: !0,
|
|
26
24
|
themeClassNameOnRoot: !0,
|
|
@@ -37,7 +35,6 @@ const configWithoutAnimations = {
|
|
|
37
35
|
};
|
|
38
36
|
// Annotate the CommonJS export names for ESM import in node:
|
|
39
37
|
0 && (module.exports = {
|
|
40
|
-
configWithoutAnimations
|
|
41
|
-
...require("./animations")
|
|
38
|
+
configWithoutAnimations
|
|
42
39
|
});
|
|
43
40
|
//# sourceMappingURL=config.js.map
|
package/dist/cjs/config.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/config.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAA2B,gCAC3B,gBAA+B,4BAG/B,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAA2B,gCAC3B,gBAA+B,4BAG/B,eAAsB,oBACtB,eAA+C;AAExC,MAAM,0BAA0B;AAAA,EACrC,aAAa;AAAA,EACb,6BAA6B;AAAA,EAC7B,sBAAsB;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,yBAAyB;AAAA,EACzB,iBAAiB,CAAC,UAChB,MAAM,SACF;AAAA,IACE,iBAAiB,MAAM;AAAA,IACvB,OAAO,MAAM;AAAA,EACf,IACA;AACR;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -11,17 +11,15 @@ var __export = (target, all) => {
|
|
|
11
11
|
for (let key of __getOwnPropNames(from))
|
|
12
12
|
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
13
|
return to;
|
|
14
|
-
}
|
|
14
|
+
};
|
|
15
15
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
16
|
var config_exports = {};
|
|
17
17
|
__export(config_exports, {
|
|
18
18
|
configWithoutAnimations: () => configWithoutAnimations
|
|
19
19
|
});
|
|
20
20
|
module.exports = __toCommonJS(config_exports);
|
|
21
|
-
var import_shorthands = require("@tamagui/shorthands"), import_themes = require("@tamagui/themes"),
|
|
22
|
-
__reExport(config_exports, require("./animations"), module.exports);
|
|
21
|
+
var import_shorthands = require("@tamagui/shorthands"), import_themes = require("@tamagui/themes"), import_fonts = require("./fonts"), import_media = require("./media");
|
|
23
22
|
const configWithoutAnimations = {
|
|
24
|
-
animations: import_animations.animations,
|
|
25
23
|
defaultFont: "body",
|
|
26
24
|
shouldAddPrefersColorThemes: !0,
|
|
27
25
|
themeClassNameOnRoot: !0,
|
|
@@ -38,7 +36,6 @@ const configWithoutAnimations = {
|
|
|
38
36
|
};
|
|
39
37
|
// Annotate the CommonJS export names for ESM import in node:
|
|
40
38
|
0 && (module.exports = {
|
|
41
|
-
configWithoutAnimations
|
|
42
|
-
...require("./animations")
|
|
39
|
+
configWithoutAnimations
|
|
43
40
|
});
|
|
44
41
|
//# sourceMappingURL=config.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/config.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAA2B,gCAC3B,gBAA+B,4BAG/B,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAA2B,gCAC3B,gBAA+B,4BAG/B,eAAsB,oBACtB,eAA+C;AAExC,MAAM,0BAA0B;AAAA,EACrC,aAAa;AAAA,EACb,6BAA6B;AAAA,EAC7B,sBAAsB;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,yBAAyB;AAAA,EACzB,iBAAiB,CAAC,UAChB,MAAM,SACF;AAAA,IACE,iBAAiB,MAAM;AAAA,IACvB,OAAO,MAAM;AAAA,EACf,IACA;AACR;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/dist/esm/config.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { shorthands } from "@tamagui/shorthands";
|
|
2
2
|
import { themes, tokens } from "@tamagui/themes";
|
|
3
|
-
import { animations } from "./animations.reanimated";
|
|
4
3
|
import { fonts } from "./fonts";
|
|
5
4
|
import { media, mediaQueryDefaultActive } from "./media";
|
|
6
|
-
export * from "./animations";
|
|
7
5
|
const configWithoutAnimations = {
|
|
8
|
-
animations,
|
|
9
6
|
defaultFont: "body",
|
|
10
7
|
shouldAddPrefersColorThemes: !0,
|
|
11
8
|
themeClassNameOnRoot: !0,
|
package/dist/esm/config.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/config.ts"],
|
|
4
|
-
"mappings": "AAAA,SAAS,kBAAkB;AAC3B,SAAS,QAAQ,cAAc;AAG/B,SAAS,
|
|
4
|
+
"mappings": "AAAA,SAAS,kBAAkB;AAC3B,SAAS,QAAQ,cAAc;AAG/B,SAAS,aAAa;AACtB,SAAS,OAAO,+BAA+B;AAExC,MAAM,0BAA0B;AAAA,EACrC,aAAa;AAAA,EACb,6BAA6B;AAAA,EAC7B,sBAAsB;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,iBAAiB,CAAC,UAChB,MAAM,SACF;AAAA,IACE,iBAAiB,MAAM;AAAA,IACvB,OAAO,MAAM;AAAA,EACf,IACA;AACR;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { shorthands } from "@tamagui/shorthands";
|
|
2
2
|
import { themes, tokens } from "@tamagui/themes";
|
|
3
|
-
import { animations } from "./animations.reanimated";
|
|
4
3
|
import { fonts } from "./fonts";
|
|
5
4
|
import { media, mediaQueryDefaultActive } from "./media";
|
|
6
|
-
export * from "./animations";
|
|
7
5
|
const configWithoutAnimations = {
|
|
8
|
-
animations,
|
|
9
6
|
defaultFont: "body",
|
|
10
7
|
shouldAddPrefersColorThemes: !0,
|
|
11
8
|
themeClassNameOnRoot: !0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/config.ts"],
|
|
4
|
-
"mappings": "AAAA,SAAS,kBAAkB;AAC3B,SAAS,QAAQ,cAAc;AAG/B,SAAS,
|
|
4
|
+
"mappings": "AAAA,SAAS,kBAAkB;AAC3B,SAAS,QAAQ,cAAc;AAG/B,SAAS,aAAa;AACtB,SAAS,OAAO,+BAA+B;AAExC,MAAM,0BAA0B;AAAA,EACrC,aAAa;AAAA,EACb,6BAA6B;AAAA,EAC7B,sBAAsB;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,iBAAiB,CAAC,UAChB,MAAM,SACF;AAAA,IACE,iBAAiB,MAAM;AAAA,IACvB,OAAO,MAAM;AAAA,EACf,IACA;AACR;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/config",
|
|
3
|
-
"version": "1.74.
|
|
3
|
+
"version": "1.74.6",
|
|
4
4
|
"types": "./types/index.d.ts",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -53,18 +53,19 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@tamagui/animations-css": "1.74.
|
|
57
|
-
"@tamagui/animations-
|
|
58
|
-
"@tamagui/
|
|
59
|
-
"@tamagui/
|
|
60
|
-
"@tamagui/font-
|
|
61
|
-
"@tamagui/
|
|
62
|
-
"@tamagui/
|
|
63
|
-
"@tamagui/
|
|
64
|
-
"@tamagui/
|
|
56
|
+
"@tamagui/animations-css": "1.74.6",
|
|
57
|
+
"@tamagui/animations-moti": "1.74.6",
|
|
58
|
+
"@tamagui/animations-react-native": "1.74.6",
|
|
59
|
+
"@tamagui/colors": "1.74.6",
|
|
60
|
+
"@tamagui/font-inter": "1.74.6",
|
|
61
|
+
"@tamagui/font-silkscreen": "1.74.6",
|
|
62
|
+
"@tamagui/react-native-media-driver": "1.74.6",
|
|
63
|
+
"@tamagui/shorthands": "1.74.6",
|
|
64
|
+
"@tamagui/themes": "1.74.6",
|
|
65
|
+
"@tamagui/web": "1.74.6"
|
|
65
66
|
},
|
|
66
67
|
"devDependencies": {
|
|
67
|
-
"@tamagui/build": "1.74.
|
|
68
|
+
"@tamagui/build": "1.74.6"
|
|
68
69
|
},
|
|
69
70
|
"publishConfig": {
|
|
70
71
|
"access": "public"
|
package/src/config.ts
CHANGED
|
@@ -2,14 +2,10 @@ import { shorthands } from '@tamagui/shorthands'
|
|
|
2
2
|
import { themes, tokens } from '@tamagui/themes'
|
|
3
3
|
import { CreateTamaguiProps } from '@tamagui/web'
|
|
4
4
|
|
|
5
|
-
import { animations } from './animations.reanimated'
|
|
6
5
|
import { fonts } from './fonts'
|
|
7
6
|
import { media, mediaQueryDefaultActive } from './media'
|
|
8
7
|
|
|
9
|
-
export * from './animations'
|
|
10
|
-
|
|
11
8
|
export const configWithoutAnimations = {
|
|
12
|
-
animations,
|
|
13
9
|
defaultFont: 'body',
|
|
14
10
|
shouldAddPrefersColorThemes: true,
|
|
15
11
|
themeClassNameOnRoot: true,
|
package/types/config.d.ts
CHANGED
|
@@ -1,45 +1,5 @@
|
|
|
1
1
|
import { themes } from '@tamagui/themes';
|
|
2
|
-
export * from './animations';
|
|
3
2
|
export declare const configWithoutAnimations: {
|
|
4
|
-
animations: import("@tamagui/web").AnimationDriver<{
|
|
5
|
-
'100ms': {
|
|
6
|
-
type: string;
|
|
7
|
-
duration: number;
|
|
8
|
-
};
|
|
9
|
-
bouncy: {
|
|
10
|
-
type: string;
|
|
11
|
-
damping: number;
|
|
12
|
-
mass: number;
|
|
13
|
-
stiffness: number;
|
|
14
|
-
};
|
|
15
|
-
lazy: {
|
|
16
|
-
type: string;
|
|
17
|
-
damping: number;
|
|
18
|
-
stiffness: number;
|
|
19
|
-
};
|
|
20
|
-
medium: {
|
|
21
|
-
damping: number;
|
|
22
|
-
stiffness: number;
|
|
23
|
-
mass: number;
|
|
24
|
-
};
|
|
25
|
-
slow: {
|
|
26
|
-
type: string;
|
|
27
|
-
damping: number;
|
|
28
|
-
stiffness: number;
|
|
29
|
-
};
|
|
30
|
-
quick: {
|
|
31
|
-
type: string;
|
|
32
|
-
damping: number;
|
|
33
|
-
mass: number;
|
|
34
|
-
stiffness: number;
|
|
35
|
-
};
|
|
36
|
-
tooltip: {
|
|
37
|
-
type: string;
|
|
38
|
-
damping: number;
|
|
39
|
-
mass: number;
|
|
40
|
-
stiffness: number;
|
|
41
|
-
};
|
|
42
|
-
}>;
|
|
43
3
|
defaultFont: string;
|
|
44
4
|
shouldAddPrefersColorThemes: true;
|
|
45
5
|
themeClassNameOnRoot: true;
|
package/types/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAU,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAU,MAAM,iBAAiB,CAAA;AAMhD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBN,CAAA"}
|