@fileverse-dev/fortune-react 1.0.2-mod-70 → 1.0.2-mod-67-patch-3

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;
@@ -1,4 +1,3 @@
1
1
  import Workbook from "./Workbook";
2
2
  export { Workbook };
3
3
  export type { WorkbookInstance } from "./Workbook";
4
- export * from "@fileverse-dev/formulajs/crypto-constants";
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;
@@ -2358,8 +2341,11 @@ input[type="number"].condition-rules-project-input {
2358
2341
  }
2359
2342
 
2360
2343
  .fortune-toolbar-combo-popup {
2344
+ position: absolute;
2361
2345
  white-space: nowrap;
2362
- max-width: 240px;
2346
+ top: 32px;
2347
+ left: 0;
2348
+ z-index: 1004;
2363
2349
  }
2364
2350
 
2365
2351
  .fortune-toolbar-select::-webkit-scrollbar {
@@ -2912,7 +2898,7 @@ label {
2912
2898
 
2913
2899
  .input-modal {
2914
2900
  position: fixed;
2915
- top: 17.5%;
2901
+ top: 16%;
2916
2902
  left: 50%;
2917
2903
  transform: translateX(-50%);
2918
2904
  border-radius: 0.75rem;
@@ -2929,13 +2915,6 @@ label {
2929
2915
  align-items: center;
2930
2916
  padding: 0.75rem;
2931
2917
  border-bottom: 1px solid #e5e7eb;
2932
- height: 52px;
2933
- width: 480px;
2934
- }
2935
-
2936
- .modal-header svg {
2937
- width: 20px;
2938
- height: 20px;
2939
2918
  }
2940
2919
 
2941
2920
  .fetch-url-button {
@@ -3442,7 +3421,6 @@ label {
3442
3421
  height: 20px;
3443
3422
  cursor: pointer;
3444
3423
  border-radius: 4px;
3445
- gap: 12px;
3446
3424
  }
3447
3425
 
3448
3426
  .context-item:hover {
@@ -3450,11 +3428,6 @@ label {
3450
3428
  transition: all 0.2s ease-in-out;
3451
3429
  }
3452
3430
 
3453
- .context-item svg {
3454
- width: 18px !important;
3455
- height: 18px !important;
3456
- }
3457
-
3458
3431
  .fortune-context-menu input.luckysheet-mousedown-cancel {
3459
3432
  width: 35px;
3460
3433
  text-align: center;
@@ -3674,6 +3647,7 @@ label {
3674
3647
  justify-content: space-between;
3675
3648
  gap: 8px;
3676
3649
  font-size: 14px;
3650
+
3677
3651
  }
3678
3652
 
3679
3653
  /*颜色筛选 -- pan*/
@@ -3738,7 +3712,6 @@ label {
3738
3712
  .tippy-box {
3739
3713
  background-color: transparent !important;
3740
3714
  }
3741
-
3742
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}
3743
3716
  #fortune-change-color {
3744
3717
  min-width: 164px;
@@ -3878,10 +3851,11 @@ label {
3878
3851
  .fortune-dune-preview {
3879
3852
  position: absolute;
3880
3853
  background-color: #fff;
3881
- border: 1px solid #e8ebec;
3882
- border-radius: 4px;
3854
+ border: 1px solid #e5e5e5;
3855
+ border-radius: 8px;
3883
3856
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
3884
3857
  width: 270px;
3858
+ height: 250px;
3885
3859
  z-index: 1000;
3886
3860
  display: flex;
3887
3861
  flex-direction: column;
@@ -3912,23 +3886,28 @@ label {
3912
3886
  .fortune-dune-preview-footer {
3913
3887
  display: flex;
3914
3888
  justify-content: flex-end;
3915
- gap: 10px;
3889
+ gap: 8px;
3890
+ padding: 8px;
3916
3891
  }
3917
3892
 
3918
3893
  .fortune-dune-preview-button {
3919
- padding: 4px 12px;
3894
+ padding: 6px 12px;
3920
3895
  border-radius: 4px;
3921
3896
  font-size: 14px;
3922
3897
  cursor: pointer;
3923
3898
  transition: all 0.2s ease;
3924
- min-width: 80px;
3925
3899
  }
3926
3900
 
3927
3901
  .fortune-dune-preview-button:hover {
3928
3902
  background-color: #f5f5f5;
3929
3903
  }
3930
3904
 
3931
- .fortune-dune-preview-button.primary {
3932
- background-color: #000000;
3905
+ .fortune-dune-preview-button-primary {
3906
+ background-color: #1e1870;
3907
+ border-color: #1e1870;
3933
3908
  color: #fff;
3934
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;
@@ -2358,8 +2341,11 @@ input[type="number"].condition-rules-project-input {
2358
2341
  }
2359
2342
 
2360
2343
  .fortune-toolbar-combo-popup {
2344
+ position: absolute;
2361
2345
  white-space: nowrap;
2362
- max-width: 240px;
2346
+ top: 32px;
2347
+ left: 0;
2348
+ z-index: 1004;
2363
2349
  }
2364
2350
 
2365
2351
  .fortune-toolbar-select::-webkit-scrollbar {
@@ -2912,7 +2898,7 @@ label {
2912
2898
 
2913
2899
  .input-modal {
2914
2900
  position: fixed;
2915
- top: 17.5%;
2901
+ top: 16%;
2916
2902
  left: 50%;
2917
2903
  transform: translateX(-50%);
2918
2904
  border-radius: 0.75rem;
@@ -2929,13 +2915,6 @@ label {
2929
2915
  align-items: center;
2930
2916
  padding: 0.75rem;
2931
2917
  border-bottom: 1px solid #e5e7eb;
2932
- height: 52px;
2933
- width: 480px;
2934
- }
2935
-
2936
- .modal-header svg {
2937
- width: 20px;
2938
- height: 20px;
2939
2918
  }
2940
2919
 
2941
2920
  .fetch-url-button {
@@ -3442,7 +3421,6 @@ label {
3442
3421
  height: 20px;
3443
3422
  cursor: pointer;
3444
3423
  border-radius: 4px;
3445
- gap: 12px;
3446
3424
  }
3447
3425
 
3448
3426
  .context-item:hover {
@@ -3450,11 +3428,6 @@ label {
3450
3428
  transition: all 0.2s ease-in-out;
3451
3429
  }
3452
3430
 
3453
- .context-item svg {
3454
- width: 18px !important;
3455
- height: 18px !important;
3456
- }
3457
-
3458
3431
  .fortune-context-menu input.luckysheet-mousedown-cancel {
3459
3432
  width: 35px;
3460
3433
  text-align: center;
@@ -3674,6 +3647,7 @@ label {
3674
3647
  justify-content: space-between;
3675
3648
  gap: 8px;
3676
3649
  font-size: 14px;
3650
+
3677
3651
  }
3678
3652
 
3679
3653
  /*颜色筛选 -- pan*/
@@ -3738,7 +3712,6 @@ label {
3738
3712
  .tippy-box {
3739
3713
  background-color: transparent !important;
3740
3714
  }
3741
-
3742
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}
3743
3716
  #fortune-change-color {
3744
3717
  min-width: 164px;
@@ -3878,10 +3851,11 @@ label {
3878
3851
  .fortune-dune-preview {
3879
3852
  position: absolute;
3880
3853
  background-color: #fff;
3881
- border: 1px solid #e8ebec;
3882
- border-radius: 4px;
3854
+ border: 1px solid #e5e5e5;
3855
+ border-radius: 8px;
3883
3856
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
3884
3857
  width: 270px;
3858
+ height: 250px;
3885
3859
  z-index: 1000;
3886
3860
  display: flex;
3887
3861
  flex-direction: column;
@@ -3912,23 +3886,28 @@ label {
3912
3886
  .fortune-dune-preview-footer {
3913
3887
  display: flex;
3914
3888
  justify-content: flex-end;
3915
- gap: 10px;
3889
+ gap: 8px;
3890
+ padding: 8px;
3916
3891
  }
3917
3892
 
3918
3893
  .fortune-dune-preview-button {
3919
- padding: 4px 12px;
3894
+ padding: 6px 12px;
3920
3895
  border-radius: 4px;
3921
3896
  font-size: 14px;
3922
3897
  cursor: pointer;
3923
3898
  transition: all 0.2s ease;
3924
- min-width: 80px;
3925
3899
  }
3926
3900
 
3927
3901
  .fortune-dune-preview-button:hover {
3928
3902
  background-color: #f5f5f5;
3929
3903
  }
3930
3904
 
3931
- .fortune-dune-preview-button.primary {
3932
- background-color: #000000;
3905
+ .fortune-dune-preview-button-primary {
3906
+ background-color: #1e1870;
3907
+ border-color: #1e1870;
3933
3908
  color: #fff;
3934
3909
  }
3910
+
3911
+ .fortune-dune-preview-button-primary:hover {
3912
+ background-color: #2a2379;
3913
+ }