@sveltia/ui 0.69.2 → 0.70.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.
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# Dialog action button labels
|
|
2
|
+
ok: 確定
|
|
3
|
+
cancel: 取消
|
|
4
|
+
close: 關閉
|
|
5
|
+
|
|
6
|
+
# Button to clear content, e.g. search input or calendar date
|
|
7
|
+
clear: 清除
|
|
8
|
+
|
|
9
|
+
# Text editor dialog buttons for link/image insertion
|
|
10
|
+
insert: 插入
|
|
11
|
+
update: 更新
|
|
12
|
+
remove: 移除
|
|
13
|
+
|
|
14
|
+
# Combobox dropdown toggle button aria-labels
|
|
15
|
+
collapse: 收合
|
|
16
|
+
expand: 展開
|
|
17
|
+
|
|
18
|
+
# Infobar/toast dismiss button label
|
|
19
|
+
dismiss: 關閉
|
|
20
|
+
|
|
21
|
+
# Emoji suggestion listbox aria-label, shared by the text fields and the text editor
|
|
22
|
+
emoji_suggestions: 表情符號建議
|
|
23
|
+
|
|
24
|
+
# Calendar component
|
|
25
|
+
calendar:
|
|
26
|
+
# View switcher group aria-labels and navigation button aria-labels
|
|
27
|
+
year: 年
|
|
28
|
+
previous_decade: 前十年
|
|
29
|
+
next_decade: 後十年
|
|
30
|
+
month: 月
|
|
31
|
+
previous_month: 上個月
|
|
32
|
+
next_month: 下個月
|
|
33
|
+
# “Today” button label in footer
|
|
34
|
+
today: 今天
|
|
35
|
+
|
|
36
|
+
# Split button component
|
|
37
|
+
split_button:
|
|
38
|
+
# Wrapper aria-label, e.g. “Save Options” when primary button is “Save”
|
|
39
|
+
x_options: '{$name} 選項'
|
|
40
|
+
# Dropdown toggle aria-label
|
|
41
|
+
more_options: 更多選項
|
|
42
|
+
|
|
43
|
+
# Combobox component
|
|
44
|
+
combobox:
|
|
45
|
+
# Placeholder when no option is selected
|
|
46
|
+
select_an_option: 請選擇……
|
|
47
|
+
# Filter input aria-label
|
|
48
|
+
filter_options: 篩選選項
|
|
49
|
+
# Empty state message when filter has no matches
|
|
50
|
+
no_matching_options: 找不到符合的選項
|
|
51
|
+
|
|
52
|
+
# Number input component
|
|
53
|
+
number_input:
|
|
54
|
+
# Spin button aria-labels for incrementing/decrementing the number value
|
|
55
|
+
increase: 增加
|
|
56
|
+
decrease: 減少
|
|
57
|
+
|
|
58
|
+
# Password input component
|
|
59
|
+
password_input:
|
|
60
|
+
# Visibility toggle button aria-labels
|
|
61
|
+
show_password: 顯示密碼
|
|
62
|
+
hide_password: 隱藏密碼
|
|
63
|
+
|
|
64
|
+
# Secret input component (API keys, tokens, etc.)
|
|
65
|
+
secret_input:
|
|
66
|
+
# Visibility toggle button aria-labels
|
|
67
|
+
show_secret: 顯示金鑰內容
|
|
68
|
+
hide_secret: 隱藏金鑰內容
|
|
69
|
+
|
|
70
|
+
# Select tags component (multi-select)
|
|
71
|
+
select_tags:
|
|
72
|
+
# Listbox aria-label
|
|
73
|
+
selected_options: 已選取的選項
|
|
74
|
+
# Remove button aria-label, e.g. “Remove Option 1”
|
|
75
|
+
remove_x: '移除 {$name}'
|
|
76
|
+
|
|
77
|
+
# Text editor component
|
|
78
|
+
text_editor:
|
|
79
|
+
# Toolbar aria-labels
|
|
80
|
+
text_editor: 文字編輯器
|
|
81
|
+
code_editor: 程式碼編輯器
|
|
82
|
+
# Block style menu button and menu aria-labels
|
|
83
|
+
text_style_options: 文字樣式選項
|
|
84
|
+
show_text_style_options: 顯示文字樣式選項
|
|
85
|
+
# Block style menu items
|
|
86
|
+
paragraph: 段落
|
|
87
|
+
heading_1: 標題 1
|
|
88
|
+
heading_2: 標題 2
|
|
89
|
+
heading_3: 標題 3
|
|
90
|
+
heading_4: 標題 4
|
|
91
|
+
heading_5: 標題 5
|
|
92
|
+
heading_6: 標題 6
|
|
93
|
+
bulleted_list: 項目符號清單
|
|
94
|
+
numbered_list: 編號清單
|
|
95
|
+
blockquote: 引言區塊
|
|
96
|
+
code_block: 程式碼區塊
|
|
97
|
+
# Inline style button aria-labels
|
|
98
|
+
bold: 粗體
|
|
99
|
+
italic: 斜體
|
|
100
|
+
strikethrough: 刪除線
|
|
101
|
+
code: 程式碼
|
|
102
|
+
link: 連結
|
|
103
|
+
# Link dialog title
|
|
104
|
+
insert_link: 插入連結
|
|
105
|
+
update_link: 更新連結
|
|
106
|
+
# Link dialog input field labels
|
|
107
|
+
text: 文字
|
|
108
|
+
url: URL
|
|
109
|
+
# Markdown mode toggle button aria-label
|
|
110
|
+
edit_in_markdown: 以 Markdown 編輯
|
|
111
|
+
# Error message when rich text conversion fails
|
|
112
|
+
converter_error: 無法啟用格式化文字模式。請改用純文字編輯器。
|
|
113
|
+
# Language selector aria-label
|
|
114
|
+
language: 語言
|
|
115
|
+
# Plain text mode option in language selector
|
|
116
|
+
plain_text: 純文字
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sveltia/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.70.1",
|
|
4
4
|
"description": "A collection of Svelte components and utilities for building user interfaces.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@lexical/selection": "^0.50.0",
|
|
47
47
|
"@lexical/table": "^0.50.0",
|
|
48
48
|
"@lexical/utils": "^0.50.0",
|
|
49
|
-
"@sveltia/i18n": "^1.
|
|
49
|
+
"@sveltia/i18n": "^1.4.0",
|
|
50
50
|
"@sveltia/utils": "^0.12.1",
|
|
51
51
|
"lexical": "^0.50.0"
|
|
52
52
|
},
|
|
@@ -56,26 +56,26 @@
|
|
|
56
56
|
"@sveltejs/kit": "^2.70.3",
|
|
57
57
|
"@sveltejs/package": "^2.5.8",
|
|
58
58
|
"@sveltejs/vite-plugin-svelte": "^7.3.0",
|
|
59
|
-
"@vitest/coverage-v8": "^
|
|
60
|
-
"cspell": "^10.2.
|
|
59
|
+
"@vitest/coverage-v8": "^5.0.0",
|
|
60
|
+
"cspell": "^10.2.2",
|
|
61
61
|
"eslint": "^9.39.5",
|
|
62
62
|
"eslint-config-airbnb-extended": "^3.2.0",
|
|
63
63
|
"eslint-config-prettier": "^10.1.8",
|
|
64
64
|
"eslint-plugin-import": "^2.32.0",
|
|
65
|
-
"eslint-plugin-jsdoc": "^64.3.
|
|
65
|
+
"eslint-plugin-jsdoc": "^64.3.5",
|
|
66
66
|
"eslint-plugin-package-json": "^1.8.0",
|
|
67
67
|
"eslint-plugin-svelte": "^3.23.0",
|
|
68
68
|
"globals": "^17.12.0",
|
|
69
|
-
"happy-dom": "^20.
|
|
69
|
+
"happy-dom": "^20.14.0",
|
|
70
70
|
"oxlint": "^1.81.0",
|
|
71
|
-
"postcss": "^8.5.
|
|
71
|
+
"postcss": "^8.5.28",
|
|
72
72
|
"postcss-html": "^2.0.0",
|
|
73
73
|
"prettier": "^3.9.6",
|
|
74
74
|
"prettier-plugin-svelte": "^4.1.1",
|
|
75
75
|
"rolldown": "^1.2.7",
|
|
76
|
-
"sass": "^1.
|
|
76
|
+
"sass": "^1.104.0",
|
|
77
77
|
"shiki": "^4.4.3",
|
|
78
|
-
"stylelint": "^17.
|
|
78
|
+
"stylelint": "^17.15.0",
|
|
79
79
|
"stylelint-config-recommended-scss": "^17.0.1",
|
|
80
80
|
"stylelint-scss": "^7.2.0",
|
|
81
81
|
"svelte": "^5.57.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"svelte-preprocess": "^6.0.5",
|
|
84
84
|
"tslib": "^2.8.1",
|
|
85
85
|
"vite": "^8.2.2",
|
|
86
|
-
"vitest": "^
|
|
86
|
+
"vitest": "^5.0.0"
|
|
87
87
|
},
|
|
88
88
|
"peerDependencies": {
|
|
89
89
|
"svelte": "^5.0.0"
|