Skip to content

Commit 62e79fe

Browse files
author
Foscat
committed
test: consume published UI 2.1 fixture
1 parent a63be3c commit 62e79fe

9 files changed

Lines changed: 25 additions & 17 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Container-first, dependency-free structural CSS for responsive application layou
1010
- Current evergreen Chromium, Firefox, or WebKit for consumers
1111
- No runtime or peer dependencies
1212

13-
`ui-style-kit-css@2.1.0` is a staged development fixture resolved from the pushed `2.1.0` GitHub branch until 2.1.0 is approved and published. Interactive Surface 1.5.0 is the released registry fixture. Neither package is installed for consumers.
13+
`ui-style-kit-css@2.1.0` and `interactive-surface-css@1.5.0` are released registry fixtures for optional ecosystem verification. Neither package is installed for consumers.
1414

1515
## Install
1616

docs/wiki/Home.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Version 2.1.0 is a container-first, dependency-free layout library. It ships sem
2222

2323
Layout Style CSS owns spatial behavior: containment, wrappers, flow, grids, areas, spans, sizing, and responsive arrangement. UI Style Kit owns visual paint. Interactive Surface owns interaction-state styling.
2424

25-
The package has no runtime or peer dependencies. `ui-style-kit-css@2.1.0` is a staged development fixture used to prove optional integration until its approved 2.1.0 publication. Interactive Surface 1.5.0 is the released registry fixture.
25+
The package has no runtime or peer dependencies. `ui-style-kit-css@2.1.0` and `interactive-surface-css@1.5.0` are released registry fixtures used to prove optional integration.
2626

2727
## Supported Baseline
2828

docs/wiki/Installation-And-CDN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ import "interactive-surface-css/state-core.css";
5050
import "layout-style-css";
5151
```
5252

53-
The first import block is deprecated compatibility for legacy UI-prefixed structural aliases. Canonical 2.1 imports use `ui-style-kit-css@2.1.0` visual CSS, `ui-style-kit-css/interactive-surface-theme.css`, `interactive-surface-css@1.5.0` state core, and Layout core. UI Style Kit is a staged local fixture until its approved 2.1.0 publication; Interactive Surface 1.5.0 is released.
53+
The first import block is deprecated compatibility for legacy UI-prefixed structural aliases. Canonical 2.1 imports use the released `ui-style-kit-css@2.1.0` visual CSS, `ui-style-kit-css/interactive-surface-theme.css`, released `interactive-surface-css@1.5.0` state core, and Layout core.
5454

5555
## CDN
5656

docs/wiki/Migrating-To-2.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Version 2.0 rebuilds Layout Style CSS as a container-first, dependency-free stru
66

77
- Development and release scripts require Node.js 20 or newer.
88
- The package has no runtime dependencies and no peer dependencies.
9-
- `ui-style-kit-css@2.1.0` is a staged development fixture and `interactive-surface-css@1.5.0` is the released registry fixture; neither is a consumer dependency.
9+
- `ui-style-kit-css@2.1.0` and `interactive-surface-css@1.5.0` are released registry fixtures; neither is a consumer dependency.
1010
- Current evergreen Chromium, Firefox, and WebKit are supported.
1111
- Responsive recipes use core thresholds at `48rem` and `64rem`; personalities may add personality-specific thresholds.
1212

docs/wiki/UI-Style-Kit-Compatibility.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# UI Style Kit Compatibility
22

3-
Layout Style CSS is dependency-free. `ui-style-kit-css@2.1.0` is the visual fixture for 2.1 ecosystem verification; it is resolved from the pushed staged `2.1.0` GitHub branch until its approved publication and is not a runtime or peer dependency.
3+
Layout Style CSS is dependency-free. `ui-style-kit-css@2.1.0` is the released visual fixture for 2.1 ecosystem verification and is not a runtime or peer dependency.
44

55
## Ownership Boundary
66

@@ -43,7 +43,7 @@ The removed v1 `.ly-surface--raised` selector is not restored by `legacy.css`; i
4343
| Library | Verified fixture | Consumer requirement |
4444
| --- | --- | --- |
4545
| Layout Style CSS | `2.1.0` | Required for this API |
46-
| UI Style Kit CSS | `2.1.0` visual CSS and manifest | Optional staged fixture |
46+
| UI Style Kit CSS | `2.1.0` visual CSS and manifest | Optional released fixture |
4747
| Interactive Surface CSS | `1.5.0` `state-core.css` | Optional released fixture |
4848

4949
Current evergreen Chromium, Firefox, and WebKit are covered by the release gate.

package-lock.json

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@playwright/test": "1.61.1",
5757
"interactive-surface-css": "1.5.0",
5858
"stylelint": "17.14.0",
59-
"ui-style-kit-css": "git+https://github.com/Foscat/ui-style-kit-css.git#2.1.0"
59+
"ui-style-kit-css": "2.1.0"
6060
},
6161
"exports": {
6262
".": "./dist/layout-style-css.css",

test/layout-css-contract.test.mjs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -602,8 +602,9 @@ function isLocalMarkdownLink(link) {
602602
const packageJson = JSON.parse(readFileSync(join(root, "package.json"), "utf8"));
603603
const packageLock = JSON.parse(readFileSync(join(root, "package-lock.json"), "utf8"));
604604
const lockRoot = packageLock.packages[""];
605-
const uiKitFixtureSpec = "git+https://github.com/Foscat/ui-style-kit-css.git#2.1.0";
606-
const uiKitFixtureCommit = "5957e90858912d4a86a452fbdbf482cd7bb367a5";
605+
const uiKitFixtureSpec = "2.1.0";
606+
const uiKitFixtureTarball =
607+
"https://registry.npmjs.org/ui-style-kit-css/-/ui-style-kit-css-2.1.0.tgz";
607608
const uiKitFixturePackage = JSON.parse(
608609
readFileSync(join(root, "node_modules", "ui-style-kit-css", "package.json"), "utf8")
609610
);
@@ -1237,11 +1238,11 @@ assert.equal(lockRoot.peerDependencies, undefined);
12371238
assert.equal(lockRoot.peerDependenciesMeta, undefined);
12381239
assert.equal(lockRoot.devDependencies["ui-style-kit-css"], uiKitFixtureSpec);
12391240
assert.equal(lockRoot.devDependencies["interactive-surface-css"], "1.5.0");
1240-
assert.equal(uiKitFixturePackage.version, "2.1.0", "UI Style Kit fixture must be the staged 2.1.0 line");
1241+
assert.equal(uiKitFixturePackage.version, "2.1.0", "UI Style Kit fixture must be the released 2.1.0 line");
12411242
assert.equal(
12421243
packageLock.packages["node_modules/ui-style-kit-css"].resolved,
1243-
`git+https://github.com/Foscat/ui-style-kit-css.git#${uiKitFixtureCommit}`,
1244-
"Lockfile must resolve the pushed staged UI Style Kit fixture until 2.1.0 is published"
1244+
uiKitFixtureTarball,
1245+
"Lockfile must resolve the released UI Style Kit fixture from the npm registry"
12451246
);
12461247
assert.equal(
12471248
packageLock.packages["node_modules/interactive-surface-css"].version,

test/release-docs-contract.test.mjs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,11 @@ for (const staleGuidance of [
9292
'import "layout-style-css/bridge.css";',
9393
'import "interactive-surface-css/interactive-surface.css";',
9494
'import "ui-style-kit-css/with-bridge.css";',
95-
"layout-style-css@1.1.2"
95+
"layout-style-css@1.1.2",
96+
"staged development fixture",
97+
"staged local fixture",
98+
"pushed staged",
99+
"approved 2.1.0 publication"
96100
]) {
97101
assert(
98102
!currentGuidanceCorpus.includes(staleGuidance),
@@ -151,8 +155,10 @@ assert.doesNotMatch(
151155
"Current docs must not classify the released Interactive Surface 1.5.0 package as a development fixture"
152156
);
153157
assert(
154-
currentGuidanceCorpus.includes("Interactive Surface 1.5.0 is the released registry fixture"),
155-
"Current docs must identify Interactive Surface 1.5.0 as the released registry fixture"
158+
currentGuidanceCorpus.includes(
159+
"`ui-style-kit-css@2.1.0` and `interactive-surface-css@1.5.0` are released registry fixtures"
160+
),
161+
"Current docs must identify UI Style Kit 2.1.0 and Interactive Surface 1.5.0 as released registry fixtures"
156162
);
157163
assert(
158164
recipesGuide.includes("complete recipe API") && recipesGuide.includes("only `data-ly-recipe"),

0 commit comments

Comments
 (0)