ui-style-kit-css 2.5.0 → 2.6.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/CHANGELOG.md +29 -0
- package/README.md +84 -59
- package/dist/ui-style-kit.css +4089 -3591
- package/dist/ui-style-kit.min.css +3 -3
- package/dist/ui-style-kit.visual.css +4089 -3591
- package/dist/ui-style-kit.visual.min.css +3 -3
- package/dist/ui-style-kit.with-bridge.css +4089 -3591
- package/dist/ui-style-kit.with-bridge.min.css +3 -3
- package/dist/visual/art-deco.css +696 -339
- package/dist/visual/bauhaus.css +2 -2
- package/dist/visual/bento.css +2 -2
- package/dist/visual/brutalism.css +485 -170
- package/dist/visual/clay.css +2 -2
- package/dist/visual/cyberpunk.css +578 -263
- package/dist/visual/data-terminal.css +577 -262
- package/dist/visual/editorial-luxe.css +580 -265
- package/dist/visual/industrial-utility.css +644 -329
- package/dist/visual/maximalist.css +562 -247
- package/dist/visual/minimal-saas.css +511 -196
- package/dist/visual/neo-noir.css +2 -2
- package/dist/visual/neumorphism.css +534 -219
- package/dist/visual/organic-modern.css +2 -2
- package/dist/visual/paper-editorial.css +659 -344
- package/dist/visual/retro-glass.css +590 -275
- package/dist/visual/retrofuturism.css +539 -224
- package/dist/visual/tactile.css +552 -237
- package/dist/visual/technical-blueprint.css +618 -295
- package/dist/visual/y2k.css +521 -206
- package/docs/ART-DECO.md +2 -2
- package/docs/ECOSYSTEM.md +6 -6
- package/docs/PUBLISHING.md +7 -7
- package/docs/RELEASE-2.6.0.md +36 -0
- package/docs/STYLE-GUIDE.md +10 -0
- package/manifest.json +212 -179
- package/package.json +29 -1
- package/styles/art-deco.css +64 -1
- package/styles/bauhaus.css +8 -0
- package/styles/bento.css +10 -2
- package/styles/brutalism.css +8 -0
- package/styles/clay.css +11 -3
- package/styles/clean-defaults.css +295 -0
- package/styles/component-composition.css +829 -0
- package/styles/components.css +3 -3
- package/styles/cyberpunk.css +8 -0
- package/styles/data-terminal.css +8 -0
- package/styles/editorial-luxe.css +8 -0
- package/styles/industrial-utility.css +8 -0
- package/styles/interactive-surface-theme.css +23 -23
- package/styles/maximalist.css +8 -0
- package/styles/minimal-saas.css +8 -0
- package/styles/native-elements.css +7 -0
- package/styles/neo-noir.css +8 -0
- package/styles/neumorphism.css +8 -0
- package/styles/organic-modern.css +8 -0
- package/styles/paper-editorial.css +8 -0
- package/styles/retro-glass.css +8 -0
- package/styles/retrofuturism.css +8 -0
- package/styles/tactile.css +8 -0
- package/styles/technical-blueprint.css +16 -1
- package/styles/theme-colors.css +3 -0
- package/styles/y2k.css +8 -0
package/docs/ART-DECO.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Art Deco Element System
|
|
2
2
|
|
|
3
|
-
The Art Deco preset implements the retained light and dark **Art Deco UI Element System** boards using the canonical `deco-*` namespace. No public `ad-*` source aliases are introduced. All shared semantic components remain part of the unchanged `.
|
|
3
|
+
The Art Deco preset implements the retained light and dark **Art Deco UI Element System** boards using the canonical `deco-*` namespace. No public `ad-*` source aliases are introduced. All shared semantic components remain part of the unchanged `.usk-*` API.
|
|
4
4
|
|
|
5
5
|
## Loading And Palettes
|
|
6
6
|
|
|
@@ -77,4 +77,4 @@ Focused coverage lives in `tests/art-deco-template.test.js` and `tests/e2e/art-d
|
|
|
77
77
|
|
|
78
78
|
Full-demo Art Deco accessibility states are included in `tests/e2e/accessibility.spec.js`. Reference screenshots are written to the operating system's temporary `usk-art-deco-template` directory. Repository build, CSS lint, palette contrast, compatibility, ownership, and package checks remain the project's standard commands.
|
|
79
79
|
|
|
80
|
-
The semantic authored-hook test currently detects additional `.
|
|
80
|
+
The semantic authored-hook test currently detects additional `.usk-*` hooks in existing Retrofuturism source, independent of this Art Deco implementation. That source is not changed here. Generated declaration fingerprints and the distinct preset-extras count are updated for the intentional Art Deco expansion; no release, commit, push, or full CI run is implied.
|
package/docs/ECOSYSTEM.md
CHANGED
|
@@ -14,11 +14,11 @@ Before a UI branch or pull request is expected to validate, verify the reviewed
|
|
|
14
14
|
|
|
15
15
|
| Library | Current aligned version | Owns |
|
|
16
16
|
|---|---:|---|
|
|
17
|
-
| `ui-style-kit-css@2.
|
|
17
|
+
| `ui-style-kit-css@2.6.0` | current release | visual identity, color themes, UI paint, native HTML styling, content wrapping, and bridge tokens |
|
|
18
18
|
| `interactive-surface-css@1.7.3` | compatible state release | interaction-state primitives, surface behavior, state layers, and input affordances |
|
|
19
19
|
| `layout-style-css@3.2.3` | compatible structural release | structural wrappers, grids, sections, app shells, and layout recipes |
|
|
20
20
|
|
|
21
|
-
The current combination is `ui-style-kit-css@2.
|
|
21
|
+
The current combination is `ui-style-kit-css@2.6.0`, `interactive-surface-css@1.7.3`, and `layout-style-css@3.2.3`. UI Style Kit `2.6.0` is the current release; the companion versions are reviewed releases. Layout Style `3.2.3` is the compatible structural release. The validated minimum remains `ui-style-kit-css@2.1.0`, `interactive-surface-css@1.5.0`, and `layout-style-css@3.0.0`.
|
|
22
22
|
|
|
23
23
|
## Layout-to-visual pairing matrix
|
|
24
24
|
|
|
@@ -50,7 +50,7 @@ UI Style Kit can use the same portable path by loading `ui-style-kit-css/visual.
|
|
|
50
50
|
Use UI Style Kit by itself when an app needs visual identity, theme roles, native element styling, and long-text containment without layout primitives or richer interaction-state behavior.
|
|
51
51
|
|
|
52
52
|
```js
|
|
53
|
-
import "ui-style-kit-css/minimal-saas.css";
|
|
53
|
+
import "ui-style-kit-css/presets/minimal-saas.css";
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
### Use two
|
|
@@ -58,7 +58,7 @@ import "ui-style-kit-css/minimal-saas.css";
|
|
|
58
58
|
Pair UI Style Kit with Interactive Surface CSS when controls need the sibling interaction-state primitives. Import UI paint first, its public token bridge second, and the sibling state core third.
|
|
59
59
|
|
|
60
60
|
```js
|
|
61
|
-
import "ui-style-kit-css/
|
|
61
|
+
import "ui-style-kit-css/presets/minimal-saas.css";
|
|
62
62
|
import "ui-style-kit-css/interactive-surface-theme.css";
|
|
63
63
|
import "interactive-surface-css/state-core.css";
|
|
64
64
|
```
|
|
@@ -66,7 +66,7 @@ import "interactive-surface-css/state-core.css";
|
|
|
66
66
|
Pair UI Style Kit with Layout Style CSS when the app already has interaction behavior but needs structural wrappers, grids, and sections.
|
|
67
67
|
|
|
68
68
|
```js
|
|
69
|
-
import "ui-style-kit-css/
|
|
69
|
+
import "ui-style-kit-css/presets/minimal-saas.css";
|
|
70
70
|
import "layout-style-css";
|
|
71
71
|
```
|
|
72
72
|
|
|
@@ -87,7 +87,7 @@ import "layout-style-css";
|
|
|
87
87
|
- Interactive Surface CSS owns interaction-state semantics, input affordances, state layers, and surface behavior.
|
|
88
88
|
- Layout Style CSS owns structural wrappers, layout recipes, grids, app shells, and section composition.
|
|
89
89
|
|
|
90
|
-
The canonical theme bridge does not make Interactive Surface a dependency of UI Style Kit. It
|
|
90
|
+
The canonical theme bridge does not make Interactive Surface a dependency of UI Style Kit. It maps resolved `--usk-native-*` paint pairs and radius geometry to `--interactive-surface-*` tokens, falling back to shared `--usk-*` roles only when needed; this keeps reference palettes readable and preserves preset-specific clipped or squared controls when `data-theme` is omitted. `state-core.css` continues to own interaction mechanics. The older `interactive-surface-bridge` and `with-bridge` exports are deprecated compatibility paths whose stateful behavior remains unchanged.
|
|
91
91
|
|
|
92
92
|
## Canonical ownership order
|
|
93
93
|
|
package/docs/PUBLISHING.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Publishing Guide
|
|
2
2
|
|
|
3
|
-
## 2.
|
|
3
|
+
## 2.6.0 release workflow
|
|
4
4
|
|
|
5
|
-
The current checkout is a release candidate. [Release preparation notes](RELEASE-2.
|
|
5
|
+
The current checkout is a release candidate. [Release preparation notes](RELEASE-2.6.0.md)
|
|
6
6
|
record the current local scope and gates; existing visual-QA documents are historical
|
|
7
|
-
evidence, not proof that subsequent edits passed browser validation. The 2.
|
|
7
|
+
evidence, not proof that subsequent edits passed browser validation. The 2.6.0
|
|
8
8
|
changelog entry must carry the approved publication date before tagging.
|
|
9
9
|
|
|
10
10
|
Update the tracked `wiki/` sources with the README and docs. Publishing those pages
|
|
@@ -13,9 +13,9 @@ documentation generator is configured in this package; reusable JavaScript helpe
|
|
|
13
13
|
use JSDoc-compatible comments, and the checked-in build owns generated CSS, manifests,
|
|
14
14
|
icons, README size measurements, and demo asset hashes.
|
|
15
15
|
|
|
16
|
-
Prepare `ui-style-kit-css@2.
|
|
16
|
+
Prepare `ui-style-kit-css@2.6.0` on its release branch, open a pull request against `main`, and merge only after the fast automated gate is green and any requested manual demo review is complete. The aligned companion releases are `layout-style-css@3.2.3` and `interactive-surface-css@1.7.3`.
|
|
17
17
|
|
|
18
|
-
Do not push `v2.
|
|
18
|
+
Do not push `v2.6.0` before the reviewed release commit is on `main`. A pushed version tag runs Release Version Alignment, which validates the tag/package/changelog contract and creates the GitHub Release; publishing that release triggers the protected npm workflow.
|
|
19
19
|
|
|
20
20
|
Release Version Alignment owns the fast automated release gate: lint, build, unit checks, the tagged Chromium release-smoke Playwright suite, and packed ecosystem preflight with `--skip-clean-install`. The visual-baseline suite, full UI matrix, and clean-install ecosystem matrix are manual escalation tools, not default push or publish blockers. The protected npm workflow intentionally does not rerun browser gates; it revalidates the immutable tag, package contracts, browser-free compatibility checks, companion commit reachability, the explicit release preflight with `--skip-clean-install`, npm token presence, npm owner authorization, and registry state before publishing.
|
|
21
21
|
|
|
@@ -76,7 +76,7 @@ npm run check:ecosystem:packs -- --layout-repo ../Layout-Style-CSS --interactive
|
|
|
76
76
|
npm publish
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
-
`prepublishOnly` runs `npm run release:verify`, so a direct `npm publish` still has the default fast release gate. For GitHub releases, push or dispatch the matching package tag, such as `v2.
|
|
79
|
+
`prepublishOnly` runs `npm run release:verify`, so a direct `npm publish` still has the default fast release gate. For GitHub releases, push or dispatch the matching package tag, such as `v2.6.0`, only after the release PR is merged. The release workflows verify that `package.json`, `package-lock.json`, `CHANGELOG.md`, generated dist banners, and ecosystem pins are aligned before publishing. Dispatch the protected npm workflow from the current `main` workflow file when recovering publication for a release that has already passed Release Version Alignment.
|
|
80
80
|
|
|
81
81
|
The repository `NPM_TOKEN` secret must authenticate to npm as a user that appears in `npm owner ls ui-style-kit-css`. If the token belongs to another npm account or lacks package publish rights, npm may report a misleading registry `E404` at publish time.
|
|
82
82
|
|
|
@@ -88,4 +88,4 @@ npm run release:minor
|
|
|
88
88
|
npm run release:major
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
-
Use patch for compatible fixes, minor for new themes, presets, component capabilities, or browser-support contracts, and major for incompatible public API changes. Version `2.
|
|
91
|
+
Use patch for compatible fixes, minor for new themes, presets, component capabilities, or browser-support contracts, and major for incompatible public API changes. Version `2.6.0` is the current compatible candidate for self-contained preset delivery and the hardened semantic component API; future feature versioning continues to follow this policy.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# v2.6.0 release notes
|
|
2
|
+
|
|
3
|
+
UI Style Kit CSS 2.6.0 is a backward-compatible minor release that improves
|
|
4
|
+
component quality and makes every UI style available through a canonical,
|
|
5
|
+
self-contained preset import.
|
|
6
|
+
|
|
7
|
+
## Delivery contract
|
|
8
|
+
|
|
9
|
+
- Import `ui-style-kit-css` or `ui-style-kit-css/visual.css` when an application
|
|
10
|
+
needs all 20 styles and runtime `data-ui` switching.
|
|
11
|
+
- Import `ui-style-kit-css/presets/<name>.css` when an application needs one
|
|
12
|
+
style. Each generated preset file includes its shared foundations and contains
|
|
13
|
+
no unresolved CSS imports.
|
|
14
|
+
- Existing `visual/<name>.css`, raw preset, bridge, and v2 compatibility exports
|
|
15
|
+
remain available.
|
|
16
|
+
- Runtime selection continues to use `data-ui`; `data-theme` and `data-mode`
|
|
17
|
+
remain independent.
|
|
18
|
+
|
|
19
|
+
## Component and visual fixes
|
|
20
|
+
|
|
21
|
+
- Added clean spacing defaults plus explicit `.usk-flush` and `.usk-underline`; Technical Blueprint remains exempt so its measured, adjoining geometry is preserved
|
|
22
|
+
overrides.
|
|
23
|
+
- Kept decorative underlines opt-in while preserving semantic edit notation.
|
|
24
|
+
- Corrected reference-palette foreground and background pairs, including late
|
|
25
|
+
Bento and Clay contrast cases.
|
|
26
|
+
- Repaired semantic checkbox, radio, switch, avatar, chip, icon, and pagination
|
|
27
|
+
geometry without framework-specific CSS.
|
|
28
|
+
- Preserved preset-owned radius and clipped-corner identities through the
|
|
29
|
+
Interactive Surface bridge.
|
|
30
|
+
|
|
31
|
+
## Verification boundary
|
|
32
|
+
|
|
33
|
+
The release candidate requires focused public-export, manifest, package,
|
|
34
|
+
contrast, ownership, semantic-component, and browser checks before the final
|
|
35
|
+
release gate. Pull-request checks, the merge commit, GitHub Release, npm
|
|
36
|
+
publication, and registry availability are verified as separate stages.
|
package/docs/STYLE-GUIDE.md
CHANGED
|
@@ -32,6 +32,16 @@ without assigning a shared theme or changing geometry.
|
|
|
32
32
|
|
|
33
33
|
Use `data-mode="contrast"` for high-contrast variants and pair it with semantic HTML for best accessibility outcomes.
|
|
34
34
|
|
|
35
|
+
## Clean spacing and decoration defaults
|
|
36
|
+
|
|
37
|
+
Every element inside a themed UI root starts with a 2px margin and padding fallback unless a preset supplies a roomier value. Technical Blueprint is exempt because its measured drafting structures intentionally adjoin. Use `.usk-flush` (recommended) or `.flush` only for an intentionally edge-to-edge element in the remaining styles. Buttons and badges retain at least 2px of block padding and 4px of inline padding.
|
|
38
|
+
|
|
39
|
+
Links and component text are not underlined by default. Apply `.usk-underline` when an underline is deliberately part of the design. Semantic edit notation remains available through native `u`, `ins`, `del`, and `s` elements.
|
|
40
|
+
|
|
41
|
+
Semantic choice wrappers expose one visual affordance. Their native checkbox or radio remains focusable and form-associated, while `.usk-check-control`, `.usk-radio-control`, or `.usk-switch-track` owns the visible, vertically centered geometry. The wrapper supplies its own inset so the affordance never touches the painted edge. Do not reveal both surfaces with a local override.
|
|
42
|
+
|
|
43
|
+
Mark reusable SVG artwork with `data-ui-icon`. The library supplies `1em` square geometry, block alignment, and visible overflow so React, Vue, and plain-HTML consumers do not need framework-specific icon CSS. Nested chip remove controls remain 24px square with a 12px glyph. Use `data-pagination-kind="page"` for compact number controls and `data-pagination-kind="direction"` for the larger Previous and Next bookends.
|
|
44
|
+
|
|
35
45
|
## Preset identity and component roles
|
|
36
46
|
|
|
37
47
|
UI presets own geometry, material, spacing, depth, and typographic character. Color schemes own semantic color roles. A preset should therefore remain recognizable when its `data-theme` changes, while every component continues to consume the active theme tokens instead of fixed artwork colors.
|