@k-table/report 1.0.9 → 1.0.10
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/index.cjs +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.js +1 -1
- package/dist/store.cjs +1 -1
- package/dist/store.d.ts +7 -0
- package/dist/store.js +1 -1
- package/dist/styles.css +117 -96
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -364,6 +364,13 @@ export function KtProvider(props: {
|
|
|
364
364
|
}): JSX.Element;
|
|
365
365
|
/** kt 产品界面的 antd 作用域:theme/locale/弹层/Modal 观感只罩 kt 自己的组件树(产品界面根组件已内建) */
|
|
366
366
|
export function KtAntdScope(props: { children: ReactNode }): JSX.Element;
|
|
367
|
+
/** 产品界面根节点属性:data 标记 + 主题 CSS 变量(界面被宿主弹窗 portal 到 body 时不丢主题) */
|
|
368
|
+
export function useKtSurfaceProps(): {
|
|
369
|
+
"data-kt-surface": "";
|
|
370
|
+
"data-kt-scheme": "light" | "dark";
|
|
371
|
+
"data-kt-style": KtUiStyleId;
|
|
372
|
+
style: Record<string, string>;
|
|
373
|
+
};
|
|
367
374
|
export function useKt(): {
|
|
368
375
|
config: KtConfig;
|
|
369
376
|
stores: { artifacts: ArtifactStore; instances?: InstanceStore; versions?: VersionStore };
|