@fileverse-dev/fortune-react 1.0.2-mod-35 → 1.0.2-mod-37

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.
@@ -987,28 +987,32 @@ html::-webkit-scrollbar-button {
987
987
 
988
988
  #luckysheet-dataVerification-showHintBox {
989
989
  display: none;
990
- padding: 10px;
991
- background-color: #ffffff;
992
- border: 1px solid #ccc;
990
+ padding: 8px;
991
+ min-width: 132px;
992
+ background-color: hsl(var(--color-bg-default));
993
+ border: 1px solid hsl(var(--color-border-default));
994
+ border-left: 4px solid #f4874a !important;
995
+ border-radius: 4px;
993
996
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
994
997
  position: absolute;
998
+ transform: translateY(4px);
995
999
  z-index: 1000;
996
1000
  -webkit-user-select: none;
997
1001
  -moz-user-select: none;
998
1002
  user-select: none;
999
1003
  cursor: default;
1000
1004
  white-space: nowrap;
1001
- font-size: 12px;
1005
+ font-size: 14px;
1002
1006
  }
1003
1007
 
1004
1008
  #luckysheet-dataVerification-dropdown-btn {
1005
1009
  display: none;
1006
- width: 20px;
1007
- height: 20px;
1008
- background-color: #ffffff;
1010
+ padding: 1px;
1009
1011
  position: absolute;
1012
+ transform: translateY(15%);
1010
1013
  z-index: 10;
1011
1014
  overflow: hidden;
1015
+ cursor: pointer !important;
1012
1016
  }
1013
1017
 
1014
1018
  .luckysheet-formula-search-c {
@@ -1814,8 +1818,7 @@ line-height: 16px; /* 133.333% */
1814
1818
  }
1815
1819
 
1816
1820
  #fortune-data-verification {
1817
- min-width: 500px;
1818
- padding: 10px 0px;
1821
+ min-width: 510px;
1819
1822
  -webkit-user-select: none;
1820
1823
  -moz-user-select: none;
1821
1824
  user-select: none;
@@ -1992,25 +1995,38 @@ line-height: 16px; /* 133.333% */
1992
1995
  }
1993
1996
 
1994
1997
  #luckysheet-dataVerification-dropdown-List {
1995
- background-color: #fff;
1996
- border: 1px solid #ccc;
1998
+ background-color: hsl(var(--color-bg-default));
1999
+ border: 1px solid hsl(var(--color-border-default));
2000
+ border-radius: 8px;
1997
2001
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
2002
+ transform: translateY(4px);
1998
2003
  position: absolute;
1999
2004
  z-index: 10000;
2000
2005
  box-sizing: border-box;
2001
- font-size: 12px;
2006
+ font-size: 14px;
2007
+ padding: 8px;
2008
+ min-width: 160px;
2002
2009
  }
2003
2010
 
2004
2011
  #luckysheet-dataVerification-dropdown-List .dropdown-List-item {
2005
- padding: 5px 10px;
2012
+ padding: 4px 8px;
2006
2013
  box-sizing: border-box;
2007
- cursor: pointer;
2014
+ cursor: pointer !important;
2015
+ border-radius: 4px;
2008
2016
  }
2009
2017
 
2010
2018
  #luckysheet-dataVerification-dropdown-List .dropdown-List-item:hover {
2011
- background-color: #e1e1e1;
2019
+ background-color: hsl(var(--color-bg-default-hover));
2020
+ transition: background-color 0.2s ease;
2021
+ }
2022
+
2023
+ [data-radix-popper-content-wrapper] {
2024
+ z-index: 10000 !important;
2012
2025
  }
2013
2026
 
2027
+ .data-verification-checkbox-label {
2028
+ min-width: 100px;
2029
+ }
2014
2030
  .condition-format-sub-menu {
2015
2031
  position: absolute;
2016
2032
  top: -12px;
@@ -2762,6 +2778,99 @@ label {
2762
2778
  overflow-y: scroll;
2763
2779
  }
2764
2780
 
2781
+ .custom-overlay {
2782
+ position: absolute;
2783
+ top: 0;
2784
+ left: 0;
2785
+ z-index: 50;
2786
+ height: 100vh;
2787
+ width: 100%;
2788
+ display: grid;
2789
+ place-items: center;
2790
+ }
2791
+
2792
+ .input-modal {
2793
+ position: fixed;
2794
+ top: 25%;
2795
+ left: 50%;
2796
+ transform: translateX(-50%);
2797
+ border-radius: 0.75rem;
2798
+ background-color: #ffffff;
2799
+ padding: 0;
2800
+ border: none;
2801
+ box-shadow: 0px 8px 32px 0px #00000026;
2802
+ animation: fadeIn 0.2s ease-in-out;
2803
+ }
2804
+
2805
+ .modal-header {
2806
+ display: flex;
2807
+ gap: 0.5rem;
2808
+ align-items: center;
2809
+ padding: 0.75rem;
2810
+ border-bottom: 1px solid #e5e7eb;
2811
+ }
2812
+
2813
+ .fetch-url-button {
2814
+ cursor: pointer;
2815
+ }
2816
+
2817
+ .modal-input {
2818
+ border: none;
2819
+ padding: 0;
2820
+ outline: none;
2821
+ -webkit-user-select: text;
2822
+ -moz-user-select: text;
2823
+ user-select: text;
2824
+ max-width: 150px;
2825
+ flex: 1;
2826
+ }
2827
+
2828
+ @media (min-width: 768px) {
2829
+ .modal-input {
2830
+ max-width: 400px;
2831
+ width: 380px !important;
2832
+ }
2833
+ }
2834
+
2835
+ .modal-input:disabled {
2836
+ opacity: 1;
2837
+ }
2838
+
2839
+ @keyframes fadeIn {
2840
+ from {
2841
+ opacity: 0;
2842
+ transform: translateX(-50%) scale(0.95);
2843
+ }
2844
+ to {
2845
+ opacity: 1;
2846
+ transform: translateX(-50%) scale(1);
2847
+ }
2848
+ }
2849
+
2850
+ .modal-footer {
2851
+ display: flex;
2852
+ justify-content: flex-end;
2853
+ padding: 8px 16px;
2854
+ }
2855
+
2856
+ .modal-button {
2857
+ width: 100%;
2858
+ margin: 8px;
2859
+ }
2860
+
2861
+ .modal-error-message {
2862
+ color: #ef4e2f;
2863
+ background: #fff5f5;
2864
+ margin: 8px 16px;
2865
+ padding: 4px 8px;
2866
+ border-radius: 4px;
2867
+ display: flex;
2868
+ align-items: center;
2869
+ gap: 8px;
2870
+ font-size: 12px;
2871
+ font-weight: 400;
2872
+ }
2873
+
2765
2874
  .fortune-fx-editor {
2766
2875
  display: flex;
2767
2876
  flex-direction: row;
@@ -3621,3 +3730,67 @@ label {
3621
3730
  display: inline-block;
3622
3731
  margin-left: 15px;
3623
3732
  }
3733
+
3734
+ .fortune-dune-preview {
3735
+ position: absolute;
3736
+ background-color: #fff;
3737
+ border: 1px solid #e5e5e5;
3738
+ border-radius: 8px;
3739
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
3740
+ width: 270px;
3741
+ height: 250px;
3742
+ z-index: 1000;
3743
+ display: flex;
3744
+ flex-direction: column;
3745
+ padding: 8px;
3746
+ gap: 8px;
3747
+ }
3748
+
3749
+ .fortune-dune-preview-header {
3750
+ display: flex;
3751
+ justify-content: space-between;
3752
+ align-items: center;
3753
+ }
3754
+
3755
+ .fortune-dune-preview-title {
3756
+ font-size: 14px;
3757
+ font-weight: 500;
3758
+ color: #363b3f;
3759
+ }
3760
+
3761
+ .fortune-dune-preview-content {
3762
+ flex: 1;
3763
+ overflow: hidden;
3764
+ position: relative;
3765
+ border-radius: 4px;
3766
+ border: 1px solid #f8f9fa;
3767
+ }
3768
+
3769
+ .fortune-dune-preview-footer {
3770
+ display: flex;
3771
+ justify-content: flex-end;
3772
+ gap: 8px;
3773
+ padding: 8px;
3774
+ }
3775
+
3776
+ .fortune-dune-preview-button {
3777
+ padding: 6px 12px;
3778
+ border-radius: 4px;
3779
+ font-size: 14px;
3780
+ cursor: pointer;
3781
+ transition: all 0.2s ease;
3782
+ }
3783
+
3784
+ .fortune-dune-preview-button:hover {
3785
+ background-color: #f5f5f5;
3786
+ }
3787
+
3788
+ .fortune-dune-preview-button-primary {
3789
+ background-color: #1e1870;
3790
+ border-color: #1e1870;
3791
+ color: #fff;
3792
+ }
3793
+
3794
+ .fortune-dune-preview-button-primary:hover {
3795
+ background-color: #2a2379;
3796
+ }