@semcore/feature-popover 3.0.22 → 3.0.23
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 +2 -158
- package/LICENSE +21 -0
- package/lib/cjs/FeaturePopover.js +11 -11
- package/lib/es6/FeaturePopover.js +11 -11
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,137 +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.
|
|
5
|
+
## [3.0.23] - 2022-10-06
|
|
6
6
|
|
|
7
7
|
### Changed
|
|
8
8
|
|
|
9
|
-
- Version patch update due to children dependencies update (`@semcore/
|
|
10
|
-
|
|
11
|
-
## [3.0.21] - 2022-09-29
|
|
12
|
-
|
|
13
|
-
### Changed
|
|
14
|
-
|
|
15
|
-
- Version patch update due to children dependencies update (`@semcore/icon` [2.30.4 ~> 2.31.0]).
|
|
16
|
-
|
|
17
|
-
## [3.0.20] - 2022-09-21
|
|
18
|
-
|
|
19
|
-
### Changed
|
|
20
|
-
|
|
21
|
-
- Version patch update due to children dependencies update (`@semcore/icon` [2.30.3 ~> 2.30.4]).
|
|
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.2 ~> 2.30.3]).
|
|
28
|
-
|
|
29
|
-
## [3.0.18] - 2022-09-21
|
|
30
|
-
|
|
31
|
-
### Changed
|
|
32
|
-
|
|
33
|
-
- Version patch update due to children dependencies update (`@semcore/popper` [4.11.29 ~> 4.11.30]).
|
|
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]).
|
|
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]).
|
|
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]).
|
|
70
|
-
|
|
71
|
-
## [3.0.11] - 2022-07-25
|
|
72
|
-
|
|
73
|
-
### Changed
|
|
74
|
-
|
|
75
|
-
- Version patch update due to children dependencies update (`@semcore/icon` [2.29.1 ~> 2.29.2]).
|
|
76
|
-
|
|
77
|
-
## [3.0.10] - 2022-07-22
|
|
78
|
-
|
|
79
|
-
### Changed
|
|
80
|
-
|
|
81
|
-
- Version patch update due to children dependencies update (`@semcore/utils` [3.34.0 ~> 3.35.0], `@semcore/animation` [1.5.4 ~> 1.5.5]).
|
|
82
|
-
|
|
83
|
-
## [3.0.9] - 2022-07-21
|
|
84
|
-
|
|
85
|
-
### Changed
|
|
86
|
-
|
|
87
|
-
- Version patch update due to children dependencies update (`@semcore/icon` [2.28.0 ~> 2.29.0]).
|
|
88
|
-
|
|
89
|
-
## [3.0.8] - 2022-07-18
|
|
90
|
-
|
|
91
|
-
### Changed
|
|
92
|
-
|
|
93
|
-
- Version patch update due to children dependencies update (`@semcore/popper` [4.11.23 ~> 4.11.24]).
|
|
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/icon` [2.27.0 ~> 2.28.0], `@semcore/animation` [1.5.3 ~> 1.5.4]).
|
|
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/icon` [2.26.1 ~> 2.27.0], `@semcore/animation` [1.5.2 ~> 1.5.3]).
|
|
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]).
|
|
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]).
|
|
118
|
-
|
|
119
|
-
## [3.0.3] - 2022-05-19
|
|
120
|
-
|
|
121
|
-
### Changed
|
|
122
|
-
|
|
123
|
-
- Version patch update due to children dependencies update (`@semcore/popper` [4.11.18 ~> 4.11.19]).
|
|
124
|
-
|
|
125
|
-
## [3.0.2] - 2022-05-19
|
|
126
|
-
|
|
127
|
-
### Changed
|
|
128
|
-
|
|
129
|
-
- Version patch update due to children dependencies update (`@semcore/utils` [3.32.0 ~> 3.32.1], `@semcore/flex-box` [4.5.1 ~> 4.5.3], `@semcore/popper` [4.11.17 ~> 4.11.18], `@semcore/animation` [1.5.0 ~> 1.5.1]).
|
|
130
|
-
|
|
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]).
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/icon` [2.32.2 ~> 2.33.0]).
|
|
136
10
|
|
|
137
11
|
## [3.0.0] - 2022-05-17
|
|
138
12
|
|
|
@@ -146,36 +20,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
146
20
|
|
|
147
21
|
- Version patch update due to children dependencies update (`@semcore/icon` [2.21.0 ~> 2.24.0]).
|
|
148
22
|
|
|
149
|
-
## [2.6.5] - 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.6.4] - 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.6.3] - 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
|
-
## [2.6.2] - 2022-03-14
|
|
168
|
-
|
|
169
|
-
### Changed
|
|
170
|
-
|
|
171
|
-
- Version patch update due to children dependencies update (`@semcore/utils` [3.31.2 ~> 3.31.2], `@semcore/animation` [1.4.1 ~> 1.4.2]).
|
|
172
|
-
|
|
173
|
-
## [2.6.1] - 2022-03-05
|
|
174
|
-
|
|
175
|
-
### Changed
|
|
176
|
-
|
|
177
|
-
- Version patch update due to children dependencies update (`@semcore/animation` [1.4.0 ~> 1.4.1]).
|
|
178
|
-
|
|
179
23
|
## [2.6.0] - 2021-03-04
|
|
180
24
|
|
|
181
25
|
### Added
|
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.
|
|
@@ -60,28 +60,28 @@ var style = (
|
|
|
60
60
|
/*__reshadow_css_start__*/
|
|
61
61
|
_core.sstyled.insert(
|
|
62
62
|
/*__inner_css_start__*/
|
|
63
|
-
".
|
|
63
|
+
":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.___SFeaturePopover_s6z7z_gg_ {\n padding-top: 16px;\n padding-right: 32px;\n padding-bottom: 16px;\n padding-left: 16px;\n border-radius: 6px;\n box-sizing: border-box;\n background-color: #fce081;\n color: #191b23;\n box-shadow: 0 1px 12px rgba(25, 27, 35, 0.15);\n}\n\n.___SClose_s6z7z_gg_ {\n position: absolute;\n right: 0;\n top: 0;\n padding: 8px;\n cursor: pointer;\n color: #191b23;\n font-size: 0;\n}\n\n@keyframes showTrigger_s6z7z {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes scaleSizeAndHide_s6z7z {\n from {\n opacity: 1;\n transform: scale(1);\n }\n to {\n opacity: 0;\n transform: scale(2);\n }\n}\n\n.___SSpot_s6z7z_gg_ {\n position: absolute;\n bottom: -4px;\n right: -4px;\n animation-name: showTrigger_s6z7z;\n animation-duration: 0.2s;\n animation-timing-function: ease-in;\n animation-delay: 0.4s;\n animation-fill-mode: forwards;\n width: 12px;\n height: 12px\n}\n\n.___SSpot_s6z7z_gg_::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n transform-origin: 50%;\n animation-name: scaleSizeAndHide_s6z7z;\n animation-duration: 1s;\n animation-iteration-count: infinite;\n animation-fill-mode: forwards;\n animation-delay: 0.5s;\n background-color: #fce081;\n border-radius: 50%;\n width: 12px;\n height: 12px;\n }\n\n.___SSpot_s6z7z_gg_::after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n border-radius: 50%;\n width: 12px;\n height: 12px;\n background-color: #fce081;\n }\n\n@media (prefers-reduced-motion) {\n .___SSpot_s6z7z_gg_ {\n animation-name: none\n }\n .___SSpot_s6z7z_gg_::before {\n animation-name: none;\n }\n}\n"
|
|
64
64
|
/*__inner_css_end__*/
|
|
65
|
-
, "
|
|
65
|
+
, "s6z7z_gg_")
|
|
66
66
|
/*__reshadow_css_end__*/
|
|
67
67
|
, {
|
|
68
|
-
"__SFeaturePopover": "
|
|
69
|
-
"__SClose": "
|
|
70
|
-
"@showTrigger": "
|
|
71
|
-
"@scaleSizeAndHide": "
|
|
72
|
-
"__SSpot": "
|
|
68
|
+
"__SFeaturePopover": "___SFeaturePopover_s6z7z_gg_",
|
|
69
|
+
"__SClose": "___SClose_s6z7z_gg_",
|
|
70
|
+
"@showTrigger": "showTrigger_s6z7z",
|
|
71
|
+
"@scaleSizeAndHide": "scaleSizeAndHide_s6z7z",
|
|
72
|
+
"__SSpot": "___SSpot_s6z7z_gg_"
|
|
73
73
|
});
|
|
74
74
|
var stylePopper = (
|
|
75
75
|
/*__reshadow_css_start__*/
|
|
76
76
|
_core.sstyled.insert(
|
|
77
77
|
/*__inner_css_start__*/
|
|
78
|
-
"@keyframes
|
|
78
|
+
"\n @keyframes enter_1ljtf {\n from {\n opacity: 0;\n transform: translateX(-10px);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n }\n\n @keyframes exit_1ljtf {\n from {\n opacity: 1;\n transform: translateX(0);\n }\n to {\n opacity: 0;\n transform: translateX(-10px);\n }\n }\n"
|
|
79
79
|
/*__inner_css_end__*/
|
|
80
|
-
, "
|
|
80
|
+
, "1ljtf_gg_")
|
|
81
81
|
/*__reshadow_css_end__*/
|
|
82
82
|
, {
|
|
83
|
-
"@enter": "
|
|
84
|
-
"@exit": "
|
|
83
|
+
"@enter": "enter_1ljtf",
|
|
84
|
+
"@exit": "exit_1ljtf"
|
|
85
85
|
});
|
|
86
86
|
|
|
87
87
|
var FeaturePopover = /*#__PURE__*/function (_Component) {
|
|
@@ -33,28 +33,28 @@ var style = (
|
|
|
33
33
|
/*__reshadow_css_start__*/
|
|
34
34
|
_sstyled.insert(
|
|
35
35
|
/*__inner_css_start__*/
|
|
36
|
-
".
|
|
36
|
+
":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.___SFeaturePopover_s6z7z_gg_ {\n padding-top: 16px;\n padding-right: 32px;\n padding-bottom: 16px;\n padding-left: 16px;\n border-radius: 6px;\n box-sizing: border-box;\n background-color: #fce081;\n color: #191b23;\n box-shadow: 0 1px 12px rgba(25, 27, 35, 0.15);\n}\n\n.___SClose_s6z7z_gg_ {\n position: absolute;\n right: 0;\n top: 0;\n padding: 8px;\n cursor: pointer;\n color: #191b23;\n font-size: 0;\n}\n\n@keyframes showTrigger_s6z7z {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes scaleSizeAndHide_s6z7z {\n from {\n opacity: 1;\n transform: scale(1);\n }\n to {\n opacity: 0;\n transform: scale(2);\n }\n}\n\n.___SSpot_s6z7z_gg_ {\n position: absolute;\n bottom: -4px;\n right: -4px;\n animation-name: showTrigger_s6z7z;\n animation-duration: 0.2s;\n animation-timing-function: ease-in;\n animation-delay: 0.4s;\n animation-fill-mode: forwards;\n width: 12px;\n height: 12px\n}\n\n.___SSpot_s6z7z_gg_::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n transform-origin: 50%;\n animation-name: scaleSizeAndHide_s6z7z;\n animation-duration: 1s;\n animation-iteration-count: infinite;\n animation-fill-mode: forwards;\n animation-delay: 0.5s;\n background-color: #fce081;\n border-radius: 50%;\n width: 12px;\n height: 12px;\n }\n\n.___SSpot_s6z7z_gg_::after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n border-radius: 50%;\n width: 12px;\n height: 12px;\n background-color: #fce081;\n }\n\n@media (prefers-reduced-motion) {\n .___SSpot_s6z7z_gg_ {\n animation-name: none\n }\n .___SSpot_s6z7z_gg_::before {\n animation-name: none;\n }\n}\n"
|
|
37
37
|
/*__inner_css_end__*/
|
|
38
|
-
, "
|
|
38
|
+
, "s6z7z_gg_")
|
|
39
39
|
/*__reshadow_css_end__*/
|
|
40
40
|
, {
|
|
41
|
-
"__SFeaturePopover": "
|
|
42
|
-
"__SClose": "
|
|
43
|
-
"@showTrigger": "
|
|
44
|
-
"@scaleSizeAndHide": "
|
|
45
|
-
"__SSpot": "
|
|
41
|
+
"__SFeaturePopover": "___SFeaturePopover_s6z7z_gg_",
|
|
42
|
+
"__SClose": "___SClose_s6z7z_gg_",
|
|
43
|
+
"@showTrigger": "showTrigger_s6z7z",
|
|
44
|
+
"@scaleSizeAndHide": "scaleSizeAndHide_s6z7z",
|
|
45
|
+
"__SSpot": "___SSpot_s6z7z_gg_"
|
|
46
46
|
});
|
|
47
47
|
var stylePopper = (
|
|
48
48
|
/*__reshadow_css_start__*/
|
|
49
49
|
sstyled.insert(
|
|
50
50
|
/*__inner_css_start__*/
|
|
51
|
-
"@keyframes
|
|
51
|
+
"\n @keyframes enter_1ljtf {\n from {\n opacity: 0;\n transform: translateX(-10px);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n }\n\n @keyframes exit_1ljtf {\n from {\n opacity: 1;\n transform: translateX(0);\n }\n to {\n opacity: 0;\n transform: translateX(-10px);\n }\n }\n"
|
|
52
52
|
/*__inner_css_end__*/
|
|
53
|
-
, "
|
|
53
|
+
, "1ljtf_gg_")
|
|
54
54
|
/*__reshadow_css_end__*/
|
|
55
55
|
, {
|
|
56
|
-
"@enter": "
|
|
57
|
-
"@exit": "
|
|
56
|
+
"@enter": "enter_1ljtf",
|
|
57
|
+
"@exit": "exit_1ljtf"
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
var FeaturePopover = /*#__PURE__*/function (_Component) {
|
package/package.json
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/feature-popover",
|
|
3
3
|
"description": "Semrush FeaturePopover Component",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.23",
|
|
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/utils": "^3.15",
|
|
17
13
|
"@semcore/flex-box": "^4",
|
|
@@ -34,5 +30,9 @@
|
|
|
34
30
|
"devDependencies": {
|
|
35
31
|
"@types/react": "16.8 - 17",
|
|
36
32
|
"@semcore/jest-preset-ui": "1.0.0"
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "pnpm semcore-builder --source=js",
|
|
36
|
+
"test": "jest"
|
|
37
37
|
}
|
|
38
|
-
}
|
|
38
|
+
}
|