@max-ts/components 1.3.0 → 1.3.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/lib/index.mjs +5 -3
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -10935,7 +10935,7 @@ const Bb = b(Vs)`
|
|
|
10935
10935
|
);
|
|
10936
10936
|
}
|
|
10937
10937
|
), Lr = b(Ie, {
|
|
10938
|
-
shouldForwardProp: (e) =>
|
|
10938
|
+
shouldForwardProp: (e) => !["active", "collapsed"].includes(e.toString())
|
|
10939
10939
|
})`
|
|
10940
10940
|
height: 32px;
|
|
10941
10941
|
width: 100%;
|
|
@@ -11063,7 +11063,7 @@ const Bb = b(Vs)`
|
|
|
11063
11063
|
);
|
|
11064
11064
|
}, Gb = b("nav")`
|
|
11065
11065
|
width: auto;
|
|
11066
|
-
overflow: hidden;
|
|
11066
|
+
overflow: hidden auto;
|
|
11067
11067
|
color: ${({ theme: e }) => e.palette.text.secondary};
|
|
11068
11068
|
font-size: ${({ theme: e }) => e.typography.body1.fontSize};
|
|
11069
11069
|
button {
|
|
@@ -11073,7 +11073,9 @@ const Bb = b(Vs)`
|
|
|
11073
11073
|
`, cx = ({ items: e }) => {
|
|
11074
11074
|
const { collapsed: t } = ir();
|
|
11075
11075
|
return /* @__PURE__ */ l.jsx(Gb, { children: /* @__PURE__ */ l.jsx(ls, { disablePadding: !0, children: e.map((n) => /* @__PURE__ */ At(Yb, { ...n, key: n.id, collapsed: t })) }) });
|
|
11076
|
-
}, Ub = b(Ie
|
|
11076
|
+
}, Ub = b(Ie, {
|
|
11077
|
+
shouldForwardProp: (e) => e !== "collapsed"
|
|
11078
|
+
})`
|
|
11077
11079
|
font-size: ${({ theme: e }) => e.typography.h5.fontSize};
|
|
11078
11080
|
font-weight: ${({ theme: e }) => e.typography.body1.fontWeight};
|
|
11079
11081
|
justify-content: flex-start;
|