fold-ng 0.27.2 → 0.28.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 +26 -1
- package/fesm2022/fold-ng.mjs +102 -25
- package/fesm2022/fold-ng.mjs.map +1 -1
- package/package.json +1 -1
- package/tmp-esm2022/tsconfig.lib.tsbuildinfo +1 -1
- package/types/fold-ng.d.ts +76 -18
- package/types/fold-ng.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,30 @@ All notable changes to **fold-ng** are documented here. The format follows
|
|
|
8
8
|
|
|
9
9
|
_Nothing yet._
|
|
10
10
|
|
|
11
|
+
## [0.28.0] - 2026-10-05
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- **`fold-app-shell` : `mobileQuery` — l'application choisit quand le shell
|
|
16
|
+
passe en mise en page mobile** (une colonne, rail primaire en tiroir). Une clé
|
|
17
|
+
de `FOLD_MOBILE_QUERIES` — `"phone"` (défaut, ≤768px : comportement
|
|
18
|
+
inchangé), `"phoneOrTablet"` (aussi tout écran tactile jusqu'à 1366px, un iPad en
|
|
19
|
+
paysage), `"touchLandscape"` — ou une query brute passée par
|
|
20
|
+
`foldMediaQuery(...)`, balisée pour qu'une clé mal orthographiée ne compile
|
|
21
|
+
pas comme une query qui ne matche jamais. Les presets tactiles testent
|
|
22
|
+
`any-pointer: coarse` : un iPad avec trackpad annonce un pointeur principal
|
|
23
|
+
fin.
|
|
24
|
+
- L'état est lisible : signal public `isMobile()` (via
|
|
25
|
+
`#shell="foldAppShell"`, pour n'afficher le burger que quand le tiroir peut
|
|
26
|
+
s'ouvrir), classe `.is-mobile` et attribut `data-mobile` sur l'hôte.
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
- La bascule viewport du shell n'est plus un `@media (max-width: 768px)` mais
|
|
31
|
+
`:host(.is-mobile)`, posée depuis `matchMedia(mobileQuery)` suivi en direct.
|
|
32
|
+
Le `@container` de l'aperçu de galerie reste tel quel, et un shell dont la
|
|
33
|
+
largeur propre est ≤768px est mobile quelle que soit la query.
|
|
34
|
+
|
|
11
35
|
## [0.27.2] - 2026-09-11
|
|
12
36
|
|
|
13
37
|
### Changed
|
|
@@ -2598,7 +2622,8 @@ design-token stylesheet.
|
|
|
2598
2622
|
`currentColor`; `prefers-reduced-motion` + `forced-colors` are respected;
|
|
2599
2623
|
strings localise via inputs / providers (`provideFoldPanelLabels`).
|
|
2600
2624
|
|
|
2601
|
-
[unreleased]: https://github.com/hugoheynard/fold-ng/compare/v0.
|
|
2625
|
+
[unreleased]: https://github.com/hugoheynard/fold-ng/compare/v0.28.0...HEAD
|
|
2626
|
+
[0.28.0]: https://github.com/hugoheynard/fold-ng/releases/tag/v0.28.0
|
|
2602
2627
|
[0.27.2]: https://github.com/hugoheynard/fold-ng/releases/tag/v0.27.2
|
|
2603
2628
|
[0.27.1]: https://github.com/hugoheynard/fold-ng/releases/tag/v0.27.1
|
|
2604
2629
|
[0.27.0]: https://github.com/hugoheynard/fold-ng/releases/tag/v0.27.0
|