@sveltia/ui 0.52.0 → 0.53.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.
@@ -91,9 +91,9 @@
91
91
 
92
92
  // eslint-disable-next-line jsdoc/require-jsdoc
93
93
  const setMode = () => {
94
- position = mql.matches
95
- ? 'bottom-center'
96
- : `bottom-${document.dir === 'rtl' ? 'left' : 'right'}`;
94
+ // In the RTL layout, a `bottom-right`-positioned toast is actually displayed in the
95
+ // bottom-left corner thanks to the `inset-inline-start/end` CSS properties
96
+ position = mql.matches ? 'bottom-center' : 'bottom-right';
97
97
  };
98
98
 
99
99
  setMode();
@@ -0,0 +1,113 @@
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
+ # Calendar component
22
+ calendar:
23
+ # View switcher group aria-labels and navigation button aria-labels
24
+ year: سنة
25
+ previous_decade: العقد السابق
26
+ next_decade: العقد القادم
27
+ month: شهر
28
+ previous_month: الشهر السابق
29
+ next_month: الشهر القادم
30
+ # “Today” button label in footer
31
+ today: اليوم
32
+
33
+ # Split button component
34
+ split_button:
35
+ # Wrapper aria-label, e.g. “Save Options” when primary button is “Save”
36
+ x_options: 'خيارات {$name}'
37
+ # Dropdown toggle aria-label
38
+ more_options: خيارات إضافية
39
+
40
+ # Combobox component
41
+ combobox:
42
+ # Placeholder when no option is selected
43
+ select_an_option: اختر خياراً…
44
+ # Filter input aria-label
45
+ filter_options: تصفية الخيارات
46
+ # Empty state message when filter has no matches
47
+ no_matching_options: لم يتم العثور على خيارات مطابقة
48
+
49
+ # Number input component
50
+ number_input:
51
+ # Spin button aria-labels for incrementing/decrementing the number value
52
+ increase: زيادة
53
+ decrease: نقصان
54
+
55
+ # Password input component
56
+ password_input:
57
+ # Visibility toggle button aria-labels
58
+ show_password: إظهار كلمة المرور
59
+ hide_password: إخفاء كلمة المرور
60
+
61
+ # Secret input component (API keys, tokens, etc.)
62
+ secret_input:
63
+ # Visibility toggle button aria-labels
64
+ show_secret: إظهار السر
65
+ hide_secret: إخفاء السر
66
+
67
+ # Select tags component (multi-select)
68
+ select_tags:
69
+ # Listbox aria-label
70
+ selected_options: الخيارات المحددة
71
+ # Remove button aria-label, e.g. “Remove Option 1”
72
+ remove_x: 'إزالة {$name}'
73
+
74
+ # Text editor component
75
+ text_editor:
76
+ # Toolbar aria-labels
77
+ text_editor: محرر النصوص
78
+ code_editor: محرر الكود
79
+ # Block style menu button and menu aria-labels
80
+ text_style_options: خيارات نمط النص
81
+ show_text_style_options: إظهار خيارات نمط النص
82
+ # Block style menu items
83
+ paragraph: فقرة
84
+ heading_ 1: عنوان 1
85
+ heading_2: عنوان 2
86
+ heading_3: عنوان 3
87
+ heading_4: عنوان 4
88
+ heading_5: عنوان 5
89
+ heading_6: عنوان 6
90
+ bulleted_list: قائمة نقطية
91
+ numbered_list: قائمة مرقمة
92
+ blockquote: اقتباس
93
+ code_block: كتلة برمجية
94
+ # Inline style button aria-labels
95
+ bold: عريض
96
+ italic: مائل
97
+ strikethrough: يتوسطه خط
98
+ code: كود
99
+ link: رابط
100
+ # Link dialog title
101
+ insert_link: إدراج رابط
102
+ update_link: تحديث الرابط
103
+ # Link dialog input field labels
104
+ text: نص
105
+ url: الرابط
106
+ # Markdown mode toggle button aria-label
107
+ edit_in_markdown: التحرير بلغة Markdown
108
+ # Error message when rich text conversion fails
109
+ converter_error: تعذر تمكين وضع النص الغني. يرجى استخدام محرر النصوص البسيط بدلاً من ذلك.
110
+ # Language selector aria-label
111
+ language: اللغة
112
+ # Plain text mode option in language selector
113
+ plain_text: نص عادي
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltia/ui",
3
- "version": "0.52.0",
3
+ "version": "0.53.1",
4
4
  "description": "A collection of Svelte components and utilities for building user interfaces.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -59,15 +59,15 @@
59
59
  "@vitest/coverage-v8": "^4.1.10",
60
60
  "cspell": "^10.0.1",
61
61
  "eslint": "^9.39.5",
62
- "eslint-config-airbnb-extended": "^3.1.1",
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": "^63.3.2",
65
+ "eslint-plugin-jsdoc": "^63.3.3",
66
66
  "eslint-plugin-package-json": "^1.6.2",
67
67
  "eslint-plugin-svelte": "^3.22.0",
68
- "globals": "^17.8.0",
68
+ "globals": "^17.9.0",
69
69
  "happy-dom": "^20.11.1",
70
- "oxlint": "^1.76.0",
70
+ "oxlint": "^1.77.0",
71
71
  "postcss": "^8.5.25",
72
72
  "postcss-html": "^2.0.0",
73
73
  "prettier": "^3.9.6",