@dayflow/core 3.3.3 → 3.3.5

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.
@@ -1,4 +1,5 @@
1
1
  /*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
2
+ @layer theme, base, df-theme, components, utilities;
2
3
  @layer theme {
3
4
  :root, :host {
4
5
  --color-gray-100: oklch(96.7% 0.003 264.542);
@@ -507,10 +508,14 @@
507
508
  .df-nav-button:hover {
508
509
  color: var(--df-color-primary);
509
510
  }
510
- .df-calendar-container .text-primary {
511
+ .df-calendar-container .text-primary,
512
+ .df-event-detail-panel .text-primary,
513
+ .df-dialog-container .text-primary {
511
514
  color: var(--df-color-primary);
512
515
  }
513
- .df-calendar-container .hover\:bg-primary\/10:hover {
516
+ .df-calendar-container .bg-primary\/10,
517
+ .df-event-detail-panel .bg-primary\/10,
518
+ .df-dialog-container .bg-primary\/10 {
514
519
  background-color: var(--df-color-primary);
515
520
  @supports (color: color-mix(in lab, red, red)) {
516
521
  background-color: color-mix(
@@ -520,6 +525,42 @@
520
525
  );
521
526
  }
522
527
  }
528
+ .df-calendar-container .hover\:bg-primary\/10:hover,
529
+ .df-event-detail-panel .hover\:bg-primary\/10:hover,
530
+ .df-dialog-container .hover\:bg-primary\/10:hover {
531
+ background-color: var(--df-color-primary);
532
+ @supports (color: color-mix(in lab, red, red)) {
533
+ background-color: color-mix(
534
+ in srgb,
535
+ var(--df-color-primary) 10%,
536
+ transparent
537
+ );
538
+ }
539
+ }
540
+ .df-calendar-container .bg-primary\/20,
541
+ .df-event-detail-panel .bg-primary\/20,
542
+ .df-dialog-container .bg-primary\/20 {
543
+ background-color: var(--df-color-primary);
544
+ @supports (color: color-mix(in lab, red, red)) {
545
+ background-color: color-mix(
546
+ in srgb,
547
+ var(--df-color-primary) 20%,
548
+ transparent
549
+ );
550
+ }
551
+ }
552
+ .df-calendar-container .hover\:bg-primary\/20:hover,
553
+ .df-event-detail-panel .hover\:bg-primary\/20:hover,
554
+ .df-dialog-container .hover\:bg-primary\/20:hover {
555
+ background-color: var(--df-color-primary);
556
+ @supports (color: color-mix(in lab, red, red)) {
557
+ background-color: color-mix(
558
+ in srgb,
559
+ var(--df-color-primary) 20%,
560
+ transparent
561
+ );
562
+ }
563
+ }
523
564
  .df-calendar-container .hover\:text-primary:hover {
524
565
  color: var(--df-color-primary);
525
566
  }
package/dist/styles.css CHANGED
@@ -396,8 +396,8 @@
396
396
  .z-10001 {
397
397
  z-index: 10001;
398
398
  }
399
- .z-\[15\] {
400
- z-index: 15;
399
+ .z-\[100\] {
400
+ z-index: 100;
401
401
  }
402
402
  .z-\[9999\] {
403
403
  z-index: 9999;
@@ -513,9 +513,6 @@
513
513
  .block {
514
514
  display: block;
515
515
  }
516
- .block\! {
517
- display: block !important;
518
- }
519
516
  .flex {
520
517
  display: flex;
521
518
  }
@@ -1129,7 +1126,7 @@
1129
1126
  .border-transparent {
1130
1127
  border-color: transparent;
1131
1128
  }
1132
- .border-l-primary {
1129
+ .border-l-\[var\(--df-color-primary\)\] {
1133
1130
  border-left-color: var(--df-color-primary);
1134
1131
  }
1135
1132
  .bg-\[var\(--df-color-primary\)\] {
@@ -1222,12 +1219,6 @@
1222
1219
  .bg-secondary {
1223
1220
  background-color: var(--df-color-secondary);
1224
1221
  }
1225
- .bg-secondary\/10 {
1226
- background-color: var(--df-color-secondary);
1227
- @supports (color: color-mix(in lab, red, red)) {
1228
- background-color: color-mix(in oklab, var(--df-color-secondary) 10%, transparent);
1229
- }
1230
- }
1231
1222
  .bg-slate-50 {
1232
1223
  background-color: var(--color-slate-50);
1233
1224
  }
@@ -1508,9 +1499,6 @@
1508
1499
  .text-red-500 {
1509
1500
  color: var(--color-red-500);
1510
1501
  }
1511
- .text-secondary {
1512
- color: var(--df-color-secondary);
1513
- }
1514
1502
  .text-secondary-foreground {
1515
1503
  color: var(--df-color-secondary-foreground);
1516
1504
  }
@@ -1569,12 +1557,21 @@
1569
1557
  .opacity-0 {
1570
1558
  opacity: 0%;
1571
1559
  }
1560
+ .opacity-25 {
1561
+ opacity: 25%;
1562
+ }
1572
1563
  .opacity-50 {
1573
1564
  opacity: 50%;
1574
1565
  }
1575
1566
  .opacity-60 {
1576
1567
  opacity: 60%;
1577
1568
  }
1569
+ .opacity-70 {
1570
+ opacity: 70%;
1571
+ }
1572
+ .opacity-75 {
1573
+ opacity: 75%;
1574
+ }
1578
1575
  .opacity-80 {
1579
1576
  opacity: 80%;
1580
1577
  }
@@ -1696,10 +1693,6 @@
1696
1693
  --tw-duration: 200ms;
1697
1694
  transition-duration: 200ms;
1698
1695
  }
1699
- .duration-250 {
1700
- --tw-duration: 250ms;
1701
- transition-duration: 250ms;
1702
- }
1703
1696
  .duration-300 {
1704
1697
  --tw-duration: 300ms;
1705
1698
  transition-duration: 300ms;
@@ -1863,13 +1856,6 @@
1863
1856
  }
1864
1857
  }
1865
1858
  }
1866
- .hover\:bg-primary {
1867
- &:hover {
1868
- @media (hover: hover) {
1869
- background-color: var(--df-color-primary);
1870
- }
1871
- }
1872
- }
1873
1859
  .hover\:bg-primary\/10 {
1874
1860
  &:hover {
1875
1861
  @media (hover: hover) {
@@ -1880,22 +1866,22 @@
1880
1866
  }
1881
1867
  }
1882
1868
  }
1883
- .hover\:bg-primary\/90 {
1869
+ .hover\:bg-primary\/20 {
1884
1870
  &:hover {
1885
1871
  @media (hover: hover) {
1886
1872
  background-color: var(--df-color-primary);
1887
1873
  @supports (color: color-mix(in lab, red, red)) {
1888
- background-color: color-mix(in oklab, var(--df-color-primary) 90%, transparent);
1874
+ background-color: color-mix(in oklab, var(--df-color-primary) 20%, transparent);
1889
1875
  }
1890
1876
  }
1891
1877
  }
1892
1878
  }
1893
- .hover\:bg-secondary\/20 {
1879
+ .hover\:bg-primary\/90 {
1894
1880
  &:hover {
1895
1881
  @media (hover: hover) {
1896
- background-color: var(--df-color-secondary);
1882
+ background-color: var(--df-color-primary);
1897
1883
  @supports (color: color-mix(in lab, red, red)) {
1898
- background-color: color-mix(in oklab, var(--df-color-secondary) 20%, transparent);
1884
+ background-color: color-mix(in oklab, var(--df-color-primary) 90%, transparent);
1899
1885
  }
1900
1886
  }
1901
1887
  }
@@ -2164,11 +2150,6 @@
2164
2150
  border-color: var(--color-slate-800);
2165
2151
  }
2166
2152
  }
2167
- .dark\:border-l-primary {
2168
- .dark & {
2169
- border-left-color: var(--df-color-primary);
2170
- }
2171
- }
2172
2153
  .dark\:bg-black\/80 {
2173
2154
  .dark & {
2174
2155
  background-color: color-mix(in srgb, #000 80%, transparent);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dayflow/core",
3
- "version": "3.3.3",
3
+ "version": "3.3.5",
4
4
  "description": "A flexible and feature-rich calendar engine powered by Preact with drag-and-drop support, multiple views (Day, Week, Month, Year), and plugin architecture",
5
5
  "keywords": [
6
6
  "calendar",