@fileverse-dev/fortune-react 1.0.2-mod-30 → 1.0.2-mod-32

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.
@@ -453,7 +453,7 @@ export declare function generateAPIs(context: Context, setContext: (recipe: (ctx
453
453
  filterValueByClearBtn: string;
454
454
  filterValueByInverseBtn: string;
455
455
  filterValueByTip: string;
456
- filterConform: string;
456
+ filterConfirm: string;
457
457
  filterCancel: string;
458
458
  conditionNone: string;
459
459
  conditionCellIsNull: string;
@@ -460,7 +460,7 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
460
460
  filterValueByClearBtn: string;
461
461
  filterValueByInverseBtn: string;
462
462
  filterValueByTip: string;
463
- filterConform: string;
463
+ filterConfirm: string;
464
464
  filterCancel: string;
465
465
  conditionNone: string;
466
466
  conditionCellIsNull: string;
package/dist/index.css CHANGED
@@ -944,32 +944,25 @@ html::-webkit-scrollbar-button {
944
944
  }
945
945
 
946
946
  .luckysheet-filter-options {
947
- color: #897bff;
948
947
  cursor: pointer;
949
948
  position: absolute;
950
949
  z-index: 200;
951
- border: 1px solid #897bff;
952
- border-radius: 3px;
953
- top: 3px;
954
- margin-left: 0px;
955
- display: "block";
956
- padding: 0px 4px;
950
+ border-radius: 2px;
951
+ top: 4px;
952
+ margin-right: 2px;
953
+ margin-top: 2px;
957
954
  font-size: 12px;
958
955
  height: 15px;
959
- background: #fff;
956
+ padding: 1px;
957
+ background: hsl(var(--color-bg-tertiary));
960
958
  }
961
959
 
962
960
  .luckysheet-filter-options:hover {
963
- color: #fff;
964
- border: 1px solid #fff;
965
- background: #897bff;
961
+ background: hsl(var(--color-bg-default-hover));
966
962
  }
967
963
 
968
964
  .luckysheet-filter-options-active {
969
- color: #fff;
970
- border: 1px solid #897bff;
971
- padding: 0px 1px;
972
- background: #897bff;
965
+ background: hsl(var(--color-bg-tertiary));
973
966
  }
974
967
 
975
968
  .caret {
@@ -3153,13 +3146,12 @@ label {
3153
3146
  min-width: 240px;
3154
3147
  max-height: 100%;
3155
3148
  overflow-y: auto;
3156
- border-radius: 4px;
3149
+ border-radius: 8px;
3157
3150
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
3158
3151
  transition: opacity 0.218s;
3159
3152
  background: #fff;
3160
3153
  border: 1px solid hsl(var(--color-border-default));
3161
3154
  cursor: default;
3162
- font-size: 13px;
3163
3155
  margin: 0;
3164
3156
  outline: none;
3165
3157
  padding: 8px;
@@ -3171,9 +3163,8 @@ label {
3171
3163
  user-select: none;
3172
3164
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
3173
3165
  font-size: 14px;
3174
- max-width: 250px;
3175
- box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.08);
3176
- color: #363b3f;
3166
+ /* max-width: 250px; */
3167
+ color: hsl(var(--color-text-default));
3177
3168
  line-height: 20px;
3178
3169
  }
3179
3170
 
@@ -3255,9 +3246,10 @@ label {
3255
3246
 
3256
3247
  .fortune-menuitem-row {
3257
3248
  display: flex;
3258
- padding: 7px 24px;
3259
3249
  white-space: pre;
3260
3250
  align-items: center;
3251
+ gap: 8px;
3252
+ justify-content: flex-end;
3261
3253
  }
3262
3254
 
3263
3255
  .fortune-byvalue-btn {
@@ -3383,21 +3375,32 @@ label {
3383
3375
  }
3384
3376
 
3385
3377
  #luckysheet-filter-byvalue-select {
3378
+ position: relative;
3386
3379
  min-height: 100px;
3380
+ max-height: 210px;
3387
3381
  overflow-y: auto;
3388
3382
  overflow-x: hidden;
3389
- padding: 4px 24px;
3383
+ padding: 8px;
3384
+ display: flex;
3385
+ flex-direction: column;
3386
+ gap: 8px;
3387
+ border-radius: 4px;
3388
+ border: 1px solid hsl(var(--color-border-default));
3390
3389
  }
3391
3390
 
3392
3391
  #luckysheet-filter-byvalue-select .count,
3393
3392
  #luckysheet-pivotTableFilter-byvalue-select .count {
3394
- color: gray;
3395
- margin-left: 5px;
3393
+ color: hsl(var(--color-text-secondary));
3394
+ font-size: 14px;
3396
3395
  }
3397
3396
 
3398
3397
  #luckysheet-filter-byvalue-select .select-item {
3399
3398
  display: flex;
3400
3399
  align-items: center;
3400
+ justify-content: space-between;
3401
+ gap: 8px;
3402
+ font-size: 14px;
3403
+
3401
3404
  }
3402
3405
 
3403
3406
  /*颜色筛选 -- pan*/
@@ -944,32 +944,25 @@ html::-webkit-scrollbar-button {
944
944
  }
945
945
 
946
946
  .luckysheet-filter-options {
947
- color: #897bff;
948
947
  cursor: pointer;
949
948
  position: absolute;
950
949
  z-index: 200;
951
- border: 1px solid #897bff;
952
- border-radius: 3px;
953
- top: 3px;
954
- margin-left: 0px;
955
- display: "block";
956
- padding: 0px 4px;
950
+ border-radius: 2px;
951
+ top: 4px;
952
+ margin-right: 2px;
953
+ margin-top: 2px;
957
954
  font-size: 12px;
958
955
  height: 15px;
959
- background: #fff;
956
+ padding: 1px;
957
+ background: hsl(var(--color-bg-tertiary));
960
958
  }
961
959
 
962
960
  .luckysheet-filter-options:hover {
963
- color: #fff;
964
- border: 1px solid #fff;
965
- background: #897bff;
961
+ background: hsl(var(--color-bg-default-hover));
966
962
  }
967
963
 
968
964
  .luckysheet-filter-options-active {
969
- color: #fff;
970
- border: 1px solid #897bff;
971
- padding: 0px 1px;
972
- background: #897bff;
965
+ background: hsl(var(--color-bg-tertiary));
973
966
  }
974
967
 
975
968
  .caret {
@@ -3153,13 +3146,12 @@ label {
3153
3146
  min-width: 240px;
3154
3147
  max-height: 100%;
3155
3148
  overflow-y: auto;
3156
- border-radius: 4px;
3149
+ border-radius: 8px;
3157
3150
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
3158
3151
  transition: opacity 0.218s;
3159
3152
  background: #fff;
3160
3153
  border: 1px solid hsl(var(--color-border-default));
3161
3154
  cursor: default;
3162
- font-size: 13px;
3163
3155
  margin: 0;
3164
3156
  outline: none;
3165
3157
  padding: 8px;
@@ -3171,9 +3163,8 @@ label {
3171
3163
  user-select: none;
3172
3164
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
3173
3165
  font-size: 14px;
3174
- max-width: 250px;
3175
- box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.08);
3176
- color: #363b3f;
3166
+ /* max-width: 250px; */
3167
+ color: hsl(var(--color-text-default));
3177
3168
  line-height: 20px;
3178
3169
  }
3179
3170
 
@@ -3255,9 +3246,10 @@ label {
3255
3246
 
3256
3247
  .fortune-menuitem-row {
3257
3248
  display: flex;
3258
- padding: 7px 24px;
3259
3249
  white-space: pre;
3260
3250
  align-items: center;
3251
+ gap: 8px;
3252
+ justify-content: flex-end;
3261
3253
  }
3262
3254
 
3263
3255
  .fortune-byvalue-btn {
@@ -3383,21 +3375,32 @@ label {
3383
3375
  }
3384
3376
 
3385
3377
  #luckysheet-filter-byvalue-select {
3378
+ position: relative;
3386
3379
  min-height: 100px;
3380
+ max-height: 210px;
3387
3381
  overflow-y: auto;
3388
3382
  overflow-x: hidden;
3389
- padding: 4px 24px;
3383
+ padding: 8px;
3384
+ display: flex;
3385
+ flex-direction: column;
3386
+ gap: 8px;
3387
+ border-radius: 4px;
3388
+ border: 1px solid hsl(var(--color-border-default));
3390
3389
  }
3391
3390
 
3392
3391
  #luckysheet-filter-byvalue-select .count,
3393
3392
  #luckysheet-pivotTableFilter-byvalue-select .count {
3394
- color: gray;
3395
- margin-left: 5px;
3393
+ color: hsl(var(--color-text-secondary));
3394
+ font-size: 14px;
3396
3395
  }
3397
3396
 
3398
3397
  #luckysheet-filter-byvalue-select .select-item {
3399
3398
  display: flex;
3400
3399
  align-items: center;
3400
+ justify-content: space-between;
3401
+ gap: 8px;
3402
+ font-size: 14px;
3403
+
3401
3404
  }
3402
3405
 
3403
3406
  /*颜色筛选 -- pan*/