tera-system-ui 0.0.16 → 0.0.17
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.svelte +107 -107
- package/dist/components/dialog/dialog.scss +112 -112
- 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 -113
- 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.svelte +28 -28
- package/dist/paraglide/messages/de.d.ts +3 -0
- package/dist/paraglide/messages/de.js +24 -0
- package/dist/paraglide/messages/en.d.ts +3 -0
- package/dist/paraglide/messages/en.js +24 -0
- package/dist/paraglide/messages/es.d.ts +3 -0
- package/dist/paraglide/messages/es.js +24 -0
- package/dist/paraglide/messages/fr.d.ts +3 -0
- package/dist/paraglide/messages/fr.js +24 -0
- package/dist/paraglide/messages/it.d.ts +3 -0
- package/dist/paraglide/messages/it.js +24 -0
- package/dist/paraglide/messages/pt.d.ts +3 -0
- package/dist/paraglide/messages/pt.js +24 -0
- package/dist/paraglide/messages/ru.d.ts +3 -0
- package/dist/paraglide/messages/ru.js +24 -0
- package/dist/paraglide/messages/vi.d.ts +3 -0
- package/dist/paraglide/messages/vi.js +24 -0
- package/dist/paraglide/messages.d.ts +9 -0
- package/dist/paraglide/messages.js +84 -0
- package/dist/themes/scrollbar.scss +37 -37
- package/package.json +95 -94
- package/scripts/add-component-template.js +120 -120
- package/scripts/generate-ts-index.js +136 -136
|
@@ -16,3 +16,27 @@
|
|
|
16
16
|
*/
|
|
17
17
|
/* @__NO_SIDE_EFFECTS__ */
|
|
18
18
|
export const text_select_language = () => `Sprache auswählen`
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @returns {string}
|
|
24
|
+
*/
|
|
25
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
26
|
+
export const text_unit_converter = () => `Einheitenrechner`
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @returns {string}
|
|
32
|
+
*/
|
|
33
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
34
|
+
export const text_calces_scientific_calculator = () => `CalcES Wissenschaftlicher Rechner`
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @returns {string}
|
|
40
|
+
*/
|
|
41
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
42
|
+
export const text_calces_documentation = () => `CalcES Dokumentation`
|
|
@@ -16,3 +16,27 @@
|
|
|
16
16
|
*/
|
|
17
17
|
/* @__NO_SIDE_EFFECTS__ */
|
|
18
18
|
export const text_select_language = () => `Select language`
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @returns {string}
|
|
24
|
+
*/
|
|
25
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
26
|
+
export const text_unit_converter = () => `Unit Converter`
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @returns {string}
|
|
32
|
+
*/
|
|
33
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
34
|
+
export const text_calces_scientific_calculator = () => `CalcES Scientific Calculator`
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @returns {string}
|
|
40
|
+
*/
|
|
41
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
42
|
+
export const text_calces_documentation = () => `CalcES Documentation`
|
|
@@ -16,3 +16,27 @@
|
|
|
16
16
|
*/
|
|
17
17
|
/* @__NO_SIDE_EFFECTS__ */
|
|
18
18
|
export const text_select_language = () => `Seleccionar idioma`
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @returns {string}
|
|
24
|
+
*/
|
|
25
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
26
|
+
export const text_unit_converter = () => `Convertidor de Unidades`
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @returns {string}
|
|
32
|
+
*/
|
|
33
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
34
|
+
export const text_calces_scientific_calculator = () => `Calculadora Científica CalcES`
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @returns {string}
|
|
40
|
+
*/
|
|
41
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
42
|
+
export const text_calces_documentation = () => `Documentación de CalcES`
|
|
@@ -16,3 +16,27 @@
|
|
|
16
16
|
*/
|
|
17
17
|
/* @__NO_SIDE_EFFECTS__ */
|
|
18
18
|
export const text_select_language = () => `Sélectionner la langue`
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @returns {string}
|
|
24
|
+
*/
|
|
25
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
26
|
+
export const text_unit_converter = () => `Convertisseur d'Unités`
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @returns {string}
|
|
32
|
+
*/
|
|
33
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
34
|
+
export const text_calces_scientific_calculator = () => `Calculatrice Scientifique CalcES`
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @returns {string}
|
|
40
|
+
*/
|
|
41
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
42
|
+
export const text_calces_documentation = () => `Documentation de CalcES`
|
|
@@ -16,3 +16,27 @@
|
|
|
16
16
|
*/
|
|
17
17
|
/* @__NO_SIDE_EFFECTS__ */
|
|
18
18
|
export const text_select_language = () => `Seleziona la lingua`
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @returns {string}
|
|
24
|
+
*/
|
|
25
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
26
|
+
export const text_unit_converter = () => `Convertitore di Unità`
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @returns {string}
|
|
32
|
+
*/
|
|
33
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
34
|
+
export const text_calces_scientific_calculator = () => `Calcolatrice Scientifica CalcES`
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @returns {string}
|
|
40
|
+
*/
|
|
41
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
42
|
+
export const text_calces_documentation = () => `Documentazione di CalcES`
|
|
@@ -16,3 +16,27 @@
|
|
|
16
16
|
*/
|
|
17
17
|
/* @__NO_SIDE_EFFECTS__ */
|
|
18
18
|
export const text_select_language = () => `Selecionar idioma`
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @returns {string}
|
|
24
|
+
*/
|
|
25
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
26
|
+
export const text_unit_converter = () => `Conversor de Unidades`
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @returns {string}
|
|
32
|
+
*/
|
|
33
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
34
|
+
export const text_calces_scientific_calculator = () => `Calculadora Científica CalcES`
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @returns {string}
|
|
40
|
+
*/
|
|
41
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
42
|
+
export const text_calces_documentation = () => `Documentação CalcES`
|
|
@@ -16,3 +16,27 @@
|
|
|
16
16
|
*/
|
|
17
17
|
/* @__NO_SIDE_EFFECTS__ */
|
|
18
18
|
export const text_select_language = () => `Выберите язык`
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @returns {string}
|
|
24
|
+
*/
|
|
25
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
26
|
+
export const text_unit_converter = () => `Конвертер единиц`
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @returns {string}
|
|
32
|
+
*/
|
|
33
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
34
|
+
export const text_calces_scientific_calculator = () => `Научный калькулятор CalcES`
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @returns {string}
|
|
40
|
+
*/
|
|
41
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
42
|
+
export const text_calces_documentation = () => `Документация CalcES`
|
|
@@ -16,3 +16,27 @@
|
|
|
16
16
|
*/
|
|
17
17
|
/* @__NO_SIDE_EFFECTS__ */
|
|
18
18
|
export const text_select_language = () => `Chọn ngôn ngữ`
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @returns {string}
|
|
24
|
+
*/
|
|
25
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
26
|
+
export const text_unit_converter = () => `Bộ Chuyển Đổi Đơn Vị`
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @returns {string}
|
|
32
|
+
*/
|
|
33
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
34
|
+
export const text_calces_scientific_calculator = () => `Máy Tính Khoa Học CalcES`
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @returns {string}
|
|
40
|
+
*/
|
|
41
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
42
|
+
export const text_calces_documentation = () => `Tài Liệu CalcES`
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
export function text_select_language(params?: {}, options?: {
|
|
2
2
|
languageTag?: "de" | "en" | "es" | "fr" | "pt" | "vi" | "ru" | "it";
|
|
3
3
|
}): string;
|
|
4
|
+
export function text_unit_converter(params?: {}, options?: {
|
|
5
|
+
languageTag?: "de" | "en" | "es" | "fr" | "pt" | "vi" | "ru" | "it";
|
|
6
|
+
}): string;
|
|
7
|
+
export function text_calces_scientific_calculator(params?: {}, options?: {
|
|
8
|
+
languageTag?: "de" | "en" | "es" | "fr" | "pt" | "vi" | "ru" | "it";
|
|
9
|
+
}): string;
|
|
10
|
+
export function text_calces_documentation(params?: {}, options?: {
|
|
11
|
+
languageTag?: "de" | "en" | "es" | "fr" | "pt" | "vi" | "ru" | "it";
|
|
12
|
+
}): string;
|
|
@@ -36,3 +36,87 @@ export const text_select_language = (params = {}, options = {}) => {
|
|
|
36
36
|
}[options.languageTag ?? languageTag()]()
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* This message has been compiled by [inlang paraglide](https://inlang.com/m/gerre34r/library-inlang-paraglideJs).
|
|
43
|
+
*
|
|
44
|
+
* - Don't edit the message's code. Use [Sherlock (VS Code extension)](https://inlang.com/m/r7kp499g/app-inlang-ideExtension),
|
|
45
|
+
* the [web editor](https://inlang.com/m/tdozzpar/app-inlang-finkLocalizationEditor) instead, or edit the translation files manually.
|
|
46
|
+
*
|
|
47
|
+
* - The params are NonNullable<unknown> because the inlang SDK does not provide information on the type of a param (yet).
|
|
48
|
+
*
|
|
49
|
+
* @param {{}} params
|
|
50
|
+
* @param {{ languageTag?: "de" | "en" | "es" | "fr" | "pt" | "vi" | "ru" | "it" }} options
|
|
51
|
+
* @returns {string}
|
|
52
|
+
*/
|
|
53
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
54
|
+
export const text_unit_converter = (params = {}, options = {}) => {
|
|
55
|
+
return {
|
|
56
|
+
de: de.text_unit_converter,
|
|
57
|
+
en: en.text_unit_converter,
|
|
58
|
+
es: es.text_unit_converter,
|
|
59
|
+
fr: fr.text_unit_converter,
|
|
60
|
+
it: it.text_unit_converter,
|
|
61
|
+
pt: pt.text_unit_converter,
|
|
62
|
+
ru: ru.text_unit_converter,
|
|
63
|
+
vi: vi.text_unit_converter
|
|
64
|
+
}[options.languageTag ?? languageTag()]()
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* This message has been compiled by [inlang paraglide](https://inlang.com/m/gerre34r/library-inlang-paraglideJs).
|
|
71
|
+
*
|
|
72
|
+
* - Don't edit the message's code. Use [Sherlock (VS Code extension)](https://inlang.com/m/r7kp499g/app-inlang-ideExtension),
|
|
73
|
+
* the [web editor](https://inlang.com/m/tdozzpar/app-inlang-finkLocalizationEditor) instead, or edit the translation files manually.
|
|
74
|
+
*
|
|
75
|
+
* - The params are NonNullable<unknown> because the inlang SDK does not provide information on the type of a param (yet).
|
|
76
|
+
*
|
|
77
|
+
* @param {{}} params
|
|
78
|
+
* @param {{ languageTag?: "de" | "en" | "es" | "fr" | "pt" | "vi" | "ru" | "it" }} options
|
|
79
|
+
* @returns {string}
|
|
80
|
+
*/
|
|
81
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
82
|
+
export const text_calces_scientific_calculator = (params = {}, options = {}) => {
|
|
83
|
+
return {
|
|
84
|
+
de: de.text_calces_scientific_calculator,
|
|
85
|
+
en: en.text_calces_scientific_calculator,
|
|
86
|
+
es: es.text_calces_scientific_calculator,
|
|
87
|
+
fr: fr.text_calces_scientific_calculator,
|
|
88
|
+
it: it.text_calces_scientific_calculator,
|
|
89
|
+
pt: pt.text_calces_scientific_calculator,
|
|
90
|
+
ru: ru.text_calces_scientific_calculator,
|
|
91
|
+
vi: vi.text_calces_scientific_calculator
|
|
92
|
+
}[options.languageTag ?? languageTag()]()
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* This message has been compiled by [inlang paraglide](https://inlang.com/m/gerre34r/library-inlang-paraglideJs).
|
|
99
|
+
*
|
|
100
|
+
* - Don't edit the message's code. Use [Sherlock (VS Code extension)](https://inlang.com/m/r7kp499g/app-inlang-ideExtension),
|
|
101
|
+
* the [web editor](https://inlang.com/m/tdozzpar/app-inlang-finkLocalizationEditor) instead, or edit the translation files manually.
|
|
102
|
+
*
|
|
103
|
+
* - The params are NonNullable<unknown> because the inlang SDK does not provide information on the type of a param (yet).
|
|
104
|
+
*
|
|
105
|
+
* @param {{}} params
|
|
106
|
+
* @param {{ languageTag?: "de" | "en" | "es" | "fr" | "pt" | "vi" | "ru" | "it" }} options
|
|
107
|
+
* @returns {string}
|
|
108
|
+
*/
|
|
109
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
110
|
+
export const text_calces_documentation = (params = {}, options = {}) => {
|
|
111
|
+
return {
|
|
112
|
+
de: de.text_calces_documentation,
|
|
113
|
+
en: en.text_calces_documentation,
|
|
114
|
+
es: es.text_calces_documentation,
|
|
115
|
+
fr: fr.text_calces_documentation,
|
|
116
|
+
it: it.text_calces_documentation,
|
|
117
|
+
pt: pt.text_calces_documentation,
|
|
118
|
+
ru: ru.text_calces_documentation,
|
|
119
|
+
vi: vi.text_calces_documentation
|
|
120
|
+
}[options.languageTag ?? languageTag()]()
|
|
121
|
+
}
|
|
122
|
+
|
|
@@ -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
|
+
}
|
package/package.json
CHANGED
|
@@ -1,94 +1,95 @@
|
|
|
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
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"check
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
"!dist/**/*.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"./themes/
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
"@storybook
|
|
61
|
-
"@storybook/addon-
|
|
62
|
-
"@storybook/addon-
|
|
63
|
-
"@storybook/addon-
|
|
64
|
-
"@storybook/addon-
|
|
65
|
-
"@storybook/addon-
|
|
66
|
-
"@storybook/addon-
|
|
67
|
-
"@storybook/
|
|
68
|
-
"@storybook/
|
|
69
|
-
"@storybook/
|
|
70
|
-
"@storybook/
|
|
71
|
-
"@
|
|
72
|
-
"@sveltejs/
|
|
73
|
-
"@sveltejs/
|
|
74
|
-
"@sveltejs/
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"svelte
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"@
|
|
88
|
-
"@
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
|
|
94
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "tera-system-ui",
|
|
3
|
+
"version": "0.0.17",
|
|
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 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
|
+
"exports": {
|
|
33
|
+
".": {
|
|
34
|
+
"types": "./dist/index.d.ts",
|
|
35
|
+
"svelte": "./dist/index.js",
|
|
36
|
+
"default": "./dist/index.js"
|
|
37
|
+
},
|
|
38
|
+
"./i18n": {
|
|
39
|
+
"types": "./dist/i18n/index.d.ts",
|
|
40
|
+
"svelte": "./dist/i18n/index.js",
|
|
41
|
+
"default": "./dist/i18n/index.js"
|
|
42
|
+
},
|
|
43
|
+
"./icons": {
|
|
44
|
+
"types": "./dist/components/icons/index.d.ts",
|
|
45
|
+
"svelte": "./dist/components/icons/index.js",
|
|
46
|
+
"default": "./dist/components/icons/index.js"
|
|
47
|
+
},
|
|
48
|
+
"./command": {
|
|
49
|
+
"types": "./dist/components/command/index.d.ts",
|
|
50
|
+
"svelte": "./dist/components/command/index.js",
|
|
51
|
+
"default": "./dist/components/command/index.js"
|
|
52
|
+
},
|
|
53
|
+
"./themes/tw-preset": "./dist/themes/tw-preset.cjs",
|
|
54
|
+
"./themes/tera-ui-base": "./dist/themes/tera-ui-base.css"
|
|
55
|
+
},
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"svelte": "^5.0.0"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@chromatic-com/storybook": "^3.2.1",
|
|
61
|
+
"@storybook/addon-essentials": "^8.3.6",
|
|
62
|
+
"@storybook/addon-interactions": "^8.3.6",
|
|
63
|
+
"@storybook/addon-links": "^8.3.6",
|
|
64
|
+
"@storybook/addon-styling": "^1.3.7",
|
|
65
|
+
"@storybook/addon-svelte-csf": "^5.0.0-next.8",
|
|
66
|
+
"@storybook/addon-themes": "^8.3.6",
|
|
67
|
+
"@storybook/addon-viewport": "^8.3.6",
|
|
68
|
+
"@storybook/blocks": "^8.3.6",
|
|
69
|
+
"@storybook/svelte": "^8.3.6",
|
|
70
|
+
"@storybook/sveltekit": "^8.3.6",
|
|
71
|
+
"@storybook/test": "^8.3.6",
|
|
72
|
+
"@sveltejs/adapter-auto": "^3.3.1",
|
|
73
|
+
"@sveltejs/kit": "^2.7.3",
|
|
74
|
+
"@sveltejs/package": "^2.3.7",
|
|
75
|
+
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
|
76
|
+
"npx": "^10.2.2",
|
|
77
|
+
"publint": "^0.2.12",
|
|
78
|
+
"sass-embedded": "^1.80.5",
|
|
79
|
+
"storybook": "^8.3.6",
|
|
80
|
+
"svelte": "^5.1.6",
|
|
81
|
+
"svelte-check": "^4.0.5",
|
|
82
|
+
"tailwindcss": "^3.4.14",
|
|
83
|
+
"typescript": "^5.6.3",
|
|
84
|
+
"vite": "^5.4.10"
|
|
85
|
+
},
|
|
86
|
+
"dependencies": {
|
|
87
|
+
"@floating-ui/dom": "^1.6.12",
|
|
88
|
+
"@inlang/paraglide-sveltekit": "0.11.5",
|
|
89
|
+
"@tabler/icons-svelte": "^3.21.0",
|
|
90
|
+
"clsx": "^2.1.1",
|
|
91
|
+
"autoprefixer": "^10.4.20",
|
|
92
|
+
"@inlang/paraglide-js": "1.11.3",
|
|
93
|
+
"tailwind-variants": "^0.2.1"
|
|
94
|
+
}
|
|
95
|
+
}
|