@alexandregme/zljs 3.23.1 → 3.23.2
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
|
@@ -8,6 +8,12 @@ A change that needs action in an app has a **Migration** note. When updating, re
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [3.23.2] - 2026-11-26
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- `Sidebar` and `TopNav`, and so `Navigation`, scrolled away with the page when the page was taller than the screen. They now stay in place, the `Sidebar` at the side and the `TopNav` at the top, while the content scrolls. Nothing to change in the app
|
|
16
|
+
|
|
11
17
|
## [3.23.1] - 2026-11-25
|
|
12
18
|
|
|
13
19
|
### Fixed
|
|
@@ -668,7 +674,8 @@ Replace the shade with the class of the `color` being tested, for example `/(^|\
|
|
|
668
674
|
|
|
669
675
|
The message of `Error` is `text-zl-danger`. `none` and `ghost` didn't change.
|
|
670
676
|
|
|
671
|
-
[Unreleased]: https://github.com/alexandregme/zljs/compare/v3.23.
|
|
677
|
+
[Unreleased]: https://github.com/alexandregme/zljs/compare/v3.23.2...HEAD
|
|
678
|
+
[3.23.2]: https://github.com/alexandregme/zljs/compare/v3.23.1...v3.23.2
|
|
672
679
|
[3.23.1]: https://github.com/alexandregme/zljs/compare/v3.23.0...v3.23.1
|
|
673
680
|
[3.23.0]: https://github.com/alexandregme/zljs/compare/v3.22.0...v3.23.0
|
|
674
681
|
[3.22.0]: https://github.com/alexandregme/zljs/compare/v3.21.0...v3.22.0
|
|
@@ -1000,7 +1000,9 @@ var sidebar = tv9({
|
|
|
1000
1000
|
// A surface beside the page, with a line between the two: white in the light
|
|
1001
1001
|
// theme and dark in the dark one. The line is an inset shadow, which takes no
|
|
1002
1002
|
// width: a border would move what is centered in the collapsed sidebar.
|
|
1003
|
-
|
|
1003
|
+
// It takes the height of the screen and stays in place while the page beside
|
|
1004
|
+
// it scrolls.
|
|
1005
|
+
base: "sticky top-0 shrink-0 h-dvh shadow-[inset_-1px_0_0_var(--color-zl-border)] bg-zl-surface text-zl-text-soft flex flex-col overflow-hidden transition-[width] duration-200 divide-y divide-zl-border",
|
|
1004
1006
|
variants: {
|
|
1005
1007
|
collapsed: {
|
|
1006
1008
|
true: "w-14",
|
|
@@ -1209,8 +1211,9 @@ import { tv as tv10 } from "tailwind-variants";
|
|
|
1209
1211
|
var topNav = tv10({
|
|
1210
1212
|
slots: {
|
|
1211
1213
|
// The panels hang from it, so it is their anchor. The safe area keeps the
|
|
1212
|
-
// bar under the notch of a phone.
|
|
1213
|
-
|
|
1214
|
+
// bar under the notch of a phone. It stays at the top while the page
|
|
1215
|
+
// scrolls under it, over what the page layers on itself and under a modal.
|
|
1216
|
+
base: "sticky top-0 z-40 shrink-0 border-b border-zl-border bg-zl-surface pt-[env(safe-area-inset-top)] text-zl-text-soft",
|
|
1214
1217
|
bar: "flex h-14 items-center gap-1 px-2",
|
|
1215
1218
|
// As wide as the menu button it stands in for, so the home link stays in
|
|
1216
1219
|
// the middle of the bar.
|
package/dist/index.js
CHANGED
package/dist/next/index.js
CHANGED