daisyui 1.23.1 → 1.24.3

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,29 @@
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.24.3](https://github.com/saadeghi/daisyui/compare/v1.24.2...v1.24.3) (2022-01-17)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * rating iOS backward compatibility ([e183b4f](https://github.com/saadeghi/daisyui/commit/e183b4f6d69e85432194c842b8c45ae3313ab3ff))
11
+
12
+ ### [1.24.2](https://github.com/saadeghi/daisyui/compare/v1.24.1...v1.24.2) (2022-01-17)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * [#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))
18
+
19
+ ### [1.24.1](https://github.com/saadeghi/daisyui/compare/v1.24.0...v1.24.1) (2022-01-17)
20
+
21
+ ## [1.24.0](https://github.com/saadeghi/daisyui/compare/v1.23.1...v1.24.0) (2022-01-17)
22
+
23
+
24
+ ### Features
25
+
26
+ * add responsive classes for `menu` ,fix: [#392](https://github.com/saadeghi/daisyui/issues/392) ([f825aea](https://github.com/saadeghi/daisyui/commit/f825aeab7fed82130e639e713d3de5707233ac02))
27
+
5
28
  ### [1.23.1](https://github.com/saadeghi/daisyui/compare/v1.23.0...v1.23.1) (2022-01-17)
6
29
 
7
30
 
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.0/dist/full.css" rel="stylesheet" type="text/css" />
82
+ <link href="https://cdn.jsdelivr.net/npm/daisyui@1.24.2/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
@@ -1539,6 +1539,7 @@ html{
1539
1539
  .drawer{
1540
1540
  display:grid;
1541
1541
  overflow:hidden;
1542
+ max-height:100vh;
1542
1543
  }
1543
1544
 
1544
1545
  .drawer.drawer-end{
@@ -1574,6 +1575,8 @@ html{
1574
1575
  z-index:0;
1575
1576
  grid-column-start:1;
1576
1577
  grid-row-start:1;
1578
+ -ms-scroll-chaining:none;
1579
+ overscroll-behavior:contain;
1577
1580
  transition-property:all;
1578
1581
  transition-duration:.15s;
1579
1582
  transition-duration:.3s;
@@ -1718,6 +1721,12 @@ html{
1718
1721
  }
1719
1722
  }
1720
1723
 
1724
+ @supports (-webkit-touch-callout:none){
1725
+ .drawer{
1726
+ max-height:-webkit-fill-available;
1727
+ }
1728
+ }
1729
+
1721
1730
  .dropdown{
1722
1731
  display:inline-block;
1723
1732
  position:relative;
@@ -2100,9 +2109,11 @@ html{
2100
2109
  align-items:stretch;
2101
2110
  }
2102
2111
 
2103
- .menu :where(li)>a,.menu :where(li)>span{
2112
+ .menu :where(li)>a,.menu :where(li)>button,.menu :where(li)>span{
2104
2113
  display:flex;
2105
2114
  align-items:center;
2115
+ outline:2px solid transparent;
2116
+ outline-offset:2px;
2106
2117
  transition-property:background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
2107
2118
  transition-duration:.15s;
2108
2119
  transition-duration:.2s;
@@ -2111,6 +2122,10 @@ html{
2111
2122
 
2112
2123
  .menu :where(li)>a{
2113
2124
  cursor:pointer;
2125
+ -webkit-user-select:none;
2126
+ -moz-user-select:none;
2127
+ -ms-user-select:none;
2128
+ user-select:none;
2114
2129
  }
2115
2130
 
2116
2131
  .menu :where(li)>a:focus{
@@ -2118,7 +2133,7 @@ html{
2118
2133
  outline-offset:2px;
2119
2134
  }
2120
2135
 
2121
- .menu :where(li).disabled>a,.menu :where(li).disabled>span{
2136
+ .menu :where(li).disabled>a,.menu :where(li).disabled>button,.menu :where(li).disabled>span{
2122
2137
  cursor:auto;
2123
2138
  }
2124
2139
 
@@ -2312,9 +2327,6 @@ html{
2312
2327
  cursor:pointer;
2313
2328
  -webkit-animation:rating-pop var(--animation-input, .25s) ease-out;
2314
2329
  animation:rating-pop var(--animation-input, .25s) ease-out;
2315
- -webkit-appearance:none;
2316
- -moz-appearance:none;
2317
- appearance:none;
2318
2330
  background-color:hsla(var(--bc) / var(--tw-bg-opacity, 1));
2319
2331
  --tw-bg-opacity:1;
2320
2332
  height:1.5rem;
@@ -3813,7 +3825,7 @@ html{
3813
3825
  mask-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE3NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNLjYzMSA4Ny4xMDdMLjQ0Ni41MDVsNzQuMjM5IDQzLjQ2MiA3NC40MjIgNDMuMTQtNzQuNDIyIDQzLjE0TC40NDYgMTczLjcxeiIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);
3814
3826
  }
3815
3827
 
3816
- .menu.horizontal li.bordered>a,.menu.horizontal li.bordered>span{
3828
+ .menu.horizontal li.bordered>a,.menu.horizontal li.bordered>button,.menu.horizontal li.bordered>span{
3817
3829
  --tw-border-opacity:1;
3818
3830
  border-color:hsla(var(--p) / var(--tw-border-opacity, 1));
3819
3831
  border-left-width:0;
@@ -3824,47 +3836,47 @@ html{
3824
3836
  border-radius:var(--rounded-btn, .5rem);
3825
3837
  }
3826
3838
 
3827
- .menu li>:where(a),.menu li>:where(span){
3839
+ .menu :where(li.bordered>a),.menu :where(li.bordered>button),.menu :where(li.bordered>span){
3840
+ --tw-border-opacity:1;
3841
+ border-color:hsla(var(--p) / var(--tw-border-opacity, 1));
3842
+ border-left-width:4px;
3843
+ }
3844
+
3845
+ .menu li>:where(a),.menu li>:where(button),.menu li>:where(span){
3828
3846
  padding:.75rem 1.25rem;
3829
3847
  color:currentColor;
3830
3848
  }
3831
3849
 
3832
- .menu li>:where(a:focus),.menu li>:where(a:hover){
3850
+ .menu li>:where(a:focus),.menu li>:where(a:hover),.menu li>:where(button:focus),.menu li>:where(button:hover){
3833
3851
  --tw-bg-opacity:1;
3834
3852
  --tw-bg-opacity:0.1;
3835
3853
  background-color:hsla(var(--bc) / var(--tw-bg-opacity, 1));
3836
3854
  }
3837
3855
 
3838
- .menu li>:where(a.active){
3856
+ .menu li>:where(a.active),.menu li>:where(button.active){
3839
3857
  --tw-bg-opacity:1;
3840
3858
  background-color:hsla(var(--p) / var(--tw-bg-opacity, 1));
3841
3859
  --tw-text-opacity:1;
3842
3860
  color:hsla(var(--pc) / var(--tw-text-opacity, 1));
3843
3861
  }
3844
3862
 
3845
- .menu li>:where(a:active){
3863
+ .menu li>:where(a:active),.menu li>:where(button:active){
3846
3864
  --tw-bg-opacity:1;
3847
3865
  background-color:hsla(var(--pf) / var(--tw-bg-opacity, 1));
3848
3866
  --tw-text-opacity:1;
3849
3867
  color:hsla(var(--pc) / var(--tw-text-opacity, 1));
3850
3868
  }
3851
3869
 
3852
- .menu li.disabled>a:hover,.menu li.disabled>span:hover{
3870
+ .menu li.disabled>a:hover,.menu li.disabled>button:hover,.menu li.disabled>span:hover{
3853
3871
  background-color:transparent;
3854
3872
  }
3855
3873
 
3856
- .menu li.disabled>a,.menu li.disabled>span{
3874
+ .menu li.disabled>a,.menu li.disabled>button,.menu li.disabled>span{
3857
3875
  --tw-text-opacity:1;
3858
3876
  --tw-text-opacity:0.2;
3859
3877
  color:hsla(var(--bc) / var(--tw-text-opacity, 1));
3860
3878
  }
3861
3879
 
3862
- .menu li.bordered a,.menu li.bordered span{
3863
- --tw-border-opacity:1;
3864
- border-color:hsla(var(--p) / var(--tw-border-opacity, 1));
3865
- border-left-width:4px;
3866
- }
3867
-
3868
3880
  .menu li.hover-bordered a{
3869
3881
  border-color:transparent;
3870
3882
  border-left-width:4px;
@@ -4280,6 +4292,12 @@ html{
4280
4292
  --range-shdw:var(--a);
4281
4293
  }
4282
4294
 
4295
+ .rating input{
4296
+ -moz-appearance:none;
4297
+ appearance:none;
4298
+ -webkit-appearance:none;
4299
+ }
4300
+
4283
4301
  .rating .rating-hidden{
4284
4302
  background-color:transparent;
4285
4303
  width:.5rem;
@@ -4426,7 +4444,7 @@ html{
4426
4444
  color:hsla(var(--bc) / var(--tw-placeholder-opacity, 1));
4427
4445
  }
4428
4446
 
4429
- .select-multiple,.select[multiple]{
4447
+ .select-multiple,.select[multiple],.select[size].select:not([size="1"]){
4430
4448
  background-image:none;
4431
4449
  padding-right:1rem;
4432
4450
  }
@@ -9384,6 +9402,23 @@ html{
9384
9402
  min-width:2.5em;
9385
9403
  }
9386
9404
 
9405
+ .menu-vertical{
9406
+ flex-direction:column;
9407
+ }
9408
+
9409
+ .menu-vertical :where(li){
9410
+ flex-direction:column;
9411
+ }
9412
+
9413
+ .menu-horizontal{
9414
+ display:inline-flex;
9415
+ flex-direction:row;
9416
+ }
9417
+
9418
+ .menu-horizontal :where(li){
9419
+ flex-direction:row;
9420
+ }
9421
+
9387
9422
  .radio-xs{
9388
9423
  height:1rem;
9389
9424
  width:1rem;
@@ -9845,6 +9880,30 @@ html{
9845
9880
  margin-top:1rem;
9846
9881
  }
9847
9882
 
9883
+ .menu-vertical :where(li.bordered>a),.menu-vertical :where(li.bordered>button),.menu-vertical :where(li.bordered>span){
9884
+ border-bottom-width:0;
9885
+ border-left-width:4px;
9886
+ }
9887
+
9888
+ .menu-horizontal :where(li.bordered>a),.menu-horizontal :where(li.bordered>button),.menu-horizontal :where(li.bordered>span){
9889
+ border-left-width:0;
9890
+ border-bottom-width:4px;
9891
+ }
9892
+
9893
+ .menu-normal :where(li>a),.menu-normal :where(li>button),.menu-normal :where(li>span){
9894
+ font-size:1rem;
9895
+ line-height:1.5rem;
9896
+ padding-top:.75rem;
9897
+ padding-bottom:.75rem;
9898
+ }
9899
+
9900
+ .menu-compact :where(li>a),.menu-compact :where(li>button),.menu-compact :where(li>span){
9901
+ font-size:.875rem;
9902
+ line-height:1.25rem;
9903
+ padding-top:.5rem;
9904
+ padding-bottom:.5rem;
9905
+ }
9906
+
9848
9907
  .steps-horizontal [class~=step]{
9849
9908
  grid-template-rows:40px 1fr;
9850
9909
  grid-template-columns:auto;
@@ -14129,6 +14188,23 @@ html{
14129
14188
  min-width:2.5em;
14130
14189
  }
14131
14190
 
14191
+ .sm\:menu-vertical{
14192
+ flex-direction:column;
14193
+ }
14194
+
14195
+ .sm\:menu-vertical :where(li){
14196
+ flex-direction:column;
14197
+ }
14198
+
14199
+ .sm\:menu-horizontal{
14200
+ display:inline-flex;
14201
+ flex-direction:row;
14202
+ }
14203
+
14204
+ .sm\:menu-horizontal :where(li){
14205
+ flex-direction:row;
14206
+ }
14207
+
14132
14208
  .sm\:radio-xs{
14133
14209
  height:1rem;
14134
14210
  width:1rem;
@@ -14590,6 +14666,30 @@ html{
14590
14666
  margin-top:1rem;
14591
14667
  }
14592
14668
 
14669
+ .sm\:menu-vertical :where(li.bordered>a),.sm\:menu-vertical :where(li.bordered>button),.sm\:menu-vertical :where(li.bordered>span){
14670
+ border-bottom-width:0;
14671
+ border-left-width:4px;
14672
+ }
14673
+
14674
+ .sm\:menu-horizontal :where(li.bordered>a),.sm\:menu-horizontal :where(li.bordered>button),.sm\:menu-horizontal :where(li.bordered>span){
14675
+ border-left-width:0;
14676
+ border-bottom-width:4px;
14677
+ }
14678
+
14679
+ .sm\:menu-normal :where(li>a),.sm\:menu-normal :where(li>button),.sm\:menu-normal :where(li>span){
14680
+ font-size:1rem;
14681
+ line-height:1.5rem;
14682
+ padding-top:.75rem;
14683
+ padding-bottom:.75rem;
14684
+ }
14685
+
14686
+ .sm\:menu-compact :where(li>a),.sm\:menu-compact :where(li>button),.sm\:menu-compact :where(li>span){
14687
+ font-size:.875rem;
14688
+ line-height:1.25rem;
14689
+ padding-top:.5rem;
14690
+ padding-bottom:.5rem;
14691
+ }
14692
+
14593
14693
  .sm\:steps-horizontal [class~=step]{
14594
14694
  grid-template-rows:40px 1fr;
14595
14695
  grid-template-columns:auto;
@@ -18875,6 +18975,23 @@ html{
18875
18975
  min-width:2.5em;
18876
18976
  }
18877
18977
 
18978
+ .md\:menu-vertical{
18979
+ flex-direction:column;
18980
+ }
18981
+
18982
+ .md\:menu-vertical :where(li){
18983
+ flex-direction:column;
18984
+ }
18985
+
18986
+ .md\:menu-horizontal{
18987
+ display:inline-flex;
18988
+ flex-direction:row;
18989
+ }
18990
+
18991
+ .md\:menu-horizontal :where(li){
18992
+ flex-direction:row;
18993
+ }
18994
+
18878
18995
  .md\:radio-xs{
18879
18996
  height:1rem;
18880
18997
  width:1rem;
@@ -19336,6 +19453,30 @@ html{
19336
19453
  margin-top:1rem;
19337
19454
  }
19338
19455
 
19456
+ .md\:menu-vertical :where(li.bordered>a),.md\:menu-vertical :where(li.bordered>button),.md\:menu-vertical :where(li.bordered>span){
19457
+ border-bottom-width:0;
19458
+ border-left-width:4px;
19459
+ }
19460
+
19461
+ .md\:menu-horizontal :where(li.bordered>a),.md\:menu-horizontal :where(li.bordered>button),.md\:menu-horizontal :where(li.bordered>span){
19462
+ border-left-width:0;
19463
+ border-bottom-width:4px;
19464
+ }
19465
+
19466
+ .md\:menu-normal :where(li>a),.md\:menu-normal :where(li>button),.md\:menu-normal :where(li>span){
19467
+ font-size:1rem;
19468
+ line-height:1.5rem;
19469
+ padding-top:.75rem;
19470
+ padding-bottom:.75rem;
19471
+ }
19472
+
19473
+ .md\:menu-compact :where(li>a),.md\:menu-compact :where(li>button),.md\:menu-compact :where(li>span){
19474
+ font-size:.875rem;
19475
+ line-height:1.25rem;
19476
+ padding-top:.5rem;
19477
+ padding-bottom:.5rem;
19478
+ }
19479
+
19339
19480
  .md\:steps-horizontal [class~=step]{
19340
19481
  grid-template-rows:40px 1fr;
19341
19482
  grid-template-columns:auto;
@@ -23621,6 +23762,23 @@ html{
23621
23762
  min-width:2.5em;
23622
23763
  }
23623
23764
 
23765
+ .lg\:menu-vertical{
23766
+ flex-direction:column;
23767
+ }
23768
+
23769
+ .lg\:menu-vertical :where(li){
23770
+ flex-direction:column;
23771
+ }
23772
+
23773
+ .lg\:menu-horizontal{
23774
+ display:inline-flex;
23775
+ flex-direction:row;
23776
+ }
23777
+
23778
+ .lg\:menu-horizontal :where(li){
23779
+ flex-direction:row;
23780
+ }
23781
+
23624
23782
  .lg\:radio-xs{
23625
23783
  height:1rem;
23626
23784
  width:1rem;
@@ -24082,6 +24240,30 @@ html{
24082
24240
  margin-top:1rem;
24083
24241
  }
24084
24242
 
24243
+ .lg\:menu-vertical :where(li.bordered>a),.lg\:menu-vertical :where(li.bordered>button),.lg\:menu-vertical :where(li.bordered>span){
24244
+ border-bottom-width:0;
24245
+ border-left-width:4px;
24246
+ }
24247
+
24248
+ .lg\:menu-horizontal :where(li.bordered>a),.lg\:menu-horizontal :where(li.bordered>button),.lg\:menu-horizontal :where(li.bordered>span){
24249
+ border-left-width:0;
24250
+ border-bottom-width:4px;
24251
+ }
24252
+
24253
+ .lg\:menu-normal :where(li>a),.lg\:menu-normal :where(li>button),.lg\:menu-normal :where(li>span){
24254
+ font-size:1rem;
24255
+ line-height:1.5rem;
24256
+ padding-top:.75rem;
24257
+ padding-bottom:.75rem;
24258
+ }
24259
+
24260
+ .lg\:menu-compact :where(li>a),.lg\:menu-compact :where(li>button),.lg\:menu-compact :where(li>span){
24261
+ font-size:.875rem;
24262
+ line-height:1.25rem;
24263
+ padding-top:.5rem;
24264
+ padding-bottom:.5rem;
24265
+ }
24266
+
24085
24267
  .lg\:steps-horizontal [class~=step]{
24086
24268
  grid-template-rows:40px 1fr;
24087
24269
  grid-template-columns:auto;
@@ -28367,6 +28549,23 @@ html{
28367
28549
  min-width:2.5em;
28368
28550
  }
28369
28551
 
28552
+ .xl\:menu-vertical{
28553
+ flex-direction:column;
28554
+ }
28555
+
28556
+ .xl\:menu-vertical :where(li){
28557
+ flex-direction:column;
28558
+ }
28559
+
28560
+ .xl\:menu-horizontal{
28561
+ display:inline-flex;
28562
+ flex-direction:row;
28563
+ }
28564
+
28565
+ .xl\:menu-horizontal :where(li){
28566
+ flex-direction:row;
28567
+ }
28568
+
28370
28569
  .xl\:radio-xs{
28371
28570
  height:1rem;
28372
28571
  width:1rem;
@@ -28828,6 +29027,30 @@ html{
28828
29027
  margin-top:1rem;
28829
29028
  }
28830
29029
 
29030
+ .xl\:menu-vertical :where(li.bordered>a),.xl\:menu-vertical :where(li.bordered>button),.xl\:menu-vertical :where(li.bordered>span){
29031
+ border-bottom-width:0;
29032
+ border-left-width:4px;
29033
+ }
29034
+
29035
+ .xl\:menu-horizontal :where(li.bordered>a),.xl\:menu-horizontal :where(li.bordered>button),.xl\:menu-horizontal :where(li.bordered>span){
29036
+ border-left-width:0;
29037
+ border-bottom-width:4px;
29038
+ }
29039
+
29040
+ .xl\:menu-normal :where(li>a),.xl\:menu-normal :where(li>button),.xl\:menu-normal :where(li>span){
29041
+ font-size:1rem;
29042
+ line-height:1.5rem;
29043
+ padding-top:.75rem;
29044
+ padding-bottom:.75rem;
29045
+ }
29046
+
29047
+ .xl\:menu-compact :where(li>a),.xl\:menu-compact :where(li>button),.xl\:menu-compact :where(li>span){
29048
+ font-size:.875rem;
29049
+ line-height:1.25rem;
29050
+ padding-top:.5rem;
29051
+ padding-bottom:.5rem;
29052
+ }
29053
+
28831
29054
  .xl\:steps-horizontal [class~=step]{
28832
29055
  grid-template-rows:40px 1fr;
28833
29056
  grid-template-columns:auto;
@@ -33113,6 +33336,23 @@ html{
33113
33336
  min-width:2.5em;
33114
33337
  }
33115
33338
 
33339
+ .\32xl\:menu-vertical{
33340
+ flex-direction:column;
33341
+ }
33342
+
33343
+ .\32xl\:menu-vertical :where(li){
33344
+ flex-direction:column;
33345
+ }
33346
+
33347
+ .\32xl\:menu-horizontal{
33348
+ display:inline-flex;
33349
+ flex-direction:row;
33350
+ }
33351
+
33352
+ .\32xl\:menu-horizontal :where(li){
33353
+ flex-direction:row;
33354
+ }
33355
+
33116
33356
  .\32xl\:radio-xs{
33117
33357
  height:1rem;
33118
33358
  width:1rem;
@@ -33574,6 +33814,30 @@ html{
33574
33814
  margin-top:1rem;
33575
33815
  }
33576
33816
 
33817
+ .\32xl\:menu-vertical :where(li.bordered>a),.\32xl\:menu-vertical :where(li.bordered>button),.\32xl\:menu-vertical :where(li.bordered>span){
33818
+ border-bottom-width:0;
33819
+ border-left-width:4px;
33820
+ }
33821
+
33822
+ .\32xl\:menu-horizontal :where(li.bordered>a),.\32xl\:menu-horizontal :where(li.bordered>button),.\32xl\:menu-horizontal :where(li.bordered>span){
33823
+ border-left-width:0;
33824
+ border-bottom-width:4px;
33825
+ }
33826
+
33827
+ .\32xl\:menu-normal :where(li>a),.\32xl\:menu-normal :where(li>button),.\32xl\:menu-normal :where(li>span){
33828
+ font-size:1rem;
33829
+ line-height:1.5rem;
33830
+ padding-top:.75rem;
33831
+ padding-bottom:.75rem;
33832
+ }
33833
+
33834
+ .\32xl\:menu-compact :where(li>a),.\32xl\:menu-compact :where(li>button),.\32xl\:menu-compact :where(li>span){
33835
+ font-size:.875rem;
33836
+ line-height:1.25rem;
33837
+ padding-top:.5rem;
33838
+ padding-bottom:.5rem;
33839
+ }
33840
+
33577
33841
  .\32xl\:steps-horizontal [class~=step]{
33578
33842
  grid-template-rows:40px 1fr;
33579
33843
  grid-template-columns:auto;
package/dist/styled.css CHANGED
@@ -318,6 +318,7 @@
318
318
  }.drawer{
319
319
  display:grid;
320
320
  overflow:hidden;
321
+ max-height:100vh;
321
322
  }
322
323
  .drawer.drawer-end{
323
324
  direction:rtl;
@@ -349,6 +350,8 @@
349
350
  z-index:0;
350
351
  grid-column-start:1;
351
352
  grid-row-start:1;
353
+ -ms-scroll-chaining:none;
354
+ overscroll-behavior:contain;
352
355
  }
353
356
 
354
357
  .drawer-toggle~.drawer-side{
@@ -458,6 +461,12 @@
458
461
  --tw-translate-x:0px;
459
462
  }
460
463
  }
464
+ }
465
+
466
+ @supports (-webkit-touch-callout:none){
467
+ .drawer{
468
+ max-height:-webkit-fill-available;
469
+ }
461
470
  }.dropdown{
462
471
  display:inline-block;
463
472
  position:relative;
@@ -757,9 +766,11 @@
757
766
  flex-direction:column;
758
767
  align-items:stretch;
759
768
  }
760
- .menu :where(li)>a,.menu :where(li)>span{
769
+ .menu :where(li)>a,.menu :where(li)>button,.menu :where(li)>span{
761
770
  display:flex;
762
771
  align-items:center;
772
+ outline:2px solid transparent;
773
+ outline-offset:2px;
763
774
  transition-property:background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
764
775
  transition-duration:.15s;
765
776
  transition-timing-function:cubic-bezier(.4, 0, .2, 1);
@@ -767,12 +778,16 @@
767
778
  }
768
779
  .menu :where(li)>a{
769
780
  cursor:pointer;
781
+ -webkit-user-select:none;
782
+ -moz-user-select:none;
783
+ -ms-user-select:none;
784
+ user-select:none;
770
785
  }
771
786
  .menu :where(li)>a:focus{
772
787
  outline:2px solid transparent;
773
788
  outline-offset:2px;
774
789
  }
775
- .menu :where(li).disabled>a,.menu :where(li).disabled>span{
790
+ .menu :where(li).disabled>a,.menu :where(li).disabled>button,.menu :where(li).disabled>span{
776
791
  cursor:auto;
777
792
  }
778
793
  .mockup-code{
@@ -2335,7 +2350,7 @@
2335
2350
  .mask-triangle-4{
2336
2351
  -webkit-mask-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE3NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNLjYzMSA4Ny4xMDdMLjQ0Ni41MDVsNzQuMjM5IDQzLjQ2MiA3NC40MjIgNDMuMTQtNzQuNDIyIDQzLjE0TC40NDYgMTczLjcxeiIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);
2337
2352
  mask-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE3NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNLjYzMSA4Ny4xMDdMLjQ0Ni41MDVsNzQuMjM5IDQzLjQ2MiA3NC40MjIgNDMuMTQtNzQuNDIyIDQzLjE0TC40NDYgMTczLjcxeiIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);
2338
- }.menu.horizontal li.bordered>a,.menu.horizontal li.bordered>span{
2353
+ }.menu.horizontal li.bordered>a,.menu.horizontal li.bordered>button,.menu.horizontal li.bordered>span{
2339
2354
  --tw-border-opacity:1;
2340
2355
  border-color:hsla(var(--p) / var(--tw-border-opacity, 1));
2341
2356
  border-left-width:0;
@@ -2344,40 +2359,40 @@
2344
2359
  .menu[class*=p-] li a{
2345
2360
  border-radius:var(--rounded-btn, .5rem);
2346
2361
  }
2347
- .menu li>:where(a),.menu li>:where(span){
2362
+ .menu :where(li.bordered>a),.menu :where(li.bordered>button),.menu :where(li.bordered>span){
2363
+ --tw-border-opacity:1;
2364
+ border-color:hsla(var(--p) / var(--tw-border-opacity, 1));
2365
+ border-left-width:4px;
2366
+ }
2367
+ .menu li>:where(a),.menu li>:where(button),.menu li>:where(span){
2348
2368
  padding:.75rem 1.25rem;
2349
2369
  color:currentColor;
2350
2370
  }
2351
- .menu li>:where(a:focus),.menu li>:where(a:hover){
2371
+ .menu li>:where(a:focus),.menu li>:where(a:hover),.menu li>:where(button:focus),.menu li>:where(button:hover){
2352
2372
  --tw-bg-opacity:1;
2353
2373
  background-color:hsla(var(--bc) / var(--tw-bg-opacity, 1));
2354
2374
  --tw-bg-opacity:0.1;
2355
2375
  }
2356
- .menu li>:where(a.active){
2376
+ .menu li>:where(a.active),.menu li>:where(button.active){
2357
2377
  --tw-bg-opacity:1;
2358
2378
  background-color:hsla(var(--p) / var(--tw-bg-opacity, 1));
2359
2379
  --tw-text-opacity:1;
2360
2380
  color:hsla(var(--pc) / var(--tw-text-opacity, 1));
2361
2381
  }
2362
- .menu li>:where(a:active){
2382
+ .menu li>:where(a:active),.menu li>:where(button:active){
2363
2383
  --tw-bg-opacity:1;
2364
2384
  background-color:hsla(var(--pf) / var(--tw-bg-opacity, 1));
2365
2385
  --tw-text-opacity:1;
2366
2386
  color:hsla(var(--pc) / var(--tw-text-opacity, 1));
2367
2387
  }
2368
- .menu li.disabled>a:hover,.menu li.disabled>span:hover{
2388
+ .menu li.disabled>a:hover,.menu li.disabled>button:hover,.menu li.disabled>span:hover{
2369
2389
  background-color:transparent;
2370
2390
  }
2371
- .menu li.disabled>a,.menu li.disabled>span{
2391
+ .menu li.disabled>a,.menu li.disabled>button,.menu li.disabled>span{
2372
2392
  --tw-text-opacity:1;
2373
2393
  color:hsla(var(--bc) / var(--tw-text-opacity, 1));
2374
2394
  --tw-text-opacity:0.2;
2375
2395
  }
2376
- .menu li.bordered a,.menu li.bordered span{
2377
- --tw-border-opacity:1;
2378
- border-color:hsla(var(--p) / var(--tw-border-opacity, 1));
2379
- border-left-width:4px;
2380
- }
2381
2396
  .menu li.hover-bordered a{
2382
2397
  border-color:transparent;
2383
2398
  }
@@ -2823,12 +2838,14 @@
2823
2838
  }
2824
2839
  .range-accent{
2825
2840
  --range-shdw:var(--a);
2826
- }.rating :where(input){
2841
+ }.rating input{
2842
+ -moz-appearance:none;
2843
+ appearance:none;
2844
+ -webkit-appearance:none;
2845
+ }
2846
+ .rating :where(input){
2827
2847
  -webkit-animation:rating-pop var(--animation-input, .25s) ease-out;
2828
2848
  animation:rating-pop var(--animation-input, .25s) ease-out;
2829
- -webkit-appearance:none;
2830
- -moz-appearance:none;
2831
- appearance:none;
2832
2849
  background-color:hsla(var(--bc) / var(--tw-bg-opacity, 1));
2833
2850
  --tw-bg-opacity:1;
2834
2851
  height:1.5rem;
@@ -2993,7 +3010,7 @@
2993
3010
  .select-disabled,.select[disabled]{
2994
3011
  --tw-text-opacity:0.2;
2995
3012
  }
2996
- .select-multiple,.select[multiple]{
3013
+ .select-multiple,.select[multiple],.select[size].select:not([size="1"]){
2997
3014
  background-image:none;
2998
3015
  padding-right:1rem;
2999
3016
  }