Skip to content

Commit

Permalink
update package
Browse files Browse the repository at this point in the history
  • Loading branch information
Applelo committed Apr 4, 2024
1 parent 9f1d232 commit f153d66
Show file tree
Hide file tree
Showing 6 changed files with 281 additions and 359 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@
"publish": "pnpm run -r publish"
},
"devDependencies": {
"@antfu/eslint-config": "2.11.1",
"@antfu/eslint-config": "2.12.1",
"eslint": "^8.57.0",
"playwright": "^1.42.1",
"typescript": "^5.4.3",
"vite": "^5.2.6",
"vitepress": "1.0.1",
"vite": "^5.2.8",
"vitepress": "1.0.2",
"vitest": "^1.4.0",
"vue": "^3.4.21",
"vue-tsc": "^2.0.7"
"vue-tsc": "^2.0.10"
}
}
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@
"tabbable": "^6.2.0"
},
"devDependencies": {
"@types/node": "^20.11.30",
"@types/node": "^20.12.4",
"fast-glob": "^3.3.2",
"lightningcss": "^1.24.1",
"typescript": "^5.4.3",
"vite": "^5.2.6",
"vite-plugin-dts": "^3.8.0"
"vite": "^5.2.8",
"vite-plugin-dts": "^3.8.1"
}
}
4 changes: 2 additions & 2 deletions packages/vue/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@compotes/vue": "workspace:*",
"@vitejs/plugin-vue": "^5.0.4",
"typescript": "^5.4.3",
"vite": "^5.2.6",
"vue-tsc": "^2.0.7"
"vite": "^5.2.8",
"vue-tsc": "^2.0.10"
}
}
4 changes: 2 additions & 2 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.4",
"typescript": "^5.4.3",
"vite": "^5.2.6",
"vite": "^5.2.8",
"vue": "^3.4.21",
"vue-tsc": "^2.0.7"
"vue-tsc": "^2.0.10"
},
"publishConfig": {
"access": "public"
Expand Down
7 changes: 1 addition & 6 deletions packages/vue/src/composables/collapse.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
import type { CollapseOptions } from 'compotes'
import { Collapse } from 'compotes'
import { type Ref, computed } from 'vue'
import type { Ref } from 'vue'
import { useParent } from './_parent'

export function useCollapse(
el: Ref<HTMLElement | null>,
options?: CollapseOptions,
) {
return useParent(Collapse, el, options)
// const collapse = useParent(Collapse, el, options)
// return {
// collapse,
// isExpanded: computed(() => collapse.value?.isExpanded),
// }
}
Loading

0 comments on commit f153d66

Please sign in to comment.