@gravity-ui/dashkit 8.9.0 → 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 (35) hide show
  1. package/build/cjs/components/OverlayControls/OverlayControls.js +5 -7
  2. package/build/cjs/constants/common.d.ts +1 -0
  3. package/build/cjs/constants/common.js +2 -1
  4. package/build/esm/components/OverlayControls/OverlayControls.js +6 -8
  5. package/build/esm/constants/common.d.ts +1 -0
  6. package/build/esm/constants/common.js +1 -0
  7. package/package.json +1 -1
  8. package/build/cjs/icons/CloseIcon.d.ts +0 -2
  9. package/build/cjs/icons/CloseIcon.js +0 -10
  10. package/build/cjs/icons/CogIcon.d.ts +0 -2
  11. package/build/cjs/icons/CogIcon.js +0 -10
  12. package/build/cjs/icons/CopyIcon.d.ts +0 -2
  13. package/build/cjs/icons/CopyIcon.js +0 -10
  14. package/build/cjs/icons/DeleteIcon.d.ts +0 -2
  15. package/build/cjs/icons/DeleteIcon.js +0 -12
  16. package/build/cjs/icons/DotsIcon.d.ts +0 -2
  17. package/build/cjs/icons/DotsIcon.js +0 -10
  18. package/build/cjs/icons/TickIcon.d.ts +0 -2
  19. package/build/cjs/icons/TickIcon.js +0 -10
  20. package/build/cjs/icons/WarningIcon.d.ts +0 -2
  21. package/build/cjs/icons/WarningIcon.js +0 -10
  22. package/build/esm/icons/CloseIcon.d.ts +0 -2
  23. package/build/esm/icons/CloseIcon.js +0 -5
  24. package/build/esm/icons/CogIcon.d.ts +0 -2
  25. package/build/esm/icons/CogIcon.js +0 -5
  26. package/build/esm/icons/CopyIcon.d.ts +0 -2
  27. package/build/esm/icons/CopyIcon.js +0 -5
  28. package/build/esm/icons/DeleteIcon.d.ts +0 -2
  29. package/build/esm/icons/DeleteIcon.js +0 -7
  30. package/build/esm/icons/DotsIcon.d.ts +0 -2
  31. package/build/esm/icons/DotsIcon.js +0 -5
  32. package/build/esm/icons/TickIcon.d.ts +0 -2
  33. package/build/esm/icons/TickIcon.js +0 -5
  34. package/build/esm/icons/WarningIcon.d.ts +0 -2
  35. package/build/esm/icons/WarningIcon.js +0 -5
@@ -3,14 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OverlayControlsPosition = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importDefault(require("react"));
6
+ const icons_1 = require("@gravity-ui/icons");
6
7
  const uikit_1 = require("@gravity-ui/uikit");
7
8
  const noop_1 = tslib_1.__importDefault(require("lodash/noop"));
8
9
  const constants_1 = require("../../constants");
9
10
  const DashKitContext_1 = require("../../context/DashKitContext");
10
11
  const i18n_1 = require("../../i18n");
11
- const CloseIcon_1 = require("../../icons/CloseIcon");
12
- const CogIcon_1 = require("../../icons/CogIcon");
13
- const DotsIcon_1 = require("../../icons/DotsIcon");
14
12
  const cn_1 = require("../../utils/cn");
15
13
  const b = (0, cn_1.cn)(constants_1.OVERLAY_CONTROLS_CLASS_NAME);
16
14
  var OverlayControlsPosition;
@@ -34,7 +32,7 @@ class OverlayControls extends react_1.default.Component {
34
32
  const { title, handler, icon, iconSize, qa } = item;
35
33
  const onItemClickHandler = typeof handler === 'function' ? handler : noop_1.default;
36
34
  return (react_1.default.createElement(uikit_1.Button, { key: index, view: view, size: size, title: title, pin: this.getControlItemPinStyle(index, length), onClick: () => onItemClickHandler(this.props.configItem), qa: qa },
37
- react_1.default.createElement(uikit_1.Icon, { data: icon || CogIcon_1.CogIcon, size: icon ? iconSize : 24 })));
35
+ react_1.default.createElement(uikit_1.Icon, { data: icon || icons_1.Gear, size: icon ? iconSize : constants_1.OVERLAY_ICON_SIZE })));
38
36
  };
39
37
  this.getDefaultControls = () => {
40
38
  const { view, size } = this.props;
@@ -42,7 +40,7 @@ class OverlayControls extends react_1.default.Component {
42
40
  return null;
43
41
  }
44
42
  return (react_1.default.createElement(uikit_1.Button, { view: view, size: size, title: (0, i18n_1.i18n)('label_settings'), pin: "round-brick", onClick: this.onEditItem, qa: "dashkit-overlay-control-settings" },
45
- react_1.default.createElement(uikit_1.Icon, { data: CogIcon_1.CogIcon, size: "24" })));
43
+ react_1.default.createElement(uikit_1.Icon, { data: icons_1.Gear, size: constants_1.OVERLAY_ICON_SIZE })));
46
44
  };
47
45
  this.getCustomLeftOverlayControls = () => {
48
46
  // выбираем только items-ы у которых проставлено поле `allWidgetsControls:true`
@@ -157,7 +155,7 @@ class OverlayControls extends react_1.default.Component {
157
155
  return dropdown;
158
156
  }
159
157
  return (react_1.default.createElement(uikit_1.Button, { key: 'delete-control', view: view, size: size, title: (0, i18n_1.i18n)('label_delete'), pin: isOnlyOneItem ? 'round-round' : 'brick-round', onClick: this.onRemoveItem, qa: "dashkit-overlay-control-menu" },
160
- react_1.default.createElement(uikit_1.Icon, { data: CloseIcon_1.CloseIcon, size: "12" })));
158
+ react_1.default.createElement(uikit_1.Icon, { data: icons_1.Xmark, size: constants_1.OVERLAY_ICON_SIZE })));
161
159
  }
162
160
  isDefaultMenu(menu) {
163
161
  return menu === null || menu === void 0 ? void 0 : menu.every((item) => Object.values(constants_1.MenuItems).includes(String(item)));
@@ -205,7 +203,7 @@ class OverlayControls extends react_1.default.Component {
205
203
  return null;
206
204
  }
207
205
  return (react_1.default.createElement(uikit_1.DropdownMenu, { items: items, renderSwitcher: (props) => (react_1.default.createElement(uikit_1.Button, Object.assign({}, props, { view: view, size: size, pin: isOnlyOneItem ? 'round-round' : 'brick-round', qa: "dashkit-overlay-control-menu" }),
208
- react_1.default.createElement(uikit_1.Icon, { data: DotsIcon_1.DotsIcon, size: "16" }))) }));
206
+ react_1.default.createElement(uikit_1.Icon, { data: icons_1.Ellipsis, size: constants_1.OVERLAY_ICON_SIZE }))) }));
209
207
  }
210
208
  getControlItemPinStyle(index, itemsLength) {
211
209
  const isOnlyOneItem = itemsLength === 1;
@@ -2,6 +2,7 @@ export declare const COPIED_WIDGET_STORE_KEY = "dashCopiedItem";
2
2
  export declare const DEFAULT_NAMESPACE = "default";
3
3
  export declare const OVERLAY_CONTROLS_CLASS_NAME = "dashkit-overlay-controls";
4
4
  export declare const OVERLAY_CLASS_NAME = "dashkit-grid-item__overlay";
5
+ export declare const OVERLAY_ICON_SIZE = 16;
5
6
  export declare const TEMPORARY_ITEM_ID = "__dropping-elem__";
6
7
  export declare const MenuItems: {
7
8
  readonly Copy: "copy";
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.COMPACT_TYPE_HORIZONTAL_NOWRAP = exports.DEFAULT_GROUP = exports.DEFAULT_WIDGET_WIDTH = exports.DEFAULT_WIDGET_HEIGHT = exports.MenuItems = exports.TEMPORARY_ITEM_ID = exports.OVERLAY_CLASS_NAME = exports.OVERLAY_CONTROLS_CLASS_NAME = exports.DEFAULT_NAMESPACE = exports.COPIED_WIDGET_STORE_KEY = void 0;
3
+ exports.COMPACT_TYPE_HORIZONTAL_NOWRAP = exports.DEFAULT_GROUP = exports.DEFAULT_WIDGET_WIDTH = exports.DEFAULT_WIDGET_HEIGHT = exports.MenuItems = exports.TEMPORARY_ITEM_ID = exports.OVERLAY_ICON_SIZE = exports.OVERLAY_CLASS_NAME = exports.OVERLAY_CONTROLS_CLASS_NAME = exports.DEFAULT_NAMESPACE = exports.COPIED_WIDGET_STORE_KEY = void 0;
4
4
  exports.COPIED_WIDGET_STORE_KEY = 'dashCopiedItem';
5
5
  exports.DEFAULT_NAMESPACE = 'default';
6
6
  exports.OVERLAY_CONTROLS_CLASS_NAME = 'dashkit-overlay-controls';
7
7
  exports.OVERLAY_CLASS_NAME = 'dashkit-grid-item__overlay';
8
+ exports.OVERLAY_ICON_SIZE = 16;
8
9
  exports.TEMPORARY_ITEM_ID = '__dropping-elem__';
9
10
  exports.MenuItems = {
10
11
  Copy: 'copy',
@@ -1,12 +1,10 @@
1
1
  import React from 'react';
2
+ import { Ellipsis, Gear, Xmark } from '@gravity-ui/icons';
2
3
  import { Button, DropdownMenu, Icon, } from '@gravity-ui/uikit';
3
4
  import noop from 'lodash/noop';
4
- import { COPIED_WIDGET_STORE_KEY, MenuItems, OVERLAY_CONTROLS_CLASS_NAME } from '../../constants';
5
+ import { COPIED_WIDGET_STORE_KEY, MenuItems, OVERLAY_CONTROLS_CLASS_NAME, OVERLAY_ICON_SIZE, } from '../../constants';
5
6
  import { DashkitOvelayControlsContext } from '../../context/DashKitContext';
6
7
  import { i18n } from '../../i18n';
7
- import { CloseIcon } from '../../icons/CloseIcon';
8
- import { CogIcon } from '../../icons/CogIcon';
9
- import { DotsIcon } from '../../icons/DotsIcon';
10
8
  import { cn } from '../../utils/cn';
11
9
  import './OverlayControls.css';
12
10
  const b = cn(OVERLAY_CONTROLS_CLASS_NAME);
@@ -31,7 +29,7 @@ class OverlayControls extends React.Component {
31
29
  const { title, handler, icon, iconSize, qa } = item;
32
30
  const onItemClickHandler = typeof handler === 'function' ? handler : noop;
33
31
  return (React.createElement(Button, { key: index, view: view, size: size, title: title, pin: this.getControlItemPinStyle(index, length), onClick: () => onItemClickHandler(this.props.configItem), qa: qa },
34
- React.createElement(Icon, { data: icon || CogIcon, size: icon ? iconSize : 24 })));
32
+ React.createElement(Icon, { data: icon || Gear, size: icon ? iconSize : OVERLAY_ICON_SIZE })));
35
33
  };
36
34
  this.getDefaultControls = () => {
37
35
  const { view, size } = this.props;
@@ -39,7 +37,7 @@ class OverlayControls extends React.Component {
39
37
  return null;
40
38
  }
41
39
  return (React.createElement(Button, { view: view, size: size, title: i18n('label_settings'), pin: "round-brick", onClick: this.onEditItem, qa: "dashkit-overlay-control-settings" },
42
- React.createElement(Icon, { data: CogIcon, size: "24" })));
40
+ React.createElement(Icon, { data: Gear, size: OVERLAY_ICON_SIZE })));
43
41
  };
44
42
  this.getCustomLeftOverlayControls = () => {
45
43
  // выбираем только items-ы у которых проставлено поле `allWidgetsControls:true`
@@ -154,7 +152,7 @@ class OverlayControls extends React.Component {
154
152
  return dropdown;
155
153
  }
156
154
  return (React.createElement(Button, { key: 'delete-control', view: view, size: size, title: i18n('label_delete'), pin: isOnlyOneItem ? 'round-round' : 'brick-round', onClick: this.onRemoveItem, qa: "dashkit-overlay-control-menu" },
157
- React.createElement(Icon, { data: CloseIcon, size: "12" })));
155
+ React.createElement(Icon, { data: Xmark, size: OVERLAY_ICON_SIZE })));
158
156
  }
159
157
  isDefaultMenu(menu) {
160
158
  return menu === null || menu === void 0 ? void 0 : menu.every((item) => Object.values(MenuItems).includes(String(item)));
@@ -202,7 +200,7 @@ class OverlayControls extends React.Component {
202
200
  return null;
203
201
  }
204
202
  return (React.createElement(DropdownMenu, { items: items, renderSwitcher: (props) => (React.createElement(Button, Object.assign({}, props, { view: view, size: size, pin: isOnlyOneItem ? 'round-round' : 'brick-round', qa: "dashkit-overlay-control-menu" }),
205
- React.createElement(Icon, { data: DotsIcon, size: "16" }))) }));
203
+ React.createElement(Icon, { data: Ellipsis, size: OVERLAY_ICON_SIZE }))) }));
206
204
  }
207
205
  getControlItemPinStyle(index, itemsLength) {
208
206
  const isOnlyOneItem = itemsLength === 1;
@@ -2,6 +2,7 @@ export declare const COPIED_WIDGET_STORE_KEY = "dashCopiedItem";
2
2
  export declare const DEFAULT_NAMESPACE = "default";
3
3
  export declare const OVERLAY_CONTROLS_CLASS_NAME = "dashkit-overlay-controls";
4
4
  export declare const OVERLAY_CLASS_NAME = "dashkit-grid-item__overlay";
5
+ export declare const OVERLAY_ICON_SIZE = 16;
5
6
  export declare const TEMPORARY_ITEM_ID = "__dropping-elem__";
6
7
  export declare const MenuItems: {
7
8
  readonly Copy: "copy";
@@ -2,6 +2,7 @@ export const COPIED_WIDGET_STORE_KEY = 'dashCopiedItem';
2
2
  export const DEFAULT_NAMESPACE = 'default';
3
3
  export const OVERLAY_CONTROLS_CLASS_NAME = 'dashkit-overlay-controls';
4
4
  export const OVERLAY_CLASS_NAME = 'dashkit-grid-item__overlay';
5
+ export const OVERLAY_ICON_SIZE = 16;
5
6
  export const TEMPORARY_ITEM_ID = '__dropping-elem__';
6
7
  export const MenuItems = {
7
8
  Copy: 'copy',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/dashkit",
3
- "version": "8.9.0",
3
+ "version": "8.9.1",
4
4
  "description": "Library for rendering dashboard grid layout",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare function CloseIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CloseIcon = void 0;
4
- const tslib_1 = require("tslib");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- function CloseIcon(props) {
7
- return (react_1.default.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 10 10", width: "10", height: "10", fill: "currentColor" }, props),
8
- react_1.default.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" })));
9
- }
10
- exports.CloseIcon = CloseIcon;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare function CogIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CogIcon = void 0;
4
- const tslib_1 = require("tslib");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- function CogIcon(props) {
7
- return (react_1.default.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24", fill: "currentColor" }, props),
8
- react_1.default.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" })));
9
- }
10
- exports.CogIcon = CogIcon;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare function CopyIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CopyIcon = void 0;
4
- const tslib_1 = require("tslib");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- function CopyIcon(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", { d: "M7 14h7V7H7v7zM5 5h11v11H5V5zm4-2v1-1zm1-3H0v10V0h10zM0 10v1h4-4v-1zM10 0h1v4-4h-1zM3 9h1-1zM0 0h11v4H9V2H2v7h2v2H0V0z" })));
9
- }
10
- exports.CopyIcon = CopyIcon;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare function DeleteIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteIcon = void 0;
4
- const tslib_1 = require("tslib");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- function DeleteIcon(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("g", null,
9
- react_1.default.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" }),
10
- react_1.default.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" }))));
11
- }
12
- exports.DeleteIcon = DeleteIcon;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare function DotsIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DotsIcon = void 0;
4
- const tslib_1 = require("tslib");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- function DotsIcon(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", { 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" })));
9
- }
10
- exports.DotsIcon = DotsIcon;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare function TickIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TickIcon = void 0;
4
- const tslib_1 = require("tslib");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- function TickIcon(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: "M5.95 11.008L1.863 6.572.392 7.927l5.533 6.003 9.67-10.114-1.444-1.381z" })));
9
- }
10
- exports.TickIcon = TickIcon;
@@ -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
- }