origam 2.37.17 → 2.37.18
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 +11 -0
- package/dist/src/assets/css/main.css +1 -1
- package/dist/src/assets/css/tokens/dark.css +4 -0
- package/dist/src/assets/css/tokens/light.css +2 -0
- package/dist/src/assets/scss/tokens/_dark.scss +4 -0
- package/dist/src/assets/scss/tokens/_light.scss +2 -0
- package/dist/src/components/Field/OrigamField.vue +3 -3
- package/dist/src/types/tokens.type.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -18,6 +18,17 @@ This project follows [Semantic Versioning](https://semver.org).
|
|
|
18
18
|
|
|
19
19
|
## [Unreleased]
|
|
20
20
|
|
|
21
|
+
## [2.37.18] - 2026-10-28
|
|
22
|
+
|
|
23
|
+
### Fixed — champs : la couleur et l'opacité du placeholder sont réglables par jeton (#1266)
|
|
24
|
+
|
|
25
|
+
`OrigamField.vue` figeait `::placeholder` à `color: currentColor; opacity: 0.5`, à l'état normal comme au focus. Aucun thème ne pouvait donc le régler.
|
|
26
|
+
|
|
27
|
+
- Deux jetons : `--origam-field---placeholder-color` (`currentColor`) et `--origam-field---placeholder-opacity` (`0.5`). Ils sont déclarés dans `light.css`, dans `dark.css` (bloc explicite et bloc media), dans leurs jumeaux SCSS et dans `tokens.type.ts`, et `main.css` est régénéré. Le rendu par défaut ne change pas.
|
|
28
|
+
- Vérifié :
|
|
29
|
+
- e2e `field-placeholder-token.spec.ts` (Chromium, Histoire statique) : avec les jetons posés, il est rouge sur le parent (reçu `rgb(109, 40, 217)`) et vert après le correctif ; le rendu par défaut est inchangé avant comme après.
|
|
30
|
+
- Garde `token-twins` verte (PR #1271).
|
|
31
|
+
|
|
21
32
|
## [2.37.17] - 2026-10-28
|
|
22
33
|
|
|
23
34
|
### Fixed — `OrigamDataTable` n'hérite plus d'une prop `item` requise (#1246, #1154)
|