@semcore/feature-popover 3.0.23 → 3.1.0

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,18 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
- ## [3.0.23] - 2022-10-06
5
+ ## [3.1.0] - 2022-10-10
6
6
 
7
7
  ### Changed
8
8
 
9
- - Version patch update due to children dependencies update (`@semcore/icon` [2.32.2 ~> 2.33.0]).
9
+ - Added support for React 18 🔥
10
+ - Extended version range for dependency `@semcore/icons`.
11
+
12
+ ## [3.0.24] - 2022-10-10
13
+
14
+ ### Changed
15
+
16
+ - Version patch update due to children dependencies update (`@semcore/popper` [4.11.31 ~> 4.12.0]).
10
17
 
11
18
  ## [3.0.0] - 2022-05-17
12
19
 
@@ -60,28 +60,28 @@ var style = (
60
60
  /*__reshadow_css_start__*/
61
61
  _core.sstyled.insert(
62
62
  /*__inner_css_start__*/
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"
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_1ob7n_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_1ob7n_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_1ob7n {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes scaleSizeAndHide_1ob7n {\n from {\n opacity: 1;\n transform: scale(1);\n }\n to {\n opacity: 0;\n transform: scale(2);\n }\n}\n\n.___SSpot_1ob7n_gg_ {\n position: absolute;\n bottom: -4px;\n right: -4px;\n animation-name: showTrigger_1ob7n;\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_1ob7n_gg_::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n transform-origin: 50%;\n animation-name: scaleSizeAndHide_1ob7n;\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_1ob7n_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_1ob7n_gg_ {\n animation-name: none\n }\n .___SSpot_1ob7n_gg_::before {\n animation-name: none;\n }\n}\n"
64
64
  /*__inner_css_end__*/
65
- , "s6z7z_gg_")
65
+ , "1ob7n_gg_")
66
66
  /*__reshadow_css_end__*/
67
67
  , {
68
- "__SFeaturePopover": "___SFeaturePopover_s6z7z_gg_",
69
- "__SClose": "___SClose_s6z7z_gg_",
70
- "@showTrigger": "showTrigger_s6z7z",
71
- "@scaleSizeAndHide": "scaleSizeAndHide_s6z7z",
72
- "__SSpot": "___SSpot_s6z7z_gg_"
68
+ "__SFeaturePopover": "___SFeaturePopover_1ob7n_gg_",
69
+ "__SClose": "___SClose_1ob7n_gg_",
70
+ "@showTrigger": "showTrigger_1ob7n",
71
+ "@scaleSizeAndHide": "scaleSizeAndHide_1ob7n",
72
+ "__SSpot": "___SSpot_1ob7n_gg_"
73
73
  });
74
74
  var stylePopper = (
75
75
  /*__reshadow_css_start__*/
76
76
  _core.sstyled.insert(
77
77
  /*__inner_css_start__*/
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"
78
+ "\n @keyframes enter_wk8xu {\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_wk8xu {\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
- , "1ljtf_gg_")
80
+ , "wk8xu_gg_")
81
81
  /*__reshadow_css_end__*/
82
82
  , {
83
- "@enter": "enter_1ljtf",
84
- "@exit": "exit_1ljtf"
83
+ "@enter": "enter_wk8xu",
84
+ "@exit": "exit_wk8xu"
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
- ":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"
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_1ob7n_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_1ob7n_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_1ob7n {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes scaleSizeAndHide_1ob7n {\n from {\n opacity: 1;\n transform: scale(1);\n }\n to {\n opacity: 0;\n transform: scale(2);\n }\n}\n\n.___SSpot_1ob7n_gg_ {\n position: absolute;\n bottom: -4px;\n right: -4px;\n animation-name: showTrigger_1ob7n;\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_1ob7n_gg_::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n transform-origin: 50%;\n animation-name: scaleSizeAndHide_1ob7n;\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_1ob7n_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_1ob7n_gg_ {\n animation-name: none\n }\n .___SSpot_1ob7n_gg_::before {\n animation-name: none;\n }\n}\n"
37
37
  /*__inner_css_end__*/
38
- , "s6z7z_gg_")
38
+ , "1ob7n_gg_")
39
39
  /*__reshadow_css_end__*/
40
40
  , {
41
- "__SFeaturePopover": "___SFeaturePopover_s6z7z_gg_",
42
- "__SClose": "___SClose_s6z7z_gg_",
43
- "@showTrigger": "showTrigger_s6z7z",
44
- "@scaleSizeAndHide": "scaleSizeAndHide_s6z7z",
45
- "__SSpot": "___SSpot_s6z7z_gg_"
41
+ "__SFeaturePopover": "___SFeaturePopover_1ob7n_gg_",
42
+ "__SClose": "___SClose_1ob7n_gg_",
43
+ "@showTrigger": "showTrigger_1ob7n",
44
+ "@scaleSizeAndHide": "scaleSizeAndHide_1ob7n",
45
+ "__SSpot": "___SSpot_1ob7n_gg_"
46
46
  });
47
47
  var stylePopper = (
48
48
  /*__reshadow_css_start__*/
49
49
  sstyled.insert(
50
50
  /*__inner_css_start__*/
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"
51
+ "\n @keyframes enter_wk8xu {\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_wk8xu {\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
- , "1ljtf_gg_")
53
+ , "wk8xu_gg_")
54
54
  /*__reshadow_css_end__*/
55
55
  , {
56
- "@enter": "enter_1ljtf",
57
- "@exit": "exit_1ljtf"
56
+ "@enter": "enter_wk8xu",
57
+ "@exit": "exit_wk8xu"
58
58
  });
59
59
 
60
60
  var FeaturePopover = /*#__PURE__*/function (_Component) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/feature-popover",
3
3
  "description": "Semrush FeaturePopover Component",
4
- "version": "3.0.23",
4
+ "version": "3.1.0",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -12,12 +12,12 @@
12
12
  "@semcore/utils": "^3.15",
13
13
  "@semcore/flex-box": "^4",
14
14
  "@semcore/popper": "^4.2",
15
- "@semcore/icon": "^2.16",
15
+ "@semcore/icon": "2.16 - 3",
16
16
  "@semcore/animation": "^1"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "@semcore/core": "^1.11",
20
- "react": "16.8 - 17"
20
+ "react": "16.8 - 18"
21
21
  },
22
22
  "jest": {
23
23
  "preset": "@semcore/jest-preset-ui"
@@ -28,7 +28,7 @@
28
28
  "directory": "semcore/feature-popover"
29
29
  },
30
30
  "devDependencies": {
31
- "@types/react": "16.8 - 17",
31
+ "@types/react": "18.0.21",
32
32
  "@semcore/jest-preset-ui": "1.0.0"
33
33
  },
34
34
  "scripts": {