@reshape-biotech/design-system 0.0.41 → 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 +4 -6
- package/dist/components/modal/Modal.stories.svelte.d.ts +32 -15
- package/dist/components/modal/Modal.svelte +24 -4
- package/dist/components/modal/Modal.svelte.d.ts +16 -11
- 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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
interface Props {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
name: string | null | undefined;
|
|
3
|
+
size?: 'sm' | 'md';
|
|
4
|
+
showTooltip?: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const Avatar: import(
|
|
6
|
+
declare const Avatar: import('svelte').Component<Props, {}, ''>;
|
|
7
7
|
type Avatar = ReturnType<typeof Avatar>;
|
|
8
8
|
export default Avatar;
|
|
@@ -1,19 +1,36 @@
|
|
|
1
1
|
import Banner from './Banner.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 Banner: $$__sveltets_2_IsomorphicComponent<
|
|
16
|
-
|
|
17
|
-
|
|
26
|
+
declare const Banner: $$__sveltets_2_IsomorphicComponent<
|
|
27
|
+
Record<string, never>,
|
|
28
|
+
{
|
|
29
|
+
[evt: string]: CustomEvent<any>;
|
|
30
|
+
},
|
|
31
|
+
{},
|
|
32
|
+
{},
|
|
33
|
+
string
|
|
34
|
+
>;
|
|
18
35
|
type Banner = InstanceType<typeof Banner>;
|
|
19
36
|
export default Banner;
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
|
|
51
51
|
<style>
|
|
52
52
|
.content :global(a) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
53
|
+
font-size: 0.875rem;
|
|
54
|
+
line-height: 1.25rem;
|
|
55
|
+
--tw-text-opacity: 1;
|
|
56
|
+
color: rgb(18 25 42 / var(--tw-text-opacity, 1));
|
|
57
|
+
text-decoration-line: underline;
|
|
58
|
+
}
|
|
59
59
|
</style>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
interface Props {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
type?: 'neutral' | 'success' | 'progress' | 'warning' | 'error';
|
|
4
|
+
show?: boolean;
|
|
5
|
+
closable?: boolean;
|
|
6
|
+
icon?: Snippet;
|
|
7
|
+
content: Snippet;
|
|
8
8
|
}
|
|
9
|
-
declare const Banner: import(
|
|
9
|
+
declare const Banner: import('svelte').Component<Props, {}, 'show'>;
|
|
10
10
|
type Banner = ReturnType<typeof Banner>;
|
|
11
11
|
export default Banner;
|
|
@@ -1,19 +1,36 @@
|
|
|
1
1
|
import Button from './Button.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 Button: $$__sveltets_2_IsomorphicComponent<
|
|
16
|
-
|
|
17
|
-
|
|
26
|
+
declare const Button: $$__sveltets_2_IsomorphicComponent<
|
|
27
|
+
Record<string, never>,
|
|
28
|
+
{
|
|
29
|
+
[evt: string]: CustomEvent<any>;
|
|
30
|
+
},
|
|
31
|
+
{},
|
|
32
|
+
{},
|
|
33
|
+
string
|
|
34
|
+
>;
|
|
18
35
|
type Button = InstanceType<typeof Button>;
|
|
19
36
|
export default Button;
|
|
@@ -70,107 +70,107 @@
|
|
|
70
70
|
|
|
71
71
|
<style>
|
|
72
72
|
.button {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}
|
|
83
|
-
.button:disabled {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
}
|
|
73
|
+
display: inline-flex;
|
|
74
|
+
align-items: center;
|
|
75
|
+
justify-content: center;
|
|
76
|
+
gap: 0.5rem;
|
|
77
|
+
border-radius: 9999px;
|
|
78
|
+
font-size: 1rem;
|
|
79
|
+
font-weight: 500;
|
|
80
|
+
line-height: 1.5rem;
|
|
81
|
+
transition-duration: 150ms;
|
|
82
|
+
}
|
|
83
|
+
.button:disabled {
|
|
84
|
+
background-color: #12192a0d;
|
|
85
|
+
--tw-text-opacity: 1;
|
|
86
|
+
color: rgb(136 140 148 / var(--tw-text-opacity, 1));
|
|
87
|
+
}
|
|
88
88
|
|
|
89
89
|
/* Size variants */
|
|
90
90
|
.btn-size-sm {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}
|
|
91
|
+
height: 2rem;
|
|
92
|
+
padding-left: 0.75rem;
|
|
93
|
+
padding-right: 0.75rem;
|
|
94
|
+
padding-top: 0.5rem;
|
|
95
|
+
padding-bottom: 0.5rem;
|
|
96
|
+
}
|
|
97
97
|
.btn-size-md {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
98
|
+
height: 2.5rem;
|
|
99
|
+
padding-left: 1.25rem;
|
|
100
|
+
padding-right: 1.25rem;
|
|
101
|
+
padding-top: 0.75rem;
|
|
102
|
+
padding-bottom: 0.75rem;
|
|
103
|
+
}
|
|
104
104
|
.btn-size-lg {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}
|
|
105
|
+
height: 3rem;
|
|
106
|
+
padding-left: 1.5rem;
|
|
107
|
+
padding-right: 1.5rem;
|
|
108
|
+
padding-top: 1rem;
|
|
109
|
+
padding-bottom: 1rem;
|
|
110
|
+
}
|
|
111
111
|
|
|
112
112
|
/* Button variants */
|
|
113
113
|
.btn-primary {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}
|
|
114
|
+
--tw-bg-opacity: 1;
|
|
115
|
+
background-color: rgb(87 80 238 / var(--tw-bg-opacity, 1));
|
|
116
|
+
--tw-text-opacity: 1;
|
|
117
|
+
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
|
118
|
+
}
|
|
119
119
|
.btn-primary:hover {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
}
|
|
120
|
+
--tw-bg-opacity: 1;
|
|
121
|
+
background-color: rgb(71 65 193 / var(--tw-bg-opacity, 1));
|
|
122
|
+
}
|
|
123
123
|
.btn-secondary {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
124
|
+
background-color: #12192a0d;
|
|
125
|
+
--tw-text-opacity: 1;
|
|
126
|
+
color: rgb(18 25 42 / var(--tw-text-opacity, 1));
|
|
127
|
+
}
|
|
128
128
|
.btn-secondary:hover {
|
|
129
|
-
|
|
130
|
-
}
|
|
129
|
+
background-color: #12192a1a;
|
|
130
|
+
}
|
|
131
131
|
.btn-secondary:active {
|
|
132
|
-
|
|
133
|
-
}
|
|
132
|
+
background-color: #12192a0d;
|
|
133
|
+
}
|
|
134
134
|
.btn-transparent {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
135
|
+
background-color: transparent;
|
|
136
|
+
--tw-text-opacity: 1;
|
|
137
|
+
color: rgb(18 25 42 / var(--tw-text-opacity, 1));
|
|
138
|
+
}
|
|
139
139
|
.btn-transparent:hover {
|
|
140
|
-
|
|
141
|
-
}
|
|
140
|
+
background-color: #12192a0d;
|
|
141
|
+
}
|
|
142
142
|
.btn-danger {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
}
|
|
143
|
+
--tw-bg-opacity: 1;
|
|
144
|
+
background-color: rgb(235 70 71 / var(--tw-bg-opacity, 1));
|
|
145
|
+
--tw-text-opacity: 1;
|
|
146
|
+
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
|
147
|
+
}
|
|
148
148
|
.btn-danger:hover {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
}
|
|
149
|
+
--tw-bg-opacity: 1;
|
|
150
|
+
background-color: rgb(191 57 58 / var(--tw-bg-opacity, 1));
|
|
151
|
+
}
|
|
152
152
|
.btn-outline {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
153
|
+
border-width: 1px;
|
|
154
|
+
border-color: #12192a26;
|
|
155
|
+
background-color: transparent;
|
|
156
|
+
--tw-text-opacity: 1;
|
|
157
|
+
color: rgb(18 25 42 / var(--tw-text-opacity, 1));
|
|
158
|
+
}
|
|
159
159
|
.btn-outline:hover {
|
|
160
|
-
|
|
161
|
-
}
|
|
160
|
+
background-color: #12192a1a;
|
|
161
|
+
}
|
|
162
162
|
.btn-outline:disabled {
|
|
163
|
-
|
|
164
|
-
}
|
|
163
|
+
border-style: none;
|
|
164
|
+
}
|
|
165
165
|
.btn-secondary-inverse {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}
|
|
166
|
+
background-color: #ffffff0d;
|
|
167
|
+
--tw-text-opacity: 1;
|
|
168
|
+
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
|
169
|
+
}
|
|
170
170
|
.btn-secondary-inverse:hover {
|
|
171
|
-
|
|
172
|
-
}
|
|
171
|
+
background-color: #ffffff26;
|
|
172
|
+
}
|
|
173
173
|
.btn-secondary-inverse:active {
|
|
174
|
-
|
|
175
|
-
}
|
|
174
|
+
background-color: #ffffff0d;
|
|
175
|
+
}
|
|
176
176
|
</style>
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
|
-
declare const Button: import(
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
2
|
+
declare const Button: import('svelte').Component<
|
|
3
|
+
{
|
|
4
|
+
class?: string;
|
|
5
|
+
onClick?: (event?: MouseEvent) => void;
|
|
6
|
+
type?: 'button' | 'submit' | 'reset' | null | undefined;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
accessibilityLabel?: string;
|
|
10
|
+
size?: 'sm' | 'md' | 'lg';
|
|
11
|
+
id?: string | undefined;
|
|
12
|
+
tabindex?: number | undefined;
|
|
13
|
+
variant?: 'primary' | 'secondary' | 'transparent' | 'danger' | 'outline' | 'secondary-inverse';
|
|
14
|
+
children?: Snippet;
|
|
15
|
+
dataTestId?: string;
|
|
16
|
+
},
|
|
17
|
+
{},
|
|
18
|
+
''
|
|
19
|
+
>;
|
|
16
20
|
type Button = ReturnType<typeof Button>;
|
|
17
21
|
export default Button;
|
|
@@ -176,8 +176,9 @@
|
|
|
176
176
|
padding: 1rem;
|
|
177
177
|
--tw-shadow: 0px 16px 24px 0px rgba(18, 25, 42, 0.16);
|
|
178
178
|
--tw-shadow-colored: 0px 16px 24px 0px var(--tw-shadow-color);
|
|
179
|
-
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
|
|
180
|
-
|
|
179
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
|
|
180
|
+
var(--tw-shadow);
|
|
181
|
+
}
|
|
181
182
|
|
|
182
183
|
.month-year {
|
|
183
184
|
display: flex;
|
|
@@ -213,7 +214,7 @@
|
|
|
213
214
|
font-weight: 400;
|
|
214
215
|
--tw-text-opacity: 1;
|
|
215
216
|
color: rgb(136 140 148 / var(--tw-text-opacity, 1));
|
|
216
|
-
}
|
|
217
|
+
}
|
|
217
218
|
|
|
218
219
|
td {
|
|
219
220
|
width: 40px;
|
|
@@ -244,10 +245,10 @@
|
|
|
244
245
|
font-size: 0.875rem;
|
|
245
246
|
line-height: 1.25rem;
|
|
246
247
|
font-weight: 400;
|
|
247
|
-
}
|
|
248
|
+
}
|
|
248
249
|
|
|
249
250
|
.date :hover,
|
|
250
|
-
|
|
251
|
+
.date :focus {
|
|
251
252
|
height: 2.5rem;
|
|
252
253
|
width: 2.5rem;
|
|
253
254
|
border-radius: 0.5rem;
|
|
@@ -255,12 +256,12 @@
|
|
|
255
256
|
background-color: rgb(87 80 238 / var(--tw-bg-opacity, 1));
|
|
256
257
|
--tw-text-opacity: 1;
|
|
257
258
|
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
}
|
|
259
|
+
z-index: 1;
|
|
260
|
+
display: flex;
|
|
261
|
+
align-items: center;
|
|
262
|
+
justify-content: center;
|
|
263
|
+
cursor: pointer;
|
|
264
|
+
}
|
|
264
265
|
|
|
265
266
|
.selected-date {
|
|
266
267
|
height: 2.5rem;
|
|
@@ -274,7 +275,7 @@
|
|
|
274
275
|
align-items: center;
|
|
275
276
|
justify-content: center;
|
|
276
277
|
cursor: pointer;
|
|
277
|
-
}
|
|
278
|
+
}
|
|
278
279
|
|
|
279
280
|
.date button {
|
|
280
281
|
border: none;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DateTime } from 'luxon';
|
|
2
2
|
interface Props {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
selectedDate: DateTime | undefined;
|
|
4
|
+
onClick?: any;
|
|
5
5
|
}
|
|
6
|
-
declare const DatePicker: import(
|
|
6
|
+
declare const DatePicker: import('svelte').Component<Props, {}, 'selectedDate'>;
|
|
7
7
|
type DatePicker = ReturnType<typeof DatePicker>;
|
|
8
8
|
export default DatePicker;
|
|
@@ -1,27 +1,48 @@
|
|
|
1
1
|
export default Divider;
|
|
2
|
-
type Divider = SvelteComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
type Divider = 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 Divider: $$__sveltets_2_IsomorphicComponent<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
declare const Divider: $$__sveltets_2_IsomorphicComponent<
|
|
14
|
+
{
|
|
15
|
+
[x: string]: never;
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
[evt: string]: CustomEvent<any>;
|
|
19
|
+
},
|
|
20
|
+
{},
|
|
21
|
+
{},
|
|
22
|
+
string
|
|
23
|
+
>;
|
|
14
24
|
import Divider from './Divider.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
|
}
|
|
@@ -1,27 +1,48 @@
|
|
|
1
1
|
export default Drawer;
|
|
2
|
-
type Drawer = SvelteComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
type Drawer = 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 Drawer: $$__sveltets_2_IsomorphicComponent<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
declare const Drawer: $$__sveltets_2_IsomorphicComponent<
|
|
14
|
+
{
|
|
15
|
+
[x: string]: never;
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
[evt: string]: CustomEvent<any>;
|
|
19
|
+
},
|
|
20
|
+
{},
|
|
21
|
+
{},
|
|
22
|
+
string
|
|
23
|
+
>;
|
|
14
24
|
import Drawer from './Drawer.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
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
interface Props {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
id: string;
|
|
4
|
+
controlled?: boolean;
|
|
5
|
+
open?: boolean;
|
|
6
|
+
side?: 'left' | 'right';
|
|
7
|
+
trigger?: Snippet;
|
|
8
|
+
content: Snippet;
|
|
9
9
|
}
|
|
10
|
-
declare const Drawer: import(
|
|
10
|
+
declare const Drawer: import('svelte').Component<Props, {}, 'open'>;
|
|
11
11
|
type Drawer = ReturnType<typeof Drawer>;
|
|
12
12
|
export default Drawer;
|