@dargmuesli/nuxt-vio 3.0.0-beta.12 → 3.0.0-beta.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,43 +1,58 @@
1
+ /* stylelint-disable at-rule-no-unknown */
1
2
  @tailwind base;
2
3
  @tailwind components;
3
4
  @tailwind utilities;
5
+ /* stylelint-enable at-rule-no-unknown */
4
6
 
7
+ /* doiuse-disable css-cascade-layers */
5
8
  @layer base {
9
+ /* doiuse-enable css-cascade-layers */
6
10
  a:focus {
7
- @apply outline-none ring;
11
+ /* doiuse-disable css-nesting */
12
+ @apply outline-none ring; /* doiuse-enable css-nesting */
8
13
  }
9
14
 
10
15
  button:focus {
11
- @apply outline-none ring;
16
+ /* doiuse-disable css-nesting */
17
+ @apply outline-none ring; /* doiuse-enable css-nesting */
12
18
  }
13
19
 
14
20
  thead {
15
- @apply sticky top-0 z-10 vio-bg-darken;
21
+ /* doiuse-disable css-nesting */
22
+ @apply vio-bg-darken sticky top-0 z-10; /* doiuse-enable css-nesting */
16
23
  }
17
24
 
18
25
  tbody {
19
- @apply divide-y vio-divide-darken;
26
+ /* doiuse-disable css-nesting */
27
+ @apply vio-divide-darken divide-y; /* doiuse-enable css-nesting */
20
28
  }
21
29
  }
22
30
 
31
+ /* doiuse-disable css-cascade-layers */
23
32
  @layer utilities {
33
+ /* doiuse-enable css-cascade-layers */
24
34
  .vio-prose {
25
- @apply m-auto prose dark:prose-invert prose-sm sm:prose-base lg:prose-lg xl:prose-xl; /* 2xl:prose-2xl */
35
+ /* doiuse-disable css-nesting */
36
+ @apply prose prose-sm m-auto dark:prose-invert sm:prose-base lg:prose-lg xl:prose-xl; /* 2xl:prose-2xl */ /* doiuse-enable css-nesting */
26
37
  }
27
38
 
28
39
  .vio-prose-fullwidth {
29
- @apply vio-prose max-w-full sm:max-w-full md:max-w-full xl:max-w-full 2xl:max-w-full;
40
+ /* doiuse-disable css-nesting */
41
+ @apply vio-prose max-w-full sm:max-w-full md:max-w-full xl:max-w-full 2xl:max-w-full; /* doiuse-enable css-nesting */
30
42
  }
31
43
 
32
44
  .vio-divide-darken {
33
- @apply divide-background-brighten dark:divide-background-darken;
45
+ /* doiuse-disable css-nesting */
46
+ @apply divide-background-brighten dark:divide-background-darken; /* doiuse-enable css-nesting */
34
47
  }
35
48
 
36
49
  .vio-bg-darken {
37
- @apply bg-background-brighten dark:bg-background-darken;
50
+ /* doiuse-disable css-nesting */
51
+ @apply bg-background-brighten dark:bg-background-darken; /* doiuse-enable css-nesting */
38
52
  }
39
53
 
40
54
  .vio-border-darken {
41
- @apply border-background-brighten dark:border-background-darken;
55
+ /* doiuse-disable css-nesting */
56
+ @apply border-background-brighten dark:border-background-darken; /* doiuse-enable css-nesting */
42
57
  }
43
58
  }
package/nuxt.config.ts CHANGED
@@ -23,6 +23,7 @@ const BASE_URL =
23
23
  // https://v3.nuxtjs.org/api/configuration/nuxt.config
24
24
  export default defineNuxtConfig({
25
25
  alias: {
26
+ clipboard: 'clipboard',
26
27
  dayjs: 'dayjs',
27
28
  sweetalert2: 'sweetalert2',
28
29
  }, // TODO: remove (https://github.com/nuxt/nuxt/issues/19426)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-vio",
3
- "version": "3.0.0-beta.12",
3
+ "version": "3.0.0-beta.13",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -35,7 +35,7 @@
35
35
  "lint:fix": "pnpm lint:js --fix && pnpm lint:ts --fix && pnpm lint:style --fix",
36
36
  "lint:js": "eslint --cache --ext .js,.ts,.vue --ignore-path .gitignore .",
37
37
  "lint:staged": "lint-staged",
38
- "lint:style": "stylelint **/*.{vue,css} --ignore-path .gitignore",
38
+ "lint:style": "stylelint --cache {,**/}*.{vue,css} --ignore-path .gitignore",
39
39
  "lint:ts": "nuxt typecheck",
40
40
  "lint": "pnpm lint:js && pnpm lint:ts && pnpm lint:style",
41
41
  "prepare": "nuxt prepare .playground",