@getflip/swirl-components 0.191.0 → 0.192.0

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.
@@ -8,6 +8,7 @@ export class SwirlCard {
8
8
  constructor() {
9
9
  this.as = "div";
10
10
  this.borderRadius = "base";
11
+ this.customBackgroundColor = undefined;
11
12
  this.elevated = undefined;
12
13
  this.elevationLevel = 3;
13
14
  this.height = undefined;
@@ -53,6 +54,7 @@ export class SwirlCard {
53
54
  overflow: this.overflow,
54
55
  };
55
56
  const bodyStyles = {
57
+ backgroundColor: this.customBackgroundColor,
56
58
  padding: Boolean(this.padding)
57
59
  ? `var(--s-space-${this.padding})`
58
60
  : undefined,
@@ -136,6 +138,23 @@ export class SwirlCard {
136
138
  "reflect": false,
137
139
  "defaultValue": "\"base\""
138
140
  },
141
+ "customBackgroundColor": {
142
+ "type": "string",
143
+ "mutable": false,
144
+ "complexType": {
145
+ "original": "string",
146
+ "resolved": "string",
147
+ "references": {}
148
+ },
149
+ "required": false,
150
+ "optional": true,
151
+ "docs": {
152
+ "tags": [],
153
+ "text": ""
154
+ },
155
+ "attribute": "custom-background-color",
156
+ "reflect": false
157
+ },
139
158
  "elevated": {
140
159
  "type": "boolean",
141
160
  "mutable": false,