@gravity-ui/dashkit 6.3.0 → 6.5.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.
@@ -6,6 +6,8 @@ import { OverlayControlItem } from '../OverlayControls/OverlayControls';
6
6
  interface DashKitGeneralProps {
7
7
  config: Config;
8
8
  editMode: boolean;
9
+ draggableHandleClassName?: string;
10
+ overlayControls?: Record<string, OverlayControlItem[]>;
9
11
  }
10
12
  interface DashKitDefaultProps {
11
13
  onItemEdit: (item: ConfigItem) => void;
@@ -18,9 +20,7 @@ interface DashKitDefaultProps {
18
20
  itemsStateAndParams: ItemsStateAndParams;
19
21
  settings: SettingsProps;
20
22
  context: ContextProps;
21
- overlayControls?: Record<string, OverlayControlItem[]>;
22
- noOverlay?: boolean;
23
- draggableHandleClassName?: string;
23
+ noOverlay: boolean;
24
24
  }
25
25
  export interface DashKitProps extends DashKitGeneralProps, Partial<DashKitDefaultProps> {
26
26
  }
@@ -30,11 +30,6 @@
30
30
  transition: height 200ms ease;
31
31
  }
32
32
 
33
- .react-grid-item {
34
- transition: all 200ms ease;
35
- transition-property: left, top;
36
- }
37
-
38
33
  .react-grid-item.cssTransforms {
39
34
  transition-property: transform;
40
35
  }
@@ -6,6 +6,8 @@ import { OverlayControlItem } from '../OverlayControls/OverlayControls';
6
6
  interface DashKitGeneralProps {
7
7
  config: Config;
8
8
  editMode: boolean;
9
+ draggableHandleClassName?: string;
10
+ overlayControls?: Record<string, OverlayControlItem[]>;
9
11
  }
10
12
  interface DashKitDefaultProps {
11
13
  onItemEdit: (item: ConfigItem) => void;
@@ -18,9 +20,7 @@ interface DashKitDefaultProps {
18
20
  itemsStateAndParams: ItemsStateAndParams;
19
21
  settings: SettingsProps;
20
22
  context: ContextProps;
21
- overlayControls?: Record<string, OverlayControlItem[]>;
22
- noOverlay?: boolean;
23
- draggableHandleClassName?: string;
23
+ noOverlay: boolean;
24
24
  }
25
25
  export interface DashKitProps extends DashKitGeneralProps, Partial<DashKitDefaultProps> {
26
26
  }
@@ -30,11 +30,6 @@
30
30
  transition: height 200ms ease;
31
31
  }
32
32
 
33
- .react-grid-item {
34
- transition: all 200ms ease;
35
- transition-property: left, top;
36
- }
37
-
38
33
  .react-grid-item.cssTransforms {
39
34
  transition-property: transform;
40
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/dashkit",
3
- "version": "6.3.0",
3
+ "version": "6.5.0",
4
4
  "description": "Library for rendering dashboard grid layout",
5
5
  "license": "MIT",
6
6
  "repository": {