@semcore/spin-container 6.0.12 → 6.1.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,77 +2,35 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
- ## [6.0.12] - 2022-10-04
6
-
7
- ### Changed
8
-
9
- - Version patch update due to children dependencies update (`@semcore/utils` [3.37.1 ~> 3.37.2], `@semcore/spin` [4.0.10 ~> 4.0.11], `@semcore/flex-box` [4.5.11 ~> 4.5.12], `@semcore/animation` [1.5.10 ~> 1.5.11]).
10
-
11
- ## [6.0.11] - 2022-09-20
12
-
13
- ### Fixed
14
-
15
- - Added essential accessibility attributes.
16
-
17
- ## [6.0.10] - 2022-08-30
18
-
19
- ### Changed
20
-
21
- - Version patch update due to children dependencies update (`@semcore/utils` [3.37.0 ~> 3.37.1], `@semcore/spin` [4.0.8 ~> 4.0.9], `@semcore/flex-box` [4.5.10 ~> 4.5.11], `@semcore/animation` [1.5.9 ~> 1.5.10]).
22
-
23
- ## [6.0.9] - 2022-08-29
24
-
25
- ### Changed
26
-
27
- - Version patch update due to children dependencies update (`@semcore/animation` [1.5.8 ~> 1.5.9]).
28
-
29
- ## [6.0.8] - 2022-08-18
30
-
31
- ### Changed
32
-
33
- - Version patch update due to children dependencies update (`@semcore/utils` [3.36.0 ~> 3.37.0], `@semcore/spin` [4.0.7 ~> 4.0.8], `@semcore/flex-box` [4.5.9 ~> 4.5.10], `@semcore/animation` [1.5.7 ~> 1.5.8]).
34
-
35
- ## [6.0.7] - 2022-08-11
5
+ ## [6.1.1] - 2022-10-17
36
6
 
37
7
  ### Changed
38
8
 
39
- - Version patch update due to children dependencies update (`@semcore/utils` [3.35.1 ~> 3.36.0], `@semcore/spin` [4.0.6 ~> 4.0.7], `@semcore/flex-box` [4.5.8 ~> 4.5.9], `@semcore/animation` [1.5.6 ~> 1.5.7]).
9
+ - Version patch update due to children dependencies update (`@semcore/utils` [3.39.0 ~> 3.39.0], `@semcore/spin` [4.1.0 ~> 4.1.1], `@semcore/flex-box` [4.6.0 ~> 4.6.1], `@semcore/animation` [1.6.0 ~> 1.6.1]).
40
10
 
41
- ## [6.0.6] - 2022-08-01
11
+ ## [6.1.0] - 2022-10-10
42
12
 
43
13
  ### Changed
44
14
 
45
- - Version patch update due to children dependencies update (`@semcore/utils` [3.35.0 ~> 3.35.1], `@semcore/spin` [4.0.5 ~> 4.0.6], `@semcore/flex-box` [4.5.7 ~> 4.5.8], `@semcore/animation` [1.5.5 ~> 1.5.6]).
46
-
47
- ## [6.0.5] - 2022-07-22
48
-
49
- ### Changed
15
+ - Added support for React 18 🔥
50
16
 
51
- - Version patch update due to children dependencies update (`@semcore/utils` [3.34.0 ~> 3.35.0], `@semcore/spin` [4.0.4 ~> 4.0.5], `@semcore/flex-box` [4.5.6 ~> 4.5.7], `@semcore/animation` [1.5.4 ~> 1.5.5]).
52
-
53
- ## [6.0.4] - 2022-07-07
54
-
55
- ### Changed
56
-
57
- - Version patch update due to children dependencies update (`@semcore/utils` [3.33.0 ~> 3.34.0], `@semcore/spin` [4.0.3 ~> 4.0.4], `@semcore/flex-box` [4.5.5 ~> 4.5.6], `@semcore/animation` [1.5.3 ~> 1.5.4]).
58
-
59
- ## [6.0.3] - 2022-06-02
17
+ ## [6.0.12] - 2022-10-04
60
18
 
61
19
  ### Changed
62
20
 
63
- - Version patch update due to children dependencies update (`@semcore/utils` [3.32.2 ~> 3.33.0], `@semcore/spin` [4.0.2 ~> 4.0.3], `@semcore/flex-box` [4.5.4 ~> 4.5.5], `@semcore/animation` [1.5.2 ~> 1.5.3]).
21
+ - Version patch update due to children dependencies update (`@semcore/utils` [3.37.1 ~> 3.37.2], `@semcore/spin` [4.0.10 ~> 4.0.11], `@semcore/flex-box` [4.5.11 ~> 4.5.12], `@semcore/animation` [1.5.10 ~> 1.5.11]).
64
22
 
65
- ## [6.0.2] - 2022-05-31
23
+ ## [6.0.11] - 2022-09-20
66
24
 
67
- ### Changed
25
+ ### Fixed
68
26
 
69
- - Version patch update due to children dependencies update (`@semcore/utils` [3.32.1 ~> 3.32.2], `@semcore/spin` [4.0.1 ~> 4.0.2], `@semcore/flex-box` [4.5.3 ~> 4.5.4], `@semcore/animation` [1.5.1 ~> 1.5.2]).
27
+ - Added essential accessibility attributes.
70
28
 
71
- ## [6.0.1] - 2022-05-19
29
+ ## [6.0.10] - 2022-08-30
72
30
 
73
31
  ### Changed
74
32
 
75
- - Version patch update due to children dependencies update (`@semcore/utils` [3.32.0 ~> 3.32.1], `@semcore/spin` [4.0.0 ~> 4.0.1], `@semcore/flex-box` [4.5.1 ~> 4.5.3], `@semcore/animation` [1.5.0 ~> 1.5.1]).
33
+ - Version patch update due to children dependencies update (`@semcore/utils` [3.37.0 ~> 3.37.1], `@semcore/spin` [4.0.8 ~> 4.0.9], `@semcore/flex-box` [4.5.10 ~> 4.5.11], `@semcore/animation` [1.5.9 ~> 1.5.10]).
76
34
 
77
35
  ## [6.0.0] - 2022-05-17
78
36
 
@@ -92,18 +50,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
92
50
 
93
51
  - Version patch update due to children dependencies update (`@semcore/animation` [1.5.0 ~> 1.5.0]).
94
52
 
95
- ## [5.0.4] - 2022-03-14
96
-
97
- ### Changed
98
-
99
- - Version patch update due to children dependencies update (`@semcore/utils` [3.31.2 ~> 3.31.2], `@semcore/spin` [3.4.0 ~> 3.4.1], `@semcore/flex-box` [4.5.0 ~> 4.5.1], `@semcore/animation` [1.4.1 ~> 1.4.2]).
100
-
101
- ## [5.0.3] - 2022-03-05
102
-
103
- ### Changed
104
-
105
- - Version patch update due to children dependencies update (`@semcore/animation` [1.4.0 ~> 1.4.1]).
106
-
107
53
  ## [5.0.2] - 2021-02-28
108
54
 
109
55
  ### Fixed
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright ©, 2022, Semrush Inc. (written by Roman Lysov, Sergey Kobets, Mikhail Karachev, Julia Mnizhek, Elena Krasnopolskaia, Mikhail Sereniti).
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -52,18 +52,18 @@ var style = (
52
52
  /*__reshadow_css_start__*/
53
53
  _core.sstyled.insert(
54
54
  /*__inner_css_start__*/
55
- ".___SSpinContainer_1udbd_gg_{z-index:0;position:relative;display:block;overflow:hidden}.___SContent_1udbd_gg_{z-index:0;position:relative}.___SOverlay_1udbd_gg_{z-index:1;display:flex;width:100%;height:100%;justify-content:center;align-items:center;position:absolute;top:0;left:0}.___SOverlay_1udbd_gg_._theme_invert_1udbd_gg_{background-color:rgba(25,27,35,.4)}.___SOverlay_1udbd_gg_._theme_dark_1udbd_gg_{background-color:hsla(0,0%,100%,.85)}.___SOverlay_1udbd_gg_._theme_custom_1udbd_gg_{background-color:var(--background_1udbd)}"
55
+ ":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.___SSpinContainer_1evlh_gg_ {\n z-index: 0;\n position: relative;\n display: block;\n overflow: hidden;\n}\n\n.___SContent_1evlh_gg_ {\n z-index: 0;\n position: relative;\n}\n\n.___SOverlay_1evlh_gg_ {\n z-index: 1;\n display: flex;\n width: 100%;\n height: 100%;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n.___SOverlay_1evlh_gg_._theme_invert_1evlh_gg_ {\n background-color: rgba(25, 27, 35, 0.4);\n}\n\n.___SOverlay_1evlh_gg_._theme_dark_1evlh_gg_ {\n background-color: rgba(255, 255, 255, 0.85);\n}\n\n.___SOverlay_1evlh_gg_._theme_custom_1evlh_gg_ {\n background-color: var(--background_1evlh);\n}\n"
56
56
  /*__inner_css_end__*/
57
- , "1udbd_gg_")
57
+ , "1evlh_gg_")
58
58
  /*__reshadow_css_end__*/
59
59
  , {
60
- "__SSpinContainer": "___SSpinContainer_1udbd_gg_",
61
- "__SContent": "___SContent_1udbd_gg_",
62
- "__SOverlay": "___SOverlay_1udbd_gg_",
63
- "_theme_invert": "_theme_invert_1udbd_gg_",
64
- "_theme_dark": "_theme_dark_1udbd_gg_",
65
- "_theme_custom": "_theme_custom_1udbd_gg_",
66
- "--background": "--background_1udbd"
60
+ "__SSpinContainer": "___SSpinContainer_1evlh_gg_",
61
+ "__SContent": "___SContent_1evlh_gg_",
62
+ "__SOverlay": "___SOverlay_1evlh_gg_",
63
+ "_theme_invert": "_theme_invert_1evlh_gg_",
64
+ "_theme_dark": "_theme_dark_1evlh_gg_",
65
+ "_theme_custom": "_theme_custom_1evlh_gg_",
66
+ "--background": "--background_1evlh"
67
67
  });
68
68
 
69
69
  var SpinContainerRoot = /*#__PURE__*/function (_Component) {
@@ -30,18 +30,18 @@ var style = (
30
30
  /*__reshadow_css_start__*/
31
31
  _sstyled.insert(
32
32
  /*__inner_css_start__*/
33
- ".___SSpinContainer_1udbd_gg_{z-index:0;position:relative;display:block;overflow:hidden}.___SContent_1udbd_gg_{z-index:0;position:relative}.___SOverlay_1udbd_gg_{z-index:1;display:flex;width:100%;height:100%;justify-content:center;align-items:center;position:absolute;top:0;left:0}.___SOverlay_1udbd_gg_._theme_invert_1udbd_gg_{background-color:rgba(25,27,35,.4)}.___SOverlay_1udbd_gg_._theme_dark_1udbd_gg_{background-color:hsla(0,0%,100%,.85)}.___SOverlay_1udbd_gg_._theme_custom_1udbd_gg_{background-color:var(--background_1udbd)}"
33
+ ":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.___SSpinContainer_1evlh_gg_ {\n z-index: 0;\n position: relative;\n display: block;\n overflow: hidden;\n}\n\n.___SContent_1evlh_gg_ {\n z-index: 0;\n position: relative;\n}\n\n.___SOverlay_1evlh_gg_ {\n z-index: 1;\n display: flex;\n width: 100%;\n height: 100%;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n.___SOverlay_1evlh_gg_._theme_invert_1evlh_gg_ {\n background-color: rgba(25, 27, 35, 0.4);\n}\n\n.___SOverlay_1evlh_gg_._theme_dark_1evlh_gg_ {\n background-color: rgba(255, 255, 255, 0.85);\n}\n\n.___SOverlay_1evlh_gg_._theme_custom_1evlh_gg_ {\n background-color: var(--background_1evlh);\n}\n"
34
34
  /*__inner_css_end__*/
35
- , "1udbd_gg_")
35
+ , "1evlh_gg_")
36
36
  /*__reshadow_css_end__*/
37
37
  , {
38
- "__SSpinContainer": "___SSpinContainer_1udbd_gg_",
39
- "__SContent": "___SContent_1udbd_gg_",
40
- "__SOverlay": "___SOverlay_1udbd_gg_",
41
- "_theme_invert": "_theme_invert_1udbd_gg_",
42
- "_theme_dark": "_theme_dark_1udbd_gg_",
43
- "_theme_custom": "_theme_custom_1udbd_gg_",
44
- "--background": "--background_1udbd"
38
+ "__SSpinContainer": "___SSpinContainer_1evlh_gg_",
39
+ "__SContent": "___SContent_1evlh_gg_",
40
+ "__SOverlay": "___SOverlay_1evlh_gg_",
41
+ "_theme_invert": "_theme_invert_1evlh_gg_",
42
+ "_theme_dark": "_theme_dark_1evlh_gg_",
43
+ "_theme_custom": "_theme_custom_1evlh_gg_",
44
+ "--background": "--background_1evlh"
45
45
  });
46
46
 
47
47
  var SpinContainerRoot = /*#__PURE__*/function (_Component) {
package/package.json CHANGED
@@ -1,17 +1,13 @@
1
1
  {
2
2
  "name": "@semcore/spin-container",
3
3
  "description": "Semrush SpinContainer Component",
4
- "version": "6.0.12",
4
+ "version": "6.1.1",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "types": "lib/types/index.d.ts",
8
8
  "sideEffects": false,
9
9
  "author": "UI-kit team <ui-kit-team@semrush.com>",
10
10
  "license": "MIT",
11
- "scripts": {
12
- "build": "pnpm semcore-builder --source=js",
13
- "test": "jest"
14
- },
15
11
  "dependencies": {
16
12
  "@semcore/utils": "^3.31",
17
13
  "@semcore/spin": "^4",
@@ -20,7 +16,7 @@
20
16
  },
21
17
  "peerDependencies": {
22
18
  "@semcore/core": "^1.11",
23
- "react": "16.8 - 17"
19
+ "react": "16.8 - 18"
24
20
  },
25
21
  "jest": {
26
22
  "preset": "@semcore/jest-preset-ui"
@@ -31,7 +27,11 @@
31
27
  "directory": "semcore/spin-container"
32
28
  },
33
29
  "devDependencies": {
34
- "@types/react": "16.8 - 17",
30
+ "@types/react": "18.0.21",
35
31
  "@semcore/jest-preset-ui": "1.0.0"
32
+ },
33
+ "scripts": {
34
+ "build": "pnpm semcore-builder --source=js",
35
+ "test": "jest"
36
36
  }
37
- }
37
+ }