@bitrix24/b24ui-nuxt 0.5.0 → 0.5.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.
- package/.nuxt/b24ui/navigation-menu.ts +258 -38
- package/.nuxt/b24ui.css +1 -1
- package/README.md +2 -2
- package/dist/meta.cjs +7206 -996
- package/dist/meta.d.cts +7206 -996
- package/dist/meta.d.mts +7206 -996
- package/dist/meta.d.ts +7206 -996
- package/dist/meta.mjs +7206 -996
- package/dist/module.cjs +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/DropdownMenu.vue +4 -4
- package/dist/runtime/components/InputMenu.vue +3 -3
- package/dist/runtime/components/Modal.vue +10 -7
- package/dist/runtime/components/NavigationMenu.vue +38 -35
- package/dist/runtime/components/Popover.vue +3 -2
- package/dist/runtime/components/RadioGroup.vue +2 -2
- package/dist/runtime/components/Select.vue +3 -3
- package/dist/runtime/components/SelectMenu.vue +3 -3
- package/dist/runtime/components/Slideover.vue +10 -7
- package/dist/runtime/components/Toast.vue +1 -1
- package/dist/runtime/components/Tooltip.vue +3 -2
- package/dist/runtime/plugins/colors.d.ts +3 -0
- package/dist/shared/{b24ui-nuxt.Bj4fKDSa.mjs → b24ui-nuxt.CBnBA3PE.mjs} +352 -48
- package/dist/shared/{b24ui-nuxt.DHbGsmbj.cjs → b24ui-nuxt.ClMXHpMM.cjs} +352 -48
- package/dist/unplugin.cjs +1 -1
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.cjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +7 -7
|
@@ -3534,14 +3534,15 @@ const navigationMenu = {
|
|
|
3534
3534
|
"before:absolute before:z-[-1]",
|
|
3535
3535
|
"focus:outline-none focus-visible:before:rounded-md focus-visible:outline-none dark:focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2"
|
|
3536
3536
|
].join(" "),
|
|
3537
|
-
linkLeadingIcon: "shrink-0 size-
|
|
3538
|
-
linkLeadingAvatar: "shrink-0",
|
|
3537
|
+
linkLeadingIcon: "shrink-0 size-4 -ms-1 rtl:-ms-0 rtl:-me-1",
|
|
3538
|
+
linkLeadingAvatar: "shrink-0 -ms-1 rtl:-ms-0 rtl:-me-1",
|
|
3539
3539
|
linkLeadingAvatarSize: "2xs",
|
|
3540
|
-
linkTrailing: "
|
|
3540
|
+
linkTrailing: "inline-flex gap-1.5 items-center",
|
|
3541
3541
|
linkTrailingBadge: "shrink-0",
|
|
3542
3542
|
linkTrailingBadgeSize: "sm",
|
|
3543
|
-
linkTrailingIcon: "text-base-600 size-
|
|
3543
|
+
linkTrailingIcon: "text-base-600 size-4 transform shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",
|
|
3544
3544
|
linkLabel: "truncate",
|
|
3545
|
+
linkLabelWrapper: "flex items-center items-center justify-between rtl:flex-row-reverse gap-1.5",
|
|
3545
3546
|
linkLabelExternalIcon: "inline-block h-6 w-3 align-top text-base-500 dark:text-base-700",
|
|
3546
3547
|
childList: "",
|
|
3547
3548
|
childItem: "",
|
|
@@ -3549,7 +3550,7 @@ const navigationMenu = {
|
|
|
3549
3550
|
"group",
|
|
3550
3551
|
"size-full",
|
|
3551
3552
|
"px-3 py-2",
|
|
3552
|
-
|
|
3553
|
+
"rounded-2xs",
|
|
3553
3554
|
"flex items-start gap-2",
|
|
3554
3555
|
"text-start"
|
|
3555
3556
|
].join(" "),
|
|
@@ -3557,16 +3558,16 @@ const navigationMenu = {
|
|
|
3557
3558
|
childLinkIcon: "size-5 shrink-0",
|
|
3558
3559
|
childLinkLabel: "font-semibold text-sm relative inline-flex",
|
|
3559
3560
|
childLinkLabelExternalIcon: "inline-block h-6 w-3 align-top text-base-500 dark:text-base-700",
|
|
3560
|
-
childLinkDescription: "text-sm text-
|
|
3561
|
-
separator: "px-2 h-px bg-
|
|
3561
|
+
childLinkDescription: "text-sm text-base-500 dark:text-base-700",
|
|
3562
|
+
separator: "px-2 h-px bg-base-950/10 dark:bg-base-100/20",
|
|
3562
3563
|
viewportWrapper: "absolute top-full left-0 flex w-full",
|
|
3563
3564
|
viewport: [
|
|
3564
3565
|
"relative overflow-hidden",
|
|
3565
3566
|
"w-full",
|
|
3566
|
-
"bg-
|
|
3567
|
+
"bg-white dark:bg-base-dark",
|
|
3567
3568
|
"shadow-lg",
|
|
3568
|
-
"rounded-
|
|
3569
|
-
"ring ring-
|
|
3569
|
+
"rounded-2xs",
|
|
3570
|
+
"ring ring-base-300 dark:ring-base-800",
|
|
3570
3571
|
"h-(--reka-navigation-menu-viewport-height)",
|
|
3571
3572
|
"transition-[width,height,left] duration-200 origin-[top_center]",
|
|
3572
3573
|
"motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in]"
|
|
@@ -3585,7 +3586,12 @@ const navigationMenu = {
|
|
|
3585
3586
|
"overflow-hidden",
|
|
3586
3587
|
"transition-[translate,width] duration-200"
|
|
3587
3588
|
].join(" "),
|
|
3588
|
-
arrow:
|
|
3589
|
+
arrow: [
|
|
3590
|
+
"relative top-[50%] size-2.5 rotate-45",
|
|
3591
|
+
"border border-base-300 dark:border-base-800",
|
|
3592
|
+
"bg-white dark:bg-base-dark",
|
|
3593
|
+
"z-[1] rounded-3xs"
|
|
3594
|
+
].join(" ")
|
|
3589
3595
|
},
|
|
3590
3596
|
variants: {
|
|
3591
3597
|
color: {
|
|
@@ -3593,13 +3599,34 @@ const navigationMenu = {
|
|
|
3593
3599
|
link: "focus-visible:before:ring-base-300 dark:focus-visible:before:ring-base-800",
|
|
3594
3600
|
childLink: "focus-visible:outline-base-300 dark:focus-visible:outline-base-800"
|
|
3595
3601
|
},
|
|
3596
|
-
danger:
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3602
|
+
danger: {
|
|
3603
|
+
link: "focus-visible:before:ring-red-300 dark:focus-visible:before:ring-red-800",
|
|
3604
|
+
childLink: "focus-visible:outline-red-300 dark:focus-visible:outline-red-800"
|
|
3605
|
+
},
|
|
3606
|
+
success: {
|
|
3607
|
+
link: "focus-visible:before:ring-green-300 dark:focus-visible:before:ring-green-800",
|
|
3608
|
+
childLink: "focus-visible:outline-green-300 dark:focus-visible:outline-green-800"
|
|
3609
|
+
},
|
|
3610
|
+
warning: {
|
|
3611
|
+
link: "focus-visible:before:ring-orange-300 dark:focus-visible:before:ring-orange-800",
|
|
3612
|
+
childLink: "focus-visible:outline-orange-300 dark:focus-visible:outline-orange-800"
|
|
3613
|
+
},
|
|
3614
|
+
primary: {
|
|
3615
|
+
link: "focus-visible:before:ring-blue-300 dark:focus-visible:before:ring-blue-800",
|
|
3616
|
+
childLink: "focus-visible:outline-blue-300 dark:focus-visible:outline-blue-800"
|
|
3617
|
+
},
|
|
3618
|
+
secondary: {
|
|
3619
|
+
link: "focus-visible:before:ring-cyan-300 dark:focus-visible:before:ring-cyan-800",
|
|
3620
|
+
childLink: "focus-visible:outline-cyan-300 dark:focus-visible:outline-cyan-800"
|
|
3621
|
+
},
|
|
3622
|
+
collab: {
|
|
3623
|
+
link: "focus-visible:before:ring-collab-300 dark:focus-visible:before:ring-collab-800",
|
|
3624
|
+
childLink: "focus-visible:outline-collab-300 dark:focus-visible:outline-collab-800"
|
|
3625
|
+
},
|
|
3626
|
+
ai: {
|
|
3627
|
+
link: "focus-visible:before:ring-ai-300 dark:focus-visible:before:ring-ai-800",
|
|
3628
|
+
childLink: "focus-visible:outline-ai-300 dark:focus-visible:outline-ai-800"
|
|
3629
|
+
}
|
|
3603
3630
|
},
|
|
3604
3631
|
highlightColor: {
|
|
3605
3632
|
default: "",
|
|
@@ -3649,19 +3676,25 @@ const navigationMenu = {
|
|
|
3649
3676
|
},
|
|
3650
3677
|
active: {
|
|
3651
3678
|
true: {
|
|
3652
|
-
childLink:
|
|
3653
|
-
|
|
3679
|
+
childLink: [
|
|
3680
|
+
"bg-base-250/80 dark:bg-white/10",
|
|
3681
|
+
"text-base-950 dark:text-base-50",
|
|
3682
|
+
"font-semibold"
|
|
3683
|
+
].join(" "),
|
|
3684
|
+
childLinkIcon: "text-base-950 dark:text-base-50"
|
|
3654
3685
|
},
|
|
3655
3686
|
false: {
|
|
3656
3687
|
link: "text-base-900 dark:text-base-200",
|
|
3657
3688
|
linkLeadingIcon: "text-base-500 dark:text-base-700",
|
|
3658
3689
|
childLink: [
|
|
3659
|
-
"hover:bg-
|
|
3690
|
+
"hover:bg-base-250/80 dark:hover:bg-white/10",
|
|
3691
|
+
"text-base-500 dark:text-base-700",
|
|
3692
|
+
"hover:text-base-950 dark:hover:dark:text-base-50",
|
|
3660
3693
|
"transition-colors"
|
|
3661
3694
|
].join(" "),
|
|
3662
3695
|
childLinkIcon: [
|
|
3663
3696
|
"text-base-500 dark:text-base-700",
|
|
3664
|
-
"group-hover:text-
|
|
3697
|
+
"group-hover:text-base-950 dark:group-hover:text-base-50",
|
|
3665
3698
|
"transition-colors"
|
|
3666
3699
|
].join(" ")
|
|
3667
3700
|
}
|
|
@@ -3712,11 +3745,11 @@ const navigationMenu = {
|
|
|
3712
3745
|
highlight: true,
|
|
3713
3746
|
level: true,
|
|
3714
3747
|
class: {
|
|
3715
|
-
link: ["after:absolute after:-start-1.5 after:inset-y-0.5 after:block after:w-
|
|
3748
|
+
link: ["after:absolute after:-start-1.5 after:inset-y-0.5 after:block after:w-[7px] after:rounded-full", "after:transition-colors"]
|
|
3716
3749
|
}
|
|
3717
3750
|
},
|
|
3718
3751
|
// endregion ////
|
|
3719
|
-
// region
|
|
3752
|
+
// region pill ////
|
|
3720
3753
|
{
|
|
3721
3754
|
disabled: false,
|
|
3722
3755
|
active: false,
|
|
@@ -3726,7 +3759,7 @@ const navigationMenu = {
|
|
|
3726
3759
|
"transition-colors before:transition-colors"
|
|
3727
3760
|
].join(" "),
|
|
3728
3761
|
linkLeadingIcon: [
|
|
3729
|
-
"group-hover:text-
|
|
3762
|
+
"group-hover:text-base-900 dark:group-hover:text-base-200",
|
|
3730
3763
|
"transition-colors"
|
|
3731
3764
|
].join(" ")
|
|
3732
3765
|
}
|
|
@@ -3737,8 +3770,8 @@ const navigationMenu = {
|
|
|
3737
3770
|
variant: "pill",
|
|
3738
3771
|
orientation: "horizontal",
|
|
3739
3772
|
class: {
|
|
3740
|
-
link: "data-[state=open]:text-
|
|
3741
|
-
linkLeadingIcon: "group-data-[state=open]:text-
|
|
3773
|
+
link: "before:rounded-md data-[state=open]:text-base-950 dark:data-[state=open]:text-base-50",
|
|
3774
|
+
linkLeadingIcon: "group-data-[state=open]:text-base-950 dark:group-data-[state=open]:text-base-50"
|
|
3742
3775
|
}
|
|
3743
3776
|
},
|
|
3744
3777
|
{
|
|
@@ -3747,7 +3780,7 @@ const navigationMenu = {
|
|
|
3747
3780
|
highlight: true,
|
|
3748
3781
|
orientation: "horizontal",
|
|
3749
3782
|
class: {
|
|
3750
|
-
link: "data-[state=open]:before:bg-
|
|
3783
|
+
link: "data-[state=open]:before:rounded-md data-[state=open]:before:bg-base-250/80 dark:data-[state=open]:before:bg-white/10"
|
|
3751
3784
|
}
|
|
3752
3785
|
},
|
|
3753
3786
|
{
|
|
@@ -3757,20 +3790,158 @@ const navigationMenu = {
|
|
|
3757
3790
|
active: false,
|
|
3758
3791
|
orientation: "horizontal",
|
|
3759
3792
|
class: {
|
|
3760
|
-
link: "data-[state=open]:before:bg-
|
|
3793
|
+
link: "data-[state=open]:before:bg-base-250/80 dark:data-[state=open]:before:bg-white/10"
|
|
3761
3794
|
}
|
|
3762
3795
|
},
|
|
3763
|
-
// endregion ////
|
|
3764
3796
|
{
|
|
3765
3797
|
color: "default",
|
|
3766
3798
|
variant: "pill",
|
|
3767
3799
|
active: true,
|
|
3768
3800
|
class: {
|
|
3769
|
-
|
|
3770
|
-
|
|
3801
|
+
linkLeadingIcon: "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
|
|
3802
|
+
linkLabel: [
|
|
3803
|
+
"font-semibold",
|
|
3804
|
+
"text-white dark:text-white"
|
|
3805
|
+
].join(" "),
|
|
3806
|
+
linkLabelWrapper: [
|
|
3807
|
+
"px-3",
|
|
3808
|
+
"-ms-3 rtl:-me-3 rtl:ms-0",
|
|
3809
|
+
"leading-[1.563rem]",
|
|
3810
|
+
"bg-base-800 dark:bg-white/35",
|
|
3811
|
+
"rounded-2xl"
|
|
3812
|
+
].join(" ")
|
|
3813
|
+
}
|
|
3814
|
+
},
|
|
3815
|
+
{
|
|
3816
|
+
color: "danger",
|
|
3817
|
+
variant: "pill",
|
|
3818
|
+
active: true,
|
|
3819
|
+
class: {
|
|
3820
|
+
linkLeadingIcon: "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
|
|
3821
|
+
linkLabel: [
|
|
3822
|
+
"font-semibold",
|
|
3823
|
+
"text-white dark:text-white"
|
|
3824
|
+
].join(" "),
|
|
3825
|
+
linkLabelWrapper: [
|
|
3826
|
+
"px-3",
|
|
3827
|
+
"-ms-3 rtl:-me-3 rtl:ms-0",
|
|
3828
|
+
"leading-[1.563rem]",
|
|
3829
|
+
"bg-red-800 dark:bg-red-800",
|
|
3830
|
+
"rounded-2xl"
|
|
3831
|
+
].join(" ")
|
|
3832
|
+
}
|
|
3833
|
+
},
|
|
3834
|
+
{
|
|
3835
|
+
color: "success",
|
|
3836
|
+
variant: "pill",
|
|
3837
|
+
active: true,
|
|
3838
|
+
class: {
|
|
3839
|
+
linkLeadingIcon: "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
|
|
3840
|
+
linkLabel: [
|
|
3841
|
+
"font-semibold",
|
|
3842
|
+
"text-white dark:text-white"
|
|
3843
|
+
].join(" "),
|
|
3844
|
+
linkLabelWrapper: [
|
|
3845
|
+
"px-3",
|
|
3846
|
+
"-ms-3 rtl:-me-3 rtl:ms-0",
|
|
3847
|
+
"leading-[1.563rem]",
|
|
3848
|
+
"bg-green-800 dark:bg-green-800",
|
|
3849
|
+
"rounded-2xl"
|
|
3850
|
+
].join(" ")
|
|
3851
|
+
}
|
|
3852
|
+
},
|
|
3853
|
+
{
|
|
3854
|
+
color: "warning",
|
|
3855
|
+
variant: "pill",
|
|
3856
|
+
active: true,
|
|
3857
|
+
class: {
|
|
3858
|
+
linkLeadingIcon: "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
|
|
3859
|
+
linkLabel: [
|
|
3860
|
+
"font-semibold",
|
|
3861
|
+
"text-white dark:text-white"
|
|
3862
|
+
].join(" "),
|
|
3863
|
+
linkLabelWrapper: [
|
|
3864
|
+
"px-3",
|
|
3865
|
+
"-ms-3 rtl:-me-3 rtl:ms-0",
|
|
3866
|
+
"leading-[1.563rem]",
|
|
3867
|
+
"bg-orange-800 dark:bg-orange-800",
|
|
3868
|
+
"rounded-2xl"
|
|
3869
|
+
].join(" ")
|
|
3870
|
+
}
|
|
3871
|
+
},
|
|
3872
|
+
{
|
|
3873
|
+
color: "primary",
|
|
3874
|
+
variant: "pill",
|
|
3875
|
+
active: true,
|
|
3876
|
+
class: {
|
|
3877
|
+
linkLeadingIcon: "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
|
|
3771
3878
|
linkLabel: [
|
|
3772
|
-
"
|
|
3773
|
-
"
|
|
3879
|
+
"font-semibold",
|
|
3880
|
+
"text-white dark:text-white"
|
|
3881
|
+
].join(" "),
|
|
3882
|
+
linkLabelWrapper: [
|
|
3883
|
+
"px-3",
|
|
3884
|
+
"-ms-3 rtl:-me-3 rtl:ms-0",
|
|
3885
|
+
"leading-[1.563rem]",
|
|
3886
|
+
"bg-blue-800 dark:bg-blue-800",
|
|
3887
|
+
"rounded-2xl"
|
|
3888
|
+
].join(" ")
|
|
3889
|
+
}
|
|
3890
|
+
},
|
|
3891
|
+
{
|
|
3892
|
+
color: "secondary",
|
|
3893
|
+
variant: "pill",
|
|
3894
|
+
active: true,
|
|
3895
|
+
class: {
|
|
3896
|
+
linkLeadingIcon: "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
|
|
3897
|
+
linkLabel: [
|
|
3898
|
+
"font-semibold",
|
|
3899
|
+
"text-white dark:text-white"
|
|
3900
|
+
].join(" "),
|
|
3901
|
+
linkLabelWrapper: [
|
|
3902
|
+
"px-3",
|
|
3903
|
+
"-ms-3 rtl:-me-3 rtl:ms-0",
|
|
3904
|
+
"leading-[1.563rem]",
|
|
3905
|
+
"bg-cyan-800 dark:bg-cyan-800",
|
|
3906
|
+
"rounded-2xl"
|
|
3907
|
+
].join(" ")
|
|
3908
|
+
}
|
|
3909
|
+
},
|
|
3910
|
+
{
|
|
3911
|
+
color: "collab",
|
|
3912
|
+
variant: "pill",
|
|
3913
|
+
active: true,
|
|
3914
|
+
class: {
|
|
3915
|
+
linkLeadingIcon: "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
|
|
3916
|
+
linkLabel: [
|
|
3917
|
+
"font-semibold",
|
|
3918
|
+
"text-white dark:text-white"
|
|
3919
|
+
].join(" "),
|
|
3920
|
+
linkLabelWrapper: [
|
|
3921
|
+
"px-3",
|
|
3922
|
+
"-ms-3 rtl:-me-3 rtl:ms-0",
|
|
3923
|
+
"leading-[1.563rem]",
|
|
3924
|
+
"bg-collab-800 dark:bg-collab-800",
|
|
3925
|
+
"rounded-2xl"
|
|
3926
|
+
].join(" ")
|
|
3927
|
+
}
|
|
3928
|
+
},
|
|
3929
|
+
{
|
|
3930
|
+
color: "ai",
|
|
3931
|
+
variant: "pill",
|
|
3932
|
+
active: true,
|
|
3933
|
+
class: {
|
|
3934
|
+
linkLeadingIcon: "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
|
|
3935
|
+
linkLabel: [
|
|
3936
|
+
"font-semibold",
|
|
3937
|
+
"text-white dark:text-white"
|
|
3938
|
+
].join(" "),
|
|
3939
|
+
linkLabelWrapper: [
|
|
3940
|
+
"px-3",
|
|
3941
|
+
"-ms-3 rtl:-me-3 rtl:ms-0",
|
|
3942
|
+
"leading-[1.563rem]",
|
|
3943
|
+
"bg-ai-800 dark:bg-ai-800",
|
|
3944
|
+
"rounded-2xl"
|
|
3774
3945
|
].join(" ")
|
|
3775
3946
|
}
|
|
3776
3947
|
},
|
|
@@ -3783,12 +3954,14 @@ const navigationMenu = {
|
|
|
3783
3954
|
"leading-9"
|
|
3784
3955
|
].join(" "),
|
|
3785
3956
|
linkLabel: [
|
|
3957
|
+
"font-semibold",
|
|
3958
|
+
"text-white dark:text-white"
|
|
3959
|
+
].join(" "),
|
|
3960
|
+
linkLabelWrapper: [
|
|
3786
3961
|
"px-3",
|
|
3787
|
-
"-ms-3
|
|
3788
|
-
"
|
|
3789
|
-
"text-white dark:text-white",
|
|
3962
|
+
"-ms-3 rtl:-me-3 rtl:ms-0",
|
|
3963
|
+
"leading-[1.563rem]",
|
|
3790
3964
|
"bg-base-800 dark:bg-white/35",
|
|
3791
|
-
// (--ui-bg-elevated)
|
|
3792
3965
|
"rounded-2xl"
|
|
3793
3966
|
].join(" ")
|
|
3794
3967
|
}
|
|
@@ -3799,11 +3972,12 @@ const navigationMenu = {
|
|
|
3799
3972
|
highlight: true,
|
|
3800
3973
|
class: {
|
|
3801
3974
|
link: [
|
|
3802
|
-
"hover:before:bg-
|
|
3975
|
+
"hover:before:bg-base-250/80 dark:hover:before:bg-white/10",
|
|
3803
3976
|
"before:transition-colors"
|
|
3804
3977
|
]
|
|
3805
3978
|
}
|
|
3806
3979
|
},
|
|
3980
|
+
// endregion ////
|
|
3807
3981
|
// region link ////
|
|
3808
3982
|
{
|
|
3809
3983
|
disabled: false,
|
|
@@ -3815,7 +3989,7 @@ const navigationMenu = {
|
|
|
3815
3989
|
"transition-colors"
|
|
3816
3990
|
].join(" "),
|
|
3817
3991
|
linkLeadingIcon: [
|
|
3818
|
-
"group-hover:text-
|
|
3992
|
+
"group-hover:text-base-950 dark:group-hover:text-base-50",
|
|
3819
3993
|
"transition-colors"
|
|
3820
3994
|
].join(" ")
|
|
3821
3995
|
}
|
|
@@ -3826,8 +4000,8 @@ const navigationMenu = {
|
|
|
3826
4000
|
variant: "link",
|
|
3827
4001
|
orientation: "horizontal",
|
|
3828
4002
|
class: {
|
|
3829
|
-
link: "data-[state=open]:text-
|
|
3830
|
-
linkLeadingIcon: "group-data-[state=open]:text-
|
|
4003
|
+
link: "data-[state=open]:text-base-950 dark:data-[state=open]:text-base-50",
|
|
4004
|
+
linkLeadingIcon: "group-data-[state=open]:text-base-950 dark:group-data-[state=open]:text-base-50"
|
|
3831
4005
|
}
|
|
3832
4006
|
},
|
|
3833
4007
|
{
|
|
@@ -3835,26 +4009,155 @@ const navigationMenu = {
|
|
|
3835
4009
|
variant: "link",
|
|
3836
4010
|
active: true,
|
|
3837
4011
|
class: {
|
|
3838
|
-
link: "text-
|
|
3839
|
-
linkLeadingIcon: "text-
|
|
4012
|
+
link: "font-semibold text-base-950 dark:text-base-50",
|
|
4013
|
+
linkLeadingIcon: "text-base-950 group-data-[state=open]:text-base-950 dark:text-base-50 dark:group-data-[state=open]:text-base-50"
|
|
4014
|
+
}
|
|
4015
|
+
},
|
|
4016
|
+
{
|
|
4017
|
+
color: "danger",
|
|
4018
|
+
variant: "link",
|
|
4019
|
+
active: true,
|
|
4020
|
+
class: {
|
|
4021
|
+
link: "font-semibold text-red-800 dark:text-red-600",
|
|
4022
|
+
linkLeadingIcon: "text-red-800 group-data-[state=open]:text-red-600 dark:text-red-600 dark:group-data-[state=open]:text-red-600"
|
|
4023
|
+
}
|
|
4024
|
+
},
|
|
4025
|
+
{
|
|
4026
|
+
color: "success",
|
|
4027
|
+
variant: "link",
|
|
4028
|
+
active: true,
|
|
4029
|
+
class: {
|
|
4030
|
+
link: "font-semibold text-green-800 dark:text-green-600",
|
|
4031
|
+
linkLeadingIcon: "text-green-800 group-data-[state=open]:text-green-600 dark:text-green-600 dark:group-data-[state=open]:text-green-600"
|
|
4032
|
+
}
|
|
4033
|
+
},
|
|
4034
|
+
{
|
|
4035
|
+
color: "warning",
|
|
4036
|
+
variant: "link",
|
|
4037
|
+
active: true,
|
|
4038
|
+
class: {
|
|
4039
|
+
link: "font-semibold text-orange-800 dark:text-orange-600",
|
|
4040
|
+
linkLeadingIcon: "text-orange-800 group-data-[state=open]:text-orange-600 dark:text-orange-600 dark:group-data-[state=open]:text-orange-600"
|
|
4041
|
+
}
|
|
4042
|
+
},
|
|
4043
|
+
{
|
|
4044
|
+
color: "primary",
|
|
4045
|
+
variant: "link",
|
|
4046
|
+
active: true,
|
|
4047
|
+
class: {
|
|
4048
|
+
link: "font-semibold text-blue-800 dark:text-blue-600",
|
|
4049
|
+
linkLeadingIcon: "text-blue-800 group-data-[state=open]:text-blue-600 dark:text-blue-600 dark:group-data-[state=open]:text-blue-600"
|
|
4050
|
+
}
|
|
4051
|
+
},
|
|
4052
|
+
{
|
|
4053
|
+
color: "secondary",
|
|
4054
|
+
variant: "link",
|
|
4055
|
+
active: true,
|
|
4056
|
+
class: {
|
|
4057
|
+
link: "font-semibold text-cyan-800 dark:text-cyan-600",
|
|
4058
|
+
linkLeadingIcon: "text-cyan-800 group-data-[state=open]:text-cyan-600 dark:text-cyan-600 dark:group-data-[state=open]:text-cyan-600"
|
|
4059
|
+
}
|
|
4060
|
+
},
|
|
4061
|
+
{
|
|
4062
|
+
color: "collab",
|
|
4063
|
+
variant: "link",
|
|
4064
|
+
active: true,
|
|
4065
|
+
class: {
|
|
4066
|
+
link: "font-semibold text-collab-800 dark:text-collab-600",
|
|
4067
|
+
linkLeadingIcon: "text-collab-800 group-data-[state=open]:text-collab-600 dark:text-collab-600 dark:group-data-[state=open]:text-collab-600"
|
|
4068
|
+
}
|
|
4069
|
+
},
|
|
4070
|
+
{
|
|
4071
|
+
color: "ai",
|
|
4072
|
+
variant: "link",
|
|
4073
|
+
active: true,
|
|
4074
|
+
class: {
|
|
4075
|
+
link: "font-semibold text-ai-800 dark:text-ai-600",
|
|
4076
|
+
linkLeadingIcon: "text-ai-800 group-data-[state=open]:text-ai-600 dark:text-ai-600 dark:group-data-[state=open]:text-ai-600"
|
|
3840
4077
|
}
|
|
3841
4078
|
},
|
|
3842
4079
|
// endregion ////
|
|
4080
|
+
// region highlight.Color ////
|
|
3843
4081
|
{
|
|
3844
4082
|
highlightColor: "default",
|
|
3845
4083
|
highlight: true,
|
|
3846
4084
|
level: true,
|
|
3847
4085
|
active: true,
|
|
3848
4086
|
class: {
|
|
3849
|
-
link: "after:bg-
|
|
4087
|
+
link: "after:bg-base-500"
|
|
4088
|
+
}
|
|
4089
|
+
},
|
|
4090
|
+
{
|
|
4091
|
+
highlightColor: "danger",
|
|
4092
|
+
highlight: true,
|
|
4093
|
+
level: true,
|
|
4094
|
+
active: true,
|
|
4095
|
+
class: {
|
|
4096
|
+
link: "after:bg-red-500 dark:after:bg-red-600"
|
|
4097
|
+
}
|
|
4098
|
+
},
|
|
4099
|
+
{
|
|
4100
|
+
highlightColor: "success",
|
|
4101
|
+
highlight: true,
|
|
4102
|
+
level: true,
|
|
4103
|
+
active: true,
|
|
4104
|
+
class: {
|
|
4105
|
+
link: "after:bg-green-500 dark:after:bg-green-600"
|
|
4106
|
+
}
|
|
4107
|
+
},
|
|
4108
|
+
{
|
|
4109
|
+
highlightColor: "warning",
|
|
4110
|
+
highlight: true,
|
|
4111
|
+
level: true,
|
|
4112
|
+
active: true,
|
|
4113
|
+
class: {
|
|
4114
|
+
link: "after:bg-orange-500 dark:after:bg-orange-600"
|
|
4115
|
+
}
|
|
4116
|
+
},
|
|
4117
|
+
{
|
|
4118
|
+
highlightColor: "primary",
|
|
4119
|
+
highlight: true,
|
|
4120
|
+
level: true,
|
|
4121
|
+
active: true,
|
|
4122
|
+
class: {
|
|
4123
|
+
link: "after:bg-blue-500 dark:after:bg-blue-600"
|
|
4124
|
+
}
|
|
4125
|
+
},
|
|
4126
|
+
{
|
|
4127
|
+
highlightColor: "secondary",
|
|
4128
|
+
highlight: true,
|
|
4129
|
+
level: true,
|
|
4130
|
+
active: true,
|
|
4131
|
+
class: {
|
|
4132
|
+
link: "after:bg-cyan-500 dark:after:bg-cyan-600"
|
|
3850
4133
|
}
|
|
3851
4134
|
},
|
|
4135
|
+
{
|
|
4136
|
+
highlightColor: "collab",
|
|
4137
|
+
highlight: true,
|
|
4138
|
+
level: true,
|
|
4139
|
+
active: true,
|
|
4140
|
+
class: {
|
|
4141
|
+
link: "after:bg-collab-500 dark:after:bg-collab-600"
|
|
4142
|
+
}
|
|
4143
|
+
},
|
|
4144
|
+
{
|
|
4145
|
+
highlightColor: "ai",
|
|
4146
|
+
highlight: true,
|
|
4147
|
+
level: true,
|
|
4148
|
+
active: true,
|
|
4149
|
+
class: {
|
|
4150
|
+
link: "after:bg-ai-500 dark:after:bg-ai-600"
|
|
4151
|
+
}
|
|
4152
|
+
},
|
|
4153
|
+
// endregion ////
|
|
4154
|
+
// region collapsed ////
|
|
3852
4155
|
{
|
|
3853
4156
|
orientation: "vertical",
|
|
3854
4157
|
collapsed: false,
|
|
3855
4158
|
class: {
|
|
3856
|
-
childList: "
|
|
3857
|
-
childItem: "
|
|
4159
|
+
childList: "",
|
|
4160
|
+
childItem: "[&>*]:ps-[44px] rtl:[&>*]:pe-[44px]"
|
|
3858
4161
|
}
|
|
3859
4162
|
},
|
|
3860
4163
|
{
|
|
@@ -3864,6 +4167,7 @@ const navigationMenu = {
|
|
|
3864
4167
|
link: "px-1.5"
|
|
3865
4168
|
}
|
|
3866
4169
|
}
|
|
4170
|
+
// endregion ////
|
|
3867
4171
|
],
|
|
3868
4172
|
defaultVariants: {
|
|
3869
4173
|
color: "default",
|
|
@@ -6600,7 +6904,7 @@ function getTemplates(options) {
|
|
|
6600
6904
|
write: true,
|
|
6601
6905
|
getContents: () => `@source "./b24ui";
|
|
6602
6906
|
|
|
6603
|
-
@theme default
|
|
6907
|
+
@theme default {}
|
|
6604
6908
|
`
|
|
6605
6909
|
});
|
|
6606
6910
|
templates.push({
|