@recursica/mui-adapter 0.33.0 → 0.34.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 +11 -0
- package/dist/index.d.ts +6 -0
- package/dist/mui-adapter.cjs +1 -1
- package/dist/mui-adapter.cjs.map +1 -1
- package/dist/mui-adapter.js +18 -7
- package/dist/mui-adapter.js.map +1 -1
- package/package.json +2 -2
- package/src/components/Menu/IMPLEMENTATION_NOTES.md +1 -0
- package/src/components/Menu/Menu.stories.tsx +37 -0
- package/src/components/Menu/Menu.tsx +25 -5
- package/src/components/Menu/USAGE.md +6 -0
package/dist/mui-adapter.js
CHANGED
|
@@ -26477,21 +26477,32 @@ const V1 = "Menu-module__dropdown___j4xuA", F1 = "Menu-module__item___NMXha", B1
|
|
|
26477
26477
|
dropdown: V1,
|
|
26478
26478
|
item: F1,
|
|
26479
26479
|
divider: B1
|
|
26480
|
-
}, Hh = ge(function({ overStyled: t = !1, className: n,
|
|
26481
|
-
|
|
26480
|
+
}, Hh = ge(function({ overStyled: t = !1, className: n, maxHeight: o, ...s }, i) {
|
|
26481
|
+
var m;
|
|
26482
|
+
const a = ye(s, t), l = a, c = ot(
|
|
26482
26483
|
{
|
|
26483
26484
|
paper: bi.dropdown,
|
|
26484
26485
|
list: bi.dropdown
|
|
26485
26486
|
},
|
|
26486
|
-
|
|
26487
|
-
)
|
|
26487
|
+
l.classes
|
|
26488
|
+
), u = l.slotProps, d = o ? {
|
|
26489
|
+
...u,
|
|
26490
|
+
paper: {
|
|
26491
|
+
...u == null ? void 0 : u.paper,
|
|
26492
|
+
style: {
|
|
26493
|
+
...(m = u == null ? void 0 : u.paper) == null ? void 0 : m.style,
|
|
26494
|
+
maxHeight: o
|
|
26495
|
+
}
|
|
26496
|
+
}
|
|
26497
|
+
} : u;
|
|
26488
26498
|
return /* @__PURE__ */ b(
|
|
26489
26499
|
qb,
|
|
26490
26500
|
{
|
|
26491
|
-
ref:
|
|
26492
|
-
...
|
|
26501
|
+
ref: i,
|
|
26502
|
+
...a,
|
|
26493
26503
|
className: n,
|
|
26494
|
-
classes:
|
|
26504
|
+
classes: c,
|
|
26505
|
+
...d ? { slotProps: d } : {}
|
|
26495
26506
|
}
|
|
26496
26507
|
);
|
|
26497
26508
|
});
|