daisyui 1.24.0 → 1.25.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/CHANGELOG.md CHANGED
@@ -2,6 +2,34 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.25.0](https://github.com/saadeghi/daisyui/compare/v1.24.3...v1.25.0) (2022-01-23)
6
+
7
+
8
+ ### Features
9
+
10
+ * add indeterminate style for checkbox and toggle, fix [#420](https://github.com/saadeghi/daisyui/issues/420) ([fd11e61](https://github.com/saadeghi/daisyui/commit/fd11e61fd7760a767260f77c62196460de08a534))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * [#400](https://github.com/saadeghi/daisyui/issues/400) ([9df4224](https://github.com/saadeghi/daisyui/commit/9df4224a7989f21e9b5613bb4405849dfb9030aa))
16
+
17
+ ### [1.24.3](https://github.com/saadeghi/daisyui/compare/v1.24.2...v1.24.3) (2022-01-17)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * rating iOS backward compatibility ([e183b4f](https://github.com/saadeghi/daisyui/commit/e183b4f6d69e85432194c842b8c45ae3313ab3ff))
23
+
24
+ ### [1.24.2](https://github.com/saadeghi/daisyui/compare/v1.24.1...v1.24.2) (2022-01-17)
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * [#351](https://github.com/saadeghi/daisyui/issues/351) (apply menu item style to `button` like `a` and `span`) ([87f079f](https://github.com/saadeghi/daisyui/commit/87f079fc925092d39a177154b2d8d5529787b9dd))
30
+
31
+ ### [1.24.1](https://github.com/saadeghi/daisyui/compare/v1.24.0...v1.24.1) (2022-01-17)
32
+
5
33
  ## [1.24.0](https://github.com/saadeghi/daisyui/compare/v1.23.1...v1.24.0) (2022-01-17)
6
34
 
7
35
 
package/README.md CHANGED
@@ -79,7 +79,7 @@ Loading CSS files from CDN is not recommended for production. It's better to ins
79
79
 
80
80
 
81
81
  ```html
82
- <link href="https://cdn.jsdelivr.net/npm/daisyui@1.23.1/dist/full.css" rel="stylesheet" type="text/css" />
82
+ <link href="https://cdn.jsdelivr.net/npm/daisyui@1.24.3/dist/full.css" rel="stylesheet" type="text/css" />
83
83
  <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2/dist/tailwind.min.css" rel="stylesheet" type="text/css" />
84
84
  ```
85
85
 
package/dist/full.css CHANGED
@@ -1574,6 +1574,8 @@ html{
1574
1574
  z-index:0;
1575
1575
  grid-column-start:1;
1576
1576
  grid-row-start:1;
1577
+ -ms-scroll-chaining:none;
1578
+ overscroll-behavior:contain;
1577
1579
  transition-property:all;
1578
1580
  transition-duration:.15s;
1579
1581
  transition-duration:.3s;
@@ -2100,9 +2102,11 @@ html{
2100
2102
  align-items:stretch;
2101
2103
  }
2102
2104
 
2103
- .menu :where(li)>a,.menu :where(li)>span{
2105
+ .menu :where(li)>a,.menu :where(li)>button,.menu :where(li)>span{
2104
2106
  display:flex;
2105
2107
  align-items:center;
2108
+ outline:2px solid transparent;
2109
+ outline-offset:2px;
2106
2110
  transition-property:background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
2107
2111
  transition-duration:.15s;
2108
2112
  transition-duration:.2s;
@@ -2122,7 +2126,7 @@ html{
2122
2126
  outline-offset:2px;
2123
2127
  }
2124
2128
 
2125
- .menu :where(li).disabled>a,.menu :where(li).disabled>span{
2129
+ .menu :where(li).disabled>a,.menu :where(li).disabled>button,.menu :where(li).disabled>span{
2126
2130
  cursor:auto;
2127
2131
  }
2128
2132
 
@@ -2316,9 +2320,6 @@ html{
2316
2320
  cursor:pointer;
2317
2321
  -webkit-animation:rating-pop var(--animation-input, .25s) ease-out;
2318
2322
  animation:rating-pop var(--animation-input, .25s) ease-out;
2319
- -webkit-appearance:none;
2320
- -moz-appearance:none;
2321
- appearance:none;
2322
2323
  background-color:hsla(var(--bc) / var(--tw-bg-opacity, 1));
2323
2324
  --tw-bg-opacity:1;
2324
2325
  height:1.5rem;
@@ -3292,6 +3293,15 @@ html{
3292
3293
  background-image:linear-gradient(-45deg, transparent 65%, hsl(var(--chkbg)) 0), linear-gradient(45deg, transparent 75%, hsl(var(--chkbg)) 0), linear-gradient(-45deg, hsl(var(--chkbg)) 40%, transparent 0), linear-gradient(45deg, hsl(var(--chkbg)) 30%, hsl(var(--chkfg)) 0, hsl(var(--chkfg)) 40%, transparent 0), linear-gradient(-45deg, hsl(var(--chkfg)) 50%, hsl(var(--chkbg)) 0);
3293
3294
  }
3294
3295
 
3296
+ .checkbox:indeterminate{
3297
+ --tw-bg-opacity:1;
3298
+ background-color:hsla(var(--bc) / var(--tw-bg-opacity, 1));
3299
+ background-repeat:no-repeat;
3300
+ -webkit-animation:checkmark var(--animation-input, .2s) ease-in-out;
3301
+ animation:checkmark var(--animation-input, .2s) ease-in-out;
3302
+ background-image:linear-gradient(90deg, transparent 80%, hsl(var(--chkbg)) 0), linear-gradient(-90deg, transparent 80%, hsl(var(--chkbg)) 0), linear-gradient(0deg, hsl(var(--chkbg)) 43%, hsl(var(--chkfg)) 0, hsl(var(--chkfg)) 57%, hsl(var(--chkbg)) 0);
3303
+ }
3304
+
3295
3305
  .checkbox-primary{
3296
3306
  --chkbg:var(--p);
3297
3307
  --chkfg:var(--pc);
@@ -3817,7 +3827,7 @@ html{
3817
3827
  mask-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE3NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNLjYzMSA4Ny4xMDdMLjQ0Ni41MDVsNzQuMjM5IDQzLjQ2MiA3NC40MjIgNDMuMTQtNzQuNDIyIDQzLjE0TC40NDYgMTczLjcxeiIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);
3818
3828
  }
3819
3829
 
3820
- .menu.horizontal li.bordered>a,.menu.horizontal li.bordered>span{
3830
+ .menu.horizontal li.bordered>a,.menu.horizontal li.bordered>button,.menu.horizontal li.bordered>span{
3821
3831
  --tw-border-opacity:1;
3822
3832
  border-color:hsla(var(--p) / var(--tw-border-opacity, 1));
3823
3833
  border-left-width:0;
@@ -3828,42 +3838,42 @@ html{
3828
3838
  border-radius:var(--rounded-btn, .5rem);
3829
3839
  }
3830
3840
 
3831
- .menu :where(li.bordered>a),.menu :where(li.bordered>span){
3841
+ .menu :where(li.bordered>a),.menu :where(li.bordered>button),.menu :where(li.bordered>span){
3832
3842
  --tw-border-opacity:1;
3833
3843
  border-color:hsla(var(--p) / var(--tw-border-opacity, 1));
3834
3844
  border-left-width:4px;
3835
3845
  }
3836
3846
 
3837
- .menu li>:where(a),.menu li>:where(span){
3847
+ .menu li>:where(a),.menu li>:where(button),.menu li>:where(span){
3838
3848
  padding:.75rem 1.25rem;
3839
3849
  color:currentColor;
3840
3850
  }
3841
3851
 
3842
- .menu li>:where(a:focus),.menu li>:where(a:hover){
3852
+ .menu li>:where(a:focus),.menu li>:where(a:hover),.menu li>:where(button:focus),.menu li>:where(button:hover){
3843
3853
  --tw-bg-opacity:1;
3844
3854
  --tw-bg-opacity:0.1;
3845
3855
  background-color:hsla(var(--bc) / var(--tw-bg-opacity, 1));
3846
3856
  }
3847
3857
 
3848
- .menu li>:where(a.active){
3858
+ .menu li>:where(a.active),.menu li>:where(button.active){
3849
3859
  --tw-bg-opacity:1;
3850
3860
  background-color:hsla(var(--p) / var(--tw-bg-opacity, 1));
3851
3861
  --tw-text-opacity:1;
3852
3862
  color:hsla(var(--pc) / var(--tw-text-opacity, 1));
3853
3863
  }
3854
3864
 
3855
- .menu li>:where(a:active){
3865
+ .menu li>:where(a:active),.menu li>:where(button:active){
3856
3866
  --tw-bg-opacity:1;
3857
3867
  background-color:hsla(var(--pf) / var(--tw-bg-opacity, 1));
3858
3868
  --tw-text-opacity:1;
3859
3869
  color:hsla(var(--pc) / var(--tw-text-opacity, 1));
3860
3870
  }
3861
3871
 
3862
- .menu li.disabled>a:hover,.menu li.disabled>span:hover{
3872
+ .menu li.disabled>a:hover,.menu li.disabled>button:hover,.menu li.disabled>span:hover{
3863
3873
  background-color:transparent;
3864
3874
  }
3865
3875
 
3866
- .menu li.disabled>a,.menu li.disabled>span{
3876
+ .menu li.disabled>a,.menu li.disabled>button,.menu li.disabled>span{
3867
3877
  --tw-text-opacity:1;
3868
3878
  --tw-text-opacity:0.2;
3869
3879
  color:hsla(var(--bc) / var(--tw-text-opacity, 1));
@@ -4284,6 +4294,12 @@ html{
4284
4294
  --range-shdw:var(--a);
4285
4295
  }
4286
4296
 
4297
+ .rating input{
4298
+ -moz-appearance:none;
4299
+ appearance:none;
4300
+ -webkit-appearance:none;
4301
+ }
4302
+
4287
4303
  .rating .rating-hidden{
4288
4304
  background-color:transparent;
4289
4305
  width:.5rem;
@@ -4430,7 +4446,7 @@ html{
4430
4446
  color:hsla(var(--bc) / var(--tw-placeholder-opacity, 1));
4431
4447
  }
4432
4448
 
4433
- .select-multiple,.select[multiple]{
4449
+ .select-multiple,.select[multiple],.select[size].select:not([size="1"]){
4434
4450
  background-image:none;
4435
4451
  padding-right:1rem;
4436
4452
  }
@@ -4874,6 +4890,17 @@ html{
4874
4890
  box-shadow:calc(var(--handleoffset)*1) 0 0 2px hsl(var(--b1)) inset, 0 0 0 2px hsl(var(--b1)) inset, var(--focus-shadow);
4875
4891
  }
4876
4892
 
4893
+ .toggle:indeterminate{
4894
+ --chkbg:hsl(var(--bc));
4895
+ --tw-bg-opacity:1;
4896
+ --tw-border-opacity:1;
4897
+ box-shadow:calc(var(--handleoffset)/2) 0 0 2px hsl(var(--b1)) inset, calc(var(--handleoffset)/-2) 0 0 2px hsl(var(--b1)) inset, 0 0 0 2px hsl(var(--b1)) inset, var(--focus-shadow);
4898
+ }
4899
+
4900
+ [dir=rtl] .toggle:indeterminate{
4901
+ box-shadow:calc(var(--handleoffset)/2) 0 0 2px hsl(var(--b1)) inset, calc(var(--handleoffset)/-2) 0 0 2px hsl(var(--b1)) inset, 0 0 0 2px hsl(var(--b1)) inset, var(--focus-shadow);
4902
+ }
4903
+
4877
4904
  .toggle-primary:focus-visible{
4878
4905
  --focus-shadow:0 0 0 2px hsl(var(--b1)), 0 0 0 4px hsl(var(--p));
4879
4906
  }
@@ -9866,24 +9893,24 @@ html{
9866
9893
  margin-top:1rem;
9867
9894
  }
9868
9895
 
9869
- .menu-vertical :where(li.bordered>a),.menu-vertical :where(li.bordered>span){
9896
+ .menu-vertical :where(li.bordered>a),.menu-vertical :where(li.bordered>button),.menu-vertical :where(li.bordered>span){
9870
9897
  border-bottom-width:0;
9871
9898
  border-left-width:4px;
9872
9899
  }
9873
9900
 
9874
- .menu-horizontal :where(li.bordered>a),.menu-horizontal :where(li.bordered>span){
9901
+ .menu-horizontal :where(li.bordered>a),.menu-horizontal :where(li.bordered>button),.menu-horizontal :where(li.bordered>span){
9875
9902
  border-left-width:0;
9876
9903
  border-bottom-width:4px;
9877
9904
  }
9878
9905
 
9879
- .menu-normal :where(li>a),.menu-normal :where(li>span){
9906
+ .menu-normal :where(li>a),.menu-normal :where(li>button),.menu-normal :where(li>span){
9880
9907
  font-size:1rem;
9881
9908
  line-height:1.5rem;
9882
9909
  padding-top:.75rem;
9883
9910
  padding-bottom:.75rem;
9884
9911
  }
9885
9912
 
9886
- .menu-compact :where(li>a),.menu-compact :where(li>span){
9913
+ .menu-compact :where(li>a),.menu-compact :where(li>button),.menu-compact :where(li>span){
9887
9914
  font-size:.875rem;
9888
9915
  line-height:1.25rem;
9889
9916
  padding-top:.5rem;
@@ -14652,24 +14679,24 @@ html{
14652
14679
  margin-top:1rem;
14653
14680
  }
14654
14681
 
14655
- .sm\:menu-vertical :where(li.bordered>a),.sm\:menu-vertical :where(li.bordered>span){
14682
+ .sm\:menu-vertical :where(li.bordered>a),.sm\:menu-vertical :where(li.bordered>button),.sm\:menu-vertical :where(li.bordered>span){
14656
14683
  border-bottom-width:0;
14657
14684
  border-left-width:4px;
14658
14685
  }
14659
14686
 
14660
- .sm\:menu-horizontal :where(li.bordered>a),.sm\:menu-horizontal :where(li.bordered>span){
14687
+ .sm\:menu-horizontal :where(li.bordered>a),.sm\:menu-horizontal :where(li.bordered>button),.sm\:menu-horizontal :where(li.bordered>span){
14661
14688
  border-left-width:0;
14662
14689
  border-bottom-width:4px;
14663
14690
  }
14664
14691
 
14665
- .sm\:menu-normal :where(li>a),.sm\:menu-normal :where(li>span){
14692
+ .sm\:menu-normal :where(li>a),.sm\:menu-normal :where(li>button),.sm\:menu-normal :where(li>span){
14666
14693
  font-size:1rem;
14667
14694
  line-height:1.5rem;
14668
14695
  padding-top:.75rem;
14669
14696
  padding-bottom:.75rem;
14670
14697
  }
14671
14698
 
14672
- .sm\:menu-compact :where(li>a),.sm\:menu-compact :where(li>span){
14699
+ .sm\:menu-compact :where(li>a),.sm\:menu-compact :where(li>button),.sm\:menu-compact :where(li>span){
14673
14700
  font-size:.875rem;
14674
14701
  line-height:1.25rem;
14675
14702
  padding-top:.5rem;
@@ -19439,24 +19466,24 @@ html{
19439
19466
  margin-top:1rem;
19440
19467
  }
19441
19468
 
19442
- .md\:menu-vertical :where(li.bordered>a),.md\:menu-vertical :where(li.bordered>span){
19469
+ .md\:menu-vertical :where(li.bordered>a),.md\:menu-vertical :where(li.bordered>button),.md\:menu-vertical :where(li.bordered>span){
19443
19470
  border-bottom-width:0;
19444
19471
  border-left-width:4px;
19445
19472
  }
19446
19473
 
19447
- .md\:menu-horizontal :where(li.bordered>a),.md\:menu-horizontal :where(li.bordered>span){
19474
+ .md\:menu-horizontal :where(li.bordered>a),.md\:menu-horizontal :where(li.bordered>button),.md\:menu-horizontal :where(li.bordered>span){
19448
19475
  border-left-width:0;
19449
19476
  border-bottom-width:4px;
19450
19477
  }
19451
19478
 
19452
- .md\:menu-normal :where(li>a),.md\:menu-normal :where(li>span){
19479
+ .md\:menu-normal :where(li>a),.md\:menu-normal :where(li>button),.md\:menu-normal :where(li>span){
19453
19480
  font-size:1rem;
19454
19481
  line-height:1.5rem;
19455
19482
  padding-top:.75rem;
19456
19483
  padding-bottom:.75rem;
19457
19484
  }
19458
19485
 
19459
- .md\:menu-compact :where(li>a),.md\:menu-compact :where(li>span){
19486
+ .md\:menu-compact :where(li>a),.md\:menu-compact :where(li>button),.md\:menu-compact :where(li>span){
19460
19487
  font-size:.875rem;
19461
19488
  line-height:1.25rem;
19462
19489
  padding-top:.5rem;
@@ -24226,24 +24253,24 @@ html{
24226
24253
  margin-top:1rem;
24227
24254
  }
24228
24255
 
24229
- .lg\:menu-vertical :where(li.bordered>a),.lg\:menu-vertical :where(li.bordered>span){
24256
+ .lg\:menu-vertical :where(li.bordered>a),.lg\:menu-vertical :where(li.bordered>button),.lg\:menu-vertical :where(li.bordered>span){
24230
24257
  border-bottom-width:0;
24231
24258
  border-left-width:4px;
24232
24259
  }
24233
24260
 
24234
- .lg\:menu-horizontal :where(li.bordered>a),.lg\:menu-horizontal :where(li.bordered>span){
24261
+ .lg\:menu-horizontal :where(li.bordered>a),.lg\:menu-horizontal :where(li.bordered>button),.lg\:menu-horizontal :where(li.bordered>span){
24235
24262
  border-left-width:0;
24236
24263
  border-bottom-width:4px;
24237
24264
  }
24238
24265
 
24239
- .lg\:menu-normal :where(li>a),.lg\:menu-normal :where(li>span){
24266
+ .lg\:menu-normal :where(li>a),.lg\:menu-normal :where(li>button),.lg\:menu-normal :where(li>span){
24240
24267
  font-size:1rem;
24241
24268
  line-height:1.5rem;
24242
24269
  padding-top:.75rem;
24243
24270
  padding-bottom:.75rem;
24244
24271
  }
24245
24272
 
24246
- .lg\:menu-compact :where(li>a),.lg\:menu-compact :where(li>span){
24273
+ .lg\:menu-compact :where(li>a),.lg\:menu-compact :where(li>button),.lg\:menu-compact :where(li>span){
24247
24274
  font-size:.875rem;
24248
24275
  line-height:1.25rem;
24249
24276
  padding-top:.5rem;
@@ -29013,24 +29040,24 @@ html{
29013
29040
  margin-top:1rem;
29014
29041
  }
29015
29042
 
29016
- .xl\:menu-vertical :where(li.bordered>a),.xl\:menu-vertical :where(li.bordered>span){
29043
+ .xl\:menu-vertical :where(li.bordered>a),.xl\:menu-vertical :where(li.bordered>button),.xl\:menu-vertical :where(li.bordered>span){
29017
29044
  border-bottom-width:0;
29018
29045
  border-left-width:4px;
29019
29046
  }
29020
29047
 
29021
- .xl\:menu-horizontal :where(li.bordered>a),.xl\:menu-horizontal :where(li.bordered>span){
29048
+ .xl\:menu-horizontal :where(li.bordered>a),.xl\:menu-horizontal :where(li.bordered>button),.xl\:menu-horizontal :where(li.bordered>span){
29022
29049
  border-left-width:0;
29023
29050
  border-bottom-width:4px;
29024
29051
  }
29025
29052
 
29026
- .xl\:menu-normal :where(li>a),.xl\:menu-normal :where(li>span){
29053
+ .xl\:menu-normal :where(li>a),.xl\:menu-normal :where(li>button),.xl\:menu-normal :where(li>span){
29027
29054
  font-size:1rem;
29028
29055
  line-height:1.5rem;
29029
29056
  padding-top:.75rem;
29030
29057
  padding-bottom:.75rem;
29031
29058
  }
29032
29059
 
29033
- .xl\:menu-compact :where(li>a),.xl\:menu-compact :where(li>span){
29060
+ .xl\:menu-compact :where(li>a),.xl\:menu-compact :where(li>button),.xl\:menu-compact :where(li>span){
29034
29061
  font-size:.875rem;
29035
29062
  line-height:1.25rem;
29036
29063
  padding-top:.5rem;
@@ -33800,24 +33827,24 @@ html{
33800
33827
  margin-top:1rem;
33801
33828
  }
33802
33829
 
33803
- .\32xl\:menu-vertical :where(li.bordered>a),.\32xl\:menu-vertical :where(li.bordered>span){
33830
+ .\32xl\:menu-vertical :where(li.bordered>a),.\32xl\:menu-vertical :where(li.bordered>button),.\32xl\:menu-vertical :where(li.bordered>span){
33804
33831
  border-bottom-width:0;
33805
33832
  border-left-width:4px;
33806
33833
  }
33807
33834
 
33808
- .\32xl\:menu-horizontal :where(li.bordered>a),.\32xl\:menu-horizontal :where(li.bordered>span){
33835
+ .\32xl\:menu-horizontal :where(li.bordered>a),.\32xl\:menu-horizontal :where(li.bordered>button),.\32xl\:menu-horizontal :where(li.bordered>span){
33809
33836
  border-left-width:0;
33810
33837
  border-bottom-width:4px;
33811
33838
  }
33812
33839
 
33813
- .\32xl\:menu-normal :where(li>a),.\32xl\:menu-normal :where(li>span){
33840
+ .\32xl\:menu-normal :where(li>a),.\32xl\:menu-normal :where(li>button),.\32xl\:menu-normal :where(li>span){
33814
33841
  font-size:1rem;
33815
33842
  line-height:1.5rem;
33816
33843
  padding-top:.75rem;
33817
33844
  padding-bottom:.75rem;
33818
33845
  }
33819
33846
 
33820
- .\32xl\:menu-compact :where(li>a),.\32xl\:menu-compact :where(li>span){
33847
+ .\32xl\:menu-compact :where(li>a),.\32xl\:menu-compact :where(li>button),.\32xl\:menu-compact :where(li>span){
33821
33848
  font-size:.875rem;
33822
33849
  line-height:1.25rem;
33823
33850
  padding-top:.5rem;
package/dist/styled.css CHANGED
@@ -349,6 +349,8 @@
349
349
  z-index:0;
350
350
  grid-column-start:1;
351
351
  grid-row-start:1;
352
+ -ms-scroll-chaining:none;
353
+ overscroll-behavior:contain;
352
354
  }
353
355
 
354
356
  .drawer-toggle~.drawer-side{
@@ -757,9 +759,11 @@
757
759
  flex-direction:column;
758
760
  align-items:stretch;
759
761
  }
760
- .menu :where(li)>a,.menu :where(li)>span{
762
+ .menu :where(li)>a,.menu :where(li)>button,.menu :where(li)>span{
761
763
  display:flex;
762
764
  align-items:center;
765
+ outline:2px solid transparent;
766
+ outline-offset:2px;
763
767
  transition-property:background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
764
768
  transition-duration:.15s;
765
769
  transition-timing-function:cubic-bezier(.4, 0, .2, 1);
@@ -776,7 +780,7 @@
776
780
  outline:2px solid transparent;
777
781
  outline-offset:2px;
778
782
  }
779
- .menu :where(li).disabled>a,.menu :where(li).disabled>span{
783
+ .menu :where(li).disabled>a,.menu :where(li).disabled>button,.menu :where(li).disabled>span{
780
784
  cursor:auto;
781
785
  }
782
786
  .mockup-code{
@@ -1738,6 +1742,14 @@
1738
1742
  animation:checkmark var(--animation-input, .2s) ease-in-out;
1739
1743
  background-image:linear-gradient(-45deg, transparent 65%, hsl(var(--chkbg)) 0), linear-gradient(45deg, transparent 75%, hsl(var(--chkbg)) 0), linear-gradient(-45deg, hsl(var(--chkbg)) 40%, transparent 0), linear-gradient(45deg, hsl(var(--chkbg)) 30%, hsl(var(--chkfg)) 0, hsl(var(--chkfg)) 40%, transparent 0), linear-gradient(-45deg, hsl(var(--chkfg)) 50%, hsl(var(--chkbg)) 0);
1740
1744
  }
1745
+ .checkbox:indeterminate{
1746
+ --tw-bg-opacity:1;
1747
+ background-color:hsla(var(--bc) / var(--tw-bg-opacity, 1));
1748
+ background-repeat:no-repeat;
1749
+ -webkit-animation:checkmark var(--animation-input, .2s) ease-in-out;
1750
+ animation:checkmark var(--animation-input, .2s) ease-in-out;
1751
+ background-image:linear-gradient(90deg, transparent 80%, hsl(var(--chkbg)) 0), linear-gradient(-90deg, transparent 80%, hsl(var(--chkbg)) 0), linear-gradient(0deg, hsl(var(--chkbg)) 43%, hsl(var(--chkfg)) 0, hsl(var(--chkfg)) 57%, hsl(var(--chkbg)) 0);
1752
+ }
1741
1753
  .checkbox-primary{
1742
1754
  --chkbg:var(--p);
1743
1755
  --chkfg:var(--pc);
@@ -2339,7 +2351,7 @@
2339
2351
  .mask-triangle-4{
2340
2352
  -webkit-mask-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE3NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNLjYzMSA4Ny4xMDdMLjQ0Ni41MDVsNzQuMjM5IDQzLjQ2MiA3NC40MjIgNDMuMTQtNzQuNDIyIDQzLjE0TC40NDYgMTczLjcxeiIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);
2341
2353
  mask-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE3NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNLjYzMSA4Ny4xMDdMLjQ0Ni41MDVsNzQuMjM5IDQzLjQ2MiA3NC40MjIgNDMuMTQtNzQuNDIyIDQzLjE0TC40NDYgMTczLjcxeiIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);
2342
- }.menu.horizontal li.bordered>a,.menu.horizontal li.bordered>span{
2354
+ }.menu.horizontal li.bordered>a,.menu.horizontal li.bordered>button,.menu.horizontal li.bordered>span{
2343
2355
  --tw-border-opacity:1;
2344
2356
  border-color:hsla(var(--p) / var(--tw-border-opacity, 1));
2345
2357
  border-left-width:0;
@@ -2348,36 +2360,36 @@
2348
2360
  .menu[class*=p-] li a{
2349
2361
  border-radius:var(--rounded-btn, .5rem);
2350
2362
  }
2351
- .menu :where(li.bordered>a),.menu :where(li.bordered>span){
2363
+ .menu :where(li.bordered>a),.menu :where(li.bordered>button),.menu :where(li.bordered>span){
2352
2364
  --tw-border-opacity:1;
2353
2365
  border-color:hsla(var(--p) / var(--tw-border-opacity, 1));
2354
2366
  border-left-width:4px;
2355
2367
  }
2356
- .menu li>:where(a),.menu li>:where(span){
2368
+ .menu li>:where(a),.menu li>:where(button),.menu li>:where(span){
2357
2369
  padding:.75rem 1.25rem;
2358
2370
  color:currentColor;
2359
2371
  }
2360
- .menu li>:where(a:focus),.menu li>:where(a:hover){
2372
+ .menu li>:where(a:focus),.menu li>:where(a:hover),.menu li>:where(button:focus),.menu li>:where(button:hover){
2361
2373
  --tw-bg-opacity:1;
2362
2374
  background-color:hsla(var(--bc) / var(--tw-bg-opacity, 1));
2363
2375
  --tw-bg-opacity:0.1;
2364
2376
  }
2365
- .menu li>:where(a.active){
2377
+ .menu li>:where(a.active),.menu li>:where(button.active){
2366
2378
  --tw-bg-opacity:1;
2367
2379
  background-color:hsla(var(--p) / var(--tw-bg-opacity, 1));
2368
2380
  --tw-text-opacity:1;
2369
2381
  color:hsla(var(--pc) / var(--tw-text-opacity, 1));
2370
2382
  }
2371
- .menu li>:where(a:active){
2383
+ .menu li>:where(a:active),.menu li>:where(button:active){
2372
2384
  --tw-bg-opacity:1;
2373
2385
  background-color:hsla(var(--pf) / var(--tw-bg-opacity, 1));
2374
2386
  --tw-text-opacity:1;
2375
2387
  color:hsla(var(--pc) / var(--tw-text-opacity, 1));
2376
2388
  }
2377
- .menu li.disabled>a:hover,.menu li.disabled>span:hover{
2389
+ .menu li.disabled>a:hover,.menu li.disabled>button:hover,.menu li.disabled>span:hover{
2378
2390
  background-color:transparent;
2379
2391
  }
2380
- .menu li.disabled>a,.menu li.disabled>span{
2392
+ .menu li.disabled>a,.menu li.disabled>button,.menu li.disabled>span{
2381
2393
  --tw-text-opacity:1;
2382
2394
  color:hsla(var(--bc) / var(--tw-text-opacity, 1));
2383
2395
  --tw-text-opacity:0.2;
@@ -2827,12 +2839,14 @@
2827
2839
  }
2828
2840
  .range-accent{
2829
2841
  --range-shdw:var(--a);
2830
- }.rating :where(input){
2842
+ }.rating input{
2843
+ -moz-appearance:none;
2844
+ appearance:none;
2845
+ -webkit-appearance:none;
2846
+ }
2847
+ .rating :where(input){
2831
2848
  -webkit-animation:rating-pop var(--animation-input, .25s) ease-out;
2832
2849
  animation:rating-pop var(--animation-input, .25s) ease-out;
2833
- -webkit-appearance:none;
2834
- -moz-appearance:none;
2835
- appearance:none;
2836
2850
  background-color:hsla(var(--bc) / var(--tw-bg-opacity, 1));
2837
2851
  --tw-bg-opacity:1;
2838
2852
  height:1.5rem;
@@ -2997,7 +3011,7 @@
2997
3011
  .select-disabled,.select[disabled]{
2998
3012
  --tw-text-opacity:0.2;
2999
3013
  }
3000
- .select-multiple,.select[multiple]{
3014
+ .select-multiple,.select[multiple],.select[size].select:not([size="1"]){
3001
3015
  background-image:none;
3002
3016
  padding-right:1rem;
3003
3017
  }
@@ -3495,6 +3509,15 @@
3495
3509
  [dir=rtl] .toggle:checked,[dir=rtl] .toggle[checked=true]{
3496
3510
  box-shadow:calc(var(--handleoffset)*1) 0 0 2px hsl(var(--b1)) inset, 0 0 0 2px hsl(var(--b1)) inset, var(--focus-shadow);
3497
3511
  }
3512
+ .toggle:indeterminate{
3513
+ --chkbg:hsl(var(--bc));
3514
+ --tw-bg-opacity:1;
3515
+ --tw-border-opacity:1;
3516
+ box-shadow:calc(var(--handleoffset)/2) 0 0 2px hsl(var(--b1)) inset, calc(var(--handleoffset)/-2) 0 0 2px hsl(var(--b1)) inset, 0 0 0 2px hsl(var(--b1)) inset, var(--focus-shadow);
3517
+ }
3518
+ [dir=rtl] .toggle:indeterminate{
3519
+ box-shadow:calc(var(--handleoffset)/2) 0 0 2px hsl(var(--b1)) inset, calc(var(--handleoffset)/-2) 0 0 2px hsl(var(--b1)) inset, 0 0 0 2px hsl(var(--b1)) inset, var(--focus-shadow);
3520
+ }
3498
3521
  .toggle-primary:focus-visible{
3499
3522
  --focus-shadow:0 0 0 2px hsl(var(--b1)), 0 0 0 4px hsl(var(--p));
3500
3523
  }