@plaidev/karte-action-sdk 1.1.247 → 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";
@@ -2505,42 +2501,16 @@ declare const buttonOutlinedPropsDefault: ButtonOutlinedProps;
2505
2501
  declare const BUTTON_OUTLINED_SIZE_STYLES: PropStyles<ButtonOutlinedProps, "size">;
2506
2502
  declare const BUTTON_OUTLINED_ROUND_STYLES: PropStyles<ButtonOutlinedProps, "round">;
2507
2503
  declare const BUTTON_OUTLINED_WRAP_STYLES: PropStyles<ButtonOutlinedProps, "wrap">;
2508
- declare const TEXT_BUTTON_SIZE: {
2509
- readonly extra_small: "XSmall";
2510
- readonly small: "Small";
2511
- readonly medium: "Medium";
2512
- readonly large: "Large";
2513
- readonly extra_large: "XLarge";
2514
- };
2515
- declare const TEXT_BUTTON_COLOR: {
2516
- readonly default: "\u30C7\u30D5\u30A9\u30EB\u30C8";
2517
- readonly theme: "\u30C6\u30FC\u30DE\u30AB\u30E9\u30FC";
2518
- readonly alert: "\u30A2\u30E9\u30FC\u30C8";
2519
- };
2520
- declare const TEXT_BUTTON_ROUND: {
2521
- readonly default: "\u30C7\u30D5\u30A9\u30EB\u30C8";
2522
- readonly none: "\u306A\u3057";
2523
- readonly fulled: "\u5186\u5F62";
2524
- };
2525
- declare const TEXT_BUTTON_LINK_TARGET: {
2526
- readonly _self: "\u753B\u9762\u5185\u9077\u79FB";
2527
- readonly _blank: "\u5225\u30BF\u30D6\u3067\u958B\u304F";
2528
- };
2529
- declare const TEXT_BUTTON_ICON_ANGLE: {
2530
- readonly row: "\u5DE6\u5074";
2531
- readonly "row-reverse": "\u53F3\u5074";
2532
- };
2533
- type TextButtonProps = CommonProps & {
2504
+ type ButtonTextProps = CommonProps & ClickableProps & {
2534
2505
  label?: string;
2535
- size?: keyof typeof TEXT_BUTTON_SIZE;
2536
- color?: keyof typeof TEXT_BUTTON_COLOR;
2537
- round?: keyof typeof TEXT_BUTTON_ROUND;
2506
+ size?: keyof typeof BUTTON_SIZE;
2507
+ theme?: keyof typeof BUTTON_THEME;
2538
2508
  isLink?: boolean;
2539
2509
  isIcon?: boolean;
2540
2510
  linkUrl?: string;
2541
- linkTarget?: keyof typeof TEXT_BUTTON_LINK_TARGET;
2511
+ linkTarget?: keyof typeof BUTTON_LINK_TARGET;
2542
2512
  iconVariant?: string;
2543
- iconAngle?: keyof typeof TEXT_BUTTON_ICON_ANGLE;
2513
+ iconAngle?: keyof typeof BUTTON_ICON_ANGLE;
2544
2514
  width?: Properties["width"];
2545
2515
  wrap?: "wrap" | "nowrap";
2546
2516
  fontWeight?: Properties["fontWeight"];
@@ -2774,7 +2744,7 @@ declare const TEXT_VARIANTS: {
2774
2744
  };
2775
2745
  declare const SHADOW_STYLES: Record<keyof typeof SHADOW_VARIANT, Properties>;
2776
2746
  declare const ROUND_STYLES: Record<keyof typeof ROUND_VARIANT, Pick<Properties, "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius">>;
2777
- export { ACTION_HOOK_LABEL, KARTE_MODAL_ROOT, create, destroyAction, onCreate, onDestroy, showModal, destroy, initialize, finalize, loadGlobalScript, loadGlobalStyle, applyGlobalCss, getState, setState, getStates, isOpened, getVariables, setVariables, resetVariables, getEventHandlers, setEventHandlers, resetEventHandlers, getSystem, setSetting, eventHandlers, variables, formData, state, onScroll, onTime, getLogs, getEvents, logger, listenLogger, hideOnScroll, hideOnTime, showOnScroll, showOnTime, PropTypes, PropType, Code, MediaQueries, MediaQuery, Directions, Direction, AnimationStyles, AnimationStyle, ModalPositions, ModalPosition, ModalMargin, ModalPlacement, DefaultModalPlacement, Elasticities, Elasticity, ElasticityStyle, DefaultElasticity, TextDirections, TextDirection, OperationArgumentType, Operation, OnClickOperationOptions, OnClickOperation, LongText, Url, RegExpProp, Image, LengthUnits, LengthUnit, Length, Color, FontWeight, SYSTEM_FONT, Fonts, Font, Justifies, Justify, Alignments, Alignment, FlexDirections, FlexDirection, ObjectFits, ObjectFit, ClipPaths, ClipPath, Repeats, Repeat, BackgroundSizes, BackgroundSize, Cursors, Cursor, Overflows, Overflow, Border, BorderStyle, BorderWidth, BoxShadow, Style, TransitState, WritingModes, WritingMode, DateTime, Icon, ListSeparatorTypes, EdgePosition, DefaultEdgePosition, ListSeparatorNone, ListSeparatorBorder, ListSeparatorGap, ListSeparator, DefaultListSeparatorNone, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparator, ListBackgroundTypes, ListBackgroundNone, ListBackgroundStripe, ListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListBackground, ListDirections, ListDirection, ListContext, SlideButtonIcon, SlideButtonText, SlideButton, DefaultSlideButton, SlideButtonPosition, SlideNavigationButton, DefaultSlideNavigationButton, FormInputName, FormButtonColor, DefaultFormButtonColor, ModalStyle, ModalBreakPoint, DefaultModalBreakPoint, FormIdentifyTextFields, FormIdentifyTextField, FormIdentifyTextFieldValidations, FormIdentifyTextFieldPlaceholders, DefaultFormIdentifyTextField, FormIdentifyBooleanFields, FormIdentifyBooleanField, DefaultFormIdentifyBooleanField, showAction, closeAction, loadStyle, applyCss, onShow, onClose, onChangeState, getActionRoot, getCssVariables, show, close, ensureModalRoot, createApp, createFog, collection, loadActionTableRow, loadActionTableRows, loadActionTableQuery, loadActionTable, addChoiceAnswer, addFreeAnswer, removeAnswer, getAnsweredQuestion, getAnsweredQuestionIds, sendAnswer, sendAnswers, widget, onMount, onDestory, beforeUpdate, afterUpdate, tick, LAYOUT_COMPONENT_NAMES, PropStyles, SHADOW_VARIANT, ROUND_VARIANT, PositionProps, MetaProps, CommonProps, ClickableProps, OverflowProps, BorderProps, PaddingProps, RadiusProps, BackgroundColorProps, BackgroundImageProps, ShadowProps, AVATAR_SIZE, AVATAR_SHAPE, AvatarProps, BUTTON_SIZE, BUTTON_THEME, BUTTON_ROUND, BUTTON_LINK_TARGET, BUTTON_ICON_ANGLE, ButtonProps, buttonPropsDefault, BUTTON_SIZE_STYLES, BUTTON_THEME_STYLES, BUTTON_ROUND_STYLES, BUTTON_WRAP_STYLES, ButtonOutlinedProps, buttonOutlinedPropsDefault, BUTTON_OUTLINED_SIZE_STYLES, BUTTON_OUTLINED_ROUND_STYLES, BUTTON_OUTLINED_WRAP_STYLES, TEXT_BUTTON_SIZE, TEXT_BUTTON_COLOR, TEXT_BUTTON_ROUND, TEXT_BUTTON_LINK_TARGET, TEXT_BUTTON_ICON_ANGLE, TextButtonProps, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, CLOSE_BUTTON_LABEL_PLACEMENT, CloseButtonProps, ICON_SIZE, ICON_VARIANTS, IconProps, ImageProps, LAYOUT_DISPLAY_TYPE, LayoutDisplayType, LAYOUT_DIRECTION, LayoutFlexDirection, LAYOUT_ALIGN, LayoutFlexAlign, LAYOUT_JUSTIFY, LayoutFlexJustify, LayerLayoutProps, SliderProps, LAYER_TEXT_SIZE, LayerTextProps, TEXT_VARIANTS, SHADOW_STYLES, ROUND_STYLES };
2747
+ export { ACTION_HOOK_LABEL, KARTE_MODAL_ROOT, create, destroyAction, onCreate, onDestroy, showModal, destroy, initialize, finalize, loadGlobalScript, loadGlobalStyle, applyGlobalCss, getState, setState, getStates, isOpened, getVariables, setVariables, resetVariables, getEventHandlers, setEventHandlers, resetEventHandlers, getSystem, setSetting, eventHandlers, variables, formData, state, onScroll, onTime, getLogs, getEvents, logger, listenLogger, hideOnScroll, hideOnTime, showOnScroll, showOnTime, PropTypes, PropType, Code, MediaQueries, MediaQuery, Directions, Direction, AnimationStyles, AnimationStyle, ModalPositions, ModalPosition, ModalMargin, ModalPlacement, DefaultModalPlacement, Elasticities, Elasticity, ElasticityStyle, DefaultElasticity, TextDirections, TextDirection, OperationArgumentType, Operation, OnClickOperationOptions, OnClickOperation, LongText, Url, RegExpProp, Image, LengthUnits, LengthUnit, Length, Color, FontWeight, SYSTEM_FONT, Fonts, Font, Justifies, Justify, Alignments, Alignment, FlexDirections, FlexDirection, ObjectFits, ObjectFit, ClipPaths, ClipPath, Repeats, Repeat, BackgroundSizes, BackgroundSize, Cursors, Cursor, Overflows, Overflow, Border, BorderStyle, BorderWidth, BoxShadow, Style, TransitState, WritingModes, WritingMode, DateTime, Icon, ListSeparatorTypes, EdgePosition, DefaultEdgePosition, ListSeparatorNone, ListSeparatorBorder, ListSeparatorGap, ListSeparator, DefaultListSeparatorNone, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparator, ListBackgroundTypes, ListBackgroundNone, ListBackgroundStripe, ListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListBackground, ListDirections, ListDirection, ListContext, SlideButtonIcon, SlideButtonText, SlideButton, DefaultSlideButton, SlideButtonPosition, SlideNavigationButton, DefaultSlideNavigationButton, FormInputName, FormButtonColor, DefaultFormButtonColor, ModalStyle, ModalBreakPoint, DefaultModalBreakPoint, FormIdentifyTextFields, FormIdentifyTextField, FormIdentifyTextFieldValidations, FormIdentifyTextFieldPlaceholders, DefaultFormIdentifyTextField, FormIdentifyBooleanFields, FormIdentifyBooleanField, DefaultFormIdentifyBooleanField, showAction, closeAction, loadStyle, applyCss, onShow, onClose, onChangeState, getActionRoot, getCssVariables, show, close, ensureModalRoot, createApp, createFog, collection, loadActionTableRow, loadActionTableRows, loadActionTableQuery, loadActionTable, addChoiceAnswer, addFreeAnswer, removeAnswer, getAnsweredQuestion, getAnsweredQuestionIds, sendAnswer, sendAnswers, widget, onMount, onDestory, beforeUpdate, afterUpdate, tick, LAYOUT_COMPONENT_NAMES, PropStyles, SHADOW_VARIANT, ROUND_VARIANT, PositionProps, MetaProps, CommonProps, ClickableProps, OverflowProps, BorderProps, PaddingProps, RadiusProps, BackgroundColorProps, BackgroundImageProps, ShadowProps, AVATAR_SIZE, AVATAR_SHAPE, AvatarProps, BUTTON_SIZE, BUTTON_THEME, BUTTON_ROUND, BUTTON_LINK_TARGET, BUTTON_ICON_ANGLE, ButtonProps, buttonPropsDefault, BUTTON_SIZE_STYLES, BUTTON_THEME_STYLES, BUTTON_ROUND_STYLES, BUTTON_WRAP_STYLES, ButtonOutlinedProps, buttonOutlinedPropsDefault, BUTTON_OUTLINED_SIZE_STYLES, BUTTON_OUTLINED_ROUND_STYLES, BUTTON_OUTLINED_WRAP_STYLES, ButtonTextProps, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, CLOSE_BUTTON_LABEL_PLACEMENT, CloseButtonProps, ICON_SIZE, ICON_VARIANTS, IconProps, ImageProps, LAYOUT_DISPLAY_TYPE, LayoutDisplayType, LAYOUT_DIRECTION, LayoutFlexDirection, LAYOUT_ALIGN, LayoutFlexAlign, LAYOUT_JUSTIFY, LayoutFlexJustify, LayerLayoutProps, SliderProps, LAYER_TEXT_SIZE, LayerTextProps, TEXT_VARIANTS, SHADOW_STYLES, ROUND_STYLES };
2778
2748
  export type { SystemConfig, ActionVariables, ActionEventHandler, ActionProps, ActionOptions, ActionHook, ActionHookLog, ActionChangeStateHook, SendFunction, PublishFunction, OnScrollContext, OnScrollFunction, ScrollDirection, LogLevel, Log, Event, ActionCloseHook, ShowTrigger, CloseTrigger, CollectionConfig, ActionTableRowRequestConfig, ActionTableRowsRequestConfig, ActionTableQueryRequestConfig, ActionTableRequestConfig };
2779
2749
  export { default as State } from './components/State.svelte';
2780
2750
  export { default as StateItem } from './components/StateItem.svelte';
@@ -2812,7 +2782,7 @@ export { default as ImageBlock } from './components/ImageBlock.svelte';
2812
2782
  export { default as FlexAvatar } from './components-flex/avatar/Avatar.svelte';
2813
2783
  export { default as FlexButton } from './components-flex/button/Button.svelte';
2814
2784
  export { default as FlexButtonOutlined } from './components-flex/button-outlined/ButtonOutlined.svelte';
2815
- export { default as FlexTextButton } from './components-flex/text-button/TextButton.svelte';
2785
+ export { default as FlexButtonText } from './components-flex/button-text/ButtonText.svelte';
2816
2786
  export { default as FlexCloseButton } from './components-flex/close-button/CloseButton.svelte';
2817
2787
  export { default as FlexIcon } from './components-flex/icon/Icon.svelte';
2818
2788
  export { default as FlexImage } from './components-flex/image/Image.svelte';