@wot-ui/ui 2.0.4 → 2.0.5
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/changelog.md +7 -0
- package/components/wd-config-provider/wd-config-provider.vue +2 -2
- package/{styles/iconfont → components/wd-icon}/iconfont.scss +7 -9
- package/components/wd-icon/iconfont.ttf +0 -0
- package/components/wd-icon/index.scss +1 -1
- package/locale/lang/ar-SA.ts +0 -6
- package/locale/lang/de-DE.ts +0 -6
- package/locale/lang/en-US.ts +0 -6
- package/locale/lang/es-ES.ts +0 -6
- package/locale/lang/fr-FR.ts +0 -6
- package/locale/lang/ja-JP.ts +0 -6
- package/locale/lang/ko-KR.ts +0 -6
- package/locale/lang/pt-PT.ts +0 -6
- package/locale/lang/ru-RU.ts +0 -6
- package/locale/lang/th-TH.ts +0 -6
- package/locale/lang/tr-TR.ts +0 -6
- package/locale/lang/ug-CN.ts +0 -6
- package/locale/lang/vi-VN.ts +0 -1
- package/locale/lang/zh-CN.ts +0 -6
- package/locale/lang/zh-HK.ts +0 -1
- package/locale/lang/zh-TW.ts +0 -1
- package/package.json +1 -1
- package/web-types.json +1 -1
package/changelog.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
### [2.0.5](https://github.com/wot-ui/wot-ui/compare/v2.0.4...v2.0.5) (2026-04-27)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### ✏️ Documentation | 文档
|
|
8
|
+
|
|
9
|
+
* ✏️ 更新深色模式和主题变量引入说明,增加代码示例 ([#19](https://github.com/wot-ui/wot-ui/issues/19)) ([abb7a1b](https://github.com/wot-ui/wot-ui/commit/abb7a1bfdbaab7e2b16b6cde5fd529d043461996))
|
|
10
|
+
|
|
4
11
|
### [2.0.4](https://github.com/wot-ui/wot-ui/compare/v2.0.3...v2.0.4) (2026-04-24)
|
|
5
12
|
|
|
6
13
|
### [2.0.3](https://github.com/wot-ui/wot-ui/compare/v2.0.2...v2.0.3) (2026-04-23)
|
|
@@ -35,7 +35,7 @@ const themeClass = computed(() => {
|
|
|
35
35
|
return `wot-theme-${props.theme} ${props.customClass}`
|
|
36
36
|
})
|
|
37
37
|
|
|
38
|
-
const
|
|
38
|
+
const themeValue = computed(() => props.theme)
|
|
39
39
|
|
|
40
40
|
const themeStyle = computed(() => {
|
|
41
41
|
if (hooksProvider !== None) {
|
|
@@ -51,7 +51,7 @@ const rootStyle = computed(() => {
|
|
|
51
51
|
})
|
|
52
52
|
|
|
53
53
|
linkChildren({
|
|
54
|
-
theme,
|
|
54
|
+
theme: themeValue,
|
|
55
55
|
themeStyle
|
|
56
56
|
})
|
|
57
57
|
</script>
|
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: "wd-icons";
|
|
3
3
|
/* Project id 5024693 */
|
|
4
|
-
src: url('
|
|
4
|
+
src: url('https://at.alicdn.com/t/c/font_5024693_esasb18zrbp.eot?t=1773909649753');
|
|
5
5
|
/* IE9 */
|
|
6
|
-
src: url('
|
|
6
|
+
src: url('https://at.alicdn.com/t/c/font_5024693_esasb18zrbp.eot?t=1773909649753#iefix') format('embedded-opentype'),
|
|
7
7
|
/* IE6-IE8 */
|
|
8
|
-
url('
|
|
9
|
-
url('
|
|
10
|
-
url('
|
|
8
|
+
url('https://at.alicdn.com/t/c/font_5024693_esasb18zrbp.woff?t=1773909649753') format('woff'),
|
|
9
|
+
url('https://at.alicdn.com/t/c/font_5024693_esasb18zrbp.ttf?t=1773909649753') format('truetype'),
|
|
10
|
+
url('https://at.alicdn.com/t/c/font_5024693_esasb18zrbp.svg?t=1773909649753#wd-icons') format('svg');
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
/* #ifdef APP-PLUS || H5 */
|
|
14
|
-
/*
|
|
15
14
|
@font-face {
|
|
16
15
|
font-family: 'wd-icons';
|
|
17
16
|
src:
|
|
18
|
-
url('./
|
|
17
|
+
url('./iconfont.ttf') format('truetype');
|
|
19
18
|
font-weight: normal;
|
|
20
19
|
font-style: normal;
|
|
21
|
-
}
|
|
22
|
-
*/
|
|
20
|
+
}
|
|
23
21
|
/* #endif */
|
|
24
22
|
|
|
25
23
|
.wd-icon-expand:before {
|
|
Binary file
|
package/locale/lang/ar-SA.ts
CHANGED
|
@@ -68,12 +68,6 @@ export default {
|
|
|
68
68
|
confirm: 'تأكيد',
|
|
69
69
|
cancel: 'إلغاء'
|
|
70
70
|
},
|
|
71
|
-
messageBox: {
|
|
72
|
-
inputPlaceholder: 'الرجاء إدخال المعلومات',
|
|
73
|
-
confirm: 'تأكيد',
|
|
74
|
-
cancel: 'إلغاء',
|
|
75
|
-
inputNoValidate: 'الرجاء التأكد من إدخال المعلومات الصحيحة'
|
|
76
|
-
},
|
|
77
71
|
dialog: {
|
|
78
72
|
inputPlaceholder: 'الرجاء إدخال المعلومات',
|
|
79
73
|
confirm: 'تأكيد',
|
package/locale/lang/de-DE.ts
CHANGED
|
@@ -68,12 +68,6 @@ export default {
|
|
|
68
68
|
confirm: 'OK',
|
|
69
69
|
cancel: 'Stornieren'
|
|
70
70
|
},
|
|
71
|
-
messageBox: {
|
|
72
|
-
inputPlaceholder: 'Bitte geben Sie Informationen ein',
|
|
73
|
-
confirm: 'OK',
|
|
74
|
-
cancel: 'Stornieren',
|
|
75
|
-
inputNoValidate: 'Bitte geben Sie gültige Informationen ein'
|
|
76
|
-
},
|
|
77
71
|
dialog: {
|
|
78
72
|
inputPlaceholder: 'Bitte geben Sie Informationen ein',
|
|
79
73
|
confirm: 'OK',
|
package/locale/lang/en-US.ts
CHANGED
|
@@ -68,12 +68,6 @@ export default {
|
|
|
68
68
|
confirm: 'OK',
|
|
69
69
|
cancel: 'Cancel'
|
|
70
70
|
},
|
|
71
|
-
messageBox: {
|
|
72
|
-
inputPlaceholder: 'Please input information',
|
|
73
|
-
confirm: 'OK',
|
|
74
|
-
cancel: 'Cancel',
|
|
75
|
-
inputNoValidate: 'Please ensure you input correct information'
|
|
76
|
-
},
|
|
77
71
|
dialog: {
|
|
78
72
|
inputPlaceholder: 'Please input information',
|
|
79
73
|
confirm: 'OK',
|
package/locale/lang/es-ES.ts
CHANGED
|
@@ -64,12 +64,6 @@ export default {
|
|
|
64
64
|
error: 'Error al Cargar',
|
|
65
65
|
retry: 'Reintentar'
|
|
66
66
|
},
|
|
67
|
-
messageBox: {
|
|
68
|
-
inputPlaceholder: 'Por favor ingrese información',
|
|
69
|
-
confirm: 'Confirmar',
|
|
70
|
-
cancel: 'Cancelar',
|
|
71
|
-
inputNoValidate: 'Por favor ingrese información válida'
|
|
72
|
-
},
|
|
73
67
|
dialog: {
|
|
74
68
|
inputPlaceholder: 'Por favor ingrese información',
|
|
75
69
|
confirm: 'Confirmar',
|
package/locale/lang/fr-FR.ts
CHANGED
|
@@ -64,12 +64,6 @@ export default {
|
|
|
64
64
|
error: 'Échec du chargement',
|
|
65
65
|
retry: 'Réessayer'
|
|
66
66
|
},
|
|
67
|
-
messageBox: {
|
|
68
|
-
inputPlaceholder: 'Veuillez entrer des informations',
|
|
69
|
-
confirm: 'Confirmer',
|
|
70
|
-
cancel: 'Annuler',
|
|
71
|
-
inputNoValidate: 'Veuillez entrer des informations valides'
|
|
72
|
-
},
|
|
73
67
|
dialog: {
|
|
74
68
|
inputPlaceholder: 'Veuillez entrer des informations',
|
|
75
69
|
confirm: 'Confirmer',
|
package/locale/lang/ja-JP.ts
CHANGED
|
@@ -64,12 +64,6 @@ export default {
|
|
|
64
64
|
error: '読み込みエラー',
|
|
65
65
|
retry: '再試行'
|
|
66
66
|
},
|
|
67
|
-
messageBox: {
|
|
68
|
-
inputPlaceholder: '入力してください',
|
|
69
|
-
confirm: '確認',
|
|
70
|
-
cancel: 'キャンセル',
|
|
71
|
-
inputNoValidate: '無効なデータが入力されました'
|
|
72
|
-
},
|
|
73
67
|
dialog: {
|
|
74
68
|
inputPlaceholder: '入力してください',
|
|
75
69
|
confirm: '確認',
|
package/locale/lang/ko-KR.ts
CHANGED
|
@@ -64,12 +64,6 @@ export default {
|
|
|
64
64
|
error: '로딩 오류',
|
|
65
65
|
retry: '재시도'
|
|
66
66
|
},
|
|
67
|
-
messageBox: {
|
|
68
|
-
inputPlaceholder: '정보를 입력해주세요',
|
|
69
|
-
confirm: '확인',
|
|
70
|
-
cancel: '취소',
|
|
71
|
-
inputNoValidate: '유효한 정보를 입력해주세요'
|
|
72
|
-
},
|
|
73
67
|
dialog: {
|
|
74
68
|
inputPlaceholder: '정보를 입력해주세요',
|
|
75
69
|
confirm: '확인',
|
package/locale/lang/pt-PT.ts
CHANGED
|
@@ -64,12 +64,6 @@ export default {
|
|
|
64
64
|
error: 'Falha ao carregar',
|
|
65
65
|
retry: 'Clique para tentar novamente'
|
|
66
66
|
},
|
|
67
|
-
messageBox: {
|
|
68
|
-
inputPlaceholder: 'Por favor insira',
|
|
69
|
-
confirm: 'Confirmar',
|
|
70
|
-
cancel: 'Cancelar',
|
|
71
|
-
inputNoValidate: 'Dados inseridos inválidos'
|
|
72
|
-
},
|
|
73
67
|
dialog: {
|
|
74
68
|
inputPlaceholder: 'Por favor insira',
|
|
75
69
|
confirm: 'Confirmar',
|
package/locale/lang/ru-RU.ts
CHANGED
|
@@ -64,12 +64,6 @@ export default {
|
|
|
64
64
|
error: 'Ошибка загрузки',
|
|
65
65
|
retry: 'Повторить'
|
|
66
66
|
},
|
|
67
|
-
messageBox: {
|
|
68
|
-
inputPlaceholder: 'Введите, пожалуйста',
|
|
69
|
-
confirm: 'Ок',
|
|
70
|
-
cancel: 'Отмена',
|
|
71
|
-
inputNoValidate: 'Неверные данные'
|
|
72
|
-
},
|
|
73
67
|
dialog: {
|
|
74
68
|
inputPlaceholder: 'Введите, пожалуйста',
|
|
75
69
|
confirm: 'Ок',
|
package/locale/lang/th-TH.ts
CHANGED
|
@@ -68,12 +68,6 @@ export default {
|
|
|
68
68
|
confirm: 'ยืนยัน',
|
|
69
69
|
cancel: 'ยกเลิก'
|
|
70
70
|
},
|
|
71
|
-
messageBox: {
|
|
72
|
-
inputPlaceholder: 'กรุณาใส่ข้อมูล',
|
|
73
|
-
confirm: 'ยืนยัน',
|
|
74
|
-
cancel: 'ยกเลิก',
|
|
75
|
-
inputNoValidate: 'กรุณาตรวจสอบว่าคุณได้ใส่ข้อมูลที่ถูกต้อง'
|
|
76
|
-
},
|
|
77
71
|
dialog: {
|
|
78
72
|
inputPlaceholder: 'กรุณาใส่ข้อมูล',
|
|
79
73
|
confirm: 'ยืนยัน',
|
package/locale/lang/tr-TR.ts
CHANGED
|
@@ -69,12 +69,6 @@ export default {
|
|
|
69
69
|
error: 'Yükleme başarısız',
|
|
70
70
|
retry: 'Tekrar deneyin'
|
|
71
71
|
},
|
|
72
|
-
messageBox: {
|
|
73
|
-
inputPlaceholder: 'Lütfen girin',
|
|
74
|
-
confirm: 'Tamam',
|
|
75
|
-
cancel: 'İptal',
|
|
76
|
-
inputNoValidate: 'Girilen veriler geçerli değil'
|
|
77
|
-
},
|
|
78
72
|
dialog: {
|
|
79
73
|
inputPlaceholder: 'Lütfen girin',
|
|
80
74
|
confirm: 'Tamam',
|
package/locale/lang/ug-CN.ts
CHANGED
|
@@ -68,12 +68,6 @@ export default {
|
|
|
68
68
|
error: 'يۈكلەش مەغلۇپ بولدى',
|
|
69
69
|
retry: 'قايتا سىناڭ'
|
|
70
70
|
},
|
|
71
|
-
messageBox: {
|
|
72
|
-
inputPlaceholder: 'كىرگۈزۈڭ',
|
|
73
|
-
confirm: 'جەزملەش',
|
|
74
|
-
cancel: 'بىكار قىلىش',
|
|
75
|
-
inputNoValidate: 'كىرگۈزۈلگەن سانلىق مەلۇمات ئىناۋەتسىز'
|
|
76
|
-
},
|
|
77
71
|
dialog: {
|
|
78
72
|
inputPlaceholder: 'كىرگۈزۈڭ',
|
|
79
73
|
confirm: 'جەزملەش',
|
package/locale/lang/vi-VN.ts
CHANGED
|
@@ -47,7 +47,6 @@ export default {
|
|
|
47
47
|
cancel: 'Hủy bỏ'
|
|
48
48
|
},
|
|
49
49
|
loadmore: { loading: 'Đang tải...', finished: 'Đã tải xong', error: 'Tải thất bại', retry: 'Nhấp để thử lại' },
|
|
50
|
-
messageBox: { inputPlaceholder: 'Vui lòng nhập', confirm: 'Xác nhận', cancel: 'Hủy bỏ', inputNoValidate: 'Dữ liệu không hợp lệ' },
|
|
51
50
|
dialog: { inputPlaceholder: 'Vui lòng nhập', confirm: 'Xác nhận', cancel: 'Hủy bỏ', inputNoValidate: 'Dữ liệu không hợp lệ' },
|
|
52
51
|
numberKeyboard: { confirm: 'Hoàn thành' },
|
|
53
52
|
pagination: {
|
package/locale/lang/zh-CN.ts
CHANGED
package/locale/lang/zh-HK.ts
CHANGED
|
@@ -36,7 +36,6 @@ export default {
|
|
|
36
36
|
cascader: { title: '請選擇', placeholder: '請選擇', select: '請選擇', confirm: '確認' },
|
|
37
37
|
datetimePicker: { start: '開始時間', end: '結束時間', to: '至', placeholder: '請選擇', confirm: '完成', cancel: '取消' },
|
|
38
38
|
loadmore: { loading: '正在努力加載中...', finished: '已加載完畢', error: '加載失敗', retry: '點擊重試' },
|
|
39
|
-
messageBox: { inputPlaceholder: '請輸入', confirm: '確定', cancel: '取消', inputNoValidate: '輸入的數據不合法' },
|
|
40
39
|
dialog: { inputPlaceholder: '請輸入', confirm: '確定', cancel: '取消', inputNoValidate: '輸入的數據不合法' },
|
|
41
40
|
numberKeyboard: { confirm: '完成' },
|
|
42
41
|
pagination: {
|
package/locale/lang/zh-TW.ts
CHANGED
|
@@ -36,7 +36,6 @@ export default {
|
|
|
36
36
|
cascader: { title: '請選擇', placeholder: '請選擇', select: '請選擇', confirm: '確認' },
|
|
37
37
|
datetimePicker: { start: '開始時間', end: '結束時間', to: '至', placeholder: '請選擇', confirm: '完成', cancel: '取消' },
|
|
38
38
|
loadmore: { loading: '正在努力加載中...', finished: '已加載完畢', error: '加載失敗', retry: '點擊重試' },
|
|
39
|
-
messageBox: { inputPlaceholder: '請輸入', confirm: '確定', cancel: '取消', inputNoValidate: '輸入的數據不合法' },
|
|
40
39
|
dialog: { inputPlaceholder: '請輸入', confirm: '確定', cancel: '取消', inputNoValidate: '輸入的數據不合法' },
|
|
41
40
|
numberKeyboard: { confirm: '完成' },
|
|
42
41
|
pagination: {
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"wot-ui","name":"@wot-ui/ui","displayName":"wot-ui 一个轻量、美观、AI友好的 uni-app 组件库","version":"2.0.
|
|
1
|
+
{"id":"wot-ui","name":"@wot-ui/ui","displayName":"wot-ui 一个轻量、美观、AI友好的 uni-app 组件库","version":"2.0.5","license":"MIT","description":"wot-ui 一个轻量、美观、AI友好的 uni-app 组件库。","keywords":["wot-ui","国际化","组件库","vue3","暗黑模式"],"main":"index.ts","repository":{"type":"git","url":"https://github.com/wot-ui/wot-ui.git"},"engines":{"HBuilderX":"^3.8.7"},"dcloudext":{"type":"component-vue","sale":{"regular":{"price":"0.00"},"sourcecode":{"price":"0.00"}},"contact":{"qq":""},"declaration":{"ads":"无","data":"插件不采集任何数据","permissions":"无"},"npmurl":"https://www.npmjs.com/package/@wot-ui/ui"},"vetur":{"tags":"tags.json","attributes":"attributes.json"},"web-types":"web-types.json","uni_modules":{"dependencies":[],"encrypt":[],"platforms":{"cloud":{"tcb":"y","aliyun":"y","alipay":"n"},"client":{"Vue":{"vue2":"n","vue3":"y"},"App":{"app-vue":"y","app-nvue":"n","app-uvue":"n"},"H5-mobile":{"Safari":"y","Android Browser":"y","微信浏览器(Android)":"y","QQ浏览器(Android)":"y"},"H5-pc":{"Chrome":"y","IE":"u","Edge":"y","Firefox":"y","Safari":"y"},"小程序":{"微信":"y","阿里":"y","百度":"u","字节跳动":"u","QQ":"y","钉钉":"y","快手":"u","飞书":"u","京东":"u"},"快应用":{"华为":"u","联盟":"u"}}}},"peerDependencies":{"vue":">=3.2.47"}}
|