@thecb/components 11.1.2-beta.0 → 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/dist/index.cjs.js +116 -376
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +116 -376
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/atoms/card/Card.stories.js +9 -0
package/package.json
CHANGED
|
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",
|