@semcore/icon 2.28.0 → 2.29.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/AppBlock/l/index.d.ts +4 -6
- package/AppBlock/l/index.js +9 -44
- package/AppBlock/l/index.mjs +6 -27
- package/AppBlock/m/index.d.ts +4 -6
- package/AppBlock/m/index.js +9 -48
- package/AppBlock/m/index.mjs +6 -31
- package/AppsBlock/l/index.d.ts +7 -0
- package/AppsBlock/l/index.js +49 -0
- package/AppsBlock/l/index.mjs +29 -0
- package/AppsBlock/m/index.d.ts +7 -0
- package/AppsBlock/m/index.js +53 -0
- package/AppsBlock/m/index.mjs +33 -0
- package/CHANGELOG.md +18 -0
- package/ClusteredList/l/index.d.ts +7 -0
- package/ClusteredList/l/index.js +52 -0
- package/ClusteredList/l/index.mjs +32 -0
- package/ClusteredList/m/index.d.ts +7 -0
- package/ClusteredList/m/index.js +52 -0
- package/ClusteredList/m/index.mjs +32 -0
- package/README.md +2 -2
- package/lib/cjs/Icon.js +7 -7
- package/lib/cjs/Icon.js.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/es6/Icon.js +7 -7
- package/lib/es6/Icon.js.map +1 -1
- package/lib/es6/index.js.map +1 -1
- package/package.json +2 -2
- package/svg-new/icon/{AppBlock → AppsBlock}/l.svg +0 -0
- package/svg-new/icon/{AppBlock → AppsBlock}/m.svg +0 -0
- package/svg-new/icon/ClusteredList/l.svg +1 -0
- package/svg-new/icon/ClusteredList/m.svg +1 -0
- package/src/Icon.jsx +0 -49
- package/src/index.d.ts +0 -17
- package/src/index.js +0 -1
- package/src/style/icon.shadow.css +0 -23
package/AppBlock/l/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare const _default: import("@semcore/core").ComponentType<Merge<IIconProps, React.SVGAttributes<SVGElement>>, {}, {}>;
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated Please, use `AppsBlock/l` instead. This icon will be removed in the next major release
|
|
3
|
+
* */
|
|
4
|
+
declare const _default: typeof import('../../AppsBlock/l');
|
|
6
5
|
export default _default;
|
|
7
|
-
|
package/AppBlock/l/index.js
CHANGED
|
@@ -1,49 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
3
|
+
Object.defineProperty(exports, '__esModule', {
|
|
4
|
+
value: true,
|
|
7
5
|
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
|
|
10
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
|
|
12
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
|
-
|
|
14
|
-
var _react = _interopRequireDefault(require("react"));
|
|
15
|
-
|
|
16
|
-
var _core = require("@semcore/core");
|
|
17
|
-
|
|
18
|
-
var _icon = _interopRequireDefault(require("@semcore/icon"));
|
|
19
|
-
|
|
20
|
-
var _excluded = ["width", "height", "viewBox"];
|
|
21
|
-
|
|
22
|
-
function AppBlock(_ref, ref) {
|
|
23
|
-
var _ref$width = _ref.width,
|
|
24
|
-
width = _ref$width === void 0 ? '24' : _ref$width,
|
|
25
|
-
_ref$height = _ref.height,
|
|
26
|
-
height = _ref$height === void 0 ? '24' : _ref$height,
|
|
27
|
-
_ref$viewBox = _ref.viewBox,
|
|
28
|
-
viewBox = _ref$viewBox === void 0 ? '0 0 24 24' : _ref$viewBox,
|
|
29
|
-
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
30
|
-
return /*#__PURE__*/_react["default"].createElement(_icon["default"], (0, _extends2["default"])({
|
|
31
|
-
ref: ref,
|
|
32
|
-
"data-name": "AppBlock",
|
|
33
|
-
"data-group": "l",
|
|
34
|
-
width: width,
|
|
35
|
-
height: height,
|
|
36
|
-
viewBox: viewBox
|
|
37
|
-
}, props), /*#__PURE__*/_react["default"].createElement("path", {
|
|
38
|
-
fillRule: "evenodd",
|
|
39
|
-
clipRule: "evenodd",
|
|
40
|
-
d: "M3 4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Zm2 5V5h4v4H5ZM3 14a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-6Zm2 5v-4h4v4H5ZM13 4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1V4Zm2 5V5h4v4h-4ZM17 13a1 1 0 0 0-1 1v2h-2a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2h-2v-2a1 1 0 0 0-1-1Z",
|
|
41
|
-
shapeRendering: "geometricPrecision"
|
|
42
|
-
}));
|
|
43
|
-
}
|
|
44
6
|
|
|
45
|
-
|
|
7
|
+
var AppsBlock = require('../../AppsBlock/l');
|
|
46
8
|
|
|
47
|
-
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Please, use `AppsBlock/l` instead. This icon will be removed in the next major release
|
|
11
|
+
* */
|
|
12
|
+
var AppBlock = AppsBlock;
|
|
48
13
|
|
|
49
|
-
exports[
|
|
14
|
+
exports['default'] = AppBlock;
|
package/AppBlock/l/index.mjs
CHANGED
|
@@ -1,29 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import AppsBlock from '../../AppsBlock/l';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Please, use `AppsBlock/l` instead. This icon will be removed in the next major release
|
|
5
|
+
* */
|
|
6
|
+
const AppBlock = AppsBlock;
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
width = '24',
|
|
9
|
-
height = '24',
|
|
10
|
-
viewBox = '0 0 24 24',
|
|
11
|
-
...props
|
|
12
|
-
}, ref) {
|
|
13
|
-
return /*#__PURE__*/React.createElement(Icon, _extends({
|
|
14
|
-
ref: ref,
|
|
15
|
-
"data-name": "AppBlock",
|
|
16
|
-
"data-group": "l",
|
|
17
|
-
width: width,
|
|
18
|
-
height: height,
|
|
19
|
-
viewBox: viewBox
|
|
20
|
-
}, props), /*#__PURE__*/React.createElement("path", {
|
|
21
|
-
fillRule: "evenodd",
|
|
22
|
-
clipRule: "evenodd",
|
|
23
|
-
d: "M3 4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Zm2 5V5h4v4H5ZM3 14a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-6Zm2 5v-4h4v4H5ZM13 4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1V4Zm2 5V5h4v4h-4ZM17 13a1 1 0 0 0-1 1v2h-2a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2h-2v-2a1 1 0 0 0-1-1Z",
|
|
24
|
-
shapeRendering: "geometricPrecision"
|
|
25
|
-
}));
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
AppBlock.displayName = 'AppBlock';
|
|
29
|
-
export default createBaseComponent(AppBlock);
|
|
8
|
+
export default AppBlock;
|
package/AppBlock/m/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare const _default: import("@semcore/core").ComponentType<Merge<IIconProps, React.SVGAttributes<SVGElement>>, {}, {}>;
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated Please, use `AppsBlock/m` instead. This icon will be removed in the next major release
|
|
3
|
+
* */
|
|
4
|
+
declare const _default: typeof import('../../AppsBlock/m');
|
|
6
5
|
export default _default;
|
|
7
|
-
|
package/AppBlock/m/index.js
CHANGED
|
@@ -1,53 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
3
|
+
Object.defineProperty(exports, '__esModule', {
|
|
4
|
+
value: true,
|
|
7
5
|
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
|
|
10
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
|
|
12
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
|
-
|
|
14
|
-
var _react = _interopRequireDefault(require("react"));
|
|
15
|
-
|
|
16
|
-
var _core = require("@semcore/core");
|
|
17
|
-
|
|
18
|
-
var _icon = _interopRequireDefault(require("@semcore/icon"));
|
|
19
|
-
|
|
20
|
-
var _excluded = ["width", "height", "viewBox"];
|
|
21
|
-
|
|
22
|
-
function AppBlock(_ref, ref) {
|
|
23
|
-
var _ref$width = _ref.width,
|
|
24
|
-
width = _ref$width === void 0 ? '16' : _ref$width,
|
|
25
|
-
_ref$height = _ref.height,
|
|
26
|
-
height = _ref$height === void 0 ? '16' : _ref$height,
|
|
27
|
-
_ref$viewBox = _ref.viewBox,
|
|
28
|
-
viewBox = _ref$viewBox === void 0 ? '0 0 16 16' : _ref$viewBox,
|
|
29
|
-
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
30
|
-
return /*#__PURE__*/_react["default"].createElement(_icon["default"], (0, _extends2["default"])({
|
|
31
|
-
ref: ref,
|
|
32
|
-
"data-name": "AppBlock",
|
|
33
|
-
"data-group": "m",
|
|
34
|
-
width: width,
|
|
35
|
-
height: height,
|
|
36
|
-
viewBox: viewBox
|
|
37
|
-
}, props), /*#__PURE__*/_react["default"].createElement("path", {
|
|
38
|
-
fillRule: "evenodd",
|
|
39
|
-
clipRule: "evenodd",
|
|
40
|
-
d: "M1 2a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2Zm2 3V3h2v2H3ZM9 2a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V2Zm2 3V3h2v2h-2ZM1 10a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-4Zm2 3v-2h2v2H3Z",
|
|
41
|
-
fill: "#191B23",
|
|
42
|
-
shapeRendering: "geometricPrecision"
|
|
43
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
44
|
-
d: "M11 10a1 1 0 1 1 2 0v1h1a1 1 0 1 1 0 2h-1v1a1 1 0 1 1-2 0v-1h-1a1 1 0 1 1 0-2h1v-1Z",
|
|
45
|
-
shapeRendering: "geometricPrecision"
|
|
46
|
-
}));
|
|
47
|
-
}
|
|
48
6
|
|
|
49
|
-
|
|
7
|
+
var AppsBlock = require('../../AppsBlock/m');
|
|
50
8
|
|
|
51
|
-
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Please, use `AppsBlock/m` instead. This icon will be removed in the next major release
|
|
11
|
+
* */
|
|
12
|
+
var AppBlock = AppsBlock;
|
|
52
13
|
|
|
53
|
-
exports[
|
|
14
|
+
exports['default'] = AppBlock;
|
package/AppBlock/m/index.mjs
CHANGED
|
@@ -1,33 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import AppsBlock from '../../AppsBlock/m';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Please, use `AppsBlock/m` instead. This icon will be removed in the next major release
|
|
5
|
+
* */
|
|
6
|
+
const AppBlock = AppsBlock;
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
width = '16',
|
|
9
|
-
height = '16',
|
|
10
|
-
viewBox = '0 0 16 16',
|
|
11
|
-
...props
|
|
12
|
-
}, ref) {
|
|
13
|
-
return /*#__PURE__*/React.createElement(Icon, _extends({
|
|
14
|
-
ref: ref,
|
|
15
|
-
"data-name": "AppBlock",
|
|
16
|
-
"data-group": "m",
|
|
17
|
-
width: width,
|
|
18
|
-
height: height,
|
|
19
|
-
viewBox: viewBox
|
|
20
|
-
}, props), /*#__PURE__*/React.createElement("path", {
|
|
21
|
-
fillRule: "evenodd",
|
|
22
|
-
clipRule: "evenodd",
|
|
23
|
-
d: "M1 2a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2Zm2 3V3h2v2H3ZM9 2a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V2Zm2 3V3h2v2h-2ZM1 10a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-4Zm2 3v-2h2v2H3Z",
|
|
24
|
-
fill: "#191B23",
|
|
25
|
-
shapeRendering: "geometricPrecision"
|
|
26
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
27
|
-
d: "M11 10a1 1 0 1 1 2 0v1h1a1 1 0 1 1 0 2h-1v1a1 1 0 1 1-2 0v-1h-1a1 1 0 1 1 0-2h1v-1Z",
|
|
28
|
-
shapeRendering: "geometricPrecision"
|
|
29
|
-
}));
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
AppBlock.displayName = 'AppBlock';
|
|
33
|
-
export default createBaseComponent(AppBlock);
|
|
8
|
+
export default AppBlock;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Merge } from '@semcore/core';
|
|
4
|
+
import { IIconProps } from '@semcore/icon';
|
|
5
|
+
declare const _default: import("@semcore/core").ComponentType<Merge<IIconProps, React.SVGAttributes<SVGElement>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
+
|
|
12
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
|
+
|
|
14
|
+
var _react = _interopRequireDefault(require("react"));
|
|
15
|
+
|
|
16
|
+
var _core = require("@semcore/core");
|
|
17
|
+
|
|
18
|
+
var _icon = _interopRequireDefault(require("@semcore/icon"));
|
|
19
|
+
|
|
20
|
+
var _excluded = ["width", "height", "viewBox"];
|
|
21
|
+
|
|
22
|
+
function AppsBlock(_ref, ref) {
|
|
23
|
+
var _ref$width = _ref.width,
|
|
24
|
+
width = _ref$width === void 0 ? '24' : _ref$width,
|
|
25
|
+
_ref$height = _ref.height,
|
|
26
|
+
height = _ref$height === void 0 ? '24' : _ref$height,
|
|
27
|
+
_ref$viewBox = _ref.viewBox,
|
|
28
|
+
viewBox = _ref$viewBox === void 0 ? '0 0 24 24' : _ref$viewBox,
|
|
29
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement(_icon["default"], (0, _extends2["default"])({
|
|
31
|
+
ref: ref,
|
|
32
|
+
"data-name": "AppsBlock",
|
|
33
|
+
"data-group": "l",
|
|
34
|
+
width: width,
|
|
35
|
+
height: height,
|
|
36
|
+
viewBox: viewBox
|
|
37
|
+
}, props), /*#__PURE__*/_react["default"].createElement("path", {
|
|
38
|
+
fillRule: "evenodd",
|
|
39
|
+
clipRule: "evenodd",
|
|
40
|
+
d: "M3 4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Zm2 5V5h4v4H5ZM3 14a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-6Zm2 5v-4h4v4H5ZM13 4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1V4Zm2 5V5h4v4h-4ZM17 13a1 1 0 0 0-1 1v2h-2a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2h-2v-2a1 1 0 0 0-1-1Z",
|
|
41
|
+
shapeRendering: "geometricPrecision"
|
|
42
|
+
}));
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
AppsBlock.displayName = 'AppsBlock';
|
|
46
|
+
|
|
47
|
+
var _default = (0, _core.createBaseComponent)(AppsBlock);
|
|
48
|
+
|
|
49
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createBaseComponent } from '@semcore/core';
|
|
5
|
+
import Icon from '@semcore/icon';
|
|
6
|
+
|
|
7
|
+
function AppsBlock({
|
|
8
|
+
width = '24',
|
|
9
|
+
height = '24',
|
|
10
|
+
viewBox = '0 0 24 24',
|
|
11
|
+
...props
|
|
12
|
+
}, ref) {
|
|
13
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({
|
|
14
|
+
ref: ref,
|
|
15
|
+
"data-name": "AppsBlock",
|
|
16
|
+
"data-group": "l",
|
|
17
|
+
width: width,
|
|
18
|
+
height: height,
|
|
19
|
+
viewBox: viewBox
|
|
20
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
21
|
+
fillRule: "evenodd",
|
|
22
|
+
clipRule: "evenodd",
|
|
23
|
+
d: "M3 4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Zm2 5V5h4v4H5ZM3 14a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-6Zm2 5v-4h4v4H5ZM13 4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1V4Zm2 5V5h4v4h-4ZM17 13a1 1 0 0 0-1 1v2h-2a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2h-2v-2a1 1 0 0 0-1-1Z",
|
|
24
|
+
shapeRendering: "geometricPrecision"
|
|
25
|
+
}));
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
AppsBlock.displayName = 'AppsBlock';
|
|
29
|
+
export default createBaseComponent(AppsBlock);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Merge } from '@semcore/core';
|
|
4
|
+
import { IIconProps } from '@semcore/icon';
|
|
5
|
+
declare const _default: import("@semcore/core").ComponentType<Merge<IIconProps, React.SVGAttributes<SVGElement>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
+
|
|
12
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
|
+
|
|
14
|
+
var _react = _interopRequireDefault(require("react"));
|
|
15
|
+
|
|
16
|
+
var _core = require("@semcore/core");
|
|
17
|
+
|
|
18
|
+
var _icon = _interopRequireDefault(require("@semcore/icon"));
|
|
19
|
+
|
|
20
|
+
var _excluded = ["width", "height", "viewBox"];
|
|
21
|
+
|
|
22
|
+
function AppsBlock(_ref, ref) {
|
|
23
|
+
var _ref$width = _ref.width,
|
|
24
|
+
width = _ref$width === void 0 ? '16' : _ref$width,
|
|
25
|
+
_ref$height = _ref.height,
|
|
26
|
+
height = _ref$height === void 0 ? '16' : _ref$height,
|
|
27
|
+
_ref$viewBox = _ref.viewBox,
|
|
28
|
+
viewBox = _ref$viewBox === void 0 ? '0 0 16 16' : _ref$viewBox,
|
|
29
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement(_icon["default"], (0, _extends2["default"])({
|
|
31
|
+
ref: ref,
|
|
32
|
+
"data-name": "AppsBlock",
|
|
33
|
+
"data-group": "m",
|
|
34
|
+
width: width,
|
|
35
|
+
height: height,
|
|
36
|
+
viewBox: viewBox
|
|
37
|
+
}, props), /*#__PURE__*/_react["default"].createElement("path", {
|
|
38
|
+
fillRule: "evenodd",
|
|
39
|
+
clipRule: "evenodd",
|
|
40
|
+
d: "M1 2a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2Zm2 3V3h2v2H3ZM9 2a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V2Zm2 3V3h2v2h-2ZM1 10a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-4Zm2 3v-2h2v2H3Z",
|
|
41
|
+
fill: "#191B23",
|
|
42
|
+
shapeRendering: "geometricPrecision"
|
|
43
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
44
|
+
d: "M11 10a1 1 0 1 1 2 0v1h1a1 1 0 1 1 0 2h-1v1a1 1 0 1 1-2 0v-1h-1a1 1 0 1 1 0-2h1v-1Z",
|
|
45
|
+
shapeRendering: "geometricPrecision"
|
|
46
|
+
}));
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
AppsBlock.displayName = 'AppsBlock';
|
|
50
|
+
|
|
51
|
+
var _default = (0, _core.createBaseComponent)(AppsBlock);
|
|
52
|
+
|
|
53
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createBaseComponent } from '@semcore/core';
|
|
5
|
+
import Icon from '@semcore/icon';
|
|
6
|
+
|
|
7
|
+
function AppsBlock({
|
|
8
|
+
width = '16',
|
|
9
|
+
height = '16',
|
|
10
|
+
viewBox = '0 0 16 16',
|
|
11
|
+
...props
|
|
12
|
+
}, ref) {
|
|
13
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({
|
|
14
|
+
ref: ref,
|
|
15
|
+
"data-name": "AppsBlock",
|
|
16
|
+
"data-group": "m",
|
|
17
|
+
width: width,
|
|
18
|
+
height: height,
|
|
19
|
+
viewBox: viewBox
|
|
20
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
21
|
+
fillRule: "evenodd",
|
|
22
|
+
clipRule: "evenodd",
|
|
23
|
+
d: "M1 2a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2Zm2 3V3h2v2H3ZM9 2a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V2Zm2 3V3h2v2h-2ZM1 10a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-4Zm2 3v-2h2v2H3Z",
|
|
24
|
+
fill: "#191B23",
|
|
25
|
+
shapeRendering: "geometricPrecision"
|
|
26
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
d: "M11 10a1 1 0 1 1 2 0v1h1a1 1 0 1 1 0 2h-1v1a1 1 0 1 1-2 0v-1h-1a1 1 0 1 1 0-2h1v-1Z",
|
|
28
|
+
shapeRendering: "geometricPrecision"
|
|
29
|
+
}));
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
AppsBlock.displayName = 'AppsBlock';
|
|
33
|
+
export default createBaseComponent(AppsBlock);
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
+
## [2.29.2] - 2022-07-25
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Fixed typo for `AppsBlock` icon name.
|
|
10
|
+
|
|
11
|
+
## [2.29.1] - 2022-07-22
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Version patch update due to children dependencies update (`@semcore/utils` [3.34.0 ~> 3.35.0], `@semcore/flex-box` [4.5.6 ~> 4.5.7]).
|
|
16
|
+
|
|
17
|
+
## [2.29.0] - 2022-07-21
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- Added icon `ClusteredList`.
|
|
22
|
+
|
|
5
23
|
## [2.28.0] - 2022-07-07
|
|
6
24
|
|
|
7
25
|
### Added
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Merge } from '@semcore/core';
|
|
4
|
+
import { IIconProps } from '@semcore/icon';
|
|
5
|
+
declare const _default: import("@semcore/core").ComponentType<Merge<IIconProps, React.SVGAttributes<SVGElement>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
+
|
|
12
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
|
+
|
|
14
|
+
var _react = _interopRequireDefault(require("react"));
|
|
15
|
+
|
|
16
|
+
var _core = require("@semcore/core");
|
|
17
|
+
|
|
18
|
+
var _icon = _interopRequireDefault(require("@semcore/icon"));
|
|
19
|
+
|
|
20
|
+
var _excluded = ["width", "height", "viewBox"];
|
|
21
|
+
|
|
22
|
+
function ClusteredList(_ref, ref) {
|
|
23
|
+
var _ref$width = _ref.width,
|
|
24
|
+
width = _ref$width === void 0 ? '24' : _ref$width,
|
|
25
|
+
_ref$height = _ref.height,
|
|
26
|
+
height = _ref$height === void 0 ? '24' : _ref$height,
|
|
27
|
+
_ref$viewBox = _ref.viewBox,
|
|
28
|
+
viewBox = _ref$viewBox === void 0 ? '0 0 24 24' : _ref$viewBox,
|
|
29
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement(_icon["default"], (0, _extends2["default"])({
|
|
31
|
+
ref: ref,
|
|
32
|
+
"data-name": "ClusteredList",
|
|
33
|
+
"data-group": "l",
|
|
34
|
+
width: width,
|
|
35
|
+
height: height,
|
|
36
|
+
viewBox: viewBox
|
|
37
|
+
}, props), /*#__PURE__*/_react["default"].createElement("path", {
|
|
38
|
+
fillRule: "evenodd",
|
|
39
|
+
clipRule: "evenodd",
|
|
40
|
+
d: "M12 9a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm0-2a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM4.5 22a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm0-2a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM19.5 22a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm0-2a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z",
|
|
41
|
+
shapeRendering: "geometricPrecision"
|
|
42
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
43
|
+
d: "M16.515 7.65c.309-.646.483-1.37.485-2.134a8.991 8.991 0 0 1 3.972 8.204 4.998 4.998 0 0 0-1.992-.193 6.985 6.985 0 0 0-2.465-5.876ZM14.6 19.501c.137.672.408 1.296.785 1.84A8.974 8.974 0 0 1 12 22a8.973 8.973 0 0 1-3.385-.658 4.973 4.973 0 0 0 .785-1.84A6.982 6.982 0 0 0 12 20c.919 0 1.796-.177 2.6-.499ZM4.5 13.5c-.512 0-1.006.077-1.472.22A8.991 8.991 0 0 1 7 5.515a4.98 4.98 0 0 0 .485 2.136 6.985 6.985 0 0 0-2.465 5.876 5.066 5.066 0 0 0-.52-.027Z",
|
|
44
|
+
shapeRendering: "geometricPrecision"
|
|
45
|
+
}));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
ClusteredList.displayName = 'ClusteredList';
|
|
49
|
+
|
|
50
|
+
var _default = (0, _core.createBaseComponent)(ClusteredList);
|
|
51
|
+
|
|
52
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createBaseComponent } from '@semcore/core';
|
|
5
|
+
import Icon from '@semcore/icon';
|
|
6
|
+
|
|
7
|
+
function ClusteredList({
|
|
8
|
+
width = '24',
|
|
9
|
+
height = '24',
|
|
10
|
+
viewBox = '0 0 24 24',
|
|
11
|
+
...props
|
|
12
|
+
}, ref) {
|
|
13
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({
|
|
14
|
+
ref: ref,
|
|
15
|
+
"data-name": "ClusteredList",
|
|
16
|
+
"data-group": "l",
|
|
17
|
+
width: width,
|
|
18
|
+
height: height,
|
|
19
|
+
viewBox: viewBox
|
|
20
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
21
|
+
fillRule: "evenodd",
|
|
22
|
+
clipRule: "evenodd",
|
|
23
|
+
d: "M12 9a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm0-2a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM4.5 22a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm0-2a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM19.5 22a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm0-2a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z",
|
|
24
|
+
shapeRendering: "geometricPrecision"
|
|
25
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
26
|
+
d: "M16.515 7.65c.309-.646.483-1.37.485-2.134a8.991 8.991 0 0 1 3.972 8.204 4.998 4.998 0 0 0-1.992-.193 6.985 6.985 0 0 0-2.465-5.876ZM14.6 19.501c.137.672.408 1.296.785 1.84A8.974 8.974 0 0 1 12 22a8.973 8.973 0 0 1-3.385-.658 4.973 4.973 0 0 0 .785-1.84A6.982 6.982 0 0 0 12 20c.919 0 1.796-.177 2.6-.499ZM4.5 13.5c-.512 0-1.006.077-1.472.22A8.991 8.991 0 0 1 7 5.515a4.98 4.98 0 0 0 .485 2.136 6.985 6.985 0 0 0-2.465 5.876 5.066 5.066 0 0 0-.52-.027Z",
|
|
27
|
+
shapeRendering: "geometricPrecision"
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
ClusteredList.displayName = 'ClusteredList';
|
|
32
|
+
export default createBaseComponent(ClusteredList);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Merge } from '@semcore/core';
|
|
4
|
+
import { IIconProps } from '@semcore/icon';
|
|
5
|
+
declare const _default: import("@semcore/core").ComponentType<Merge<IIconProps, React.SVGAttributes<SVGElement>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
+
|
|
12
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
|
+
|
|
14
|
+
var _react = _interopRequireDefault(require("react"));
|
|
15
|
+
|
|
16
|
+
var _core = require("@semcore/core");
|
|
17
|
+
|
|
18
|
+
var _icon = _interopRequireDefault(require("@semcore/icon"));
|
|
19
|
+
|
|
20
|
+
var _excluded = ["width", "height", "viewBox"];
|
|
21
|
+
|
|
22
|
+
function ClusteredList(_ref, ref) {
|
|
23
|
+
var _ref$width = _ref.width,
|
|
24
|
+
width = _ref$width === void 0 ? '16' : _ref$width,
|
|
25
|
+
_ref$height = _ref.height,
|
|
26
|
+
height = _ref$height === void 0 ? '16' : _ref$height,
|
|
27
|
+
_ref$viewBox = _ref.viewBox,
|
|
28
|
+
viewBox = _ref$viewBox === void 0 ? '0 0 16 16' : _ref$viewBox,
|
|
29
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement(_icon["default"], (0, _extends2["default"])({
|
|
31
|
+
ref: ref,
|
|
32
|
+
"data-name": "ClusteredList",
|
|
33
|
+
"data-group": "m",
|
|
34
|
+
width: width,
|
|
35
|
+
height: height,
|
|
36
|
+
viewBox: viewBox
|
|
37
|
+
}, props), /*#__PURE__*/_react["default"].createElement("path", {
|
|
38
|
+
fillRule: "evenodd",
|
|
39
|
+
clipRule: "evenodd",
|
|
40
|
+
d: "M8 5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm0-2a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1ZM2.5 14a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm0-2a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1ZM13.5 14a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm0-2a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z",
|
|
41
|
+
shapeRendering: "geometricPrecision"
|
|
42
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
43
|
+
d: "M11.5 2.5c0 .573-.138 1.114-.382 1.591A4.99 4.99 0 0 1 13 8v.035a3.529 3.529 0 0 1 1.992.298 6.998 6.998 0 0 0-3.542-6.425c.033.192.05.39.05.592ZM4.5 2.5c0 .573.138 1.114.382 1.591A4.99 4.99 0 0 0 3 8v.035a3.53 3.53 0 0 0-1.992.298A6.998 6.998 0 0 1 4.55 1.908c-.033.192-.05.39-.05.592ZM4.735 14.194a3.503 3.503 0 0 0 1.115-1.678A4.98 4.98 0 0 0 8 13a4.98 4.98 0 0 0 2.15-.484 3.504 3.504 0 0 0 1.115 1.678A6.968 6.968 0 0 1 8 15c-1.18 0-2.29-.291-3.265-.806Z",
|
|
44
|
+
shapeRendering: "geometricPrecision"
|
|
45
|
+
}));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
ClusteredList.displayName = 'ClusteredList';
|
|
49
|
+
|
|
50
|
+
var _default = (0, _core.createBaseComponent)(ClusteredList);
|
|
51
|
+
|
|
52
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createBaseComponent } from '@semcore/core';
|
|
5
|
+
import Icon from '@semcore/icon';
|
|
6
|
+
|
|
7
|
+
function ClusteredList({
|
|
8
|
+
width = '16',
|
|
9
|
+
height = '16',
|
|
10
|
+
viewBox = '0 0 16 16',
|
|
11
|
+
...props
|
|
12
|
+
}, ref) {
|
|
13
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({
|
|
14
|
+
ref: ref,
|
|
15
|
+
"data-name": "ClusteredList",
|
|
16
|
+
"data-group": "m",
|
|
17
|
+
width: width,
|
|
18
|
+
height: height,
|
|
19
|
+
viewBox: viewBox
|
|
20
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
21
|
+
fillRule: "evenodd",
|
|
22
|
+
clipRule: "evenodd",
|
|
23
|
+
d: "M8 5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm0-2a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1ZM2.5 14a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm0-2a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1ZM13.5 14a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm0-2a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z",
|
|
24
|
+
shapeRendering: "geometricPrecision"
|
|
25
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
26
|
+
d: "M11.5 2.5c0 .573-.138 1.114-.382 1.591A4.99 4.99 0 0 1 13 8v.035a3.529 3.529 0 0 1 1.992.298 6.998 6.998 0 0 0-3.542-6.425c.033.192.05.39.05.592ZM4.5 2.5c0 .573.138 1.114.382 1.591A4.99 4.99 0 0 0 3 8v.035a3.53 3.53 0 0 0-1.992.298A6.998 6.998 0 0 1 4.55 1.908c-.033.192-.05.39-.05.592ZM4.735 14.194a3.503 3.503 0 0 0 1.115-1.678A4.98 4.98 0 0 0 8 13a4.98 4.98 0 0 0 2.15-.484 3.504 3.504 0 0 0 1.115 1.678A6.968 6.968 0 0 1 8 15c-1.18 0-2.29-.291-3.265-.806Z",
|
|
27
|
+
shapeRendering: "geometricPrecision"
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
ClusteredList.displayName = 'ClusteredList';
|
|
32
|
+
export default createBaseComponent(ClusteredList);
|
package/README.md
CHANGED
|
@@ -42,12 +42,12 @@ of the components that is discussed below. There should only be one version of t
|
|
|
42
42
|
|
|
43
43
|
You can use the package the same way but without `/ui/` in the import path.
|
|
44
44
|
|
|
45
|
-
</details>
|
|
46
|
-
|
|
47
45
|
```jsx
|
|
48
46
|
import Accordion from '@semcore/icon';
|
|
49
47
|
```
|
|
50
48
|
|
|
49
|
+
</details>
|
|
50
|
+
|
|
51
51
|
## 👤 Author
|
|
52
52
|
|
|
53
53
|
[UI-kit team](https://github.com/semrush/intergalactic/blob/master/MAINTAINERS) and [others ❤️](https://github.com/semrush/intergalactic/graphs/contributors)
|
package/lib/cjs/Icon.js
CHANGED
|
@@ -46,16 +46,16 @@ var styles = (
|
|
|
46
46
|
/*__reshadow_css_start__*/
|
|
47
47
|
_core.sstyled.insert(
|
|
48
48
|
/*__inner_css_start__*/
|
|
49
|
-
".
|
|
49
|
+
".___SIcon_1kdcr_gg_{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;shape-rendering:geometricPrecision;box-sizing:content-box;fill:currentColor;flex-shrink:0;outline:none;color:var(--color_1kdcr)}.___SIcon_1kdcr_gg_.__keyboardFocused_1kdcr_gg_{box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2)}.___SIcon_1kdcr_gg_.__interactive_1kdcr_gg_{cursor:pointer}.___SIcon_1kdcr_gg_.__interactive_1kdcr_gg_:hover{color:var(--color-interactive_1kdcr)}"
|
|
50
50
|
/*__inner_css_end__*/
|
|
51
|
-
, "
|
|
51
|
+
, "1kdcr_gg_")
|
|
52
52
|
/*__reshadow_css_end__*/
|
|
53
53
|
, {
|
|
54
|
-
"__SIcon": "
|
|
55
|
-
"--color": "--
|
|
56
|
-
"_keyboardFocused": "
|
|
57
|
-
"_interactive": "
|
|
58
|
-
"--color-interactive": "--color-
|
|
54
|
+
"__SIcon": "___SIcon_1kdcr_gg_",
|
|
55
|
+
"--color": "--color_1kdcr",
|
|
56
|
+
"_keyboardFocused": "__keyboardFocused_1kdcr_gg_",
|
|
57
|
+
"_interactive": "__interactive_1kdcr_gg_",
|
|
58
|
+
"--color-interactive": "--color-interactive_1kdcr"
|
|
59
59
|
});
|
|
60
60
|
|
|
61
61
|
function Icon(props, ref) {
|
package/lib/cjs/Icon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Icon.js","names":["Icon","props","ref","useBox","tag","width","height","viewBox","SIcon","other","interactive","colorProps","color","resolveColor","keyboardFocusEnhance","disabled","keyboardFocused","propsWithKeyboardEnhance","sstyles","sstyled","styles","cn","shade","className","style","propsForElement","Object","assign","undefined","displayName","createBaseComponent"],"sources":["../../src/Icon.jsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\nimport { createBaseComponent, sstyled } from '@semcore/core';\nimport { useBox } from '@semcore/flex-box';\nimport resolveColor, { shade } from '@semcore/utils/lib/color';\nimport keyboardFocusEnhance from '@semcore/utils/lib/enhances/keyboardFocusEnhance';\nimport propsForElement from '@semcore/utils/lib/propsForElement';\n\nimport styles from './style/icon.shadow.css';\n\nfunction Icon(props, ref) {\n const [SIcon, other] = useBox(\n {\n tag: 'svg',\n 'data-ui-name': 'Icon',\n width: 16,\n height: 16,\n viewBox: '0 0 16 16',\n ...props,\n },\n ref,\n );\n\n const { interactive, color: colorProps } = props;\n const color = resolveColor(colorProps);\n const { keyboardFocused, ...propsWithKeyboardEnhance } = keyboardFocusEnhance()({\n disabled: !interactive,\n ...other,\n });\n const sstyles = sstyled(styles);\n const { className, style } = sstyles.cn('SIcon', {\n 'color-interactive': shade(color, -0.12),\n 'use:color': color,\n interactive: interactive,\n keyboardFocused: keyboardFocused,\n });\n\n return (\n <SIcon\n {...propsForElement(propsWithKeyboardEnhance)}\n style={Object.assign({}, style, propsWithKeyboardEnhance.style, props.style)}\n className={cn(className, propsWithKeyboardEnhance.className, props.className) || undefined}\n />\n );\n}\n\nIcon.displayName = 'Icon';\n\nexport default createBaseComponent(Icon);\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAEA;;AAFA;;AACA;;AAEA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,SAASA,IAAT,CAAcC,KAAd,EAAqBC,GAArB,EAA0B;EACxB,cAAuB,IAAAC,eAAA;IAEnBC,GAAG,EAAE,KAFc;IAGnB,gBAAgB,MAHG;IAInBC,KAAK,EAAE,EAJY;IAKnBC,MAAM,EAAE,EALW;IAMnBC,OAAO,EAAE;EANU,GAOhBN,KAPgB,GASrBC,GATqB,CAAvB;EAAA;EAAA,IAAOM,KAAP;EAAA,IAAcC,KAAd;;EAYA,IAAQC,WAAR,GAA2CT,KAA3C,CAAQS,WAAR;EAAA,IAA4BC,UAA5B,GAA2CV,KAA3C,CAAqBW,KAArB;EACA,IAAMA,KAAK,GAAG,IAAAC,iBAAA,EAAaF,UAAb,CAAd;;EACA,4BAAyD,IAAAG,iCAAA;IACvDC,QAAQ,EAAE,CAACL;EAD4C,GAEpDD,KAFoD,EAAzD;EAAA,IAAQO,eAAR,yBAAQA,eAAR;EAAA,IAA4BC,wBAA5B;;EAIA,IAAMC,OAAO,GAAG,IAAAC,aAAA,EAAQC,MAAR,CAAhB;;EACA,kBAA6BF,OAAO,CAACG,EAAR,CAAW,OAAX,EAAoB;IAC/C,qBAAqB,IAAAC,YAAA,EAAMV,KAAN,EAAa,CAAC,IAAd,CAD0B;IAE/C,aAAaA,KAFkC;IAG/CF,WAAW,EAAEA,WAHkC;IAI/CM,eAAe,EAAEA;EAJ8B,CAApB,CAA7B;EAAA,IAAQO,SAAR,eAAQA,SAAR;EAAA,IAAmBC,KAAnB,eAAmBA,KAAnB;;EAOA,oBACE,gCAAC,KAAD,gCACM,IAAAC,2BAAA,EAAgBR,wBAAhB,CADN;IAEE,KAAK,EAAES,MAAM,CAACC,MAAP,CAAc,EAAd,EAAkBH,KAAlB,EAAyBP,wBAAwB,CAACO,KAAlD,EAAyDvB,KAAK,CAACuB,KAA/D,CAFT;IAGE,SAAS,EAAE,IAAAH,sBAAA,EAAGE,SAAH,EAAcN,wBAAwB,CAACM,SAAvC,EAAkDtB,KAAK,CAACsB,SAAxD,KAAsEK;EAHnF,GADF;AAOD;;AAED5B,IAAI,CAAC6B,WAAL,GAAmB,MAAnB;;eAEe,IAAAC,yBAAA,EAAoB9B,IAApB,C"}
|
package/lib/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/index.js"],"sourcesContent":["export { default } from './Icon';\n"],"mappings":";;;;;;;;;;;;;;AAAA"}
|
package/lib/es6/Icon.js
CHANGED
|
@@ -22,16 +22,16 @@ var styles = (
|
|
|
22
22
|
/*__reshadow_css_start__*/
|
|
23
23
|
_sstyled.insert(
|
|
24
24
|
/*__inner_css_start__*/
|
|
25
|
-
".
|
|
25
|
+
".___SIcon_1kdcr_gg_{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;shape-rendering:geometricPrecision;box-sizing:content-box;fill:currentColor;flex-shrink:0;outline:none;color:var(--color_1kdcr)}.___SIcon_1kdcr_gg_.__keyboardFocused_1kdcr_gg_{box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2)}.___SIcon_1kdcr_gg_.__interactive_1kdcr_gg_{cursor:pointer}.___SIcon_1kdcr_gg_.__interactive_1kdcr_gg_:hover{color:var(--color-interactive_1kdcr)}"
|
|
26
26
|
/*__inner_css_end__*/
|
|
27
|
-
, "
|
|
27
|
+
, "1kdcr_gg_")
|
|
28
28
|
/*__reshadow_css_end__*/
|
|
29
29
|
, {
|
|
30
|
-
"__SIcon": "
|
|
31
|
-
"--color": "--
|
|
32
|
-
"_keyboardFocused": "
|
|
33
|
-
"_interactive": "
|
|
34
|
-
"--color-interactive": "--color-
|
|
30
|
+
"__SIcon": "___SIcon_1kdcr_gg_",
|
|
31
|
+
"--color": "--color_1kdcr",
|
|
32
|
+
"_keyboardFocused": "__keyboardFocused_1kdcr_gg_",
|
|
33
|
+
"_interactive": "__interactive_1kdcr_gg_",
|
|
34
|
+
"--color-interactive": "--color-interactive_1kdcr"
|
|
35
35
|
});
|
|
36
36
|
|
|
37
37
|
function Icon(props, ref) {
|
package/lib/es6/Icon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Icon.js","names":["React","cn","createBaseComponent","sstyled","useBox","resolveColor","shade","keyboardFocusEnhance","propsForElement","Icon","props","ref","tag","width","height","viewBox","SIcon","other","interactive","colorProps","color","disabled","keyboardFocused","propsWithKeyboardEnhance","sstyles","styles","className","style","Object","assign","undefined","displayName"],"sources":["../../src/Icon.jsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\nimport { createBaseComponent, sstyled } from '@semcore/core';\nimport { useBox } from '@semcore/flex-box';\nimport resolveColor, { shade } from '@semcore/utils/lib/color';\nimport keyboardFocusEnhance from '@semcore/utils/lib/enhances/keyboardFocusEnhance';\nimport propsForElement from '@semcore/utils/lib/propsForElement';\n\nimport styles from './style/icon.shadow.css';\n\nfunction Icon(props, ref) {\n const [SIcon, other] = useBox(\n {\n tag: 'svg',\n 'data-ui-name': 'Icon',\n width: 16,\n height: 16,\n viewBox: '0 0 16 16',\n ...props,\n },\n ref,\n );\n\n const { interactive, color: colorProps } = props;\n const color = resolveColor(colorProps);\n const { keyboardFocused, ...propsWithKeyboardEnhance } = keyboardFocusEnhance()({\n disabled: !interactive,\n ...other,\n });\n const sstyles = sstyled(styles);\n const { className, style } = sstyles.cn('SIcon', {\n 'color-interactive': shade(color, -0.12),\n 'use:color': color,\n interactive: interactive,\n keyboardFocused: keyboardFocused,\n });\n\n return (\n <SIcon\n {...propsForElement(propsWithKeyboardEnhance)}\n style={Object.assign({}, style, propsWithKeyboardEnhance.style, props.style)}\n className={cn(className, propsWithKeyboardEnhance.className, props.className) || undefined}\n />\n );\n}\n\nIcon.displayName = 'Icon';\n\nexport default createBaseComponent(Icon);\n"],"mappings":";;;;;;;;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,EAAP,MAAe,YAAf;AACA,SAASC,mBAAT,EAA8BC,OAA9B,QAA6C,eAA7C;AACA,SAASC,MAAT,QAAuB,mBAAvB;AACA,OAAOC,YAAP,IAAuBC,KAAvB,QAAoC,0BAApC;AACA,OAAOC,oBAAP,MAAiC,kDAAjC;AACA,OAAOC,eAAP,MAA4B,oCAA5B;;;;;;;;;;;;;;;;;;;AAIA,SAASC,IAAT,CAAcC,KAAd,EAAqBC,GAArB,EAA0B;EACxB,cAAuBP,MAAM;IAEzBQ,GAAG,EAAE,KAFoB;IAGzB,gBAAgB,MAHS;IAIzBC,KAAK,EAAE,EAJkB;IAKzBC,MAAM,EAAE,EALiB;IAMzBC,OAAO,EAAE;EANgB,GAOtBL,KAPsB,GAS3BC,GAT2B,CAA7B;EAAA;EAAA,IAAOK,KAAP;EAAA,IAAcC,KAAd;;EAYA,IAAQC,WAAR,GAA2CR,KAA3C,CAAQQ,WAAR;EAAA,IAA4BC,UAA5B,GAA2CT,KAA3C,CAAqBU,KAArB;EACA,IAAMA,KAAK,GAAGf,YAAY,CAACc,UAAD,CAA1B;;EACA,4BAAyDZ,oBAAoB;IAC3Ec,QAAQ,EAAE,CAACH;EADgE,GAExED,KAFwE,EAA7E;EAAA,IAAQK,eAAR,yBAAQA,eAAR;EAAA,IAA4BC,wBAA5B;;EAIA,IAAMC,OAAO,GAAGrB,OAAO,CAACsB,MAAD,CAAvB;;EACA,kBAA6BD,OAAO,CAACvB,EAAR,CAAW,OAAX,EAAoB;IAC/C,qBAAqBK,KAAK,CAACc,KAAD,EAAQ,CAAC,IAAT,CADqB;IAE/C,aAAaA,KAFkC;IAG/CF,WAAW,EAAEA,WAHkC;IAI/CI,eAAe,EAAEA;EAJ8B,CAApB,CAA7B;EAAA,IAAQI,SAAR,eAAQA,SAAR;EAAA,IAAmBC,KAAnB,eAAmBA,KAAnB;;EAOA,oBACE,oBAAC,KAAD,eACMnB,eAAe,CAACe,wBAAD,CADrB;IAEE,KAAK,EAAEK,MAAM,CAACC,MAAP,CAAc,EAAd,EAAkBF,KAAlB,EAAyBJ,wBAAwB,CAACI,KAAlD,EAAyDjB,KAAK,CAACiB,KAA/D,CAFT;IAGE,SAAS,EAAE1B,EAAE,CAACyB,SAAD,EAAYH,wBAAwB,CAACG,SAArC,EAAgDhB,KAAK,CAACgB,SAAtD,CAAF,IAAsEI;EAHnF,GADF;AAOD;;AAEDrB,IAAI,CAACsB,WAAL,GAAmB,MAAnB;AAEA,eAAe7B,mBAAmB,CAACO,IAAD,CAAlC"}
|
package/lib/es6/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.js","names":["default"],"sources":["../../src/index.js"],"sourcesContent":["export { default } from './Icon';\n"],"mappings":"AAAA,SAASA,OAAT,QAAwB,QAAxB"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/icon",
|
|
3
3
|
"description": "SEMRush Icon Component",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.29.2",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"transform": "icon-transform-svg",
|
|
14
14
|
"build": "build --source=js && npm run transform -- --configFile=transform-svg-legacy.config.js && npm run transform -- --configFile=transform-svg.config.js",
|
|
15
15
|
"test": "jest",
|
|
16
|
-
"prebuild": "ls -d */ | egrep -v \"__tests__|src|svg|svg-new\" | xargs rm -rf"
|
|
16
|
+
"prebuild": "ls -d */ | egrep -v \"__tests__|src|svg|svg-new|AppBlock\" | xargs rm -rf"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@semcore/utils": "^3.15",
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 9a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm0-2a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM4.5 22a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm0-2a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM19.5 22a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm0-2a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"/><path d="M16.515 7.65c.309-.646.483-1.37.485-2.134a8.991 8.991 0 0 1 3.972 8.204 4.998 4.998 0 0 0-1.992-.193 6.985 6.985 0 0 0-2.465-5.876ZM14.6 19.501c.137.672.408 1.296.785 1.84A8.974 8.974 0 0 1 12 22a8.973 8.973 0 0 1-3.385-.658 4.973 4.973 0 0 0 .785-1.84A6.982 6.982 0 0 0 12 20c.919 0 1.796-.177 2.6-.499ZM4.5 13.5c-.512 0-1.006.077-1.472.22A8.991 8.991 0 0 1 7 5.515a4.98 4.98 0 0 0 .485 2.136 6.985 6.985 0 0 0-2.465 5.876 5.066 5.066 0 0 0-.52-.027Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8 5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm0-2a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1ZM2.5 14a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm0-2a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1ZM13.5 14a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm0-2a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"/><path d="M11.5 2.5c0 .573-.138 1.114-.382 1.591A4.99 4.99 0 0 1 13 8v.035a3.529 3.529 0 0 1 1.992.298 6.998 6.998 0 0 0-3.542-6.425c.033.192.05.39.05.592ZM4.5 2.5c0 .573.138 1.114.382 1.591A4.99 4.99 0 0 0 3 8v.035a3.53 3.53 0 0 0-1.992.298A6.998 6.998 0 0 1 4.55 1.908c-.033.192-.05.39-.05.592ZM4.735 14.194a3.503 3.503 0 0 0 1.115-1.678A4.98 4.98 0 0 0 8 13a4.98 4.98 0 0 0 2.15-.484 3.504 3.504 0 0 0 1.115 1.678A6.968 6.968 0 0 1 8 15c-1.18 0-2.29-.291-3.265-.806Z"/></svg>
|
package/src/Icon.jsx
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import cn from 'classnames';
|
|
3
|
-
import { createBaseComponent, sstyled } from '@semcore/core';
|
|
4
|
-
import { useBox } from '@semcore/flex-box';
|
|
5
|
-
import resolveColor, { shade } from '@semcore/utils/lib/color';
|
|
6
|
-
import keyboardFocusEnhance from '@semcore/utils/lib/enhances/keyboardFocusEnhance';
|
|
7
|
-
import propsForElement from '@semcore/utils/lib/propsForElement';
|
|
8
|
-
|
|
9
|
-
import styles from './style/icon.shadow.css';
|
|
10
|
-
|
|
11
|
-
function Icon(props, ref) {
|
|
12
|
-
const [SIcon, other] = useBox(
|
|
13
|
-
{
|
|
14
|
-
tag: 'svg',
|
|
15
|
-
'data-ui-name': 'Icon',
|
|
16
|
-
width: 16,
|
|
17
|
-
height: 16,
|
|
18
|
-
viewBox: '0 0 16 16',
|
|
19
|
-
...props,
|
|
20
|
-
},
|
|
21
|
-
ref,
|
|
22
|
-
);
|
|
23
|
-
|
|
24
|
-
const { interactive, color: colorProps } = props;
|
|
25
|
-
const color = resolveColor(colorProps);
|
|
26
|
-
const { keyboardFocused, ...propsWithKeyboardEnhance } = keyboardFocusEnhance()({
|
|
27
|
-
disabled: !interactive,
|
|
28
|
-
...other,
|
|
29
|
-
});
|
|
30
|
-
const sstyles = sstyled(styles);
|
|
31
|
-
const { className, style } = sstyles.cn('SIcon', {
|
|
32
|
-
'color-interactive': shade(color, -0.12),
|
|
33
|
-
'use:color': color,
|
|
34
|
-
interactive: interactive,
|
|
35
|
-
keyboardFocused: keyboardFocused,
|
|
36
|
-
});
|
|
37
|
-
|
|
38
|
-
return (
|
|
39
|
-
<SIcon
|
|
40
|
-
{...propsForElement(propsWithKeyboardEnhance)}
|
|
41
|
-
style={Object.assign({}, style, propsWithKeyboardEnhance.style, props.style)}
|
|
42
|
-
className={cn(className, propsWithKeyboardEnhance.className, props.className) || undefined}
|
|
43
|
-
/>
|
|
44
|
-
);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
Icon.displayName = 'Icon';
|
|
48
|
-
|
|
49
|
-
export default createBaseComponent(Icon);
|
package/src/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { IBoxProps } from '@semcore/flex-box';
|
|
2
|
-
import { IKeyboardFocusProps } from '@semcore/utils/lib/enhances/keyboardFocusEnhance';
|
|
3
|
-
import { ReturnEl } from '@semcore/core';
|
|
4
|
-
|
|
5
|
-
export interface IIconProps extends IBoxProps, IKeyboardFocusProps {
|
|
6
|
-
width?: string | number;
|
|
7
|
-
height?: string | number;
|
|
8
|
-
viewBox?: string;
|
|
9
|
-
/** Make an icon interactive */
|
|
10
|
-
interactive?: boolean;
|
|
11
|
-
/** Icon color */
|
|
12
|
-
color?: string;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
declare const Icon: <T>(props: IIconProps & T) => ReturnEl;
|
|
16
|
-
|
|
17
|
-
export default Icon;
|
package/src/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Icon';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
@import '@semcore/utils/style/var.css';
|
|
2
|
-
|
|
3
|
-
SIcon {
|
|
4
|
-
display: inline-block;
|
|
5
|
-
user-select: none;
|
|
6
|
-
shape-rendering: geometricPrecision;
|
|
7
|
-
box-sizing: content-box;
|
|
8
|
-
fill: currentColor;
|
|
9
|
-
flex-shrink: 0;
|
|
10
|
-
outline: none;
|
|
11
|
-
color: var(--color);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
SIcon[keyboardFocused] {
|
|
15
|
-
box-shadow: var(--keyboard-focus);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
SIcon[interactive] {
|
|
19
|
-
cursor: pointer;
|
|
20
|
-
&:hover {
|
|
21
|
-
color: var(--color-interactive);
|
|
22
|
-
}
|
|
23
|
-
}
|