@reshape-biotech/design-system 0.0.23 → 0.0.24
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/README.md +30 -38
- package/dist/components/banner/Banner.stories.svelte +129 -0
- package/dist/components/banner/Banner.stories.svelte.d.ts +19 -0
- package/dist/components/banner/Banner.svelte +59 -0
- package/dist/components/banner/Banner.svelte.d.ts +11 -0
- package/dist/components/button/Button.stories.svelte +37 -0
- package/dist/components/button/Button.stories.svelte.d.ts +19 -0
- package/dist/components/button/Button.svelte +85 -0
- package/dist/components/button/Button.svelte.d.ts +17 -0
- package/dist/components/datepicker/DatePicker.svelte +283 -0
- package/dist/components/datepicker/DatePicker.svelte.d.ts +8 -0
- package/dist/components/divider/Divider.stories.svelte +14 -0
- package/dist/components/divider/Divider.stories.svelte.d.ts +27 -0
- package/dist/components/divider/Divider.svelte +9 -0
- package/dist/components/divider/Divider.svelte.d.ts +6 -0
- package/dist/components/drawer/Drawer.stories.svelte +99 -0
- package/dist/components/drawer/Drawer.stories.svelte.d.ts +27 -0
- package/dist/components/drawer/Drawer.svelte +45 -0
- package/dist/components/drawer/Drawer.svelte.d.ts +12 -0
- package/dist/components/drawer/DrawerLabel.svelte +13 -0
- package/dist/components/drawer/DrawerLabel.svelte.d.ts +9 -0
- package/dist/components/dropdown/Dropdown.stories.svelte +214 -0
- package/dist/components/dropdown/Dropdown.stories.svelte.d.ts +27 -0
- package/dist/components/dropdown/Dropdown.svelte +69 -0
- package/dist/components/dropdown/Dropdown.svelte.d.ts +14 -0
- package/dist/components/dropdown/components/DropdownContent.svelte +29 -0
- package/dist/components/dropdown/components/DropdownContent.svelte.d.ts +10 -0
- package/dist/components/dropdown/components/DropdownMenu.svelte +23 -0
- package/dist/components/dropdown/components/DropdownMenu.svelte.d.ts +8 -0
- package/dist/components/dropdown/components/DropdownTrigger.svelte +44 -0
- package/dist/components/dropdown/components/DropdownTrigger.svelte.d.ts +12 -0
- package/dist/components/icon-button/IconButton.stories.svelte +52 -0
- package/dist/components/icon-button/IconButton.stories.svelte.d.ts +19 -0
- package/dist/components/icon-button/IconButton.svelte +71 -0
- package/dist/components/icon-button/IconButton.svelte.d.ts +14 -0
- package/dist/components/image/Image.svelte +56 -0
- package/dist/components/image/Image.svelte.d.ts +7 -0
- package/dist/components/input/Input.stories.svelte +81 -0
- package/dist/components/input/Input.stories.svelte.d.ts +27 -0
- package/dist/components/input/Input.svelte +131 -0
- package/dist/components/input/Input.svelte.d.ts +20 -0
- package/dist/components/list/List.stories.svelte +97 -0
- package/dist/components/list/List.stories.svelte.d.ts +19 -0
- package/dist/components/list/List.svelte +75 -0
- package/dist/components/list/List.svelte.d.ts +24 -0
- package/dist/components/markdown/Markdown.stories.svelte +41 -0
- package/dist/components/markdown/Markdown.stories.svelte.d.ts +27 -0
- package/dist/components/markdown/Markdown.svelte +12 -0
- package/dist/components/markdown/Markdown.svelte.d.ts +6 -0
- package/dist/components/modal/Modal.stories.svelte +41 -0
- package/dist/components/modal/Modal.stories.svelte.d.ts +19 -0
- package/dist/components/modal/Modal.svelte +56 -0
- package/dist/components/modal/Modal.svelte.d.ts +16 -0
- package/dist/components/notification-popup/NotificationPopup.stories.svelte +27 -0
- package/dist/components/notification-popup/NotificationPopup.stories.svelte.d.ts +27 -0
- package/dist/components/notification-popup/NotificationPopup.svelte +31 -0
- package/dist/components/notification-popup/NotificationPopup.svelte.d.ts +11 -0
- package/dist/components/pill/Pill.svelte +39 -0
- package/dist/components/pill/Pill.svelte.d.ts +10 -0
- package/dist/components/progress-circle/ProgressCircle.svelte +79 -0
- package/dist/components/progress-circle/ProgressCircle.svelte.d.ts +7 -0
- package/dist/components/segmented-control-buttons/ControlButton.svelte +59 -0
- package/dist/components/segmented-control-buttons/ControlButton.svelte.d.ts +14 -0
- package/dist/components/segmented-control-buttons/SegmentedControlButtons.stories.svelte +45 -0
- package/dist/components/segmented-control-buttons/SegmentedControlButtons.stories.svelte.d.ts +19 -0
- package/dist/components/segmented-control-buttons/SegmentedControlButtons.svelte +21 -0
- package/dist/components/segmented-control-buttons/SegmentedControlButtons.svelte.d.ts +10 -0
- package/dist/components/select/Select.stories.svelte +113 -0
- package/dist/components/select/Select.stories.svelte.d.ts +19 -0
- package/dist/components/select/Select.svelte +137 -0
- package/dist/components/select/Select.svelte.d.ts +60 -0
- package/dist/components/select/index.d.ts +6 -0
- package/dist/components/select/index.js +1 -0
- package/dist/components/skeleton-loader/HorizontalCardSkeleton.svelte +31 -0
- package/dist/components/skeleton-loader/HorizontalCardSkeleton.svelte.d.ts +5 -0
- package/dist/components/skeleton-loader/ProjectCardSkeleton.svelte +12 -0
- package/dist/components/skeleton-loader/ProjectCardSkeleton.svelte.d.ts +18 -0
- package/dist/components/skeleton-loader/SkeletonLoader.stories.svelte +71 -0
- package/dist/components/skeleton-loader/SkeletonLoader.stories.svelte.d.ts +27 -0
- package/dist/components/skeleton-loader/SkeletonLoader.svelte +17 -0
- package/dist/components/skeleton-loader/SkeletonLoader.svelte.d.ts +9 -0
- package/dist/components/skeleton-loader/StatcardSkeleton.svelte +17 -0
- package/dist/components/skeleton-loader/StatcardSkeleton.svelte.d.ts +18 -0
- package/dist/components/skeleton-loader/components/Skeleton.svelte +14 -0
- package/dist/components/skeleton-loader/components/Skeleton.svelte.d.ts +8 -0
- package/dist/components/skeleton-loader/components/SkeletonImage.svelte +14 -0
- package/dist/components/skeleton-loader/components/SkeletonImage.svelte.d.ts +26 -0
- package/dist/components/skeleton-loader/index.d.ts +5 -0
- package/dist/components/skeleton-loader/index.js +5 -0
- package/dist/components/slider/Slider.stories.svelte +37 -0
- package/dist/components/slider/Slider.stories.svelte.d.ts +27 -0
- package/dist/components/slider/Slider.svelte +117 -0
- package/dist/components/slider/Slider.svelte.d.ts +29 -0
- package/dist/components/spinner/Spinner.svelte +27 -0
- package/dist/components/spinner/Spinner.svelte.d.ts +6 -0
- package/dist/components/stat-card/StatCard.stories.svelte +31 -0
- package/dist/components/stat-card/StatCard.stories.svelte.d.ts +27 -0
- package/dist/components/stat-card/StatCard.svelte +46 -0
- package/dist/components/stat-card/StatCard.svelte.d.ts +9 -0
- package/dist/components/status-badge/StatusBadge.stories.svelte +401 -0
- package/dist/components/status-badge/StatusBadge.stories.svelte.d.ts +19 -0
- package/dist/components/status-badge/StatusBadge.svelte +147 -0
- package/dist/components/status-badge/StatusBadge.svelte.d.ts +12 -0
- package/dist/components/table/Table.stories.svelte +86 -0
- package/dist/components/table/Table.stories.svelte.d.ts +24 -0
- package/dist/components/table/Table.svelte +33 -0
- package/dist/components/table/Table.svelte.d.ts +8 -0
- package/dist/components/table/components/Td.svelte +14 -0
- package/dist/components/table/components/Td.svelte.d.ts +8 -0
- package/dist/components/table/components/Th.svelte +15 -0
- package/dist/components/table/components/Th.svelte.d.ts +9 -0
- package/dist/components/table/components/Tr.svelte +31 -0
- package/dist/components/table/components/Tr.svelte.d.ts +8 -0
- package/dist/components/tabs/Tabs.stories.svelte +30 -0
- package/dist/components/tabs/Tabs.stories.svelte.d.ts +27 -0
- package/dist/components/tabs/Tabs.svelte +15 -0
- package/dist/components/tabs/Tabs.svelte.d.ts +8 -0
- package/dist/components/tabs/components/Content.svelte +15 -0
- package/dist/components/tabs/components/Content.svelte.d.ts +9 -0
- package/dist/components/tabs/components/Tab.svelte +21 -0
- package/dist/components/tabs/components/Tab.svelte.d.ts +10 -0
- package/dist/components/tabs/components/Tabs.svelte +14 -0
- package/dist/components/tabs/components/Tabs.svelte.d.ts +8 -0
- package/dist/components/tag/Tag.stories.svelte +50 -0
- package/dist/components/tag/Tag.stories.svelte.d.ts +19 -0
- package/dist/components/tag/Tag.svelte +104 -0
- package/dist/components/tag/Tag.svelte.d.ts +11 -0
- package/dist/components/toast/Toast.svelte +66 -0
- package/dist/components/toast/Toast.svelte.d.ts +5 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/tailwind.preset.d.ts +1 -0
- package/dist/tokens.d.ts +314 -36
- package/dist/tokens.js +235 -248
- package/package.json +4 -5
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
import Tooltip from 'design-system/components/tooltip/Tooltip.svelte';
|
|
4
|
+
|
|
5
|
+
interface Props {
|
|
6
|
+
children: Snippet;
|
|
7
|
+
variant?: 'default' | 'outline' | 'transparent';
|
|
8
|
+
size?: 'sm' | 'md';
|
|
9
|
+
tooltip?: string;
|
|
10
|
+
onclick?: (event: MouseEvent) => void;
|
|
11
|
+
class?: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
let {
|
|
15
|
+
children,
|
|
16
|
+
variant = 'default',
|
|
17
|
+
size = 'md',
|
|
18
|
+
tooltip,
|
|
19
|
+
onclick,
|
|
20
|
+
class: className
|
|
21
|
+
}: Props = $props();
|
|
22
|
+
|
|
23
|
+
const sizes = {
|
|
24
|
+
sm: 'h-6 text-xs',
|
|
25
|
+
md: 'h-6 text-sm'
|
|
26
|
+
};
|
|
27
|
+
let sizeClassName = $derived(sizes[size]);
|
|
28
|
+
|
|
29
|
+
const variants = {
|
|
30
|
+
default: 'bg-neutral text-primary',
|
|
31
|
+
outline: 'bg-transparent text-secondary border',
|
|
32
|
+
transparent: 'bg-transparent text-secondary'
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const buttonClassVariants = {
|
|
36
|
+
default: 'hover:bg-neutral-hover',
|
|
37
|
+
outline: 'hover:bg-neutral hover:text-primary',
|
|
38
|
+
transparent: 'hover:bg-neutral hover:text-primary'
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
let variantClassName = $derived(variants[variant]);
|
|
42
|
+
let buttonClassVariant = $derived(buttonClassVariants[variant]);
|
|
43
|
+
</script>
|
|
44
|
+
|
|
45
|
+
{#snippet renderTag()}
|
|
46
|
+
{#if onclick}
|
|
47
|
+
<button
|
|
48
|
+
class="outer {variantClassName} {sizeClassName} {buttonClassVariant} hover:cursor-pointer {className} "
|
|
49
|
+
title={tooltip}
|
|
50
|
+
{onclick}
|
|
51
|
+
>
|
|
52
|
+
{@render children()}
|
|
53
|
+
</button>
|
|
54
|
+
{:else}
|
|
55
|
+
<div class="outer {variantClassName} {sizeClassName} no-underline {className}" title={tooltip}>
|
|
56
|
+
{@render children()}
|
|
57
|
+
</div>
|
|
58
|
+
{/if}
|
|
59
|
+
{/snippet}
|
|
60
|
+
|
|
61
|
+
{#if tooltip}
|
|
62
|
+
<Tooltip>
|
|
63
|
+
{#snippet trigger()}
|
|
64
|
+
{@render renderTag()}
|
|
65
|
+
{/snippet}
|
|
66
|
+
{#snippet content()}
|
|
67
|
+
{tooltip}
|
|
68
|
+
{/snippet}
|
|
69
|
+
</Tooltip>
|
|
70
|
+
{:else}
|
|
71
|
+
{@render renderTag()}
|
|
72
|
+
{/if}
|
|
73
|
+
|
|
74
|
+
<style>
|
|
75
|
+
.outer {
|
|
76
|
+
|
|
77
|
+
display: flex;
|
|
78
|
+
|
|
79
|
+
align-items: center;
|
|
80
|
+
|
|
81
|
+
gap: 0.5rem;
|
|
82
|
+
|
|
83
|
+
overflow: hidden;
|
|
84
|
+
|
|
85
|
+
text-overflow: ellipsis;
|
|
86
|
+
|
|
87
|
+
white-space: nowrap;
|
|
88
|
+
|
|
89
|
+
border-radius: 0.25rem;
|
|
90
|
+
|
|
91
|
+
padding: 0.25rem
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
svg {
|
|
95
|
+
|
|
96
|
+
height: 1rem;
|
|
97
|
+
|
|
98
|
+
width: 1rem;
|
|
99
|
+
|
|
100
|
+
--tw-text-opacity: 1;
|
|
101
|
+
|
|
102
|
+
color: rgb(136 140 148 / var(--tw-text-opacity, 1))
|
|
103
|
+
}
|
|
104
|
+
</style>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Snippet } from 'svelte';
|
|
2
|
+
declare const Tag: import("svelte").Component<{
|
|
3
|
+
children: Snippet;
|
|
4
|
+
variant?: "default" | "outline" | "transparent";
|
|
5
|
+
size?: "sm" | "md";
|
|
6
|
+
tooltip?: string;
|
|
7
|
+
onclick?: (event: MouseEvent) => void;
|
|
8
|
+
class?: string;
|
|
9
|
+
}, {}, "">;
|
|
10
|
+
type Tag = ReturnType<typeof Tag>;
|
|
11
|
+
export default Tag;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { flip } from 'svelte/animate';
|
|
3
|
+
import { fly } from 'svelte/transition';
|
|
4
|
+
import { notifications } from '../../notifications';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* @typedef {Object} Props
|
|
8
|
+
* @property {any} [themes]
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/** @type {Props} */
|
|
12
|
+
let {
|
|
13
|
+
themes = {
|
|
14
|
+
danger: '#E26D69',
|
|
15
|
+
success: '#84C991',
|
|
16
|
+
warning: '#f0ad4e',
|
|
17
|
+
info: '#5bc0de',
|
|
18
|
+
default: '#aaaaaa'
|
|
19
|
+
}
|
|
20
|
+
} = $props();
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
<div class="notifications">
|
|
24
|
+
{#each $notifications as notification (notification.id)}
|
|
25
|
+
<div
|
|
26
|
+
animate:flip
|
|
27
|
+
class="toast-custom"
|
|
28
|
+
style="background: {themes[notification.type]};"
|
|
29
|
+
transition:fly={{ y: 30 }}
|
|
30
|
+
>
|
|
31
|
+
<div class="content">{notification.message}</div>
|
|
32
|
+
{#if notification.icon}<i class={notification.icon}></i>{/if}
|
|
33
|
+
</div>
|
|
34
|
+
{/each}
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<style>
|
|
38
|
+
.notifications {
|
|
39
|
+
position: fixed;
|
|
40
|
+
top: 10px;
|
|
41
|
+
left: 0;
|
|
42
|
+
right: 0;
|
|
43
|
+
margin: 0 auto;
|
|
44
|
+
padding: 0;
|
|
45
|
+
z-index: 9999;
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
justify-content: flex-start;
|
|
49
|
+
align-items: center;
|
|
50
|
+
pointer-events: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.toast-custom {
|
|
54
|
+
flex: 0 0 auto;
|
|
55
|
+
padding: 0 16px;
|
|
56
|
+
margin-bottom: 10px;
|
|
57
|
+
border-radius: 100px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.content {
|
|
61
|
+
padding: 10px;
|
|
62
|
+
display: block;
|
|
63
|
+
color: white;
|
|
64
|
+
font-weight: 500;
|
|
65
|
+
}
|
|
66
|
+
</style>
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Reexport your entry components here
|
|
2
2
|
export { default as Avatar } from './components/avatar/Avatar.svelte';
|
|
3
3
|
export { default as Tooltip } from './components/tooltip/Tooltip.svelte';
|
|
4
|
-
export { tokens } from './tokens
|
|
4
|
+
export { tokens } from './tokens';
|
|
5
5
|
import './app.css';
|
package/dist/tokens.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export declare const colors: {
|
|
2
|
+
base: {
|
|
3
|
+
mist: string;
|
|
4
|
+
snow: string;
|
|
5
|
+
white: {
|
|
6
6
|
default: string;
|
|
7
7
|
5: string;
|
|
8
8
|
10: string;
|
|
@@ -12,7 +12,7 @@ export namespace colors {
|
|
|
12
12
|
70: string;
|
|
13
13
|
90: string;
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
midnight: {
|
|
16
16
|
default: string;
|
|
17
17
|
5: string;
|
|
18
18
|
10: string;
|
|
@@ -22,8 +22,8 @@ export namespace colors {
|
|
|
22
22
|
70: string;
|
|
23
23
|
90: string;
|
|
24
24
|
};
|
|
25
|
-
}
|
|
26
|
-
|
|
25
|
+
};
|
|
26
|
+
gray: {
|
|
27
27
|
1: string;
|
|
28
28
|
2: string;
|
|
29
29
|
3: string;
|
|
@@ -31,7 +31,7 @@ export namespace colors {
|
|
|
31
31
|
5: string;
|
|
32
32
|
6: string;
|
|
33
33
|
};
|
|
34
|
-
|
|
34
|
+
periwinkle: {
|
|
35
35
|
1: string;
|
|
36
36
|
2: string;
|
|
37
37
|
3: {
|
|
@@ -51,7 +51,7 @@ export namespace colors {
|
|
|
51
51
|
};
|
|
52
52
|
6: string;
|
|
53
53
|
};
|
|
54
|
-
|
|
54
|
+
orange: {
|
|
55
55
|
1: string;
|
|
56
56
|
2: string;
|
|
57
57
|
3: string;
|
|
@@ -67,7 +67,7 @@ export namespace colors {
|
|
|
67
67
|
};
|
|
68
68
|
6: string;
|
|
69
69
|
};
|
|
70
|
-
|
|
70
|
+
sky: {
|
|
71
71
|
1: string;
|
|
72
72
|
2: string;
|
|
73
73
|
3: string;
|
|
@@ -83,7 +83,7 @@ export namespace colors {
|
|
|
83
83
|
};
|
|
84
84
|
6: string;
|
|
85
85
|
};
|
|
86
|
-
|
|
86
|
+
blue: {
|
|
87
87
|
1: string;
|
|
88
88
|
2: string;
|
|
89
89
|
3: string;
|
|
@@ -99,7 +99,7 @@ export namespace colors {
|
|
|
99
99
|
};
|
|
100
100
|
6: string;
|
|
101
101
|
};
|
|
102
|
-
|
|
102
|
+
green: {
|
|
103
103
|
1: string;
|
|
104
104
|
2: string;
|
|
105
105
|
3: string;
|
|
@@ -110,12 +110,13 @@ export namespace colors {
|
|
|
110
110
|
};
|
|
111
111
|
5: {
|
|
112
112
|
default: string;
|
|
113
|
+
5: string;
|
|
113
114
|
10: string;
|
|
114
115
|
25: string;
|
|
115
116
|
};
|
|
116
117
|
6: string;
|
|
117
118
|
};
|
|
118
|
-
|
|
119
|
+
yellow: {
|
|
119
120
|
1: string;
|
|
120
121
|
2: string;
|
|
121
122
|
3: string;
|
|
@@ -131,7 +132,7 @@ export namespace colors {
|
|
|
131
132
|
};
|
|
132
133
|
6: string;
|
|
133
134
|
};
|
|
134
|
-
|
|
135
|
+
red: {
|
|
135
136
|
1: string;
|
|
136
137
|
2: string;
|
|
137
138
|
3: string;
|
|
@@ -147,15 +148,15 @@ export namespace colors {
|
|
|
147
148
|
};
|
|
148
149
|
6: string;
|
|
149
150
|
};
|
|
150
|
-
|
|
151
|
+
shadow: {
|
|
151
152
|
2: string;
|
|
152
153
|
4: string;
|
|
153
154
|
8: string;
|
|
154
155
|
12: string;
|
|
155
156
|
16: string;
|
|
156
157
|
};
|
|
157
|
-
}
|
|
158
|
-
export const borderColor: {
|
|
158
|
+
};
|
|
159
|
+
export declare const borderColor: {
|
|
159
160
|
'dark-static': string;
|
|
160
161
|
'dark-interactive': string;
|
|
161
162
|
'dark-hover': string;
|
|
@@ -167,7 +168,7 @@ export const borderColor: {
|
|
|
167
168
|
focus: string;
|
|
168
169
|
danger: string;
|
|
169
170
|
};
|
|
170
|
-
export const textColor: {
|
|
171
|
+
export declare const textColor: {
|
|
171
172
|
'icon-primary': string;
|
|
172
173
|
'icon-secondary': string;
|
|
173
174
|
'icon-tertiary': string;
|
|
@@ -200,7 +201,7 @@ export const textColor: {
|
|
|
200
201
|
warning: string;
|
|
201
202
|
danger: string;
|
|
202
203
|
};
|
|
203
|
-
export const backgroundColor: {
|
|
204
|
+
export declare const backgroundColor: {
|
|
204
205
|
'dark-neutral': string;
|
|
205
206
|
'dark-neutral-hover': string;
|
|
206
207
|
'dark-neutral-darker': string;
|
|
@@ -270,19 +271,296 @@ export const backgroundColor: {
|
|
|
270
271
|
'sky-inverse': string;
|
|
271
272
|
'sky-inverse-hover': string;
|
|
272
273
|
};
|
|
273
|
-
export
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
}
|
|
282
|
-
export
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
274
|
+
export declare const boxShadow: {
|
|
275
|
+
field: string;
|
|
276
|
+
nav: string;
|
|
277
|
+
calendar: string;
|
|
278
|
+
container: string;
|
|
279
|
+
panel: string;
|
|
280
|
+
outline: string;
|
|
281
|
+
focus: string;
|
|
282
|
+
};
|
|
283
|
+
export declare const tokens: {
|
|
284
|
+
colors: {
|
|
285
|
+
base: {
|
|
286
|
+
mist: string;
|
|
287
|
+
snow: string;
|
|
288
|
+
white: {
|
|
289
|
+
default: string;
|
|
290
|
+
5: string;
|
|
291
|
+
10: string;
|
|
292
|
+
15: string;
|
|
293
|
+
25: string;
|
|
294
|
+
50: string;
|
|
295
|
+
70: string;
|
|
296
|
+
90: string;
|
|
297
|
+
};
|
|
298
|
+
midnight: {
|
|
299
|
+
default: string;
|
|
300
|
+
5: string;
|
|
301
|
+
10: string;
|
|
302
|
+
15: string;
|
|
303
|
+
25: string;
|
|
304
|
+
50: string;
|
|
305
|
+
70: string;
|
|
306
|
+
90: string;
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
gray: {
|
|
310
|
+
1: string;
|
|
311
|
+
2: string;
|
|
312
|
+
3: string;
|
|
313
|
+
4: string;
|
|
314
|
+
5: string;
|
|
315
|
+
6: string;
|
|
316
|
+
};
|
|
317
|
+
periwinkle: {
|
|
318
|
+
1: string;
|
|
319
|
+
2: string;
|
|
320
|
+
3: {
|
|
321
|
+
default: string;
|
|
322
|
+
10: string;
|
|
323
|
+
25: string;
|
|
324
|
+
};
|
|
325
|
+
4: {
|
|
326
|
+
default: string;
|
|
327
|
+
10: string;
|
|
328
|
+
25: string;
|
|
329
|
+
};
|
|
330
|
+
5: {
|
|
331
|
+
default: string;
|
|
332
|
+
10: string;
|
|
333
|
+
25: string;
|
|
334
|
+
};
|
|
335
|
+
6: string;
|
|
336
|
+
};
|
|
337
|
+
orange: {
|
|
338
|
+
1: string;
|
|
339
|
+
2: string;
|
|
340
|
+
3: string;
|
|
341
|
+
4: {
|
|
342
|
+
default: string;
|
|
343
|
+
10: string;
|
|
344
|
+
25: string;
|
|
345
|
+
};
|
|
346
|
+
5: {
|
|
347
|
+
default: string;
|
|
348
|
+
10: string;
|
|
349
|
+
25: string;
|
|
350
|
+
};
|
|
351
|
+
6: string;
|
|
352
|
+
};
|
|
353
|
+
sky: {
|
|
354
|
+
1: string;
|
|
355
|
+
2: string;
|
|
356
|
+
3: string;
|
|
357
|
+
4: {
|
|
358
|
+
default: string;
|
|
359
|
+
10: string;
|
|
360
|
+
25: string;
|
|
361
|
+
};
|
|
362
|
+
5: {
|
|
363
|
+
default: string;
|
|
364
|
+
10: string;
|
|
365
|
+
25: string;
|
|
366
|
+
};
|
|
367
|
+
6: string;
|
|
368
|
+
};
|
|
369
|
+
blue: {
|
|
370
|
+
1: string;
|
|
371
|
+
2: string;
|
|
372
|
+
3: string;
|
|
373
|
+
4: {
|
|
374
|
+
default: string;
|
|
375
|
+
10: string;
|
|
376
|
+
25: string;
|
|
377
|
+
};
|
|
378
|
+
5: {
|
|
379
|
+
default: string;
|
|
380
|
+
10: string;
|
|
381
|
+
25: string;
|
|
382
|
+
};
|
|
383
|
+
6: string;
|
|
384
|
+
};
|
|
385
|
+
green: {
|
|
386
|
+
1: string;
|
|
387
|
+
2: string;
|
|
388
|
+
3: string;
|
|
389
|
+
4: {
|
|
390
|
+
default: string;
|
|
391
|
+
10: string;
|
|
392
|
+
25: string;
|
|
393
|
+
};
|
|
394
|
+
5: {
|
|
395
|
+
default: string;
|
|
396
|
+
5: string;
|
|
397
|
+
10: string;
|
|
398
|
+
25: string;
|
|
399
|
+
};
|
|
400
|
+
6: string;
|
|
401
|
+
};
|
|
402
|
+
yellow: {
|
|
403
|
+
1: string;
|
|
404
|
+
2: string;
|
|
405
|
+
3: string;
|
|
406
|
+
4: {
|
|
407
|
+
default: string;
|
|
408
|
+
10: string;
|
|
409
|
+
25: string;
|
|
410
|
+
};
|
|
411
|
+
5: {
|
|
412
|
+
default: string;
|
|
413
|
+
10: string;
|
|
414
|
+
25: string;
|
|
415
|
+
};
|
|
416
|
+
6: string;
|
|
417
|
+
};
|
|
418
|
+
red: {
|
|
419
|
+
1: string;
|
|
420
|
+
2: string;
|
|
421
|
+
3: string;
|
|
422
|
+
4: {
|
|
423
|
+
default: string;
|
|
424
|
+
10: string;
|
|
425
|
+
25: string;
|
|
426
|
+
};
|
|
427
|
+
5: {
|
|
428
|
+
default: string;
|
|
429
|
+
10: string;
|
|
430
|
+
25: string;
|
|
431
|
+
};
|
|
432
|
+
6: string;
|
|
433
|
+
};
|
|
434
|
+
shadow: {
|
|
435
|
+
2: string;
|
|
436
|
+
4: string;
|
|
437
|
+
8: string;
|
|
438
|
+
12: string;
|
|
439
|
+
16: string;
|
|
440
|
+
};
|
|
441
|
+
};
|
|
442
|
+
borderColor: {
|
|
443
|
+
'dark-static': string;
|
|
444
|
+
'dark-interactive': string;
|
|
445
|
+
'dark-hover': string;
|
|
446
|
+
'dark-focus': string;
|
|
447
|
+
'dark-danger': string;
|
|
448
|
+
static: string;
|
|
449
|
+
interactive: string;
|
|
450
|
+
hover: string;
|
|
451
|
+
focus: string;
|
|
452
|
+
danger: string;
|
|
453
|
+
};
|
|
454
|
+
textColor: {
|
|
455
|
+
'icon-primary': string;
|
|
456
|
+
'icon-secondary': string;
|
|
457
|
+
'icon-tertiary': string;
|
|
458
|
+
'icon-primary-inverse': string;
|
|
459
|
+
'icon-accent': string;
|
|
460
|
+
'icon-success': string;
|
|
461
|
+
'icon-warning': string;
|
|
462
|
+
'icon-danger': string;
|
|
463
|
+
'icon-blue': string;
|
|
464
|
+
'icon-orange': string;
|
|
465
|
+
'icon-sky': string;
|
|
466
|
+
'dark-primary': string;
|
|
467
|
+
'dark-secondary': string;
|
|
468
|
+
'dark-tertiary': string;
|
|
469
|
+
'dark-primary-inverse': string;
|
|
470
|
+
'dark-secondary-inverse': string;
|
|
471
|
+
'dark-tertiary-inverse': string;
|
|
472
|
+
'dark-accent': string;
|
|
473
|
+
'dark-success': string;
|
|
474
|
+
'dark-warning': string;
|
|
475
|
+
'dark-danger': string;
|
|
476
|
+
primary: string;
|
|
477
|
+
secondary: string;
|
|
478
|
+
tertiary: string;
|
|
479
|
+
'primary-inverse': string;
|
|
480
|
+
'secondary-inverse': string;
|
|
481
|
+
'tertiary-inverse': string;
|
|
482
|
+
accent: string;
|
|
483
|
+
success: string;
|
|
484
|
+
warning: string;
|
|
485
|
+
danger: string;
|
|
486
|
+
};
|
|
487
|
+
backgroundColor: {
|
|
488
|
+
'dark-neutral': string;
|
|
489
|
+
'dark-neutral-hover': string;
|
|
490
|
+
'dark-neutral-darker': string;
|
|
491
|
+
'dark-neutral-darker-hover': string;
|
|
492
|
+
'dark-accent': string;
|
|
493
|
+
'dark-accent-hover': string;
|
|
494
|
+
'dark-accent-inverse': string;
|
|
495
|
+
'dark-accent-inverse-hover': string;
|
|
496
|
+
'dark-success': string;
|
|
497
|
+
'dark-success-hover': string;
|
|
498
|
+
'dark-success-inverse': string;
|
|
499
|
+
'dark-success-inverse-hover': string;
|
|
500
|
+
'dark-warning': string;
|
|
501
|
+
'dark-warning-hover': string;
|
|
502
|
+
'dark-warning-inverse': string;
|
|
503
|
+
'dark-warning-inverse-hover': string;
|
|
504
|
+
'dark-danger': string;
|
|
505
|
+
'dark-danger-hover': string;
|
|
506
|
+
'dark-danger-inverse': string;
|
|
507
|
+
'dark-danger-inverse-hover': string;
|
|
508
|
+
'dark-blue': string;
|
|
509
|
+
'dark-blue-hover': string;
|
|
510
|
+
'dark-orange': string;
|
|
511
|
+
'dark-orange-hover': string;
|
|
512
|
+
'dark-sky': string;
|
|
513
|
+
'dark-sky-hover': string;
|
|
514
|
+
'dark-primary': string;
|
|
515
|
+
'dark-secondary': string;
|
|
516
|
+
'dark-base': string;
|
|
517
|
+
'dark-base-inverse': string;
|
|
518
|
+
'dark-overlay': string;
|
|
519
|
+
surface: string;
|
|
520
|
+
'surface-secondary': string;
|
|
521
|
+
base: string;
|
|
522
|
+
'base-inverse': string;
|
|
523
|
+
overlay: string;
|
|
524
|
+
neutral: string;
|
|
525
|
+
'neutral-hover': string;
|
|
526
|
+
'neutral-darker': string;
|
|
527
|
+
'neutral-darker-hover': string;
|
|
528
|
+
'neutral-inverse': string;
|
|
529
|
+
'neutral-inverse-hover': string;
|
|
530
|
+
accent: string;
|
|
531
|
+
'accent-hover': string;
|
|
532
|
+
'accent-inverse': string;
|
|
533
|
+
'accent-inverse-hover': string;
|
|
534
|
+
success: string;
|
|
535
|
+
'success-hover': string;
|
|
536
|
+
'success-inverse': string;
|
|
537
|
+
'success-inverse-hover': string;
|
|
538
|
+
warning: string;
|
|
539
|
+
'warning-hover': string;
|
|
540
|
+
'warning-inverse': string;
|
|
541
|
+
'warning-inverse-hover': string;
|
|
542
|
+
danger: string;
|
|
543
|
+
'danger-hover': string;
|
|
544
|
+
'danger-inverse': string;
|
|
545
|
+
'danger-inverse-hover': string;
|
|
546
|
+
blue: string;
|
|
547
|
+
'blue-hover': string;
|
|
548
|
+
orange: string;
|
|
549
|
+
'orange-hover': string;
|
|
550
|
+
'orange-inverse': string;
|
|
551
|
+
'orange-inverse-hover': string;
|
|
552
|
+
sky: string;
|
|
553
|
+
'sky-hover': string;
|
|
554
|
+
'sky-inverse': string;
|
|
555
|
+
'sky-inverse-hover': string;
|
|
556
|
+
};
|
|
557
|
+
boxShadow: {
|
|
558
|
+
field: string;
|
|
559
|
+
nav: string;
|
|
560
|
+
calendar: string;
|
|
561
|
+
container: string;
|
|
562
|
+
panel: string;
|
|
563
|
+
outline: string;
|
|
564
|
+
focus: string;
|
|
565
|
+
};
|
|
566
|
+
};
|