@shuriken-ui/tailwind 3.0.0 → 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
  };
@@ -3898,7 +3997,7 @@ const buttonGroup = plugin__default(
3898
3997
  '.nui-button-group, [role="group"]': {
3899
3998
  "@apply flex": {},
3900
3999
  // Button
3901
- ".nui-button:not(:only-child), .nui-button-action:not(:only-child), .nui-button-icon:not(:only-child)": {
4000
+ "> .nui-button:not(:only-child), > .nui-button-action:not(:only-child), > .nui-button-icon:not(:only-child)": {
3902
4001
  "@apply !border-e-0": {},
3903
4002
  "&:focus": {
3904
4003
  "@apply !z-10 relative": {}
@@ -4082,11 +4181,11 @@ const buttonGroup = plugin__default(
4082
4181
  }
4083
4182
  }
4084
4183
  }),
4085
- config$L
4184
+ config$M
4086
4185
  );
4087
4186
 
4088
- const key$K = "buttonIcon";
4089
- const defaultConfig$J = {
4187
+ const key$L = "buttonIcon";
4188
+ const defaultConfig$K = {
4090
4189
  font: {
4091
4190
  family: "sans",
4092
4191
  size: "sm",
@@ -4344,15 +4443,15 @@ const defaultConfig$J = {
4344
4443
  }
4345
4444
  };
4346
4445
 
4347
- const config$K = {
4446
+ const config$L = {
4348
4447
  theme: {
4349
4448
  nui: {
4350
- [key$K]: defaultConfig$J
4449
+ [key$L]: defaultConfig$K
4351
4450
  }
4352
4451
  }
4353
4452
  };
4354
4453
  const buttonIcon = plugin__default(({ addComponents, theme }) => {
4355
- const config2 = theme(`nui.${key$K}`);
4454
+ const config2 = theme(`nui.${key$L}`);
4356
4455
  addComponents({
4357
4456
  ".nui-button-icon": {
4358
4457
  //Base
@@ -4507,10 +4606,10 @@ const buttonIcon = plugin__default(({ addComponents, theme }) => {
4507
4606
  }
4508
4607
  }
4509
4608
  });
4510
- }, config$K);
4609
+ }, config$L);
4511
4610
 
4512
- const key$J = "button";
4513
- const defaultConfig$I = {
4611
+ const key$K = "button";
4612
+ const defaultConfig$J = {
4514
4613
  font: {
4515
4614
  family: "sans",
4516
4615
  weight: "normal"
@@ -5561,15 +5660,15 @@ const defaultConfig$I = {
5561
5660
  }
5562
5661
  };
5563
5662
 
5564
- const config$J = {
5663
+ const config$K = {
5565
5664
  theme: {
5566
5665
  nui: {
5567
- button: defaultConfig$I
5666
+ button: defaultConfig$J
5568
5667
  }
5569
5668
  }
5570
5669
  };
5571
5670
  const button = plugin__default(({ addComponents, theme }) => {
5572
- const config2 = theme(`nui.${key$J}`);
5671
+ const config2 = theme(`nui.${key$K}`);
5573
5672
  addComponents({
5574
5673
  ".nui-button": {
5575
5674
  // #region Base
@@ -6337,10 +6436,10 @@ const button = plugin__default(({ addComponents, theme }) => {
6337
6436
  // #endregion
6338
6437
  }
6339
6438
  });
6340
- }, config$J);
6439
+ }, config$K);
6341
6440
 
6342
- const key$I = "card";
6343
- const defaultConfig$H = {
6441
+ const key$J = "card";
6442
+ const defaultConfig$I = {
6344
6443
  width: "full",
6345
6444
  rounded: {
6346
6445
  none: "none",
@@ -6471,15 +6570,15 @@ const defaultConfig$H = {
6471
6570
  }
6472
6571
  };
6473
6572
 
6474
- const config$I = {
6573
+ const config$J = {
6475
6574
  theme: {
6476
6575
  nui: {
6477
- [key$I]: defaultConfig$H
6576
+ [key$J]: defaultConfig$I
6478
6577
  }
6479
6578
  }
6480
6579
  };
6481
6580
  const card = plugin__default(({ addComponents, theme }) => {
6482
- const config2 = theme(`nui.${key$I}`);
6581
+ const config2 = theme(`nui.${key$J}`);
6483
6582
  addComponents({
6484
6583
  ".nui-card": {
6485
6584
  //Base
@@ -6584,10 +6683,10 @@ const card = plugin__default(({ addComponents, theme }) => {
6584
6683
  }
6585
6684
  }
6586
6685
  });
6587
- }, config$I);
6686
+ }, config$J);
6588
6687
 
6589
- const key$H = "checkbox";
6590
- const defaultConfig$G = {
6688
+ const key$I = "checkbox";
6689
+ const defaultConfig$H = {
6591
6690
  rounded: {
6592
6691
  sm: "rounded",
6593
6692
  md: "rounded-md",
@@ -6689,15 +6788,15 @@ const defaultConfig$G = {
6689
6788
  }
6690
6789
  };
6691
6790
 
6692
- const config$H = {
6791
+ const config$I = {
6693
6792
  theme: {
6694
6793
  nui: {
6695
- [key$H]: defaultConfig$G
6794
+ [key$I]: defaultConfig$H
6696
6795
  }
6697
6796
  }
6698
6797
  };
6699
6798
  const checkbox = plugin__default(({ addComponents, theme }) => {
6700
- const config2 = theme(`nui.${key$H}`);
6799
+ const config2 = theme(`nui.${key$I}`);
6701
6800
  addComponents({
6702
6801
  //Wrapper
6703
6802
  ".nui-checkbox": {
@@ -6761,9 +6860,7 @@ const checkbox = plugin__default(({ addComponents, theme }) => {
6761
6860
  },
6762
6861
  //Error
6763
6862
  ".nui-checkbox-error": {
6764
- [`@apply font-${config2.error.font.family} text-${config2.error.font.size} ms-1 inline-block`]: {},
6765
- //Color
6766
- [`@apply text-${config2.error.font.color.light} dark:text-${config2.error.font.color.dark}`]: {}
6863
+ [`@apply ms-1 inline-block`]: {}
6767
6864
  },
6768
6865
  //Rounded:sm
6769
6866
  "&.nui-checkbox-rounded-sm .nui-checkbox-outer, &.nui-checkbox-rounded-sm .nui-checkbox-inner": {
@@ -6823,10 +6920,10 @@ const checkbox = plugin__default(({ addComponents, theme }) => {
6823
6920
  }
6824
6921
  }
6825
6922
  });
6826
- }, config$H);
6923
+ }, config$I);
6827
6924
 
6828
- const key$G = "drodownDivider";
6829
- const defaultConfig$F = {
6925
+ const key$H = "drodownDivider";
6926
+ const defaultConfig$G = {
6830
6927
  margin: {
6831
6928
  y: "2"
6832
6929
  },
@@ -6836,24 +6933,24 @@ const defaultConfig$F = {
6836
6933
  }
6837
6934
  };
6838
6935
 
6839
- const config$G = {
6936
+ const config$H = {
6840
6937
  theme: {
6841
6938
  nui: {
6842
- [key$G]: defaultConfig$F
6939
+ [key$H]: defaultConfig$G
6843
6940
  }
6844
6941
  }
6845
6942
  };
6846
6943
  const dropdownDivider = plugin__default(({ addComponents, theme }) => {
6847
- const config2 = theme(`nui.${key$G}`);
6944
+ const config2 = theme(`nui.${key$H}`);
6848
6945
  addComponents({
6849
6946
  ".nui-dropdown-divider": {
6850
6947
  [`@apply my-${config2.margin.y} block h-px w-full border-t border-${config2.border.light} dark:border-${config2.border.dark}`]: {}
6851
6948
  }
6852
6949
  });
6853
- }, config$G);
6950
+ }, config$H);
6854
6951
 
6855
- const key$F = "dropdownItem";
6856
- const defaultConfig$E = {
6952
+ const key$G = "dropdownItem";
6953
+ const defaultConfig$F = {
6857
6954
  align: "start",
6858
6955
  font: {
6859
6956
  family: "sans",
@@ -6949,15 +7046,15 @@ const defaultConfig$E = {
6949
7046
  }
6950
7047
  };
6951
7048
 
6952
- const config$F = {
7049
+ const config$G = {
6953
7050
  theme: {
6954
7051
  nui: {
6955
- [key$F]: defaultConfig$E
7052
+ [key$G]: defaultConfig$F
6956
7053
  }
6957
7054
  }
6958
7055
  };
6959
7056
  const dropdownItem = plugin__default(({ addComponents, theme }) => {
6960
- const config2 = theme(`nui.${key$F}`);
7057
+ const config2 = theme(`nui.${key$G}`);
6961
7058
  addComponents({
6962
7059
  //Wrapper
6963
7060
  ".nui-dropdown-item": {
@@ -6974,6 +7071,10 @@ const dropdownItem = plugin__default(({ addComponents, theme }) => {
6974
7071
  "&:not(.nui-active)": {
6975
7072
  [`@apply text-${config2.font.color.inactive.light} dark:text-${config2.font.color.inactive.dark}`]: {}
6976
7073
  },
7074
+ //Item:disabled
7075
+ "&.nui-item-disabled": {
7076
+ [`@apply opacity-50 pointer-events-none`]: {}
7077
+ },
6977
7078
  //Contrast:default
6978
7079
  "&.nui-item-default": {
6979
7080
  //Background:hover
@@ -7041,10 +7142,10 @@ const dropdownItem = plugin__default(({ addComponents, theme }) => {
7041
7142
  }
7042
7143
  }
7043
7144
  });
7044
- }, config$F);
7145
+ }, config$G);
7045
7146
 
7046
- const key$E = "dropdown";
7047
- const defaultConfig$D = {
7147
+ const key$F = "dropdown";
7148
+ const defaultConfig$E = {
7048
7149
  align: "start",
7049
7150
  button: {
7050
7151
  context: {
@@ -7091,15 +7192,6 @@ const defaultConfig$D = {
7091
7192
  duration: "300"
7092
7193
  }
7093
7194
  },
7094
- text: {
7095
- font: {
7096
- family: "sans",
7097
- color: {
7098
- light: "muted-400",
7099
- dark: "muted-400"
7100
- }
7101
- }
7102
- },
7103
7195
  chevron: {
7104
7196
  size: "4",
7105
7197
  transition: {
@@ -7177,15 +7269,15 @@ const defaultConfig$D = {
7177
7269
  }
7178
7270
  };
7179
7271
 
7180
- const config$E = {
7272
+ const config$F = {
7181
7273
  theme: {
7182
7274
  nui: {
7183
- [key$E]: defaultConfig$D
7275
+ [key$F]: defaultConfig$E
7184
7276
  }
7185
7277
  }
7186
7278
  };
7187
7279
  const dropdown = plugin__default(({ addComponents, theme }) => {
7188
- const config2 = theme(`nui.${key$E}`);
7280
+ const config2 = theme(`nui.${key$F}`);
7189
7281
  addComponents({
7190
7282
  //Wrapper
7191
7283
  ".nui-dropdown": {
@@ -7232,13 +7324,7 @@ const dropdown = plugin__default(({ addComponents, theme }) => {
7232
7324
  //Button:text
7233
7325
  ".nui-text-button": {
7234
7326
  //Base
7235
- "@apply flex items-center space-x-1": {},
7236
- //Font
7237
- [`@apply font-${config2.button.text.font.family} text-${config2.button.text.font.color.light} dark:text-${config2.button.text.font.color.dark}`]: {},
7238
- //Text:inner
7239
- ".nui-text-button-inner": {
7240
- [`@apply font-${config2.button.text.font.family}`]: {}
7241
- }
7327
+ "@apply flex items-center space-x-1": {}
7242
7328
  },
7243
7329
  //Button:chevron
7244
7330
  ".nui-chevron": {
@@ -7340,10 +7426,10 @@ const dropdown = plugin__default(({ addComponents, theme }) => {
7340
7426
  }
7341
7427
  }
7342
7428
  });
7343
- }, config$E);
7429
+ }, config$F);
7344
7430
 
7345
- const key$D = "focus";
7346
- const defaultConfig$C = {
7431
+ const key$E = "focus";
7432
+ const defaultConfig$D = {
7347
7433
  offset: "2",
7348
7434
  width: "2",
7349
7435
  style: "dashed",
@@ -7354,15 +7440,15 @@ const defaultConfig$C = {
7354
7440
  mode: "always"
7355
7441
  };
7356
7442
 
7357
- const config$D = {
7443
+ const config$E = {
7358
7444
  theme: {
7359
7445
  nui: {
7360
- [key$D]: defaultConfig$C
7446
+ [key$E]: defaultConfig$D
7361
7447
  }
7362
7448
  }
7363
7449
  };
7364
7450
  const focus = plugin__default(({ addComponents, theme }) => {
7365
- const config2 = theme(`nui.${key$D}`);
7451
+ const config2 = theme(`nui.${key$E}`);
7366
7452
  const mode = config2.mode === "focus-visible" ? "&:has(:focus-visible), &:focus-visible" : "&:focus-within";
7367
7453
  addComponents({
7368
7454
  ".nui-focus": {
@@ -7374,10 +7460,10 @@ const focus = plugin__default(({ addComponents, theme }) => {
7374
7460
  }
7375
7461
  }
7376
7462
  });
7377
- }, config$D);
7463
+ }, config$E);
7378
7464
 
7379
- const key$C = "fullscreenDropfile";
7380
- const defaultConfig$B = {
7465
+ const key$D = "fullscreenDropfile";
7466
+ const defaultConfig$C = {
7381
7467
  height: "[230px]",
7382
7468
  width: "[500px]",
7383
7469
  rounded: "rounded-md",
@@ -7412,15 +7498,15 @@ const defaultConfig$B = {
7412
7498
  }
7413
7499
  };
7414
7500
 
7415
- const config$C = {
7501
+ const config$D = {
7416
7502
  theme: {
7417
7503
  nui: {
7418
- [key$C]: defaultConfig$B
7504
+ [key$D]: defaultConfig$C
7419
7505
  }
7420
7506
  }
7421
7507
  };
7422
7508
  const fullscreenDropfile = plugin__default(({ addComponents, theme }) => {
7423
- const config2 = theme(`nui.${key$C}`);
7509
+ const config2 = theme(`nui.${key$D}`);
7424
7510
  addComponents({
7425
7511
  //Wrapper
7426
7512
  ".nui-fullscreen-dropfile": {
@@ -7493,10 +7579,10 @@ const fullscreenDropfile = plugin__default(({ addComponents, theme }) => {
7493
7579
  }
7494
7580
  }
7495
7581
  });
7496
- }, config$C);
7582
+ }, config$D);
7497
7583
 
7498
- const key$B = "heading";
7499
- const defaultConfig$A = {
7584
+ const key$C = "heading";
7585
+ const defaultConfig$B = {
7500
7586
  size: {
7501
7587
  xs: "xs",
7502
7588
  sm: "sm",
@@ -7529,15 +7615,15 @@ const defaultConfig$A = {
7529
7615
  }
7530
7616
  };
7531
7617
 
7532
- const config$B = {
7618
+ const config$C = {
7533
7619
  theme: {
7534
7620
  nui: {
7535
- [key$B]: defaultConfig$A
7621
+ [key$C]: defaultConfig$B
7536
7622
  }
7537
7623
  }
7538
7624
  };
7539
7625
  const heading = plugin__default(({ addComponents, theme }) => {
7540
- const config2 = theme(`nui.${key$B}`);
7626
+ const config2 = theme(`nui.${key$C}`);
7541
7627
  addComponents({
7542
7628
  ".nui-heading": {
7543
7629
  "@apply font-sans": {},
@@ -7618,10 +7704,10 @@ const heading = plugin__default(({ addComponents, theme }) => {
7618
7704
  }
7619
7705
  }
7620
7706
  });
7621
- }, config$B);
7707
+ }, config$C);
7622
7708
 
7623
- const key$A = "iconBox";
7624
- const defaultConfig$z = {
7709
+ const key$B = "iconBox";
7710
+ const defaultConfig$A = {
7625
7711
  bordered: {
7626
7712
  border: {
7627
7713
  size: "2",
@@ -7711,6 +7797,30 @@ const defaultConfig$z = {
7711
7797
  }
7712
7798
  }
7713
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
+ },
7714
7824
  light: {
7715
7825
  background: {
7716
7826
  light: "white",
@@ -7833,6 +7943,30 @@ const defaultConfig$z = {
7833
7943
  }
7834
7944
  }
7835
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
+ },
7836
7970
  light: {
7837
7971
  background: {
7838
7972
  light: "white/10",
@@ -7963,6 +8097,38 @@ const defaultConfig$z = {
7963
8097
  }
7964
8098
  }
7965
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
+ },
7966
8132
  light: {
7967
8133
  background: {
7968
8134
  light: "transparent",
@@ -8096,15 +8262,15 @@ const defaultConfig$z = {
8096
8262
  }
8097
8263
  };
8098
8264
 
8099
- const config$A = {
8265
+ const config$B = {
8100
8266
  theme: {
8101
8267
  nui: {
8102
- [key$A]: defaultConfig$z
8268
+ [key$B]: defaultConfig$A
8103
8269
  }
8104
8270
  }
8105
8271
  };
8106
8272
  const iconBox = plugin__default(({ addComponents, theme }) => {
8107
- const config2 = theme(`nui.${key$A}`);
8273
+ const config2 = theme(`nui.${key$B}`);
8108
8274
  addComponents({
8109
8275
  //Wrapper
8110
8276
  ".nui-icon-box": {
@@ -8232,6 +8398,20 @@ const iconBox = plugin__default(({ addComponents, theme }) => {
8232
8398
  //Background
8233
8399
  [`@apply bg-${config2.color.variant.solid.defaultContrast.background.light} dark:bg-${config2.color.variant.solid.defaultContrast.background.dark}`]: {}
8234
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
+ },
8235
8415
  //Color:light
8236
8416
  "&.nui-box-light": {
8237
8417
  //Font
@@ -8305,6 +8485,20 @@ const iconBox = plugin__default(({ addComponents, theme }) => {
8305
8485
  //Background
8306
8486
  [`@apply bg-${config2.color.variant.pastel.defaultContrast.background.light} dark:bg-${config2.color.variant.pastel.defaultContrast.background.dark}`]: {}
8307
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
+ },
8308
8502
  //Color:light
8309
8503
  "&.nui-box-light": {
8310
8504
  //Font
@@ -8382,6 +8576,24 @@ const iconBox = plugin__default(({ addComponents, theme }) => {
8382
8576
  //Border
8383
8577
  [`@apply border-2 border-${config2.color.variant.outline.defaultContrast.border.light} dark:border-${config2.color.variant.outline.defaultContrast.border.dark}`]: {}
8384
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
+ },
8385
8597
  //Color:light
8386
8598
  "&.nui-box-light": {
8387
8599
  //Font
@@ -8465,10 +8677,10 @@ const iconBox = plugin__default(({ addComponents, theme }) => {
8465
8677
  }
8466
8678
  }
8467
8679
  });
8468
- }, config$A);
8680
+ }, config$B);
8469
8681
 
8470
- const key$z = "inputFileRegular";
8471
- const defaultConfig$y = {
8682
+ const key$A = "inputFileRegular";
8683
+ const defaultConfig$z = {
8472
8684
  font: {
8473
8685
  color: {
8474
8686
  light: "muted-400",
@@ -8665,15 +8877,15 @@ const defaultConfig$y = {
8665
8877
  }
8666
8878
  };
8667
8879
 
8668
- const config$z = {
8880
+ const config$A = {
8669
8881
  theme: {
8670
8882
  nui: {
8671
- [key$z]: defaultConfig$y
8883
+ [key$A]: defaultConfig$z
8672
8884
  }
8673
8885
  }
8674
8886
  };
8675
8887
  const inputFileRegular = plugin__default(({ addComponents, theme }) => {
8676
- const config2 = theme(`nui.${key$z}`);
8888
+ const config2 = theme(`nui.${key$A}`);
8677
8889
  addComponents({
8678
8890
  //Wrapper
8679
8891
  ".nui-input-file-regular": {
@@ -8716,13 +8928,6 @@ const inputFileRegular = plugin__default(({ addComponents, theme }) => {
8716
8928
  "@apply h-3 w-full max-w-[75%] rounded": {}
8717
8929
  }
8718
8930
  },
8719
- //Input:error
8720
- ".nui-input-file-error-text": {
8721
- //Base
8722
- [`@apply mt-1 block font-${config2.error.font.family} text-${config2.error.font.size} font-${config2.error.font.weight} leading-none`]: {},
8723
- //Color
8724
- [`@apply text-${config2.error.font.color.light} dark:text-${config2.error.font.color.dark}`]: {}
8725
- },
8726
8931
  //Color:default
8727
8932
  "&.nui-input-default": {
8728
8933
  //Input:inner
@@ -8917,10 +9122,10 @@ const inputFileRegular = plugin__default(({ addComponents, theme }) => {
8917
9122
  }
8918
9123
  }
8919
9124
  });
8920
- }, config$z);
9125
+ }, config$A);
8921
9126
 
8922
- const key$y = "inputFile";
8923
- const defaultConfig$x = {
9127
+ const key$z = "inputFile";
9128
+ const defaultConfig$y = {
8924
9129
  drop: {
8925
9130
  height: "64",
8926
9131
  border: {
@@ -9172,15 +9377,15 @@ const defaultConfig$x = {
9172
9377
  }
9173
9378
  };
9174
9379
 
9175
- const config$y = {
9380
+ const config$z = {
9176
9381
  theme: {
9177
9382
  nui: {
9178
- [key$y]: defaultConfig$x
9383
+ [key$z]: defaultConfig$y
9179
9384
  }
9180
9385
  }
9181
9386
  };
9182
9387
  const inputFile = plugin__default(({ addComponents, theme }) => {
9183
- const config2 = theme(`nui.${key$y}`);
9388
+ const config2 = theme(`nui.${key$z}`);
9184
9389
  addComponents({
9185
9390
  //Wrapper
9186
9391
  ".nui-input-file": {
@@ -9455,10 +9660,10 @@ const inputFile = plugin__default(({ addComponents, theme }) => {
9455
9660
  }
9456
9661
  }
9457
9662
  });
9458
- }, config$y);
9663
+ }, config$z);
9459
9664
 
9460
- const key$x = "input";
9461
- const defaultConfig$w = {
9665
+ const key$y = "input";
9666
+ const defaultConfig$x = {
9462
9667
  rounded: {
9463
9668
  none: "rounded-none",
9464
9669
  sm: "rounded-md",
@@ -9820,15 +10025,15 @@ const defaultConfig$w = {
9820
10025
  }
9821
10026
  };
9822
10027
 
9823
- const config$x = {
10028
+ const config$y = {
9824
10029
  theme: {
9825
10030
  nui: {
9826
- [key$x]: defaultConfig$w
10031
+ [key$y]: defaultConfig$x
9827
10032
  }
9828
10033
  }
9829
10034
  };
9830
10035
  const input = plugin__default(({ addComponents, theme }) => {
9831
- const config2 = theme(`nui.${key$x}`);
10036
+ const config2 = theme(`nui.${key$y}`);
9832
10037
  addComponents({
9833
10038
  //Wrapper
9834
10039
  ".nui-input-wrapper": {
@@ -9857,15 +10062,6 @@ const input = plugin__default(({ addComponents, theme }) => {
9857
10062
  //Transition
9858
10063
  [`@apply transition-${config2.input.icon.transition.property} duration-${config2.input.icon.transition.duration}`]: {}
9859
10064
  },
9860
- //Error:text
9861
- ".nui-input-error-text": {
9862
- //Base
9863
- "@apply mt-1 block": {},
9864
- //Font
9865
- [`@apply font-${config2.error.font.family} text-${config2.error.font.size} font-${config2.error.font.weight} leading-none`]: {},
9866
- //Font color
9867
- [`@apply text-${config2.error.font.color.light} dark:text-${config2.error.font.color.dark}`]: {}
9868
- },
9869
10065
  //Input
9870
10066
  ".nui-input": {
9871
10067
  //Base
@@ -10224,10 +10420,10 @@ const input = plugin__default(({ addComponents, theme }) => {
10224
10420
  }
10225
10421
  }
10226
10422
  });
10227
- }, config$x);
10423
+ }, config$y);
10228
10424
 
10229
- const key$w = "inputNumber";
10230
- const defaultConfig$v = {
10425
+ const key$x = "inputNumber";
10426
+ const defaultConfig$w = {
10231
10427
  rounded: {
10232
10428
  none: "rounded-none",
10233
10429
  sm: "rounded-md",
@@ -10598,15 +10794,15 @@ const defaultConfig$v = {
10598
10794
  }
10599
10795
  };
10600
10796
 
10601
- const config$w = {
10797
+ const config$x = {
10602
10798
  theme: {
10603
10799
  nui: {
10604
- [key$w]: defaultConfig$v
10800
+ [key$x]: defaultConfig$w
10605
10801
  }
10606
10802
  }
10607
10803
  };
10608
10804
  const inputNumber = plugin__default(({ addComponents, theme }) => {
10609
- const config2 = theme(`nui.${key$w}`);
10805
+ const config2 = theme(`nui.${key$x}`);
10610
10806
  addComponents({
10611
10807
  //Wrapper
10612
10808
  ".nui-input-number-wrapper": {
@@ -10652,15 +10848,6 @@ const inputNumber = plugin__default(({ addComponents, theme }) => {
10652
10848
  ".nui-input-number-buttons svg": {
10653
10849
  "@apply h-4 w-4": {}
10654
10850
  },
10655
- //Error:text
10656
- ".nui-input-number-error-text": {
10657
- //Base
10658
- "@apply mt-1 block": {},
10659
- //Font
10660
- [`@apply font-${config2.error.font.family} text-${config2.error.font.size} font-${config2.error.font.weight} leading-none`]: {},
10661
- //Font color
10662
- [`@apply text-${config2.error.font.color.light} dark:text-${config2.error.font.color.dark}`]: {}
10663
- },
10664
10851
  //Input
10665
10852
  ".nui-input-number": {
10666
10853
  //Base
@@ -11067,6 +11254,34 @@ const inputNumber = plugin__default(({ addComponents, theme }) => {
11067
11254
  }
11068
11255
  }
11069
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
+ });
11070
11285
  }, config$w);
11071
11286
 
11072
11287
  const key$v = "kbd";
@@ -12143,15 +12358,6 @@ const listbox = plugin__default(({ addComponents, theme }) => {
12143
12358
  [`@apply bg-${config2.option.activeHover.background.light} dark:bg-${config2.option.activeHover.background.dark}`]: {}
12144
12359
  }
12145
12360
  },
12146
- //Listbox:error
12147
- ".nui-listbox-error-text": {
12148
- //Base
12149
- "@apply mt-1 block": {},
12150
- //Font
12151
- [`@apply font-${config2.error.font.family} text-${config2.error.font.size} font-${config2.error.font.weight} leading-none`]: {},
12152
- //Color
12153
- [`@apply text-${config2.error.font.color.light} dark:text-${config2.error.font.color.dark}`]: {}
12154
- },
12155
12361
  //Listbox:placeload
12156
12362
  ".nui-listbox-placeload.nui-loading-placeload": {
12157
12363
  "@apply absolute start-0 top-0 flex w-full items-center px-4": {},
@@ -12821,6 +13027,9 @@ const messageText = plugin__default(({ addComponents, theme }) => {
12821
13027
 
12822
13028
  const key$n = "message";
12823
13029
  const defaultConfig$m = {
13030
+ safeArea: {
13031
+ end: "6"
13032
+ },
12824
13033
  icon: {
12825
13034
  outer: {
12826
13035
  size: "10"
@@ -12851,8 +13060,21 @@ const defaultConfig$m = {
12851
13060
  icon: {
12852
13061
  size: "4"
12853
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
+ },
12854
13077
  rounded: "rounded-full",
12855
- padding: "1",
12856
13078
  transition: {
12857
13079
  property: "colors",
12858
13080
  duration: "200"
@@ -13415,7 +13637,7 @@ const message = plugin__default(({ addComponents, theme }) => {
13415
13637
  addComponents({
13416
13638
  //Wrapper
13417
13639
  ".nui-message": {
13418
- "@apply flex min-h-[3rem] items-center border p-1 pe-2": {},
13640
+ "@apply relative flex gap-2 border": {},
13419
13641
  //Icon:outer
13420
13642
  ".nui-message-icon-outer": {
13421
13643
  [`@apply flex h-${config2.icon.outer.size} w-${config2.icon.outer.size} shrink-0 items-center justify-center`]: {},
@@ -13430,15 +13652,19 @@ const message = plugin__default(({ addComponents, theme }) => {
13430
13652
  //Inner:text
13431
13653
  ".nui-message-inner-text": {
13432
13654
  //Base
13433
- "@apply px-3 block": {},
13655
+ "@apply inline-flex items-center leading-normal": {},
13434
13656
  //Font
13435
13657
  [`@apply font-${config2.inner.font.family} text-${config2.inner.font.size}`]: {},
13436
13658
  //Color
13437
13659
  [`@apply text-${config2.inner.font.color.light} dark:text-${config2.inner.font.color.dark}`]: {}
13438
13660
  },
13439
- //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
13440
13666
  ".nui-message-close": {
13441
- [`@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}`]: {},
13442
13668
  //Color
13443
13669
  [`@apply text-${config2.close.color.light} dark:text-${config2.close.color.dark}`]: {},
13444
13670
  //Transition
@@ -13448,6 +13674,14 @@ const message = plugin__default(({ addComponents, theme }) => {
13448
13674
  [`@apply h-${config2.close.icon.size} w-${config2.close.icon.size}`]: {}
13449
13675
  }
13450
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
+ },
13451
13685
  //Rounded:sm
13452
13686
  "&.nui-message-rounded-sm": {
13453
13687
  [`@apply ${config2.rounded.sm}`]: {},
@@ -14874,9 +15108,7 @@ const radio = plugin__default(({ addComponents, theme }) => {
14874
15108
  },
14875
15109
  //Radio:error
14876
15110
  ".nui-radio-error": {
14877
- "@apply ms-1 inline-block": {},
14878
- //Font
14879
- [`@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": {}
14880
15112
  },
14881
15113
  //Color:default
14882
15114
  "&.nui-radio-default": {
@@ -15340,15 +15572,6 @@ const select = plugin__default(({ addComponents, theme }) => {
15340
15572
  //Transition
15341
15573
  [`@apply transition-${config2.select.icon.transition.property} duration-${config2.select.icon.transition.duration}`]: {}
15342
15574
  },
15343
- //Error:text
15344
- ".nui-select-error-text": {
15345
- //Base
15346
- "@apply mt-1 block": {},
15347
- //Font
15348
- [`@apply font-${config2.error.font.family} text-${config2.error.font.size} font-${config2.error.font.weight} leading-none`]: {},
15349
- //Font color
15350
- [`@apply text-${config2.error.font.color.light} dark:text-${config2.error.font.color.dark}`]: {}
15351
- },
15352
15575
  //Select
15353
15576
  ".nui-select": {
15354
15577
  //Base
@@ -15706,6 +15929,7 @@ const select = plugin__default(({ addComponents, theme }) => {
15706
15929
  const key$c = "slimscroll";
15707
15930
  const defaultConfig$b = {
15708
15931
  width: "[6px]",
15932
+ height: "[6px]",
15709
15933
  background: {
15710
15934
  base: {
15711
15935
  light: "black/5",
@@ -15731,7 +15955,7 @@ const slimscroll = plugin__default(({ addComponents, theme }) => {
15731
15955
  ".nui-slimscroll::-webkit-scrollbar, .nui-slimscroll-opaque::-webkit-scrollbar": {
15732
15956
  scrollBehavior: "smooth",
15733
15957
  scrollbarGutter: "stable",
15734
- [`@apply w-${config2.width}`]: {}
15958
+ [`@apply w-${config2.width} h-${config2.height}`]: {}
15735
15959
  },
15736
15960
  ".nui-slimscroll::-webkit-scrollbar-thumb": {
15737
15961
  [`@apply rounded-lg bg-${config2.background.base.light} dark:bg-${config2.background.base.dark} duration-300 transition-all`]: {}
@@ -15915,10 +16139,6 @@ const snack = plugin__default(({ addComponents, theme }) => {
15915
16139
  //Color
15916
16140
  [`@apply text-${config2.font.color.light} dark:text-${config2.font.color.dark}`]: {}
15917
16141
  },
15918
- //Snack:button
15919
- ".nui-snack-button": {
15920
- "@apply hover:!bg-transparent": {}
15921
- },
15922
16142
  //Size:xs
15923
16143
  "&.nui-snack-xs": {
15924
16144
  //Snack:media:xs
@@ -18861,15 +19081,6 @@ const textarea = plugin__default(({ addComponents, theme }) => {
18861
19081
  [`@apply transition-${config2.textarea.transition.property} duration-${config2.textarea.transition.duration}`]: {}
18862
19082
  }
18863
19083
  },
18864
- //Error:text
18865
- ".nui-textarea-error-text": {
18866
- //Base
18867
- "@apply mt-1 block": {},
18868
- //Font
18869
- [`@apply font-${config2.error.font.family} text-${config2.error.font.size} font-${config2.error.font.weight} leading-none`]: {},
18870
- //Font color
18871
- [`@apply text-${config2.error.font.color.light} dark:text-${config2.error.font.color.dark}`]: {}
18872
- },
18873
19084
  //Textrea:placeload
18874
19085
  ".nui-textarea-placeload": {
18875
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`]: {},
@@ -19922,7 +20133,7 @@ const tooltip = plugin__default(({ addComponents, theme }) => {
19922
20133
  borderRadius: "0.5ch",
19923
20134
  zIndex: "1000",
19924
20135
  [`@apply font-${config2.font.family} text-xs shadow-lg`]: {},
19925
- [`@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}`]: {},
19926
20137
  [`@apply !bg-${config2.background.light} dark:!bg-${config2.background.dark}`]: {}
19927
20138
  },
19928
20139
  [`[${tooltip}]:hover::before, [${tooltip}]:hover::after, [${tooltip}]:focus-visible::before, [${tooltip}]:focus-visible::after`]: {
@@ -19936,7 +20147,7 @@ const tooltip = plugin__default(({ addComponents, theme }) => {
19936
20147
  bottom: "calc(100% + 8px)",
19937
20148
  borderBottomWidth: "0",
19938
20149
  borderTopColor: "currentColor",
19939
- [`@apply !text-${config2.background.light} dark:!text-${config2.background.light}`]: {}
20150
+ [`@apply !text-${config2.background.light} dark:!text-${config2.background.dark}`]: {}
19940
20151
  },
19941
20152
  [`[${tooltip}]:not([${position}])::after, [${tooltip}][${position}^='up']::after`]: {
19942
20153
  bottom: "calc(100% + 13px)"
@@ -20052,6 +20263,7 @@ const components = mergePlugins([
20052
20263
  inputFile,
20053
20264
  input,
20054
20265
  inputNumber,
20266
+ inputHelpText,
20055
20267
  kbd,
20056
20268
  label,
20057
20269
  link,
@@ -20201,6 +20413,7 @@ exports.iconBox = iconBox;
20201
20413
  exports.input = input;
20202
20414
  exports.inputFile = inputFile;
20203
20415
  exports.inputFileRegular = inputFileRegular;
20416
+ exports.inputHelpText = inputHelpText;
20204
20417
  exports.inputNumber = inputNumber;
20205
20418
  exports.kbd = kbd;
20206
20419
  exports.label = label;