daisyui 2.18.2 → 2.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/styled.css CHANGED
@@ -660,6 +660,9 @@
660
660
  width: 100%;
661
661
  align-items: stretch;
662
662
  }
663
+ .input-group > .input {
664
+ isolation: isolate;
665
+ }
663
666
  .input-group > *,
664
667
  .input-group > .input {
665
668
  border-radius: 0px;
@@ -1136,6 +1139,12 @@
1136
1139
  line-height: 2;
1137
1140
  min-height: 3rem
1138
1141
  }
1142
+ .toast {
1143
+ position: fixed;
1144
+ display: flex;
1145
+ min-width: fit-content;
1146
+ flex-direction: column
1147
+ }
1139
1148
  .toggle {
1140
1149
  flex-shrink: 0
1141
1150
  }
@@ -1983,7 +1992,8 @@
1983
1992
  outline-offset: 2px;
1984
1993
  }
1985
1994
  .checkbox:checked,
1986
- .checkbox[checked="true"] {
1995
+ .checkbox[checked="true"],
1996
+ .checkbox[aria-checked=true] {
1987
1997
  --tw-bg-opacity: 1;
1988
1998
  background-color: hsl(var(--bc) / var(--tw-bg-opacity));
1989
1999
  background-repeat: no-repeat;
@@ -2011,7 +2021,8 @@
2011
2021
  outline: 2px solid hsl(var(--p));
2012
2022
  }
2013
2023
  .checkbox-primary:checked,
2014
- .checkbox-primary[checked="true"] {
2024
+ .checkbox-primary[checked="true"],
2025
+ .checkbox-primary[aria-checked=true] {
2015
2026
  --tw-border-opacity: 1;
2016
2027
  border-color: hsl(var(--p) / var(--tw-border-opacity));
2017
2028
  --tw-bg-opacity: 1;
@@ -2033,7 +2044,8 @@
2033
2044
  outline: 2px solid hsl(var(--s));
2034
2045
  }
2035
2046
  .checkbox-secondary:checked,
2036
- .checkbox-secondary[checked="true"] {
2047
+ .checkbox-secondary[checked="true"],
2048
+ .checkbox-secondary[aria-checked=true] {
2037
2049
  --tw-border-opacity: 1;
2038
2050
  border-color: hsl(var(--s) / var(--tw-border-opacity));
2039
2051
  --tw-bg-opacity: 1;
@@ -2055,7 +2067,8 @@
2055
2067
  outline: 2px solid hsl(var(--a));
2056
2068
  }
2057
2069
  .checkbox-accent:checked,
2058
- .checkbox-accent[checked="true"] {
2070
+ .checkbox-accent[checked="true"],
2071
+ .checkbox-accent[aria-checked=true] {
2059
2072
  --tw-border-opacity: 1;
2060
2073
  border-color: hsl(var(--a) / var(--tw-border-opacity));
2061
2074
  --tw-bg-opacity: 1;
@@ -2095,7 +2108,8 @@ body[dir="rtl"] .checkbox {
2095
2108
  }
2096
2109
 
2097
2110
  body[dir="rtl"] .checkbox:checked,
2098
- body[dir="rtl"] .checkbox[checked="true"] {
2111
+ body[dir="rtl"] .checkbox[checked="true"],
2112
+ body[dir="rtl"] .checkbox[aria-checked=true] {
2099
2113
  background-image: linear-gradient(45deg, transparent 65%, hsl(var(--chkbg)) 65.99%), linear-gradient(-45deg, transparent 75%, hsl(var(--chkbg)) 75.99%), linear-gradient(45deg, hsl(var(--chkbg)) 40%, transparent 40.99%), linear-gradient(-45deg, hsl(var(--chkbg)) 30%, hsl(var(--chkfg)) 30.99%, hsl(var(--chkfg)) 40%, transparent 40.99%), linear-gradient(45deg, hsl(var(--chkfg)) 50%, hsl(var(--chkbg)) 50.99%);
2100
2114
  }
2101
2115
  .collapse:focus-visible {
@@ -3019,7 +3033,8 @@ body[dir="rtl"] .checkbox:checked,
3019
3033
  outline: 2px solid hsl(var(--bc));
3020
3034
  outline-offset: 2px;
3021
3035
  }
3022
- .radio:checked {
3036
+ .radio:checked,
3037
+ .radio[aria-checked=true] {
3023
3038
  --tw-bg-opacity: 1;
3024
3039
  background-color: hsl(var(--bc) / var(--tw-bg-opacity));
3025
3040
  animation: radiomark var(--animation-input, 0.2s) ease-in-out;
@@ -3037,7 +3052,8 @@ body[dir="rtl"] .checkbox:checked,
3037
3052
  .radio-primary:focus-visible {
3038
3053
  outline: 2px solid hsl(var(--p));
3039
3054
  }
3040
- .radio-primary:checked {
3055
+ .radio-primary:checked,
3056
+ .radio-primary[aria-checked=true] {
3041
3057
  --tw-border-opacity: 1;
3042
3058
  border-color: hsl(var(--p) / var(--tw-border-opacity));
3043
3059
  --tw-bg-opacity: 1;
@@ -3057,7 +3073,8 @@ body[dir="rtl"] .checkbox:checked,
3057
3073
  .radio-secondary:focus-visible {
3058
3074
  outline: 2px solid hsl(var(--s));
3059
3075
  }
3060
- .radio-secondary:checked {
3076
+ .radio-secondary:checked,
3077
+ .radio-secondary[aria-checked=true] {
3061
3078
  --tw-border-opacity: 1;
3062
3079
  border-color: hsl(var(--s) / var(--tw-border-opacity));
3063
3080
  --tw-bg-opacity: 1;
@@ -3077,7 +3094,8 @@ body[dir="rtl"] .checkbox:checked,
3077
3094
  .radio-accent:focus-visible {
3078
3095
  outline: 2px solid hsl(var(--a));
3079
3096
  }
3080
- .radio-accent:checked {
3097
+ .radio-accent:checked,
3098
+ .radio-accent[aria-checked=true] {
3081
3099
  --tw-border-opacity: 1;
3082
3100
  border-color: hsl(var(--a) / var(--tw-border-opacity));
3083
3101
  --tw-bg-opacity: 1;
@@ -3184,7 +3202,8 @@ body[dir="rtl"] .checkbox:checked,
3184
3202
  width: 0.5rem;
3185
3203
  background-color: transparent;
3186
3204
  }
3187
- .rating input:checked ~ input {
3205
+ .rating input:checked ~ input,
3206
+ .rating input[aria-checked=true] ~ input {
3188
3207
  --tw-bg-opacity: 0.2;
3189
3208
  }
3190
3209
  .rating input:focus-visible {
@@ -3822,6 +3841,24 @@ body[dir="rtl"] .checkbox:checked,
3822
3841
  color: hsl(var(--bc) / var(--tw-placeholder-opacity));
3823
3842
  --tw-placeholder-opacity: 0.2;
3824
3843
  }
3844
+ .toast{
3845
+ gap: 0.5rem;
3846
+ padding: 1rem;
3847
+ }
3848
+ .toast>*{
3849
+ animation: toast-pop 0.25s ease-out;
3850
+ }
3851
+
3852
+ @keyframes toast-pop {
3853
+ 0% {
3854
+ transform: scale(0.9);
3855
+ opacity: 0;
3856
+ }
3857
+ 100% {
3858
+ transform: scale(1);
3859
+ opacity: 1;
3860
+ }
3861
+ }
3825
3862
  .toggle {
3826
3863
  --chkbg: hsla(var(--bc) / 0.2);
3827
3864
  --handleoffset: 1.5rem;
@@ -3845,13 +3882,14 @@ body[dir="rtl"] .checkbox:checked,
3845
3882
  outline-offset: 2px;
3846
3883
  }
3847
3884
  .toggle:checked,
3848
- .toggle[checked="true"] {
3885
+ .toggle[checked="true"],
3886
+ .toggle[aria-checked=true] {
3849
3887
  --chkbg: hsl(var(--bc));
3850
3888
  --tw-border-opacity: 1;
3851
3889
  --tw-bg-opacity: 1;
3852
3890
  box-shadow: var(--handleoffset) 0 0 2px hsl(var(--b1)) inset, 0 0 0 2px hsl(var(--b1)) inset;
3853
3891
  }
3854
- [dir="rtl"] .toggle:checked, [dir="rtl"] .toggle[checked="true"] {
3892
+ [dir="rtl"] .toggle:checked, [dir="rtl"] .toggle[checked="true"], [dir="rtl"] .toggle[aria-checked=true] {
3855
3893
  box-shadow: calc(var(--handleoffset) * 1) 0 0 2px hsl(var(--b1)) inset, 0 0 0 2px hsl(var(--b1)) inset;
3856
3894
  }
3857
3895
  .toggle:indeterminate {
@@ -3867,7 +3905,8 @@ body[dir="rtl"] .checkbox:checked,
3867
3905
  outline: 2px solid hsl(var(--p));
3868
3906
  }
3869
3907
  .toggle-primary:checked,
3870
- .toggle-primary[checked="true"] {
3908
+ .toggle-primary[checked="true"],
3909
+ .toggle-primary[aria-checked=true] {
3871
3910
  --chkbg: hsl(var(--p));
3872
3911
  border-color: hsl(var(--p) / var(--tw-border-opacity));
3873
3912
  --tw-border-opacity: 0.1;
@@ -3880,7 +3919,8 @@ body[dir="rtl"] .checkbox:checked,
3880
3919
  outline: 2px solid hsl(var(--s));
3881
3920
  }
3882
3921
  .toggle-secondary:checked,
3883
- .toggle-secondary[checked="true"] {
3922
+ .toggle-secondary[checked="true"],
3923
+ .toggle-secondary[aria-checked=true] {
3884
3924
  --chkbg: hsl(var(--s));
3885
3925
  border-color: hsl(var(--s) / var(--tw-border-opacity));
3886
3926
  --tw-border-opacity: 0.1;
@@ -3893,7 +3933,8 @@ body[dir="rtl"] .checkbox:checked,
3893
3933
  outline: 2px solid hsl(var(--a));
3894
3934
  }
3895
3935
  .toggle-accent:checked,
3896
- .toggle-accent[checked="true"] {
3936
+ .toggle-accent[checked="true"],
3937
+ .toggle-accent[aria-checked=true] {
3897
3938
  --chkbg: hsl(var(--a));
3898
3939
  border-color: hsl(var(--a) / var(--tw-border-opacity));
3899
3940
  --tw-border-opacity: 0.1;