@reshape-biotech/design-system 0.0.43 → 0.0.45
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 +15 -32
- 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 +15 -32
- package/dist/components/button/Button.svelte +89 -89
- package/dist/components/button/Button.svelte.d.ts +14 -18
- package/dist/components/datepicker/DatePicker.svelte +12 -13
- package/dist/components/datepicker/DatePicker.svelte.d.ts +3 -3
- package/dist/components/divider/Divider.stories.svelte.d.ts +23 -44
- package/dist/components/divider/Divider.svelte.d.ts +2 -2
- package/dist/components/drawer/Drawer.stories.svelte.d.ts +23 -44
- package/dist/components/drawer/Drawer.svelte.d.ts +7 -7
- package/dist/components/drawer/DrawerLabel.svelte +25 -23
- package/dist/components/drawer/DrawerLabel.svelte.d.ts +4 -4
- package/dist/components/dropdown/Dropdown.stories.svelte.d.ts +23 -44
- package/dist/components/dropdown/Dropdown.svelte.d.ts +17 -23
- package/dist/components/dropdown/components/DropdownContent.svelte +1 -4
- 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 +29 -27
- package/dist/components/dropdown/components/OutlinedButton.svelte.d.ts +3 -3
- package/dist/components/icon-button/IconButton.stories.svelte +56 -26
- package/dist/components/icon-button/IconButton.stories.svelte.d.ts +15 -32
- package/dist/components/icon-button/IconButton.svelte +96 -29
- package/dist/components/icon-button/IconButton.svelte.d.ts +11 -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 +23 -44
- package/dist/components/input/Input.svelte +32 -26
- package/dist/components/input/Input.svelte.d.ts +18 -22
- package/dist/components/list/List.stories.svelte.d.ts +15 -32
- package/dist/components/list/List.svelte +33 -28
- package/dist/components/list/List.svelte.d.ts +15 -24
- package/dist/components/logo/Logo.stories.svelte.d.ts +23 -44
- package/dist/components/logo/Logo.svelte.d.ts +2 -2
- package/dist/components/markdown/Markdown.stories.svelte.d.ts +23 -44
- package/dist/components/markdown/Markdown.svelte.d.ts +2 -2
- package/dist/components/modal/Modal.stories.svelte.d.ts +15 -32
- package/dist/components/modal/Modal.svelte +12 -12
- package/dist/components/modal/Modal.svelte.d.ts +12 -16
- package/dist/components/notification-popup/NotificationPopup.stories.svelte.d.ts +23 -44
- 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 +10 -6
- 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 +15 -32
- package/dist/components/segmented-control-buttons/SegmentedControlButtons.svelte.d.ts +6 -10
- package/dist/components/select/Select.stories.svelte.d.ts +15 -32
- package/dist/components/select/Select.svelte +5 -5
- package/dist/components/select/Select.svelte.d.ts +56 -81
- package/dist/components/select/index.d.ts +4 -4
- package/dist/components/skeleton-loader/SkeletonLoader.stories.svelte.d.ts +23 -44
- package/dist/components/skeleton-loader/SkeletonLoader.svelte.d.ts +7 -11
- package/dist/components/skeleton-loader/StatcardSkeleton.svelte.d.ts +15 -32
- package/dist/components/skeleton-loader/components/Skeleton.svelte.d.ts +3 -3
- package/dist/components/skeleton-loader/components/SkeletonImage.svelte.d.ts +23 -44
- package/dist/components/slider/Slider.stories.svelte.d.ts +23 -44
- package/dist/components/slider/Slider.svelte +13 -15
- package/dist/components/slider/Slider.svelte.d.ts +26 -43
- package/dist/components/spinner/Spinner.svelte.d.ts +2 -2
- package/dist/components/stat-card/StatCard.stories.svelte.d.ts +23 -44
- package/dist/components/stat-card/StatCard.svelte.d.ts +6 -6
- package/dist/components/status-badge/StatusBadge.stories.svelte.d.ts +15 -32
- 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 +18 -35
- package/dist/components/table/Table.svelte +5 -5
- package/dist/components/table/Table.svelte.d.ts +11 -13
- 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 +23 -44
- package/dist/components/tabs/Tabs.svelte.d.ts +6 -10
- 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 +15 -32
- package/dist/components/tag/Tag.svelte +16 -14
- package/dist/components/tag/Tag.svelte.d.ts +8 -12
- package/dist/components/toggle/Toggle.stories.svelte.d.ts +23 -44
- package/dist/components/toggle/Toggle.svelte +6 -6
- package/dist/components/toggle/Toggle.svelte.d.ts +5 -9
- package/dist/components/tooltip/Tooltip.stories.svelte.d.ts +23 -44
- package/dist/components/tooltip/Tooltip.svelte +10 -12
- 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 +1 -14
- package/dist/tailwind.preset.d.ts +327 -330
- 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
|
@@ -1,48 +1,27 @@
|
|
|
1
1
|
export default StatCard;
|
|
2
|
-
type StatCard = SvelteComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
},
|
|
9
|
-
{}
|
|
10
|
-
> & {
|
|
11
|
-
$$bindings?: string | undefined;
|
|
2
|
+
type StatCard = SvelteComponent<{
|
|
3
|
+
[x: string]: never;
|
|
4
|
+
}, {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
}, {}> & {
|
|
7
|
+
$$bindings?: string | undefined;
|
|
12
8
|
};
|
|
13
|
-
declare const StatCard: $$__sveltets_2_IsomorphicComponent<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
[evt: string]: CustomEvent<any>;
|
|
19
|
-
},
|
|
20
|
-
{},
|
|
21
|
-
{},
|
|
22
|
-
string
|
|
23
|
-
>;
|
|
9
|
+
declare const StatCard: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
+
[x: string]: never;
|
|
11
|
+
}, {
|
|
12
|
+
[evt: string]: CustomEvent<any>;
|
|
13
|
+
}, {}, {}, string>;
|
|
24
14
|
import StatCard from './StatCard.svelte';
|
|
25
|
-
interface $$__sveltets_2_IsomorphicComponent<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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;
|
|
15
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
16
|
+
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
17
|
+
$$bindings?: Bindings;
|
|
18
|
+
} & Exports;
|
|
19
|
+
(internal: unknown, props: {
|
|
20
|
+
$$events?: Events;
|
|
21
|
+
$$slots?: Slots;
|
|
22
|
+
}): Exports & {
|
|
23
|
+
$set?: any;
|
|
24
|
+
$on?: any;
|
|
25
|
+
};
|
|
26
|
+
z_$$bindings?: Bindings;
|
|
48
27
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
interface Props {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
title: string;
|
|
3
|
+
value?: string | number | null;
|
|
4
|
+
unit?: string | null;
|
|
5
|
+
titleTooltip?: string;
|
|
6
|
+
showTitleTooltip?: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare const StatCard: import(
|
|
8
|
+
declare const StatCard: import("svelte").Component<Props, {}, "">;
|
|
9
9
|
type StatCard = ReturnType<typeof StatCard>;
|
|
10
10
|
export default StatCard;
|
|
@@ -1,36 +1,19 @@
|
|
|
1
1
|
import StatusBadge from '../status-badge/StatusBadge.svelte';
|
|
2
|
-
interface $$__sveltets_2_IsomorphicComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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;
|
|
2
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
|
+
$$bindings?: Bindings;
|
|
5
|
+
} & Exports;
|
|
6
|
+
(internal: unknown, props: {
|
|
7
|
+
$$events?: Events;
|
|
8
|
+
$$slots?: Slots;
|
|
9
|
+
}): Exports & {
|
|
10
|
+
$set?: any;
|
|
11
|
+
$on?: any;
|
|
12
|
+
};
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
25
14
|
}
|
|
26
|
-
declare const StatusBadge: $$__sveltets_2_IsomorphicComponent<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
[evt: string]: CustomEvent<any>;
|
|
30
|
-
},
|
|
31
|
-
{},
|
|
32
|
-
{},
|
|
33
|
-
string
|
|
34
|
-
>;
|
|
15
|
+
declare const StatusBadge: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
|
|
16
|
+
[evt: string]: CustomEvent<any>;
|
|
17
|
+
}, {}, {}, string>;
|
|
35
18
|
type StatusBadge = InstanceType<typeof StatusBadge>;
|
|
36
19
|
export default StatusBadge;
|
|
@@ -39,109 +39,109 @@
|
|
|
39
39
|
|
|
40
40
|
<style>
|
|
41
41
|
.badge {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
gap: 0.5rem;
|
|
43
|
+
border-style: none;
|
|
44
|
+
--tw-text-opacity: 1;
|
|
45
|
+
color: rgb(18 25 42 / var(--tw-text-opacity, 1))
|
|
46
|
+
}
|
|
47
47
|
.badge-md {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
48
|
+
height: 2rem;
|
|
49
|
+
padding-top: 0.5rem;
|
|
50
|
+
padding-bottom: 0.5rem;
|
|
51
|
+
padding-left: 0.5rem;
|
|
52
|
+
padding-right: 0.75rem
|
|
53
|
+
}
|
|
54
54
|
.badge-md .icon {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
width: 1.25rem;
|
|
56
|
+
height: 1.25rem
|
|
57
|
+
}
|
|
58
58
|
|
|
59
59
|
.badge-sm {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
height: 1.5rem;
|
|
61
|
+
gap: 0.25rem;
|
|
62
|
+
padding-left: 0.25rem;
|
|
63
|
+
padding-right: 0.5rem
|
|
64
|
+
}
|
|
65
65
|
|
|
66
66
|
.badge-sm .icon {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
width: 1rem;
|
|
68
|
+
height: 1rem
|
|
69
|
+
}
|
|
70
70
|
.badge-icon-only {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
71
|
+
width: 2rem;
|
|
72
|
+
height: 2rem;
|
|
73
|
+
gap: 0px;
|
|
74
|
+
padding: 0px
|
|
75
|
+
}
|
|
76
76
|
|
|
77
77
|
.badge-sm.badge-icon-only {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
78
|
+
width: 1.5rem;
|
|
79
|
+
height: 1.5rem;
|
|
80
|
+
padding: 0px
|
|
81
|
+
}
|
|
82
82
|
|
|
83
83
|
.badge-neutral {
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
background-color: #12192a0d
|
|
85
|
+
}
|
|
86
86
|
|
|
87
87
|
.badge-neutral:hover {
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
background-color: #12192A1A
|
|
89
|
+
}
|
|
90
90
|
|
|
91
91
|
.badge-neutral .icon {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
--tw-text-opacity: 1;
|
|
93
|
+
color: rgb(136 140 148 / var(--tw-text-opacity, 1))
|
|
94
|
+
}
|
|
95
95
|
|
|
96
96
|
.badge-success {
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
background-color: #0aad6e1A
|
|
98
|
+
}
|
|
99
99
|
|
|
100
100
|
.badge-success:hover {
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
background-color: #0aad6e40
|
|
102
|
+
}
|
|
103
103
|
|
|
104
104
|
.badge-success .icon {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
--tw-text-opacity: 1;
|
|
106
|
+
color: rgb(10 173 110 / var(--tw-text-opacity, 1))
|
|
107
|
+
}
|
|
108
108
|
.badge-progress {
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
background-color: #5750ee1A
|
|
110
|
+
}
|
|
111
111
|
.badge-progress:hover {
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
background-color: #5750ee40
|
|
113
|
+
}
|
|
114
114
|
.badge-progress .icon {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
--tw-text-opacity: 1;
|
|
116
|
+
color: rgb(71 65 193 / var(--tw-text-opacity, 1))
|
|
117
|
+
}
|
|
118
118
|
.badge-warning {
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
background-color: #f1b1231A
|
|
120
|
+
}
|
|
121
121
|
.badge-warning:hover {
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
background-color: #f1b12340
|
|
123
|
+
}
|
|
124
124
|
.badge-warning .icon {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
125
|
+
--tw-text-opacity: 1;
|
|
126
|
+
color: rgb(241 177 35 / var(--tw-text-opacity, 1))
|
|
127
|
+
}
|
|
128
128
|
.badge-error {
|
|
129
|
-
|
|
130
|
-
|
|
129
|
+
background-color: #eb46471A
|
|
130
|
+
}
|
|
131
131
|
.badge-error:hover {
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
background-color: #eb464740
|
|
133
|
+
}
|
|
134
134
|
.badge-error .icon {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
135
|
+
--tw-text-opacity: 1;
|
|
136
|
+
color: rgb(235 70 71 / var(--tw-text-opacity, 1))
|
|
137
|
+
}
|
|
138
138
|
|
|
139
139
|
:global(.badge > div) {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
140
|
+
display: flex;
|
|
141
|
+
height: 100%;
|
|
142
|
+
flex-direction: row;
|
|
143
|
+
align-items: center;
|
|
144
|
+
justify-content: center;
|
|
145
|
+
white-space: nowrap
|
|
146
|
+
}
|
|
147
147
|
</style>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
interface Props {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
type?: 'neutral' | 'success' | 'progress' | 'warning' | 'error';
|
|
4
|
+
size?: 'md' | 'sm';
|
|
5
|
+
content?: Snippet;
|
|
6
|
+
progress?: Snippet;
|
|
7
|
+
icon?: Snippet;
|
|
8
|
+
iconOnly?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const StatusBadge: import(
|
|
10
|
+
declare const StatusBadge: import("svelte").Component<Props, {}, "">;
|
|
11
11
|
type StatusBadge = ReturnType<typeof StatusBadge>;
|
|
12
12
|
export default StatusBadge;
|
|
@@ -1,41 +1,24 @@
|
|
|
1
1
|
import Table from './Table.svelte';
|
|
2
2
|
export declare const users: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
name: string;
|
|
4
|
+
age: number;
|
|
5
|
+
role: string;
|
|
6
6
|
}[];
|
|
7
|
-
interface $$__sveltets_2_IsomorphicComponent<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
(
|
|
20
|
-
internal: unknown,
|
|
21
|
-
props: {
|
|
22
|
-
$$events?: Events;
|
|
23
|
-
$$slots?: Slots;
|
|
24
|
-
}
|
|
25
|
-
): Exports & {
|
|
26
|
-
$set?: any;
|
|
27
|
-
$on?: any;
|
|
28
|
-
};
|
|
29
|
-
z_$$bindings?: Bindings;
|
|
7
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
8
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
9
|
+
$$bindings?: Bindings;
|
|
10
|
+
} & Exports;
|
|
11
|
+
(internal: unknown, props: {
|
|
12
|
+
$$events?: Events;
|
|
13
|
+
$$slots?: Slots;
|
|
14
|
+
}): Exports & {
|
|
15
|
+
$set?: any;
|
|
16
|
+
$on?: any;
|
|
17
|
+
};
|
|
18
|
+
z_$$bindings?: Bindings;
|
|
30
19
|
}
|
|
31
|
-
declare const Table: $$__sveltets_2_IsomorphicComponent<
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
[evt: string]: CustomEvent<any>;
|
|
35
|
-
},
|
|
36
|
-
{},
|
|
37
|
-
{},
|
|
38
|
-
string
|
|
39
|
-
>;
|
|
20
|
+
declare const Table: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
}, {}, {}, string>;
|
|
40
23
|
type Table = InstanceType<typeof Table>;
|
|
41
24
|
export default Table;
|
|
@@ -5,19 +5,17 @@ import Tr from './components/Tr.svelte';
|
|
|
5
5
|
import THead from './components/THead.svelte';
|
|
6
6
|
import TBody from './components/TBody.svelte';
|
|
7
7
|
interface Props {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
]
|
|
19
|
-
>;
|
|
8
|
+
tableLayout?: 'fixed' | 'auto';
|
|
9
|
+
children?: Snippet<[
|
|
10
|
+
{
|
|
11
|
+
THead: typeof THead;
|
|
12
|
+
TBody: typeof TBody;
|
|
13
|
+
Tr: typeof Tr;
|
|
14
|
+
Th: typeof Th;
|
|
15
|
+
Td: typeof Td;
|
|
16
|
+
}
|
|
17
|
+
]>;
|
|
20
18
|
}
|
|
21
|
-
declare const Table: import(
|
|
19
|
+
declare const Table: import("svelte").Component<Props, {}, "">;
|
|
22
20
|
type Table = ReturnType<typeof Table>;
|
|
23
21
|
export default Table;
|
|
@@ -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 TBody: import(
|
|
6
|
+
declare const TBody: import("svelte").Component<Props, {}, "">;
|
|
7
7
|
type TBody = ReturnType<typeof TBody>;
|
|
8
8
|
export default TBody;
|
|
@@ -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 THead: import(
|
|
6
|
+
declare const THead: import("svelte").Component<Props, {}, "">;
|
|
7
7
|
type THead = ReturnType<typeof THead>;
|
|
8
8
|
export default THead;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
interface Props {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
dataTestId?: string;
|
|
4
|
+
children?: Snippet;
|
|
5
5
|
}
|
|
6
|
-
declare const Td: import(
|
|
6
|
+
declare const Td: import("svelte").Component<Props, {}, "">;
|
|
7
7
|
type Td = ReturnType<typeof Td>;
|
|
8
8
|
export default Td;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Width } from '../../../tailwind';
|
|
2
2
|
import type { Snippet } from 'svelte';
|
|
3
3
|
interface Props {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
class?: Width | '';
|
|
5
|
+
children?: Snippet;
|
|
6
6
|
}
|
|
7
|
-
declare const Th: import(
|
|
7
|
+
declare const Th: import("svelte").Component<Props, {}, "">;
|
|
8
8
|
type Th = ReturnType<typeof Th>;
|
|
9
9
|
export default Th;
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
|
|
16
16
|
<style>
|
|
17
17
|
:global(td) {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
padding-top: 1rem;
|
|
19
|
+
padding-bottom: 1rem
|
|
20
|
+
}
|
|
21
|
+
:global(td):first-child {
|
|
22
|
+
padding-left: 0.5rem
|
|
23
|
+
}
|
|
24
24
|
:global(th) {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
padding-top: 1rem;
|
|
26
|
+
padding-bottom: 1rem
|
|
27
|
+
}
|
|
28
28
|
:global(th):first-child {
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
padding-left: 0.5rem
|
|
30
|
+
}
|
|
31
31
|
</style>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
interface Props {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
children?: Snippet;
|
|
5
5
|
}
|
|
6
|
-
declare const Tr: import(
|
|
6
|
+
declare const Tr: import("svelte").Component<Props, {}, "">;
|
|
7
7
|
type Tr = ReturnType<typeof Tr>;
|
|
8
8
|
export default Tr;
|
|
@@ -1,48 +1,27 @@
|
|
|
1
1
|
export default Tabs;
|
|
2
|
-
type Tabs = SvelteComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
},
|
|
9
|
-
{}
|
|
10
|
-
> & {
|
|
11
|
-
$$bindings?: string | undefined;
|
|
2
|
+
type Tabs = SvelteComponent<{
|
|
3
|
+
[x: string]: never;
|
|
4
|
+
}, {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
}, {}> & {
|
|
7
|
+
$$bindings?: string | undefined;
|
|
12
8
|
};
|
|
13
|
-
declare const Tabs: $$__sveltets_2_IsomorphicComponent<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
[evt: string]: CustomEvent<any>;
|
|
19
|
-
},
|
|
20
|
-
{},
|
|
21
|
-
{},
|
|
22
|
-
string
|
|
23
|
-
>;
|
|
9
|
+
declare const Tabs: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
+
[x: string]: never;
|
|
11
|
+
}, {
|
|
12
|
+
[evt: string]: CustomEvent<any>;
|
|
13
|
+
}, {}, {}, string>;
|
|
24
14
|
import Tabs from './Tabs.svelte';
|
|
25
|
-
interface $$__sveltets_2_IsomorphicComponent<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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;
|
|
15
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
16
|
+
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
17
|
+
$$bindings?: Bindings;
|
|
18
|
+
} & Exports;
|
|
19
|
+
(internal: unknown, props: {
|
|
20
|
+
$$events?: Events;
|
|
21
|
+
$$slots?: Slots;
|
|
22
|
+
}): Exports & {
|
|
23
|
+
$set?: any;
|
|
24
|
+
$on?: any;
|
|
25
|
+
};
|
|
26
|
+
z_$$bindings?: Bindings;
|
|
48
27
|
}
|
|
@@ -3,16 +3,12 @@ import Content from './components/Content.svelte';
|
|
|
3
3
|
import Tab from './components/Tab.svelte';
|
|
4
4
|
import Tabs from './components/Tabs.svelte';
|
|
5
5
|
interface Props {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Content: typeof Content;
|
|
12
|
-
}
|
|
13
|
-
]
|
|
14
|
-
>;
|
|
6
|
+
children?: Snippet<[{
|
|
7
|
+
Tabs: typeof Tabs;
|
|
8
|
+
Tab: typeof Tab;
|
|
9
|
+
Content: typeof Content;
|
|
10
|
+
}]>;
|
|
15
11
|
}
|
|
16
|
-
declare const Tabs: import(
|
|
12
|
+
declare const Tabs: import("svelte").Component<Props, {}, "">;
|
|
17
13
|
type Tabs = ReturnType<typeof Tabs>;
|
|
18
14
|
export default Tabs;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
interface Props {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
class?: string;
|
|
4
|
+
show?: boolean;
|
|
5
|
+
children?: Snippet;
|
|
6
6
|
}
|
|
7
|
-
declare const Content: import(
|
|
7
|
+
declare const Content: import("svelte").Component<Props, {}, "">;
|
|
8
8
|
type Content = ReturnType<typeof Content>;
|
|
9
9
|
export default Content;
|