@yh-ui/nuxt 1.0.1 → 1.0.5

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.
@@ -1,12 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  const app = require('nuxt/app');
4
- const hooks = require('@yh-ui/hooks');
5
4
  const components = require('@yh-ui/components');
6
5
 
7
6
  const plugin = app.defineNuxtPlugin((nuxtApp) => {
8
- const zIndexCounter = hooks.createZIndexCounter();
9
- nuxtApp.vueApp.provide(hooks.zIndexCounterKey, zIndexCounter);
10
7
  nuxtApp.vueApp.directive("yh-loading", components.vLoading);
11
8
  nuxtApp.vueApp.directive("yh-infinite-scroll", components.vYhInfiniteScroll);
12
9
  });
@@ -1,10 +1,7 @@
1
1
  import { defineNuxtPlugin } from 'nuxt/app';
2
- import { createZIndexCounter, zIndexCounterKey } from '@yh-ui/hooks';
3
2
  import { vLoading, vYhInfiniteScroll } from '@yh-ui/components';
4
3
 
5
4
  var plugin = defineNuxtPlugin((nuxtApp) => {
6
- const zIndexCounter = createZIndexCounter();
7
- nuxtApp.vueApp.provide(zIndexCounterKey, zIndexCounter);
8
5
  nuxtApp.vueApp.directive("yh-loading", vLoading);
9
6
  nuxtApp.vueApp.directive("yh-infinite-scroll", vYhInfiniteScroll);
10
7
  });
@@ -1,10 +1,7 @@
1
1
  import { defineNuxtPlugin } from 'nuxt/app';
2
- import { createZIndexCounter, zIndexCounterKey } from '@yh-ui/hooks';
3
2
  import { vLoading, vYhInfiniteScroll } from '@yh-ui/components';
4
3
 
5
4
  var plugin = defineNuxtPlugin((nuxtApp) => {
6
- const zIndexCounter = createZIndexCounter();
7
- nuxtApp.vueApp.provide(zIndexCounterKey, zIndexCounter);
8
5
  nuxtApp.vueApp.directive("yh-loading", vLoading);
9
6
  nuxtApp.vueApp.directive("yh-infinite-scroll", vYhInfiniteScroll);
10
7
  });
@@ -1,10 +1,7 @@
1
1
  import { defineNuxtPlugin } from 'nuxt/app';
2
- import { createZIndexCounter, zIndexCounterKey } from '@yh-ui/hooks';
3
2
  import { vLoading, vYhInfiniteScroll } from '@yh-ui/components';
4
3
 
5
4
  var plugin = defineNuxtPlugin((nuxtApp) => {
6
- const zIndexCounter = createZIndexCounter();
7
- nuxtApp.vueApp.provide(zIndexCounterKey, zIndexCounter);
8
5
  nuxtApp.vueApp.directive("yh-loading", vLoading);
9
6
  nuxtApp.vueApp.directive("yh-infinite-scroll", vYhInfiniteScroll);
10
7
  });
@@ -1,10 +1,7 @@
1
1
  import { defineNuxtPlugin } from 'nuxt/app';
2
- import { createZIndexCounter, zIndexCounterKey } from '@yh-ui/hooks';
3
2
  import { vLoading, vYhInfiniteScroll } from '@yh-ui/components';
4
3
 
5
4
  const plugin = defineNuxtPlugin((nuxtApp) => {
6
- const zIndexCounter = createZIndexCounter();
7
- nuxtApp.vueApp.provide(zIndexCounterKey, zIndexCounter);
8
5
  nuxtApp.vueApp.directive("yh-loading", vLoading);
9
6
  nuxtApp.vueApp.directive("yh-infinite-scroll", vYhInfiniteScroll);
10
7
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yh-ui/nuxt",
3
- "version": "1.0.1",
3
+ "version": "1.0.5",
4
4
  "description": "Nuxt module for YH-UI",
5
5
  "type": "module",
6
6
  "main": "./dist/module.cjs",
@@ -18,9 +18,9 @@
18
18
  ],
19
19
  "dependencies": {
20
20
  "@nuxt/kit": "^3.11.0 || ^4.0.0",
21
- "@yh-ui/components": "^1.0.1",
22
- "@yh-ui/hooks": "^1.0.1",
23
- "@yh-ui/theme": "^1.0.1"
21
+ "@yh-ui/components": "^1.0.5",
22
+ "@yh-ui/hooks": "^1.0.5",
23
+ "@yh-ui/theme": "^1.0.5"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@nuxt/schema": "^3.11.0 || ^4.0.0",