@cloudflare/component-card 3.5.62 → 3.5.66

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
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.5.66](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-card@3.5.64...@cloudflare/component-card@3.5.66) (2021-09-15)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **component-card:** DESSYS-917 Dark mode change ([b5fd0fd](http://stash.cfops.it:7999/fe/stratus/commits/b5fd0fd))
12
+
13
+
14
+
15
+
16
+
17
+ ## [3.5.64](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-card@3.5.63...@cloudflare/component-card@3.5.64) (2021-08-25)
18
+
19
+ **Note:** Version bump only for package @cloudflare/component-card
20
+
21
+
22
+
23
+
24
+
25
+ ## [3.5.63](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-card@3.5.62...@cloudflare/component-card@3.5.63) (2021-08-20)
26
+
27
+ **Note:** Version bump only for package @cloudflare/component-card
28
+
29
+
30
+
31
+
32
+
6
33
  ## [3.5.62](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-card@3.5.61...@cloudflare/component-card@3.5.62) (2021-08-18)
7
34
 
8
35
  **Note:** Version bump only for package @cloudflare/component-card
package/es/Card.js CHANGED
@@ -9,8 +9,7 @@ const styles = ({
9
9
  padding: 0,
10
10
  backgroundColor: theme.colors.white,
11
11
  border: `1px solid ${theme.colors.gray[7]}`,
12
- borderRadius: theme.radii[2],
13
- transition: 'all 0.35s ease'
12
+ borderRadius: theme.radii[2]
14
13
  });
15
14
 
16
15
  const Card = ({
@@ -18,7 +17,7 @@ const Card = ({
18
17
  className,
19
18
  testId,
20
19
  children
21
- }) => /*#__PURE__*/React.createElement("article", {
20
+ }) => /*#__PURE__*/React.createElement("div", {
22
21
  id: id,
23
22
  className: className,
24
23
  "data-testid": testId
package/lib/Card.js CHANGED
@@ -20,8 +20,7 @@ var styles = function styles(_ref) {
20
20
  padding: 0,
21
21
  backgroundColor: theme.colors.white,
22
22
  border: "1px solid ".concat(theme.colors.gray[7]),
23
- borderRadius: theme.radii[2],
24
- transition: 'all 0.35s ease'
23
+ borderRadius: theme.radii[2]
25
24
  };
26
25
  };
27
26
 
@@ -30,7 +29,7 @@ var Card = function Card(_ref2) {
30
29
  className = _ref2.className,
31
30
  testId = _ref2.testId,
32
31
  children = _ref2.children;
33
- return /*#__PURE__*/_react.default.createElement("article", {
32
+ return /*#__PURE__*/_react.default.createElement("div", {
34
33
  id: id,
35
34
  className: className,
36
35
  "data-testid": testId
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudflare/component-card",
3
3
  "description": "Cloudflare Card Component",
4
- "version": "3.5.62",
4
+ "version": "3.5.66",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
7
  "author": "James Kyle <jkyle@cloudflare.com>",
@@ -11,8 +11,8 @@
11
11
  "access": "public"
12
12
  },
13
13
  "dependencies": {
14
- "@cloudflare/component-link": "^3.4.57",
15
- "@cloudflare/style-container": "^7.3.53",
14
+ "@cloudflare/component-link": "^3.4.61",
15
+ "@cloudflare/style-container": "^7.3.56",
16
16
  "prop-types": "^15.6.0"
17
17
  },
18
18
  "peerDependencies": {
@@ -29,5 +29,5 @@
29
29
  "test-coverage": "stratus test --coverage",
30
30
  "test-watch": "stratus test --watch"
31
31
  },
32
- "gitHead": "86cb3615fda3aea38ff83e7657beaf0d0a511967"
32
+ "gitHead": "bbfa3ad5116787409a6d0cc5432f17fcda963ad3"
33
33
  }
package/src/Card.js CHANGED
@@ -7,14 +7,13 @@ const styles = ({ theme }) => ({
7
7
  padding: 0,
8
8
  backgroundColor: theme.colors.white,
9
9
  border: `1px solid ${theme.colors.gray[7]}`,
10
- borderRadius: theme.radii[2],
11
- transition: 'all 0.35s ease'
10
+ borderRadius: theme.radii[2]
12
11
  });
13
12
 
14
13
  const Card = ({ id, className, testId, children }) => (
15
- <article id={id} className={className} data-testid={testId}>
14
+ <div id={id} className={className} data-testid={testId}>
16
15
  {children}
17
- </article>
16
+ </div>
18
17
  );
19
18
 
20
19
  Card.propTypes = {