@fileverse-dev/fortune-react 1.0.2-mod-67-patch-1 → 1.0.2-mod-68
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/components/DuneChartsInputModal/DuneChartsInputModal.d.ts +1 -2
- package/dist/components/IFrameBoxs/iFrameBoxs.d.ts +1 -0
- package/dist/index.css +39 -15
- package/dist/index.esm.css +39 -15
- package/dist/index.esm.js +102 -240
- package/dist/index.js +101 -239
- package/dist/index.umd.css +39 -15
- package/dist/index.umd.js +4541 -3219
- package/dist/index.umd.min.css +1 -1
- package/dist/index.umd.min.js +9 -9
- package/package.json +2 -2
|
@@ -4,9 +4,8 @@ interface DuneChartsInputModalProps {
|
|
|
4
4
|
isOpen: boolean;
|
|
5
5
|
onClose: () => void;
|
|
6
6
|
onSubmit: (value: string) => void;
|
|
7
|
-
icon: string;
|
|
8
7
|
submitText?: string;
|
|
9
8
|
placeholder?: string;
|
|
10
9
|
}
|
|
11
|
-
declare const DuneChartsInputModal: ({ isOpen, onClose, onSubmit,
|
|
10
|
+
declare const DuneChartsInputModal: ({ isOpen, onClose, onSubmit, submitText, placeholder, }: DuneChartsInputModalProps) => React.JSX.Element | null;
|
|
12
11
|
export default DuneChartsInputModal;
|
package/dist/index.css
CHANGED
|
@@ -2245,6 +2245,23 @@ 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
|
+
|
|
2248
2265
|
.fortune-toolbar {
|
|
2249
2266
|
display: flex;
|
|
2250
2267
|
flex-direction: row;
|
|
@@ -2898,7 +2915,7 @@ label {
|
|
|
2898
2915
|
|
|
2899
2916
|
.input-modal {
|
|
2900
2917
|
position: fixed;
|
|
2901
|
-
top:
|
|
2918
|
+
top: 17.5%;
|
|
2902
2919
|
left: 50%;
|
|
2903
2920
|
transform: translateX(-50%);
|
|
2904
2921
|
border-radius: 0.75rem;
|
|
@@ -2915,6 +2932,13 @@ label {
|
|
|
2915
2932
|
align-items: center;
|
|
2916
2933
|
padding: 0.75rem;
|
|
2917
2934
|
border-bottom: 1px solid #e5e7eb;
|
|
2935
|
+
height: 52px;
|
|
2936
|
+
width: 480px;
|
|
2937
|
+
}
|
|
2938
|
+
|
|
2939
|
+
.modal-header svg {
|
|
2940
|
+
width: 20px;
|
|
2941
|
+
height: 20px;
|
|
2918
2942
|
}
|
|
2919
2943
|
|
|
2920
2944
|
.fetch-url-button {
|
|
@@ -3421,6 +3445,7 @@ label {
|
|
|
3421
3445
|
height: 20px;
|
|
3422
3446
|
cursor: pointer;
|
|
3423
3447
|
border-radius: 4px;
|
|
3448
|
+
gap: 12px;
|
|
3424
3449
|
}
|
|
3425
3450
|
|
|
3426
3451
|
.context-item:hover {
|
|
@@ -3428,6 +3453,11 @@ label {
|
|
|
3428
3453
|
transition: all 0.2s ease-in-out;
|
|
3429
3454
|
}
|
|
3430
3455
|
|
|
3456
|
+
.context-item svg {
|
|
3457
|
+
width: 18px !important;
|
|
3458
|
+
height: 18px !important;
|
|
3459
|
+
}
|
|
3460
|
+
|
|
3431
3461
|
.fortune-context-menu input.luckysheet-mousedown-cancel {
|
|
3432
3462
|
width: 35px;
|
|
3433
3463
|
text-align: center;
|
|
@@ -3647,7 +3677,6 @@ label {
|
|
|
3647
3677
|
justify-content: space-between;
|
|
3648
3678
|
gap: 8px;
|
|
3649
3679
|
font-size: 14px;
|
|
3650
|
-
|
|
3651
3680
|
}
|
|
3652
3681
|
|
|
3653
3682
|
/*颜色筛选 -- pan*/
|
|
@@ -3712,6 +3741,7 @@ label {
|
|
|
3712
3741
|
.tippy-box {
|
|
3713
3742
|
background-color: transparent !important;
|
|
3714
3743
|
}
|
|
3744
|
+
|
|
3715
3745
|
.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}
|
|
3716
3746
|
#fortune-change-color {
|
|
3717
3747
|
min-width: 164px;
|
|
@@ -3851,11 +3881,10 @@ label {
|
|
|
3851
3881
|
.fortune-dune-preview {
|
|
3852
3882
|
position: absolute;
|
|
3853
3883
|
background-color: #fff;
|
|
3854
|
-
border: 1px solid #
|
|
3855
|
-
border-radius:
|
|
3884
|
+
border: 1px solid #e8ebec;
|
|
3885
|
+
border-radius: 4px;
|
|
3856
3886
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
3857
3887
|
width: 270px;
|
|
3858
|
-
height: 250px;
|
|
3859
3888
|
z-index: 1000;
|
|
3860
3889
|
display: flex;
|
|
3861
3890
|
flex-direction: column;
|
|
@@ -3886,28 +3915,23 @@ label {
|
|
|
3886
3915
|
.fortune-dune-preview-footer {
|
|
3887
3916
|
display: flex;
|
|
3888
3917
|
justify-content: flex-end;
|
|
3889
|
-
gap:
|
|
3890
|
-
padding: 8px;
|
|
3918
|
+
gap: 10px;
|
|
3891
3919
|
}
|
|
3892
3920
|
|
|
3893
3921
|
.fortune-dune-preview-button {
|
|
3894
|
-
padding:
|
|
3922
|
+
padding: 4px 12px;
|
|
3895
3923
|
border-radius: 4px;
|
|
3896
3924
|
font-size: 14px;
|
|
3897
3925
|
cursor: pointer;
|
|
3898
3926
|
transition: all 0.2s ease;
|
|
3927
|
+
min-width: 80px;
|
|
3899
3928
|
}
|
|
3900
3929
|
|
|
3901
3930
|
.fortune-dune-preview-button:hover {
|
|
3902
3931
|
background-color: #f5f5f5;
|
|
3903
3932
|
}
|
|
3904
3933
|
|
|
3905
|
-
.fortune-dune-preview-button
|
|
3906
|
-
background-color: #
|
|
3907
|
-
border-color: #1e1870;
|
|
3934
|
+
.fortune-dune-preview-button.primary {
|
|
3935
|
+
background-color: #000000;
|
|
3908
3936
|
color: #fff;
|
|
3909
3937
|
}
|
|
3910
|
-
|
|
3911
|
-
.fortune-dune-preview-button-primary:hover {
|
|
3912
|
-
background-color: #2a2379;
|
|
3913
|
-
}
|
package/dist/index.esm.css
CHANGED
|
@@ -2245,6 +2245,23 @@ 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
|
+
|
|
2248
2265
|
.fortune-toolbar {
|
|
2249
2266
|
display: flex;
|
|
2250
2267
|
flex-direction: row;
|
|
@@ -2898,7 +2915,7 @@ label {
|
|
|
2898
2915
|
|
|
2899
2916
|
.input-modal {
|
|
2900
2917
|
position: fixed;
|
|
2901
|
-
top:
|
|
2918
|
+
top: 17.5%;
|
|
2902
2919
|
left: 50%;
|
|
2903
2920
|
transform: translateX(-50%);
|
|
2904
2921
|
border-radius: 0.75rem;
|
|
@@ -2915,6 +2932,13 @@ label {
|
|
|
2915
2932
|
align-items: center;
|
|
2916
2933
|
padding: 0.75rem;
|
|
2917
2934
|
border-bottom: 1px solid #e5e7eb;
|
|
2935
|
+
height: 52px;
|
|
2936
|
+
width: 480px;
|
|
2937
|
+
}
|
|
2938
|
+
|
|
2939
|
+
.modal-header svg {
|
|
2940
|
+
width: 20px;
|
|
2941
|
+
height: 20px;
|
|
2918
2942
|
}
|
|
2919
2943
|
|
|
2920
2944
|
.fetch-url-button {
|
|
@@ -3421,6 +3445,7 @@ label {
|
|
|
3421
3445
|
height: 20px;
|
|
3422
3446
|
cursor: pointer;
|
|
3423
3447
|
border-radius: 4px;
|
|
3448
|
+
gap: 12px;
|
|
3424
3449
|
}
|
|
3425
3450
|
|
|
3426
3451
|
.context-item:hover {
|
|
@@ -3428,6 +3453,11 @@ label {
|
|
|
3428
3453
|
transition: all 0.2s ease-in-out;
|
|
3429
3454
|
}
|
|
3430
3455
|
|
|
3456
|
+
.context-item svg {
|
|
3457
|
+
width: 18px !important;
|
|
3458
|
+
height: 18px !important;
|
|
3459
|
+
}
|
|
3460
|
+
|
|
3431
3461
|
.fortune-context-menu input.luckysheet-mousedown-cancel {
|
|
3432
3462
|
width: 35px;
|
|
3433
3463
|
text-align: center;
|
|
@@ -3647,7 +3677,6 @@ label {
|
|
|
3647
3677
|
justify-content: space-between;
|
|
3648
3678
|
gap: 8px;
|
|
3649
3679
|
font-size: 14px;
|
|
3650
|
-
|
|
3651
3680
|
}
|
|
3652
3681
|
|
|
3653
3682
|
/*颜色筛选 -- pan*/
|
|
@@ -3712,6 +3741,7 @@ label {
|
|
|
3712
3741
|
.tippy-box {
|
|
3713
3742
|
background-color: transparent !important;
|
|
3714
3743
|
}
|
|
3744
|
+
|
|
3715
3745
|
.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}
|
|
3716
3746
|
#fortune-change-color {
|
|
3717
3747
|
min-width: 164px;
|
|
@@ -3851,11 +3881,10 @@ label {
|
|
|
3851
3881
|
.fortune-dune-preview {
|
|
3852
3882
|
position: absolute;
|
|
3853
3883
|
background-color: #fff;
|
|
3854
|
-
border: 1px solid #
|
|
3855
|
-
border-radius:
|
|
3884
|
+
border: 1px solid #e8ebec;
|
|
3885
|
+
border-radius: 4px;
|
|
3856
3886
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
3857
3887
|
width: 270px;
|
|
3858
|
-
height: 250px;
|
|
3859
3888
|
z-index: 1000;
|
|
3860
3889
|
display: flex;
|
|
3861
3890
|
flex-direction: column;
|
|
@@ -3886,28 +3915,23 @@ label {
|
|
|
3886
3915
|
.fortune-dune-preview-footer {
|
|
3887
3916
|
display: flex;
|
|
3888
3917
|
justify-content: flex-end;
|
|
3889
|
-
gap:
|
|
3890
|
-
padding: 8px;
|
|
3918
|
+
gap: 10px;
|
|
3891
3919
|
}
|
|
3892
3920
|
|
|
3893
3921
|
.fortune-dune-preview-button {
|
|
3894
|
-
padding:
|
|
3922
|
+
padding: 4px 12px;
|
|
3895
3923
|
border-radius: 4px;
|
|
3896
3924
|
font-size: 14px;
|
|
3897
3925
|
cursor: pointer;
|
|
3898
3926
|
transition: all 0.2s ease;
|
|
3927
|
+
min-width: 80px;
|
|
3899
3928
|
}
|
|
3900
3929
|
|
|
3901
3930
|
.fortune-dune-preview-button:hover {
|
|
3902
3931
|
background-color: #f5f5f5;
|
|
3903
3932
|
}
|
|
3904
3933
|
|
|
3905
|
-
.fortune-dune-preview-button
|
|
3906
|
-
background-color: #
|
|
3907
|
-
border-color: #1e1870;
|
|
3934
|
+
.fortune-dune-preview-button.primary {
|
|
3935
|
+
background-color: #000000;
|
|
3908
3936
|
color: #fff;
|
|
3909
3937
|
}
|
|
3910
|
-
|
|
3911
|
-
.fortune-dune-preview-button-primary:hover {
|
|
3912
|
-
background-color: #2a2379;
|
|
3913
|
-
}
|