@mkbabb/keyframes.js 5.3.5 → 6.1.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mkbabb/keyframes.js",
3
- "version": "5.3.5",
3
+ "version": "6.1.0",
4
4
  "description": "Create keyframe animations for anything in JavaScript; specify your keyframes in standards-complaint CSS.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -34,20 +34,23 @@
34
34
  ],
35
35
  "scripts": {
36
36
  "prepare": "npm run build:lib",
37
- "check": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
37
+ "check": "vue-tsc --noEmit -p tsconfig.json && vue-tsc --noEmit -p tsconfig.test.json && npm run proof:structure",
38
38
  "check:lib": "tsc --noEmit -p tsconfig.lib.json",
39
39
  "dev": "vite",
40
40
  "build": "npm run build:lib",
41
41
  "build:lib": "vite build --mode production",
42
42
  "build:watch": "vite build --watch --mode production",
43
43
  "gh-pages": "vite build --mode gh-pages",
44
- "lint": "depcruise src",
44
+ "lint": "depcruise --config .dependency-cruiser.cjs src demo && eslint demo",
45
45
  "test": "vitest",
46
+ "test:lib": "vitest run --project library",
47
+ "test:demo": "vitest run --project demo",
46
48
  "bench": "vitest bench",
47
49
  "bench:color-fidelity": "vitest run test/engine/color-fidelity.test.ts && node scripts/color-fidelity-harness.mjs",
48
50
  "gen:agent-surface": "node scripts/gen-agent-surface.mjs",
51
+ "proof:structure": "node scripts/gates/structure/index.mjs",
49
52
  "proof:publish": "node scripts/gates/surface/index.mjs",
50
- "proof:owner-golden": "node scripts/gates/visual/index.mjs",
53
+ "review:owner-golden": "node scripts/gates/visual/index.mjs",
51
54
  "demo:correctness": "node scripts/run-demo-roster.mjs",
52
55
  "audit:lighthouse": "node scripts/observe/lighthouse.mjs",
53
56
  "release:changelog": "node scripts/release/changelog.mjs"
@@ -65,31 +68,30 @@
65
68
  },
66
69
  "homepage": "https://github.com/mkbabb/keyframes.js#readme",
67
70
  "dependencies": {
68
- "@mkbabb/value.js": "^3.1.0"
69
- },
70
- "optionalDependencies": {
71
- "@mkbabb/glass-ui": "6.0.0"
71
+ "@mkbabb/value.js": "4.1.0"
72
72
  },
73
73
  "devDependencies": {
74
74
  "@iconify-json/radix-icons": "^1.2.6",
75
75
  "@iconify/vue": "^5.0.1",
76
76
  "@lucide/vue": "^1.17.0",
77
77
  "@microsoft/api-extractor": "^7.58.7",
78
+ "@mkbabb/glass-ui": "10.1.3",
78
79
  "@tailwindcss/postcss": "^4.3.0",
79
80
  "@types/node": "^22.20.0",
80
81
  "@types/three": "^0.184.1",
82
+ "@typescript-eslint/parser": "^8.70.0",
81
83
  "@vitejs/plugin-vue": "^6.0.7",
84
+ "@vue/test-utils": "^2.5.1",
82
85
  "@vueuse/core": "^14.3.0",
83
86
  "class-variance-authority": "^0.7.1",
84
87
  "clsx": "^2.1.1",
85
88
  "dependency-cruiser": "^18.0.0",
89
+ "eslint": "^10.10.0",
90
+ "eslint-plugin-vue": "^10.11.0",
86
91
  "fast-check": "^4.8.0",
87
92
  "gl-matrix": "^3.4.4",
88
- "highlight.js": "^11.11.1",
89
- "html2canvas": "^1.4.1",
90
93
  "jsdom": "^29.1.1",
91
94
  "monaco-editor": "^0.55.1",
92
- "monaco-themes": "^0.4.8",
93
95
  "pixelmatch": "^7.2.0",
94
96
  "pngjs": "^7.0.0",
95
97
  "prettier": "^3.8.3",
@@ -109,8 +111,9 @@
109
111
  "vite-svg-loader": "^5.1.0",
110
112
  "vitest": "^4.1.8",
111
113
  "vue": "^3.5.35",
114
+ "vue-eslint-parser": "^10.4.1",
112
115
  "vue-router": "^5.1.0",
113
- "vue-sonner": "^2.0.9",
116
+ "vue-tsc": "^3.3.11",
114
117
  "yaml": "^2.9.0"
115
118
  }
116
119
  }
@@ -1,2 +0,0 @@
1
- import { t as e } from "./easing-registry-BlbS88NR.js";
2
- export { e as getTimingFunction };
@@ -1,27 +0,0 @@
1
- import { CSSCubicBezier as e, cssLinear as t, parseLinearStops as n, parseSteps as r, steppedEase as i, timingFunctions as a } from "@mkbabb/value.js/easing";
2
- //#region src/animation/compile/easing/easing-registry.ts
3
- var o = /^\s*cubic-bezier\s*\(\s*(-?[\d.]+)\s*,\s*(-?[\d.]+)\s*,\s*(-?[\d.]+)\s*,\s*(-?[\d.]+)\s*\)\s*$/i, s = /^\s*steps\s*\(/i, c = /^\s*linear\s*\(/i, l = (l) => {
4
- if (l == null) return;
5
- if (typeof l != "string") return l;
6
- let u = l.match(o);
7
- if (u) {
8
- let t = u.slice(1, 5).map((e) => Number.parseFloat(e ?? ""));
9
- if (t.length === 4 && t.every((e) => Number.isFinite(e))) {
10
- let [n, r, i, a] = t;
11
- return e(n, r, i, a);
12
- }
13
- }
14
- if (s.test(l)) try {
15
- let { count: e, jumpTerm: t } = r(l);
16
- return i(e, t);
17
- } catch {}
18
- if (l === "step-start") return i(1, "jump-start");
19
- if (l === "step-end") return i(1, "jump-end");
20
- if (c.test(l)) try {
21
- return t(n(l));
22
- } catch {}
23
- let d = a[l];
24
- if (typeof d == "function" && d.length <= 1) return d;
25
- };
26
- //#endregion
27
- export { l as t };