@semcore/card 2.4.1 → 3.0.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,6 +2,22 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
+ ## [3.0.0] - 2022-02-18
6
+
7
+ ### BREAK
8
+
9
+ - `Card` was divided into Header and Body
10
+
11
+ ### Added
12
+
13
+ - Background was added
14
+
15
+ ## [2.5.0] - 2021-02-18
16
+
17
+ ### Fixed
18
+
19
+ - Reverted `Card` to a previous state with styles in the card itself and without `Header` and `Body`
20
+
5
21
  ## [2.4.1] - 2021-02-14
6
22
 
7
23
  ### Fixed
@@ -12,7 +28,7 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
12
28
 
13
29
  ### Changed
14
30
 
15
- - Changed styles
31
+ - `Card` has been split into Header and Body and a background has been added
16
32
 
17
33
  ## [2.3.0] - 2022-01-18
18
34
 
package/lib/cjs/Card.js CHANGED
@@ -52,17 +52,17 @@ var style = (
52
52
  /*__reshadow_css_start__*/
53
53
  _core.sstyled.insert(
54
54
  /*__inner_css_start__*/
55
- ".___SCard_81jzm_gg_{border:1px solid #cccccc;border-radius:2px;box-sizing:border-box;background:#fff}.___STitle_81jzm_gg_{font-size:19px;font-weight:500}.___SIcon_81jzm_gg_{margin-left:4px;color:#a6b0b3;cursor:help}.___SDescription_81jzm_gg_{margin-bottom:12px;font-size:14px;color:#757575}.___SHeader_81jzm_gg_{padding-bottom:0}.___SBody_81jzm_gg_,.___SHeader_81jzm_gg_{padding-left:24px;padding-right:24px;padding-top:20px}.___SBody_81jzm_gg_{padding-bottom:24px}"
55
+ ".___SCard_1g2jr_gg_{border:1px solid #cccccc;border-radius:2px;box-sizing:border-box;background:#fff}.___STitle_1g2jr_gg_{font-size:19px;font-weight:500}.___SIcon_1g2jr_gg_{margin-left:4px;color:#a6b0b3;cursor:help}.___SDescription_1g2jr_gg_{margin-bottom:12px;font-size:14px;color:#757575}.___SHeader_1g2jr_gg_{padding-bottom:0;padding-left:24px;padding-right:24px;padding-top:20px}.___SBody_1g2jr_gg_{padding-bottom:24px;padding-left:24px;padding-right:24px;padding-top:20px}"
56
56
  /*__inner_css_end__*/
57
57
  , "11udogg_gg_")
58
58
  /*__reshadow_css_end__*/
59
59
  , {
60
- "__SCard": "___SCard_81jzm_gg_",
61
- "__STitle": "___STitle_81jzm_gg_",
62
- "__SIcon": "___SIcon_81jzm_gg_",
63
- "__SDescription": "___SDescription_81jzm_gg_",
64
- "__SHeader": "___SHeader_81jzm_gg_",
65
- "__SBody": "___SBody_81jzm_gg_"
60
+ "__SCard": "___SCard_1g2jr_gg_",
61
+ "__STitle": "___STitle_1g2jr_gg_",
62
+ "__SIcon": "___SIcon_1g2jr_gg_",
63
+ "__SDescription": "___SDescription_1g2jr_gg_",
64
+ "__SHeader": "___SHeader_1g2jr_gg_",
65
+ "__SBody": "___SBody_1g2jr_gg_"
66
66
  });
67
67
 
68
68
  var CardRoot = /*#__PURE__*/function (_Component) {
package/lib/es6/Card.js CHANGED
@@ -31,17 +31,17 @@ var style = (
31
31
  /*__reshadow_css_start__*/
32
32
  _sstyled.insert(
33
33
  /*__inner_css_start__*/
34
- ".___SCard_81jzm_gg_{border:1px solid #cccccc;border-radius:2px;box-sizing:border-box;background:#fff}.___STitle_81jzm_gg_{font-size:19px;font-weight:500}.___SIcon_81jzm_gg_{margin-left:4px;color:#a6b0b3;cursor:help}.___SDescription_81jzm_gg_{margin-bottom:12px;font-size:14px;color:#757575}.___SHeader_81jzm_gg_{padding-bottom:0}.___SBody_81jzm_gg_,.___SHeader_81jzm_gg_{padding-left:24px;padding-right:24px;padding-top:20px}.___SBody_81jzm_gg_{padding-bottom:24px}"
34
+ ".___SCard_1g2jr_gg_{border:1px solid #cccccc;border-radius:2px;box-sizing:border-box;background:#fff}.___STitle_1g2jr_gg_{font-size:19px;font-weight:500}.___SIcon_1g2jr_gg_{margin-left:4px;color:#a6b0b3;cursor:help}.___SDescription_1g2jr_gg_{margin-bottom:12px;font-size:14px;color:#757575}.___SHeader_1g2jr_gg_{padding-bottom:0;padding-left:24px;padding-right:24px;padding-top:20px}.___SBody_1g2jr_gg_{padding-bottom:24px;padding-left:24px;padding-right:24px;padding-top:20px}"
35
35
  /*__inner_css_end__*/
36
36
  , "11udogg_gg_")
37
37
  /*__reshadow_css_end__*/
38
38
  , {
39
- "__SCard": "___SCard_81jzm_gg_",
40
- "__STitle": "___STitle_81jzm_gg_",
41
- "__SIcon": "___SIcon_81jzm_gg_",
42
- "__SDescription": "___SDescription_81jzm_gg_",
43
- "__SHeader": "___SHeader_81jzm_gg_",
44
- "__SBody": "___SBody_81jzm_gg_"
39
+ "__SCard": "___SCard_1g2jr_gg_",
40
+ "__STitle": "___STitle_1g2jr_gg_",
41
+ "__SIcon": "___SIcon_1g2jr_gg_",
42
+ "__SDescription": "___SDescription_1g2jr_gg_",
43
+ "__SHeader": "___SHeader_1g2jr_gg_",
44
+ "__SBody": "___SBody_1g2jr_gg_"
45
45
  });
46
46
  import { isAdvanceMode } from '@semcore/utils/lib/findComponent';
47
47
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/card",
3
3
  "description": "SEMRush Card Component",
4
- "version": "2.4.1",
4
+ "version": "3.0.1",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",