@sveltia/ui 0.71.1 → 0.72.1
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/alert/infobar.svelte +1 -1
- package/dist/components/button/button.svelte +1 -1
- package/dist/components/button/select-button.svelte +2 -1
- package/dist/components/calendar/calendar.d.ts +20 -0
- package/dist/components/calendar/calendar.js +81 -0
- package/dist/components/calendar/calendar.svelte +23 -45
- package/dist/components/checkbox/checkbox-group.svelte +1 -1
- package/dist/components/checkbox/checkbox.svelte +6 -1
- package/dist/components/dialog/dialog.svelte +1 -1
- package/dist/components/drawer/drawer.svelte +1 -1
- package/dist/components/emoji/emoji-suggestions.svelte +14 -40
- package/dist/components/emoji/position.d.ts +44 -0
- package/dist/components/emoji/position.js +60 -0
- package/dist/components/progressbar/progressbar.svelte +1 -1
- package/dist/components/radio/radio-group.svelte +1 -1
- package/dist/components/resizable-pane/resizable-handle.svelte +15 -47
- package/dist/components/resizable-pane/resizable-pane-group.svelte +37 -100
- package/dist/components/resizable-pane/resizable-pane.svelte +1 -1
- package/dist/components/resizable-pane/sizing.d.ts +48 -0
- package/dist/components/resizable-pane/sizing.js +190 -0
- package/dist/components/scroll/infinite-scroll.svelte +2 -0
- package/dist/components/select/combobox.svelte +3 -1
- package/dist/components/select/select-tags.d.ts +17 -0
- package/dist/components/select/select-tags.js +95 -0
- package/dist/components/select/select-tags.svelte +26 -28
- package/dist/components/slider/slider.d.ts +17 -0
- package/dist/components/slider/slider.js +96 -0
- package/dist/components/slider/slider.svelte +30 -56
- package/dist/components/tabs/tab-box.svelte +1 -1
- package/dist/components/tabs/tab-list.d.ts +6 -0
- package/dist/components/tabs/tab-list.js +19 -0
- package/dist/components/tabs/tab-list.svelte +2 -14
- package/dist/components/text-editor/code-editor.d.ts +5 -0
- package/dist/components/text-editor/code-editor.js +28 -0
- package/dist/components/text-editor/code-editor.svelte +7 -8
- package/dist/components/text-editor/emoji-autocomplete.svelte +9 -1
- package/dist/components/text-editor/lexical-root.svelte +3 -1
- package/dist/components/text-editor/shiki/facade.js +1 -1
- package/dist/components/text-editor/shiki/highlighter.js +40 -15
- package/dist/components/text-editor/shiki/version.d.ts +1 -1
- package/dist/components/text-editor/shiki/version.js +1 -1
- package/dist/components/text-editor/store.svelte.js +17 -7
- package/dist/components/text-editor/text-editor.svelte +4 -0
- package/dist/components/text-editor/toolbar/code-editor-toolbar.svelte +1 -1
- package/dist/components/text-editor/toolbar/code-language-switcher.svelte +4 -1
- package/dist/components/text-editor/toolbar/format-text-button.svelte +3 -1
- package/dist/components/text-editor/toolbar/insert-item-button.svelte +1 -1
- package/dist/components/text-editor/toolbar/insert-link-button.svelte +10 -3
- package/dist/components/text-editor/toolbar/text-editor-toolbar.svelte +4 -5
- package/dist/components/text-editor/toolbar/toggle-block-menu-item.svelte +2 -0
- package/dist/components/text-field/emoji-autocomplete.svelte +2 -0
- package/dist/components/text-field/number-input.d.ts +15 -0
- package/dist/components/text-field/number-input.js +98 -0
- package/dist/components/text-field/number-input.svelte +27 -23
- package/dist/components/text-field/text-input.svelte +9 -3
- package/dist/components/toast/toast.svelte +7 -2
- package/dist/components/toolbar/toolbar.svelte +1 -1
- package/dist/components/typography/truncated-text.svelte +2 -1
- package/dist/components/util/app-shell.d.ts +1 -0
- package/dist/components/util/app-shell.js +29 -0
- package/dist/components/util/app-shell.svelte +4 -18
- package/dist/components/util/modal.d.ts +5 -0
- package/dist/components/util/modal.js +22 -0
- package/dist/components/util/modal.svelte +9 -10
- package/dist/components/util/popup.svelte +11 -0
- package/dist/locales/ar.yaml +2 -2
- package/dist/locales/ca.yaml +2 -2
- package/dist/locales/cs.yaml +2 -2
- package/dist/locales/da.yaml +2 -2
- package/dist/locales/de.yaml +1 -1
- package/dist/locales/el.yaml +2 -2
- package/dist/locales/en-CA.yaml +1 -1
- package/dist/locales/en-GB.yaml +1 -1
- package/dist/locales/en-US.yaml +1 -1
- package/dist/locales/es-CO.yaml +2 -2
- package/dist/locales/fa.yaml +2 -2
- package/dist/locales/fi.yaml +1 -1
- package/dist/locales/fr.yaml +2 -2
- package/dist/locales/hr.yaml +116 -0
- package/dist/locales/it.yaml +2 -2
- package/dist/locales/nl.yaml +1 -1
- package/dist/locales/pl.yaml +2 -2
- package/dist/locales/pt-BR.yaml +2 -2
- package/dist/locales/pt-PT.yaml +2 -2
- package/dist/locales/sv.yaml +2 -2
- package/dist/locales/zh-CN.yaml +1 -1
- package/dist/locales/zh-TW.yaml +1 -1
- package/package.json +8 -4
package/dist/locales/ar.yaml
CHANGED
|
@@ -36,7 +36,7 @@ calendar:
|
|
|
36
36
|
# Split button component
|
|
37
37
|
split_button:
|
|
38
38
|
# Wrapper aria-label, e.g. “Save Options” when primary button is “Save”
|
|
39
|
-
x_options:
|
|
39
|
+
x_options: خيارات {$name}
|
|
40
40
|
# Dropdown toggle aria-label
|
|
41
41
|
more_options: خيارات إضافية
|
|
42
42
|
|
|
@@ -72,7 +72,7 @@ select_tags:
|
|
|
72
72
|
# Listbox aria-label
|
|
73
73
|
selected_options: الخيارات المحددة
|
|
74
74
|
# Remove button aria-label, e.g. “Remove Option 1”
|
|
75
|
-
remove_x:
|
|
75
|
+
remove_x: إزالة {$name}
|
|
76
76
|
|
|
77
77
|
# Text editor component
|
|
78
78
|
text_editor:
|
package/dist/locales/ca.yaml
CHANGED
|
@@ -36,7 +36,7 @@ calendar:
|
|
|
36
36
|
# Split button component
|
|
37
37
|
split_button:
|
|
38
38
|
# Wrapper aria-label, e.g. “Save Options” when primary button is “Save”
|
|
39
|
-
x_options:
|
|
39
|
+
x_options: Opcions de {$name}
|
|
40
40
|
# Dropdown toggle aria-label
|
|
41
41
|
more_options: Més opcions
|
|
42
42
|
|
|
@@ -72,7 +72,7 @@ select_tags:
|
|
|
72
72
|
# Listbox aria-label
|
|
73
73
|
selected_options: Opcions seleccionades
|
|
74
74
|
# Remove button aria-label, e.g. “Remove Option 1”
|
|
75
|
-
remove_x:
|
|
75
|
+
remove_x: Suprimeix {$name}
|
|
76
76
|
|
|
77
77
|
# Text editor component
|
|
78
78
|
text_editor:
|
package/dist/locales/cs.yaml
CHANGED
|
@@ -36,7 +36,7 @@ calendar:
|
|
|
36
36
|
# Split button component
|
|
37
37
|
split_button:
|
|
38
38
|
# Wrapper aria-label, e.g. “Save Options” when primary button is “Save”
|
|
39
|
-
x_options:
|
|
39
|
+
x_options: Možnosti pro {$name}
|
|
40
40
|
# Dropdown toggle aria-label
|
|
41
41
|
more_options: Další možnosti
|
|
42
42
|
|
|
@@ -72,7 +72,7 @@ select_tags:
|
|
|
72
72
|
# Listbox aria-label
|
|
73
73
|
selected_options: Vybrané možnosti
|
|
74
74
|
# Remove button aria-label, e.g. “Remove Option 1”
|
|
75
|
-
remove_x:
|
|
75
|
+
remove_x: Odebrat {$name}
|
|
76
76
|
|
|
77
77
|
# Text editor component
|
|
78
78
|
text_editor:
|
package/dist/locales/da.yaml
CHANGED
|
@@ -36,7 +36,7 @@ calendar:
|
|
|
36
36
|
# Split button component
|
|
37
37
|
split_button:
|
|
38
38
|
# Wrapper aria-label, e.g. “Save Options” when primary button is “Save”
|
|
39
|
-
x_options:
|
|
39
|
+
x_options: Muligheder for {$name}
|
|
40
40
|
# Dropdown toggle aria-label
|
|
41
41
|
more_options: Flere muligheder
|
|
42
42
|
|
|
@@ -72,7 +72,7 @@ select_tags:
|
|
|
72
72
|
# Listbox aria-label
|
|
73
73
|
selected_options: Valgte muligheder
|
|
74
74
|
# Remove button aria-label, e.g. “Remove Option 1”
|
|
75
|
-
remove_x:
|
|
75
|
+
remove_x: Fjern {$name}
|
|
76
76
|
|
|
77
77
|
# Text editor component
|
|
78
78
|
text_editor:
|
package/dist/locales/de.yaml
CHANGED
|
@@ -36,7 +36,7 @@ calendar:
|
|
|
36
36
|
# Split button component
|
|
37
37
|
split_button:
|
|
38
38
|
# Wrapper aria-label, e.g. “Save Options” when primary button is “Save”
|
|
39
|
-
x_options:
|
|
39
|
+
x_options: Optionen für {$name}
|
|
40
40
|
# Dropdown toggle aria-label
|
|
41
41
|
more_options: Weitere Optionen
|
|
42
42
|
|
package/dist/locales/el.yaml
CHANGED
|
@@ -36,7 +36,7 @@ calendar:
|
|
|
36
36
|
# Split button component
|
|
37
37
|
split_button:
|
|
38
38
|
# Wrapper aria-label, e.g. “Save Options” when primary button is “Save”
|
|
39
|
-
x_options:
|
|
39
|
+
x_options: Επιλογές για {$name}
|
|
40
40
|
# Dropdown toggle aria-label
|
|
41
41
|
more_options: Περισσότερες επιλογές
|
|
42
42
|
|
|
@@ -72,7 +72,7 @@ select_tags:
|
|
|
72
72
|
# Listbox aria-label
|
|
73
73
|
selected_options: Επιλεγμένες επιλογές
|
|
74
74
|
# Remove button aria-label, e.g. “Remove Option 1”
|
|
75
|
-
remove_x:
|
|
75
|
+
remove_x: Κατάργηση {$name}
|
|
76
76
|
|
|
77
77
|
# Text editor component
|
|
78
78
|
text_editor:
|
package/dist/locales/en-CA.yaml
CHANGED
package/dist/locales/en-GB.yaml
CHANGED
package/dist/locales/en-US.yaml
CHANGED
package/dist/locales/es-CO.yaml
CHANGED
|
@@ -36,7 +36,7 @@ calendar:
|
|
|
36
36
|
# Split button component
|
|
37
37
|
split_button:
|
|
38
38
|
# Wrapper aria-label, e.g. “Save Options” when primary button is “Save”
|
|
39
|
-
x_options:
|
|
39
|
+
x_options: Opciones de {$name}
|
|
40
40
|
# Dropdown toggle aria-label
|
|
41
41
|
more_options: Más opciones
|
|
42
42
|
|
|
@@ -72,7 +72,7 @@ select_tags:
|
|
|
72
72
|
# Listbox aria-label
|
|
73
73
|
selected_options: Opciones seleccionadas
|
|
74
74
|
# Remove button aria-label, e.g. “Remove Option 1”
|
|
75
|
-
remove_x:
|
|
75
|
+
remove_x: Quitar {$name}
|
|
76
76
|
|
|
77
77
|
# Text editor component
|
|
78
78
|
text_editor:
|
package/dist/locales/fa.yaml
CHANGED
|
@@ -36,7 +36,7 @@ calendar:
|
|
|
36
36
|
# Split button component
|
|
37
37
|
split_button:
|
|
38
38
|
# Wrapper aria-label, e.g. “Save Options” when primary button is “Save”
|
|
39
|
-
x_options:
|
|
39
|
+
x_options: گزینههای {$name}
|
|
40
40
|
# Dropdown toggle aria-label
|
|
41
41
|
more_options: گزینههای بیشتر
|
|
42
42
|
|
|
@@ -72,7 +72,7 @@ select_tags:
|
|
|
72
72
|
# Listbox aria-label
|
|
73
73
|
selected_options: گزینههای انتخابشده
|
|
74
74
|
# Remove button aria-label, e.g. “Remove Option 1”
|
|
75
|
-
remove_x:
|
|
75
|
+
remove_x: حذف {$name}
|
|
76
76
|
|
|
77
77
|
# Text editor component
|
|
78
78
|
text_editor:
|
package/dist/locales/fi.yaml
CHANGED
package/dist/locales/fr.yaml
CHANGED
|
@@ -36,7 +36,7 @@ calendar:
|
|
|
36
36
|
# Split button component
|
|
37
37
|
split_button:
|
|
38
38
|
# Wrapper aria-label, e.g. “Save Options” when primary button is “Save”
|
|
39
|
-
x_options:
|
|
39
|
+
x_options: Options de {$name}
|
|
40
40
|
# Dropdown toggle aria-label
|
|
41
41
|
more_options: Plus d’options
|
|
42
42
|
|
|
@@ -72,7 +72,7 @@ select_tags:
|
|
|
72
72
|
# Listbox aria-label
|
|
73
73
|
selected_options: Options sélectionnées
|
|
74
74
|
# Remove button aria-label, e.g. “Remove Option 1”
|
|
75
|
-
remove_x:
|
|
75
|
+
remove_x: Retirer {$name}
|
|
76
76
|
|
|
77
77
|
# Text editor component
|
|
78
78
|
text_editor:
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# Dialog action button labels
|
|
2
|
+
ok: U redu
|
|
3
|
+
cancel: Odustani
|
|
4
|
+
close: Zatvori
|
|
5
|
+
|
|
6
|
+
# Button to clear content, e.g. search input or calendar date
|
|
7
|
+
clear: Očisti
|
|
8
|
+
|
|
9
|
+
# Text editor dialog buttons for link/image insertion
|
|
10
|
+
insert: Umetni
|
|
11
|
+
update: Ažuriraj
|
|
12
|
+
remove: Ukloni
|
|
13
|
+
|
|
14
|
+
# Combobox dropdown toggle button aria-labels
|
|
15
|
+
collapse: Sažmi
|
|
16
|
+
expand: Proširi
|
|
17
|
+
|
|
18
|
+
# Infobar/toast dismiss button label
|
|
19
|
+
dismiss: Odbaci
|
|
20
|
+
|
|
21
|
+
# Emoji suggestion listbox aria-label, shared by the text fields and the text editor
|
|
22
|
+
emoji_suggestions: Prijedlozi emojija
|
|
23
|
+
|
|
24
|
+
# Calendar component
|
|
25
|
+
calendar:
|
|
26
|
+
# View switcher group aria-labels and navigation button aria-labels
|
|
27
|
+
year: Godina
|
|
28
|
+
previous_decade: Prethodno desetljeće
|
|
29
|
+
next_decade: Sljedeće desetljeće
|
|
30
|
+
month: Mjesec
|
|
31
|
+
previous_month: Prethodni mjesec
|
|
32
|
+
next_month: Sljedeći mjesec
|
|
33
|
+
# “Today” button label in footer
|
|
34
|
+
today: Danas
|
|
35
|
+
|
|
36
|
+
# Split button component
|
|
37
|
+
split_button:
|
|
38
|
+
# Wrapper aria-label, e.g. “Save Options” when primary button is “Save”
|
|
39
|
+
x_options: Opcije za {$name}
|
|
40
|
+
# Dropdown toggle aria-label
|
|
41
|
+
more_options: Više opcija
|
|
42
|
+
|
|
43
|
+
# Combobox component
|
|
44
|
+
combobox:
|
|
45
|
+
# Placeholder when no option is selected
|
|
46
|
+
select_an_option: Odaberite opciju…
|
|
47
|
+
# Filter input aria-label
|
|
48
|
+
filter_options: Filtriraj opcije
|
|
49
|
+
# Empty state message when filter has no matches
|
|
50
|
+
no_matching_options: Nema odgovarajućih opcija
|
|
51
|
+
|
|
52
|
+
# Number input component
|
|
53
|
+
number_input:
|
|
54
|
+
# Spin button aria-labels for incrementing/decrementing the number value
|
|
55
|
+
increase: Povećaj
|
|
56
|
+
decrease: Smanji
|
|
57
|
+
|
|
58
|
+
# Password input component
|
|
59
|
+
password_input:
|
|
60
|
+
# Visibility toggle button aria-labels
|
|
61
|
+
show_password: Prikaži lozinku
|
|
62
|
+
hide_password: Sakrij lozinku
|
|
63
|
+
|
|
64
|
+
# Secret input component (API keys, tokens, etc.)
|
|
65
|
+
secret_input:
|
|
66
|
+
# Visibility toggle button aria-labels
|
|
67
|
+
show_secret: Prikaži tajni ključ
|
|
68
|
+
hide_secret: Sakrij tajni ključ
|
|
69
|
+
|
|
70
|
+
# Select tags component (multi-select)
|
|
71
|
+
select_tags:
|
|
72
|
+
# Listbox aria-label
|
|
73
|
+
selected_options: Odabrane opcije
|
|
74
|
+
# Remove button aria-label, e.g. “Remove Option 1”
|
|
75
|
+
remove_x: Ukloni {$name}
|
|
76
|
+
|
|
77
|
+
# Text editor component
|
|
78
|
+
text_editor:
|
|
79
|
+
# Toolbar aria-labels
|
|
80
|
+
text_editor: Uređivač teksta
|
|
81
|
+
code_editor: Uređivač koda
|
|
82
|
+
# Block style menu button and menu aria-labels
|
|
83
|
+
text_style_options: Opcije stila teksta
|
|
84
|
+
show_text_style_options: Prikaži opcije stila teksta
|
|
85
|
+
# Block style menu items
|
|
86
|
+
paragraph: Odlomak
|
|
87
|
+
heading_1: Naslov 1
|
|
88
|
+
heading_2: Naslov 2
|
|
89
|
+
heading_3: Naslov 3
|
|
90
|
+
heading_4: Naslov 4
|
|
91
|
+
heading_5: Naslov 5
|
|
92
|
+
heading_6: Naslov 6
|
|
93
|
+
bulleted_list: Popis s grafičkim oznakama
|
|
94
|
+
numbered_list: Numerirani popis
|
|
95
|
+
blockquote: Citat
|
|
96
|
+
code_block: Blok koda
|
|
97
|
+
# Inline style button aria-labels
|
|
98
|
+
bold: Podebljano
|
|
99
|
+
italic: Kurziv
|
|
100
|
+
strikethrough: Precrtano
|
|
101
|
+
code: Kod
|
|
102
|
+
link: Poveznica
|
|
103
|
+
# Link dialog title
|
|
104
|
+
insert_link: Umetni poveznicu
|
|
105
|
+
update_link: Ažuriraj poveznicu
|
|
106
|
+
# Link dialog input field labels
|
|
107
|
+
text: Tekst
|
|
108
|
+
url: URL
|
|
109
|
+
# Markdown mode toggle button aria-label
|
|
110
|
+
edit_in_markdown: Uredi u Markdownu
|
|
111
|
+
# Error message when rich text conversion fails
|
|
112
|
+
converter_error: Nije moguće omogućiti način obogaćenog teksta. Umjesto toga upotrijebite uređivač običnog teksta.
|
|
113
|
+
# Language selector aria-label
|
|
114
|
+
language: Jezik
|
|
115
|
+
# Plain text mode option in language selector
|
|
116
|
+
plain_text: Običan tekst
|
package/dist/locales/it.yaml
CHANGED
|
@@ -36,7 +36,7 @@ calendar:
|
|
|
36
36
|
# Split button component
|
|
37
37
|
split_button:
|
|
38
38
|
# Wrapper aria-label, e.g. “Save Options” when primary button is “Save”
|
|
39
|
-
x_options:
|
|
39
|
+
x_options: Opzioni {$name}
|
|
40
40
|
# Dropdown toggle aria-label
|
|
41
41
|
more_options: Altre Opzioni
|
|
42
42
|
|
|
@@ -72,7 +72,7 @@ select_tags:
|
|
|
72
72
|
# Listbox aria-label
|
|
73
73
|
selected_options: Opzioni Selezionate
|
|
74
74
|
# Remove button aria-label, e.g. “Remove Option 1”
|
|
75
|
-
remove_x:
|
|
75
|
+
remove_x: Rimuovi {$name}
|
|
76
76
|
|
|
77
77
|
# Text editor component
|
|
78
78
|
text_editor:
|
package/dist/locales/nl.yaml
CHANGED
|
@@ -36,7 +36,7 @@ calendar:
|
|
|
36
36
|
# Split button component
|
|
37
37
|
split_button:
|
|
38
38
|
# Wrapper aria-label, e.g. “Save Options” when primary button is “Save”
|
|
39
|
-
x_options:
|
|
39
|
+
x_options: Opties voor {$name}
|
|
40
40
|
# Dropdown toggle aria-label
|
|
41
41
|
more_options: Meer opties
|
|
42
42
|
|
package/dist/locales/pl.yaml
CHANGED
|
@@ -36,7 +36,7 @@ calendar:
|
|
|
36
36
|
# Split button component
|
|
37
37
|
split_button:
|
|
38
38
|
# Wrapper aria-label, e.g. “Save Options” when primary button is “Save”
|
|
39
|
-
x_options:
|
|
39
|
+
x_options: Opcje {$name}
|
|
40
40
|
# Dropdown toggle aria-label
|
|
41
41
|
more_options: Więcej opcji
|
|
42
42
|
|
|
@@ -72,7 +72,7 @@ select_tags:
|
|
|
72
72
|
# Listbox aria-label
|
|
73
73
|
selected_options: Wybrane opcje
|
|
74
74
|
# Remove button aria-label, e.g. “Remove Option 1”
|
|
75
|
-
remove_x:
|
|
75
|
+
remove_x: Usuń {$name}
|
|
76
76
|
|
|
77
77
|
# Text editor component
|
|
78
78
|
text_editor:
|
package/dist/locales/pt-BR.yaml
CHANGED
|
@@ -36,7 +36,7 @@ calendar:
|
|
|
36
36
|
# Split button component
|
|
37
37
|
split_button:
|
|
38
38
|
# Wrapper aria-label, e.g. “Save Options” when primary button is “Save”
|
|
39
|
-
x_options:
|
|
39
|
+
x_options: Opções de {$name}
|
|
40
40
|
# Dropdown toggle aria-label
|
|
41
41
|
more_options: Mais opções
|
|
42
42
|
|
|
@@ -72,7 +72,7 @@ select_tags:
|
|
|
72
72
|
# Listbox aria-label
|
|
73
73
|
selected_options: Opções selecionadas
|
|
74
74
|
# Remove button aria-label, e.g. “Remove Option 1”
|
|
75
|
-
remove_x:
|
|
75
|
+
remove_x: Remover {$name}
|
|
76
76
|
|
|
77
77
|
# Text editor component
|
|
78
78
|
text_editor:
|
package/dist/locales/pt-PT.yaml
CHANGED
|
@@ -36,7 +36,7 @@ calendar:
|
|
|
36
36
|
# Split button component
|
|
37
37
|
split_button:
|
|
38
38
|
# Wrapper aria-label, e.g. “Save Options” when primary button is “Save”
|
|
39
|
-
x_options:
|
|
39
|
+
x_options: Opções de {$name}
|
|
40
40
|
# Dropdown toggle aria-label
|
|
41
41
|
more_options: Mais opções
|
|
42
42
|
|
|
@@ -72,7 +72,7 @@ select_tags:
|
|
|
72
72
|
# Listbox aria-label
|
|
73
73
|
selected_options: Opções selecionadas
|
|
74
74
|
# Remove button aria-label, e.g. “Remove Option 1”
|
|
75
|
-
remove_x:
|
|
75
|
+
remove_x: Remover {$name}
|
|
76
76
|
|
|
77
77
|
# Text editor component
|
|
78
78
|
text_editor:
|
package/dist/locales/sv.yaml
CHANGED
|
@@ -36,7 +36,7 @@ calendar:
|
|
|
36
36
|
# Split button component
|
|
37
37
|
split_button:
|
|
38
38
|
# Wrapper aria-label, e.g. “Save Options” when primary button is “Save”
|
|
39
|
-
x_options:
|
|
39
|
+
x_options: Alternativ för {$name}
|
|
40
40
|
# Dropdown toggle aria-label
|
|
41
41
|
more_options: Fler alternativ
|
|
42
42
|
|
|
@@ -72,7 +72,7 @@ select_tags:
|
|
|
72
72
|
# Listbox aria-label
|
|
73
73
|
selected_options: Valda inställningar
|
|
74
74
|
# Remove button aria-label, e.g. “Remove Option 1”
|
|
75
|
-
remove_x:
|
|
75
|
+
remove_x: Ta bort {$name}
|
|
76
76
|
|
|
77
77
|
# Text editor component
|
|
78
78
|
text_editor:
|
package/dist/locales/zh-CN.yaml
CHANGED
package/dist/locales/zh-TW.yaml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sveltia/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.72.1",
|
|
4
4
|
"description": "A collection of Svelte components and utilities for building user interfaces.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"dist",
|
|
35
|
-
"!dist/**/*.test.*"
|
|
35
|
+
"!dist/**/*.test.*",
|
|
36
|
+
"!dist/test-utils"
|
|
36
37
|
],
|
|
37
38
|
"dependencies": {
|
|
38
39
|
"@lexical/code-core": "^0.50.0",
|
|
@@ -56,6 +57,7 @@
|
|
|
56
57
|
"@sveltejs/kit": "^2.70.3",
|
|
57
58
|
"@sveltejs/package": "^2.5.8",
|
|
58
59
|
"@sveltejs/vite-plugin-svelte": "^7.3.0",
|
|
60
|
+
"@vitest/browser-playwright": "^5.0.0",
|
|
59
61
|
"@vitest/coverage-v8": "^5.0.0",
|
|
60
62
|
"cspell": "^10.3.0",
|
|
61
63
|
"eslint": "^9.39.5",
|
|
@@ -68,6 +70,7 @@
|
|
|
68
70
|
"globals": "^17.12.0",
|
|
69
71
|
"happy-dom": "^20.14.3",
|
|
70
72
|
"oxlint": "^1.82.0",
|
|
73
|
+
"playwright": "^1.63.0",
|
|
71
74
|
"postcss": "^8.5.28",
|
|
72
75
|
"postcss-html": "^2.0.0",
|
|
73
76
|
"prettier": "^3.9.6",
|
|
@@ -83,7 +86,8 @@
|
|
|
83
86
|
"svelte-preprocess": "^6.0.5",
|
|
84
87
|
"tslib": "^2.8.1",
|
|
85
88
|
"vite": "^8.3.0",
|
|
86
|
-
"vitest": "^5.0.0"
|
|
89
|
+
"vitest": "^5.0.0",
|
|
90
|
+
"vitest-browser-svelte": "^3.1.0"
|
|
87
91
|
},
|
|
88
92
|
"peerDependencies": {
|
|
89
93
|
"svelte": "^5.0.0"
|
|
@@ -95,7 +99,7 @@
|
|
|
95
99
|
"scripts": {
|
|
96
100
|
"build": "npm run generate:shiki && svelte-kit sync && svelte-package && node scripts/build-shiki-engine.js",
|
|
97
101
|
"build:watch": "svelte-kit sync && svelte-package --watch",
|
|
98
|
-
"check": "pnpm run '/^check:.*/'",
|
|
102
|
+
"check": "pnpm run --no-bail '/^check:.*/'",
|
|
99
103
|
"check:audit": "pnpm audit --ignore-registry-errors",
|
|
100
104
|
"check:cspell": "cspell --no-progress",
|
|
101
105
|
"check:eslint": "eslint .",
|