@dayflow/core 3.3.0 → 3.3.1
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 +5 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/styles.components.css +40 -0
- package/dist/styles.css +28 -0
- package/package.json +1 -1
|
@@ -517,6 +517,46 @@
|
|
|
517
517
|
.df-calendar-container .focus\:border-primary:focus {
|
|
518
518
|
border-color: var(--df-color-primary);
|
|
519
519
|
}
|
|
520
|
+
.df-portal .bg-primary {
|
|
521
|
+
background-color: var(--df-color-primary);
|
|
522
|
+
color: var(--df-color-primary-foreground);
|
|
523
|
+
}
|
|
524
|
+
.df-portal .hover\:bg-primary\/90:hover {
|
|
525
|
+
background-color: var(--df-color-primary);
|
|
526
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
527
|
+
background-color: color-mix(
|
|
528
|
+
in srgb,
|
|
529
|
+
var(--df-color-primary) 90%,
|
|
530
|
+
transparent
|
|
531
|
+
);
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
.df-portal .text-primary-foreground {
|
|
535
|
+
color: var(--df-color-primary-foreground);
|
|
536
|
+
}
|
|
537
|
+
.df-portal .focus\:border-primary:focus {
|
|
538
|
+
border-color: var(--df-color-primary);
|
|
539
|
+
}
|
|
540
|
+
.df-portal .focus\:ring-primary:focus {
|
|
541
|
+
--tw-ring-color: var(--df-color-primary);
|
|
542
|
+
}
|
|
543
|
+
.df-portal .bg-destructive {
|
|
544
|
+
background-color: var(--df-color-destructive);
|
|
545
|
+
color: var(--df-color-destructive-foreground);
|
|
546
|
+
}
|
|
547
|
+
.df-portal .hover\:bg-destructive\/90:hover {
|
|
548
|
+
background-color: var(--df-color-destructive);
|
|
549
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
550
|
+
background-color: color-mix(
|
|
551
|
+
in srgb,
|
|
552
|
+
var(--df-color-destructive) 90%,
|
|
553
|
+
transparent
|
|
554
|
+
);
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
.df-portal .text-destructive-foreground {
|
|
558
|
+
color: var(--df-color-destructive-foreground);
|
|
559
|
+
}
|
|
520
560
|
.df-event-detail-panel .bg-primary,
|
|
521
561
|
.df-dialog-container .bg-primary {
|
|
522
562
|
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;
|
|
@@ -678,6 +680,9 @@
|
|
|
678
680
|
.max-w-sm {
|
|
679
681
|
max-width: var(--container-sm);
|
|
680
682
|
}
|
|
683
|
+
.max-w-xl {
|
|
684
|
+
max-width: var(--container-xl);
|
|
685
|
+
}
|
|
681
686
|
.min-w-0 {
|
|
682
687
|
min-width: calc(var(--spacing) * 0);
|
|
683
688
|
}
|
|
@@ -2271,6 +2276,11 @@
|
|
|
2271
2276
|
color: var(--color-gray-900);
|
|
2272
2277
|
}
|
|
2273
2278
|
}
|
|
2279
|
+
.dark\:text-red-400 {
|
|
2280
|
+
.dark & {
|
|
2281
|
+
color: var(--color-red-400);
|
|
2282
|
+
}
|
|
2283
|
+
}
|
|
2274
2284
|
.dark\:text-slate-50 {
|
|
2275
2285
|
.dark & {
|
|
2276
2286
|
color: var(--color-slate-50);
|
|
@@ -2565,6 +2575,7 @@
|
|
|
2565
2575
|
}
|
|
2566
2576
|
.df-calendar-container,
|
|
2567
2577
|
.df-portal {
|
|
2578
|
+
--color-background: var(--df-color-background);
|
|
2568
2579
|
--color-primary: var(--df-color-primary);
|
|
2569
2580
|
--color-primary-foreground: var(--df-color-primary-foreground);
|
|
2570
2581
|
--color-destructive: var(--df-color-destructive);
|
|
@@ -2807,6 +2818,23 @@
|
|
|
2807
2818
|
background-color: var(--color-gray-800);
|
|
2808
2819
|
}
|
|
2809
2820
|
}
|
|
2821
|
+
.df-portal .bg-destructive {
|
|
2822
|
+
background-color: var(--df-color-destructive);
|
|
2823
|
+
color: var(--df-color-destructive-foreground);
|
|
2824
|
+
}
|
|
2825
|
+
.df-portal .hover\:bg-destructive\/90:hover {
|
|
2826
|
+
background-color: var(--df-color-destructive);
|
|
2827
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2828
|
+
background-color: color-mix(
|
|
2829
|
+
in srgb,
|
|
2830
|
+
var(--df-color-destructive) 90%,
|
|
2831
|
+
transparent
|
|
2832
|
+
);
|
|
2833
|
+
}
|
|
2834
|
+
}
|
|
2835
|
+
.df-portal .text-destructive-foreground {
|
|
2836
|
+
color: var(--df-color-destructive-foreground);
|
|
2837
|
+
}
|
|
2810
2838
|
.df-sidebar {
|
|
2811
2839
|
border-color: var(--color-gray-200);
|
|
2812
2840
|
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.1",
|
|
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",
|