@bitrix24/b24ui-nuxt 0.4.1 → 0.4.2

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.
Files changed (56) hide show
  1. package/.nuxt/b24ui/button.ts +8 -0
  2. package/.nuxt/b24ui/modal.ts +22 -4
  3. package/.nuxt/b24ui/prose/blockquote.ts +5 -0
  4. package/.nuxt/b24ui/prose/em.ts +5 -0
  5. package/.nuxt/b24ui/prose/h1.ts +6 -0
  6. package/.nuxt/b24ui/prose/{prose-h2.ts → h2.ts} +1 -1
  7. package/.nuxt/b24ui/prose/{prose-h3.ts → h3.ts} +1 -1
  8. package/.nuxt/b24ui/prose/h4.ts +16 -0
  9. package/.nuxt/b24ui/prose/h5.ts +16 -0
  10. package/.nuxt/b24ui/prose/h6.ts +16 -0
  11. package/.nuxt/b24ui/prose/hr.ts +5 -0
  12. package/.nuxt/b24ui/prose/ol.ts +5 -0
  13. package/.nuxt/b24ui/prose/strong.ts +5 -0
  14. package/.nuxt/b24ui/prose/ul.ts +5 -0
  15. package/.nuxt/b24ui/slideover.ts +25 -7
  16. package/dist/meta.cjs +854 -195
  17. package/dist/meta.d.cts +854 -195
  18. package/dist/meta.d.mts +854 -195
  19. package/dist/meta.d.ts +854 -195
  20. package/dist/meta.mjs +854 -195
  21. package/dist/module.cjs +2 -2
  22. package/dist/module.json +1 -1
  23. package/dist/module.mjs +2 -2
  24. package/dist/runtime/components/Button.vue +83 -45
  25. package/dist/runtime/components/Modal.vue +13 -2
  26. package/dist/runtime/components/Slideover.vue +10 -2
  27. package/dist/runtime/composables/useComponentIcons.d.ts +2 -2
  28. package/dist/runtime/prose/Blockquote.vue +36 -0
  29. package/dist/runtime/prose/Em.vue +36 -0
  30. package/dist/runtime/prose/{ProseH1.vue → H1.vue} +1 -1
  31. package/dist/runtime/prose/{ProseH2.vue → H2.vue} +1 -1
  32. package/dist/runtime/prose/{ProseH3.vue → H3.vue} +1 -1
  33. package/dist/runtime/prose/H4.vue +36 -0
  34. package/dist/runtime/prose/H5.vue +36 -0
  35. package/dist/runtime/prose/H6.vue +36 -0
  36. package/dist/runtime/prose/Hr.vue +30 -0
  37. package/dist/runtime/prose/{ProseLi.vue → Li.vue} +1 -1
  38. package/dist/runtime/prose/{ProseOl.vue → Ol.vue} +1 -1
  39. package/dist/runtime/prose/{ProseP.vue → P.vue} +1 -1
  40. package/dist/runtime/prose/Strong.vue +36 -0
  41. package/dist/runtime/prose/{ProseUl.vue → Ul.vue} +1 -1
  42. package/dist/runtime/types/index.d.ts +14 -7
  43. package/dist/runtime/types/index.js +14 -7
  44. package/dist/runtime/vue/components/Link.vue +2 -2
  45. package/dist/shared/{b24ui-nuxt.CnMGpwQb.cjs → b24ui-nuxt.Bt28CeAD.cjs} +185 -40
  46. package/dist/shared/{b24ui-nuxt.BGGwh89R.mjs → b24ui-nuxt.Bx_-_mhu.mjs} +185 -40
  47. package/dist/unplugin.cjs +3 -3
  48. package/dist/unplugin.mjs +3 -3
  49. package/dist/vite.cjs +1 -1
  50. package/dist/vite.mjs +1 -1
  51. package/package.json +4 -4
  52. package/.nuxt/b24ui/prose/prose-h1.ts +0 -6
  53. package/.nuxt/b24ui/prose/prose-ol.ts +0 -5
  54. package/.nuxt/b24ui/prose/prose-ul.ts +0 -5
  55. /package/.nuxt/b24ui/prose/{prose-li.ts → li.ts} +0 -0
  56. /package/.nuxt/b24ui/prose/{prose-p.ts → p.ts} +0 -0
@@ -132,6 +132,14 @@ export default {
132
132
  "normalCase": {
133
133
  "true": "font-semibold normal-case",
134
134
  "false": "font-bold uppercase"
135
+ },
136
+ "active": {
137
+ "true": {
138
+ "base": ""
139
+ },
140
+ "false": {
141
+ "base": ""
142
+ }
135
143
  }
136
144
  },
137
145
  "compoundVariants": [
@@ -1,6 +1,12 @@
1
+ const overlayBlur = [
2
+ "auto",
3
+ "on",
4
+ "off"
5
+ ] as const
6
+
1
7
  export default {
2
8
  "slots": {
3
- "overlay": "fixed inset-0 bg-base-950/20 dark:bg-base-950/30 backdrop-blur-sm",
9
+ "overlay": "fixed inset-0 bg-base-950/20 dark:bg-base-950/30",
4
10
  "content": "py-md2 px-5 fixed bg-white dark:bg-base-950 flex flex-col focus:outline-none",
5
11
  "header": "flex items-center gap-1.5 pe-5 pt-0",
6
12
  "wrapper": "min-h-lg2",
@@ -11,10 +17,21 @@ export default {
11
17
  "close": "absolute top-2 end-1.5 p-0.5"
12
18
  },
13
19
  "variants": {
20
+ "overlayBlur": {
21
+ "auto": {
22
+ "overlay": "motion-safe:backdrop-blur-sm"
23
+ },
24
+ "on": {
25
+ "overlay": "backdrop-blur-sm"
26
+ },
27
+ "off": {
28
+ "overlay": ""
29
+ }
30
+ },
14
31
  "transition": {
15
32
  "true": {
16
- "overlay": "data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]",
17
- "content": "data-[state=open]:animate-[scale-in_200ms_ease-out] data-[state=closed]:animate-[scale-out_200ms_ease-in]"
33
+ "overlay": "motion-safe:data-[state=open]:animate-[fade-in_200ms_ease-out] motion-safe:data-[state=closed]:animate-[fade-out_200ms_ease-in]",
34
+ "content": "motion-safe:data-[state=open]:animate-[scale-in_200ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_200ms_ease-in]"
18
35
  }
19
36
  },
20
37
  "fullscreen": {
@@ -32,6 +49,7 @@ export default {
32
49
  }
33
50
  },
34
51
  "defaultVariants": {
35
- "scrollbarThin": true
52
+ "scrollbarThin": true,
53
+ "overlayBlur": "auto" as typeof overlayBlur[number]
36
54
  }
37
55
  }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ "slots": {
3
+ "base": "mb-2 border-s-4 border-blue-500 dark:border-blue-600 ps-4 italic"
4
+ }
5
+ }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ "slots": {
3
+ "base": ""
4
+ }
5
+ }
@@ -0,0 +1,6 @@
1
+ export default {
2
+ "slots": {
3
+ "base": "mb-2 text-base-master dark:text-base-150 scroll-mt-[calc(45px+var(--b24ui-header-height))] lg:scroll-mt-(--b24ui-header-height) text-h1",
4
+ "link": "inline-flex items-center gap-2"
5
+ }
6
+ }
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "slots": {
3
- "base": "relative mb-2 text-4xl leading-2xs font-light [&>a>code]:text-xl/7 [&>a>code]:font-bold text-base-master dark:text-base-150 scroll-mt-[calc(48px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(48px+var(--b24ui-header-height))] [&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text hover:[&>a>code]:text-info-text [&>a>code]:border-dashed [&>a>code]:transition-colors",
3
+ "base": "relative mb-2 [&>a>code]:text-xl/7 [&>a>code]:font-bold text-base-master dark:text-base-150 scroll-mt-[calc(48px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(48px+var(--b24ui-header-height))] [&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text hover:[&>a>code]:text-info-text [&>a>code]:border-dashed [&>a>code]:transition-colors text-h2",
4
4
  "leading": [
5
5
  "absolute -ms-8 top-1 p-1",
6
6
  "rounded-md hidden lg:flex",
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "slots": {
3
- "base": "relative mb-2 text-3xl leading-2xs font-light [&>a>code]:text-lg/7 [&>a>code]:font-bold text-base-master dark:text-base-150 scroll-mt-[calc(32px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(32px+var(--b24ui-header-height))] [&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text hover:[&>a>code]:text-info-text [&>a>code]:border-dashed [&>a>code]:transition-colors",
3
+ "base": "relative mb-2 [&>a>code]:text-lg/7 [&>a>code]:font-bold text-base-master dark:text-base-150 scroll-mt-[calc(32px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(32px+var(--b24ui-header-height))] [&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text hover:[&>a>code]:text-info-text [&>a>code]:border-dashed [&>a>code]:transition-colors text-h3",
4
4
  "leading": [
5
5
  "absolute -ms-8 top-0.5 p-1",
6
6
  "rounded-md hidden lg:flex",
@@ -0,0 +1,16 @@
1
+ export default {
2
+ "slots": {
3
+ "base": "relative mb-2 [&>a>code]:text-lg/7 [&>a>code]:font-bold text-base-master dark:text-base-150 scroll-mt-[calc(32px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(32px+var(--b24ui-header-height))] [&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text hover:[&>a>code]:text-info-text [&>a>code]:border-dashed [&>a>code]:transition-colors text-h4",
4
+ "leading": [
5
+ "absolute -ms-8 top-0.5 p-1",
6
+ "rounded-md hidden lg:flex",
7
+ "opacity-0 group-hover:opacity-100 group-focus:opacity-100",
8
+ "bg-base-100 dark:bg-base-900",
9
+ "text-base-500 dark:text-base-600",
10
+ "hover:text-outline-info-text",
11
+ "transition"
12
+ ],
13
+ "leadingIcon": "size-4 shrink-0",
14
+ "link": "group lg:ps-2 lg:-ms-2"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ export default {
2
+ "slots": {
3
+ "base": "relative mb-2 [&>a>code]:text-lg/7 [&>a>code]:font-bold text-base-master dark:text-base-150 scroll-mt-[calc(32px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(32px+var(--b24ui-header-height))] [&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text hover:[&>a>code]:text-info-text [&>a>code]:border-dashed [&>a>code]:transition-colors text-h5",
4
+ "leading": [
5
+ "absolute -ms-8 top-0.5 p-1",
6
+ "rounded-md hidden lg:flex",
7
+ "opacity-0 group-hover:opacity-100 group-focus:opacity-100",
8
+ "bg-base-100 dark:bg-base-900",
9
+ "text-base-500 dark:text-base-600",
10
+ "hover:text-outline-info-text",
11
+ "transition"
12
+ ],
13
+ "leadingIcon": "size-4 shrink-0",
14
+ "link": "group lg:ps-2 lg:-ms-2"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ export default {
2
+ "slots": {
3
+ "base": "relative mb-2 [&>a>code]:text-lg/7 [&>a>code]:font-bold text-base-master dark:text-base-150 scroll-mt-[calc(32px+45px+var(--b24ui-header-height))] lg:scroll-mt-[calc(32px+var(--b24ui-header-height))] [&>a]:focus-visible:outline-info-text hover:[&>a>code]:border-info-text hover:[&>a>code]:text-info-text [&>a>code]:border-dashed [&>a>code]:transition-colors text-h6",
4
+ "leading": [
5
+ "absolute -ms-8 top-0.5 p-1",
6
+ "rounded-md hidden lg:flex",
7
+ "opacity-0 group-hover:opacity-100 group-focus:opacity-100",
8
+ "bg-base-100 dark:bg-base-900",
9
+ "text-base-500 dark:text-base-600",
10
+ "hover:text-outline-info-text",
11
+ "transition"
12
+ ],
13
+ "leadingIcon": "size-4 shrink-0",
14
+ "link": "group lg:ps-2 lg:-ms-2"
15
+ }
16
+ }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ "slots": {
3
+ "base": "my-4 border-t border-base-master/10 dark:border-base-100/20"
4
+ }
5
+ }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ "slots": {
3
+ "base": "list-decimal ps-2 mb-2 ms-3 marker:text-base-master dark:marker:text-base-150"
4
+ }
5
+ }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ "slots": {
3
+ "base": ""
4
+ }
5
+ }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ "slots": {
3
+ "base": "list-disc ps-2 mb-2 ms-3 marker:text-base-master dark:marker:text-base-150"
4
+ }
5
+ }
@@ -1,3 +1,9 @@
1
+ const overlayBlur = [
2
+ "auto",
3
+ "on",
4
+ "off"
5
+ ] as const
6
+
1
7
  const side = [
2
8
  "top",
3
9
  "right",
@@ -7,7 +13,7 @@ const side = [
7
13
 
8
14
  export default {
9
15
  "slots": {
10
- "overlay": "fixed inset-0 bg-base-950/20 dark:bg-base-950/30 backdrop-blur-xs",
16
+ "overlay": "fixed inset-0 bg-base-950/20 dark:bg-base-950/30",
11
17
  "content": "fixed bg-base-50 dark:bg-base-950 sm:shadow-lg flex flex-col focus:outline-none",
12
18
  "header": "mt-4 px-5 flex items-center gap-1.5",
13
19
  "wrapper": "min-h-2xl",
@@ -19,6 +25,17 @@ export default {
19
25
  "safeList": "group-hover:rounded-full group-hover:border-1 group-hover:border-current"
20
26
  },
21
27
  "variants": {
28
+ "overlayBlur": {
29
+ "auto": {
30
+ "overlay": "motion-safe:backdrop-blur-sm"
31
+ },
32
+ "on": {
33
+ "overlay": "backdrop-blur-sm"
34
+ },
35
+ "off": {
36
+ "overlay": ""
37
+ }
38
+ },
22
39
  "side": {
23
40
  "top": {
24
41
  "content": "inset-x-0 top-0 max-h-full"
@@ -35,7 +52,7 @@ export default {
35
52
  },
36
53
  "transition": {
37
54
  "true": {
38
- "overlay": "data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]"
55
+ "overlay": "motion-safe:data-[state=open]:animate-[fade-in_200ms_ease-out] motion-safe:data-[state=closed]:animate-[fade-out_200ms_ease-in]"
39
56
  }
40
57
  },
41
58
  "scrollbarThin": {
@@ -70,33 +87,34 @@ export default {
70
87
  "transition": true,
71
88
  "side": "top" as typeof side[number],
72
89
  "class": {
73
- "content": "data-[state=open]:animate-[slide-in-from-top_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-top_200ms_ease-in-out]"
90
+ "content": "motion-safe:data-[state=open]:animate-[slide-in-from-top_200ms_ease-in-out] motion-safe:data-[state=closed]:animate-[slide-out-to-top_200ms_ease-in-out]"
74
91
  }
75
92
  },
76
93
  {
77
94
  "transition": true,
78
95
  "side": "right" as typeof side[number],
79
96
  "class": {
80
- "content": "data-[state=open]:animate-[slide-in-from-right_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-right_200ms_ease-in-out]"
97
+ "content": "motion-safe:data-[state=open]:animate-[slide-in-from-right_200ms_ease-in-out] motion-safe:data-[state=closed]:animate-[slide-out-to-right_200ms_ease-in-out]"
81
98
  }
82
99
  },
83
100
  {
84
101
  "transition": true,
85
102
  "side": "bottom" as typeof side[number],
86
103
  "class": {
87
- "content": "data-[state=open]:animate-[slide-in-from-bottom_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-bottom_200ms_ease-in-out]"
104
+ "content": "motion-safe:data-[state=open]:animate-[slide-in-from-bottom_200ms_ease-in-out] motion-safe:data-[state=closed]:animate-[slide-out-to-bottom_200ms_ease-in-out]"
88
105
  }
89
106
  },
90
107
  {
91
108
  "transition": true,
92
109
  "side": "left" as typeof side[number],
93
110
  "class": {
94
- "content": "data-[state=open]:animate-[slide-in-from-left_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-left_200ms_ease-in-out]"
111
+ "content": "motion-safe:data-[state=open]:animate-[slide-in-from-left_200ms_ease-in-out] motion-safe:data-[state=closed]:animate-[slide-out-to-left_200ms_ease-in-out]"
95
112
  }
96
113
  }
97
114
  ],
98
115
  "defaultVariants": {
99
116
  "side": "right" as typeof side[number],
100
- "scrollbarThin": true
117
+ "scrollbarThin": true,
118
+ "overlayBlur": "auto" as typeof overlayBlur[number]
101
119
  }
102
120
  }