daisyui 2.6.4 → 2.9.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/README.md +2 -1
- package/dist/full.css +1 -1
- package/dist/styled.css +12 -18
- package/dist/styled.js +1 -1
- package/dist/styled.rtl.js +1 -1
- package/package.json +1 -1
- package/src/index.js +18 -21
package/dist/styled.css
CHANGED
|
@@ -2027,7 +2027,8 @@ body[dir="rtl"] .checkbox:checked,
|
|
|
2027
2027
|
.divider {
|
|
2028
2028
|
margin-top: 1rem;
|
|
2029
2029
|
margin-bottom: 1rem;
|
|
2030
|
-
height: 1rem
|
|
2030
|
+
height: 1rem;
|
|
2031
|
+
white-space: nowrap
|
|
2031
2032
|
}
|
|
2032
2033
|
.divider:before {
|
|
2033
2034
|
background-color: hsl(var(--bc) / var(--tw-bg-opacity));
|
|
@@ -2403,7 +2404,7 @@ body[dir="rtl"] .checkbox:checked,
|
|
|
2403
2404
|
--tw-border-opacity: 1;
|
|
2404
2405
|
border-color: hsl(var(--p) / var(--tw-border-opacity));
|
|
2405
2406
|
}
|
|
2406
|
-
.menu[class*="p-"] li
|
|
2407
|
+
.menu[class*="p-"] li > * {
|
|
2407
2408
|
border-radius: var(--rounded-btn, 0.5rem);
|
|
2408
2409
|
}
|
|
2409
2410
|
.menu :where(li.bordered > *) {
|
|
@@ -2558,7 +2559,7 @@ body[dir="rtl"] .checkbox:checked,
|
|
|
2558
2559
|
border-bottom-left-radius: inherit;
|
|
2559
2560
|
}
|
|
2560
2561
|
.mockup-code {
|
|
2561
|
-
min-width:
|
|
2562
|
+
min-width: 18rem;
|
|
2562
2563
|
--tw-bg-opacity: 1;
|
|
2563
2564
|
background-color: hsl(var(--n) / var(--tw-bg-opacity));
|
|
2564
2565
|
padding-top: 1.25rem;
|
|
@@ -3501,28 +3502,21 @@ body[dir="rtl"] .checkbox:checked,
|
|
|
3501
3502
|
font-weight: 700;
|
|
3502
3503
|
text-transform: uppercase
|
|
3503
3504
|
}
|
|
3504
|
-
.table :where(
|
|
3505
|
-
border-top-left-radius: 0.5rem
|
|
3505
|
+
.table :where(:first-child) :where(:first-child) :where(th, td):first-child {
|
|
3506
|
+
border-top-left-radius: 0.5rem
|
|
3507
|
+
}
|
|
3508
|
+
.table :where(:first-child) :where(:first-child) :where(th, td):last-child {
|
|
3509
|
+
border-top-right-radius: 0.5rem
|
|
3510
|
+
}
|
|
3511
|
+
.table :where(:last-child) :where(:last-child) :where(th, td):first-child {
|
|
3506
3512
|
border-bottom-left-radius: 0.5rem
|
|
3507
3513
|
}
|
|
3508
|
-
.table :where(
|
|
3509
|
-
border-top-right-radius: 0.5rem;
|
|
3514
|
+
.table :where(:last-child) :where(:last-child) :where(th, td):last-child {
|
|
3510
3515
|
border-bottom-right-radius: 0.5rem
|
|
3511
3516
|
}
|
|
3512
|
-
/* th:first-child{
|
|
3513
|
-
box-shadow: -1px 0 hsl(var(--b2, 210 20% 98%)) inset;
|
|
3514
|
-
} */
|
|
3515
3517
|
.table :where(tbody th, tbody td) {
|
|
3516
3518
|
--tw-bg-opacity: 1;
|
|
3517
3519
|
background-color: hsl(var(--b1) / var(--tw-bg-opacity))
|
|
3518
|
-
}
|
|
3519
|
-
.table-zebra tbody tr th:first-child, .table-zebra tbody tr td:first-child {
|
|
3520
|
-
border-top-left-radius: 0.5rem;
|
|
3521
|
-
border-bottom-left-radius: 0.5rem
|
|
3522
|
-
}
|
|
3523
|
-
.table-zebra tbody tr th:last-child, .table-zebra tbody tr td:last-child {
|
|
3524
|
-
border-top-right-radius: 0.5rem;
|
|
3525
|
-
border-bottom-right-radius: 0.5rem
|
|
3526
3520
|
}
|
|
3527
3521
|
.table-zebra tbody tr:nth-child(even) th, .table-zebra tbody tr:nth-child(even) td {
|
|
3528
3522
|
--tw-bg-opacity: 1;
|