@semcore/icon 2.17.1 → 2.18.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
+ ## [2.18.0] - 2022-02-03
6
+
7
+ ### Added
8
+
9
+ - Add icons 'LightningFilled' in new icons.
10
+
5
11
  ## [2.17.1] - 2022-01-31
6
12
 
7
13
  ### Fixed
@@ -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,46 @@
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
+ function LightningFilled(_ref, ref) {
21
+ var _ref$width = _ref.width,
22
+ width = _ref$width === void 0 ? '24' : _ref$width,
23
+ _ref$height = _ref.height,
24
+ height = _ref$height === void 0 ? '24' : _ref$height,
25
+ _ref$viewBox = _ref.viewBox,
26
+ viewBox = _ref$viewBox === void 0 ? '0 0 24 24' : _ref$viewBox,
27
+ props = (0, _objectWithoutProperties2["default"])(_ref, ["width", "height", "viewBox"]);
28
+ return /*#__PURE__*/_react["default"].createElement(_icon["default"], (0, _extends2["default"])({
29
+ ref: ref,
30
+ "data-name": "LightningFilled",
31
+ "data-group": "l",
32
+ width: width,
33
+ height: height,
34
+ viewBox: viewBox
35
+ }, props), /*#__PURE__*/_react["default"].createElement("path", {
36
+ d: "M6.84604 0.820044C6.93294 0.345051 7.34684 0 7.82972 0H14.0019C14.6882 0 15.1705 0.675487 14.9477 1.32461L13 7H16.9985C17.7956 7 18.2723 7.88709 17.8324 8.55186L8.32422 22.5469C7.71002 23.475 6.26699 22.8566 6.51553 21.7717L8.99997 12H6.00029C5.37595 12 4.90426 11.4342 5.01662 10.82L6.84604 0.820044Z",
37
+ fill: "#191B23",
38
+ shapeRendering: "geometricPrecision"
39
+ }));
40
+ }
41
+
42
+ LightningFilled.displayName = 'LightningFilled';
43
+
44
+ var _default = (0, _core.createBaseComponent)(LightningFilled);
45
+
46
+ exports["default"] = _default;
@@ -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,46 @@
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
+ function LightningFilled(_ref, ref) {
21
+ var _ref$width = _ref.width,
22
+ width = _ref$width === void 0 ? '16' : _ref$width,
23
+ _ref$height = _ref.height,
24
+ height = _ref$height === void 0 ? '16' : _ref$height,
25
+ _ref$viewBox = _ref.viewBox,
26
+ viewBox = _ref$viewBox === void 0 ? '0 0 16 16' : _ref$viewBox,
27
+ props = (0, _objectWithoutProperties2["default"])(_ref, ["width", "height", "viewBox"]);
28
+ return /*#__PURE__*/_react["default"].createElement(_icon["default"], (0, _extends2["default"])({
29
+ ref: ref,
30
+ "data-name": "LightningFilled",
31
+ "data-group": "m",
32
+ width: width,
33
+ height: height,
34
+ viewBox: viewBox
35
+ }, props), /*#__PURE__*/_react["default"].createElement("path", {
36
+ d: "M11.8274 6.55747L6.46238 15.5471C5.82153 16.5015 4.34049 15.7978 4.67562 14.6981L6.41223 9H4.00019C3.39117 9 2.92358 8.46022 3.01041 7.85743L4.51022 0.857429C4.5811 0.365299 5.00279 0 5.5 0H9.09602C9.75989 0 10.2395 0.634984 10.0579 1.27353L8.99817 5H10.9972C11.7974 5 12.2734 5.89314 11.8274 6.55747Z",
37
+ fill: "#191B23",
38
+ shapeRendering: "geometricPrecision"
39
+ }));
40
+ }
41
+
42
+ LightningFilled.displayName = 'LightningFilled';
43
+
44
+ var _default = (0, _core.createBaseComponent)(LightningFilled);
45
+
46
+ exports["default"] = _default;
package/lib/cjs/Icon.js CHANGED
@@ -40,15 +40,15 @@ var styles = (
40
40
  /*__reshadow_css_start__*/
41
41
  _core.sstyled.insert(
42
42
  /*__inner_css_start__*/
43
- ".___SIcon_r0t2f_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_3mutke)}.___SIcon_r0t2f_gg_.__keyboardFocused_r0t2f_gg_{box-shadow:0 0 0 3px rgba(43,148,225,.3)}.___SIcon_r0t2f_gg_.__interactive_r0t2f_gg_{cursor:pointer}.___SIcon_r0t2f_gg_.__interactive_r0t2f_gg_:hover{color:var(--color-interactive_3mutke)}"
43
+ ".___SIcon_1igcq_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_3mutke)}.___SIcon_1igcq_gg_.__keyboardFocused_1igcq_gg_{box-shadow:0 0 0 3px rgba(43,148,225,.3)}.___SIcon_1igcq_gg_.__interactive_1igcq_gg_{cursor:pointer}.___SIcon_1igcq_gg_.__interactive_1igcq_gg_:hover{color:var(--color-interactive_3mutke)}"
44
44
  /*__inner_css_end__*/
45
45
  , "3mutke_gg_")
46
46
  /*__reshadow_css_end__*/
47
47
  , {
48
- "__SIcon": "___SIcon_r0t2f_gg_",
48
+ "__SIcon": "___SIcon_1igcq_gg_",
49
49
  "--color": "--color_3mutke",
50
- "_keyboardFocused": "__keyboardFocused_r0t2f_gg_",
51
- "_interactive": "__interactive_r0t2f_gg_",
50
+ "_keyboardFocused": "__keyboardFocused_1igcq_gg_",
51
+ "_interactive": "__interactive_1igcq_gg_",
52
52
  "--color-interactive": "--color-interactive_3mutke"
53
53
  }); // TODO: сделать useIcon?
54
54
 
package/lib/es6/Icon.js CHANGED
@@ -21,15 +21,15 @@ var styles = (
21
21
  /*__reshadow_css_start__*/
22
22
  _sstyled.insert(
23
23
  /*__inner_css_start__*/
24
- ".___SIcon_r0t2f_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_3mutke)}.___SIcon_r0t2f_gg_.__keyboardFocused_r0t2f_gg_{box-shadow:0 0 0 3px rgba(43,148,225,.3)}.___SIcon_r0t2f_gg_.__interactive_r0t2f_gg_{cursor:pointer}.___SIcon_r0t2f_gg_.__interactive_r0t2f_gg_:hover{color:var(--color-interactive_3mutke)}"
24
+ ".___SIcon_1igcq_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_3mutke)}.___SIcon_1igcq_gg_.__keyboardFocused_1igcq_gg_{box-shadow:0 0 0 3px rgba(43,148,225,.3)}.___SIcon_1igcq_gg_.__interactive_1igcq_gg_{cursor:pointer}.___SIcon_1igcq_gg_.__interactive_1igcq_gg_:hover{color:var(--color-interactive_3mutke)}"
25
25
  /*__inner_css_end__*/
26
26
  , "3mutke_gg_")
27
27
  /*__reshadow_css_end__*/
28
28
  , {
29
- "__SIcon": "___SIcon_r0t2f_gg_",
29
+ "__SIcon": "___SIcon_1igcq_gg_",
30
30
  "--color": "--color_3mutke",
31
- "_keyboardFocused": "__keyboardFocused_r0t2f_gg_",
32
- "_interactive": "__interactive_r0t2f_gg_",
31
+ "_keyboardFocused": "__keyboardFocused_1igcq_gg_",
32
+ "_interactive": "__interactive_1igcq_gg_",
33
33
  "--color-interactive": "--color-interactive_3mutke"
34
34
  }); // TODO: сделать useIcon?
35
35
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/icon",
3
3
  "description": "SEMRush Icon Component",
4
- "version": "2.17.1",
4
+ "version": "2.18.0",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M6.84604 0.820044C6.93294 0.345051 7.34684 0 7.82972 0H14.0019C14.6882 0 15.1705 0.675487 14.9477 1.32461L13 7H16.9985C17.7956 7 18.2723 7.88709 17.8324 8.55186L8.32422 22.5469C7.71002 23.475 6.26699 22.8566 6.51553 21.7717L8.99997 12H6.00029C5.37595 12 4.90426 11.4342 5.01662 10.82L6.84604 0.820044Z" fill="#191B23"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11.8274 6.55747L6.46238 15.5471C5.82153 16.5015 4.34049 15.7978 4.67562 14.6981L6.41223 9H4.00019C3.39117 9 2.92358 8.46022 3.01041 7.85743L4.51022 0.857429C4.5811 0.365299 5.00279 0 5.5 0H9.09602C9.75989 0 10.2395 0.634984 10.0579 1.27353L8.99817 5H10.9972C11.7974 5 12.2734 5.89314 11.8274 6.55747Z" fill="#191B23"/>
3
+ </svg>