daisyui 2.6.3 → 2.8.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/styled.css CHANGED
@@ -249,6 +249,7 @@
249
249
  scroll-snap-align: end;
250
250
  }
251
251
  .checkbox {
252
+ flex-shrink: 0
252
253
  }
253
254
  .collapse {
254
255
  position: relative;
@@ -889,6 +890,7 @@
889
890
  transform: rotate(calc(var(--value) * 3.6deg - 90deg)) translate(calc(var(--size) / 2 - 50%));
890
891
  }
891
892
  .radio {
893
+ flex-shrink: 0
892
894
  }
893
895
  .range {
894
896
  height: 1.5rem;
@@ -1100,7 +1102,7 @@
1100
1102
  min-height: 3rem
1101
1103
  }
1102
1104
  .toggle {
1103
- flex-shrink: 0;
1105
+ flex-shrink: 0
1104
1106
  }
1105
1107
  .tooltip {
1106
1108
  position: relative;
@@ -2025,7 +2027,8 @@ body[dir="rtl"] .checkbox:checked,
2025
2027
  .divider {
2026
2028
  margin-top: 1rem;
2027
2029
  margin-bottom: 1rem;
2028
- height: 1rem
2030
+ height: 1rem;
2031
+ white-space: nowrap
2029
2032
  }
2030
2033
  .divider:before {
2031
2034
  background-color: hsl(var(--bc) / var(--tw-bg-opacity));
@@ -2401,7 +2404,7 @@ body[dir="rtl"] .checkbox:checked,
2401
2404
  --tw-border-opacity: 1;
2402
2405
  border-color: hsl(var(--p) / var(--tw-border-opacity));
2403
2406
  }
2404
- .menu[class*="p-"] li *, .menu[class*="p-"] li button {
2407
+ .menu[class*="p-"] li > * {
2405
2408
  border-radius: var(--rounded-btn, 0.5rem);
2406
2409
  }
2407
2410
  .menu :where(li.bordered > *) {
@@ -2556,7 +2559,7 @@ body[dir="rtl"] .checkbox:checked,
2556
2559
  border-bottom-left-radius: inherit;
2557
2560
  }
2558
2561
  .mockup-code {
2559
- min-width: 20rem;
2562
+ min-width: 18rem;
2560
2563
  --tw-bg-opacity: 1;
2561
2564
  background-color: hsl(var(--n) / var(--tw-bg-opacity));
2562
2565
  padding-top: 1.25rem;
@@ -3499,28 +3502,21 @@ body[dir="rtl"] .checkbox:checked,
3499
3502
  font-weight: 700;
3500
3503
  text-transform: uppercase
3501
3504
  }
3502
- .table :where(thead, tfoot) :where(th, td):first-child {
3503
- 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 {
3504
3512
  border-bottom-left-radius: 0.5rem
3505
3513
  }
3506
- .table :where(thead, tfoot) :where(th, td):last-child {
3507
- border-top-right-radius: 0.5rem;
3514
+ .table :where(:last-child) :where(:last-child) :where(th, td):last-child {
3508
3515
  border-bottom-right-radius: 0.5rem
3509
3516
  }
3510
- /* th:first-child{
3511
- box-shadow: -1px 0 hsl(var(--b2, 210 20% 98%)) inset;
3512
- } */
3513
3517
  .table :where(tbody th, tbody td) {
3514
3518
  --tw-bg-opacity: 1;
3515
3519
  background-color: hsl(var(--b1) / var(--tw-bg-opacity))
3516
- }
3517
- .table-zebra tbody tr th:first-child, .table-zebra tbody tr td:first-child {
3518
- border-top-left-radius: 0.5rem;
3519
- border-bottom-left-radius: 0.5rem
3520
- }
3521
- .table-zebra tbody tr th:last-child, .table-zebra tbody tr td:last-child {
3522
- border-top-right-radius: 0.5rem;
3523
- border-bottom-right-radius: 0.5rem
3524
3520
  }
3525
3521
  .table-zebra tbody tr:nth-child(even) th, .table-zebra tbody tr:nth-child(even) td {
3526
3522
  --tw-bg-opacity: 1;