@bitrix24/b24ui-nuxt 0.1.5 → 0.1.7
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/badge.ts +20 -1
- package/.nuxt/b24ui/button-group.ts +1 -1
- package/.nuxt/b24ui/button.ts +2 -2
- package/.nuxt/b24ui/index.ts +1 -0
- package/.nuxt/b24ui/input.ts +3 -3
- package/.nuxt/b24ui/select-menu.ts +517 -0
- package/.nuxt/b24ui/select.ts +8 -8
- package/.nuxt/b24ui/textarea.ts +3 -3
- package/dist/meta.cjs +5136 -217
- package/dist/meta.d.cts +5136 -217
- package/dist/meta.d.mts +5136 -217
- package/dist/meta.d.ts +5136 -217
- package/dist/meta.mjs +5136 -217
- package/dist/module.cjs +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/App.vue +2 -3
- package/dist/runtime/components/Badge.vue +4 -1
- package/dist/runtime/components/Button.vue +1 -3
- package/dist/runtime/components/ButtonGroup.vue +1 -1
- package/dist/runtime/components/SelectMenu.vue +465 -0
- package/dist/runtime/composables/useComponentIcons.d.ts +2 -2
- package/dist/runtime/types/index.d.ts +2 -0
- package/dist/runtime/types/index.js +2 -0
- package/dist/runtime/vue/components/Link.vue +1 -0
- package/dist/shared/{b24ui-nuxt.D8eTlsIC.cjs → b24ui-nuxt.ZUYaG6CJ.cjs} +118 -75
- package/dist/shared/{b24ui-nuxt.CGBDJv97.mjs → b24ui-nuxt.vQRZieQw.mjs} +119 -76
- package/dist/unplugin.cjs +1 -1
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.cjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +13 -10
package/.nuxt/b24ui/select.ts
CHANGED
|
@@ -38,8 +38,8 @@ const type = [
|
|
|
38
38
|
|
|
39
39
|
export default {
|
|
40
40
|
"slots": {
|
|
41
|
-
"root": "relative inline-flex items-center
|
|
42
|
-
"base": "relative inline-flex items-center group
|
|
41
|
+
"root": "relative inline-flex items-center w-full",
|
|
42
|
+
"base": "relative inline-flex items-center group py-0 border-0 focus:outline-none cursor-pointer disabled:cursor-not-allowed disabled:bg-base-30/37 disabled:text-base-500 dark:disabled:bg-base-900/37 dark:disabled:text-base-800 appearance-none transition duration-300 ease-linear ring ring-inset ring-base-300 dark:ring-base-800 text-base-master bg-white hover:text-base-900 focus:text-base-900 active:text-base-900 dark:text-base-150 dark:bg-transparent dark:hover:text-base-350 dark:focus:text-base-350 dark:active:text-base-350 font-b24-primary font-regular text-sm leading-tight align-middle text-ellipsis whitespace-nowrap",
|
|
43
43
|
"leading": "absolute inset-y-0 start-0 flex items-center",
|
|
44
44
|
"leadingIcon": "shrink-0 text-base-400",
|
|
45
45
|
"leadingAvatar": "shrink-0",
|
|
@@ -50,7 +50,7 @@ export default {
|
|
|
50
50
|
"value": "truncate pointer-events-none",
|
|
51
51
|
"placeholder": "truncate text-base-400 dark:text-base-300",
|
|
52
52
|
"arrow": "fill-base-master/10 dark:fill-base-100/20",
|
|
53
|
-
"content": "
|
|
53
|
+
"content": "w-[var(--reka-popper-anchor-width)] max-h-60 bg-white dark:bg-base-dark shadow-md rounded-2xs ring ring-base-300 dark:ring-base-800 overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] pointer-events-auto",
|
|
54
54
|
"scrollUpDownButton": "flex items-center justify-center h-[25px] cursor-default backdrop-blur text-base-800 bg-white dark:text-base-100 dark:bg-base-dark",
|
|
55
55
|
"scrollUpDownButtonIcon": "",
|
|
56
56
|
"viewport": "divide-y divide-base-master/10 dark:divide-base-100/20 scroll-py-1",
|
|
@@ -58,8 +58,8 @@ export default {
|
|
|
58
58
|
"empty": "py-2 text-center text-sm text-base-500 dark:text-base-600",
|
|
59
59
|
"label": "flex items-center font-semibold text-base-900 dark:text-base-200",
|
|
60
60
|
"separator": "-mx-1 my-1 h-px bg-base-master/10 dark:bg-base-100/20",
|
|
61
|
-
"item": "group relative w-full flex items-center select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-2xs cursor-pointer data-disabled:cursor-not-allowed data-disabled:opacity-75 text-base-master dark:text-base-150 data-highlighted:text-base-900 dark:data-highlighted:text-base-200 data-highlighted:before:bg-base-100/50 dark:data-highlighted:before:bg-base-900 transition-colors before:transition-colors",
|
|
62
|
-
"itemLeadingIcon": "shrink-0 text-base-500 dark:text-base-700 group-data-highlighted:text-base-master dark:group-data-highlighted:text-base-150 transition-colors",
|
|
61
|
+
"item": "group relative w-full flex items-center select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-2xs cursor-pointer data-disabled:cursor-not-allowed data-disabled:opacity-75 text-base-master dark:text-base-150 data-highlighted:text-base-900 dark:data-highlighted:text-base-200 data-highlighted:before:bg-base-100/50 dark:data-highlighted:before:bg-base-900 data-[state=checked]:text-base-900 dark:data-[state=checked]:text-base-200 data-[state=checked]:before:bg-base-100/50 dark:data-[state=checked]:before:bg-base-900 transition-colors before:transition-colors",
|
|
62
|
+
"itemLeadingIcon": "shrink-0 text-base-500 dark:text-base-700 group-data-highlighted:text-base-master dark:group-data-highlighted:text-base-150 group-data-[state=checked]:text-base-master dark:group-data-[state=checked]:text-base-150 transition-colors",
|
|
63
63
|
"itemLeadingAvatar": "shrink-0",
|
|
64
64
|
"itemLeadingAvatarSize": "",
|
|
65
65
|
"itemLeadingChip": "shrink-0",
|
|
@@ -71,8 +71,8 @@ export default {
|
|
|
71
71
|
"variants": {
|
|
72
72
|
"buttonGroup": {
|
|
73
73
|
"horizontal": {
|
|
74
|
-
"root": "group",
|
|
75
|
-
"base": "focus-visible:outline-none ring ring-inset ring-1 focus-visible:ring-2 group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none group-not-only:group-first:border-e-0 group-not-only:group-not-first:border-s-0"
|
|
74
|
+
"root": "group leading-none",
|
|
75
|
+
"base": "focus-visible:outline-none ring ring-inset ring-1 focus-visible:ring-2 group-not-only:group-first:rounded-e-3xl group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none group-not-only:group-first:border-e-0 group-not-only:group-not-first:border-s-0"
|
|
76
76
|
},
|
|
77
77
|
"vertical": {
|
|
78
78
|
"root": "group",
|
|
@@ -80,7 +80,7 @@ export default {
|
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
"noSplit": {
|
|
83
|
-
"false": "not-only:not-first:after:content-[''] not-only:not-first:after:absolute not-only:not-first:after:top-[7px] not-only:not-first:after:bottom-[6px] not-only:not-first:after:left-0 not-only:not-first:after:w-px not-only:not-first:after:bg-current/30"
|
|
83
|
+
"false": "group-not-only:not-first:after:content-[''] group-not-only:not-first:after:absolute group-not-only:not-first:after:top-[7px] group-not-only:not-first:after:bottom-[6px] group-not-only:not-first:after:left-0 group-not-only:not-first:after:w-px group-not-only:not-first:after:bg-current/30"
|
|
84
84
|
},
|
|
85
85
|
"size": {
|
|
86
86
|
"xs": {
|
package/.nuxt/b24ui/textarea.ts
CHANGED
|
@@ -34,8 +34,8 @@ export default {
|
|
|
34
34
|
"variants": {
|
|
35
35
|
"buttonGroup": {
|
|
36
36
|
"horizontal": {
|
|
37
|
-
"root": "group",
|
|
38
|
-
"base": "focus-visible:outline-none ring ring-inset ring-1 focus-visible:ring-2 group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none group-not-only:group-first:border-e-0 group-not-only:group-not-first:border-s-0"
|
|
37
|
+
"root": "group leading-none",
|
|
38
|
+
"base": "focus-visible:outline-none ring ring-inset ring-1 focus-visible:ring-2 group-not-only:group-first:rounded-e-3xl group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none group-not-only:group-first:border-e-0 group-not-only:group-not-first:border-s-0"
|
|
39
39
|
},
|
|
40
40
|
"vertical": {
|
|
41
41
|
"root": "group",
|
|
@@ -43,7 +43,7 @@ export default {
|
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"noSplit": {
|
|
46
|
-
"false": "not-only:not-first:after:content-[''] not-only:not-first:after:absolute not-only:not-first:after:top-[7px] not-only:not-first:after:bottom-[6px] not-only:not-first:after:left-0 not-only:not-first:after:w-px not-only:not-first:after:bg-current/30"
|
|
46
|
+
"false": "group-not-only:not-first:after:content-[''] group-not-only:not-first:after:absolute group-not-only:not-first:after:top-[7px] group-not-only:not-first:after:bottom-[6px] group-not-only:not-first:after:left-0 group-not-only:not-first:after:w-px group-not-only:not-first:after:bg-current/30"
|
|
47
47
|
},
|
|
48
48
|
"color": {
|
|
49
49
|
"default": "",
|