daisyui 2.20.0 → 2.23.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
@@ -1189,6 +1189,30 @@
1189
1189
  background-color: hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));
1190
1190
  padding: 1rem;
1191
1191
  border-radius: var(--rounded-box, 1rem)
1192
+ }
1193
+ .alert-info {
1194
+ --tw-bg-opacity: 1;
1195
+ background-color: hsl(var(--in) / var(--tw-bg-opacity));
1196
+ --tw-text-opacity: 1;
1197
+ color: hsl(var(--inc, var(--nc)) / var(--tw-text-opacity))
1198
+ }
1199
+ .alert-success {
1200
+ --tw-bg-opacity: 1;
1201
+ background-color: hsl(var(--su) / var(--tw-bg-opacity));
1202
+ --tw-text-opacity: 1;
1203
+ color: hsl(var(--suc, var(--nc)) / var(--tw-text-opacity))
1204
+ }
1205
+ .alert-warning {
1206
+ --tw-bg-opacity: 1;
1207
+ background-color: hsl(var(--wa) / var(--tw-bg-opacity));
1208
+ --tw-text-opacity: 1;
1209
+ color: hsl(var(--wac, var(--nc)) / var(--tw-text-opacity))
1210
+ }
1211
+ .alert-error {
1212
+ --tw-bg-opacity: 1;
1213
+ background-color: hsl(var(--er) / var(--tw-bg-opacity));
1214
+ --tw-text-opacity: 1;
1215
+ color: hsl(var(--erc, var(--nc)) / var(--tw-text-opacity))
1192
1216
  }
1193
1217
  .avatar-group {
1194
1218
  display: flex;
@@ -1550,7 +1574,10 @@
1550
1574
  border-right: 1px solid;
1551
1575
  background-color: transparent;
1552
1576
  }
1553
- .btn {
1577
+
1578
+ [dir="rtl"] .breadcrumbs>ul>li+*:before {
1579
+ --tw-rotate: -45deg;
1580
+ }.btn {
1554
1581
  font-weight: 600;
1555
1582
  text-transform: uppercase;
1556
1583
  -webkit-text-decoration-line: none;
@@ -1719,7 +1746,7 @@
1719
1746
  --glass-border-opacity: 15%;
1720
1747
  }
1721
1748
  .btn.glass:focus-visible {
1722
- outline: 2px solid 0 0 2px currentColor;
1749
+ outline: 2px solid currentColor;
1723
1750
  }
1724
1751
  /* btn variants */
1725
1752
  .btn-ghost {
@@ -1735,7 +1762,7 @@
1735
1762
  --tw-bg-opacity: 0.2;
1736
1763
  }
1737
1764
  .btn-ghost:focus-visible {
1738
- outline: 2px solid 0 0 2px currentColor;
1765
+ outline: 2px solid currentColor;
1739
1766
  }
1740
1767
  .btn-link {
1741
1768
  border-color: transparent;
@@ -1751,7 +1778,7 @@
1751
1778
  text-decoration-line: underline;
1752
1779
  }
1753
1780
  .btn-link:focus-visible {
1754
- outline: 2px solid 0 0 2px currentColor;
1781
+ outline: 2px solid currentColor;
1755
1782
  }
1756
1783
  /* outline */
1757
1784
  .btn-outline {
@@ -3732,18 +3759,6 @@ body[dir="rtl"] .checkbox:checked,
3732
3759
  line-height: 1rem;
3733
3760
  font-weight: 700;
3734
3761
  text-transform: uppercase
3735
- }
3736
- .table :where(:first-child) :where(:first-child) :where(th, td):first-child {
3737
- border-top-left-radius: 0.5rem
3738
- }
3739
- .table :where(:first-child) :where(:first-child) :where(th, td):last-child {
3740
- border-top-right-radius: 0.5rem
3741
- }
3742
- .table :where(:last-child) :where(:last-child) :where(th, td):first-child {
3743
- border-bottom-left-radius: 0.5rem
3744
- }
3745
- .table :where(:last-child) :where(:last-child) :where(th, td):last-child {
3746
- border-bottom-right-radius: 0.5rem
3747
3762
  }
3748
3763
  .table :where(tbody th, tbody td) {
3749
3764
  --tw-bg-opacity: 1;
@@ -3754,7 +3769,22 @@ body[dir="rtl"] .checkbox:checked,
3754
3769
  --tw-bg-opacity: 1;
3755
3770
  background-color: hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity))
3756
3771
  }
3757
- .textarea {
3772
+
3773
+ :where(.table *:first-child) :where(*:first-child) :where(th, td):first-child {
3774
+ border-top-left-radius: 0.5rem
3775
+ }
3776
+
3777
+ :where(.table *:first-child) :where(*:first-child) :where(th, td):last-child {
3778
+ border-top-right-radius: 0.5rem
3779
+ }
3780
+
3781
+ :where(.table *:last-child) :where(*:last-child) :where(th, td):first-child {
3782
+ border-bottom-left-radius: 0.5rem
3783
+ }
3784
+
3785
+ :where(.table *:last-child) :where(*:last-child) :where(th, td):last-child {
3786
+ border-bottom-right-radius: 0.5rem
3787
+ }.textarea {
3758
3788
  border-width: 1px;
3759
3789
  border-color: hsl(var(--bc) / var(--tw-border-opacity));
3760
3790
  --tw-border-opacity: 0;