@thecb/components 11.1.2 → 11.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "11.1.2",
3
+ "version": "11.1.3",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
Binary file
@@ -22,6 +22,7 @@ const meta = {
22
22
  tags: ["!autodocs"],
23
23
  args: {
24
24
  borderRadius: "4px",
25
+ hasContentBackgroundColor: undefined,
25
26
  headerAs: "h2",
26
27
  headerText: "Register a Dog",
27
28
  headerVariant: "small",
@@ -49,6 +50,13 @@ const meta = {
49
50
  defaultValue: { summary: "4px" }
50
51
  }
51
52
  },
53
+ hasContentBackgroundColor: {
54
+ description: "Whether or not the content should have a background color",
55
+ table: {
56
+ type: { summary: "boolean" },
57
+ defaultValue: { summary: false }
58
+ }
59
+ },
52
60
  headerAs: {
53
61
  description: "The HTML element to use for the Card's header",
54
62
  table: {
@@ -329,6 +337,7 @@ export const DismissableCard = {
329
337
  />
330
338
  </Box>
331
339
  ),
340
+ hasContentBackgroundColor: true,
332
341
  headerText: undefined,
333
342
  showQuitLink: true,
334
343
  titleAs: "h2",