@plaidev/karte-action-sdk 1.1.269-29160322.e3d433de → 1.1.269-29161921.5f4ecb39
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/action.d.ts +1 -0
- package/dist/actionEvent.d.ts +1 -0
- package/dist/collection.d.ts +39 -39
- package/dist/components/index.d.ts +1 -0
- package/dist/components-flex/avatar/types.d.ts +16 -15
- package/dist/components-flex/brand-kit.d.ts +11 -11
- package/dist/components-flex/button/types.d.ts +43 -40
- package/dist/components-flex/button-outlined/types.d.ts +17 -14
- package/dist/components-flex/button-text/types.d.ts +27 -24
- package/dist/components-flex/clip-copy/types.d.ts +3 -3
- package/dist/components-flex/close-button/types.d.ts +21 -21
- package/dist/components-flex/code/types.d.ts +3 -3
- package/dist/components-flex/count-down/types.d.ts +7 -7
- package/dist/components-flex/icon/types.d.ts +9 -9
- package/dist/components-flex/image/types.d.ts +18 -18
- package/dist/components-flex/layout/types.d.ts +9 -9
- package/dist/components-flex/list/types.d.ts +18 -18
- package/dist/components-flex/modal/types.d.ts +1 -1
- package/dist/components-flex/multi-column/types.d.ts +19 -19
- package/dist/components-flex/props.d.ts +56 -56
- package/dist/components-flex/schemas.d.ts +17 -17
- package/dist/components-flex/shared/types.d.ts +6 -6
- package/dist/components-flex/slider/types.d.ts +6 -6
- package/dist/components-flex/styles.d.ts +1 -1
- package/dist/components-flex/text/constants.d.ts +1 -1
- package/dist/components-flex/text/styles.d.ts +1 -1
- package/dist/components-flex/text/types.d.ts +32 -29
- package/dist/components-flex/text-link/types.d.ts +24 -21
- package/dist/components-flex/utils/color.d.ts +3 -3
- package/dist/components-flex/utils/parser.d.ts +2 -2
- package/dist/components-flex/variants.d.ts +26 -11
- package/dist/components-flex/youtube/types.d.ts +12 -11
- package/dist/constants.d.ts +3 -2
- package/dist/enhancedStopPropagation.d.ts +1 -1
- package/dist/form.d.ts +15 -15
- package/dist/functions.d.ts +11 -11
- package/dist/hooks/useClickable.d.ts +3 -3
- package/dist/hooks/useText.d.ts +2 -2
- package/dist/hydrate/action.d.ts +1 -0
- package/dist/hydrate/actionEvent.d.ts +1 -0
- package/dist/hydrate/collection.d.ts +39 -39
- package/dist/hydrate/components/index.d.ts +1 -0
- package/dist/hydrate/components-flex/avatar/types.d.ts +16 -15
- package/dist/hydrate/components-flex/brand-kit.d.ts +11 -11
- package/dist/hydrate/components-flex/button/types.d.ts +43 -40
- package/dist/hydrate/components-flex/button-outlined/types.d.ts +17 -14
- package/dist/hydrate/components-flex/button-text/types.d.ts +27 -24
- package/dist/hydrate/components-flex/clip-copy/types.d.ts +3 -3
- package/dist/hydrate/components-flex/close-button/types.d.ts +21 -21
- package/dist/hydrate/components-flex/code/types.d.ts +3 -3
- package/dist/hydrate/components-flex/count-down/types.d.ts +7 -7
- package/dist/hydrate/components-flex/icon/types.d.ts +9 -9
- package/dist/hydrate/components-flex/image/types.d.ts +18 -18
- package/dist/hydrate/components-flex/layout/types.d.ts +9 -9
- package/dist/hydrate/components-flex/list/types.d.ts +18 -18
- package/dist/hydrate/components-flex/modal/types.d.ts +1 -1
- package/dist/hydrate/components-flex/multi-column/types.d.ts +19 -19
- package/dist/hydrate/components-flex/props.d.ts +56 -56
- package/dist/hydrate/components-flex/schemas.d.ts +17 -17
- package/dist/hydrate/components-flex/shared/types.d.ts +6 -6
- package/dist/hydrate/components-flex/slider/types.d.ts +6 -6
- package/dist/hydrate/components-flex/styles.d.ts +1 -1
- package/dist/hydrate/components-flex/text/constants.d.ts +1 -1
- package/dist/hydrate/components-flex/text/styles.d.ts +1 -1
- package/dist/hydrate/components-flex/text/types.d.ts +32 -29
- package/dist/hydrate/components-flex/text-link/types.d.ts +24 -21
- package/dist/hydrate/components-flex/utils/color.d.ts +3 -3
- package/dist/hydrate/components-flex/utils/parser.d.ts +2 -2
- package/dist/hydrate/components-flex/variants.d.ts +26 -11
- package/dist/hydrate/components-flex/youtube/types.d.ts +12 -11
- package/dist/hydrate/constants.d.ts +3 -2
- package/dist/hydrate/enhancedStopPropagation.d.ts +1 -1
- package/dist/hydrate/form.d.ts +15 -15
- package/dist/hydrate/functions.d.ts +11 -11
- package/dist/hydrate/hooks/useClickable.d.ts +3 -3
- package/dist/hydrate/hooks/useText.d.ts +2 -2
- package/dist/hydrate/index.d.ts +7 -5
- package/dist/hydrate/index.es.js +416 -2692
- package/dist/hydrate/index.svelte5.d.ts +6 -5
- package/dist/hydrate/logger.d.ts +14 -14
- package/dist/hydrate/modal.d.ts +9 -7
- package/dist/hydrate/modal.svelte5.d.ts +9 -7
- package/dist/hydrate/prop.d.ts +127 -127
- package/dist/hydrate/stores.d.ts +16 -16
- package/dist/hydrate/types.d.ts +15 -14
- package/dist/hydrate/utils.d.ts +36 -36
- package/dist/hydrate/widget.d.ts +10 -10
- package/dist/icons.d.ts +7 -4
- package/dist/index.es.d.ts +7 -5
- package/dist/index.es.js +413 -2677
- package/dist/logger.d.ts +14 -14
- package/dist/modal.d.ts +9 -7
- package/dist/modal.svelte5.d.ts +9 -7
- package/dist/prop.d.ts +127 -127
- package/dist/stores.d.ts +16 -16
- package/dist/svelte5/action.d.ts +1 -0
- package/dist/svelte5/actionEvent.d.ts +1 -0
- package/dist/svelte5/collection.d.ts +39 -39
- package/dist/svelte5/components/index.d.ts +1 -0
- package/dist/svelte5/components-flex/avatar/types.d.ts +16 -15
- package/dist/svelte5/components-flex/brand-kit.d.ts +11 -11
- package/dist/svelte5/components-flex/button/types.d.ts +43 -40
- package/dist/svelte5/components-flex/button-outlined/types.d.ts +17 -14
- package/dist/svelte5/components-flex/button-text/types.d.ts +27 -24
- package/dist/svelte5/components-flex/clip-copy/types.d.ts +3 -3
- package/dist/svelte5/components-flex/close-button/types.d.ts +21 -21
- package/dist/svelte5/components-flex/code/types.d.ts +3 -3
- package/dist/svelte5/components-flex/count-down/types.d.ts +7 -7
- package/dist/svelte5/components-flex/icon/types.d.ts +9 -9
- package/dist/svelte5/components-flex/image/types.d.ts +18 -18
- package/dist/svelte5/components-flex/layout/types.d.ts +9 -9
- package/dist/svelte5/components-flex/list/types.d.ts +18 -18
- package/dist/svelte5/components-flex/modal/types.d.ts +1 -1
- package/dist/svelte5/components-flex/multi-column/types.d.ts +19 -19
- package/dist/svelte5/components-flex/props.d.ts +56 -56
- package/dist/svelte5/components-flex/schemas.d.ts +17 -17
- package/dist/svelte5/components-flex/shared/types.d.ts +6 -6
- package/dist/svelte5/components-flex/slider/types.d.ts +6 -6
- package/dist/svelte5/components-flex/styles.d.ts +1 -1
- package/dist/svelte5/components-flex/text/constants.d.ts +1 -1
- package/dist/svelte5/components-flex/text/styles.d.ts +1 -1
- package/dist/svelte5/components-flex/text/types.d.ts +32 -29
- package/dist/svelte5/components-flex/text-link/types.d.ts +24 -21
- package/dist/svelte5/components-flex/utils/color.d.ts +3 -3
- package/dist/svelte5/components-flex/utils/parser.d.ts +2 -2
- package/dist/svelte5/components-flex/variants.d.ts +26 -11
- package/dist/svelte5/components-flex/youtube/types.d.ts +12 -11
- package/dist/svelte5/constants.d.ts +3 -2
- package/dist/svelte5/form.d.ts +15 -15
- package/dist/svelte5/functions.d.ts +11 -11
- package/dist/svelte5/hooks/useClickable.d.ts +3 -3
- package/dist/svelte5/hooks/useText.d.ts +2 -2
- package/dist/svelte5/hydrate/action.d.ts +1 -0
- package/dist/svelte5/hydrate/actionEvent.d.ts +1 -0
- package/dist/svelte5/hydrate/collection.d.ts +39 -39
- package/dist/svelte5/hydrate/components/index.d.ts +1 -0
- package/dist/svelte5/hydrate/components-flex/avatar/types.d.ts +16 -15
- package/dist/svelte5/hydrate/components-flex/brand-kit.d.ts +11 -11
- package/dist/svelte5/hydrate/components-flex/button/types.d.ts +43 -40
- package/dist/svelte5/hydrate/components-flex/button-outlined/types.d.ts +17 -14
- package/dist/svelte5/hydrate/components-flex/button-text/types.d.ts +27 -24
- package/dist/svelte5/hydrate/components-flex/clip-copy/types.d.ts +3 -3
- package/dist/svelte5/hydrate/components-flex/close-button/types.d.ts +21 -21
- package/dist/svelte5/hydrate/components-flex/code/types.d.ts +3 -3
- package/dist/svelte5/hydrate/components-flex/count-down/types.d.ts +7 -7
- package/dist/svelte5/hydrate/components-flex/icon/types.d.ts +9 -9
- package/dist/svelte5/hydrate/components-flex/image/types.d.ts +18 -18
- package/dist/svelte5/hydrate/components-flex/layout/types.d.ts +9 -9
- package/dist/svelte5/hydrate/components-flex/list/types.d.ts +18 -18
- package/dist/svelte5/hydrate/components-flex/modal/types.d.ts +1 -1
- package/dist/svelte5/hydrate/components-flex/multi-column/types.d.ts +19 -19
- package/dist/svelte5/hydrate/components-flex/props.d.ts +56 -56
- package/dist/svelte5/hydrate/components-flex/schemas.d.ts +17 -17
- package/dist/svelte5/hydrate/components-flex/shared/types.d.ts +6 -6
- package/dist/svelte5/hydrate/components-flex/slider/types.d.ts +6 -6
- package/dist/svelte5/hydrate/components-flex/styles.d.ts +1 -1
- package/dist/svelte5/hydrate/components-flex/text/constants.d.ts +1 -1
- package/dist/svelte5/hydrate/components-flex/text/styles.d.ts +1 -1
- package/dist/svelte5/hydrate/components-flex/text/types.d.ts +32 -29
- package/dist/svelte5/hydrate/components-flex/text-link/types.d.ts +24 -21
- package/dist/svelte5/hydrate/components-flex/utils/color.d.ts +3 -3
- package/dist/svelte5/hydrate/components-flex/utils/parser.d.ts +2 -2
- package/dist/svelte5/hydrate/components-flex/variants.d.ts +26 -11
- package/dist/svelte5/hydrate/components-flex/youtube/types.d.ts +12 -11
- package/dist/svelte5/hydrate/constants.d.ts +3 -2
- package/dist/svelte5/hydrate/form.d.ts +15 -15
- package/dist/svelte5/hydrate/functions.d.ts +11 -11
- package/dist/svelte5/hydrate/hooks/useClickable.d.ts +3 -3
- package/dist/svelte5/hydrate/hooks/useText.d.ts +2 -2
- package/dist/svelte5/hydrate/index.es.d.ts +6 -5
- package/dist/svelte5/hydrate/index.es.js +16 -20
- package/dist/svelte5/hydrate/logger.d.ts +14 -14
- package/dist/svelte5/hydrate/modal.d.ts +9 -7
- package/dist/svelte5/hydrate/modal.svelte5.d.ts +9 -7
- package/dist/svelte5/hydrate/prop.d.ts +127 -127
- package/dist/svelte5/hydrate/stores.d.ts +16 -16
- package/dist/svelte5/hydrate/types.d.ts +15 -14
- package/dist/svelte5/hydrate/utils.d.ts +36 -36
- package/dist/svelte5/hydrate/widget.d.ts +10 -10
- package/dist/svelte5/index.es.d.ts +6 -5
- package/dist/svelte5/index.es.js +16 -20
- package/dist/svelte5/index.front2.es.js +42 -46
- package/dist/svelte5/index.svelte5.d.ts +6 -5
- package/dist/svelte5/logger.d.ts +14 -14
- package/dist/svelte5/modal.d.ts +9 -7
- package/dist/svelte5/modal.svelte5.d.ts +9 -7
- package/dist/svelte5/prop.d.ts +127 -127
- package/dist/svelte5/stores.d.ts +16 -16
- package/dist/svelte5/types.d.ts +15 -14
- package/dist/svelte5/utils.d.ts +36 -36
- package/dist/svelte5/widget.d.ts +10 -10
- package/dist/templates.cjs.js +0 -1
- package/dist/templates.d.ts +5 -3
- package/dist/types.d.ts +15 -14
- package/dist/utils.d.ts +36 -36
- package/dist/widget.d.ts +10 -10
- package/package.json +3 -3
@@ -1,47 +1,62 @@
|
|
1
1
|
import type { BrandKit } from "./brand-kit.js";
|
2
2
|
import type { ShadowProps, FontFamilyProps, AspectProps, BackgroundColorProps, BorderColorProps } from "./props.js";
|
3
3
|
export type VariantStyles<Props extends object = object> = Props & {
|
4
|
-
hover?: Props
|
5
|
-
active?: Props
|
4
|
+
hover?: Props;
|
5
|
+
active?: Props;
|
6
6
|
};
|
7
7
|
export type VariantDefinition<
|
8
8
|
Props extends object = object,
|
9
9
|
Meta extends object = object
|
10
10
|
> = {
|
11
|
-
name: string
|
12
|
-
description?: string
|
13
|
-
getProps: (brandKit?: Partial<BrandKit>) => VariantStyles<Props
|
14
|
-
meta?: Meta
|
11
|
+
name: string;
|
12
|
+
description?: string;
|
13
|
+
getProps: (brandKit?: Partial<BrandKit>) => VariantStyles<Props>;
|
14
|
+
meta?: Meta;
|
15
15
|
};
|
16
16
|
export type VariantDefinitionGroup<
|
17
17
|
Props extends object = object,
|
18
18
|
Meta extends object = object
|
19
19
|
> = Record<string, VariantDefinition<Props, Meta>>;
|
20
20
|
type ToVariantArrayReturn<T> = T[keyof T] & {
|
21
|
-
code: keyof T
|
21
|
+
code: keyof T;
|
22
22
|
};
|
23
23
|
declare const toVariantArray: <T extends VariantDefinitionGroup>(group: T) => ToVariantArrayReturn<T>[];
|
24
|
+
// ================================
|
25
|
+
// Aspect
|
26
|
+
// ================================
|
24
27
|
export declare const ASPECT_VARIANT: VariantDefinitionGroup<Omit<AspectProps, "aspectVariant">>;
|
25
28
|
export type AspectVariantCode = keyof typeof ASPECT_VARIANT;
|
26
29
|
export declare const ASPECT_VARIANTS: ReturnType<typeof toVariantArray>;
|
30
|
+
// ================================
|
31
|
+
// FontFamily
|
32
|
+
// ================================
|
27
33
|
export type FontVariantMeta = {
|
28
|
-
lang: "ja" | "en"
|
29
|
-
type: "kaku" | "maru" | "min"
|
34
|
+
lang: "ja" | "en";
|
35
|
+
type: "kaku" | "maru" | "min";
|
30
36
|
};
|
31
37
|
export declare const FONT_FAMILY_VARIANT: VariantDefinitionGroup<Omit<FontFamilyProps, "fontFamilyVariant">, FontVariantMeta>;
|
32
38
|
export type FontFamilyVariantCode = keyof typeof FONT_FAMILY_VARIANT;
|
33
39
|
export declare const FONT_FAMILY_VARIANTS: ToVariantArrayReturn<VariantDefinitionGroup<Omit<FontFamilyProps, "fontFamilyVariant">, FontVariantMeta>>[];
|
34
40
|
type FontFamilyVariantGroup = {
|
35
|
-
label: string
|
36
|
-
variants: ReturnType<typeof toVariantArray
|
41
|
+
label: string;
|
42
|
+
variants: ReturnType<typeof toVariantArray>;
|
37
43
|
};
|
38
44
|
export declare const FONT_FAMILY_VARIANT_GROUPS: FontFamilyVariantGroup[];
|
45
|
+
// ================================
|
46
|
+
// Shadow
|
47
|
+
// ================================
|
39
48
|
export declare const SHADOW_VARIANT: VariantDefinitionGroup<Omit<ShadowProps, "shadowVariant">>;
|
40
49
|
export type ShadowVariantCode = keyof typeof SHADOW_VARIANT;
|
41
50
|
export declare const SHADOW_VARIANTS: ToVariantArrayReturn<VariantDefinitionGroup<Omit<ShadowProps, "shadowVariant">, object>>[];
|
51
|
+
// ================================
|
52
|
+
// Background
|
53
|
+
// ================================
|
42
54
|
export declare const BACKGROUND_COLOR_VARIANT: VariantDefinitionGroup<Omit<BackgroundColorProps, "backgroundColorVariant">>;
|
43
55
|
export type BackgroundColorVariantCode = keyof typeof BACKGROUND_COLOR_VARIANT;
|
44
56
|
export declare const BACKGROUND_COLOR_VARIANTS: ToVariantArrayReturn<VariantDefinitionGroup<Omit<BackgroundColorProps, "backgroundColorVariant">, object>>[];
|
57
|
+
// ================================
|
58
|
+
// Border
|
59
|
+
// ================================
|
45
60
|
export declare const BORDER_COLOR_VARIANT: VariantDefinitionGroup<Omit<BorderColorProps, "borderColorVariant">>;
|
46
61
|
export type BorderColorVariantCode = keyof typeof BORDER_COLOR_VARIANT;
|
47
62
|
export declare const BORDER_COLOR_VARIANTS: ToVariantArrayReturn<VariantDefinitionGroup<Omit<BorderColorProps, "borderColorVariant">, object>>[];
|
@@ -2,15 +2,16 @@ import type { CommonProps, BorderProps } from "../props.js";
|
|
2
2
|
import type { IMAGE_ROUND_SHAPE } from "../image/types.js";
|
3
3
|
import type { Properties } from "csstype";
|
4
4
|
export type YoutubeProps = CommonProps & BorderProps & {
|
5
|
-
videoId?: string
|
6
|
-
loop?: boolean
|
7
|
-
autoplay?: boolean
|
8
|
-
mute?: boolean
|
9
|
-
controls?: boolean
|
10
|
-
showInfo?: boolean
|
11
|
-
showSubtitle?: boolean
|
12
|
-
showFullScreen?: boolean
|
13
|
-
showRelatedMovies?: boolean
|
14
|
-
|
15
|
-
|
5
|
+
videoId?: string;
|
6
|
+
loop?: boolean;
|
7
|
+
autoplay?: boolean;
|
8
|
+
mute?: boolean;
|
9
|
+
controls?: boolean;
|
10
|
+
showInfo?: boolean;
|
11
|
+
showSubtitle?: boolean;
|
12
|
+
showFullScreen?: boolean;
|
13
|
+
showRelatedMovies?: boolean;
|
14
|
+
// styles
|
15
|
+
shape?: keyof typeof IMAGE_ROUND_SHAPE;
|
16
|
+
width?: Properties["width"];
|
16
17
|
};
|
@@ -14,9 +14,10 @@ export declare const ALL_ACTION_SHORTEN_ID = "KARTE_ALL_ACTION_SHORTEN_ID";
|
|
14
14
|
export declare const DEVICE_IDS: string[];
|
15
15
|
/** @internal */
|
16
16
|
export declare const DEVICE_QUERIES: {
|
17
|
-
readonly PC: "screen and (min-width: 641px)"
|
18
|
-
readonly SP: "screen and (max-width: 640px)"
|
17
|
+
readonly PC: "screen and (min-width: 641px)";
|
18
|
+
readonly SP: "screen and (max-width: 640px)";
|
19
19
|
};
|
20
|
+
// -------- The following codes are deprecated --------
|
20
21
|
/**
|
21
22
|
* 非推奨
|
22
23
|
*
|
@@ -1,5 +1,5 @@
|
|
1
1
|
export declare function dataAttrStopPropagation<K extends keyof WindowEventMap>(eventName: K): {
|
2
|
-
[key: string]: boolean
|
2
|
+
[key: string]: boolean;
|
3
3
|
};
|
4
4
|
type EventHandler<K extends keyof WindowEventMap> = (event: WindowEventMap[K]) => void;
|
5
5
|
export declare function checkStopPropagation<K extends keyof WindowEventMap>(eventName: K, handler: (event: WindowEventMap[K]) => void): EventHandler<K>;
|
package/dist/hydrate/form.d.ts
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
import type { FormData } from "./stores.js";
|
2
2
|
import type { Readable, Writable } from "svelte/store";
|
3
3
|
type AnswerValue = {
|
4
|
-
choices: string[]
|
4
|
+
choices: string[];
|
5
5
|
} | {
|
6
|
-
free_answer: string
|
6
|
+
free_answer: string;
|
7
7
|
};
|
8
8
|
type InputValue = any;
|
9
9
|
type RegisterInputFuncArg<T extends InputValue> = {
|
10
|
-
name: string
|
11
|
-
statePath: string
|
12
|
-
validator?: (value: T) => boolean
|
13
|
-
initialValue: T
|
10
|
+
name: string;
|
11
|
+
statePath: string;
|
12
|
+
validator?: (value: T) => boolean;
|
13
|
+
initialValue: T;
|
14
14
|
};
|
15
15
|
type RegisterInputFunc = {
|
16
16
|
<T extends InputValue>(arg: RegisterInputFuncArg<T>): {
|
17
|
-
value: Writable<T
|
18
|
-
isValid: Readable<boolean
|
19
|
-
}
|
17
|
+
value: Writable<T>;
|
18
|
+
isValid: Readable<boolean>;
|
19
|
+
};
|
20
20
|
};
|
21
21
|
/** @internal */
|
22
22
|
export declare function createInputRegisterer(formData: Writable<FormData>): RegisterInputFunc;
|
@@ -30,8 +30,8 @@ export declare function deleteValues(statePath: string): void;
|
|
30
30
|
export declare const getValuesAreValidReadable: (statePath: string) => Readable<boolean>;
|
31
31
|
/** @internal */
|
32
32
|
export declare function submit(): {
|
33
|
-
values?: any
|
34
|
-
identifyValues?: any
|
33
|
+
values?: any;
|
34
|
+
identifyValues?: any;
|
35
35
|
};
|
36
36
|
/**
|
37
37
|
* 選択式のアンケート回答を追加する
|
@@ -42,8 +42,8 @@ export declare function submit(): {
|
|
42
42
|
* @public
|
43
43
|
*/
|
44
44
|
export declare function addChoiceAnswer(questionId: string, choices: string[], validation?: {
|
45
|
-
isValid: boolean
|
46
|
-
statePath: string
|
45
|
+
isValid: boolean;
|
46
|
+
statePath: string;
|
47
47
|
}): void;
|
48
48
|
/**
|
49
49
|
* 自由記述式のアンケート回答を追加する
|
@@ -54,8 +54,8 @@ export declare function addChoiceAnswer(questionId: string, choices: string[], v
|
|
54
54
|
* @public
|
55
55
|
*/
|
56
56
|
export declare function addFreeAnswer(questionId: string, freeAnswer: string, validation?: {
|
57
|
-
isValid: boolean
|
58
|
-
statePath: string
|
57
|
+
isValid: boolean;
|
58
|
+
statePath: string;
|
59
59
|
}): void;
|
60
60
|
/**
|
61
61
|
* 回答済の回答を削除
|
@@ -26,9 +26,9 @@ interface CustomAnimationOptions {
|
|
26
26
|
* A Transform value in percent of target element
|
27
27
|
*/
|
28
28
|
transforms: Array<{
|
29
|
-
query: string | null
|
30
|
-
x: number
|
31
|
-
y: number
|
29
|
+
query: string | null;
|
30
|
+
x: number;
|
31
|
+
y: number;
|
32
32
|
}>;
|
33
33
|
/**
|
34
34
|
* A style of animation(e.g. fade, slide-in)
|
@@ -58,14 +58,14 @@ interface CustomAnimationOptions {
|
|
58
58
|
* @internal
|
59
59
|
*/
|
60
60
|
export declare function customAnimation(node: Element, { transforms, animationStyle, delay, duration }: CustomAnimationOptions): {
|
61
|
-
delay?: undefined
|
62
|
-
duration?: undefined
|
63
|
-
easing?: undefined
|
64
|
-
css?: undefined
|
61
|
+
delay?: undefined;
|
62
|
+
duration?: undefined;
|
63
|
+
easing?: undefined;
|
64
|
+
css?: undefined;
|
65
65
|
} | {
|
66
|
-
delay: number
|
67
|
-
duration: number
|
68
|
-
easing: (t: any) => any
|
69
|
-
css: (progress: number) => string
|
66
|
+
delay: number;
|
67
|
+
duration: number;
|
68
|
+
easing: (t: any) => any;
|
69
|
+
css: (progress: number) => string;
|
70
70
|
};
|
71
71
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { ClickableProps } from "../components-flex/props.js";
|
2
2
|
declare const useClickable: ({ eventValue, eventName, onClick, element }: ClickableProps) => {
|
3
|
-
element: string
|
4
|
-
attributes: Record<string, any
|
5
|
-
handleClick: (e: MouseEvent) => void
|
3
|
+
element: string;
|
4
|
+
attributes: Record<string, any>;
|
5
|
+
handleClick: (e: MouseEvent) => void;
|
6
6
|
};
|
7
7
|
export default useClickable;
|
package/dist/hydrate/index.d.ts
CHANGED
@@ -3,17 +3,18 @@ export { create, destroyAction, onCreate, onDestroy, showModal, destroy } from "
|
|
3
3
|
export { initialize, finalize } from "./actionEvent.js";
|
4
4
|
export { loadGlobalScript, loadGlobalStyle, applyGlobalCss } from "./script.js";
|
5
5
|
export { getState, setState, getStates, isOpened, getVariables, setVariables, resetVariables, getEventHandlers, setEventHandlers, resetEventHandlers, getSystem, setSetting, eventHandlers, variables, formData, state } from "./stores.js";
|
6
|
-
export { SystemConfig, ActionVariables, ActionEventHandler, ActionProps, ActionOptions, ActionHook, ActionHookLog, ActionChangeStateHook, SendFunction, PublishFunction } from "./types.js";
|
6
|
+
export type { SystemConfig, ActionVariables, ActionEventHandler, ActionProps, ActionOptions, ActionHook, ActionHookLog, ActionChangeStateHook, SendFunction, PublishFunction } from "./types.js";
|
7
7
|
export { onScroll, onTime } from "./utils.js";
|
8
|
-
export { OnScrollContext, OnScrollFunction, ScrollDirection } from "./utils.js";
|
8
|
+
export type { OnScrollContext, OnScrollFunction, ScrollDirection } from "./utils.js";
|
9
9
|
export { getLogs, getEvents, logger, listenLogger } from "./logger.js";
|
10
|
-
export { LogLevel, Log, Event } from "./logger.js";
|
10
|
+
export type { LogLevel, Log, Event } from "./logger.js";
|
11
|
+
// 以下は互換性のため
|
11
12
|
export { hideOnScroll, hideOnTime, showOnScroll, showOnTime } from "./display-logic.js";
|
12
13
|
export * from "./prop.js";
|
13
14
|
export { showAction, closeAction, loadStyle, applyCss, onShow, onClose, onChangeState, getActionRoot, getCssVariables, show, close, ensureModalRoot, createApp, createFog } from "./modal.js";
|
14
|
-
export { ActionCloseHook, ShowTrigger, CloseTrigger } from "./modal.js";
|
15
|
+
export type { ActionCloseHook, ShowTrigger, CloseTrigger } from "./modal.js";
|
15
16
|
export { collection, loadActionTableRow, loadActionTableRows, loadActionTableQuery, loadActionTable } from "./collection.js";
|
16
|
-
export { CollectionConfig, ActionTableRowRequestConfig, ActionTableRowsRequestConfig, ActionTableQueryRequestConfig, ActionTableRequestConfig } from "./collection.js";
|
17
|
+
export type { CollectionConfig, ActionTableRowRequestConfig, ActionTableRowsRequestConfig, ActionTableQueryRequestConfig, ActionTableRequestConfig } from "./collection.js";
|
17
18
|
export { addChoiceAnswer, addFreeAnswer, removeAnswer, getAnsweredQuestion, getAnsweredQuestionIds, sendAnswer, sendAnswers } from "./form.js";
|
18
19
|
export * as widget from "./widget.js";
|
19
20
|
export { onMount, onDestory, beforeUpdate, afterUpdate, tick, LAYOUT_COMPONENT_NAMES } from "./components/index.js";
|
@@ -44,6 +45,7 @@ export { default as Countdown } from "./components/Countdown.svelte.js";
|
|
44
45
|
export { default as Box } from "./components/Box.svelte.js";
|
45
46
|
export { default as IconElement } from "./components/IconElement.svelte.js";
|
46
47
|
export { default as CodeElement } from "./components/CodeElement.svelte.js";
|
48
|
+
// 以下は互換性のため
|
47
49
|
export { default as Flex } from "./components/Flex.svelte.js";
|
48
50
|
export { default as FlexItem } from "./components/FlexItem.svelte.js";
|
49
51
|
export { default as GridModalState } from "./components/GridModalState.svelte.js";
|