Compare commits

..

No commits in common. "46b98316ee13aa7caf0ac0cf78e14fb1efe02708" and "ae025850b010804b5ea3e2ac33137679cb3e6550" have entirely different histories.

5 changed files with 698 additions and 689 deletions

View File

@ -148,7 +148,7 @@ const Button = defineComponent({
return () => { return () => {
const { shape, rootClassName, ghost, type, block, danger } = props const { shape, rootClassName, ghost, type, block, danger } = props
const icon = getSlotsProps(slots, props, 'icon') const icon = getSlotsProps(slots, props, 'icon')
const children = filterEmpty(slots.default?.() as any) const children = filterEmpty(slots.default?.())
isNeedInserted = isNeedInserted =
children.length === 1 && children.length === 1 &&
!slots.icon && !slots.icon &&

View File

@ -84,7 +84,7 @@ const Space = defineComponent({
return () => { return () => {
const { align, direction, rootClassName, split, wrap } = props const { align, direction, rootClassName, split, wrap } = props
const childNodes = filterEmpty(slots.default?.() as any) const childNodes = filterEmpty(slots.default?.())
const mergedAlign = const mergedAlign =
align === undefined && direction === 'horizontal' ? 'center' : align align === undefined && direction === 'horizontal' ? 'center' : align
const cn = classNames( const cn = classNames(

View File

@ -39,7 +39,7 @@
"@ctrl/tinycolor": "^3.6.0", "@ctrl/tinycolor": "^3.6.0",
"@v-c/utils": "^0.0.22", "@v-c/utils": "^0.0.22",
"@vueuse/core": "^9.13.0", "@vueuse/core": "^9.13.0",
"vue": "^3.3.0-beta.2" "vue": "^3.2.47"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^17.5.0", "@commitlint/cli": "^17.5.0",
@ -56,10 +56,10 @@
"prettier": "^2.8.7", "prettier": "^2.8.7",
"typescript": "^5.0.4", "typescript": "^5.0.4",
"unbuild": "^1.1.2", "unbuild": "^1.1.2",
"vite": "^4.3.3", "vite": "^4.2.1",
"vite-plugin-dts": "^2.3.0", "vite-plugin-dts": "^2.3.0",
"vite-plugin-vitepress-demo": "2.0.0-beta.29", "vite-plugin-vitepress-demo": "2.0.0-beta.29",
"vitepress": "1.0.0-alpha.74", "vitepress": "1.0.0-alpha.69",
"vitest": "^0.28.5" "vitest": "^0.28.5"
}, },
"pnpm": { "pnpm": {
@ -67,9 +67,6 @@
"ignoreMissing": [ "ignoreMissing": [
"@algolia/client-search" "@algolia/client-search"
] ]
},
"overrides": {
"vue": "3.3.0-beta.2"
} }
}, },
"lint-staged": { "lint-staged": {

1373
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,6 @@ export default defineConfig({
}) })
], ],
build: { build: {
minify: false,
rollupOptions: { rollupOptions: {
external: [ external: [
'@ant-design/colors', '@ant-design/colors',