@semcore/icon 3.0.0 → 3.0.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 +6 -0
- package/lib/cjs/Icon.js +7 -7
- package/lib/es6/Icon.js +7 -7
- package/package.json +4 -4
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
|
+
## [3.0.2] - 2022-10-20
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/utils` [3.39.0 ~> 3.39.1], `@semcore/flex-box` [4.6.1 ~> 4.6.2]).
|
|
10
|
+
|
|
5
11
|
## [3.0.0] - 2022-10-10
|
|
6
12
|
|
|
7
13
|
### BREAK
|
package/lib/cjs/Icon.js
CHANGED
|
@@ -48,16 +48,16 @@ var styles = (
|
|
|
48
48
|
/*__reshadow_css_start__*/
|
|
49
49
|
_core.sstyled.insert(
|
|
50
50
|
/*__inner_css_start__*/
|
|
51
|
-
":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.
|
|
51
|
+
":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SIcon_piaz0_gg_ {\n display: inline-block;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n shape-rendering: geometricPrecision;\n box-sizing: content-box;\n fill: currentColor;\n flex-shrink: 0;\n outline: none;\n color: var(--color_piaz0);\n}\n\n.___SIcon_piaz0_gg_.__keyboardFocused_piaz0_gg_ {\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n}\n\n.___SIcon_piaz0_gg_.__interactive_piaz0_gg_ {\n cursor: pointer\n}\n\n.___SIcon_piaz0_gg_.__interactive_piaz0_gg_:hover {\n color: var(--color-interactive_piaz0);\n }\n"
|
|
52
52
|
/*__inner_css_end__*/
|
|
53
|
-
, "
|
|
53
|
+
, "piaz0_gg_")
|
|
54
54
|
/*__reshadow_css_end__*/
|
|
55
55
|
, {
|
|
56
|
-
"__SIcon": "
|
|
57
|
-
"--color": "--
|
|
58
|
-
"_keyboardFocused": "
|
|
59
|
-
"_interactive": "
|
|
60
|
-
"--color-interactive": "--color-
|
|
56
|
+
"__SIcon": "___SIcon_piaz0_gg_",
|
|
57
|
+
"--color": "--color_piaz0",
|
|
58
|
+
"_keyboardFocused": "__keyboardFocused_piaz0_gg_",
|
|
59
|
+
"_interactive": "__interactive_piaz0_gg_",
|
|
60
|
+
"--color-interactive": "--color-interactive_piaz0"
|
|
61
61
|
});
|
|
62
62
|
|
|
63
63
|
function Icon(props, ref) {
|
package/lib/es6/Icon.js
CHANGED
|
@@ -23,16 +23,16 @@ var styles = (
|
|
|
23
23
|
/*__reshadow_css_start__*/
|
|
24
24
|
_sstyled.insert(
|
|
25
25
|
/*__inner_css_start__*/
|
|
26
|
-
":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.
|
|
26
|
+
":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SIcon_piaz0_gg_ {\n display: inline-block;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n shape-rendering: geometricPrecision;\n box-sizing: content-box;\n fill: currentColor;\n flex-shrink: 0;\n outline: none;\n color: var(--color_piaz0);\n}\n\n.___SIcon_piaz0_gg_.__keyboardFocused_piaz0_gg_ {\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n}\n\n.___SIcon_piaz0_gg_.__interactive_piaz0_gg_ {\n cursor: pointer\n}\n\n.___SIcon_piaz0_gg_.__interactive_piaz0_gg_:hover {\n color: var(--color-interactive_piaz0);\n }\n"
|
|
27
27
|
/*__inner_css_end__*/
|
|
28
|
-
, "
|
|
28
|
+
, "piaz0_gg_")
|
|
29
29
|
/*__reshadow_css_end__*/
|
|
30
30
|
, {
|
|
31
|
-
"__SIcon": "
|
|
32
|
-
"--color": "--
|
|
33
|
-
"_keyboardFocused": "
|
|
34
|
-
"_interactive": "
|
|
35
|
-
"--color-interactive": "--color-
|
|
31
|
+
"__SIcon": "___SIcon_piaz0_gg_",
|
|
32
|
+
"--color": "--color_piaz0",
|
|
33
|
+
"_keyboardFocused": "__keyboardFocused_piaz0_gg_",
|
|
34
|
+
"_interactive": "__interactive_piaz0_gg_",
|
|
35
|
+
"--color-interactive": "--color-interactive_piaz0"
|
|
36
36
|
});
|
|
37
37
|
|
|
38
38
|
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.0.
|
|
4
|
+
"version": "3.0.2",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"@semcore/icon-transform-svg": "1.0.0"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
|
-
"parsing": "icon-transform-svg parsing",
|
|
35
|
-
"transform": "icon-transform-svg",
|
|
36
|
-
"build": "pnpm run clean && pnpm semcore-builder --source=js && pnpm
|
|
34
|
+
"parsing": "pnpm icon-transform-svg parsing",
|
|
35
|
+
"transform": "pnpm icon-transform-svg",
|
|
36
|
+
"build": "pnpm run clean && pnpm semcore-builder --source=js && pnpm run transform --configFile=./transform-svg-legacy.config.js && pnpm run transform --configFile=./transform-svg.config.js",
|
|
37
37
|
"test": "jest",
|
|
38
38
|
"clean": "ls -d */ | egrep -v \"__tests__|src|svg|svg-new|node_modules\" | xargs rm -rf"
|
|
39
39
|
}
|