@gravity-ui/dashkit 8.8.1 → 8.9.1

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.
Files changed (45) hide show
  1. package/build/cjs/components/GridItem/GridItem.css +1 -0
  2. package/build/cjs/components/GridLayout/GridLayout.d.ts +8 -2
  3. package/build/cjs/components/GridLayout/GridLayout.js +111 -23
  4. package/build/cjs/components/GridLayout/ReactGridLayout.js +142 -24
  5. package/build/cjs/components/OverlayControls/OverlayControls.js +5 -7
  6. package/build/cjs/constants/common.d.ts +1 -0
  7. package/build/cjs/constants/common.js +2 -1
  8. package/build/cjs/hocs/withContext.js +24 -6
  9. package/build/esm/components/GridItem/GridItem.css +1 -0
  10. package/build/esm/components/GridLayout/GridLayout.d.ts +8 -2
  11. package/build/esm/components/GridLayout/GridLayout.js +111 -23
  12. package/build/esm/components/GridLayout/ReactGridLayout.js +143 -25
  13. package/build/esm/components/OverlayControls/OverlayControls.js +6 -8
  14. package/build/esm/constants/common.d.ts +1 -0
  15. package/build/esm/constants/common.js +1 -0
  16. package/build/esm/hocs/withContext.js +24 -6
  17. package/package.json +1 -1
  18. package/build/cjs/icons/CloseIcon.d.ts +0 -2
  19. package/build/cjs/icons/CloseIcon.js +0 -10
  20. package/build/cjs/icons/CogIcon.d.ts +0 -2
  21. package/build/cjs/icons/CogIcon.js +0 -10
  22. package/build/cjs/icons/CopyIcon.d.ts +0 -2
  23. package/build/cjs/icons/CopyIcon.js +0 -10
  24. package/build/cjs/icons/DeleteIcon.d.ts +0 -2
  25. package/build/cjs/icons/DeleteIcon.js +0 -12
  26. package/build/cjs/icons/DotsIcon.d.ts +0 -2
  27. package/build/cjs/icons/DotsIcon.js +0 -10
  28. package/build/cjs/icons/TickIcon.d.ts +0 -2
  29. package/build/cjs/icons/TickIcon.js +0 -10
  30. package/build/cjs/icons/WarningIcon.d.ts +0 -2
  31. package/build/cjs/icons/WarningIcon.js +0 -10
  32. package/build/esm/icons/CloseIcon.d.ts +0 -2
  33. package/build/esm/icons/CloseIcon.js +0 -5
  34. package/build/esm/icons/CogIcon.d.ts +0 -2
  35. package/build/esm/icons/CogIcon.js +0 -5
  36. package/build/esm/icons/CopyIcon.d.ts +0 -2
  37. package/build/esm/icons/CopyIcon.js +0 -5
  38. package/build/esm/icons/DeleteIcon.d.ts +0 -2
  39. package/build/esm/icons/DeleteIcon.js +0 -7
  40. package/build/esm/icons/DotsIcon.d.ts +0 -2
  41. package/build/esm/icons/DotsIcon.js +0 -5
  42. package/build/esm/icons/TickIcon.d.ts +0 -2
  43. package/build/esm/icons/TickIcon.js +0 -5
  44. package/build/esm/icons/WarningIcon.d.ts +0 -2
  45. package/build/esm/icons/WarningIcon.js +0 -5
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare function WarningIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WarningIcon = void 0;
4
- const tslib_1 = require("tslib");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- function WarningIcon(props) {
7
- return (react_1.default.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", width: "16", height: "16", fill: "currentColor" }, props),
8
- react_1.default.createElement("path", { fillRule: "evenodd", d: "M8 16A8 8 0 118 0a8 8 0 010 16zm0-7a1 1 0 001-1V4a1 1 0 10-2 0v4a1 1 0 001 1zm0 1a1 1 0 100 2 1 1 0 000-2z" })));
9
- }
10
- exports.WarningIcon = WarningIcon;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare function CloseIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export function CloseIcon(props) {
3
- return (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 10 10", width: "10", height: "10", fill: "currentColor" }, props),
4
- React.createElement("path", { d: "M9.75592 8.57741C10.0814 8.90285 10.0814 9.43049 9.75592 9.75592C9.43049 10.0814 8.90285 10.0814 8.57741 9.75592L5 6.17851L1.42259 9.75592C1.09715 10.0814 0.569515 10.0814 0.244078 9.75592C-0.0813592 9.43049 -0.0813592 8.90285 0.244078 8.57741L3.82149 5L0.244078 1.42259C-0.0813592 1.09715 -0.0813592 0.569515 0.244078 0.244078C0.569515 -0.0813592 1.09715 -0.0813592 1.42259 0.244078L5 3.82149L8.57741 0.244078C8.90285 -0.0813592 9.43049 -0.0813592 9.75592 0.244078C10.0814 0.569515 10.0814 1.09715 9.75592 1.42259L6.17851 5L9.75592 8.57741Z" })));
5
- }
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare function CogIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export function CogIcon(props) {
3
- return (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24", fill: "currentColor" }, props),
4
- React.createElement("path", { d: "M11.844 16.156a4 4 0 1 1 0-8 4 4 0 0 1 0 8m6-4c0-.029-.004-.058-.004-.087l1.848-.34-.362-1.968-1.852.342a5.992 5.992 0 0 0-1.454-2.246l1.068-1.55-1.646-1.134-1.07 1.55a5.95 5.95 0 0 0-2.528-.567c-.03 0-.058.004-.087.004l-.341-1.848-1.967.363.34 1.851A5.996 5.996 0 0 0 7.546 7.98l-1.55-1.068L4.86 8.558l1.55 1.07a5.95 5.95 0 0 0-.567 2.528c0 .03.004.058.004.087L4 12.584l.362 1.967 1.852-.342a5.992 5.992 0 0 0 1.454 2.246L6.6 18.005l1.646 1.134 1.069-1.55a5.95 5.95 0 0 0 2.529.567c.029 0 .058-.004.087-.004L12.27 20l1.968-.363-.341-1.85a5.996 5.996 0 0 0 2.245-1.455l1.55 1.068 1.134-1.646-1.55-1.069a5.95 5.95 0 0 0 .567-2.529" })));
5
- }
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare function CopyIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export function CopyIcon(props) {
3
- return (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", width: "16", height: "16", fill: "currentColor" }, props),
4
- React.createElement("path", { d: "M7 14h7V7H7v7zM5 5h11v11H5V5zm4-2v1-1zm1-3H0v10V0h10zM0 10v1h4-4v-1zM10 0h1v4-4h-1zM3 9h1-1zM0 0h11v4H9V2H2v7h2v2H0V0z" })));
5
- }
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare function DeleteIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- export function DeleteIcon(props) {
3
- return (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", width: "16", height: "16", fill: "currentColor" }, props),
4
- React.createElement("g", null,
5
- React.createElement("path", { d: "M13.29 1.605h-2.857V.522A.522.522 0 0 0 9.91 0H6.089a.522.522 0 0 0-.522.522v1.083H2.71a.522.522 0 0 0-.521.522v1.605a.52.52 0 0 0 .521.521h.159L3.345 15.5c.012.28.242.5.521.5h8.268c.28 0 .51-.22.521-.5l.477-11.247h.159a.522.522 0 0 0 .521-.521V2.127a.522.522 0 0 0-.521-.522zm-6.679-.562h2.778v.562H6.611v-.562zm5.023 13.914H4.366L3.912 4.253h8.176l-.454 10.704zM12.769 3.21H3.23v-.562h9.538v.562z" }),
6
- React.createElement("path", { d: "M5.901 5.853a.522.522 0 0 0-.522.522v6.46a.522.522 0 0 0 1.044 0v-6.46a.522.522 0 0 0-.522-.522zm2.099 0a.522.522 0 0 0-.522.522v6.46a.522.522 0 1 0 1.044 0v-6.46A.522.522 0 0 0 8 5.853zm2.099 0a.522.522 0 0 0-.522.522v6.46a.522.522 0 0 0 1.044 0v-6.46a.522.522 0 0 0-.522-.522z" }))));
7
- }
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare function DotsIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export function DotsIcon(props) {
3
- return (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", width: "16", height: "16", fill: "currentColor" }, props),
4
- React.createElement("path", { d: "M14 6.125a1.874 1.874 0 1 1 .001 3.749A1.874 1.874 0 0 1 14 6.125zm-5.906 0a1.874 1.874 0 1 1 0 3.749 1.874 1.874 0 0 1 0-3.749zM2 6.125a1.874 1.874 0 1 1 .001 3.749A1.874 1.874 0 0 1 2 6.125z" })));
5
- }
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare function TickIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export function TickIcon(props) {
3
- return (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", width: "16", height: "16", fill: "currentColor" }, props),
4
- React.createElement("path", { fillRule: "evenodd", d: "M5.95 11.008L1.863 6.572.392 7.927l5.533 6.003 9.67-10.114-1.444-1.381z" })));
5
- }
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare function WarningIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export function WarningIcon(props) {
3
- return (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", width: "16", height: "16", fill: "currentColor" }, props),
4
- React.createElement("path", { fillRule: "evenodd", d: "M8 16A8 8 0 118 0a8 8 0 010 16zm0-7a1 1 0 001-1V4a1 1 0 10-2 0v4a1 1 0 001 1zm0 1a1 1 0 100 2 1 1 0 000-2z" })));
5
- }