@bitrix24/b24ui-nuxt 0.1.7 → 0.2.1

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 (36) hide show
  1. package/.nuxt/b24ui/alert.ts +18 -8
  2. package/.nuxt/b24ui/badge.ts +1 -1
  3. package/.nuxt/b24ui/content/description-list.ts +17 -7
  4. package/.nuxt/b24ui/index.ts +1 -0
  5. package/.nuxt/b24ui/input-menu.ts +591 -0
  6. package/.nuxt/b24ui/input.ts +5 -5
  7. package/.nuxt/b24ui/select-menu.ts +6 -6
  8. package/.nuxt/b24ui/select.ts +6 -6
  9. package/.nuxt/b24ui/toast.ts +18 -8
  10. package/README.md +8 -8
  11. package/dist/meta.cjs +5409 -331
  12. package/dist/meta.d.cts +5409 -331
  13. package/dist/meta.d.mts +5409 -331
  14. package/dist/meta.d.ts +5409 -331
  15. package/dist/meta.mjs +5409 -331
  16. package/dist/module.cjs +1 -1
  17. package/dist/module.json +1 -1
  18. package/dist/module.mjs +1 -1
  19. package/dist/runtime/components/Alert.vue +13 -10
  20. package/dist/runtime/components/InputMenu.vue +507 -0
  21. package/dist/runtime/components/Toast.vue +26 -14
  22. package/dist/runtime/components/Toaster.vue +2 -2
  23. package/dist/runtime/components/content/DescriptionList.vue +9 -7
  24. package/dist/runtime/composables/useComponentIcons.d.ts +2 -2
  25. package/dist/runtime/composables/useToast.d.ts +5 -4
  26. package/dist/runtime/composables/useToast.js +2 -2
  27. package/dist/runtime/types/index.d.ts +1 -0
  28. package/dist/runtime/types/index.js +1 -0
  29. package/dist/runtime/types/utils.d.ts +5 -0
  30. package/dist/shared/{b24ui-nuxt.vQRZieQw.mjs → b24ui-nuxt.CrjojW8t.mjs} +292 -31
  31. package/dist/shared/{b24ui-nuxt.ZUYaG6CJ.cjs → b24ui-nuxt.D5cXbZSx.cjs} +292 -31
  32. package/dist/unplugin.cjs +1 -1
  33. package/dist/unplugin.mjs +1 -1
  34. package/dist/vite.cjs +1 -1
  35. package/dist/vite.mjs +1 -1
  36. package/package.json +18 -1
@@ -14,17 +14,22 @@ const size = [
14
14
  "md"
15
15
  ] as const
16
16
 
17
+ const orientation = [
18
+ "horizontal",
19
+ "vertical"
20
+ ] as const
21
+
17
22
  export default {
18
23
  "slots": {
19
24
  "root": "relative overflow-hidden w-full rounded-3xs flex",
20
- "wrapper": "min-w-0 flex-1 flex flex-col gap-1 font-b24-primary font-normal",
25
+ "wrapper": "min-w-0 flex-1 flex flex-col font-b24-primary font-normal",
21
26
  "title": "font-bold",
22
27
  "description": "",
23
28
  "icon": "shrink-0 size-6",
24
29
  "avatar": "shrink-0",
25
30
  "avatarSize": "",
26
31
  "actions": "flex flex-wrap gap-1.5 shrink-0",
27
- "close": "p-0.5"
32
+ "close": "p-0"
28
33
  },
29
34
  "variants": {
30
35
  "color": {
@@ -99,14 +104,19 @@ export default {
99
104
  "avatarSize": "xl"
100
105
  }
101
106
  },
102
- "multiline": {
103
- "true": {
104
- "root": "items-start",
105
- "actions": "items-start mt-2"
106
- },
107
- "false": {
107
+ "orientation": {
108
+ "horizontal": {
108
109
  "root": "items-center",
109
110
  "actions": "items-center"
111
+ },
112
+ "vertical": {
113
+ "root": "items-start",
114
+ "actions": "items-start mt-2"
115
+ }
116
+ },
117
+ "title": {
118
+ "true": {
119
+ "description": "mt-1"
110
120
  }
111
121
  }
112
122
  },
@@ -36,7 +36,7 @@ export default {
36
36
  "leadingIcon": "shrink-0",
37
37
  "leadingAvatar": "shrink-0",
38
38
  "leadingAvatarSize": "",
39
- "trailingIcon": "shrink-0 cursor-pointer hover:rounded-full hover:bg-current/20 dark:hover:bg-current/35"
39
+ "trailingIcon": "shrink-0 cursor-pointer hover:rounded-full hover:bg-current/20 dark:hover:bg-current/35"
40
40
  },
41
41
  "variants": {
42
42
  "buttonGroup": {
@@ -3,13 +3,18 @@ const size = [
3
3
  "md"
4
4
  ] as const
5
5
 
6
+ const orientation = [
7
+ "horizontal",
8
+ "vertical"
9
+ ] as const
10
+
6
11
  export default {
7
12
  "slots": {
8
13
  "root": "w-full shrink-0",
9
14
  "legend": "font-semibold text-black dark:text-base-150",
10
15
  "text": "text-base-500 dark:text-base-400",
11
16
  "container": "grid grid-cols-1 sm:grid-cols-[min(50%,theme(spacing.80))_auto]",
12
- "labelWrapper": "col-start-1 border-t border-base-950/5 text-base-500 first:border-none sm:border-t sm:border-base-950/5 dark:border-white/5 dark:text-base-400 sm:dark:border-white/5 flex flex-nowrap flex-row items-center justify-start gap-1.5",
17
+ "labelWrapper": "col-start-1 border-t first:border-none sm:border-t flex flex-nowrap flex-row items-center justify-start gap-1.5 border-base-950/5 text-base-500 sm:border-base-950/5 dark:border-white/5 dark:text-base-400 sm:dark:border-white/5",
13
18
  "icon": "shrink-0 size-6 text-base-500 dark:text-base-400",
14
19
  "avatar": "shrink-0",
15
20
  "avatarSize": "",
@@ -44,14 +49,19 @@ export default {
44
49
  "footer": "mt-4 p-4"
45
50
  }
46
51
  },
47
- "multiline": {
48
- "true": {
49
- "descriptionWrapper": "",
50
- "actions": "items-start mt-2.5"
51
- },
52
- "false": {
52
+ "orientation": {
53
+ "horizontal": {
53
54
  "descriptionWrapper": "w-full flex flex-row items-center justify-between gap-4",
54
55
  "actions": "items-center"
56
+ },
57
+ "vertical": {
58
+ "descriptionWrapper": "",
59
+ "actions": "items-start mt-2.5"
60
+ }
61
+ },
62
+ "title": {
63
+ "true": {
64
+ "description": "mt-1"
55
65
  }
56
66
  }
57
67
  },
@@ -12,6 +12,7 @@ export { default as countdown } from './countdown'
12
12
  export { default as form } from './form'
13
13
  export { default as formField } from './form-field'
14
14
  export { default as input } from './input'
15
+ export { default as inputMenu } from './input-menu'
15
16
  export { default as kbd } from './kbd'
16
17
  export { default as link } from './link'
17
18
  export { default as progress } from './progress'