mirror of
https://github.com/antd-tiny-vue/antd-tiny-vue.git
synced 2024-11-10 09:39:15 +08:00
Compare commits
4 Commits
ae025850b0
...
46b98316ee
Author | SHA1 | Date | |
---|---|---|---|
|
46b98316ee | ||
|
7320eaf54d | ||
|
5338a2fe92 | ||
|
b486c0ae40 |
@ -148,7 +148,7 @@ const Button = defineComponent({
|
||||
return () => {
|
||||
const { shape, rootClassName, ghost, type, block, danger } = props
|
||||
const icon = getSlotsProps(slots, props, 'icon')
|
||||
const children = filterEmpty(slots.default?.())
|
||||
const children = filterEmpty(slots.default?.() as any)
|
||||
isNeedInserted =
|
||||
children.length === 1 &&
|
||||
!slots.icon &&
|
||||
|
@ -84,7 +84,7 @@ const Space = defineComponent({
|
||||
|
||||
return () => {
|
||||
const { align, direction, rootClassName, split, wrap } = props
|
||||
const childNodes = filterEmpty(slots.default?.())
|
||||
const childNodes = filterEmpty(slots.default?.() as any)
|
||||
const mergedAlign =
|
||||
align === undefined && direction === 'horizontal' ? 'center' : align
|
||||
const cn = classNames(
|
||||
|
@ -39,7 +39,7 @@
|
||||
"@ctrl/tinycolor": "^3.6.0",
|
||||
"@v-c/utils": "^0.0.22",
|
||||
"@vueuse/core": "^9.13.0",
|
||||
"vue": "^3.2.47"
|
||||
"vue": "^3.3.0-beta.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^17.5.0",
|
||||
@ -56,10 +56,10 @@
|
||||
"prettier": "^2.8.7",
|
||||
"typescript": "^5.0.4",
|
||||
"unbuild": "^1.1.2",
|
||||
"vite": "^4.2.1",
|
||||
"vite": "^4.3.3",
|
||||
"vite-plugin-dts": "^2.3.0",
|
||||
"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"
|
||||
},
|
||||
"pnpm": {
|
||||
@ -67,6 +67,9 @@
|
||||
"ignoreMissing": [
|
||||
"@algolia/client-search"
|
||||
]
|
||||
},
|
||||
"overrides": {
|
||||
"vue": "3.3.0-beta.2"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
|
1373
pnpm-lock.yaml
1373
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -10,6 +10,7 @@ export default defineConfig({
|
||||
})
|
||||
],
|
||||
build: {
|
||||
minify: false,
|
||||
rollupOptions: {
|
||||
external: [
|
||||
'@ant-design/colors',
|
||||
|
Loading…
Reference in New Issue
Block a user