@alexandregme/zljs 3.13.0 → 3.13.1
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 -1
- package/dist/{chunk-EBJF4GLR.js → chunk-H4EDTEZB.js} +7 -6
- package/dist/index.js +1 -1
- package/dist/next/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,14 @@ A change that needs action in an app has a **Migration** note. When updating, re
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [3.13.1] - 2026-11-12
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- The open panels of `TopNav`, the menu and the account, showed under what a page layers on itself, such as a filter over a map. They are now `z-40`, so a page can layer its own content up to `z-30` under them
|
|
16
|
+
- `Modal` showed under anything with a `z-index`, such as the account panel of `TopNav` the logout modal opens from. It is now `z-50`, over the page and the panels
|
|
17
|
+
- `Loader` is now `z-60`, so it still covers an open modal
|
|
18
|
+
|
|
11
19
|
## [3.13.0] - 2026-11-12
|
|
12
20
|
|
|
13
21
|
### Changed
|
|
@@ -522,7 +530,8 @@ Replace the shade with the class of the `color` being tested, for example `/(^|\
|
|
|
522
530
|
|
|
523
531
|
The message of `Error` is `text-zl-danger`. `none` and `ghost` didn't change.
|
|
524
532
|
|
|
525
|
-
[Unreleased]: https://github.com/alexandregme/zljs/compare/v3.13.
|
|
533
|
+
[Unreleased]: https://github.com/alexandregme/zljs/compare/v3.13.1...HEAD
|
|
534
|
+
[3.13.1]: https://github.com/alexandregme/zljs/compare/v3.13.0...v3.13.1
|
|
526
535
|
[3.13.0]: https://github.com/alexandregme/zljs/compare/v3.11.0...v3.13.0
|
|
527
536
|
[3.11.0]: https://github.com/alexandregme/zljs/compare/v3.10.0...v3.11.0
|
|
528
537
|
[3.10.0]: https://github.com/alexandregme/zljs/compare/v3.9.0...v3.10.0
|
|
@@ -251,10 +251,10 @@ import * as Dialog from "@radix-ui/react-dialog";
|
|
|
251
251
|
// core/modal/modal.styles.ts
|
|
252
252
|
import { tv as tv4 } from "tailwind-variants";
|
|
253
253
|
var overlay = tv4({
|
|
254
|
-
base: "fixed inset-0 bg-black/50"
|
|
254
|
+
base: "fixed inset-0 z-50 bg-black/50"
|
|
255
255
|
});
|
|
256
256
|
var content = tv4({
|
|
257
|
-
base: "fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 rounded-lg shadow-lg p-6 w-full focus:outline-none max-h-[90vh] overflow-y-auto",
|
|
257
|
+
base: "fixed top-1/2 left-1/2 z-50 -translate-x-1/2 -translate-y-1/2 rounded-lg shadow-lg p-6 w-full focus:outline-none max-h-[90vh] overflow-y-auto",
|
|
258
258
|
variants: {
|
|
259
259
|
size: {
|
|
260
260
|
xs: "max-w-xs",
|
|
@@ -868,10 +868,11 @@ var topNav = tv9({
|
|
|
868
868
|
// Takes what the two buttons leave, with the home link in the middle of it.
|
|
869
869
|
home: "flex min-w-0 flex-1 justify-center",
|
|
870
870
|
// Over the page, under the bar, as wide as the screen. It scrolls when the
|
|
871
|
-
// links don't fit in what is left of the screen.
|
|
872
|
-
|
|
871
|
+
// links don't fit in what is left of the screen. `z-40` puts it over what
|
|
872
|
+
// the page layers on itself (a filter over a map), and under a modal.
|
|
873
|
+
menu: "absolute inset-x-0 top-full z-40 max-h-[calc(100dvh-3.5rem)] divide-y divide-neutral-600/50 overflow-y-auto border-t border-neutral-600/50 bg-neutral-800 shadow-lg",
|
|
873
874
|
section: "grid gap-1 p-2",
|
|
874
|
-
account: "absolute inset-x-0 top-full z-
|
|
875
|
+
account: "absolute inset-x-0 top-full z-40 flex items-center gap-3 border-t border-neutral-600/50 bg-neutral-800 p-3 shadow-lg",
|
|
875
876
|
// Text takes no className, so the cut of a long name or email is set from here.
|
|
876
877
|
user: "flex min-w-0 flex-1 flex-col text-white [&>*]:truncate"
|
|
877
878
|
}
|
|
@@ -1076,7 +1077,7 @@ var Spinner = ({
|
|
|
1076
1077
|
// features/app/components/loader/loader.styles.ts
|
|
1077
1078
|
import { tv as tv12 } from "tailwind-variants";
|
|
1078
1079
|
var loader = tv12({
|
|
1079
|
-
base: "flex fixed inset-0 justify-center items-center bg-black/20 text-zl-primary z-
|
|
1080
|
+
base: "flex fixed inset-0 justify-center items-center bg-black/20 text-zl-primary z-60"
|
|
1080
1081
|
});
|
|
1081
1082
|
|
|
1082
1083
|
// features/app/components/loader/loader.tsx
|
package/dist/index.js
CHANGED
package/dist/next/index.js
CHANGED