@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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @recursica/mui-adapter
|
|
2
2
|
|
|
3
|
+
## 0.34.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 2369301: Add optional `maxHeight` prop to Menu, overriding the token-driven dropdown max-height with an explicit pixel value.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [2369301]
|
|
12
|
+
- @recursica/adapter-common@0.25.0
|
|
13
|
+
|
|
3
14
|
## 0.33.0
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -2119,6 +2119,12 @@ export declare interface RecursicaLoaderProps {
|
|
|
2119
2119
|
* Props for the Recursica Menu component.
|
|
2120
2120
|
*/
|
|
2121
2121
|
export declare interface RecursicaMenuProps {
|
|
2122
|
+
/**
|
|
2123
|
+
* Overrides the dropdown's token-driven max-height with an explicit pixel (or other CSS
|
|
2124
|
+
* length) value. Escape hatch for callers that need an arbitrary menu height the design
|
|
2125
|
+
* tokens don't express; leave unset to use the token default.
|
|
2126
|
+
*/
|
|
2127
|
+
maxHeight?: default_2.CSSProperties["maxHeight"];
|
|
2122
2128
|
}
|
|
2123
2129
|
|
|
2124
2130
|
/**
|