@websline/system-components 1.4.8 → 1.5.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/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.d.ts +10 -10
- 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.d.ts +6 -6
- 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.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/theme.svelte.d.ts +2 -2
- package/package.json +33 -33
|
@@ -7,67 +7,67 @@ declare const Radio: 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,31 +7,31 @@ declare const Select: import("svelte").Component<{
|
|
|
7
7
|
/**
|
|
8
8
|
* Content to display at the start of the field (e.g., icon or text)
|
|
9
9
|
*/
|
|
10
|
-
adornmentStart?: string |
|
|
10
|
+
adornmentStart?: string | Function | SvelteComponent<Record<string, any>, any, any> | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* Appearance of the button variant
|
|
13
13
|
*/
|
|
14
|
-
buttonAppearance?: "default" | "raised";
|
|
14
|
+
buttonAppearance?: "default" | "raised" | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* Size of the button variant
|
|
17
17
|
*/
|
|
18
|
-
buttonSize?: "small" | "medium" | "large";
|
|
18
|
+
buttonSize?: "small" | "medium" | "large" | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* Additional CSS classes for the select
|
|
21
21
|
*/
|
|
22
|
-
class?: string;
|
|
22
|
+
class?: string | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* Whether the select field is disabled
|
|
25
25
|
*/
|
|
26
|
-
disabled?: boolean;
|
|
26
|
+
disabled?: boolean | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* Whether the select field has an error
|
|
29
29
|
*/
|
|
30
|
-
error?: boolean;
|
|
30
|
+
error?: boolean | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* The id attr of the select field
|
|
33
33
|
*/
|
|
34
|
-
id?: string;
|
|
34
|
+
id?: string | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* required array of option objects for the select
|
|
37
37
|
*/
|
|
@@ -39,53 +39,53 @@ declare const Select: import("svelte").Component<{
|
|
|
39
39
|
disabled?: boolean;
|
|
40
40
|
label: string;
|
|
41
41
|
value: string;
|
|
42
|
-
}[];
|
|
42
|
+
}[] | undefined;
|
|
43
43
|
/**
|
|
44
44
|
* The placeholder text that shows when no option is preselected
|
|
45
45
|
*/
|
|
46
|
-
placeholder?: string;
|
|
46
|
+
placeholder?: string | undefined;
|
|
47
47
|
/**
|
|
48
48
|
* Whether the select field is required
|
|
49
49
|
*/
|
|
50
|
-
required?: boolean;
|
|
50
|
+
required?: boolean | undefined;
|
|
51
51
|
/**
|
|
52
52
|
* The value of the input, bound to the component
|
|
53
53
|
*/
|
|
54
|
-
value?: string;
|
|
54
|
+
value?: string | undefined;
|
|
55
55
|
/**
|
|
56
56
|
* The variant of the component
|
|
57
57
|
*/
|
|
58
|
-
variant?: "
|
|
58
|
+
variant?: "button" | "default" | undefined;
|
|
59
59
|
}, {}, "value">;
|
|
60
60
|
type Props = {
|
|
61
61
|
/**
|
|
62
62
|
* Content to display at the start of the field (e.g., icon or text)
|
|
63
63
|
*/
|
|
64
|
-
adornmentStart?: string |
|
|
64
|
+
adornmentStart?: string | Function | SvelteComponent<Record<string, any>, any, any> | undefined;
|
|
65
65
|
/**
|
|
66
66
|
* Appearance of the button variant
|
|
67
67
|
*/
|
|
68
|
-
buttonAppearance?: "default" | "raised";
|
|
68
|
+
buttonAppearance?: "default" | "raised" | undefined;
|
|
69
69
|
/**
|
|
70
70
|
* Size of the button variant
|
|
71
71
|
*/
|
|
72
|
-
buttonSize?: "small" | "medium" | "large";
|
|
72
|
+
buttonSize?: "small" | "medium" | "large" | undefined;
|
|
73
73
|
/**
|
|
74
74
|
* Additional CSS classes for the select
|
|
75
75
|
*/
|
|
76
|
-
class?: string;
|
|
76
|
+
class?: string | undefined;
|
|
77
77
|
/**
|
|
78
78
|
* Whether the select field is disabled
|
|
79
79
|
*/
|
|
80
|
-
disabled?: boolean;
|
|
80
|
+
disabled?: boolean | undefined;
|
|
81
81
|
/**
|
|
82
82
|
* Whether the select field has an error
|
|
83
83
|
*/
|
|
84
|
-
error?: boolean;
|
|
84
|
+
error?: boolean | undefined;
|
|
85
85
|
/**
|
|
86
86
|
* The id attr of the select field
|
|
87
87
|
*/
|
|
88
|
-
id?: string;
|
|
88
|
+
id?: string | undefined;
|
|
89
89
|
/**
|
|
90
90
|
* required array of option objects for the select
|
|
91
91
|
*/
|
|
@@ -93,21 +93,22 @@ type Props = {
|
|
|
93
93
|
disabled?: boolean;
|
|
94
94
|
label: string;
|
|
95
95
|
value: string;
|
|
96
|
-
}[];
|
|
96
|
+
}[] | undefined;
|
|
97
97
|
/**
|
|
98
98
|
* The placeholder text that shows when no option is preselected
|
|
99
99
|
*/
|
|
100
|
-
placeholder?: string;
|
|
100
|
+
placeholder?: string | undefined;
|
|
101
101
|
/**
|
|
102
102
|
* Whether the select field is required
|
|
103
103
|
*/
|
|
104
|
-
required?: boolean;
|
|
104
|
+
required?: boolean | undefined;
|
|
105
105
|
/**
|
|
106
106
|
* The value of the input, bound to the component
|
|
107
107
|
*/
|
|
108
|
-
value?: string;
|
|
108
|
+
value?: string | undefined;
|
|
109
109
|
/**
|
|
110
110
|
* The variant of the component
|
|
111
111
|
*/
|
|
112
|
-
variant?: "
|
|
112
|
+
variant?: "button" | "default" | undefined;
|
|
113
113
|
};
|
|
114
|
+
import { SvelteComponent } from "svelte";
|
|
@@ -7,67 +7,67 @@ declare const Switch: import("svelte").Component<{
|
|
|
7
7
|
/**
|
|
8
8
|
* Wether this switch 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 switch is disabled
|
|
17
17
|
*/
|
|
18
|
-
disabled?: boolean;
|
|
18
|
+
disabled?: boolean | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* Whether the switch has an error state
|
|
21
21
|
*/
|
|
22
|
-
error?: boolean;
|
|
22
|
+
error?: boolean | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* The ID of the switch element
|
|
25
25
|
*/
|
|
26
|
-
id?: string;
|
|
26
|
+
id?: string | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* The name of the switch, used for form submission
|
|
29
29
|
*/
|
|
30
|
-
name?: string;
|
|
30
|
+
name?: string | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* Whether the switch is required
|
|
33
33
|
*/
|
|
34
|
-
required?: boolean;
|
|
34
|
+
required?: boolean | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* The value of the switch
|
|
37
37
|
*/
|
|
38
|
-
value?: string;
|
|
38
|
+
value?: string | undefined;
|
|
39
39
|
}, {}, "checked">;
|
|
40
40
|
type Props = {
|
|
41
41
|
/**
|
|
42
42
|
* Wether this switch 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 switch is disabled
|
|
51
51
|
*/
|
|
52
|
-
disabled?: boolean;
|
|
52
|
+
disabled?: boolean | undefined;
|
|
53
53
|
/**
|
|
54
54
|
* Whether the switch has an error state
|
|
55
55
|
*/
|
|
56
|
-
error?: boolean;
|
|
56
|
+
error?: boolean | undefined;
|
|
57
57
|
/**
|
|
58
58
|
* The ID of the switch element
|
|
59
59
|
*/
|
|
60
|
-
id?: string;
|
|
60
|
+
id?: string | undefined;
|
|
61
61
|
/**
|
|
62
62
|
* The name of the switch, used for form submission
|
|
63
63
|
*/
|
|
64
|
-
name?: string;
|
|
64
|
+
name?: string | undefined;
|
|
65
65
|
/**
|
|
66
66
|
* Whether the switch is required
|
|
67
67
|
*/
|
|
68
|
-
required?: boolean;
|
|
68
|
+
required?: boolean | undefined;
|
|
69
69
|
/**
|
|
70
70
|
* The value of the switch
|
|
71
71
|
*/
|
|
72
|
-
value?: string;
|
|
72
|
+
value?: string | undefined;
|
|
73
73
|
};
|
|
@@ -7,67 +7,67 @@ declare const Tag: import("svelte").Component<{
|
|
|
7
7
|
/**
|
|
8
8
|
* Content inside the tag – 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 tag
|
|
13
13
|
*/
|
|
14
|
-
class?: string;
|
|
14
|
+
class?: string | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* Name of the icon to display at the end
|
|
17
17
|
*/
|
|
18
|
-
iconEnd?: string;
|
|
18
|
+
iconEnd?: string | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* Name of the icon to display at the start
|
|
21
21
|
*/
|
|
22
|
-
iconStart?: string;
|
|
22
|
+
iconStart?: string | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* Whether the tag is in a visually selected state
|
|
25
25
|
*/
|
|
26
|
-
selected?: boolean;
|
|
26
|
+
selected?: boolean | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* Shape of the tag
|
|
29
29
|
*/
|
|
30
|
-
shape?: "round" | "round-big";
|
|
30
|
+
shape?: "round" | "round-big" | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* Size of the tag
|
|
33
33
|
*/
|
|
34
|
-
size?: "small" | "big";
|
|
34
|
+
size?: "small" | "big" | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* Visual style of the tag
|
|
37
37
|
*/
|
|
38
|
-
variant?: "filled" | "outline";
|
|
38
|
+
variant?: "filled" | "outline" | undefined;
|
|
39
39
|
}, {}, "">;
|
|
40
40
|
type Props = {
|
|
41
41
|
/**
|
|
42
42
|
* Content inside the tag – can be text, HTML, or Svelte components
|
|
43
43
|
*/
|
|
44
|
-
children?: import("svelte").Snippet;
|
|
44
|
+
children?: import("svelte").Snippet<[]> | undefined;
|
|
45
45
|
/**
|
|
46
46
|
* Additional CSS classes for the tag
|
|
47
47
|
*/
|
|
48
|
-
class?: string;
|
|
48
|
+
class?: string | undefined;
|
|
49
49
|
/**
|
|
50
50
|
* Name of the icon to display at the end
|
|
51
51
|
*/
|
|
52
|
-
iconEnd?: string;
|
|
52
|
+
iconEnd?: string | undefined;
|
|
53
53
|
/**
|
|
54
54
|
* Name of the icon to display at the start
|
|
55
55
|
*/
|
|
56
|
-
iconStart?: string;
|
|
56
|
+
iconStart?: string | undefined;
|
|
57
57
|
/**
|
|
58
58
|
* Whether the tag is in a visually selected state
|
|
59
59
|
*/
|
|
60
|
-
selected?: boolean;
|
|
60
|
+
selected?: boolean | undefined;
|
|
61
61
|
/**
|
|
62
62
|
* Shape of the tag
|
|
63
63
|
*/
|
|
64
|
-
shape?: "round" | "round-big";
|
|
64
|
+
shape?: "round" | "round-big" | undefined;
|
|
65
65
|
/**
|
|
66
66
|
* Size of the tag
|
|
67
67
|
*/
|
|
68
|
-
size?: "small" | "big";
|
|
68
|
+
size?: "small" | "big" | undefined;
|
|
69
69
|
/**
|
|
70
70
|
* Visual style of the tag
|
|
71
71
|
*/
|
|
72
|
-
variant?: "filled" | "outline";
|
|
72
|
+
variant?: "filled" | "outline" | undefined;
|
|
73
73
|
};
|
|
@@ -7,83 +7,83 @@ declare const Textarea: import("svelte").Component<{
|
|
|
7
7
|
/**
|
|
8
8
|
* Additional CSS classes to apply to the component
|
|
9
9
|
*/
|
|
10
|
-
class?: string;
|
|
10
|
+
class?: string | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* Whether the textarea is disabled
|
|
13
13
|
*/
|
|
14
|
-
disabled?: boolean;
|
|
14
|
+
disabled?: boolean | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* Whether the textarea has an error state
|
|
17
17
|
*/
|
|
18
|
-
error?: boolean;
|
|
18
|
+
error?: boolean | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* The ID of the textarea element
|
|
21
21
|
*/
|
|
22
|
-
id?: string;
|
|
22
|
+
id?: string | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* The name of the textarea, used for form submission
|
|
25
25
|
*/
|
|
26
|
-
name?: string;
|
|
26
|
+
name?: string | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* Placeholder text for the textarea
|
|
29
29
|
*/
|
|
30
|
-
placeholder?: string;
|
|
30
|
+
placeholder?: string | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* Whether the textarea is read-only
|
|
33
33
|
*/
|
|
34
|
-
readonly?: boolean;
|
|
34
|
+
readonly?: boolean | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* Whether the textarea is required
|
|
37
37
|
*/
|
|
38
|
-
required?: boolean;
|
|
38
|
+
required?: boolean | undefined;
|
|
39
39
|
/**
|
|
40
40
|
* Textarea size
|
|
41
41
|
*/
|
|
42
|
-
size?: "small" | "medium" | "large";
|
|
42
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
43
43
|
/**
|
|
44
44
|
* The value of the textarea, bound to the component
|
|
45
45
|
*/
|
|
46
|
-
value?: string;
|
|
46
|
+
value?: string | undefined;
|
|
47
47
|
}, {}, "value">;
|
|
48
48
|
type Props = {
|
|
49
49
|
/**
|
|
50
50
|
* Additional CSS classes to apply to the component
|
|
51
51
|
*/
|
|
52
|
-
class?: string;
|
|
52
|
+
class?: string | undefined;
|
|
53
53
|
/**
|
|
54
54
|
* Whether the textarea is disabled
|
|
55
55
|
*/
|
|
56
|
-
disabled?: boolean;
|
|
56
|
+
disabled?: boolean | undefined;
|
|
57
57
|
/**
|
|
58
58
|
* Whether the textarea has an error state
|
|
59
59
|
*/
|
|
60
|
-
error?: boolean;
|
|
60
|
+
error?: boolean | undefined;
|
|
61
61
|
/**
|
|
62
62
|
* The ID of the textarea element
|
|
63
63
|
*/
|
|
64
|
-
id?: string;
|
|
64
|
+
id?: string | undefined;
|
|
65
65
|
/**
|
|
66
66
|
* The name of the textarea, used for form submission
|
|
67
67
|
*/
|
|
68
|
-
name?: string;
|
|
68
|
+
name?: string | undefined;
|
|
69
69
|
/**
|
|
70
70
|
* Placeholder text for the textarea
|
|
71
71
|
*/
|
|
72
|
-
placeholder?: string;
|
|
72
|
+
placeholder?: string | undefined;
|
|
73
73
|
/**
|
|
74
74
|
* Whether the textarea is read-only
|
|
75
75
|
*/
|
|
76
|
-
readonly?: boolean;
|
|
76
|
+
readonly?: boolean | undefined;
|
|
77
77
|
/**
|
|
78
78
|
* Whether the textarea is required
|
|
79
79
|
*/
|
|
80
|
-
required?: boolean;
|
|
80
|
+
required?: boolean | undefined;
|
|
81
81
|
/**
|
|
82
82
|
* Textarea size
|
|
83
83
|
*/
|
|
84
|
-
size?: "small" | "medium" | "large";
|
|
84
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
85
85
|
/**
|
|
86
86
|
* The value of the textarea, bound to the component
|
|
87
87
|
*/
|
|
88
|
-
value?: string;
|
|
88
|
+
value?: string | undefined;
|
|
89
89
|
};
|
|
@@ -7,19 +7,19 @@ declare const XScroll: 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
|
* Additional CSS classes to apply to the component
|
|
13
13
|
*/
|
|
14
|
-
class?: string;
|
|
14
|
+
class?: string | undefined;
|
|
15
15
|
}, {}, "">;
|
|
16
16
|
type Props = {
|
|
17
17
|
/**
|
|
18
18
|
* Children content – can be text, HTML, or other Svelte components
|
|
19
19
|
*/
|
|
20
|
-
children?: import("svelte").Snippet;
|
|
20
|
+
children?: import("svelte").Snippet<[]> | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* Additional CSS classes to apply to the component
|
|
23
23
|
*/
|
|
24
|
-
class?: string;
|
|
24
|
+
class?: string | undefined;
|
|
25
25
|
};
|
|
@@ -7,36 +7,36 @@ declare const Calendar: import("svelte").Component<Omit<import("bits-ui").Calend
|
|
|
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
|
* Additional CSS classes to apply to the component
|
|
13
13
|
*/
|
|
14
|
-
class?: string;
|
|
14
|
+
class?: string | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* Whether to show the header or not
|
|
17
17
|
*/
|
|
18
|
-
hideHeader?: boolean;
|
|
18
|
+
hideHeader?: boolean | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* The maximum of months to display side by side
|
|
21
21
|
*/
|
|
22
|
-
maxMonths?: number;
|
|
22
|
+
maxMonths?: number | undefined;
|
|
23
23
|
}, {}, "value" | "ref">;
|
|
24
24
|
import { Calendar } from "bits-ui";
|
|
25
25
|
type Props = {
|
|
26
26
|
/**
|
|
27
27
|
* Children content – can be text, HTML, or other Svelte components
|
|
28
28
|
*/
|
|
29
|
-
children?: import("svelte").Snippet;
|
|
29
|
+
children?: import("svelte").Snippet<[]> | undefined;
|
|
30
30
|
/**
|
|
31
31
|
* Additional CSS classes to apply to the component
|
|
32
32
|
*/
|
|
33
|
-
class?: string;
|
|
33
|
+
class?: string | undefined;
|
|
34
34
|
/**
|
|
35
35
|
* Whether to show the header or not
|
|
36
36
|
*/
|
|
37
|
-
hideHeader?: boolean;
|
|
37
|
+
hideHeader?: boolean | undefined;
|
|
38
38
|
/**
|
|
39
39
|
* The maximum of months to display side by side
|
|
40
40
|
*/
|
|
41
|
-
maxMonths?: number;
|
|
41
|
+
maxMonths?: number | undefined;
|
|
42
42
|
};
|
|
@@ -7,19 +7,19 @@ declare const Container: 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
|
* Additional CSS classes to apply to the component
|
|
13
13
|
*/
|
|
14
|
-
class?: string;
|
|
14
|
+
class?: string | undefined;
|
|
15
15
|
}, {}, "">;
|
|
16
16
|
type Props = {
|
|
17
17
|
/**
|
|
18
18
|
* Children content – can be text, HTML, or other Svelte components
|
|
19
19
|
*/
|
|
20
|
-
children?: import("svelte").Snippet;
|
|
20
|
+
children?: import("svelte").Snippet<[]> | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* Additional CSS classes to apply to the component
|
|
23
23
|
*/
|
|
24
|
-
class?: string;
|
|
24
|
+
class?: string | undefined;
|
|
25
25
|
};
|
|
@@ -7,11 +7,11 @@ declare const Weekdays: import("svelte").Component<Omit<import("bits-ui").Calend
|
|
|
7
7
|
/**
|
|
8
8
|
* Additional CSS classes to apply to the component
|
|
9
9
|
*/
|
|
10
|
-
class?: string;
|
|
10
|
+
class?: string | undefined;
|
|
11
11
|
}, {}, "">;
|
|
12
12
|
type Props = {
|
|
13
13
|
/**
|
|
14
14
|
* Additional CSS classes to apply to the component
|
|
15
15
|
*/
|
|
16
|
-
class?: string;
|
|
16
|
+
class?: string | undefined;
|
|
17
17
|
};
|
|
@@ -3,17 +3,17 @@ export const calendarVariants: import("tailwind-variants").TVReturnType<{
|
|
|
3
3
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4
4
|
heading?: import("tailwind-variants").ClassValue;
|
|
5
5
|
base?: import("tailwind-variants").ClassValue;
|
|
6
|
-
dateCell?: import("tailwind-variants").ClassValue;
|
|
7
|
-
dateDay?: import("tailwind-variants").ClassValue;
|
|
8
6
|
grid?: import("tailwind-variants").ClassValue;
|
|
9
7
|
gridHead?: import("tailwind-variants").ClassValue;
|
|
10
8
|
gridHeadCell?: import("tailwind-variants").ClassValue;
|
|
11
9
|
gridRow?: import("tailwind-variants").ClassValue;
|
|
12
10
|
gridWrapper?: import("tailwind-variants").ClassValue;
|
|
13
11
|
header?: import("tailwind-variants").ClassValue;
|
|
14
|
-
headerBtn?: import("tailwind-variants").ClassValue;
|
|
15
12
|
rangeBg?: import("tailwind-variants").ClassValue;
|
|
16
13
|
rangeWrapper?: import("tailwind-variants").ClassValue;
|
|
14
|
+
dateCell?: import("tailwind-variants").ClassValue;
|
|
15
|
+
dateDay?: import("tailwind-variants").ClassValue;
|
|
16
|
+
headerBtn?: import("tailwind-variants").ClassValue;
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
} | {
|
|
@@ -21,17 +21,17 @@ export const calendarVariants: import("tailwind-variants").TVReturnType<{
|
|
|
21
21
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
22
22
|
heading?: import("tailwind-variants").ClassValue;
|
|
23
23
|
base?: import("tailwind-variants").ClassValue;
|
|
24
|
-
dateCell?: import("tailwind-variants").ClassValue;
|
|
25
|
-
dateDay?: import("tailwind-variants").ClassValue;
|
|
26
24
|
grid?: import("tailwind-variants").ClassValue;
|
|
27
25
|
gridHead?: import("tailwind-variants").ClassValue;
|
|
28
26
|
gridHeadCell?: import("tailwind-variants").ClassValue;
|
|
29
27
|
gridRow?: import("tailwind-variants").ClassValue;
|
|
30
28
|
gridWrapper?: import("tailwind-variants").ClassValue;
|
|
31
29
|
header?: import("tailwind-variants").ClassValue;
|
|
32
|
-
headerBtn?: import("tailwind-variants").ClassValue;
|
|
33
30
|
rangeBg?: import("tailwind-variants").ClassValue;
|
|
34
31
|
rangeWrapper?: import("tailwind-variants").ClassValue;
|
|
32
|
+
dateCell?: import("tailwind-variants").ClassValue;
|
|
33
|
+
dateDay?: import("tailwind-variants").ClassValue;
|
|
34
|
+
headerBtn?: import("tailwind-variants").ClassValue;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
37
|
}, {
|