@ws-ui/shared 1.12.3 → 1.13.0

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.
@@ -1,6 +1,7 @@
1
1
  import { FC, PropsWithChildren, ReactNode } from 'react';
2
- export declare const PANEL_INITIAL_HEIGHT = 30;
3
- export declare const PANEL_EXPANDED_HEIGHT = 500;
2
+ export declare const PANEL_COLLAPSED_HEIGHT = 30;
3
+ export declare const PANEL_INITIAL_OPEN_RATIO = 0.3;
4
+ export declare const PANEL_MAX_RATIO = 0.6;
4
5
  export interface ICommonPanelProps {
5
6
  headerRightSide?: ReactNode;
6
7
  }
@@ -41,14 +41,13 @@ declare namespace catalog {
41
41
  };
42
42
  }>;
43
43
  type IAttributeProperties = Partial<{}>;
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
- }> {}
44
+ interface IModelProperties extends Partial<{
45
+ version: string;
46
+ backgroundColor: string;
47
+ backgroundImage: string;
48
+ backgroundVariant: 'dotted' | 'grid' | 'none';
49
+ viewport?: { zoom: number; x: number; y: number };
50
+ }> {}
52
51
  interface IMethod {
53
52
  name: string;
54
53
  applyTo: ApplyTo;