@plaidev/karte-action-sdk 1.1.248-28748576.c738af6c → 1.1.248-28749701.df3df823

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.
@@ -2419,16 +2419,12 @@ declare const AVATAR_SHAPE: {
2419
2419
  readonly circle: "\u30B5\u30FC\u30AF\u30EB";
2420
2420
  readonly square: "\u30B9\u30AF\u30A8\u30A2";
2421
2421
  };
2422
- type AvatarProps = CommonProps & {
2422
+ type AvatarProps = CommonProps & ClickableProps & BorderProps & {
2423
2423
  size?: number;
2424
2424
  shape?: keyof typeof AVATAR_SHAPE;
2425
2425
  image?: string;
2426
2426
  caption?: string;
2427
2427
  alt?: string;
2428
- onClick?: OnClickOperation;
2429
- eventName?: string;
2430
- eventValue?: object;
2431
- bordered?: boolean;
2432
2428
  };
2433
2429
  declare const BUTTON_SIZE: {
2434
2430
  readonly extra_small: "XSmall";
@@ -12604,8 +12604,8 @@ function instance$F($$self, $$props, $$invalidate) {
12604
12604
  width: `${size}px`,
12605
12605
  height: `${size}px`,
12606
12606
  ...VARIANTS.shape[props.shape ?? 'square'],
12607
- ...props.bordered && { border: `1px solid #dbdbdb` },
12608
- ...toCssCommon(props)
12607
+ ...toCssCommon(props),
12608
+ ...toCssBorder(props)
12609
12609
  }));
12610
12610
  }
12611
12611
  };
@@ -2419,16 +2419,12 @@ declare const AVATAR_SHAPE: {
2419
2419
  readonly circle: "\u30B5\u30FC\u30AF\u30EB";
2420
2420
  readonly square: "\u30B9\u30AF\u30A8\u30A2";
2421
2421
  };
2422
- type AvatarProps = CommonProps & {
2422
+ type AvatarProps = CommonProps & ClickableProps & BorderProps & {
2423
2423
  size?: number;
2424
2424
  shape?: keyof typeof AVATAR_SHAPE;
2425
2425
  image?: string;
2426
2426
  caption?: string;
2427
2427
  alt?: string;
2428
- onClick?: OnClickOperation;
2429
- eventName?: string;
2430
- eventValue?: object;
2431
- bordered?: boolean;
2432
2428
  };
2433
2429
  declare const BUTTON_SIZE: {
2434
2430
  readonly extra_small: "XSmall";
package/dist/index.es.js CHANGED
@@ -11889,8 +11889,8 @@ function instance$F($$self, $$props, $$invalidate) {
11889
11889
  width: `${size}px`,
11890
11890
  height: `${size}px`,
11891
11891
  ...VARIANTS.shape[props.shape ?? 'square'],
11892
- ...props.bordered && { border: `1px solid #dbdbdb` },
11893
- ...toCssCommon(props)
11892
+ ...toCssCommon(props),
11893
+ ...toCssBorder(props)
11894
11894
  }));
11895
11895
  }
11896
11896
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.248-28748576.c738af6c",
3
+ "version": "1.1.248-28749701.df3df823",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",