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