@semcore/modal 3.0.22 → 3.0.24

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,119 +2,11 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
- ## [3.0.22] - 2022-10-03
5
+ ## [3.0.24] - 2022-10-06
6
6
 
7
7
  ### Changed
8
8
 
9
- - Version patch update due to children dependencies update (`@semcore/icon` [2.32.0 ~> 2.32.1]).
10
-
11
- ## [3.0.21] - 2022-10-03
12
-
13
- ### Changed
14
-
15
- - Version patch update due to children dependencies update (`@semcore/icon` [2.31.0 ~> 2.32.0]).
16
-
17
- ## [3.0.20] - 2022-09-29
18
-
19
- ### Changed
20
-
21
- - Version patch update due to children dependencies update (`@semcore/icon` [2.30.4 ~> 2.31.0]).
22
-
23
- ## [3.0.19] - 2022-09-21
24
-
25
- ### Changed
26
-
27
- - Version patch update due to children dependencies update (`@semcore/icon` [2.30.3 ~> 2.30.4]).
28
-
29
- ## [3.0.18] - 2022-09-21
30
-
31
- ### Changed
32
-
33
- - Version patch update due to children dependencies update (`@semcore/icon` [2.30.2 ~> 2.30.3]).
34
-
35
- ## [3.0.17] - 2022-08-30
36
-
37
- ### Changed
38
-
39
- - Version patch update due to children dependencies update (`@semcore/utils` [3.37.0 ~> 3.37.1], `@semcore/animation` [1.5.9 ~> 1.5.10], `@semcore/flex-box` [4.5.10 ~> 4.5.11], `@semcore/icon` [2.30.1 ~> 2.30.2]).
40
-
41
- ## [3.0.16] - 2022-08-29
42
-
43
- ### Changed
44
-
45
- - Version patch update due to children dependencies update (`@semcore/animation` [1.5.8 ~> 1.5.9]).
46
-
47
- ## [3.0.15] - 2022-08-18
48
-
49
- ### Changed
50
-
51
- - Version patch update due to children dependencies update (`@semcore/icon` [2.30.0 ~> 2.30.1]).
52
-
53
- ## [3.0.14] - 2022-08-18
54
-
55
- ### Changed
56
-
57
- - Version patch update due to children dependencies update (`@semcore/icon` [2.29.5 ~> 2.30.0]).
58
-
59
- ## [3.0.13] - 2022-08-18
60
-
61
- ### Changed
62
-
63
- - Version patch update due to children dependencies update (`@semcore/utils` [3.36.0 ~> 3.37.0], `@semcore/animation` [1.5.7 ~> 1.5.8], `@semcore/flex-box` [4.5.9 ~> 4.5.10], `@semcore/icon` [2.29.4 ~> 2.29.5]).
64
-
65
- ## [3.0.12] - 2022-08-11
66
-
67
- ### Changed
68
-
69
- - Version patch update due to children dependencies update (`@semcore/utils` [3.35.1 ~> 3.36.0], `@semcore/animation` [1.5.6 ~> 1.5.7], `@semcore/flex-box` [4.5.8 ~> 4.5.9], `@semcore/icon` [2.29.3 ~> 2.29.4]).
70
-
71
- ## [3.0.11] - 2022-08-01
72
-
73
- ### Changed
74
-
75
- - Version patch update due to children dependencies update (`@semcore/utils` [3.35.0 ~> 3.35.1], `@semcore/animation` [1.5.5 ~> 1.5.6], `@semcore/flex-box` [4.5.7 ~> 4.5.8], `@semcore/icon` [2.29.2 ~> 2.29.3]).
76
-
77
- ## [3.0.10] - 2022-07-25
78
-
79
- ### Changed
80
-
81
- - Version patch update due to children dependencies update (`@semcore/icon` [2.29.1 ~> 2.29.2]).
82
-
83
- ## [3.0.9] - 2022-07-22
84
-
85
- ### Changed
86
-
87
- - Version patch update due to children dependencies update (`@semcore/utils` [3.34.0 ~> 3.35.0], `@semcore/animation` [1.5.4 ~> 1.5.5], `@semcore/flex-box` [4.5.6 ~> 4.5.7], `@semcore/icon` [2.29.0 ~> 2.29.1]).
88
-
89
- ## [3.0.8] - 2022-07-21
90
-
91
- ### Changed
92
-
93
- - Version patch update due to children dependencies update (`@semcore/icon` [2.28.0 ~> 2.29.0]).
94
-
95
- ## [3.0.7] - 2022-07-07
96
-
97
- ### Changed
98
-
99
- - Version patch update due to children dependencies update (`@semcore/utils` [3.33.0 ~> 3.34.0], `@semcore/animation` [1.5.3 ~> 1.5.4], `@semcore/flex-box` [4.5.5 ~> 4.5.6], `@semcore/icon` [2.27.0 ~> 2.28.0]).
100
-
101
- ## [3.0.6] - 2022-06-02
102
-
103
- ### Changed
104
-
105
- - Version patch update due to children dependencies update (`@semcore/utils` [3.32.2 ~> 3.33.0], `@semcore/animation` [1.5.2 ~> 1.5.3], `@semcore/flex-box` [4.5.4 ~> 4.5.5], `@semcore/icon` [2.26.1 ~> 2.27.0]).
106
-
107
- ## [3.0.5] - 2022-05-31
108
-
109
- ### Changed
110
-
111
- - Version patch update due to children dependencies update (`@semcore/utils` [3.32.1 ~> 3.32.2], `@semcore/animation` [1.5.1 ~> 1.5.2], `@semcore/flex-box` [4.5.3 ~> 4.5.4], `@semcore/icon` [2.26.0 ~> 2.26.1]).
112
-
113
- ## [3.0.4] - 2022-05-23
114
-
115
- ### Changed
116
-
117
- - Version patch update due to children dependencies update (`@semcore/icon` [2.25.1 ~> 2.26.0]).
9
+ - Version patch update due to children dependencies update (`@semcore/icon` [2.32.2 ~> 2.33.0]).
118
10
 
119
11
  ## [3.0.3] - 2022-05-19
120
12
 
@@ -128,12 +20,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
128
20
 
129
21
  - Version patch update due to children dependencies update (`@semcore/utils` [3.32.0 ~> 3.32.1], `@semcore/animation` [1.5.0 ~> 1.5.1], `@semcore/flex-box` [4.5.1 ~> 4.5.3], `@semcore/icon` [2.25.0 ~> 2.25.1]).
130
22
 
131
- ## [3.0.1] - 2022-05-18
132
-
133
- ### Changed
134
-
135
- - Version patch update due to children dependencies update (`@semcore/icon` [2.24.0 ~> 2.25.0]).
136
-
137
23
  ## [3.0.0] - 2022-05-17
138
24
 
139
25
  ### BREAK
@@ -146,24 +32,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
146
32
 
147
33
  - Version patch update due to children dependencies update (`@semcore/icon` [2.21.0 ~> 2.24.0]).
148
34
 
149
- ## [2.4.8] - 2022-04-28
150
-
151
- ### Changed
152
-
153
- - Version patch update due to children dependencies update (`@semcore/icon` [2.20.0 ~> 2.21.0]).
154
-
155
- ## [2.4.7] - 2022-04-03
156
-
157
- ### Changed
158
-
159
- - Version patch update due to children dependencies update (`@semcore/animation` [1.5.0 ~> 1.5.0]).
160
-
161
- ## [2.4.6] - 2022-03-21
162
-
163
- ### Changed
164
-
165
- - Version patch update due to children dependencies update (`@semcore/icon` [2.19.4 ~> 2.20.0]).
166
-
167
35
  ## [2.4.5] - 2022-03-09
168
36
 
169
37
  ### 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.
package/lib/cjs/Modal.js CHANGED
@@ -70,15 +70,15 @@ var style = (
70
70
  /*__reshadow_css_start__*/
71
71
  _core.sstyled.insert(
72
72
  /*__inner_css_start__*/
73
- ".___SWindow_uvabr_gg_{position:relative;border-radius:12px;background:#ffffff;box-sizing:border-box;margin:auto;padding:40px;box-shadow:0 3px 8px rgba(25,27,35,.2)}.___SWindow_uvabr_gg_:focus{outline:none}.___SOverlay_uvabr_gg_{position:fixed;top:0;bottom:0;left:0;right:0;margin:0;display:flex;justify-content:center;align-items:center;padding:40px;background:rgba(25,27,35,.7);overflow:auto;z-index:10005;-webkit-overflow-scrolling:touch}.___SOverlay_uvabr_gg_ .___SOverlay_uvabr_gg_{background:rgba(25,27,35,.4)}.___SClose_uvabr_gg_{display:inline-flex;position:absolute;right:0;top:0;padding:12px;color:#a9abb6;cursor:pointer;z-index:1;border:none;background:none;outline:none}.___SClose_uvabr_gg_:hover{color:#8a8e9b}.___SClose_uvabr_gg_.__keyboardFocused_uvabr_gg_{box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2)}@media (max-width:767px){.___SWindow_uvabr_gg_{min-width:60%}.___SOverlay_uvabr_gg_{padding:12px}}"
73
+ ":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.___SWindow_1nldv_gg_ {\n position: relative;\n border-radius: 12px;\n background: #ffffff;\n box-sizing: border-box;\n margin: auto;\n padding: 40px;\n box-shadow: 0 3px 8px rgba(25, 27, 35, 0.2)\n}\n\n.___SWindow_1nldv_gg_:focus {\n outline: none;\n }\n\n.___SOverlay_1nldv_gg_ {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 40px;\n background: rgba(25, 27, 35, 0.7);\n overflow: auto;\n z-index: 10005;\n -webkit-overflow-scrolling: touch\n}\n\n.___SOverlay_1nldv_gg_ .___SOverlay_1nldv_gg_ {\n background: rgba(25, 27, 35, 0.4);\n }\n\n.___SClose_1nldv_gg_ {\n display: inline-flex;\n position: absolute;\n right: 0;\n top: 0;\n padding: 12px;\n color: #a9abb6;\n cursor: pointer;\n z-index: 1;\n border: none;\n background: none;\n outline: none\n}\n\n.___SClose_1nldv_gg_:hover {\n color: #8a8e9b;\n }\n\n.___SClose_1nldv_gg_.__keyboardFocused_1nldv_gg_ {\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n}\n\n@media (max-width: 767px) {\n .___SWindow_1nldv_gg_ {\n min-width: 60%;\n }\n\n .___SOverlay_1nldv_gg_ {\n padding: 12px;\n }\n}\n"
74
74
  /*__inner_css_end__*/
75
- , "uvabr_gg_")
75
+ , "1nldv_gg_")
76
76
  /*__reshadow_css_end__*/
77
77
  , {
78
- "__SWindow": "___SWindow_uvabr_gg_",
79
- "__SOverlay": "___SOverlay_uvabr_gg_",
80
- "__SClose": "___SClose_uvabr_gg_",
81
- "_keyboardFocused": "__keyboardFocused_uvabr_gg_"
78
+ "__SWindow": "___SWindow_1nldv_gg_",
79
+ "__SOverlay": "___SOverlay_1nldv_gg_",
80
+ "__SClose": "___SClose_1nldv_gg_",
81
+ "_keyboardFocused": "__keyboardFocused_1nldv_gg_"
82
82
  });
83
83
 
84
84
  var ModalRoot = /*#__PURE__*/function (_Component) {
package/lib/es6/Modal.js CHANGED
@@ -40,15 +40,15 @@ var style = (
40
40
  /*__reshadow_css_start__*/
41
41
  _sstyled.insert(
42
42
  /*__inner_css_start__*/
43
- ".___SWindow_uvabr_gg_{position:relative;border-radius:12px;background:#ffffff;box-sizing:border-box;margin:auto;padding:40px;box-shadow:0 3px 8px rgba(25,27,35,.2)}.___SWindow_uvabr_gg_:focus{outline:none}.___SOverlay_uvabr_gg_{position:fixed;top:0;bottom:0;left:0;right:0;margin:0;display:flex;justify-content:center;align-items:center;padding:40px;background:rgba(25,27,35,.7);overflow:auto;z-index:10005;-webkit-overflow-scrolling:touch}.___SOverlay_uvabr_gg_ .___SOverlay_uvabr_gg_{background:rgba(25,27,35,.4)}.___SClose_uvabr_gg_{display:inline-flex;position:absolute;right:0;top:0;padding:12px;color:#a9abb6;cursor:pointer;z-index:1;border:none;background:none;outline:none}.___SClose_uvabr_gg_:hover{color:#8a8e9b}.___SClose_uvabr_gg_.__keyboardFocused_uvabr_gg_{box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2)}@media (max-width:767px){.___SWindow_uvabr_gg_{min-width:60%}.___SOverlay_uvabr_gg_{padding:12px}}"
43
+ ":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.___SWindow_1nldv_gg_ {\n position: relative;\n border-radius: 12px;\n background: #ffffff;\n box-sizing: border-box;\n margin: auto;\n padding: 40px;\n box-shadow: 0 3px 8px rgba(25, 27, 35, 0.2)\n}\n\n.___SWindow_1nldv_gg_:focus {\n outline: none;\n }\n\n.___SOverlay_1nldv_gg_ {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 40px;\n background: rgba(25, 27, 35, 0.7);\n overflow: auto;\n z-index: 10005;\n -webkit-overflow-scrolling: touch\n}\n\n.___SOverlay_1nldv_gg_ .___SOverlay_1nldv_gg_ {\n background: rgba(25, 27, 35, 0.4);\n }\n\n.___SClose_1nldv_gg_ {\n display: inline-flex;\n position: absolute;\n right: 0;\n top: 0;\n padding: 12px;\n color: #a9abb6;\n cursor: pointer;\n z-index: 1;\n border: none;\n background: none;\n outline: none\n}\n\n.___SClose_1nldv_gg_:hover {\n color: #8a8e9b;\n }\n\n.___SClose_1nldv_gg_.__keyboardFocused_1nldv_gg_ {\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n}\n\n@media (max-width: 767px) {\n .___SWindow_1nldv_gg_ {\n min-width: 60%;\n }\n\n .___SOverlay_1nldv_gg_ {\n padding: 12px;\n }\n}\n"
44
44
  /*__inner_css_end__*/
45
- , "uvabr_gg_")
45
+ , "1nldv_gg_")
46
46
  /*__reshadow_css_end__*/
47
47
  , {
48
- "__SWindow": "___SWindow_uvabr_gg_",
49
- "__SOverlay": "___SOverlay_uvabr_gg_",
50
- "__SClose": "___SClose_uvabr_gg_",
51
- "_keyboardFocused": "__keyboardFocused_uvabr_gg_"
48
+ "__SWindow": "___SWindow_1nldv_gg_",
49
+ "__SOverlay": "___SOverlay_1nldv_gg_",
50
+ "__SClose": "___SClose_1nldv_gg_",
51
+ "_keyboardFocused": "__keyboardFocused_1nldv_gg_"
52
52
  });
53
53
 
54
54
  var ModalRoot = /*#__PURE__*/function (_Component) {
package/package.json CHANGED
@@ -1,17 +1,13 @@
1
1
  {
2
2
  "name": "@semcore/modal",
3
3
  "description": "Semrush Modal Component",
4
- "version": "3.0.22",
4
+ "version": "3.0.24",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "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/animation": "^1",
17
13
  "@semcore/flex-box": "^4",
@@ -38,5 +34,9 @@
38
34
  "@guidepup/playwright": "0.6.1",
39
35
  "@playwright/test": "1.25.1",
40
36
  "@semcore/jest-preset-ui": "1.0.0"
37
+ },
38
+ "scripts": {
39
+ "build": "pnpm semcore-builder --source=js",
40
+ "test": "jest"
41
41
  }
42
- }
42
+ }