@gpustack/core-ui 1.0.8 → 1.0.9
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.
|
@@ -73,6 +73,11 @@ export interface CoreHooks {
|
|
|
73
73
|
getStorageUserSettings: () => any;
|
|
74
74
|
};
|
|
75
75
|
}
|
|
76
|
+
export interface CoreUISlots {
|
|
77
|
+
ExtraContent?: React.ComponentType<{
|
|
78
|
+
isDarkTheme?: boolean;
|
|
79
|
+
}>;
|
|
80
|
+
}
|
|
76
81
|
export interface CoreUIContextProps {
|
|
77
82
|
config: CoreUIConfig;
|
|
78
83
|
tokens?: Record<string, string>;
|
|
@@ -86,6 +91,7 @@ export interface CoreUIContextProps {
|
|
|
86
91
|
writeColumnSettings: (key: string, value: any) => void;
|
|
87
92
|
writeState: (key: string, value: any) => void;
|
|
88
93
|
};
|
|
94
|
+
slots?: CoreUISlots;
|
|
89
95
|
}
|
|
90
96
|
declare const CoreUIContext: import('react').Context<CoreUIContextProps>;
|
|
91
97
|
export default CoreUIContext;
|
|
@@ -20,6 +20,7 @@ export { default as useUpdateChunkedList } from './use-update-chunk-list';
|
|
|
20
20
|
export { default as useWatchList } from './use-watch-list';
|
|
21
21
|
export { default as useWindowResize } from './use-window-resize';
|
|
22
22
|
export { default as useCoreUIContext } from './useCoreUIContext';
|
|
23
|
-
export { default as
|
|
23
|
+
export { default as useCoreUISlots } from './useCoreUISlots';
|
|
24
24
|
export { default as useCurrentUser } from './useCurrentUser';
|
|
25
|
+
export { default as useIntl } from './useIntl';
|
|
25
26
|
export { default as useTableFetch } from './useTableFetch';
|