@decantr/css 3.1.0 → 3.8.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/README.md +5 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# @decantr/css
|
|
2
2
|
|
|
3
|
-
Support status: `
|
|
3
|
+
Support status: `supported-secondary`
|
|
4
4
|
Release channel: `stable`
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
Legacy optional CSS atoms runtime for Decantr projects that explicitly adopt the Decantr CSS adapter.
|
|
7
|
+
|
|
8
|
+
Decantr 3.8 defaults to contract-only governance. New greenfield and Brownfield projects should not install `@decantr/css` unless `--adoption=decantr-css` is explicit or an existing project already depends on this runtime.
|
|
7
9
|
|
|
8
10
|
## Installation
|
|
9
11
|
|
|
@@ -119,7 +121,7 @@ Mobile-first breakpoints: `_sm:` (640px), `_md:` (768px), `_lg:` (1024px), `_xl:
|
|
|
119
121
|
|
|
120
122
|
## Integration with Decantr
|
|
121
123
|
|
|
122
|
-
When you scaffold a project with `@decantr/cli`, it generates:
|
|
124
|
+
When you explicitly scaffold a project with `@decantr/cli --adoption=decantr-css`, it generates:
|
|
123
125
|
|
|
124
126
|
- `src/styles/tokens.css` - Theme tokens (colors, spacing, radii)
|
|
125
127
|
- `src/styles/treatments.css` - Visual treatment classes (interactive, surface, data, control, section, annotation)
|
package/dist/index.js
CHANGED
|
@@ -1498,7 +1498,7 @@ var ARB_PROPS = {
|
|
|
1498
1498
|
// runtime didn't resolve; same class of silent-failure applies when
|
|
1499
1499
|
// pattern JSONs use prefixes not in this map. These additions cover
|
|
1500
1500
|
// every bracket prefix observed across the 209 archetype + 80+ pattern
|
|
1501
|
-
// JSONs in decantr
|
|
1501
|
+
// JSONs in @decantr/content.
|
|
1502
1502
|
overflow: "overflow",
|
|
1503
1503
|
pointer: "pointer-events",
|
|
1504
1504
|
text: "text-align",
|