fix: ssr issue with popper components

This commit is contained in:
zernonia 2023-09-20 17:15:55 +08:00
parent 48ec8b33aa
commit f192d154c1
6 changed files with 11 additions and 22 deletions

View File

@ -39,7 +39,7 @@
"@vue/compiler-dom": "^3.3.4",
"autoprefixer": "^10.4.15",
"lodash.template": "^4.5.0",
"radix-vue": "^0.2.2",
"radix-vue": "^0.2.3",
"rimraf": "^5.0.1",
"tailwind-merge": "^1.14.0",
"tailwindcss": "^3.3.3",

View File

@ -5,7 +5,7 @@ const props = defineProps<PopoverTriggerProps>()
</script>
<template>
<PopoverTrigger v-bind="props" class="">
<PopoverTrigger v-bind="props">
<slot />
</PopoverTrigger>
</template>

View File

@ -5,7 +5,7 @@ const props = defineProps<TooltipTriggerProps>()
</script>
<template>
<TooltipTrigger v-bind="props" class="">
<TooltipTrigger v-bind="props">
<slot />
</TooltipTrigger>
</template>

View File

@ -62,7 +62,7 @@
"node-fetch": "^3.3.2",
"ora": "^7.0.1",
"prompts": "^2.4.2",
"radix-vue": "^0.1.34",
"radix-vue": "^0.2.3",
"recast": "^0.23.4",
"rimraf": "^5.0.1",
"ts-morph": "^19.0.0",

View File

@ -13,7 +13,7 @@
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"lucide-vue-next": "^0.276.0",
"radix-vue": "^0.2.2",
"radix-vue": "^0.2.3",
"tailwind-merge": "^1.14.0",
"tailwindcss-animate": "^1.0.7"
},

View File

@ -127,8 +127,8 @@ importers:
specifier: ^4.5.0
version: 4.5.0
radix-vue:
specifier: ^0.2.2
version: 0.2.2(vue@3.3.4)
specifier: ^0.2.3
version: 0.2.3(vue@3.3.4)
rimraf:
specifier: ^5.0.1
version: 5.0.1
@ -211,8 +211,8 @@ importers:
specifier: ^2.4.2
version: 2.4.2
radix-vue:
specifier: ^0.1.34
version: 0.1.34(vue@3.3.4)
specifier: ^0.2.3
version: 0.2.3(vue@3.3.4)
recast:
specifier: ^0.23.4
version: 0.23.4
@ -6817,25 +6817,14 @@ packages:
resolution: {integrity: sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw==}
dev: false
/radix-vue@0.1.34(vue@3.3.4):
resolution: {integrity: sha512-x5Mv8pFT43Ubz0md6gG/5+Zkz8QrOnZXnk2b1CFSrfHebykYNLAW3jX47sf4nmoDYYvH3mAi9QU1XMlCl7/h8Q==}
/radix-vue@0.2.3(vue@3.3.4):
resolution: {integrity: sha512-kA+3XCO5zXStbTrzbibhyKh62TlL+5Nq5FMAfPjS5/Ni8Qf0FGfWb924O2q2sV85HfZKHa9XcACuMN1NKZz0KA==}
dependencies:
'@floating-ui/dom': 1.5.1
'@floating-ui/vue': 1.0.2(vue@3.3.4)
transitivePeerDependencies:
- '@vue/composition-api'
- vue
dev: false
/radix-vue@0.2.2(vue@3.3.4):
resolution: {integrity: sha512-eW1VpctGY1JPafNHzlelxt/7dx340PZgj078bLsdMQDqq9lfN7tKHaj+pSyH7tdT3OtFsxKAmO65rnlaTAUqAg==}
dependencies:
'@floating-ui/dom': 1.5.1
'@floating-ui/vue': 1.0.2(vue@3.3.4)
transitivePeerDependencies:
- '@vue/composition-api'
- vue
dev: true
/rc9@2.1.1:
resolution: {integrity: sha512-lNeOl38Ws0eNxpO3+wD1I9rkHGQyj1NU1jlzv4go2CtEnEQEUfqnIvZG7W+bC/aXdJ27n5x/yUjb6RoT9tko+Q==}