@plaidev/karte-action-sdk 1.1.246 → 1.1.247-28747129.737cb9c6

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.
@@ -2368,12 +2368,18 @@ type PositionPlaceProps = {
2368
2368
  type PositionProps = PositionPlaceProps & {
2369
2369
  position?: Properties["position"];
2370
2370
  };
2371
- type CommonProps = PositionProps;
2371
+ type MetaProps = {
2372
+ displayName?: string;
2373
+ };
2374
+ type CommonProps = MetaProps & PositionProps;
2372
2375
  type ClickableProps = {
2373
2376
  onClick?: OnClickOperation;
2374
2377
  eventName?: string;
2375
2378
  eventValue?: object;
2376
2379
  };
2380
+ type OverflowProps = {
2381
+ overflow?: Properties["overflow"];
2382
+ };
2377
2383
  type BorderProps = {
2378
2384
  borderTopWidth?: Properties["borderTopWidth"];
2379
2385
  borderLeftWidth?: Properties["borderLeftWidth"];
@@ -2433,8 +2439,13 @@ declare const BUTTON_SIZE: {
2433
2439
  };
2434
2440
  declare const BUTTON_THEME: {
2435
2441
  readonly default: "\u30C7\u30D5\u30A9\u30EB\u30C8";
2436
- readonly theme: "\u30C6\u30FC\u30DE\u30AB\u30E9\u30FC";
2442
+ readonly primary: "\u30D7\u30E9\u30A4\u30DE\u30EA\u30FC";
2443
+ readonly secondary: "\u30BB\u30AB\u30F3\u30C0\u30EA\u30FC";
2444
+ readonly success: "\u30B5\u30AF\u30BB\u30B9";
2445
+ readonly warning: "\u30EF\u30FC\u30CB\u30F3\u30B0";
2437
2446
  readonly alert: "\u30A2\u30E9\u30FC\u30C8";
2447
+ readonly info: "\u30A4\u30F3\u30D5\u30A9";
2448
+ readonly neutral: "\u30CB\u30E5\u30FC\u30C8\u30E9\u30EB";
2438
2449
  readonly transparent: "\u80CC\u666F\u306A\u3057";
2439
2450
  };
2440
2451
  declare const BUTTON_ROUND: {
@@ -2472,30 +2483,28 @@ declare const BUTTON_SIZE_STYLES: PropStyles<ButtonProps, "size">;
2472
2483
  declare const BUTTON_THEME_STYLES: PropStyles<ButtonProps, "theme">;
2473
2484
  declare const BUTTON_ROUND_STYLES: PropStyles<ButtonProps, "round">;
2474
2485
  declare const BUTTON_WRAP_STYLES: PropStyles<ButtonProps, "wrap">;
2475
- declare const BUTTON_VARIANTS: {
2476
- size: {
2477
- extra_small: Properties<0 | (string & {}), string & {}>;
2478
- small: Properties<0 | (string & {}), string & {}>;
2479
- medium: Properties<0 | (string & {}), string & {}>;
2480
- large: Properties<0 | (string & {}), string & {}>;
2481
- extra_large: Properties<0 | (string & {}), string & {}>;
2482
- };
2483
- theme: {
2484
- theme: Properties<0 | (string & {}), string & {}>;
2485
- default: Properties<0 | (string & {}), string & {}>;
2486
- transparent: Properties<0 | (string & {}), string & {}>;
2487
- alert: Properties<0 | (string & {}), string & {}>;
2488
- };
2489
- round: {
2490
- none: Properties<0 | (string & {}), string & {}>;
2491
- default: {};
2492
- fulled: Properties<0 | (string & {}), string & {}>;
2493
- };
2494
- wrap: {
2495
- nowrap: Properties<0 | (string & {}), string & {}>;
2496
- wrap: Properties<0 | (string & {}), string & {}>;
2497
- };
2486
+ type ButtonOutlinedProps = CommonProps & ClickableProps & BorderProps & {
2487
+ label?: string;
2488
+ size?: keyof typeof BUTTON_SIZE;
2489
+ theme?: keyof typeof BUTTON_THEME;
2490
+ round?: keyof typeof BUTTON_ROUND;
2491
+ isLink?: boolean;
2492
+ isIcon?: boolean;
2493
+ linkUrl?: string;
2494
+ linkTarget?: keyof typeof BUTTON_LINK_TARGET;
2495
+ iconVariant?: string;
2496
+ iconAngle?: keyof typeof BUTTON_ICON_ANGLE;
2497
+ width?: Properties["width"];
2498
+ wrap?: "wrap" | "nowrap";
2499
+ fontWeight?: Properties["fontWeight"];
2500
+ color?: Properties["color"];
2501
+ backgroundColor?: Properties["backgroundColor"];
2502
+ borderColor?: Properties["backgroundColor"];
2498
2503
  };
2504
+ declare const buttonOutlinedPropsDefault: ButtonOutlinedProps;
2505
+ declare const BUTTON_OUTLINED_SIZE_STYLES: PropStyles<ButtonOutlinedProps, "size">;
2506
+ declare const BUTTON_OUTLINED_ROUND_STYLES: PropStyles<ButtonOutlinedProps, "round">;
2507
+ declare const BUTTON_OUTLINED_WRAP_STYLES: PropStyles<ButtonOutlinedProps, "wrap">;
2499
2508
  declare const TEXT_BUTTON_SIZE: {
2500
2509
  readonly extra_small: "XSmall";
2501
2510
  readonly small: "Small";
@@ -2617,9 +2626,11 @@ declare const ICON_VARIANTS: {
2617
2626
  readonly gift: typeof IconArrowDown;
2618
2627
  readonly heart: typeof IconArrowDown;
2619
2628
  readonly link: typeof IconArrowDown;
2629
+ readonly locationDot: typeof IconArrowDown;
2620
2630
  readonly magnifying_grass: typeof IconArrowDown;
2621
2631
  readonly paperclip: typeof IconArrowDown;
2622
2632
  readonly paper_plane: typeof IconArrowDown;
2633
+ readonly phone: typeof IconArrowDown;
2623
2634
  readonly star: typeof IconArrowDown;
2624
2635
  readonly ticket: typeof IconArrowDown;
2625
2636
  readonly truck: typeof IconArrowDown;
@@ -2669,7 +2680,7 @@ declare const LAYOUT_JUSTIFY: readonly [
2669
2680
  "space-between"
2670
2681
  ];
2671
2682
  type LayoutFlexJustify = (typeof LAYOUT_JUSTIFY)[number];
2672
- type LayerLayoutProps = CommonProps & ClickableProps & BorderProps & RadiusProps & ShadowProps & BackgroundColorProps & BackgroundImageProps & PaddingProps & {
2683
+ type LayerLayoutProps = CommonProps & ClickableProps & OverflowProps & BorderProps & RadiusProps & ShadowProps & BackgroundColorProps & BackgroundImageProps & PaddingProps & {
2673
2684
  display?: LayoutDisplayType;
2674
2685
  direction?: LayoutFlexDirection;
2675
2686
  align?: LayoutFlexAlign;
@@ -2677,11 +2688,12 @@ type LayerLayoutProps = CommonProps & ClickableProps & BorderProps & RadiusProps
2677
2688
  rowGap?: Properties["rowGap"];
2678
2689
  columnGap?: Properties["columnGap"];
2679
2690
  width?: Properties["width"];
2680
- overflowY?: Properties["overflowY"];
2681
2691
  };
2682
2692
  type SliderProps = {
2683
2693
  gap: number;
2684
2694
  itemWidthPercentage: number;
2695
+ auto?: boolean;
2696
+ interval?: number;
2685
2697
  };
2686
2698
  declare const LAYER_TEXT_SIZE: {
2687
2699
  readonly extra_small: "ExtraSmall";
@@ -2762,7 +2774,7 @@ declare const TEXT_VARIANTS: {
2762
2774
  };
2763
2775
  declare const SHADOW_STYLES: Record<keyof typeof SHADOW_VARIANT, Properties>;
2764
2776
  declare const ROUND_STYLES: Record<keyof typeof ROUND_VARIANT, Pick<Properties, "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius">>;
2765
- 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, CommonProps, ClickableProps, 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, BUTTON_VARIANTS, 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 };
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 };
2766
2778
  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 };
2767
2779
  export { default as State } from './components/State.svelte';
2768
2780
  export { default as StateItem } from './components/StateItem.svelte';
@@ -2799,6 +2811,7 @@ export { default as TextButtonBlock } from './components/TextButtonBlock.svelte'
2799
2811
  export { default as ImageBlock } from './components/ImageBlock.svelte';
2800
2812
  export { default as FlexAvatar } from './components-flex/avatar/Avatar.svelte';
2801
2813
  export { default as FlexButton } from './components-flex/button/Button.svelte';
2814
+ export { default as FlexButtonOutlined } from './components-flex/button-outlined/ButtonOutlined.svelte';
2802
2815
  export { default as FlexTextButton } from './components-flex/text-button/TextButton.svelte';
2803
2816
  export { default as FlexCloseButton } from './components-flex/close-button/CloseButton.svelte';
2804
2817
  export { default as FlexIcon } from './components-flex/icon/Icon.svelte';