@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
|
@@ -726,7 +726,7 @@ const button = {
|
|
|
726
726
|
base: [
|
|
727
727
|
"select-none cursor-pointer inline-flex items-center",
|
|
728
728
|
"relative",
|
|
729
|
-
"outline-transparent focus
|
|
729
|
+
"outline-transparent focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
730
730
|
"disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-50 aria-disabled:opacity-50",
|
|
731
731
|
"transition duration-150 ease-linear"
|
|
732
732
|
// transition-colors
|
|
@@ -751,7 +751,7 @@ const button = {
|
|
|
751
751
|
"active:bg-slate-850 active:border-slate-850 active:focus-visible:ring-0",
|
|
752
752
|
"disabled:bg-base-650 aria-disabled:bg-base-650 disabled:border-base-650 aria-disabled:border-base-650",
|
|
753
753
|
"focus-visible:outline-base-650",
|
|
754
|
-
"ring-base-850 focus-visible:ring-base-850"
|
|
754
|
+
"ring-base-850 focus:outline-none focus-visible:ring-base-850"
|
|
755
755
|
].join(" "),
|
|
756
756
|
danger: [
|
|
757
757
|
"text-white dark:text-red-100 bg-red-720 border border-red-720",
|
|
@@ -759,7 +759,7 @@ const button = {
|
|
|
759
759
|
"active:bg-red-730 active:border-red-730 active:focus-visible:ring-0",
|
|
760
760
|
"disabled:bg-red-720 aria-disabled:bg-red-720 disabled:border-red-720 aria-disabled:border-red-720",
|
|
761
761
|
"focus-visible:outline-red-720",
|
|
762
|
-
"ring-red-800 focus-visible:ring-red-800"
|
|
762
|
+
"ring-red-800 focus:outline-none focus-visible:ring-red-800"
|
|
763
763
|
].join(" "),
|
|
764
764
|
success: [
|
|
765
765
|
"text-base-900 bg-green-450 border border-green-450",
|
|
@@ -767,7 +767,7 @@ const button = {
|
|
|
767
767
|
"active:bg-green-430 active:border-green-430 active:focus-visible:ring-0",
|
|
768
768
|
"disabled:bg-green-450 aria-disabled:bg-green-450 disabled:border-green-450 aria-disabled:border-green-450",
|
|
769
769
|
"focus-visible:outline-green-450",
|
|
770
|
-
"ring-green-500 focus-visible:ring-green-500"
|
|
770
|
+
"ring-green-500 focus:outline-none focus-visible:ring-green-500"
|
|
771
771
|
].join(" "),
|
|
772
772
|
warning: [
|
|
773
773
|
"text-white dark:text-orange-100 bg-orange-500 border border-orange-500",
|
|
@@ -775,7 +775,7 @@ const button = {
|
|
|
775
775
|
"active:bg-orange-500/85 active:border-orange-500/85 active:focus-visible:ring-0",
|
|
776
776
|
"disabled:bg-orange-500 aria-disabled:bg-orange-500 disabled:border-bg-orange-500 aria-disabled:border-bg-orange-500",
|
|
777
777
|
"focus-visible:outline-orange-500",
|
|
778
|
-
"ring-orange-800 focus-visible:ring-orange-800"
|
|
778
|
+
"ring-orange-800 focus:outline-none focus-visible:ring-orange-800"
|
|
779
779
|
].join(" "),
|
|
780
780
|
primary: [
|
|
781
781
|
"text-white dark:text-blue-100 bg-blue-530 border border-blue-530",
|
|
@@ -783,7 +783,7 @@ const button = {
|
|
|
783
783
|
"active:bg-blue-550 active:border-blue-550 active:focus-visible:ring-0",
|
|
784
784
|
"disabled:bg-blue-530 aria-disabled:bg-blue-530 disabled:border-blue-530 aria-disabled:border-blue-530",
|
|
785
785
|
"focus-visible:outline-blue-530",
|
|
786
|
-
"ring-blue-800 focus-visible:ring-blue-800"
|
|
786
|
+
"ring-blue-800 focus:outline-none focus-visible:ring-blue-800"
|
|
787
787
|
].join(" "),
|
|
788
788
|
secondary: [
|
|
789
789
|
"text-base-900 bg-cyan-160 border border-cyan-230",
|
|
@@ -791,7 +791,7 @@ const button = {
|
|
|
791
791
|
"active:bg-cyan-230 active:border-cyan-230 active:focus-visible:ring-0",
|
|
792
792
|
"disabled:bg-cyan-160 aria-disabled:bg-cyan-160 disabled:border-cyan-230 aria-disabled:border-cyan-230",
|
|
793
793
|
"focus-visible:outline-cyan-160",
|
|
794
|
-
"ring-cyan-500 focus-visible:ring-cyan-500"
|
|
794
|
+
"ring-cyan-500 focus:outline-none focus-visible:ring-cyan-500"
|
|
795
795
|
].join(" "),
|
|
796
796
|
collab: [
|
|
797
797
|
"text-white dark:text-collab-100 bg-collab-600 border border-collab-600",
|
|
@@ -799,7 +799,7 @@ const button = {
|
|
|
799
799
|
"active:bg-collab-700 active:border-collab-700 active:focus-visible:ring-0",
|
|
800
800
|
"disabled:bg-collab-600 aria-disabled:bg-collab-600 disabled:border-collab-600 aria-disabled:border-collab-600",
|
|
801
801
|
"focus-visible:outline-collab-600",
|
|
802
|
-
"ring-collab-900 focus-visible:ring-collab-900"
|
|
802
|
+
"ring-collab-900 focus:outline-none focus-visible:ring-collab-900"
|
|
803
803
|
].join(" "),
|
|
804
804
|
ai: [
|
|
805
805
|
"text-white dark:text-ai-100 bg-ai-450 border border-ai-450",
|
|
@@ -807,7 +807,7 @@ const button = {
|
|
|
807
807
|
"active:bg-ai-550 active:border-ai-550 active:focus-visible:ring-0",
|
|
808
808
|
"disabled:bg-ai-450 aria-disabled:bg-ai-450 disabled:border-ai-450 aria-disabled:border-ai-450",
|
|
809
809
|
"focus-visible:outline-ai-450",
|
|
810
|
-
"ring-ai-900 focus-visible:ring-ai-900"
|
|
810
|
+
"ring-ai-900 focus:outline-none focus-visible:ring-ai-900"
|
|
811
811
|
].join(" "),
|
|
812
812
|
link: [
|
|
813
813
|
"no-underline decoration-solid decoration-auto",
|
|
@@ -816,7 +816,7 @@ const button = {
|
|
|
816
816
|
"active:text-base-900 dark:active:text-base-700 active:focus-visible:ring-0",
|
|
817
817
|
"disabled:text-base-900 aria-disabled:text-base-900 dark:disabled:text-base-300 dark:aria-disabled:disabled:text-base-300",
|
|
818
818
|
"focus-visible:outline-base-400",
|
|
819
|
-
"ring-base-850 focus-visible:ring-base-850"
|
|
819
|
+
"ring-base-850 focus:outline-none focus-visible:ring-base-850"
|
|
820
820
|
].join(" ")
|
|
821
821
|
},
|
|
822
822
|
depth: {
|
|
@@ -1648,7 +1648,7 @@ const collapsible = {
|
|
|
1648
1648
|
};
|
|
1649
1649
|
|
|
1650
1650
|
const container = {
|
|
1651
|
-
base: "max-w-[80rem] mx-auto px-5"
|
|
1651
|
+
base: "w-full max-w-[80rem] mx-auto px-5"
|
|
1652
1652
|
// max-w-7xl w-full
|
|
1653
1653
|
};
|
|
1654
1654
|
|
|
@@ -3568,11 +3568,11 @@ const navigationMenu = {
|
|
|
3568
3568
|
"w-full",
|
|
3569
3569
|
"bg-white dark:bg-base-dark",
|
|
3570
3570
|
"shadow-[0_15px_21px_rgba(83,92,105,.15)]",
|
|
3571
|
-
//
|
|
3572
3571
|
"h-(--reka-navigation-menu-viewport-height)",
|
|
3573
|
-
"transition-[width,height] duration-200 origin-[top_center]"
|
|
3572
|
+
"transition-[width,height] duration-200 origin-[top_center]",
|
|
3574
3573
|
// left
|
|
3575
3574
|
// 'motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in]'
|
|
3575
|
+
"z-[1]"
|
|
3576
3576
|
].join(" "),
|
|
3577
3577
|
content: "absolute top-0 left-0 w-full",
|
|
3578
3578
|
indicator: [
|
|
@@ -3580,7 +3580,7 @@ const navigationMenu = {
|
|
|
3580
3580
|
"motion-safe:data-[state=visible]:animate-[fade-in_100ms_ease-out] motion-safe:data-[state=hidden]:animate-[fade-out_100ms_ease-in]",
|
|
3581
3581
|
"data-[state=hidden]:opacity-0",
|
|
3582
3582
|
"bottom-0",
|
|
3583
|
-
"z-[
|
|
3583
|
+
"z-[2]",
|
|
3584
3584
|
"w-(--reka-navigation-menu-indicator-size)",
|
|
3585
3585
|
"h-2.5",
|
|
3586
3586
|
"translate-x-(--reka-navigation-menu-indicator-position)",
|
|
@@ -3655,8 +3655,8 @@ const navigationMenu = {
|
|
|
3655
3655
|
orientation: {
|
|
3656
3656
|
horizontal: {
|
|
3657
3657
|
root: "items-center justify-between",
|
|
3658
|
-
list: "flex items-center",
|
|
3659
|
-
item: "py-2",
|
|
3658
|
+
list: "flex items-center gap-x-1",
|
|
3659
|
+
item: "py-2 empty:hidden",
|
|
3660
3660
|
link: "px-2.5 py-1.5 before:inset-x-px before:inset-y-0",
|
|
3661
3661
|
childList: "grid p-2"
|
|
3662
3662
|
},
|
|
@@ -3679,7 +3679,10 @@ const navigationMenu = {
|
|
|
3679
3679
|
].join(" ")
|
|
3680
3680
|
},
|
|
3681
3681
|
vertical: {
|
|
3682
|
-
viewport:
|
|
3682
|
+
viewport: [
|
|
3683
|
+
"w-(--reka-navigation-menu-viewport-width) left-(--reka-navigation-menu-viewport-left)",
|
|
3684
|
+
"[&:has(>[data-viewport=rtl])]:left-auto [&:has(>[data-viewport=rtl])]:-right-[calc(100%-var(--reka-navigation-menu-viewport-width))]"
|
|
3685
|
+
].join(" "),
|
|
3683
3686
|
content: "",
|
|
3684
3687
|
childLinkLabel: [
|
|
3685
3688
|
"text-md",
|
|
@@ -3766,6 +3769,16 @@ const navigationMenu = {
|
|
|
3766
3769
|
},
|
|
3767
3770
|
// endregion ////
|
|
3768
3771
|
// region pill ////
|
|
3772
|
+
{
|
|
3773
|
+
disabled: true,
|
|
3774
|
+
orientation: "horizontal",
|
|
3775
|
+
variant: "pill",
|
|
3776
|
+
class: {
|
|
3777
|
+
link: [
|
|
3778
|
+
"hover:before:rounded-md"
|
|
3779
|
+
].join(" ")
|
|
3780
|
+
}
|
|
3781
|
+
},
|
|
3769
3782
|
{
|
|
3770
3783
|
disabled: false,
|
|
3771
3784
|
active: false,
|
|
@@ -3828,6 +3841,26 @@ const navigationMenu = {
|
|
|
3828
3841
|
].join(" ")
|
|
3829
3842
|
}
|
|
3830
3843
|
},
|
|
3844
|
+
{
|
|
3845
|
+
color: "default",
|
|
3846
|
+
orientation: "horizontal",
|
|
3847
|
+
variant: "pill",
|
|
3848
|
+
active: true,
|
|
3849
|
+
class: {
|
|
3850
|
+
link: [
|
|
3851
|
+
"min-h-9",
|
|
3852
|
+
"before:rounded-md",
|
|
3853
|
+
"before:bg-base-800 dark:before:bg-white/35",
|
|
3854
|
+
"hover:before:bg-base-800 hover:dark:before:bg-white/35",
|
|
3855
|
+
"data-[state=open]:before:bg-base-800 dark:data-[state=open]:before:bg-white/35"
|
|
3856
|
+
].join(" "),
|
|
3857
|
+
linkLabelWrapper: [
|
|
3858
|
+
"min-h-9",
|
|
3859
|
+
"bg-inherit dark:bg-inherit",
|
|
3860
|
+
"rounded-none"
|
|
3861
|
+
].join(" ")
|
|
3862
|
+
}
|
|
3863
|
+
},
|
|
3831
3864
|
{
|
|
3832
3865
|
color: "danger",
|
|
3833
3866
|
variant: "pill",
|
|
@@ -3847,6 +3880,26 @@ const navigationMenu = {
|
|
|
3847
3880
|
].join(" ")
|
|
3848
3881
|
}
|
|
3849
3882
|
},
|
|
3883
|
+
{
|
|
3884
|
+
color: "danger",
|
|
3885
|
+
orientation: "horizontal",
|
|
3886
|
+
variant: "pill",
|
|
3887
|
+
active: true,
|
|
3888
|
+
class: {
|
|
3889
|
+
link: [
|
|
3890
|
+
"min-h-9",
|
|
3891
|
+
"before:rounded-md",
|
|
3892
|
+
"before:bg-red-800 dark:before:bg-red-800",
|
|
3893
|
+
"hover:before:bg-red-800 hover:dark:before:bg-red-800",
|
|
3894
|
+
"data-[state=open]:before:bg-red-800 dark:data-[state=open]:before:bg-red-800"
|
|
3895
|
+
].join(" "),
|
|
3896
|
+
linkLabelWrapper: [
|
|
3897
|
+
"min-h-9",
|
|
3898
|
+
"bg-inherit dark:bg-inherit",
|
|
3899
|
+
"rounded-none"
|
|
3900
|
+
].join(" ")
|
|
3901
|
+
}
|
|
3902
|
+
},
|
|
3850
3903
|
{
|
|
3851
3904
|
color: "success",
|
|
3852
3905
|
variant: "pill",
|
|
@@ -3866,6 +3919,26 @@ const navigationMenu = {
|
|
|
3866
3919
|
].join(" ")
|
|
3867
3920
|
}
|
|
3868
3921
|
},
|
|
3922
|
+
{
|
|
3923
|
+
color: "success",
|
|
3924
|
+
orientation: "horizontal",
|
|
3925
|
+
variant: "pill",
|
|
3926
|
+
active: true,
|
|
3927
|
+
class: {
|
|
3928
|
+
link: [
|
|
3929
|
+
"min-h-9",
|
|
3930
|
+
"before:rounded-md",
|
|
3931
|
+
"before:bg-green-800 dark:before:bg-green-800",
|
|
3932
|
+
"hover:before:bg-green-800 hover:dark:before:bg-green-800",
|
|
3933
|
+
"data-[state=open]:before:bg-green-800 dark:data-[state=open]:before:bg-green-800"
|
|
3934
|
+
].join(" "),
|
|
3935
|
+
linkLabelWrapper: [
|
|
3936
|
+
"min-h-9",
|
|
3937
|
+
"bg-inherit dark:bg-inherit",
|
|
3938
|
+
"rounded-none"
|
|
3939
|
+
].join(" ")
|
|
3940
|
+
}
|
|
3941
|
+
},
|
|
3869
3942
|
{
|
|
3870
3943
|
color: "warning",
|
|
3871
3944
|
variant: "pill",
|
|
@@ -3885,6 +3958,26 @@ const navigationMenu = {
|
|
|
3885
3958
|
].join(" ")
|
|
3886
3959
|
}
|
|
3887
3960
|
},
|
|
3961
|
+
{
|
|
3962
|
+
color: "warning",
|
|
3963
|
+
orientation: "horizontal",
|
|
3964
|
+
variant: "pill",
|
|
3965
|
+
active: true,
|
|
3966
|
+
class: {
|
|
3967
|
+
link: [
|
|
3968
|
+
"min-h-9",
|
|
3969
|
+
"before:rounded-md",
|
|
3970
|
+
"before:bg-orange-800 dark:before:bg-orange-800",
|
|
3971
|
+
"hover:before:bg-orange-800 hover:dark:before:bg-orange-800",
|
|
3972
|
+
"data-[state=open]:before:bg-orange-800 dark:data-[state=open]:before:bg-orange-800"
|
|
3973
|
+
].join(" "),
|
|
3974
|
+
linkLabelWrapper: [
|
|
3975
|
+
"min-h-9",
|
|
3976
|
+
"bg-inherit dark:bg-inherit",
|
|
3977
|
+
"rounded-none"
|
|
3978
|
+
].join(" ")
|
|
3979
|
+
}
|
|
3980
|
+
},
|
|
3888
3981
|
{
|
|
3889
3982
|
color: "primary",
|
|
3890
3983
|
variant: "pill",
|
|
@@ -3904,6 +3997,26 @@ const navigationMenu = {
|
|
|
3904
3997
|
].join(" ")
|
|
3905
3998
|
}
|
|
3906
3999
|
},
|
|
4000
|
+
{
|
|
4001
|
+
color: "primary",
|
|
4002
|
+
orientation: "horizontal",
|
|
4003
|
+
variant: "pill",
|
|
4004
|
+
active: true,
|
|
4005
|
+
class: {
|
|
4006
|
+
link: [
|
|
4007
|
+
"min-h-9",
|
|
4008
|
+
"before:rounded-md",
|
|
4009
|
+
"before:bg-blue-800 dark:before:bg-blue-800",
|
|
4010
|
+
"hover:before:bg-blue-800 hover:dark:before:bg-blue-800",
|
|
4011
|
+
"data-[state=open]:before:bg-blue-800 dark:data-[state=open]:before:bg-blue-800"
|
|
4012
|
+
].join(" "),
|
|
4013
|
+
linkLabelWrapper: [
|
|
4014
|
+
"min-h-9",
|
|
4015
|
+
"bg-inherit dark:bg-inherit",
|
|
4016
|
+
"rounded-none"
|
|
4017
|
+
].join(" ")
|
|
4018
|
+
}
|
|
4019
|
+
},
|
|
3907
4020
|
{
|
|
3908
4021
|
color: "secondary",
|
|
3909
4022
|
variant: "pill",
|
|
@@ -3923,6 +4036,26 @@ const navigationMenu = {
|
|
|
3923
4036
|
].join(" ")
|
|
3924
4037
|
}
|
|
3925
4038
|
},
|
|
4039
|
+
{
|
|
4040
|
+
color: "secondary",
|
|
4041
|
+
orientation: "horizontal",
|
|
4042
|
+
variant: "pill",
|
|
4043
|
+
active: true,
|
|
4044
|
+
class: {
|
|
4045
|
+
link: [
|
|
4046
|
+
"min-h-9",
|
|
4047
|
+
"before:rounded-md",
|
|
4048
|
+
"before:bg-cyan-800 dark:before:bg-cyan-800",
|
|
4049
|
+
"hover:before:bg-cyan-800 hover:dark:before:bg-cyan-800",
|
|
4050
|
+
"data-[state=open]:before:bg-cyan-800 dark:data-[state=open]:before:bg-cyan-800"
|
|
4051
|
+
].join(" "),
|
|
4052
|
+
linkLabelWrapper: [
|
|
4053
|
+
"min-h-9",
|
|
4054
|
+
"bg-inherit dark:bg-inherit",
|
|
4055
|
+
"rounded-none"
|
|
4056
|
+
].join(" ")
|
|
4057
|
+
}
|
|
4058
|
+
},
|
|
3926
4059
|
{
|
|
3927
4060
|
color: "collab",
|
|
3928
4061
|
variant: "pill",
|
|
@@ -3942,6 +4075,26 @@ const navigationMenu = {
|
|
|
3942
4075
|
].join(" ")
|
|
3943
4076
|
}
|
|
3944
4077
|
},
|
|
4078
|
+
{
|
|
4079
|
+
color: "collab",
|
|
4080
|
+
orientation: "horizontal",
|
|
4081
|
+
variant: "pill",
|
|
4082
|
+
active: true,
|
|
4083
|
+
class: {
|
|
4084
|
+
link: [
|
|
4085
|
+
"min-h-9",
|
|
4086
|
+
"before:rounded-md",
|
|
4087
|
+
"before:bg-collab-800 dark:before:bg-collab-800",
|
|
4088
|
+
"hover:before:bg-collab-800 hover:dark:before:bg-collab-800",
|
|
4089
|
+
"data-[state=open]:before:bg-collab-800 dark:data-[state=open]:before:bg-collab-800"
|
|
4090
|
+
].join(" "),
|
|
4091
|
+
linkLabelWrapper: [
|
|
4092
|
+
"min-h-9",
|
|
4093
|
+
"bg-inherit dark:bg-inherit",
|
|
4094
|
+
"rounded-none"
|
|
4095
|
+
].join(" ")
|
|
4096
|
+
}
|
|
4097
|
+
},
|
|
3945
4098
|
{
|
|
3946
4099
|
color: "ai",
|
|
3947
4100
|
variant: "pill",
|
|
@@ -3961,6 +4114,26 @@ const navigationMenu = {
|
|
|
3961
4114
|
].join(" ")
|
|
3962
4115
|
}
|
|
3963
4116
|
},
|
|
4117
|
+
{
|
|
4118
|
+
color: "ai",
|
|
4119
|
+
orientation: "horizontal",
|
|
4120
|
+
variant: "pill",
|
|
4121
|
+
active: true,
|
|
4122
|
+
class: {
|
|
4123
|
+
link: [
|
|
4124
|
+
"min-h-9",
|
|
4125
|
+
"before:rounded-md",
|
|
4126
|
+
"before:bg-ai-800 dark:before:bg-ai-800",
|
|
4127
|
+
"hover:before:bg-ai-800 hover:dark:before:bg-ai-800",
|
|
4128
|
+
"data-[state=open]:before:bg-ai-800 dark:data-[state=open]:before:bg-ai-800"
|
|
4129
|
+
].join(" "),
|
|
4130
|
+
linkLabelWrapper: [
|
|
4131
|
+
"min-h-9",
|
|
4132
|
+
"bg-inherit dark:bg-inherit",
|
|
4133
|
+
"rounded-none"
|
|
4134
|
+
].join(" ")
|
|
4135
|
+
}
|
|
4136
|
+
},
|
|
3964
4137
|
{
|
|
3965
4138
|
variant: "pill",
|
|
3966
4139
|
active: true,
|
|
@@ -3982,6 +4155,17 @@ const navigationMenu = {
|
|
|
3982
4155
|
].join(" ")
|
|
3983
4156
|
}
|
|
3984
4157
|
},
|
|
4158
|
+
{
|
|
4159
|
+
variant: "pill",
|
|
4160
|
+
orientation: "horizontal",
|
|
4161
|
+
active: true,
|
|
4162
|
+
highlight: false,
|
|
4163
|
+
class: {
|
|
4164
|
+
linkLabelWrapper: [
|
|
4165
|
+
"bg-inherit dark:bg-inherit"
|
|
4166
|
+
].join(" ")
|
|
4167
|
+
}
|
|
4168
|
+
},
|
|
3985
4169
|
{
|
|
3986
4170
|
variant: "pill",
|
|
3987
4171
|
active: true,
|
|
@@ -3990,7 +4174,111 @@ const navigationMenu = {
|
|
|
3990
4174
|
link: [
|
|
3991
4175
|
"hover:before:bg-base-250/80 dark:hover:before:bg-white/10",
|
|
3992
4176
|
"before:transition-colors"
|
|
3993
|
-
]
|
|
4177
|
+
].join(" ")
|
|
4178
|
+
}
|
|
4179
|
+
},
|
|
4180
|
+
{
|
|
4181
|
+
color: "default",
|
|
4182
|
+
orientation: "horizontal",
|
|
4183
|
+
variant: "pill",
|
|
4184
|
+
active: true,
|
|
4185
|
+
highlight: true,
|
|
4186
|
+
class: {
|
|
4187
|
+
link: [
|
|
4188
|
+
"hover:before:bg-base-800 hover:dark:before:bg-white/35",
|
|
4189
|
+
"before:transition-colors"
|
|
4190
|
+
].join(" ")
|
|
4191
|
+
}
|
|
4192
|
+
},
|
|
4193
|
+
{
|
|
4194
|
+
color: "danger",
|
|
4195
|
+
orientation: "horizontal",
|
|
4196
|
+
variant: "pill",
|
|
4197
|
+
active: true,
|
|
4198
|
+
highlight: true,
|
|
4199
|
+
class: {
|
|
4200
|
+
link: [
|
|
4201
|
+
"hover:before:bg-red-800 hover:dark:before:bg-red-800",
|
|
4202
|
+
"before:transition-colors"
|
|
4203
|
+
].join(" ")
|
|
4204
|
+
}
|
|
4205
|
+
},
|
|
4206
|
+
{
|
|
4207
|
+
color: "success",
|
|
4208
|
+
orientation: "horizontal",
|
|
4209
|
+
variant: "pill",
|
|
4210
|
+
active: true,
|
|
4211
|
+
highlight: true,
|
|
4212
|
+
class: {
|
|
4213
|
+
link: [
|
|
4214
|
+
"hover:before:bg-green-800 hover:dark:before:bg-green-800",
|
|
4215
|
+
"before:transition-colors"
|
|
4216
|
+
].join(" ")
|
|
4217
|
+
}
|
|
4218
|
+
},
|
|
4219
|
+
{
|
|
4220
|
+
color: "warning",
|
|
4221
|
+
orientation: "horizontal",
|
|
4222
|
+
variant: "pill",
|
|
4223
|
+
active: true,
|
|
4224
|
+
highlight: true,
|
|
4225
|
+
class: {
|
|
4226
|
+
link: [
|
|
4227
|
+
"hover:before:bg-orange-800 hover:dark:before:bg-orange-800",
|
|
4228
|
+
"before:transition-colors"
|
|
4229
|
+
].join(" ")
|
|
4230
|
+
}
|
|
4231
|
+
},
|
|
4232
|
+
{
|
|
4233
|
+
color: "primary",
|
|
4234
|
+
orientation: "horizontal",
|
|
4235
|
+
variant: "pill",
|
|
4236
|
+
active: true,
|
|
4237
|
+
highlight: true,
|
|
4238
|
+
class: {
|
|
4239
|
+
link: [
|
|
4240
|
+
"hover:before:bg-blue-800 hover:dark:before:bg-blue-800",
|
|
4241
|
+
"before:transition-colors"
|
|
4242
|
+
].join(" ")
|
|
4243
|
+
}
|
|
4244
|
+
},
|
|
4245
|
+
{
|
|
4246
|
+
color: "secondary",
|
|
4247
|
+
orientation: "horizontal",
|
|
4248
|
+
variant: "pill",
|
|
4249
|
+
active: true,
|
|
4250
|
+
highlight: true,
|
|
4251
|
+
class: {
|
|
4252
|
+
link: [
|
|
4253
|
+
"hover:before:bg-cyan-800 hover:dark:before:bg-cyan-800",
|
|
4254
|
+
"before:transition-colors"
|
|
4255
|
+
].join(" ")
|
|
4256
|
+
}
|
|
4257
|
+
},
|
|
4258
|
+
{
|
|
4259
|
+
color: "collab",
|
|
4260
|
+
orientation: "horizontal",
|
|
4261
|
+
variant: "pill",
|
|
4262
|
+
active: true,
|
|
4263
|
+
highlight: true,
|
|
4264
|
+
class: {
|
|
4265
|
+
link: [
|
|
4266
|
+
"hover:before:bg-collab-800 hover:dark:before:bg-collab-800",
|
|
4267
|
+
"before:transition-colors"
|
|
4268
|
+
].join(" ")
|
|
4269
|
+
}
|
|
4270
|
+
},
|
|
4271
|
+
{
|
|
4272
|
+
color: "ai",
|
|
4273
|
+
orientation: "horizontal",
|
|
4274
|
+
variant: "pill",
|
|
4275
|
+
active: true,
|
|
4276
|
+
highlight: true,
|
|
4277
|
+
class: {
|
|
4278
|
+
link: [
|
|
4279
|
+
"hover:before:bg-ai-800 hover:dark:before:bg-ai-800",
|
|
4280
|
+
"before:transition-colors"
|
|
4281
|
+
].join(" ")
|
|
3994
4282
|
}
|
|
3995
4283
|
},
|
|
3996
4284
|
// endregion ////
|
|
@@ -4003,11 +4291,12 @@ const navigationMenu = {
|
|
|
4003
4291
|
"top-[calc(100%+0.4rem)]"
|
|
4004
4292
|
].join(" "),
|
|
4005
4293
|
viewport: [
|
|
4006
|
-
"rounded-b-md
|
|
4294
|
+
"rounded-b-md",
|
|
4295
|
+
"[&:has(>[data-viewport=ltr])]:rounded-tr-md [&:has(>[data-viewport=rtl])]:rounded-tl-md",
|
|
4007
4296
|
"clip-path-viewport-wrapper"
|
|
4008
4297
|
].join(" "),
|
|
4009
4298
|
link: [
|
|
4010
|
-
"before
|
|
4299
|
+
"before:inset-x-[0px] before:-inset-y-[6px] before:h-[70px]",
|
|
4011
4300
|
"before:rounded-t-md"
|
|
4012
4301
|
].join(" ")
|
|
4013
4302
|
}
|
|
@@ -5263,7 +5552,7 @@ const _switch = {
|
|
|
5263
5552
|
base: [
|
|
5264
5553
|
"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",
|
|
5265
5554
|
"outline-transparent focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
5266
|
-
"transition-
|
|
5555
|
+
"transition-[background] duration-200"
|
|
5267
5556
|
].join(" "),
|
|
5268
5557
|
container: "flex items-center",
|
|
5269
5558
|
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",
|
|
@@ -5385,7 +5674,7 @@ const tabs = {
|
|
|
5385
5674
|
"data-[state=inactive]:text-base-600 dark:data-[state=inactive]:text-base-600",
|
|
5386
5675
|
"hover:data-[state=inactive]:not-disabled:text-base-master dark:hover:data-[state=inactive]:not-disabled:text-base-150",
|
|
5387
5676
|
"font-medium rounded-xl",
|
|
5388
|
-
"cursor-pointer disabled:cursor-not-allowed disabled:opacity-75
|
|
5677
|
+
"cursor-pointer disabled:cursor-not-allowed disabled:opacity-75",
|
|
5389
5678
|
"transition-colors"
|
|
5390
5679
|
].join(" "),
|
|
5391
5680
|
content: "focus:outline-none w-full",
|