@nurix/etna 0.19.4 → 0.19.5
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/data/harness-index.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: design
|
|
3
|
-
description: Design, build, review, polish,
|
|
3
|
+
description: 'Design, build, review, polish, judge, or introspect internal operator UIs — CRMs, ticket queues, admin panels, dashboards, log viewers, command centers — as React + Tailwind from design.tokens.json. Also "does this look right" and "why does this feel off". Not marketing or mobile-native.'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# design
|
|
@@ -266,7 +266,7 @@ radius scale. Two cascade contracts keep the personality in charge; both are har
|
|
|
266
266
|
emitted in-CSS comments below, enforced by the code-and-token rules (`cod-*`) in
|
|
267
267
|
[hard-rules.md](./hard-rules.md), and verified **rendered** by the render rung's per-theme drift
|
|
268
268
|
check (cod-15). Measured at `@nurix/components@0.14.0`, the library directly consumes 15 of the 17
|
|
269
|
-
|
|
269
|
+
shadcn-standard semantic color roles but only one personality primitive (`--radius`) — everything else reaches
|
|
270
270
|
it through the consumer Tailwind build this file feeds (shadows, weights, tracking, and the density
|
|
271
271
|
remap below).
|
|
272
272
|
|
|
@@ -288,12 +288,12 @@ remap below).
|
|
|
288
288
|
*The exact loss mode:* a bare `:root { --background: … }` is specificity `(0,1,0)` — the library's
|
|
289
289
|
own `:root { --background: … }` is also `(0,1,0)` and imported *later*, so it wins by source order
|
|
290
290
|
and every surface silently reverts to shadcn gray. A lone `[data-theme="dark"]` attribute selector
|
|
291
|
-
is the same `(0,1,0)` and loses the same way —
|
|
292
|
-
|
|
291
|
+
is the same `(0,1,0)` and loses the same way — and it ships while every static gate stays green,
|
|
292
|
+
because no static check sees the cascade. The `:root[data-theme="…"]` arm
|
|
293
293
|
is `(0,2,0)` and out-wins — but only if `<html>` actually carries the attribute; scaffold writes it
|
|
294
294
|
from the payload's `theme-default`, and the render rung's cod-15 measures the rendered
|
|
295
295
|
`--background`/`--foreground`/`--primary` per declared theme context against the authored values,
|
|
296
|
-
so a cascade-dead theme block
|
|
296
|
+
so a cascade-dead theme block cannot pass.
|
|
297
297
|
|
|
298
298
|
**CASCADE CONTRACT 2 — the five-step import order.** The emitted `globals.css` opens:
|
|
299
299
|
|
|
@@ -419,7 +419,7 @@ on upgrades). This is user-owned upstream work — never patched with brittle pe
|
|
|
419
419
|
color props: scaffold's `src/lib/chart-colors.ts` wires `var(--chart-1..5)` through the series
|
|
420
420
|
props and the status roles (`--success`/`--warning`/`--destructive` + the accent/muted homes for
|
|
421
421
|
info/empty) through the BarGraph map, so charts inherit the theme today. Chart *chrome*
|
|
422
|
-
(gridlines, axis labels) stays hardcoded — a substrate limit, filed, never a
|
|
422
|
+
(gridlines, axis labels) stays hardcoded — a substrate limit, filed, never a skill defect.
|
|
423
423
|
- **Motion & icon stroke** — JS motion durations and icon `strokeWidth` numbers; `--duration-*` and
|
|
424
424
|
`--icon-stroke` reach consumer-emitted markup but not library internals. The density dial also
|
|
425
425
|
no-ops inside library tables (`h-8` row height).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nurix/etna",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.5",
|
|
4
4
|
"description": "Bootstrap a project with a Nurix harness — copies the harness's CLAUDE.md, skills, agents, rules, and hooks directly into the project from a bundled payload (no marketplace fetch, no network).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|