@marianmeres/stuic 1.115.0 → 1.117.0
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/actions/drag-drop.d.ts +0 -1
- package/dist/actions/tooltip/tooltip.d.ts +0 -1
- package/dist/components/AlertConfirmPrompt/AlertConfirmPrompt.svelte +1 -1
- package/dist/components/AlertConfirmPrompt/AlertConfirmPrompt.svelte.d.ts +5 -5
- package/dist/components/AppShell/AppShell.svelte.d.ts +14 -14
- package/dist/components/Backdrop/Backdrop.svelte.d.ts +6 -6
- package/dist/components/Button/Button.svelte.d.ts +3 -3
- package/dist/components/DismissibleMessage/DismissibleMessage.svelte.d.ts +9 -9
- package/dist/components/Drawer/Drawer.svelte.d.ts +10 -10
- package/dist/components/HoverExpandableWidth/HoverExpandableWidth.svelte.d.ts +6 -6
- package/dist/components/Input/Field.svelte.d.ts +2 -2
- package/dist/components/Input/FieldCheckbox.svelte.d.ts +9 -9
- package/dist/components/Input/FieldRadios.svelte.d.ts +10 -10
- package/dist/components/Input/FieldSelect.svelte.d.ts +16 -16
- package/dist/components/Input/Fieldset.svelte.d.ts +2 -2
- package/dist/components/Input/PinInput.svelte +5 -1
- package/dist/components/Input/XFieldRadioInternal.svelte.d.ts +7 -7
- package/dist/components/ModalDialog/ModalDialog.svelte.d.ts +10 -10
- package/dist/components/Notifications/Notifications.svelte.d.ts +10 -10
- package/dist/components/Popover/Popover.svelte.d.ts +1 -1
- package/dist/components/Switch/Switch.svelte.d.ts +10 -10
- package/dist/components/X/X.svelte.d.ts +2 -2
- package/dist/utils/prefers-reduced-motion.d.ts +0 -1
- package/dist/utils/window-size.d.ts +0 -1
- package/package.json +1 -1
|
@@ -53,7 +53,7 @@ export class AlertConfirmPromptConfig {
|
|
|
53
53
|
space-y-3 sm:space-y-0
|
|
54
54
|
`,
|
|
55
55
|
menuLi: `flex-1 sm:flex-none w-full sm:w-auto sm:inline-block`,
|
|
56
|
-
button: `w-full min-w-24
|
|
56
|
+
button: `w-full min-w-24 justify-center`,
|
|
57
57
|
spinnerBox: `
|
|
58
58
|
absolute inset-0 flex justify-center items-center
|
|
59
59
|
rounded-lg
|
|
@@ -79,13 +79,13 @@ declare const __propDef: {
|
|
|
79
79
|
posXMobile: NOTIFICATIONS_POSX;
|
|
80
80
|
posY: NOTIFICATIONS_POSY;
|
|
81
81
|
posYMobile: NOTIFICATIONS_POSY;
|
|
82
|
-
}
|
|
82
|
+
}>;
|
|
83
83
|
acp: ReturnType<typeof createAlertConfirmPromptStore>;
|
|
84
84
|
forceAsHtml?: boolean | undefined;
|
|
85
|
-
defaultIcons?: Partial<AlertConfirmPromptIcons
|
|
86
|
-
classes?: Partial<AlertConfirmPromptKnownClasses
|
|
87
|
-
classesByVariant?: Partial<Record<AlertConfirmPromptVariant, Partial<AlertConfirmPromptKnownClasses
|
|
88
|
-
backdropFadeIn?: boolean
|
|
85
|
+
defaultIcons?: Partial<AlertConfirmPromptIcons>;
|
|
86
|
+
classes?: Partial<AlertConfirmPromptKnownClasses>;
|
|
87
|
+
classesByVariant?: Partial<Record<AlertConfirmPromptVariant, Partial<AlertConfirmPromptKnownClasses>>>;
|
|
88
|
+
backdropFadeIn?: boolean;
|
|
89
89
|
};
|
|
90
90
|
events: {
|
|
91
91
|
[evt: string]: CustomEvent<any>;
|
|
@@ -2,20 +2,20 @@ import { SvelteComponent } from "svelte";
|
|
|
2
2
|
export declare const appShellSetHtmlBodyHeight: () => (() => any);
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
|
-
class?: string
|
|
6
|
-
railClass?: string
|
|
7
|
-
headerClass?: string
|
|
8
|
-
contentClass?: string
|
|
9
|
-
sidebarLeftClass?: string
|
|
10
|
-
pageClass?: string
|
|
11
|
-
pageHeaderClass?: string
|
|
12
|
-
pageMainClass?: string
|
|
13
|
-
pageFooterClass?: string
|
|
14
|
-
sidebarRightClass?: string
|
|
15
|
-
footerClass?: string
|
|
16
|
-
scrollbarGutter?: string
|
|
17
|
-
id?: string
|
|
18
|
-
pageFlexGrow?: 0 | 1 | 2 | 3 | 4 | 5
|
|
5
|
+
class?: string;
|
|
6
|
+
railClass?: string;
|
|
7
|
+
headerClass?: string;
|
|
8
|
+
contentClass?: string;
|
|
9
|
+
sidebarLeftClass?: string;
|
|
10
|
+
pageClass?: string;
|
|
11
|
+
pageHeaderClass?: string;
|
|
12
|
+
pageMainClass?: string;
|
|
13
|
+
pageFooterClass?: string;
|
|
14
|
+
sidebarRightClass?: string;
|
|
15
|
+
footerClass?: string;
|
|
16
|
+
scrollbarGutter?: string;
|
|
17
|
+
id?: string;
|
|
18
|
+
pageFlexGrow?: 0 | 1 | 2 | 3 | 4 | 5;
|
|
19
19
|
};
|
|
20
20
|
events: {
|
|
21
21
|
scroll: Event;
|
|
@@ -7,12 +7,12 @@ export declare class BackdropConfig {
|
|
|
7
7
|
import { type FocusTrapOptions } from '../../actions/focus-trap.js';
|
|
8
8
|
declare const __propDef: {
|
|
9
9
|
props: {
|
|
10
|
-
useFocusTrap?: boolean
|
|
11
|
-
focusTrapOptions?: Partial<FocusTrapOptions
|
|
12
|
-
class?: string
|
|
13
|
-
fadeInDuration?: number
|
|
14
|
-
fadeOutDuration?: number
|
|
15
|
-
transitionEnabled?: boolean
|
|
10
|
+
useFocusTrap?: boolean;
|
|
11
|
+
focusTrapOptions?: Partial<FocusTrapOptions>;
|
|
12
|
+
class?: string;
|
|
13
|
+
fadeInDuration?: number;
|
|
14
|
+
fadeOutDuration?: number;
|
|
15
|
+
transitionEnabled?: boolean;
|
|
16
16
|
};
|
|
17
17
|
events: {
|
|
18
18
|
click: MouseEvent;
|
|
@@ -43,14 +43,14 @@ declare const __propDef: {
|
|
|
43
43
|
[x: string]: any;
|
|
44
44
|
class?: string | undefined;
|
|
45
45
|
href?: string | undefined;
|
|
46
|
-
type?: HTMLButtonAttributes[
|
|
46
|
+
type?: HTMLButtonAttributes["type"];
|
|
47
47
|
shadow?: boolean | undefined;
|
|
48
|
-
rounded?: boolean | "full" | undefined;
|
|
48
|
+
rounded?: (boolean | "full") | undefined;
|
|
49
49
|
variant?: string | undefined;
|
|
50
50
|
square?: boolean | undefined;
|
|
51
51
|
disabled?: boolean | undefined;
|
|
52
52
|
value?: string | undefined;
|
|
53
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
53
|
+
size?: ("xs" | "sm" | "md" | "lg" | "xl") | undefined;
|
|
54
54
|
};
|
|
55
55
|
events: {
|
|
56
56
|
focus: FocusEvent;
|
|
@@ -12,16 +12,16 @@ export declare class DismissibleMessageConfig {
|
|
|
12
12
|
declare const __propDef: {
|
|
13
13
|
props: {
|
|
14
14
|
class?: {
|
|
15
|
-
box?: string
|
|
16
|
-
content?: string
|
|
17
|
-
dismiss?: string
|
|
18
|
-
x?: string
|
|
19
|
-
}
|
|
20
|
-
duration?: number
|
|
15
|
+
box?: string;
|
|
16
|
+
content?: string;
|
|
17
|
+
dismiss?: string;
|
|
18
|
+
x?: string;
|
|
19
|
+
};
|
|
20
|
+
duration?: number;
|
|
21
21
|
message: THC | Error;
|
|
22
|
-
onDismiss?:
|
|
23
|
-
theme?: "primary" |
|
|
24
|
-
forceAsHtml?: boolean
|
|
22
|
+
onDismiss?: (() => void) | null | false;
|
|
23
|
+
theme?: "primary" | "secondary" | TW_COLORS;
|
|
24
|
+
forceAsHtml?: boolean;
|
|
25
25
|
};
|
|
26
26
|
events: {
|
|
27
27
|
[evt: string]: CustomEvent<any>;
|
|
@@ -4,16 +4,16 @@ export type DrawerStore = ReturnType<typeof createDrawerStore>;
|
|
|
4
4
|
export declare const createDrawerStore: (open?: boolean) => import("@marianmeres/switch-store").SwitchStore<any>;
|
|
5
5
|
declare const __propDef: {
|
|
6
6
|
props: {
|
|
7
|
-
drawer:
|
|
8
|
-
position?: "left" | "
|
|
9
|
-
class?: string
|
|
10
|
-
backdropClass?: string
|
|
11
|
-
labelledby?: string
|
|
12
|
-
describedby?: string
|
|
13
|
-
transitionDuration?: number
|
|
14
|
-
transitionEnabled?: boolean
|
|
15
|
-
animOffset?: string | number
|
|
16
|
-
backdropFocusTrapOptions?: Partial<FocusTrapOptions
|
|
7
|
+
drawer: DrawerStore;
|
|
8
|
+
position?: "left" | "top" | "right" | "bottom";
|
|
9
|
+
class?: string;
|
|
10
|
+
backdropClass?: string;
|
|
11
|
+
labelledby?: string;
|
|
12
|
+
describedby?: string;
|
|
13
|
+
transitionDuration?: number;
|
|
14
|
+
transitionEnabled?: boolean;
|
|
15
|
+
animOffset?: string | number;
|
|
16
|
+
backdropFocusTrapOptions?: Partial<FocusTrapOptions>;
|
|
17
17
|
};
|
|
18
18
|
events: {
|
|
19
19
|
escape: CustomEvent<any>;
|
|
@@ -2,12 +2,12 @@ import { SvelteComponent } from "svelte";
|
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
4
|
enabled?: boolean | undefined;
|
|
5
|
-
shadowOpacity?: number
|
|
6
|
-
duration?: number
|
|
7
|
-
targetWidth?: number
|
|
8
|
-
delayIn?: number
|
|
9
|
-
delayOut?: number
|
|
10
|
-
class?: string
|
|
5
|
+
shadowOpacity?: number;
|
|
6
|
+
duration?: number;
|
|
7
|
+
targetWidth?: number;
|
|
8
|
+
delayIn?: number;
|
|
9
|
+
delayOut?: number;
|
|
10
|
+
class?: string;
|
|
11
11
|
};
|
|
12
12
|
events: {
|
|
13
13
|
click: MouseEvent;
|
|
@@ -30,7 +30,7 @@ declare const __propDef: {
|
|
|
30
30
|
[x: string]: any;
|
|
31
31
|
class?: FieldConfigClasses | undefined;
|
|
32
32
|
classBySize?: FieldConfigClassesBySize | undefined;
|
|
33
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
33
|
+
size?: ("sm" | "md" | "lg") | undefined;
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
value: string;
|
|
36
36
|
label?: THC | undefined;
|
|
@@ -53,7 +53,7 @@ declare const __propDef: {
|
|
|
53
53
|
useTrim?: boolean | undefined;
|
|
54
54
|
textareaAutoEnlarge?: boolean | undefined;
|
|
55
55
|
labelLeft?: boolean | undefined;
|
|
56
|
-
labelLeftWidth?: "normal" | "wide" | undefined;
|
|
56
|
+
labelLeftWidth?: ("normal" | "wide") | undefined;
|
|
57
57
|
validate?: ValidateOptions | true | undefined;
|
|
58
58
|
showAsterixOnRequired?: boolean | undefined;
|
|
59
59
|
};
|
|
@@ -20,15 +20,15 @@ export declare class FieldCheckboxConfig {
|
|
|
20
20
|
}
|
|
21
21
|
declare const __propDef: {
|
|
22
22
|
props: {
|
|
23
|
-
class?: FieldCheckboxConfigClasses
|
|
24
|
-
classBySize?: FieldCheckboxConfigClassesBySize
|
|
25
|
-
size?: "sm" | "md" | "lg"
|
|
26
|
-
id?: string
|
|
27
|
-
checked?: boolean
|
|
28
|
-
label?: THC
|
|
29
|
-
name?: string
|
|
30
|
-
description?: THC
|
|
31
|
-
tabindex?: number
|
|
23
|
+
class?: FieldCheckboxConfigClasses;
|
|
24
|
+
classBySize?: FieldCheckboxConfigClassesBySize;
|
|
25
|
+
size?: "sm" | "md" | "lg";
|
|
26
|
+
id?: string;
|
|
27
|
+
checked?: boolean;
|
|
28
|
+
label?: THC;
|
|
29
|
+
name?: string;
|
|
30
|
+
description?: THC;
|
|
31
|
+
tabindex?: number;
|
|
32
32
|
disabled?: boolean | undefined;
|
|
33
33
|
readonly?: boolean | undefined;
|
|
34
34
|
required?: boolean | undefined;
|
|
@@ -21,17 +21,17 @@ declare const __propDef: {
|
|
|
21
21
|
props: {
|
|
22
22
|
options?: (string | {
|
|
23
23
|
label: string;
|
|
24
|
-
value?: string
|
|
25
|
-
description?: string
|
|
26
|
-
})[]
|
|
27
|
-
class?: FieldRadiosConfigClasses
|
|
28
|
-
classBySize?: FieldRadiosConfigClassesBySize
|
|
29
|
-
size?: "sm" | "md" | "lg"
|
|
30
|
-
name?: string
|
|
24
|
+
value?: string;
|
|
25
|
+
description?: string;
|
|
26
|
+
})[];
|
|
27
|
+
class?: FieldRadiosConfigClasses;
|
|
28
|
+
classBySize?: FieldRadiosConfigClassesBySize;
|
|
29
|
+
size?: "sm" | "md" | "lg";
|
|
30
|
+
name?: string;
|
|
31
31
|
value: any;
|
|
32
|
-
disabled?: boolean
|
|
33
|
-
required?: boolean
|
|
34
|
-
tabindex?: number
|
|
32
|
+
disabled?: boolean;
|
|
33
|
+
required?: boolean;
|
|
34
|
+
tabindex?: number;
|
|
35
35
|
};
|
|
36
36
|
events: {
|
|
37
37
|
blur: FocusEvent;
|
|
@@ -29,25 +29,25 @@ declare const __propDef: {
|
|
|
29
29
|
props: {
|
|
30
30
|
options?: (string | {
|
|
31
31
|
label: string;
|
|
32
|
-
value?: string
|
|
33
|
-
optgroup?: string
|
|
34
|
-
})[]
|
|
35
|
-
class?: FieldSelectConfigClasses
|
|
36
|
-
classBySize?: FieldSelectConfigClassesBySize
|
|
37
|
-
size?: "sm" | "md" | "lg"
|
|
38
|
-
id?: string
|
|
32
|
+
value?: string;
|
|
33
|
+
optgroup?: string;
|
|
34
|
+
})[];
|
|
35
|
+
class?: FieldSelectConfigClasses;
|
|
36
|
+
classBySize?: FieldSelectConfigClassesBySize;
|
|
37
|
+
size?: "sm" | "md" | "lg";
|
|
38
|
+
id?: string;
|
|
39
39
|
value: any;
|
|
40
|
-
label?: THC
|
|
41
|
-
name?: string
|
|
42
|
-
tabindex?: number
|
|
43
|
-
description?: THC
|
|
44
|
-
disabled?: boolean
|
|
45
|
-
required?: boolean
|
|
40
|
+
label?: THC;
|
|
41
|
+
name?: string;
|
|
42
|
+
tabindex?: number;
|
|
43
|
+
description?: THC;
|
|
44
|
+
disabled?: boolean;
|
|
45
|
+
required?: boolean;
|
|
46
46
|
autofocus?: true | undefined;
|
|
47
47
|
validate?: ValidateOptions | true | undefined;
|
|
48
|
-
showAsterixOnRequired?: boolean
|
|
49
|
-
labelLeft?: boolean
|
|
50
|
-
labelLeftWidth?: "normal" | "wide"
|
|
48
|
+
showAsterixOnRequired?: boolean;
|
|
49
|
+
labelLeft?: boolean;
|
|
50
|
+
labelLeftWidth?: "normal" | "wide";
|
|
51
51
|
};
|
|
52
52
|
events: {
|
|
53
53
|
blur: FocusEvent;
|
|
@@ -8,8 +8,8 @@ export declare class FieldsetConfig {
|
|
|
8
8
|
}
|
|
9
9
|
declare const __propDef: {
|
|
10
10
|
props: {
|
|
11
|
-
class?: FieldsetConfigClasses
|
|
12
|
-
legend?: string
|
|
11
|
+
class?: FieldsetConfigClasses;
|
|
12
|
+
legend?: string;
|
|
13
13
|
};
|
|
14
14
|
events: {
|
|
15
15
|
[evt: string]: CustomEvent<any>;
|
|
@@ -86,7 +86,11 @@ const gridCols = [
|
|
|
86
86
|
{id}
|
|
87
87
|
type="text"
|
|
88
88
|
spellcheck="false"
|
|
89
|
-
class={twMerge(
|
|
89
|
+
class={twMerge(
|
|
90
|
+
'caret-black',
|
|
91
|
+
inputClass,
|
|
92
|
+
`font-mono text-transparent black:text-transparent`
|
|
93
|
+
)}
|
|
90
94
|
class:cursor-not-allowed={disabled}
|
|
91
95
|
style="
|
|
92
96
|
padding-left: {100 / length / 2}%;
|
|
@@ -3,17 +3,17 @@ import type { ValidateOptions } from '../../actions/validate.js';
|
|
|
3
3
|
import { type FieldRadiosConfigClasses, type FieldRadiosConfigClassesBySize } from './FieldRadios.svelte';
|
|
4
4
|
declare const __propDef: {
|
|
5
5
|
props: {
|
|
6
|
-
class?: FieldRadiosConfigClasses
|
|
7
|
-
classBySize?: FieldRadiosConfigClassesBySize
|
|
8
|
-
size?: "sm" | "md" | "lg"
|
|
6
|
+
class?: FieldRadiosConfigClasses;
|
|
7
|
+
classBySize?: FieldRadiosConfigClassesBySize;
|
|
8
|
+
size?: "sm" | "md" | "lg";
|
|
9
9
|
value: any;
|
|
10
10
|
group: any;
|
|
11
11
|
label: string;
|
|
12
12
|
name: string;
|
|
13
|
-
description?: string
|
|
14
|
-
tabindex?: number
|
|
15
|
-
disabled?: boolean
|
|
16
|
-
required?: boolean
|
|
13
|
+
description?: string;
|
|
14
|
+
tabindex?: number;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
required?: boolean;
|
|
17
17
|
validate?: ValidateOptions | true | undefined;
|
|
18
18
|
};
|
|
19
19
|
events: {
|
|
@@ -7,16 +7,16 @@ export interface ModalDialogAPI {
|
|
|
7
7
|
}
|
|
8
8
|
declare const __propDef: {
|
|
9
9
|
props: {
|
|
10
|
-
openOnMount?: boolean
|
|
11
|
-
closeOnOutsideClick?: boolean
|
|
12
|
-
closeOnEscape?: boolean
|
|
13
|
-
class?: string
|
|
14
|
-
style?: string
|
|
15
|
-
backdropFadeIn?: false | "normal" | "slow"
|
|
16
|
-
toggle?: (
|
|
17
|
-
open?: (
|
|
18
|
-
close?: (
|
|
19
|
-
isOpen?: Writable<boolean
|
|
10
|
+
openOnMount?: boolean;
|
|
11
|
+
closeOnOutsideClick?: boolean;
|
|
12
|
+
closeOnEscape?: boolean;
|
|
13
|
+
class?: string;
|
|
14
|
+
style?: string;
|
|
15
|
+
backdropFadeIn?: false | "normal" | "slow";
|
|
16
|
+
toggle?: () => void;
|
|
17
|
+
open?: () => void;
|
|
18
|
+
close?: () => void;
|
|
19
|
+
isOpen?: Writable<boolean>;
|
|
20
20
|
};
|
|
21
21
|
events: {
|
|
22
22
|
[evt: string]: CustomEvent<any>;
|
|
@@ -24,20 +24,20 @@ declare const __propDef: {
|
|
|
24
24
|
props: {
|
|
25
25
|
notifications: ReturnType<typeof createNotificationsStore>;
|
|
26
26
|
forceAsHtml?: boolean | undefined;
|
|
27
|
-
defaultIcons?: Partial<Record<
|
|
28
|
-
classes?: Partial<NotificationKnownClasses
|
|
29
|
-
classesByType?: Partial<Record<
|
|
30
|
-
ariaCloseLabel?: string
|
|
31
|
-
posX?:
|
|
32
|
-
posXMobile?:
|
|
33
|
-
posY?:
|
|
34
|
-
posYMobile?:
|
|
35
|
-
getPositionConfig?: (
|
|
27
|
+
defaultIcons?: Partial<Record<NotificationType, () => string>>;
|
|
28
|
+
classes?: Partial<NotificationKnownClasses>;
|
|
29
|
+
classesByType?: Partial<Record<NotificationType, Partial<NotificationKnownClasses>>>;
|
|
30
|
+
ariaCloseLabel?: string;
|
|
31
|
+
posX?: NOTIFICATIONS_POSX;
|
|
32
|
+
posXMobile?: NOTIFICATIONS_POSX;
|
|
33
|
+
posY?: NOTIFICATIONS_POSY;
|
|
34
|
+
posYMobile?: NOTIFICATIONS_POSY;
|
|
35
|
+
getPositionConfig?: () => {
|
|
36
36
|
posX: "center" | "left" | "right";
|
|
37
37
|
posY: "center" | "top" | "bottom";
|
|
38
38
|
posXMobile: "center" | "left" | "right";
|
|
39
39
|
posYMobile: "center" | "top" | "bottom";
|
|
40
|
-
}
|
|
40
|
+
};
|
|
41
41
|
};
|
|
42
42
|
events: {
|
|
43
43
|
[evt: string]: CustomEvent<any>;
|
|
@@ -2,7 +2,7 @@ import { SvelteComponent } from "svelte";
|
|
|
2
2
|
import { type TooltipOptions } from '../../actions/tooltip/tooltip.js';
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
|
-
options?: Partial<TooltipOptions
|
|
5
|
+
options?: Partial<TooltipOptions>;
|
|
6
6
|
};
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
@@ -26,17 +26,17 @@ export declare class SwitchConfig {
|
|
|
26
26
|
}
|
|
27
27
|
declare const __propDef: {
|
|
28
28
|
props: {
|
|
29
|
-
class?: string
|
|
30
|
-
classDot?: string
|
|
31
|
-
label?: string
|
|
32
|
-
checked?: boolean
|
|
33
|
-
disabled?: boolean
|
|
34
|
-
tabindex?: number
|
|
29
|
+
class?: string;
|
|
30
|
+
classDot?: string;
|
|
31
|
+
label?: string;
|
|
32
|
+
checked?: boolean;
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
tabindex?: number;
|
|
35
35
|
variant?: string | undefined;
|
|
36
|
-
stopPropagation?: boolean
|
|
37
|
-
preventDefault?: boolean
|
|
38
|
-
preHook?: SwitchPreHook
|
|
39
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl"
|
|
36
|
+
stopPropagation?: boolean;
|
|
37
|
+
preventDefault?: boolean;
|
|
38
|
+
preHook?: SwitchPreHook;
|
|
39
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
40
40
|
};
|
|
41
41
|
events: {
|
|
42
42
|
click: MouseEvent;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SvelteComponent } from "svelte";
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
|
-
class?: string
|
|
5
|
-
strokeWidth?: 1 |
|
|
4
|
+
class?: string;
|
|
5
|
+
strokeWidth?: 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4;
|
|
6
6
|
};
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|