@bitrix24/b24ui-nuxt 0.3.0 → 0.3.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/form-field.ts +1 -1
- package/.nuxt/b24ui/modal.ts +10 -2
- package/.nuxt/b24ui/toast.ts +2 -2
- package/.nuxt/b24ui.css +3 -2
- package/README.md +2 -2
- package/dist/meta.cjs +351 -332
- package/dist/meta.d.cts +351 -332
- package/dist/meta.d.mts +351 -332
- package/dist/meta.d.ts +351 -332
- package/dist/meta.mjs +351 -332
- package/dist/module.cjs +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/Button.vue +3 -3
- package/dist/runtime/components/Modal.vue +4 -2
- package/dist/runtime/components/Toaster.vue +3 -2
- package/dist/runtime/composables/useConfetti.d.ts +17 -0
- package/dist/runtime/composables/useConfetti.js +11 -0
- package/dist/runtime/types/index.d.ts +1 -1
- package/dist/runtime/types/index.js +1 -1
- package/dist/runtime/vue/components/Link.vue +24 -5
- package/dist/shared/{b24ui-nuxt.aLj37Bax.mjs → b24ui-nuxt.BTln9cW-.mjs} +16 -7
- package/dist/shared/{b24ui-nuxt.BDw9-NAb.cjs → b24ui-nuxt.ngV6AJEg.cjs} +16 -7
- 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 +3 -1
package/.nuxt/b24ui/modal.ts
CHANGED
|
@@ -2,8 +2,8 @@ export default {
|
|
|
2
2
|
"slots": {
|
|
3
3
|
"overlay": "fixed inset-0 bg-base-950/20 dark:bg-base-950/30",
|
|
4
4
|
"content": "py-md2 px-5 fixed bg-white dark:bg-base-950 flex flex-col focus:outline-none",
|
|
5
|
-
"header": "flex items-center gap-1.5 pe-5 pt-0
|
|
6
|
-
"wrapper": "",
|
|
5
|
+
"header": "flex items-center gap-1.5 pe-5 pt-0",
|
|
6
|
+
"wrapper": "min-h-lg2",
|
|
7
7
|
"body": "flex-1 overflow-y-auto my-2.5 text-md leading-normal",
|
|
8
8
|
"footer": "flex items-center justify-center gap-3 mt-2.5 pt-4 border-t border-t-1 border-t-base-900/10 dark:border-t-white/20",
|
|
9
9
|
"title": "font-bold text-md leading-normal text-base-900 dark:text-base-150",
|
|
@@ -24,6 +24,14 @@ export default {
|
|
|
24
24
|
"false": {
|
|
25
25
|
"content": "top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[calc(100vw-2rem)] max-w-[32rem] max-h-[calc(100dvh-2rem)] sm:max-h-[calc(100dvh-4rem)] rounded-md shadow-lg ring ring-base-300 dark:ring-base-800"
|
|
26
26
|
}
|
|
27
|
+
},
|
|
28
|
+
"scrollbarThin": {
|
|
29
|
+
"true": {
|
|
30
|
+
"body": "scrollbar-thin"
|
|
31
|
+
}
|
|
27
32
|
}
|
|
33
|
+
},
|
|
34
|
+
"defaultVariants": {
|
|
35
|
+
"scrollbarThin": true
|
|
28
36
|
}
|
|
29
37
|
}
|
package/.nuxt/b24ui/toast.ts
CHANGED
|
@@ -16,7 +16,7 @@ const orientation = [
|
|
|
16
16
|
|
|
17
17
|
export default {
|
|
18
18
|
"slots": {
|
|
19
|
-
"root": "relative group overflow-hidden rounded-[26px] py-3.5 ps-6 pe-4 flex gap-2.5 focus:outline-none font-b24-primary dark:ring-2 dark:ring-base-900 bg-base-ebony/80 dark:bg-base-dark text-sm font-normal text-white dark:text-base-150",
|
|
19
|
+
"root": "relative group overflow-hidden rounded-[26px] py-3.5 ps-6 pe-4 flex items-center gap-2.5 focus:outline-none font-b24-primary dark:ring-2 dark:ring-base-900 bg-base-ebony/80 dark:bg-base-dark text-sm font-normal text-white dark:text-base-150",
|
|
20
20
|
"wrapper": "w-0 flex-1 flex flex-col",
|
|
21
21
|
"title": "font-medium",
|
|
22
22
|
"description": "",
|
|
@@ -76,7 +76,7 @@ export default {
|
|
|
76
76
|
"actions": "items-center"
|
|
77
77
|
},
|
|
78
78
|
"vertical": {
|
|
79
|
-
"root": "items-
|
|
79
|
+
"root": "items-center",
|
|
80
80
|
"actions": "items-start mt-1"
|
|
81
81
|
}
|
|
82
82
|
},
|
package/.nuxt/b24ui.css
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
1
|
+
@source "./b24ui";
|
|
2
|
+
|
|
3
|
+
@theme default static {}
|
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ export default defineNuxtConfig({
|
|
|
39
39
|
2. Import Tailwind CSS and Bitrix24 UI in your CSS:
|
|
40
40
|
|
|
41
41
|
```css [assets/css/main.css]
|
|
42
|
-
@import "tailwindcss";
|
|
42
|
+
@import "tailwindcss" theme(static);
|
|
43
43
|
@import "@bitrix24/b24ui-nuxt";
|
|
44
44
|
```
|
|
45
45
|
|
|
@@ -85,7 +85,7 @@ app.mount('#app')
|
|
|
85
85
|
3. Import Tailwind CSS and Bitrix24 UI in your CSS:
|
|
86
86
|
|
|
87
87
|
```css [assets/main.css]
|
|
88
|
-
@import "tailwindcss";
|
|
88
|
+
@import "tailwindcss" theme(static);
|
|
89
89
|
@import "@bitrix24/b24ui-nuxt";
|
|
90
90
|
```
|
|
91
91
|
|