origam 2.38.2 → 2.39.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.
- package/CHANGELOG.md +10 -0
- package/dist/src/assets/css/main.css +1 -1
- package/dist/src/assets/css/tokens/dark.css +10 -0
- package/dist/src/assets/css/tokens/light.css +5 -0
- package/dist/src/assets/scss/tokens/_dark.scss +10 -0
- package/dist/src/assets/scss/tokens/_light.scss +5 -0
- package/dist/src/components/Card/OrigamCard.vue +12 -5
- package/dist/src/components/Dialog/OrigamDialog.vue +8 -4
- package/dist/src/components/Dialog/OrigamDialogConfirmation.vue +8 -4
- package/dist/src/components/Form/OrigamForm.vue +20 -1
- package/dist/src/composables/Commons/content.composable.cjs +20 -0
- package/dist/src/composables/Commons/content.composable.d.ts +14 -0
- package/dist/src/composables/Commons/content.composable.js +9 -0
- package/dist/src/composables/index.cjs +12 -0
- package/dist/src/composables/index.d.ts +1 -0
- package/dist/src/composables/index.js +1 -0
- package/dist/src/interfaces/Card/card.interface.d.ts +3 -11
- package/dist/src/interfaces/Commons/content.interface.cjs +1 -0
- package/dist/src/interfaces/Commons/content.interface.d.ts +26 -0
- package/dist/src/interfaces/Commons/content.interface.js +0 -0
- package/dist/src/interfaces/Form/form.interface.d.ts +2 -1
- package/dist/src/interfaces/index.cjs +11 -0
- package/dist/src/interfaces/index.d.ts +1 -0
- package/dist/src/interfaces/index.js +1 -0
- package/dist/src/types/tokens.type.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -18,6 +18,16 @@ This project follows [Semantic Versioning](https://semver.org).
|
|
|
18
18
|
|
|
19
19
|
## [Unreleased]
|
|
20
20
|
|
|
21
|
+
## [2.39.0] - 2026-11-18
|
|
22
|
+
|
|
23
|
+
### Added — espacement du contenu de Card et de Form (#1381)
|
|
24
|
+
|
|
25
|
+
- `contentGap` (`string | number`, nombre = px) sur `OrigamCard` (et donc `OrigamDialog`, qui relaie ses props à sa carte) et `OrigamForm` : `gap` posé en ligne sur `.origam-*__content`. Réglable par thème (`components['origam-card' | 'origam-form']`). Sans effet tant que le wrapper n'est pas `flex` / `grid`.
|
|
26
|
+
- `contentDisplay` sur `OrigamForm`, même type et même mécanique que sur `OrigamCard`. Les deux props viennent de la nouvelle interface Commons `IContentProps` et du composable `useContent` ; `ICardProps` étend `IContentProps` (la déclaration `contentDisplay` y disparaît, l'API publique est inchangée).
|
|
27
|
+
- Jetons `--origam-card__content---gap`, `--origam-card__content---flex-direction`, `--origam-form__content---display`, `--origam-form__content---gap`, `--origam-form__content---flex-direction`. Défauts `block` / `0` / `row` : aucun changement de rendu pour les consommateurs existants.
|
|
28
|
+
|
|
29
|
+
- **Vérifié** : CI de la PR #1381, 23/23 checks verts (unit tests Node 22 et 24, 4 shards E2E Chromium dont le contentGap de Card, Form et Dialog, a11y axe, guards, Playground).
|
|
30
|
+
|
|
21
31
|
## [2.38.2] - 2026-11-18
|
|
22
32
|
|
|
23
33
|
### Fixed — accessibilité : règle axe 4.14 `label-content-name-mismatch` (#1371, #1379)
|