@kne/react-calendar 1.0.6 → 1.1.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.css CHANGED
@@ -528,6 +528,433 @@
528
528
  border-radius: 12px;
529
529
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
530
530
  }
531
+ .kne-react-calendar_0I96A {
532
+ --time-window-primary: #1677ff;
533
+ --time-window-primary-rgb: 22, 119, 255;
534
+ --time-window-surface: #fff;
535
+ --time-window-track: #f7f8fa;
536
+ --time-window-border: #ebedf1;
537
+ --time-window-text: #1d2129;
538
+ --time-window-muted: #86909c;
539
+ --time-window-day: #f08c00;
540
+ --time-window-tick-hour: #8a929e;
541
+ --time-window-tick-half: #a9b0bb;
542
+ --time-window-tick-quarter: #c3c8d0;
543
+ --time-window-tick-minute: #dcdfe5;
544
+ --time-window-wheel-shade-rgb: 30, 41, 59;
545
+ --time-window-radius: 12px;
546
+ --time-window-gap: 8px;
547
+ --time-window-padding-y: 12px;
548
+ --time-window-padding-x: 16px;
549
+ --time-window-label-min: 14px;
550
+ --time-window-label-max: 16px;
551
+ --time-window-pill-font: 12px;
552
+ --time-window-pill-line: 18px;
553
+ --time-window-pill-padding: 8px;
554
+ --time-window-track-min: 30px;
555
+ --time-window-track-max: 36px;
556
+ --time-window-track-radius: 8px;
557
+ --time-window-scale-gap: 5px;
558
+ --time-window-tick-label-font: 11px;
559
+ --time-window-tick-label-line: 16px;
560
+ --time-window-edge-min: 10px;
561
+ --time-window-switch-width: 28px;
562
+ --time-window-switch-height: 16px;
563
+ container-type: inline-size;
564
+ display: flex;
565
+ flex-direction: column;
566
+ gap: var(--time-window-gap);
567
+ width: 100%;
568
+ min-width: 0;
569
+ box-sizing: border-box;
570
+ padding: clamp(8px, 3cqi, var(--time-window-padding-y)) clamp(10px, 4cqi, var(--time-window-padding-x));
571
+ border: 1px solid var(--time-window-border);
572
+ border-radius: var(--time-window-radius);
573
+ background: var(--time-window-surface);
574
+ box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 4px 16px -8px rgba(15, 23, 42, 0.08);
575
+ color: var(--time-window-text);
576
+ font-variant-numeric: tabular-nums;
577
+ }
578
+
579
+ .kne-react-calendar_eGwaj {
580
+ --time-window-radius: 14px;
581
+ --time-window-gap: 12px;
582
+ --time-window-padding-y: 16px;
583
+ --time-window-padding-x: 20px;
584
+ --time-window-label-min: 15px;
585
+ --time-window-label-max: 19px;
586
+ --time-window-pill-padding: 9px;
587
+ --time-window-track-min: 36px;
588
+ --time-window-track-max: 44px;
589
+ --time-window-track-radius: 10px;
590
+ --time-window-scale-gap: 6px;
591
+ --time-window-tick-label-line: 18px;
592
+ --time-window-edge-min: 12px;
593
+ --time-window-switch-width: 32px;
594
+ --time-window-switch-height: 18px;
595
+ }
596
+
597
+ .kne-react-calendar_h50YK {
598
+ --time-window-radius: 10px;
599
+ --time-window-gap: 6px;
600
+ --time-window-padding-y: 8px;
601
+ --time-window-padding-x: 12px;
602
+ --time-window-label-min: 13px;
603
+ --time-window-label-max: 14px;
604
+ --time-window-pill-font: 11px;
605
+ --time-window-pill-line: 16px;
606
+ --time-window-pill-padding: 6px;
607
+ --time-window-track-min: 22px;
608
+ --time-window-track-max: 26px;
609
+ --time-window-track-radius: 6px;
610
+ --time-window-scale-gap: 4px;
611
+ --time-window-tick-label-font: 10px;
612
+ --time-window-tick-label-line: 14px;
613
+ --time-window-edge-min: 8px;
614
+ --time-window-switch-width: 24px;
615
+ --time-window-switch-height: 14px;
616
+ }
617
+
618
+ .kne-react-calendar_oV0dZ {
619
+ display: flex;
620
+ flex-wrap: wrap;
621
+ align-items: baseline;
622
+ justify-content: space-between;
623
+ gap: 6px 12px;
624
+ min-width: 0;
625
+ }
626
+
627
+ .kne-react-calendar_ES-Jt {
628
+ min-width: 0;
629
+ font-size: clamp(var(--time-window-label-min), 4.2cqi, var(--time-window-label-max));
630
+ font-weight: 600;
631
+ line-height: 1.4;
632
+ letter-spacing: -0.01em;
633
+ overflow-wrap: anywhere;
634
+ }
635
+
636
+ .kne-react-calendar_TWzY7 {
637
+ margin: 0 2px;
638
+ color: #c0c6cf;
639
+ font-weight: 400;
640
+ }
641
+
642
+ .kne-react-calendar_FiXT7 {
643
+ display: flex;
644
+ flex: none;
645
+ align-items: center;
646
+ gap: 8px;
647
+ }
648
+
649
+ .kne-react-calendar_uBaQO {
650
+ position: relative;
651
+ flex: none;
652
+ width: var(--time-window-switch-width);
653
+ height: var(--time-window-switch-height);
654
+ padding: 0;
655
+ border: 0;
656
+ border-radius: 999px;
657
+ background: #d5dae2;
658
+ cursor: pointer;
659
+ transition: background-color 0.18s ease;
660
+ }
661
+
662
+ .kne-react-calendar_uBaQO i {
663
+ position: absolute;
664
+ top: 2px;
665
+ left: 2px;
666
+ width: calc(var(--time-window-switch-height) - 4px);
667
+ height: calc(var(--time-window-switch-height) - 4px);
668
+ border-radius: 50%;
669
+ background: #fff;
670
+ box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
671
+ transition: transform 0.18s ease;
672
+ }
673
+
674
+ .kne-react-calendar_c1XaN {
675
+ background: var(--time-window-primary);
676
+ }
677
+
678
+ .kne-react-calendar_c1XaN i {
679
+ transform: translateX(calc(var(--time-window-switch-width) - var(--time-window-switch-height)));
680
+ }
681
+
682
+ .kne-react-calendar_uBaQO:focus-visible {
683
+ outline: none;
684
+ box-shadow: 0 0 0 3px rgba(var(--time-window-primary-rgb), 0.16);
685
+ }
686
+
687
+ .kne-react-calendar_UnlvI {
688
+ flex: none;
689
+ padding: 1px var(--time-window-pill-padding);
690
+ border: 1px solid rgba(var(--time-window-primary-rgb), 0.18);
691
+ border-radius: 999px;
692
+ background: rgba(var(--time-window-primary-rgb), 0.06);
693
+ color: var(--time-window-primary);
694
+ font-size: var(--time-window-pill-font);
695
+ font-weight: 500;
696
+ line-height: var(--time-window-pill-line);
697
+ white-space: nowrap;
698
+ }
699
+
700
+ .kne-react-calendar_2q4r3 {
701
+ display: flex;
702
+ flex-direction: column;
703
+ gap: var(--time-window-scale-gap);
704
+ min-width: 0;
705
+ }
706
+
707
+ .kne-react-calendar_Psk8T {
708
+ position: relative;
709
+ height: clamp(var(--time-window-track-min), 12cqi, var(--time-window-track-max));
710
+ overflow: hidden;
711
+ border-radius: var(--time-window-track-radius);
712
+ background: var(--time-window-track);
713
+ box-shadow: inset 0 0 0 1px var(--time-window-border);
714
+ cursor: grab;
715
+ outline: none;
716
+ touch-action: none;
717
+ user-select: none;
718
+ -webkit-user-select: none;
719
+ transition: box-shadow 0.18s ease;
720
+ }
721
+
722
+ .kne-react-calendar_Psk8T:hover {
723
+ box-shadow: inset 0 0 0 1px #dde1e7;
724
+ }
725
+
726
+ .kne-react-calendar_Psk8T:focus-visible {
727
+ box-shadow: inset 0 0 0 1px var(--time-window-primary), 0 0 0 3px rgba(var(--time-window-primary-rgb), 0.14);
728
+ }
729
+
730
+ .kne-react-calendar_lDK6o .kne-react-calendar_Psk8T {
731
+ cursor: grabbing;
732
+ }
733
+
734
+ .kne-react-calendar_RAKOV {
735
+ position: absolute;
736
+ inset: 0;
737
+ pointer-events: none;
738
+ }
739
+
740
+ .kne-react-calendar_0-sBN {
741
+ position: absolute;
742
+ bottom: 0;
743
+ width: 1px;
744
+ border-radius: 1px 1px 0 0;
745
+ transform: translateX(-50%);
746
+ }
747
+
748
+ .kne-react-calendar_KR68F {
749
+ height: 14%;
750
+ background: var(--time-window-tick-minute);
751
+ }
752
+
753
+ .kne-react-calendar_KG7-G {
754
+ height: 22%;
755
+ background: var(--time-window-tick-quarter);
756
+ }
757
+
758
+ .kne-react-calendar_cxGhs {
759
+ height: 30%;
760
+ background: var(--time-window-tick-half);
761
+ }
762
+
763
+ .kne-react-calendar_eLF-c {
764
+ height: 44%;
765
+ background: var(--time-window-tick-hour);
766
+ }
767
+
768
+ .kne-react-calendar_bVU-- {
769
+ top: 0;
770
+ width: 2px;
771
+ height: auto;
772
+ border-radius: 0;
773
+ background: linear-gradient(180deg, rgba(240, 140, 0, 0.25) 0%, var(--time-window-day) 100%);
774
+ }
775
+
776
+ .kne-react-calendar_RAKOV,
777
+ .kne-react-calendar_ahayU {
778
+ mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
779
+ }
780
+
781
+ .kne-react-calendar_Crt1q {
782
+ opacity: 0.35;
783
+ }
784
+
785
+ .kne-react-calendar_6YDSw .kne-react-calendar_RAKOV,
786
+ .kne-react-calendar_6YDSw + .kne-react-calendar_ahayU {
787
+ mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.35) 6%, #000 26%, #000 74%, rgba(0, 0, 0, 0.35) 94%, transparent 100%);
788
+ }
789
+
790
+ .kne-react-calendar_zo6Jy {
791
+ position: absolute;
792
+ inset: 0;
793
+ border-radius: inherit;
794
+ pointer-events: none;
795
+ background: linear-gradient(90deg, rgba(var(--time-window-wheel-shade-rgb), 0.045) 0%, rgba(var(--time-window-wheel-shade-rgb), 0.015) 14%, rgba(var(--time-window-wheel-shade-rgb), 0) 30%, rgba(var(--time-window-wheel-shade-rgb), 0) 70%, rgba(var(--time-window-wheel-shade-rgb), 0.015) 86%, rgba(var(--time-window-wheel-shade-rgb), 0.045) 100%);
796
+ box-shadow: inset 8px 0 10px -10px rgba(var(--time-window-wheel-shade-rgb), 0.18), inset -8px 0 10px -10px rgba(var(--time-window-wheel-shade-rgb), 0.18);
797
+ }
798
+
799
+ .kne-react-calendar_7IH3i {
800
+ position: absolute;
801
+ top: 0;
802
+ bottom: 0;
803
+ pointer-events: none;
804
+ background: repeating-linear-gradient(135deg, rgba(134, 144, 156, 0.06) 0 5px, rgba(134, 144, 156, 0.14) 5px 10px);
805
+ }
806
+
807
+ .kne-react-calendar_jm61m {
808
+ left: 0;
809
+ box-shadow: inset -1px 0 0 #d0d5dc;
810
+ }
811
+
812
+ .kne-react-calendar_H6JJo {
813
+ right: 0;
814
+ box-shadow: inset 1px 0 0 #d0d5dc;
815
+ }
816
+
817
+ .kne-react-calendar_FpwgD {
818
+ position: absolute;
819
+ top: 0;
820
+ bottom: 0;
821
+ min-width: 4px;
822
+ box-sizing: border-box;
823
+ border: 1.5px solid rgba(var(--time-window-primary-rgb), 0.85);
824
+ border-radius: var(--time-window-track-radius);
825
+ background: rgba(var(--time-window-primary-rgb), 0.1);
826
+ box-shadow: 0 2px 10px -2px rgba(var(--time-window-primary-rgb), 0.25);
827
+ pointer-events: none;
828
+ transition: background-color 0.18s ease, box-shadow 0.18s ease;
829
+ }
830
+
831
+ .kne-react-calendar_Psk8T:hover .kne-react-calendar_FpwgD {
832
+ background: rgba(var(--time-window-primary-rgb), 0.14);
833
+ }
834
+
835
+ .kne-react-calendar_lDK6o .kne-react-calendar_FpwgD {
836
+ background: rgba(var(--time-window-primary-rgb), 0.18);
837
+ box-shadow: 0 4px 14px -2px rgba(var(--time-window-primary-rgb), 0.35);
838
+ }
839
+
840
+ .kne-react-calendar_zx86H {
841
+ border-left-width: 2px;
842
+ border-right-width: 2px;
843
+ border-left-color: var(--time-window-primary);
844
+ border-right-color: var(--time-window-primary);
845
+ }
846
+
847
+ .kne-react-calendar_e3Rls {
848
+ border-width: 1px;
849
+ border-color: rgba(var(--time-window-primary-rgb), 0.55);
850
+ background: rgba(var(--time-window-primary-rgb), 0.08);
851
+ box-shadow: none;
852
+ }
853
+
854
+ .kne-react-calendar_XWaYx {
855
+ position: absolute;
856
+ top: 0;
857
+ bottom: 0;
858
+ z-index: 1;
859
+ display: flex;
860
+ align-items: center;
861
+ justify-content: center;
862
+ width: 14px;
863
+ cursor: ew-resize;
864
+ pointer-events: auto;
865
+ touch-action: none;
866
+ }
867
+
868
+ .kne-react-calendar_Lk0dI {
869
+ left: -8px;
870
+ }
871
+
872
+ .kne-react-calendar_-iQoy {
873
+ right: -8px;
874
+ }
875
+
876
+ .kne-react-calendar_XWaYx::after {
877
+ content: "";
878
+ display: block;
879
+ box-sizing: border-box;
880
+ width: 6px;
881
+ height: 46%;
882
+ min-height: var(--time-window-edge-min);
883
+ border: 1.5px solid var(--time-window-primary);
884
+ border-radius: 3px;
885
+ background: var(--time-window-surface);
886
+ box-shadow: 0 1px 3px rgba(15, 23, 42, 0.16);
887
+ transition: height 0.16s ease, background-color 0.16s ease;
888
+ }
889
+
890
+ .kne-react-calendar_XWaYx:hover::after,
891
+ .kne-react-calendar_U0aKK::after {
892
+ height: 62%;
893
+ background: var(--time-window-primary);
894
+ }
895
+
896
+ .kne-react-calendar_59sUX .kne-react-calendar_Psk8T,
897
+ .kne-react-calendar_59sUX .kne-react-calendar_Psk8T * {
898
+ cursor: ew-resize;
899
+ }
900
+
901
+ .kne-react-calendar_59sUX .kne-react-calendar_FpwgD {
902
+ background: rgba(var(--time-window-primary-rgb), 0.16);
903
+ }
904
+
905
+ .kne-react-calendar_kvOXQ {
906
+ border-radius: 4px;
907
+ }
908
+
909
+ .kne-react-calendar_ahayU {
910
+ position: relative;
911
+ height: var(--time-window-tick-label-line);
912
+ overflow: hidden;
913
+ }
914
+
915
+ .kne-react-calendar_4LHqw {
916
+ position: absolute;
917
+ top: 0;
918
+ color: var(--time-window-muted);
919
+ font-size: var(--time-window-tick-label-font);
920
+ line-height: var(--time-window-tick-label-line);
921
+ white-space: nowrap;
922
+ transform: translateX(-50%);
923
+ }
924
+
925
+ .kne-react-calendar_S5S1g {
926
+ padding: 0 0.5em;
927
+ border-radius: 999px;
928
+ background: rgba(240, 140, 0, 0.1);
929
+ color: #d46b08;
930
+ font-weight: 600;
931
+ }
932
+
933
+ .kne-react-calendar_A9Acq {
934
+ --time-window-gap: 0px;
935
+ }
936
+ .kne-react-calendar_U1upa {
937
+ position: relative;
938
+ }
939
+
940
+ .kne-react-calendar_vKocI {
941
+ overflow: auto;
942
+ }
943
+
944
+ :root {
945
+ --kne-viewport-width: 100vw;
946
+ --kne-viewport-height: 100dvh;
947
+ --kne-viewport-inline-size: 100vw;
948
+ --kne-viewport-block-size: 100dvh;
949
+ }
950
+
951
+ .kne-react-calendar_U1upa {
952
+ --kne-viewport-width: 100vw;
953
+ --kne-viewport-height: 100dvh;
954
+ --kne-viewport-inline-size: 100vw;
955
+ --kne-viewport-block-size: 100dvh;
956
+ }
957
+
531
958
  .kne-react-calendar_Ftp-V {
532
959
  position: relative;
533
960
  display: flex;
@@ -560,141 +987,321 @@
560
987
  background: transparent;
561
988
  }
562
989
 
563
- .kne-react-calendar_ArIB7 {
564
- display: flex;
565
- flex-direction: column;
566
- gap: 7px;
567
- padding: 8px 16px 18px;
990
+ .kne-react-calendar_EaUED {
991
+ position: relative;
992
+ flex: 0 0 auto;
993
+ margin: 12px 0 16px;
994
+ --timeline-primary: var(--primary-color, #1677ff);
995
+ }
996
+
997
+ .kne-react-calendar_X2W6x {
998
+ position: absolute;
999
+ inset: 0 auto 0 0;
1000
+ width: 52px;
1001
+ pointer-events: none;
568
1002
  }
569
- .kne-react-calendar_ArIB7 [data-slot-index] {
1003
+
1004
+ .kne-react-calendar_NvxDW {
1005
+ position: absolute;
1006
+ right: 8px;
1007
+ transform: translateY(-50%);
1008
+ color: rgba(32, 33, 36, 0.45);
1009
+ font-size: 11px;
1010
+ font-variant-numeric: tabular-nums;
1011
+ line-height: 1;
1012
+ }
1013
+
1014
+ .kne-react-calendar_gTav1 {
1015
+ position: absolute;
1016
+ inset: 0 14px 0 52px;
1017
+ cursor: cell;
1018
+ touch-action: pan-y;
570
1019
  user-select: none;
571
1020
  -webkit-user-select: none;
572
1021
  -webkit-touch-callout: none;
573
1022
  }
574
1023
 
575
- .kne-react-calendar_zOHks {
1024
+ .kne-react-calendar_4qf3- {
1025
+ cursor: grabbing;
576
1026
  touch-action: none;
577
- overscroll-behavior: none;
578
- -webkit-user-select: none;
579
- user-select: none;
580
1027
  }
581
1028
 
582
- .schedule-calendar-touch-dragging {
583
- touch-action: none !important;
584
- overscroll-behavior: none;
585
- user-select: none;
586
- -webkit-user-select: none;
587
- -webkit-touch-callout: none;
1029
+ .kne-react-calendar_Tp2ES {
1030
+ position: absolute;
1031
+ left: 0;
1032
+ right: 0;
1033
+ height: 0;
1034
+ border-top: 1px dashed rgba(32, 33, 36, 0.06);
1035
+ pointer-events: none;
588
1036
  }
589
1037
 
590
- .schedule-calendar-touch-dragging .kne-react-calendar_fkkFH {
591
- transition: none;
1038
+ .kne-react-calendar_M5-iS {
1039
+ border-top: 1px solid rgba(32, 33, 36, 0.1);
592
1040
  }
593
1041
 
594
- .kne-react-calendar_fkkFH {
1042
+ .kne-react-calendar_-g-DR {
1043
+ position: absolute;
1044
+ left: 0;
1045
+ right: 0;
1046
+ z-index: 1;
595
1047
  display: flex;
596
- width: 100%;
597
- min-height: 38px;
598
- border: 0;
599
- border-radius: 10px;
600
- background: #fff;
601
- align-items: center;
602
- justify-content: center;
603
- gap: 7px;
604
- padding: 7px 10px;
605
- text-align: left;
606
- cursor: pointer;
607
- user-select: none;
608
- -webkit-user-select: none;
609
- -webkit-touch-callout: none;
610
- box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
611
- transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
1048
+ align-items: flex-start;
1049
+ padding: 4px 8px;
1050
+ box-sizing: border-box;
1051
+ overflow: hidden;
1052
+ border-radius: 6px;
1053
+ background: repeating-linear-gradient(-45deg, rgba(32, 33, 36, 0.05) 0 6px, rgba(32, 33, 36, 0.09) 6px 12px);
1054
+ cursor: not-allowed;
612
1055
  }
613
1056
 
614
- .kne-react-calendar_fkkFH:hover {
615
- box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
616
- transform: translateY(-1px);
1057
+ .kne-react-calendar_3vFqg {
1058
+ color: rgba(32, 33, 36, 0.5);
1059
+ font-size: 11px;
1060
+ line-height: 14px;
1061
+ white-space: nowrap;
1062
+ overflow: hidden;
1063
+ text-overflow: ellipsis;
617
1064
  }
618
1065
 
619
- .kne-react-calendar_XjojI {
620
- width: 7px;
621
- height: 7px;
622
- border-radius: 50%;
623
- background: #57c88f;
624
- flex: 0 0 auto;
1066
+ .kne-react-calendar_Wd-9L {
1067
+ --timeline-event-color: #e06b6b;
1068
+ position: absolute;
1069
+ z-index: 2;
1070
+ margin-top: 1px;
1071
+ padding: 4px 8px 4px 9px;
1072
+ box-sizing: border-box;
1073
+ overflow: hidden;
1074
+ border-radius: 6px;
1075
+ border-left: 3px solid var(--timeline-event-color);
1076
+ background: color-mix(in srgb, var(--timeline-event-color) 12%, #fff);
1077
+ color: #202124;
1078
+ cursor: pointer;
1079
+ transition: box-shadow 0.16s ease;
625
1080
  }
626
1081
 
627
- .kne-react-calendar_343hW {
628
- min-width: 88px;
629
- color: #3f4248;
630
- font-size: 14px;
631
- font-weight: 500;
632
- text-align: center;
1082
+ .kne-react-calendar_Wd-9L:hover {
1083
+ box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
633
1084
  }
634
1085
 
635
- .kne-react-calendar_mkuiI {
636
- color: rgba(0, 0, 0, 0.65);
1086
+ .kne-react-calendar_WKbMK {
637
1087
  overflow: hidden;
1088
+ font-size: 12px;
1089
+ font-weight: 600;
1090
+ line-height: 16px;
1091
+ white-space: nowrap;
638
1092
  text-overflow: ellipsis;
1093
+ }
1094
+
1095
+ .kne-react-calendar_K98yc {
1096
+ color: rgba(32, 33, 36, 0.55);
1097
+ font-size: 11px;
1098
+ font-variant-numeric: tabular-nums;
1099
+ line-height: 14px;
639
1100
  white-space: nowrap;
640
1101
  }
641
1102
 
642
- .kne-react-calendar_7kzzQ {
643
- background: #fff;
1103
+ .kne-react-calendar_WrUNC {
1104
+ display: flex;
1105
+ align-items: center;
1106
+ gap: 6px;
1107
+ padding-block: 0;
1108
+ }
1109
+ .kne-react-calendar_WrUNC .kne-react-calendar_K98yc {
1110
+ flex: 0 0 auto;
644
1111
  }
645
1112
 
646
- .kne-react-calendar_gdNm7 {
647
- background: #fff7f7;
1113
+ .kne-react-calendar_C4d2- {
1114
+ --timeline-event-color: #9aa0aa;
1115
+ cursor: default;
648
1116
  }
649
1117
 
650
- .kne-react-calendar_gdNm7 .kne-react-calendar_XjojI {
651
- background: #e06b6b;
1118
+ .kne-react-calendar_0T5mO {
1119
+ position: absolute;
1120
+ left: 0;
1121
+ right: 0;
1122
+ z-index: 1;
1123
+ display: flex;
1124
+ align-items: flex-start;
1125
+ padding: 3px 8px;
1126
+ box-sizing: border-box;
1127
+ border: 1px dashed color-mix(in srgb, var(--timeline-primary) 45%, transparent);
1128
+ border-radius: 6px;
1129
+ background: color-mix(in srgb, var(--timeline-primary) 5%, transparent);
1130
+ color: var(--timeline-primary);
1131
+ font-size: 11px;
1132
+ line-height: 14px;
1133
+ pointer-events: none;
652
1134
  }
653
1135
 
654
- .kne-react-calendar_2LDxX {
655
- background: #e8eaee;
656
- color: rgba(32, 33, 36, 0.5);
657
- cursor: not-allowed;
1136
+ .kne-react-calendar_AzaVv {
1137
+ position: absolute;
1138
+ left: -6px;
1139
+ right: 0;
1140
+ z-index: 4;
1141
+ height: 0;
1142
+ border-top: 1.5px solid #f5222d;
1143
+ pointer-events: none;
1144
+ }
1145
+ .kne-react-calendar_AzaVv::before {
1146
+ content: "";
1147
+ position: absolute;
1148
+ top: -4.5px;
1149
+ left: 0;
1150
+ width: 7px;
1151
+ height: 7px;
1152
+ border-radius: 50%;
1153
+ background: #f5222d;
658
1154
  }
659
1155
 
660
- .kne-react-calendar_2LDxX .kne-react-calendar_XjojI {
661
- background: #9aa0aa;
1156
+ .kne-react-calendar_WtBzl {
1157
+ position: absolute;
1158
+ left: 0;
1159
+ right: 0;
1160
+ pointer-events: none;
1161
+ opacity: 0;
662
1162
  }
663
1163
 
664
- .kne-react-calendar_2LDxX .kne-react-calendar_343hW,
665
- .kne-react-calendar_2LDxX .kne-react-calendar_mkuiI {
666
- color: rgba(32, 33, 36, 0.5);
1164
+ .kne-react-calendar_z-uOR {
1165
+ position: absolute;
1166
+ left: 0;
1167
+ right: 0;
1168
+ z-index: 3;
1169
+ display: flex;
1170
+ align-items: flex-start;
1171
+ box-sizing: border-box;
1172
+ border: 1.5px solid var(--timeline-primary);
1173
+ border-radius: 6px;
1174
+ background: color-mix(in srgb, var(--timeline-primary) 14%, transparent);
1175
+ box-shadow: 0 6px 18px color-mix(in srgb, var(--timeline-primary) 20%, transparent);
1176
+ cursor: grab;
1177
+ touch-action: none;
1178
+ transition: top 0.08s ease-out, height 0.08s ease-out;
667
1179
  }
668
1180
 
669
- .kne-react-calendar_2LDxX:hover {
670
- box-shadow: none;
671
- transform: none;
1181
+ .kne-react-calendar_MbeJu {
1182
+ cursor: grabbing;
1183
+ transition: none;
672
1184
  }
673
1185
 
674
- .kne-react-calendar_TYAi6 {
675
- background: var(--primary-color, #202124);
676
- box-shadow: 0 7px 18px rgba(32, 33, 36, 0.12);
1186
+ .kne-react-calendar_7nYLD {
1187
+ display: flex;
1188
+ align-items: center;
1189
+ gap: 6px;
1190
+ padding: 4px 8px;
1191
+ color: var(--timeline-primary);
1192
+ font-size: 12px;
1193
+ font-weight: 600;
1194
+ font-variant-numeric: tabular-nums;
1195
+ line-height: 16px;
1196
+ pointer-events: none;
677
1197
  }
678
1198
 
679
- .kne-react-calendar_TYAi6 .kne-react-calendar_343hW,
680
- .kne-react-calendar_TYAi6 .kne-react-calendar_mkuiI {
681
- color: #fff;
1199
+ .kne-react-calendar_CpsWx .kne-react-calendar_7nYLD {
1200
+ padding-block: 0;
1201
+ font-size: 11px;
1202
+ line-height: 14px;
682
1203
  }
683
1204
 
684
- .kne-react-calendar_-xuUf {
685
- margin-inline-end: 0;
686
- border: 0;
1205
+ .kne-react-calendar_NqiWA {
1206
+ min-width: 16px;
1207
+ height: 16px;
1208
+ padding: 0 4px;
1209
+ box-sizing: border-box;
687
1210
  border-radius: 999px;
688
- background: rgba(32, 33, 36, 0.08);
689
- color: rgba(32, 33, 36, 0.56);
690
- font-size: 11px;
1211
+ background: #fa8c16;
1212
+ color: #fff;
1213
+ font-size: 10px;
1214
+ line-height: 16px;
1215
+ text-align: center;
1216
+ }
1217
+
1218
+ .kne-react-calendar_XQQ3E {
1219
+ border-color: #fa8c16;
1220
+ background: repeating-linear-gradient(-45deg, rgba(250, 140, 22, 0.14) 0 6px, rgba(250, 140, 22, 0.22) 6px 12px);
1221
+ box-shadow: 0 6px 18px rgba(250, 140, 22, 0.2);
1222
+ }
1223
+ .kne-react-calendar_XQQ3E .kne-react-calendar_7nYLD {
1224
+ color: #d46b08;
691
1225
  }
692
1226
 
693
- .kne-react-calendar_2LDxX .kne-react-calendar_-xuUf {
694
- background: rgba(32, 33, 36, 0.1);
695
- color: rgba(32, 33, 36, 0.48);
1227
+ .kne-react-calendar_s2EvF {
1228
+ position: absolute;
1229
+ left: 0;
1230
+ right: 0;
1231
+ z-index: 1;
1232
+ height: 10px;
1233
+ cursor: ns-resize;
1234
+ }
1235
+ .kne-react-calendar_s2EvF::after {
1236
+ content: "";
1237
+ position: absolute;
1238
+ left: 50%;
1239
+ width: 22px;
1240
+ height: 4px;
1241
+ margin-left: -11px;
1242
+ border: 1.5px solid var(--timeline-primary);
1243
+ border-radius: 999px;
1244
+ background: #fff;
1245
+ box-sizing: border-box;
696
1246
  }
697
1247
 
1248
+ .kne-react-calendar_XQQ3E .kne-react-calendar_s2EvF::after {
1249
+ border-color: #fa8c16;
1250
+ }
1251
+
1252
+ .kne-react-calendar_PcIon {
1253
+ top: -5px;
1254
+ }
1255
+ .kne-react-calendar_PcIon::after {
1256
+ top: 3px;
1257
+ }
1258
+
1259
+ .kne-react-calendar_nS8Mr {
1260
+ bottom: -5px;
1261
+ }
1262
+ .kne-react-calendar_nS8Mr::after {
1263
+ bottom: 3px;
1264
+ }
1265
+
1266
+ @container kne-responsive (max-width: 768px) {
1267
+ .kne-react-calendar_EaUED {
1268
+ margin: 10px 0 12px;
1269
+ }
1270
+ .kne-react-calendar_X2W6x {
1271
+ width: 44px;
1272
+ }
1273
+ .kne-react-calendar_NvxDW {
1274
+ right: 6px;
1275
+ }
1276
+ .kne-react-calendar_gTav1 {
1277
+ inset: 0 8px 0 44px;
1278
+ -webkit-tap-highlight-color: transparent;
1279
+ }
1280
+ .kne-react-calendar_s2EvF {
1281
+ height: 24px;
1282
+ }
1283
+ .kne-react-calendar_s2EvF::after {
1284
+ width: 30px;
1285
+ height: 6px;
1286
+ margin-left: -15px;
1287
+ }
1288
+ .kne-react-calendar_PcIon {
1289
+ top: -12px;
1290
+ }
1291
+ .kne-react-calendar_PcIon::after {
1292
+ top: 9px;
1293
+ }
1294
+ .kne-react-calendar_nS8Mr {
1295
+ bottom: -12px;
1296
+ }
1297
+ .kne-react-calendar_nS8Mr::after {
1298
+ bottom: 9px;
1299
+ }
1300
+ .kne-react-calendar_7nYLD,
1301
+ .kne-react-calendar_WKbMK {
1302
+ font-size: 13px;
1303
+ }
1304
+ }
698
1305
  .kne-react-calendar_W-I5J {
699
1306
  width: 300px;
700
1307
  max-width: calc(100vw - 48px);
@@ -704,33 +1311,253 @@
704
1311
  max-width: calc(100vw - 24px);
705
1312
  }
706
1313
 
707
- .kne-react-calendar_rVLO8 .ant-popover-inner {
1314
+ .kne-react-calendar_rVLO8.ant-popover .ant-popover-inner,
1315
+ .kne-react-calendar_rVLO8.ant-popover .ant-popover-container {
1316
+ box-sizing: border-box;
1317
+ display: flex;
1318
+ flex-direction: column;
708
1319
  max-width: calc(100vw - 24px);
709
- max-height: calc(100vh - 48px);
710
- overflow: auto;
1320
+ max-height: calc(100vh - 16px);
1321
+ max-height: calc(100dvh - 16px);
1322
+ overflow: hidden;
1323
+ padding-right: 0 !important;
1324
+ padding-inline-end: 0 !important;
711
1325
  }
712
1326
 
713
1327
  .kne-react-calendar_rVLO8 .ant-popover-inner-content {
714
1328
  max-width: calc(100vw - 56px);
715
1329
  }
716
1330
 
1331
+ .kne-react-calendar_rVLO8 .kne-react-calendar_W-I5J {
1332
+ display: flex;
1333
+ flex-direction: column;
1334
+ flex: 1 1 auto;
1335
+ width: 300px;
1336
+ min-width: 0;
1337
+ max-width: 100%;
1338
+ box-sizing: border-box;
1339
+ min-height: 0;
1340
+ max-height: calc(100vh - 40px);
1341
+ max-height: calc(100dvh - 40px);
1342
+ }
1343
+
1344
+ .kne-react-calendar_rVLO8 .kne-react-calendar_mMpFQ {
1345
+ flex: none;
1346
+ padding-right: 12px;
1347
+ }
1348
+
1349
+ .kne-react-calendar_rVLO8 .kne-react-calendar_9eAK6 {
1350
+ display: flex;
1351
+ flex-direction: column;
1352
+ flex: 1 1 auto;
1353
+ min-width: 0;
1354
+ min-height: 0;
1355
+ overflow: hidden;
1356
+ }
1357
+ .kne-react-calendar_rVLO8 .kne-react-calendar_9eAK6 > *,
1358
+ .kne-react-calendar_rVLO8 .kne-react-calendar_9eAK6 > * > .ant-flex {
1359
+ display: flex;
1360
+ flex-direction: column;
1361
+ flex: 1 1 auto;
1362
+ min-width: 0;
1363
+ min-height: 0;
1364
+ overflow: hidden;
1365
+ }
1366
+ .kne-react-calendar_rVLO8 .kne-react-calendar_9eAK6 > * > .ant-flex {
1367
+ gap: 0 !important;
1368
+ }
1369
+
1370
+ .kne-react-calendar_rVLO8 .kne-react-calendar_DubfV {
1371
+ flex: 1 1 auto;
1372
+ min-width: 0;
1373
+ min-height: 0;
1374
+ padding-right: 6px;
1375
+ overflow-x: hidden;
1376
+ overflow-y: auto;
1377
+ overscroll-behavior: contain;
1378
+ scrollbar-width: thin;
1379
+ scrollbar-color: rgba(15, 23, 42, 0.28) transparent;
1380
+ }
1381
+ .kne-react-calendar_rVLO8 .kne-react-calendar_DubfV::-webkit-scrollbar {
1382
+ width: 6px;
1383
+ height: 6px;
1384
+ background: transparent;
1385
+ }
1386
+ .kne-react-calendar_rVLO8 .kne-react-calendar_DubfV::-webkit-scrollbar-track {
1387
+ background: transparent;
1388
+ }
1389
+ .kne-react-calendar_rVLO8 .kne-react-calendar_DubfV::-webkit-scrollbar-thumb {
1390
+ background: rgba(15, 23, 42, 0.28);
1391
+ border-radius: 999px;
1392
+ }
1393
+ .kne-react-calendar_rVLO8 .kne-react-calendar_DubfV::-webkit-scrollbar-corner {
1394
+ background: transparent;
1395
+ }
1396
+
1397
+ .kne-react-calendar_rVLO8 .kne-react-calendar_Wd4qh {
1398
+ margin-right: 0;
1399
+ margin-left: 0;
1400
+ }
1401
+
1402
+ .kne-react-calendar_rVLO8 .kne-react-calendar_4NPv0 {
1403
+ flex: none;
1404
+ margin-top: 8px;
1405
+ padding-right: 12px;
1406
+ }
1407
+
1408
+ .kne-react-calendar_rVLO8 .kne-react-calendar_Dc-t3 {
1409
+ max-height: calc(100vh - 40px);
1410
+ max-height: calc(100dvh - 40px);
1411
+ padding-right: 6px;
1412
+ overflow: auto;
1413
+ scrollbar-width: thin;
1414
+ scrollbar-color: rgba(15, 23, 42, 0.28) transparent;
1415
+ }
1416
+ .kne-react-calendar_rVLO8 .kne-react-calendar_Dc-t3::-webkit-scrollbar {
1417
+ width: 6px;
1418
+ height: 6px;
1419
+ background: transparent;
1420
+ }
1421
+ .kne-react-calendar_rVLO8 .kne-react-calendar_Dc-t3::-webkit-scrollbar-track {
1422
+ background: transparent;
1423
+ }
1424
+ .kne-react-calendar_rVLO8 .kne-react-calendar_Dc-t3::-webkit-scrollbar-thumb {
1425
+ background: rgba(15, 23, 42, 0.28);
1426
+ border-radius: 999px;
1427
+ }
1428
+ .kne-react-calendar_rVLO8 .kne-react-calendar_Dc-t3::-webkit-scrollbar-corner {
1429
+ background: transparent;
1430
+ }
1431
+
717
1432
  .kne-react-calendar_mMpFQ {
718
- margin-bottom: 12px;
1433
+ margin-bottom: 8px;
719
1434
  color: #202124;
720
1435
  font-size: 14px;
721
1436
  font-weight: 700;
722
1437
  }
723
1438
 
724
- .kne-react-calendar_xYptY {
725
- width: 260px;
726
- max-width: calc(100vw - 48px);
1439
+ .kne-react-calendar_n-MRC .ant-drawer-content {
1440
+ border-radius: 16px 16px 0 0;
727
1441
  }
728
1442
 
729
- .kne-react-calendar_oagF- {
730
- margin-bottom: 8px;
1443
+ .kne-react-calendar_n-MRC .ant-drawer-content-wrapper {
1444
+ max-height: 88vh;
1445
+ }
1446
+
1447
+ .kne-react-calendar_n-MRC .ant-drawer-body {
1448
+ padding: 8px 16px calc(16px + env(safe-area-inset-bottom));
1449
+ }
1450
+
1451
+ .kne-react-calendar_ZaEkY {
1452
+ width: 100%;
1453
+ max-width: none;
1454
+ }
1455
+ .kne-react-calendar_ZaEkY::before {
1456
+ content: "";
1457
+ display: block;
1458
+ width: 36px;
1459
+ height: 4px;
1460
+ margin: 0 auto 12px;
1461
+ border-radius: 999px;
1462
+ background: rgba(32, 33, 36, 0.16);
1463
+ }
1464
+ .kne-react-calendar_ZaEkY .kne-react-calendar_4NPv0 {
1465
+ position: sticky;
1466
+ bottom: 0;
1467
+ padding-top: 10px;
1468
+ background: #fff;
1469
+ }
1470
+ .kne-react-calendar_ZaEkY .kne-react-calendar_4NPv0 .ant-btn {
1471
+ flex: 1;
1472
+ height: 44px;
1473
+ font-size: 16px;
1474
+ }
1475
+ .kne-react-calendar_ZaEkY .kne-react-calendar_mMpFQ {
1476
+ margin-bottom: 12px;
1477
+ font-size: 17px;
1478
+ }
1479
+ .kne-react-calendar_ZaEkY .kne-react-calendar_PpU92 {
1480
+ font-size: 14px;
1481
+ line-height: 20px;
1482
+ }
1483
+ .kne-react-calendar_ZaEkY input,
1484
+ .kne-react-calendar_ZaEkY textarea,
1485
+ .kne-react-calendar_ZaEkY select {
1486
+ font-size: 16px;
1487
+ }
1488
+
1489
+ .kne-react-calendar_Wd4qh {
1490
+ margin: 0 -2px 12px;
1491
+ }
1492
+
1493
+ .kne-react-calendar_PpU92 {
1494
+ margin-bottom: 12px;
1495
+ padding: 6px 10px;
1496
+ font-size: 12px;
1497
+ line-height: 18px;
1498
+ }
1499
+
1500
+ .kne-react-calendar_Dc-t3 {
1501
+ --timeline-event-color: #e06b6b;
1502
+ display: flex;
1503
+ gap: 10px;
1504
+ width: 240px;
1505
+ max-width: calc(100vw - 56px);
1506
+ border-radius: 6px;
1507
+ }
1508
+
1509
+ .kne-react-calendar_C3waU {
1510
+ cursor: pointer;
1511
+ }
1512
+ .kne-react-calendar_C3waU:hover .kne-react-calendar_FkbSR {
1513
+ color: var(--primary-color, #1677ff);
1514
+ }
1515
+
1516
+ .kne-react-calendar_UsltM {
1517
+ --timeline-event-color: #9aa0aa;
1518
+ }
1519
+
1520
+ .kne-react-calendar_ZETY4 {
1521
+ flex: 0 0 3px;
1522
+ border-radius: 999px;
1523
+ background: var(--timeline-event-color);
1524
+ }
1525
+
1526
+ .kne-react-calendar_v9RjG {
1527
+ display: flex;
1528
+ flex: 1;
1529
+ min-width: 0;
1530
+ flex-direction: column;
1531
+ align-items: flex-start;
1532
+ gap: 2px;
1533
+ }
1534
+
1535
+ .kne-react-calendar_FkbSR {
731
1536
  color: #202124;
732
1537
  font-size: 14px;
733
- font-weight: 700;
1538
+ font-weight: 600;
1539
+ line-height: 20px;
1540
+ word-break: break-word;
1541
+ transition: color 0.16s ease;
1542
+ }
1543
+
1544
+ .kne-react-calendar_NT-kw {
1545
+ color: rgba(32, 33, 36, 0.55);
1546
+ font-size: 12px;
1547
+ font-variant-numeric: tabular-nums;
1548
+ line-height: 18px;
1549
+ }
1550
+
1551
+ .kne-react-calendar_vOb62 {
1552
+ margin-top: 4px;
1553
+ color: rgba(32, 33, 36, 0.72);
1554
+ font-size: 12px;
1555
+ line-height: 18px;
1556
+ word-break: break-word;
1557
+ }
1558
+
1559
+ .kne-react-calendar_rs8bh {
1560
+ margin: 6px 0 0;
734
1561
  }
735
1562
 
736
1563
  .kne-react-calendar_4NPv0 {
@@ -741,11 +1568,44 @@
741
1568
  }
742
1569
 
743
1570
  [data-schedule-layout='stacked'] .kne-react-calendar_W-I5J,
744
- [data-schedule-layout='stacked'] .kne-react-calendar_xYptY {
745
- width: min(360px, 100% - 32px);
746
- max-width: calc(100% - 32px);
747
- max-height: min(70vh, 520px);
748
- overflow: auto;
1571
+ [data-schedule-layout='stacked'] .kne-react-calendar_n-MRC .ant-drawer-content {
1572
+ border-radius: 16px 16px 0 0;
1573
+ }
1574
+ [data-schedule-layout='stacked'] .kne-react-calendar_n-MRC .ant-drawer-content-wrapper {
1575
+ max-height: 88vh;
1576
+ }
1577
+ [data-schedule-layout='stacked'] .kne-react-calendar_n-MRC .ant-drawer-body {
1578
+ padding: 8px 16px calc(16px + env(safe-area-inset-bottom));
1579
+ }
1580
+ [data-schedule-layout='stacked'] .kne-react-calendar_ZaEkY {
1581
+ width: 100%;
1582
+ max-width: none;
1583
+ }
1584
+ [data-schedule-layout='stacked'] .kne-react-calendar_ZaEkY::before {
1585
+ content: "";
1586
+ display: block;
1587
+ width: 36px;
1588
+ height: 4px;
1589
+ margin: 0 auto 12px;
1590
+ border-radius: 999px;
1591
+ background: rgba(32, 33, 36, 0.16);
1592
+ }
1593
+ [data-schedule-layout='stacked'] .kne-react-calendar_ZaEkY .kne-react-calendar_4NPv0 {
1594
+ position: sticky;
1595
+ bottom: 0;
1596
+ padding-top: 10px;
1597
+ background: #fff;
1598
+ }
1599
+ [data-schedule-layout='stacked'] .kne-react-calendar_ZaEkY .kne-react-calendar_4NPv0 .ant-btn {
1600
+ flex: 1;
1601
+ height: 44px;
1602
+ font-size: 16px;
1603
+ }
1604
+ [data-schedule-layout='stacked'] .kne-react-calendar_Wd4qh {
1605
+ margin: 0 -2px 12px;
1606
+ }
1607
+ [data-schedule-layout='stacked'] .kne-react-calendar_PpU92 {
1608
+ margin-bottom: 12px;
749
1609
  }
750
1610
  [data-schedule-layout='stacked'] .kne-react-calendar_4NPv0 {
751
1611
  position: sticky;
@@ -753,7 +1613,31 @@
753
1613
  padding-top: 10px;
754
1614
  background: #fff;
755
1615
  }
1616
+ .kne-react-calendar_gh14z {
1617
+ position: relative;
1618
+ }
1619
+
1620
+ .kne-react-calendar_Kfn6L {
1621
+ overflow: auto;
1622
+ }
1623
+
1624
+ :root {
1625
+ --kne-viewport-width: 100vw;
1626
+ --kne-viewport-height: 100dvh;
1627
+ --kne-viewport-inline-size: 100vw;
1628
+ --kne-viewport-block-size: 100dvh;
1629
+ }
1630
+
1631
+ .kne-react-calendar_gh14z {
1632
+ --kne-viewport-width: 100vw;
1633
+ --kne-viewport-height: 100dvh;
1634
+ --kne-viewport-inline-size: 100vw;
1635
+ --kne-viewport-block-size: 100dvh;
1636
+ }
1637
+
756
1638
  .kne-react-calendar_csu63 {
1639
+ container-type: inline-size;
1640
+ container-name: kne-responsive;
757
1641
  width: 100%;
758
1642
  border-radius: var(--schedule-calendar-radius, 16px);
759
1643
  box-shadow: var(--schedule-calendar-shadow, 0 18px 48px rgba(15, 23, 42, 0.08));
@@ -778,8 +1662,8 @@
778
1662
  }
779
1663
 
780
1664
  .kne-react-calendar_nd7DK {
781
- flex: 0 0 50%;
782
- width: 50%;
1665
+ flex: 0 0 var(--schedule-calendar-side-width, 50%);
1666
+ width: var(--schedule-calendar-side-width, 50%);
783
1667
  min-width: 0;
784
1668
  padding: 18px 22px 22px;
785
1669
  box-sizing: border-box;
@@ -790,7 +1674,7 @@
790
1674
  position: absolute;
791
1675
  top: 0;
792
1676
  right: 0;
793
- width: 50%;
1677
+ left: var(--schedule-calendar-side-width, 50%);
794
1678
  height: 100%;
795
1679
  min-width: 0;
796
1680
  min-height: 0;
@@ -816,7 +1700,8 @@
816
1700
  position: relative;
817
1701
  top: auto;
818
1702
  right: auto;
819
- flex: 0 0 50%;
1703
+ left: auto;
1704
+ flex: 1 1 0;
820
1705
  height: auto;
821
1706
  overflow: visible;
822
1707
  }