daisyui 2.51.5 → 2.52.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
@@ -964,10 +964,7 @@
964
964
  pointer-events: none;
965
965
  visibility: hidden;
966
966
  position: fixed;
967
- top: 0px;
968
- right: 0px;
969
- bottom: 0px;
970
- left: 0px;
967
+ inset: 0px;
971
968
  display: flex;
972
969
  justify-content: center;
973
970
  opacity: 0;
@@ -1051,10 +1048,7 @@
1051
1048
  content: "";
1052
1049
  }
1053
1050
  .radial-progress:before {
1054
- top: 0px;
1055
- right: 0px;
1056
- bottom: 0px;
1057
- left: 0px;
1051
+ inset: 0px;
1058
1052
  background: radial-gradient(farthest-side, currentColor 98%, #0000) top/var(--thickness) var(--thickness) no-repeat, conic-gradient(currentColor calc(var(--value) * 1%), #0000 0);
1059
1053
  -webkit-mask: radial-gradient(farthest-side, #0000 calc(99% - var(--thickness)), #000 calc(100% - var(--thickness)));
1060
1054
  mask: radial-gradient(farthest-side, #0000 calc(99% - var(--thickness)), #000 calc(100% - var(--thickness)));
@@ -1239,15 +1233,14 @@
1239
1233
  --tab-padding: 1rem
1240
1234
  }
1241
1235
  .table {
1242
- position: relative
1236
+ position: relative;
1243
1237
  }
1244
1238
  .table th:first-child {
1239
+ /* because safari */
1245
1240
  position: sticky;
1246
1241
  left: 0px;
1247
1242
  z-index: 11;
1248
- /* because safari */
1249
- position: -webkit-sticky
1250
- }
1243
+ }
1251
1244
  .textarea {
1252
1245
  flex-shrink: 1;
1253
1246
  min-height: 3rem;
@@ -1276,7 +1269,7 @@
1276
1269
  .tooltip:before {
1277
1270
  position: absolute;
1278
1271
  pointer-events: none;
1279
- z-index: 1;
1272
+ z-index: 999;
1280
1273
  content: var(--tw-content);
1281
1274
  --tw-content: attr(data-tip);
1282
1275
  }
@@ -1697,6 +1690,9 @@
1697
1690
  .btn:active:hover,
1698
1691
  .btn:active:focus {
1699
1692
  animation: none;
1693
+ }
1694
+ .btn:not(.no-animation):active:hover,
1695
+ .btn:not(.no-animation):active:focus {
1700
1696
  transform: scale(var(--btn-focus-scale, 0.95));
1701
1697
  }
1702
1698
  /* default btn */
@@ -3230,6 +3226,20 @@
3230
3226
  border-bottom-left-radius: inherit;
3231
3227
  }
3232
3228
 
3229
+ .menu > :where(li:first-child:last-child) {
3230
+ border-top-left-radius: inherit;
3231
+ border-top-right-radius: inherit;
3232
+ border-bottom-right-radius: inherit;
3233
+ border-bottom-left-radius: inherit;
3234
+ }
3235
+
3236
+ .menu > :where(li:first-child:last-child) > :where(:not(ul)) {
3237
+ border-top-left-radius: inherit;
3238
+ border-top-right-radius: inherit;
3239
+ border-bottom-right-radius: inherit;
3240
+ border-bottom-left-radius: inherit;
3241
+ }
3242
+
3233
3243
  .menu > :where(li) > :where(ul) {
3234
3244
  border-top-left-radius: inherit;
3235
3245
  border-top-right-radius: inherit;
@@ -3278,6 +3288,20 @@
3278
3288
  border-bottom-right-radius: inherit;
3279
3289
  border-bottom-left-radius: inherit;
3280
3290
  }
3291
+
3292
+ .menu > :where(li) > :where(ul) > :where(li:first-child:last-child) {
3293
+ border-top-left-radius: inherit;
3294
+ border-top-right-radius: inherit;
3295
+ border-bottom-right-radius: inherit;
3296
+ border-bottom-left-radius: inherit;
3297
+ }
3298
+
3299
+ .menu > :where(li) > :where(ul) > :where(li:first-child:last-child) > :where(:not(ul)) {
3300
+ border-top-left-radius: inherit;
3301
+ border-top-right-radius: inherit;
3302
+ border-bottom-right-radius: inherit;
3303
+ border-bottom-left-radius: inherit;
3304
+ }
3281
3305
  .mockup-code {
3282
3306
  min-width: 18rem;
3283
3307
  --tw-bg-opacity: 1;
@@ -3562,7 +3586,6 @@
3562
3586
  border-width: 1px;
3563
3587
  border-color: hsl(var(--bc) / var(--tw-border-opacity));
3564
3588
  --tw-border-opacity: 0.2;
3565
- transition: background, box-shadow var(--animation-input, 0.2s) ease-in-out;
3566
3589
  }
3567
3590
  .radio:focus-visible {
3568
3591
  outline: 2px solid hsl(var(--bc));
@@ -4387,20 +4410,21 @@
4387
4410
  }
4388
4411
 
4389
4412
  :where(.table *:first-child) :where(*:first-child) :where(th, td):first-child {
4390
- border-top-left-radius: 0.5rem
4413
+ border-top-left-radius: var(--rounded-box, 1rem)
4391
4414
  }
4392
4415
 
4393
4416
  :where(.table *:first-child) :where(*:first-child) :where(th, td):last-child {
4394
- border-top-right-radius: 0.5rem
4417
+ border-top-right-radius: var(--rounded-box, 1rem)
4395
4418
  }
4396
4419
 
4397
4420
  :where(.table *:last-child) :where(*:last-child) :where(th, td):first-child {
4398
- border-bottom-left-radius: 0.5rem
4421
+ border-bottom-left-radius: var(--rounded-box, 1rem)
4399
4422
  }
4400
4423
 
4401
4424
  :where(.table *:last-child) :where(*:last-child) :where(th, td):last-child {
4402
- border-bottom-right-radius: 0.5rem
4403
- }.textarea {
4425
+ border-bottom-right-radius: var(--rounded-box, 1rem)
4426
+ }
4427
+ .textarea {
4404
4428
  border-width: 1px;
4405
4429
  border-color: hsl(var(--bc) / var(--tw-border-opacity));
4406
4430
  --tw-border-opacity: 0;