@plaidev/karte-action-sdk 1.1.152-27999870.c0dc3627 → 1.1.153-28000945.c0a894e5

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.
@@ -2961,6 +2961,7 @@ declare namespace widget {
2961
2961
  }
2962
2962
  export { loadGlobalScript, loadGlobalStyle, applyGlobalCss, initialize, finalize, 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, TextDirections, TextDirection, OperationArgumentType, Operation, OnClickOperationOptions, OnClickOperation, LongText, Url, Image, LengthUnits, LengthUnit, Length, Color, FontWeight, 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, create, showAction, closeAction, destroyAction, loadStyle, applyCss, getActionRoot, onCreate, onShow, onClose, onDestroy, onChangeState, ACTION_HOOK_LABEL, showModal, ensureModalRoot, show, close, destroy, createApp, createFog, KARTE_MODAL_ROOT, collection, loadActionTableRow, loadActionTableRows, loadActionTableQuery, loadActionTable, widget };
2963
2963
  export type { CloseTrigger, ActionVariables, ActionEventHandler, SystemConfig, OnScrollContext, OnScrollFunction, ScrollDirection, LogLevel, Log, Event, ActionProps, ActionOptions, ActionHook, ActionCloseHook, ActionChangeStateHook, SendFunction, ActionHookLog, CollectionConfig, ActionTableRowRequestConfig, ActionTableRowsRequestConfig, ActionTableQueryRequestConfig, ActionTableRequestConfig };
2964
+ export { onMount } from "svelte";
2964
2965
  export { default as State } from './components/State.svelte';
2965
2966
  export { default as StateItem } from './components/StateItem.svelte';
2966
2967
  export { default as Modal } from './components/Modal.svelte';
@@ -1,7 +1,8 @@
1
1
  import 'svelte/easing';
2
2
  import { writable, get } from 'svelte/store';
3
- import { SvelteComponent, init, safe_not_equal, append_styles, create_slot, create_component, space, claim_component, claim_space, mount_component, insert_hydration, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, detach, empty, group_outros, check_outros, component_subscribe, element, claim_element, children, attr, noop, listen, is_function, append_hydration, add_render_callback, create_in_transition, svg_element, claim_svg_element, binding_callbacks, destroy_each, text, claim_text, set_data, null_to_empty, src_url_equal, HtmlTagHydration, claim_html_tag } from 'svelte/internal';
4
3
  import { setContext, getContext, createEventDispatcher, onMount, onDestroy as onDestroy$1 } from 'svelte';
4
+ export { onMount } from 'svelte';
5
+ import { SvelteComponent, init, safe_not_equal, append_styles, create_slot, create_component, space, claim_component, claim_space, mount_component, insert_hydration, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, detach, empty, group_outros, check_outros, component_subscribe, element, claim_element, children, attr, noop, listen, is_function, append_hydration, add_render_callback, create_in_transition, svg_element, claim_svg_element, binding_callbacks, destroy_each, text, claim_text, set_data, null_to_empty, src_url_equal, HtmlTagHydration, claim_html_tag } from 'svelte/internal';
5
6
 
6
7
  /** @internal */
7
8
  const NOOP = (_args) => { }; // eslint-disable-line @typescript-eslint/no-unused-vars
@@ -3823,7 +3824,7 @@ function instance$o($$self, $$props, $$invalidate) {
3823
3824
  }
3824
3825
  };
3825
3826
 
3826
- let { _textStyle = 'font-size:12px;' } = $$props;
3827
+ let { _textStyle = 'font-size:12px; line-height: 1.5;' } = $$props;
3827
3828
  let { textDirection = 'horizontal' } = $$props;
3828
3829
  let { _style = '' } = $$props;
3829
3830
 
@@ -4002,7 +4003,7 @@ function instance$n($$self, $$props, $$invalidate) {
4002
4003
  };
4003
4004
 
4004
4005
  let { eventName = '' } = $$props;
4005
- let { _buttonStyle = 'color:#ffffff; font-size:14px; font-weight:bold; justify-content:center; align-items:center; padding:1px 6px 1px 6px;' } = $$props;
4006
+ let { _buttonStyle = 'color:#ffffff; font-size:14px; font-weight:bold; justify-content:center; align-items:center; padding:1px 6px 1px 6px; line-height: 1.5;' } = $$props;
4006
4007
  let { _style = 'background-color: #000000; border-radius:4px; cursor: pointer' } = $$props;
4007
4008
  const { path: statePath } = getStateItemContext() ?? { path: '/' };
4008
4009
  const valuesAreValid = getValuesAreValidReader(statePath);
@@ -5404,7 +5405,7 @@ function instance$f($$self, $$props, $$invalidate) {
5404
5405
  let { options = 'ラジオボタン1,ラジオボタン2,ラジオボタン3' } = $$props;
5405
5406
  let { required = false } = $$props;
5406
5407
  let { _layoutStyle = 'flex-direction: column; gap: 0px;' } = $$props;
5407
- let { _textStyle = 'color: #333; font-size: 12px;' } = $$props;
5408
+ let { _textStyle = 'color: #333; font-size: 12px; line-height:1.5;' } = $$props;
5408
5409
  let { buttonSize = '16px' } = $$props;
5409
5410
  let { buttonColor = { main: '#f0f1f1', sub: '#f0f1f1' } } = $$props;
5410
5411
  let { buttonColorActive = { main: '#2aab9f', sub: '#fff' } } = $$props;
@@ -5755,7 +5756,7 @@ function instance$e($$self, $$props, $$invalidate) {
5755
5756
  let { required = false } = $$props;
5756
5757
  let { _style = 'cursor: pointer; background-color: #fff; border: solid 2px #ccc; border-radius: 6px; padding: 0 0 0 10px;' } = $$props;
5757
5758
  let { _focusStyle = 'border-width: 2px; border-color: #2aab9f; border-style: solid' } = $$props;
5758
- let { _textStyle = 'font-size: 12px;' } = $$props;
5759
+ let { _textStyle = 'font-size: 12px; line-height:1.5;' } = $$props;
5759
5760
  let { _placeholderStyle = 'color: #ccc;' } = $$props;
5760
5761
  let { iconColor = 'rgba(0, 16, 14, 0.8)' } = $$props;
5761
5762
  let { iconSize = '12px' } = $$props;
@@ -6089,7 +6090,7 @@ function instance$d($$self, $$props, $$invalidate) {
6089
6090
  let { options = 'チェックボックス1,チェックボックス2,チェックボックス3' } = $$props;
6090
6091
  let { required = false } = $$props;
6091
6092
  let { _layoutStyle = 'flex-direction: column; gap: 0px;' } = $$props;
6092
- let { _textStyle = 'color: #333; font-size: 12px;' } = $$props;
6093
+ let { _textStyle = 'color: #333; font-size: 12px; line-height:1.5;' } = $$props;
6093
6094
  let { buttonSize = '16px' } = $$props;
6094
6095
  let { buttonColor = { main: '#f0f1f1', sub: '#f0f1f1' } } = $$props;
6095
6096
  let { buttonColorActive = { main: '#2aab9f', sub: '#fff' } } = $$props;
@@ -8709,7 +8710,7 @@ function create_fragment$2(ctx) {
8709
8710
  function instance$2($$self, $$props, $$invalidate) {
8710
8711
  let style;
8711
8712
  let { text = 'サンプルSample' } = $$props;
8712
- let { _textStyle = 'font-size:12px;' } = $$props;
8713
+ let { _textStyle = 'font-size:12px; line-height:1.5;' } = $$props;
8713
8714
  let { textDirection = 'horizontal' } = $$props;
8714
8715
  let { _style = '' } = $$props;
8715
8716
 
@@ -8843,7 +8844,7 @@ function instance$1($$self, $$props, $$invalidate) {
8843
8844
  };
8844
8845
 
8845
8846
  let { eventName = '' } = $$props;
8846
- let { _buttonStyle = 'color:#ffffff; font-size:14px; font-weight:bold; justify-content:center; align-items:center; padding:1px 6px 1px 6px;' } = $$props;
8847
+ let { _buttonStyle = 'color:#ffffff; font-size:14px; font-weight:bold; justify-content:center; align-items:center; padding:1px 6px 1px 6px; line-height:1.5;' } = $$props;
8847
8848
  let { _style = 'background-color: #000000; border-radius:4px;' } = $$props;
8848
8849
 
8849
8850
  $$self.$$set = $$props => {
@@ -2961,6 +2961,7 @@ declare namespace widget {
2961
2961
  }
2962
2962
  export { loadGlobalScript, loadGlobalStyle, applyGlobalCss, initialize, finalize, 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, TextDirections, TextDirection, OperationArgumentType, Operation, OnClickOperationOptions, OnClickOperation, LongText, Url, Image, LengthUnits, LengthUnit, Length, Color, FontWeight, 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, create, showAction, closeAction, destroyAction, loadStyle, applyCss, getActionRoot, onCreate, onShow, onClose, onDestroy, onChangeState, ACTION_HOOK_LABEL, showModal, ensureModalRoot, show, close, destroy, createApp, createFog, KARTE_MODAL_ROOT, collection, loadActionTableRow, loadActionTableRows, loadActionTableQuery, loadActionTable, widget };
2963
2963
  export type { CloseTrigger, ActionVariables, ActionEventHandler, SystemConfig, OnScrollContext, OnScrollFunction, ScrollDirection, LogLevel, Log, Event, ActionProps, ActionOptions, ActionHook, ActionCloseHook, ActionChangeStateHook, SendFunction, ActionHookLog, CollectionConfig, ActionTableRowRequestConfig, ActionTableRowsRequestConfig, ActionTableQueryRequestConfig, ActionTableRequestConfig };
2964
+ export { onMount } from "svelte";
2964
2965
  export { default as State } from './components/State.svelte';
2965
2966
  export { default as StateItem } from './components/StateItem.svelte';
2966
2967
  export { default as Modal } from './components/Modal.svelte';
package/dist/index.es.js CHANGED
@@ -1,7 +1,8 @@
1
1
  import { linear, elasticOut, cubicOut } from 'svelte/easing';
2
2
  import { writable, get } from 'svelte/store';
3
- import { SvelteComponent, init, safe_not_equal, append_styles, create_slot, create_component, space, mount_component, insert, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, detach, empty, group_outros, check_outros, component_subscribe, element, attr, noop, listen, is_function, append, add_render_callback, create_in_transition, svg_element, binding_callbacks, destroy_each, text, set_data, null_to_empty, src_url_equal, HtmlTag } from 'svelte/internal';
4
3
  import { setContext, getContext, createEventDispatcher, onMount, onDestroy as onDestroy$1 } from 'svelte';
4
+ export { onMount } from 'svelte';
5
+ import { SvelteComponent, init, safe_not_equal, append_styles, create_slot, create_component, space, mount_component, insert, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, detach, empty, group_outros, check_outros, component_subscribe, element, attr, noop, listen, is_function, append, add_render_callback, create_in_transition, svg_element, binding_callbacks, destroy_each, text, set_data, null_to_empty, src_url_equal, HtmlTag } from 'svelte/internal';
5
6
 
6
7
  /** @internal */
7
8
  const NOOP = (_args) => { }; // eslint-disable-line @typescript-eslint/no-unused-vars
@@ -3759,7 +3760,7 @@ function instance$o($$self, $$props, $$invalidate) {
3759
3760
  }
3760
3761
  };
3761
3762
 
3762
- let { _textStyle = 'font-size:12px;' } = $$props;
3763
+ let { _textStyle = 'font-size:12px; line-height: 1.5;' } = $$props;
3763
3764
  let { textDirection = 'horizontal' } = $$props;
3764
3765
  let { _style = '' } = $$props;
3765
3766
 
@@ -3925,7 +3926,7 @@ function instance$n($$self, $$props, $$invalidate) {
3925
3926
  };
3926
3927
 
3927
3928
  let { eventName = '' } = $$props;
3928
- let { _buttonStyle = 'color:#ffffff; font-size:14px; font-weight:bold; justify-content:center; align-items:center; padding:1px 6px 1px 6px;' } = $$props;
3929
+ let { _buttonStyle = 'color:#ffffff; font-size:14px; font-weight:bold; justify-content:center; align-items:center; padding:1px 6px 1px 6px; line-height: 1.5;' } = $$props;
3929
3930
  let { _style = 'background-color: #000000; border-radius:4px; cursor: pointer' } = $$props;
3930
3931
  const { path: statePath } = getStateItemContext() ?? { path: '/' };
3931
3932
  const valuesAreValid = getValuesAreValidReader(statePath);
@@ -5199,7 +5200,7 @@ function instance$f($$self, $$props, $$invalidate) {
5199
5200
  let { options = 'ラジオボタン1,ラジオボタン2,ラジオボタン3' } = $$props;
5200
5201
  let { required = false } = $$props;
5201
5202
  let { _layoutStyle = 'flex-direction: column; gap: 0px;' } = $$props;
5202
- let { _textStyle = 'color: #333; font-size: 12px;' } = $$props;
5203
+ let { _textStyle = 'color: #333; font-size: 12px; line-height:1.5;' } = $$props;
5203
5204
  let { buttonSize = '16px' } = $$props;
5204
5205
  let { buttonColor = { main: '#f0f1f1', sub: '#f0f1f1' } } = $$props;
5205
5206
  let { buttonColorActive = { main: '#2aab9f', sub: '#fff' } } = $$props;
@@ -5513,7 +5514,7 @@ function instance$e($$self, $$props, $$invalidate) {
5513
5514
  let { required = false } = $$props;
5514
5515
  let { _style = 'cursor: pointer; background-color: #fff; border: solid 2px #ccc; border-radius: 6px; padding: 0 0 0 10px;' } = $$props;
5515
5516
  let { _focusStyle = 'border-width: 2px; border-color: #2aab9f; border-style: solid' } = $$props;
5516
- let { _textStyle = 'font-size: 12px;' } = $$props;
5517
+ let { _textStyle = 'font-size: 12px; line-height:1.5;' } = $$props;
5517
5518
  let { _placeholderStyle = 'color: #ccc;' } = $$props;
5518
5519
  let { iconColor = 'rgba(0, 16, 14, 0.8)' } = $$props;
5519
5520
  let { iconSize = '12px' } = $$props;
@@ -5810,7 +5811,7 @@ function instance$d($$self, $$props, $$invalidate) {
5810
5811
  let { options = 'チェックボックス1,チェックボックス2,チェックボックス3' } = $$props;
5811
5812
  let { required = false } = $$props;
5812
5813
  let { _layoutStyle = 'flex-direction: column; gap: 0px;' } = $$props;
5813
- let { _textStyle = 'color: #333; font-size: 12px;' } = $$props;
5814
+ let { _textStyle = 'color: #333; font-size: 12px; line-height:1.5;' } = $$props;
5814
5815
  let { buttonSize = '16px' } = $$props;
5815
5816
  let { buttonColor = { main: '#f0f1f1', sub: '#f0f1f1' } } = $$props;
5816
5817
  let { buttonColorActive = { main: '#2aab9f', sub: '#fff' } } = $$props;
@@ -8205,7 +8206,7 @@ function create_fragment$2(ctx) {
8205
8206
  function instance$2($$self, $$props, $$invalidate) {
8206
8207
  let style;
8207
8208
  let { text = 'サンプルSample' } = $$props;
8208
- let { _textStyle = 'font-size:12px;' } = $$props;
8209
+ let { _textStyle = 'font-size:12px; line-height:1.5;' } = $$props;
8209
8210
  let { textDirection = 'horizontal' } = $$props;
8210
8211
  let { _style = '' } = $$props;
8211
8212
 
@@ -8326,7 +8327,7 @@ function instance$1($$self, $$props, $$invalidate) {
8326
8327
  };
8327
8328
 
8328
8329
  let { eventName = '' } = $$props;
8329
- let { _buttonStyle = 'color:#ffffff; font-size:14px; font-weight:bold; justify-content:center; align-items:center; padding:1px 6px 1px 6px;' } = $$props;
8330
+ let { _buttonStyle = 'color:#ffffff; font-size:14px; font-weight:bold; justify-content:center; align-items:center; padding:1px 6px 1px 6px; line-height:1.5;' } = $$props;
8330
8331
  let { _style = 'background-color: #000000; border-radius:4px;' } = $$props;
8331
8332
 
8332
8333
  $$self.$$set = $$props => {
@@ -47,6 +47,10 @@ import {
47
47
 
48
48
  ${icons.length > 0 ? `import { ${icons.join(',')} } from '@plaidev/karte-action-sdk/icons';` : ''}
49
49
 
50
+ // DON'T TOUCH THIS: SDK uses the following marks
51
+ // __IMPORT_ELEMENTS_START__
52
+ // __IMPORT_ELEMENTS_END__
53
+
50
54
  export let send: (event_name: string, values?: any) => void;
51
55
  let data_: Data;
52
56
  export { data_ as data };
package/dist/templates.js CHANGED
@@ -45,6 +45,10 @@ import {
45
45
 
46
46
  ${icons.length > 0 ? `import { ${icons.join(',')} } from '@plaidev/karte-action-sdk/icons';` : ''}
47
47
 
48
+ // DON'T TOUCH THIS: SDK uses the following marks
49
+ // __IMPORT_ELEMENTS_START__
50
+ // __IMPORT_ELEMENTS_END__
51
+
48
52
  export let send: (event_name: string, values?: any) => void;
49
53
  let data_: Data;
50
54
  export { data_ as data };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.152-27999870.c0dc3627",
3
+ "version": "1.1.153-28000945.c0a894e5",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",