basalt-ui 1.20.0 → 1.22.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.
Files changed (89) hide show
  1. package/AGENTS.md +11 -5
  2. package/CHANGELOG.md +33 -0
  3. package/MIGRATING.md +231 -50
  4. package/README.md +57 -10
  5. package/agent/rules/basalt-app.md +49 -2
  6. package/agent/rules/basalt-charts.md +15 -12
  7. package/agent/rules/basalt-content.md +4 -0
  8. package/agent/rules/basalt-router.md +57 -5
  9. package/agent/rules/basalt-state.md +21 -3
  10. package/agent/rules/basalt-tokens.md +78 -16
  11. package/agent/skills/basalt-app/SKILL.md +5 -1
  12. package/agent/skills/basalt-charts/SKILL.md +5 -3
  13. package/agent/templates/CLAUDE-block.md.tpl +11 -5
  14. package/configs/lefthook.yml +48 -15
  15. package/configs/oxlint-plugin.js +218 -69
  16. package/configs/oxlint-plugin.test.ts +331 -9
  17. package/dist/charts/kinds/Bars.d.ts +1 -1
  18. package/dist/charts/kinds/Bars.d.ts.map +1 -1
  19. package/dist/charts/kinds/Donut.d.ts +1 -1
  20. package/dist/charts/kinds/Donut.d.ts.map +1 -1
  21. package/dist/charts/kinds/DualPanel.d.ts +1 -1
  22. package/dist/charts/kinds/DualPanel.d.ts.map +1 -1
  23. package/dist/charts/kinds/Heatmap.d.ts +1 -1
  24. package/dist/charts/kinds/Heatmap.d.ts.map +1 -1
  25. package/dist/charts/kinds/MultiLine.d.ts +1 -1
  26. package/dist/charts/kinds/MultiLine.d.ts.map +1 -1
  27. package/dist/charts/kinds/StackedArea.d.ts +1 -1
  28. package/dist/charts/kinds/StackedArea.d.ts.map +1 -1
  29. package/dist/charts/kinds/ZonedLine.d.ts +1 -1
  30. package/dist/charts/kinds/ZonedLine.d.ts.map +1 -1
  31. package/dist/cli/index.d.ts +55 -15
  32. package/dist/cli/index.d.ts.map +1 -1
  33. package/dist/cli/index.js +521 -71
  34. package/dist/cli/waiver-audit.test.d.ts +2 -0
  35. package/dist/cli/waiver-audit.test.d.ts.map +1 -0
  36. package/dist/guard/index.d.ts +114 -2
  37. package/dist/guard/index.d.ts.map +1 -1
  38. package/dist/guard/index.js +216 -33
  39. package/dist/router-tanstack/multi-search-param-store.d.ts +13 -0
  40. package/dist/router-tanstack/multi-search-param-store.d.ts.map +1 -1
  41. package/dist/router-tanstack/multi-search-param-store.js +4 -1
  42. package/dist/router-tanstack/search-param-store.d.ts +29 -5
  43. package/dist/router-tanstack/search-param-store.d.ts.map +1 -1
  44. package/dist/router-tanstack/search-param-store.js +31 -3
  45. package/dist/router-tanstack/search-param-store.test.d.ts +2 -0
  46. package/dist/router-tanstack/search-param-store.test.d.ts.map +1 -0
  47. package/dist/shell/index.d.ts +12 -5
  48. package/dist/shell/index.d.ts.map +1 -1
  49. package/dist/shell/index.js +24 -6
  50. package/dist/tokens/index.d.ts +3 -1
  51. package/dist/tokens/index.d.ts.map +1 -1
  52. package/dist/tokens/index.js +5 -1
  53. package/dist/tokens/palette.d.ts +2 -2
  54. package/dist/tokens/palette.js +2 -2
  55. package/dist/tokens/text-scale.test.d.ts +2 -0
  56. package/dist/tokens/text-scale.test.d.ts.map +1 -0
  57. package/dist/tokens.css +4 -2
  58. package/dist/vite.d.ts +28 -3
  59. package/dist/vite.d.ts.map +1 -1
  60. package/dist/vite.js +75 -26
  61. package/llms.txt +2 -2
  62. package/package.json +1 -1
  63. package/src/charts/kinds/Bars.tsx +1 -1
  64. package/src/charts/kinds/Donut.tsx +1 -1
  65. package/src/charts/kinds/DualPanel.tsx +2 -2
  66. package/src/charts/kinds/Heatmap.tsx +1 -1
  67. package/src/charts/kinds/MultiLine.tsx +1 -1
  68. package/src/charts/kinds/StackedArea.tsx +1 -1
  69. package/src/charts/kinds/ZonedLine.tsx +1 -1
  70. package/src/cli/check-theme.test.ts +35 -0
  71. package/src/cli/help.test.ts +5 -1
  72. package/src/cli/index.ts +978 -133
  73. package/src/cli/init-sync.test.ts +2 -0
  74. package/src/cli/template-ledger.test.ts +1 -1
  75. package/src/cli/toolchain-wiring.test.ts +352 -1
  76. package/src/cli/waiver-audit.test.ts +211 -0
  77. package/src/guard/check-source.test.ts +638 -1
  78. package/src/guard/index.ts +556 -63
  79. package/src/router-tanstack/multi-search-param-store.ts +16 -1
  80. package/src/router-tanstack/search-param-store.test.ts +135 -0
  81. package/src/router-tanstack/search-param-store.ts +90 -8
  82. package/src/shell/app-mobile-nav.tsx +1 -1
  83. package/src/shell/index.test.tsx +52 -0
  84. package/src/shell/index.tsx +64 -13
  85. package/src/tokens/index.ts +24 -1
  86. package/src/tokens/palette.ts +2 -2
  87. package/src/tokens/text-scale.test.ts +51 -0
  88. package/src/vite.test.ts +158 -6
  89. package/src/vite.ts +176 -34
@@ -11,7 +11,8 @@ export type BasaltConfig = {
11
11
  * off every guard kind whose remedy is a Mantine component, a Mantine prop or the React theme
12
12
  * factory, leaving the color and typography kinds live. Default: `'mantine'`.
13
13
  *
14
- * Deliberately not inferred from a missing `@mantine/core`: silencing 16 rules is a decision, and
14
+ * Deliberately not inferred from a missing `@mantine/core`: silencing 17 rules (the live count is
15
+ * `TOKENS_ONLY_DISABLED_KINDS.size`, which the check-theme banner prints) is a decision, and
15
16
  * a repo that keeps Mantine in a workspace package would otherwise switch off half its own guard
16
17
  * without saying so. `basalt-ui doctor` detects the shape and tells you to set this.
17
18
  */
@@ -138,15 +139,27 @@ export type BasaltConfig = {
138
139
  /**
139
140
  * Per-rule, per-path exemptions — complements whole-file `exempt` (which skips ALL rules for a
140
141
  * file) and the hardcoded per-kind `appliesTo` scoping (e.g. `raw-visx-axis` → chart files
141
- * only). Each value is a list of path-segment patterns matched against a finding's relative
142
- * path: a pattern matches when the path split on `/` includes it as a WHOLE segment (`'agent'`
143
- * matches `src/agent/x.tsx` but not `src/agenting.ts`; a trailing `/` is stripped, so `'agent'`
144
- * and `'agent/'` are equivalent). Default: `{}` (no exemptions).
142
+ * only). Each value is a list of patterns matched against a finding's relative path. A pattern
143
+ * may be a whole path segment (`'agent'` matches `src/agent/x.tsx`, not `src/agenting.ts`), a
144
+ * relative path (`'public/site.webmanifest'`), a directory prefix, or a glob — `*` stops at `/`,
145
+ * `**` does not, and a slash-free glob also matches the basename, so `'*.module.css'` works.
146
+ * A trailing `/` is stripped. An entry that suppresses nothing is reported, and
147
+ * `check-theme --audit-allows` exits 1 on it. Default: `{}` (no exemptions).
148
+ *
149
+ * Two forms per kind. The bare array is paths only. The object form adds the REASON, which is
150
+ * the half a `theme-allow` carries and this key could not: JSON has no comments, so a
151
+ * `.webmanifest` / `.json` finding's only escape is this key, and it was un-reviewable by
152
+ * construction — the rationale ended up in a CLAUDE.md paragraph nobody reads next to the diff.
153
+ * `check-theme --audit-allows` prints the reason (or names its absence) beside what the entry
154
+ * still suppresses. The array form stays supported and unchanged; nothing here is required.
145
155
  *
146
156
  * @example
147
157
  * { exemptRules: { 'inline-display': ['agent'] } } // inline-display never fires under src/agent/**
158
+ * @example
159
+ * { exemptRules: { 'raw-hex': { paths: ['site.webmanifest'],
160
+ * reason: 'a PWA manifest theme_color MUST be a literal hex — JSON cannot reference a CSS var' } } }
148
161
  */
149
- exemptRules?: Partial<Record<GuardKind, string[]>>;
162
+ exemptRules?: Partial<Record<GuardKind, ExemptRuleEntry>>;
150
163
  /**
151
164
  * Declares an intentional `ai` package major-version skew across workspace packages, exempting
152
165
  * `doctor`'s `ai-major-parity` hard check. The value IS the reason — a bare `true` is rejected,
@@ -167,6 +180,14 @@ export type BasaltConfig = {
167
180
  */
168
181
  aiMajorSkewReason?: string;
169
182
  };
183
+ /**
184
+ * One `basalt.exemptRules` value: the historical bare path list, or the same list with the reason
185
+ * it exists. See `BasaltConfig.exemptRules`.
186
+ */
187
+ type ExemptRuleEntry = string[] | {
188
+ paths: string[];
189
+ reason: string;
190
+ };
170
191
  /**
171
192
  * Theme guard — thin FS walker over the headless `../guard` core. Reads BasaltConfig, builds a
172
193
  * GuardConfig, walks roots, calls checkSource per file, collects Finding[], groups/reports, returns
@@ -337,8 +358,14 @@ type SyncOptions = {
337
358
  * - `--check` makes NO writes; exits non-zero if any managed file is out-of-date or locally drifted
338
359
  * (a CI freshness gate), exit 0 when all current.
339
360
  * - `--force` overwrites locally-drifted files instead of skipping them.
361
+ *
362
+ * Runs against `resolveProjectDir(cwd)`, exactly as `check-theme` and `doctor` do — and then
363
+ * REFUSES rather than scaffolding when the resolved project has no manifest. See
364
+ * {@link findManifestAbove} for the failure that bought this: `sync` is the drift refresh and
365
+ * `init` is the scaffold, so placing twenty files on a cwd that was never a consumer is a decision
366
+ * `sync` does not get to make silently.
340
367
  */
341
- export declare function sync(opts?: SyncOptions, cwd?: string): number;
368
+ export declare function sync(opts?: SyncOptions, invocationCwd?: string): number;
342
369
  /**
343
370
  * Assert the 8 SURFACES invariants against the live SURFACES + GUARD_RULES + plugin.json.
344
371
  * Returns 0 when all pass; 1 when any fail (console.error each failure).
@@ -394,10 +421,17 @@ type DoctorResult = {
394
421
  * It is also the moment `bunx basalt-ui` stops using the pinned copy.
395
422
  * 6. `guard-scan`: `check-theme` would scan MORE than zero files. `check-theme` already exits 1
396
423
  * on "0 files scanned"; doctor disagreeing with it in the same repo is the bug.
397
- * 7. `oxlint-preset`: the consumer's `.oxlintrc.json` actually `extends` the shipped preset.
398
- * `init` keeps an existing config, so the framework's whole lint half can be off with nothing
399
- * to say so — one repo carried six real violations invisibly across five minors that way.
400
- * 9. `ai-major-parity`: every workspace package that declares the `ai` package agrees on its
424
+ * 7. `oxlint-preset`: the consumer's `.oxlintrc.json` actually `extends` the shipped preset AND
425
+ * that path RESOLVES. `init` keeps an existing config, so the framework's whole lint half can
426
+ * be off with nothing to say so — one repo carried six real violations invisibly across five
427
+ * minors that way. Matching the string alone reproduced the same false green one layer in: a
428
+ * well-shaped entry pointing at a path that no longer exists passed this check in the very
429
+ * tree where oxlint refused to start with `NotFound`.
430
+ * 8. `lefthook-preset`: the repo-root lefthook config's `extends` target resolves. lefthook
431
+ * merges a MISSING target into zero commands and exits 0 — no error, a clean `lefthook dump`,
432
+ * and no pre-commit gate. Nothing but a check can see that. Not-extending-at-all is a warning
433
+ * (a consumer may run their own hooks); extending a path that isn't there is a hard failure.
434
+ * 10. `ai-major-parity`: every workspace package that declares the `ai` package agrees on its
401
435
  * major version. `basalt/ai-sdk-major` (the oxlint plugin rule) cannot catch this — it checks
402
436
  * a linted file's NEAREST package.json, so a lint run scoped to one workspace package only
403
437
  * ever sees that package's own `ai` major and is perfectly happy; the cross-package skew (one
@@ -418,9 +452,9 @@ type DoctorResult = {
418
452
  * demonstrably not the installed package — see the check).
419
453
  * 5. The running CLI's own version matches the installed basalt-ui (catches a stale
420
454
  * `bunx basalt-ui` npm fetch; best-effort, skipped if node_modules is absent).
421
- * 8. `basaltAppPlugin`'s (basalt-ui/vite) default icon filenames exist under public/ (only when
455
+ * 9. `basaltAppPlugin`'s (basalt-ui/vite) default icon filenames exist under public/ (only when
422
456
  * a public/ dir exists at all — skipped otherwise).
423
- * 9 (second half). A declared `basalt.aiMajorSkewReason` when the ai majors currently AGREE — the
457
+ * 10 (second half). A declared `basalt.aiMajorSkewReason` when the ai majors currently AGREE — the
424
458
  * exemption is stale and can be deleted; an exemption nobody revisits is how a real, later
425
459
  * skew slips through unnoticed.
426
460
  *
@@ -458,8 +492,8 @@ export type InfoOutput = {
458
492
  */
459
493
  export declare function info(flags: string[]): number;
460
494
  /**
461
- * Space-normalize the argument list of a legacy color function so the emitted file survives a
462
- * normal repo's formatter.
495
+ * Space- and number-normalize the argument list of a legacy color function so the emitted file
496
+ * survives a normal repo's formatter.
463
497
  *
464
498
  * This is FORMATTING ONLY and deliberately the CLI's single deviation from "print exactly what
465
499
  * `buildPaletteCss` returned": `rgba(255,255,255,0.6)` and `rgba(255, 255, 255, 0.6)` are the same
@@ -467,6 +501,12 @@ export declare function info(flags: string[]): number;
467
501
  * side, and a consumer committing the output ate a lint-ignore entry for the difference. The token
468
502
  * VALUES are untouched — nothing here can change what basalt's tokens are.
469
503
  *
504
+ * Trailing zeros go the same way and for the same reason: prettier rewrites `0.10` → `0.1`, so the
505
+ * two `rgba(28, 25, 23, 0.10)` alphas in the light shadow tokens were the whole reason the one
506
+ * framework-free consumer still could not lint its committed sheet — `--fix` and `tokens:css
507
+ * --check` disagreed forever, and the lint-ignore entry survived two releases. Only a bare decimal
508
+ * literal is touched (never a `%`, a `var()` or a unit), and `0.10`/`0.1` are the same number.
509
+ *
470
510
  * Exported for tests, so the expectation can be computed rather than restated.
471
511
  */
472
512
  export declare function normalizeColorFunctions(css: string): string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"AAyCA,OAAO,KAAK,EAAwB,SAAS,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAE9E,OAAO,EAAE,UAAU,EAAE,WAAW,EAA2C,MAAM,aAAa,CAAA;AAI9F,yEAAyE;AACzE,MAAM,MAAM,YAAY,GAAG;IACzB,sFAAsF;IACtF,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,4FAA4F;IAC5F,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAA;IACnC;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,uGAAuG;IACvG,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB;wFACoF;IACpF,QAAQ,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC,CAAA;IACpD,6FAA6F;IAC7F,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC3B,iFAAiF;IACjF,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;;;;;OAMG;IACH,cAAc,CAAC,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