tera-system-ui 0.0.18 → 0.0.20
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/brand-logo/BrandLogo.svelte +31 -31
- package/dist/components/button/Button.svelte +49 -49
- package/dist/components/combobox/Combobox.svelte +8 -8
- package/dist/components/command/command.scss +72 -72
- package/dist/components/command/components/Command.svelte +120 -120
- package/dist/components/command/components/CommandEmpty.svelte +30 -30
- package/dist/components/command/components/CommandGroup.svelte +110 -110
- package/dist/components/command/components/CommandInput.svelte +92 -92
- package/dist/components/command/components/CommandItem.svelte +110 -110
- package/dist/components/command/components/CommandList.svelte +56 -56
- package/dist/components/command/components/CommandLoading.svelte +28 -28
- package/dist/components/command/components/CommandSeparator.svelte +21 -21
- package/dist/components/dialog/Dialog.astro +63 -0
- package/dist/components/dialog/Dialog.d.ts +10 -6
- package/dist/components/dialog/Dialog.svelte +109 -107
- package/dist/components/dialog/dialog.scss +115 -112
- package/dist/components/dialog/index.d.ts +1 -0
- package/dist/components/dialog/index.js +1 -0
- package/dist/components/header/Header.svelte +36 -36
- package/dist/components/header/header.scss +19 -19
- package/dist/components/icons/IconArrowBigRightFilled.svelte +10 -10
- package/dist/components/icons/IconBook.svelte +10 -10
- package/dist/components/icons/IconBookmarkPlus.svelte +10 -10
- package/dist/components/icons/IconCalculator.svelte +10 -10
- package/dist/components/icons/IconCheck.svelte +10 -10
- package/dist/components/icons/IconChevronDown.svelte +10 -10
- package/dist/components/icons/IconCopy.svelte +10 -10
- package/dist/components/icons/IconCopyCheckFilled.svelte +10 -10
- package/dist/components/icons/IconHamburger.svelte +10 -10
- package/dist/components/icons/IconLanguage.svelte +10 -10
- package/dist/components/icons/IconLoader2.svelte +10 -10
- package/dist/components/icons/IconMoon.svelte +10 -10
- package/dist/components/icons/IconPointFilled.svelte +10 -10
- package/dist/components/icons/IconSearch.svelte +10 -10
- package/dist/components/icons/IconSun.svelte +10 -10
- package/dist/components/icons/IconSwitchHorizontal.svelte +10 -10
- package/dist/components/icons/IconSwitchVertical.svelte +10 -10
- package/dist/components/icons/IconTransform.svelte +10 -10
- package/dist/components/icons/IconX.svelte +10 -10
- package/dist/components/input/Input.svelte +24 -24
- package/dist/components/language-picker-button/LanguagePickerButton.svelte +109 -109
- package/dist/components/light-dark-toggle/LightDarkToggle.svelte +36 -36
- package/dist/components/popover/Popover.svelte +136 -136
- package/dist/components/popover-responsive/PopoverResponsive.svelte +87 -87
- package/dist/components/side-navigation/SideNavigation.svelte +114 -114
- package/dist/components/side-navigation/SideNavigationItem.svelte +17 -17
- package/dist/components/side-navigation/SideNavigationLayout.svelte +19 -19
- package/dist/components/side-navigation/sidenav.scss +149 -149
- package/dist/components/tera-ui-context/TeraUiContext.d.ts +1 -0
- package/dist/components/tera-ui-context/TeraUiContext.svelte +28 -28
- package/dist/components/tera-ui-context/global-context-store.d.ts +3 -0
- package/dist/components/tera-ui-context/global-context-store.js +2 -0
- package/dist/components/tera-ui-context/global-context.js +11 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/paraglide/messages/de.js +1 -1
- package/dist/paraglide/messages/es.js +1 -1
- package/dist/paraglide/messages/it.js +1 -1
- package/dist/paraglide/messages/pt.js +1 -1
- package/dist/paraglide/messages/ru.js +1 -1
- package/dist/paraglide/messages/vi.js +1 -1
- package/dist/themes/scrollbar.scss +37 -37
- package/dist/themes/tera-ui-base.css +58 -22
- package/dist/themes/tw-preset.cjs +3 -0
- package/dist/themes/tw-preset.d.cts +4 -0
- package/package.json +96 -95
- package/scripts/add-component-template.js +120 -120
- package/scripts/generate-ts-index.js +136 -136
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { getContext, setContext } from "svelte";
|
|
2
|
+
import { globalContextStore } from "./global-context-store";
|
|
3
|
+
import { get } from "svelte/store";
|
|
2
4
|
export function setGlobalContext(data) {
|
|
3
|
-
|
|
5
|
+
if (data.isAstroEnv) {
|
|
6
|
+
globalContextStore.set(data);
|
|
7
|
+
}
|
|
8
|
+
else {
|
|
9
|
+
setContext('globalContext', data);
|
|
10
|
+
}
|
|
11
|
+
console.log('tera-system-ui', 'set global context', data);
|
|
4
12
|
}
|
|
5
13
|
export function getGlobalContext() {
|
|
6
|
-
let context = getContext('globalContext');
|
|
14
|
+
let context = getContext('globalContext') || get(globalContextStore);
|
|
7
15
|
if (!context) {
|
|
8
|
-
console.
|
|
16
|
+
console.error('tera-system-ui', 'Not set global context yet!', 'Using default context data');
|
|
9
17
|
return {
|
|
10
18
|
language: 'en',
|
|
11
19
|
supportLanguages: ['en']
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { BrandLogo } from './components/brand-logo';
|
|
|
2
2
|
export { Button } from './components/button';
|
|
3
3
|
export { Combobox } from './components/combobox';
|
|
4
4
|
export { Command } from './components/command';
|
|
5
|
-
export { Dialog } from './components/dialog';
|
|
5
|
+
export { Dialog, DialogAstro } from './components/dialog';
|
|
6
6
|
export { Header } from './components/header';
|
|
7
7
|
export { IconArrowBigRightFilled, IconBook, IconBookmarkPlus, IconCalculator, IconCheck, IconChevronDown, IconCopy, IconCopyCheckFilled, IconHamburger, IconLanguage, IconLoader2, IconMoon, IconPointFilled, IconSearch, IconSun, IconSwitchHorizontal, IconSwitchVertical, IconTransform, IconX } from './components/icons';
|
|
8
8
|
export { Input } from './components/input';
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ export { BrandLogo } from './components/brand-logo';
|
|
|
2
2
|
export { Button } from './components/button';
|
|
3
3
|
export { Combobox } from './components/combobox';
|
|
4
4
|
export { Command } from './components/command';
|
|
5
|
-
export { Dialog } from './components/dialog';
|
|
5
|
+
export { Dialog, DialogAstro } from './components/dialog';
|
|
6
6
|
export { Header } from './components/header';
|
|
7
7
|
export { IconArrowBigRightFilled, IconBook, IconBookmarkPlus, IconCalculator, IconCheck, IconChevronDown, IconCopy, IconCopyCheckFilled, IconHamburger, IconLanguage, IconLoader2, IconMoon, IconPointFilled, IconSearch, IconSun, IconSwitchHorizontal, IconSwitchVertical, IconTransform, IconX } from './components/icons';
|
|
8
8
|
export { Input } from './components/input';
|
|
@@ -31,7 +31,7 @@ export const text_unit_converter = () => `Einheitenrechner`
|
|
|
31
31
|
* @returns {string}
|
|
32
32
|
*/
|
|
33
33
|
/* @__NO_SIDE_EFFECTS__ */
|
|
34
|
-
export const text_calces_scientific_calculator = () => `
|
|
34
|
+
export const text_calces_scientific_calculator = () => `CalcES Sci. Rechner`
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ export const text_unit_converter = () => `Convertidor de Unidades`
|
|
|
31
31
|
* @returns {string}
|
|
32
32
|
*/
|
|
33
33
|
/* @__NO_SIDE_EFFECTS__ */
|
|
34
|
-
export const text_calces_scientific_calculator = () => `Calculadora Científica
|
|
34
|
+
export const text_calces_scientific_calculator = () => `Calculadora Científica`
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ export const text_unit_converter = () => `Convertitore di Unità`
|
|
|
31
31
|
* @returns {string}
|
|
32
32
|
*/
|
|
33
33
|
/* @__NO_SIDE_EFFECTS__ */
|
|
34
|
-
export const text_calces_scientific_calculator = () => `Calcolatrice Scientifica
|
|
34
|
+
export const text_calces_scientific_calculator = () => `Calcolatrice Scientifica`
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ export const text_unit_converter = () => `Conversor de Unidades`
|
|
|
31
31
|
* @returns {string}
|
|
32
32
|
*/
|
|
33
33
|
/* @__NO_SIDE_EFFECTS__ */
|
|
34
|
-
export const text_calces_scientific_calculator = () => `Calculadora Científica
|
|
34
|
+
export const text_calces_scientific_calculator = () => `Calculadora Científica`
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ export const text_unit_converter = () => `Конвертер единиц`
|
|
|
31
31
|
* @returns {string}
|
|
32
32
|
*/
|
|
33
33
|
/* @__NO_SIDE_EFFECTS__ */
|
|
34
|
-
export const text_calces_scientific_calculator = () => `Научный
|
|
34
|
+
export const text_calces_scientific_calculator = () => `Научный калькулятор`
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ export const text_unit_converter = () => `Bộ Chuyển Đổi Đơn Vị`
|
|
|
31
31
|
* @returns {string}
|
|
32
32
|
*/
|
|
33
33
|
/* @__NO_SIDE_EFFECTS__ */
|
|
34
|
-
export const text_calces_scientific_calculator = () => `Máy Tính Khoa Học
|
|
34
|
+
export const text_calces_scientific_calculator = () => `Máy Tính Khoa Học`
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
/**
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
/* Light mode scrollbar styles */
|
|
2
|
-
::-webkit-scrollbar {
|
|
3
|
-
width: 8px;
|
|
4
|
-
height: 8px;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
::-webkit-scrollbar-track {
|
|
8
|
-
background: transparent; /* Transparent track */
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
::-webkit-scrollbar-thumb {
|
|
12
|
-
background-color: rgba(0, 0, 0, 0.2); /* Light mode: dark thumb */
|
|
13
|
-
border-radius: 10px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
::-webkit-scrollbar-thumb:hover {
|
|
17
|
-
background-color: rgba(0, 0, 0, 0.4); /* Darker thumb on hover */
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/* Dark mode scrollbar styles */
|
|
21
|
-
.dark ::-webkit-scrollbar-thumb {
|
|
22
|
-
background-color: rgba(255, 255, 255, 0.2); /* Dark mode: light thumb */
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.dark ::-webkit-scrollbar-thumb:hover {
|
|
26
|
-
background-color: rgba(255, 255, 255, 0.4); /* Lighter thumb on hover */
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/* Firefox scrollbar styling */
|
|
30
|
-
* {
|
|
31
|
-
scrollbar-width: thin;
|
|
32
|
-
scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
html.dark, .dark * {
|
|
36
|
-
scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
|
|
37
|
-
}
|
|
1
|
+
/* Light mode scrollbar styles */
|
|
2
|
+
::-webkit-scrollbar {
|
|
3
|
+
width: 8px;
|
|
4
|
+
height: 8px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
::-webkit-scrollbar-track {
|
|
8
|
+
background: transparent; /* Transparent track */
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
::-webkit-scrollbar-thumb {
|
|
12
|
+
background-color: rgba(0, 0, 0, 0.2); /* Light mode: dark thumb */
|
|
13
|
+
border-radius: 10px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
::-webkit-scrollbar-thumb:hover {
|
|
17
|
+
background-color: rgba(0, 0, 0, 0.4); /* Darker thumb on hover */
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* Dark mode scrollbar styles */
|
|
21
|
+
.dark ::-webkit-scrollbar-thumb {
|
|
22
|
+
background-color: rgba(255, 255, 255, 0.2); /* Dark mode: light thumb */
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.dark ::-webkit-scrollbar-thumb:hover {
|
|
26
|
+
background-color: rgba(255, 255, 255, 0.4); /* Lighter thumb on hover */
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Firefox scrollbar styling */
|
|
30
|
+
* {
|
|
31
|
+
scrollbar-width: thin;
|
|
32
|
+
scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
html.dark, .dark * {
|
|
36
|
+
scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
|
|
37
|
+
}
|
|
@@ -1,5 +1,63 @@
|
|
|
1
|
+
/* Default base style */
|
|
2
|
+
@tailwind base;
|
|
3
|
+
@tailwind components;
|
|
4
|
+
@tailwind utilities;
|
|
5
|
+
|
|
1
6
|
@import "scrollbar.scss";
|
|
2
7
|
|
|
8
|
+
.ripple {
|
|
9
|
+
position: absolute;
|
|
10
|
+
border-radius: 50%;
|
|
11
|
+
transform: scale(0);
|
|
12
|
+
animation: ripple-animation 1s ease-out;
|
|
13
|
+
pointer-events: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@keyframes ripple-animation {
|
|
17
|
+
to {
|
|
18
|
+
transform: scale(4);
|
|
19
|
+
opacity: 0;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
body {
|
|
24
|
+
background: theme(colors.neutral.token.1);
|
|
25
|
+
color: theme(colors.neutral.token.13);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
@layer components {
|
|
31
|
+
.border,
|
|
32
|
+
.border-r,
|
|
33
|
+
.border-l,
|
|
34
|
+
.border-t,
|
|
35
|
+
.border-b,
|
|
36
|
+
.border-x,
|
|
37
|
+
.border-y {
|
|
38
|
+
border-color: theme(colors.neutral.token.5);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
@layer utilities {
|
|
44
|
+
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
45
|
+
.hide-scrollbar::-webkit-scrollbar {
|
|
46
|
+
display: none !important;
|
|
47
|
+
}
|
|
48
|
+
/* Hide scrollbar for IE, Edge and Firefox */
|
|
49
|
+
.hide-scrollbar {
|
|
50
|
+
-ms-overflow-style: none !important; /* IE and Edge */
|
|
51
|
+
scrollbar-width: none !important; /* Firefox */
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.skeleton {
|
|
55
|
+
@apply animate-pulse bg-neutral-token-4 rounded h-4 w-full;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
3
61
|
|
|
4
62
|
:root {
|
|
5
63
|
--border-radius-base: 0.25rem;
|
|
@@ -150,25 +208,3 @@
|
|
|
150
208
|
:root {
|
|
151
209
|
}
|
|
152
210
|
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
.ripple {
|
|
156
|
-
position: absolute;
|
|
157
|
-
border-radius: 50%;
|
|
158
|
-
transform: scale(0);
|
|
159
|
-
animation: ripple-animation 1s ease-out;
|
|
160
|
-
pointer-events: none;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
@keyframes ripple-animation {
|
|
164
|
-
to {
|
|
165
|
-
transform: scale(4);
|
|
166
|
-
opacity: 0;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
body {
|
|
171
|
-
background: theme(colors.neutral.token.1);
|
|
172
|
-
color: theme(colors.neutral.token.13);
|
|
173
|
-
}
|
|
174
|
-
|
|
@@ -143,6 +143,9 @@ module.exports = {
|
|
|
143
143
|
DEFAULT: 'var(--border-radius-base)',
|
|
144
144
|
container: 'var(--border-radius-container)'
|
|
145
145
|
},
|
|
146
|
+
borderColor: {
|
|
147
|
+
DEFAULT: 'hsl(var(--tw---token-color-neutral-token-5))'
|
|
148
|
+
},
|
|
146
149
|
transitionDuration: {
|
|
147
150
|
"element-react": '350ms'
|
|
148
151
|
}
|
package/package.json
CHANGED
|
@@ -1,95 +1,96 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "tera-system-ui",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"scripts": {
|
|
5
|
-
"dev": "vite dev",
|
|
6
|
-
"build": "vite build && npm run package",
|
|
7
|
-
"preview": "vite preview",
|
|
8
|
-
"package": "svelte-kit sync && svelte-package && publint",
|
|
9
|
-
"customPrepublish": "node ./scripts/prepublish.js",
|
|
10
|
-
"prepublishOnly": "npm run lang-compile && npm run customPrepublish && npm run package",
|
|
11
|
-
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
12
|
-
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
13
|
-
"storybook": "storybook dev -p 6006",
|
|
14
|
-
"build-storybook": "storybook build",
|
|
15
|
-
"lang-compile": "paraglide-js compile --project ./project.inlang --outdir ./src/lib/paraglide"
|
|
16
|
-
},
|
|
17
|
-
"bin": {
|
|
18
|
-
"ui": "./scripts/add-component-template.js",
|
|
19
|
-
"gen": "./scripts/generate-ts-index.js"
|
|
20
|
-
},
|
|
21
|
-
"files": [
|
|
22
|
-
"dist",
|
|
23
|
-
"!dist/**/*.test.*",
|
|
24
|
-
"!dist/**/*.spec.*"
|
|
25
|
-
],
|
|
26
|
-
"sideEffects": [
|
|
27
|
-
"**/*.css"
|
|
28
|
-
],
|
|
29
|
-
"svelte": "./dist/index.js",
|
|
30
|
-
"types": "
|
|
31
|
-
"type": "module",
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"./themes/
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"@storybook
|
|
62
|
-
"@storybook/addon-
|
|
63
|
-
"@storybook/addon-
|
|
64
|
-
"@storybook/addon-
|
|
65
|
-
"@storybook/addon-
|
|
66
|
-
"@storybook/addon-
|
|
67
|
-
"@storybook/addon-
|
|
68
|
-
"@storybook/
|
|
69
|
-
"@storybook/
|
|
70
|
-
"@storybook/
|
|
71
|
-
"@storybook/
|
|
72
|
-
"@
|
|
73
|
-
"@sveltejs/
|
|
74
|
-
"@sveltejs/
|
|
75
|
-
"@sveltejs/
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"svelte
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"@
|
|
89
|
-
"@
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
|
|
95
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "tera-system-ui",
|
|
3
|
+
"version": "0.0.20",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"dev": "vite dev",
|
|
6
|
+
"build": "vite build && npm run package",
|
|
7
|
+
"preview": "vite preview",
|
|
8
|
+
"package": "svelte-kit sync && svelte-package && publint",
|
|
9
|
+
"customPrepublish": "node ./scripts/prepublish.js",
|
|
10
|
+
"prepublishOnly": "npm run lang-compile && npm run customPrepublish && npm run package",
|
|
11
|
+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
12
|
+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
13
|
+
"storybook": "storybook dev -p 6006",
|
|
14
|
+
"build-storybook": "storybook build",
|
|
15
|
+
"lang-compile": "paraglide-js compile --project ./project.inlang --outdir ./src/lib/paraglide"
|
|
16
|
+
},
|
|
17
|
+
"bin": {
|
|
18
|
+
"ui": "./scripts/add-component-template.js",
|
|
19
|
+
"gen": "./scripts/generate-ts-index.js"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"!dist/**/*.test.*",
|
|
24
|
+
"!dist/**/*.spec.*"
|
|
25
|
+
],
|
|
26
|
+
"sideEffects": [
|
|
27
|
+
"**/*.css"
|
|
28
|
+
],
|
|
29
|
+
"svelte": "./dist/index.js",
|
|
30
|
+
"types": "dist/index.d.ts",
|
|
31
|
+
"type": "module",
|
|
32
|
+
"main": "dist/index.js",
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"types": "./dist/index.d.ts",
|
|
36
|
+
"svelte": "./dist/index.js",
|
|
37
|
+
"default": "./dist/index.js"
|
|
38
|
+
},
|
|
39
|
+
"./i18n": {
|
|
40
|
+
"types": "./dist/i18n/index.d.ts",
|
|
41
|
+
"svelte": "./dist/i18n/index.js",
|
|
42
|
+
"default": "./dist/i18n/index.js"
|
|
43
|
+
},
|
|
44
|
+
"./icons": {
|
|
45
|
+
"types": "./dist/components/icons/index.d.ts",
|
|
46
|
+
"svelte": "./dist/components/icons/index.js",
|
|
47
|
+
"default": "./dist/components/icons/index.js"
|
|
48
|
+
},
|
|
49
|
+
"./command": {
|
|
50
|
+
"types": "./dist/components/command/index.d.ts",
|
|
51
|
+
"svelte": "./dist/components/command/index.js",
|
|
52
|
+
"default": "./dist/components/command/index.js"
|
|
53
|
+
},
|
|
54
|
+
"./themes/tw-preset": "./dist/themes/tw-preset.cjs",
|
|
55
|
+
"./themes/tera-ui-base": "./dist/themes/tera-ui-base.css"
|
|
56
|
+
},
|
|
57
|
+
"peerDependencies": {
|
|
58
|
+
"svelte": "^5.0.0"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@chromatic-com/storybook": "^3.2.1",
|
|
62
|
+
"@storybook/addon-essentials": "^8.3.6",
|
|
63
|
+
"@storybook/addon-interactions": "^8.3.6",
|
|
64
|
+
"@storybook/addon-links": "^8.3.6",
|
|
65
|
+
"@storybook/addon-styling": "^1.3.7",
|
|
66
|
+
"@storybook/addon-svelte-csf": "^5.0.0-next.8",
|
|
67
|
+
"@storybook/addon-themes": "^8.3.6",
|
|
68
|
+
"@storybook/addon-viewport": "^8.3.6",
|
|
69
|
+
"@storybook/blocks": "^8.3.6",
|
|
70
|
+
"@storybook/svelte": "^8.3.6",
|
|
71
|
+
"@storybook/sveltekit": "^8.3.6",
|
|
72
|
+
"@storybook/test": "^8.3.6",
|
|
73
|
+
"@sveltejs/adapter-auto": "^3.3.1",
|
|
74
|
+
"@sveltejs/kit": "^2.7.3",
|
|
75
|
+
"@sveltejs/package": "^2.3.7",
|
|
76
|
+
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
|
77
|
+
"npx": "^10.2.2",
|
|
78
|
+
"publint": "^0.2.12",
|
|
79
|
+
"sass-embedded": "^1.80.5",
|
|
80
|
+
"storybook": "^8.3.6",
|
|
81
|
+
"svelte": "^5.1.6",
|
|
82
|
+
"svelte-check": "^4.0.5",
|
|
83
|
+
"tailwindcss": "^3.4.14",
|
|
84
|
+
"typescript": "^5.6.3",
|
|
85
|
+
"vite": "^5.4.10"
|
|
86
|
+
},
|
|
87
|
+
"dependencies": {
|
|
88
|
+
"@floating-ui/dom": "^1.6.12",
|
|
89
|
+
"@inlang/paraglide-sveltekit": "0.11.5",
|
|
90
|
+
"@tabler/icons-svelte": "^3.21.0",
|
|
91
|
+
"clsx": "^2.1.1",
|
|
92
|
+
"autoprefixer": "^10.4.20",
|
|
93
|
+
"@inlang/paraglide-js": "1.11.3",
|
|
94
|
+
"tailwind-variants": "^0.2.1"
|
|
95
|
+
}
|
|
96
|
+
}
|