daisyui 2.50.1 → 2.51.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
@@ -52,7 +52,7 @@
52
52
  display: inline-flex;
53
53
  align-items: center;
54
54
  justify-content: center;
55
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
55
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
56
56
  transition-duration: 200ms;
57
57
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
58
58
  height: 1.25rem;
@@ -117,7 +117,7 @@
117
117
  justify-content: center;
118
118
  border-color: transparent;
119
119
  text-align: center;
120
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
120
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
121
121
  transition-duration: 200ms;
122
122
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
123
123
  border-radius: var(--rounded-btn, 0.5rem);
@@ -682,7 +682,7 @@
682
682
  font-size: 0.875rem;
683
683
  line-height: 1.25rem;
684
684
  line-height: 2;
685
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
685
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
686
686
  transition-duration: 200ms;
687
687
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1)
688
688
  }
@@ -703,7 +703,7 @@
703
703
  text-align: center;
704
704
  font-size: 0.875rem;
705
705
  line-height: 1.25rem;
706
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
706
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
707
707
  transition-duration: 200ms;
708
708
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
709
709
  line-height: 1em
@@ -779,7 +779,7 @@
779
779
  }
780
780
  .input {
781
781
  flex-shrink: 1;
782
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
782
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
783
783
  transition-duration: 200ms;
784
784
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
785
785
  height: 3rem;
@@ -1256,7 +1256,7 @@
1256
1256
  }
1257
1257
  .textarea {
1258
1258
  flex-shrink: 1;
1259
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1259
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1260
1260
  transition-duration: 200ms;
1261
1261
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1262
1262
  min-height: 3rem;
@@ -2419,7 +2419,7 @@
2419
2419
  }
2420
2420
  }
2421
2421
 
2422
- /* backward comptability */
2422
+ /* backward compatibility */
2423
2423
 
2424
2424
  .checkbox-mark {
2425
2425
  display: none;
@@ -2620,7 +2620,7 @@
2620
2620
  --tw-scale-x: .95;
2621
2621
  --tw-scale-y: .95;
2622
2622
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2623
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
2623
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
2624
2624
  transition-duration: 200ms;
2625
2625
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1)
2626
2626
  }
@@ -3204,7 +3204,7 @@
3204
3204
  .menu :where(li:not(.disabled)) > :where(*:not(ul)) {
3205
3205
  outline: 2px solid transparent;
3206
3206
  outline-offset: 2px;
3207
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
3207
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
3208
3208
  transition-duration: 200ms;
3209
3209
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
3210
3210
  }
@@ -3391,7 +3391,7 @@
3391
3391
  --tw-bg-opacity: 1;
3392
3392
  background-color: hsl(var(--b1) / var(--tw-bg-opacity));
3393
3393
  padding: 1.5rem;
3394
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
3394
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
3395
3395
  transition-duration: 200ms;
3396
3396
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
3397
3397
  width: 91.666667%;
@@ -3746,7 +3746,7 @@
3746
3746
  }
3747
3747
  }
3748
3748
 
3749
- /* backward comptability */
3749
+ /* backward compatibility */
3750
3750
 
3751
3751
  .radio-mark {
3752
3752
  display: none;
@@ -3878,7 +3878,7 @@
3878
3878
  background-color: hsl(var(--b1) / var(--tw-bg-opacity));
3879
3879
  padding-right: 2.5rem;
3880
3880
  font-weight: 600;
3881
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
3881
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
3882
3882
  transition-duration: 200ms;
3883
3883
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
3884
3884
  border-radius: var(--rounded-btn, 0.5rem);
@@ -4019,7 +4019,7 @@
4019
4019
  padding-bottom: 1rem
4020
4020
  }
4021
4021
  .stat-title {
4022
- opacity: 0.6
4022
+ color: hsl(var(--bc) / 0.6)
4023
4023
  }
4024
4024
  .stat-value {
4025
4025
  font-size: 2.25rem;
@@ -4029,7 +4029,7 @@
4029
4029
  .stat-desc {
4030
4030
  font-size: 0.75rem;
4031
4031
  line-height: 1rem;
4032
- opacity: 0.6
4032
+ color: hsl(var(--bc) / 0.6)
4033
4033
  }
4034
4034
  .stat-actions {
4035
4035
  margin-top: 1rem
@@ -4240,7 +4240,7 @@
4240
4240
  padding-left: var(--tab-padding, 1rem);
4241
4241
  padding-right: var(--tab-padding, 1rem);
4242
4242
  }
4243
- .tab.tab-active {
4243
+ .tab.tab-active:not(.tab-disabled):not([disabled]) {
4244
4244
  border-color: hsl(var(--bc) / var(--tw-border-opacity));
4245
4245
  --tw-border-opacity: 1;
4246
4246
  --tw-text-opacity: 1;
@@ -4257,6 +4257,15 @@
4257
4257
  border-bottom-right-radius: var(--tab-radius, 0.5rem);
4258
4258
  border-bottom-left-radius: var(--tab-radius, 0.5rem);
4259
4259
  }
4260
+ /* disabled */
4261
+ .tab-disabled,
4262
+ .tab-disabled:hover,
4263
+ .tab[disabled],
4264
+ .tab[disabled]:hover {
4265
+ cursor: not-allowed;
4266
+ color: hsl(var(--bc) / var(--tw-text-opacity));
4267
+ --tw-text-opacity: 0.2;
4268
+ }
4260
4269
  .tab-bordered {
4261
4270
  border-color: hsl(var(--bc) / var(--tw-border-opacity));
4262
4271
  --tw-border-opacity: 0.2;
@@ -4273,7 +4282,7 @@
4273
4282
  padding-right: var(--tab-padding, 1rem);
4274
4283
  padding-top: var(--tab-border, 1px);
4275
4284
  }
4276
- .tab-lifted.tab-active {
4285
+ .tab-lifted.tab-active:not(.tab-disabled):not([disabled]) {
4277
4286
  background-color: var(--tab-bg);
4278
4287
  border-width: var(--tab-border, 1px) var(--tab-border, 1px) 0 var(--tab-border, 1px);
4279
4288
  border-left-color: var(--tab-border-color);
@@ -4284,8 +4293,8 @@
4284
4293
  padding-bottom: var(--tab-border, 1px);
4285
4294
  padding-top: 0;
4286
4295
  }
4287
- .tab-lifted.tab-active:before,
4288
- .tab-lifted.tab-active:after {
4296
+ .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):before,
4297
+ .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):after {
4289
4298
  z-index: 1;
4290
4299
  content: "";
4291
4300
  display: block;
@@ -4296,31 +4305,31 @@
4296
4305
  --tab-grad: calc(68% - var(--tab-border, 1px));
4297
4306
  --tab-corner-bg: radial-gradient(circle at var(--circle-pos), transparent var(--tab-grad), var(--tab-border-color) calc(var(--tab-grad) + 0.3px), var(--tab-border-color) calc(var(--tab-grad) + var(--tab-border, 1px)), var(--tab-bg) calc(var(--tab-grad) + var(--tab-border, 1px) + 0.3px));
4298
4307
  }
4299
- .tab-lifted.tab-active:before {
4308
+ .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):before {
4300
4309
  left: calc(var(--tab-radius, 0.5rem) * -1);
4301
4310
  --circle-pos: top left;
4302
4311
  background-image: var(--tab-corner-bg);
4303
4312
  }
4304
4313
  /* RTL quick fix */
4305
- [dir="rtl"] .tab-lifted.tab-active:before {
4314
+ [dir="rtl"] .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):before {
4306
4315
  --circle-pos: top right;
4307
4316
  }
4308
- .tab-lifted.tab-active:after {
4317
+ .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):after {
4309
4318
  right: calc(var(--tab-radius, 0.5rem) * -1);
4310
4319
  --circle-pos: top right;
4311
4320
  background-image: var(--tab-corner-bg);
4312
4321
  }
4313
4322
  /* RTL quick fix */
4314
- [dir="rtl"] .tab-lifted.tab-active:after {
4323
+ [dir="rtl"] .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):after {
4315
4324
  --circle-pos: top left;
4316
4325
  }
4317
- .tab-lifted.tab-active:first-child:before {
4326
+ .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):first-child:before {
4318
4327
  background: none;
4319
4328
  }
4320
- .tab-lifted.tab-active:last-child:after {
4329
+ .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):last-child:after {
4321
4330
  background: none;
4322
4331
  }
4323
- .tab-lifted.tab-active + .tab-lifted.tab-active:before {
4332
+ .tab-lifted.tab-active:not(.tab-disabled):not([disabled]) + .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):before {
4324
4333
  background: none;
4325
4334
  }
4326
4335
  .tabs-boxed {
@@ -4329,14 +4338,16 @@
4329
4338
  padding: 0.25rem;
4330
4339
  border-radius: var(--rounded-btn, 0.5rem);
4331
4340
  }
4332
- .tabs-boxed .tab-active {
4341
+ .tabs-boxed .tab {
4342
+ border-radius: var(--rounded-btn, 0.5rem);
4343
+ }
4344
+ .tabs-boxed .tab-active:not(.tab-disabled):not([disabled]) {
4333
4345
  --tw-bg-opacity: 1;
4334
4346
  background-color: hsl(var(--p) / var(--tw-bg-opacity));
4335
4347
  --tw-text-opacity: 1;
4336
4348
  color: hsl(var(--pc) / var(--tw-text-opacity));
4337
- border-radius: var(--rounded-btn, 0.5rem);
4338
4349
  }
4339
- .tabs-boxed .tab-active:hover {
4350
+ .tabs-boxed .tab-active:not(.tab-disabled):not([disabled]):hover {
4340
4351
  --tw-text-opacity: 1;
4341
4352
  color: hsl(var(--pc) / var(--tw-text-opacity));
4342
4353
  }
@@ -4649,7 +4660,7 @@
4649
4660
  --togglehandleborder: 0 0 0 3px hsl(var(--bc)) inset, var(--handleoffsetcalculator) 0 0 3px hsl(var(--bc)) inset;
4650
4661
  }
4651
4662
 
4652
- /* backward comptability */
4663
+ /* backward compatibility */
4653
4664
 
4654
4665
  .toggle-mark {
4655
4666
  display: none;
@@ -4666,7 +4677,7 @@
4666
4677
  .tooltip:before,
4667
4678
  .tooltip:after {
4668
4679
  opacity: 0;
4669
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
4680
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
4670
4681
  transition-delay: 100ms;
4671
4682
  transition-duration: 200ms;
4672
4683
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);