daisyui 2.19.0 → 2.22.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;
@@ -1989,7 +1992,8 @@
1989
1992
  outline-offset: 2px;
1990
1993
  }
1991
1994
  .checkbox:checked,
1992
- .checkbox[checked="true"] {
1995
+ .checkbox[checked="true"],
1996
+ .checkbox[aria-checked=true] {
1993
1997
  --tw-bg-opacity: 1;
1994
1998
  background-color: hsl(var(--bc) / var(--tw-bg-opacity));
1995
1999
  background-repeat: no-repeat;
@@ -2017,7 +2021,8 @@
2017
2021
  outline: 2px solid hsl(var(--p));
2018
2022
  }
2019
2023
  .checkbox-primary:checked,
2020
- .checkbox-primary[checked="true"] {
2024
+ .checkbox-primary[checked="true"],
2025
+ .checkbox-primary[aria-checked=true] {
2021
2026
  --tw-border-opacity: 1;
2022
2027
  border-color: hsl(var(--p) / var(--tw-border-opacity));
2023
2028
  --tw-bg-opacity: 1;
@@ -2039,7 +2044,8 @@
2039
2044
  outline: 2px solid hsl(var(--s));
2040
2045
  }
2041
2046
  .checkbox-secondary:checked,
2042
- .checkbox-secondary[checked="true"] {
2047
+ .checkbox-secondary[checked="true"],
2048
+ .checkbox-secondary[aria-checked=true] {
2043
2049
  --tw-border-opacity: 1;
2044
2050
  border-color: hsl(var(--s) / var(--tw-border-opacity));
2045
2051
  --tw-bg-opacity: 1;
@@ -2061,7 +2067,8 @@
2061
2067
  outline: 2px solid hsl(var(--a));
2062
2068
  }
2063
2069
  .checkbox-accent:checked,
2064
- .checkbox-accent[checked="true"] {
2070
+ .checkbox-accent[checked="true"],
2071
+ .checkbox-accent[aria-checked=true] {
2065
2072
  --tw-border-opacity: 1;
2066
2073
  border-color: hsl(var(--a) / var(--tw-border-opacity));
2067
2074
  --tw-bg-opacity: 1;
@@ -2101,7 +2108,8 @@ body[dir="rtl"] .checkbox {
2101
2108
  }
2102
2109
 
2103
2110
  body[dir="rtl"] .checkbox:checked,
2104
- body[dir="rtl"] .checkbox[checked="true"] {
2111
+ body[dir="rtl"] .checkbox[checked="true"],
2112
+ body[dir="rtl"] .checkbox[aria-checked=true] {
2105
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%);
2106
2114
  }
2107
2115
  .collapse:focus-visible {
@@ -3025,7 +3033,8 @@ body[dir="rtl"] .checkbox:checked,
3025
3033
  outline: 2px solid hsl(var(--bc));
3026
3034
  outline-offset: 2px;
3027
3035
  }
3028
- .radio:checked {
3036
+ .radio:checked,
3037
+ .radio[aria-checked=true] {
3029
3038
  --tw-bg-opacity: 1;
3030
3039
  background-color: hsl(var(--bc) / var(--tw-bg-opacity));
3031
3040
  animation: radiomark var(--animation-input, 0.2s) ease-in-out;
@@ -3043,7 +3052,8 @@ body[dir="rtl"] .checkbox:checked,
3043
3052
  .radio-primary:focus-visible {
3044
3053
  outline: 2px solid hsl(var(--p));
3045
3054
  }
3046
- .radio-primary:checked {
3055
+ .radio-primary:checked,
3056
+ .radio-primary[aria-checked=true] {
3047
3057
  --tw-border-opacity: 1;
3048
3058
  border-color: hsl(var(--p) / var(--tw-border-opacity));
3049
3059
  --tw-bg-opacity: 1;
@@ -3063,7 +3073,8 @@ body[dir="rtl"] .checkbox:checked,
3063
3073
  .radio-secondary:focus-visible {
3064
3074
  outline: 2px solid hsl(var(--s));
3065
3075
  }
3066
- .radio-secondary:checked {
3076
+ .radio-secondary:checked,
3077
+ .radio-secondary[aria-checked=true] {
3067
3078
  --tw-border-opacity: 1;
3068
3079
  border-color: hsl(var(--s) / var(--tw-border-opacity));
3069
3080
  --tw-bg-opacity: 1;
@@ -3083,7 +3094,8 @@ body[dir="rtl"] .checkbox:checked,
3083
3094
  .radio-accent:focus-visible {
3084
3095
  outline: 2px solid hsl(var(--a));
3085
3096
  }
3086
- .radio-accent:checked {
3097
+ .radio-accent:checked,
3098
+ .radio-accent[aria-checked=true] {
3087
3099
  --tw-border-opacity: 1;
3088
3100
  border-color: hsl(var(--a) / var(--tw-border-opacity));
3089
3101
  --tw-bg-opacity: 1;
@@ -3190,7 +3202,8 @@ body[dir="rtl"] .checkbox:checked,
3190
3202
  width: 0.5rem;
3191
3203
  background-color: transparent;
3192
3204
  }
3193
- .rating input:checked ~ input {
3205
+ .rating input:checked ~ input,
3206
+ .rating input[aria-checked=true] ~ input {
3194
3207
  --tw-bg-opacity: 0.2;
3195
3208
  }
3196
3209
  .rating input:focus-visible {
@@ -3869,13 +3882,14 @@ body[dir="rtl"] .checkbox:checked,
3869
3882
  outline-offset: 2px;
3870
3883
  }
3871
3884
  .toggle:checked,
3872
- .toggle[checked="true"] {
3885
+ .toggle[checked="true"],
3886
+ .toggle[aria-checked=true] {
3873
3887
  --chkbg: hsl(var(--bc));
3874
3888
  --tw-border-opacity: 1;
3875
3889
  --tw-bg-opacity: 1;
3876
3890
  box-shadow: var(--handleoffset) 0 0 2px hsl(var(--b1)) inset, 0 0 0 2px hsl(var(--b1)) inset;
3877
3891
  }
3878
- [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] {
3879
3893
  box-shadow: calc(var(--handleoffset) * 1) 0 0 2px hsl(var(--b1)) inset, 0 0 0 2px hsl(var(--b1)) inset;
3880
3894
  }
3881
3895
  .toggle:indeterminate {
@@ -3891,7 +3905,8 @@ body[dir="rtl"] .checkbox:checked,
3891
3905
  outline: 2px solid hsl(var(--p));
3892
3906
  }
3893
3907
  .toggle-primary:checked,
3894
- .toggle-primary[checked="true"] {
3908
+ .toggle-primary[checked="true"],
3909
+ .toggle-primary[aria-checked=true] {
3895
3910
  --chkbg: hsl(var(--p));
3896
3911
  border-color: hsl(var(--p) / var(--tw-border-opacity));
3897
3912
  --tw-border-opacity: 0.1;
@@ -3904,7 +3919,8 @@ body[dir="rtl"] .checkbox:checked,
3904
3919
  outline: 2px solid hsl(var(--s));
3905
3920
  }
3906
3921
  .toggle-secondary:checked,
3907
- .toggle-secondary[checked="true"] {
3922
+ .toggle-secondary[checked="true"],
3923
+ .toggle-secondary[aria-checked=true] {
3908
3924
  --chkbg: hsl(var(--s));
3909
3925
  border-color: hsl(var(--s) / var(--tw-border-opacity));
3910
3926
  --tw-border-opacity: 0.1;
@@ -3917,7 +3933,8 @@ body[dir="rtl"] .checkbox:checked,
3917
3933
  outline: 2px solid hsl(var(--a));
3918
3934
  }
3919
3935
  .toggle-accent:checked,
3920
- .toggle-accent[checked="true"] {
3936
+ .toggle-accent[checked="true"],
3937
+ .toggle-accent[aria-checked=true] {
3921
3938
  --chkbg: hsl(var(--a));
3922
3939
  border-color: hsl(var(--a) / var(--tw-border-opacity));
3923
3940
  --tw-border-opacity: 0.1;