@semcore/icon 3.4.0 → 3.4.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/CHANGELOG.md +12 -0
- package/README.md +3 -1
- package/lib/cjs/Icon.js +7 -7
- package/lib/es6/Icon.js +7 -7
- package/package.json +7 -5
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.4.2] - 2022-12-16
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/flex-box` [4.7.1 ~> 4.7.2], `@semcore/utils` [3.43.0 ~> 3.44.0]).
|
|
10
|
+
|
|
11
|
+
## [3.4.1] - 2022-12-13
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Added `react-dom` to peer dependencies.
|
|
16
|
+
|
|
5
17
|
## [3.4.0] - 2022-12-12
|
|
6
18
|
|
|
7
19
|
### Added
|
package/README.md
CHANGED
package/lib/cjs/Icon.js
CHANGED
|
@@ -52,16 +52,16 @@ var styles = (
|
|
|
52
52
|
/*__reshadow_css_start__*/
|
|
53
53
|
_core.sstyled.insert(
|
|
54
54
|
/*__inner_css_start__*/
|
|
55
|
-
".
|
|
55
|
+
".___SIcon_ar1jk_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:none;color:var(--color_ar1jk)}.___SIcon_ar1jk_gg_.__keyboardFocused_ar1jk_gg_{box-shadow:var(--intergalactic-keyboard-focus,0 0 0 3px rgba(0,143,248,.3))}.___SIcon_ar1jk_gg_.__interactive_ar1jk_gg_{cursor:pointer}.___SIcon_ar1jk_gg_.__interactive_ar1jk_gg_:hover{color:var(--color-interactive_ar1jk)}"
|
|
56
56
|
/*__inner_css_end__*/
|
|
57
|
-
, "
|
|
57
|
+
, "ar1jk_gg_")
|
|
58
58
|
/*__reshadow_css_end__*/
|
|
59
59
|
, {
|
|
60
|
-
"__SIcon": "
|
|
61
|
-
"--color": "--
|
|
62
|
-
"_keyboardFocused": "
|
|
63
|
-
"_interactive": "
|
|
64
|
-
"--color-interactive": "--color-
|
|
60
|
+
"__SIcon": "___SIcon_ar1jk_gg_",
|
|
61
|
+
"--color": "--color_ar1jk",
|
|
62
|
+
"_keyboardFocused": "__keyboardFocused_ar1jk_gg_",
|
|
63
|
+
"_interactive": "__interactive_ar1jk_gg_",
|
|
64
|
+
"--color-interactive": "--color-interactive_ar1jk"
|
|
65
65
|
});
|
|
66
66
|
|
|
67
67
|
function Icon(props, ref) {
|
package/lib/es6/Icon.js
CHANGED
|
@@ -25,16 +25,16 @@ var styles = (
|
|
|
25
25
|
/*__reshadow_css_start__*/
|
|
26
26
|
_sstyled.insert(
|
|
27
27
|
/*__inner_css_start__*/
|
|
28
|
-
".
|
|
28
|
+
".___SIcon_ar1jk_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:none;color:var(--color_ar1jk)}.___SIcon_ar1jk_gg_.__keyboardFocused_ar1jk_gg_{box-shadow:var(--intergalactic-keyboard-focus,0 0 0 3px rgba(0,143,248,.3))}.___SIcon_ar1jk_gg_.__interactive_ar1jk_gg_{cursor:pointer}.___SIcon_ar1jk_gg_.__interactive_ar1jk_gg_:hover{color:var(--color-interactive_ar1jk)}"
|
|
29
29
|
/*__inner_css_end__*/
|
|
30
|
-
, "
|
|
30
|
+
, "ar1jk_gg_")
|
|
31
31
|
/*__reshadow_css_end__*/
|
|
32
32
|
, {
|
|
33
|
-
"__SIcon": "
|
|
34
|
-
"--color": "--
|
|
35
|
-
"_keyboardFocused": "
|
|
36
|
-
"_interactive": "
|
|
37
|
-
"--color-interactive": "--color-
|
|
33
|
+
"__SIcon": "___SIcon_ar1jk_gg_",
|
|
34
|
+
"--color": "--color_ar1jk",
|
|
35
|
+
"_keyboardFocused": "__keyboardFocused_ar1jk_gg_",
|
|
36
|
+
"_interactive": "__interactive_ar1jk_gg_",
|
|
37
|
+
"--color-interactive": "--color-interactive_ar1jk"
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
function Icon(props, ref) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/icon",
|
|
3
3
|
"description": "Semrush Icon Component",
|
|
4
|
-
"version": "3.4.
|
|
4
|
+
"version": "3.4.2",
|
|
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,15 @@
|
|
|
9
9
|
"author": "UI-kit team <ui-kit-team@semrush.com>",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@semcore/utils": "^3.40.0",
|
|
13
12
|
"@semcore/flex-box": "^4",
|
|
13
|
+
"@semcore/icon": "^3.3.2",
|
|
14
|
+
"@semcore/utils": "^3.40.0",
|
|
14
15
|
"classnames": "2.2.6"
|
|
15
16
|
},
|
|
16
17
|
"peerDependencies": {
|
|
17
18
|
"@semcore/core": "^1.11",
|
|
18
|
-
"react": "16.8 - 18"
|
|
19
|
+
"react": "16.8 - 18",
|
|
20
|
+
"react-dom": "16.8 - 18"
|
|
19
21
|
},
|
|
20
22
|
"jest": {
|
|
21
23
|
"preset": "@semcore/jest-preset-ui"
|
|
@@ -26,9 +28,9 @@
|
|
|
26
28
|
"directory": "semcore/icon"
|
|
27
29
|
},
|
|
28
30
|
"devDependencies": {
|
|
29
|
-
"@
|
|
31
|
+
"@semcore/icon-transform-svg": "1.1.0",
|
|
30
32
|
"@semcore/jest-preset-ui": "1.0.0",
|
|
31
|
-
"@
|
|
33
|
+
"@types/react": "18.0.21"
|
|
32
34
|
},
|
|
33
35
|
"scripts": {
|
|
34
36
|
"transform": "pnpm icon-transform-svg",
|