@bitrix24/b24ui-nuxt 0.5.2 → 0.5.4
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/button.ts +10 -10
- package/.nuxt/b24ui/container.ts +1 -1
- package/.nuxt/b24ui/navigation-menu.ts +185 -11
- package/.nuxt/b24ui/switch.ts +1 -1
- package/.nuxt/b24ui/tabs.ts +1 -1
- package/dist/meta.cjs +48504 -45664
- package/dist/meta.d.cts +48504 -45664
- package/dist/meta.d.mts +48504 -45664
- package/dist/meta.d.ts +48504 -45664
- package/dist/meta.mjs +48504 -45664
- package/dist/module.cjs +1 -1
- package/dist/module.d.cts +2 -1
- package/dist/module.d.mts +2 -1
- package/dist/module.d.ts +2 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/Alert.vue +1 -1
- package/dist/runtime/components/App.vue +1 -1
- package/dist/runtime/components/Button.vue +1 -1
- package/dist/runtime/components/Calendar.vue +40 -12
- package/dist/runtime/components/DescriptionList.vue +99 -85
- package/dist/runtime/components/DropdownMenu.vue +23 -12
- package/dist/runtime/components/DropdownMenuContent.vue +22 -15
- package/dist/runtime/components/InputMenu.vue +91 -53
- package/dist/runtime/components/Link.vue +3 -0
- package/dist/runtime/components/LinkBase.vue +1 -0
- package/dist/runtime/components/Modal.vue +1 -1
- package/dist/runtime/components/NavigationMenu.vue +65 -26
- package/dist/runtime/components/RadioGroup.vue +23 -12
- package/dist/runtime/components/Select.vue +74 -47
- package/dist/runtime/components/SelectMenu.vue +95 -56
- package/dist/runtime/components/Slideover.vue +1 -1
- package/dist/runtime/components/Tabs.vue +6 -5
- package/dist/runtime/components/Toast.vue +1 -1
- package/dist/runtime/composables/defineShortcuts.js +0 -1
- package/dist/runtime/composables/useComponentIcons.d.ts +2 -2
- package/dist/runtime/types/utils.d.ts +28 -7
- package/dist/runtime/utils/index.d.ts +1 -0
- package/dist/runtime/utils/index.js +3 -0
- package/dist/runtime/utils/link.d.ts +2 -25
- package/dist/runtime/utils/link.js +31 -1
- package/dist/runtime/vue/components/Link.vue +3 -0
- package/dist/runtime/vue/stubs.d.ts +3 -3
- package/dist/shared/{b24ui-nuxt.CKEqlXJP.cjs → b24ui-nuxt.BfU7TRfz.cjs} +311 -22
- package/dist/shared/{b24ui-nuxt.DQ3Ix7rC.mjs → b24ui-nuxt.CTERD7XY.mjs} +311 -22
- package/dist/types.d.mts +7 -1
- package/dist/types.d.ts +7 -1
- package/dist/unplugin.cjs +1 -1
- package/dist/unplugin.d.cts +2 -1
- package/dist/unplugin.d.mts +2 -1
- package/dist/unplugin.d.ts +2 -1
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.cjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +34 -18
|
@@ -724,7 +724,7 @@ const button = {
|
|
|
724
724
|
base: [
|
|
725
725
|
"select-none cursor-pointer inline-flex items-center",
|
|
726
726
|
"relative",
|
|
727
|
-
"outline-transparent focus
|
|
727
|
+
"outline-transparent focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
728
728
|
"disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-50 aria-disabled:opacity-50",
|
|
729
729
|
"transition duration-150 ease-linear"
|
|
730
730
|
// transition-colors
|
|
@@ -749,7 +749,7 @@ const button = {
|
|
|
749
749
|
"active:bg-slate-850 active:border-slate-850 active:focus-visible:ring-0",
|
|
750
750
|
"disabled:bg-base-650 aria-disabled:bg-base-650 disabled:border-base-650 aria-disabled:border-base-650",
|
|
751
751
|
"focus-visible:outline-base-650",
|
|
752
|
-
"ring-base-850 focus-visible:ring-base-850"
|
|
752
|
+
"ring-base-850 focus:outline-none focus-visible:ring-base-850"
|
|
753
753
|
].join(" "),
|
|
754
754
|
danger: [
|
|
755
755
|
"text-white dark:text-red-100 bg-red-720 border border-red-720",
|
|
@@ -757,7 +757,7 @@ const button = {
|
|
|
757
757
|
"active:bg-red-730 active:border-red-730 active:focus-visible:ring-0",
|
|
758
758
|
"disabled:bg-red-720 aria-disabled:bg-red-720 disabled:border-red-720 aria-disabled:border-red-720",
|
|
759
759
|
"focus-visible:outline-red-720",
|
|
760
|
-
"ring-red-800 focus-visible:ring-red-800"
|
|
760
|
+
"ring-red-800 focus:outline-none focus-visible:ring-red-800"
|
|
761
761
|
].join(" "),
|
|
762
762
|
success: [
|
|
763
763
|
"text-base-900 bg-green-450 border border-green-450",
|
|
@@ -765,7 +765,7 @@ const button = {
|
|
|
765
765
|
"active:bg-green-430 active:border-green-430 active:focus-visible:ring-0",
|
|
766
766
|
"disabled:bg-green-450 aria-disabled:bg-green-450 disabled:border-green-450 aria-disabled:border-green-450",
|
|
767
767
|
"focus-visible:outline-green-450",
|
|
768
|
-
"ring-green-500 focus-visible:ring-green-500"
|
|
768
|
+
"ring-green-500 focus:outline-none focus-visible:ring-green-500"
|
|
769
769
|
].join(" "),
|
|
770
770
|
warning: [
|
|
771
771
|
"text-white dark:text-orange-100 bg-orange-500 border border-orange-500",
|
|
@@ -773,7 +773,7 @@ const button = {
|
|
|
773
773
|
"active:bg-orange-500/85 active:border-orange-500/85 active:focus-visible:ring-0",
|
|
774
774
|
"disabled:bg-orange-500 aria-disabled:bg-orange-500 disabled:border-bg-orange-500 aria-disabled:border-bg-orange-500",
|
|
775
775
|
"focus-visible:outline-orange-500",
|
|
776
|
-
"ring-orange-800 focus-visible:ring-orange-800"
|
|
776
|
+
"ring-orange-800 focus:outline-none focus-visible:ring-orange-800"
|
|
777
777
|
].join(" "),
|
|
778
778
|
primary: [
|
|
779
779
|
"text-white dark:text-blue-100 bg-blue-530 border border-blue-530",
|
|
@@ -781,7 +781,7 @@ const button = {
|
|
|
781
781
|
"active:bg-blue-550 active:border-blue-550 active:focus-visible:ring-0",
|
|
782
782
|
"disabled:bg-blue-530 aria-disabled:bg-blue-530 disabled:border-blue-530 aria-disabled:border-blue-530",
|
|
783
783
|
"focus-visible:outline-blue-530",
|
|
784
|
-
"ring-blue-800 focus-visible:ring-blue-800"
|
|
784
|
+
"ring-blue-800 focus:outline-none focus-visible:ring-blue-800"
|
|
785
785
|
].join(" "),
|
|
786
786
|
secondary: [
|
|
787
787
|
"text-base-900 bg-cyan-160 border border-cyan-230",
|
|
@@ -789,7 +789,7 @@ const button = {
|
|
|
789
789
|
"active:bg-cyan-230 active:border-cyan-230 active:focus-visible:ring-0",
|
|
790
790
|
"disabled:bg-cyan-160 aria-disabled:bg-cyan-160 disabled:border-cyan-230 aria-disabled:border-cyan-230",
|
|
791
791
|
"focus-visible:outline-cyan-160",
|
|
792
|
-
"ring-cyan-500 focus-visible:ring-cyan-500"
|
|
792
|
+
"ring-cyan-500 focus:outline-none focus-visible:ring-cyan-500"
|
|
793
793
|
].join(" "),
|
|
794
794
|
collab: [
|
|
795
795
|
"text-white dark:text-collab-100 bg-collab-600 border border-collab-600",
|
|
@@ -797,7 +797,7 @@ const button = {
|
|
|
797
797
|
"active:bg-collab-700 active:border-collab-700 active:focus-visible:ring-0",
|
|
798
798
|
"disabled:bg-collab-600 aria-disabled:bg-collab-600 disabled:border-collab-600 aria-disabled:border-collab-600",
|
|
799
799
|
"focus-visible:outline-collab-600",
|
|
800
|
-
"ring-collab-900 focus-visible:ring-collab-900"
|
|
800
|
+
"ring-collab-900 focus:outline-none focus-visible:ring-collab-900"
|
|
801
801
|
].join(" "),
|
|
802
802
|
ai: [
|
|
803
803
|
"text-white dark:text-ai-100 bg-ai-450 border border-ai-450",
|
|
@@ -805,7 +805,7 @@ const button = {
|
|
|
805
805
|
"active:bg-ai-550 active:border-ai-550 active:focus-visible:ring-0",
|
|
806
806
|
"disabled:bg-ai-450 aria-disabled:bg-ai-450 disabled:border-ai-450 aria-disabled:border-ai-450",
|
|
807
807
|
"focus-visible:outline-ai-450",
|
|
808
|
-
"ring-ai-900 focus-visible:ring-ai-900"
|
|
808
|
+
"ring-ai-900 focus:outline-none focus-visible:ring-ai-900"
|
|
809
809
|
].join(" "),
|
|
810
810
|
link: [
|
|
811
811
|
"no-underline decoration-solid decoration-auto",
|
|
@@ -814,7 +814,7 @@ const button = {
|
|
|
814
814
|
"active:text-base-900 dark:active:text-base-700 active:focus-visible:ring-0",
|
|
815
815
|
"disabled:text-base-900 aria-disabled:text-base-900 dark:disabled:text-base-300 dark:aria-disabled:disabled:text-base-300",
|
|
816
816
|
"focus-visible:outline-base-400",
|
|
817
|
-
"ring-base-850 focus-visible:ring-base-850"
|
|
817
|
+
"ring-base-850 focus:outline-none focus-visible:ring-base-850"
|
|
818
818
|
].join(" ")
|
|
819
819
|
},
|
|
820
820
|
depth: {
|
|
@@ -1646,7 +1646,7 @@ const collapsible = {
|
|
|
1646
1646
|
};
|
|
1647
1647
|
|
|
1648
1648
|
const container = {
|
|
1649
|
-
base: "max-w-[80rem] mx-auto px-5"
|
|
1649
|
+
base: "w-full max-w-[80rem] mx-auto px-5"
|
|
1650
1650
|
// max-w-7xl w-full
|
|
1651
1651
|
};
|
|
1652
1652
|
|
|
@@ -3566,11 +3566,11 @@ const navigationMenu = {
|
|
|
3566
3566
|
"w-full",
|
|
3567
3567
|
"bg-white dark:bg-base-dark",
|
|
3568
3568
|
"shadow-[0_15px_21px_rgba(83,92,105,.15)]",
|
|
3569
|
-
//
|
|
3570
3569
|
"h-(--reka-navigation-menu-viewport-height)",
|
|
3571
|
-
"transition-[width,height] duration-200 origin-[top_center]"
|
|
3570
|
+
"transition-[width,height] duration-200 origin-[top_center]",
|
|
3572
3571
|
// left
|
|
3573
3572
|
// 'motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in]'
|
|
3573
|
+
"z-[1]"
|
|
3574
3574
|
].join(" "),
|
|
3575
3575
|
content: "absolute top-0 left-0 w-full",
|
|
3576
3576
|
indicator: [
|
|
@@ -3578,7 +3578,7 @@ const navigationMenu = {
|
|
|
3578
3578
|
"motion-safe:data-[state=visible]:animate-[fade-in_100ms_ease-out] motion-safe:data-[state=hidden]:animate-[fade-out_100ms_ease-in]",
|
|
3579
3579
|
"data-[state=hidden]:opacity-0",
|
|
3580
3580
|
"bottom-0",
|
|
3581
|
-
"z-[
|
|
3581
|
+
"z-[2]",
|
|
3582
3582
|
"w-(--reka-navigation-menu-indicator-size)",
|
|
3583
3583
|
"h-2.5",
|
|
3584
3584
|
"translate-x-(--reka-navigation-menu-indicator-position)",
|
|
@@ -3653,8 +3653,8 @@ const navigationMenu = {
|
|
|
3653
3653
|
orientation: {
|
|
3654
3654
|
horizontal: {
|
|
3655
3655
|
root: "items-center justify-between",
|
|
3656
|
-
list: "flex items-center",
|
|
3657
|
-
item: "py-2",
|
|
3656
|
+
list: "flex items-center gap-x-1",
|
|
3657
|
+
item: "py-2 empty:hidden",
|
|
3658
3658
|
link: "px-2.5 py-1.5 before:inset-x-px before:inset-y-0",
|
|
3659
3659
|
childList: "grid p-2"
|
|
3660
3660
|
},
|
|
@@ -3677,7 +3677,10 @@ const navigationMenu = {
|
|
|
3677
3677
|
].join(" ")
|
|
3678
3678
|
},
|
|
3679
3679
|
vertical: {
|
|
3680
|
-
viewport:
|
|
3680
|
+
viewport: [
|
|
3681
|
+
"w-(--reka-navigation-menu-viewport-width) left-(--reka-navigation-menu-viewport-left)",
|
|
3682
|
+
"[&:has(>[data-viewport=rtl])]:left-auto [&:has(>[data-viewport=rtl])]:-right-[calc(100%-var(--reka-navigation-menu-viewport-width))]"
|
|
3683
|
+
].join(" "),
|
|
3681
3684
|
content: "",
|
|
3682
3685
|
childLinkLabel: [
|
|
3683
3686
|
"text-md",
|
|
@@ -3764,6 +3767,16 @@ const navigationMenu = {
|
|
|
3764
3767
|
},
|
|
3765
3768
|
// endregion ////
|
|
3766
3769
|
// region pill ////
|
|
3770
|
+
{
|
|
3771
|
+
disabled: true,
|
|
3772
|
+
orientation: "horizontal",
|
|
3773
|
+
variant: "pill",
|
|
3774
|
+
class: {
|
|
3775
|
+
link: [
|
|
3776
|
+
"hover:before:rounded-md"
|
|
3777
|
+
].join(" ")
|
|
3778
|
+
}
|
|
3779
|
+
},
|
|
3767
3780
|
{
|
|
3768
3781
|
disabled: false,
|
|
3769
3782
|
active: false,
|
|
@@ -3826,6 +3839,26 @@ const navigationMenu = {
|
|
|
3826
3839
|
].join(" ")
|
|
3827
3840
|
}
|
|
3828
3841
|
},
|
|
3842
|
+
{
|
|
3843
|
+
color: "default",
|
|
3844
|
+
orientation: "horizontal",
|
|
3845
|
+
variant: "pill",
|
|
3846
|
+
active: true,
|
|
3847
|
+
class: {
|
|
3848
|
+
link: [
|
|
3849
|
+
"min-h-9",
|
|
3850
|
+
"before:rounded-md",
|
|
3851
|
+
"before:bg-base-800 dark:before:bg-white/35",
|
|
3852
|
+
"hover:before:bg-base-800 hover:dark:before:bg-white/35",
|
|
3853
|
+
"data-[state=open]:before:bg-base-800 dark:data-[state=open]:before:bg-white/35"
|
|
3854
|
+
].join(" "),
|
|
3855
|
+
linkLabelWrapper: [
|
|
3856
|
+
"min-h-9",
|
|
3857
|
+
"bg-inherit dark:bg-inherit",
|
|
3858
|
+
"rounded-none"
|
|
3859
|
+
].join(" ")
|
|
3860
|
+
}
|
|
3861
|
+
},
|
|
3829
3862
|
{
|
|
3830
3863
|
color: "danger",
|
|
3831
3864
|
variant: "pill",
|
|
@@ -3845,6 +3878,26 @@ const navigationMenu = {
|
|
|
3845
3878
|
].join(" ")
|
|
3846
3879
|
}
|
|
3847
3880
|
},
|
|
3881
|
+
{
|
|
3882
|
+
color: "danger",
|
|
3883
|
+
orientation: "horizontal",
|
|
3884
|
+
variant: "pill",
|
|
3885
|
+
active: true,
|
|
3886
|
+
class: {
|
|
3887
|
+
link: [
|
|
3888
|
+
"min-h-9",
|
|
3889
|
+
"before:rounded-md",
|
|
3890
|
+
"before:bg-red-800 dark:before:bg-red-800",
|
|
3891
|
+
"hover:before:bg-red-800 hover:dark:before:bg-red-800",
|
|
3892
|
+
"data-[state=open]:before:bg-red-800 dark:data-[state=open]:before:bg-red-800"
|
|
3893
|
+
].join(" "),
|
|
3894
|
+
linkLabelWrapper: [
|
|
3895
|
+
"min-h-9",
|
|
3896
|
+
"bg-inherit dark:bg-inherit",
|
|
3897
|
+
"rounded-none"
|
|
3898
|
+
].join(" ")
|
|
3899
|
+
}
|
|
3900
|
+
},
|
|
3848
3901
|
{
|
|
3849
3902
|
color: "success",
|
|
3850
3903
|
variant: "pill",
|
|
@@ -3864,6 +3917,26 @@ const navigationMenu = {
|
|
|
3864
3917
|
].join(" ")
|
|
3865
3918
|
}
|
|
3866
3919
|
},
|
|
3920
|
+
{
|
|
3921
|
+
color: "success",
|
|
3922
|
+
orientation: "horizontal",
|
|
3923
|
+
variant: "pill",
|
|
3924
|
+
active: true,
|
|
3925
|
+
class: {
|
|
3926
|
+
link: [
|
|
3927
|
+
"min-h-9",
|
|
3928
|
+
"before:rounded-md",
|
|
3929
|
+
"before:bg-green-800 dark:before:bg-green-800",
|
|
3930
|
+
"hover:before:bg-green-800 hover:dark:before:bg-green-800",
|
|
3931
|
+
"data-[state=open]:before:bg-green-800 dark:data-[state=open]:before:bg-green-800"
|
|
3932
|
+
].join(" "),
|
|
3933
|
+
linkLabelWrapper: [
|
|
3934
|
+
"min-h-9",
|
|
3935
|
+
"bg-inherit dark:bg-inherit",
|
|
3936
|
+
"rounded-none"
|
|
3937
|
+
].join(" ")
|
|
3938
|
+
}
|
|
3939
|
+
},
|
|
3867
3940
|
{
|
|
3868
3941
|
color: "warning",
|
|
3869
3942
|
variant: "pill",
|
|
@@ -3883,6 +3956,26 @@ const navigationMenu = {
|
|
|
3883
3956
|
].join(" ")
|
|
3884
3957
|
}
|
|
3885
3958
|
},
|
|
3959
|
+
{
|
|
3960
|
+
color: "warning",
|
|
3961
|
+
orientation: "horizontal",
|
|
3962
|
+
variant: "pill",
|
|
3963
|
+
active: true,
|
|
3964
|
+
class: {
|
|
3965
|
+
link: [
|
|
3966
|
+
"min-h-9",
|
|
3967
|
+
"before:rounded-md",
|
|
3968
|
+
"before:bg-orange-800 dark:before:bg-orange-800",
|
|
3969
|
+
"hover:before:bg-orange-800 hover:dark:before:bg-orange-800",
|
|
3970
|
+
"data-[state=open]:before:bg-orange-800 dark:data-[state=open]:before:bg-orange-800"
|
|
3971
|
+
].join(" "),
|
|
3972
|
+
linkLabelWrapper: [
|
|
3973
|
+
"min-h-9",
|
|
3974
|
+
"bg-inherit dark:bg-inherit",
|
|
3975
|
+
"rounded-none"
|
|
3976
|
+
].join(" ")
|
|
3977
|
+
}
|
|
3978
|
+
},
|
|
3886
3979
|
{
|
|
3887
3980
|
color: "primary",
|
|
3888
3981
|
variant: "pill",
|
|
@@ -3902,6 +3995,26 @@ const navigationMenu = {
|
|
|
3902
3995
|
].join(" ")
|
|
3903
3996
|
}
|
|
3904
3997
|
},
|
|
3998
|
+
{
|
|
3999
|
+
color: "primary",
|
|
4000
|
+
orientation: "horizontal",
|
|
4001
|
+
variant: "pill",
|
|
4002
|
+
active: true,
|
|
4003
|
+
class: {
|
|
4004
|
+
link: [
|
|
4005
|
+
"min-h-9",
|
|
4006
|
+
"before:rounded-md",
|
|
4007
|
+
"before:bg-blue-800 dark:before:bg-blue-800",
|
|
4008
|
+
"hover:before:bg-blue-800 hover:dark:before:bg-blue-800",
|
|
4009
|
+
"data-[state=open]:before:bg-blue-800 dark:data-[state=open]:before:bg-blue-800"
|
|
4010
|
+
].join(" "),
|
|
4011
|
+
linkLabelWrapper: [
|
|
4012
|
+
"min-h-9",
|
|
4013
|
+
"bg-inherit dark:bg-inherit",
|
|
4014
|
+
"rounded-none"
|
|
4015
|
+
].join(" ")
|
|
4016
|
+
}
|
|
4017
|
+
},
|
|
3905
4018
|
{
|
|
3906
4019
|
color: "secondary",
|
|
3907
4020
|
variant: "pill",
|
|
@@ -3921,6 +4034,26 @@ const navigationMenu = {
|
|
|
3921
4034
|
].join(" ")
|
|
3922
4035
|
}
|
|
3923
4036
|
},
|
|
4037
|
+
{
|
|
4038
|
+
color: "secondary",
|
|
4039
|
+
orientation: "horizontal",
|
|
4040
|
+
variant: "pill",
|
|
4041
|
+
active: true,
|
|
4042
|
+
class: {
|
|
4043
|
+
link: [
|
|
4044
|
+
"min-h-9",
|
|
4045
|
+
"before:rounded-md",
|
|
4046
|
+
"before:bg-cyan-800 dark:before:bg-cyan-800",
|
|
4047
|
+
"hover:before:bg-cyan-800 hover:dark:before:bg-cyan-800",
|
|
4048
|
+
"data-[state=open]:before:bg-cyan-800 dark:data-[state=open]:before:bg-cyan-800"
|
|
4049
|
+
].join(" "),
|
|
4050
|
+
linkLabelWrapper: [
|
|
4051
|
+
"min-h-9",
|
|
4052
|
+
"bg-inherit dark:bg-inherit",
|
|
4053
|
+
"rounded-none"
|
|
4054
|
+
].join(" ")
|
|
4055
|
+
}
|
|
4056
|
+
},
|
|
3924
4057
|
{
|
|
3925
4058
|
color: "collab",
|
|
3926
4059
|
variant: "pill",
|
|
@@ -3940,6 +4073,26 @@ const navigationMenu = {
|
|
|
3940
4073
|
].join(" ")
|
|
3941
4074
|
}
|
|
3942
4075
|
},
|
|
4076
|
+
{
|
|
4077
|
+
color: "collab",
|
|
4078
|
+
orientation: "horizontal",
|
|
4079
|
+
variant: "pill",
|
|
4080
|
+
active: true,
|
|
4081
|
+
class: {
|
|
4082
|
+
link: [
|
|
4083
|
+
"min-h-9",
|
|
4084
|
+
"before:rounded-md",
|
|
4085
|
+
"before:bg-collab-800 dark:before:bg-collab-800",
|
|
4086
|
+
"hover:before:bg-collab-800 hover:dark:before:bg-collab-800",
|
|
4087
|
+
"data-[state=open]:before:bg-collab-800 dark:data-[state=open]:before:bg-collab-800"
|
|
4088
|
+
].join(" "),
|
|
4089
|
+
linkLabelWrapper: [
|
|
4090
|
+
"min-h-9",
|
|
4091
|
+
"bg-inherit dark:bg-inherit",
|
|
4092
|
+
"rounded-none"
|
|
4093
|
+
].join(" ")
|
|
4094
|
+
}
|
|
4095
|
+
},
|
|
3943
4096
|
{
|
|
3944
4097
|
color: "ai",
|
|
3945
4098
|
variant: "pill",
|
|
@@ -3959,6 +4112,26 @@ const navigationMenu = {
|
|
|
3959
4112
|
].join(" ")
|
|
3960
4113
|
}
|
|
3961
4114
|
},
|
|
4115
|
+
{
|
|
4116
|
+
color: "ai",
|
|
4117
|
+
orientation: "horizontal",
|
|
4118
|
+
variant: "pill",
|
|
4119
|
+
active: true,
|
|
4120
|
+
class: {
|
|
4121
|
+
link: [
|
|
4122
|
+
"min-h-9",
|
|
4123
|
+
"before:rounded-md",
|
|
4124
|
+
"before:bg-ai-800 dark:before:bg-ai-800",
|
|
4125
|
+
"hover:before:bg-ai-800 hover:dark:before:bg-ai-800",
|
|
4126
|
+
"data-[state=open]:before:bg-ai-800 dark:data-[state=open]:before:bg-ai-800"
|
|
4127
|
+
].join(" "),
|
|
4128
|
+
linkLabelWrapper: [
|
|
4129
|
+
"min-h-9",
|
|
4130
|
+
"bg-inherit dark:bg-inherit",
|
|
4131
|
+
"rounded-none"
|
|
4132
|
+
].join(" ")
|
|
4133
|
+
}
|
|
4134
|
+
},
|
|
3962
4135
|
{
|
|
3963
4136
|
variant: "pill",
|
|
3964
4137
|
active: true,
|
|
@@ -3980,6 +4153,17 @@ const navigationMenu = {
|
|
|
3980
4153
|
].join(" ")
|
|
3981
4154
|
}
|
|
3982
4155
|
},
|
|
4156
|
+
{
|
|
4157
|
+
variant: "pill",
|
|
4158
|
+
orientation: "horizontal",
|
|
4159
|
+
active: true,
|
|
4160
|
+
highlight: false,
|
|
4161
|
+
class: {
|
|
4162
|
+
linkLabelWrapper: [
|
|
4163
|
+
"bg-inherit dark:bg-inherit"
|
|
4164
|
+
].join(" ")
|
|
4165
|
+
}
|
|
4166
|
+
},
|
|
3983
4167
|
{
|
|
3984
4168
|
variant: "pill",
|
|
3985
4169
|
active: true,
|
|
@@ -3988,7 +4172,111 @@ const navigationMenu = {
|
|
|
3988
4172
|
link: [
|
|
3989
4173
|
"hover:before:bg-base-250/80 dark:hover:before:bg-white/10",
|
|
3990
4174
|
"before:transition-colors"
|
|
3991
|
-
]
|
|
4175
|
+
].join(" ")
|
|
4176
|
+
}
|
|
4177
|
+
},
|
|
4178
|
+
{
|
|
4179
|
+
color: "default",
|
|
4180
|
+
orientation: "horizontal",
|
|
4181
|
+
variant: "pill",
|
|
4182
|
+
active: true,
|
|
4183
|
+
highlight: true,
|
|
4184
|
+
class: {
|
|
4185
|
+
link: [
|
|
4186
|
+
"hover:before:bg-base-800 hover:dark:before:bg-white/35",
|
|
4187
|
+
"before:transition-colors"
|
|
4188
|
+
].join(" ")
|
|
4189
|
+
}
|
|
4190
|
+
},
|
|
4191
|
+
{
|
|
4192
|
+
color: "danger",
|
|
4193
|
+
orientation: "horizontal",
|
|
4194
|
+
variant: "pill",
|
|
4195
|
+
active: true,
|
|
4196
|
+
highlight: true,
|
|
4197
|
+
class: {
|
|
4198
|
+
link: [
|
|
4199
|
+
"hover:before:bg-red-800 hover:dark:before:bg-red-800",
|
|
4200
|
+
"before:transition-colors"
|
|
4201
|
+
].join(" ")
|
|
4202
|
+
}
|
|
4203
|
+
},
|
|
4204
|
+
{
|
|
4205
|
+
color: "success",
|
|
4206
|
+
orientation: "horizontal",
|
|
4207
|
+
variant: "pill",
|
|
4208
|
+
active: true,
|
|
4209
|
+
highlight: true,
|
|
4210
|
+
class: {
|
|
4211
|
+
link: [
|
|
4212
|
+
"hover:before:bg-green-800 hover:dark:before:bg-green-800",
|
|
4213
|
+
"before:transition-colors"
|
|
4214
|
+
].join(" ")
|
|
4215
|
+
}
|
|
4216
|
+
},
|
|
4217
|
+
{
|
|
4218
|
+
color: "warning",
|
|
4219
|
+
orientation: "horizontal",
|
|
4220
|
+
variant: "pill",
|
|
4221
|
+
active: true,
|
|
4222
|
+
highlight: true,
|
|
4223
|
+
class: {
|
|
4224
|
+
link: [
|
|
4225
|
+
"hover:before:bg-orange-800 hover:dark:before:bg-orange-800",
|
|
4226
|
+
"before:transition-colors"
|
|
4227
|
+
].join(" ")
|
|
4228
|
+
}
|
|
4229
|
+
},
|
|
4230
|
+
{
|
|
4231
|
+
color: "primary",
|
|
4232
|
+
orientation: "horizontal",
|
|
4233
|
+
variant: "pill",
|
|
4234
|
+
active: true,
|
|
4235
|
+
highlight: true,
|
|
4236
|
+
class: {
|
|
4237
|
+
link: [
|
|
4238
|
+
"hover:before:bg-blue-800 hover:dark:before:bg-blue-800",
|
|
4239
|
+
"before:transition-colors"
|
|
4240
|
+
].join(" ")
|
|
4241
|
+
}
|
|
4242
|
+
},
|
|
4243
|
+
{
|
|
4244
|
+
color: "secondary",
|
|
4245
|
+
orientation: "horizontal",
|
|
4246
|
+
variant: "pill",
|
|
4247
|
+
active: true,
|
|
4248
|
+
highlight: true,
|
|
4249
|
+
class: {
|
|
4250
|
+
link: [
|
|
4251
|
+
"hover:before:bg-cyan-800 hover:dark:before:bg-cyan-800",
|
|
4252
|
+
"before:transition-colors"
|
|
4253
|
+
].join(" ")
|
|
4254
|
+
}
|
|
4255
|
+
},
|
|
4256
|
+
{
|
|
4257
|
+
color: "collab",
|
|
4258
|
+
orientation: "horizontal",
|
|
4259
|
+
variant: "pill",
|
|
4260
|
+
active: true,
|
|
4261
|
+
highlight: true,
|
|
4262
|
+
class: {
|
|
4263
|
+
link: [
|
|
4264
|
+
"hover:before:bg-collab-800 hover:dark:before:bg-collab-800",
|
|
4265
|
+
"before:transition-colors"
|
|
4266
|
+
].join(" ")
|
|
4267
|
+
}
|
|
4268
|
+
},
|
|
4269
|
+
{
|
|
4270
|
+
color: "ai",
|
|
4271
|
+
orientation: "horizontal",
|
|
4272
|
+
variant: "pill",
|
|
4273
|
+
active: true,
|
|
4274
|
+
highlight: true,
|
|
4275
|
+
class: {
|
|
4276
|
+
link: [
|
|
4277
|
+
"hover:before:bg-ai-800 hover:dark:before:bg-ai-800",
|
|
4278
|
+
"before:transition-colors"
|
|
4279
|
+
].join(" ")
|
|
3992
4280
|
}
|
|
3993
4281
|
},
|
|
3994
4282
|
// endregion ////
|
|
@@ -4001,11 +4289,12 @@ const navigationMenu = {
|
|
|
4001
4289
|
"top-[calc(100%+0.4rem)]"
|
|
4002
4290
|
].join(" "),
|
|
4003
4291
|
viewport: [
|
|
4004
|
-
"rounded-b-md
|
|
4292
|
+
"rounded-b-md",
|
|
4293
|
+
"[&:has(>[data-viewport=ltr])]:rounded-tr-md [&:has(>[data-viewport=rtl])]:rounded-tl-md",
|
|
4005
4294
|
"clip-path-viewport-wrapper"
|
|
4006
4295
|
].join(" "),
|
|
4007
4296
|
link: [
|
|
4008
|
-
"before
|
|
4297
|
+
"before:inset-x-[0px] before:-inset-y-[6px] before:h-[70px]",
|
|
4009
4298
|
"before:rounded-t-md"
|
|
4010
4299
|
].join(" ")
|
|
4011
4300
|
}
|
|
@@ -5261,7 +5550,7 @@ const _switch = {
|
|
|
5261
5550
|
base: [
|
|
5262
5551
|
"cursor-pointer inline-flex items-center shrink-0 rounded-full border-2 border-transparent data-[state=unchecked]:bg-base-200 dark:data-[state=unchecked]:bg-base-800",
|
|
5263
5552
|
"outline-transparent focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
5264
|
-
"transition-
|
|
5553
|
+
"transition-[background] duration-200"
|
|
5265
5554
|
].join(" "),
|
|
5266
5555
|
container: "flex items-center",
|
|
5267
5556
|
thumb: "group pointer-events-none rounded-full bg-white dark:bg-base-100 shadow-lg ring-0 transition-transform duration-200 data-[state=unchecked]:translate-x-0 data-[state=unchecked]:rtl:-translate-x-0 flex items-center justify-center",
|
|
@@ -5383,7 +5672,7 @@ const tabs = {
|
|
|
5383
5672
|
"data-[state=inactive]:text-base-600 dark:data-[state=inactive]:text-base-600",
|
|
5384
5673
|
"hover:data-[state=inactive]:not-disabled:text-base-master dark:hover:data-[state=inactive]:not-disabled:text-base-150",
|
|
5385
5674
|
"font-medium rounded-xl",
|
|
5386
|
-
"cursor-pointer disabled:cursor-not-allowed disabled:opacity-75
|
|
5675
|
+
"cursor-pointer disabled:cursor-not-allowed disabled:opacity-75",
|
|
5387
5676
|
"transition-colors"
|
|
5388
5677
|
].join(" "),
|
|
5389
5678
|
content: "focus:outline-none w-full",
|
package/dist/types.d.mts
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import type { NuxtModule } from '@nuxt/schema'
|
|
2
|
+
|
|
3
|
+
import type { default as Module } from './module.js'
|
|
4
|
+
|
|
5
|
+
export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
|
6
|
+
|
|
7
|
+
export { default } from './module.js'
|
package/dist/types.d.ts
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import type { NuxtModule } from '@nuxt/schema'
|
|
2
|
+
|
|
3
|
+
import type { default as Module } from './module'
|
|
4
|
+
|
|
5
|
+
export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
|
6
|
+
|
|
7
|
+
export { default } from './module'
|
package/dist/unplugin.cjs
CHANGED
|
@@ -5,7 +5,7 @@ const pathe = require('pathe');
|
|
|
5
5
|
const unplugin = require('unplugin');
|
|
6
6
|
const defu = require('defu');
|
|
7
7
|
const tailwind = require('@tailwindcss/vite');
|
|
8
|
-
const templates = require('./shared/b24ui-nuxt.
|
|
8
|
+
const templates = require('./shared/b24ui-nuxt.BfU7TRfz.cjs');
|
|
9
9
|
const tinyglobby = require('tinyglobby');
|
|
10
10
|
const knitwork = require('knitwork');
|
|
11
11
|
const MagicString = require('magic-string');
|
package/dist/unplugin.d.cts
CHANGED
|
@@ -29,4 +29,5 @@ interface Bitrix24UIOptions extends Omit<ModuleOptions, 'colorMode'> {
|
|
|
29
29
|
declare const runtimeDir: string;
|
|
30
30
|
declare const Bitrix24UIPlugin: unplugin.UnpluginInstance<Bitrix24UIOptions | undefined, boolean>;
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Bitrix24UIPlugin, runtimeDir };
|
|
33
|
+
export type { Bitrix24UIOptions };
|
package/dist/unplugin.d.mts
CHANGED
|
@@ -29,4 +29,5 @@ interface Bitrix24UIOptions extends Omit<ModuleOptions, 'colorMode'> {
|
|
|
29
29
|
declare const runtimeDir: string;
|
|
30
30
|
declare const Bitrix24UIPlugin: unplugin.UnpluginInstance<Bitrix24UIOptions | undefined, boolean>;
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Bitrix24UIPlugin, runtimeDir };
|
|
33
|
+
export type { Bitrix24UIOptions };
|
package/dist/unplugin.d.ts
CHANGED
|
@@ -29,4 +29,5 @@ interface Bitrix24UIOptions extends Omit<ModuleOptions, 'colorMode'> {
|
|
|
29
29
|
declare const runtimeDir: string;
|
|
30
30
|
declare const Bitrix24UIPlugin: unplugin.UnpluginInstance<Bitrix24UIOptions | undefined, boolean>;
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Bitrix24UIPlugin, runtimeDir };
|
|
33
|
+
export type { Bitrix24UIOptions };
|
package/dist/unplugin.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { join, normalize } from 'pathe';
|
|
|
3
3
|
import { createUnplugin } from 'unplugin';
|
|
4
4
|
import { defu } from 'defu';
|
|
5
5
|
import tailwind from '@tailwindcss/vite';
|
|
6
|
-
import { g as getTemplates, d as defaultOptions, a as getDefaultUiConfig } from './shared/b24ui-nuxt.
|
|
6
|
+
import { g as getTemplates, d as defaultOptions, a as getDefaultUiConfig } from './shared/b24ui-nuxt.CTERD7XY.mjs';
|
|
7
7
|
import { globSync } from 'tinyglobby';
|
|
8
8
|
import { genSafeVariableName } from 'knitwork';
|
|
9
9
|
import MagicString from 'magic-string';
|
package/dist/vite.cjs
CHANGED
package/dist/vite.mjs
CHANGED