mirror of
https://github.com/antd-tiny-vue/antd-tiny-vue.git
synced 2025-01-26 16:09:08 +08:00
Compare commits
4 Commits
ae025850b0
...
46b98316ee
Author | SHA1 | Date | |
---|---|---|---|
|
46b98316ee | ||
|
7320eaf54d | ||
|
5338a2fe92 | ||
|
b486c0ae40 |
@ -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?.())
|
const children = filterEmpty(slots.default?.() as any)
|
||||||
isNeedInserted =
|
isNeedInserted =
|
||||||
children.length === 1 &&
|
children.length === 1 &&
|
||||||
!slots.icon &&
|
!slots.icon &&
|
||||||
|
@ -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?.())
|
const childNodes = filterEmpty(slots.default?.() as any)
|
||||||
const mergedAlign =
|
const mergedAlign =
|
||||||
align === undefined && direction === 'horizontal' ? 'center' : align
|
align === undefined && direction === 'horizontal' ? 'center' : align
|
||||||
const cn = classNames(
|
const cn = classNames(
|
||||||
|
@ -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.2.47"
|
"vue": "^3.3.0-beta.2"
|
||||||
},
|
},
|
||||||
"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.2.1",
|
"vite": "^4.3.3",
|
||||||
"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.69",
|
"vitepress": "1.0.0-alpha.74",
|
||||||
"vitest": "^0.28.5"
|
"vitest": "^0.28.5"
|
||||||
},
|
},
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
@ -67,6 +67,9 @@
|
|||||||
"ignoreMissing": [
|
"ignoreMissing": [
|
||||||
"@algolia/client-search"
|
"@algolia/client-search"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"overrides": {
|
||||||
|
"vue": "3.3.0-beta.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
|
1373
pnpm-lock.yaml
generated
1373
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -10,6 +10,7 @@ export default defineConfig({
|
|||||||
})
|
})
|
||||||
],
|
],
|
||||||
build: {
|
build: {
|
||||||
|
minify: false,
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
external: [
|
external: [
|
||||||
'@ant-design/colors',
|
'@ant-design/colors',
|
||||||
|
Loading…
Reference in New Issue
Block a user