Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit 1eeab1e

Browse files
committed
2 parents e0a223f + 0a78d67 commit 1eeab1e

23 files changed

+724
-893
lines changed

apps/docs/package.json

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,25 @@
1111
"test": "pnpm run test:lint"
1212
},
1313
"devDependencies": {
14-
"@iconify-json/bi": "^1.1.16",
15-
"@iconify-json/simple-icons": "^1.1.52",
16-
"@rushstack/eslint-patch": "^1.2.0",
14+
"@iconify-json/bi": "^1.1.17",
15+
"@iconify-json/simple-icons": "^1.1.55",
16+
"@rushstack/eslint-patch": "^1.3.0",
17+
"@tsconfig/node20": "^1.0.1",
18+
"@types/node": "^20.2.5",
1719
"@vue/eslint-config-prettier": "^7.1.0",
1820
"@vue/eslint-config-typescript": "^11.0.3",
1921
"@vue/tsconfig": "^0.4.0",
2022
"@vueuse/core": "^10.1.2",
21-
"bootstrap": "^5.3.0-alpha3",
23+
"bootstrap": "^5.3.0",
2224
"bootstrap-vue-next": "workspace:^",
2325
"cross-env": "^7.0.3",
24-
"eslint": "^8.40.0",
26+
"eslint": "^8.42.0",
2527
"eslint-define-config": "^1.20.0",
26-
"eslint-plugin-vue": "^9.12.0",
28+
"eslint-plugin-vue": "^9.14.1",
2729
"prettier": "^2.8.8",
28-
"typescript": "^5.0.4",
29-
"unplugin-icons": "^0.16.1",
30-
"vitepress": "1.0.0-alpha.75",
30+
"typescript": "^5.1.3",
31+
"unplugin-icons": "^0.16.2",
32+
"vitepress": "1.0.0-beta.1",
3133
"vue": "^3.3.4"
3234
},
3335
"lint-staged": {

apps/docs/tsconfig.app.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"extends": "@vue/tsconfig/tsconfig.dom.json",
3-
"include": [".vitepress/**/*", "src/**/*.vue", "src/**/*.ts"],
4-
"compilerOptions": {
5-
"types": [
6-
"unplugin-icons/types/vue"
7-
],
8-
"lib": ["ESNext", "DOM", "DOM.Iterable"]
9-
}
2+
"extends": "@vue/tsconfig/tsconfig.dom.json",
3+
"include": [".vitepress/**/*", "src/**/*.vue", "src/**/*.ts"],
4+
"compilerOptions": {
5+
"composite": true,
6+
"baseUrl": ".",
7+
"types": ["unplugin-icons/types/vue"],
8+
"lib": ["ESNext", "DOM", "DOM.Iterable"]
9+
}
1010
}

apps/docs/tsconfig.node.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
{
2-
"extends": [
3-
"@tsconfig/node18/tsconfig.json",
4-
"@vue/tsconfig/tsconfig.json"
5-
],
6-
"include": [],
2+
"extends": ["@tsconfig/node20/tsconfig.json", "@vue/tsconfig/tsconfig.json"],
73
"compilerOptions": {
4+
"composite": true,
5+
"module": "ESNext",
86
"types": ["node"]
97
}
108
}
11-

apps/playground/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
"dependencies": {
1212
"bootstrap-vue-next": "workspace:^",
1313
"vue": "^3.3.4",
14-
"vue-router": "^4.2.0"
14+
"vue-router": "^4.2.2"
1515
},
1616
"devDependencies": {
17-
"@tsconfig/node18": "^2.0.1",
18-
"@types/node": "^18.16.8",
17+
"@tsconfig/node20": "^1.0.1",
18+
"@types/node": "^20.2.5",
1919
"@vitejs/plugin-vue": "^4.2.3",
2020
"@vue/tsconfig": "^0.4.0",
2121
"bootstrap-styles": "^5.2.3",
2222
"rollup-plugin-visualizer": "^5.9.0",
23-
"typescript": "^5.0.4",
24-
"vite": "^4.3.5",
23+
"typescript": "^5.1.3",
24+
"vite": "^4.3.9",
2525
"vue-tsc": "^1.6.5"
2626
},
2727
"lint-staged": {

apps/playground/tsconfig.app.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"extends": "@vue/tsconfig/tsconfig.dom.json",
33
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
44
"compilerOptions": {
5-
"types": ["vite/client"],
6-
"baseUrl": "."
5+
"composite": true,
6+
"baseUrl": ".",
7+
"types": ["vite/client"]
78
}
89
}

apps/playground/tsconfig.node.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
{
2-
"extends": [
3-
"@tsconfig/node18/tsconfig.json",
4-
"@vue/tsconfig/tsconfig.json"
5-
],
2+
"extends": ["@tsconfig/node20/tsconfig.json", "@vue/tsconfig/tsconfig.json"],
63
"include": ["vite.config.*"],
74
"compilerOptions": {
85
"composite": true,
6+
"module": "ESNext",
97
"types": ["node"]
108
}
119
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"devDependencies": {
4040
"husky": "^8.0.3",
4141
"lint-staged": "^13.2.2",
42-
"release-please": "^15.10.4",
42+
"release-please": "^15.11.0",
4343
"turbo": "latest"
4444
},
4545
"engines": {

packages/bootstrap-vue-next/package.json

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -45,41 +45,42 @@
4545
"vue": "^3.3.4"
4646
},
4747
"dependencies": {
48-
"@floating-ui/vue": "^1.0.0",
48+
"@floating-ui/vue": "^1.0.1",
4949
"@vueuse/core": "^10.1.2"
5050
},
5151
"devDependencies": {
5252
"@floating-ui/core": "^1.2.6",
53-
"@rushstack/eslint-patch": "^1.2.0",
54-
"@types/node": "^18.16.8",
53+
"@rushstack/eslint-patch": "^1.3.0",
54+
"@tsconfig/node20": "^1.0.1",
55+
"@types/node": "^20.2.5",
5556
"@vitejs/plugin-vue": "^4.2.3",
56-
"@vitest/coverage-c8": "^0.31.0",
57-
"@vue/compiler-dom": "^3.3.2",
57+
"@vitest/coverage-c8": "^0.31.4",
58+
"@vue/compiler-dom": "^3.3.4",
5859
"@vue/eslint-config-prettier": "^7.1.0",
5960
"@vue/eslint-config-typescript": "^11.0.3",
60-
"@vue/runtime-core": "^3.3.2",
61-
"@vue/shared": "^3.3.2",
61+
"@vue/runtime-core": "^3.3.4",
62+
"@vue/shared": "^3.3.4",
6263
"@vue/test-utils": "^2.3.2",
6364
"@vue/tsconfig": "^0.4.0",
6465
"@vueuse/shared": "^10.1.2",
65-
"bootstrap": "^5.2.3",
66-
"c8": "^7.13.0",
66+
"bootstrap": "^5.3.0",
67+
"c8": "^7.14.0",
6768
"csstype": "^3.1.2",
68-
"eslint": "^8.40.0",
69+
"eslint": "^8.42.0",
6970
"eslint-define-config": "^1.20.0",
70-
"eslint-plugin-vue": "^9.12.0",
71-
"happy-dom": "^9.18.3",
72-
"jsdom": "^22.0.0",
71+
"eslint-plugin-vue": "^9.14.1",
72+
"happy-dom": "^9.20.3",
73+
"jsdom": "^22.1.0",
7374
"prettier": "^2.8.8",
74-
"rollup": "^3.21.7",
75+
"rollup": "^3.23.0",
7576
"rollup-plugin-visualizer": "^5.9.0",
7677
"sass": "^1.62.1",
77-
"typescript": "^5.0.4",
78-
"vite": "^4.3.5",
78+
"typescript": "^5.1.3",
79+
"vite": "^4.3.9",
7980
"vite-plugin-dts": "^2.3.0",
80-
"vitest": "^0.31.0",
81+
"vitest": "^0.31.4",
8182
"vue": "^3.3.4",
82-
"vue-router": "^4.2.0",
83+
"vue-router": "^4.2.2",
8384
"vue-tsc": "^1.6.5"
8485
},
8586
"repository": {

packages/bootstrap-vue-next/src/BootstrapVue.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ import type {BootstrapVueOptions} from './types'
44
import './styles/styles.scss'
55

66
import * as Components from './components'
7-
import * as Directives from './directives/exports'
7+
import * as Directives from './directives'
88

9-
// Inject all components into the global @vue/runtime-core
10-
// This allows intellisense in templates w/out direct importing
119
declare module '@vue/runtime-core' {
1210
export interface GlobalComponents {
1311
BAccordion: typeof Components.BAccordion
@@ -135,8 +133,8 @@ const plugin: Plugin = {
135133

136134
export * from './components'
137135
export * as Components from './components'
138-
export * from './directives/exports'
139-
export * as Directives from './directives/exports'
136+
export * from './directives'
137+
export * as Directives from './directives'
140138
export * from './composables/exports'
141139
export * as Composables from './composables/exports'
142140
export * from './utils/exports'

packages/bootstrap-vue-next/src/components/BNavbar/BNavbarToggle.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</template>
1515

1616
<script setup lang="ts">
17-
import {BToggle as vBToggle} from '../../directives'
17+
import {vBToggle} from '../../directives'
1818
import {computed} from 'vue'
1919
import type {Booleanish} from '../../types'
2020
import {useBooleanish} from '../../composables'

packages/bootstrap-vue-next/src/components/BToast/_toast.scss

Lines changed: 0 additions & 69 deletions
This file was deleted.

packages/bootstrap-vue-next/src/components/BToast/_toaster-transition.scss

Lines changed: 0 additions & 51 deletions
This file was deleted.

packages/bootstrap-vue-next/src/components/BToast/index.scss

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/bootstrap-vue-next/src/components/BTransition/BTransition.vue

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,15 @@ const computedAttrs = computed(() =>
6969
: baseProperties.value
7070
)
7171
</script>
72+
73+
<style lang="scss">
74+
.fade-enter-active,
75+
.fade-leave-active {
76+
transition: opacity 0.25s linear;
77+
}
78+
79+
.fade-enter-from,
80+
.fade-leave-to {
81+
opacity: 0;
82+
}
83+
</style>

packages/bootstrap-vue-next/src/components/BTransition/_transition.scss

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/bootstrap-vue-next/src/composables/useModalManager.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
import {createSharedComposable, getSSRHandler, unrefElement, useCounter} from '@vueuse/core'
1+
import {
2+
createSharedComposable,
3+
getSSRHandler,
4+
tryOnScopeDispose,
5+
unrefElement,
6+
useCounter,
7+
} from '@vueuse/core'
28
import {type Ref, watch} from 'vue'
39

410
const MODAL_OPEN_CLASS_NAME = 'modal-open'
@@ -20,6 +26,10 @@ const useSharedModalCounter = createSharedComposable(() => {
2026
}
2127
})
2228

29+
tryOnScopeDispose(() => {
30+
updateHTMLAttrs('body', 'class', '')
31+
})
32+
2333
watch(count, (newValue) => {
2434
updateHTMLAttrs('body', 'class', newValue > 0 ? MODAL_OPEN_CLASS_NAME : '')
2535
})

0 commit comments

Comments
 (0)