@semcore/spin-container 6.1.8 → 6.2.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,11 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
-
## [6.1
|
|
5
|
+
## [6.2.1] - 2022-12-13
|
|
6
6
|
|
|
7
7
|
### Changed
|
|
8
8
|
|
|
9
|
-
-
|
|
9
|
+
- Added `react-dom` to peer dependencies.
|
|
10
|
+
|
|
11
|
+
## [6.2.0] - 2022-12-12
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- Design tokens based theming.
|
|
10
16
|
|
|
11
17
|
## [6.1.0] - 2022-10-10
|
|
12
18
|
|
package/lib/cjs/SpinContainer.js
CHANGED
|
@@ -52,18 +52,18 @@ var style = (
|
|
|
52
52
|
/*__reshadow_css_start__*/
|
|
53
53
|
_core.sstyled.insert(
|
|
54
54
|
/*__inner_css_start__*/
|
|
55
|
-
".
|
|
55
|
+
".___SSpinContainer_171ut_gg_{z-index:0;position:relative;display:block;overflow:hidden}.___SContent_171ut_gg_{z-index:0;position:relative}.___SOverlay_171ut_gg_{z-index:1;display:flex;width:100%;height:100%;justify-content:center;align-items:center;position:absolute;top:0;left:0}.___SOverlay_171ut_gg_._theme_invert_171ut_gg_{background-color:var(--intergalactic-overlay-secondary,rgba(25,27,35,.4))}.___SOverlay_171ut_gg_._theme_dark_171ut_gg_{background-color:hsla(0,0%,100%,.85)}.___SOverlay_171ut_gg_._theme_custom_171ut_gg_{background-color:var(--background_171ut)}"
|
|
56
56
|
/*__inner_css_end__*/
|
|
57
|
-
, "
|
|
57
|
+
, "171ut_gg_")
|
|
58
58
|
/*__reshadow_css_end__*/
|
|
59
59
|
, {
|
|
60
|
-
"__SSpinContainer": "
|
|
61
|
-
"__SContent": "
|
|
62
|
-
"__SOverlay": "
|
|
63
|
-
"_theme_invert": "
|
|
64
|
-
"_theme_dark": "
|
|
65
|
-
"_theme_custom": "
|
|
66
|
-
"--background": "--
|
|
60
|
+
"__SSpinContainer": "___SSpinContainer_171ut_gg_",
|
|
61
|
+
"__SContent": "___SContent_171ut_gg_",
|
|
62
|
+
"__SOverlay": "___SOverlay_171ut_gg_",
|
|
63
|
+
"_theme_invert": "_theme_invert_171ut_gg_",
|
|
64
|
+
"_theme_dark": "_theme_dark_171ut_gg_",
|
|
65
|
+
"_theme_custom": "_theme_custom_171ut_gg_",
|
|
66
|
+
"--background": "--background_171ut"
|
|
67
67
|
});
|
|
68
68
|
|
|
69
69
|
var SpinContainerRoot = /*#__PURE__*/function (_Component) {
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@import '@semcore/utils/style/var.css';
|
|
2
|
-
|
|
3
1
|
SSpinContainer {
|
|
4
2
|
z-index: 0;
|
|
5
3
|
position: relative;
|
|
@@ -25,7 +23,7 @@ SOverlay {
|
|
|
25
23
|
}
|
|
26
24
|
|
|
27
25
|
SOverlay[theme='invert'] {
|
|
28
|
-
background-color:
|
|
26
|
+
background-color: var(--intergalactic-overlay-secondary, rgba(25, 27, 35, 0.4));
|
|
29
27
|
}
|
|
30
28
|
SOverlay[theme='dark'] {
|
|
31
29
|
background-color: rgba(255, 255, 255, 0.85);
|
package/lib/es6/SpinContainer.js
CHANGED
|
@@ -30,18 +30,18 @@ var style = (
|
|
|
30
30
|
/*__reshadow_css_start__*/
|
|
31
31
|
_sstyled.insert(
|
|
32
32
|
/*__inner_css_start__*/
|
|
33
|
-
".
|
|
33
|
+
".___SSpinContainer_171ut_gg_{z-index:0;position:relative;display:block;overflow:hidden}.___SContent_171ut_gg_{z-index:0;position:relative}.___SOverlay_171ut_gg_{z-index:1;display:flex;width:100%;height:100%;justify-content:center;align-items:center;position:absolute;top:0;left:0}.___SOverlay_171ut_gg_._theme_invert_171ut_gg_{background-color:var(--intergalactic-overlay-secondary,rgba(25,27,35,.4))}.___SOverlay_171ut_gg_._theme_dark_171ut_gg_{background-color:hsla(0,0%,100%,.85)}.___SOverlay_171ut_gg_._theme_custom_171ut_gg_{background-color:var(--background_171ut)}"
|
|
34
34
|
/*__inner_css_end__*/
|
|
35
|
-
, "
|
|
35
|
+
, "171ut_gg_")
|
|
36
36
|
/*__reshadow_css_end__*/
|
|
37
37
|
, {
|
|
38
|
-
"__SSpinContainer": "
|
|
39
|
-
"__SContent": "
|
|
40
|
-
"__SOverlay": "
|
|
41
|
-
"_theme_invert": "
|
|
42
|
-
"_theme_dark": "
|
|
43
|
-
"_theme_custom": "
|
|
44
|
-
"--background": "--
|
|
38
|
+
"__SSpinContainer": "___SSpinContainer_171ut_gg_",
|
|
39
|
+
"__SContent": "___SContent_171ut_gg_",
|
|
40
|
+
"__SOverlay": "___SOverlay_171ut_gg_",
|
|
41
|
+
"_theme_invert": "_theme_invert_171ut_gg_",
|
|
42
|
+
"_theme_dark": "_theme_dark_171ut_gg_",
|
|
43
|
+
"_theme_custom": "_theme_custom_171ut_gg_",
|
|
44
|
+
"--background": "--background_171ut"
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
var SpinContainerRoot = /*#__PURE__*/function (_Component) {
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@import '@semcore/utils/style/var.css';
|
|
2
|
-
|
|
3
1
|
SSpinContainer {
|
|
4
2
|
z-index: 0;
|
|
5
3
|
position: relative;
|
|
@@ -25,7 +23,7 @@ SOverlay {
|
|
|
25
23
|
}
|
|
26
24
|
|
|
27
25
|
SOverlay[theme='invert'] {
|
|
28
|
-
background-color:
|
|
26
|
+
background-color: var(--intergalactic-overlay-secondary, rgba(25, 27, 35, 0.4));
|
|
29
27
|
}
|
|
30
28
|
SOverlay[theme='dark'] {
|
|
31
29
|
background-color: rgba(255, 255, 255, 0.85);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/spin-container",
|
|
3
3
|
"description": "Semrush SpinContainer Component",
|
|
4
|
-
"version": "6.1
|
|
4
|
+
"version": "6.2.1",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"types": "lib/types/index.d.ts",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
18
|
"@semcore/core": "^1.11",
|
|
19
|
-
"react": "16.8 - 18"
|
|
19
|
+
"react": "16.8 - 18",
|
|
20
|
+
"react-dom": "16.8 - 18"
|
|
20
21
|
},
|
|
21
22
|
"jest": {
|
|
22
23
|
"preset": "@semcore/jest-preset-ui"
|