Skip to content

Commit d4f61c2

Browse files
committed
chore: update uikit -> ui-kit
1 parent 89586ef commit d4f61c2

File tree

351 files changed

+340
-390
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

351 files changed

+340
-390
lines changed

.ls-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ls:
77
.css: kebab-case | pointcase
88
.d.ts: kebab-case | pointcase
99
# shadcn 自动生成文件为 PascalCase 格式
10-
packages/@vben-core/uikit/shadcn-ui/src/components/ui:
10+
packages/@vben-core/ui-kit/shadcn-ui/src/components/ui:
1111
.vue: PascalCase
1212

1313
ignore:

apps/web-antd/CHANGELOG.md

Lines changed: 1 addition & 1 deletion

apps/web-antd/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@
3535
"@vben/icons": "workspace:*",
3636
"@vben/layouts": "workspace:*",
3737
"@vben/locales": "workspace:*",
38+
"@vben/universal-ui": "workspace:*",
3839
"@vben/styles": "workspace:*",
3940
"@vben/types": "workspace:*",
40-
"@vben/universal-ui": "workspace:*",
4141
"@vben/utils": "workspace:*",
42+
"@vben/widgets": "workspace:*",
4243
"@vueuse/core": "^10.11.0",
4344
"ant-design-vue": "^4.2.3",
4445
"dayjs": "^1.11.11",

apps/web-antd/src/app.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts" setup>
22
import { computed } from 'vue';
33
4-
import { GlobalProvider } from '@vben/universal-ui';
4+
import { GlobalProvider } from '@vben/widgets';
55
import { preferences, usePreferences } from '@vben-core/preferences';
66
77
import { App, ConfigProvider, theme } from 'ant-design-vue';

apps/web-antd/src/layouts/basic.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<script lang="ts" setup>
2-
import type { NotificationItem } from '@vben/universal-ui';
2+
import type { NotificationItem } from '@vben/widgets';
33
44
import { computed, ref } from 'vue';
55
import { useRouter } from 'vue-router';
66
77
import { IcRoundCreditScore, MdiDriveDocument, MdiGithub } from '@vben/icons';
88
import { BasicLayout } from '@vben/layouts';
99
import { $t } from '@vben/locales';
10-
import { Notification, UserDropdown } from '@vben/universal-ui';
1110
import { openWindow } from '@vben/utils';
11+
import { Notification, UserDropdown } from '@vben/widgets';
1212
import { preferences } from '@vben-core/preferences';
1313
import { useAccessStore } from '@vben-core/stores';
1414

apps/web-antd/src/router/guard.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ function setupCommonGuard(router: Router) {
4646
// 动态修改标题
4747
if (preferences.app.dynamicTitle) {
4848
const { title } = to.meta;
49+
// useTitle(`${$t(title)} - ${preferences.app.name}`);
4950
useTitle(`${$t(title)} - ${preferences.app.name}`);
5051
}
5152
});

cspell.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"nuxt",
3131
"lockb",
3232
"astro",
33-
"uikit",
33+
"ui-kit",
3434
"styl",
3535
"nocheck",
3636
"prefixs",

internal/lint-configs/eslint-config/src/custom-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Linter } from 'eslint';
22

33
const customConfig: Linter.FlatConfig[] = [
44
{
5-
files: ['packages/@core/uikit/shadcn-ui/**/**'],
5+
files: ['packages/@core/ui-kit/shadcn-ui/**/**'],
66
rules: {
77
'vue/require-default-prop': 'off',
88
},

packages/@core/shared/const/src/storage-manager.test.ts

Lines changed: 0 additions & 130 deletions
This file was deleted.

packages/@core/shared/const/src/storage-manager.ts

Lines changed: 0 additions & 118 deletions
This file was deleted.

0 commit comments

Comments
 (0)