daisyui 4.0.0-alpha.10 → 4.0.0-alpha.12

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/README.md CHANGED
@@ -38,7 +38,7 @@ Then add daisyUI to your `tailwind.config.js`:
38
38
  ```js
39
39
  module.exports = {
40
40
  plugins: [require("daisyui")],
41
- };
41
+ }
42
42
  ```
43
43
 
44
44
  [ [Read more →][docs-url-install] ]
package/dist/full.css CHANGED
@@ -220,9 +220,9 @@
220
220
  --p: 0.7666 0.1354 153.45;
221
221
  --pc: 0.3339 0.0406 162.2401;
222
222
  --s: 0.613 0.2024 261.2942;
223
- --sc: 0.9846 0.0017 247.8389;
224
- --a: 0.6413 0.1932 33.1151;
225
- --ac: 0.9846 0.0017 247.8389;
223
+ --sc: 1 0 0;
224
+ --a: 0.7277 0.1498 33.2004;
225
+ --ac: 0 0 0;
226
226
  --n: 0.3552 0.0321 262.9886;
227
227
  --nc: 0.9846 0.0017 247.8389;
228
228
  --b1: 1 0 0;
@@ -302,7 +302,7 @@
302
302
  --inc: 0.9092 0.043 262.8809;
303
303
  --suc: 0.1254 0.034 149.2138;
304
304
  --wac: 0.1332 0.0315 58.3183;
305
- --erc: 0.9154 0.043 27.325;
305
+ --erc: 0.1314 0.0398 27.33;
306
306
  --animation-btn: 0.25s;
307
307
  --animation-input: .2s;
308
308
  --btn-text-case: uppercase;
@@ -325,7 +325,7 @@
325
325
  --in: 0.5461 0.2152 262.8809;
326
326
  --su: 0.6271 0.1699 149.2138;
327
327
  --wa: 0.6658 0.1574 58.3183;
328
- --er: 0.5771 0.2152 27.325;
328
+ --er: 0.6572 0.199 27.33;
329
329
  --rounded-box: 0.4rem;
330
330
  --rounded-btn: 0.4rem;
331
331
  --rounded-badge: 0.4rem
@@ -374,7 +374,7 @@
374
374
  --inc: 0.9092 0.043 262.8809;
375
375
  --suc: 0.1254 0.034 149.2138;
376
376
  --wac: 0.1332 0.0315 58.3183;
377
- --erc: 0.9154 0.043 27.325;
377
+ --erc: 0.1461 0.0414 27.33;
378
378
  --rounded-box: 1rem;
379
379
  --rounded-badge: 1.9rem;
380
380
  --animation-btn: 0.25s;
@@ -394,7 +394,7 @@
394
394
  --in: 0.5461 0.2152 262.8809;
395
395
  --su: 0.6271 0.1699 149.2138;
396
396
  --wa: 0.6658 0.1574 58.3183;
397
- --er: 0.5771 0.2152 27.325;
397
+ --er: 0.7307 0.207 27.33;
398
398
  --rounded-btn: 1.9rem
399
399
  }
400
400
  [data-theme=halloween] {
@@ -407,7 +407,7 @@
407
407
  --inc: 0.9092 0.043 262.8809;
408
408
  --suc: 0.1254 0.034 149.2138;
409
409
  --wac: 0.1332 0.0315 58.3183;
410
- --erc: 0.9154 0.043 27.325;
410
+ --erc: 0.1314 0.0398 27.33;
411
411
  --rounded-box: 1rem;
412
412
  --rounded-btn: 0.5rem;
413
413
  --rounded-badge: 1.9rem;
@@ -418,7 +418,7 @@
418
418
  --border-btn: 1px;
419
419
  --tab-border: 1px;
420
420
  --tab-radius: 0.5rem;
421
- --p: 0.7342 0.1655 60.6166;
421
+ --p: 0.7748 0.204 60.62;
422
422
  --pc: 0.1969 0.0047 196.7794;
423
423
  --s: 0.4606 0.1554 305.0254;
424
424
  --a: 0.6511 0.1939 136.0735;
@@ -428,7 +428,7 @@
428
428
  --in: 0.5461 0.2152 262.8809;
429
429
  --su: 0.6271 0.1699 149.2138;
430
430
  --wa: 0.6658 0.1574 58.3183;
431
- --er: 0.5771 0.2152 27.325
431
+ --er: 0.6572 0.199 27.33
432
432
  }
433
433
  [data-theme=garden] {
434
434
  color-scheme: light;
@@ -507,7 +507,7 @@
507
507
  --inc: 0.9092 0.043 262.8809;
508
508
  --suc: 0.1254 0.034 149.2138;
509
509
  --wac: 0.1332 0.0315 58.3183;
510
- --erc: 0.9154 0.043 27.325;
510
+ --erc: 0.1479 0.038 27.33;
511
511
  --rounded-box: 1rem;
512
512
  --rounded-btn: 0.5rem;
513
513
  --rounded-badge: 1.9rem;
@@ -527,10 +527,14 @@
527
527
  --in: 0.5461 0.2152 262.8809;
528
528
  --su: 0.6271 0.1699 149.2138;
529
529
  --wa: 0.6658 0.1574 58.3183;
530
- --er: 0.5771 0.2152 27.325
530
+ --er: 0.7395 0.19 27.33
531
531
  }
532
532
  [data-theme=lofi] {
533
533
  color-scheme: light;
534
+ --inc: 0.1591 0.0206 205.9;
535
+ --suc: 0.1803 0.0306 164.14;
536
+ --wac: 0.1767 0.027 79.94;
537
+ --erc: 0.1573 0.03 28.47;
534
538
  --btn-text-case: uppercase;
535
539
  --border-btn: 1px;
536
540
  --tab-border: 1px;
@@ -546,14 +550,10 @@
546
550
  --b2: 0.9612 0 0;
547
551
  --b3: 0.9227 0.0011 17.1793;
548
552
  --bc: 0 0 0;
549
- --in: 0.5731 0.2145 258.2467;
550
- --inc: 1 0 0;
551
- --su: 0.7394 0.211 146.977;
552
- --suc: 0 0 0;
553
- --wa: 0.6955 0.1949 27.8924;
554
- --wac: 1 0 0;
555
- --er: 0.5989 0.2354 352.5117;
556
- --erc: 1 0 0;
553
+ --in: 0.7954 0.103 205.9;
554
+ --su: 0.9013 0.153 164.14;
555
+ --wa: 0.8837 0.135 79.94;
556
+ --er: 0.7866 0.15 28.47;
557
557
  --rounded-box: 0.25rem;
558
558
  --rounded-btn: 0.125rem;
559
559
  --rounded-badge: 0.125rem;
@@ -645,7 +645,7 @@
645
645
  --btn-focus-scale: 0.95;
646
646
  --border-btn: 1px;
647
647
  --tab-border: 1px;
648
- font-family: Chalkboard,comic sans ms,"sanssecondaryerif";
648
+ font-family: Chalkboard,comic sans ms,'sans-serif';
649
649
  --p: 0.7826 0 0;
650
650
  --s: 0.7826 0 0;
651
651
  --a: 0.7826 0 0;
@@ -806,7 +806,7 @@
806
806
  --inc: 0.1384 0.0196 207.2842;
807
807
  --suc: 0.122 0.016 174.6162;
808
808
  --wac: 0.1402 0.033 56.8443;
809
- --erc: 0.9155 0.0446 24.1624;
809
+ --erc: 0.9061 0.0482 24.16;
810
810
  --rounded-box: 1rem;
811
811
  --rounded-btn: 0.5rem;
812
812
  --rounded-badge: 1.9rem;
@@ -825,7 +825,7 @@
825
825
  --in: 0.6922 0.098 207.2842;
826
826
  --su: 0.61 0.0802 174.6162;
827
827
  --wa: 0.7008 0.1649 56.8443;
828
- --er: 0.5774 0.2229 24.1624
828
+ --er: 0.5307 0.241 24.16
829
829
  }
830
830
  [data-theme=business] {
831
831
  color-scheme: dark;
@@ -865,14 +865,14 @@
865
865
  --b2: 0.9161 0 0;
866
866
  --b3: 0.8472 0 0;
867
867
  --bc: 0.197 0 0;
868
- --pc: 0.1391 0.0631 330.7596;
869
- --sc: 0.1429 0.0388 48.2509;
870
- --ac: 0.1851 0.0453 122.963;
871
- --nc: 0.848 0.0138 278.6813;
872
- --inc: 0.1317 0.0342 252.0536;
873
- --suc: 0.1517 0.0255 158.5317;
874
- --wac: 0.1789 0.0354 100.495;
875
- --erc: 0.9163 0.0476 29.3492;
868
+ --pc: 0.1438 0.0714 330.7596;
869
+ --sc: 0.1467 0.0448 48.2509;
870
+ --ac: 0.1856 0.0528 122.963;
871
+ --nc: 0.8426 0.0256 278.68;
872
+ --inc: 0.1214 0.0454 252.05;
873
+ --suc: 0.1714 0.0532 158.53;
874
+ --wac: 0.182 0.0424 100.5;
875
+ --erc: 0.1297 0.0586 29.3492;
876
876
  --animation-btn: 0.25s;
877
877
  --animation-input: .2s;
878
878
  --btn-text-case: uppercase;
@@ -880,15 +880,15 @@
880
880
  --border-btn: 1px;
881
881
  --tab-border: 1px;
882
882
  --tab-radius: 0.5rem;
883
- --p: 0.6953 0.3157 330.7596;
884
- --s: 0.7144 0.1938 48.2509;
885
- --a: 0.9256 0.2266 122.963;
886
- --n: 0.2402 0.069 278.6813;
883
+ --p: 0.719 0.357 330.7596;
884
+ --s: 0.7337 0.224 48.2509;
885
+ --a: 0.9278 0.264 122.963;
886
+ --n: 0.2131 0.128 278.68;
887
887
  --b1: 0.9851 0 0;
888
- --in: 0.6587 0.1711 252.0536;
889
- --su: 0.7583 0.1277 158.5317;
890
- --wa: 0.8944 0.1768 100.495;
891
- --er: 0.5814 0.2378 29.3492;
888
+ --in: 0.6072 0.227 252.05;
889
+ --su: 0.8572 0.266 158.53;
890
+ --wa: 0.9101 0.212 100.5;
891
+ --er: 0.6484 0.293 29.3492;
892
892
  --rounded-box: 1.25rem;
893
893
  --rounded-btn: 1rem;
894
894
  --rounded-badge: 1rem
@@ -986,7 +986,7 @@
986
986
  --a: 0.4262 0.0744 224.3892;
987
987
  --n: 0.1651 0.0157 326.2614;
988
988
  --b1: 0.2168 0.0231 329.7086;
989
- --bc: 0.5413 0.0188 79.2715;
989
+ --bc: 0.7235 0.0928 79.1294;
990
990
  --in: 0.7949 0.0639 184.5584;
991
991
  --su: 0.7472 0.0725 131.1163;
992
992
  --wa: 0.8815 0.1408 87.7224;
@@ -2093,7 +2093,7 @@ html {
2093
2093
  --glass-opacity: 25%;
2094
2094
  --glass-border-opacity: 15%}
2095
2095
  .btn-ghost:hover {
2096
- --tw-border-opacity: 0;
2096
+ border-color: transparent;
2097
2097
  background-color: oklch(var(--bc) / var(--tw-bg-opacity));
2098
2098
  --tw-bg-opacity: 0.2}
2099
2099
  .btn-link:hover {
@@ -2877,27 +2877,27 @@ input.tab:checked + .tab-content,
2877
2877
  :where(.timeline > li) {
2878
2878
  position: relative;
2879
2879
  display: grid;
2880
+ flex-shrink: 0;
2880
2881
  align-items: center;
2881
- grid-template-rows: var(--timeline-row-start, 1fr) auto var(--timeline-row-end, 1fr);
2882
- grid-template-columns: var(--timeline-col-start, 1fr) auto var(--timeline-col-end, 1fr)}
2883
- :where(.timeline:not(:has(.timeline-start)) > li) {
2884
- --timeline-row-start: min-content}
2885
- :where(.timeline:not(:has(.timeline-end)) > li) {
2886
- --timeline-row-end: min-content}
2887
- :where(.timeline:not(:has(.timeline-start)):not(:has(.timeline-end)) li) {
2888
- --timeline-row-start: min-content;
2889
- --timeline-row-end: min-content}
2882
+ grid-template-rows: var(--timeline-row-start, minmax(0, 1fr)) auto var(
2883
+ --timeline-row-end,
2884
+ minmax(0, 1fr)
2885
+ );
2886
+ grid-template-columns: var(--timeline-col-start, minmax(0, 1fr)) auto var(
2887
+ --timeline-col-end,
2888
+ minmax(0, 1fr)
2889
+ )}
2890
2890
  .timeline > li > hr {
2891
2891
  width: 100%;
2892
2892
  border-width: 0px}
2893
- .timeline-snap-icon > li {
2894
- --timeline-col-start: 0.5rem}
2895
2893
  :where(.timeline > li > hr):first-child {
2896
2894
  grid-column-start: 1;
2897
2895
  grid-row-start: 2}
2898
2896
  :where(.timeline > li > hr):last-child {
2899
2897
  grid-column-start: 3;
2900
- grid-row-start: 2}
2898
+ grid-column-end: none;
2899
+ grid-row-start: 2;
2900
+ grid-row-end: auto}
2901
2901
  .timeline-start {
2902
2902
  grid-column-start: 1;
2903
2903
  grid-column-end: 4;
@@ -3183,7 +3183,7 @@ input.tab:checked + .tab-content,
3183
3183
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
3184
3184
  outline-color: currentColor}
3185
3185
  .btn-ghost.btn-active {
3186
- --tw-border-opacity: 0;
3186
+ border-color: transparent;
3187
3187
  background-color: oklch(var(--bc) / var(--tw-bg-opacity));
3188
3188
  --tw-bg-opacity: 0.2}
3189
3189
  .btn-link {
@@ -20668,17 +20668,36 @@ details.collapse summary::-webkit-details-marker {
20668
20668
  line-height: 2}
20669
20669
  .timeline-vertical {
20670
20670
  flex-direction: column}
20671
+ .timeline-compact,
20672
+ .timeline-horizontal.timeline-compact {
20673
+ --timeline-row-start: 0}
20674
+ .timeline-compact .timeline-start, .timeline-horizontal.timeline-compact .timeline-start {
20675
+ grid-column-start: 1;
20676
+ grid-column-end: 4;
20677
+ grid-row-start: 3;
20678
+ grid-row-end: 4;
20679
+ margin: 0.25rem;
20680
+ align-self: flex-start;
20681
+ justify-self: center}
20682
+ .timeline-compact li:has(.timeline-start) .timeline-end, .timeline-horizontal.timeline-compact li:has(.timeline-start) .timeline-end {
20683
+ grid-column-start: none;
20684
+ grid-row-start: auto}
20685
+ .timeline-vertical.timeline-compact > li {
20686
+ --timeline-col-start: 0}
20687
+ .timeline-vertical.timeline-compact .timeline-start {
20688
+ grid-column-start: 3;
20689
+ grid-column-end: 4;
20690
+ grid-row-start: 1;
20691
+ grid-row-end: 4;
20692
+ align-self: center;
20693
+ justify-self: start}
20694
+ .timeline-vertical.timeline-compact li:has(.timeline-start) .timeline-end {
20695
+ grid-column-start: auto;
20696
+ grid-row-start: none}
20671
20697
  :where(.timeline-vertical > li) {
20672
- --timeline-row-start: 1fr;
20673
- --timeline-row-end: 1fr;
20698
+ --timeline-row-start: minmax(0, 1fr);
20699
+ --timeline-row-end: minmax(0, 1fr);
20674
20700
  justify-items: center}
20675
- :where(.timeline-vertical:not(:has(.timeline-start)) > li) {
20676
- --timeline-col-start: min-content}
20677
- :where(.timeline-vertical:not(:has(.timeline-end)) > li) {
20678
- --timeline-col-end: min-content}
20679
- :where(.timeline-vertical:not(:has(.timeline-start)):not(:has(.timeline-end)) > li) {
20680
- --timeline-col-start: min-content;
20681
- --timeline-col-end: min-content}
20682
20701
  .timeline-vertical > li > hr {
20683
20702
  height: 100%}
20684
20703
  :where(.timeline-vertical > li > hr):first-child {
@@ -20686,7 +20705,9 @@ details.collapse summary::-webkit-details-marker {
20686
20705
  grid-row-start: 1}
20687
20706
  :where(.timeline-vertical > li > hr):last-child {
20688
20707
  grid-column-start: 2;
20689
- grid-row-start: 3}
20708
+ grid-column-end: auto;
20709
+ grid-row-start: 3;
20710
+ grid-row-end: none}
20690
20711
  .timeline-vertical .timeline-start {
20691
20712
  grid-column-start: 1;
20692
20713
  grid-column-end: 2;
@@ -20701,29 +20722,23 @@ details.collapse summary::-webkit-details-marker {
20701
20722
  grid-row-end: 4;
20702
20723
  align-self: center;
20703
20724
  justify-self: start}
20704
- .timeline-vertical.timeline-snap-icon > li {
20725
+ .timeline-vertical:where(.timeline-snap-icon) > li {
20726
+ --timeline-col-start: minmax(0, 1fr);
20705
20727
  --timeline-row-start: 0.5rem}
20706
20728
  .timeline-horizontal {
20707
20729
  flex-direction: row}
20708
- :where(.timeline-horizontal > li) {
20709
- --timeline-col-start: 1fr;
20710
- --timeline-col-end: 1fr;
20711
- align-items: center}
20712
- :where(.timeline-horizontal:not(:has(.timeline-start)) > li) {
20713
- --timeline-row-start: min-content}
20714
- :where(.timeline-horizontal:not(:has(.timeline-end)) > li) {
20715
- --timeline-row-end: min-content}
20716
- :where(.timeline-horizontal:not(:has(.timeline-start)):not(:has(.timeline-end)) > li) {
20717
- --timeline-row-start: min-content;
20718
- --timeline-row-end: min-content}
20719
20730
  .timeline-horizontal > li > hr {
20720
20731
  width: 100%}
20732
+ :where(.timeline-horizontal > li) {
20733
+ align-items: center}
20721
20734
  :where(.timeline-horizontal > li > hr):first-child {
20722
20735
  grid-column-start: 1;
20723
20736
  grid-row-start: 2}
20724
20737
  :where(.timeline-horizontal > li > hr):last-child {
20725
20738
  grid-column-start: 3;
20726
- grid-row-start: 2}
20739
+ grid-column-end: none;
20740
+ grid-row-start: 2;
20741
+ grid-row-end: auto}
20727
20742
  .timeline-horizontal .timeline-start {
20728
20743
  grid-column-start: 1;
20729
20744
  grid-column-end: 4;
@@ -20738,8 +20753,10 @@ details.collapse summary::-webkit-details-marker {
20738
20753
  grid-row-end: 4;
20739
20754
  align-self: flex-start;
20740
20755
  justify-self: center}
20741
- .timeline-horizontal.timeline-snap-icon > li {
20742
- --timeline-col-start: 0.5rem}
20756
+ :where(.timeline-snap-icon) > li,
20757
+ .timeline-horizontal:where(.timeline-snap-icon) > li {
20758
+ --timeline-col-start: 0.5rem;
20759
+ --timeline-row-start: minmax(0, 1fr)}
20743
20760
  :where(.toast) {
20744
20761
  bottom: 0px;
20745
20762
  inset-inline-end: 0px;
package/dist/styled.css CHANGED
@@ -1227,39 +1227,35 @@ input.tab:checked + .tab-content,
1227
1227
  }
1228
1228
  .timeline {
1229
1229
  position: relative;
1230
- display: flex;
1230
+ display: flex
1231
1231
  }
1232
1232
  :where(.timeline > li) {
1233
1233
  position: relative;
1234
1234
  display: grid;
1235
+ flex-shrink: 0;
1235
1236
  align-items: center;
1236
- grid-template-rows: var(--timeline-row-start, 1fr) auto var(--timeline-row-end, 1fr);
1237
- grid-template-columns: var(--timeline-col-start, 1fr) auto var(--timeline-col-end, 1fr);
1238
- }
1239
- :where(.timeline:not(:has(.timeline-start)) > li) {
1240
- --timeline-row-start: min-content;
1241
- }
1242
- :where(.timeline:not(:has(.timeline-end)) > li) {
1243
- --timeline-row-end: min-content;
1244
- }
1245
- :where(.timeline:not(:has(.timeline-start)):not(:has(.timeline-end)) li) {
1246
- --timeline-row-start: min-content;
1247
- --timeline-row-end: min-content;
1237
+ grid-template-rows: var(--timeline-row-start, minmax(0, 1fr)) auto var(
1238
+ --timeline-row-end,
1239
+ minmax(0, 1fr)
1240
+ );
1241
+ grid-template-columns: var(--timeline-col-start, minmax(0, 1fr)) auto var(
1242
+ --timeline-col-end,
1243
+ minmax(0, 1fr)
1244
+ )
1248
1245
  }
1249
1246
  .timeline > li > hr {
1250
1247
  width: 100%;
1251
- border-width: 0px;
1252
- }
1253
- .timeline-snap-icon > li {
1254
- --timeline-col-start: 0.5rem;
1248
+ border-width: 0px
1255
1249
  }
1256
1250
  :where(.timeline > li > hr):first-child {
1257
1251
  grid-column-start: 1;
1258
- grid-row-start: 2;
1252
+ grid-row-start: 2
1259
1253
  }
1260
1254
  :where(.timeline > li > hr):last-child {
1261
1255
  grid-column-start: 3;
1256
+ grid-column-end: none;
1262
1257
  grid-row-start: 2;
1258
+ grid-row-end: auto
1263
1259
  }
1264
1260
  .timeline-start {
1265
1261
  grid-column-start: 1;
@@ -1268,11 +1264,11 @@ input.tab:checked + .tab-content,
1268
1264
  grid-row-end: 2;
1269
1265
  margin: 0.25rem;
1270
1266
  align-self: flex-end;
1271
- justify-self: center;
1267
+ justify-self: center
1272
1268
  }
1273
1269
  .timeline-middle {
1274
1270
  grid-column-start: 2;
1275
- grid-row-start: 2;
1271
+ grid-row-start: 2
1276
1272
  }
1277
1273
  .timeline-end {
1278
1274
  grid-column-start: 1;
@@ -1281,7 +1277,7 @@ input.tab:checked + .tab-content,
1281
1277
  grid-row-end: 4;
1282
1278
  margin: 0.25rem;
1283
1279
  align-self: flex-start;
1284
- justify-self: center;
1280
+ justify-self: center
1285
1281
  }
1286
1282
  .toast {
1287
1283
  position: fixed;
@@ -1677,13 +1673,13 @@ input.tab:checked + .tab-content,
1677
1673
  }
1678
1674
  @media (hover: hover) {
1679
1675
  .btn-ghost:hover {
1680
- --tw-border-opacity: 0;
1676
+ border-color: transparent;
1681
1677
  background-color: oklch(var(--bc) / var(--tw-bg-opacity));
1682
1678
  --tw-bg-opacity: 0.2;
1683
1679
  }
1684
1680
  }
1685
1681
  .btn-ghost.btn-active {
1686
- --tw-border-opacity: 0;
1682
+ border-color: transparent;
1687
1683
  background-color: oklch(var(--bc) / var(--tw-bg-opacity));
1688
1684
  --tw-bg-opacity: 0.2;
1689
1685
  }