@bootstrap-vue-next/nuxt 0.22.7 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.d.mts CHANGED
@@ -27,7 +27,7 @@ interface ModuleOptions {
27
27
  /**
28
28
  * @default {}
29
29
  */
30
- plugin: Omit<Exclude<BootstrapVueOptions['plugins'], undefined>, 'id'>;
30
+ plugin: Omit<Exclude<BootstrapVueOptions, undefined>, 'id'>;
31
31
  }
32
32
 
33
33
  declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
package/dist/module.d.ts CHANGED
@@ -27,7 +27,7 @@ interface ModuleOptions {
27
27
  /**
28
28
  * @default {}
29
29
  */
30
- plugin: Omit<Exclude<BootstrapVueOptions['plugins'], undefined>, 'id'>;
30
+ plugin: Omit<Exclude<BootstrapVueOptions, undefined>, 'id'>;
31
31
  }
32
32
 
33
33
  declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
package/dist/module.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "nuxt": "^3.0.0",
6
6
  "bridge": false
7
7
  },
8
- "version": "0.22.7",
8
+ "version": "0.23.0",
9
9
  "builder": {
10
10
  "@nuxt/module-builder": "0.6.0",
11
11
  "unbuild": "2.0.0"
@@ -4,31 +4,27 @@ export default defineNuxtPlugin((nuxtApp) => {
4
4
  const opts = useRuntimeConfig().public.bootstrapVueNext.plugin;
5
5
  nuxtApp.vueApp.use(
6
6
  createBootstrap({
7
- components: false,
8
- directives: false,
9
- plugins: {
10
- ...opts,
11
- id: {
12
- getId: () => useId()
7
+ ...opts,
8
+ id: {
9
+ getId: () => useId()
10
+ },
11
+ components: {
12
+ ...opts?.components,
13
+ BModal: {
14
+ teleportTo: "#teleports",
15
+ ...opts?.components?.BModal
13
16
  },
14
- components: {
15
- ...opts?.components,
16
- BModal: {
17
- teleportTo: "#teleports",
18
- ...opts?.components?.BModal
19
- },
20
- BModalOrchestrator: {
21
- teleportTo: "#teleports",
22
- ...opts?.components?.BModalOrchestrator
23
- },
24
- BOffcanvas: {
25
- teleportTo: "#teleports",
26
- ...opts?.components?.BOffcanvas
27
- },
28
- BToastOrchestrator: {
29
- teleportTo: "#teleports",
30
- ...opts?.components?.BToastOrchestrator
31
- }
17
+ BModalOrchestrator: {
18
+ teleportTo: "#teleports",
19
+ ...opts?.components?.BModalOrchestrator
20
+ },
21
+ BOffcanvas: {
22
+ teleportTo: "#teleports",
23
+ ...opts?.components?.BOffcanvas
24
+ },
25
+ BToastOrchestrator: {
26
+ teleportTo: "#teleports",
27
+ ...opts?.components?.BToastOrchestrator
32
28
  }
33
29
  }
34
30
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bootstrap-vue-next/nuxt",
3
3
  "description": "Nuxt Module for BootstrapVueNext",
4
- "version": "0.22.7",
4
+ "version": "0.23.0",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Issayah",
@@ -21,7 +21,7 @@
21
21
  ],
22
22
  "types": "./dist/types.d.ts",
23
23
  "peerDependencies": {
24
- "bootstrap-vue-next": "^0.22.7"
24
+ "bootstrap-vue-next": "^0.23.0"
25
25
  },
26
26
  "dependencies": {
27
27
  "@nuxt/kit": "^3.11.2"
@@ -41,7 +41,7 @@
41
41
  "prettier": "^3.2.5",
42
42
  "unimport": "^3.7.1",
43
43
  "vue": "^3.4.27",
44
- "bootstrap-vue-next": "^0.22.7"
44
+ "bootstrap-vue-next": "^0.23.0"
45
45
  },
46
46
  "repository": {
47
47
  "type": "git",