@reshape-biotech/design-system 0.0.42 → 0.0.43
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/avatar/Avatar.svelte.d.ts +4 -4
- package/dist/components/banner/Banner.stories.svelte.d.ts +32 -15
- package/dist/components/banner/Banner.svelte +6 -6
- package/dist/components/banner/Banner.svelte.d.ts +6 -6
- package/dist/components/button/Button.stories.svelte.d.ts +32 -15
- package/dist/components/button/Button.svelte +81 -81
- package/dist/components/button/Button.svelte.d.ts +18 -14
- package/dist/components/datepicker/DatePicker.svelte +13 -12
- package/dist/components/datepicker/DatePicker.svelte.d.ts +3 -3
- package/dist/components/divider/Divider.stories.svelte.d.ts +44 -23
- package/dist/components/divider/Divider.svelte.d.ts +2 -2
- package/dist/components/drawer/Drawer.stories.svelte.d.ts +44 -23
- package/dist/components/drawer/Drawer.svelte.d.ts +7 -7
- package/dist/components/drawer/DrawerLabel.svelte +23 -25
- package/dist/components/drawer/DrawerLabel.svelte.d.ts +4 -4
- package/dist/components/dropdown/Dropdown.stories.svelte.d.ts +44 -23
- package/dist/components/dropdown/Dropdown.svelte.d.ts +23 -17
- package/dist/components/dropdown/components/DropdownContent.svelte.d.ts +4 -4
- package/dist/components/dropdown/components/DropdownMenu.svelte +2 -2
- package/dist/components/dropdown/components/DropdownMenu.svelte.d.ts +3 -3
- package/dist/components/dropdown/components/DropdownTrigger.svelte.d.ts +6 -6
- package/dist/components/dropdown/components/OutlinedButton.svelte +23 -25
- package/dist/components/dropdown/components/OutlinedButton.svelte.d.ts +3 -3
- package/dist/components/icon-button/IconButton.stories.svelte.d.ts +32 -15
- package/dist/components/icon-button/IconButton.svelte.d.ts +9 -9
- package/dist/components/image/Image.svelte +3 -3
- package/dist/components/image/Image.svelte.d.ts +3 -3
- package/dist/components/input/Input.stories.svelte.d.ts +44 -23
- package/dist/components/input/Input.svelte +26 -32
- package/dist/components/input/Input.svelte.d.ts +22 -18
- package/dist/components/list/List.stories.svelte.d.ts +32 -15
- package/dist/components/list/List.svelte +28 -33
- package/dist/components/list/List.svelte.d.ts +24 -15
- package/dist/components/logo/Logo.stories.svelte.d.ts +44 -23
- package/dist/components/logo/Logo.svelte.d.ts +2 -2
- package/dist/components/markdown/Markdown.stories.svelte.d.ts +44 -23
- package/dist/components/markdown/Markdown.svelte.d.ts +2 -2
- package/dist/components/modal/Modal.stories.svelte.d.ts +32 -15
- package/dist/components/modal/Modal.svelte +19 -3
- package/dist/components/modal/Modal.svelte.d.ts +16 -12
- package/dist/components/notification-popup/NotificationPopup.stories.svelte.d.ts +44 -23
- package/dist/components/notification-popup/NotificationPopup.svelte.d.ts +6 -6
- package/dist/components/pill/Pill.svelte +3 -3
- package/dist/components/pill/Pill.svelte.d.ts +6 -6
- package/dist/components/progress-circle/ProgressCircle.svelte +6 -10
- package/dist/components/progress-circle/ProgressCircle.svelte.d.ts +3 -3
- package/dist/components/segmented-control-buttons/ControlButton.svelte +10 -10
- package/dist/components/segmented-control-buttons/ControlButton.svelte.d.ts +8 -8
- package/dist/components/segmented-control-buttons/SegmentedControlButtons.stories.svelte.d.ts +32 -15
- package/dist/components/segmented-control-buttons/SegmentedControlButtons.svelte.d.ts +10 -6
- package/dist/components/select/Select.stories.svelte.d.ts +32 -15
- package/dist/components/select/Select.svelte +5 -5
- package/dist/components/select/Select.svelte.d.ts +81 -56
- package/dist/components/select/index.d.ts +4 -4
- package/dist/components/skeleton-loader/SkeletonLoader.stories.svelte.d.ts +44 -23
- package/dist/components/skeleton-loader/SkeletonLoader.svelte.d.ts +11 -7
- package/dist/components/skeleton-loader/StatcardSkeleton.svelte.d.ts +32 -15
- package/dist/components/skeleton-loader/components/Skeleton.svelte.d.ts +3 -3
- package/dist/components/skeleton-loader/components/SkeletonImage.svelte.d.ts +44 -23
- package/dist/components/slider/Slider.stories.svelte.d.ts +44 -23
- package/dist/components/slider/Slider.svelte +15 -13
- package/dist/components/slider/Slider.svelte.d.ts +43 -26
- package/dist/components/spinner/Spinner.svelte.d.ts +2 -2
- package/dist/components/stat-card/StatCard.stories.svelte.d.ts +44 -23
- package/dist/components/stat-card/StatCard.svelte.d.ts +6 -6
- package/dist/components/status-badge/StatusBadge.stories.svelte.d.ts +32 -15
- package/dist/components/status-badge/StatusBadge.svelte +73 -73
- package/dist/components/status-badge/StatusBadge.svelte.d.ts +7 -7
- package/dist/components/table/Table.stories.svelte.d.ts +35 -18
- package/dist/components/table/Table.svelte +5 -5
- package/dist/components/table/Table.svelte.d.ts +13 -11
- package/dist/components/table/components/TBody.svelte.d.ts +3 -3
- package/dist/components/table/components/THead.svelte.d.ts +3 -3
- package/dist/components/table/components/Td.svelte.d.ts +3 -3
- package/dist/components/table/components/Th.svelte.d.ts +3 -3
- package/dist/components/table/components/Tr.svelte +11 -11
- package/dist/components/table/components/Tr.svelte.d.ts +3 -3
- package/dist/components/tabs/Tabs.stories.svelte.d.ts +44 -23
- package/dist/components/tabs/Tabs.svelte.d.ts +10 -6
- package/dist/components/tabs/components/Content.svelte.d.ts +4 -4
- package/dist/components/tabs/components/Tab.svelte.d.ts +5 -5
- package/dist/components/tabs/components/Tabs.svelte.d.ts +3 -3
- package/dist/components/tag/Tag.stories.svelte.d.ts +32 -15
- package/dist/components/tag/Tag.svelte +14 -16
- package/dist/components/tag/Tag.svelte.d.ts +12 -8
- package/dist/components/toggle/Toggle.stories.svelte.d.ts +44 -23
- package/dist/components/toggle/Toggle.svelte +6 -6
- package/dist/components/toggle/Toggle.svelte.d.ts +9 -5
- package/dist/components/tooltip/Tooltip.stories.svelte.d.ts +44 -23
- package/dist/components/tooltip/Tooltip.svelte +12 -10
- package/dist/components/tooltip/Tooltip.svelte.d.ts +7 -7
- package/dist/fonts/index.d.ts +4 -4
- package/dist/fonts/index.js +4 -4
- package/dist/tailwind.d.ts +14 -1
- package/dist/tailwind.preset.d.ts +330 -327
- package/dist/tailwind.preset.js +47 -47
- package/dist/tokens.d.ts +558 -558
- package/dist/tokens.js +237 -237
- package/package.json +1 -1
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
|
|
46
46
|
<style>
|
|
47
47
|
.primary.active {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
48
|
+
--tw-bg-opacity: 1;
|
|
49
|
+
background-color: rgb(87 80 238 / var(--tw-bg-opacity, 1));
|
|
50
|
+
--tw-text-opacity: 1;
|
|
51
|
+
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
|
52
|
+
}
|
|
53
53
|
.secondary.active {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
54
|
+
--tw-bg-opacity: 1;
|
|
55
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
|
|
56
|
+
--tw-text-opacity: 1;
|
|
57
|
+
color: rgb(18 25 42 / var(--tw-text-opacity, 1));
|
|
58
|
+
}
|
|
59
59
|
</style>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
type Color = 'primary' | 'secondary';
|
|
3
3
|
interface Props {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
class?: string;
|
|
5
|
+
color?: Color;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
active?: boolean;
|
|
8
|
+
dataTestId?: string;
|
|
9
|
+
onclick?: () => void;
|
|
10
|
+
children?: Snippet;
|
|
11
11
|
}
|
|
12
|
-
declare const ControlButton: import(
|
|
12
|
+
declare const ControlButton: import('svelte').Component<Props, {}, ''>;
|
|
13
13
|
type ControlButton = ReturnType<typeof ControlButton>;
|
|
14
14
|
export default ControlButton;
|
package/dist/components/segmented-control-buttons/SegmentedControlButtons.stories.svelte.d.ts
CHANGED
|
@@ -1,19 +1,36 @@
|
|
|
1
1
|
import SegmentedControlButtons from './SegmentedControlButtons.svelte';
|
|
2
|
-
interface $$__sveltets_2_IsomorphicComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
interface $$__sveltets_2_IsomorphicComponent<
|
|
3
|
+
Props extends Record<string, any> = any,
|
|
4
|
+
Events extends Record<string, any> = any,
|
|
5
|
+
Slots extends Record<string, any> = any,
|
|
6
|
+
Exports = {},
|
|
7
|
+
Bindings = string
|
|
8
|
+
> {
|
|
9
|
+
new (
|
|
10
|
+
options: import('svelte').ComponentConstructorOptions<Props>
|
|
11
|
+
): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
12
|
+
$$bindings?: Bindings;
|
|
13
|
+
} & Exports;
|
|
14
|
+
(
|
|
15
|
+
internal: unknown,
|
|
16
|
+
props: {
|
|
17
|
+
$$events?: Events;
|
|
18
|
+
$$slots?: Slots;
|
|
19
|
+
}
|
|
20
|
+
): Exports & {
|
|
21
|
+
$set?: any;
|
|
22
|
+
$on?: any;
|
|
23
|
+
};
|
|
24
|
+
z_$$bindings?: Bindings;
|
|
14
25
|
}
|
|
15
|
-
declare const SegmentedControlButtons: $$__sveltets_2_IsomorphicComponent<
|
|
16
|
-
|
|
17
|
-
|
|
26
|
+
declare const SegmentedControlButtons: $$__sveltets_2_IsomorphicComponent<
|
|
27
|
+
Record<string, never>,
|
|
28
|
+
{
|
|
29
|
+
[evt: string]: CustomEvent<any>;
|
|
30
|
+
},
|
|
31
|
+
{},
|
|
32
|
+
{},
|
|
33
|
+
string
|
|
34
|
+
>;
|
|
18
35
|
type SegmentedControlButtons = InstanceType<typeof SegmentedControlButtons>;
|
|
19
36
|
export default SegmentedControlButtons;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
import ControlButton from './ControlButton.svelte';
|
|
3
3
|
interface Props {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
class?: string;
|
|
5
|
+
size?: 'md' | 'lg';
|
|
6
|
+
children?: Snippet<
|
|
7
|
+
[
|
|
8
|
+
{
|
|
9
|
+
ControlButton: typeof ControlButton;
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
>;
|
|
9
13
|
}
|
|
10
|
-
declare const SegmentedControlButtons: import(
|
|
14
|
+
declare const SegmentedControlButtons: import('svelte').Component<Props, {}, ''>;
|
|
11
15
|
type SegmentedControlButtons = ReturnType<typeof SegmentedControlButtons>;
|
|
12
16
|
export default SegmentedControlButtons;
|
|
@@ -1,19 +1,36 @@
|
|
|
1
1
|
import Select from './Select.svelte';
|
|
2
|
-
interface $$__sveltets_2_IsomorphicComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
interface $$__sveltets_2_IsomorphicComponent<
|
|
3
|
+
Props extends Record<string, any> = any,
|
|
4
|
+
Events extends Record<string, any> = any,
|
|
5
|
+
Slots extends Record<string, any> = any,
|
|
6
|
+
Exports = {},
|
|
7
|
+
Bindings = string
|
|
8
|
+
> {
|
|
9
|
+
new (
|
|
10
|
+
options: import('svelte').ComponentConstructorOptions<Props>
|
|
11
|
+
): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
12
|
+
$$bindings?: Bindings;
|
|
13
|
+
} & Exports;
|
|
14
|
+
(
|
|
15
|
+
internal: unknown,
|
|
16
|
+
props: {
|
|
17
|
+
$$events?: Events;
|
|
18
|
+
$$slots?: Slots;
|
|
19
|
+
}
|
|
20
|
+
): Exports & {
|
|
21
|
+
$set?: any;
|
|
22
|
+
$on?: any;
|
|
23
|
+
};
|
|
24
|
+
z_$$bindings?: Bindings;
|
|
14
25
|
}
|
|
15
|
-
declare const Select: $$__sveltets_2_IsomorphicComponent<
|
|
16
|
-
|
|
17
|
-
|
|
26
|
+
declare const Select: $$__sveltets_2_IsomorphicComponent<
|
|
27
|
+
Record<string, never>,
|
|
28
|
+
{
|
|
29
|
+
[evt: string]: CustomEvent<any>;
|
|
30
|
+
},
|
|
31
|
+
{},
|
|
32
|
+
{},
|
|
33
|
+
string
|
|
34
|
+
>;
|
|
18
35
|
type Select = InstanceType<typeof Select>;
|
|
19
36
|
export default Select;
|
|
@@ -117,12 +117,12 @@
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
:global(.svelte-select .item.active) {
|
|
120
|
-
background-color: #
|
|
121
|
-
}
|
|
120
|
+
background-color: #5750ee1a;
|
|
121
|
+
}
|
|
122
122
|
|
|
123
123
|
:global(.svelte-select .list-item:not(:first-of-type) > .list-group-title) {
|
|
124
124
|
padding-top: 0.5rem;
|
|
125
|
-
}
|
|
125
|
+
}
|
|
126
126
|
|
|
127
127
|
:global(.svelte-select .list-item:not(:first-of-type) > .list-group-title)::before {
|
|
128
128
|
position: relative;
|
|
@@ -131,8 +131,8 @@
|
|
|
131
131
|
clear: both;
|
|
132
132
|
display: block;
|
|
133
133
|
border-top-width: 1px;
|
|
134
|
-
border-color: #
|
|
134
|
+
border-color: #12192a26;
|
|
135
135
|
--tw-content: '';
|
|
136
136
|
content: var(--tw-content);
|
|
137
|
-
}
|
|
137
|
+
}
|
|
138
138
|
</style>
|
|
@@ -1,60 +1,85 @@
|
|
|
1
1
|
import type { SelectItemProps } from '.';
|
|
2
|
-
interface $$__sveltets_2_IsomorphicComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
interface $$__sveltets_2_IsomorphicComponent<
|
|
3
|
+
Props extends Record<string, any> = any,
|
|
4
|
+
Events extends Record<string, any> = any,
|
|
5
|
+
Slots extends Record<string, any> = any,
|
|
6
|
+
Exports = {},
|
|
7
|
+
Bindings = string
|
|
8
|
+
> {
|
|
9
|
+
new (
|
|
10
|
+
options: import('svelte').ComponentConstructorOptions<Props>
|
|
11
|
+
): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
12
|
+
$$bindings?: Bindings;
|
|
13
|
+
} & Exports;
|
|
14
|
+
(
|
|
15
|
+
internal: unknown,
|
|
16
|
+
props: Props & {
|
|
17
|
+
$$events?: Events;
|
|
18
|
+
$$slots?: Slots;
|
|
19
|
+
}
|
|
20
|
+
): Exports & {
|
|
21
|
+
$set?: any;
|
|
22
|
+
$on?: any;
|
|
23
|
+
};
|
|
24
|
+
z_$$bindings?: Bindings;
|
|
14
25
|
}
|
|
15
|
-
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props &
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
26
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props &
|
|
27
|
+
(Slots extends {
|
|
28
|
+
default: any;
|
|
29
|
+
}
|
|
30
|
+
? Props extends Record<string, never>
|
|
31
|
+
? any
|
|
32
|
+
: {
|
|
33
|
+
children?: any;
|
|
34
|
+
}
|
|
35
|
+
: {});
|
|
36
|
+
declare const Select: $$__sveltets_2_IsomorphicComponent<
|
|
37
|
+
$$__sveltets_2_PropsWithChildren<
|
|
38
|
+
{
|
|
39
|
+
class?: string;
|
|
40
|
+
items?: SelectItemProps[];
|
|
41
|
+
id?: string | undefined;
|
|
42
|
+
value?: SelectItemProps | SelectItemProps[] | null;
|
|
43
|
+
searchable?: boolean;
|
|
44
|
+
listOpen?: boolean;
|
|
45
|
+
placeholder?: string | undefined;
|
|
46
|
+
disabled?: boolean;
|
|
47
|
+
hasError?: boolean;
|
|
48
|
+
withGroup?: boolean;
|
|
49
|
+
multiple?: boolean;
|
|
50
|
+
clearable?: boolean;
|
|
51
|
+
required?: boolean;
|
|
52
|
+
onChange?: (value: SelectItemProps | SelectItemProps[]) => void;
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
'custom-selection': {
|
|
56
|
+
selection: any;
|
|
57
|
+
};
|
|
58
|
+
'custom-item': {
|
|
59
|
+
item: any;
|
|
60
|
+
index: any;
|
|
61
|
+
};
|
|
62
|
+
default: {};
|
|
63
|
+
}
|
|
64
|
+
>,
|
|
65
|
+
{
|
|
66
|
+
change: CustomEvent<any>;
|
|
67
|
+
input: CustomEvent<any>;
|
|
68
|
+
} & {
|
|
69
|
+
[evt: string]: CustomEvent<any>;
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
'custom-selection': {
|
|
73
|
+
selection: any;
|
|
74
|
+
};
|
|
75
|
+
'custom-item': {
|
|
76
|
+
item: any;
|
|
77
|
+
index: any;
|
|
78
|
+
};
|
|
79
|
+
default: {};
|
|
80
|
+
},
|
|
81
|
+
{},
|
|
82
|
+
string
|
|
83
|
+
>;
|
|
59
84
|
type Select = InstanceType<typeof Select>;
|
|
60
85
|
export default Select;
|
|
@@ -1,27 +1,48 @@
|
|
|
1
1
|
export default SkeletonLoader;
|
|
2
|
-
type SkeletonLoader = SvelteComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
type SkeletonLoader = SvelteComponent<
|
|
3
|
+
{
|
|
4
|
+
[x: string]: never;
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
[evt: string]: CustomEvent<any>;
|
|
8
|
+
},
|
|
9
|
+
{}
|
|
10
|
+
> & {
|
|
11
|
+
$$bindings?: string | undefined;
|
|
8
12
|
};
|
|
9
|
-
declare const SkeletonLoader: $$__sveltets_2_IsomorphicComponent<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
declare const SkeletonLoader: $$__sveltets_2_IsomorphicComponent<
|
|
14
|
+
{
|
|
15
|
+
[x: string]: never;
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
[evt: string]: CustomEvent<any>;
|
|
19
|
+
},
|
|
20
|
+
{},
|
|
21
|
+
{},
|
|
22
|
+
string
|
|
23
|
+
>;
|
|
14
24
|
import SkeletonLoader from './SkeletonLoader.svelte';
|
|
15
|
-
interface $$__sveltets_2_IsomorphicComponent<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
interface $$__sveltets_2_IsomorphicComponent<
|
|
26
|
+
Props extends Record<string, any> = any,
|
|
27
|
+
Events extends Record<string, any> = any,
|
|
28
|
+
Slots extends Record<string, any> = any,
|
|
29
|
+
Exports = {},
|
|
30
|
+
Bindings = string
|
|
31
|
+
> {
|
|
32
|
+
new (
|
|
33
|
+
options: import('svelte').ComponentConstructorOptions<Props>
|
|
34
|
+
): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
35
|
+
$$bindings?: Bindings;
|
|
36
|
+
} & Exports;
|
|
37
|
+
(
|
|
38
|
+
internal: unknown,
|
|
39
|
+
props: {
|
|
40
|
+
$$events?: Events;
|
|
41
|
+
$$slots?: Slots;
|
|
42
|
+
}
|
|
43
|
+
): Exports & {
|
|
44
|
+
$set?: any;
|
|
45
|
+
$on?: any;
|
|
46
|
+
};
|
|
47
|
+
z_$$bindings?: Bindings;
|
|
27
48
|
}
|
|
@@ -2,13 +2,17 @@ import type { Snippet } from 'svelte';
|
|
|
2
2
|
import Skeleton from './components/Skeleton.svelte';
|
|
3
3
|
import SkeletonImage from './components/SkeletonImage.svelte';
|
|
4
4
|
interface Props {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
class?: string;
|
|
6
|
+
dataTestId?: string;
|
|
7
|
+
children?: Snippet<
|
|
8
|
+
[
|
|
9
|
+
{
|
|
10
|
+
Skeleton: typeof Skeleton;
|
|
11
|
+
SkeletonImage: typeof SkeletonImage;
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
>;
|
|
11
15
|
}
|
|
12
|
-
declare const SkeletonLoader: import(
|
|
16
|
+
declare const SkeletonLoader: import('svelte').Component<Props, {}, ''>;
|
|
13
17
|
type SkeletonLoader = ReturnType<typeof SkeletonLoader>;
|
|
14
18
|
export default SkeletonLoader;
|
|
@@ -1,18 +1,35 @@
|
|
|
1
|
-
interface $$__sveltets_2_IsomorphicComponent<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
interface $$__sveltets_2_IsomorphicComponent<
|
|
2
|
+
Props extends Record<string, any> = any,
|
|
3
|
+
Events extends Record<string, any> = any,
|
|
4
|
+
Slots extends Record<string, any> = any,
|
|
5
|
+
Exports = {},
|
|
6
|
+
Bindings = string
|
|
7
|
+
> {
|
|
8
|
+
new (
|
|
9
|
+
options: import('svelte').ComponentConstructorOptions<Props>
|
|
10
|
+
): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
11
|
+
$$bindings?: Bindings;
|
|
12
|
+
} & Exports;
|
|
13
|
+
(
|
|
14
|
+
internal: unknown,
|
|
15
|
+
props: {
|
|
16
|
+
$$events?: Events;
|
|
17
|
+
$$slots?: Slots;
|
|
18
|
+
}
|
|
19
|
+
): Exports & {
|
|
20
|
+
$set?: any;
|
|
21
|
+
$on?: any;
|
|
22
|
+
};
|
|
23
|
+
z_$$bindings?: Bindings;
|
|
13
24
|
}
|
|
14
|
-
declare const StatcardSkeleton: $$__sveltets_2_IsomorphicComponent<
|
|
15
|
-
|
|
16
|
-
|
|
25
|
+
declare const StatcardSkeleton: $$__sveltets_2_IsomorphicComponent<
|
|
26
|
+
Record<string, never>,
|
|
27
|
+
{
|
|
28
|
+
[evt: string]: CustomEvent<any>;
|
|
29
|
+
},
|
|
30
|
+
{},
|
|
31
|
+
{},
|
|
32
|
+
string
|
|
33
|
+
>;
|
|
17
34
|
type StatcardSkeleton = InstanceType<typeof StatcardSkeleton>;
|
|
18
35
|
export default StatcardSkeleton;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
interface Props {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
class?: string;
|
|
4
|
+
children?: Snippet;
|
|
5
5
|
}
|
|
6
|
-
declare const Skeleton: import(
|
|
6
|
+
declare const Skeleton: import('svelte').Component<Props, {}, ''>;
|
|
7
7
|
type Skeleton = ReturnType<typeof Skeleton>;
|
|
8
8
|
export default Skeleton;
|
|
@@ -1,26 +1,47 @@
|
|
|
1
1
|
export default SkeletonImage;
|
|
2
|
-
type SkeletonImage = SvelteComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
type SkeletonImage = SvelteComponent<
|
|
3
|
+
{
|
|
4
|
+
[x: string]: never;
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
[evt: string]: CustomEvent<any>;
|
|
8
|
+
},
|
|
9
|
+
{}
|
|
10
|
+
> & {
|
|
11
|
+
$$bindings?: string | undefined;
|
|
8
12
|
};
|
|
9
|
-
declare const SkeletonImage: $$__sveltets_2_IsomorphicComponent<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
13
|
+
declare const SkeletonImage: $$__sveltets_2_IsomorphicComponent<
|
|
14
|
+
{
|
|
15
|
+
[x: string]: never;
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
[evt: string]: CustomEvent<any>;
|
|
19
|
+
},
|
|
20
|
+
{},
|
|
21
|
+
{},
|
|
22
|
+
string
|
|
23
|
+
>;
|
|
24
|
+
interface $$__sveltets_2_IsomorphicComponent<
|
|
25
|
+
Props extends Record<string, any> = any,
|
|
26
|
+
Events extends Record<string, any> = any,
|
|
27
|
+
Slots extends Record<string, any> = any,
|
|
28
|
+
Exports = {},
|
|
29
|
+
Bindings = string
|
|
30
|
+
> {
|
|
31
|
+
new (
|
|
32
|
+
options: import('svelte').ComponentConstructorOptions<Props>
|
|
33
|
+
): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
34
|
+
$$bindings?: Bindings;
|
|
35
|
+
} & Exports;
|
|
36
|
+
(
|
|
37
|
+
internal: unknown,
|
|
38
|
+
props: {
|
|
39
|
+
$$events?: Events;
|
|
40
|
+
$$slots?: Slots;
|
|
41
|
+
}
|
|
42
|
+
): Exports & {
|
|
43
|
+
$set?: any;
|
|
44
|
+
$on?: any;
|
|
45
|
+
};
|
|
46
|
+
z_$$bindings?: Bindings;
|
|
26
47
|
}
|