@semcore/icon 4.8.2 → 4.8.3
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 +7 -1
- package/Favorite/l/index.js +1 -1
- package/Favorite/l/index.mjs +1 -1
- package/Favorite/m/index.js +1 -1
- package/Favorite/m/index.mjs +1 -1
- package/FavoriteFilled/l/index.js +1 -1
- package/FavoriteFilled/l/index.mjs +1 -1
- package/FavoriteFilled/m/index.js +1 -1
- package/FavoriteFilled/m/index.mjs +1 -1
- package/lib/cjs/Icon.js +6 -6
- package/lib/es6/Icon.js +6 -6
- package/package.json +5 -5
- package/svg/icon/Favorite/l.svg +3 -1
- package/svg/icon/Favorite/m.svg +3 -1
- package/svg/icon/FavoriteFilled/l.svg +3 -1
- package/svg/icon/FavoriteFilled/m.svg +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
-
## [4.8.
|
|
5
|
+
## [4.8.3-prerelease.0] - 2023-09-13
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Fixed strange svg issue that was cutting the edge of the `Favorite` and `FavoriteFilled` icons.
|
|
10
|
+
|
|
11
|
+
## [4.8.2] - 2023-09-12
|
|
6
12
|
|
|
7
13
|
### Changed
|
|
8
14
|
|
package/Favorite/l/index.js
CHANGED
|
@@ -28,8 +28,8 @@ function Favorite(_ref, ref) {
|
|
|
28
28
|
viewBox: viewBox
|
|
29
29
|
}, props), /*#__PURE__*/_react["default"].createElement("path", {
|
|
30
30
|
fillRule: "evenodd",
|
|
31
|
+
d: "M14.358 9.31 12 4.834 9.642 9.31l-4.985.864 3.526 3.634-.72 5.014L12 16.588l4.537 2.235-.72-5.014 3.526-3.634-4.985-.864Zm8.31-.59a.4.4 0 0 1 .219.674l-4.952 5.104 1.012 7.044a.4.4 0 0 1-.573.416L12 18.818l-6.374 3.14a.4.4 0 0 1-.572-.416l1.01-7.044-4.95-5.104a.4.4 0 0 1 .218-.673l7-1.214 3.314-6.293a.4.4 0 0 1 .708 0l3.314 6.293 7 1.214Z",
|
|
31
32
|
clipRule: "evenodd",
|
|
32
|
-
d: "m13.855 9.31-2.358-4.477L9.14 9.31l-4.984.864 3.525 3.634-.72 5.014 4.537-2.235 4.537 2.235-.72-5.014 3.526-3.634-4.985-.864Zm8.31-.59a.4.4 0 0 1 .219.674l-4.951 5.104 1.01 7.044a.4.4 0 0 1-.572.416l-6.374-3.14-6.374 3.14a.4.4 0 0 1-.572-.416l1.011-7.044L.611 9.394a.4.4 0 0 1 .218-.673l7-1.214 3.315-6.293a.4.4 0 0 1 .707 0l3.315 6.293 7 1.214Z",
|
|
33
33
|
shapeRendering: "geometricPrecision"
|
|
34
34
|
}));
|
|
35
35
|
}
|
package/Favorite/l/index.mjs
CHANGED
|
@@ -17,8 +17,8 @@ function Favorite({
|
|
|
17
17
|
viewBox: viewBox
|
|
18
18
|
}, props), /*#__PURE__*/React.createElement("path", {
|
|
19
19
|
fillRule: "evenodd",
|
|
20
|
+
d: "M14.358 9.31 12 4.834 9.642 9.31l-4.985.864 3.526 3.634-.72 5.014L12 16.588l4.537 2.235-.72-5.014 3.526-3.634-4.985-.864Zm8.31-.59a.4.4 0 0 1 .219.674l-4.952 5.104 1.012 7.044a.4.4 0 0 1-.573.416L12 18.818l-6.374 3.14a.4.4 0 0 1-.572-.416l1.01-7.044-4.95-5.104a.4.4 0 0 1 .218-.673l7-1.214 3.314-6.293a.4.4 0 0 1 .708 0l3.314 6.293 7 1.214Z",
|
|
20
21
|
clipRule: "evenodd",
|
|
21
|
-
d: "m13.855 9.31-2.358-4.477L9.14 9.31l-4.984.864 3.525 3.634-.72 5.014 4.537-2.235 4.537 2.235-.72-5.014 3.526-3.634-4.985-.864Zm8.31-.59a.4.4 0 0 1 .219.674l-4.951 5.104 1.01 7.044a.4.4 0 0 1-.572.416l-6.374-3.14-6.374 3.14a.4.4 0 0 1-.572-.416l1.011-7.044L.611 9.394a.4.4 0 0 1 .218-.673l7-1.214 3.315-6.293a.4.4 0 0 1 .707 0l3.315 6.293 7 1.214Z",
|
|
22
22
|
shapeRendering: "geometricPrecision"
|
|
23
23
|
}));
|
|
24
24
|
}
|
package/Favorite/m/index.js
CHANGED
|
@@ -28,8 +28,8 @@ function Favorite(_ref, ref) {
|
|
|
28
28
|
viewBox: viewBox
|
|
29
29
|
}, props), /*#__PURE__*/_react["default"].createElement("path", {
|
|
30
30
|
fillRule: "evenodd",
|
|
31
|
+
d: "M9.406 6.399 8 3.782 6.594 6.399l-2.892.49 2.042 2.064-.424 2.895L8 10.554l2.68 1.294-.424-2.895 2.041-2.063-2.89-.491Zm6.26-.964a.4.4 0 0 1 .218.675l-3.503 3.539.716 4.893a.4.4 0 0 1-.57.417L8 12.774l-4.527 2.185a.4.4 0 0 1-.57-.417l.716-4.893L.116 6.11a.4.4 0 0 1 .218-.675l4.959-.842L7.647.21a.4.4 0 0 1 .706 0l2.354 4.382 4.96.842Z",
|
|
31
32
|
clipRule: "evenodd",
|
|
32
|
-
d: "M9.91 7.397 8.505 4.78 7.098 7.397l-2.891.49L6.249 9.95l-.424 2.896 2.68-1.294 2.68 1.294-.425-2.896 2.042-2.062-2.891-.491Zm6.26-.964a.4.4 0 0 1 .218.675l-3.503 3.539.717 4.893a.4.4 0 0 1-.57.417l-4.528-2.185-4.527 2.185a.4.4 0 0 1-.57-.417l.717-4.893L.62 7.107a.4.4 0 0 1 .218-.674l4.959-.843 2.355-4.38a.4.4 0 0 1 .705 0l2.355 4.381 4.959.843Z",
|
|
33
33
|
shapeRendering: "geometricPrecision"
|
|
34
34
|
}));
|
|
35
35
|
}
|
package/Favorite/m/index.mjs
CHANGED
|
@@ -17,8 +17,8 @@ function Favorite({
|
|
|
17
17
|
viewBox: viewBox
|
|
18
18
|
}, props), /*#__PURE__*/React.createElement("path", {
|
|
19
19
|
fillRule: "evenodd",
|
|
20
|
+
d: "M9.406 6.399 8 3.782 6.594 6.399l-2.892.49 2.042 2.064-.424 2.895L8 10.554l2.68 1.294-.424-2.895 2.041-2.063-2.89-.491Zm6.26-.964a.4.4 0 0 1 .218.675l-3.503 3.539.716 4.893a.4.4 0 0 1-.57.417L8 12.774l-4.527 2.185a.4.4 0 0 1-.57-.417l.716-4.893L.116 6.11a.4.4 0 0 1 .218-.675l4.959-.842L7.647.21a.4.4 0 0 1 .706 0l2.354 4.382 4.96.842Z",
|
|
20
21
|
clipRule: "evenodd",
|
|
21
|
-
d: "M9.91 7.397 8.505 4.78 7.098 7.397l-2.891.49L6.249 9.95l-.424 2.896 2.68-1.294 2.68 1.294-.425-2.896 2.042-2.062-2.891-.491Zm6.26-.964a.4.4 0 0 1 .218.675l-3.503 3.539.717 4.893a.4.4 0 0 1-.57.417l-4.528-2.185-4.527 2.185a.4.4 0 0 1-.57-.417l.717-4.893L.62 7.107a.4.4 0 0 1 .218-.674l4.959-.843 2.355-4.38a.4.4 0 0 1 .705 0l2.355 4.381 4.959.843Z",
|
|
22
22
|
shapeRendering: "geometricPrecision"
|
|
23
23
|
}));
|
|
24
24
|
}
|
|
@@ -27,7 +27,7 @@ function FavoriteFilled(_ref, ref) {
|
|
|
27
27
|
height: height,
|
|
28
28
|
viewBox: viewBox
|
|
29
29
|
}, props), /*#__PURE__*/_react["default"].createElement("path", {
|
|
30
|
-
d: "M11.
|
|
30
|
+
d: "M11.646 1.214a.4.4 0 0 1 .708 0l3.314 6.293 7 1.214a.4.4 0 0 1 .219.673l-4.952 5.104 1.012 7.044a.4.4 0 0 1-.573.416L12 18.818l-6.374 3.14a.4.4 0 0 1-.572-.416l1.01-7.044-4.95-5.104a.4.4 0 0 1 .218-.673l7-1.214 3.314-6.293Z",
|
|
31
31
|
shapeRendering: "geometricPrecision"
|
|
32
32
|
}));
|
|
33
33
|
}
|
|
@@ -16,7 +16,7 @@ function FavoriteFilled({
|
|
|
16
16
|
height: height,
|
|
17
17
|
viewBox: viewBox
|
|
18
18
|
}, props), /*#__PURE__*/React.createElement("path", {
|
|
19
|
-
d: "M11.
|
|
19
|
+
d: "M11.646 1.214a.4.4 0 0 1 .708 0l3.314 6.293 7 1.214a.4.4 0 0 1 .219.673l-4.952 5.104 1.012 7.044a.4.4 0 0 1-.573.416L12 18.818l-6.374 3.14a.4.4 0 0 1-.572-.416l1.01-7.044-4.95-5.104a.4.4 0 0 1 .218-.673l7-1.214 3.314-6.293Z",
|
|
20
20
|
shapeRendering: "geometricPrecision"
|
|
21
21
|
}));
|
|
22
22
|
}
|
|
@@ -28,8 +28,8 @@ function FavoriteFilled(_ref, ref) {
|
|
|
28
28
|
viewBox: viewBox
|
|
29
29
|
}, props), /*#__PURE__*/_react["default"].createElement("path", {
|
|
30
30
|
fillRule: "evenodd",
|
|
31
|
+
d: "M15.666 5.435a.4.4 0 0 1 .218.675l-3.503 3.539.716 4.893a.4.4 0 0 1-.57.417L8 12.774l-4.527 2.185a.4.4 0 0 1-.57-.417l.716-4.893L.116 6.11a.4.4 0 0 1 .218-.675l4.959-.842L7.647.21a.4.4 0 0 1 .706 0l2.354 4.382 4.96.842Z",
|
|
31
32
|
clipRule: "evenodd",
|
|
32
|
-
d: "M16.17 6.433a.4.4 0 0 1 .218.675l-3.503 3.539.717 4.893a.4.4 0 0 1-.57.417l-4.528-2.185-4.527 2.185a.4.4 0 0 1-.57-.417l.717-4.893L.62 7.107a.4.4 0 0 1 .218-.674l4.959-.843 2.355-4.38a.4.4 0 0 1 .705 0l2.355 4.381 4.959.843Z",
|
|
33
33
|
shapeRendering: "geometricPrecision"
|
|
34
34
|
}));
|
|
35
35
|
}
|
|
@@ -17,8 +17,8 @@ function FavoriteFilled({
|
|
|
17
17
|
viewBox: viewBox
|
|
18
18
|
}, props), /*#__PURE__*/React.createElement("path", {
|
|
19
19
|
fillRule: "evenodd",
|
|
20
|
+
d: "M15.666 5.435a.4.4 0 0 1 .218.675l-3.503 3.539.716 4.893a.4.4 0 0 1-.57.417L8 12.774l-4.527 2.185a.4.4 0 0 1-.57-.417l.716-4.893L.116 6.11a.4.4 0 0 1 .218-.675l4.959-.842L7.647.21a.4.4 0 0 1 .706 0l2.354 4.382 4.96.842Z",
|
|
20
21
|
clipRule: "evenodd",
|
|
21
|
-
d: "M16.17 6.433a.4.4 0 0 1 .218.675l-3.503 3.539.717 4.893a.4.4 0 0 1-.57.417l-4.528-2.185-4.527 2.185a.4.4 0 0 1-.57-.417l.717-4.893L.62 7.107a.4.4 0 0 1 .218-.674l4.959-.843 2.355-4.38a.4.4 0 0 1 .705 0l2.355 4.381 4.959.843Z",
|
|
22
22
|
shapeRendering: "geometricPrecision"
|
|
23
23
|
}));
|
|
24
24
|
}
|
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__*/".
|
|
26
|
-
"__SIcon": "
|
|
27
|
-
"--color": "--
|
|
28
|
-
"_keyboardFocused": "
|
|
29
|
-
"_interactive": "
|
|
30
|
-
"--color-interactive": "--color-
|
|
25
|
+
var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SIcon_xxd6i_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_xxd6i)}.___SIcon_xxd6i_gg_.__keyboardFocused_xxd6i_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SIcon_xxd6i_gg_.__interactive_xxd6i_gg_{cursor:pointer}@media (hover:hover){.___SIcon_xxd6i_gg_.__interactive_xxd6i_gg_:hover{color:var(--color-interactive_xxd6i)}}" /*__inner_css_end__*/, "xxd6i_gg_") /*__reshadow_css_end__*/, {
|
|
26
|
+
"__SIcon": "___SIcon_xxd6i_gg_",
|
|
27
|
+
"--color": "--color_xxd6i",
|
|
28
|
+
"_keyboardFocused": "__keyboardFocused_xxd6i_gg_",
|
|
29
|
+
"_interactive": "__interactive_xxd6i_gg_",
|
|
30
|
+
"--color-interactive": "--color-interactive_xxd6i"
|
|
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__*/".
|
|
19
|
-
"__SIcon": "
|
|
20
|
-
"--color": "--
|
|
21
|
-
"_keyboardFocused": "
|
|
22
|
-
"_interactive": "
|
|
23
|
-
"--color-interactive": "--color-
|
|
18
|
+
var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SIcon_xxd6i_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_xxd6i)}.___SIcon_xxd6i_gg_.__keyboardFocused_xxd6i_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SIcon_xxd6i_gg_.__interactive_xxd6i_gg_{cursor:pointer}@media (hover:hover){.___SIcon_xxd6i_gg_.__interactive_xxd6i_gg_:hover{color:var(--color-interactive_xxd6i)}}" /*__inner_css_end__*/, "xxd6i_gg_") /*__reshadow_css_end__*/, {
|
|
19
|
+
"__SIcon": "___SIcon_xxd6i_gg_",
|
|
20
|
+
"--color": "--color_xxd6i",
|
|
21
|
+
"_keyboardFocused": "__keyboardFocused_xxd6i_gg_",
|
|
22
|
+
"_interactive": "__interactive_xxd6i_gg_",
|
|
23
|
+
"--color-interactive": "--color-interactive_xxd6i"
|
|
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": "4.8.
|
|
4
|
+
"version": "4.8.3",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"author": "UI-kit team <ui-kit-team@semrush.com>",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@semcore/flex-box": "5.
|
|
13
|
-
"@semcore/icon": "4.8.
|
|
14
|
-
"@semcore/utils": "4.
|
|
12
|
+
"@semcore/flex-box": "5.7.0",
|
|
13
|
+
"@semcore/icon": "4.8.3",
|
|
14
|
+
"@semcore/utils": "4.7.0",
|
|
15
15
|
"classnames": "2.2.6"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"@semcore/core": "^2.
|
|
18
|
+
"@semcore/core": "^2.7.0-prerelease.0",
|
|
19
19
|
"react": "16.8 - 18",
|
|
20
20
|
"react-dom": "16.8 - 18"
|
|
21
21
|
},
|
package/svg/icon/Favorite/l.svg
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
<svg
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
2
|
+
<path fill-rule="evenodd" d="M14.358 9.31 12 4.834 9.642 9.31l-4.985.864 3.526 3.634-.72 5.014L12 16.588l4.537 2.235-.72-5.014 3.526-3.634-4.985-.864Zm8.31-.59a.4.4 0 0 1 .219.674l-4.952 5.104 1.012 7.044a.4.4 0 0 1-.573.416L12 18.818l-6.374 3.14a.4.4 0 0 1-.572-.416l1.01-7.044-4.95-5.104a.4.4 0 0 1 .218-.673l7-1.214 3.314-6.293a.4.4 0 0 1 .708 0l3.314 6.293 7 1.214Z" clip-rule="evenodd"/>
|
|
3
|
+
</svg>
|
package/svg/icon/Favorite/m.svg
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
<svg
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M9.406 6.399 8 3.782 6.594 6.399l-2.892.49 2.042 2.064-.424 2.895L8 10.554l2.68 1.294-.424-2.895 2.041-2.063-2.89-.491Zm6.26-.964a.4.4 0 0 1 .218.675l-3.503 3.539.716 4.893a.4.4 0 0 1-.57.417L8 12.774l-4.527 2.185a.4.4 0 0 1-.57-.417l.716-4.893L.116 6.11a.4.4 0 0 1 .218-.675l4.959-.842L7.647.21a.4.4 0 0 1 .706 0l2.354 4.382 4.96.842Z" clip-rule="evenodd"/>
|
|
3
|
+
</svg>
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
<svg
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
2
|
+
<path d="M11.646 1.214a.4.4 0 0 1 .708 0l3.314 6.293 7 1.214a.4.4 0 0 1 .219.673l-4.952 5.104 1.012 7.044a.4.4 0 0 1-.573.416L12 18.818l-6.374 3.14a.4.4 0 0 1-.572-.416l1.01-7.044-4.95-5.104a.4.4 0 0 1 .218-.673l7-1.214 3.314-6.293Z"/>
|
|
3
|
+
</svg>
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
<svg
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M15.666 5.435a.4.4 0 0 1 .218.675l-3.503 3.539.716 4.893a.4.4 0 0 1-.57.417L8 12.774l-4.527 2.185a.4.4 0 0 1-.57-.417l.716-4.893L.116 6.11a.4.4 0 0 1 .218-.675l4.959-.842L7.647.21a.4.4 0 0 1 .706 0l2.354 4.382 4.96.842Z" clip-rule="evenodd"/>
|
|
3
|
+
</svg>
|