@websline/system-components 1.4.8 → 1.5.1
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/components/atoms/actions/button/Button.svelte.d.ts +24 -24
- package/dist/components/atoms/actions/closeButton/CloseButton.svelte.d.ts +10 -10
- package/dist/components/atoms/actions/iconButton/IconButton.svelte.d.ts +20 -20
- package/dist/components/atoms/avatar/Avatar.svelte.d.ts +14 -14
- package/dist/components/atoms/badge/Badge.svelte.d.ts +14 -14
- package/dist/components/atoms/checkbox/Checkbox.svelte.d.ts +16 -16
- package/dist/components/atoms/chip/Chip.svelte.d.ts +18 -18
- package/dist/components/atoms/colorChip/ColorChip.svelte.d.ts +14 -14
- package/dist/components/atoms/feedback/progressBar/ProgressBar.svelte.d.ts +8 -8
- package/dist/components/atoms/feedback/spinner/Spinner.svelte.d.ts +4 -4
- package/dist/components/atoms/helperText/HelperText.svelte.d.ts +6 -6
- package/dist/components/atoms/icon/components/Academy.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Add.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Ai.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/AiStars.svelte.d.ts +6 -6
- package/dist/components/atoms/icon/components/AlignBottom.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/AlignBottomOne.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/AlignCenter.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/AlignCenterOne.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/AlignLeft.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/AlignMiddle.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/AlignMiddleOne.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/AlignRight.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/AlignRightOne.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/AlignTop.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/AlignTopOne.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/ArrowDown.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/ArrowUp.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Attach.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Bed.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Block.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Bold.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/BoxIn.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/BoxOut.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Calendar.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Check.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/CheckboxStack.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/ChevronDoubleLeft.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/ChevronDoubleRight.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/ChevronDown.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Clipboard.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Close.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/CloseSmall.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Computer.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Connect.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/ConnectCrossed.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/ContactCard.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Controlling.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Coupons.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Crop.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Dashboard.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Database.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Download.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Dragger.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Envelope.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Envelopes.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Expand.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Eye.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/EyeCrossed.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/FilePDF.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Filter.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/FocalPoint.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/FolderPlus.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Food.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Funnel.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Globe.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/History.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Hourglass.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Inbox.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Info.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Intergration.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Italic.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Layout.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Lightning.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Link.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/LinkAi.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/ListOrdered.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/ListTasks.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/ListUnordered.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Lock.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Menu.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Minus.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Notifications.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Offer.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Out.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Overflow.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Page.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/PageClock.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/PageEdit.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/PageLayout.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Pages.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Payment.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Pencil.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Phone.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Picture.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Print.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Redo.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Refresh.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/RefreshCircle.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Replace.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Report.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Resource.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/SEO.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Search.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Settings.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Shop.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Smartphone.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Sort.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/SpacingL.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/SpacingM.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/SpacingNone.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/SpacingS.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/SpacingXL.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Star.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/StyleGuide.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Tablet.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Translate.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/TranslateCrossed.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Trash.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Underline.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Undo.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/WebslineSupport.svelte.d.ts +8 -8
- package/dist/components/atoms/icon/components/Width.svelte.d.ts +8 -8
- package/dist/components/atoms/input/Input.svelte.d.ts +27 -26
- package/dist/components/atoms/label/Label.svelte.d.ts +10 -10
- package/dist/components/atoms/radio/Radio.svelte.d.ts +16 -16
- package/dist/components/atoms/select/Select.svelte.d.ts +25 -24
- package/dist/components/atoms/switch/Switch.svelte.d.ts +16 -16
- package/dist/components/atoms/tag/Tag.svelte.d.ts +16 -16
- package/dist/components/atoms/textarea/Textarea.svelte.d.ts +20 -20
- package/dist/components/atoms/utils/xScroll/XScroll.svelte.d.ts +4 -4
- package/dist/components/molecules/calendar/Calendar.svelte.d.ts +8 -8
- package/dist/components/molecules/calendar/Container.svelte.d.ts +4 -4
- package/dist/components/molecules/calendar/Weekdays.svelte.d.ts +2 -2
- package/dist/components/molecules/calendar/calendar.variant.d.ts +6 -6
- package/dist/components/molecules/comboBox/ComboBox.svelte.d.ts +22 -22
- package/dist/components/molecules/formActions/FormActions.svelte.d.ts +8 -8
- package/dist/components/molecules/formField/FormField.svelte.d.ts +20 -20
- package/dist/components/molecules/formLayout/FormLayout.svelte.d.ts +6 -6
- package/dist/components/molecules/notifications/systemAlert/SystemAlert.svelte.d.ts +12 -12
- package/dist/components/molecules/notifications/toast/Toast.svelte +3 -0
- package/dist/components/molecules/notifications/toast/Toast.svelte.d.ts +18 -10
- package/dist/components/molecules/notifications/toast/toast.variants.js +1 -1
- package/dist/components/molecules/pickers/colorSwatch/ColorSwatch.svelte.d.ts +12 -12
- package/dist/components/molecules/richTextEditor/RichTextEditor.svelte +14 -5
- package/dist/components/molecules/richTextEditor/toolbar/ToolbarLink.svelte +2 -1
- package/dist/components/molecules/selectorCard/SelectorCard.svelte.d.ts +24 -24
- package/dist/components/molecules/tagSelector/TagSelector.svelte.d.ts +22 -22
- package/dist/components/molecules/toggleGroup/ToggleGroup.svelte.d.ts +18 -18
- package/dist/components/molecules/toggleGroup/ToggleGroupItem.svelte.d.ts +8 -8
- package/dist/components/organisms/dialog/Dialog.svelte.d.ts +6 -6
- package/dist/components/organisms/dialog/DialogAction.svelte +5 -9
- package/dist/components/organisms/dialog/DialogAction.svelte.d.ts +6 -6
- package/dist/components/organisms/dialog/DialogActions.svelte +18 -3
- package/dist/components/organisms/dialog/DialogActions.svelte.d.ts +4 -4
- package/dist/components/organisms/dialog/DialogBody.svelte.d.ts +4 -4
- package/dist/components/organisms/dialog/DialogContent.svelte.d.ts +12 -12
- package/dist/components/organisms/dialog/DialogTrigger.svelte.d.ts +2 -2
- package/dist/components/organisms/modal/Modal.svelte.d.ts +6 -6
- package/dist/components/organisms/modal/ModalBody.svelte.d.ts +6 -6
- package/dist/components/organisms/modal/ModalContent.svelte.d.ts +12 -12
- package/dist/components/organisms/modal/ModalHeader.svelte.d.ts +6 -6
- package/dist/components/organisms/modal/ModalTrigger.svelte.d.ts +2 -2
- package/dist/components/organisms/notificationGroup/NotificationGroup.svelte +14 -7
- package/dist/components/organisms/notificationGroup/NotificationGroup.svelte.d.ts +2 -2
- package/dist/components/organisms/popover/Popover.svelte.d.ts +2 -2
- package/dist/components/organisms/popover/PopoverContent.svelte.d.ts +22 -22
- package/dist/components/organisms/popover/PopoverTrigger.svelte.d.ts +2 -2
- package/dist/components/organisms/tooltip/Content.svelte.d.ts +12 -12
- package/dist/components/organisms/tooltip/Tooltip.svelte.d.ts +2 -2
- package/dist/components/organisms/tooltip/Trigger.svelte.d.ts +2 -2
- package/dist/utils/notification.d.ts +1 -1
- package/dist/utils/notification.js +7 -1
- package/dist/utils/theme.svelte.d.ts +2 -2
- package/package.json +33 -33
|
@@ -7,99 +7,99 @@ declare const Button: import("svelte").Component<{
|
|
|
7
7
|
/**
|
|
8
8
|
* Children content – can be text, HTML, or other Svelte components
|
|
9
9
|
*/
|
|
10
|
-
children?: import("svelte").Snippet;
|
|
10
|
+
children?: import("svelte").Snippet<[]> | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* The HTML element to use for the button
|
|
13
13
|
*/
|
|
14
|
-
as?: string;
|
|
14
|
+
as?: string | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* Additional CSS classes to apply to the component
|
|
17
17
|
*/
|
|
18
|
-
class?: string;
|
|
18
|
+
class?: string | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* Button color
|
|
21
21
|
*/
|
|
22
|
-
color?: "primary" | "secondary" | "success" |
|
|
22
|
+
color?: "error" | "primary" | "secondary" | "success" | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* Whether the button is disabled
|
|
25
25
|
*/
|
|
26
|
-
disabled?: boolean;
|
|
26
|
+
disabled?: boolean | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* Whether the button should take the full width of its container
|
|
29
29
|
*/
|
|
30
|
-
fullWidth?: boolean;
|
|
30
|
+
fullWidth?: boolean | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* Name of the icon to add to this button
|
|
33
33
|
*/
|
|
34
|
-
icon?: string;
|
|
34
|
+
icon?: string | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* Position for this button's icon
|
|
37
37
|
*/
|
|
38
|
-
iconPosition?: "
|
|
38
|
+
iconPosition?: "end" | "start" | undefined;
|
|
39
39
|
/**
|
|
40
40
|
* Whether the button is in a loading state, for example after a form submission
|
|
41
41
|
*/
|
|
42
|
-
loading?: boolean;
|
|
42
|
+
loading?: boolean | undefined;
|
|
43
43
|
/**
|
|
44
44
|
* Button size
|
|
45
45
|
*/
|
|
46
|
-
size?: "small" | "medium" | "large";
|
|
46
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
47
47
|
/**
|
|
48
48
|
* Button type, e.g. "button", "submit", "reset"
|
|
49
49
|
*/
|
|
50
|
-
type?: string;
|
|
50
|
+
type?: string | undefined;
|
|
51
51
|
/**
|
|
52
52
|
* Button style
|
|
53
53
|
*/
|
|
54
|
-
variant?: "filled" | "outlined" |
|
|
54
|
+
variant?: "text" | "filled" | "outlined" | undefined;
|
|
55
55
|
}, {}, "">;
|
|
56
56
|
type Props = {
|
|
57
57
|
/**
|
|
58
58
|
* Children content – can be text, HTML, or other Svelte components
|
|
59
59
|
*/
|
|
60
|
-
children?: import("svelte").Snippet;
|
|
60
|
+
children?: import("svelte").Snippet<[]> | undefined;
|
|
61
61
|
/**
|
|
62
62
|
* The HTML element to use for the button
|
|
63
63
|
*/
|
|
64
|
-
as?: string;
|
|
64
|
+
as?: string | undefined;
|
|
65
65
|
/**
|
|
66
66
|
* Additional CSS classes to apply to the component
|
|
67
67
|
*/
|
|
68
|
-
class?: string;
|
|
68
|
+
class?: string | undefined;
|
|
69
69
|
/**
|
|
70
70
|
* Button color
|
|
71
71
|
*/
|
|
72
|
-
color?: "primary" | "secondary" | "success" |
|
|
72
|
+
color?: "error" | "primary" | "secondary" | "success" | undefined;
|
|
73
73
|
/**
|
|
74
74
|
* Whether the button is disabled
|
|
75
75
|
*/
|
|
76
|
-
disabled?: boolean;
|
|
76
|
+
disabled?: boolean | undefined;
|
|
77
77
|
/**
|
|
78
78
|
* Whether the button should take the full width of its container
|
|
79
79
|
*/
|
|
80
|
-
fullWidth?: boolean;
|
|
80
|
+
fullWidth?: boolean | undefined;
|
|
81
81
|
/**
|
|
82
82
|
* Name of the icon to add to this button
|
|
83
83
|
*/
|
|
84
|
-
icon?: string;
|
|
84
|
+
icon?: string | undefined;
|
|
85
85
|
/**
|
|
86
86
|
* Position for this button's icon
|
|
87
87
|
*/
|
|
88
|
-
iconPosition?: "
|
|
88
|
+
iconPosition?: "end" | "start" | undefined;
|
|
89
89
|
/**
|
|
90
90
|
* Whether the button is in a loading state, for example after a form submission
|
|
91
91
|
*/
|
|
92
|
-
loading?: boolean;
|
|
92
|
+
loading?: boolean | undefined;
|
|
93
93
|
/**
|
|
94
94
|
* Button size
|
|
95
95
|
*/
|
|
96
|
-
size?: "small" | "medium" | "large";
|
|
96
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
97
97
|
/**
|
|
98
98
|
* Button type, e.g. "button", "submit", "reset"
|
|
99
99
|
*/
|
|
100
|
-
type?: string;
|
|
100
|
+
type?: string | undefined;
|
|
101
101
|
/**
|
|
102
102
|
* Button style
|
|
103
103
|
*/
|
|
104
|
-
variant?: "filled" | "outlined" |
|
|
104
|
+
variant?: "text" | "filled" | "outlined" | undefined;
|
|
105
105
|
};
|
|
@@ -7,43 +7,43 @@ declare const CloseButton: import("svelte").Component<{
|
|
|
7
7
|
/**
|
|
8
8
|
* Whether the button should automatically close after a duration
|
|
9
9
|
*/
|
|
10
|
-
autoClose?: boolean;
|
|
10
|
+
autoClose?: boolean | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* Duration in seconds before auto-close triggers
|
|
13
13
|
*/
|
|
14
|
-
durationInSeconds?: number;
|
|
14
|
+
durationInSeconds?: number | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* Function to call when the button is clicked or auto-closed
|
|
17
17
|
*/
|
|
18
|
-
onClose?: (event: any) => void;
|
|
18
|
+
onClose?: ((event: any) => void) | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* Additional CSS classes to apply to the component
|
|
21
21
|
*/
|
|
22
|
-
class?: string;
|
|
22
|
+
class?: string | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* Button shape
|
|
25
25
|
*/
|
|
26
|
-
shape?: "circle" | "square";
|
|
26
|
+
shape?: "circle" | "square" | undefined;
|
|
27
27
|
}, {}, "">;
|
|
28
28
|
type Props = {
|
|
29
29
|
/**
|
|
30
30
|
* Whether the button should automatically close after a duration
|
|
31
31
|
*/
|
|
32
|
-
autoClose?: boolean;
|
|
32
|
+
autoClose?: boolean | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* Duration in seconds before auto-close triggers
|
|
35
35
|
*/
|
|
36
|
-
durationInSeconds?: number;
|
|
36
|
+
durationInSeconds?: number | undefined;
|
|
37
37
|
/**
|
|
38
38
|
* Function to call when the button is clicked or auto-closed
|
|
39
39
|
*/
|
|
40
|
-
onClose?: (event: any) => void;
|
|
40
|
+
onClose?: ((event: any) => void) | undefined;
|
|
41
41
|
/**
|
|
42
42
|
* Additional CSS classes to apply to the component
|
|
43
43
|
*/
|
|
44
|
-
class?: string;
|
|
44
|
+
class?: string | undefined;
|
|
45
45
|
/**
|
|
46
46
|
* Button shape
|
|
47
47
|
*/
|
|
48
|
-
shape?: "circle" | "square";
|
|
48
|
+
shape?: "circle" | "square" | undefined;
|
|
49
49
|
};
|
|
@@ -7,27 +7,27 @@ declare const IconButton: import("svelte").Component<{
|
|
|
7
7
|
/**
|
|
8
8
|
* The HTML element to use for the button
|
|
9
9
|
*/
|
|
10
|
-
as?: string;
|
|
10
|
+
as?: string | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* Additional CSS classes to apply to the component
|
|
13
13
|
*/
|
|
14
|
-
class?: string;
|
|
14
|
+
class?: string | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* Button color
|
|
17
17
|
*/
|
|
18
|
-
color?: "
|
|
18
|
+
color?: "error" | "primary" | "secondary" | "success" | "default" | "transparent" | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* Whether the button is disabled
|
|
21
21
|
*/
|
|
22
|
-
disabled?: boolean;
|
|
22
|
+
disabled?: boolean | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* Whether the button is in a loading state, for example after a form submission
|
|
25
25
|
*/
|
|
26
|
-
loading?: boolean;
|
|
26
|
+
loading?: boolean | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* Icon name
|
|
29
29
|
*/
|
|
30
|
-
icon?: string;
|
|
30
|
+
icon?: string | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* Override the default icon size (size ==== large ? 24 : 16)
|
|
33
33
|
*/
|
|
@@ -35,45 +35,45 @@ declare const IconButton: import("svelte").Component<{
|
|
|
35
35
|
/**
|
|
36
36
|
* Button shape
|
|
37
37
|
*/
|
|
38
|
-
shape?: "circle" | "square";
|
|
38
|
+
shape?: "circle" | "square" | undefined;
|
|
39
39
|
/**
|
|
40
40
|
* Button size
|
|
41
41
|
*/
|
|
42
|
-
size?: "small" | "medium" | "large";
|
|
42
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
43
43
|
/**
|
|
44
44
|
* Button type, e.g. "button", "submit", "reset"
|
|
45
45
|
*/
|
|
46
|
-
type?: string;
|
|
46
|
+
type?: string | undefined;
|
|
47
47
|
/**
|
|
48
48
|
* Button style
|
|
49
49
|
*/
|
|
50
|
-
variant?: "filled" | "outlined";
|
|
50
|
+
variant?: "filled" | "outlined" | undefined;
|
|
51
51
|
}, {}, "">;
|
|
52
52
|
type Props = {
|
|
53
53
|
/**
|
|
54
54
|
* The HTML element to use for the button
|
|
55
55
|
*/
|
|
56
|
-
as?: string;
|
|
56
|
+
as?: string | undefined;
|
|
57
57
|
/**
|
|
58
58
|
* Additional CSS classes to apply to the component
|
|
59
59
|
*/
|
|
60
|
-
class?: string;
|
|
60
|
+
class?: string | undefined;
|
|
61
61
|
/**
|
|
62
62
|
* Button color
|
|
63
63
|
*/
|
|
64
|
-
color?: "
|
|
64
|
+
color?: "error" | "primary" | "secondary" | "success" | "default" | "transparent" | undefined;
|
|
65
65
|
/**
|
|
66
66
|
* Whether the button is disabled
|
|
67
67
|
*/
|
|
68
|
-
disabled?: boolean;
|
|
68
|
+
disabled?: boolean | undefined;
|
|
69
69
|
/**
|
|
70
70
|
* Whether the button is in a loading state, for example after a form submission
|
|
71
71
|
*/
|
|
72
|
-
loading?: boolean;
|
|
72
|
+
loading?: boolean | undefined;
|
|
73
73
|
/**
|
|
74
74
|
* Icon name
|
|
75
75
|
*/
|
|
76
|
-
icon?: string;
|
|
76
|
+
icon?: string | undefined;
|
|
77
77
|
/**
|
|
78
78
|
* Override the default icon size (size ==== large ? 24 : 16)
|
|
79
79
|
*/
|
|
@@ -81,17 +81,17 @@ type Props = {
|
|
|
81
81
|
/**
|
|
82
82
|
* Button shape
|
|
83
83
|
*/
|
|
84
|
-
shape?: "circle" | "square";
|
|
84
|
+
shape?: "circle" | "square" | undefined;
|
|
85
85
|
/**
|
|
86
86
|
* Button size
|
|
87
87
|
*/
|
|
88
|
-
size?: "small" | "medium" | "large";
|
|
88
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
89
89
|
/**
|
|
90
90
|
* Button type, e.g. "button", "submit", "reset"
|
|
91
91
|
*/
|
|
92
|
-
type?: string;
|
|
92
|
+
type?: string | undefined;
|
|
93
93
|
/**
|
|
94
94
|
* Button style
|
|
95
95
|
*/
|
|
96
|
-
variant?: "filled" | "outlined";
|
|
96
|
+
variant?: "filled" | "outlined" | undefined;
|
|
97
97
|
};
|
|
@@ -7,59 +7,59 @@ declare const Avatar: import("svelte").Component<{
|
|
|
7
7
|
/**
|
|
8
8
|
* The HTML element to use for the avatar
|
|
9
9
|
*/
|
|
10
|
-
as?: string;
|
|
10
|
+
as?: string | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* Additional CSS classes to apply to the component
|
|
13
13
|
*/
|
|
14
|
-
class?: string;
|
|
14
|
+
class?: string | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* Whether the avatar should be lazy-loaded
|
|
17
17
|
*/
|
|
18
|
-
lazy?: boolean;
|
|
18
|
+
lazy?: boolean | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* The name of the avatar
|
|
21
21
|
*/
|
|
22
|
-
name?: string;
|
|
22
|
+
name?: string | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* The shape of the avatar
|
|
25
25
|
*/
|
|
26
|
-
shape?: "circle" | "square";
|
|
26
|
+
shape?: "circle" | "square" | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* Avatar size
|
|
29
29
|
*/
|
|
30
|
-
size?: "small" | "medium" | "large" | "extraLarge";
|
|
30
|
+
size?: "small" | "medium" | "large" | "extraLarge" | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* The source URL of the avatar image
|
|
33
33
|
*/
|
|
34
|
-
src?: string;
|
|
34
|
+
src?: string | undefined;
|
|
35
35
|
}, {}, "">;
|
|
36
36
|
type Props = {
|
|
37
37
|
/**
|
|
38
38
|
* The HTML element to use for the avatar
|
|
39
39
|
*/
|
|
40
|
-
as?: string;
|
|
40
|
+
as?: string | undefined;
|
|
41
41
|
/**
|
|
42
42
|
* Additional CSS classes to apply to the component
|
|
43
43
|
*/
|
|
44
|
-
class?: string;
|
|
44
|
+
class?: string | undefined;
|
|
45
45
|
/**
|
|
46
46
|
* Whether the avatar should be lazy-loaded
|
|
47
47
|
*/
|
|
48
|
-
lazy?: boolean;
|
|
48
|
+
lazy?: boolean | undefined;
|
|
49
49
|
/**
|
|
50
50
|
* The name of the avatar
|
|
51
51
|
*/
|
|
52
|
-
name?: string;
|
|
52
|
+
name?: string | undefined;
|
|
53
53
|
/**
|
|
54
54
|
* The shape of the avatar
|
|
55
55
|
*/
|
|
56
|
-
shape?: "circle" | "square";
|
|
56
|
+
shape?: "circle" | "square" | undefined;
|
|
57
57
|
/**
|
|
58
58
|
* Avatar size
|
|
59
59
|
*/
|
|
60
|
-
size?: "small" | "medium" | "large" | "extraLarge";
|
|
60
|
+
size?: "small" | "medium" | "large" | "extraLarge" | undefined;
|
|
61
61
|
/**
|
|
62
62
|
* The source URL of the avatar image
|
|
63
63
|
*/
|
|
64
|
-
src?: string;
|
|
64
|
+
src?: string | undefined;
|
|
65
65
|
};
|
|
@@ -7,59 +7,59 @@ declare const Badge: import("svelte").Component<{
|
|
|
7
7
|
/**
|
|
8
8
|
* Horizontal position of the badge
|
|
9
9
|
*/
|
|
10
|
-
align?: "
|
|
10
|
+
align?: "end" | "start" | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* Vertical position of the badge
|
|
13
13
|
*/
|
|
14
|
-
anchor?: "
|
|
14
|
+
anchor?: "bottom" | "top" | "center" | "inline" | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* Children content – can be text, HTML, or other Svelte components
|
|
17
17
|
*/
|
|
18
|
-
children?: import("svelte").Snippet;
|
|
18
|
+
children?: import("svelte").Snippet<[]> | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* Additional CSS classes to apply to the badge
|
|
21
21
|
*/
|
|
22
|
-
class?: string;
|
|
22
|
+
class?: string | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* Set the color of the badge
|
|
25
25
|
*/
|
|
26
|
-
color?: "primary" | "secondary" |
|
|
26
|
+
color?: "error" | "primary" | "secondary" | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* Set the visible number in the badge
|
|
29
29
|
*/
|
|
30
|
-
count?: number;
|
|
30
|
+
count?: number | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* Additional CSS classes to apply to the badge wrapper
|
|
33
33
|
*/
|
|
34
|
-
wrapperClass?: string;
|
|
34
|
+
wrapperClass?: string | undefined;
|
|
35
35
|
}, {}, "">;
|
|
36
36
|
type Props = {
|
|
37
37
|
/**
|
|
38
38
|
* Horizontal position of the badge
|
|
39
39
|
*/
|
|
40
|
-
align?: "
|
|
40
|
+
align?: "end" | "start" | undefined;
|
|
41
41
|
/**
|
|
42
42
|
* Vertical position of the badge
|
|
43
43
|
*/
|
|
44
|
-
anchor?: "
|
|
44
|
+
anchor?: "bottom" | "top" | "center" | "inline" | undefined;
|
|
45
45
|
/**
|
|
46
46
|
* Children content – can be text, HTML, or other Svelte components
|
|
47
47
|
*/
|
|
48
|
-
children?: import("svelte").Snippet;
|
|
48
|
+
children?: import("svelte").Snippet<[]> | undefined;
|
|
49
49
|
/**
|
|
50
50
|
* Additional CSS classes to apply to the badge
|
|
51
51
|
*/
|
|
52
|
-
class?: string;
|
|
52
|
+
class?: string | undefined;
|
|
53
53
|
/**
|
|
54
54
|
* Set the color of the badge
|
|
55
55
|
*/
|
|
56
|
-
color?: "primary" | "secondary" |
|
|
56
|
+
color?: "error" | "primary" | "secondary" | undefined;
|
|
57
57
|
/**
|
|
58
58
|
* Set the visible number in the badge
|
|
59
59
|
*/
|
|
60
|
-
count?: number;
|
|
60
|
+
count?: number | undefined;
|
|
61
61
|
/**
|
|
62
62
|
* Additional CSS classes to apply to the badge wrapper
|
|
63
63
|
*/
|
|
64
|
-
wrapperClass?: string;
|
|
64
|
+
wrapperClass?: string | undefined;
|
|
65
65
|
};
|
|
@@ -7,67 +7,67 @@ declare const Checkbox: import("svelte").Component<{
|
|
|
7
7
|
/**
|
|
8
8
|
* Wether this radio is checked or not, bound to the component
|
|
9
9
|
*/
|
|
10
|
-
checked?: boolean;
|
|
10
|
+
checked?: boolean | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* Additional CSS classes to apply to the component
|
|
13
13
|
*/
|
|
14
|
-
class?: string;
|
|
14
|
+
class?: string | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* Whether the radio is disabled
|
|
17
17
|
*/
|
|
18
|
-
disabled?: boolean;
|
|
18
|
+
disabled?: boolean | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* Whether the radio has an error state
|
|
21
21
|
*/
|
|
22
|
-
error?: boolean;
|
|
22
|
+
error?: boolean | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* The ID of the radio element
|
|
25
25
|
*/
|
|
26
|
-
id?: string;
|
|
26
|
+
id?: string | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* The name of the radio, used for form submission
|
|
29
29
|
*/
|
|
30
|
-
name?: string;
|
|
30
|
+
name?: string | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* Whether the radio is required
|
|
33
33
|
*/
|
|
34
|
-
required?: boolean;
|
|
34
|
+
required?: boolean | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* The value of the radio
|
|
37
37
|
*/
|
|
38
|
-
value?: string;
|
|
38
|
+
value?: string | undefined;
|
|
39
39
|
}, {}, "checked">;
|
|
40
40
|
type Props = {
|
|
41
41
|
/**
|
|
42
42
|
* Wether this radio is checked or not, bound to the component
|
|
43
43
|
*/
|
|
44
|
-
checked?: boolean;
|
|
44
|
+
checked?: boolean | undefined;
|
|
45
45
|
/**
|
|
46
46
|
* Additional CSS classes to apply to the component
|
|
47
47
|
*/
|
|
48
|
-
class?: string;
|
|
48
|
+
class?: string | undefined;
|
|
49
49
|
/**
|
|
50
50
|
* Whether the radio is disabled
|
|
51
51
|
*/
|
|
52
|
-
disabled?: boolean;
|
|
52
|
+
disabled?: boolean | undefined;
|
|
53
53
|
/**
|
|
54
54
|
* Whether the radio has an error state
|
|
55
55
|
*/
|
|
56
|
-
error?: boolean;
|
|
56
|
+
error?: boolean | undefined;
|
|
57
57
|
/**
|
|
58
58
|
* The ID of the radio element
|
|
59
59
|
*/
|
|
60
|
-
id?: string;
|
|
60
|
+
id?: string | undefined;
|
|
61
61
|
/**
|
|
62
62
|
* The name of the radio, used for form submission
|
|
63
63
|
*/
|
|
64
|
-
name?: string;
|
|
64
|
+
name?: string | undefined;
|
|
65
65
|
/**
|
|
66
66
|
* Whether the radio is required
|
|
67
67
|
*/
|
|
68
|
-
required?: boolean;
|
|
68
|
+
required?: boolean | undefined;
|
|
69
69
|
/**
|
|
70
70
|
* The value of the radio
|
|
71
71
|
*/
|
|
72
|
-
value?: string;
|
|
72
|
+
value?: string | undefined;
|
|
73
73
|
};
|
|
@@ -7,75 +7,75 @@ declare const Chip: import("svelte").Component<{
|
|
|
7
7
|
/**
|
|
8
8
|
* Content inside the chip – can be text, HTML, or Svelte components
|
|
9
9
|
*/
|
|
10
|
-
children?: import("svelte").Snippet;
|
|
10
|
+
children?: import("svelte").Snippet<[]> | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* Additional CSS classes for the chip
|
|
13
13
|
*/
|
|
14
|
-
class?: string;
|
|
14
|
+
class?: string | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* Whether the Chip is clickable (this disables selected state)
|
|
17
17
|
*/
|
|
18
|
-
clickable?: boolean;
|
|
18
|
+
clickable?: boolean | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* Chip color variant
|
|
21
21
|
*/
|
|
22
|
-
color?: "
|
|
22
|
+
color?: "error" | "primary" | "success" | "default" | "warning" | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* Name of the icon to display
|
|
25
25
|
*/
|
|
26
|
-
icon?: string;
|
|
26
|
+
icon?: string | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* Position of the icon relative to the content
|
|
29
29
|
*/
|
|
30
|
-
iconPosition?: "
|
|
30
|
+
iconPosition?: "end" | "start" | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* Whether the chip is in a visually selected state
|
|
33
33
|
*/
|
|
34
|
-
selected?: boolean;
|
|
34
|
+
selected?: boolean | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* Size of the chip
|
|
37
37
|
*/
|
|
38
|
-
size?: "small" | "big";
|
|
38
|
+
size?: "small" | "big" | undefined;
|
|
39
39
|
/**
|
|
40
40
|
* Visual style of the chip
|
|
41
41
|
*/
|
|
42
|
-
variant?: "filled" | "
|
|
42
|
+
variant?: "filled" | "dashed" | "outline" | undefined;
|
|
43
43
|
}, {}, "">;
|
|
44
44
|
type Props = {
|
|
45
45
|
/**
|
|
46
46
|
* Content inside the chip – can be text, HTML, or Svelte components
|
|
47
47
|
*/
|
|
48
|
-
children?: import("svelte").Snippet;
|
|
48
|
+
children?: import("svelte").Snippet<[]> | undefined;
|
|
49
49
|
/**
|
|
50
50
|
* Additional CSS classes for the chip
|
|
51
51
|
*/
|
|
52
|
-
class?: string;
|
|
52
|
+
class?: string | undefined;
|
|
53
53
|
/**
|
|
54
54
|
* Whether the Chip is clickable (this disables selected state)
|
|
55
55
|
*/
|
|
56
|
-
clickable?: boolean;
|
|
56
|
+
clickable?: boolean | undefined;
|
|
57
57
|
/**
|
|
58
58
|
* Chip color variant
|
|
59
59
|
*/
|
|
60
|
-
color?: "
|
|
60
|
+
color?: "error" | "primary" | "success" | "default" | "warning" | undefined;
|
|
61
61
|
/**
|
|
62
62
|
* Name of the icon to display
|
|
63
63
|
*/
|
|
64
|
-
icon?: string;
|
|
64
|
+
icon?: string | undefined;
|
|
65
65
|
/**
|
|
66
66
|
* Position of the icon relative to the content
|
|
67
67
|
*/
|
|
68
|
-
iconPosition?: "
|
|
68
|
+
iconPosition?: "end" | "start" | undefined;
|
|
69
69
|
/**
|
|
70
70
|
* Whether the chip is in a visually selected state
|
|
71
71
|
*/
|
|
72
|
-
selected?: boolean;
|
|
72
|
+
selected?: boolean | undefined;
|
|
73
73
|
/**
|
|
74
74
|
* Size of the chip
|
|
75
75
|
*/
|
|
76
|
-
size?: "small" | "big";
|
|
76
|
+
size?: "small" | "big" | undefined;
|
|
77
77
|
/**
|
|
78
78
|
* Visual style of the chip
|
|
79
79
|
*/
|
|
80
|
-
variant?: "filled" | "
|
|
80
|
+
variant?: "filled" | "dashed" | "outline" | undefined;
|
|
81
81
|
};
|