@bitrix24/b24ui-nuxt 2.1.16 → 2.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 (46) hide show
  1. package/dist/meta.d.mts +683 -18
  2. package/dist/meta.mjs +683 -18
  3. package/dist/module.json +1 -1
  4. package/dist/module.mjs +1 -1
  5. package/dist/runtime/air-design-tokens/003_b24_context_light.css +1 -1
  6. package/dist/runtime/air-design-tokens/004_b24_context_dark.css +1 -1
  7. package/dist/runtime/components/FormField.d.vue.ts +5 -0
  8. package/dist/runtime/components/FormField.vue +3 -1
  9. package/dist/runtime/components/FormField.vue.d.ts +5 -0
  10. package/dist/runtime/components/ScrollArea.d.vue.ts +81 -0
  11. package/dist/runtime/components/ScrollArea.vue +187 -0
  12. package/dist/runtime/components/ScrollArea.vue.d.ts +81 -0
  13. package/dist/runtime/components/Slideover.d.vue.ts +5 -0
  14. package/dist/runtime/components/Slideover.vue +6 -3
  15. package/dist/runtime/components/Slideover.vue.d.ts +5 -0
  16. package/dist/runtime/components/Table.d.vue.ts +1 -0
  17. package/dist/runtime/components/Table.vue.d.ts +1 -0
  18. package/dist/runtime/types/index.d.ts +1 -0
  19. package/dist/runtime/types/index.js +1 -0
  20. package/dist/runtime/{inertia/components → vue/overrides/inertia}/Link.d.vue.ts +1 -1
  21. package/dist/runtime/{inertia/components → vue/overrides/inertia}/Link.vue +3 -3
  22. package/dist/runtime/{inertia/components → vue/overrides/inertia}/Link.vue.d.ts +1 -1
  23. package/dist/runtime/{inertia/components → vue/overrides/inertia}/LinkBase.d.vue.ts +1 -1
  24. package/dist/runtime/{inertia/components → vue/overrides/inertia}/LinkBase.vue.d.ts +1 -1
  25. package/dist/runtime/vue/overrides/none/Link.d.vue.ts +73 -0
  26. package/dist/runtime/vue/overrides/none/Link.vue +128 -0
  27. package/dist/runtime/vue/overrides/none/Link.vue.d.ts +73 -0
  28. package/dist/runtime/vue/{components → overrides/vue-router}/Link.d.vue.ts +1 -1
  29. package/dist/runtime/vue/{components → overrides/vue-router}/Link.vue +4 -4
  30. package/dist/runtime/vue/{components → overrides/vue-router}/Link.vue.d.ts +1 -1
  31. package/dist/runtime/vue/{stubs.d.ts → stubs/base.d.ts} +6 -7
  32. package/dist/runtime/vue/{stubs.js → stubs/base.js} +6 -7
  33. package/dist/runtime/vue/stubs/inertia.d.ts +5 -0
  34. package/dist/runtime/vue/stubs/inertia.js +10 -0
  35. package/dist/runtime/vue/stubs/none.d.ts +56 -0
  36. package/dist/runtime/vue/stubs/none.js +48 -0
  37. package/dist/runtime/vue/stubs/vue-router.d.ts +2 -0
  38. package/dist/runtime/vue/stubs/vue-router.js +2 -0
  39. package/dist/shared/{b24ui-nuxt.DdKajqQs.mjs → b24ui-nuxt.C-CS9MBp.mjs} +225 -52
  40. package/dist/unplugin.d.mts +13 -0
  41. package/dist/unplugin.mjs +83 -61
  42. package/dist/vite.mjs +1 -1
  43. package/package.json +4 -4
  44. package/dist/runtime/inertia/stubs.d.ts +0 -46
  45. package/dist/runtime/inertia/stubs.js +0 -93
  46. /package/dist/runtime/{inertia/components → vue/overrides/inertia}/LinkBase.vue +0 -0
@@ -0,0 +1,56 @@
1
+ export * from './base';
2
+ export declare const useRoute: () => {
3
+ fullPath: string;
4
+ path: string;
5
+ name: null;
6
+ params: {};
7
+ query: {};
8
+ hash: string;
9
+ meta: {};
10
+ matched: never[];
11
+ redirectedFrom: undefined;
12
+ };
13
+ export declare const useRouter: () => {
14
+ push: () => Promise<void>;
15
+ replace: () => Promise<void>;
16
+ go: () => void;
17
+ back: () => void;
18
+ forward: () => void;
19
+ beforeEach: () => () => void;
20
+ beforeResolve: () => () => void;
21
+ afterEach: () => () => void;
22
+ onError: () => () => void;
23
+ isReady: () => Promise<boolean>;
24
+ currentRoute: import("vue").Ref<{
25
+ fullPath: string;
26
+ path: string;
27
+ name: null;
28
+ params: {};
29
+ query: {};
30
+ hash: string;
31
+ meta: {};
32
+ matched: never[];
33
+ redirectedFrom: undefined;
34
+ }, {
35
+ fullPath: string;
36
+ path: string;
37
+ name: null;
38
+ params: {};
39
+ query: {};
40
+ hash: string;
41
+ meta: {};
42
+ matched: never[];
43
+ redirectedFrom: undefined;
44
+ } | {
45
+ fullPath: string;
46
+ path: string;
47
+ name: null;
48
+ params: {};
49
+ query: {};
50
+ hash: string;
51
+ meta: {};
52
+ matched: never[];
53
+ redirectedFrom: undefined;
54
+ }>;
55
+ options: {};
56
+ };
@@ -0,0 +1,48 @@
1
+ import { ref } from "vue";
2
+ export * from "./base.js";
3
+ export const useRoute = () => {
4
+ return {
5
+ fullPath: "/",
6
+ path: "/",
7
+ name: null,
8
+ params: {},
9
+ query: {},
10
+ hash: "",
11
+ meta: {},
12
+ matched: [],
13
+ redirectedFrom: void 0
14
+ };
15
+ };
16
+ export const useRouter = () => {
17
+ return {
18
+ push: () => Promise.resolve(),
19
+ replace: () => Promise.resolve(),
20
+ go: () => {
21
+ },
22
+ back: () => {
23
+ },
24
+ forward: () => {
25
+ },
26
+ beforeEach: () => () => {
27
+ },
28
+ beforeResolve: () => () => {
29
+ },
30
+ afterEach: () => () => {
31
+ },
32
+ onError: () => () => {
33
+ },
34
+ isReady: () => Promise.resolve(true),
35
+ currentRoute: ref({
36
+ fullPath: "/",
37
+ path: "/",
38
+ name: null,
39
+ params: {},
40
+ query: {},
41
+ hash: "",
42
+ meta: {},
43
+ matched: [],
44
+ redirectedFrom: void 0
45
+ }),
46
+ options: {}
47
+ };
48
+ };
@@ -0,0 +1,2 @@
1
+ export * from './base';
2
+ export { useRoute, useRouter } from 'vue-router';
@@ -0,0 +1,2 @@
1
+ export * from "./base.js";
2
+ export { useRoute, useRouter } from "vue-router";
@@ -8,7 +8,7 @@ import { globSync } from 'tinyglobby';
8
8
  import { defuFn } from 'defu';
9
9
 
10
10
  const name = "@bitrix24/b24ui-nuxt";
11
- const version = "2.1.16";
11
+ const version = "2.2.1";
12
12
 
13
13
  function getDefaultConfig(theme) {
14
14
  return {
@@ -1665,13 +1665,13 @@ const chatMessage = {
1665
1665
  variants: {
1666
1666
  variant: {
1667
1667
  message: {
1668
- content: "ring-1 ring-(--ui-color-divider-vibrant-default) bg-(--ui-color-palette-white-base) text-(--ui-color-palette-black-base)"
1668
+ content: "bg-(--ui-color-design-outline-bg) border-(--ui-color-design-outline-stroke) border-(length:--ui-design-outline-stroke-weight-alt) text-(--ui-color-design-outline-content-secondary)"
1669
1669
  },
1670
1670
  event: {
1671
- content: "bg-(--ui-color-design-outline-stroke) ring ring-(--ui-color-design-outline-content-secondary)"
1671
+ content: "bg-(--ui-color-design-tinted-na-bg) border-(--ui-color-design-tinted-na-stroke) border-(length:--ui-design-tinted-na-stroke-weight) text-(--ui-color-design-tinted-na-content)"
1672
1672
  },
1673
1673
  system: {
1674
- content: "bg-(--ui-color-copilot-bg-content-3)"
1674
+ content: "bg-(--ui-color-copilot-bg-content-1) border-(--ui-color-design-outline-copilot-stroke) text-(--ui-color-design-outline-copilot-content)"
1675
1675
  }
1676
1676
  },
1677
1677
  side: {
@@ -1679,7 +1679,7 @@ const chatMessage = {
1679
1679
  container: "rtl:justify-end"
1680
1680
  },
1681
1681
  right: {
1682
- container: "ltr:justify-end ms-auto max-w-[75%]"
1682
+ container: "ltr:justify-end ms-auto max-w-[85%]"
1683
1683
  }
1684
1684
  },
1685
1685
  leading: {
@@ -1744,7 +1744,7 @@ const chatMessage = {
1744
1744
  }
1745
1745
  },
1746
1746
  {
1747
- variant: "message",
1747
+ variant: "system",
1748
1748
  side: "left",
1749
1749
  class: {
1750
1750
  content: "w-full"
@@ -1759,7 +1759,7 @@ const chatMessage = {
1759
1759
  const chatMessages = {
1760
1760
  slots: {
1761
1761
  root: "w-full flex flex-col gap-1 flex-1 px-2.5 [&>article]:last-of-type:min-h-(--last-message-height)",
1762
- indicator: "h-6 flex items-center gap-1 py-3 *:size-2 *:rounded-full *:bg-(--ui-color-base-7) [&>*:nth-child(1)]:animate-[bounce_1s_infinite] [&>*:nth-child(2)]:animate-[bounce_1s_0.15s_infinite] [&>*:nth-child(3)]:animate-[bounce_1s_0.3s_infinite]",
1762
+ indicator: "h-6 flex items-center gap-1 py-3 *:size-2 *:rounded-full *:bg-(--ui-color-design-tinted-na-content-icon) [&>*:nth-child(1)]:animate-[bounce_1s_infinite] [&>*:nth-child(2)]:animate-[bounce_1s_0.15s_infinite] [&>*:nth-child(3)]:animate-[bounce_1s_0.3s_infinite]",
1763
1763
  viewport: "absolute inset-x-0 top-[78%] data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]",
1764
1764
  autoScroll: "rounded-full absolute right-1/2 translate-x-1/2 bottom-0"
1765
1765
  },
@@ -3574,23 +3574,23 @@ const formField = {
3574
3574
  slots: {
3575
3575
  root: "font-[family-name:var(--ui-font-family-system)] font-(--ui-font-weight-regular)",
3576
3576
  wrapper: "leading-(--ui-font-line-height-reset)",
3577
- labelWrapper: "flex content-center items-center justify-between",
3577
+ labelWrapper: "flex content-center items-center justify-between gap-1",
3578
3578
  label: [
3579
3579
  "block",
3580
3580
  "text-(--b24ui-typography-label-color)"
3581
3581
  ].join(" "),
3582
3582
  hint: "text-(--b24ui-typography-description-color)",
3583
3583
  container: "relative",
3584
- description: "mt-[2px] leading-(--ui-font-line-height-2xs) text-(--b24ui-typography-description-color)",
3585
- error: "mt-[4px] text-(--ui-color-accent-main-alert)",
3584
+ description: "leading-(--ui-font-line-height-2xs) text-(--b24ui-typography-description-color)",
3585
+ error: "text-(--ui-color-accent-main-alert)",
3586
3586
  errorWrapper: "flex flex-row flex-nowrap items-center gap-0.5",
3587
- errorIcon: "size-[18px] mt-[2px]",
3588
- help: "mt-[6px] leading-(--ui-font-line-height-2xs) italic text-(--b24ui-typography-description-color)"
3587
+ errorIcon: "size-[18px]",
3588
+ help: "leading-(--ui-font-line-height-2xs) italic text-(--b24ui-typography-description-color)"
3589
3589
  },
3590
3590
  variants: {
3591
3591
  useDescription: {
3592
- true: { wrapper: "mb-[6px]" },
3593
- false: { wrapper: "mb-[10px]" }
3592
+ true: { wrapper: "" },
3593
+ false: { wrapper: "" }
3594
3594
  },
3595
3595
  size: {
3596
3596
  // xss: { root: 'text-(length:--ui-font-size-3xs)', errorIcon: 'size-[16px]' },
@@ -3604,11 +3604,40 @@ const formField = {
3604
3604
  true: {
3605
3605
  label: "after:content-['*'] after:ms-0.5 after:text-(--ui-color-accent-main-alert)"
3606
3606
  }
3607
+ },
3608
+ orientation: {
3609
+ vertical: {
3610
+ container: "",
3611
+ // mt-1
3612
+ description: "mt-[2px]",
3613
+ error: "mt-[4px]",
3614
+ errorIcon: "mt-[2px]",
3615
+ help: "mt-[6px]"
3616
+ },
3617
+ horizontal: {
3618
+ root: "flex justify-between place-items-baseline gap-2"
3619
+ }
3607
3620
  }
3608
3621
  },
3609
- compoundVariants: [],
3622
+ compoundVariants: [
3623
+ {
3624
+ useDescription: true,
3625
+ orientation: "vertical",
3626
+ class: { wrapper: "mb-[6px]" }
3627
+ },
3628
+ {
3629
+ useDescription: false,
3630
+ orientation: "vertical",
3631
+ class: { wrapper: "mb-[10px]" }
3632
+ },
3633
+ {
3634
+ orientation: "horizontal",
3635
+ class: { wrapper: "" }
3636
+ }
3637
+ ],
3610
3638
  defaultVariants: {
3611
- size: "md"
3639
+ size: "md",
3640
+ orientation: "vertical"
3612
3641
  }
3613
3642
  };
3614
3643
 
@@ -6968,6 +6997,28 @@ const range = {
6968
6997
  }
6969
6998
  };
6970
6999
 
7000
+ const scrollArea = {
7001
+ slots: {
7002
+ root: "relative",
7003
+ viewport: "relative flex",
7004
+ item: ""
7005
+ },
7006
+ variants: {
7007
+ orientation: {
7008
+ vertical: {
7009
+ root: "overflow-y-auto overflow-x-hidden",
7010
+ viewport: "flex-col",
7011
+ item: ""
7012
+ },
7013
+ horizontal: {
7014
+ root: "overflow-x-auto overflow-y-hidden",
7015
+ viewport: "flex-row",
7016
+ item: ""
7017
+ }
7018
+ }
7019
+ }
7020
+ };
7021
+
6971
7022
  const select = () => {
6972
7023
  return defuFn(
6973
7024
  {
@@ -7425,7 +7476,7 @@ const slideover = {
7425
7476
  ].join(" "),
7426
7477
  sidebarLayoutRoot: "relative",
7427
7478
  sidebarLayoutHeaderWrapper: "relative",
7428
- sidebarLayoutPageWrapper: "min-h-full pb-[calc(53px_+_10px)] px-[20px] ps-[20px] pe-[20px] pb-[20px]",
7479
+ sidebarLayoutPageWrapper: "min-h-full pb-[calc(53px_+_10px)] px-[20px] ps-[20px] pe-[20px] pb-[20px] overflow-y-auto scrollbar-thin",
7429
7480
  sidebarLayoutContainer: "gap-[22px]",
7430
7481
  sidebarLayoutPageBottomWrapper: "relative",
7431
7482
  sidebarLayoutLoadingWrapper: "",
@@ -7466,7 +7517,8 @@ const slideover = {
7466
7517
  variants: {
7467
7518
  useFooter: {
7468
7519
  true: {
7469
- sidebarLayoutPageWrapper: "pb-[calc(53px+20px)]"
7520
+ sidebarLayoutPageWrapper: "mb-[calc(53px)] min-h-[calc(100vh_-_53px)]"
7521
+ // -_18px
7470
7522
  }
7471
7523
  },
7472
7524
  overlayBlur: {
@@ -7482,35 +7534,33 @@ const slideover = {
7482
7534
  },
7483
7535
  side: {
7484
7536
  // @todo fix if parent SidebarLayout.isUseSideBar > w-[calc(100%-135x)] > w-[calc(100%-150px)]
7485
- right: {
7486
- content: [
7487
- "right-0 inset-y-0 w-[calc(100%-60px)] sm:w-[calc(100%-150px)]",
7488
- "sm:rounded-t-none"
7489
- ].join(" "),
7490
- sidebarLayoutRoot: "sm:rounded-t-none"
7491
- },
7492
- left: {
7493
- content: [
7494
- "left-0 inset-y-0 w-[calc(100%-60px)] sm:w-[calc(100%-150px)]",
7495
- "sm:rounded-t-none"
7496
- ].join(" "),
7497
- sidebarLayoutRoot: "sm:rounded-t-none"
7498
- },
7499
7537
  top: {
7500
- content: [
7501
- "inset-x-0 top-0 max-h-full",
7502
- "sm:rounded-t-none"
7503
- ].join(" "),
7504
- sidebarLayoutRoot: "sm:rounded-t-none"
7538
+ content: "",
7539
+ // 'sm:rounded-t-none'
7540
+ sidebarLayoutRoot: ""
7541
+ // sm:rounded-t-none
7542
+ },
7543
+ right: {
7544
+ content: "",
7545
+ // sm:rounded-t-none
7546
+ sidebarLayoutRoot: ""
7547
+ // sm:rounded-t-none
7505
7548
  },
7506
7549
  bottom: {
7507
- content: [
7508
- "right-[5px] top-0 sm:top-[18px] bottom-0",
7509
- "w-[calc(100%-60px-5px)] sm:w-[calc(100%-150px-70px)]",
7510
- "sm:max-h-[calc(100%-18px)]",
7511
- "sm:rounded-t-[18px]"
7512
- ].join(" "),
7513
- sidebarLayoutRoot: "sm:rounded-t-[18px]"
7550
+ content: "",
7551
+ sidebarLayoutRoot: ""
7552
+ },
7553
+ left: {
7554
+ content: "",
7555
+ // sm:rounded-t-none
7556
+ sidebarLayoutRoot: ""
7557
+ // sm:rounded-t-none
7558
+ }
7559
+ },
7560
+ inset: {
7561
+ true: {
7562
+ content: "rounded-[18px]",
7563
+ sidebarLayoutRoot: "rounded-[18px]"
7514
7564
  }
7515
7565
  },
7516
7566
  transition: {
@@ -7520,9 +7570,117 @@ const slideover = {
7520
7570
  }
7521
7571
  },
7522
7572
  compoundVariants: [
7573
+ // region side && inset ////
7574
+ {
7575
+ side: "top",
7576
+ inset: true,
7577
+ class: {
7578
+ content: "max-h-[calc(100%-2rem)] inset-x-4 top-4"
7579
+ }
7580
+ },
7581
+ {
7582
+ side: "top",
7583
+ inset: true,
7584
+ useFooter: true,
7585
+ class: {
7586
+ sidebarLayoutPageWrapper: "min-h-[calc(100vh_-_53px-2rem)]"
7587
+ }
7588
+ },
7589
+ {
7590
+ side: "top",
7591
+ inset: false,
7592
+ class: {
7593
+ content: "max-h-full inset-x-0 top-0"
7594
+ }
7595
+ },
7596
+ {
7597
+ side: "right",
7598
+ inset: true,
7599
+ class: {
7600
+ content: "w-[calc(100%-2rem)] max-h-[calc(100%-2rem)] inset-y-4 right-4 "
7601
+ }
7602
+ },
7603
+ {
7604
+ side: "right",
7605
+ inset: true,
7606
+ useFooter: true,
7607
+ class: {
7608
+ sidebarLayoutPageWrapper: "min-h-[calc(100vh_-_53px-2rem)]"
7609
+ }
7610
+ },
7611
+ {
7612
+ side: "right",
7613
+ inset: false,
7614
+ class: {
7615
+ content: "w-[calc(100%-60px)] sm:w-[calc(100%-150px)] inset-y-0 right-0"
7616
+ }
7617
+ },
7618
+ {
7619
+ side: "bottom",
7620
+ inset: true,
7621
+ class: {
7622
+ content: [
7623
+ "max-h-[calc(100%-2rem)] w-[calc(100%-2rem)] end-4 bottom-4"
7624
+ ].join(" ")
7625
+ }
7626
+ },
7627
+ {
7628
+ side: "bottom",
7629
+ inset: true,
7630
+ useFooter: true,
7631
+ class: {
7632
+ sidebarLayoutPageWrapper: "min-h-[calc(100vh_-_53px_-_2rem)]"
7633
+ }
7634
+ },
7635
+ {
7636
+ side: "bottom",
7637
+ inset: false,
7638
+ class: {
7639
+ content: [
7640
+ "max-h-full sm:max-h-[calc(100%-18px)] right-[5px] top-0 sm:top-[18px] bottom-0",
7641
+ "w-[calc(100%-60px-5px)] sm:w-[calc(100%-150px-70px)]",
7642
+ "sm:rounded-t-[18px]"
7643
+ ].join(" "),
7644
+ sidebarLayoutRoot: "sm:rounded-t-[18px]"
7645
+ }
7646
+ },
7647
+ {
7648
+ side: "left",
7649
+ inset: true,
7650
+ class: {
7651
+ content: "w-[calc(100%-2rem)] max-h-[calc(100%-2rem)] inset-y-4 left-4"
7652
+ }
7653
+ },
7654
+ {
7655
+ side: "left",
7656
+ inset: true,
7657
+ useFooter: true,
7658
+ class: {
7659
+ sidebarLayoutPageWrapper: "min-h-[calc(100vh_-_53px-2rem)]"
7660
+ }
7661
+ },
7662
+ {
7663
+ side: "left",
7664
+ inset: false,
7665
+ class: {
7666
+ content: "w-[calc(100%-60px)] sm:w-[calc(100%-150px)] inset-y-0 left-0"
7667
+ }
7668
+ },
7669
+ // endregion ////
7670
+ // region bottom & footer -> min-h ////
7671
+ {
7672
+ side: "bottom",
7673
+ inset: false,
7674
+ useFooter: true,
7675
+ class: {
7676
+ sidebarLayoutPageWrapper: "sm:min-h-[calc(100vh_-_53px_-18px)]"
7677
+ }
7678
+ },
7679
+ // endregion ////
7523
7680
  // region btn.close ////
7524
7681
  {
7525
7682
  side: ["right", "bottom"],
7683
+ inset: false,
7526
7684
  class: {
7527
7685
  close: [
7528
7686
  "pl-1.5 pr-[4px]",
@@ -7533,6 +7691,7 @@ const slideover = {
7533
7691
  },
7534
7692
  {
7535
7693
  side: "left",
7694
+ inset: false,
7536
7695
  class: {
7537
7696
  close: [
7538
7697
  "pr-1.5 pl-[4px]",
@@ -7542,6 +7701,15 @@ const slideover = {
7542
7701
  ].join(" ")
7543
7702
  }
7544
7703
  },
7704
+ {
7705
+ // side: 'top',
7706
+ inset: true,
7707
+ class: {
7708
+ close: [
7709
+ "top-4 end-4"
7710
+ ].join(" ")
7711
+ }
7712
+ },
7545
7713
  {
7546
7714
  side: "top",
7547
7715
  class: {
@@ -8913,8 +9081,8 @@ const sidebarLayout = {
8913
9081
  inner: {
8914
9082
  true: {
8915
9083
  root: [
8916
- "--inner",
8917
- "light",
9084
+ "base-mode --inner",
9085
+ // 'light', base-mode
8918
9086
  "relative isolate",
8919
9087
  "h-full",
8920
9088
  "overflow-hidden"
@@ -8962,7 +9130,7 @@ const sidebarLayout = {
8962
9130
  useLightContent: {
8963
9131
  true: {
8964
9132
  containerWrapper: [
8965
- "light",
9133
+ "base-mode",
8966
9134
  "text-(--ui-color-text-primary)",
8967
9135
  "bg-(--ui-color-bg-content-primary)"
8968
9136
  ].join(" "),
@@ -9382,6 +9550,7 @@ const theme = {
9382
9550
  progress: progress,
9383
9551
  radioGroup: radioGroup,
9384
9552
  range: range,
9553
+ scrollArea: scrollArea,
9385
9554
  select: select,
9386
9555
  selectMenu: selectMenu,
9387
9556
  separator: separator,
@@ -9715,12 +9884,16 @@ const callout = {
9715
9884
  // @memo use style-filled-black-inverted
9716
9885
  "[&_code]:text-(length:--ui-font-size-sm)/(--ui-font-line-height-sm)",
9717
9886
  "[&>div]:my-2.5",
9718
- "[&_ul]:my-2.5",
9719
- "[&_ol]:my-2.5",
9887
+ "[&_ul]:my-2.5 [&_ul]:ps-3 [&_ul]:marker:text-(--b24ui-color)",
9888
+ "[&_ol]:my-2.5 [&_ol]:ps-3 [&_ol]:marker:text-(--b24ui-color)",
9889
+ "[&>h1]:text-(--b24ui-color)",
9890
+ "[&>h2]:text-(--b24ui-color)",
9891
+ "[&>h3]:text-(--b24ui-color)",
9892
+ "[&>h4]:text-(--b24ui-color)",
9893
+ "[&>h5]:text-(--b24ui-color)",
9894
+ "[&>h6]:text-(--b24ui-color)",
9720
9895
  "[&>*]:last:!mb-0",
9721
- "[&_ul]:ps-4.5",
9722
- "[&_ol]:ps-4.5",
9723
- "[&_li]:my-0",
9896
+ "[&_li]:my-1.5 [&_li]:ps-1 [&_li]:text-(length:--ui-font-size-md)/(--ui-font-line-height-3xs) [&_li]:text-(--b24ui-color)",
9724
9897
  "[&_a]:underline",
9725
9898
  "transition-colors"
9726
9899
  ].join(" "),
@@ -28,10 +28,23 @@ interface Bitrix24UIOptions extends Omit<ModuleOptions, 'colorMode'> {
28
28
  * Override options for `unplugin-vue-components`
29
29
  */
30
30
  components?: Partial<Options$1>;
31
+ /**
32
+ * Router integration mode
33
+ * - `true` (default): Use vue-router integration
34
+ * - `false`: Disable routing, use anchor tags
35
+ * - `'inertia'`: Use Inertia.js compatibility layer
36
+ * @defaultValue `true`
37
+ */
38
+ router?: boolean | 'inertia';
31
39
  /**
32
40
  * Enables compatibility layer for InertiaJS
41
+ * @deprecated Use `router: 'inertia'` instead
33
42
  */
34
43
  inertia?: boolean;
44
+ /**
45
+ * Additional packages to scan for components using Nuxt UI
46
+ */
47
+ scanPackages?: string[];
35
48
  }
36
49
  declare const runtimeDir: string;
37
50
  declare const Bitrix24UIPlugin: unplugin.UnpluginInstance<Bitrix24UIOptions | undefined, boolean>;