@dayflow/core 3.3.0 → 3.3.2
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/index.d.ts +55 -3
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/styles.components.css +41 -0
- package/dist/styles.css +49 -0
- package/package.json +1 -1
|
@@ -190,6 +190,7 @@
|
|
|
190
190
|
.df-all-day-cell,
|
|
191
191
|
.df-time-column,
|
|
192
192
|
.df-time-grid-row,
|
|
193
|
+
.df-time-grid-boundary,
|
|
193
194
|
.df-all-day-row,
|
|
194
195
|
.df-mini-calendar {
|
|
195
196
|
border-color: var(--df-color-border);
|
|
@@ -517,6 +518,46 @@
|
|
|
517
518
|
.df-calendar-container .focus\:border-primary:focus {
|
|
518
519
|
border-color: var(--df-color-primary);
|
|
519
520
|
}
|
|
521
|
+
.df-portal .bg-primary {
|
|
522
|
+
background-color: var(--df-color-primary);
|
|
523
|
+
color: var(--df-color-primary-foreground);
|
|
524
|
+
}
|
|
525
|
+
.df-portal .hover\:bg-primary\/90:hover {
|
|
526
|
+
background-color: var(--df-color-primary);
|
|
527
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
528
|
+
background-color: color-mix(
|
|
529
|
+
in srgb,
|
|
530
|
+
var(--df-color-primary) 90%,
|
|
531
|
+
transparent
|
|
532
|
+
);
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
.df-portal .text-primary-foreground {
|
|
536
|
+
color: var(--df-color-primary-foreground);
|
|
537
|
+
}
|
|
538
|
+
.df-portal .focus\:border-primary:focus {
|
|
539
|
+
border-color: var(--df-color-primary);
|
|
540
|
+
}
|
|
541
|
+
.df-portal .focus\:ring-primary:focus {
|
|
542
|
+
--tw-ring-color: var(--df-color-primary);
|
|
543
|
+
}
|
|
544
|
+
.df-portal .bg-destructive {
|
|
545
|
+
background-color: var(--df-color-destructive);
|
|
546
|
+
color: var(--df-color-destructive-foreground);
|
|
547
|
+
}
|
|
548
|
+
.df-portal .hover\:bg-destructive\/90:hover {
|
|
549
|
+
background-color: var(--df-color-destructive);
|
|
550
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
551
|
+
background-color: color-mix(
|
|
552
|
+
in srgb,
|
|
553
|
+
var(--df-color-destructive) 90%,
|
|
554
|
+
transparent
|
|
555
|
+
);
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
.df-portal .text-destructive-foreground {
|
|
559
|
+
color: var(--df-color-destructive-foreground);
|
|
560
|
+
}
|
|
520
561
|
.df-event-detail-panel .bg-primary,
|
|
521
562
|
.df-dialog-container .bg-primary {
|
|
522
563
|
background-color: var(--df-color-primary);
|
package/dist/styles.css
CHANGED
|
@@ -163,6 +163,7 @@
|
|
|
163
163
|
}
|
|
164
164
|
@layer theme {
|
|
165
165
|
:root, :host {
|
|
166
|
+
--color-red-400: oklch(70.4% 0.191 22.216);
|
|
166
167
|
--color-red-500: oklch(63.7% 0.237 25.331);
|
|
167
168
|
--color-yellow-200: oklch(94.5% 0.129 101.54);
|
|
168
169
|
--color-yellow-600: oklch(68.1% 0.162 75.834);
|
|
@@ -199,6 +200,7 @@
|
|
|
199
200
|
--spacing: 0.25rem;
|
|
200
201
|
--container-sm: 24rem;
|
|
201
202
|
--container-md: 28rem;
|
|
203
|
+
--container-xl: 36rem;
|
|
202
204
|
--text-xs: 0.75rem;
|
|
203
205
|
--text-xs--line-height: calc(1 / 0.75);
|
|
204
206
|
--text-sm: 0.875rem;
|
|
@@ -380,6 +382,9 @@
|
|
|
380
382
|
.z-10001 {
|
|
381
383
|
z-index: 10001;
|
|
382
384
|
}
|
|
385
|
+
.z-\[15\] {
|
|
386
|
+
z-index: 15;
|
|
387
|
+
}
|
|
383
388
|
.z-\[9999\] {
|
|
384
389
|
z-index: 9999;
|
|
385
390
|
}
|
|
@@ -410,6 +415,9 @@
|
|
|
410
415
|
.-mx-1 {
|
|
411
416
|
margin-inline: calc(var(--spacing) * -1);
|
|
412
417
|
}
|
|
418
|
+
.mx-0\.5 {
|
|
419
|
+
margin-inline: calc(var(--spacing) * 0.5);
|
|
420
|
+
}
|
|
413
421
|
.mx-2 {
|
|
414
422
|
margin-inline: calc(var(--spacing) * 2);
|
|
415
423
|
}
|
|
@@ -678,6 +686,9 @@
|
|
|
678
686
|
.max-w-sm {
|
|
679
687
|
max-width: var(--container-sm);
|
|
680
688
|
}
|
|
689
|
+
.max-w-xl {
|
|
690
|
+
max-width: var(--container-xl);
|
|
691
|
+
}
|
|
681
692
|
.min-w-0 {
|
|
682
693
|
min-width: calc(var(--spacing) * 0);
|
|
683
694
|
}
|
|
@@ -765,6 +776,9 @@
|
|
|
765
776
|
--tw-scale-z: 110%;
|
|
766
777
|
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
767
778
|
}
|
|
779
|
+
.-rotate-90 {
|
|
780
|
+
rotate: calc(90deg * -1);
|
|
781
|
+
}
|
|
768
782
|
.rotate-45 {
|
|
769
783
|
rotate: 45deg;
|
|
770
784
|
}
|
|
@@ -828,6 +842,9 @@
|
|
|
828
842
|
.flex-row {
|
|
829
843
|
flex-direction: row;
|
|
830
844
|
}
|
|
845
|
+
.flex-wrap {
|
|
846
|
+
flex-wrap: wrap;
|
|
847
|
+
}
|
|
831
848
|
.items-center {
|
|
832
849
|
align-items: center;
|
|
833
850
|
}
|
|
@@ -927,6 +944,9 @@
|
|
|
927
944
|
margin-inline-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse)));
|
|
928
945
|
}
|
|
929
946
|
}
|
|
947
|
+
.gap-y-0\.5 {
|
|
948
|
+
row-gap: calc(var(--spacing) * 0.5);
|
|
949
|
+
}
|
|
930
950
|
.self-stretch {
|
|
931
951
|
align-self: stretch;
|
|
932
952
|
}
|
|
@@ -1719,6 +1739,11 @@
|
|
|
1719
1739
|
}
|
|
1720
1740
|
}
|
|
1721
1741
|
}
|
|
1742
|
+
.last\:mb-0 {
|
|
1743
|
+
&:last-child {
|
|
1744
|
+
margin-bottom: calc(var(--spacing) * 0);
|
|
1745
|
+
}
|
|
1746
|
+
}
|
|
1722
1747
|
.last\:border-0 {
|
|
1723
1748
|
&:last-child {
|
|
1724
1749
|
border-style: var(--tw-border-style);
|
|
@@ -2271,6 +2296,11 @@
|
|
|
2271
2296
|
color: var(--color-gray-900);
|
|
2272
2297
|
}
|
|
2273
2298
|
}
|
|
2299
|
+
.dark\:text-red-400 {
|
|
2300
|
+
.dark & {
|
|
2301
|
+
color: var(--color-red-400);
|
|
2302
|
+
}
|
|
2303
|
+
}
|
|
2274
2304
|
.dark\:text-slate-50 {
|
|
2275
2305
|
.dark & {
|
|
2276
2306
|
color: var(--color-slate-50);
|
|
@@ -2565,6 +2595,7 @@
|
|
|
2565
2595
|
}
|
|
2566
2596
|
.df-calendar-container,
|
|
2567
2597
|
.df-portal {
|
|
2598
|
+
--color-background: var(--df-color-background);
|
|
2568
2599
|
--color-primary: var(--df-color-primary);
|
|
2569
2600
|
--color-primary-foreground: var(--df-color-primary-foreground);
|
|
2570
2601
|
--color-destructive: var(--df-color-destructive);
|
|
@@ -2789,6 +2820,7 @@
|
|
|
2789
2820
|
}
|
|
2790
2821
|
}
|
|
2791
2822
|
.df-time-grid-row,
|
|
2823
|
+
.df-time-grid-boundary,
|
|
2792
2824
|
.df-all-day-row,
|
|
2793
2825
|
.df-mini-calendar {
|
|
2794
2826
|
border-color: var(--color-gray-200);
|
|
@@ -2807,6 +2839,23 @@
|
|
|
2807
2839
|
background-color: var(--color-gray-800);
|
|
2808
2840
|
}
|
|
2809
2841
|
}
|
|
2842
|
+
.df-portal .bg-destructive {
|
|
2843
|
+
background-color: var(--df-color-destructive);
|
|
2844
|
+
color: var(--df-color-destructive-foreground);
|
|
2845
|
+
}
|
|
2846
|
+
.df-portal .hover\:bg-destructive\/90:hover {
|
|
2847
|
+
background-color: var(--df-color-destructive);
|
|
2848
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2849
|
+
background-color: color-mix(
|
|
2850
|
+
in srgb,
|
|
2851
|
+
var(--df-color-destructive) 90%,
|
|
2852
|
+
transparent
|
|
2853
|
+
);
|
|
2854
|
+
}
|
|
2855
|
+
}
|
|
2856
|
+
.df-portal .text-destructive-foreground {
|
|
2857
|
+
color: var(--df-color-destructive-foreground);
|
|
2858
|
+
}
|
|
2810
2859
|
.df-sidebar {
|
|
2811
2860
|
border-color: var(--color-gray-200);
|
|
2812
2861
|
background-color: var(--color-white);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dayflow/core",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.2",
|
|
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",
|