@fileverse-dev/fortune-react 1.0.2-mod-69 → 1.0.2-mod-67-patch-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.
@@ -4,8 +4,9 @@ interface DuneChartsInputModalProps {
4
4
  isOpen: boolean;
5
5
  onClose: () => void;
6
6
  onSubmit: (value: string) => void;
7
+ icon: string;
7
8
  submitText?: string;
8
9
  placeholder?: string;
9
10
  }
10
- declare const DuneChartsInputModal: ({ isOpen, onClose, onSubmit, submitText, placeholder, }: DuneChartsInputModalProps) => React.JSX.Element | null;
11
+ declare const DuneChartsInputModal: ({ isOpen, onClose, onSubmit, icon, submitText, placeholder, }: DuneChartsInputModalProps) => React.JSX.Element | null;
11
12
  export default DuneChartsInputModal;
@@ -1,4 +1,3 @@
1
1
  import React from "react";
2
- import "./iFrameBoxs.css";
3
2
  declare const IframeBoxs: React.FC;
4
3
  export default IframeBoxs;
package/dist/index.css CHANGED
@@ -2245,23 +2245,6 @@ input[type="number"].condition-rules-project-input {
2245
2245
  -moz-appearance: textfield;
2246
2246
  }
2247
2247
 
2248
- .luckysheet-modal-dialog-controll {
2249
- position: absolute;
2250
- width: 100%;
2251
- display: flex;
2252
- justify-content: center;
2253
- top: -40px;
2254
- left: 0;
2255
- z-index: 301;
2256
- }
2257
-
2258
- .fortune-iframe-boxes-delete-button {
2259
- background-color: #ffffff;
2260
- border: 1px solid #e8ebec;
2261
- border-radius: 8px;
2262
- box-shadow: 0px 4px 16px -4px #00000026;
2263
- }
2264
-
2265
2248
  .fortune-toolbar {
2266
2249
  display: flex;
2267
2250
  flex-direction: row;
@@ -2915,7 +2898,7 @@ label {
2915
2898
 
2916
2899
  .input-modal {
2917
2900
  position: fixed;
2918
- top: 17.5%;
2901
+ top: 16%;
2919
2902
  left: 50%;
2920
2903
  transform: translateX(-50%);
2921
2904
  border-radius: 0.75rem;
@@ -2932,13 +2915,6 @@ label {
2932
2915
  align-items: center;
2933
2916
  padding: 0.75rem;
2934
2917
  border-bottom: 1px solid #e5e7eb;
2935
- height: 52px;
2936
- width: 480px;
2937
- }
2938
-
2939
- .modal-header svg {
2940
- width: 20px;
2941
- height: 20px;
2942
2918
  }
2943
2919
 
2944
2920
  .fetch-url-button {
@@ -3445,7 +3421,6 @@ label {
3445
3421
  height: 20px;
3446
3422
  cursor: pointer;
3447
3423
  border-radius: 4px;
3448
- gap: 12px;
3449
3424
  }
3450
3425
 
3451
3426
  .context-item:hover {
@@ -3453,11 +3428,6 @@ label {
3453
3428
  transition: all 0.2s ease-in-out;
3454
3429
  }
3455
3430
 
3456
- .context-item svg {
3457
- width: 18px !important;
3458
- height: 18px !important;
3459
- }
3460
-
3461
3431
  .fortune-context-menu input.luckysheet-mousedown-cancel {
3462
3432
  width: 35px;
3463
3433
  text-align: center;
@@ -3677,6 +3647,7 @@ label {
3677
3647
  justify-content: space-between;
3678
3648
  gap: 8px;
3679
3649
  font-size: 14px;
3650
+
3680
3651
  }
3681
3652
 
3682
3653
  /*颜色筛选 -- pan*/
@@ -3741,7 +3712,6 @@ label {
3741
3712
  .tippy-box {
3742
3713
  background-color: transparent !important;
3743
3714
  }
3744
-
3745
3715
  .tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}
3746
3716
  #fortune-change-color {
3747
3717
  min-width: 164px;
@@ -3881,10 +3851,11 @@ label {
3881
3851
  .fortune-dune-preview {
3882
3852
  position: absolute;
3883
3853
  background-color: #fff;
3884
- border: 1px solid #e8ebec;
3885
- border-radius: 4px;
3854
+ border: 1px solid #e5e5e5;
3855
+ border-radius: 8px;
3886
3856
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
3887
3857
  width: 270px;
3858
+ height: 250px;
3888
3859
  z-index: 1000;
3889
3860
  display: flex;
3890
3861
  flex-direction: column;
@@ -3915,23 +3886,28 @@ label {
3915
3886
  .fortune-dune-preview-footer {
3916
3887
  display: flex;
3917
3888
  justify-content: flex-end;
3918
- gap: 10px;
3889
+ gap: 8px;
3890
+ padding: 8px;
3919
3891
  }
3920
3892
 
3921
3893
  .fortune-dune-preview-button {
3922
- padding: 4px 12px;
3894
+ padding: 6px 12px;
3923
3895
  border-radius: 4px;
3924
3896
  font-size: 14px;
3925
3897
  cursor: pointer;
3926
3898
  transition: all 0.2s ease;
3927
- min-width: 80px;
3928
3899
  }
3929
3900
 
3930
3901
  .fortune-dune-preview-button:hover {
3931
3902
  background-color: #f5f5f5;
3932
3903
  }
3933
3904
 
3934
- .fortune-dune-preview-button.primary {
3935
- background-color: #000000;
3905
+ .fortune-dune-preview-button-primary {
3906
+ background-color: #1e1870;
3907
+ border-color: #1e1870;
3936
3908
  color: #fff;
3937
3909
  }
3910
+
3911
+ .fortune-dune-preview-button-primary:hover {
3912
+ background-color: #2a2379;
3913
+ }
@@ -2245,23 +2245,6 @@ input[type="number"].condition-rules-project-input {
2245
2245
  -moz-appearance: textfield;
2246
2246
  }
2247
2247
 
2248
- .luckysheet-modal-dialog-controll {
2249
- position: absolute;
2250
- width: 100%;
2251
- display: flex;
2252
- justify-content: center;
2253
- top: -40px;
2254
- left: 0;
2255
- z-index: 301;
2256
- }
2257
-
2258
- .fortune-iframe-boxes-delete-button {
2259
- background-color: #ffffff;
2260
- border: 1px solid #e8ebec;
2261
- border-radius: 8px;
2262
- box-shadow: 0px 4px 16px -4px #00000026;
2263
- }
2264
-
2265
2248
  .fortune-toolbar {
2266
2249
  display: flex;
2267
2250
  flex-direction: row;
@@ -2915,7 +2898,7 @@ label {
2915
2898
 
2916
2899
  .input-modal {
2917
2900
  position: fixed;
2918
- top: 17.5%;
2901
+ top: 16%;
2919
2902
  left: 50%;
2920
2903
  transform: translateX(-50%);
2921
2904
  border-radius: 0.75rem;
@@ -2932,13 +2915,6 @@ label {
2932
2915
  align-items: center;
2933
2916
  padding: 0.75rem;
2934
2917
  border-bottom: 1px solid #e5e7eb;
2935
- height: 52px;
2936
- width: 480px;
2937
- }
2938
-
2939
- .modal-header svg {
2940
- width: 20px;
2941
- height: 20px;
2942
2918
  }
2943
2919
 
2944
2920
  .fetch-url-button {
@@ -3445,7 +3421,6 @@ label {
3445
3421
  height: 20px;
3446
3422
  cursor: pointer;
3447
3423
  border-radius: 4px;
3448
- gap: 12px;
3449
3424
  }
3450
3425
 
3451
3426
  .context-item:hover {
@@ -3453,11 +3428,6 @@ label {
3453
3428
  transition: all 0.2s ease-in-out;
3454
3429
  }
3455
3430
 
3456
- .context-item svg {
3457
- width: 18px !important;
3458
- height: 18px !important;
3459
- }
3460
-
3461
3431
  .fortune-context-menu input.luckysheet-mousedown-cancel {
3462
3432
  width: 35px;
3463
3433
  text-align: center;
@@ -3677,6 +3647,7 @@ label {
3677
3647
  justify-content: space-between;
3678
3648
  gap: 8px;
3679
3649
  font-size: 14px;
3650
+
3680
3651
  }
3681
3652
 
3682
3653
  /*颜色筛选 -- pan*/
@@ -3741,7 +3712,6 @@ label {
3741
3712
  .tippy-box {
3742
3713
  background-color: transparent !important;
3743
3714
  }
3744
-
3745
3715
  .tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}
3746
3716
  #fortune-change-color {
3747
3717
  min-width: 164px;
@@ -3881,10 +3851,11 @@ label {
3881
3851
  .fortune-dune-preview {
3882
3852
  position: absolute;
3883
3853
  background-color: #fff;
3884
- border: 1px solid #e8ebec;
3885
- border-radius: 4px;
3854
+ border: 1px solid #e5e5e5;
3855
+ border-radius: 8px;
3886
3856
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
3887
3857
  width: 270px;
3858
+ height: 250px;
3888
3859
  z-index: 1000;
3889
3860
  display: flex;
3890
3861
  flex-direction: column;
@@ -3915,23 +3886,28 @@ label {
3915
3886
  .fortune-dune-preview-footer {
3916
3887
  display: flex;
3917
3888
  justify-content: flex-end;
3918
- gap: 10px;
3889
+ gap: 8px;
3890
+ padding: 8px;
3919
3891
  }
3920
3892
 
3921
3893
  .fortune-dune-preview-button {
3922
- padding: 4px 12px;
3894
+ padding: 6px 12px;
3923
3895
  border-radius: 4px;
3924
3896
  font-size: 14px;
3925
3897
  cursor: pointer;
3926
3898
  transition: all 0.2s ease;
3927
- min-width: 80px;
3928
3899
  }
3929
3900
 
3930
3901
  .fortune-dune-preview-button:hover {
3931
3902
  background-color: #f5f5f5;
3932
3903
  }
3933
3904
 
3934
- .fortune-dune-preview-button.primary {
3935
- background-color: #000000;
3905
+ .fortune-dune-preview-button-primary {
3906
+ background-color: #1e1870;
3907
+ border-color: #1e1870;
3936
3908
  color: #fff;
3937
3909
  }
3910
+
3911
+ .fortune-dune-preview-button-primary:hover {
3912
+ background-color: #2a2379;
3913
+ }