@semcore/icon 3.14.16 → 3.15.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
+ ## [3.15.1] - 2023-06-12
6
+
7
+ ### Changed
8
+
9
+ - Version patch update due to children dependencies update (`@semcore/flex-box` [4.7.29 ~> 4.7.30], `@semcore/utils` [3.53.2 ~> 3.53.3]).
10
+
11
+ ## [3.15.0] - 2023-06-08
12
+
13
+ ### Added
14
+
15
+ - Added new `SecurityNo` icon.
16
+
5
17
  ## [3.14.16] - 2023-06-07
6
18
 
7
19
  ### Changed
@@ -0,0 +1,6 @@
1
+
2
+ import React from 'react';
3
+ import { IIconProps } from '@semcore/icon';
4
+ declare const _default: <T>(props: IIconProps & T) => React.ReactElement;
5
+ export default _default;
6
+
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
10
+ var _react = _interopRequireDefault(require("react"));
11
+ var _core = require("@semcore/core");
12
+ var _icon = _interopRequireDefault(require("@semcore/icon"));
13
+ var _excluded = ["width", "height", "viewBox"];
14
+ function SecurityNo(_ref, ref) {
15
+ var _ref$width = _ref.width,
16
+ width = _ref$width === void 0 ? '24' : _ref$width,
17
+ _ref$height = _ref.height,
18
+ height = _ref$height === void 0 ? '24' : _ref$height,
19
+ _ref$viewBox = _ref.viewBox,
20
+ viewBox = _ref$viewBox === void 0 ? '0 0 24 24' : _ref$viewBox,
21
+ props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
22
+ return /*#__PURE__*/_react["default"].createElement(_icon["default"], (0, _extends2["default"])({
23
+ ref: ref,
24
+ "data-name": "SecurityNo",
25
+ "data-group": "l",
26
+ width: width,
27
+ height: height,
28
+ viewBox: viewBox
29
+ }, props), /*#__PURE__*/_react["default"].createElement("path", {
30
+ fillRule: "evenodd",
31
+ d: "M21.707 2.708a1 1 0 0 0-1.414-1.414l-17 17a1 1 0 1 0 1.414 1.414l2.126-2.126c2.024 2.048 4.643 3.673 5.697 4.289.291.17.649.17.94 0 1.6-.935 6.805-4.195 8.062-7.73.868-2.442.305-7.216.08-8.734a.966.966 0 0 0-.551-.731l-.9-.422 1.546-1.546Zm-3.05 3.05L8.32 16.096c.403.381.85.769 1.328 1.165 1.236 1.024 2.509 2.041 3.353 2.56.844-.519 2.117-1.536 3.353-2.56 1.606-1.33 2.857-2.559 3.294-3.79.298-.838.395-2.495.336-4.092-.044-1.2-.169-2.343-.272-3.127l-1.054-.494Z",
32
+ clipRule: "evenodd",
33
+ shapeRendering: "geometricPrecision"
34
+ }), /*#__PURE__*/_react["default"].createElement("path", {
35
+ d: "M13.425 1.096 15.91 2.26l-1.504 1.504L13 3.105 6.29 6.252a34.383 34.383 0 0 0-.273 3.127 20.15 20.15 0 0 0 .068 2.709L4.363 13.81c-.715-2.52-.19-6.95.025-8.403a.965.965 0 0 1 .551-.731l7.636-3.58a1 1 0 0 1 .85 0Z",
36
+ shapeRendering: "geometricPrecision"
37
+ }));
38
+ }
39
+ SecurityNo.displayName = 'SecurityNo';
40
+ var _default = (0, _core.createBaseComponent)(SecurityNo);
41
+ exports["default"] = _default;
@@ -0,0 +1,29 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : 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
+ import React from 'react';
3
+ import { createBaseComponent } from '@semcore/core';
4
+ import Icon from '@semcore/icon';
5
+ function SecurityNo({
6
+ width = '24',
7
+ height = '24',
8
+ viewBox = '0 0 24 24',
9
+ ...props
10
+ }, ref) {
11
+ return /*#__PURE__*/React.createElement(Icon, _extends({
12
+ ref: ref,
13
+ "data-name": "SecurityNo",
14
+ "data-group": "l",
15
+ width: width,
16
+ height: height,
17
+ viewBox: viewBox
18
+ }, props), /*#__PURE__*/React.createElement("path", {
19
+ fillRule: "evenodd",
20
+ d: "M21.707 2.708a1 1 0 0 0-1.414-1.414l-17 17a1 1 0 1 0 1.414 1.414l2.126-2.126c2.024 2.048 4.643 3.673 5.697 4.289.291.17.649.17.94 0 1.6-.935 6.805-4.195 8.062-7.73.868-2.442.305-7.216.08-8.734a.966.966 0 0 0-.551-.731l-.9-.422 1.546-1.546Zm-3.05 3.05L8.32 16.096c.403.381.85.769 1.328 1.165 1.236 1.024 2.509 2.041 3.353 2.56.844-.519 2.117-1.536 3.353-2.56 1.606-1.33 2.857-2.559 3.294-3.79.298-.838.395-2.495.336-4.092-.044-1.2-.169-2.343-.272-3.127l-1.054-.494Z",
21
+ clipRule: "evenodd",
22
+ shapeRendering: "geometricPrecision"
23
+ }), /*#__PURE__*/React.createElement("path", {
24
+ d: "M13.425 1.096 15.91 2.26l-1.504 1.504L13 3.105 6.29 6.252a34.383 34.383 0 0 0-.273 3.127 20.15 20.15 0 0 0 .068 2.709L4.363 13.81c-.715-2.52-.19-6.95.025-8.403a.965.965 0 0 1 .551-.731l7.636-3.58a1 1 0 0 1 .85 0Z",
25
+ shapeRendering: "geometricPrecision"
26
+ }));
27
+ }
28
+ SecurityNo.displayName = 'SecurityNo';
29
+ export default createBaseComponent(SecurityNo);
@@ -0,0 +1,6 @@
1
+
2
+ import React from 'react';
3
+ import { IIconProps } from '@semcore/icon';
4
+ declare const _default: <T>(props: IIconProps & T) => React.ReactElement;
5
+ export default _default;
6
+
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
10
+ var _react = _interopRequireDefault(require("react"));
11
+ var _core = require("@semcore/core");
12
+ var _icon = _interopRequireDefault(require("@semcore/icon"));
13
+ var _excluded = ["width", "height", "viewBox"];
14
+ function SecurityNo(_ref, ref) {
15
+ var _ref$width = _ref.width,
16
+ width = _ref$width === void 0 ? '16' : _ref$width,
17
+ _ref$height = _ref.height,
18
+ height = _ref$height === void 0 ? '16' : _ref$height,
19
+ _ref$viewBox = _ref.viewBox,
20
+ viewBox = _ref$viewBox === void 0 ? '0 0 16 16' : _ref$viewBox,
21
+ props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
22
+ return /*#__PURE__*/_react["default"].createElement(_icon["default"], (0, _extends2["default"])({
23
+ ref: ref,
24
+ "data-name": "SecurityNo",
25
+ "data-group": "m",
26
+ width: width,
27
+ height: height,
28
+ viewBox: viewBox
29
+ }, props), /*#__PURE__*/_react["default"].createElement("path", {
30
+ fillRule: "evenodd",
31
+ d: "M14.707 1.71A1 1 0 0 0 13.293.295l-12 12a1 1 0 1 0 1.414 1.415l.854-.855c1.443 1.402 3.149 2.512 3.962 3.007a.91.91 0 0 0 .954 0c1.358-.827 5.209-3.371 6.159-6.12.646-1.87.273-5.02.087-6.163a.953.953 0 0 0-.534-.702l-.438-.211.956-.956Zm-2.454 2.454-7.275 7.274c.195.187.402.375.621.564A22.662 22.662 0 0 0 8 13.802a22.66 22.66 0 0 0 2.4-1.8c1.191-1.03 2.05-2.034 2.345-2.89.203-.585.28-1.757.248-2.784a18.924 18.924 0 0 0-.164-1.887l-.576-.277Z",
32
+ clipRule: "evenodd",
33
+ shapeRendering: "geometricPrecision"
34
+ }), /*#__PURE__*/_react["default"].createElement("path", {
35
+ d: "m8.434.102 1.583.763-1.499 1.498L8 2.113 3.17 4.44c-.069.516-.14 1.185-.162 1.887-.017.498-.007 1.031.031 1.514l-1.73 1.73c-.569-1.885-.213-4.884-.031-5.993a.953.953 0 0 1 .533-.702L7.566.102a1 1 0 0 1 .868 0Z",
36
+ shapeRendering: "geometricPrecision"
37
+ }));
38
+ }
39
+ SecurityNo.displayName = 'SecurityNo';
40
+ var _default = (0, _core.createBaseComponent)(SecurityNo);
41
+ exports["default"] = _default;
@@ -0,0 +1,29 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : 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
+ import React from 'react';
3
+ import { createBaseComponent } from '@semcore/core';
4
+ import Icon from '@semcore/icon';
5
+ function SecurityNo({
6
+ width = '16',
7
+ height = '16',
8
+ viewBox = '0 0 16 16',
9
+ ...props
10
+ }, ref) {
11
+ return /*#__PURE__*/React.createElement(Icon, _extends({
12
+ ref: ref,
13
+ "data-name": "SecurityNo",
14
+ "data-group": "m",
15
+ width: width,
16
+ height: height,
17
+ viewBox: viewBox
18
+ }, props), /*#__PURE__*/React.createElement("path", {
19
+ fillRule: "evenodd",
20
+ d: "M14.707 1.71A1 1 0 0 0 13.293.295l-12 12a1 1 0 1 0 1.414 1.415l.854-.855c1.443 1.402 3.149 2.512 3.962 3.007a.91.91 0 0 0 .954 0c1.358-.827 5.209-3.371 6.159-6.12.646-1.87.273-5.02.087-6.163a.953.953 0 0 0-.534-.702l-.438-.211.956-.956Zm-2.454 2.454-7.275 7.274c.195.187.402.375.621.564A22.662 22.662 0 0 0 8 13.802a22.66 22.66 0 0 0 2.4-1.8c1.191-1.03 2.05-2.034 2.345-2.89.203-.585.28-1.757.248-2.784a18.924 18.924 0 0 0-.164-1.887l-.576-.277Z",
21
+ clipRule: "evenodd",
22
+ shapeRendering: "geometricPrecision"
23
+ }), /*#__PURE__*/React.createElement("path", {
24
+ d: "m8.434.102 1.583.763-1.499 1.498L8 2.113 3.17 4.44c-.069.516-.14 1.185-.162 1.887-.017.498-.007 1.031.031 1.514l-1.73 1.73c-.569-1.885-.213-4.884-.031-5.993a.953.953 0 0 1 .533-.702L7.566.102a1 1 0 0 1 .868 0Z",
25
+ shapeRendering: "geometricPrecision"
26
+ }));
27
+ }
28
+ SecurityNo.displayName = 'SecurityNo';
29
+ export default createBaseComponent(SecurityNo);
package/lib/cjs/Icon.js CHANGED
@@ -22,12 +22,12 @@ var _ref = require("@semcore/utils/lib/ref");
22
22
  var _hasLabels = _interopRequireDefault(require("@semcore/utils/lib/hasLabels"));
23
23
  var _excluded = ["keyboardFocused"];
24
24
  /*__reshadow-styles__:"./style/icon.shadow.css"*/
25
- var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SIcon_c1pxp_gg_{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none;shape-rendering:geometricPrecision;box-sizing:content-box;fill:currentColor;flex-shrink:0;outline:0;color:var(--color_c1pxp)}.___SIcon_c1pxp_gg_.__keyboardFocused_c1pxp_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SIcon_c1pxp_gg_.__interactive_c1pxp_gg_{cursor:pointer}@media (hover:hover){.___SIcon_c1pxp_gg_.__interactive_c1pxp_gg_:hover{color:var(--color-interactive_c1pxp)}}" /*__inner_css_end__*/, "c1pxp_gg_") /*__reshadow_css_end__*/, {
26
- "__SIcon": "___SIcon_c1pxp_gg_",
27
- "--color": "--color_c1pxp",
28
- "_keyboardFocused": "__keyboardFocused_c1pxp_gg_",
29
- "_interactive": "__interactive_c1pxp_gg_",
30
- "--color-interactive": "--color-interactive_c1pxp"
25
+ var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SIcon_1t4um_gg_{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none;shape-rendering:geometricPrecision;box-sizing:content-box;fill:currentColor;flex-shrink:0;outline:0;color:var(--color_1t4um)}.___SIcon_1t4um_gg_.__keyboardFocused_1t4um_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SIcon_1t4um_gg_.__interactive_1t4um_gg_{cursor:pointer}@media (hover:hover){.___SIcon_1t4um_gg_.__interactive_1t4um_gg_:hover{color:var(--color-interactive_1t4um)}}" /*__inner_css_end__*/, "1t4um_gg_") /*__reshadow_css_end__*/, {
26
+ "__SIcon": "___SIcon_1t4um_gg_",
27
+ "--color": "--color_1t4um",
28
+ "_keyboardFocused": "__keyboardFocused_1t4um_gg_",
29
+ "_interactive": "__interactive_1t4um_gg_",
30
+ "--color-interactive": "--color-interactive_1t4um"
31
31
  });
32
32
  function Icon(props, ref) {
33
33
  var _useBox = (0, _flexBox.useBox)((0, _objectSpread2["default"])({
package/lib/es6/Icon.js CHANGED
@@ -15,12 +15,12 @@ import logger from '@semcore/utils/lib/logger';
15
15
  import { useForkRef } from '@semcore/utils/lib/ref';
16
16
  import hasLabels from '@semcore/utils/lib/hasLabels';
17
17
  /*__reshadow-styles__:"./style/icon.shadow.css"*/
18
- var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SIcon_c1pxp_gg_{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none;shape-rendering:geometricPrecision;box-sizing:content-box;fill:currentColor;flex-shrink:0;outline:0;color:var(--color_c1pxp)}.___SIcon_c1pxp_gg_.__keyboardFocused_c1pxp_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SIcon_c1pxp_gg_.__interactive_c1pxp_gg_{cursor:pointer}@media (hover:hover){.___SIcon_c1pxp_gg_.__interactive_c1pxp_gg_:hover{color:var(--color-interactive_c1pxp)}}" /*__inner_css_end__*/, "c1pxp_gg_") /*__reshadow_css_end__*/, {
19
- "__SIcon": "___SIcon_c1pxp_gg_",
20
- "--color": "--color_c1pxp",
21
- "_keyboardFocused": "__keyboardFocused_c1pxp_gg_",
22
- "_interactive": "__interactive_c1pxp_gg_",
23
- "--color-interactive": "--color-interactive_c1pxp"
18
+ var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SIcon_1t4um_gg_{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none;shape-rendering:geometricPrecision;box-sizing:content-box;fill:currentColor;flex-shrink:0;outline:0;color:var(--color_1t4um)}.___SIcon_1t4um_gg_.__keyboardFocused_1t4um_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SIcon_1t4um_gg_.__interactive_1t4um_gg_{cursor:pointer}@media (hover:hover){.___SIcon_1t4um_gg_.__interactive_1t4um_gg_:hover{color:var(--color-interactive_1t4um)}}" /*__inner_css_end__*/, "1t4um_gg_") /*__reshadow_css_end__*/, {
19
+ "__SIcon": "___SIcon_1t4um_gg_",
20
+ "--color": "--color_1t4um",
21
+ "_keyboardFocused": "__keyboardFocused_1t4um_gg_",
22
+ "_interactive": "__interactive_1t4um_gg_",
23
+ "--color-interactive": "--color-interactive_1t4um"
24
24
  });
25
25
  function Icon(props, ref) {
26
26
  var _useBox = useBox(_objectSpread({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/icon",
3
3
  "description": "Semrush Icon Component",
4
- "version": "3.14.16",
4
+ "version": "3.15.1",
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,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
2
+ <path fill-rule="evenodd" d="M21.707 2.708a1 1 0 0 0-1.414-1.414l-17 17a1 1 0 1 0 1.414 1.414l2.126-2.126c2.024 2.048 4.643 3.673 5.697 4.289.291.17.649.17.94 0 1.6-.935 6.805-4.195 8.062-7.73.868-2.442.305-7.216.08-8.734a.966.966 0 0 0-.551-.731l-.9-.422 1.546-1.546Zm-3.05 3.05L8.32 16.096c.403.381.85.769 1.328 1.165 1.236 1.024 2.509 2.041 3.353 2.56.844-.519 2.117-1.536 3.353-2.56 1.606-1.33 2.857-2.559 3.294-3.79.298-.838.395-2.495.336-4.092-.044-1.2-.169-2.343-.272-3.127l-1.054-.494Z" clip-rule="evenodd"/>
3
+ <path d="M13.425 1.096 15.91 2.26l-1.504 1.504L13 3.105 6.29 6.252a34.383 34.383 0 0 0-.273 3.127 20.15 20.15 0 0 0 .068 2.709L4.363 13.81c-.715-2.52-.19-6.95.025-8.403a.965.965 0 0 1 .551-.731l7.636-3.58a1 1 0 0 1 .85 0Z"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <path fill-rule="evenodd" d="M14.707 1.71A1 1 0 0 0 13.293.295l-12 12a1 1 0 1 0 1.414 1.415l.854-.855c1.443 1.402 3.149 2.512 3.962 3.007a.91.91 0 0 0 .954 0c1.358-.827 5.209-3.371 6.159-6.12.646-1.87.273-5.02.087-6.163a.953.953 0 0 0-.534-.702l-.438-.211.956-.956Zm-2.454 2.454-7.275 7.274c.195.187.402.375.621.564A22.662 22.662 0 0 0 8 13.802a22.66 22.66 0 0 0 2.4-1.8c1.191-1.03 2.05-2.034 2.345-2.89.203-.585.28-1.757.248-2.784a18.924 18.924 0 0 0-.164-1.887l-.576-.277Z" clip-rule="evenodd"/>
3
+ <path d="m8.434.102 1.583.763-1.499 1.498L8 2.113 3.17 4.44c-.069.516-.14 1.185-.162 1.887-.017.498-.007 1.031.031 1.514l-1.73 1.73c-.569-1.885-.213-4.884-.031-5.993a.953.953 0 0 1 .533-.702L7.566.102a1 1 0 0 1 .868 0Z"/>
4
+ </svg>