@plaidev/karte-action-sdk 1.1.268-29147222.21424830 → 1.1.268-29148584.667572de

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.
@@ -74,6 +74,7 @@ export type BackgroundColorProps = {
74
74
  };
75
75
  export type BackgroundImageProps = {
76
76
  backgroundImageUrl?: string
77
+ backgroundSize?: Properties["backgroundSize"]
77
78
  backgroundPositionX?: Properties["backgroundPositionX"]
78
79
  backgroundPositionY?: Properties["backgroundPositionY"]
79
80
  backgroundBlendMode?: Properties["backgroundBlendMode"]
@@ -74,6 +74,7 @@ export type BackgroundColorProps = {
74
74
  };
75
75
  export type BackgroundImageProps = {
76
76
  backgroundImageUrl?: string
77
+ backgroundSize?: Properties["backgroundSize"]
77
78
  backgroundPositionX?: Properties["backgroundPositionX"]
78
79
  backgroundPositionY?: Properties["backgroundPositionY"]
79
80
  backgroundBlendMode?: Properties["backgroundBlendMode"]
@@ -12971,7 +12971,7 @@ const toCssBackground = (p, brandKit) => {
12971
12971
  return {
12972
12972
  backgroundColor: p?.backgroundBlendColor ?? p?.backgroundColor ?? variant?.getProps(brandKit)?.backgroundColor,
12973
12973
  ...url ? {
12974
- backgroundSize: url ? "cover" : void 0,
12974
+ backgroundSize: url ? p.backgroundSize ?? "cover" : void 0,
12975
12975
  backgroundImage: url ? `url(${url})` : void 0,
12976
12976
  backgroundPositionX: p?.backgroundPositionX ?? "center",
12977
12977
  backgroundPositionY: p?.backgroundPositionY ?? "center",
package/dist/index.es.js CHANGED
@@ -11827,7 +11827,7 @@ const toCssBackground = (p, brandKit) => {
11827
11827
  return {
11828
11828
  backgroundColor: p?.backgroundBlendColor ?? p?.backgroundColor ?? variant?.getProps(brandKit)?.backgroundColor,
11829
11829
  ...url ? {
11830
- backgroundSize: url ? "cover" : void 0,
11830
+ backgroundSize: url ? p.backgroundSize ?? "cover" : void 0,
11831
11831
  backgroundImage: url ? `url(${url})` : void 0,
11832
11832
  backgroundPositionX: p?.backgroundPositionX ?? "center",
11833
11833
  backgroundPositionY: p?.backgroundPositionY ?? "center",
@@ -74,6 +74,7 @@ export type BackgroundColorProps = {
74
74
  };
75
75
  export type BackgroundImageProps = {
76
76
  backgroundImageUrl?: string
77
+ backgroundSize?: Properties["backgroundSize"]
77
78
  backgroundPositionX?: Properties["backgroundPositionX"]
78
79
  backgroundPositionY?: Properties["backgroundPositionY"]
79
80
  backgroundBlendMode?: Properties["backgroundBlendMode"]
@@ -74,6 +74,7 @@ export type BackgroundColorProps = {
74
74
  };
75
75
  export type BackgroundImageProps = {
76
76
  backgroundImageUrl?: string
77
+ backgroundSize?: Properties["backgroundSize"]
77
78
  backgroundPositionX?: Properties["backgroundPositionX"]
78
79
  backgroundPositionY?: Properties["backgroundPositionY"]
79
80
  backgroundBlendMode?: Properties["backgroundBlendMode"]
@@ -3296,7 +3296,7 @@ const toCssBackground = (p, brandKit) => {
3296
3296
  return {
3297
3297
  backgroundColor: p?.backgroundBlendColor ?? p?.backgroundColor ?? variant?.getProps(brandKit)?.backgroundColor,
3298
3298
  ...url ? {
3299
- backgroundSize: url ? "cover" : void 0,
3299
+ backgroundSize: url ? p.backgroundSize ?? "cover" : void 0,
3300
3300
  backgroundImage: url ? `url(${url})` : void 0,
3301
3301
  backgroundPositionX: p?.backgroundPositionX ?? "center",
3302
3302
  backgroundPositionY: p?.backgroundPositionY ?? "center",
@@ -3265,7 +3265,7 @@ const toCssBackground = (p, brandKit) => {
3265
3265
  return {
3266
3266
  backgroundColor: p?.backgroundBlendColor ?? p?.backgroundColor ?? variant?.getProps(brandKit)?.backgroundColor,
3267
3267
  ...url ? {
3268
- backgroundSize: url ? "cover" : void 0,
3268
+ backgroundSize: url ? p.backgroundSize ?? "cover" : void 0,
3269
3269
  backgroundImage: url ? `url(${url})` : void 0,
3270
3270
  backgroundPositionX: p?.backgroundPositionX ?? "center",
3271
3271
  backgroundPositionY: p?.backgroundPositionY ?? "center",
@@ -3266,7 +3266,7 @@ const toCssBackground = (p, brandKit) => {
3266
3266
  return {
3267
3267
  backgroundColor: p?.backgroundBlendColor ?? p?.backgroundColor ?? variant?.getProps(brandKit)?.backgroundColor,
3268
3268
  ...url ? {
3269
- backgroundSize: url ? "cover" : void 0,
3269
+ backgroundSize: url ? p.backgroundSize ?? "cover" : void 0,
3270
3270
  backgroundImage: url ? `url(${url})` : void 0,
3271
3271
  backgroundPositionX: p?.backgroundPositionX ?? "center",
3272
3272
  backgroundPositionY: p?.backgroundPositionY ?? "center",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.268-29147222.21424830",
3
+ "version": "1.1.268-29148584.667572de",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",