@bitrix24/b24ui-nuxt 0.5.1 → 0.5.3

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.
@@ -3567,12 +3567,11 @@ const navigationMenu = {
3567
3567
  "relative overflow-hidden",
3568
3568
  "w-full",
3569
3569
  "bg-white dark:bg-base-dark",
3570
- "shadow-lg",
3571
- "rounded-2xs",
3572
- "ring ring-base-300 dark:ring-base-800",
3570
+ "shadow-[0_15px_21px_rgba(83,92,105,.15)]",
3573
3571
  "h-(--reka-navigation-menu-viewport-height)",
3574
- "transition-[width,height,left] duration-200 origin-[top_center]",
3575
- "motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in]"
3572
+ "transition-[width,height] duration-200 origin-[top_center]"
3573
+ // left
3574
+ // 'motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in]'
3576
3575
  ].join(" "),
3577
3576
  content: "absolute top-0 left-0 w-full",
3578
3577
  indicator: [
@@ -3644,6 +3643,10 @@ const navigationMenu = {
3644
3643
  pill: {
3645
3644
  link: [
3646
3645
  "hover:before:bg-base-250/80 dark:hover:before:bg-white/10"
3646
+ ].join(" "),
3647
+ viewport: [
3648
+ "rounded-md",
3649
+ "ring ring-base-300 dark:ring-base-800"
3647
3650
  ].join(" ")
3648
3651
  },
3649
3652
  link: ""
@@ -3651,8 +3654,8 @@ const navigationMenu = {
3651
3654
  orientation: {
3652
3655
  horizontal: {
3653
3656
  root: "items-center justify-between",
3654
- list: "flex items-center",
3655
- item: "py-2",
3657
+ list: "flex items-center gap-x-1",
3658
+ item: "py-2 empty:hidden",
3656
3659
  link: "px-2.5 py-1.5 before:inset-x-px before:inset-y-0",
3657
3660
  childList: "grid p-2"
3658
3661
  },
@@ -3669,29 +3672,42 @@ const navigationMenu = {
3669
3672
  horizontal: {
3670
3673
  viewport: "",
3671
3674
  viewportWrapper: "justify-center",
3672
- 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
+ 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
+ childLinkLabelExternalIcon: [
3677
+ "h-4"
3678
+ ].join(" ")
3673
3679
  },
3674
3680
  vertical: {
3675
- viewport: "sm:w-(--reka-navigation-menu-viewport-width) left-(--reka-navigation-menu-viewport-left)",
3676
- content: ""
3681
+ viewport: [
3682
+ "w-(--reka-navigation-menu-viewport-width) left-(--reka-navigation-menu-viewport-left)",
3683
+ "[&:has(>[data-viewport=rtl])]:left-auto [&:has(>[data-viewport=rtl])]:-right-[calc(100%-var(--reka-navigation-menu-viewport-width))]"
3684
+ ].join(" "),
3685
+ content: "",
3686
+ childLinkLabel: [
3687
+ "text-md",
3688
+ "text-base-950 dark:text-base-50"
3689
+ ].join(" "),
3690
+ childLinkLabelExternalIcon: [
3691
+ "h-4"
3692
+ ].join(" ")
3677
3693
  }
3678
3694
  },
3679
3695
  active: {
3680
3696
  true: {
3681
3697
  childLink: [
3682
- "bg-base-250/80 dark:bg-white/10",
3698
+ "bg-base-20 dark:bg-base-900",
3683
3699
  "text-base-950 dark:text-base-50",
3684
3700
  "font-semibold"
3685
3701
  ].join(" "),
3686
- childLinkIcon: "text-base-950 dark:text-base-50"
3702
+ childLinkIcon: "text-base-950 dark:text-base-200"
3687
3703
  },
3688
3704
  false: {
3689
3705
  link: "text-base-900 dark:text-base-200",
3690
3706
  linkLeadingIcon: "text-base-500 dark:text-base-700",
3691
3707
  childLink: [
3692
- "hover:bg-base-250/80 dark:hover:bg-white/10",
3708
+ "hover:bg-base-20 dark:hover:bg-base-900",
3693
3709
  "text-base-500 dark:text-base-700",
3694
- "hover:text-base-950 dark:hover:dark:text-base-50",
3710
+ "hover:text-base-950 dark:hover:dark:text-base-200",
3695
3711
  "transition-colors"
3696
3712
  ].join(" "),
3697
3713
  childLinkIcon: [
@@ -3752,6 +3768,16 @@ const navigationMenu = {
3752
3768
  },
3753
3769
  // endregion ////
3754
3770
  // region pill ////
3771
+ {
3772
+ disabled: true,
3773
+ orientation: "horizontal",
3774
+ variant: "pill",
3775
+ class: {
3776
+ link: [
3777
+ "hover:before:rounded-md"
3778
+ ].join(" ")
3779
+ }
3780
+ },
3755
3781
  {
3756
3782
  disabled: false,
3757
3783
  active: false,
@@ -3814,6 +3840,26 @@ const navigationMenu = {
3814
3840
  ].join(" ")
3815
3841
  }
3816
3842
  },
3843
+ {
3844
+ color: "default",
3845
+ orientation: "horizontal",
3846
+ variant: "pill",
3847
+ active: true,
3848
+ class: {
3849
+ link: [
3850
+ "min-h-9",
3851
+ "before:rounded-md",
3852
+ "before:bg-base-800 dark:before:bg-white/35",
3853
+ "hover:before:bg-base-800 hover:dark:before:bg-white/35",
3854
+ "data-[state=open]:before:bg-base-800 dark:data-[state=open]:before:bg-white/35"
3855
+ ].join(" "),
3856
+ linkLabelWrapper: [
3857
+ "min-h-9",
3858
+ "bg-inherit dark:bg-inherit",
3859
+ "rounded-none"
3860
+ ].join(" ")
3861
+ }
3862
+ },
3817
3863
  {
3818
3864
  color: "danger",
3819
3865
  variant: "pill",
@@ -3833,6 +3879,26 @@ const navigationMenu = {
3833
3879
  ].join(" ")
3834
3880
  }
3835
3881
  },
3882
+ {
3883
+ color: "danger",
3884
+ orientation: "horizontal",
3885
+ variant: "pill",
3886
+ active: true,
3887
+ class: {
3888
+ link: [
3889
+ "min-h-9",
3890
+ "before:rounded-md",
3891
+ "before:bg-red-800 dark:before:bg-red-800",
3892
+ "hover:before:bg-red-800 hover:dark:before:bg-red-800",
3893
+ "data-[state=open]:before:bg-red-800 dark:data-[state=open]:before:bg-red-800"
3894
+ ].join(" "),
3895
+ linkLabelWrapper: [
3896
+ "min-h-9",
3897
+ "bg-inherit dark:bg-inherit",
3898
+ "rounded-none"
3899
+ ].join(" ")
3900
+ }
3901
+ },
3836
3902
  {
3837
3903
  color: "success",
3838
3904
  variant: "pill",
@@ -3852,6 +3918,26 @@ const navigationMenu = {
3852
3918
  ].join(" ")
3853
3919
  }
3854
3920
  },
3921
+ {
3922
+ color: "success",
3923
+ orientation: "horizontal",
3924
+ variant: "pill",
3925
+ active: true,
3926
+ class: {
3927
+ link: [
3928
+ "min-h-9",
3929
+ "before:rounded-md",
3930
+ "before:bg-green-800 dark:before:bg-green-800",
3931
+ "hover:before:bg-green-800 hover:dark:before:bg-green-800",
3932
+ "data-[state=open]:before:bg-green-800 dark:data-[state=open]:before:bg-green-800"
3933
+ ].join(" "),
3934
+ linkLabelWrapper: [
3935
+ "min-h-9",
3936
+ "bg-inherit dark:bg-inherit",
3937
+ "rounded-none"
3938
+ ].join(" ")
3939
+ }
3940
+ },
3855
3941
  {
3856
3942
  color: "warning",
3857
3943
  variant: "pill",
@@ -3871,6 +3957,26 @@ const navigationMenu = {
3871
3957
  ].join(" ")
3872
3958
  }
3873
3959
  },
3960
+ {
3961
+ color: "warning",
3962
+ orientation: "horizontal",
3963
+ variant: "pill",
3964
+ active: true,
3965
+ class: {
3966
+ link: [
3967
+ "min-h-9",
3968
+ "before:rounded-md",
3969
+ "before:bg-orange-800 dark:before:bg-orange-800",
3970
+ "hover:before:bg-orange-800 hover:dark:before:bg-orange-800",
3971
+ "data-[state=open]:before:bg-orange-800 dark:data-[state=open]:before:bg-orange-800"
3972
+ ].join(" "),
3973
+ linkLabelWrapper: [
3974
+ "min-h-9",
3975
+ "bg-inherit dark:bg-inherit",
3976
+ "rounded-none"
3977
+ ].join(" ")
3978
+ }
3979
+ },
3874
3980
  {
3875
3981
  color: "primary",
3876
3982
  variant: "pill",
@@ -3890,6 +3996,26 @@ const navigationMenu = {
3890
3996
  ].join(" ")
3891
3997
  }
3892
3998
  },
3999
+ {
4000
+ color: "primary",
4001
+ orientation: "horizontal",
4002
+ variant: "pill",
4003
+ active: true,
4004
+ class: {
4005
+ link: [
4006
+ "min-h-9",
4007
+ "before:rounded-md",
4008
+ "before:bg-blue-800 dark:before:bg-blue-800",
4009
+ "hover:before:bg-blue-800 hover:dark:before:bg-blue-800",
4010
+ "data-[state=open]:before:bg-blue-800 dark:data-[state=open]:before:bg-blue-800"
4011
+ ].join(" "),
4012
+ linkLabelWrapper: [
4013
+ "min-h-9",
4014
+ "bg-inherit dark:bg-inherit",
4015
+ "rounded-none"
4016
+ ].join(" ")
4017
+ }
4018
+ },
3893
4019
  {
3894
4020
  color: "secondary",
3895
4021
  variant: "pill",
@@ -3909,6 +4035,26 @@ const navigationMenu = {
3909
4035
  ].join(" ")
3910
4036
  }
3911
4037
  },
4038
+ {
4039
+ color: "secondary",
4040
+ orientation: "horizontal",
4041
+ variant: "pill",
4042
+ active: true,
4043
+ class: {
4044
+ link: [
4045
+ "min-h-9",
4046
+ "before:rounded-md",
4047
+ "before:bg-cyan-800 dark:before:bg-cyan-800",
4048
+ "hover:before:bg-cyan-800 hover:dark:before:bg-cyan-800",
4049
+ "data-[state=open]:before:bg-cyan-800 dark:data-[state=open]:before:bg-cyan-800"
4050
+ ].join(" "),
4051
+ linkLabelWrapper: [
4052
+ "min-h-9",
4053
+ "bg-inherit dark:bg-inherit",
4054
+ "rounded-none"
4055
+ ].join(" ")
4056
+ }
4057
+ },
3912
4058
  {
3913
4059
  color: "collab",
3914
4060
  variant: "pill",
@@ -3928,6 +4074,26 @@ const navigationMenu = {
3928
4074
  ].join(" ")
3929
4075
  }
3930
4076
  },
4077
+ {
4078
+ color: "collab",
4079
+ orientation: "horizontal",
4080
+ variant: "pill",
4081
+ active: true,
4082
+ class: {
4083
+ link: [
4084
+ "min-h-9",
4085
+ "before:rounded-md",
4086
+ "before:bg-collab-800 dark:before:bg-collab-800",
4087
+ "hover:before:bg-collab-800 hover:dark:before:bg-collab-800",
4088
+ "data-[state=open]:before:bg-collab-800 dark:data-[state=open]:before:bg-collab-800"
4089
+ ].join(" "),
4090
+ linkLabelWrapper: [
4091
+ "min-h-9",
4092
+ "bg-inherit dark:bg-inherit",
4093
+ "rounded-none"
4094
+ ].join(" ")
4095
+ }
4096
+ },
3931
4097
  {
3932
4098
  color: "ai",
3933
4099
  variant: "pill",
@@ -3947,6 +4113,26 @@ const navigationMenu = {
3947
4113
  ].join(" ")
3948
4114
  }
3949
4115
  },
4116
+ {
4117
+ color: "ai",
4118
+ orientation: "horizontal",
4119
+ variant: "pill",
4120
+ active: true,
4121
+ class: {
4122
+ link: [
4123
+ "min-h-9",
4124
+ "before:rounded-md",
4125
+ "before:bg-ai-800 dark:before:bg-ai-800",
4126
+ "hover:before:bg-ai-800 hover:dark:before:bg-ai-800",
4127
+ "data-[state=open]:before:bg-ai-800 dark:data-[state=open]:before:bg-ai-800"
4128
+ ].join(" "),
4129
+ linkLabelWrapper: [
4130
+ "min-h-9",
4131
+ "bg-inherit dark:bg-inherit",
4132
+ "rounded-none"
4133
+ ].join(" ")
4134
+ }
4135
+ },
3950
4136
  {
3951
4137
  variant: "pill",
3952
4138
  active: true,
@@ -3968,6 +4154,17 @@ const navigationMenu = {
3968
4154
  ].join(" ")
3969
4155
  }
3970
4156
  },
4157
+ {
4158
+ variant: "pill",
4159
+ orientation: "horizontal",
4160
+ active: true,
4161
+ highlight: false,
4162
+ class: {
4163
+ linkLabelWrapper: [
4164
+ "bg-inherit dark:bg-inherit"
4165
+ ].join(" ")
4166
+ }
4167
+ },
3971
4168
  {
3972
4169
  variant: "pill",
3973
4170
  active: true,
@@ -3976,11 +4173,133 @@ const navigationMenu = {
3976
4173
  link: [
3977
4174
  "hover:before:bg-base-250/80 dark:hover:before:bg-white/10",
3978
4175
  "before:transition-colors"
3979
- ]
4176
+ ].join(" ")
4177
+ }
4178
+ },
4179
+ {
4180
+ color: "default",
4181
+ orientation: "horizontal",
4182
+ variant: "pill",
4183
+ active: true,
4184
+ highlight: true,
4185
+ class: {
4186
+ link: [
4187
+ "hover:before:bg-base-800 hover:dark:before:bg-white/35",
4188
+ "before:transition-colors"
4189
+ ].join(" ")
4190
+ }
4191
+ },
4192
+ {
4193
+ color: "danger",
4194
+ orientation: "horizontal",
4195
+ variant: "pill",
4196
+ active: true,
4197
+ highlight: true,
4198
+ class: {
4199
+ link: [
4200
+ "hover:before:bg-red-800 hover:dark:before:bg-red-800",
4201
+ "before:transition-colors"
4202
+ ].join(" ")
4203
+ }
4204
+ },
4205
+ {
4206
+ color: "success",
4207
+ orientation: "horizontal",
4208
+ variant: "pill",
4209
+ active: true,
4210
+ highlight: true,
4211
+ class: {
4212
+ link: [
4213
+ "hover:before:bg-green-800 hover:dark:before:bg-green-800",
4214
+ "before:transition-colors"
4215
+ ].join(" ")
4216
+ }
4217
+ },
4218
+ {
4219
+ color: "warning",
4220
+ orientation: "horizontal",
4221
+ variant: "pill",
4222
+ active: true,
4223
+ highlight: true,
4224
+ class: {
4225
+ link: [
4226
+ "hover:before:bg-orange-800 hover:dark:before:bg-orange-800",
4227
+ "before:transition-colors"
4228
+ ].join(" ")
4229
+ }
4230
+ },
4231
+ {
4232
+ color: "primary",
4233
+ orientation: "horizontal",
4234
+ variant: "pill",
4235
+ active: true,
4236
+ highlight: true,
4237
+ class: {
4238
+ link: [
4239
+ "hover:before:bg-blue-800 hover:dark:before:bg-blue-800",
4240
+ "before:transition-colors"
4241
+ ].join(" ")
4242
+ }
4243
+ },
4244
+ {
4245
+ color: "secondary",
4246
+ orientation: "horizontal",
4247
+ variant: "pill",
4248
+ active: true,
4249
+ highlight: true,
4250
+ class: {
4251
+ link: [
4252
+ "hover:before:bg-cyan-800 hover:dark:before:bg-cyan-800",
4253
+ "before:transition-colors"
4254
+ ].join(" ")
4255
+ }
4256
+ },
4257
+ {
4258
+ color: "collab",
4259
+ orientation: "horizontal",
4260
+ variant: "pill",
4261
+ active: true,
4262
+ highlight: true,
4263
+ class: {
4264
+ link: [
4265
+ "hover:before:bg-collab-800 hover:dark:before:bg-collab-800",
4266
+ "before:transition-colors"
4267
+ ].join(" ")
4268
+ }
4269
+ },
4270
+ {
4271
+ color: "ai",
4272
+ orientation: "horizontal",
4273
+ variant: "pill",
4274
+ active: true,
4275
+ highlight: true,
4276
+ class: {
4277
+ link: [
4278
+ "hover:before:bg-ai-800 hover:dark:before:bg-ai-800",
4279
+ "before:transition-colors"
4280
+ ].join(" ")
3980
4281
  }
3981
4282
  },
3982
4283
  // endregion ////
3983
4284
  // region link ////
4285
+ {
4286
+ orientation: "horizontal",
4287
+ variant: "link",
4288
+ class: {
4289
+ viewportWrapper: [
4290
+ "top-[calc(100%+0.4rem)]"
4291
+ ].join(" "),
4292
+ viewport: [
4293
+ "rounded-b-md",
4294
+ "[&:has(>[data-viewport=ltr])]:rounded-tr-md [&:has(>[data-viewport=rtl])]:rounded-tl-md",
4295
+ "clip-path-viewport-wrapper"
4296
+ ].join(" "),
4297
+ link: [
4298
+ "before:inset-x-[0px] before:-inset-y-[6px] before:h-[70px]",
4299
+ "before:rounded-t-md"
4300
+ ].join(" ")
4301
+ }
4302
+ },
3984
4303
  {
3985
4304
  disabled: false,
3986
4305
  active: false,
@@ -3996,13 +4315,26 @@ const navigationMenu = {
3996
4315
  ].join(" ")
3997
4316
  }
3998
4317
  },
4318
+ {
4319
+ disabled: false,
4320
+ variant: "link",
4321
+ orientation: "horizontal",
4322
+ class: {
4323
+ link: [
4324
+ "data-[state=open]:before:shadow-[0_6px_21px_rgba(83,92,105,.15)]",
4325
+ "data-[state=open]:before:bg-white dark:data-[state=open]:before:bg-base-dark"
4326
+ ].join(" ")
4327
+ }
4328
+ },
3999
4329
  {
4000
4330
  disabled: false,
4001
4331
  active: false,
4002
4332
  variant: "link",
4003
4333
  orientation: "horizontal",
4004
4334
  class: {
4005
- link: "data-[state=open]:text-base-950 dark:data-[state=open]:text-base-50",
4335
+ link: [
4336
+ "data-[state=open]:text-base-950 dark:data-[state=open]:text-base-50"
4337
+ ].join(" "),
4006
4338
  linkLeadingIcon: "group-data-[state=open]:text-base-950 dark:group-data-[state=open]:text-base-50"
4007
4339
  }
4008
4340
  },
@@ -4047,8 +4379,8 @@ const navigationMenu = {
4047
4379
  variant: "link",
4048
4380
  active: true,
4049
4381
  class: {
4050
- link: "font-semibold text-blue-800 dark:text-blue-600",
4051
- linkLeadingIcon: "text-blue-800 group-data-[state=open]:text-blue-600 dark:text-blue-600 dark:group-data-[state=open]:text-blue-600"
4382
+ link: "font-semibold text-blue-850 dark:text-blue-600",
4383
+ linkLeadingIcon: "text-blue-850 group-data-[state=open]:text-blue-600 dark:text-blue-600 dark:group-data-[state=open]:text-blue-600"
4052
4384
  }
4053
4385
  },
4054
4386
  {
@@ -4081,6 +4413,7 @@ const navigationMenu = {
4081
4413
  // endregion ////
4082
4414
  // region highlight.Color ////
4083
4415
  {
4416
+ orientation: "vertical",
4084
4417
  highlightColor: "default",
4085
4418
  highlight: true,
4086
4419
  level: true,
@@ -4090,6 +4423,18 @@ const navigationMenu = {
4090
4423
  }
4091
4424
  },
4092
4425
  {
4426
+ orientation: "horizontal",
4427
+ variant: "link",
4428
+ highlightColor: "default",
4429
+ highlight: true,
4430
+ level: true,
4431
+ active: true,
4432
+ class: {
4433
+ link: "after:bg-base-500"
4434
+ }
4435
+ },
4436
+ {
4437
+ orientation: "vertical",
4093
4438
  highlightColor: "danger",
4094
4439
  highlight: true,
4095
4440
  level: true,
@@ -4099,15 +4444,46 @@ const navigationMenu = {
4099
4444
  }
4100
4445
  },
4101
4446
  {
4447
+ orientation: "horizontal",
4448
+ variant: "link",
4449
+ highlightColor: "danger",
4450
+ highlight: true,
4451
+ level: true,
4452
+ active: true,
4453
+ class: {
4454
+ link: "after:bg-red-500 dark:after:bg-red-600"
4455
+ }
4456
+ },
4457
+ {
4458
+ orientation: "vertical",
4102
4459
  highlightColor: "success",
4103
4460
  highlight: true,
4104
4461
  level: true,
4105
4462
  active: true,
4463
+ class: { link: "after:bg-green-500 dark:after:bg-green-600" }
4464
+ },
4465
+ {
4466
+ orientation: "horizontal",
4467
+ variant: "link",
4468
+ highlightColor: "success",
4469
+ highlight: true,
4470
+ level: true,
4471
+ active: true,
4472
+ class: { link: "after:bg-green-500 dark:after:bg-green-600" }
4473
+ },
4474
+ {
4475
+ orientation: "vertical",
4476
+ highlightColor: "warning",
4477
+ highlight: true,
4478
+ level: true,
4479
+ active: true,
4106
4480
  class: {
4107
- link: "after:bg-green-500 dark:after:bg-green-600"
4481
+ link: "after:bg-orange-500 dark:after:bg-orange-600"
4108
4482
  }
4109
4483
  },
4110
4484
  {
4485
+ orientation: "horizontal",
4486
+ variant: "link",
4111
4487
  highlightColor: "warning",
4112
4488
  highlight: true,
4113
4489
  level: true,
@@ -4117,6 +4493,7 @@ const navigationMenu = {
4117
4493
  }
4118
4494
  },
4119
4495
  {
4496
+ orientation: "vertical",
4120
4497
  highlightColor: "primary",
4121
4498
  highlight: true,
4122
4499
  level: true,
@@ -4126,6 +4503,18 @@ const navigationMenu = {
4126
4503
  }
4127
4504
  },
4128
4505
  {
4506
+ orientation: "horizontal",
4507
+ variant: "link",
4508
+ highlightColor: "primary",
4509
+ highlight: true,
4510
+ level: true,
4511
+ active: true,
4512
+ class: {
4513
+ link: "after:bg-blue-850 dark:after:bg-blue-600"
4514
+ }
4515
+ },
4516
+ {
4517
+ orientation: "vertical",
4129
4518
  highlightColor: "secondary",
4130
4519
  highlight: true,
4131
4520
  level: true,
@@ -4135,6 +4524,18 @@ const navigationMenu = {
4135
4524
  }
4136
4525
  },
4137
4526
  {
4527
+ orientation: "horizontal",
4528
+ variant: "link",
4529
+ highlightColor: "secondary",
4530
+ highlight: true,
4531
+ level: true,
4532
+ active: true,
4533
+ class: {
4534
+ link: "after:bg-cyan-500 dark:after:bg-cyan-600"
4535
+ }
4536
+ },
4537
+ {
4538
+ orientation: "vertical",
4138
4539
  highlightColor: "collab",
4139
4540
  highlight: true,
4140
4541
  level: true,
@@ -4144,6 +4545,29 @@ const navigationMenu = {
4144
4545
  }
4145
4546
  },
4146
4547
  {
4548
+ orientation: "horizontal",
4549
+ variant: "link",
4550
+ highlightColor: "collab",
4551
+ highlight: true,
4552
+ level: true,
4553
+ active: true,
4554
+ class: {
4555
+ link: "after:bg-collab-500 dark:after:bg-collab-600"
4556
+ }
4557
+ },
4558
+ {
4559
+ orientation: "vertical",
4560
+ highlightColor: "ai",
4561
+ highlight: true,
4562
+ level: true,
4563
+ active: true,
4564
+ class: {
4565
+ link: "after:bg-ai-500 dark:after:bg-ai-600"
4566
+ }
4567
+ },
4568
+ {
4569
+ orientation: "horizontal",
4570
+ variant: "link",
4147
4571
  highlightColor: "ai",
4148
4572
  highlight: true,
4149
4573
  level: true,
@@ -4174,7 +4598,8 @@ const navigationMenu = {
4174
4598
  defaultVariants: {
4175
4599
  color: "default",
4176
4600
  highlightColor: "default",
4177
- variant: "pill"
4601
+ contentOrientation: "vertical",
4602
+ variant: "link"
4178
4603
  }
4179
4604
  };
4180
4605
 
package/dist/types.d.mts CHANGED
@@ -1 +1,7 @@
1
- export { type ModuleOptions, default } from './module.js'
1
+ import type { NuxtModule } from '@nuxt/schema'
2
+
3
+ import type { default as Module } from './module.js'
4
+
5
+ export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
6
+
7
+ export { default } from './module.js'
package/dist/types.d.ts CHANGED
@@ -1 +1,7 @@
1
- export { type ModuleOptions, default } from './module'
1
+ import type { NuxtModule } from '@nuxt/schema'
2
+
3
+ import type { default as Module } from './module'
4
+
5
+ export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
6
+
7
+ export { default } from './module'
package/dist/unplugin.cjs CHANGED
@@ -5,7 +5,7 @@ const pathe = require('pathe');
5
5
  const unplugin = require('unplugin');
6
6
  const defu = require('defu');
7
7
  const tailwind = require('@tailwindcss/vite');
8
- const templates = require('./shared/b24ui-nuxt.ClMXHpMM.cjs');
8
+ const templates = require('./shared/b24ui-nuxt.Bh_5o1_9.cjs');
9
9
  const tinyglobby = require('tinyglobby');
10
10
  const knitwork = require('knitwork');
11
11
  const MagicString = require('magic-string');
@@ -29,4 +29,5 @@ interface Bitrix24UIOptions extends Omit<ModuleOptions, 'colorMode'> {
29
29
  declare const runtimeDir: string;
30
30
  declare const Bitrix24UIPlugin: unplugin.UnpluginInstance<Bitrix24UIOptions | undefined, boolean>;
31
31
 
32
- export { type Bitrix24UIOptions, Bitrix24UIPlugin, runtimeDir };
32
+ export { Bitrix24UIPlugin, runtimeDir };
33
+ export type { Bitrix24UIOptions };