@bitrix24/b24ui-nuxt 0.5.0 → 0.5.2
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 +380 -42
- package/.nuxt/b24ui.css +1 -1
- package/README.md +2 -2
- package/dist/meta.cjs +7147 -937
- package/dist/meta.d.cts +7147 -937
- package/dist/meta.d.mts +7147 -937
- package/dist/meta.d.ts +7147 -937
- package/dist/meta.mjs +7147 -937
- 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 +44 -38
- 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/composables/useComponentIcons.d.ts +2 -2
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/plugins/colors.d.ts +3 -0
- package/dist/shared/{b24ui-nuxt.DHbGsmbj.cjs → b24ui-nuxt.CKEqlXJP.cjs} +495 -54
- package/dist/shared/{b24ui-nuxt.Bj4fKDSa.mjs → b24ui-nuxt.DQ3Ix7rC.mjs} +495 -54
- 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
|
@@ -3536,14 +3536,15 @@ const navigationMenu = {
|
|
|
3536
3536
|
"before:absolute before:z-[-1]",
|
|
3537
3537
|
"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"
|
|
3538
3538
|
].join(" "),
|
|
3539
|
-
linkLeadingIcon: "shrink-0 size-
|
|
3540
|
-
linkLeadingAvatar: "shrink-0",
|
|
3539
|
+
linkLeadingIcon: "shrink-0 size-4 -ms-1 rtl:-ms-0 rtl:-me-1",
|
|
3540
|
+
linkLeadingAvatar: "shrink-0 -ms-1 rtl:-ms-0 rtl:-me-1",
|
|
3541
3541
|
linkLeadingAvatarSize: "2xs",
|
|
3542
|
-
linkTrailing: "
|
|
3542
|
+
linkTrailing: "inline-flex gap-1.5 items-center",
|
|
3543
3543
|
linkTrailingBadge: "shrink-0",
|
|
3544
3544
|
linkTrailingBadgeSize: "sm",
|
|
3545
|
-
linkTrailingIcon: "text-base-600 size-
|
|
3545
|
+
linkTrailingIcon: "text-base-600 size-4 transform shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",
|
|
3546
3546
|
linkLabel: "truncate",
|
|
3547
|
+
linkLabelWrapper: "flex items-center items-center justify-between rtl:flex-row-reverse gap-1.5",
|
|
3547
3548
|
linkLabelExternalIcon: "inline-block h-6 w-3 align-top text-base-500 dark:text-base-700",
|
|
3548
3549
|
childList: "",
|
|
3549
3550
|
childItem: "",
|
|
@@ -3551,7 +3552,7 @@ const navigationMenu = {
|
|
|
3551
3552
|
"group",
|
|
3552
3553
|
"size-full",
|
|
3553
3554
|
"px-3 py-2",
|
|
3554
|
-
|
|
3555
|
+
"rounded-2xs",
|
|
3555
3556
|
"flex items-start gap-2",
|
|
3556
3557
|
"text-start"
|
|
3557
3558
|
].join(" "),
|
|
@@ -3559,19 +3560,19 @@ const navigationMenu = {
|
|
|
3559
3560
|
childLinkIcon: "size-5 shrink-0",
|
|
3560
3561
|
childLinkLabel: "font-semibold text-sm relative inline-flex",
|
|
3561
3562
|
childLinkLabelExternalIcon: "inline-block h-6 w-3 align-top text-base-500 dark:text-base-700",
|
|
3562
|
-
childLinkDescription: "text-sm text-
|
|
3563
|
-
separator: "px-2 h-px bg-
|
|
3563
|
+
childLinkDescription: "text-sm text-base-500 dark:text-base-700",
|
|
3564
|
+
separator: "px-2 h-px bg-base-950/10 dark:bg-base-100/20",
|
|
3564
3565
|
viewportWrapper: "absolute top-full left-0 flex w-full",
|
|
3565
3566
|
viewport: [
|
|
3566
3567
|
"relative overflow-hidden",
|
|
3567
3568
|
"w-full",
|
|
3568
|
-
"bg-
|
|
3569
|
-
"shadow-
|
|
3570
|
-
|
|
3571
|
-
"ring ring-(--ui-border)",
|
|
3569
|
+
"bg-white dark:bg-base-dark",
|
|
3570
|
+
"shadow-[0_15px_21px_rgba(83,92,105,.15)]",
|
|
3571
|
+
//
|
|
3572
3572
|
"h-(--reka-navigation-menu-viewport-height)",
|
|
3573
|
-
"transition-[width,height
|
|
3574
|
-
|
|
3573
|
+
"transition-[width,height] duration-200 origin-[top_center]"
|
|
3574
|
+
// left
|
|
3575
|
+
// 'motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in]'
|
|
3575
3576
|
].join(" "),
|
|
3576
3577
|
content: "absolute top-0 left-0 w-full",
|
|
3577
3578
|
indicator: [
|
|
@@ -3587,7 +3588,12 @@ const navigationMenu = {
|
|
|
3587
3588
|
"overflow-hidden",
|
|
3588
3589
|
"transition-[translate,width] duration-200"
|
|
3589
3590
|
].join(" "),
|
|
3590
|
-
arrow:
|
|
3591
|
+
arrow: [
|
|
3592
|
+
"relative top-[50%] size-2.5 rotate-45",
|
|
3593
|
+
"border border-base-300 dark:border-base-800",
|
|
3594
|
+
"bg-white dark:bg-base-dark",
|
|
3595
|
+
"z-[1] rounded-3xs"
|
|
3596
|
+
].join(" ")
|
|
3591
3597
|
},
|
|
3592
3598
|
variants: {
|
|
3593
3599
|
color: {
|
|
@@ -3595,13 +3601,34 @@ const navigationMenu = {
|
|
|
3595
3601
|
link: "focus-visible:before:ring-base-300 dark:focus-visible:before:ring-base-800",
|
|
3596
3602
|
childLink: "focus-visible:outline-base-300 dark:focus-visible:outline-base-800"
|
|
3597
3603
|
},
|
|
3598
|
-
danger:
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3604
|
+
danger: {
|
|
3605
|
+
link: "focus-visible:before:ring-red-300 dark:focus-visible:before:ring-red-800",
|
|
3606
|
+
childLink: "focus-visible:outline-red-300 dark:focus-visible:outline-red-800"
|
|
3607
|
+
},
|
|
3608
|
+
success: {
|
|
3609
|
+
link: "focus-visible:before:ring-green-300 dark:focus-visible:before:ring-green-800",
|
|
3610
|
+
childLink: "focus-visible:outline-green-300 dark:focus-visible:outline-green-800"
|
|
3611
|
+
},
|
|
3612
|
+
warning: {
|
|
3613
|
+
link: "focus-visible:before:ring-orange-300 dark:focus-visible:before:ring-orange-800",
|
|
3614
|
+
childLink: "focus-visible:outline-orange-300 dark:focus-visible:outline-orange-800"
|
|
3615
|
+
},
|
|
3616
|
+
primary: {
|
|
3617
|
+
link: "focus-visible:before:ring-blue-300 dark:focus-visible:before:ring-blue-800",
|
|
3618
|
+
childLink: "focus-visible:outline-blue-300 dark:focus-visible:outline-blue-800"
|
|
3619
|
+
},
|
|
3620
|
+
secondary: {
|
|
3621
|
+
link: "focus-visible:before:ring-cyan-300 dark:focus-visible:before:ring-cyan-800",
|
|
3622
|
+
childLink: "focus-visible:outline-cyan-300 dark:focus-visible:outline-cyan-800"
|
|
3623
|
+
},
|
|
3624
|
+
collab: {
|
|
3625
|
+
link: "focus-visible:before:ring-collab-300 dark:focus-visible:before:ring-collab-800",
|
|
3626
|
+
childLink: "focus-visible:outline-collab-300 dark:focus-visible:outline-collab-800"
|
|
3627
|
+
},
|
|
3628
|
+
ai: {
|
|
3629
|
+
link: "focus-visible:before:ring-ai-300 dark:focus-visible:before:ring-ai-800",
|
|
3630
|
+
childLink: "focus-visible:outline-ai-300 dark:focus-visible:outline-ai-800"
|
|
3631
|
+
}
|
|
3605
3632
|
},
|
|
3606
3633
|
highlightColor: {
|
|
3607
3634
|
default: "",
|
|
@@ -3617,6 +3644,10 @@ const navigationMenu = {
|
|
|
3617
3644
|
pill: {
|
|
3618
3645
|
link: [
|
|
3619
3646
|
"hover:before:bg-base-250/80 dark:hover:before:bg-white/10"
|
|
3647
|
+
].join(" "),
|
|
3648
|
+
viewport: [
|
|
3649
|
+
"rounded-md",
|
|
3650
|
+
"ring ring-base-300 dark:ring-base-800"
|
|
3620
3651
|
].join(" ")
|
|
3621
3652
|
},
|
|
3622
3653
|
link: ""
|
|
@@ -3642,28 +3673,44 @@ const navigationMenu = {
|
|
|
3642
3673
|
horizontal: {
|
|
3643
3674
|
viewport: "",
|
|
3644
3675
|
viewportWrapper: "justify-center",
|
|
3645
|
-
content: "motion-safe:data-[motion=from-start]:animate-[enter-from-left_200ms_ease] motion-safe:data-[motion=from-end]:animate-[enter-from-right_200ms_ease] motion-safe:data-[motion=to-start]:animate-[exit-to-left_200ms_ease] motion-safe:data-[motion=to-end]:animate-[exit-to-right_200ms_ease]"
|
|
3676
|
+
content: "motion-safe:data-[motion=from-start]:animate-[enter-from-left_200ms_ease] motion-safe:data-[motion=from-end]:animate-[enter-from-right_200ms_ease] motion-safe:data-[motion=to-start]:animate-[exit-to-left_200ms_ease] motion-safe:data-[motion=to-end]:animate-[exit-to-right_200ms_ease]",
|
|
3677
|
+
childLinkLabelExternalIcon: [
|
|
3678
|
+
"h-4"
|
|
3679
|
+
].join(" ")
|
|
3646
3680
|
},
|
|
3647
3681
|
vertical: {
|
|
3648
3682
|
viewport: "sm:w-(--reka-navigation-menu-viewport-width) left-(--reka-navigation-menu-viewport-left)",
|
|
3649
|
-
content: ""
|
|
3683
|
+
content: "",
|
|
3684
|
+
childLinkLabel: [
|
|
3685
|
+
"text-md",
|
|
3686
|
+
"text-base-950 dark:text-base-50"
|
|
3687
|
+
].join(" "),
|
|
3688
|
+
childLinkLabelExternalIcon: [
|
|
3689
|
+
"h-4"
|
|
3690
|
+
].join(" ")
|
|
3650
3691
|
}
|
|
3651
3692
|
},
|
|
3652
3693
|
active: {
|
|
3653
3694
|
true: {
|
|
3654
|
-
childLink:
|
|
3655
|
-
|
|
3695
|
+
childLink: [
|
|
3696
|
+
"bg-base-20 dark:bg-base-900",
|
|
3697
|
+
"text-base-950 dark:text-base-50",
|
|
3698
|
+
"font-semibold"
|
|
3699
|
+
].join(" "),
|
|
3700
|
+
childLinkIcon: "text-base-950 dark:text-base-200"
|
|
3656
3701
|
},
|
|
3657
3702
|
false: {
|
|
3658
3703
|
link: "text-base-900 dark:text-base-200",
|
|
3659
3704
|
linkLeadingIcon: "text-base-500 dark:text-base-700",
|
|
3660
3705
|
childLink: [
|
|
3661
|
-
"hover:bg-
|
|
3706
|
+
"hover:bg-base-20 dark:hover:bg-base-900",
|
|
3707
|
+
"text-base-500 dark:text-base-700",
|
|
3708
|
+
"hover:text-base-950 dark:hover:dark:text-base-200",
|
|
3662
3709
|
"transition-colors"
|
|
3663
3710
|
].join(" "),
|
|
3664
3711
|
childLinkIcon: [
|
|
3665
3712
|
"text-base-500 dark:text-base-700",
|
|
3666
|
-
"group-hover:text-
|
|
3713
|
+
"group-hover:text-base-950 dark:group-hover:text-base-50",
|
|
3667
3714
|
"transition-colors"
|
|
3668
3715
|
].join(" ")
|
|
3669
3716
|
}
|
|
@@ -3714,11 +3761,11 @@ const navigationMenu = {
|
|
|
3714
3761
|
highlight: true,
|
|
3715
3762
|
level: true,
|
|
3716
3763
|
class: {
|
|
3717
|
-
link: ["after:absolute after:-start-1.5 after:inset-y-0.5 after:block after:w-
|
|
3764
|
+
link: ["after:absolute after:-start-1.5 after:inset-y-0.5 after:block after:w-[7px] after:rounded-full", "after:transition-colors"]
|
|
3718
3765
|
}
|
|
3719
3766
|
},
|
|
3720
3767
|
// endregion ////
|
|
3721
|
-
// region
|
|
3768
|
+
// region pill ////
|
|
3722
3769
|
{
|
|
3723
3770
|
disabled: false,
|
|
3724
3771
|
active: false,
|
|
@@ -3728,7 +3775,7 @@ const navigationMenu = {
|
|
|
3728
3775
|
"transition-colors before:transition-colors"
|
|
3729
3776
|
].join(" "),
|
|
3730
3777
|
linkLeadingIcon: [
|
|
3731
|
-
"group-hover:text-
|
|
3778
|
+
"group-hover:text-base-900 dark:group-hover:text-base-200",
|
|
3732
3779
|
"transition-colors"
|
|
3733
3780
|
].join(" ")
|
|
3734
3781
|
}
|
|
@@ -3739,8 +3786,8 @@ const navigationMenu = {
|
|
|
3739
3786
|
variant: "pill",
|
|
3740
3787
|
orientation: "horizontal",
|
|
3741
3788
|
class: {
|
|
3742
|
-
link: "data-[state=open]:text-
|
|
3743
|
-
linkLeadingIcon: "group-data-[state=open]:text-
|
|
3789
|
+
link: "before:rounded-md data-[state=open]:text-base-950 dark:data-[state=open]:text-base-50",
|
|
3790
|
+
linkLeadingIcon: "group-data-[state=open]:text-base-950 dark:group-data-[state=open]:text-base-50"
|
|
3744
3791
|
}
|
|
3745
3792
|
},
|
|
3746
3793
|
{
|
|
@@ -3749,7 +3796,7 @@ const navigationMenu = {
|
|
|
3749
3796
|
highlight: true,
|
|
3750
3797
|
orientation: "horizontal",
|
|
3751
3798
|
class: {
|
|
3752
|
-
link: "data-[state=open]:before:bg-
|
|
3799
|
+
link: "data-[state=open]:before:rounded-md data-[state=open]:before:bg-base-250/80 dark:data-[state=open]:before:bg-white/10"
|
|
3753
3800
|
}
|
|
3754
3801
|
},
|
|
3755
3802
|
{
|
|
@@ -3759,20 +3806,158 @@ const navigationMenu = {
|
|
|
3759
3806
|
active: false,
|
|
3760
3807
|
orientation: "horizontal",
|
|
3761
3808
|
class: {
|
|
3762
|
-
link: "data-[state=open]:before:bg-
|
|
3809
|
+
link: "data-[state=open]:before:bg-base-250/80 dark:data-[state=open]:before:bg-white/10"
|
|
3763
3810
|
}
|
|
3764
3811
|
},
|
|
3765
|
-
// endregion ////
|
|
3766
3812
|
{
|
|
3767
3813
|
color: "default",
|
|
3768
3814
|
variant: "pill",
|
|
3769
3815
|
active: true,
|
|
3770
3816
|
class: {
|
|
3771
|
-
|
|
3772
|
-
linkLeadingIcon: "text-(--ui-text-highlighted) group-data-[state=open]:text-(--ui-text-highlighted)",
|
|
3817
|
+
linkLeadingIcon: "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
|
|
3773
3818
|
linkLabel: [
|
|
3774
|
-
"
|
|
3775
|
-
"
|
|
3819
|
+
"font-semibold",
|
|
3820
|
+
"text-white dark:text-white"
|
|
3821
|
+
].join(" "),
|
|
3822
|
+
linkLabelWrapper: [
|
|
3823
|
+
"px-3",
|
|
3824
|
+
"-ms-3 rtl:-me-3 rtl:ms-0",
|
|
3825
|
+
"leading-[1.563rem]",
|
|
3826
|
+
"bg-base-800 dark:bg-white/35",
|
|
3827
|
+
"rounded-2xl"
|
|
3828
|
+
].join(" ")
|
|
3829
|
+
}
|
|
3830
|
+
},
|
|
3831
|
+
{
|
|
3832
|
+
color: "danger",
|
|
3833
|
+
variant: "pill",
|
|
3834
|
+
active: true,
|
|
3835
|
+
class: {
|
|
3836
|
+
linkLeadingIcon: "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
|
|
3837
|
+
linkLabel: [
|
|
3838
|
+
"font-semibold",
|
|
3839
|
+
"text-white dark:text-white"
|
|
3840
|
+
].join(" "),
|
|
3841
|
+
linkLabelWrapper: [
|
|
3842
|
+
"px-3",
|
|
3843
|
+
"-ms-3 rtl:-me-3 rtl:ms-0",
|
|
3844
|
+
"leading-[1.563rem]",
|
|
3845
|
+
"bg-red-800 dark:bg-red-800",
|
|
3846
|
+
"rounded-2xl"
|
|
3847
|
+
].join(" ")
|
|
3848
|
+
}
|
|
3849
|
+
},
|
|
3850
|
+
{
|
|
3851
|
+
color: "success",
|
|
3852
|
+
variant: "pill",
|
|
3853
|
+
active: true,
|
|
3854
|
+
class: {
|
|
3855
|
+
linkLeadingIcon: "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
|
|
3856
|
+
linkLabel: [
|
|
3857
|
+
"font-semibold",
|
|
3858
|
+
"text-white dark:text-white"
|
|
3859
|
+
].join(" "),
|
|
3860
|
+
linkLabelWrapper: [
|
|
3861
|
+
"px-3",
|
|
3862
|
+
"-ms-3 rtl:-me-3 rtl:ms-0",
|
|
3863
|
+
"leading-[1.563rem]",
|
|
3864
|
+
"bg-green-800 dark:bg-green-800",
|
|
3865
|
+
"rounded-2xl"
|
|
3866
|
+
].join(" ")
|
|
3867
|
+
}
|
|
3868
|
+
},
|
|
3869
|
+
{
|
|
3870
|
+
color: "warning",
|
|
3871
|
+
variant: "pill",
|
|
3872
|
+
active: true,
|
|
3873
|
+
class: {
|
|
3874
|
+
linkLeadingIcon: "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
|
|
3875
|
+
linkLabel: [
|
|
3876
|
+
"font-semibold",
|
|
3877
|
+
"text-white dark:text-white"
|
|
3878
|
+
].join(" "),
|
|
3879
|
+
linkLabelWrapper: [
|
|
3880
|
+
"px-3",
|
|
3881
|
+
"-ms-3 rtl:-me-3 rtl:ms-0",
|
|
3882
|
+
"leading-[1.563rem]",
|
|
3883
|
+
"bg-orange-800 dark:bg-orange-800",
|
|
3884
|
+
"rounded-2xl"
|
|
3885
|
+
].join(" ")
|
|
3886
|
+
}
|
|
3887
|
+
},
|
|
3888
|
+
{
|
|
3889
|
+
color: "primary",
|
|
3890
|
+
variant: "pill",
|
|
3891
|
+
active: true,
|
|
3892
|
+
class: {
|
|
3893
|
+
linkLeadingIcon: "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
|
|
3894
|
+
linkLabel: [
|
|
3895
|
+
"font-semibold",
|
|
3896
|
+
"text-white dark:text-white"
|
|
3897
|
+
].join(" "),
|
|
3898
|
+
linkLabelWrapper: [
|
|
3899
|
+
"px-3",
|
|
3900
|
+
"-ms-3 rtl:-me-3 rtl:ms-0",
|
|
3901
|
+
"leading-[1.563rem]",
|
|
3902
|
+
"bg-blue-800 dark:bg-blue-800",
|
|
3903
|
+
"rounded-2xl"
|
|
3904
|
+
].join(" ")
|
|
3905
|
+
}
|
|
3906
|
+
},
|
|
3907
|
+
{
|
|
3908
|
+
color: "secondary",
|
|
3909
|
+
variant: "pill",
|
|
3910
|
+
active: true,
|
|
3911
|
+
class: {
|
|
3912
|
+
linkLeadingIcon: "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
|
|
3913
|
+
linkLabel: [
|
|
3914
|
+
"font-semibold",
|
|
3915
|
+
"text-white dark:text-white"
|
|
3916
|
+
].join(" "),
|
|
3917
|
+
linkLabelWrapper: [
|
|
3918
|
+
"px-3",
|
|
3919
|
+
"-ms-3 rtl:-me-3 rtl:ms-0",
|
|
3920
|
+
"leading-[1.563rem]",
|
|
3921
|
+
"bg-cyan-800 dark:bg-cyan-800",
|
|
3922
|
+
"rounded-2xl"
|
|
3923
|
+
].join(" ")
|
|
3924
|
+
}
|
|
3925
|
+
},
|
|
3926
|
+
{
|
|
3927
|
+
color: "collab",
|
|
3928
|
+
variant: "pill",
|
|
3929
|
+
active: true,
|
|
3930
|
+
class: {
|
|
3931
|
+
linkLeadingIcon: "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
|
|
3932
|
+
linkLabel: [
|
|
3933
|
+
"font-semibold",
|
|
3934
|
+
"text-white dark:text-white"
|
|
3935
|
+
].join(" "),
|
|
3936
|
+
linkLabelWrapper: [
|
|
3937
|
+
"px-3",
|
|
3938
|
+
"-ms-3 rtl:-me-3 rtl:ms-0",
|
|
3939
|
+
"leading-[1.563rem]",
|
|
3940
|
+
"bg-collab-800 dark:bg-collab-800",
|
|
3941
|
+
"rounded-2xl"
|
|
3942
|
+
].join(" ")
|
|
3943
|
+
}
|
|
3944
|
+
},
|
|
3945
|
+
{
|
|
3946
|
+
color: "ai",
|
|
3947
|
+
variant: "pill",
|
|
3948
|
+
active: true,
|
|
3949
|
+
class: {
|
|
3950
|
+
linkLeadingIcon: "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
|
|
3951
|
+
linkLabel: [
|
|
3952
|
+
"font-semibold",
|
|
3953
|
+
"text-white dark:text-white"
|
|
3954
|
+
].join(" "),
|
|
3955
|
+
linkLabelWrapper: [
|
|
3956
|
+
"px-3",
|
|
3957
|
+
"-ms-3 rtl:-me-3 rtl:ms-0",
|
|
3958
|
+
"leading-[1.563rem]",
|
|
3959
|
+
"bg-ai-800 dark:bg-ai-800",
|
|
3960
|
+
"rounded-2xl"
|
|
3776
3961
|
].join(" ")
|
|
3777
3962
|
}
|
|
3778
3963
|
},
|
|
@@ -3785,12 +3970,14 @@ const navigationMenu = {
|
|
|
3785
3970
|
"leading-9"
|
|
3786
3971
|
].join(" "),
|
|
3787
3972
|
linkLabel: [
|
|
3973
|
+
"font-semibold",
|
|
3974
|
+
"text-white dark:text-white"
|
|
3975
|
+
].join(" "),
|
|
3976
|
+
linkLabelWrapper: [
|
|
3788
3977
|
"px-3",
|
|
3789
|
-
"-ms-3
|
|
3790
|
-
"
|
|
3791
|
-
"text-white dark:text-white",
|
|
3978
|
+
"-ms-3 rtl:-me-3 rtl:ms-0",
|
|
3979
|
+
"leading-[1.563rem]",
|
|
3792
3980
|
"bg-base-800 dark:bg-white/35",
|
|
3793
|
-
// (--ui-bg-elevated)
|
|
3794
3981
|
"rounded-2xl"
|
|
3795
3982
|
].join(" ")
|
|
3796
3983
|
}
|
|
@@ -3801,12 +3988,30 @@ const navigationMenu = {
|
|
|
3801
3988
|
highlight: true,
|
|
3802
3989
|
class: {
|
|
3803
3990
|
link: [
|
|
3804
|
-
"hover:before:bg-
|
|
3991
|
+
"hover:before:bg-base-250/80 dark:hover:before:bg-white/10",
|
|
3805
3992
|
"before:transition-colors"
|
|
3806
3993
|
]
|
|
3807
3994
|
}
|
|
3808
3995
|
},
|
|
3996
|
+
// endregion ////
|
|
3809
3997
|
// region link ////
|
|
3998
|
+
{
|
|
3999
|
+
orientation: "horizontal",
|
|
4000
|
+
variant: "link",
|
|
4001
|
+
class: {
|
|
4002
|
+
viewportWrapper: [
|
|
4003
|
+
"top-[calc(100%+0.4rem)]"
|
|
4004
|
+
].join(" "),
|
|
4005
|
+
viewport: [
|
|
4006
|
+
"rounded-b-md rounded-tr-md",
|
|
4007
|
+
"clip-path-viewport-wrapper"
|
|
4008
|
+
].join(" "),
|
|
4009
|
+
link: [
|
|
4010
|
+
"before:-inset-x-px before:-inset-y-[6px] before:h-[70px]",
|
|
4011
|
+
"before:rounded-t-md"
|
|
4012
|
+
].join(" ")
|
|
4013
|
+
}
|
|
4014
|
+
},
|
|
3810
4015
|
{
|
|
3811
4016
|
disabled: false,
|
|
3812
4017
|
active: false,
|
|
@@ -3817,19 +4022,32 @@ const navigationMenu = {
|
|
|
3817
4022
|
"transition-colors"
|
|
3818
4023
|
].join(" "),
|
|
3819
4024
|
linkLeadingIcon: [
|
|
3820
|
-
"group-hover:text-
|
|
4025
|
+
"group-hover:text-base-950 dark:group-hover:text-base-50",
|
|
3821
4026
|
"transition-colors"
|
|
3822
4027
|
].join(" ")
|
|
3823
4028
|
}
|
|
3824
4029
|
},
|
|
4030
|
+
{
|
|
4031
|
+
disabled: false,
|
|
4032
|
+
variant: "link",
|
|
4033
|
+
orientation: "horizontal",
|
|
4034
|
+
class: {
|
|
4035
|
+
link: [
|
|
4036
|
+
"data-[state=open]:before:shadow-[0_6px_21px_rgba(83,92,105,.15)]",
|
|
4037
|
+
"data-[state=open]:before:bg-white dark:data-[state=open]:before:bg-base-dark"
|
|
4038
|
+
].join(" ")
|
|
4039
|
+
}
|
|
4040
|
+
},
|
|
3825
4041
|
{
|
|
3826
4042
|
disabled: false,
|
|
3827
4043
|
active: false,
|
|
3828
4044
|
variant: "link",
|
|
3829
4045
|
orientation: "horizontal",
|
|
3830
4046
|
class: {
|
|
3831
|
-
link:
|
|
3832
|
-
|
|
4047
|
+
link: [
|
|
4048
|
+
"data-[state=open]:text-base-950 dark:data-[state=open]:text-base-50"
|
|
4049
|
+
].join(" "),
|
|
4050
|
+
linkLeadingIcon: "group-data-[state=open]:text-base-950 dark:group-data-[state=open]:text-base-50"
|
|
3833
4051
|
}
|
|
3834
4052
|
},
|
|
3835
4053
|
{
|
|
@@ -3837,26 +4055,247 @@ const navigationMenu = {
|
|
|
3837
4055
|
variant: "link",
|
|
3838
4056
|
active: true,
|
|
3839
4057
|
class: {
|
|
3840
|
-
link: "text-
|
|
3841
|
-
linkLeadingIcon: "text-
|
|
4058
|
+
link: "font-semibold text-base-950 dark:text-base-50",
|
|
4059
|
+
linkLeadingIcon: "text-base-950 group-data-[state=open]:text-base-950 dark:text-base-50 dark:group-data-[state=open]:text-base-50"
|
|
4060
|
+
}
|
|
4061
|
+
},
|
|
4062
|
+
{
|
|
4063
|
+
color: "danger",
|
|
4064
|
+
variant: "link",
|
|
4065
|
+
active: true,
|
|
4066
|
+
class: {
|
|
4067
|
+
link: "font-semibold text-red-800 dark:text-red-600",
|
|
4068
|
+
linkLeadingIcon: "text-red-800 group-data-[state=open]:text-red-600 dark:text-red-600 dark:group-data-[state=open]:text-red-600"
|
|
4069
|
+
}
|
|
4070
|
+
},
|
|
4071
|
+
{
|
|
4072
|
+
color: "success",
|
|
4073
|
+
variant: "link",
|
|
4074
|
+
active: true,
|
|
4075
|
+
class: {
|
|
4076
|
+
link: "font-semibold text-green-800 dark:text-green-600",
|
|
4077
|
+
linkLeadingIcon: "text-green-800 group-data-[state=open]:text-green-600 dark:text-green-600 dark:group-data-[state=open]:text-green-600"
|
|
4078
|
+
}
|
|
4079
|
+
},
|
|
4080
|
+
{
|
|
4081
|
+
color: "warning",
|
|
4082
|
+
variant: "link",
|
|
4083
|
+
active: true,
|
|
4084
|
+
class: {
|
|
4085
|
+
link: "font-semibold text-orange-800 dark:text-orange-600",
|
|
4086
|
+
linkLeadingIcon: "text-orange-800 group-data-[state=open]:text-orange-600 dark:text-orange-600 dark:group-data-[state=open]:text-orange-600"
|
|
4087
|
+
}
|
|
4088
|
+
},
|
|
4089
|
+
{
|
|
4090
|
+
color: "primary",
|
|
4091
|
+
variant: "link",
|
|
4092
|
+
active: true,
|
|
4093
|
+
class: {
|
|
4094
|
+
link: "font-semibold text-blue-850 dark:text-blue-600",
|
|
4095
|
+
linkLeadingIcon: "text-blue-850 group-data-[state=open]:text-blue-600 dark:text-blue-600 dark:group-data-[state=open]:text-blue-600"
|
|
4096
|
+
}
|
|
4097
|
+
},
|
|
4098
|
+
{
|
|
4099
|
+
color: "secondary",
|
|
4100
|
+
variant: "link",
|
|
4101
|
+
active: true,
|
|
4102
|
+
class: {
|
|
4103
|
+
link: "font-semibold text-cyan-800 dark:text-cyan-600",
|
|
4104
|
+
linkLeadingIcon: "text-cyan-800 group-data-[state=open]:text-cyan-600 dark:text-cyan-600 dark:group-data-[state=open]:text-cyan-600"
|
|
4105
|
+
}
|
|
4106
|
+
},
|
|
4107
|
+
{
|
|
4108
|
+
color: "collab",
|
|
4109
|
+
variant: "link",
|
|
4110
|
+
active: true,
|
|
4111
|
+
class: {
|
|
4112
|
+
link: "font-semibold text-collab-800 dark:text-collab-600",
|
|
4113
|
+
linkLeadingIcon: "text-collab-800 group-data-[state=open]:text-collab-600 dark:text-collab-600 dark:group-data-[state=open]:text-collab-600"
|
|
4114
|
+
}
|
|
4115
|
+
},
|
|
4116
|
+
{
|
|
4117
|
+
color: "ai",
|
|
4118
|
+
variant: "link",
|
|
4119
|
+
active: true,
|
|
4120
|
+
class: {
|
|
4121
|
+
link: "font-semibold text-ai-800 dark:text-ai-600",
|
|
4122
|
+
linkLeadingIcon: "text-ai-800 group-data-[state=open]:text-ai-600 dark:text-ai-600 dark:group-data-[state=open]:text-ai-600"
|
|
3842
4123
|
}
|
|
3843
4124
|
},
|
|
3844
4125
|
// endregion ////
|
|
4126
|
+
// region highlight.Color ////
|
|
3845
4127
|
{
|
|
4128
|
+
orientation: "vertical",
|
|
3846
4129
|
highlightColor: "default",
|
|
3847
4130
|
highlight: true,
|
|
3848
4131
|
level: true,
|
|
3849
4132
|
active: true,
|
|
3850
4133
|
class: {
|
|
3851
|
-
link: "after:bg-
|
|
4134
|
+
link: "after:bg-base-500"
|
|
4135
|
+
}
|
|
4136
|
+
},
|
|
4137
|
+
{
|
|
4138
|
+
orientation: "horizontal",
|
|
4139
|
+
variant: "link",
|
|
4140
|
+
highlightColor: "default",
|
|
4141
|
+
highlight: true,
|
|
4142
|
+
level: true,
|
|
4143
|
+
active: true,
|
|
4144
|
+
class: {
|
|
4145
|
+
link: "after:bg-base-500"
|
|
4146
|
+
}
|
|
4147
|
+
},
|
|
4148
|
+
{
|
|
4149
|
+
orientation: "vertical",
|
|
4150
|
+
highlightColor: "danger",
|
|
4151
|
+
highlight: true,
|
|
4152
|
+
level: true,
|
|
4153
|
+
active: true,
|
|
4154
|
+
class: {
|
|
4155
|
+
link: "after:bg-red-500 dark:after:bg-red-600"
|
|
4156
|
+
}
|
|
4157
|
+
},
|
|
4158
|
+
{
|
|
4159
|
+
orientation: "horizontal",
|
|
4160
|
+
variant: "link",
|
|
4161
|
+
highlightColor: "danger",
|
|
4162
|
+
highlight: true,
|
|
4163
|
+
level: true,
|
|
4164
|
+
active: true,
|
|
4165
|
+
class: {
|
|
4166
|
+
link: "after:bg-red-500 dark:after:bg-red-600"
|
|
3852
4167
|
}
|
|
3853
4168
|
},
|
|
4169
|
+
{
|
|
4170
|
+
orientation: "vertical",
|
|
4171
|
+
highlightColor: "success",
|
|
4172
|
+
highlight: true,
|
|
4173
|
+
level: true,
|
|
4174
|
+
active: true,
|
|
4175
|
+
class: { link: "after:bg-green-500 dark:after:bg-green-600" }
|
|
4176
|
+
},
|
|
4177
|
+
{
|
|
4178
|
+
orientation: "horizontal",
|
|
4179
|
+
variant: "link",
|
|
4180
|
+
highlightColor: "success",
|
|
4181
|
+
highlight: true,
|
|
4182
|
+
level: true,
|
|
4183
|
+
active: true,
|
|
4184
|
+
class: { link: "after:bg-green-500 dark:after:bg-green-600" }
|
|
4185
|
+
},
|
|
4186
|
+
{
|
|
4187
|
+
orientation: "vertical",
|
|
4188
|
+
highlightColor: "warning",
|
|
4189
|
+
highlight: true,
|
|
4190
|
+
level: true,
|
|
4191
|
+
active: true,
|
|
4192
|
+
class: {
|
|
4193
|
+
link: "after:bg-orange-500 dark:after:bg-orange-600"
|
|
4194
|
+
}
|
|
4195
|
+
},
|
|
4196
|
+
{
|
|
4197
|
+
orientation: "horizontal",
|
|
4198
|
+
variant: "link",
|
|
4199
|
+
highlightColor: "warning",
|
|
4200
|
+
highlight: true,
|
|
4201
|
+
level: true,
|
|
4202
|
+
active: true,
|
|
4203
|
+
class: {
|
|
4204
|
+
link: "after:bg-orange-500 dark:after:bg-orange-600"
|
|
4205
|
+
}
|
|
4206
|
+
},
|
|
4207
|
+
{
|
|
4208
|
+
orientation: "vertical",
|
|
4209
|
+
highlightColor: "primary",
|
|
4210
|
+
highlight: true,
|
|
4211
|
+
level: true,
|
|
4212
|
+
active: true,
|
|
4213
|
+
class: {
|
|
4214
|
+
link: "after:bg-blue-500 dark:after:bg-blue-600"
|
|
4215
|
+
}
|
|
4216
|
+
},
|
|
4217
|
+
{
|
|
4218
|
+
orientation: "horizontal",
|
|
4219
|
+
variant: "link",
|
|
4220
|
+
highlightColor: "primary",
|
|
4221
|
+
highlight: true,
|
|
4222
|
+
level: true,
|
|
4223
|
+
active: true,
|
|
4224
|
+
class: {
|
|
4225
|
+
link: "after:bg-blue-850 dark:after:bg-blue-600"
|
|
4226
|
+
}
|
|
4227
|
+
},
|
|
4228
|
+
{
|
|
4229
|
+
orientation: "vertical",
|
|
4230
|
+
highlightColor: "secondary",
|
|
4231
|
+
highlight: true,
|
|
4232
|
+
level: true,
|
|
4233
|
+
active: true,
|
|
4234
|
+
class: {
|
|
4235
|
+
link: "after:bg-cyan-500 dark:after:bg-cyan-600"
|
|
4236
|
+
}
|
|
4237
|
+
},
|
|
4238
|
+
{
|
|
4239
|
+
orientation: "horizontal",
|
|
4240
|
+
variant: "link",
|
|
4241
|
+
highlightColor: "secondary",
|
|
4242
|
+
highlight: true,
|
|
4243
|
+
level: true,
|
|
4244
|
+
active: true,
|
|
4245
|
+
class: {
|
|
4246
|
+
link: "after:bg-cyan-500 dark:after:bg-cyan-600"
|
|
4247
|
+
}
|
|
4248
|
+
},
|
|
4249
|
+
{
|
|
4250
|
+
orientation: "vertical",
|
|
4251
|
+
highlightColor: "collab",
|
|
4252
|
+
highlight: true,
|
|
4253
|
+
level: true,
|
|
4254
|
+
active: true,
|
|
4255
|
+
class: {
|
|
4256
|
+
link: "after:bg-collab-500 dark:after:bg-collab-600"
|
|
4257
|
+
}
|
|
4258
|
+
},
|
|
4259
|
+
{
|
|
4260
|
+
orientation: "horizontal",
|
|
4261
|
+
variant: "link",
|
|
4262
|
+
highlightColor: "collab",
|
|
4263
|
+
highlight: true,
|
|
4264
|
+
level: true,
|
|
4265
|
+
active: true,
|
|
4266
|
+
class: {
|
|
4267
|
+
link: "after:bg-collab-500 dark:after:bg-collab-600"
|
|
4268
|
+
}
|
|
4269
|
+
},
|
|
4270
|
+
{
|
|
4271
|
+
orientation: "vertical",
|
|
4272
|
+
highlightColor: "ai",
|
|
4273
|
+
highlight: true,
|
|
4274
|
+
level: true,
|
|
4275
|
+
active: true,
|
|
4276
|
+
class: {
|
|
4277
|
+
link: "after:bg-ai-500 dark:after:bg-ai-600"
|
|
4278
|
+
}
|
|
4279
|
+
},
|
|
4280
|
+
{
|
|
4281
|
+
orientation: "horizontal",
|
|
4282
|
+
variant: "link",
|
|
4283
|
+
highlightColor: "ai",
|
|
4284
|
+
highlight: true,
|
|
4285
|
+
level: true,
|
|
4286
|
+
active: true,
|
|
4287
|
+
class: {
|
|
4288
|
+
link: "after:bg-ai-500 dark:after:bg-ai-600"
|
|
4289
|
+
}
|
|
4290
|
+
},
|
|
4291
|
+
// endregion ////
|
|
4292
|
+
// region collapsed ////
|
|
3854
4293
|
{
|
|
3855
4294
|
orientation: "vertical",
|
|
3856
4295
|
collapsed: false,
|
|
3857
4296
|
class: {
|
|
3858
|
-
childList: "
|
|
3859
|
-
childItem: "
|
|
4297
|
+
childList: "",
|
|
4298
|
+
childItem: "[&>*]:ps-[44px] rtl:[&>*]:pe-[44px]"
|
|
3860
4299
|
}
|
|
3861
4300
|
},
|
|
3862
4301
|
{
|
|
@@ -3866,11 +4305,13 @@ const navigationMenu = {
|
|
|
3866
4305
|
link: "px-1.5"
|
|
3867
4306
|
}
|
|
3868
4307
|
}
|
|
4308
|
+
// endregion ////
|
|
3869
4309
|
],
|
|
3870
4310
|
defaultVariants: {
|
|
3871
4311
|
color: "default",
|
|
3872
4312
|
highlightColor: "default",
|
|
3873
|
-
|
|
4313
|
+
contentOrientation: "vertical",
|
|
4314
|
+
variant: "link"
|
|
3874
4315
|
}
|
|
3875
4316
|
};
|
|
3876
4317
|
|
|
@@ -6602,7 +7043,7 @@ function getTemplates(options) {
|
|
|
6602
7043
|
write: true,
|
|
6603
7044
|
getContents: () => `@source "./b24ui";
|
|
6604
7045
|
|
|
6605
|
-
@theme default
|
|
7046
|
+
@theme default {}
|
|
6606
7047
|
`
|
|
6607
7048
|
});
|
|
6608
7049
|
templates.push({
|