@ws-ui/shared 1.14.0 → 1.14.2
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/components/ToolbarIcon/interfaces.d.ts +1 -1
- package/dist/components/index.d.ts +2 -5
- package/dist/declarations/datasources/interfaces/catalog.d.ts +8 -7
- package/dist/index.cjs.js +167 -117
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +21529 -11125
- package/dist/index.es.js.map +1 -1
- package/dist/shared.css +1 -1
- package/dist/types/modal.d.ts +4 -4
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/vscode-theme-injector.d.ts +36 -0
- package/package.json +6 -6
- package/dist/components/Checkbox/index.d.ts +0 -16
- package/dist/components/ControlledSwitch.d.ts +0 -10
- package/dist/components/FloatingTooltip/index.d.ts +0 -11
- package/dist/components/Modal/Button.d.ts +0 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IconType } from '@ws-ui/
|
|
1
|
+
import { IconType } from '@ws-ui/ui-components';
|
|
2
2
|
export type Omit<T, U> = Pick<T, Exclude<keyof T, keyof U>>;
|
|
3
3
|
export type ReplaceProps<Inner extends React.ElementType, P> = Omit<React.ComponentPropsWithRef<Inner>, P> & P;
|
|
4
4
|
export interface WithAsProps<As extends React.ElementType | string = React.ElementType> {
|
|
@@ -5,17 +5,14 @@ export * from './Tree';
|
|
|
5
5
|
export * from './Incase';
|
|
6
6
|
export * from './Tips';
|
|
7
7
|
export * from './Tips/provider';
|
|
8
|
-
export * from './ControlledSwitch';
|
|
9
8
|
export * from './Tooltip';
|
|
10
9
|
export * from './AppLoader';
|
|
11
10
|
export * from './Modal';
|
|
12
11
|
export * from './ZoomComponent';
|
|
13
|
-
export * from './FloatingTooltip';
|
|
14
12
|
export * from './Panel';
|
|
15
|
-
export * from './
|
|
13
|
+
export * from './InvalidJsonError';
|
|
14
|
+
export * from './SearchInput';
|
|
16
15
|
export * from './ToolbarIcon';
|
|
17
16
|
export * from './ToolbarIcon/interfaces';
|
|
18
|
-
export * from './SearchInput';
|
|
19
|
-
export * from './InvalidJsonError';
|
|
20
17
|
export * from './Grid';
|
|
21
18
|
export * from './Image';
|
|
@@ -41,13 +41,14 @@ declare namespace catalog {
|
|
|
41
41
|
};
|
|
42
42
|
}>;
|
|
43
43
|
type IAttributeProperties = Partial<{}>;
|
|
44
|
-
interface IModelProperties
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
interface IModelProperties
|
|
45
|
+
extends Partial<{
|
|
46
|
+
version: string;
|
|
47
|
+
backgroundColor: string;
|
|
48
|
+
backgroundImage: string;
|
|
49
|
+
backgroundVariant: 'dotted' | 'grid' | 'none';
|
|
50
|
+
viewport?: { zoom: number; x: number; y: number };
|
|
51
|
+
}> {}
|
|
51
52
|
interface IMethod {
|
|
52
53
|
name: string;
|
|
53
54
|
applyTo: ApplyTo;
|