@reshape-biotech/design-system 0.0.24 → 0.0.25
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 +4 -4
- package/dist/components/avatar/index.d.ts +1 -0
- package/dist/components/avatar/index.js +1 -0
- package/dist/components/banner/Banner.svelte +1 -1
- package/dist/components/banner/index.d.ts +1 -0
- package/dist/components/banner/index.js +1 -0
- package/dist/components/button/Button.svelte +1 -1
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/button/index.js +1 -0
- package/dist/components/datepicker/index.d.ts +1 -0
- package/dist/components/datepicker/index.js +1 -0
- package/dist/components/divider/index.d.ts +1 -0
- package/dist/components/divider/index.js +1 -0
- package/dist/components/drawer/index.d.ts +1 -0
- package/dist/components/drawer/index.js +1 -0
- package/dist/components/dropdown/index.d.ts +1 -0
- package/dist/components/dropdown/index.js +1 -0
- package/dist/components/icon-button/IconButton.svelte +2 -1
- package/dist/components/icon-button/index.d.ts +1 -0
- package/dist/components/icon-button/index.js +1 -0
- package/dist/components/image/Image.svelte +1 -1
- package/dist/components/image/index.d.ts +1 -0
- package/dist/components/image/index.js +1 -0
- package/dist/components/input/index.d.ts +1 -0
- package/dist/components/input/index.js +1 -0
- package/dist/components/list/index.d.ts +1 -0
- package/dist/components/list/index.js +1 -0
- package/dist/components/markdown/index.d.ts +1 -0
- package/dist/components/markdown/index.js +1 -0
- package/dist/components/modal/Modal.svelte +1 -1
- package/dist/components/modal/index.d.ts +1 -0
- package/dist/components/modal/index.js +1 -0
- package/dist/components/notification-popup/NotificationPopup.svelte +1 -1
- package/dist/components/notification-popup/index.d.ts +1 -0
- package/dist/components/notification-popup/index.js +1 -0
- package/dist/components/pill/index.d.ts +1 -0
- package/dist/components/pill/index.js +1 -0
- package/dist/components/progress-circle/index.d.ts +1 -0
- package/dist/components/progress-circle/index.js +1 -0
- package/dist/components/segmented-control-buttons/index.d.ts +2 -0
- package/dist/components/segmented-control-buttons/index.js +2 -0
- package/dist/components/select/Select.svelte +1 -1
- package/dist/components/select/index.d.ts +1 -0
- package/dist/components/select/index.js +1 -1
- package/dist/components/skeleton-loader/index.d.ts +0 -2
- package/dist/components/skeleton-loader/index.js +0 -2
- package/dist/components/slider/index.d.ts +1 -0
- package/dist/components/slider/index.js +1 -0
- package/dist/components/spinner/index.d.ts +1 -0
- package/dist/components/spinner/index.js +1 -0
- package/dist/components/stat-card/StatCard.stories.svelte +1 -0
- package/dist/components/stat-card/StatCard.svelte +11 -5
- package/dist/components/stat-card/StatCard.svelte.d.ts +1 -0
- package/dist/components/stat-card/index.d.ts +1 -0
- package/dist/components/stat-card/index.js +1 -0
- package/dist/components/status-badge/index.d.ts +1 -0
- package/dist/components/status-badge/index.js +1 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table/index.js +1 -0
- package/dist/components/tabs/components/Tab.svelte +1 -1
- package/dist/components/tabs/index.d.ts +1 -0
- package/dist/components/tabs/index.js +1 -0
- package/dist/components/tag/Tag.svelte +1 -1
- package/dist/components/tag/index.d.ts +1 -0
- package/dist/components/tag/index.js +1 -0
- package/dist/components/toast/index.d.ts +1 -0
- package/dist/components/toast/index.js +1 -0
- package/dist/components/tooltip/index.d.ts +1 -0
- package/dist/components/tooltip/index.js +1 -0
- package/dist/fonts/MDSystem-Medium.woff +0 -0
- package/dist/fonts/MDSystem-Medium.woff2 +0 -0
- package/dist/fonts/MDSystem-Regular.woff +0 -0
- package/dist/fonts/MDSystem-Regular.woff2 +0 -0
- package/dist/fonts/MDSystem-Semibold.woff +0 -0
- package/dist/fonts/MDSystem-Semibold.woff2 +0 -0
- package/dist/fonts/MDSystemMono-Regular.woff +0 -0
- package/dist/fonts/MDSystemMono-Regular.woff2 +0 -0
- package/dist/fonts/index.d.ts +6 -0
- package/dist/fonts/index.js +10 -0
- package/dist/index.d.ts +28 -2
- package/dist/index.js +30 -3
- package/dist/types/fonts.d.ts +4 -0
- package/package.json +9 -14
- package/dist/components/banner/Banner.stories.svelte.d.ts +0 -19
- package/dist/components/button/Button.stories.svelte.d.ts +0 -19
- package/dist/components/divider/Divider.stories.svelte.d.ts +0 -27
- package/dist/components/drawer/Drawer.stories.svelte.d.ts +0 -27
- package/dist/components/dropdown/Dropdown.stories.svelte.d.ts +0 -27
- package/dist/components/icon-button/IconButton.stories.svelte.d.ts +0 -19
- package/dist/components/input/Input.stories.svelte.d.ts +0 -27
- package/dist/components/list/List.stories.svelte.d.ts +0 -19
- package/dist/components/markdown/Markdown.stories.svelte.d.ts +0 -27
- package/dist/components/modal/Modal.stories.svelte.d.ts +0 -19
- package/dist/components/notification-popup/NotificationPopup.stories.svelte.d.ts +0 -27
- package/dist/components/segmented-control-buttons/SegmentedControlButtons.stories.svelte.d.ts +0 -19
- package/dist/components/select/Select.stories.svelte.d.ts +0 -19
- package/dist/components/skeleton-loader/HorizontalCardSkeleton.svelte +0 -31
- package/dist/components/skeleton-loader/HorizontalCardSkeleton.svelte.d.ts +0 -5
- package/dist/components/skeleton-loader/ProjectCardSkeleton.svelte +0 -12
- package/dist/components/skeleton-loader/ProjectCardSkeleton.svelte.d.ts +0 -18
- package/dist/components/skeleton-loader/SkeletonLoader.stories.svelte.d.ts +0 -27
- package/dist/components/slider/Slider.stories.svelte.d.ts +0 -27
- package/dist/components/stat-card/StatCard.stories.svelte.d.ts +0 -27
- package/dist/components/status-badge/StatusBadge.stories.svelte.d.ts +0 -19
- package/dist/components/table/Table.stories.svelte.d.ts +0 -24
- package/dist/components/tabs/Tabs.stories.svelte.d.ts +0 -27
- package/dist/components/tag/Tag.stories.svelte.d.ts +0 -19
- package/dist/components/tooltip/Tooltip.stories.svelte.d.ts +0 -27
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');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Avatar } from './Avatar.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Avatar } from './Avatar.svelte';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { X } from 'phosphor-svelte';
|
|
3
3
|
import type { Snippet } from 'svelte';
|
|
4
|
-
import IconButton from '
|
|
4
|
+
import IconButton from '../icon-button/';
|
|
5
5
|
|
|
6
6
|
interface Props {
|
|
7
7
|
type?: 'neutral' | 'success' | 'progress' | 'warning' | 'error';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Banner } from './Banner.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Banner } from './Banner.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Button.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Button.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DatePicker } from './DatePicker.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DatePicker } from './DatePicker.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Divider } from './Divider.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Divider } from './Divider.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Drawer } from './Drawer.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Drawer } from './Drawer.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Dropdown } from './Dropdown.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Dropdown } from './Dropdown.svelte';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import Spinner from 'design-system/components/spinner/Spinner.svelte';
|
|
3
2
|
import type { Snippet } from 'svelte';
|
|
3
|
+
import Spinner from '../spinner/';
|
|
4
|
+
|
|
4
5
|
type Color = 'primary' | 'secondary' | 'transparent' | 'danger';
|
|
5
6
|
interface Props {
|
|
6
7
|
color?: 'primary' | 'transparent' | 'secondary' | 'danger';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './IconButton.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './IconButton.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Image.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Image.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Input } from './Input.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Input } from './Input.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as List } from './List.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as List } from './List.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Markdown } from './Markdown.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Markdown } from './Markdown.svelte';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { Snippet } from 'svelte';
|
|
3
3
|
import { v4 as uuidv4 } from 'uuid';
|
|
4
|
-
import IconButton from '
|
|
4
|
+
import IconButton from '../icon-button/IconButton.svelte';
|
|
5
5
|
import { X } from 'phosphor-svelte';
|
|
6
6
|
|
|
7
7
|
type ModalProps = {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Modal } from './Modal.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Modal } from './Modal.svelte';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { X } from 'phosphor-svelte';
|
|
3
|
-
import IconButton from '
|
|
3
|
+
import IconButton from '../icon-button/';
|
|
4
4
|
import { fade, fly } from 'svelte/transition';
|
|
5
5
|
import type { Snippet } from 'svelte';
|
|
6
6
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as NotificationPopup } from './NotificationPopup.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as NotificationPopup } from './NotificationPopup.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Pill.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Pill.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ProgressCircle.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ProgressCircle.svelte';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- @migration-task Error while migrating Svelte code: Cannot overwrite a zero-length range – use appendLeft or prependRight instead -->
|
|
2
2
|
<!-- @migration-task Error while migrating Svelte code: This migration would change the name of a slot making the component unusable -->
|
|
3
3
|
<script lang="ts">
|
|
4
|
-
import { backgroundColor, textColor } from '
|
|
4
|
+
import { backgroundColor, textColor } from '../../tokens';
|
|
5
5
|
import { CaretDown, X } from 'phosphor-svelte';
|
|
6
6
|
import { createEventDispatcher } from 'svelte';
|
|
7
7
|
let className = '';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export { default } from './Select.svelte';
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
export { default } from './SkeletonLoader.svelte';
|
|
2
|
-
export { default as HorizontalCardSkeleton } from './HorizontalCardSkeleton.svelte';
|
|
3
2
|
export { default as StatcardSkeleton } from './StatcardSkeleton.svelte';
|
|
4
|
-
export { default as ProjectCardSkeleton } from './ProjectCardSkeleton.svelte';
|
|
5
3
|
export { default as SkeletonImage } from './components/SkeletonImage.svelte';
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
export { default } from './SkeletonLoader.svelte';
|
|
2
|
-
export { default as HorizontalCardSkeleton } from './HorizontalCardSkeleton.svelte';
|
|
3
2
|
export { default as StatcardSkeleton } from './StatcardSkeleton.svelte';
|
|
4
|
-
export { default as ProjectCardSkeleton } from './ProjectCardSkeleton.svelte';
|
|
5
3
|
export { default as SkeletonImage } from './components/SkeletonImage.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Slider.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Slider.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Spinner.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Spinner.svelte';
|
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { Info } from 'phosphor-svelte';
|
|
3
|
-
import Spinner from '
|
|
4
|
-
import Tooltip from '
|
|
5
|
-
import { featureFlags } from '../../stores';
|
|
3
|
+
import Spinner from '../spinner/Spinner.svelte';
|
|
4
|
+
import Tooltip from '../tooltip/Tooltip.svelte';
|
|
6
5
|
|
|
7
6
|
interface Props {
|
|
8
7
|
title: string;
|
|
9
8
|
value?: string | number | null;
|
|
10
9
|
unit?: string | null;
|
|
11
10
|
titleTooltip?: string;
|
|
11
|
+
showTitleTooltip?: boolean;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
let {
|
|
14
|
+
let {
|
|
15
|
+
title,
|
|
16
|
+
value = null,
|
|
17
|
+
unit = '',
|
|
18
|
+
titleTooltip = '',
|
|
19
|
+
showTitleTooltip = false
|
|
20
|
+
}: Props = $props();
|
|
15
21
|
const formattedValue = $derived(typeof value === 'number' ? value.toLocaleString() : value);
|
|
16
22
|
</script>
|
|
17
23
|
|
|
@@ -20,7 +26,7 @@
|
|
|
20
26
|
>
|
|
21
27
|
<h5 class="flex items-center justify-start gap-1 text-secondary">
|
|
22
28
|
{title}
|
|
23
|
-
{#if titleTooltip &&
|
|
29
|
+
{#if titleTooltip && showTitleTooltip}
|
|
24
30
|
<Tooltip>
|
|
25
31
|
{#snippet trigger()}
|
|
26
32
|
<Info class="icon" size="1rem" weight="bold" />
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './StatCard.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './StatCard.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as StatusBadge } from './StatusBadge.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as StatusBadge } from './StatusBadge.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Table } from './Table.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Table } from './Table.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Tabs.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Tabs.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Tag } from './Tag.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Tag } from './Tag.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Toast } from './Toast.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Toast } from './Toast.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Tooltip.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Tooltip.svelte';
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import MDSystemMonoRegular from './MDSystemMono-Regular.woff2';
|
|
2
|
+
import MDSystemRegular from './MDSystem-Regular.woff2';
|
|
3
|
+
import MDSystemMedium from './MDSystem-Medium.woff2';
|
|
4
|
+
import MDSystemSemibold from './MDSystem-Semibold.woff2';
|
|
5
|
+
export const fonts = {
|
|
6
|
+
MDSystemMonoRegular,
|
|
7
|
+
MDSystemRegular,
|
|
8
|
+
MDSystemMedium,
|
|
9
|
+
MDSystemSemibold
|
|
10
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,30 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export * from './components/avatar/';
|
|
2
|
+
export * from './components/banner/';
|
|
3
|
+
export * from './components/button/';
|
|
4
|
+
export * from './components/datepicker/';
|
|
5
|
+
export * from './components/divider/';
|
|
6
|
+
export * from './components/drawer/';
|
|
7
|
+
export * from './components/drawer/';
|
|
8
|
+
export * from './components/dropdown/';
|
|
9
|
+
export * from './components/icon-button/';
|
|
10
|
+
export * from './components/image';
|
|
11
|
+
export * from './components/input/';
|
|
12
|
+
export * from './components/list/';
|
|
13
|
+
export * from './components/markdown/';
|
|
14
|
+
export * from './components/modal/';
|
|
15
|
+
export * from './components/notification-popup/';
|
|
16
|
+
export * from './components/pill/';
|
|
17
|
+
export * from './components/progress-circle/';
|
|
18
|
+
export * from './components/segmented-control-buttons/';
|
|
19
|
+
export * from './components/select/';
|
|
20
|
+
export * from './components/skeleton-loader/';
|
|
21
|
+
export * from './components/slider/';
|
|
22
|
+
export * from './components/spinner/';
|
|
23
|
+
export * from './components/stat-card/';
|
|
24
|
+
export * from './components/status-badge/';
|
|
25
|
+
export * from './components/table/';
|
|
26
|
+
export * from './components/tabs/';
|
|
27
|
+
export * from './components/tag/';
|
|
28
|
+
export * from './components/tooltip/';
|
|
3
29
|
export { tokens } from './tokens';
|
|
4
30
|
import './app.css';
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
|
-
//
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
// Components
|
|
2
|
+
export * from './components/avatar/';
|
|
3
|
+
export * from './components/banner/';
|
|
4
|
+
export * from './components/button/';
|
|
5
|
+
export * from './components/datepicker/';
|
|
6
|
+
export * from './components/divider/';
|
|
7
|
+
export * from './components/drawer/';
|
|
8
|
+
export * from './components/drawer/';
|
|
9
|
+
export * from './components/dropdown/';
|
|
10
|
+
export * from './components/icon-button/';
|
|
11
|
+
export * from './components/image';
|
|
12
|
+
export * from './components/input/';
|
|
13
|
+
export * from './components/list/';
|
|
14
|
+
export * from './components/markdown/';
|
|
15
|
+
export * from './components/modal/';
|
|
16
|
+
export * from './components/notification-popup/';
|
|
17
|
+
export * from './components/pill/';
|
|
18
|
+
export * from './components/progress-circle/';
|
|
19
|
+
export * from './components/segmented-control-buttons/';
|
|
20
|
+
export * from './components/select/';
|
|
21
|
+
export * from './components/skeleton-loader/';
|
|
22
|
+
export * from './components/slider/';
|
|
23
|
+
export * from './components/spinner/';
|
|
24
|
+
export * from './components/stat-card/';
|
|
25
|
+
export * from './components/status-badge/';
|
|
26
|
+
export * from './components/table/';
|
|
27
|
+
export * from './components/tabs/';
|
|
28
|
+
export * from './components/tag/';
|
|
29
|
+
export * from './components/tooltip/';
|
|
30
|
+
// Styles and Tokens
|
|
4
31
|
export { tokens } from './tokens';
|
|
5
32
|
import './app.css';
|
package/package.json
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reshape-biotech/design-system",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.25",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite dev",
|
|
6
|
-
"build": "vite build
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
12
|
-
"format": "prettier --write .",
|
|
13
|
-
"lint": "prettier --check . && eslint .",
|
|
14
|
-
"test:unit": "vitest",
|
|
15
|
-
"test": "npm run test:unit -- --run"
|
|
6
|
+
"build": "vite build && npm run package",
|
|
7
|
+
"package": "svelte-package --input ./src/lib --output ./dist",
|
|
8
|
+
"check": "svelte-check",
|
|
9
|
+
"test": "vitest run",
|
|
10
|
+
"test:watch": "vitest"
|
|
16
11
|
},
|
|
17
12
|
"files": [
|
|
18
13
|
"dist",
|
|
@@ -38,12 +33,12 @@
|
|
|
38
33
|
"./tailwind-safelist": "./dist/tailwind-safelist.js"
|
|
39
34
|
},
|
|
40
35
|
"peerDependencies": {
|
|
41
|
-
"svelte": "^5.0.0"
|
|
42
|
-
"tailwindcss": "^3.4.9",
|
|
43
|
-
"daisyui": "^4.10.5"
|
|
36
|
+
"svelte": "^5.0.0"
|
|
44
37
|
},
|
|
45
38
|
"devDependencies": {
|
|
46
39
|
"@eslint/compat": "^1.2.3",
|
|
40
|
+
"@storybook/addon-svelte-csf": "^4.2.0",
|
|
41
|
+
"@storybook/svelte": "^8.4.7",
|
|
47
42
|
"@sveltejs/adapter-vercel": "^5.5.0",
|
|
48
43
|
"@sveltejs/kit": "^2.9.0",
|
|
49
44
|
"@sveltejs/package": "^2.0.0",
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import Banner from './Banner.svelte';
|
|
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;
|
|
14
|
-
}
|
|
15
|
-
declare const Banner: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
|
|
16
|
-
[evt: string]: CustomEvent<any>;
|
|
17
|
-
}, {}, {}, string>;
|
|
18
|
-
type Banner = InstanceType<typeof Banner>;
|
|
19
|
-
export default Banner;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import Button from './Button.svelte';
|
|
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;
|
|
14
|
-
}
|
|
15
|
-
declare const Button: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
|
|
16
|
-
[evt: string]: CustomEvent<any>;
|
|
17
|
-
}, {}, {}, string>;
|
|
18
|
-
type Button = InstanceType<typeof Button>;
|
|
19
|
-
export default Button;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export default Divider;
|
|
2
|
-
type Divider = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const Divider: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
11
|
-
}, {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, string>;
|
|
14
|
-
import Divider from './Divider.svelte';
|
|
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;
|
|
27
|
-
}
|