@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.
- package/.nuxt/b24ui/button.ts +8 -0
- package/.nuxt/b24ui/modal.ts +22 -4
- package/.nuxt/b24ui/prose/blockquote.ts +5 -0
- package/.nuxt/b24ui/prose/em.ts +5 -0
- package/.nuxt/b24ui/prose/h1.ts +6 -0
- package/.nuxt/b24ui/prose/{prose-h2.ts → h2.ts} +1 -1
- package/.nuxt/b24ui/prose/{prose-h3.ts → h3.ts} +1 -1
- package/.nuxt/b24ui/prose/h4.ts +16 -0
- package/.nuxt/b24ui/prose/h5.ts +16 -0
- package/.nuxt/b24ui/prose/h6.ts +16 -0
- package/.nuxt/b24ui/prose/hr.ts +5 -0
- package/.nuxt/b24ui/prose/ol.ts +5 -0
- package/.nuxt/b24ui/prose/strong.ts +5 -0
- package/.nuxt/b24ui/prose/ul.ts +5 -0
- package/.nuxt/b24ui/slideover.ts +25 -7
- package/dist/meta.cjs +854 -195
- package/dist/meta.d.cts +854 -195
- package/dist/meta.d.mts +854 -195
- package/dist/meta.d.ts +854 -195
- package/dist/meta.mjs +854 -195
- package/dist/module.cjs +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/dist/runtime/components/Button.vue +83 -45
- package/dist/runtime/components/Modal.vue +13 -2
- package/dist/runtime/components/Slideover.vue +10 -2
- package/dist/runtime/composables/useComponentIcons.d.ts +2 -2
- package/dist/runtime/prose/Blockquote.vue +36 -0
- package/dist/runtime/prose/Em.vue +36 -0
- package/dist/runtime/prose/{ProseH1.vue → H1.vue} +1 -1
- package/dist/runtime/prose/{ProseH2.vue → H2.vue} +1 -1
- package/dist/runtime/prose/{ProseH3.vue → H3.vue} +1 -1
- package/dist/runtime/prose/H4.vue +36 -0
- package/dist/runtime/prose/H5.vue +36 -0
- package/dist/runtime/prose/H6.vue +36 -0
- package/dist/runtime/prose/Hr.vue +30 -0
- package/dist/runtime/prose/{ProseLi.vue → Li.vue} +1 -1
- package/dist/runtime/prose/{ProseOl.vue → Ol.vue} +1 -1
- package/dist/runtime/prose/{ProseP.vue → P.vue} +1 -1
- package/dist/runtime/prose/Strong.vue +36 -0
- package/dist/runtime/prose/{ProseUl.vue → Ul.vue} +1 -1
- package/dist/runtime/types/index.d.ts +14 -7
- package/dist/runtime/types/index.js +14 -7
- package/dist/runtime/vue/components/Link.vue +2 -2
- package/dist/shared/{b24ui-nuxt.CnMGpwQb.cjs → b24ui-nuxt.Bt28CeAD.cjs} +185 -40
- package/dist/shared/{b24ui-nuxt.BGGwh89R.mjs → b24ui-nuxt.Bx_-_mhu.mjs} +185 -40
- package/dist/unplugin.cjs +3 -3
- package/dist/unplugin.mjs +3 -3
- package/dist/vite.cjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +4 -4
- package/.nuxt/b24ui/prose/prose-h1.ts +0 -6
- package/.nuxt/b24ui/prose/prose-ol.ts +0 -5
- package/.nuxt/b24ui/prose/prose-ul.ts +0 -5
- /package/.nuxt/b24ui/prose/{prose-li.ts → li.ts} +0 -0
- /package/.nuxt/b24ui/prose/{prose-p.ts → p.ts} +0 -0
package/.nuxt/b24ui/button.ts
CHANGED
|
@@ -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": [
|
package/.nuxt/b24ui/modal.ts
CHANGED
|
@@ -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
|
|
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
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"slots": {
|
|
3
|
-
"base": "relative mb-2
|
|
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
|
|
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
|
+
}
|
package/.nuxt/b24ui/slideover.ts
CHANGED
|
@@ -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
|
|
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
|
}
|