daisyui 1.24.3 → 1.25.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 +33 -0
- package/README.md +1 -1
- package/dist/full.css +23 -9
- package/dist/styled.css +20 -9
- package/dist/styled.js +1 -1
- package/dist/styled.rtl.js +1 -1
- package/dist/unstyled.css +0 -7
- package/dist/unstyled.js +1 -1
- package/dist/unstyled.rtl.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,39 @@
|
|
|
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.3](https://github.com/saadeghi/daisyui/compare/v1.25.2...v1.25.3) (2022-01-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* [#423](https://github.com/saadeghi/daisyui/issues/423) ([8613f79](https://github.com/saadeghi/daisyui/commit/8613f7972a8eb5517ad33a4069d2ee5e8cccdf0e))
|
|
11
|
+
|
|
12
|
+
### [1.25.2](https://github.com/saadeghi/daisyui/compare/v1.25.1...v1.25.2) (2022-01-23)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* [#422](https://github.com/saadeghi/daisyui/issues/422) ([afd8dd6](https://github.com/saadeghi/daisyui/commit/afd8dd66df93ffe7560b5133f89bb0082ffd969e))
|
|
18
|
+
|
|
19
|
+
### [1.25.1](https://github.com/saadeghi/daisyui/compare/v1.25.0...v1.25.1) (2022-01-23)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* [#422](https://github.com/saadeghi/daisyui/issues/422) ([5c6577d](https://github.com/saadeghi/daisyui/commit/5c6577db662e5991a39c8a8f9d7c52aee8b31980))
|
|
25
|
+
|
|
26
|
+
## [1.25.0](https://github.com/saadeghi/daisyui/compare/v1.24.3...v1.25.0) (2022-01-23)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* add indeterminate style for checkbox and toggle, fix [#420](https://github.com/saadeghi/daisyui/issues/420) ([fd11e61](https://github.com/saadeghi/daisyui/commit/fd11e61fd7760a767260f77c62196460de08a534))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
* [#400](https://github.com/saadeghi/daisyui/issues/400) ([9df4224](https://github.com/saadeghi/daisyui/commit/9df4224a7989f21e9b5613bb4405849dfb9030aa))
|
|
37
|
+
|
|
5
38
|
### [1.24.3](https://github.com/saadeghi/daisyui/compare/v1.24.2...v1.24.3) (2022-01-17)
|
|
6
39
|
|
|
7
40
|
|
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.
|
|
82
|
+
<link href="https://cdn.jsdelivr.net/npm/daisyui@1.25.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,7 +1539,6 @@ html{
|
|
|
1539
1539
|
.drawer{
|
|
1540
1540
|
display:grid;
|
|
1541
1541
|
overflow:hidden;
|
|
1542
|
-
max-height:100vh;
|
|
1543
1542
|
}
|
|
1544
1543
|
|
|
1545
1544
|
.drawer.drawer-end{
|
|
@@ -1629,7 +1628,8 @@ html{
|
|
|
1629
1628
|
|
|
1630
1629
|
.drawer-toggle:checked~.drawer-side>.drawer-overlay{
|
|
1631
1630
|
visibility:visible;
|
|
1632
|
-
opacity:.
|
|
1631
|
+
opacity:.999999;
|
|
1632
|
+
--tw-bg-opacity:0.4;
|
|
1633
1633
|
}
|
|
1634
1634
|
|
|
1635
1635
|
.drawer-toggle:checked~.drawer-side>.drawer-overlay+*{
|
|
@@ -1721,12 +1721,6 @@ html{
|
|
|
1721
1721
|
}
|
|
1722
1722
|
}
|
|
1723
1723
|
|
|
1724
|
-
@supports (-webkit-touch-callout:none){
|
|
1725
|
-
.drawer{
|
|
1726
|
-
max-height:-webkit-fill-available;
|
|
1727
|
-
}
|
|
1728
|
-
}
|
|
1729
|
-
|
|
1730
1724
|
.dropdown{
|
|
1731
1725
|
display:inline-block;
|
|
1732
1726
|
position:relative;
|
|
@@ -2655,7 +2649,7 @@ html{
|
|
|
2655
2649
|
overflow:hidden;
|
|
2656
2650
|
}
|
|
2657
2651
|
|
|
2658
|
-
.avatar-group .avatar{
|
|
2652
|
+
.avatar-group :where(.avatar){
|
|
2659
2653
|
--tw-border-opacity:1;
|
|
2660
2654
|
border-color:hsla(var(--b1) / var(--tw-border-opacity, 1));
|
|
2661
2655
|
border-radius:9999px;
|
|
@@ -3300,6 +3294,15 @@ html{
|
|
|
3300
3294
|
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);
|
|
3301
3295
|
}
|
|
3302
3296
|
|
|
3297
|
+
.checkbox:indeterminate{
|
|
3298
|
+
--tw-bg-opacity:1;
|
|
3299
|
+
background-color:hsla(var(--bc) / var(--tw-bg-opacity, 1));
|
|
3300
|
+
background-repeat:no-repeat;
|
|
3301
|
+
-webkit-animation:checkmark var(--animation-input, .2s) ease-in-out;
|
|
3302
|
+
animation:checkmark var(--animation-input, .2s) ease-in-out;
|
|
3303
|
+
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);
|
|
3304
|
+
}
|
|
3305
|
+
|
|
3303
3306
|
.checkbox-primary{
|
|
3304
3307
|
--chkbg:var(--p);
|
|
3305
3308
|
--chkfg:var(--pc);
|
|
@@ -4888,6 +4891,17 @@ html{
|
|
|
4888
4891
|
box-shadow:calc(var(--handleoffset)*1) 0 0 2px hsl(var(--b1)) inset, 0 0 0 2px hsl(var(--b1)) inset, var(--focus-shadow);
|
|
4889
4892
|
}
|
|
4890
4893
|
|
|
4894
|
+
.toggle:indeterminate{
|
|
4895
|
+
--chkbg:hsl(var(--bc));
|
|
4896
|
+
--tw-bg-opacity:1;
|
|
4897
|
+
--tw-border-opacity:1;
|
|
4898
|
+
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);
|
|
4899
|
+
}
|
|
4900
|
+
|
|
4901
|
+
[dir=rtl] .toggle:indeterminate{
|
|
4902
|
+
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);
|
|
4903
|
+
}
|
|
4904
|
+
|
|
4891
4905
|
.toggle-primary:focus-visible{
|
|
4892
4906
|
--focus-shadow:0 0 0 2px hsl(var(--b1)), 0 0 0 4px hsl(var(--p));
|
|
4893
4907
|
}
|
package/dist/styled.css
CHANGED
|
@@ -318,7 +318,6 @@
|
|
|
318
318
|
}.drawer{
|
|
319
319
|
display:grid;
|
|
320
320
|
overflow:hidden;
|
|
321
|
-
max-height:100vh;
|
|
322
321
|
}
|
|
323
322
|
.drawer.drawer-end{
|
|
324
323
|
direction:rtl;
|
|
@@ -461,12 +460,6 @@
|
|
|
461
460
|
--tw-translate-x:0px;
|
|
462
461
|
}
|
|
463
462
|
}
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
@supports (-webkit-touch-callout:none){
|
|
467
|
-
.drawer{
|
|
468
|
-
max-height:-webkit-fill-available;
|
|
469
|
-
}
|
|
470
463
|
}.dropdown{
|
|
471
464
|
display:inline-block;
|
|
472
465
|
position:relative;
|
|
@@ -1110,7 +1103,7 @@
|
|
|
1110
1103
|
display:flex;
|
|
1111
1104
|
overflow:hidden;
|
|
1112
1105
|
}
|
|
1113
|
-
.avatar-group .avatar{
|
|
1106
|
+
.avatar-group :where(.avatar){
|
|
1114
1107
|
--tw-border-opacity:1;
|
|
1115
1108
|
border-color:hsla(var(--b1) / var(--tw-border-opacity, 1));
|
|
1116
1109
|
border-radius:9999px;
|
|
@@ -1749,6 +1742,14 @@
|
|
|
1749
1742
|
animation:checkmark var(--animation-input, .2s) ease-in-out;
|
|
1750
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);
|
|
1751
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
|
+
}
|
|
1752
1753
|
.checkbox-primary{
|
|
1753
1754
|
--chkbg:var(--p);
|
|
1754
1755
|
--chkfg:var(--pc);
|
|
@@ -2000,7 +2001,8 @@
|
|
|
2000
2001
|
}
|
|
2001
2002
|
|
|
2002
2003
|
.drawer-toggle:checked~.drawer-side>.drawer-overlay{
|
|
2003
|
-
opacity:.
|
|
2004
|
+
opacity:.999999;
|
|
2005
|
+
--tw-bg-opacity:0.4;
|
|
2004
2006
|
}
|
|
2005
2007
|
|
|
2006
2008
|
.drawer-toggle:focus-visible~.drawer-content .drawer-button{
|
|
@@ -3508,6 +3510,15 @@
|
|
|
3508
3510
|
[dir=rtl] .toggle:checked,[dir=rtl] .toggle[checked=true]{
|
|
3509
3511
|
box-shadow:calc(var(--handleoffset)*1) 0 0 2px hsl(var(--b1)) inset, 0 0 0 2px hsl(var(--b1)) inset, var(--focus-shadow);
|
|
3510
3512
|
}
|
|
3513
|
+
.toggle:indeterminate{
|
|
3514
|
+
--chkbg:hsl(var(--bc));
|
|
3515
|
+
--tw-bg-opacity:1;
|
|
3516
|
+
--tw-border-opacity:1;
|
|
3517
|
+
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);
|
|
3518
|
+
}
|
|
3519
|
+
[dir=rtl] .toggle:indeterminate{
|
|
3520
|
+
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);
|
|
3521
|
+
}
|
|
3511
3522
|
.toggle-primary:focus-visible{
|
|
3512
3523
|
--focus-shadow:0 0 0 2px hsl(var(--b1)), 0 0 0 4px hsl(var(--p));
|
|
3513
3524
|
}
|