@stokelp/ui 2.67.0 → 2.68.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/dist/style.css +1 -1
- package/dist/ui.cjs +2 -2
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.js +10 -2
- package/dist/ui.js.map +1 -1
- package/package.json +1 -1
package/dist/ui.js
CHANGED
|
@@ -17691,7 +17691,7 @@ const sp = /* @__PURE__ */ w3.forwardRef(fp), { withProvider: Lp, withContext: N
|
|
|
17691
17691
|
onClick: (c) => {
|
|
17692
17692
|
c.preventDefault();
|
|
17693
17693
|
const o = localStorage.getItem("isMiniaturizeNav") === "closed" ? "open" : "closed";
|
|
17694
|
-
localStorage.setItem("isMiniaturizeNav", o),
|
|
17694
|
+
localStorage.setItem("isMiniaturizeNav", o), c.currentTarget.setAttribute("data-state", o), window.dispatchEvent(new Event("storage"));
|
|
17695
17695
|
},
|
|
17696
17696
|
className: "app-navigation__miniaturizeTrigger",
|
|
17697
17697
|
"data-state": typeof localStorage < "u" && localStorage.getItem("isMiniaturizeNav") || "open",
|
|
@@ -21672,8 +21672,16 @@ const zf = U({
|
|
|
21672
21672
|
"&:has(.app-navigation__miniaturizeTrigger[data-state=closed])": {
|
|
21673
21673
|
width: "size-52",
|
|
21674
21674
|
minWidth: "size-52",
|
|
21675
|
+
"& .app-navigation__header, & .app-navigation__footer": {
|
|
21676
|
+
px: "space-0",
|
|
21677
|
+
alignItems: "center"
|
|
21678
|
+
},
|
|
21679
|
+
"& .app-navigation__itemContent": {
|
|
21680
|
+
display: "flex"
|
|
21681
|
+
},
|
|
21675
21682
|
"& .app-navigation__itemLabel": {
|
|
21676
|
-
display: "none"
|
|
21683
|
+
display: "none",
|
|
21684
|
+
visibility: "collapse"
|
|
21677
21685
|
}
|
|
21678
21686
|
}
|
|
21679
21687
|
},
|