@cloudflare/component-card 4.0.17 → 4.0.18

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,20 @@
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
+ ## [4.0.18](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-card@4.0.17...@cloudflare/component-card@4.0.18) (2021-11-25)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **component-card:** A11Y-86 Fix missing package ([548b6d4](http://stash.cfops.it:7999/fe/stratus/commits/548b6d4))
12
+ * **component-card:** A11Y-86 Replace H3 tag with Heading ([b3c2372](http://stash.cfops.it:7999/fe/stratus/commits/b3c2372))
13
+ * **component-card:** A11Y-90 Fix package version ([b0dfc79](http://stash.cfops.it:7999/fe/stratus/commits/b0dfc79))
14
+ * **component-page:** A11Y-86 Bug fix ([9ab1079](http://stash.cfops.it:7999/fe/stratus/commits/9ab1079))
15
+
16
+
17
+
18
+
19
+
6
20
  ## [4.0.17](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-card@4.0.16...@cloudflare/component-card@4.0.17) (2021-11-23)
7
21
 
8
22
  **Note:** Version bump only for package @cloudflare/component-card
package/es/CardTitle.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { createStyledComponent } from '@cloudflare/style-container';
2
+ import { Heading } from '@cloudflare/component-page';
2
3
  export default createStyledComponent(() => ({
3
4
  fontWeight: 600,
4
5
  mb: 2
5
- }), 'h3');
6
+ }), Heading);
package/lib/CardTitle.js CHANGED
@@ -7,11 +7,13 @@ exports.default = void 0;
7
7
 
8
8
  var _styleContainer = require("@cloudflare/style-container");
9
9
 
10
+ var _componentPage = require("@cloudflare/component-page");
11
+
10
12
  var _default = (0, _styleContainer.createStyledComponent)(function () {
11
13
  return {
12
14
  fontWeight: 600,
13
15
  mb: 2
14
16
  };
15
- }, 'h3');
17
+ }, _componentPage.Heading);
16
18
 
17
19
  exports.default = _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudflare/component-card",
3
3
  "description": "Cloudflare Card Component",
4
- "version": "4.0.17",
4
+ "version": "4.0.18",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
7
  "author": "James Kyle <jkyle@cloudflare.com>",
@@ -14,6 +14,7 @@
14
14
  "@cloudflare/component-arrow-swivel": "^2.4.93",
15
15
  "@cloudflare/component-button": "^2.11.14",
16
16
  "@cloudflare/component-link": "^4.0.15",
17
+ "@cloudflare/component-page": "^5.1.0",
17
18
  "@cloudflare/style-container": "^7.5.20",
18
19
  "prop-types": "^15.6.0"
19
20
  },
@@ -31,5 +32,5 @@
31
32
  "test-coverage": "stratus test --coverage",
32
33
  "test-watch": "stratus test --watch"
33
34
  },
34
- "gitHead": "66ff768ac439c1f6fe1050c964660e61385699c6"
35
+ "gitHead": "e1f1fecb460540213dd9f08e78e91e8d71dcbe27"
35
36
  }
package/src/CardTitle.js CHANGED
@@ -1,9 +1,10 @@
1
1
  import { createStyledComponent } from '@cloudflare/style-container';
2
+ import { Heading } from '@cloudflare/component-page';
2
3
 
3
4
  export default createStyledComponent(
4
5
  () => ({
5
6
  fontWeight: 600,
6
7
  mb: 2
7
8
  }),
8
- 'h3'
9
+ Heading
9
10
  );