origam 2.37.14 → 2.37.15
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 +12 -0
- package/dist/src/assets/css/main.css +1 -1
- package/dist/src/assets/css/tokens/primitive.css +1 -0
- package/dist/src/assets/scss/tokens/_primitive.scss +1 -0
- package/dist/src/enums/Commons/font-family.enum.cjs +1 -0
- package/dist/src/enums/Commons/font-family.enum.d.ts +4 -2
- package/dist/src/enums/Commons/font-family.enum.js +1 -0
- package/dist/src/interfaces/Commons/typography.interface.d.ts +1 -1
- package/dist/src/types/Commons/font-family.type.d.ts +1 -1
- package/dist/src/types/tokens.type.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -18,6 +18,18 @@ This project follows [Semantic Versioning](https://semver.org).
|
|
|
18
18
|
|
|
19
19
|
## [Unreleased]
|
|
20
20
|
|
|
21
|
+
## [2.37.15] - 2026-10-22
|
|
22
|
+
|
|
23
|
+
### Added — slot de police `display` (#1212)
|
|
24
|
+
|
|
25
|
+
`FONT_FAMILY` n'offrait que `sans`, `mono` et `serif` : aucun slot ne permettait à un thème de distinguer une police d'affichage, pour les grands titres par exemple.
|
|
26
|
+
|
|
27
|
+
- `FONT_FAMILY.DISPLAY` et `TFontFamily` incluent maintenant `display`.
|
|
28
|
+
- Le jeton `--origam-font__family---display`, déclaré dans `primitive.css` et `_primitive.scss`, vaut par défaut `var(--origam-font__family---sans)`. Le rendu ne change donc pas.
|
|
29
|
+
- `fontFamily="display"` fonctionne sur tout composant qui expose `fontFamily`. Côté thème, il se règle via `vars.typo.family.display` ou par composant (`'origam-title': { fontFamily: 'display' }`).
|
|
30
|
+
- Opt-in par thème, sur arbitrage du propriétaire : aucun composant ne l'utilise d'office.
|
|
31
|
+
- Vérifié : TU `font-family-display.spec.ts` 5/5, dont 3 rouges sur le parent ; `enum-derived-types.spec.ts` mis à jour (PR #1242).
|
|
32
|
+
|
|
21
33
|
## [2.37.14] - 2026-10-22
|
|
22
34
|
|
|
23
35
|
### Fixed — `OrigamSelect` : `aria-controls` présent sur le combobox menu fermé, donc aussi en SSR (#1225)
|