@bitrix24/b24ui-nuxt 0.4.0 → 0.4.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 (73) hide show
  1. package/.nuxt/b24ui/index.ts +1 -0
  2. package/.nuxt/b24ui/modal.ts +1 -1
  3. package/.nuxt/b24ui/prose/prose-h1.ts +6 -0
  4. package/.nuxt/b24ui/prose/prose-h2.ts +16 -0
  5. package/.nuxt/b24ui/prose/prose-h3.ts +16 -0
  6. package/.nuxt/b24ui/prose/prose-li.ts +5 -0
  7. package/.nuxt/b24ui/prose/prose-ol.ts +5 -0
  8. package/.nuxt/b24ui/prose/prose-p.ts +5 -0
  9. package/.nuxt/b24ui/prose/prose-ul.ts +5 -0
  10. package/.nuxt/b24ui/slideover.ts +3 -2
  11. package/dist/meta.cjs +31777 -28683
  12. package/dist/meta.d.cts +31777 -28683
  13. package/dist/meta.d.mts +31777 -28683
  14. package/dist/meta.d.ts +31777 -28683
  15. package/dist/meta.mjs +31777 -28683
  16. package/dist/module.cjs +6 -1
  17. package/dist/module.json +1 -1
  18. package/dist/module.mjs +6 -1
  19. package/dist/runtime/components/Advice.vue +3 -0
  20. package/dist/runtime/components/Alert.vue +17 -2
  21. package/dist/runtime/components/Avatar.vue +7 -0
  22. package/dist/runtime/components/AvatarGroup.vue +3 -0
  23. package/dist/runtime/components/Badge.vue +21 -3
  24. package/dist/runtime/components/Button.vue +37 -7
  25. package/dist/runtime/components/ButtonGroup.vue +7 -1
  26. package/dist/runtime/components/Checkbox.vue +6 -0
  27. package/dist/runtime/components/Chip.vue +18 -2
  28. package/dist/runtime/components/Countdown.vue +32 -8
  29. package/dist/runtime/components/{content/DescriptionList.vue → DescriptionList.vue} +19 -8
  30. package/dist/runtime/components/DropdownMenu.vue +14 -2
  31. package/dist/runtime/components/DropdownMenuContent.vue +6 -0
  32. package/dist/runtime/components/FormField.vue +6 -0
  33. package/dist/runtime/components/Input.vue +50 -6
  34. package/dist/runtime/components/InputMenu.vue +67 -15
  35. package/dist/runtime/components/InputNumber.vue +42 -8
  36. package/dist/runtime/components/Kbd.vue +6 -0
  37. package/dist/runtime/components/Link.vue +8 -4
  38. package/dist/runtime/components/Modal.vue +9 -3
  39. package/dist/runtime/components/Progress.vue +19 -3
  40. package/dist/runtime/components/RadioGroup.vue +6 -0
  41. package/dist/runtime/components/Range.vue +9 -1
  42. package/dist/runtime/components/Select.vue +47 -10
  43. package/dist/runtime/components/SelectMenu.vue +52 -12
  44. package/dist/runtime/components/Separator.vue +16 -2
  45. package/dist/runtime/components/Slideover.vue +12 -2
  46. package/dist/runtime/components/Switch.vue +19 -3
  47. package/dist/runtime/components/Tabs.vue +12 -0
  48. package/dist/runtime/components/Textarea.vue +50 -6
  49. package/dist/runtime/components/Toast.vue +13 -2
  50. package/dist/runtime/components/Toaster.vue +8 -0
  51. package/dist/runtime/components/{prose → content}/TableWrapper.vue +27 -3
  52. package/dist/runtime/composables/useComponentIcons.d.ts +11 -4
  53. package/dist/runtime/index.css +1 -1
  54. package/dist/runtime/prose/ProseH1.vue +36 -0
  55. package/dist/runtime/prose/ProseH2.vue +36 -0
  56. package/dist/runtime/prose/ProseH3.vue +36 -0
  57. package/dist/runtime/prose/ProseLi.vue +36 -0
  58. package/dist/runtime/prose/ProseOl.vue +36 -0
  59. package/dist/runtime/prose/ProseP.vue +36 -0
  60. package/dist/runtime/prose/ProseUl.vue +36 -0
  61. package/dist/runtime/types/index.d.ts +9 -2
  62. package/dist/runtime/types/index.js +9 -2
  63. package/dist/runtime/utils/index.js +1 -1
  64. package/dist/runtime/vue/components/Link.vue +8 -4
  65. package/dist/shared/{b24ui-nuxt.CBO0gAWn.mjs → b24ui-nuxt.BGGwh89R.mjs} +198 -83
  66. package/dist/shared/{b24ui-nuxt.BT9wxrhm.cjs → b24ui-nuxt.CnMGpwQb.cjs} +198 -83
  67. package/dist/unplugin.cjs +4 -4
  68. package/dist/unplugin.mjs +4 -4
  69. package/dist/vite.cjs +1 -1
  70. package/dist/vite.mjs +1 -1
  71. package/package.json +4 -3
  72. /package/.nuxt/b24ui/{prose → content}/table-wrapper.ts +0 -0
  73. /package/.nuxt/b24ui/{content/description-list.ts → description-list.ts} +0 -0
@@ -9,6 +9,7 @@ export { default as checkbox } from './checkbox'
9
9
  export { default as chip } from './chip'
10
10
  export { default as container } from './container'
11
11
  export { default as countdown } from './countdown'
12
+ export { default as descriptionList } from './description-list'
12
13
  export { default as dropdownMenu } from './dropdown-menu'
13
14
  export { default as form } from './form'
14
15
  export { default as formField } from './form-field'
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "slots": {
3
- "overlay": "fixed inset-0 bg-base-950/20 dark:bg-base-950/30",
3
+ "overlay": "fixed inset-0 bg-base-950/20 dark:bg-base-950/30 backdrop-blur-sm",
4
4
  "content": "py-md2 px-5 fixed bg-white dark:bg-base-950 flex flex-col focus:outline-none",
5
5
  "header": "flex items-center gap-1.5 pe-5 pt-0",
6
6
  "wrapper": "min-h-lg2",
@@ -0,0 +1,6 @@
1
+ export default {
2
+ "slots": {
3
+ "base": "mb-2 text-5xl leading-3xs font-light text-base-master dark:text-base-150 scroll-mt-[calc(45px+var(--b24ui-header-height))] lg:scroll-mt-(--b24ui-header-height)",
4
+ "link": "inline-flex items-center gap-2"
5
+ }
6
+ }
@@ -0,0 +1,16 @@
1
+ export default {
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",
4
+ "leading": [
5
+ "absolute -ms-8 top-1 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 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",
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-1.5 ps-1.5 leading-relaxed [&>ul]:my-0 [&>ol]:my-0"
4
+ }
5
+ }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ "slots": {
3
+ "base": "list-decimal ps-6 mb-2 marker:text-base-300 dark:marker:text-base-800"
4
+ }
5
+ }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ "slots": {
3
+ "base": "mb-2 leading-relaxed text-pretty"
4
+ }
5
+ }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ "slots": {
3
+ "base": "list-disc ps-6 mb-2 marker:text-base-300 dark:marker:text-base-800"
4
+ }
5
+ }
@@ -7,7 +7,7 @@ const side = [
7
7
 
8
8
  export default {
9
9
  "slots": {
10
- "overlay": "fixed inset-0 bg-base-950/20 dark:bg-base-950/30",
10
+ "overlay": "fixed inset-0 bg-base-950/20 dark:bg-base-950/30 backdrop-blur-xs",
11
11
  "content": "fixed bg-base-50 dark:bg-base-950 sm:shadow-lg flex flex-col focus:outline-none",
12
12
  "header": "mt-4 px-5 flex items-center gap-1.5",
13
13
  "wrapper": "min-h-2xl",
@@ -15,7 +15,8 @@ export default {
15
15
  "footer": "bg-white dark:bg-base-950 flex items-center justify-center gap-3 py-4 border-t border-t-1 border-t-base-900/10 dark:border-t-white/20 shadow-top-md p-2 pr-(--scrollbar-width)",
16
16
  "title": "font-b24-system font-light text-4.5xl leading-none text-base-900 dark:text-base-150",
17
17
  "description": "mt-2 mb-1 text-base-500 dark:text-base-400 text-sm",
18
- "close": "absolute"
18
+ "close": "absolute",
19
+ "safeList": "group-hover:rounded-full group-hover:border-1 group-hover:border-current"
19
20
  },
20
21
  "variants": {
21
22
  "side": {