origam 2.37.40 → 2.37.42

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 CHANGED
@@ -18,6 +18,26 @@ This project follows [Semantic Versioning](https://semver.org).
18
18
 
19
19
  ## [Unreleased]
20
20
 
21
+ ## [2.37.42] - 2026-11-11
22
+
23
+ ### Changed — nettoyage du dépôt (#1346)
24
+
25
+ Suppression des fichiers parasites : `docs/mesures/` (dumps de mesures), les audits `docs/audit-*.md`, `docs/reclassification-tokens-dormants-550.md`, `docs/inspection-classeur-methodo.md`, `docs/POINT-DE-REPRISE.md`, `.design-sync/`, `.impeccable/`, `tmp-824-census.txt`, `MONOREPO_PROPOSAL.md` et `CLAUDE_CODE_BRIEF.md`. `packages/stories`, `packages/docs`, `docker/`, `docs/security-waivers.md` et `docs/work-priorities.md` sont conservés.
26
+
27
+ - Dans le paquet publié, seuls deux commentaires changent (`OrigamBtn.vue`, `transition.interface.ts`) : ils pointaient vers `docs/mesures/`. Aucun changement de comportement.
28
+ - **Vérifié** : `guards` 33/33, `guards:self` 27/27, lint et `test:unit:run` exit 0. CI de la PR #1352 : 23/23 checks verts.
29
+
30
+ ## [2.37.41] - 2026-11-11
31
+
32
+ ### Fixed — `main.css` commité en retard sur le SCSS, et garde contre la dérive (#1342)
33
+
34
+ La copie commitée de `packages/ds/src/assets/css/main.css` n'était plus à jour par rapport à `main.scss`. Il lui manquait 5 jetons, chacun dans les 3 blocs (light, dark, `prefers-color-scheme`) : `--origam-btn__content---justify-content`, `--origam-btn__content---text-align`, `--origam-table__header-cell---letter-spacing`, `--origam-table__header-cell---text-transform` et `--origam-tabs__item---line-height`.
35
+
36
+ - `main.css` a été régénéré avec `pnpm -F origam styles:build`. Comparaison au niveau des déclarations : 9333 → 9348, **0 retirée, 15 ajoutées**.
37
+ - Nouveau garde `main-css-fresh` (garde 33). Il recompile `main.scss` avec les options de `styles:build` et exige l'identité octet pour octet avec `main.css`. Il est branché dans `run-all.mjs`, donc dans le job CI `architecture-guards`.
38
+ - Le paquet npm n'était pas affecté : `build` régénère `main.css` avant `unbuild`. Le défaut ne touchait que la copie du dépôt.
39
+ - **Vérifié** : `guards` 33/33 et `guards:self` 27/27, exit 0. Test A/B : une déclaration retirée → le garde sort en exit 1 ; après régénération → exit 0. CI de la PR #1345 : 23/23 checks verts.
40
+
21
41
  ## [2.37.40] - 2026-11-05
22
42
 
23
43
  ### Fixed — Charts : un seul arrêt de tabulation par chart, navigation aux flèches (#1333)
@@ -543,7 +543,7 @@ defineExpose({
543
543
  // → `light.css`/`dark.css`), always defined (`0` at rest), so the
544
544
  // `var()` fallback never falls through to the btn's own value —
545
545
  // measured, see the #391/#530 root-vs-token audit
546
- // (`docs/mesures/`): on every conflict of this shape checked in a
546
+ // (supprimé du dépôt, #1346 — historique git): on every conflict of this shape checked in a
547
547
  // real browser, the globally-registered token wins, never the
548
548
  // component-local declaration. So the STANDALONE default below
549
549
  // reads the BTN's OWN var directly (no group fallback) — this is
@@ -42,7 +42,7 @@ export interface ITransitionProps {
42
42
  * plus `SlideX`/`SlideY`/`TranslatePicker`/`ReverseTranslatePicker`/
43
43
  * `TranslateBottom`) still declare it — `ScaleRotate` and `Snack` in
44
44
  * particular have a legitimate use for it. See
45
- * `docs/mesures/` for the full per-component audit.
45
+ * the git history (#1346) for the full per-component audit.
46
46
  ********************************************************/
47
47
  export interface ITransitionNoOriginProps extends Omit<ITransitionProps, 'origin'> {
48
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "origam",
3
- "version": "2.37.40",
3
+ "version": "2.37.42",
4
4
  "type": "module",
5
5
  "description": "origam — a Vue 3 design system with multi-theme design tokens, CSS-first components and TypeScript types.",
6
6
  "keywords": [
@@ -110,6 +110,7 @@
110
110
  "guards:token-var-channels-marketing": "node scripts/guards/token-var-channels-marketing.mjs",
111
111
  "guards:token-var-channels-marketing:self": "node scripts/guards/lib/marketing-token-scan.selftest.mjs",
112
112
  "guards:token-twins": "node scripts/guards/token-twins.mjs",
113
+ "guards:main-css-fresh": "node scripts/guards/main-css-fresh.mjs",
113
114
  "guards:dead-handlers": "node scripts/guards/dead-handlers.mjs",
114
115
  "guards:function-as-value": "node scripts/guards/function-as-value.mjs",
115
116
  "guards:id-forwarding": "node scripts/guards/id-forwarding.mjs",