@plaidev/karte-action-sdk 1.1.242-28714750.c2012c9b → 1.1.242-28725563.d19f03e9

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,8 +6,8 @@ import { beforeUpdate as beforeUpdateSvelte } from "svelte";
6
6
  import { afterUpdate as afterUpdateSvelte } from "svelte";
7
7
  import { tick as tickSvelte } from "svelte";
8
8
  import { Properties } from "csstype";
9
- import IconArrowDown from "./variants/IconArrowDown.svelte";
10
9
  import { Properties as Properties$0 } from "preact/src/jsx-csstype";
10
+ import IconArrowDown from "./variants/IconArrowDown.svelte";
11
11
  /** @internal */
12
12
  declare const ACTION_HOOK_LABEL = "__ACTION_HOOK__";
13
13
  // -------- The following codes are deprecated --------
@@ -2413,6 +2413,9 @@ type AvatarProps = CommonProps & {
2413
2413
  image?: string;
2414
2414
  caption?: string;
2415
2415
  alt?: string;
2416
+ onClick?: OnClickOperation;
2417
+ eventName?: string;
2418
+ eventValue?: object;
2416
2419
  bordered?: boolean;
2417
2420
  };
2418
2421
  declare const BUTTON_SIZE: {
@@ -2443,6 +2446,9 @@ declare const BUTTON_ICON_ANGLE: {
2443
2446
  };
2444
2447
  type ButtonProps = CommonProps & BorderProps & {
2445
2448
  label?: string;
2449
+ onClick?: OnClickOperation;
2450
+ eventName?: string;
2451
+ eventValue?: object;
2446
2452
  size?: keyof typeof BUTTON_SIZE;
2447
2453
  theme?: keyof typeof BUTTON_THEME;
2448
2454
  round?: keyof typeof BUTTON_ROUND;
@@ -2623,12 +2629,18 @@ type IconProps = CommonProps & {
2623
2629
  color?: Properties$0["color"];
2624
2630
  width?: Properties$0["width"];
2625
2631
  height?: Properties$0["height"];
2632
+ onClick?: OnClickOperation;
2633
+ eventName?: string;
2634
+ eventValue?: object;
2626
2635
  };
2627
2636
  type ImageProps = CommonProps & {
2628
2637
  image?: string;
2629
2638
  width?: Properties["width"];
2630
2639
  aspect?: string;
2631
2640
  alt?: string;
2641
+ onClick?: OnClickOperation;
2642
+ eventName?: string;
2643
+ eventValue?: object;
2632
2644
  };
2633
2645
  declare const LAYOUT_DISPLAY_TYPE: readonly [
2634
2646
  "inline-flex",
@@ -2658,6 +2670,9 @@ declare const LAYOUT_JUSTIFY: readonly [
2658
2670
  ];
2659
2671
  type LayoutFlexJustify = (typeof LAYOUT_JUSTIFY)[number];
2660
2672
  type LayerLayoutProps = CommonProps & BorderProps & RadiusProps & ShadowProps & BackgroundColorProps & BackgroundImageProps & PaddingProps & {
2673
+ onClick?: OnClickOperation;
2674
+ eventName?: string;
2675
+ eventValue?: object;
2661
2676
  display?: LayoutDisplayType;
2662
2677
  direction?: LayoutFlexDirection;
2663
2678
  align?: LayoutFlexAlign;