@reshape-biotech/design-system 0.0.29 → 0.0.30
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/app.css
CHANGED
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
font-family: 'MD System Mono';
|
|
8
8
|
font-style: normal;
|
|
9
9
|
font-weight: 400;
|
|
10
|
-
src: url('
|
|
10
|
+
src: url('/fonts/MDSystemMono-Regular.woff2') format('woff2');
|
|
11
11
|
}
|
|
12
12
|
@font-face {
|
|
13
13
|
font-family: 'MD System';
|
|
14
14
|
font-style: normal;
|
|
15
15
|
font-weight: 400;
|
|
16
|
-
src: url('
|
|
16
|
+
src: url('/fonts/MDSystem-Regular.woff2') format('woff2');
|
|
17
17
|
}
|
|
18
18
|
@font-face {
|
|
19
19
|
font-family: 'MD System';
|
|
20
|
-
src: url('
|
|
20
|
+
src: url('/fonts/MDSystem-Medium.woff2') format('woff2');
|
|
21
21
|
font-weight: 500;
|
|
22
22
|
font-style: normal;
|
|
23
23
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
font-family: 'MD System';
|
|
26
26
|
font-style: normal;
|
|
27
27
|
font-weight: 600;
|
|
28
|
-
src: url('
|
|
28
|
+
src: url('/fonts/MDSystem-Semibold.woff2') format('woff2');
|
|
29
29
|
}
|
|
30
30
|
body {
|
|
31
31
|
background-color: theme('backgroundColor.base');
|
|
@@ -54,29 +54,6 @@
|
|
|
54
54
|
</div>
|
|
55
55
|
</Story>
|
|
56
56
|
|
|
57
|
-
<Story name="With Button">
|
|
58
|
-
<div class="py-12">
|
|
59
|
-
<Drawer id="my-drawer" controlled bind:open>
|
|
60
|
-
{#snippet trigger()}
|
|
61
|
-
<div>
|
|
62
|
-
<Button
|
|
63
|
-
onClick={() => {
|
|
64
|
-
open = !open;
|
|
65
|
-
}}>Export</Button
|
|
66
|
-
>
|
|
67
|
-
</div>
|
|
68
|
-
{/snippet}
|
|
69
|
-
{#snippet content()}
|
|
70
|
-
<div>
|
|
71
|
-
<div>
|
|
72
|
-
<p>Drawer content here</p>
|
|
73
|
-
</div>
|
|
74
|
-
</div>
|
|
75
|
-
{/snippet}
|
|
76
|
-
</Drawer>
|
|
77
|
-
</div>
|
|
78
|
-
</Story>
|
|
79
|
-
|
|
80
57
|
<Story name="Open Left">
|
|
81
58
|
<div class="py-12">
|
|
82
59
|
<Drawer id="my-drawer" side="left">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
</div>
|
|
39
39
|
<div class="drawer-side" inert={controlled ? !open : false}>
|
|
40
40
|
<label for={id} aria-label="close sidebar" class="drawer-overlay"></label>
|
|
41
|
-
<div class="h-screen
|
|
41
|
+
<div class="h-screen bg-base sm:w-[460px]">
|
|
42
42
|
{@render content?.()}
|
|
43
43
|
</div>
|
|
44
44
|
</div>
|