daisyui 4.10.4 → 4.11.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/full.css +1968 -19
- package/dist/styled.css +14 -19
- package/dist/styled.js +1 -1
- package/dist/unstyled.css +3 -4
- package/dist/unstyled.js +1 -1
- package/package.json +1 -1
package/dist/styled.css
CHANGED
|
@@ -1166,8 +1166,7 @@
|
|
|
1166
1166
|
display: grid;
|
|
1167
1167
|
align-items: flex-end;
|
|
1168
1168
|
}
|
|
1169
|
-
.tabs-lifted:has(.tab-content[class^="rounded-"]) .tab:first-child:not(.tab-active),
|
|
1170
|
-
.tabs-lifted:has(.tab-content[class*=" rounded-"]) .tab:first-child:not(.tab-active) {
|
|
1169
|
+
.tabs-lifted:has(.tab-content[class^="rounded-"]) .tab:first-child:not(:is(.tab-active, [aria-selected="true"])), .tabs-lifted:has(.tab-content[class*=" rounded-"]) .tab:first-child:not(:is(.tab-active, [aria-selected="true"])) {
|
|
1171
1170
|
border-bottom-color: transparent;
|
|
1172
1171
|
}
|
|
1173
1172
|
.tab {
|
|
@@ -1210,11 +1209,11 @@
|
|
|
1210
1209
|
border-width: var(--tab-border, 0);
|
|
1211
1210
|
}
|
|
1212
1211
|
:checked + .tab-content:nth-child(2),
|
|
1213
|
-
.tab-active + .tab-content:nth-child(2) {
|
|
1212
|
+
:is(.tab-active, [aria-selected="true"]) + .tab-content:nth-child(2) {
|
|
1214
1213
|
border-start-start-radius: 0px;
|
|
1215
1214
|
}
|
|
1216
1215
|
input.tab:checked + .tab-content,
|
|
1217
|
-
.tab-active + .tab-content {
|
|
1216
|
+
:is(.tab-active, [aria-selected="true"]) + .tab-content {
|
|
1218
1217
|
display: block;
|
|
1219
1218
|
}
|
|
1220
1219
|
.table {
|
|
@@ -4620,8 +4619,7 @@ details.collapse summary {
|
|
|
4620
4619
|
padding-inline-start: var(--tab-padding, 1rem);
|
|
4621
4620
|
padding-inline-end: var(--tab-padding, 1rem);
|
|
4622
4621
|
}
|
|
4623
|
-
.tab.tab-active:not(.tab-disabled):not([disabled]),
|
|
4624
|
-
.tab:is(input:checked) {
|
|
4622
|
+
.tab:is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled]), .tab:is(input:checked) {
|
|
4625
4623
|
border-color: var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)));
|
|
4626
4624
|
--tw-border-opacity: 1;
|
|
4627
4625
|
--tw-text-opacity: 1;
|
|
@@ -4665,8 +4663,7 @@ details.collapse summary {
|
|
|
4665
4663
|
padding-inline-end: var(--tab-padding, 1rem);
|
|
4666
4664
|
padding-top: var(--tab-border, 1px);
|
|
4667
4665
|
}
|
|
4668
|
-
.tabs-lifted > .tab.tab-active:not(.tab-disabled):not([disabled]),
|
|
4669
|
-
.tabs-lifted > .tab:is(input:checked) {
|
|
4666
|
+
.tabs-lifted > .tab:is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled]), .tabs-lifted > .tab:is(input:checked) {
|
|
4670
4667
|
background-color: var(--tab-bg);
|
|
4671
4668
|
border-width: var(--tab-border, 1px) var(--tab-border, 1px) 0 var(--tab-border, 1px);
|
|
4672
4669
|
border-inline-start-color: var(--tab-border-color);
|
|
@@ -4677,7 +4674,7 @@ details.collapse summary {
|
|
|
4677
4674
|
padding-bottom: var(--tab-border, 1px);
|
|
4678
4675
|
padding-top: 0;
|
|
4679
4676
|
}
|
|
4680
|
-
.tabs-lifted > .tab.tab-active:not(.tab-disabled):not([disabled]):before, .tabs-lifted > .tab:is(input:checked):before {
|
|
4677
|
+
.tabs-lifted > .tab:is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled]):before, .tabs-lifted > .tab:is(input:checked):before {
|
|
4681
4678
|
z-index: 1;
|
|
4682
4679
|
content: "";
|
|
4683
4680
|
display: block;
|
|
@@ -4707,26 +4704,26 @@ details.collapse summary {
|
|
|
4707
4704
|
);
|
|
4708
4705
|
background-image: var(--radius-start), var(--radius-end);
|
|
4709
4706
|
}
|
|
4710
|
-
.tabs-lifted > .tab.tab-active:not(.tab-disabled):not([disabled]):first-child:before, .tabs-lifted > .tab:is(input:checked):first-child:before {
|
|
4707
|
+
.tabs-lifted > .tab:is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled]):first-child:before, .tabs-lifted > .tab:is(input:checked):first-child:before {
|
|
4711
4708
|
background-image: var(--radius-end);
|
|
4712
4709
|
background-position: top right;
|
|
4713
4710
|
}
|
|
4714
|
-
[dir="rtl"] .tabs-lifted > .tab.tab-active:not(.tab-disabled):not([disabled]):first-child:before, [dir="rtl"] .tabs-lifted > .tab:is(input:checked):first-child:before {
|
|
4711
|
+
[dir="rtl"] .tabs-lifted > .tab:is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled]):first-child:before, [dir="rtl"] .tabs-lifted > .tab:is(input:checked):first-child:before {
|
|
4715
4712
|
background-image: var(--radius-start);
|
|
4716
4713
|
background-position: top left;
|
|
4717
4714
|
}
|
|
4718
|
-
.tabs-lifted > .tab.tab-active:not(.tab-disabled):not([disabled]):last-child:before, .tabs-lifted > .tab:is(input:checked):last-child:before {
|
|
4715
|
+
.tabs-lifted > .tab:is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled]):last-child:before, .tabs-lifted > .tab:is(input:checked):last-child:before {
|
|
4719
4716
|
background-image: var(--radius-start);
|
|
4720
4717
|
background-position: top left;
|
|
4721
4718
|
}
|
|
4722
|
-
[dir="rtl"] .tabs-lifted > .tab.tab-active:not(.tab-disabled):not([disabled]):last-child:before, [dir="rtl"] .tabs-lifted > .tab:is(input:checked):last-child:before {
|
|
4719
|
+
[dir="rtl"] .tabs-lifted > .tab:is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled]):last-child:before, [dir="rtl"] .tabs-lifted > .tab:is(input:checked):last-child:before {
|
|
4723
4720
|
background-image: var(--radius-end);
|
|
4724
4721
|
background-position: top right;
|
|
4725
4722
|
}
|
|
4726
4723
|
.tabs-lifted
|
|
4727
|
-
> .tab-active:not(.tab-disabled):not([disabled])
|
|
4724
|
+
> :is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled])
|
|
4728
4725
|
+ .tabs-lifted
|
|
4729
|
-
.tab-active:not(.tab-disabled):not([disabled]):before, .tabs-lifted > .tab:is(input:checked) + .tabs-lifted .tab:is(input:checked):before {
|
|
4726
|
+
:is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled]):before, .tabs-lifted > .tab:is(input:checked) + .tabs-lifted .tab:is(input:checked):before {
|
|
4730
4727
|
background-image: var(--radius-end);
|
|
4731
4728
|
background-position: top right;
|
|
4732
4729
|
}
|
|
@@ -4739,16 +4736,14 @@ details.collapse summary {
|
|
|
4739
4736
|
.tabs-boxed .tab {
|
|
4740
4737
|
border-radius: var(--rounded-btn, 0.5rem);
|
|
4741
4738
|
}
|
|
4742
|
-
.tabs-boxed .tab-active:not(.tab-disabled):not([disabled]),
|
|
4743
|
-
.tabs-boxed :is(input:checked) {
|
|
4739
|
+
.tabs-boxed :is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled]), .tabs-boxed :is(input:checked) {
|
|
4744
4740
|
--tw-bg-opacity: 1;
|
|
4745
4741
|
background-color: var(--fallback-p,oklch(var(--p)/var(--tw-bg-opacity)));
|
|
4746
4742
|
--tw-text-opacity: 1;
|
|
4747
4743
|
color: var(--fallback-pc,oklch(var(--pc)/var(--tw-text-opacity)));
|
|
4748
4744
|
}
|
|
4749
4745
|
@media(hover:hover) {
|
|
4750
|
-
.tabs-boxed .tab-active:not(.tab-disabled):not([disabled]):hover,
|
|
4751
|
-
.tabs-boxed :is(input:checked):hover {
|
|
4746
|
+
.tabs-boxed :is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled]):hover, .tabs-boxed :is(input:checked):hover {
|
|
4752
4747
|
--tw-text-opacity: 1;
|
|
4753
4748
|
color: var(--fallback-pc,oklch(var(--pc)/var(--tw-text-opacity)));
|
|
4754
4749
|
}
|