@plaidev/karte-action-sdk 1.1.262 → 1.1.263-29017865.b826d7d2
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.
- package/dist/hydrate/index.es.d.ts +156 -114
- package/dist/hydrate/index.es.js +1362 -735
- package/dist/index.es.d.ts +156 -114
- package/dist/index.es.js +1313 -730
- package/dist/templates.cjs.js +3 -0
- package/dist/templates.js +3 -0
- package/package.json +1 -1
package/dist/index.es.d.ts
CHANGED
@@ -940,27 +940,28 @@ declare const Fonts: readonly [
|
|
940
940
|
"Noto Sans JP",
|
941
941
|
"Sawarabi Gothic",
|
942
942
|
"Zen Kaku Gothic New",
|
943
|
-
"Zen Maru Gothic",
|
944
|
-
"Shippori Mincho",
|
945
|
-
"M PLUS Rounded 1c",
|
946
|
-
"M PLUS 1p",
|
947
|
-
"Kosugi Maru",
|
948
|
-
"Kosugi",
|
949
943
|
"BIZ UDPGothic",
|
944
|
+
"Open Sans",
|
945
|
+
"M PLUS 1p",
|
946
|
+
"M PLUS Rounded 1c",
|
947
|
+
"Kiwi Maru",
|
948
|
+
"Zen Maru Gothic",
|
950
949
|
"Noto Serif JP",
|
950
|
+
"Shippori Mincho",
|
951
951
|
"BIZ UDPMincho",
|
952
952
|
"Roboto",
|
953
|
-
"Open Sans",
|
954
|
-
"Montserrat",
|
955
953
|
"Lato",
|
956
954
|
"Poppins",
|
955
|
+
"Lora",
|
957
956
|
"Raleway",
|
957
|
+
"Montserrat",
|
958
958
|
"Nunito",
|
959
959
|
"Playfair Display",
|
960
960
|
"Merriweather",
|
961
|
-
"Lora",
|
962
961
|
"Libre Baskerville",
|
963
|
-
"EB Garamond"
|
962
|
+
"EB Garamond",
|
963
|
+
"Kosugi Maru",
|
964
|
+
"Kosugi"
|
964
965
|
];
|
965
966
|
type Font = (typeof Fonts)[number];
|
966
967
|
/** @internal */
|
@@ -2347,7 +2348,7 @@ declare const afterUpdate: typeof afterUpdateSvelte;
|
|
2347
2348
|
declare const tick: typeof tickSvelte;
|
2348
2349
|
// @internal
|
2349
2350
|
declare const LAYOUT_COMPONENT_NAMES: string[];
|
2350
|
-
type PropStyles<Props extends Record<string, any>, K extends keyof Props> = Record<NonNullable<Props[K]>, Properties>;
|
2351
|
+
type PropStyles<Props extends Record<string, any>, K extends keyof Props> = Record<NonNullable<Props[K]>, Props | Properties>;
|
2351
2352
|
declare const ROUND_VARIANT: {
|
2352
2353
|
readonly extra_small: "XSmall (2px)";
|
2353
2354
|
readonly small: "Small (4px)";
|
@@ -2357,20 +2358,28 @@ declare const ROUND_VARIANT: {
|
|
2357
2358
|
readonly fulled: "Full (100%)";
|
2358
2359
|
};
|
2359
2360
|
declare const BUTTON_SIZE: {
|
2360
|
-
readonly extra_small: "
|
2361
|
-
readonly small: "
|
2362
|
-
readonly medium: "
|
2363
|
-
readonly large: "
|
2364
|
-
readonly extra_large: "
|
2361
|
+
readonly extra_small: "\u30A8\u30AF\u30B9\u30C8\u30E9 \u30B9\u30E2\u30FC\u30EB";
|
2362
|
+
readonly small: "\u30B9\u30E2\u30FC\u30EB";
|
2363
|
+
readonly medium: "\u30DF\u30C7\u30A3\u30A2\u30E0";
|
2364
|
+
readonly large: "\u30E9\u30FC\u30B8";
|
2365
|
+
readonly extra_large: "\u30A8\u30AF\u30B9\u30C8\u30E9 \u30E9\u30FC\u30B8";
|
2365
2366
|
};
|
2366
2367
|
declare const BUTTON_THEME: {
|
2367
|
-
readonly default: "
|
2368
|
-
readonly general: "
|
2369
|
-
readonly
|
2370
|
-
readonly
|
2371
|
-
readonly
|
2372
|
-
readonly
|
2373
|
-
readonly
|
2368
|
+
readonly default: "\u30CE\u30FC\u30DE\u30EB / \u30D6\u30E9\u30F3\u30C9";
|
2369
|
+
readonly general: "\u30CE\u30FC\u30DE\u30EB / \u30B8\u30A7\u30CD\u30E9\u30EB";
|
2370
|
+
readonly danger: "\u30CE\u30FC\u30DE\u30EB / \u30A2\u30E9\u30FC\u30C8";
|
2371
|
+
readonly white: "\u30CE\u30FC\u30DE\u30EB / \u30DB\u30EF\u30A4\u30C8";
|
2372
|
+
readonly default_outline: "\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3 / \u30D6\u30E9\u30F3\u30C9";
|
2373
|
+
readonly general_outline: "\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3 / \u30B8\u30A7\u30CD\u30E9\u30EB";
|
2374
|
+
readonly danger_outline: "\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3 / \u30A2\u30E9\u30FC\u30C8";
|
2375
|
+
readonly default_text: "\u30C6\u30AD\u30B9\u30C8 / \u30D6\u30E9\u30F3\u30C9";
|
2376
|
+
readonly general_text: "\u30C6\u30AD\u30B9\u30C8 / \u30B8\u30A7\u30CD\u30E9\u30EB";
|
2377
|
+
readonly danger_text: "\u30C6\u30AD\u30B9\u30C8 / \u30A2\u30E9\u30FC\u30C8";
|
2378
|
+
};
|
2379
|
+
declare const BUTTON_VARIANT: {
|
2380
|
+
readonly normal: "\u30CE\u30FC\u30DE\u30EB";
|
2381
|
+
readonly outline: "\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3";
|
2382
|
+
readonly text: "\u30C6\u30AD\u30B9\u30C8";
|
2374
2383
|
};
|
2375
2384
|
declare const BUTTON_ROUND: {
|
2376
2385
|
readonly default: "\u30C7\u30D5\u30A9\u30EB\u30C8";
|
@@ -2385,7 +2394,7 @@ declare const BUTTON_ICON_ANGLE: {
|
|
2385
2394
|
readonly row: "\u5DE6\u5074";
|
2386
2395
|
readonly "row-reverse": "\u53F3\u5074";
|
2387
2396
|
};
|
2388
|
-
type ButtonProps = CommonProps & ClickableProps & ShadowProps & LinkProps & WithIconProps & BorderProps & {
|
2397
|
+
type ButtonProps = CommonProps & ClickableProps & ShadowProps & LinkProps & WithIconProps & RadiusProps & BorderProps & {
|
2389
2398
|
label?: string;
|
2390
2399
|
// size
|
2391
2400
|
size?: keyof typeof BUTTON_SIZE | string;
|
@@ -2395,8 +2404,10 @@ type ButtonProps = CommonProps & ClickableProps & ShadowProps & LinkProps & With
|
|
2395
2404
|
fontSize?: Properties["fontSize"];
|
2396
2405
|
// theme
|
2397
2406
|
theme?: keyof typeof BUTTON_THEME | string;
|
2407
|
+
variant?: keyof typeof BUTTON_VARIANT | string;
|
2398
2408
|
color?: Properties["color"];
|
2399
2409
|
backgroundColor?: Properties["backgroundColor"];
|
2410
|
+
borderColor?: Properties["borderColor"];
|
2400
2411
|
// others
|
2401
2412
|
fontWeight?: Properties["fontWeight"];
|
2402
2413
|
round?: keyof typeof BUTTON_ROUND;
|
@@ -2424,32 +2435,65 @@ type VariantStyles<Props extends object = object> = Props & {
|
|
2424
2435
|
hover?: Props;
|
2425
2436
|
active?: Props;
|
2426
2437
|
};
|
2427
|
-
type VariantDefinition<Props extends object = object, Meta extends object =
|
2438
|
+
type VariantDefinition<Props extends object = object, Meta extends object = object> = {
|
2428
2439
|
name: string;
|
2429
2440
|
description?: string;
|
2430
2441
|
getProps: (brandKit?: BrandKit) => VariantStyles<Props>;
|
2431
2442
|
meta?: Meta;
|
2432
2443
|
};
|
2433
|
-
type VariantDefinitionGroup<Props extends object = object> = Record<string, VariantDefinition<Props>>;
|
2444
|
+
type VariantDefinitionGroup<Props extends object = object, Meta extends object = object> = Record<string, VariantDefinition<Props, Meta>>;
|
2434
2445
|
// ================================
|
2435
2446
|
// Aspect
|
2436
2447
|
// ================================
|
2437
|
-
declare const ASPECT_VARIANT: VariantDefinitionGroup<Omit<AspectProps, "aspectVariant"
|
2448
|
+
declare const ASPECT_VARIANT: VariantDefinitionGroup<Omit<AspectProps, "aspectVariant">, object>;
|
2438
2449
|
type AspectVariantCode = keyof typeof ASPECT_VARIANT;
|
2439
|
-
declare const ASPECT_VARIANTS: (VariantDefinition<Omit<AspectProps, "aspectVariant">,
|
2450
|
+
declare const ASPECT_VARIANTS: (VariantDefinition<Omit<AspectProps, "aspectVariant">, object> & {
|
2440
2451
|
code: string;
|
2441
2452
|
})[];
|
2442
|
-
|
2453
|
+
// ================================
|
2454
|
+
// FontFamily
|
2455
|
+
// ================================
|
2456
|
+
type FontVariantMeta = {
|
2457
|
+
lang: "ja" | "en";
|
2458
|
+
type: "kaku" | "maru" | "min";
|
2459
|
+
};
|
2460
|
+
declare const FONT_FAMILY_VARIANT: VariantDefinitionGroup<Omit<FontFamilyProps, "fontFamilyVariant">, FontVariantMeta>;
|
2443
2461
|
type FontFamilyVariantCode = keyof typeof FONT_FAMILY_VARIANT;
|
2444
|
-
declare const FONT_FAMILY_VARIANTS: (VariantDefinition<Omit<FontFamilyProps, "fontFamilyVariant">,
|
2462
|
+
declare const FONT_FAMILY_VARIANTS: (VariantDefinition<Omit<FontFamilyProps, "fontFamilyVariant">, FontVariantMeta> & {
|
2445
2463
|
code: string;
|
2446
2464
|
})[];
|
2465
|
+
declare const FONT_FAMILY_VARIANT_GROUPS: readonly [
|
2466
|
+
{
|
2467
|
+
readonly label: "\u65E5\u672C\u8A9E / \u89D2\u30B4\u30B7\u30C3\u30AF";
|
2468
|
+
readonly variants: (VariantDefinition<Omit<FontFamilyProps, "fontFamilyVariant">, FontVariantMeta> & {
|
2469
|
+
code: string;
|
2470
|
+
})[];
|
2471
|
+
},
|
2472
|
+
{
|
2473
|
+
readonly label: "\u65E5\u672C\u8A9E / \u4E38\u30B4\u30B7\u30C3\u30AF";
|
2474
|
+
readonly variants: (VariantDefinition<Omit<FontFamilyProps, "fontFamilyVariant">, FontVariantMeta> & {
|
2475
|
+
code: string;
|
2476
|
+
})[];
|
2477
|
+
},
|
2478
|
+
{
|
2479
|
+
readonly label: "\u65E5\u672C\u8A9E / \u660E\u671D";
|
2480
|
+
readonly variants: (VariantDefinition<Omit<FontFamilyProps, "fontFamilyVariant">, FontVariantMeta> & {
|
2481
|
+
code: string;
|
2482
|
+
})[];
|
2483
|
+
},
|
2484
|
+
{
|
2485
|
+
readonly label: "\u82F1\u8A9E";
|
2486
|
+
readonly variants: (VariantDefinition<Omit<FontFamilyProps, "fontFamilyVariant">, FontVariantMeta> & {
|
2487
|
+
code: string;
|
2488
|
+
})[];
|
2489
|
+
}
|
2490
|
+
];
|
2447
2491
|
// ================================
|
2448
2492
|
// Shadow
|
2449
2493
|
// ================================
|
2450
|
-
declare const SHADOW_VARIANT: VariantDefinitionGroup<Omit<ShadowProps, "shadowVariant"
|
2494
|
+
declare const SHADOW_VARIANT: VariantDefinitionGroup<Omit<ShadowProps, "shadowVariant">, object>;
|
2451
2495
|
type ShadowVariantCode = keyof typeof SHADOW_VARIANT;
|
2452
|
-
declare const SHADOW_VARIANTS: (VariantDefinition<Omit<ShadowProps, "shadowVariant">,
|
2496
|
+
declare const SHADOW_VARIANTS: (VariantDefinition<Omit<ShadowProps, "shadowVariant">, object> & {
|
2453
2497
|
code: string;
|
2454
2498
|
})[];
|
2455
2499
|
type PositionPlaceProps = {
|
@@ -2554,38 +2598,32 @@ type AvatarProps = CommonProps & ClickableProps & BorderProps & {
|
|
2554
2598
|
};
|
2555
2599
|
declare const avatarPropsDefault: AvatarProps;
|
2556
2600
|
declare const AVATAR_SIZE_STYLES: PropStyles<AvatarProps, "size">;
|
2557
|
-
declare const getButtonThemeStyles: (customBrandKit?: Partial<BrandKit>) => {
|
2558
|
-
|
2559
|
-
|
2560
|
-
|
2561
|
-
}
|
2562
|
-
|
2563
|
-
|
2564
|
-
|
2565
|
-
|
2566
|
-
|
2567
|
-
|
2568
|
-
|
2569
|
-
}
|
2570
|
-
|
2571
|
-
|
2572
|
-
|
2573
|
-
|
2574
|
-
|
2575
|
-
|
2576
|
-
|
2577
|
-
|
2578
|
-
|
2579
|
-
|
2580
|
-
|
2581
|
-
|
2582
|
-
white: {
|
2583
|
-
backgroundColor: "#FFFFFF";
|
2584
|
-
color: string;
|
2585
|
-
};
|
2586
|
-
};
|
2601
|
+
declare const getButtonThemeStyles: (customBrandKit?: Partial<BrandKit>) => Record<string, Partial<MetaProps & {
|
2602
|
+
top?: import("csstype").Property.Top<0 | (string & {})>;
|
2603
|
+
left?: import("csstype").Property.Left<0 | (string & {})>;
|
2604
|
+
right?: import("csstype").Property.Right<0 | (string & {})>;
|
2605
|
+
bottom?: import("csstype").Property.Bottom<0 | (string & {})>;
|
2606
|
+
transform?: import("csstype").Property.Transform;
|
2607
|
+
} & {
|
2608
|
+
position?: import("csstype").Property.Position;
|
2609
|
+
} & CustomizeCssProps & BrandStyleProps & ClickableProps & ShadowProps & LinkProps & WithIconProps & RadiusProps & BorderProps & {
|
2610
|
+
label?: string;
|
2611
|
+
size?: string;
|
2612
|
+
height?: import("csstype").Property.Height<0 | (string & {})>;
|
2613
|
+
paddingLeft?: import("csstype").Property.PaddingLeft<0 | (string & {})>;
|
2614
|
+
paddingRight?: import("csstype").Property.PaddingRight<0 | (string & {})>;
|
2615
|
+
fontSize?: import("csstype").Property.FontSize<0 | (string & {})>;
|
2616
|
+
theme?: string;
|
2617
|
+
variant?: string;
|
2618
|
+
color?: import("csstype").Property.Color;
|
2619
|
+
backgroundColor?: import("csstype").Property.BackgroundColor;
|
2620
|
+
borderColor?: import("csstype").Property.BorderColor;
|
2621
|
+
fontWeight?: import("csstype").Property.FontWeight;
|
2622
|
+
round?: "none" | "default" | "fulled";
|
2623
|
+
width?: import("csstype").Property.Width<0 | (string & {})>;
|
2624
|
+
wrap?: "wrap" | "nowrap";
|
2625
|
+
} & import("csstype").Properties<0 | (string & {}), string & {}>>>;
|
2587
2626
|
declare const BUTTON_SIZE_STYLES: PropStyles<ButtonProps, "size">;
|
2588
|
-
declare const BUTTON_THEME_STYLES: () => PropStyles<ButtonProps, "theme">;
|
2589
2627
|
declare const BUTTON_ROUND_STYLES: PropStyles<ButtonProps, "round">;
|
2590
2628
|
declare const BUTTON_WRAP_STYLES: PropStyles<ButtonProps, "wrap">;
|
2591
2629
|
type ButtonOutlinedProps = CommonProps & ClickableProps & ShadowProps & WithIconProps & LinkProps & BorderProps & {
|
@@ -2613,37 +2651,37 @@ declare const getButtonOutlinedThemeStyles: (customBrandKit?: Partial<BrandKit>)
|
|
2613
2651
|
default: {
|
2614
2652
|
color: string;
|
2615
2653
|
borderColor: string;
|
2616
|
-
backgroundColor:
|
2654
|
+
backgroundColor: string;
|
2617
2655
|
};
|
2618
2656
|
general: {
|
2619
2657
|
color: string;
|
2620
2658
|
borderColor: string;
|
2621
|
-
backgroundColor:
|
2659
|
+
backgroundColor: string;
|
2622
2660
|
};
|
2623
2661
|
success: {
|
2624
2662
|
color: string;
|
2625
2663
|
borderColor: string;
|
2626
|
-
backgroundColor:
|
2664
|
+
backgroundColor: string;
|
2627
2665
|
};
|
2628
2666
|
warning: {
|
2629
2667
|
color: string;
|
2630
2668
|
borderColor: string;
|
2631
|
-
backgroundColor:
|
2669
|
+
backgroundColor: string;
|
2632
2670
|
};
|
2633
2671
|
danger: {
|
2634
2672
|
color: string;
|
2635
2673
|
borderColor: string;
|
2636
|
-
backgroundColor:
|
2674
|
+
backgroundColor: string;
|
2637
2675
|
};
|
2638
2676
|
info: {
|
2639
2677
|
color: string;
|
2640
2678
|
borderColor: string;
|
2641
|
-
backgroundColor:
|
2679
|
+
backgroundColor: string;
|
2642
2680
|
};
|
2643
2681
|
white: {
|
2644
|
-
color:
|
2645
|
-
borderColor:
|
2646
|
-
backgroundColor:
|
2682
|
+
color: string;
|
2683
|
+
borderColor: string;
|
2684
|
+
backgroundColor: string;
|
2647
2685
|
};
|
2648
2686
|
};
|
2649
2687
|
declare const BUTTON_OUTLINED_ROUND_STYLES: PropStyles<ButtonOutlinedProps, "round">;
|
@@ -2684,35 +2722,35 @@ type ButtonTextProps = CommonProps & ClickableProps & LinkProps & WithIconProps
|
|
2684
2722
|
declare const BUTTON_TEXT_SIZE_STYLES: PropStyles<ButtonTextProps, "size">;
|
2685
2723
|
declare const getButtonTextThemeStyles: (customBrandKit?: Partial<BrandKit>) => {
|
2686
2724
|
default: {
|
2687
|
-
backgroundColor:
|
2725
|
+
backgroundColor: string;
|
2688
2726
|
color: string;
|
2689
2727
|
};
|
2690
2728
|
link: {
|
2691
|
-
backgroundColor:
|
2729
|
+
backgroundColor: string;
|
2692
2730
|
color: string;
|
2693
2731
|
};
|
2694
2732
|
general: {
|
2695
|
-
backgroundColor:
|
2733
|
+
backgroundColor: string;
|
2696
2734
|
color: string;
|
2697
2735
|
};
|
2698
2736
|
success: {
|
2699
|
-
backgroundColor:
|
2737
|
+
backgroundColor: string;
|
2700
2738
|
color: string;
|
2701
2739
|
};
|
2702
2740
|
warning: {
|
2703
|
-
backgroundColor:
|
2741
|
+
backgroundColor: string;
|
2704
2742
|
color: string;
|
2705
2743
|
};
|
2706
2744
|
danger: {
|
2707
|
-
backgroundColor:
|
2745
|
+
backgroundColor: string;
|
2708
2746
|
color: string;
|
2709
2747
|
};
|
2710
2748
|
info: {
|
2711
|
-
backgroundColor:
|
2749
|
+
backgroundColor: string;
|
2712
2750
|
color: string;
|
2713
2751
|
};
|
2714
2752
|
white: {
|
2715
|
-
backgroundColor:
|
2753
|
+
backgroundColor: string;
|
2716
2754
|
color: string;
|
2717
2755
|
};
|
2718
2756
|
};
|
@@ -2886,26 +2924,23 @@ type SliderProps = CommonProps & {
|
|
2886
2924
|
};
|
2887
2925
|
type SliderItemProps = CommonProps & ClickableProps;
|
2888
2926
|
declare const LAYER_TEXT_SIZE: {
|
2889
|
-
readonly
|
2890
|
-
readonly
|
2891
|
-
readonly
|
2892
|
-
readonly
|
2893
|
-
readonly
|
2894
|
-
readonly
|
2895
|
-
readonly
|
2896
|
-
readonly heading_medium: "HeadingMedium";
|
2897
|
-
readonly heading_large: "HeadingLarge";
|
2898
|
-
readonly heading_extra_large: "HeadingExtraLarge";
|
2927
|
+
readonly small: "\u672C\u6587 / \u30B9\u30E2\u30FC\u30EB";
|
2928
|
+
readonly medium: "\u672C\u6587 / \u30DF\u30C7\u30A3\u30A2\u30E0";
|
2929
|
+
readonly large: "\u672C\u6587 / \u30E9\u30FC\u30B8";
|
2930
|
+
readonly heading_extra_small: "\u898B\u51FA\u3057 / \u30B9\u30E2\u30FC\u30EB";
|
2931
|
+
readonly heading_small: "\u898B\u51FA\u3057 / \u30DF\u30C7\u30A3\u30A2\u30E0";
|
2932
|
+
readonly heading_medium: "\u898B\u51FA\u3057 / \u30E9\u30FC\u30B8";
|
2933
|
+
readonly heading_large: "\u898B\u51FA\u3057 / \u30A8\u30AF\u30B9\u30C8\u30E9\u30E9\u30FC\u30B8";
|
2899
2934
|
};
|
2900
2935
|
declare const TEXT_THEME: {
|
2901
|
-
readonly default: "
|
2902
|
-
readonly gray: "
|
2903
|
-
readonly brand: "
|
2904
|
-
readonly success: "
|
2905
|
-
readonly warning: "
|
2906
|
-
readonly danger: "
|
2907
|
-
readonly info: "
|
2908
|
-
readonly white: "
|
2936
|
+
readonly default: "\u30C7\u30D5\u30A9\u30EB\u30C8";
|
2937
|
+
readonly gray: "\u30B0\u30EC\u30FC";
|
2938
|
+
readonly brand: "\u30D6\u30E9\u30F3\u30C9";
|
2939
|
+
readonly success: "\u30B5\u30AF\u30BB\u30B9";
|
2940
|
+
readonly warning: "\u30EF\u30FC\u30CB\u30F3\u30B0";
|
2941
|
+
readonly danger: "\u30A2\u30E9\u30FC\u30C8";
|
2942
|
+
readonly info: "\u30A4\u30F3\u30D5\u30A9";
|
2943
|
+
readonly white: "\u30DB\u30EF\u30A4\u30C8";
|
2909
2944
|
};
|
2910
2945
|
declare const TEXT_STYLE: {
|
2911
2946
|
readonly normal: "normal";
|
@@ -2951,11 +2986,6 @@ declare const getTextThemeStyles: (customBrandKit?: Partial<BrandKit>) => {
|
|
2951
2986
|
};
|
2952
2987
|
declare const TEXT_VARIANTS: {
|
2953
2988
|
size: {
|
2954
|
-
extra_small: {
|
2955
|
-
fontSize: string;
|
2956
|
-
lineHeight: number;
|
2957
|
-
fontWeight: string;
|
2958
|
-
};
|
2959
2989
|
small: {
|
2960
2990
|
fontSize: string;
|
2961
2991
|
lineHeight: number;
|
@@ -2971,11 +3001,6 @@ declare const TEXT_VARIANTS: {
|
|
2971
3001
|
lineHeight: number;
|
2972
3002
|
fontWeight: string;
|
2973
3003
|
};
|
2974
|
-
extra_large: {
|
2975
|
-
fontSize: string;
|
2976
|
-
lineHeight: number;
|
2977
|
-
fontWeight: string;
|
2978
|
-
};
|
2979
3004
|
heading_extra_small: {
|
2980
3005
|
fontSize: string;
|
2981
3006
|
lineHeight: number;
|
@@ -2996,11 +3021,6 @@ declare const TEXT_VARIANTS: {
|
|
2996
3021
|
lineHeight: number;
|
2997
3022
|
fontWeight: string;
|
2998
3023
|
};
|
2999
|
-
heading_extra_large: {
|
3000
|
-
fontSize: string;
|
3001
|
-
lineHeight: number;
|
3002
|
-
fontWeight: string;
|
3003
|
-
};
|
3004
3024
|
};
|
3005
3025
|
};
|
3006
3026
|
declare const TEXT_LINK_SIZE: {
|
@@ -3127,13 +3147,32 @@ type YoutubeProps = CommonProps & BorderProps & {
|
|
3127
3147
|
shape?: keyof typeof IMAGE_ROUND_SHAPE;
|
3128
3148
|
width?: Properties["width"];
|
3129
3149
|
};
|
3150
|
+
type CountDownProps = CommonProps & {
|
3151
|
+
timeLimit?: string;
|
3152
|
+
onEnd?: OnClickOperation;
|
3153
|
+
};
|
3154
|
+
type CountDownValueType = "day" | "hour" | "minute" | "second";
|
3155
|
+
type CountDownValueProps = LayerTextProps & {
|
3156
|
+
type: CountDownValueType;
|
3157
|
+
};
|
3158
|
+
type CountDownValues = {
|
3159
|
+
day: string;
|
3160
|
+
hour: string;
|
3161
|
+
min: string;
|
3162
|
+
sec: string;
|
3163
|
+
};
|
3164
|
+
type ClipboardProps = CommonProps & {
|
3165
|
+
content?: string;
|
3166
|
+
copiedEventName?: string;
|
3167
|
+
noneTooltip?: boolean;
|
3168
|
+
};
|
3130
3169
|
type CodeProps = CommonProps & {
|
3131
3170
|
rawHtml?: string;
|
3132
3171
|
rawCss?: string;
|
3133
3172
|
rawScript?: string;
|
3134
3173
|
};
|
3135
3174
|
declare const ROUND_STYLES: Record<keyof typeof ROUND_VARIANT, Pick<Properties, "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius">>;
|
3136
|
-
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, ROUND_VARIANT, PositionProps, MetaProps, CustomizeCssProps, BrandStyleProps, CommonProps, ClickableProps, OverflowProps, BorderProps, PaddingProps, RadiusProps, BackgroundColorProps, BackgroundImageProps, ShadowProps, WithIconProps, LinkProps, AspectProps, FontFamilyProps, AVATAR_SIZE, AVATAR_SHAPE, AvatarProps, avatarPropsDefault, AVATAR_SIZE_STYLES, BUTTON_SIZE, BUTTON_THEME, BUTTON_ROUND, BUTTON_LINK_TARGET, BUTTON_ICON_ANGLE, ButtonProps, buttonPropsDefault, getButtonThemeStyles, BUTTON_SIZE_STYLES,
|
3175
|
+
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, ROUND_VARIANT, PositionProps, MetaProps, CustomizeCssProps, BrandStyleProps, CommonProps, ClickableProps, OverflowProps, BorderProps, PaddingProps, RadiusProps, BackgroundColorProps, BackgroundImageProps, ShadowProps, WithIconProps, LinkProps, AspectProps, FontFamilyProps, AVATAR_SIZE, AVATAR_SHAPE, AvatarProps, avatarPropsDefault, AVATAR_SIZE_STYLES, BUTTON_SIZE, BUTTON_THEME, BUTTON_VARIANT, BUTTON_ROUND, BUTTON_LINK_TARGET, BUTTON_ICON_ANGLE, ButtonProps, buttonPropsDefault, getButtonThemeStyles, BUTTON_SIZE_STYLES, BUTTON_ROUND_STYLES, BUTTON_WRAP_STYLES, ButtonOutlinedProps, buttonOutlinedPropsDefault, BUTTON_OUTLINED_SIZE_STYLES, getButtonOutlinedThemeStyles, BUTTON_OUTLINED_ROUND_STYLES, BUTTON_OUTLINED_WRAP_STYLES, BUTTON_TEXT_SIZE, BUTTON_TEXT_THEME, ButtonTextProps, BUTTON_TEXT_SIZE_STYLES, getButtonTextThemeStyles, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, CLOSE_BUTTON_LABEL_PLACEMENT, CloseButtonProps, ICON_SIZE, ICON_VARIANTS, IconProps, ICON_SIZE_STYLES, IMAGE_ROUND_SHAPE, IMAGE_ASPECT_VARIANTS, ImageProps, LAYOUT_DISPLAY_TYPE, LayoutDisplayType, LAYOUT_DIRECTION, LayoutFlexDirection, LAYOUT_ALIGN, LayoutFlexAlign, LAYOUT_JUSTIFY, LayoutFlexJustify, LayerLayoutProps, SliderProps, SliderItemProps, LAYER_TEXT_SIZE, TEXT_THEME, TEXT_STYLE, LayerTextProps, getTextThemeStyles, TEXT_VARIANTS, TEXT_LINK_SIZE, TEXT_LINK_THEME, TEXT_LINK_UNDERLINE, TextLinkProps, TEXT_LINK_SIZE_STYLES, getTextLinkThemeStyles, ListProps, ListItemProps, LIST_ITEM_CONTEXT_KEY, ListItemContext, MultiColumnProps, MultiColumnItemProps, MULTI_COLUMN_ITEM_CONTEXT_KEY, MultiColumnItemContext, YoutubeProps, CountDownProps, CountDownValueType, CountDownValueProps, CountDownValues, ClipboardProps, CodeProps, BrandKit, getBrandKit, useBrandKit, ROUND_STYLES, VariantStyles, VariantDefinition, VariantDefinitionGroup, ASPECT_VARIANT, AspectVariantCode, ASPECT_VARIANTS, FontVariantMeta, FONT_FAMILY_VARIANT, FontFamilyVariantCode, FONT_FAMILY_VARIANTS, FONT_FAMILY_VARIANT_GROUPS, SHADOW_VARIANT, ShadowVariantCode, SHADOW_VARIANTS };
|
3137
3176
|
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 };
|
3138
3177
|
export { default as State } from './components/State.svelte';
|
3139
3178
|
export { default as StateItem } from './components/StateItem.svelte';
|
@@ -3188,4 +3227,7 @@ export { default as FlexListItem } from './components-flex/list/ListItem.svelte'
|
|
3188
3227
|
export { default as FlexMultiColumn } from './components-flex/multi-column/MultiColumn.svelte';
|
3189
3228
|
export { default as FlexMultiColumnItem } from './components-flex/multi-column/MultiColumnItem.svelte';
|
3190
3229
|
export { default as FlexYoutube } from './components-flex/youtube/Youtube.svelte';
|
3230
|
+
export { default as FlexCountDown } from './components-flex/count-down/CountDown.svelte';
|
3231
|
+
export { default as FlexCountDownValue } from './components-flex/count-down/CountDownValue.svelte';
|
3232
|
+
export { default as FlexClipCopy } from './components-flex/clip-copy/ClipCopy.svelte';
|
3191
3233
|
export { default as ThumbnailPreview } from './components-flex/ThumbnailPreview.svelte';
|