@sveltia/ui 0.68.2 → 0.69.0

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.
@@ -7,7 +7,7 @@ export const SHIKI_VERSION: "4.4.3";
7
7
  /**
8
8
  * Version of this package, used to resolve the prebuilt Shiki engine chunk from a CDN.
9
9
  */
10
- export const UI_VERSION: "0.68.2";
10
+ export const UI_VERSION: "0.69.0";
11
11
  /**
12
12
  * Available syntax highlighting languages, sorted by display name.
13
13
  * @type {{ id: string, name: string, aliases?: string[] }[]}
@@ -10,7 +10,7 @@ export const SHIKI_VERSION = "4.4.3";
10
10
  /**
11
11
  * Version of this package, used to resolve the prebuilt Shiki engine chunk from a CDN.
12
12
  */
13
- export const UI_VERSION = "0.68.2";
13
+ export const UI_VERSION = "0.69.0";
14
14
 
15
15
  /**
16
16
  * Available syntax highlighting languages, sorted by display name.
@@ -251,6 +251,20 @@
251
251
  padding: 0;
252
252
  background-color: transparent;
253
253
  }
254
+ .content.tree {
255
+ border-width: var(--sui-tree-border-width, 1px);
256
+ border-style: var(--sui-tree-border-style, solid);
257
+ border-color: var(--sui-tree-border-color, var(--sui-secondary-border-color));
258
+ border-radius: var(--sui-tree-border-radius, 4px);
259
+ padding: var(--sui-tree-padding, 4px);
260
+ }
261
+ .content.tree :global(.sui.tree) {
262
+ margin: 0;
263
+ border-width: 0;
264
+ border-radius: 0;
265
+ padding: 0;
266
+ background-color: transparent;
267
+ }
254
268
  .content.combobox {
255
269
  display: flex;
256
270
  flex-direction: column;
@@ -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: سرتیتر ۱
88
+ heading_2: سرتیتر ۲
89
+ heading_3: سرتیتر ۳
90
+ heading_4: سرتیتر ۴
91
+ heading_5: سرتیتر ۵
92
+ heading_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: ویرایش در حالت مارک‌داون
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.68.2",
3
+ "version": "0.69.0",
4
4
  "description": "A collection of Svelte components and utilities for building user interfaces.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -57,17 +57,17 @@
57
57
  "@sveltejs/package": "^2.5.8",
58
58
  "@sveltejs/vite-plugin-svelte": "^7.3.0",
59
59
  "@vitest/coverage-v8": "^4.1.11",
60
- "cspell": "^10.1.1",
60
+ "cspell": "^10.2.0",
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.2.1",
66
- "eslint-plugin-package-json": "^1.7.1",
65
+ "eslint-plugin-jsdoc": "^64.3.3",
66
+ "eslint-plugin-package-json": "^1.8.0",
67
67
  "eslint-plugin-svelte": "^3.23.0",
68
- "globals": "^17.11.0",
69
- "happy-dom": "^20.11.8",
70
- "oxlint": "^1.80.0",
68
+ "globals": "^17.12.0",
69
+ "happy-dom": "^20.12.0",
70
+ "oxlint": "^1.81.0",
71
71
  "postcss": "^8.5.26",
72
72
  "postcss-html": "^2.0.0",
73
73
  "prettier": "^3.9.6",
@@ -78,7 +78,7 @@
78
78
  "stylelint": "^17.14.1",
79
79
  "stylelint-config-recommended-scss": "^17.0.1",
80
80
  "stylelint-scss": "^7.2.0",
81
- "svelte": "^5.56.10",
81
+ "svelte": "^5.57.0",
82
82
  "svelte-check": "^4.7.6",
83
83
  "svelte-preprocess": "^6.0.5",
84
84
  "tslib": "^2.8.1",