@shuriken-ui/tailwind 3.0.0-next.6 → 3.0.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.
@@ -21,8 +21,8 @@ function mergePlugins(plugins) {
21
21
  return plugin__default((api) => plugins.map((plugin2) => plugin2.handler(api)), config);
22
22
  }
23
23
 
24
- const key$S = "accordion";
25
- const defaultConfig$R = {
24
+ const key$T = "accordion";
25
+ const defaultConfig$S = {
26
26
  wrapper: {
27
27
  width: "full",
28
28
  rounded: {
@@ -239,15 +239,15 @@ const defaultConfig$R = {
239
239
  }
240
240
  };
241
241
 
242
- const config$S = {
242
+ const config$T = {
243
243
  theme: {
244
244
  nui: {
245
- [key$S]: defaultConfig$R
245
+ [key$T]: defaultConfig$S
246
246
  }
247
247
  }
248
248
  };
249
249
  const accordion = plugin__default(({ addComponents, theme }) => {
250
- const config2 = theme(`nui.${key$S}`);
250
+ const config2 = theme(`nui.${key$T}`);
251
251
  addComponents({
252
252
  //Accordion:wrapper
253
253
  ".nui-accordion": {
@@ -464,10 +464,10 @@ const accordion = plugin__default(({ addComponents, theme }) => {
464
464
  }
465
465
  }
466
466
  });
467
- }, config$S);
467
+ }, config$T);
468
468
 
469
- const key$R = "autocomplete";
470
- const defaultConfig$Q = {
469
+ const key$S = "autocomplete";
470
+ const defaultConfig$R = {
471
471
  rounded: {
472
472
  none: "none",
473
473
  sm: "md",
@@ -955,15 +955,15 @@ const defaultConfig$Q = {
955
955
  }
956
956
  };
957
957
 
958
- const config$R = {
958
+ const config$S = {
959
959
  theme: {
960
960
  nui: {
961
- [key$R]: defaultConfig$Q
961
+ [key$S]: defaultConfig$R
962
962
  }
963
963
  }
964
964
  };
965
965
  const autocomplete = plugin__default(({ addComponents, theme }) => {
966
- const config2 = theme(`nui.${key$R}`);
966
+ const config2 = theme(`nui.${key$S}`);
967
967
  addComponents({
968
968
  ".nui-autocomplete": {
969
969
  "@apply w-full relative": {},
@@ -1057,15 +1057,6 @@ const autocomplete = plugin__default(({ addComponents, theme }) => {
1057
1057
  "@apply h-3 w-full max-w-[75%] rounded": {}
1058
1058
  }
1059
1059
  },
1060
- //Autocomplete:error
1061
- ".nui-autocomplete-error-text": {
1062
- //Base
1063
- "@apply mt-1 block leading-none": {},
1064
- //Error text font
1065
- [`@apply font-${config2.error.font.family} text-${config2.error.font.size} font-${config2.error.font.weight}`]: {},
1066
- //Error text color
1067
- [`@apply text-${config2.error.font.color.light} dark:text-${config2.error.font.color.dark}`]: {}
1068
- },
1069
1060
  //Autocomplete:results
1070
1061
  ".nui-autocomplete-results": {
1071
1062
  "@apply nui-slimscroll absolute z-20 mt-1 max-h-[265px] w-full overflow-auto py-1 outline-none sm:text-sm": {},
@@ -1469,10 +1460,10 @@ const autocomplete = plugin__default(({ addComponents, theme }) => {
1469
1460
  }
1470
1461
  }
1471
1462
  });
1472
- }, config$R);
1463
+ }, config$S);
1473
1464
 
1474
- const key$Q = "avatar";
1475
- const defaultConfig$P = {
1465
+ const key$R = "avatar";
1466
+ const defaultConfig$Q = {
1476
1467
  inner: {
1477
1468
  size: "full",
1478
1469
  transition: {
@@ -1821,15 +1812,15 @@ const defaultConfig$P = {
1821
1812
  }
1822
1813
  };
1823
1814
 
1824
- const config$Q = {
1815
+ const config$R = {
1825
1816
  theme: {
1826
1817
  nui: {
1827
- [key$Q]: defaultConfig$P
1818
+ [key$R]: defaultConfig$Q
1828
1819
  }
1829
1820
  }
1830
1821
  };
1831
1822
  const avatar = plugin__default(({ addComponents, theme }) => {
1832
- const config2 = theme(`nui.${key$Q}`);
1823
+ const config2 = theme(`nui.${key$R}`);
1833
1824
  addComponents({
1834
1825
  ".nui-avatar": {
1835
1826
  //Avatar:wrapper
@@ -2594,10 +2585,10 @@ const avatar = plugin__default(({ addComponents, theme }) => {
2594
2585
  }
2595
2586
  }
2596
2587
  });
2597
- }, config$Q);
2588
+ }, config$R);
2598
2589
 
2599
- const key$P = "avatarGroup";
2600
- const defaultConfig$O = {
2590
+ const key$Q = "avatarGroup";
2591
+ const defaultConfig$P = {
2601
2592
  avatar: {
2602
2593
  rounded: "full",
2603
2594
  outer: {
@@ -2717,15 +2708,15 @@ const defaultConfig$O = {
2717
2708
  }
2718
2709
  };
2719
2710
 
2720
- const config$P = {
2711
+ const config$Q = {
2721
2712
  theme: {
2722
2713
  nui: {
2723
- [key$P]: defaultConfig$O
2714
+ [key$Q]: defaultConfig$P
2724
2715
  }
2725
2716
  }
2726
2717
  };
2727
2718
  const avatarGroup = plugin__default(({ addComponents, theme }) => {
2728
- const config2 = theme(`nui.${key$P}`);
2719
+ const config2 = theme(`nui.${key$Q}`);
2729
2720
  addComponents({
2730
2721
  ".nui-avatar-group": {
2731
2722
  "@apply flex": {},
@@ -2869,10 +2860,10 @@ const avatarGroup = plugin__default(({ addComponents, theme }) => {
2869
2860
  }
2870
2861
  }
2871
2862
  });
2872
- }, config$P);
2863
+ }, config$Q);
2873
2864
 
2874
- const key$O = "breadcrumb";
2875
- const defaultConfig$N = {
2865
+ const key$P = "breadcrumb";
2866
+ const defaultConfig$O = {
2876
2867
  item: {
2877
2868
  text: {
2878
2869
  font: {
@@ -2938,15 +2929,15 @@ const defaultConfig$N = {
2938
2929
  }
2939
2930
  };
2940
2931
 
2941
- const config$O = {
2932
+ const config$P = {
2942
2933
  theme: {
2943
2934
  nui: {
2944
- [key$O]: defaultConfig$N
2935
+ [key$P]: defaultConfig$O
2945
2936
  }
2946
2937
  }
2947
2938
  };
2948
2939
  const breadcrumb = plugin__default(({ addComponents, theme }) => {
2949
- const config2 = theme(`nui.${key$O}`);
2940
+ const config2 = theme(`nui.${key$P}`);
2950
2941
  addComponents({
2951
2942
  ".nui-breadcrumb": {
2952
2943
  ".nui-breadcrumb-list": {
@@ -3011,10 +3002,10 @@ const breadcrumb = plugin__default(({ addComponents, theme }) => {
3011
3002
  }
3012
3003
  }
3013
3004
  });
3014
- }, config$O);
3005
+ }, config$P);
3015
3006
 
3016
- const key$N = "buttonAction";
3017
- const defaultConfig$M = {
3007
+ const key$O = "buttonAction";
3008
+ const defaultConfig$N = {
3018
3009
  rounded: {
3019
3010
  none: "none",
3020
3011
  sm: "md",
@@ -3349,15 +3340,15 @@ const defaultConfig$M = {
3349
3340
  }
3350
3341
  };
3351
3342
 
3352
- const config$N = {
3343
+ const config$O = {
3353
3344
  theme: {
3354
3345
  nui: {
3355
- [key$N]: defaultConfig$M
3346
+ [key$O]: defaultConfig$N
3356
3347
  }
3357
3348
  }
3358
3349
  };
3359
3350
  const buttonAction = plugin__default(({ addComponents, theme }) => {
3360
- const config2 = theme(`nui.${key$N}`);
3351
+ const config2 = theme(`nui.${key$O}`);
3361
3352
  addComponents({
3362
3353
  ".nui-button-action": {
3363
3354
  //Wrapper
@@ -3546,10 +3537,10 @@ const buttonAction = plugin__default(({ addComponents, theme }) => {
3546
3537
  }
3547
3538
  }
3548
3539
  });
3549
- }, config$N);
3540
+ }, config$O);
3550
3541
 
3551
- const key$M = "buttonClose";
3552
- const defaultConfig$L = {
3542
+ const key$N = "buttonClose";
3543
+ const defaultConfig$M = {
3553
3544
  size: {
3554
3545
  xs: {
3555
3546
  outer: "6",
@@ -3585,6 +3576,14 @@ const defaultConfig$L = {
3585
3576
  hover: {
3586
3577
  light: "muted-100",
3587
3578
  dark: "muted-700"
3579
+ },
3580
+ focus: {
3581
+ light: "muted-100",
3582
+ dark: "muted-700"
3583
+ },
3584
+ active: {
3585
+ light: "transparent",
3586
+ dark: "transparent"
3588
3587
  }
3589
3588
  },
3590
3589
  font: {
@@ -3603,6 +3602,14 @@ const defaultConfig$L = {
3603
3602
  hover: {
3604
3603
  light: "muted-100",
3605
3604
  dark: "muted-900"
3605
+ },
3606
+ focus: {
3607
+ light: "muted-100",
3608
+ dark: "muted-900"
3609
+ },
3610
+ active: {
3611
+ light: "transparent",
3612
+ dark: "transparent"
3606
3613
  }
3607
3614
  },
3608
3615
  font: {
@@ -3621,6 +3628,14 @@ const defaultConfig$L = {
3621
3628
  hover: {
3622
3629
  light: "muted-50",
3623
3630
  dark: "muted-600"
3631
+ },
3632
+ focus: {
3633
+ light: "muted-50",
3634
+ dark: "muted-600"
3635
+ },
3636
+ active: {
3637
+ light: "muted-100",
3638
+ dark: "muted-700"
3624
3639
  }
3625
3640
  },
3626
3641
  font: {
@@ -3639,6 +3654,14 @@ const defaultConfig$L = {
3639
3654
  hover: {
3640
3655
  light: "muted-50",
3641
3656
  dark: "muted-900"
3657
+ },
3658
+ focus: {
3659
+ light: "muted-50",
3660
+ dark: "muted-900"
3661
+ },
3662
+ active: {
3663
+ light: "muted-100",
3664
+ dark: "muted-950"
3642
3665
  }
3643
3666
  },
3644
3667
  font: {
@@ -3657,6 +3680,14 @@ const defaultConfig$L = {
3657
3680
  hover: {
3658
3681
  light: "primary-500/20",
3659
3682
  dark: "primary-500/20"
3683
+ },
3684
+ focus: {
3685
+ light: "primary-500/20",
3686
+ dark: "primary-500/20"
3687
+ },
3688
+ active: {
3689
+ light: "primary-500/10",
3690
+ dark: "primary-500/10"
3660
3691
  }
3661
3692
  },
3662
3693
  font: {
@@ -3675,6 +3706,14 @@ const defaultConfig$L = {
3675
3706
  hover: {
3676
3707
  light: "info-500/20",
3677
3708
  dark: "info-500/20"
3709
+ },
3710
+ focus: {
3711
+ light: "info-500/20",
3712
+ dark: "info-500/20"
3713
+ },
3714
+ active: {
3715
+ light: "info-500/10",
3716
+ dark: "info-500/10"
3678
3717
  }
3679
3718
  },
3680
3719
  font: {
@@ -3693,6 +3732,14 @@ const defaultConfig$L = {
3693
3732
  hover: {
3694
3733
  light: "success-500/20",
3695
3734
  dark: "success-500/20"
3735
+ },
3736
+ focus: {
3737
+ light: "success-500/20",
3738
+ dark: "success-500/20"
3739
+ },
3740
+ active: {
3741
+ light: "success-500/10",
3742
+ dark: "success-500/10"
3696
3743
  }
3697
3744
  },
3698
3745
  font: {
@@ -3711,6 +3758,14 @@ const defaultConfig$L = {
3711
3758
  hover: {
3712
3759
  light: "warning-500/20",
3713
3760
  dark: "warning-500/20"
3761
+ },
3762
+ focus: {
3763
+ light: "warning-500/20",
3764
+ dark: "warning-500/20"
3765
+ },
3766
+ active: {
3767
+ light: "warning-500/10",
3768
+ dark: "warning-500/10"
3714
3769
  }
3715
3770
  },
3716
3771
  font: {
@@ -3729,6 +3784,14 @@ const defaultConfig$L = {
3729
3784
  hover: {
3730
3785
  light: "danger-500/20",
3731
3786
  dark: "danger-500/20"
3787
+ },
3788
+ focus: {
3789
+ light: "danger-500/20",
3790
+ dark: "danger-500/20"
3791
+ },
3792
+ active: {
3793
+ light: "danger-500/10",
3794
+ dark: "danger-500/10"
3732
3795
  }
3733
3796
  },
3734
3797
  font: {
@@ -3745,15 +3808,15 @@ const defaultConfig$L = {
3745
3808
  }
3746
3809
  };
3747
3810
 
3748
- const config$M = {
3811
+ const config$N = {
3749
3812
  theme: {
3750
3813
  nui: {
3751
- [key$M]: defaultConfig$L
3814
+ [key$N]: defaultConfig$M
3752
3815
  }
3753
3816
  }
3754
3817
  };
3755
3818
  const buttonClose = plugin__default(({ addComponents, theme }) => {
3756
- const config2 = theme(`nui.${key$M}`);
3819
+ const config2 = theme(`nui.${key$N}`);
3757
3820
  addComponents({
3758
3821
  ".nui-button-close": {
3759
3822
  "@apply nui-focus flex items-center justify-center disabled:opacity-30 cursor-pointer": {},
@@ -3813,7 +3876,11 @@ const buttonClose = plugin__default(({ addComponents, theme }) => {
3813
3876
  //Background
3814
3877
  [`@apply bg-${config2.color.default.background.base.light} dark:bg-${config2.color.default.background.base.dark}`]: {},
3815
3878
  //Background hover
3816
- [`@apply hover:bg-${config2.color.default.background.hover.light} dark:hover:bg-${config2.color.default.background.hover.dark}`]: {}
3879
+ [`@apply hover:bg-${config2.color.default.background.hover.light} dark:hover:bg-${config2.color.default.background.hover.dark}`]: {},
3880
+ //Background focus
3881
+ [`@apply focus-visible:bg-${config2.color.default.background.focus.light} dark:focus-visible:bg-${config2.color.default.background.focus.dark}`]: {},
3882
+ //Background active
3883
+ [`@apply active:enabled:bg-${config2.color.default.background.active.light} dark:active:enabled:bg-${config2.color.default.background.active.dark}`]: {}
3817
3884
  },
3818
3885
  //Color:default-contrast
3819
3886
  "&.nui-button-default-contrast": {
@@ -3821,7 +3888,11 @@ const buttonClose = plugin__default(({ addComponents, theme }) => {
3821
3888
  //Background
3822
3889
  [`@apply bg-${config2.color.defaultContrast.background.base.light} dark:bg-${config2.color.defaultContrast.background.base.dark}`]: {},
3823
3890
  //Background hover
3824
- [`@apply hover:bg-${config2.color.defaultContrast.background.hover.light} dark:hover:bg-${config2.color.defaultContrast.background.hover.dark}`]: {}
3891
+ [`@apply hover:bg-${config2.color.defaultContrast.background.hover.light} dark:hover:bg-${config2.color.defaultContrast.background.hover.dark}`]: {},
3892
+ //Background focus
3893
+ [`@apply focus-visible:bg-${config2.color.defaultContrast.background.focus.light} dark:focus-visible:bg-${config2.color.defaultContrast.background.focus.dark}`]: {},
3894
+ //Background active
3895
+ [`@apply active:enabled:bg-${config2.color.defaultContrast.background.active.light} dark:active:enabled:bg-${config2.color.defaultContrast.background.active.dark}`]: {}
3825
3896
  },
3826
3897
  //Color:muted
3827
3898
  "&.nui-button-muted": {
@@ -3829,7 +3900,11 @@ const buttonClose = plugin__default(({ addComponents, theme }) => {
3829
3900
  //Background
3830
3901
  [`@apply bg-${config2.color.muted.background.base.light} dark:bg-${config2.color.muted.background.base.dark}`]: {},
3831
3902
  //Background hover
3832
- [`@apply hover:bg-${config2.color.muted.background.hover.light} dark:hover:bg-${config2.color.muted.background.hover.dark}`]: {}
3903
+ [`@apply hover:bg-${config2.color.muted.background.hover.light} dark:hover:bg-${config2.color.muted.background.hover.dark}`]: {},
3904
+ //Background focus
3905
+ [`@apply focus-visible:bg-${config2.color.muted.background.focus.light} dark:focus-visible:bg-${config2.color.muted.background.focus.dark}`]: {},
3906
+ //Background active
3907
+ [`@apply active:enabled:bg-${config2.color.muted.background.active.light} dark:active:enabled:bg-${config2.color.muted.background.active.dark}`]: {}
3833
3908
  },
3834
3909
  //Color:muted-contrast
3835
3910
  "&.nui-button-muted-contrast": {
@@ -3837,7 +3912,11 @@ const buttonClose = plugin__default(({ addComponents, theme }) => {
3837
3912
  //Background
3838
3913
  [`@apply bg-${config2.color.mutedContrast.background.base.light} dark:bg-${config2.color.mutedContrast.background.base.dark}`]: {},
3839
3914
  //Background hover
3840
- [`@apply hover:bg-${config2.color.mutedContrast.background.hover.light} dark:hover:bg-${config2.color.mutedContrast.background.hover.dark}`]: {}
3915
+ [`@apply hover:bg-${config2.color.mutedContrast.background.hover.light} dark:hover:bg-${config2.color.mutedContrast.background.hover.dark}`]: {},
3916
+ //Background focus
3917
+ [`@apply focus-visible:bg-${config2.color.mutedContrast.background.focus.light} dark:focus-visible:bg-${config2.color.mutedContrast.background.focus.dark}`]: {},
3918
+ //Background active
3919
+ [`@apply active:enabled:bg-${config2.color.mutedContrast.background.active.light} dark:active:enabled:bg-${config2.color.mutedContrast.background.active.dark}`]: {}
3841
3920
  },
3842
3921
  //Color:primary
3843
3922
  "&.nui-button-primary": {
@@ -3845,7 +3924,11 @@ const buttonClose = plugin__default(({ addComponents, theme }) => {
3845
3924
  //Background
3846
3925
  [`@apply bg-${config2.color.primary.background.base.light} dark:bg-${config2.color.primary.background.base.dark}`]: {},
3847
3926
  //Background hover
3848
- [`@apply hover:bg-${config2.color.primary.background.hover.light} dark:hover:bg-${config2.color.primary.background.hover.dark}`]: {}
3927
+ [`@apply hover:bg-${config2.color.primary.background.hover.light} dark:hover:bg-${config2.color.primary.background.hover.dark}`]: {},
3928
+ //Background focus
3929
+ [`@apply focus-visible:bg-${config2.color.primary.background.focus.light} dark:focus-visible:bg-${config2.color.primary.background.focus.dark}`]: {},
3930
+ //Background active
3931
+ [`@apply active:enabled:bg-${config2.color.primary.background.active.light} dark:active:enabled:bg-${config2.color.primary.background.active.dark}`]: {}
3849
3932
  },
3850
3933
  //Color:info
3851
3934
  "&.nui-button-info": {
@@ -3853,7 +3936,11 @@ const buttonClose = plugin__default(({ addComponents, theme }) => {
3853
3936
  //Background
3854
3937
  [`@apply bg-${config2.color.info.background.base.light} dark:bg-${config2.color.info.background.base.dark}`]: {},
3855
3938
  //Background hover
3856
- [`@apply hover:bg-${config2.color.info.background.hover.light} dark:hover:bg-${config2.color.info.background.hover.dark}`]: {}
3939
+ [`@apply hover:bg-${config2.color.info.background.hover.light} dark:hover:bg-${config2.color.info.background.hover.dark}`]: {},
3940
+ //Background focus
3941
+ [`@apply focus-visible:bg-${config2.color.info.background.focus.light} dark:focus-visible:bg-${config2.color.info.background.focus.dark}`]: {},
3942
+ //Background active
3943
+ [`@apply active:enabled:bg-${config2.color.info.background.active.light} dark:active:enabled:bg-${config2.color.info.background.active.dark}`]: {}
3857
3944
  },
3858
3945
  //Color:success
3859
3946
  "&.nui-button-success": {
@@ -3861,7 +3948,11 @@ const buttonClose = plugin__default(({ addComponents, theme }) => {
3861
3948
  //Background
3862
3949
  [`@apply bg-${config2.color.success.background.base.light} dark:bg-${config2.color.success.background.base.dark}`]: {},
3863
3950
  //Background hover
3864
- [`@apply hover:bg-${config2.color.success.background.hover.light} dark:hover:bg-${config2.color.success.background.hover.dark}`]: {}
3951
+ [`@apply hover:bg-${config2.color.success.background.hover.light} dark:hover:bg-${config2.color.success.background.hover.dark}`]: {},
3952
+ //Background focus
3953
+ [`@apply focus-visible:bg-${config2.color.success.background.focus.light} dark:focus-visible:bg-${config2.color.success.background.focus.dark}`]: {},
3954
+ //Background active
3955
+ [`@apply active:enabled:bg-${config2.color.success.background.active.light} dark:active:enabled:bg-${config2.color.success.background.active.dark}`]: {}
3865
3956
  },
3866
3957
  //Color:warning
3867
3958
  "&.nui-button-warning": {
@@ -3869,7 +3960,11 @@ const buttonClose = plugin__default(({ addComponents, theme }) => {
3869
3960
  //Background
3870
3961
  [`@apply bg-${config2.color.warning.background.base.light} dark:bg-${config2.color.warning.background.base.dark}`]: {},
3871
3962
  //Background hover
3872
- [`@apply hover:bg-${config2.color.warning.background.hover.light} dark:hover:bg-${config2.color.warning.background.hover.dark}`]: {}
3963
+ [`@apply hover:bg-${config2.color.warning.background.hover.light} dark:hover:bg-${config2.color.warning.background.hover.dark}`]: {},
3964
+ //Background focus
3965
+ [`@apply focus-visible:bg-${config2.color.warning.background.focus.light} dark:focus-visible:bg-${config2.color.warning.background.focus.dark}`]: {},
3966
+ //Background active
3967
+ [`@apply active:enabled:bg-${config2.color.warning.background.active.light} dark:active:enabled:bg-${config2.color.warning.background.active.dark}`]: {}
3873
3968
  },
3874
3969
  //Color:danger
3875
3970
  "&.nui-button-danger": {
@@ -3877,19 +3972,23 @@ const buttonClose = plugin__default(({ addComponents, theme }) => {
3877
3972
  //Background
3878
3973
  [`@apply bg-${config2.color.danger.background.base.light} dark:bg-${config2.color.danger.background.base.dark}`]: {},
3879
3974
  //Background hover
3880
- [`@apply hover:bg-${config2.color.danger.background.hover.light} dark:hover:bg-${config2.color.danger.background.hover.dark}`]: {}
3975
+ [`@apply hover:bg-${config2.color.danger.background.hover.light} dark:hover:bg-${config2.color.danger.background.hover.dark}`]: {},
3976
+ //Background focus
3977
+ [`@apply focus-visible:bg-${config2.color.danger.background.focus.light} dark:focus-visible:bg-${config2.color.danger.background.focus.dark}`]: {},
3978
+ //Background active
3979
+ [`@apply active:enabled:bg-${config2.color.danger.background.active.light} dark:active:enabled:bg-${config2.color.danger.background.active.dark}`]: {}
3881
3980
  }
3882
3981
  }
3883
3982
  });
3884
- }, config$M);
3983
+ }, config$N);
3885
3984
 
3886
- const key$L = "buttonAction";
3887
- const defaultConfig$K = {};
3985
+ const key$M = "buttonAction";
3986
+ const defaultConfig$L = {};
3888
3987
 
3889
- const config$L = {
3988
+ const config$M = {
3890
3989
  theme: {
3891
3990
  nui: {
3892
- [key$L]: defaultConfig$K
3991
+ [key$M]: defaultConfig$L
3893
3992
  }
3894
3993
  }
3895
3994
  };
@@ -3897,7 +3996,8 @@ const buttonGroup = plugin__default(
3897
3996
  ({ addComponents }) => addComponents({
3898
3997
  '.nui-button-group, [role="group"]': {
3899
3998
  "@apply flex": {},
3900
- ".nui-button, .nui-button-action, .nui-button-icon": {
3999
+ // Button
4000
+ "> .nui-button:not(:only-child), > .nui-button-action:not(:only-child), > .nui-button-icon:not(:only-child)": {
3901
4001
  "@apply !border-e-0": {},
3902
4002
  "&:focus": {
3903
4003
  "@apply !z-10 relative": {}
@@ -3912,6 +4012,7 @@ const buttonGroup = plugin__default(
3912
4012
  "@apply !border-e !rounded-s-none": {}
3913
4013
  }
3914
4014
  },
4015
+ // Input
3915
4016
  ".nui-input-wrapper:not(:first-child):not(:last-child)": {
3916
4017
  ".nui-input": {
3917
4018
  "@apply !border-e-0 !rounded-none": {},
@@ -3920,15 +4021,15 @@ const buttonGroup = plugin__default(
3920
4021
  }
3921
4022
  }
3922
4023
  },
3923
- ".nui-input-wrapper:first-child": {
4024
+ ".nui-input-wrapper:first-child:not(:last-child)": {
3924
4025
  ".nui-input": {
3925
- "@apply !rounded-e-none": {},
4026
+ "@apply !border-e-0 !rounded-e-none": {},
3926
4027
  "&:focus": {
3927
4028
  "@apply !z-10 relative": {}
3928
4029
  }
3929
4030
  }
3930
4031
  },
3931
- ".nui-input-wrapper:last-child": {
4032
+ ".nui-input-wrapper:last-child:not(:first-child)": {
3932
4033
  ".nui-input": {
3933
4034
  "@apply !border-e !rounded-s-none": {},
3934
4035
  "&:focus": {
@@ -3936,6 +4037,57 @@ const buttonGroup = plugin__default(
3936
4037
  }
3937
4038
  }
3938
4039
  },
4040
+ // InputNumber
4041
+ ".nui-input-number-wrapper:not(:first-child):not(:last-child)": {
4042
+ ".nui-input-number": {
4043
+ "@apply !border-e-0 !rounded-none": {},
4044
+ "&:focus": {
4045
+ "@apply !z-10 relative": {}
4046
+ }
4047
+ }
4048
+ },
4049
+ ".nui-input-number-wrapper:first-child:not(:last-child)": {
4050
+ ".nui-input-number": {
4051
+ "@apply !border-e-0 !rounded-e-none": {},
4052
+ "&:focus": {
4053
+ "@apply !z-10 relative": {}
4054
+ }
4055
+ }
4056
+ },
4057
+ ".nui-input-number-wrapper:last-child:not(:first-child)": {
4058
+ ".nui-input-number": {
4059
+ "@apply !border-e !rounded-s-none": {},
4060
+ "&:focus": {
4061
+ "@apply !z-10 relative": {}
4062
+ }
4063
+ }
4064
+ },
4065
+ // InputFileRegular
4066
+ ".nui-input-file-regular:not(:first-child):not(:last-child)": {
4067
+ ".nui-input-file-inner": {
4068
+ "@apply !border-e-0 !rounded-none": {},
4069
+ "&:focus": {
4070
+ "@apply !z-10 relative": {}
4071
+ }
4072
+ }
4073
+ },
4074
+ ".nui-input-file-regular:first-child:not(:last-child)": {
4075
+ ".nui-input-file-inner": {
4076
+ "@apply !border-e-0 !rounded-e-none": {},
4077
+ "&:focus": {
4078
+ "@apply !z-10 relative": {}
4079
+ }
4080
+ }
4081
+ },
4082
+ ".nui-input-file-regular:last-child:not(:first-child)": {
4083
+ ".nui-input-file-inner": {
4084
+ "@apply !border-e !rounded-s-none": {},
4085
+ "&:focus": {
4086
+ "@apply !z-10 relative": {}
4087
+ }
4088
+ }
4089
+ },
4090
+ // Select
3939
4091
  ".nui-select-wrapper:not(:first-child):not(:last-child)": {
3940
4092
  ".nui-select": {
3941
4093
  "@apply !border-e-0 !rounded-none": {},
@@ -3944,40 +4096,83 @@ const buttonGroup = plugin__default(
3944
4096
  }
3945
4097
  }
3946
4098
  },
3947
- ".nui-select-wrapper:first-child": {
4099
+ ".nui-select-wrapper:first-child:not(:last-child)": {
3948
4100
  ".nui-select": {
3949
- "@apply !rounded-e-none": {},
4101
+ "@apply !border-e-0 !rounded-e-none": {},
3950
4102
  "&:focus": {
3951
4103
  "@apply !z-10 relative": {}
3952
4104
  }
3953
4105
  }
3954
4106
  },
3955
- ".nui-select-wrapper:last-child": {
3956
- ".nui-select": {
4107
+ // Autocomplete
4108
+ ".nui-autocomplete:not(:first-child):not(:last-child)": {
4109
+ ".nui-autocomplete-input": {
4110
+ "@apply !border-e-0 !rounded-none": {},
4111
+ "&:focus": {
4112
+ "@apply !z-10 relative": {}
4113
+ }
4114
+ }
4115
+ },
4116
+ ".nui-autocomplete:first-child:not(:last-child)": {
4117
+ ".nui-autocomplete-input": {
4118
+ "@apply !border-e-0 !rounded-e-none": {},
4119
+ "&:focus": {
4120
+ "@apply !z-10 relative": {}
4121
+ }
4122
+ }
4123
+ },
4124
+ ".nui-autocomplete:last-child:not(:first-child)": {
4125
+ ".nui-autocomplete-input": {
3957
4126
  "@apply !border-e !rounded-s-none": {},
3958
4127
  "&:focus": {
3959
4128
  "@apply !z-10 relative": {}
3960
4129
  }
3961
4130
  }
3962
4131
  },
4132
+ // Dropdown
3963
4133
  ".nui-dropdown:not(:first-child):not(:last-child)": {
3964
- ".nui-nui-button": {
4134
+ ".nui-button": {
3965
4135
  "@apply !border-e-0 !rounded-none": {},
3966
4136
  "&:focus": {
3967
4137
  "@apply !z-10 relative": {}
3968
4138
  }
3969
4139
  }
3970
4140
  },
3971
- ".nui-dropdown:first-child": {
3972
- ".nui-nui-button": {
3973
- "@apply !rounded-e-none": {},
4141
+ ".nui-dropdown:first-child:not(:last-child)": {
4142
+ ".nui-button": {
4143
+ "@apply !border-e-0 !rounded-e-none": {},
3974
4144
  "&:focus": {
3975
4145
  "@apply !z-10 relative": {}
3976
4146
  }
3977
4147
  }
3978
4148
  },
3979
- ".nui-dropdown:last-child": {
3980
- ".nui-nui-button": {
4149
+ ".nui-dropdown:last-child:not(:first-child)": {
4150
+ ".nui-button": {
4151
+ "@apply !border-e !rounded-s-none": {},
4152
+ "&:focus": {
4153
+ "@apply !z-10 relative": {}
4154
+ }
4155
+ }
4156
+ },
4157
+ // Listbox
4158
+ ".nui-listbox:not(:first-child):not(:last-child)": {
4159
+ ".nui-listbox-button": {
4160
+ "@apply !border-e-0 !rounded-none": {},
4161
+ "&:focus": {
4162
+ "@apply !z-10 relative": {}
4163
+ }
4164
+ }
4165
+ },
4166
+ ".nui-listbox:first-child:not(:last-child)": {
4167
+ ".nui-listbox-button": {
4168
+ "@apply !border-e-0 !rounded-e-none": {},
4169
+ "&:focus": {
4170
+ "@apply !z-10 relative": {}
4171
+ }
4172
+ }
4173
+ },
4174
+ ".nui-listbox:last-child:not(:first-child)": {
4175
+ ".nui-listbox-button": {
3981
4176
  "@apply !border-e !rounded-s-none": {},
3982
4177
  "&:focus": {
3983
4178
  "@apply !z-10 relative": {}
@@ -3986,11 +4181,11 @@ const buttonGroup = plugin__default(
3986
4181
  }
3987
4182
  }
3988
4183
  }),
3989
- config$L
4184
+ config$M
3990
4185
  );
3991
4186
 
3992
- const key$K = "buttonIcon";
3993
- const defaultConfig$J = {
4187
+ const key$L = "buttonIcon";
4188
+ const defaultConfig$K = {
3994
4189
  font: {
3995
4190
  family: "sans",
3996
4191
  size: "sm",
@@ -4248,15 +4443,15 @@ const defaultConfig$J = {
4248
4443
  }
4249
4444
  };
4250
4445
 
4251
- const config$K = {
4446
+ const config$L = {
4252
4447
  theme: {
4253
4448
  nui: {
4254
- [key$K]: defaultConfig$J
4449
+ [key$L]: defaultConfig$K
4255
4450
  }
4256
4451
  }
4257
4452
  };
4258
4453
  const buttonIcon = plugin__default(({ addComponents, theme }) => {
4259
- const config2 = theme(`nui.${key$K}`);
4454
+ const config2 = theme(`nui.${key$L}`);
4260
4455
  addComponents({
4261
4456
  ".nui-button-icon": {
4262
4457
  //Base
@@ -4411,10 +4606,10 @@ const buttonIcon = plugin__default(({ addComponents, theme }) => {
4411
4606
  }
4412
4607
  }
4413
4608
  });
4414
- }, config$K);
4609
+ }, config$L);
4415
4610
 
4416
- const key$J = "button";
4417
- const defaultConfig$I = {
4611
+ const key$K = "button";
4612
+ const defaultConfig$J = {
4418
4613
  font: {
4419
4614
  family: "sans",
4420
4615
  weight: "normal"
@@ -4507,8 +4702,8 @@ const defaultConfig$I = {
4507
4702
  },
4508
4703
  border: {
4509
4704
  light: {
4510
- base: "muted-200",
4511
- hover: "muted-300"
4705
+ base: "muted-300",
4706
+ hover: "muted-200"
4512
4707
  },
4513
4708
  dark: {
4514
4709
  base: "muted-600",
@@ -5465,15 +5660,15 @@ const defaultConfig$I = {
5465
5660
  }
5466
5661
  };
5467
5662
 
5468
- const config$J = {
5663
+ const config$K = {
5469
5664
  theme: {
5470
5665
  nui: {
5471
- button: defaultConfig$I
5666
+ button: defaultConfig$J
5472
5667
  }
5473
5668
  }
5474
5669
  };
5475
5670
  const button = plugin__default(({ addComponents, theme }) => {
5476
- const config2 = theme(`nui.${key$J}`);
5671
+ const config2 = theme(`nui.${key$K}`);
5477
5672
  addComponents({
5478
5673
  ".nui-button": {
5479
5674
  // #region Base
@@ -6241,10 +6436,10 @@ const button = plugin__default(({ addComponents, theme }) => {
6241
6436
  // #endregion
6242
6437
  }
6243
6438
  });
6244
- }, config$J);
6439
+ }, config$K);
6245
6440
 
6246
- const key$I = "card";
6247
- const defaultConfig$H = {
6441
+ const key$J = "card";
6442
+ const defaultConfig$I = {
6248
6443
  width: "full",
6249
6444
  rounded: {
6250
6445
  none: "none",
@@ -6375,15 +6570,15 @@ const defaultConfig$H = {
6375
6570
  }
6376
6571
  };
6377
6572
 
6378
- const config$I = {
6573
+ const config$J = {
6379
6574
  theme: {
6380
6575
  nui: {
6381
- [key$I]: defaultConfig$H
6576
+ [key$J]: defaultConfig$I
6382
6577
  }
6383
6578
  }
6384
6579
  };
6385
6580
  const card = plugin__default(({ addComponents, theme }) => {
6386
- const config2 = theme(`nui.${key$I}`);
6581
+ const config2 = theme(`nui.${key$J}`);
6387
6582
  addComponents({
6388
6583
  ".nui-card": {
6389
6584
  //Base
@@ -6488,10 +6683,10 @@ const card = plugin__default(({ addComponents, theme }) => {
6488
6683
  }
6489
6684
  }
6490
6685
  });
6491
- }, config$I);
6686
+ }, config$J);
6492
6687
 
6493
- const key$H = "checkbox";
6494
- const defaultConfig$G = {
6688
+ const key$I = "checkbox";
6689
+ const defaultConfig$H = {
6495
6690
  rounded: {
6496
6691
  sm: "rounded",
6497
6692
  md: "rounded-md",
@@ -6593,15 +6788,15 @@ const defaultConfig$G = {
6593
6788
  }
6594
6789
  };
6595
6790
 
6596
- const config$H = {
6791
+ const config$I = {
6597
6792
  theme: {
6598
6793
  nui: {
6599
- [key$H]: defaultConfig$G
6794
+ [key$I]: defaultConfig$H
6600
6795
  }
6601
6796
  }
6602
6797
  };
6603
6798
  const checkbox = plugin__default(({ addComponents, theme }) => {
6604
- const config2 = theme(`nui.${key$H}`);
6799
+ const config2 = theme(`nui.${key$I}`);
6605
6800
  addComponents({
6606
6801
  //Wrapper
6607
6802
  ".nui-checkbox": {
@@ -6665,9 +6860,7 @@ const checkbox = plugin__default(({ addComponents, theme }) => {
6665
6860
  },
6666
6861
  //Error
6667
6862
  ".nui-checkbox-error": {
6668
- [`@apply font-${config2.error.font.family} text-${config2.error.font.size} ms-1 inline-block`]: {},
6669
- //Color
6670
- [`@apply text-${config2.error.font.color.light} dark:text-${config2.error.font.color.dark}`]: {}
6863
+ [`@apply ms-1 inline-block`]: {}
6671
6864
  },
6672
6865
  //Rounded:sm
6673
6866
  "&.nui-checkbox-rounded-sm .nui-checkbox-outer, &.nui-checkbox-rounded-sm .nui-checkbox-inner": {
@@ -6727,10 +6920,10 @@ const checkbox = plugin__default(({ addComponents, theme }) => {
6727
6920
  }
6728
6921
  }
6729
6922
  });
6730
- }, config$H);
6923
+ }, config$I);
6731
6924
 
6732
- const key$G = "drodownDivider";
6733
- const defaultConfig$F = {
6925
+ const key$H = "drodownDivider";
6926
+ const defaultConfig$G = {
6734
6927
  margin: {
6735
6928
  y: "2"
6736
6929
  },
@@ -6740,24 +6933,24 @@ const defaultConfig$F = {
6740
6933
  }
6741
6934
  };
6742
6935
 
6743
- const config$G = {
6936
+ const config$H = {
6744
6937
  theme: {
6745
6938
  nui: {
6746
- [key$G]: defaultConfig$F
6939
+ [key$H]: defaultConfig$G
6747
6940
  }
6748
6941
  }
6749
6942
  };
6750
6943
  const dropdownDivider = plugin__default(({ addComponents, theme }) => {
6751
- const config2 = theme(`nui.${key$G}`);
6944
+ const config2 = theme(`nui.${key$H}`);
6752
6945
  addComponents({
6753
6946
  ".nui-dropdown-divider": {
6754
6947
  [`@apply my-${config2.margin.y} block h-px w-full border-t border-${config2.border.light} dark:border-${config2.border.dark}`]: {}
6755
6948
  }
6756
6949
  });
6757
- }, config$G);
6950
+ }, config$H);
6758
6951
 
6759
- const key$F = "dropdownItem";
6760
- const defaultConfig$E = {
6952
+ const key$G = "dropdownItem";
6953
+ const defaultConfig$F = {
6761
6954
  align: "start",
6762
6955
  font: {
6763
6956
  family: "sans",
@@ -6853,15 +7046,15 @@ const defaultConfig$E = {
6853
7046
  }
6854
7047
  };
6855
7048
 
6856
- const config$F = {
7049
+ const config$G = {
6857
7050
  theme: {
6858
7051
  nui: {
6859
- [key$F]: defaultConfig$E
7052
+ [key$G]: defaultConfig$F
6860
7053
  }
6861
7054
  }
6862
7055
  };
6863
7056
  const dropdownItem = plugin__default(({ addComponents, theme }) => {
6864
- const config2 = theme(`nui.${key$F}`);
7057
+ const config2 = theme(`nui.${key$G}`);
6865
7058
  addComponents({
6866
7059
  //Wrapper
6867
7060
  ".nui-dropdown-item": {
@@ -6878,6 +7071,10 @@ const dropdownItem = plugin__default(({ addComponents, theme }) => {
6878
7071
  "&:not(.nui-active)": {
6879
7072
  [`@apply text-${config2.font.color.inactive.light} dark:text-${config2.font.color.inactive.dark}`]: {}
6880
7073
  },
7074
+ //Item:disabled
7075
+ "&.nui-item-disabled": {
7076
+ [`@apply opacity-50 pointer-events-none`]: {}
7077
+ },
6881
7078
  //Contrast:default
6882
7079
  "&.nui-item-default": {
6883
7080
  //Background:hover
@@ -6945,10 +7142,10 @@ const dropdownItem = plugin__default(({ addComponents, theme }) => {
6945
7142
  }
6946
7143
  }
6947
7144
  });
6948
- }, config$F);
7145
+ }, config$G);
6949
7146
 
6950
- const key$E = "dropdown";
6951
- const defaultConfig$D = {
7147
+ const key$F = "dropdown";
7148
+ const defaultConfig$E = {
6952
7149
  align: "start",
6953
7150
  button: {
6954
7151
  context: {
@@ -6995,15 +7192,6 @@ const defaultConfig$D = {
6995
7192
  duration: "300"
6996
7193
  }
6997
7194
  },
6998
- text: {
6999
- font: {
7000
- family: "sans",
7001
- color: {
7002
- light: "muted-400",
7003
- dark: "muted-400"
7004
- }
7005
- }
7006
- },
7007
7195
  chevron: {
7008
7196
  size: "4",
7009
7197
  transition: {
@@ -7081,15 +7269,15 @@ const defaultConfig$D = {
7081
7269
  }
7082
7270
  };
7083
7271
 
7084
- const config$E = {
7272
+ const config$F = {
7085
7273
  theme: {
7086
7274
  nui: {
7087
- [key$E]: defaultConfig$D
7275
+ [key$F]: defaultConfig$E
7088
7276
  }
7089
7277
  }
7090
7278
  };
7091
7279
  const dropdown = plugin__default(({ addComponents, theme }) => {
7092
- const config2 = theme(`nui.${key$E}`);
7280
+ const config2 = theme(`nui.${key$F}`);
7093
7281
  addComponents({
7094
7282
  //Wrapper
7095
7283
  ".nui-dropdown": {
@@ -7136,13 +7324,7 @@ const dropdown = plugin__default(({ addComponents, theme }) => {
7136
7324
  //Button:text
7137
7325
  ".nui-text-button": {
7138
7326
  //Base
7139
- "@apply flex items-center space-x-1": {},
7140
- //Font
7141
- [`@apply font-${config2.button.text.font.family} text-${config2.button.text.font.color.light} dark:text-${config2.button.text.font.color.dark}`]: {},
7142
- //Text:inner
7143
- ".nui-text-button-inner": {
7144
- [`@apply font-${config2.button.text.font.family}`]: {}
7145
- }
7327
+ "@apply flex items-center space-x-1": {}
7146
7328
  },
7147
7329
  //Button:chevron
7148
7330
  ".nui-chevron": {
@@ -7244,10 +7426,10 @@ const dropdown = plugin__default(({ addComponents, theme }) => {
7244
7426
  }
7245
7427
  }
7246
7428
  });
7247
- }, config$E);
7429
+ }, config$F);
7248
7430
 
7249
- const key$D = "focus";
7250
- const defaultConfig$C = {
7431
+ const key$E = "focus";
7432
+ const defaultConfig$D = {
7251
7433
  offset: "2",
7252
7434
  width: "2",
7253
7435
  style: "dashed",
@@ -7258,15 +7440,15 @@ const defaultConfig$C = {
7258
7440
  mode: "always"
7259
7441
  };
7260
7442
 
7261
- const config$D = {
7443
+ const config$E = {
7262
7444
  theme: {
7263
7445
  nui: {
7264
- [key$D]: defaultConfig$C
7446
+ [key$E]: defaultConfig$D
7265
7447
  }
7266
7448
  }
7267
7449
  };
7268
7450
  const focus = plugin__default(({ addComponents, theme }) => {
7269
- const config2 = theme(`nui.${key$D}`);
7451
+ const config2 = theme(`nui.${key$E}`);
7270
7452
  const mode = config2.mode === "focus-visible" ? "&:has(:focus-visible), &:focus-visible" : "&:focus-within";
7271
7453
  addComponents({
7272
7454
  ".nui-focus": {
@@ -7278,10 +7460,10 @@ const focus = plugin__default(({ addComponents, theme }) => {
7278
7460
  }
7279
7461
  }
7280
7462
  });
7281
- }, config$D);
7463
+ }, config$E);
7282
7464
 
7283
- const key$C = "fullscreenDropfile";
7284
- const defaultConfig$B = {
7465
+ const key$D = "fullscreenDropfile";
7466
+ const defaultConfig$C = {
7285
7467
  height: "[230px]",
7286
7468
  width: "[500px]",
7287
7469
  rounded: "rounded-md",
@@ -7316,15 +7498,15 @@ const defaultConfig$B = {
7316
7498
  }
7317
7499
  };
7318
7500
 
7319
- const config$C = {
7501
+ const config$D = {
7320
7502
  theme: {
7321
7503
  nui: {
7322
- [key$C]: defaultConfig$B
7504
+ [key$D]: defaultConfig$C
7323
7505
  }
7324
7506
  }
7325
7507
  };
7326
7508
  const fullscreenDropfile = plugin__default(({ addComponents, theme }) => {
7327
- const config2 = theme(`nui.${key$C}`);
7509
+ const config2 = theme(`nui.${key$D}`);
7328
7510
  addComponents({
7329
7511
  //Wrapper
7330
7512
  ".nui-fullscreen-dropfile": {
@@ -7397,10 +7579,10 @@ const fullscreenDropfile = plugin__default(({ addComponents, theme }) => {
7397
7579
  }
7398
7580
  }
7399
7581
  });
7400
- }, config$C);
7582
+ }, config$D);
7401
7583
 
7402
- const key$B = "heading";
7403
- const defaultConfig$A = {
7584
+ const key$C = "heading";
7585
+ const defaultConfig$B = {
7404
7586
  size: {
7405
7587
  xs: "xs",
7406
7588
  sm: "sm",
@@ -7433,15 +7615,15 @@ const defaultConfig$A = {
7433
7615
  }
7434
7616
  };
7435
7617
 
7436
- const config$B = {
7618
+ const config$C = {
7437
7619
  theme: {
7438
7620
  nui: {
7439
- [key$B]: defaultConfig$A
7621
+ [key$C]: defaultConfig$B
7440
7622
  }
7441
7623
  }
7442
7624
  };
7443
7625
  const heading = plugin__default(({ addComponents, theme }) => {
7444
- const config2 = theme(`nui.${key$B}`);
7626
+ const config2 = theme(`nui.${key$C}`);
7445
7627
  addComponents({
7446
7628
  ".nui-heading": {
7447
7629
  "@apply font-sans": {},
@@ -7522,10 +7704,10 @@ const heading = plugin__default(({ addComponents, theme }) => {
7522
7704
  }
7523
7705
  }
7524
7706
  });
7525
- }, config$B);
7707
+ }, config$C);
7526
7708
 
7527
- const key$A = "iconBox";
7528
- const defaultConfig$z = {
7709
+ const key$B = "iconBox";
7710
+ const defaultConfig$A = {
7529
7711
  bordered: {
7530
7712
  border: {
7531
7713
  size: "2",
@@ -7615,6 +7797,30 @@ const defaultConfig$z = {
7615
7797
  }
7616
7798
  }
7617
7799
  },
7800
+ muted: {
7801
+ background: {
7802
+ light: "muted-200",
7803
+ dark: "muted-700"
7804
+ },
7805
+ font: {
7806
+ color: {
7807
+ light: "muted-700",
7808
+ dark: "muted-200"
7809
+ }
7810
+ }
7811
+ },
7812
+ mutedContrast: {
7813
+ background: {
7814
+ light: "muted-200",
7815
+ dark: "muted-950"
7816
+ },
7817
+ font: {
7818
+ color: {
7819
+ light: "muted-700",
7820
+ dark: "muted-100"
7821
+ }
7822
+ }
7823
+ },
7618
7824
  light: {
7619
7825
  background: {
7620
7826
  light: "white",
@@ -7737,6 +7943,30 @@ const defaultConfig$z = {
7737
7943
  }
7738
7944
  }
7739
7945
  },
7946
+ muted: {
7947
+ background: {
7948
+ light: "muted-600/10",
7949
+ dark: "muted-700/10"
7950
+ },
7951
+ font: {
7952
+ color: {
7953
+ light: "muted-700",
7954
+ dark: "muted-200"
7955
+ }
7956
+ }
7957
+ },
7958
+ mutedContrast: {
7959
+ background: {
7960
+ light: "muted-600/10",
7961
+ dark: "muted-950/10"
7962
+ },
7963
+ font: {
7964
+ color: {
7965
+ light: "muted-700",
7966
+ dark: "muted-100"
7967
+ }
7968
+ }
7969
+ },
7740
7970
  light: {
7741
7971
  background: {
7742
7972
  light: "white/10",
@@ -7867,6 +8097,38 @@ const defaultConfig$z = {
7867
8097
  }
7868
8098
  }
7869
8099
  },
8100
+ muted: {
8101
+ background: {
8102
+ light: "transparent",
8103
+ dark: "transparent"
8104
+ },
8105
+ border: {
8106
+ light: "current",
8107
+ dark: "current"
8108
+ },
8109
+ font: {
8110
+ color: {
8111
+ light: "muted-700",
8112
+ dark: "muted-200"
8113
+ }
8114
+ }
8115
+ },
8116
+ mutedContrast: {
8117
+ background: {
8118
+ light: "transparent",
8119
+ dark: "transparent"
8120
+ },
8121
+ border: {
8122
+ light: "current",
8123
+ dark: "current"
8124
+ },
8125
+ font: {
8126
+ color: {
8127
+ light: "muted-700",
8128
+ dark: "muted-100"
8129
+ }
8130
+ }
8131
+ },
7870
8132
  light: {
7871
8133
  background: {
7872
8134
  light: "transparent",
@@ -8000,15 +8262,15 @@ const defaultConfig$z = {
8000
8262
  }
8001
8263
  };
8002
8264
 
8003
- const config$A = {
8265
+ const config$B = {
8004
8266
  theme: {
8005
8267
  nui: {
8006
- [key$A]: defaultConfig$z
8268
+ [key$B]: defaultConfig$A
8007
8269
  }
8008
8270
  }
8009
8271
  };
8010
8272
  const iconBox = plugin__default(({ addComponents, theme }) => {
8011
- const config2 = theme(`nui.${key$A}`);
8273
+ const config2 = theme(`nui.${key$B}`);
8012
8274
  addComponents({
8013
8275
  //Wrapper
8014
8276
  ".nui-icon-box": {
@@ -8136,6 +8398,20 @@ const iconBox = plugin__default(({ addComponents, theme }) => {
8136
8398
  //Background
8137
8399
  [`@apply bg-${config2.color.variant.solid.defaultContrast.background.light} dark:bg-${config2.color.variant.solid.defaultContrast.background.dark}`]: {}
8138
8400
  },
8401
+ //Color:muted
8402
+ "&.nui-box-muted": {
8403
+ //Font
8404
+ [`@apply text-${config2.color.variant.solid.muted.font.color.light} dark:text-${config2.color.variant.solid.muted.font.color.dark}`]: {},
8405
+ //Background
8406
+ [`@apply bg-${config2.color.variant.solid.muted.background.light} dark:bg-${config2.color.variant.solid.muted.background.dark}`]: {}
8407
+ },
8408
+ //Color:muted-contrast
8409
+ "&.nui-box-muted-contrast": {
8410
+ //Font
8411
+ [`@apply text-${config2.color.variant.solid.mutedContrast.font.color.light} dark:text-${config2.color.variant.solid.mutedContrast.font.color.dark}`]: {},
8412
+ //Background
8413
+ [`@apply bg-${config2.color.variant.solid.mutedContrast.background.light} dark:bg-${config2.color.variant.solid.mutedContrast.background.dark}`]: {}
8414
+ },
8139
8415
  //Color:light
8140
8416
  "&.nui-box-light": {
8141
8417
  //Font
@@ -8209,6 +8485,20 @@ const iconBox = plugin__default(({ addComponents, theme }) => {
8209
8485
  //Background
8210
8486
  [`@apply bg-${config2.color.variant.pastel.defaultContrast.background.light} dark:bg-${config2.color.variant.pastel.defaultContrast.background.dark}`]: {}
8211
8487
  },
8488
+ //Color:muted
8489
+ "&.nui-box-muted": {
8490
+ //Font
8491
+ [`@apply text-${config2.color.variant.pastel.muted.font.color.light} dark:text-${config2.color.variant.pastel.muted.font.color.dark}`]: {},
8492
+ //Background
8493
+ [`@apply bg-${config2.color.variant.pastel.muted.background.light} dark:bg-${config2.color.variant.pastel.muted.background.dark}`]: {}
8494
+ },
8495
+ //Color:muted-contrast
8496
+ "&.nui-box-muted-contrast": {
8497
+ //Font
8498
+ [`@apply text-${config2.color.variant.pastel.mutedContrast.font.color.light} dark:text-${config2.color.variant.pastel.mutedContrast.font.color.dark}`]: {},
8499
+ //Background
8500
+ [`@apply bg-${config2.color.variant.pastel.mutedContrast.background.light} dark:bg-${config2.color.variant.pastel.mutedContrast.background.dark}`]: {}
8501
+ },
8212
8502
  //Color:light
8213
8503
  "&.nui-box-light": {
8214
8504
  //Font
@@ -8286,6 +8576,24 @@ const iconBox = plugin__default(({ addComponents, theme }) => {
8286
8576
  //Border
8287
8577
  [`@apply border-2 border-${config2.color.variant.outline.defaultContrast.border.light} dark:border-${config2.color.variant.outline.defaultContrast.border.dark}`]: {}
8288
8578
  },
8579
+ //Color:muted
8580
+ "&.nui-box-muted": {
8581
+ //Font
8582
+ [`@apply text-${config2.color.variant.outline.muted.font.color.light} dark:text-${config2.color.variant.outline.muted.font.color.dark}`]: {},
8583
+ //Background
8584
+ [`@apply bg-${config2.color.variant.outline.muted.background.light} bg-${config2.color.variant.outline.muted.background.dark}`]: {},
8585
+ //Border
8586
+ [`@apply border-2 border-${config2.color.variant.outline.muted.border.light} dark:border-${config2.color.variant.outline.muted.border.dark}`]: {}
8587
+ },
8588
+ //Color:muted-contrast
8589
+ "&.nui-box-muted-contrast": {
8590
+ //Font
8591
+ [`@apply text-${config2.color.variant.outline.mutedContrast.font.color.light} dark:text-${config2.color.variant.outline.mutedContrast.font.color.dark}`]: {},
8592
+ //Background
8593
+ [`@apply bg-${config2.color.variant.outline.mutedContrast.background.light} bg-${config2.color.variant.outline.mutedContrast.background.dark}`]: {},
8594
+ //Border
8595
+ [`@apply border-2 border-${config2.color.variant.outline.mutedContrast.border.light} dark:border-${config2.color.variant.outline.mutedContrast.border.dark}`]: {}
8596
+ },
8289
8597
  //Color:light
8290
8598
  "&.nui-box-light": {
8291
8599
  //Font
@@ -8369,10 +8677,10 @@ const iconBox = plugin__default(({ addComponents, theme }) => {
8369
8677
  }
8370
8678
  }
8371
8679
  });
8372
- }, config$A);
8680
+ }, config$B);
8373
8681
 
8374
- const key$z = "inputFileRegular";
8375
- const defaultConfig$y = {
8682
+ const key$A = "inputFileRegular";
8683
+ const defaultConfig$z = {
8376
8684
  font: {
8377
8685
  color: {
8378
8686
  light: "muted-400",
@@ -8569,15 +8877,15 @@ const defaultConfig$y = {
8569
8877
  }
8570
8878
  };
8571
8879
 
8572
- const config$z = {
8880
+ const config$A = {
8573
8881
  theme: {
8574
8882
  nui: {
8575
- [key$z]: defaultConfig$y
8883
+ [key$A]: defaultConfig$z
8576
8884
  }
8577
8885
  }
8578
8886
  };
8579
8887
  const inputFileRegular = plugin__default(({ addComponents, theme }) => {
8580
- const config2 = theme(`nui.${key$z}`);
8888
+ const config2 = theme(`nui.${key$A}`);
8581
8889
  addComponents({
8582
8890
  //Wrapper
8583
8891
  ".nui-input-file-regular": {
@@ -8620,13 +8928,6 @@ const inputFileRegular = plugin__default(({ addComponents, theme }) => {
8620
8928
  "@apply h-3 w-full max-w-[75%] rounded": {}
8621
8929
  }
8622
8930
  },
8623
- //Input:error
8624
- ".nui-input-file-error-text": {
8625
- //Base
8626
- [`@apply mt-1 block font-${config2.error.font.family} text-${config2.error.font.size} font-${config2.error.font.weight} leading-none`]: {},
8627
- //Color
8628
- [`@apply text-${config2.error.font.color.light} dark:text-${config2.error.font.color.dark}`]: {}
8629
- },
8630
8931
  //Color:default
8631
8932
  "&.nui-input-default": {
8632
8933
  //Input:inner
@@ -8821,10 +9122,10 @@ const inputFileRegular = plugin__default(({ addComponents, theme }) => {
8821
9122
  }
8822
9123
  }
8823
9124
  });
8824
- }, config$z);
9125
+ }, config$A);
8825
9126
 
8826
- const key$y = "inputFile";
8827
- const defaultConfig$x = {
9127
+ const key$z = "inputFile";
9128
+ const defaultConfig$y = {
8828
9129
  drop: {
8829
9130
  height: "64",
8830
9131
  border: {
@@ -9076,15 +9377,15 @@ const defaultConfig$x = {
9076
9377
  }
9077
9378
  };
9078
9379
 
9079
- const config$y = {
9380
+ const config$z = {
9080
9381
  theme: {
9081
9382
  nui: {
9082
- [key$y]: defaultConfig$x
9383
+ [key$z]: defaultConfig$y
9083
9384
  }
9084
9385
  }
9085
9386
  };
9086
9387
  const inputFile = plugin__default(({ addComponents, theme }) => {
9087
- const config2 = theme(`nui.${key$y}`);
9388
+ const config2 = theme(`nui.${key$z}`);
9088
9389
  addComponents({
9089
9390
  //Wrapper
9090
9391
  ".nui-input-file": {
@@ -9359,10 +9660,10 @@ const inputFile = plugin__default(({ addComponents, theme }) => {
9359
9660
  }
9360
9661
  }
9361
9662
  });
9362
- }, config$y);
9663
+ }, config$z);
9363
9664
 
9364
- const key$x = "input";
9365
- const defaultConfig$w = {
9665
+ const key$y = "input";
9666
+ const defaultConfig$x = {
9366
9667
  rounded: {
9367
9668
  none: "rounded-none",
9368
9669
  sm: "rounded-md",
@@ -9724,15 +10025,15 @@ const defaultConfig$w = {
9724
10025
  }
9725
10026
  };
9726
10027
 
9727
- const config$x = {
10028
+ const config$y = {
9728
10029
  theme: {
9729
10030
  nui: {
9730
- [key$x]: defaultConfig$w
10031
+ [key$y]: defaultConfig$x
9731
10032
  }
9732
10033
  }
9733
10034
  };
9734
10035
  const input = plugin__default(({ addComponents, theme }) => {
9735
- const config2 = theme(`nui.${key$x}`);
10036
+ const config2 = theme(`nui.${key$y}`);
9736
10037
  addComponents({
9737
10038
  //Wrapper
9738
10039
  ".nui-input-wrapper": {
@@ -9761,15 +10062,6 @@ const input = plugin__default(({ addComponents, theme }) => {
9761
10062
  //Transition
9762
10063
  [`@apply transition-${config2.input.icon.transition.property} duration-${config2.input.icon.transition.duration}`]: {}
9763
10064
  },
9764
- //Error:text
9765
- ".nui-input-error-text": {
9766
- //Base
9767
- "@apply mt-1 block": {},
9768
- //Font
9769
- [`@apply font-${config2.error.font.family} text-${config2.error.font.size} font-${config2.error.font.weight} leading-none`]: {},
9770
- //Font color
9771
- [`@apply text-${config2.error.font.color.light} dark:text-${config2.error.font.color.dark}`]: {}
9772
- },
9773
10065
  //Input
9774
10066
  ".nui-input": {
9775
10067
  //Base
@@ -10128,10 +10420,10 @@ const input = plugin__default(({ addComponents, theme }) => {
10128
10420
  }
10129
10421
  }
10130
10422
  });
10131
- }, config$x);
10423
+ }, config$y);
10132
10424
 
10133
- const key$w = "inputNumber";
10134
- const defaultConfig$v = {
10425
+ const key$x = "inputNumber";
10426
+ const defaultConfig$w = {
10135
10427
  rounded: {
10136
10428
  none: "rounded-none",
10137
10429
  sm: "rounded-md",
@@ -10502,15 +10794,15 @@ const defaultConfig$v = {
10502
10794
  }
10503
10795
  };
10504
10796
 
10505
- const config$w = {
10797
+ const config$x = {
10506
10798
  theme: {
10507
10799
  nui: {
10508
- [key$w]: defaultConfig$v
10800
+ [key$x]: defaultConfig$w
10509
10801
  }
10510
10802
  }
10511
10803
  };
10512
10804
  const inputNumber = plugin__default(({ addComponents, theme }) => {
10513
- const config2 = theme(`nui.${key$w}`);
10805
+ const config2 = theme(`nui.${key$x}`);
10514
10806
  addComponents({
10515
10807
  //Wrapper
10516
10808
  ".nui-input-number-wrapper": {
@@ -10556,15 +10848,6 @@ const inputNumber = plugin__default(({ addComponents, theme }) => {
10556
10848
  ".nui-input-number-buttons svg": {
10557
10849
  "@apply h-4 w-4": {}
10558
10850
  },
10559
- //Error:text
10560
- ".nui-input-number-error-text": {
10561
- //Base
10562
- "@apply mt-1 block": {},
10563
- //Font
10564
- [`@apply font-${config2.error.font.family} text-${config2.error.font.size} font-${config2.error.font.weight} leading-none`]: {},
10565
- //Font color
10566
- [`@apply text-${config2.error.font.color.light} dark:text-${config2.error.font.color.dark}`]: {}
10567
- },
10568
10851
  //Input
10569
10852
  ".nui-input-number": {
10570
10853
  //Base
@@ -10846,37 +11129,37 @@ const inputNumber = plugin__default(({ addComponents, theme }) => {
10846
11129
  //Without icon && Size:sm
10847
11130
  "&:not(.nui-has-icon).nui-input-number-sm": {
10848
11131
  ".nui-input-number": {
10849
- [`@apply h-8 py-1 text-${config2.icon.disabled.input.sm.font.size} leading-4 px-2`]: {}
11132
+ [`@apply h-8 py-1 text-${config2.icon.disabled.input.sm.font.size} leading-4 ps-2 pe-[3.75rem]`]: {}
10850
11133
  }
10851
11134
  },
10852
11135
  //With icon && Size:sm
10853
11136
  "&.nui-has-icon.nui-input-number-sm": {
10854
11137
  ".nui-input-number": {
10855
- [`@apply h-8 py-1 text-${config2.icon.enabled.input.sm.font.size} leading-4 pe-3 ps-8`]: {}
11138
+ [`@apply h-8 py-1 text-${config2.icon.enabled.input.sm.font.size} leading-4 ps-8 pe-[3.75rem]`]: {}
10856
11139
  }
10857
11140
  },
10858
11141
  //Without icon && Size:md
10859
11142
  "&:not(.nui-has-icon).nui-input-number-md": {
10860
11143
  ".nui-input-number": {
10861
- [`@apply h-10 py-2 text-${config2.icon.disabled.input.md.font.size} leading-5 px-3`]: {}
11144
+ [`@apply h-10 py-2 text-${config2.icon.disabled.input.md.font.size} leading-5 ps-3 pe-[4.75rem]`]: {}
10862
11145
  }
10863
11146
  },
10864
11147
  //With icon && Size:md
10865
11148
  "&.nui-has-icon.nui-input-number-md": {
10866
11149
  ".nui-input-number": {
10867
- [`@apply h-10 py-2 text-${config2.icon.enabled.input.md.font.size} leading-5 pe-4 ps-10`]: {}
11150
+ [`@apply h-10 py-2 text-${config2.icon.enabled.input.md.font.size} leading-5 ps-10 pe-[4.75rem]`]: {}
10868
11151
  }
10869
11152
  },
10870
11153
  //Without icon && Size:lg
10871
11154
  "&:not(.nui-has-icon).nui-input-number-lg": {
10872
11155
  ".nui-input-number": {
10873
- [`@apply h-12 py-2 text-${config2.icon.disabled.input.lg.font.size} leading-5 px-4`]: {}
11156
+ [`@apply h-12 py-2 text-${config2.icon.disabled.input.lg.font.size} leading-5 ps-4 pe-24`]: {}
10874
11157
  }
10875
11158
  },
10876
11159
  //With icon && Size:lg
10877
11160
  "&.nui-has-icon.nui-input-number-lg": {
10878
11161
  ".nui-input-number": {
10879
- [`@apply h-12 py-2 text-${config2.icon.enabled.input.lg.font.size} leading-5 pe-4 ps-11`]: {}
11162
+ [`@apply h-12 py-2 text-${config2.icon.enabled.input.lg.font.size} leading-5 ps-11 pe-24`]: {}
10880
11163
  }
10881
11164
  },
10882
11165
  //With action && Size:sm
@@ -10971,6 +11254,34 @@ const inputNumber = plugin__default(({ addComponents, theme }) => {
10971
11254
  }
10972
11255
  }
10973
11256
  });
11257
+ }, config$x);
11258
+
11259
+ const key$w = "inputHelpText";
11260
+ const defaultConfig$v = {
11261
+ font: {
11262
+ family: "sans",
11263
+ size: "[0.65rem]",
11264
+ weight: "medium"
11265
+ }
11266
+ };
11267
+
11268
+ const config$w = {
11269
+ theme: {
11270
+ nui: {
11271
+ [key$w]: defaultConfig$v
11272
+ }
11273
+ }
11274
+ };
11275
+ const inputHelpText = plugin__default(({ addComponents, theme }) => {
11276
+ const config2 = theme(`nui.${key$w}`);
11277
+ addComponents({
11278
+ ".nui-input-help-text": {
11279
+ //Base
11280
+ "@apply mt-1 block": {},
11281
+ //Font
11282
+ [`@apply font-${config2.font.family} text-${config2.font.size} font-${config2.font.weight} leading-none`]: {}
11283
+ }
11284
+ });
10974
11285
  }, config$w);
10975
11286
 
10976
11287
  const key$v = "kbd";
@@ -12047,15 +12358,6 @@ const listbox = plugin__default(({ addComponents, theme }) => {
12047
12358
  [`@apply bg-${config2.option.activeHover.background.light} dark:bg-${config2.option.activeHover.background.dark}`]: {}
12048
12359
  }
12049
12360
  },
12050
- //Listbox:error
12051
- ".nui-listbox-error-text": {
12052
- //Base
12053
- "@apply mt-1 block": {},
12054
- //Font
12055
- [`@apply font-${config2.error.font.family} text-${config2.error.font.size} font-${config2.error.font.weight} leading-none`]: {},
12056
- //Color
12057
- [`@apply text-${config2.error.font.color.light} dark:text-${config2.error.font.color.dark}`]: {}
12058
- },
12059
12361
  //Listbox:placeload
12060
12362
  ".nui-listbox-placeload.nui-loading-placeload": {
12061
12363
  "@apply absolute start-0 top-0 flex w-full items-center px-4": {},
@@ -12725,6 +13027,9 @@ const messageText = plugin__default(({ addComponents, theme }) => {
12725
13027
 
12726
13028
  const key$n = "message";
12727
13029
  const defaultConfig$m = {
13030
+ safeArea: {
13031
+ end: "6"
13032
+ },
12728
13033
  icon: {
12729
13034
  outer: {
12730
13035
  size: "10"
@@ -12755,8 +13060,21 @@ const defaultConfig$m = {
12755
13060
  icon: {
12756
13061
  size: "4"
12757
13062
  },
13063
+ position: {
13064
+ top: "[-0.5rem]",
13065
+ end: "[-0.5rem]"
13066
+ },
13067
+ size: {
13068
+ outer: {
13069
+ width: "8",
13070
+ height: "8"
13071
+ },
13072
+ inner: {
13073
+ width: "6",
13074
+ height: "6"
13075
+ }
13076
+ },
12758
13077
  rounded: "rounded-full",
12759
- padding: "1",
12760
13078
  transition: {
12761
13079
  property: "colors",
12762
13080
  duration: "200"
@@ -13319,7 +13637,7 @@ const message = plugin__default(({ addComponents, theme }) => {
13319
13637
  addComponents({
13320
13638
  //Wrapper
13321
13639
  ".nui-message": {
13322
- "@apply flex min-h-[3rem] items-center border p-1 pe-2": {},
13640
+ "@apply relative flex gap-2 border": {},
13323
13641
  //Icon:outer
13324
13642
  ".nui-message-icon-outer": {
13325
13643
  [`@apply flex h-${config2.icon.outer.size} w-${config2.icon.outer.size} shrink-0 items-center justify-center`]: {},
@@ -13334,15 +13652,19 @@ const message = plugin__default(({ addComponents, theme }) => {
13334
13652
  //Inner:text
13335
13653
  ".nui-message-inner-text": {
13336
13654
  //Base
13337
- "@apply px-3 block": {},
13655
+ "@apply inline-flex items-center leading-normal": {},
13338
13656
  //Font
13339
13657
  [`@apply font-${config2.inner.font.family} text-${config2.inner.font.size}`]: {},
13340
13658
  //Color
13341
13659
  [`@apply text-${config2.inner.font.color.light} dark:text-${config2.inner.font.color.dark}`]: {}
13342
13660
  },
13343
- //Meesage:close
13661
+ //Message:close
13662
+ ".nui-message-close-wrapper": {
13663
+ [`@apply absolute top-${config2.close.position.top} end-${config2.close.position.end} flex items-center justify-center bg-white dark:bg-muted-950 border border-muted-200 dark:border-muted-800 ${config2.close.rounded} h-${config2.close.size.outer.height} w-${config2.close.size.outer.width}`]: {}
13664
+ },
13665
+ //Message:close
13344
13666
  ".nui-message-close": {
13345
- [`@apply nui-focus me-2 ms-auto flex cursor-pointer items-center justify-center p-${config2.close.padding} ${config2.close.rounded}`]: {},
13667
+ [`@apply nui-focus flex cursor-pointer items-center justify-center shrink-0 h-${config2.close.size.inner.height} w-${config2.close.size.inner.width} ${config2.close.rounded}`]: {},
13346
13668
  //Color
13347
13669
  [`@apply text-${config2.close.color.light} dark:text-${config2.close.color.dark}`]: {},
13348
13670
  //Transition
@@ -13352,6 +13674,14 @@ const message = plugin__default(({ addComponents, theme }) => {
13352
13674
  [`@apply h-${config2.close.icon.size} w-${config2.close.icon.size}`]: {}
13353
13675
  }
13354
13676
  },
13677
+ //Message:text
13678
+ "&.nui-has-text": {
13679
+ [`@apply py-2 ps-2 pe-${config2.safeArea.end}`]: {}
13680
+ },
13681
+ //Message:icon
13682
+ "&.nui-has-icon": {
13683
+ [`@apply py-1 ps-1 pe-${config2.safeArea.end}`]: {}
13684
+ },
13355
13685
  //Rounded:sm
13356
13686
  "&.nui-message-rounded-sm": {
13357
13687
  [`@apply ${config2.rounded.sm}`]: {},
@@ -14778,9 +15108,7 @@ const radio = plugin__default(({ addComponents, theme }) => {
14778
15108
  },
14779
15109
  //Radio:error
14780
15110
  ".nui-radio-error": {
14781
- "@apply ms-1 inline-block": {},
14782
- //Font
14783
- [`@apply font-${config2.error.font.family} text-${config2.error.font.size} text-${config2.error.font.color.light} dark:text-${config2.error.font.color.dark}`]: {}
15111
+ "@apply ms-1 inline-block": {}
14784
15112
  },
14785
15113
  //Color:default
14786
15114
  "&.nui-radio-default": {
@@ -15244,15 +15572,6 @@ const select = plugin__default(({ addComponents, theme }) => {
15244
15572
  //Transition
15245
15573
  [`@apply transition-${config2.select.icon.transition.property} duration-${config2.select.icon.transition.duration}`]: {}
15246
15574
  },
15247
- //Error:text
15248
- ".nui-select-error-text": {
15249
- //Base
15250
- "@apply mt-1 block": {},
15251
- //Font
15252
- [`@apply font-${config2.error.font.family} text-${config2.error.font.size} font-${config2.error.font.weight} leading-none`]: {},
15253
- //Font color
15254
- [`@apply text-${config2.error.font.color.light} dark:text-${config2.error.font.color.dark}`]: {}
15255
- },
15256
15575
  //Select
15257
15576
  ".nui-select": {
15258
15577
  //Base
@@ -15610,6 +15929,7 @@ const select = plugin__default(({ addComponents, theme }) => {
15610
15929
  const key$c = "slimscroll";
15611
15930
  const defaultConfig$b = {
15612
15931
  width: "[6px]",
15932
+ height: "[6px]",
15613
15933
  background: {
15614
15934
  base: {
15615
15935
  light: "black/5",
@@ -15635,7 +15955,7 @@ const slimscroll = plugin__default(({ addComponents, theme }) => {
15635
15955
  ".nui-slimscroll::-webkit-scrollbar, .nui-slimscroll-opaque::-webkit-scrollbar": {
15636
15956
  scrollBehavior: "smooth",
15637
15957
  scrollbarGutter: "stable",
15638
- [`@apply w-${config2.width}`]: {}
15958
+ [`@apply w-${config2.width} h-${config2.height}`]: {}
15639
15959
  },
15640
15960
  ".nui-slimscroll::-webkit-scrollbar-thumb": {
15641
15961
  [`@apply rounded-lg bg-${config2.background.base.light} dark:bg-${config2.background.base.dark} duration-300 transition-all`]: {}
@@ -15819,10 +16139,6 @@ const snack = plugin__default(({ addComponents, theme }) => {
15819
16139
  //Color
15820
16140
  [`@apply text-${config2.font.color.light} dark:text-${config2.font.color.dark}`]: {}
15821
16141
  },
15822
- //Snack:button
15823
- ".nui-snack-button": {
15824
- "@apply hover:!bg-transparent": {}
15825
- },
15826
16142
  //Size:xs
15827
16143
  "&.nui-snack-xs": {
15828
16144
  //Snack:media:xs
@@ -18765,15 +19081,6 @@ const textarea = plugin__default(({ addComponents, theme }) => {
18765
19081
  [`@apply transition-${config2.textarea.transition.property} duration-${config2.textarea.transition.duration}`]: {}
18766
19082
  }
18767
19083
  },
18768
- //Error:text
18769
- ".nui-textarea-error-text": {
18770
- //Base
18771
- "@apply mt-1 block": {},
18772
- //Font
18773
- [`@apply font-${config2.error.font.family} text-${config2.error.font.size} font-${config2.error.font.weight} leading-none`]: {},
18774
- //Font color
18775
- [`@apply text-${config2.error.font.color.light} dark:text-${config2.error.font.color.dark}`]: {}
18776
- },
18777
19084
  //Textrea:placeload
18778
19085
  ".nui-textarea-placeload": {
18779
19086
  [`@apply absolute start-0 top-4 flex h-${config2.textarea.placeload.size} w-${config2.textarea.placeload.size} flex-col space-y-${config2.textarea.placeload.space} px-3`]: {},
@@ -19826,7 +20133,7 @@ const tooltip = plugin__default(({ addComponents, theme }) => {
19826
20133
  borderRadius: "0.5ch",
19827
20134
  zIndex: "1000",
19828
20135
  [`@apply font-${config2.font.family} text-xs shadow-lg`]: {},
19829
- [`@apply text-${config2.font.color.light} dark:text-${config2.font.color.light}`]: {},
20136
+ [`@apply text-${config2.font.color.light} dark:text-${config2.font.color.dark}`]: {},
19830
20137
  [`@apply !bg-${config2.background.light} dark:!bg-${config2.background.dark}`]: {}
19831
20138
  },
19832
20139
  [`[${tooltip}]:hover::before, [${tooltip}]:hover::after, [${tooltip}]:focus-visible::before, [${tooltip}]:focus-visible::after`]: {
@@ -19840,7 +20147,7 @@ const tooltip = plugin__default(({ addComponents, theme }) => {
19840
20147
  bottom: "calc(100% + 8px)",
19841
20148
  borderBottomWidth: "0",
19842
20149
  borderTopColor: "currentColor",
19843
- [`@apply !text-${config2.background.light} dark:!text-${config2.background.light}`]: {}
20150
+ [`@apply !text-${config2.background.light} dark:!text-${config2.background.dark}`]: {}
19844
20151
  },
19845
20152
  [`[${tooltip}]:not([${position}])::after, [${tooltip}][${position}^='up']::after`]: {
19846
20153
  bottom: "calc(100% + 13px)"
@@ -19956,6 +20263,7 @@ const components = mergePlugins([
19956
20263
  inputFile,
19957
20264
  input,
19958
20265
  inputNumber,
20266
+ inputHelpText,
19959
20267
  kbd,
19960
20268
  label,
19961
20269
  link,
@@ -20105,6 +20413,7 @@ exports.iconBox = iconBox;
20105
20413
  exports.input = input;
20106
20414
  exports.inputFile = inputFile;
20107
20415
  exports.inputFileRegular = inputFileRegular;
20416
+ exports.inputHelpText = inputHelpText;
20108
20417
  exports.inputNumber = inputNumber;
20109
20418
  exports.kbd = kbd;
20110
20419
  exports.label = label;