@plaidev/karte-action-sdk 1.1.252-28788832.b03f17ae → 1.1.252-28790147.522ad991

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.
@@ -2369,13 +2369,12 @@ declare const BUTTON_SIZE: {
2369
2369
  readonly extra_large: "XLarge";
2370
2370
  };
2371
2371
  declare const BUTTON_THEME: {
2372
- readonly default: "\u30C7\u30D5\u30A9\u30EB\u30C8";
2373
- readonly brand: "Brand";
2372
+ readonly default: "Default";
2373
+ readonly general: "General";
2374
2374
  readonly success: "Success";
2375
2375
  readonly warning: "Warning";
2376
- readonly alert: "Dander";
2376
+ readonly danger: "Dander";
2377
2377
  readonly info: "Info";
2378
- readonly gray: "Gray";
2379
2378
  readonly white: "White";
2380
2379
  };
2381
2380
  declare const BUTTON_ROUND: {
@@ -2428,6 +2427,7 @@ type ClickableProps = {
2428
2427
  onClick?: OnClickOperation;
2429
2428
  eventName?: string;
2430
2429
  eventValue?: object;
2430
+ element?: string;
2431
2431
  };
2432
2432
  type OverflowProps = {
2433
2433
  overflow?: Properties["overflow"];
@@ -2514,6 +2514,7 @@ type ButtonOutlinedProps = CommonProps & ClickableProps & WithIconProps & LinkPr
2514
2514
  };
2515
2515
  declare const buttonOutlinedPropsDefault: ButtonOutlinedProps;
2516
2516
  declare const BUTTON_OUTLINED_SIZE_STYLES: PropStyles<ButtonOutlinedProps, "size">;
2517
+ declare const BUTTON_OUTLINED_THEME_STYLES: PropStyles<ButtonProps, "theme">;
2517
2518
  declare const BUTTON_OUTLINED_ROUND_STYLES: PropStyles<ButtonOutlinedProps, "round">;
2518
2519
  declare const BUTTON_OUTLINED_WRAP_STYLES: PropStyles<ButtonOutlinedProps, "wrap">;
2519
2520
  declare const BUTTON_TEXT_SIZE: {
@@ -2522,14 +2523,13 @@ declare const BUTTON_TEXT_SIZE: {
2522
2523
  readonly large: "Large";
2523
2524
  };
2524
2525
  declare const BUTTON_TEXT_THEME: {
2525
- readonly default: "\u30C7\u30D5\u30A9\u30EB\u30C8";
2526
+ readonly default: "Default";
2526
2527
  readonly link: "Link";
2527
- readonly brand: "Brand";
2528
+ readonly general: "General";
2528
2529
  readonly success: "Success";
2529
2530
  readonly warning: "Warning";
2530
- readonly alert: "Danger";
2531
+ readonly danger: "Danger";
2531
2532
  readonly info: "Info";
2532
- readonly gray: "Gray";
2533
2533
  readonly white: "White";
2534
2534
  };
2535
2535
  type ButtonTextProps = CommonProps & ClickableProps & LinkProps & WithIconProps & {
@@ -2567,7 +2567,7 @@ declare const CLOSE_BUTTON_LABEL_PLACEMENT: {
2567
2567
  right: string;
2568
2568
  left: string;
2569
2569
  };
2570
- type CloseButtonProps = CommonProps & BorderProps & {
2570
+ type CloseButtonProps = CommonProps & ClickableProps & BorderProps & {
2571
2571
  size?: number;
2572
2572
  placement?: keyof typeof CLOSE_BUTTON_PLACEMENT;
2573
2573
  round?: keyof typeof CLOSE_BUTTON_ROUND;
@@ -2715,17 +2715,34 @@ declare const LAYER_TEXT_SIZE: {
2715
2715
  readonly heading_large: "HeadingLarge";
2716
2716
  readonly heading_extra_large: "HeadingExtraLarge";
2717
2717
  };
2718
+ declare const TEXT_THEME: {
2719
+ readonly default: "Default";
2720
+ readonly gray: "Gray";
2721
+ readonly brand: "Brand";
2722
+ readonly success: "Success";
2723
+ readonly warning: "Warning";
2724
+ readonly danger: "Danger";
2725
+ readonly info: "Info";
2726
+ readonly white: "White";
2727
+ };
2728
+ declare const TEXT_STYLE: {
2729
+ readonly normal: "normal";
2730
+ readonly italic: "italic";
2731
+ };
2718
2732
  type LayerTextProps = CommonProps & BorderProps & RadiusProps & BackgroundColorProps & WithIconProps & LinkProps & ClickableProps & PaddingProps & {
2719
2733
  content: string;
2720
- variant?: string;
2734
+ theme?: keyof typeof TEXT_THEME;
2721
2735
  size?: keyof typeof LAYER_TEXT_SIZE;
2722
2736
  align?: Properties["textAlign"];
2737
+ fontStyle?: Properties["fontStyle"];
2723
2738
  fontSize?: Properties["fontSize"];
2724
2739
  fontWeight?: Properties["fontWeight"];
2740
+ fontFamily?: string;
2725
2741
  lineHeight?: number;
2726
2742
  color?: Properties["color"];
2727
2743
  width?: Properties["width"];
2728
2744
  };
2745
+ declare const TEXT_THEME_STYLES: PropStyles<LayerTextProps, "theme">;
2729
2746
  declare const TEXT_VARIANTS: {
2730
2747
  size: {
2731
2748
  extra_small: {
@@ -2814,9 +2831,33 @@ type TextLinkProps = CommonProps & ClickableProps & LinkProps & WithIconProps &
2814
2831
  };
2815
2832
  declare const TEXT_LINK_SIZE_STYLES: PropStyles<TextLinkProps, "size">;
2816
2833
  declare const TEXT_LINK_THEME_STYLES: PropStyles<TextLinkProps, "theme">;
2834
+ type CodeProps = CommonProps & {
2835
+ rawHtml?: string;
2836
+ rawCss?: string;
2837
+ rawScript?: string;
2838
+ };
2839
+ type BrandKitColor = {
2840
+ main: string;
2841
+ };
2842
+ type BrandKitColors = {
2843
+ text_primary: BrandKitColor;
2844
+ text_secondary: BrandKitColor;
2845
+ brand: BrandKitColor;
2846
+ link: BrandKitColor;
2847
+ danger: BrandKitColor;
2848
+ success: BrandKitColor;
2849
+ info: BrandKitColor;
2850
+ warning: BrandKitColor;
2851
+ white: BrandKitColor;
2852
+ };
2853
+ type BrandKit = {
2854
+ fontFamily: string;
2855
+ colors: BrandKitColors;
2856
+ };
2857
+ declare const BRAND_KIT: BrandKit;
2817
2858
  declare const SHADOW_STYLES: Record<keyof typeof SHADOW_VARIANT, Properties>;
2818
2859
  declare const ROUND_STYLES: Record<keyof typeof ROUND_VARIANT, Pick<Properties, "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius">>;
2819
- 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, WithIconProps, LinkProps, 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, BUTTON_TEXT_SIZE, BUTTON_TEXT_THEME, ButtonTextProps, BUTTON_TEXT_SIZE_STYLES, BUTTON_TEXT_THEME_STYLES, 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, TEXT_LINK_SIZE, TEXT_LINK_THEME, TEXT_LINK_UNDERLINE, TextLinkProps, TEXT_LINK_SIZE_STYLES, TEXT_LINK_THEME_STYLES, SHADOW_STYLES, ROUND_STYLES };
2860
+ 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, WithIconProps, LinkProps, 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_THEME_STYLES, BUTTON_OUTLINED_ROUND_STYLES, BUTTON_OUTLINED_WRAP_STYLES, BUTTON_TEXT_SIZE, BUTTON_TEXT_THEME, ButtonTextProps, BUTTON_TEXT_SIZE_STYLES, BUTTON_TEXT_THEME_STYLES, 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, TEXT_THEME, TEXT_STYLE, LayerTextProps, TEXT_THEME_STYLES, TEXT_VARIANTS, TEXT_LINK_SIZE, TEXT_LINK_THEME, TEXT_LINK_UNDERLINE, TextLinkProps, TEXT_LINK_SIZE_STYLES, TEXT_LINK_THEME_STYLES, CodeProps, BrandKitColor, BrandKitColors, BrandKit, BRAND_KIT, SHADOW_STYLES, ROUND_STYLES };
2820
2861
  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 };
2821
2862
  export { default as State } from './components/State.svelte';
2822
2863
  export { default as StateItem } from './components/StateItem.svelte';
@@ -2863,3 +2904,4 @@ export { default as FlexSlider } from './components-flex/slider/Slider.svelte';
2863
2904
  export { default as FlexText } from './components-flex/text/Text.svelte';
2864
2905
  export { default as FlexTextLink } from './components-flex/text-link/TextLink.svelte';
2865
2906
  export { default as FlexModal } from './components-flex/modal/Modal.svelte';
2907
+ export { default as FlexCode } from './components-flex/code/Code.svelte';