@exxatdesignux/ui 0.5.12 → 0.5.13
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 +19 -0
- package/package.json +1 -2
- package/template-vite/.cursor/rules/exxat-library-hub-header.mdc +1 -1
- package/template-vite/.cursor/rules/exxat-nav-single-active.mdc +2 -2
- package/template-vite/components/exxat-product-logo.tsx +3 -3
- package/template-vite/src/styles/globals.css +10 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- **The `sync-template-from-web.mjs` script and its publish-time workflow step are removed.** 0.5.12 retired the legacy `packages/ui/template/` (Next.js scaffold) by dropping it from `package.json#files` but kept the script that regenerated it on every publish "as a known-shaped reference". A second look confirmed the regeneration was producing a folder nothing reads — `package.json#files` excludes it, `bin/init.mjs` reads `template-vite/` only, and `npm pack --dry-run` for 0.5.12 reported 0 `template/` files in the artifact. So this release deletes the dead pipeline outright.
|
|
8
|
+
- **`packages/ui/scripts/sync-template-from-web.mjs`** — removed (~7 KB script).
|
|
9
|
+
- **`packages/ui/package.json`** — drops the `sync-template` script and the `prepack` chain entry that ran it on every publish. `prepack` is now `node ./scripts/vendor-consumer-extras.mjs && tsup` (extras still regenerated, dist still built).
|
|
10
|
+
- **`.github/workflows/publish-ui.yml`** — drops the "Sync npm starter template from apps/web" step. Shaves ~10 s off every publish run.
|
|
11
|
+
- **Why this is safe:** the rule + skill propagation that customers actually consume is unchanged. `vendor:consumer-extras` regenerates `consumer-extras/cursor-rules/` from workspace `.cursor/rules/` on every publish, and `bin/init.mjs` runs `sync-extras.mjs` after copying `template-vite/` so a freshly-scaffolded customer repo gets the canonical workspace rules within seconds — overwriting whatever lived in `template-vite/.cursor/rules/`. The retired script never touched that pipeline.
|
|
12
|
+
- **Stale path references the 0.5.12 release commit message claimed to fix but didn't.** Sweep done in this release:
|
|
13
|
+
- **`template-vite/.cursor/rules/exxat-nav-single-active.mdc`** — Reference paths cited `packages/ui/template/components/sidebar/...`; now `template-vite/components/sidebar/...`.
|
|
14
|
+
- **`template-vite/.cursor/rules/exxat-library-hub-header.mdc`** — `globs:` cited `packages/ui/template/components/library-*.tsx`; now `template-vite/components/library-*.tsx`.
|
|
15
|
+
- **`template-vite/src/styles/globals.css`** — header comment described the now-retired `sync-template-from-web` rewrite; rewritten to state the actual hand-maintained `@source` path and explain why `apps/web` and `template-vite/` use different relative paths.
|
|
16
|
+
- **`template-vite/components/exxat-product-logo.tsx`** + the `apps/web/` mirror — the "Reference paths" comment pointed at a deleted file in the legacy `template/`; reworded as a historical reference without a path.
|
|
17
|
+
- **`apps/web/docs/token-taxonomy.md`** — three occurrences of `apps/web/app/globals.css` / `template/app/globals.css` updated to the post-PR-6 paths (`apps/web/src/styles/globals.css` / `template-vite/src/styles/globals.css`).
|
|
18
|
+
- **`apps/web/docs/migrations/_template.md`** — the migration-author search-paths checklist pointed at the legacy folder.
|
|
19
|
+
- **`apps/web/docs/migrations/0003-globals-css-canonical.md`** — the historical paragraph claiming "the `sync-template-from-web.mjs` script already does this rewrite" reframed as legacy now that the automation is gone.
|
|
20
|
+
- **Consumer-visible impact:** only customers scaffolding with `--no-extras` see corrected `template-vite/.cursor/rules/` paths in their fresh repo. The default scaffold flow (which runs `sync-extras.mjs` automatically) was already getting canonical rules from `consumer-extras/cursor-rules/` on 0.5.12 — that path is unchanged. Every component, hook, token, and CSS export is identical to 0.5.12.
|
|
21
|
+
|
|
3
22
|
## 0.5.12
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exxatdesignux/ui",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.13",
|
|
4
4
|
"description": "Exxat shared design system (components, hooks, tokens). Monorepo setup: clone repo then pnpm bootstrap at workspace root — see github.com/ExxatDesign/Exxat-DS-Workspace README.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "Exxat Design",
|
|
@@ -155,7 +155,6 @@
|
|
|
155
155
|
"lint": "eslint src/",
|
|
156
156
|
"test": "vitest run",
|
|
157
157
|
"test:watch": "vitest",
|
|
158
|
-
"sync-template": "node ./scripts/sync-template-from-web.mjs",
|
|
159
158
|
"vendor:consumer-extras": "node ./scripts/vendor-consumer-extras.mjs",
|
|
160
159
|
"tokens:index": "node ./scripts/build-tokens-index.mjs",
|
|
161
160
|
"tokens:check": "node ./scripts/build-tokens-index.mjs --check"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Library library — folder-scoped hub header More menu must expose Customize folder; sheet on hub client
|
|
3
|
-
globs: apps/web/components/library-*.tsx, packages/ui/template/components/library-*.tsx
|
|
3
|
+
globs: apps/web/components/library-*.tsx, packages/ui/template-vite/components/library-*.tsx
|
|
4
4
|
alwaysApply: false
|
|
5
5
|
appliesTo: [react]
|
|
6
6
|
---
|
|
@@ -28,5 +28,5 @@ Only **one** primary sidebar row, collapsible child, or secondary-panel link may
|
|
|
28
28
|
## Reference
|
|
29
29
|
|
|
30
30
|
- `packages/ui/src/lib/nav-active.ts`
|
|
31
|
-
- `packages/ui/template/components/sidebar/app-sidebar.tsx`
|
|
32
|
-
- `packages/ui/template/components/sidebar/secondary-nav.tsx`
|
|
31
|
+
- `packages/ui/template-vite/components/sidebar/app-sidebar.tsx`
|
|
32
|
+
- `packages/ui/template-vite/components/sidebar/secondary-nav.tsx`
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
* removes both classes of issue.
|
|
22
22
|
*
|
|
23
23
|
* **Reference paths:** the mark + "Exxat" path data is the same `d=…` source
|
|
24
|
-
* used by the
|
|
25
|
-
*
|
|
26
|
-
*
|
|
24
|
+
* used by the historical `ExxatOneLogo` (the pre-text-route baseline). Only
|
|
25
|
+
* the gradient colours are pulled from the brand registry so new brands
|
|
26
|
+
* recolour the mark.
|
|
27
27
|
*/
|
|
28
28
|
|
|
29
29
|
import * as React from "react"
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
/* ==========================================================================
|
|
2
|
-
EXXAT DESIGN SYSTEM —
|
|
2
|
+
EXXAT DESIGN SYSTEM — create-exxat-app starter globals.css
|
|
3
3
|
------------------------------------------------------------------
|
|
4
|
-
Canonical theme tokens, custom variants, and base-layer styles
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
Canonical theme tokens, custom variants, and base-layer styles live
|
|
5
|
+
in `@exxatdesignux/ui/globals.css`. Edits should land there (the
|
|
6
|
+
package CSS is the source of truth); this file only declares the
|
|
7
|
+
Tailwind `@source` directives so the consumer's own utility usage
|
|
8
|
+
under `components/`, `hooks/`, `lib/`, `src/` is also picked up.
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
the
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
The `@source` below points at `../../node_modules/@exxatdesignux/ui/src`
|
|
11
|
+
— the consumer-relative path. The workspace reference app
|
|
12
|
+
(`apps/web/src/styles/globals.css`) uses a sibling `../../../../packages/ui/src`
|
|
13
|
+
path instead so monorepo dev picks up new utilities without a rebuild.
|
|
13
14
|
|
|
14
15
|
Standard: WCAG 2.1 Level AA
|
|
15
16
|
========================================================================== */
|