@xiongtao.xt/tau-plugins 0.31.0 → 0.31.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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/publish-client.js
CHANGED
|
@@ -88,7 +88,9 @@ function createClient({ manifestUrl }) {
|
|
|
88
88
|
);
|
|
89
89
|
const keys = /* @__PURE__ */ new Set();
|
|
90
90
|
assert(
|
|
91
|
-
typeof value.site.title === "string" && typeof value.site.
|
|
91
|
+
typeof value.site.title === "string" && typeof value.site.basePath === "string" && record(value.site.fields) && Object.values(value.site.fields).every(
|
|
92
|
+
(field) => typeof field === "string" || typeof field === "boolean"
|
|
93
|
+
),
|
|
92
94
|
"INVALID_DATA",
|
|
93
95
|
"\u7AD9\u70B9\u6570\u636E\u7F3A\u5931"
|
|
94
96
|
);
|
|
@@ -12,6 +12,8 @@ export interface TabsProps<K extends string = string> {
|
|
|
12
12
|
/** 标签居中(默认左对齐) */
|
|
13
13
|
centered?: boolean;
|
|
14
14
|
className?: string;
|
|
15
|
+
/** 面板容器类名:标签栏固定、面板独立滚动时由调用方给出高度约束 */
|
|
16
|
+
panelClassName?: string;
|
|
15
17
|
}
|
|
16
18
|
/** 下划线式标签页(与 desktop 设置页同一视觉语言);方向键在标签间移动 */
|
|
17
|
-
export declare function Tabs<K extends string = string>({ items, activeKey: activeKeyProp, defaultActiveKey, onChange, centered, className, }: TabsProps<K>): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare function Tabs<K extends string = string>({ items, activeKey: activeKeyProp, defaultActiveKey, onChange, centered, className, panelClassName, }: TabsProps<K>): import("react/jsx-runtime").JSX.Element;
|