daisyui 4.0.0-alpha.3 → 4.0.0-alpha.4

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
@@ -109,13 +109,13 @@
109
109
  flex-wrap: wrap;
110
110
  align-items: center;
111
111
  justify-content: center;
112
- border-radius: var(--rounded-btn, 0.5rem);
113
112
  border-color: transparent;
114
113
  text-align: center;
115
114
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
116
115
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
117
116
  transition-duration: 200ms;
118
117
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
118
+ border-radius: var(--rounded-btn, 0.5rem);
119
119
  height: 3rem;
120
120
  min-height: 3rem;
121
121
  padding-left: 1rem;
@@ -764,8 +764,17 @@
764
764
  border-start-end-radius: inherit;
765
765
  border-end-end-radius: inherit;
766
766
  }
767
- :where(.join *) {
768
- border-radius: inherit;
767
+
768
+ @supports not selector(:has(*)) {
769
+ :where(.join *) {
770
+ border-radius: inherit;
771
+ }
772
+ }
773
+
774
+ @supports selector(:has(*)) {
775
+ :where(.join *:has(.join-item)) {
776
+ border-radius: inherit;
777
+ }
769
778
  }
770
779
  .kbd {
771
780
  display: inline-flex;
@@ -1149,24 +1158,54 @@
1149
1158
  opacity: 1
1150
1159
  }
1151
1160
  .tabs {
1152
- display: flex;
1153
- flex-wrap: wrap;
1154
- align-items: flex-end
1161
+ display: grid;
1162
+ align-items: flex-end;
1163
+ }
1164
+ .tabs:has(.tab-content[class^="rounded-"]) .tab-lifted:first-child:not(.tab-active),
1165
+ .tabs:has(.tab-content[class*=" rounded-"]) .tab-lifted:first-child:not(.tab-active) {
1166
+ border-bottom-color: transparent;
1155
1167
  }
1156
1168
  .tab {
1157
1169
  position: relative;
1170
+ grid-row-start: 1;
1158
1171
  display: inline-flex;
1172
+ height: 2rem;
1159
1173
  cursor: pointer;
1160
1174
  user-select: none;
1175
+ appearance: none;
1161
1176
  flex-wrap: wrap;
1162
1177
  align-items: center;
1163
1178
  justify-content: center;
1164
1179
  text-align: center;
1165
- height: 2rem;
1166
1180
  font-size: 0.875rem;
1167
1181
  line-height: 1.25rem;
1168
1182
  line-height: 2;
1169
- --tab-padding: 1rem
1183
+ --tab-padding: 1rem;
1184
+ }
1185
+ .tab:is(input[type="radio"]):after {
1186
+ --tw-content: attr(aria-label);
1187
+ content: var(--tw-content);
1188
+ }
1189
+ .tab:not(input):empty {
1190
+ cursor: default;
1191
+ grid-column-start: span 9999;
1192
+ }
1193
+ .tab-content {
1194
+ grid-column: 1 / -1;
1195
+ grid-column-end: span 9999;
1196
+ grid-row-start: 2;
1197
+ margin-top: calc(var(--tab-border) * -1);
1198
+ display: none;
1199
+ border-color: transparent;
1200
+ border-width: var(--tab-border, 0);
1201
+ }
1202
+ :checked + .tab-content:nth-child(2),
1203
+ .tab-active + .tab-content:nth-child(2) {
1204
+ border-start-start-radius: 0px;
1205
+ }
1206
+ input.tab:checked + .tab-content,
1207
+ .tab-active + .tab-content {
1208
+ display: block;
1170
1209
  }
1171
1210
  .table {
1172
1211
  position: relative;
@@ -1208,6 +1247,60 @@
1208
1247
  line-height: 1.25rem;
1209
1248
  line-height: 2
1210
1249
  }
1250
+ .timeline {
1251
+ position: relative;
1252
+ display: flex;
1253
+ }
1254
+ :where(.timeline li) {
1255
+ position: relative;
1256
+ display: grid;
1257
+ align-items: center;
1258
+ grid-template-rows: 1fr auto 1fr;
1259
+ grid-template-columns: 1fr auto 1fr;
1260
+ }
1261
+ :where(.timeline:not(:has(.timeline-start)) li) {
1262
+ grid-template-rows: min-content auto 1fr;
1263
+ }
1264
+ :where(.timeline:not(:has(.timeline-end)) li) {
1265
+ grid-template-rows: 1fr auto min-content;
1266
+ }
1267
+ :where(.timeline:not(:has(.timeline-start)):not(:has(.timeline-end)) li) {
1268
+ grid-template-rows: min-content auto min-content;
1269
+ }
1270
+ .timeline hr {
1271
+ width: 100%;
1272
+ border-width: 0px;
1273
+ }
1274
+ :where(.timeline hr):first-child {
1275
+ grid-column-start: 1;
1276
+ grid-row-start: 2;
1277
+ }
1278
+ :where(.timeline hr):last-child {
1279
+ grid-column-start: 3;
1280
+ grid-row-start: 2;
1281
+ }
1282
+ .timeline-start {
1283
+ grid-column-start: 1;
1284
+ grid-column-end: 4;
1285
+ grid-row-start: 1;
1286
+ grid-row-end: 2;
1287
+ margin: 0.25rem;
1288
+ align-self: flex-end;
1289
+ justify-self: center;
1290
+ }
1291
+ .timeline-middle {
1292
+ grid-column-start: 2;
1293
+ grid-row-start: 2;
1294
+ }
1295
+ .timeline-end {
1296
+ grid-column-start: 1;
1297
+ grid-column-end: 4;
1298
+ grid-row-start: 3;
1299
+ grid-row-end: 4;
1300
+ margin: 0.25rem;
1301
+ align-self: flex-start;
1302
+ justify-self: center;
1303
+ }
1211
1304
  .toast {
1212
1305
  position: fixed;
1213
1306
  display: flex;
@@ -1219,13 +1312,13 @@
1219
1312
  flex-shrink: 0
1220
1313
  }
1221
1314
  .alert {
1222
- border-radius: var(--rounded-box, 1rem);
1223
1315
  border-width: 1px;
1224
1316
  --tw-border-opacity: 1;
1225
1317
  border-color: oklch(var(--b2) / var(--tw-border-opacity));
1226
1318
  padding: 1rem;
1227
1319
  --tw-text-opacity: 1;
1228
1320
  color: oklch(var(--bc) / var(--tw-text-opacity));
1321
+ border-radius: var(--rounded-box, 1rem);
1229
1322
  --alert-bg: oklch(var(--b2));
1230
1323
  --alert-bg-mix: oklch(var(--b1));
1231
1324
  background-color: var(--alert-bg)
@@ -1273,14 +1366,14 @@
1273
1366
  border-color: oklch(var(--b1) / var(--tw-border-opacity))
1274
1367
  }
1275
1368
  .badge {
1276
- border-radius: var(--rounded-badge, 1.9rem);
1277
1369
  border-width: 1px;
1278
1370
  --tw-border-opacity: 1;
1279
1371
  border-color: oklch(var(--b2) / var(--tw-border-opacity));
1280
1372
  --tw-bg-opacity: 1;
1281
1373
  background-color: oklch(var(--b1) / var(--tw-bg-opacity));
1282
1374
  --tw-text-opacity: 1;
1283
- color: oklch(var(--bc) / var(--tw-text-opacity))
1375
+ color: oklch(var(--bc) / var(--tw-text-opacity));
1376
+ border-radius: var(--rounded-badge, 1.9rem)
1284
1377
  }
1285
1378
  .badge-neutral {
1286
1379
  --tw-border-opacity: 1;
@@ -2056,10 +2149,10 @@
2056
2149
  }
2057
2150
  .card.image-full:before {
2058
2151
  z-index: 10;
2059
- border-radius: var(--rounded-box, 1rem);
2060
2152
  --tw-bg-opacity: 1;
2061
2153
  background-color: oklch(var(--n) / var(--tw-bg-opacity));
2062
2154
  opacity: 0.75;
2155
+ border-radius: var(--rounded-box, 1rem);
2063
2156
  }
2064
2157
  .card.image-full > .card-body {
2065
2158
  z-index: 20;
@@ -2153,10 +2246,10 @@
2153
2246
  width: 1.5rem;
2154
2247
  cursor: pointer;
2155
2248
  appearance: none;
2156
- border-radius: var(--rounded-btn, 0.5rem);
2157
2249
  border-width: 1px;
2158
2250
  border-color: oklch(var(--bc) / var(--tw-border-opacity));
2159
2251
  --tw-border-opacity: 0.2;
2252
+ border-radius: var(--rounded-btn, 0.5rem);
2160
2253
  }
2161
2254
  .checkbox:focus-visible {
2162
2255
  outline-style: solid;
@@ -2600,7 +2693,6 @@ details.collapse summary {
2600
2693
  }
2601
2694
  .file-input {
2602
2695
  overflow: hidden;
2603
- border-radius: var(--rounded-btn, 0.5rem);
2604
2696
  border-width: 1px;
2605
2697
  border-color: oklch(var(--bc) / var(--tw-border-opacity));
2606
2698
  --tw-border-opacity: 0;
@@ -2608,6 +2700,7 @@ details.collapse summary {
2608
2700
  background-color: oklch(var(--b1) / var(--tw-bg-opacity));
2609
2701
  font-size: 1rem;
2610
2702
  line-height: 1.5rem;
2703
+ border-radius: var(--rounded-btn, 0.5rem);
2611
2704
  }
2612
2705
  .file-input::file-selector-button {
2613
2706
  border-style: solid;
@@ -2823,7 +2916,6 @@ details.collapse summary {
2823
2916
  padding: 1rem
2824
2917
  }
2825
2918
  .input {
2826
- border-radius: var(--rounded-btn, 0.5rem);
2827
2919
  border-width: 1px;
2828
2920
  border-color: oklch(var(--bc) / var(--tw-border-opacity));
2829
2921
  --tw-border-opacity: 0;
@@ -2831,6 +2923,7 @@ details.collapse summary {
2831
2923
  background-color: oklch(var(--b1) / var(--tw-bg-opacity));
2832
2924
  font-size: 1rem;
2833
2925
  line-height: 1.5rem;
2926
+ border-radius: var(--rounded-btn, 0.5rem);
2834
2927
  /* &::-webkit-calendar-picker-indicator {
2835
2928
  display: none;
2836
2929
  } */
@@ -2946,7 +3039,6 @@ details.collapse summary {
2946
3039
  isolation: isolate
2947
3040
  }
2948
3041
  .kbd {
2949
- border-radius: var(--rounded-btn, 0.5rem);
2950
3042
  border-width: 1px;
2951
3043
  border-color: oklch(var(--bc) / var(--tw-border-opacity));
2952
3044
  --tw-border-opacity: 0.2;
@@ -2954,6 +3046,7 @@ details.collapse summary {
2954
3046
  background-color: oklch(var(--b2) / var(--tw-bg-opacity));
2955
3047
  padding-left: 0.5rem;
2956
3048
  padding-right: 0.5rem;
3049
+ border-radius: var(--rounded-btn, 0.5rem);
2957
3050
  border-bottom-width: 2px;
2958
3051
  min-height: 2.2em;
2959
3052
  min-width: 2.2em
@@ -3167,7 +3260,6 @@ details.collapse summary {
3167
3260
  }
3168
3261
  .menu :where(li:not(.menu-title) > *:not(ul):not(details):not(.menu-title)),
3169
3262
  .menu :where(li:not(.menu-title) > details > summary:not(.menu-title)) {
3170
- border-radius: var(--rounded-btn, 0.5rem);
3171
3263
  padding-left: 1rem;
3172
3264
  padding-right: 1rem;
3173
3265
  padding-top: 0.5rem;
@@ -3177,6 +3269,7 @@ details.collapse summary {
3177
3269
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
3178
3270
  transition-duration: 200ms;
3179
3271
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
3272
+ border-radius: var(--rounded-btn, 0.5rem);
3180
3273
  text-wrap: balance;
3181
3274
  }
3182
3275
  :where(.menu li:not(.menu-title):not(.disabled) > *:not(ul):not(details):not(.menu-title)):not(summary):not(.active).focus,
@@ -3259,13 +3352,13 @@ details.collapse summary {
3259
3352
  }
3260
3353
  .mockup-code {
3261
3354
  min-width: 18rem;
3262
- border-radius: var(--rounded-box, 1rem);
3263
3355
  --tw-bg-opacity: 1;
3264
3356
  background-color: oklch(var(--n) / var(--tw-bg-opacity));
3265
3357
  padding-top: 1.25rem;
3266
3358
  padding-bottom: 1.25rem;
3267
3359
  --tw-text-opacity: 1;
3268
3360
  color: oklch(var(--nc) / var(--tw-text-opacity));
3361
+ border-radius: var(--rounded-box, 1rem);
3269
3362
  direction: ltr;
3270
3363
  }
3271
3364
  .mockup-code:before {
@@ -3296,8 +3389,8 @@ details.collapse summary {
3296
3389
  .mockup-window {
3297
3390
  display: flex;
3298
3391
  flex-direction: column;
3299
- border-radius: var(--rounded-box, 1rem);
3300
3392
  padding-top: 1.25rem;
3393
+ border-radius: var(--rounded-box, 1rem);
3301
3394
  }
3302
3395
  .mockup-window:before {
3303
3396
  content: "";
@@ -3467,10 +3560,6 @@ details.collapse summary {
3467
3560
  --tw-scale-x: .9;
3468
3561
  --tw-scale-y: .9;
3469
3562
  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));
3470
- border-bottom-right-radius: var(--rounded-box, 1rem);
3471
- border-bottom-left-radius: var(--rounded-box, 1rem);
3472
- border-top-left-radius: var(--rounded-box, 1rem);
3473
- border-top-right-radius: var(--rounded-box, 1rem);
3474
3563
  --tw-bg-opacity: 1;
3475
3564
  background-color: oklch(var(--b1) / var(--tw-bg-opacity));
3476
3565
  padding: 1.5rem;
@@ -3478,6 +3567,10 @@ details.collapse summary {
3478
3567
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
3479
3568
  transition-duration: 200ms;
3480
3569
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
3570
+ border-top-left-radius: var(--rounded-box, 1rem);
3571
+ border-top-right-radius: var(--rounded-box, 1rem);
3572
+ border-bottom-left-radius: var(--rounded-box, 1rem);
3573
+ border-bottom-right-radius: var(--rounded-box, 1rem);
3481
3574
  box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
3482
3575
  overflow-y: auto;
3483
3576
  overscroll-behavior: contain;
@@ -3512,48 +3605,48 @@ details.collapse summary {
3512
3605
  }
3513
3606
  .progress {
3514
3607
  height: 0.5rem;
3515
- border-radius: var(--rounded-box, 1rem);
3516
3608
  background-color: oklch(var(--bc) / 0.2);
3609
+ border-radius: var(--rounded-box, 1rem);
3517
3610
  }
3518
3611
  .progress::-moz-progress-bar {
3519
- border-radius: var(--rounded-box, 1rem);
3520
3612
  --tw-bg-opacity: 1;
3521
3613
  background-color: oklch(var(--bc) / var(--tw-bg-opacity));
3614
+ border-radius: var(--rounded-box, 1rem);
3522
3615
  }
3523
3616
  .progress-primary::-moz-progress-bar {
3524
- border-radius: var(--rounded-box, 1rem);
3525
3617
  --tw-bg-opacity: 1;
3526
3618
  background-color: oklch(var(--p) / var(--tw-bg-opacity));
3619
+ border-radius: var(--rounded-box, 1rem);
3527
3620
  }
3528
3621
  .progress-secondary::-moz-progress-bar {
3529
- border-radius: var(--rounded-box, 1rem);
3530
3622
  --tw-bg-opacity: 1;
3531
3623
  background-color: oklch(var(--s) / var(--tw-bg-opacity));
3624
+ border-radius: var(--rounded-box, 1rem);
3532
3625
  }
3533
3626
  .progress-accent::-moz-progress-bar {
3534
- border-radius: var(--rounded-box, 1rem);
3535
3627
  --tw-bg-opacity: 1;
3536
3628
  background-color: oklch(var(--a) / var(--tw-bg-opacity));
3629
+ border-radius: var(--rounded-box, 1rem);
3537
3630
  }
3538
3631
  .progress-info::-moz-progress-bar {
3539
- border-radius: var(--rounded-box, 1rem);
3540
3632
  --tw-bg-opacity: 1;
3541
3633
  background-color: oklch(var(--in) / var(--tw-bg-opacity));
3634
+ border-radius: var(--rounded-box, 1rem);
3542
3635
  }
3543
3636
  .progress-success::-moz-progress-bar {
3544
- border-radius: var(--rounded-box, 1rem);
3545
3637
  --tw-bg-opacity: 1;
3546
3638
  background-color: oklch(var(--su) / var(--tw-bg-opacity));
3639
+ border-radius: var(--rounded-box, 1rem);
3547
3640
  }
3548
3641
  .progress-warning::-moz-progress-bar {
3549
- border-radius: var(--rounded-box, 1rem);
3550
3642
  --tw-bg-opacity: 1;
3551
3643
  background-color: oklch(var(--wa) / var(--tw-bg-opacity));
3644
+ border-radius: var(--rounded-box, 1rem);
3552
3645
  }
3553
3646
  .progress-error::-moz-progress-bar {
3554
- border-radius: var(--rounded-box, 1rem);
3555
3647
  --tw-bg-opacity: 1;
3556
3648
  background-color: oklch(var(--er) / var(--tw-bg-opacity));
3649
+ border-radius: var(--rounded-box, 1rem);
3557
3650
  }
3558
3651
  .progress:indeterminate {
3559
3652
  --progress-color: oklch(var(--bc));
@@ -3580,13 +3673,13 @@ details.collapse summary {
3580
3673
  --progress-color: oklch(var(--er));
3581
3674
  }
3582
3675
  .progress::-webkit-progress-bar {
3583
- border-radius: var(--rounded-box, 1rem);
3584
3676
  background-color: transparent;
3677
+ border-radius: var(--rounded-box, 1rem);
3585
3678
  }
3586
3679
  .progress::-webkit-progress-value {
3587
- border-radius: var(--rounded-box, 1rem);
3588
3680
  --tw-bg-opacity: 1;
3589
3681
  background-color: oklch(var(--bc) / var(--tw-bg-opacity));
3682
+ border-radius: var(--rounded-box, 1rem);
3590
3683
  }
3591
3684
  .progress-primary::-webkit-progress-value {
3592
3685
  --tw-bg-opacity: 1;
@@ -3877,8 +3970,8 @@ details.collapse summary {
3877
3970
  -webkit-appearance: none;
3878
3971
  --range-shdw: var(--bc);
3879
3972
  overflow: hidden;
3880
- border-radius: var(--rounded-box, 1rem);
3881
3973
  background-color: transparent;
3974
+ border-radius: var(--rounded-box, 1rem);
3882
3975
  }
3883
3976
  .range:focus-visible::-webkit-slider-thumb {
3884
3977
  --focus-shadow: 0 0 0 6px oklch(var(--b1)) inset, 0 0 0 2rem oklch(var(--range-shdw)) inset;
@@ -3889,23 +3982,23 @@ details.collapse summary {
3889
3982
  .range::-webkit-slider-runnable-track {
3890
3983
  height: 0.5rem;
3891
3984
  width: 100%;
3892
- border-radius: var(--rounded-box, 1rem);
3893
3985
  background-color: oklch(var(--bc) / 0.1);
3986
+ border-radius: var(--rounded-box, 1rem);
3894
3987
  }
3895
3988
  .range::-moz-range-track {
3896
3989
  height: 0.5rem;
3897
3990
  width: 100%;
3898
- border-radius: var(--rounded-box, 1rem);
3899
3991
  background-color: oklch(var(--bc) / 0.1);
3992
+ border-radius: var(--rounded-box, 1rem);
3900
3993
  }
3901
3994
  .range::-webkit-slider-thumb {
3902
3995
  position: relative;
3903
3996
  height: 1.5rem;
3904
3997
  width: 1.5rem;
3905
- border-radius: var(--rounded-box, 1rem);
3906
3998
  border-style: none;
3907
3999
  --tw-bg-opacity: 1;
3908
4000
  background-color: oklch(var(--b1) / var(--tw-bg-opacity));
4001
+ border-radius: var(--rounded-box, 1rem);
3909
4002
  appearance: none;
3910
4003
  -webkit-appearance: none;
3911
4004
  top: 50%;
@@ -3922,10 +4015,10 @@ details.collapse summary {
3922
4015
  position: relative;
3923
4016
  height: 1.5rem;
3924
4017
  width: 1.5rem;
3925
- border-radius: var(--rounded-box, 1rem);
3926
4018
  border-style: none;
3927
4019
  --tw-bg-opacity: 1;
3928
4020
  background-color: oklch(var(--b1) / var(--tw-bg-opacity));
4021
+ border-radius: var(--rounded-box, 1rem);
3929
4022
  top: 50%;
3930
4023
  color: oklch(var(--range-shdw));
3931
4024
  --filler-size: 100rem;
@@ -4001,13 +4094,13 @@ details.collapse summary {
4001
4094
  }
4002
4095
  }
4003
4096
  .select {
4004
- border-radius: var(--rounded-btn, 0.5rem);
4005
4097
  border-width: 1px;
4006
4098
  border-color: oklch(var(--bc) / var(--tw-border-opacity));
4007
4099
  --tw-border-opacity: 0;
4008
4100
  --tw-bg-opacity: 1;
4009
4101
  background-color: oklch(var(--b1) / var(--tw-bg-opacity));
4010
4102
  padding-right: 2.5rem;
4103
+ border-radius: var(--rounded-btn, 0.5rem);
4011
4104
  }
4012
4105
  .select-bordered {
4013
4106
  --tw-border-opacity: 0.2;
@@ -4129,11 +4222,11 @@ details.collapse summary {
4129
4222
  opacity: 1
4130
4223
  }
4131
4224
  .stats {
4132
- border-radius: var(--rounded-box, 1rem);
4133
4225
  --tw-bg-opacity: 1;
4134
4226
  background-color: oklch(var(--b1) / var(--tw-bg-opacity));
4135
4227
  --tw-text-opacity: 1;
4136
4228
  color: oklch(var(--bc) / var(--tw-text-opacity));
4229
+ border-radius: var(--rounded-box, 1rem);
4137
4230
  }
4138
4231
  :where(.stats) > :not([hidden]) ~ :not([hidden]) {
4139
4232
  --tw-divide-x-reverse: 0;
@@ -4381,7 +4474,8 @@ details.collapse summary {
4381
4474
  padding-inline-start: var(--tab-padding, 1rem);
4382
4475
  padding-inline-end: var(--tab-padding, 1rem);
4383
4476
  }
4384
- .tab.tab-active:not(.tab-disabled):not([disabled]) {
4477
+ .tab.tab-active:not(.tab-disabled):not([disabled]),
4478
+ .tab:is(input:checked) {
4385
4479
  border-color: oklch(var(--bc) / var(--tw-border-opacity));
4386
4480
  --tw-border-opacity: 1;
4387
4481
  --tw-text-opacity: 1;
@@ -4392,11 +4486,11 @@ details.collapse summary {
4392
4486
  }
4393
4487
  .tab:focus-visible {
4394
4488
  outline: 2px solid currentColor;
4395
- outline-offset: -3px;
4489
+ outline-offset: -5px;
4396
4490
  }
4397
4491
  .tab:focus-visible.tab-lifted {
4398
- border-end-end-radius: var(--tab-radius, 0.5rem);
4399
- border-end-start-radius: var(--tab-radius, 0.5rem);
4492
+ border-end-end-radius: 0;
4493
+ border-end-start-radius: 0;
4400
4494
  }
4401
4495
  /* disabled */
4402
4496
  .tab-disabled,
@@ -4429,7 +4523,8 @@ details.collapse summary {
4429
4523
  padding-inline-end: var(--tab-padding, 1rem);
4430
4524
  padding-top: var(--tab-border, 1px);
4431
4525
  }
4432
- .tab-lifted.tab-active:not(.tab-disabled):not([disabled]) {
4526
+ .tab-lifted.tab-active:not(.tab-disabled):not([disabled]),
4527
+ .tab-lifted:is(input:checked) {
4433
4528
  background-color: var(--tab-bg);
4434
4529
  border-width: var(--tab-border, 1px) var(--tab-border, 1px) 0 var(--tab-border, 1px);
4435
4530
  border-inline-start-color: var(--tab-border-color);
@@ -4440,75 +4535,76 @@ details.collapse summary {
4440
4535
  padding-bottom: var(--tab-border, 1px);
4441
4536
  padding-top: 0;
4442
4537
  }
4443
- .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):before,
4444
- .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):after {
4538
+ .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):before, .tab-lifted:is(input:checked):before {
4445
4539
  z-index: 1;
4446
4540
  content: "";
4447
4541
  display: block;
4448
4542
  position: absolute;
4449
- width: var(--tab-radius, 0.5rem);
4543
+ width: calc(100% + var(--tab-radius, 0.5rem) * 2);
4450
4544
  height: var(--tab-radius, 0.5rem);
4451
4545
  bottom: 0;
4546
+ background-size: var(--tab-radius, 0.5rem);
4547
+ background-position:
4548
+ top left,
4549
+ top right;
4550
+ background-repeat: no-repeat;
4452
4551
  --tab-grad: calc(68% - var(--tab-border, 1px));
4453
- --tab-corner-bg: radial-gradient(
4454
- circle at var(--circle-pos),
4552
+ --radius-start: radial-gradient(
4553
+ circle at top left,
4455
4554
  transparent var(--tab-grad),
4456
4555
  var(--tab-border-color) calc(var(--tab-grad) + 0.3px),
4457
4556
  var(--tab-border-color) calc(var(--tab-grad) + var(--tab-border, 1px)),
4458
4557
  var(--tab-bg) calc(var(--tab-grad) + var(--tab-border, 1px) + 0.3px)
4459
4558
  );
4559
+ --radius-end: radial-gradient(
4560
+ circle at top right,
4561
+ transparent var(--tab-grad),
4562
+ var(--tab-border-color) calc(var(--tab-grad) + 0.3px),
4563
+ var(--tab-border-color) calc(var(--tab-grad) + var(--tab-border, 1px)),
4564
+ var(--tab-bg) calc(var(--tab-grad) + var(--tab-border, 1px) + 0.3px)
4565
+ );
4566
+ background-image: var(--radius-start), var(--radius-end);
4460
4567
  }
4461
- .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):before {
4462
- inset-inline-start: calc(var(--tab-radius, 0.5rem) * -1);
4463
- --circle-pos: top left;
4464
- background-image: var(--tab-corner-bg);
4465
- }
4466
- [dir="rtl"] .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):before {
4467
- --circle-pos: top right;
4468
- }
4469
- .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):after {
4470
- inset-inline-end: calc(var(--tab-radius, 0.5rem) * -1);
4471
- --circle-pos: top right;
4472
- background-image: var(--tab-corner-bg);
4473
- }
4474
- [dir="rtl"] .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):after {
4475
- --circle-pos: top left;
4476
- }
4477
- .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):first-child:before {
4478
- background: none;
4568
+ .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):first-child:before, .tab-lifted:is(input:checked):first-child:before {
4569
+ background-image: var(--radius-end);
4570
+ background-position: top right;
4479
4571
  }
4480
- .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):last-child:after {
4481
- background: none;
4572
+ .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):last-child:before, .tab-lifted:is(input:checked):last-child:before {
4573
+ background-image: var(--radius-start);
4574
+ background-position: top left;
4482
4575
  }
4483
4576
  .tab-lifted.tab-active:not(.tab-disabled):not([disabled])
4484
- + .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):before {
4485
- background: none;
4577
+ + .tab-lifted.tab-active:not(.tab-disabled):not([disabled]):before, .tab-lifted:is(input:checked) + .tab-lifted:is(input:checked):before {
4578
+ background-image: var(--radius-end);
4579
+ background-position: top right;
4486
4580
  }
4487
4581
  .tabs-boxed {
4488
- border-radius: var(--rounded-btn, 0.5rem);
4489
4582
  --tw-bg-opacity: 1;
4490
4583
  background-color: oklch(var(--b2) / var(--tw-bg-opacity));
4491
4584
  padding: 0.25rem;
4585
+ border-radius: var(--rounded-btn, 0.5rem);
4492
4586
  }
4493
4587
  .tabs-boxed .tab {
4494
4588
  border-radius: var(--rounded-btn, 0.5rem);
4495
4589
  }
4496
- .tabs-boxed .tab-active:not(.tab-disabled):not([disabled]) {
4590
+ .tabs-boxed .tab-active:not(.tab-disabled):not([disabled]),
4591
+ .tabs-boxed :is(input:checked) {
4497
4592
  --tw-bg-opacity: 1;
4498
4593
  background-color: oklch(var(--p) / var(--tw-bg-opacity));
4499
4594
  --tw-text-opacity: 1;
4500
4595
  color: oklch(var(--pc) / var(--tw-text-opacity));
4501
4596
  }
4502
- @media(hover:hover) {.tabs-boxed .tab-active:not(.tab-disabled):not([disabled]):hover {
4597
+ @media(hover:hover) {.tabs-boxed .tab-active:not(.tab-disabled):not([disabled]):hover,
4598
+ .tabs-boxed :is(input:checked):hover {
4503
4599
  --tw-text-opacity: 1;
4504
4600
  color: oklch(var(--pc) / var(--tw-text-opacity));
4505
4601
  }
4506
4602
  }
4507
4603
  .table {
4508
- border-radius: var(--rounded-box, 1rem);
4509
4604
  text-align: left;
4510
4605
  font-size: 0.875rem;
4511
- line-height: 1.25rem
4606
+ line-height: 1.25rem;
4607
+ border-radius: var(--rounded-box, 1rem)
4512
4608
  }
4513
4609
  :is([dir="rtl"] .table) {
4514
4610
  text-align: right
@@ -4560,12 +4656,12 @@ details.collapse summary {
4560
4656
  color: oklch(var(--bc) / 0.6)
4561
4657
  }
4562
4658
  .textarea {
4563
- border-radius: var(--rounded-btn, 0.5rem);
4564
4659
  border-width: 1px;
4565
4660
  border-color: oklch(var(--bc) / var(--tw-border-opacity));
4566
4661
  --tw-border-opacity: 0;
4567
4662
  --tw-bg-opacity: 1;
4568
- background-color: oklch(var(--b1) / var(--tw-bg-opacity))
4663
+ background-color: oklch(var(--b1) / var(--tw-bg-opacity));
4664
+ border-radius: var(--rounded-btn, 0.5rem)
4569
4665
  }
4570
4666
  .textarea-bordered {
4571
4667
  --tw-border-opacity: 0.2
@@ -4650,6 +4746,52 @@ details.collapse summary {
4650
4746
  color: oklch(var(--bc) / var(--tw-placeholder-opacity));
4651
4747
  --tw-placeholder-opacity: 0.2
4652
4748
  }
4749
+ .timeline hr {
4750
+ height: 0.25rem
4751
+ }
4752
+ :where(.timeline hr) {
4753
+ --tw-bg-opacity: 1;
4754
+ background-color: oklch(var(--b3) / var(--tw-bg-opacity))
4755
+ }
4756
+ :where(.timeline:has(.timeline-middle) hr):first-child {
4757
+ border-start-end-radius: var(--rounded-badge, 1.9rem);
4758
+ border-end-end-radius: var(--rounded-badge, 1.9rem);
4759
+ border-start-start-radius: 0px;
4760
+ border-end-start-radius: 0px
4761
+ }
4762
+ :where(.timeline:has(.timeline-middle) hr):last-child {
4763
+ border-start-start-radius: var(--rounded-badge, 1.9rem);
4764
+ border-end-start-radius: var(--rounded-badge, 1.9rem);
4765
+ border-start-end-radius: 0px;
4766
+ border-end-end-radius: 0px
4767
+ }
4768
+ :where(.timeline:not(:has(.timeline-middle)) :first-child hr:last-child) {
4769
+ border-start-start-radius: var(--rounded-badge, 1.9rem);
4770
+ border-end-start-radius: var(--rounded-badge, 1.9rem);
4771
+ border-start-end-radius: 0px;
4772
+ border-end-end-radius: 0px
4773
+ }
4774
+ :where(.timeline:not(:has(.timeline-middle)) :last-child hr:first-child) {
4775
+ border-start-end-radius: var(--rounded-badge, 1.9rem);
4776
+ border-end-end-radius: var(--rounded-badge, 1.9rem);
4777
+ border-start-start-radius: 0px;
4778
+ border-end-start-radius: 0px
4779
+ }
4780
+ .timeline-box {
4781
+ border-width: 1px;
4782
+ --tw-border-opacity: 1;
4783
+ border-color: oklch(var(--b3) / var(--tw-border-opacity));
4784
+ --tw-bg-opacity: 1;
4785
+ background-color: oklch(var(--b1) / var(--tw-bg-opacity));
4786
+ padding-left: 1rem;
4787
+ padding-right: 1rem;
4788
+ padding-top: 0.5rem;
4789
+ padding-bottom: 0.5rem;
4790
+ --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
4791
+ --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
4792
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
4793
+ border-radius: var(--rounded-box, 1rem)
4794
+ }
4653
4795
  .toast {
4654
4796
  gap: 0.5rem;
4655
4797
  padding: 1rem;
@@ -4677,12 +4819,12 @@ details.collapse summary {
4677
4819
  width: 3rem;
4678
4820
  cursor: pointer;
4679
4821
  appearance: none;
4680
- border-radius: var(--rounded-badge, 1.9rem);
4681
4822
  border-width: 1px;
4682
4823
  border-color: oklch(var(--bc) / var(--tw-border-opacity));
4683
4824
  --tw-border-opacity: 0.2;
4684
4825
  background-color: oklch(var(--bc) / var(--tw-bg-opacity));
4685
4826
  --tw-bg-opacity: 0.5;
4827
+ border-radius: var(--rounded-badge, 1.9rem);
4686
4828
  transition:
4687
4829
  background,
4688
4830
  box-shadow var(--animation-input, 0.2s) ease-out;