@vention/machine-ui 5.27.0 → 5.28.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/index.esm.js
CHANGED
|
@@ -8864,6 +8864,7 @@ function getPaddingForMenuHeaderSize(size) {
|
|
|
8864
8864
|
}
|
|
8865
8865
|
function getPaddingForMenuDividerSize(size) {
|
|
8866
8866
|
const padding = {
|
|
8867
|
+
"x-small": "0px 12px 0px 12px",
|
|
8867
8868
|
small: "8px 12px 7px 12px",
|
|
8868
8869
|
medium: "12px 12px 11px 12px",
|
|
8869
8870
|
large: "16px 12px 15px 12px"
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import { Theme } from "@mui/material";
|
|
|
2
2
|
import { Sizes, StrictExtract } from "../../theme/machine-ui-theme";
|
|
3
3
|
export type MenuSize = StrictExtract<Sizes, "small" | "medium" | "large" | "x-large">;
|
|
4
4
|
export type MenuHeaderSize = StrictExtract<Sizes, "small" | "medium" | "large">;
|
|
5
|
-
export type MenuDividerSize = StrictExtract<Sizes, "small" | "medium" | "large">;
|
|
5
|
+
export type MenuDividerSize = StrictExtract<Sizes, "x-small" | "small" | "medium" | "large">;
|
|
6
6
|
export interface StylingProperties {
|
|
7
7
|
borderRadius: string;
|
|
8
8
|
gap: string;
|