@tamagui/config-base 1.0.21 → 1.0.23
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.js +36 -0
- package/dist/cjs/animations.css.js.map +7 -0
- package/dist/cjs/animations.js +4 -0
- package/dist/cjs/animations.js.map +2 -2
- package/dist/esm/animations.css.js +12 -0
- package/dist/esm/animations.css.js.map +7 -0
- package/dist/esm/animations.js +4 -0
- package/dist/esm/animations.js.map +2 -2
- package/package.json +12 -11
- package/src/animations.ts +4 -0
- package/types/animations.d.ts +4 -0
- package/types/tamagui.config.d.ts +34 -6151
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var animations_css_exports = {};
|
|
20
|
+
__export(animations_css_exports, {
|
|
21
|
+
animations: () => animations
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(animations_css_exports);
|
|
24
|
+
var import_animations_css = require("@tamagui/animations-css");
|
|
25
|
+
const animations = (0, import_animations_css.createAnimations)({
|
|
26
|
+
bouncy: "ease-in 200ms",
|
|
27
|
+
lazy: "ease-in 600ms",
|
|
28
|
+
slow: "ease-in 500ms",
|
|
29
|
+
quick: "ease-in 100ms",
|
|
30
|
+
tooltip: "ease-in 400ms"
|
|
31
|
+
});
|
|
32
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
+
0 && (module.exports = {
|
|
34
|
+
animations
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=animations.css.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/animations.css.ts"],
|
|
4
|
+
"sourcesContent": ["import { createAnimations } from '@tamagui/animations-css'\n\nexport const animations = createAnimations({\n bouncy: 'ease-in 200ms',\n lazy: 'ease-in 600ms',\n slow: 'ease-in 500ms',\n quick: 'ease-in 100ms',\n tooltip: 'ease-in 400ms',\n})\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAAiC;AAE1B,MAAM,iBAAa,wCAAiB;AAAA,EACzC,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,MAAM;AAAA,EACN,OAAO;AAAA,EACP,SAAS;AACX,CAAC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/cjs/animations.js
CHANGED
|
@@ -23,6 +23,10 @@ __export(animations_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(animations_exports);
|
|
24
24
|
var import_animations_react_native = require("@tamagui/animations-react-native");
|
|
25
25
|
const animations = (0, import_animations_react_native.createAnimations)({
|
|
26
|
+
"100ms": {
|
|
27
|
+
type: "timing",
|
|
28
|
+
duration: 100
|
|
29
|
+
},
|
|
26
30
|
bouncy: {
|
|
27
31
|
damping: 9,
|
|
28
32
|
mass: 0.9,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/animations.ts"],
|
|
4
|
-
"sourcesContent": ["import { createAnimations } from '@tamagui/animations-react-native'\n\nexport const animations = createAnimations({\n bouncy: {\n damping: 9,\n mass: 0.9,\n stiffness: 150,\n },\n lazy: {\n damping: 18,\n stiffness: 50,\n },\n slow: {\n damping: 15,\n stiffness: 40,\n },\n quick: {\n damping: 20,\n mass: 1.2,\n stiffness: 250,\n },\n tooltip: {\n damping: 10,\n mass: 0.9,\n stiffness: 100,\n },\n})\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qCAAiC;AAE1B,MAAM,iBAAa,iDAAiB;AAAA,EACzC,QAAQ;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,OAAO;AAAA,IACL,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,SAAS;AAAA,IACP,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AACF,CAAC;",
|
|
4
|
+
"sourcesContent": ["import { createAnimations } from '@tamagui/animations-react-native'\n\nexport const animations = createAnimations({\n '100ms': {\n type: 'timing',\n duration: 100,\n },\n bouncy: {\n damping: 9,\n mass: 0.9,\n stiffness: 150,\n },\n lazy: {\n damping: 18,\n stiffness: 50,\n },\n slow: {\n damping: 15,\n stiffness: 40,\n },\n quick: {\n damping: 20,\n mass: 1.2,\n stiffness: 250,\n },\n tooltip: {\n damping: 10,\n mass: 0.9,\n stiffness: 100,\n },\n})\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qCAAiC;AAE1B,MAAM,iBAAa,iDAAiB;AAAA,EACzC,SAAS;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,OAAO;AAAA,IACL,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,SAAS;AAAA,IACP,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AACF,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { createAnimations } from "@tamagui/animations-css";
|
|
2
|
+
const animations = createAnimations({
|
|
3
|
+
bouncy: "ease-in 200ms",
|
|
4
|
+
lazy: "ease-in 600ms",
|
|
5
|
+
slow: "ease-in 500ms",
|
|
6
|
+
quick: "ease-in 100ms",
|
|
7
|
+
tooltip: "ease-in 400ms"
|
|
8
|
+
});
|
|
9
|
+
export {
|
|
10
|
+
animations
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=animations.css.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/animations.css.ts"],
|
|
4
|
+
"sourcesContent": ["import { createAnimations } from '@tamagui/animations-css'\n\nexport const animations = createAnimations({\n bouncy: 'ease-in 200ms',\n lazy: 'ease-in 600ms',\n slow: 'ease-in 500ms',\n quick: 'ease-in 100ms',\n tooltip: 'ease-in 400ms',\n})\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,wBAAwB;AAE1B,MAAM,aAAa,iBAAiB;AAAA,EACzC,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,MAAM;AAAA,EACN,OAAO;AAAA,EACP,SAAS;AACX,CAAC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/esm/animations.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/animations.ts"],
|
|
4
|
-
"sourcesContent": ["import { createAnimations } from '@tamagui/animations-react-native'\n\nexport const animations = createAnimations({\n bouncy: {\n damping: 9,\n mass: 0.9,\n stiffness: 150,\n },\n lazy: {\n damping: 18,\n stiffness: 50,\n },\n slow: {\n damping: 15,\n stiffness: 40,\n },\n quick: {\n damping: 20,\n mass: 1.2,\n stiffness: 250,\n },\n tooltip: {\n damping: 10,\n mass: 0.9,\n stiffness: 100,\n },\n})\n"],
|
|
5
|
-
"mappings": "AAAA,SAAS,wBAAwB;AAE1B,MAAM,aAAa,iBAAiB;AAAA,EACzC,QAAQ;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,OAAO;AAAA,IACL,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,SAAS;AAAA,IACP,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AACF,CAAC;",
|
|
4
|
+
"sourcesContent": ["import { createAnimations } from '@tamagui/animations-react-native'\n\nexport const animations = createAnimations({\n '100ms': {\n type: 'timing',\n duration: 100,\n },\n bouncy: {\n damping: 9,\n mass: 0.9,\n stiffness: 150,\n },\n lazy: {\n damping: 18,\n stiffness: 50,\n },\n slow: {\n damping: 15,\n stiffness: 40,\n },\n quick: {\n damping: 20,\n mass: 1.2,\n stiffness: 250,\n },\n tooltip: {\n damping: 10,\n mass: 0.9,\n stiffness: 100,\n },\n})\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,wBAAwB;AAE1B,MAAM,aAAa,iBAAiB;AAAA,EACzC,SAAS;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,OAAO;AAAA,IACL,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,SAAS;AAAA,IACP,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AACF,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/config-base",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.23",
|
|
4
4
|
"types": "./types/index.d.ts",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -21,23 +21,24 @@
|
|
|
21
21
|
"exports": {
|
|
22
22
|
"./package.json": "./package.json",
|
|
23
23
|
".": {
|
|
24
|
+
"types": "./types/index.d.ts",
|
|
24
25
|
"import": "./dist/esm/index.js",
|
|
25
26
|
"require": "./dist/cjs/index.js"
|
|
26
27
|
}
|
|
27
28
|
},
|
|
28
29
|
"dependencies": {
|
|
29
|
-
"@tamagui/animations-css": "^1.0.
|
|
30
|
-
"@tamagui/animations-react-native": "^1.0.
|
|
31
|
-
"@tamagui/colors": "^1.0.
|
|
32
|
-
"@tamagui/core": "^1.0.
|
|
33
|
-
"@tamagui/font-inter": "^1.0.
|
|
34
|
-
"@tamagui/font-silkscreen": "^1.0.
|
|
35
|
-
"@tamagui/react-native-media-driver": "^1.0.
|
|
36
|
-
"@tamagui/shorthands": "^1.0.
|
|
37
|
-
"@tamagui/theme-base": "^1.0.
|
|
30
|
+
"@tamagui/animations-css": "^1.0.23",
|
|
31
|
+
"@tamagui/animations-react-native": "^1.0.23",
|
|
32
|
+
"@tamagui/colors": "^1.0.23",
|
|
33
|
+
"@tamagui/core": "^1.0.23",
|
|
34
|
+
"@tamagui/font-inter": "^1.0.23",
|
|
35
|
+
"@tamagui/font-silkscreen": "^1.0.23",
|
|
36
|
+
"@tamagui/react-native-media-driver": "^1.0.23",
|
|
37
|
+
"@tamagui/shorthands": "^1.0.23",
|
|
38
|
+
"@tamagui/theme-base": "^1.0.23"
|
|
38
39
|
},
|
|
39
40
|
"devDependencies": {
|
|
40
|
-
"@tamagui/build": "^1.0.
|
|
41
|
+
"@tamagui/build": "^1.0.23"
|
|
41
42
|
},
|
|
42
43
|
"publishConfig": {
|
|
43
44
|
"access": "public"
|
package/src/animations.ts
CHANGED