@motion-proto/live-tokens 0.89.1 → 0.89.2
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/CHANGELOG.md +15 -0
- package/package.json +1 -1
- package/src/testing-js/{chunk-YFNMYU54.js → chunk-GKO27NGN.js} +2 -2
- package/src/testing-js/{chunk-7VSUGI2C.js → chunk-SHBYZUPD.js} +2 -2
- package/src/testing-js/chunk-SHBYZUPD.js.map +1 -0
- package/src/testing-js/{chunk-U7OJE5DU.js → chunk-X6KHEVIG.js} +61 -30
- package/src/testing-js/chunk-X6KHEVIG.js.map +1 -0
- package/src/testing-js/component-behavior.contract.js +1 -1
- package/src/testing-js/component-editor.contract.js +2 -2
- package/src/testing-js/component-render.contract.js +69 -35
- package/src/testing-js/component-render.contract.js.map +1 -1
- package/src/testing-js/index.js +2 -2
- package/src/testing-js/page-compliance.contract.js +1 -1
- package/src/testing-js/vitest.js +2 -2
- package/src/testing-js/chunk-7VSUGI2C.js.map +0 -1
- package/src/testing-js/chunk-U7OJE5DU.js.map +0 -1
- /package/src/testing-js/{chunk-YFNMYU54.js.map → chunk-GKO27NGN.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.89.2 — Faster component tests
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- **`check-component --tests` runs faster.** The declared-paint check probes
|
|
8
|
+
each view's properties in one browser call, and the token-selector check
|
|
9
|
+
clicks through one selector per component and opens every other property's
|
|
10
|
+
dropdown in one call per view. Across the 29 shipped components the two
|
|
11
|
+
checks drop from 321s to 191s. They still fail on the same defects: a
|
|
12
|
+
wrong or missing part, a pseudo-element, an SVG paint, and a dropdown with
|
|
13
|
+
nothing to pick.
|
|
14
|
+
- **The npm publish waits for Verify.** A release push no longer runs the
|
|
15
|
+
unit tests and the live-editing suite twice. The publish workflow gates on
|
|
16
|
+
the Verify run for the tagged commit and runs only the packaging checks.
|
|
17
|
+
|
|
3
18
|
## 0.89.1 — Publish gate stops its dev server
|
|
4
19
|
|
|
5
20
|
### Fixed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CONTRACTS_MODULE_ENV
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SHBYZUPD.js";
|
|
4
4
|
|
|
5
5
|
// src/testing/vitest.ts
|
|
6
6
|
import path from "path";
|
|
@@ -54,4 +54,4 @@ function createVitestConfig(viteConfig, options = {}) {
|
|
|
54
54
|
export {
|
|
55
55
|
createVitestConfig
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=chunk-
|
|
57
|
+
//# sourceMappingURL=chunk-GKO27NGN.js.map
|
|
@@ -1395,7 +1395,7 @@ var inputContract = {
|
|
|
1395
1395
|
placeholder: { color: "--input-default-placeholder" }
|
|
1396
1396
|
}
|
|
1397
1397
|
},
|
|
1398
|
-
// `
|
|
1398
|
+
// `assertProperties` (here) drives a controlled pixel probe, so a
|
|
1399
1399
|
// unitless line-height round-trips fine. `assertPaintMap` (states, below)
|
|
1400
1400
|
// reads the real, already-resolved value through `normalize()`, which
|
|
1401
1401
|
// cannot recompute a unitless multiplier outside the field's own
|
|
@@ -3735,4 +3735,4 @@ export {
|
|
|
3735
3735
|
allContracts,
|
|
3736
3736
|
selectedContracts
|
|
3737
3737
|
};
|
|
3738
|
-
//# sourceMappingURL=chunk-
|
|
3738
|
+
//# sourceMappingURL=chunk-SHBYZUPD.js.map
|