@zjpcy/simple-design 1.3.5 → 1.3.6
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/cjs/index.css +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/es/Layout/index.js +1 -1
- package/dist/es/Layout/styles.js +1 -1
- package/dist/es/Menu/index.js +1 -1
- package/dist/es/index.css +1 -1
- package/dist/types/components/Layout/styles.d.ts +1 -0
- package/dist/types/components/Layout/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -15,6 +15,7 @@ export declare const SiderWrapper: import("styled-components/dist/types").IStyle
|
|
|
15
15
|
$fixed?: boolean;
|
|
16
16
|
$zeroWidthMode?: boolean;
|
|
17
17
|
$theme?: "light" | "dark";
|
|
18
|
+
$inNestedLayout?: boolean;
|
|
18
19
|
}>> & string;
|
|
19
20
|
export declare const SiderContentWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
20
21
|
$collapsed?: boolean;
|
|
@@ -87,6 +87,8 @@ export interface LayoutSiderProps {
|
|
|
87
87
|
triggerPlacement?: 'top' | 'bottom';
|
|
88
88
|
/** 是否使用完全收缩模式(收缩时宽度为0,并显示浮动展开按钮) */
|
|
89
89
|
zeroWidthMode?: boolean;
|
|
90
|
+
/** 是否处于嵌套布局中(用于内部计算,用户无需设置) */
|
|
91
|
+
inNestedLayout?: boolean;
|
|
90
92
|
/** 侧边栏位置(暂未实现,预留) */
|
|
91
93
|
placement?: 'left' | 'right';
|
|
92
94
|
/** 是否固定 */
|