@tamagui/config 3.0.0-beta.924.1 → 3.0.1
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/animations-css.cjs +2 -26
- package/dist/cjs/animations-motion.cjs +2 -87
- package/dist/cjs/animations-motion.native.cjs +2 -87
- package/dist/cjs/animations-motion.native.js +2 -87
- package/dist/cjs/animations-motion.native.js.map +1 -1
- package/dist/cjs/animations-reanimated.cjs +2 -101
- package/dist/cjs/animations-reanimated.native.cjs +2 -101
- package/dist/cjs/animations-reanimated.native.js +2 -101
- package/dist/cjs/animations-reanimated.native.js.map +1 -1
- package/dist/cjs/animations-rn.cjs +2 -111
- package/dist/cjs/animations-rn.native.cjs +2 -111
- package/dist/cjs/animations-rn.native.js +2 -111
- package/dist/cjs/animations-rn.native.js.map +1 -1
- package/dist/cjs/settings.cjs +1 -0
- package/dist/cjs/settings.native.cjs +1 -0
- package/dist/cjs/settings.native.js +1 -0
- package/dist/cjs/settings.native.js.map +1 -1
- package/dist/cjs/v5-base.cjs +73 -2
- package/dist/cjs/v5-base.native.cjs +73 -2
- package/dist/cjs/v5-base.native.js +73 -2
- package/dist/cjs/v5-base.native.js.map +1 -1
- package/dist/cjs/v5-fonts.cjs +6 -1
- package/dist/cjs/v5-fonts.native.cjs +6 -1
- package/dist/cjs/v5-fonts.native.js +6 -1
- package/dist/cjs/v5-fonts.native.js.map +1 -1
- package/dist/cjs/v6-base.cjs +107 -11
- package/dist/cjs/v6-base.native.cjs +109 -11
- package/dist/cjs/v6-base.native.js +109 -11
- package/dist/cjs/v6-base.native.js.map +1 -1
- package/dist/cjs/v6-tailwind-scales.generated.cjs +12 -0
- package/dist/cjs/v6-tailwind-scales.generated.native.cjs +12 -0
- package/dist/cjs/v6-tailwind-scales.generated.native.js +12 -0
- package/dist/cjs/v6-tailwind-scales.generated.native.js.map +1 -1
- package/dist/cjs/v6-themes.cjs +2 -1
- package/dist/cjs/v6-themes.native.cjs +2 -1
- package/dist/cjs/v6-themes.native.js +2 -1
- package/dist/cjs/v6-themes.native.js.map +1 -1
- package/dist/esm/animations-css.mjs +2 -26
- package/dist/esm/animations-css.mjs.map +1 -1
- package/dist/esm/animations-motion.mjs +2 -87
- package/dist/esm/animations-motion.mjs.map +1 -1
- package/dist/esm/animations-motion.native.js +2 -87
- package/dist/esm/animations-motion.native.js.map +1 -1
- package/dist/esm/animations-reanimated.mjs +2 -101
- package/dist/esm/animations-reanimated.mjs.map +1 -1
- package/dist/esm/animations-reanimated.native.js +2 -101
- package/dist/esm/animations-reanimated.native.js.map +1 -1
- package/dist/esm/animations-rn.mjs +2 -111
- package/dist/esm/animations-rn.mjs.map +1 -1
- package/dist/esm/animations-rn.native.js +2 -111
- package/dist/esm/animations-rn.native.js.map +1 -1
- package/dist/esm/settings.mjs +1 -0
- package/dist/esm/settings.mjs.map +1 -1
- package/dist/esm/settings.native.js +1 -0
- package/dist/esm/settings.native.js.map +1 -1
- package/dist/esm/v5-base.mjs +74 -4
- package/dist/esm/v5-base.mjs.map +1 -1
- package/dist/esm/v5-base.native.js +74 -4
- package/dist/esm/v5-base.native.js.map +1 -1
- package/dist/esm/v5-fonts.mjs +7 -2
- package/dist/esm/v5-fonts.mjs.map +1 -1
- package/dist/esm/v5-fonts.native.js +7 -2
- package/dist/esm/v5-fonts.native.js.map +1 -1
- package/dist/esm/v6-base.mjs +105 -11
- package/dist/esm/v6-base.mjs.map +1 -1
- package/dist/esm/v6-base.native.js +107 -11
- package/dist/esm/v6-base.native.js.map +1 -1
- package/dist/esm/v6-tailwind-scales.generated.mjs +12 -0
- package/dist/esm/v6-tailwind-scales.generated.mjs.map +1 -1
- package/dist/esm/v6-tailwind-scales.generated.native.js +12 -0
- package/dist/esm/v6-tailwind-scales.generated.native.js.map +1 -1
- package/dist/esm/v6-themes.mjs +2 -1
- package/dist/esm/v6-themes.mjs.map +1 -1
- package/dist/esm/v6-themes.native.js +2 -1
- package/dist/esm/v6-themes.native.js.map +1 -1
- package/package.json +25 -13
- package/src/animations-css.ts +2 -27
- package/src/animations-motion.ts +2 -105
- package/src/animations-reanimated.ts +2 -101
- package/src/animations-rn.ts +2 -111
- package/src/settings.ts +1 -0
- package/src/v5-base.ts +57 -2
- package/src/v5-fonts.ts +14 -7
- package/src/v6-base.ts +104 -10
- package/src/v6-tailwind-scales.generated.ts +12 -0
- package/src/v6-themes.ts +35 -4
- package/types/animations-css.d.ts +104 -44
- package/types/animations-css.d.ts.map +1 -1
- package/types/animations-motion.d.ts +102 -204
- package/types/animations-motion.d.ts.map +1 -1
- package/types/animations-reanimated.d.ts +102 -196
- package/types/animations-reanimated.d.ts.map +1 -1
- package/types/animations-rn.d.ts +102 -216
- package/types/animations-rn.d.ts.map +1 -1
- package/types/settings.d.ts +1 -0
- package/types/settings.d.ts.map +1 -1
- package/types/v5-base.d.ts +72 -2
- package/types/v5-base.d.ts.map +1 -1
- package/types/v5-fonts.d.ts.map +1 -1
- package/types/v6-base.d.ts +527 -5
- package/types/v6-base.d.ts.map +1 -1
- package/types/v6-tailwind-scales.generated.d.ts +12 -0
- package/types/v6-tailwind-scales.generated.d.ts.map +1 -1
- package/types/v6-themes.d.ts +7 -1
- package/types/v6-themes.d.ts.map +1 -1
- package/types/v6.d.ts +1343 -371
- package/types/v6.d.ts.map +1 -1
|
@@ -25,115 +25,6 @@ __export(animations_rn_exports, {
|
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(animations_rn_exports);
|
|
27
27
|
var import_animations_react_native = require("@tamagui/animations-react-native");
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
type: "timing",
|
|
31
|
-
duration: 0
|
|
32
|
-
},
|
|
33
|
-
"50ms": {
|
|
34
|
-
type: "timing",
|
|
35
|
-
duration: 50
|
|
36
|
-
},
|
|
37
|
-
"75ms": {
|
|
38
|
-
type: "timing",
|
|
39
|
-
duration: 75
|
|
40
|
-
},
|
|
41
|
-
"100ms": {
|
|
42
|
-
type: "timing",
|
|
43
|
-
duration: 100
|
|
44
|
-
},
|
|
45
|
-
"200ms": {
|
|
46
|
-
type: "timing",
|
|
47
|
-
duration: 200
|
|
48
|
-
},
|
|
49
|
-
"250ms": {
|
|
50
|
-
type: "timing",
|
|
51
|
-
duration: 250
|
|
52
|
-
},
|
|
53
|
-
"300ms": {
|
|
54
|
-
type: "timing",
|
|
55
|
-
duration: 300
|
|
56
|
-
},
|
|
57
|
-
"400ms": {
|
|
58
|
-
type: "timing",
|
|
59
|
-
duration: 400
|
|
60
|
-
},
|
|
61
|
-
"500ms": {
|
|
62
|
-
type: "timing",
|
|
63
|
-
duration: 500
|
|
64
|
-
},
|
|
65
|
-
superBouncy: {
|
|
66
|
-
type: "spring",
|
|
67
|
-
damping: 5,
|
|
68
|
-
mass: .7,
|
|
69
|
-
stiffness: 180
|
|
70
|
-
},
|
|
71
|
-
bouncy: {
|
|
72
|
-
type: "spring",
|
|
73
|
-
damping: 9,
|
|
74
|
-
mass: .9,
|
|
75
|
-
stiffness: 120
|
|
76
|
-
},
|
|
77
|
-
superLazy: {
|
|
78
|
-
type: "spring",
|
|
79
|
-
damping: 25,
|
|
80
|
-
mass: 2,
|
|
81
|
-
stiffness: 25
|
|
82
|
-
},
|
|
83
|
-
lazy: {
|
|
84
|
-
type: "spring",
|
|
85
|
-
damping: 18,
|
|
86
|
-
mass: .2,
|
|
87
|
-
stiffness: 10
|
|
88
|
-
},
|
|
89
|
-
medium: {
|
|
90
|
-
damping: 16,
|
|
91
|
-
stiffness: 90,
|
|
92
|
-
mass: .8
|
|
93
|
-
},
|
|
94
|
-
slowest: {
|
|
95
|
-
type: "spring",
|
|
96
|
-
damping: 15,
|
|
97
|
-
stiffness: 10
|
|
98
|
-
},
|
|
99
|
-
slow: {
|
|
100
|
-
type: "spring",
|
|
101
|
-
damping: 45,
|
|
102
|
-
stiffness: 60
|
|
103
|
-
},
|
|
104
|
-
quick: {
|
|
105
|
-
type: "spring",
|
|
106
|
-
damping: 25,
|
|
107
|
-
mass: 1,
|
|
108
|
-
stiffness: 550
|
|
109
|
-
},
|
|
110
|
-
quickLessBouncy: {
|
|
111
|
-
type: "spring",
|
|
112
|
-
damping: 40,
|
|
113
|
-
mass: 2,
|
|
114
|
-
stiffness: 400
|
|
115
|
-
},
|
|
116
|
-
quicker: {
|
|
117
|
-
type: "spring",
|
|
118
|
-
damping: 16,
|
|
119
|
-
mass: .6,
|
|
120
|
-
stiffness: 700
|
|
121
|
-
},
|
|
122
|
-
quickerLessBouncy: {
|
|
123
|
-
type: "spring",
|
|
124
|
-
damping: 27,
|
|
125
|
-
mass: .45,
|
|
126
|
-
stiffness: 750
|
|
127
|
-
},
|
|
128
|
-
quickest: {
|
|
129
|
-
damping: 15,
|
|
130
|
-
mass: .6,
|
|
131
|
-
stiffness: 400
|
|
132
|
-
},
|
|
133
|
-
quickestLessBouncy: {
|
|
134
|
-
damping: 24,
|
|
135
|
-
mass: .35,
|
|
136
|
-
stiffness: 750
|
|
137
|
-
}
|
|
138
|
-
});
|
|
28
|
+
var import_animation_helpers = require("@tamagui/animation-helpers");
|
|
29
|
+
const animationsReactNative = (0, import_animations_react_native.createAnimations)(import_animation_helpers.animationPresets);
|
|
139
30
|
const animations = animationsReactNative;
|
|
@@ -27,115 +27,6 @@ __export(animations_rn_exports, {
|
|
|
27
27
|
});
|
|
28
28
|
module.exports = __toCommonJS(animations_rn_exports);
|
|
29
29
|
var import_animations_react_native = require("@tamagui/animations-react-native");
|
|
30
|
-
var
|
|
31
|
-
|
|
32
|
-
type: "timing",
|
|
33
|
-
duration: 0
|
|
34
|
-
},
|
|
35
|
-
"50ms": {
|
|
36
|
-
type: "timing",
|
|
37
|
-
duration: 50
|
|
38
|
-
},
|
|
39
|
-
"75ms": {
|
|
40
|
-
type: "timing",
|
|
41
|
-
duration: 75
|
|
42
|
-
},
|
|
43
|
-
"100ms": {
|
|
44
|
-
type: "timing",
|
|
45
|
-
duration: 100
|
|
46
|
-
},
|
|
47
|
-
"200ms": {
|
|
48
|
-
type: "timing",
|
|
49
|
-
duration: 200
|
|
50
|
-
},
|
|
51
|
-
"250ms": {
|
|
52
|
-
type: "timing",
|
|
53
|
-
duration: 250
|
|
54
|
-
},
|
|
55
|
-
"300ms": {
|
|
56
|
-
type: "timing",
|
|
57
|
-
duration: 300
|
|
58
|
-
},
|
|
59
|
-
"400ms": {
|
|
60
|
-
type: "timing",
|
|
61
|
-
duration: 400
|
|
62
|
-
},
|
|
63
|
-
"500ms": {
|
|
64
|
-
type: "timing",
|
|
65
|
-
duration: 500
|
|
66
|
-
},
|
|
67
|
-
superBouncy: {
|
|
68
|
-
type: "spring",
|
|
69
|
-
damping: 5,
|
|
70
|
-
mass: .7,
|
|
71
|
-
stiffness: 180
|
|
72
|
-
},
|
|
73
|
-
bouncy: {
|
|
74
|
-
type: "spring",
|
|
75
|
-
damping: 9,
|
|
76
|
-
mass: .9,
|
|
77
|
-
stiffness: 120
|
|
78
|
-
},
|
|
79
|
-
superLazy: {
|
|
80
|
-
type: "spring",
|
|
81
|
-
damping: 25,
|
|
82
|
-
mass: 2,
|
|
83
|
-
stiffness: 25
|
|
84
|
-
},
|
|
85
|
-
lazy: {
|
|
86
|
-
type: "spring",
|
|
87
|
-
damping: 18,
|
|
88
|
-
mass: .2,
|
|
89
|
-
stiffness: 10
|
|
90
|
-
},
|
|
91
|
-
medium: {
|
|
92
|
-
damping: 16,
|
|
93
|
-
stiffness: 90,
|
|
94
|
-
mass: .8
|
|
95
|
-
},
|
|
96
|
-
slowest: {
|
|
97
|
-
type: "spring",
|
|
98
|
-
damping: 15,
|
|
99
|
-
stiffness: 10
|
|
100
|
-
},
|
|
101
|
-
slow: {
|
|
102
|
-
type: "spring",
|
|
103
|
-
damping: 45,
|
|
104
|
-
stiffness: 60
|
|
105
|
-
},
|
|
106
|
-
quick: {
|
|
107
|
-
type: "spring",
|
|
108
|
-
damping: 25,
|
|
109
|
-
mass: 1,
|
|
110
|
-
stiffness: 550
|
|
111
|
-
},
|
|
112
|
-
quickLessBouncy: {
|
|
113
|
-
type: "spring",
|
|
114
|
-
damping: 40,
|
|
115
|
-
mass: 2,
|
|
116
|
-
stiffness: 400
|
|
117
|
-
},
|
|
118
|
-
quicker: {
|
|
119
|
-
type: "spring",
|
|
120
|
-
damping: 16,
|
|
121
|
-
mass: .6,
|
|
122
|
-
stiffness: 700
|
|
123
|
-
},
|
|
124
|
-
quickerLessBouncy: {
|
|
125
|
-
type: "spring",
|
|
126
|
-
damping: 27,
|
|
127
|
-
mass: .45,
|
|
128
|
-
stiffness: 750
|
|
129
|
-
},
|
|
130
|
-
quickest: {
|
|
131
|
-
damping: 15,
|
|
132
|
-
mass: .6,
|
|
133
|
-
stiffness: 400
|
|
134
|
-
},
|
|
135
|
-
quickestLessBouncy: {
|
|
136
|
-
damping: 24,
|
|
137
|
-
mass: .35,
|
|
138
|
-
stiffness: 750
|
|
139
|
-
}
|
|
140
|
-
});
|
|
30
|
+
var import_animation_helpers = require("@tamagui/animation-helpers");
|
|
31
|
+
var animationsReactNative = (0, import_animations_react_native.createAnimations)(import_animation_helpers.animationPresets);
|
|
141
32
|
var animations = animationsReactNative;
|
|
@@ -27,117 +27,8 @@ __export(animations_rn_exports, {
|
|
|
27
27
|
});
|
|
28
28
|
module.exports = __toCommonJS(animations_rn_exports);
|
|
29
29
|
var import_animations_react_native = require("@tamagui/animations-react-native");
|
|
30
|
-
var
|
|
31
|
-
|
|
32
|
-
type: "timing",
|
|
33
|
-
duration: 0
|
|
34
|
-
},
|
|
35
|
-
"50ms": {
|
|
36
|
-
type: "timing",
|
|
37
|
-
duration: 50
|
|
38
|
-
},
|
|
39
|
-
"75ms": {
|
|
40
|
-
type: "timing",
|
|
41
|
-
duration: 75
|
|
42
|
-
},
|
|
43
|
-
"100ms": {
|
|
44
|
-
type: "timing",
|
|
45
|
-
duration: 100
|
|
46
|
-
},
|
|
47
|
-
"200ms": {
|
|
48
|
-
type: "timing",
|
|
49
|
-
duration: 200
|
|
50
|
-
},
|
|
51
|
-
"250ms": {
|
|
52
|
-
type: "timing",
|
|
53
|
-
duration: 250
|
|
54
|
-
},
|
|
55
|
-
"300ms": {
|
|
56
|
-
type: "timing",
|
|
57
|
-
duration: 300
|
|
58
|
-
},
|
|
59
|
-
"400ms": {
|
|
60
|
-
type: "timing",
|
|
61
|
-
duration: 400
|
|
62
|
-
},
|
|
63
|
-
"500ms": {
|
|
64
|
-
type: "timing",
|
|
65
|
-
duration: 500
|
|
66
|
-
},
|
|
67
|
-
superBouncy: {
|
|
68
|
-
type: "spring",
|
|
69
|
-
damping: 5,
|
|
70
|
-
mass: .7,
|
|
71
|
-
stiffness: 180
|
|
72
|
-
},
|
|
73
|
-
bouncy: {
|
|
74
|
-
type: "spring",
|
|
75
|
-
damping: 9,
|
|
76
|
-
mass: .9,
|
|
77
|
-
stiffness: 120
|
|
78
|
-
},
|
|
79
|
-
superLazy: {
|
|
80
|
-
type: "spring",
|
|
81
|
-
damping: 25,
|
|
82
|
-
mass: 2,
|
|
83
|
-
stiffness: 25
|
|
84
|
-
},
|
|
85
|
-
lazy: {
|
|
86
|
-
type: "spring",
|
|
87
|
-
damping: 18,
|
|
88
|
-
mass: .2,
|
|
89
|
-
stiffness: 10
|
|
90
|
-
},
|
|
91
|
-
medium: {
|
|
92
|
-
damping: 16,
|
|
93
|
-
stiffness: 90,
|
|
94
|
-
mass: .8
|
|
95
|
-
},
|
|
96
|
-
slowest: {
|
|
97
|
-
type: "spring",
|
|
98
|
-
damping: 15,
|
|
99
|
-
stiffness: 10
|
|
100
|
-
},
|
|
101
|
-
slow: {
|
|
102
|
-
type: "spring",
|
|
103
|
-
damping: 45,
|
|
104
|
-
stiffness: 60
|
|
105
|
-
},
|
|
106
|
-
quick: {
|
|
107
|
-
type: "spring",
|
|
108
|
-
damping: 25,
|
|
109
|
-
mass: 1,
|
|
110
|
-
stiffness: 550
|
|
111
|
-
},
|
|
112
|
-
quickLessBouncy: {
|
|
113
|
-
type: "spring",
|
|
114
|
-
damping: 40,
|
|
115
|
-
mass: 2,
|
|
116
|
-
stiffness: 400
|
|
117
|
-
},
|
|
118
|
-
quicker: {
|
|
119
|
-
type: "spring",
|
|
120
|
-
damping: 16,
|
|
121
|
-
mass: .6,
|
|
122
|
-
stiffness: 700
|
|
123
|
-
},
|
|
124
|
-
quickerLessBouncy: {
|
|
125
|
-
type: "spring",
|
|
126
|
-
damping: 27,
|
|
127
|
-
mass: .45,
|
|
128
|
-
stiffness: 750
|
|
129
|
-
},
|
|
130
|
-
quickest: {
|
|
131
|
-
damping: 15,
|
|
132
|
-
mass: .6,
|
|
133
|
-
stiffness: 400
|
|
134
|
-
},
|
|
135
|
-
quickestLessBouncy: {
|
|
136
|
-
damping: 24,
|
|
137
|
-
mass: .35,
|
|
138
|
-
stiffness: 750
|
|
139
|
-
}
|
|
140
|
-
});
|
|
30
|
+
var import_animation_helpers = require("@tamagui/animation-helpers");
|
|
31
|
+
var animationsReactNative = (0, import_animations_react_native.createAnimations)(import_animation_helpers.animationPresets);
|
|
141
32
|
var animations = animationsReactNative;
|
|
142
33
|
|
|
143
34
|
//# sourceMappingURL=animations-rn.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animations-rn.native.js","names":[],"sources":["cjs/animations-rn.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar animations_rn_exports = {};\n__export(animations_rn_exports, {\n animations: () => animations,\n animationsReactNative: () => animationsReactNative\n});\nmodule.exports = __toCommonJS(animations_rn_exports);\nvar import_animations_react_native = require(\"@tamagui/animations-react-native\");\nvar
|
|
1
|
+
{"version":3,"file":"animations-rn.native.js","names":[],"sources":["cjs/animations-rn.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar animations_rn_exports = {};\n__export(animations_rn_exports, {\n animations: () => animations,\n animationsReactNative: () => animationsReactNative\n});\nmodule.exports = __toCommonJS(animations_rn_exports);\nvar import_animations_react_native = require(\"@tamagui/animations-react-native\");\nvar import_animation_helpers = require(\"@tamagui/animation-helpers\");\nvar animationsReactNative = (0, import_animations_react_native.createAnimations)(import_animation_helpers.animationPresets);\nvar animations = animationsReactNative;\n//# sourceMappingURL=animations-rn.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,wBAAwB,CAAC;AAC7B,SAAS,uBAAuB;CAC9B,kBAAkB;CAClB,6BAA6B;AAC/B,CAAC;AACD,OAAO,UAAU,aAAa,qBAAqB;AACnD,IAAI,iCAAiC,QAAQ,kCAAkC;AAC/E,IAAI,2BAA2B,QAAQ,4BAA4B;AACnE,IAAI,yBAAyB,GAAG,+BAA+B,iBAAgB,CAAE,yBAAyB,gBAAgB;AAC1H,IAAI,aAAa"}
|
package/dist/cjs/settings.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.native.js","names":[],"sources":["cjs/settings.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar settings_exports = {};\n__export(settings_exports, {\n selectionStyles: () => selectionStyles,\n settings: () => settings\n});\nmodule.exports = __toCommonJS(settings_exports);\nvar import_media = require(\"./media\");\nvar selectionStyles = function(theme) {\n return theme.color5 ? {\n backgroundColor: theme.color5,\n color: theme.color11\n } : null;\n};\nvar settings = {\n mediaQueryDefaultActive: import_media.mediaQueryDefaultActive,\n defaultFont: \"body\",\n fastSchemeChange: true,\n shouldAddPrefersColorThemes: true,\n allowedStyleValues: \"somewhat-strict-web\",\n addThemeClassName: \"html\",\n onlyAllowShorthands: true,\n styleCompat: \"web\"\n};\n//# sourceMappingURL=settings.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,mBAAmB,CAAC;AACxB,SAAS,kBAAkB;CACzB,uBAAuB;CACvB,gBAAgB;AAClB,CAAC;AACD,OAAO,UAAU,aAAa,gBAAgB;AAC9C,IAAI,eAAe,QAAQ,mBAAS;AACpC,IAAI,kBAAkB,SAAS,OAAO;CACpC,OAAO,MAAM,SAAS;EACpB,iBAAiB,MAAM;EACvB,OAAO,MAAM;CACf,IAAI;AACN;AACA,IAAI,WAAW;CACb,yBAAyB,aAAa;CACtC,aAAa;CACb,kBAAkB;CAClB,6BAA6B;CAC7B,oBAAoB;CACpB,mBAAmB;CACnB,qBAAqB;CACrB,aAAa;AACf"}
|
|
1
|
+
{"version":3,"file":"settings.native.js","names":[],"sources":["cjs/settings.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar settings_exports = {};\n__export(settings_exports, {\n selectionStyles: () => selectionStyles,\n settings: () => settings\n});\nmodule.exports = __toCommonJS(settings_exports);\nvar import_media = require(\"./media\");\nvar selectionStyles = function(theme) {\n return theme.color5 ? {\n backgroundColor: theme.color5,\n color: theme.color11\n } : null;\n};\nvar settings = {\n mediaQueryDefaultActive: import_media.mediaQueryDefaultActive,\n selectionStyles,\n defaultFont: \"body\",\n fastSchemeChange: true,\n shouldAddPrefersColorThemes: true,\n allowedStyleValues: \"somewhat-strict-web\",\n addThemeClassName: \"html\",\n onlyAllowShorthands: true,\n styleCompat: \"web\"\n};\n//# sourceMappingURL=settings.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,mBAAmB,CAAC;AACxB,SAAS,kBAAkB;CACzB,uBAAuB;CACvB,gBAAgB;AAClB,CAAC;AACD,OAAO,UAAU,aAAa,gBAAgB;AAC9C,IAAI,eAAe,QAAQ,mBAAS;AACpC,IAAI,kBAAkB,SAAS,OAAO;CACpC,OAAO,MAAM,SAAS;EACpB,iBAAiB,MAAM;EACvB,OAAO,MAAM;CACf,IAAI;AACN;AACA,IAAI,WAAW;CACb,yBAAyB,aAAa;CACtC;CACA,aAAa;CACb,kBAAkB;CAClB,6BAA6B;CAC7B,oBAAoB;CACpB,mBAAmB;CACnB,qBAAqB;CACrB,aAAa;AACf"}
|
package/dist/cjs/v5-base.cjs
CHANGED
|
@@ -23,6 +23,7 @@ __export(v5_base_exports, {
|
|
|
23
23
|
breakpoints: () => import_media2.breakpoints,
|
|
24
24
|
createSystemFont: () => import_v5_fonts2.createSystemFont,
|
|
25
25
|
defaultConfig: () => defaultConfig,
|
|
26
|
+
defaultSizing: () => defaultSizing,
|
|
26
27
|
fonts: () => import_v5_fonts2.fonts,
|
|
27
28
|
media: () => import_media2.media,
|
|
28
29
|
mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,
|
|
@@ -42,12 +43,82 @@ var import_v52 = require("@tamagui/themes/v5");
|
|
|
42
43
|
var import_v5_fonts2 = require("./v5-fonts.cjs");
|
|
43
44
|
var import_media2 = require("./media.cjs");
|
|
44
45
|
var import_settings2 = require("./settings.cjs");
|
|
46
|
+
const defaultSizing = {
|
|
47
|
+
default: "md",
|
|
48
|
+
sizes: {
|
|
49
|
+
xs: {
|
|
50
|
+
fontSize: "1",
|
|
51
|
+
controlFontSize: "1",
|
|
52
|
+
paddingInline: "2",
|
|
53
|
+
paddingBlock: "1-5",
|
|
54
|
+
gap: "1-5",
|
|
55
|
+
radius: "1",
|
|
56
|
+
px: {
|
|
57
|
+
height: 24,
|
|
58
|
+
icon: 12,
|
|
59
|
+
square: 17
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
sm: {
|
|
63
|
+
fontSize: "3",
|
|
64
|
+
controlFontSize: "3",
|
|
65
|
+
paddingInline: "3",
|
|
66
|
+
paddingBlock: "2",
|
|
67
|
+
gap: "2",
|
|
68
|
+
radius: "2",
|
|
69
|
+
px: {
|
|
70
|
+
height: 32,
|
|
71
|
+
icon: 16,
|
|
72
|
+
square: 20
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
md: {
|
|
76
|
+
fontSize: "3",
|
|
77
|
+
controlFontSize: "3",
|
|
78
|
+
paddingInline: "3-5",
|
|
79
|
+
paddingBlock: "2",
|
|
80
|
+
gap: "2",
|
|
81
|
+
radius: "2",
|
|
82
|
+
px: {
|
|
83
|
+
height: 36,
|
|
84
|
+
icon: 16,
|
|
85
|
+
square: 22
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
lg: {
|
|
89
|
+
fontSize: "5",
|
|
90
|
+
controlFontSize: "5",
|
|
91
|
+
paddingInline: "5",
|
|
92
|
+
paddingBlock: "2",
|
|
93
|
+
gap: "2",
|
|
94
|
+
radius: "2",
|
|
95
|
+
px: {
|
|
96
|
+
height: 40,
|
|
97
|
+
icon: 16,
|
|
98
|
+
square: 25
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
xl: {
|
|
102
|
+
fontSize: "6",
|
|
103
|
+
controlFontSize: "6",
|
|
104
|
+
paddingInline: "6",
|
|
105
|
+
paddingBlock: "2-5",
|
|
106
|
+
gap: "2-5",
|
|
107
|
+
radius: "3",
|
|
108
|
+
px: {
|
|
109
|
+
height: 48,
|
|
110
|
+
icon: 20,
|
|
111
|
+
square: 28
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
};
|
|
45
116
|
const defaultConfig = {
|
|
46
117
|
media: import_media.media,
|
|
47
118
|
shorthands: import_v4.shorthands,
|
|
48
119
|
themes: import_v5.themes,
|
|
49
120
|
tokens: import_v5.tokens,
|
|
50
121
|
fonts: import_v5_fonts.fonts,
|
|
51
|
-
|
|
52
|
-
|
|
122
|
+
settings: import_settings.settings,
|
|
123
|
+
sizing: defaultSizing
|
|
53
124
|
};
|
|
@@ -25,6 +25,7 @@ __export(v5_base_exports, {
|
|
|
25
25
|
breakpoints: () => import_media2.breakpoints,
|
|
26
26
|
createSystemFont: () => import_v5_fonts2.createSystemFont,
|
|
27
27
|
defaultConfig: () => defaultConfig,
|
|
28
|
+
defaultSizing: () => defaultSizing,
|
|
28
29
|
fonts: () => import_v5_fonts2.fonts,
|
|
29
30
|
media: () => import_media2.media,
|
|
30
31
|
mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,
|
|
@@ -44,12 +45,82 @@ var import_v52 = require("@tamagui/themes/v5");
|
|
|
44
45
|
var import_v5_fonts2 = require("./v5-fonts.native.js");
|
|
45
46
|
var import_media2 = require("./media.native.js");
|
|
46
47
|
var import_settings2 = require("./settings.native.js");
|
|
48
|
+
var defaultSizing = {
|
|
49
|
+
default: "md",
|
|
50
|
+
sizes: {
|
|
51
|
+
xs: {
|
|
52
|
+
fontSize: "1",
|
|
53
|
+
controlFontSize: "1",
|
|
54
|
+
paddingInline: "2",
|
|
55
|
+
paddingBlock: "1-5",
|
|
56
|
+
gap: "1-5",
|
|
57
|
+
radius: "1",
|
|
58
|
+
px: {
|
|
59
|
+
height: 24,
|
|
60
|
+
icon: 12,
|
|
61
|
+
square: 17
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
sm: {
|
|
65
|
+
fontSize: "3",
|
|
66
|
+
controlFontSize: "3",
|
|
67
|
+
paddingInline: "3",
|
|
68
|
+
paddingBlock: "2",
|
|
69
|
+
gap: "2",
|
|
70
|
+
radius: "2",
|
|
71
|
+
px: {
|
|
72
|
+
height: 32,
|
|
73
|
+
icon: 16,
|
|
74
|
+
square: 20
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
md: {
|
|
78
|
+
fontSize: "3",
|
|
79
|
+
controlFontSize: "3",
|
|
80
|
+
paddingInline: "3-5",
|
|
81
|
+
paddingBlock: "2",
|
|
82
|
+
gap: "2",
|
|
83
|
+
radius: "2",
|
|
84
|
+
px: {
|
|
85
|
+
height: 36,
|
|
86
|
+
icon: 16,
|
|
87
|
+
square: 22
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
lg: {
|
|
91
|
+
fontSize: "5",
|
|
92
|
+
controlFontSize: "5",
|
|
93
|
+
paddingInline: "5",
|
|
94
|
+
paddingBlock: "2",
|
|
95
|
+
gap: "2",
|
|
96
|
+
radius: "2",
|
|
97
|
+
px: {
|
|
98
|
+
height: 40,
|
|
99
|
+
icon: 16,
|
|
100
|
+
square: 25
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
xl: {
|
|
104
|
+
fontSize: "6",
|
|
105
|
+
controlFontSize: "6",
|
|
106
|
+
paddingInline: "6",
|
|
107
|
+
paddingBlock: "2-5",
|
|
108
|
+
gap: "2-5",
|
|
109
|
+
radius: "3",
|
|
110
|
+
px: {
|
|
111
|
+
height: 48,
|
|
112
|
+
icon: 20,
|
|
113
|
+
square: 28
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
};
|
|
47
118
|
var defaultConfig = {
|
|
48
119
|
media: import_media.media,
|
|
49
120
|
shorthands: import_v4.shorthands,
|
|
50
121
|
themes: import_v5.themes,
|
|
51
122
|
tokens: import_v5.tokens,
|
|
52
123
|
fonts: import_v5_fonts.fonts,
|
|
53
|
-
|
|
54
|
-
|
|
124
|
+
settings: import_settings.settings,
|
|
125
|
+
sizing: defaultSizing
|
|
55
126
|
};
|
|
@@ -25,6 +25,7 @@ __export(v5_base_exports, {
|
|
|
25
25
|
breakpoints: () => import_media2.breakpoints,
|
|
26
26
|
createSystemFont: () => import_v5_fonts2.createSystemFont,
|
|
27
27
|
defaultConfig: () => defaultConfig,
|
|
28
|
+
defaultSizing: () => defaultSizing,
|
|
28
29
|
fonts: () => import_v5_fonts2.fonts,
|
|
29
30
|
media: () => import_media2.media,
|
|
30
31
|
mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,
|
|
@@ -44,14 +45,84 @@ var import_v52 = require("@tamagui/themes/v5");
|
|
|
44
45
|
var import_v5_fonts2 = require("./v5-fonts.native.js");
|
|
45
46
|
var import_media2 = require("./media.native.js");
|
|
46
47
|
var import_settings2 = require("./settings.native.js");
|
|
48
|
+
var defaultSizing = {
|
|
49
|
+
default: "md",
|
|
50
|
+
sizes: {
|
|
51
|
+
xs: {
|
|
52
|
+
fontSize: "1",
|
|
53
|
+
controlFontSize: "1",
|
|
54
|
+
paddingInline: "2",
|
|
55
|
+
paddingBlock: "1-5",
|
|
56
|
+
gap: "1-5",
|
|
57
|
+
radius: "1",
|
|
58
|
+
px: {
|
|
59
|
+
height: 24,
|
|
60
|
+
icon: 12,
|
|
61
|
+
square: 17
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
sm: {
|
|
65
|
+
fontSize: "3",
|
|
66
|
+
controlFontSize: "3",
|
|
67
|
+
paddingInline: "3",
|
|
68
|
+
paddingBlock: "2",
|
|
69
|
+
gap: "2",
|
|
70
|
+
radius: "2",
|
|
71
|
+
px: {
|
|
72
|
+
height: 32,
|
|
73
|
+
icon: 16,
|
|
74
|
+
square: 20
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
md: {
|
|
78
|
+
fontSize: "3",
|
|
79
|
+
controlFontSize: "3",
|
|
80
|
+
paddingInline: "3-5",
|
|
81
|
+
paddingBlock: "2",
|
|
82
|
+
gap: "2",
|
|
83
|
+
radius: "2",
|
|
84
|
+
px: {
|
|
85
|
+
height: 36,
|
|
86
|
+
icon: 16,
|
|
87
|
+
square: 22
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
lg: {
|
|
91
|
+
fontSize: "5",
|
|
92
|
+
controlFontSize: "5",
|
|
93
|
+
paddingInline: "5",
|
|
94
|
+
paddingBlock: "2",
|
|
95
|
+
gap: "2",
|
|
96
|
+
radius: "2",
|
|
97
|
+
px: {
|
|
98
|
+
height: 40,
|
|
99
|
+
icon: 16,
|
|
100
|
+
square: 25
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
xl: {
|
|
104
|
+
fontSize: "6",
|
|
105
|
+
controlFontSize: "6",
|
|
106
|
+
paddingInline: "6",
|
|
107
|
+
paddingBlock: "2-5",
|
|
108
|
+
gap: "2-5",
|
|
109
|
+
radius: "3",
|
|
110
|
+
px: {
|
|
111
|
+
height: 48,
|
|
112
|
+
icon: 20,
|
|
113
|
+
square: 28
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
};
|
|
47
118
|
var defaultConfig = {
|
|
48
119
|
media: import_media.media,
|
|
49
120
|
shorthands: import_v4.shorthands,
|
|
50
121
|
themes: import_v5.themes,
|
|
51
122
|
tokens: import_v5.tokens,
|
|
52
123
|
fonts: import_v5_fonts.fonts,
|
|
53
|
-
|
|
54
|
-
|
|
124
|
+
settings: import_settings.settings,
|
|
125
|
+
sizing: defaultSizing
|
|
55
126
|
};
|
|
56
127
|
|
|
57
128
|
//# sourceMappingURL=v5-base.native.js.map
|