@leankylin-sheet/react 4.0.0 → 4.0.1

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.
@@ -998,6 +998,7 @@ html::-webkit-scrollbar-button {
998
998
 
999
999
  .luckysheet-filter-selected {
1000
1000
  background: #ffffff00;
1001
+ border-radius: 4px;
1001
1002
  }
1002
1003
 
1003
1004
  #luckysheet-dataVerification-showHintBox {
@@ -1035,6 +1036,8 @@ html::-webkit-scrollbar-button {
1035
1036
  background: #fff;
1036
1037
  z-index: 1003;
1037
1038
  width: 300px;
1039
+ max-height: 300px;
1040
+ overflow: auto;
1038
1041
  }
1039
1042
 
1040
1043
  .luckysheet-formula-search-c .luckysheet-formula-search-item {
@@ -1043,7 +1046,7 @@ html::-webkit-scrollbar-button {
1043
1046
  cursor: pointer;
1044
1047
  }
1045
1048
  .luckysheet-formula-search-item:hover {
1046
- background-color: #f1f1f1 !important;
1049
+ /* background-color: #f1f1f1 !important; */
1047
1050
  }
1048
1051
 
1049
1052
  .luckysheet-formula-search-c
@@ -2016,7 +2019,7 @@ html::-webkit-scrollbar-button {
2016
2019
  .leankylin-toolbar {
2017
2020
  display: flex;
2018
2021
  flex-direction: row;
2019
- background: #fafafc;
2022
+ background: #fff;
2020
2023
  position: relative;
2021
2024
  padding: 5px 0px 3px 15px;
2022
2025
  border-bottom: 1px solid #d4d4d4;
@@ -2070,6 +2073,7 @@ html::-webkit-scrollbar-button {
2070
2073
  .leankylin-toolbar-combo-arrow {
2071
2074
  display: flex;
2072
2075
  align-items: center;
2076
+ padding: 0 6px;
2073
2077
  }
2074
2078
 
2075
2079
  .leankylin-toolbar-button:hover,
@@ -2102,7 +2106,7 @@ html::-webkit-scrollbar-button {
2102
2106
  }
2103
2107
 
2104
2108
  .leankylin-toolbar-select::-webkit-scrollbar {
2105
- display: none ;
2109
+ display: none;
2106
2110
  }
2107
2111
 
2108
2112
  .leankylin-toolbar-select,
@@ -2202,7 +2206,7 @@ html::-webkit-scrollbar-button {
2202
2206
  padding-top: 1px;
2203
2207
  padding-left: 24px;
2204
2208
  text-align: right;
2205
- opacity: .5;
2209
+ opacity: 0.5;
2206
2210
  filter: alpha(opacity=50);
2207
2211
  color: #000;
2208
2212
  -webkit-user-select: none;
@@ -2216,7 +2220,7 @@ html::-webkit-scrollbar-button {
2216
2220
  position: absolute;
2217
2221
  box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
2218
2222
  background: #fff;
2219
- border: 1px solid rgba(0, 0, 0, .2);
2223
+ border: 1px solid rgba(0, 0, 0, 0.2);
2220
2224
  cursor: default;
2221
2225
  font-size: 12px;
2222
2226
  z-index: 1004;
@@ -2233,7 +2237,7 @@ html::-webkit-scrollbar-button {
2233
2237
  background: rgb(240, 240, 240);
2234
2238
  border-radius: 6px;
2235
2239
  box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
2236
- border: 1px solid rgba(0, 0, 0, .2);
2240
+ border: 1px solid rgba(0, 0, 0, 0.2);
2237
2241
  font-size: 12px;
2238
2242
  }
2239
2243
 
@@ -2296,9 +2300,9 @@ html::-webkit-scrollbar-button {
2296
2300
  margin-right: -4px;
2297
2301
  }
2298
2302
 
2299
- .leankylin-border-select-menu{
2300
- position: absolute;
2301
- bottom: 0px;
2303
+ .leankylin-border-select-menu {
2304
+ position: absolute;
2305
+ bottom: 0px;
2302
2306
  }
2303
2307
 
2304
2308
  .leankylin-border-color-preview {
@@ -2318,16 +2322,16 @@ html::-webkit-scrollbar-button {
2318
2322
  cursor: pointer;
2319
2323
  }
2320
2324
 
2321
- .leankylin-border-style-preview{
2325
+ .leankylin-border-style-preview {
2322
2326
  height: 3px;
2323
2327
  overflow: hidden;
2324
2328
  }
2325
2329
 
2326
- .leankylin-border-style-picker-menu{
2330
+ .leankylin-border-style-picker-menu {
2327
2331
  padding: 0px 10px;
2328
2332
  }
2329
2333
 
2330
- .leankylin-border-style-picker-menu:hover{
2334
+ .leankylin-border-style-picker-menu:hover {
2331
2335
  background: #efefef;
2332
2336
  cursor: pointer;
2333
2337
  }
@@ -2661,10 +2665,10 @@ label {
2661
2665
  .luckysheet-sheet-area {
2662
2666
  width: 100%;
2663
2667
  box-sizing: border-box;
2664
- background-color: #fafafc;
2668
+ background-color: #fff;
2665
2669
  color: #444;
2666
- height: 31px;
2667
- padding: 0 30px 0 44px;
2670
+ height: 36px;
2671
+ padding: 4px 30px 4px 44px;
2668
2672
  margin: 0;
2669
2673
  -webkit-touch-callout: none;
2670
2674
  cursor: default;
@@ -2673,6 +2677,7 @@ label {
2673
2677
  align-items: center;
2674
2678
  justify-content: space-between;
2675
2679
  position: relative;
2680
+ border-top: 1px solid rgb(227, 229, 234);
2676
2681
  }
2677
2682
 
2678
2683
  #luckysheet-sheet-content {
@@ -2691,7 +2696,7 @@ label {
2691
2696
  white-space: nowrap;
2692
2697
  }
2693
2698
 
2694
- .luckysheet-sheet-area>div,
2699
+ .luckysheet-sheet-area > div,
2695
2700
  .luckysheet-sheet-area .luckysheet-sheets-item {
2696
2701
  display: inline-block;
2697
2702
  /* margin-right: 6px;
@@ -2752,23 +2757,21 @@ label {
2752
2757
  }
2753
2758
 
2754
2759
  .luckysheet-sheet-area div.luckysheet-sheets-item {
2755
- padding: 2px 6px;
2756
- height: 29px;
2757
- line-height: 29px;
2758
- background-color: #fafafc;
2760
+ height: 28px;
2761
+ line-height: 28px;
2762
+ background-color: #fff;
2759
2763
  color: #676464;
2760
2764
  min-width: 30px;
2761
2765
  top: 0px;
2762
2766
  position: relative;
2763
- margin-right: -1px;
2764
2767
  cursor: pointer;
2765
2768
  transition: all 0.1s;
2766
2769
  font-size: 13px;
2767
- padding: 2px 19px 0px 5px;
2768
2770
  box-sizing: border-box;
2769
- border-left: 1px solid #e0e0e0;
2770
- border-right: 1px solid #e0e0e0;
2771
2771
  vertical-align: middle;
2772
+ margin: 0 6px;
2773
+ border-radius: 4px;
2774
+ padding: 0 6px;
2772
2775
  }
2773
2776
 
2774
2777
  .luckysheet-sheet-area div.luckysheet-sheets-item:last-child {
@@ -2794,7 +2797,9 @@ label {
2794
2797
  text-align: center;
2795
2798
  }
2796
2799
 
2797
- .luckysheet-sheet-area div.luckysheet-sheets-item .luckysheet-sheets-item-menu:hover {
2800
+ .luckysheet-sheet-area
2801
+ div.luckysheet-sheets-item
2802
+ .luckysheet-sheets-item-menu:hover {
2798
2803
  color: #2a2a2a;
2799
2804
  cursor: pointer;
2800
2805
  }
@@ -2811,7 +2816,9 @@ label {
2811
2816
  left: 0;
2812
2817
  }
2813
2818
 
2814
- .luckysheet-sheet-area div.luckysheet-sheets-item .luckysheet-sheets-item-name[contenteditable="true"] {
2819
+ .luckysheet-sheet-area
2820
+ div.luckysheet-sheets-item
2821
+ .luckysheet-sheets-item-name[contenteditable="true"] {
2815
2822
  border: 1px solid #d9d9d9;
2816
2823
  display: inline-block;
2817
2824
  height: 18px;
@@ -2825,7 +2832,9 @@ label {
2825
2832
  -webkit-user-select: text !important;
2826
2833
  }
2827
2834
 
2828
- .luckysheet-sheet-area div.luckysheet-sheets-item .luckysheet-sheets-item-name[contenteditable="true"]:focus {
2835
+ .luckysheet-sheet-area
2836
+ div.luckysheet-sheets-item
2837
+ .luckysheet-sheets-item-name[contenteditable="true"]:focus {
2829
2838
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
2830
2839
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
2831
2840
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
@@ -2835,8 +2844,8 @@ label {
2835
2844
 
2836
2845
  .luckysheet-sheet-area div.luckysheet-sheets-item-active {
2837
2846
  /* padding: 2px 8px; */
2838
- height: 29px;
2839
- line-height: 29px;
2847
+ height: 28px;
2848
+ line-height: 28px;
2840
2849
  background-color: #efefef;
2841
2850
  /* border-color: #aaa; */
2842
2851
  border-top-color: #fff;
@@ -2858,16 +2867,19 @@ label {
2858
2867
  display: flex;
2859
2868
  align-items: center;
2860
2869
  justify-content: center;
2861
- height: 29px;
2862
- width: 29px;
2870
+ height: 28px;
2871
+ width: 28px;
2872
+ cursor: pointer;
2873
+ border-radius: 4px;
2874
+ margin: 0 6px;
2863
2875
  }
2864
2876
 
2865
2877
  .leankylin-sheettab-button:hover {
2866
2878
  display: flex;
2867
2879
  align-items: center;
2868
2880
  justify-content: center;
2869
- height: 29px;
2870
- width: 29px;
2881
+ height: 28px;
2882
+ width: 28px;
2871
2883
  background-color: #efefef;
2872
2884
  }
2873
2885
 
@@ -2883,7 +2895,7 @@ label {
2883
2895
  display: flex;
2884
2896
  align-items: center;
2885
2897
  padding: 0 5px;
2886
- height: 29px;
2898
+ height: 28px;
2887
2899
  cursor: pointer;
2888
2900
  }
2889
2901
 
@@ -2894,8 +2906,8 @@ label {
2894
2906
  .leankylin-sheettab-placeholder {
2895
2907
  display: inline-block;
2896
2908
  width: 30px;
2897
- height: 29px;
2898
- line-height: 29px;
2909
+ height: 28px;
2910
+ line-height: 28px;
2899
2911
  vertical-align: middle;
2900
2912
  }
2901
2913
 
@@ -2922,16 +2934,23 @@ label {
2922
2934
  }
2923
2935
 
2924
2936
  .luckysheet-sheets-item-function {
2925
- width: 12px;
2926
- height: 24px;
2937
+ display: none;
2938
+ width: 28px;
2939
+ height: 28px;
2927
2940
  position: absolute;
2941
+ text-align: center;
2928
2942
  top: 4px;
2929
2943
  right: 2px;
2944
+ cursor: pointer;
2945
+ }
2946
+ .luckysheet-sheets-item-function:hover {
2947
+ background-color: #f1f1f1;
2930
2948
  }
2931
2949
 
2932
2950
  .leankylin-sheet-area-right {
2933
2951
  display: flex !important;
2934
2952
  }
2953
+
2935
2954
  .leankylin-zoom-container {
2936
2955
  white-space: nowrap;
2937
2956
  overflow: visible;
@@ -2949,6 +2968,8 @@ label {
2949
2968
  justify-content: center;
2950
2969
  width: 24px;
2951
2970
  height: 24px;
2971
+ border-radius: 4px;
2972
+ margin: 0 6px;
2952
2973
  }
2953
2974
 
2954
2975
  .leankylin-zoom-button:hover {
@@ -2959,14 +2980,14 @@ label {
2959
2980
  position: relative;
2960
2981
  display: flex;
2961
2982
  justify-content: center;
2962
- width: 48px;
2963
2983
  color: #1e1e1f;
2964
2984
  font-size: 12px;
2965
2985
  cursor: pointer;
2966
2986
  }
2967
2987
 
2968
2988
  .leankylin-zoom-ratio-current {
2969
- width: 100%;
2989
+ padding: 0 12px;
2990
+ margin: 0;
2970
2991
  }
2971
2992
 
2972
2993
  .leankylin-zoom-ratio-item:hover {
@@ -2993,11 +3014,8 @@ label {
2993
3014
  max-height: 100%;
2994
3015
  overflow-y: auto;
2995
3016
  border-radius: 4px;
2996
- box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.15);
2997
3017
  transition: opacity 0.218s;
2998
3018
  background: #fff;
2999
- border: 1px solid #ccc;
3000
- border: 1px solid rgba(0, 0, 0, 0.2);
3001
3019
  cursor: default;
3002
3020
  font-size: 13px;
3003
3021
  margin: 0;
@@ -3009,20 +3027,30 @@ label {
3009
3027
  -webkit-user-select: none;
3010
3028
  -moz-user-select: none;
3011
3029
  user-select: none;
3030
+ border: none;
3031
+ width: 248px;
3032
+ border-radius: 8px;
3033
+ line-height: 22px;
3034
+ padding: 4px 8px;
3035
+ border: 1px solid #e3e5ea;
3036
+ box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px,
3037
+ rgba(0, 0, 0, 0) 0px 0px 0px 0px;
3012
3038
  }
3013
3039
 
3014
3040
  .leankylin-context-menu input.luckysheet-mousedown-cancel {
3015
- width: 35px;
3041
+ width: 48px;
3016
3042
  text-align: center;
3017
3043
  margin-left: 5px;
3018
3044
  margin-right: 5px;
3045
+ border: 1px solid #ccc;
3046
+ height: 1.5em;
3047
+ border-radius: 4px;
3019
3048
  }
3020
3049
 
3021
3050
  .leankylin-context-menu-divider {
3022
- width: "100%";
3023
3051
  height: 1px;
3024
3052
  margin: 4px 0;
3025
- background-color: #e0e0e0;
3053
+ background-color: #f1f1f1;
3026
3054
  }
3027
3055
 
3028
3056
  .luckysheet-cols-menu .luckysheet-cols-menuitem {
@@ -3039,15 +3067,18 @@ label {
3039
3067
  -webkit-user-select: none;
3040
3068
  -moz-user-select: none;
3041
3069
  user-select: none;
3070
+ border-radius: 4px;
3042
3071
  }
3043
3072
 
3044
3073
  /* 右击菜单项目 hover背景色 */
3045
3074
  .luckysheet-cols-menu .luckysheet-cols-menuitem:hover,
3046
3075
  .luckysheet-cols-menu .luckysheet-cols-menuitem-hover {
3047
- background: #EFEFEF;
3076
+ background: #f9fafb;
3048
3077
  }
3049
3078
 
3050
- .luckysheet-cols-menu .luckysheet-cols-menuitem .luckysheet-cols-menuitem-content {
3079
+ .luckysheet-cols-menu
3080
+ .luckysheet-cols-menuitem
3081
+ .luckysheet-cols-menuitem-content {
3051
3082
  position: relative;
3052
3083
  color: #333;
3053
3084
  cursor: pointer;
@@ -3064,7 +3095,9 @@ label {
3064
3095
  padding: 0px;
3065
3096
  }
3066
3097
 
3067
- .leankylin-filter-menu .luckysheet-cols-menuitem .luckysheet-cols-menuitem-content {
3098
+ .leankylin-filter-menu
3099
+ .luckysheet-cols-menuitem
3100
+ .luckysheet-cols-menuitem-content {
3068
3101
  padding: 7px 24px;
3069
3102
  }
3070
3103
 
@@ -3081,7 +3114,6 @@ label {
3081
3114
  text-decoration: underline;
3082
3115
  }
3083
3116
 
3084
-
3085
3117
  .luckysheet-filter-bycolor-submenu .button-basic,
3086
3118
  .leankylin-filter-menu .button-basic {
3087
3119
  display: flex;
@@ -3114,7 +3146,7 @@ label {
3114
3146
  .luckysheet-filter-bycolor-submenu .button-primary,
3115
3147
  .leankylin-filter-menu .button-primary {
3116
3148
  color: white;
3117
- background-color: #0188FB;
3149
+ background-color: #0188fb;
3118
3150
  }
3119
3151
 
3120
3152
  .luckysheet-filter-bycolor-submenu .button-primary:hover,
@@ -3160,7 +3192,7 @@ label {
3160
3192
  }
3161
3193
 
3162
3194
  .filtermenu-input-container input.luckysheet-mousedown-cancel {
3163
- border: 1px solid #A1A1A1;
3195
+ border: 1px solid #a1a1a1;
3164
3196
  }
3165
3197
 
3166
3198
  .filtermenu-input-container input.luckysheet-mousedown-cancel:focus {
@@ -3223,7 +3255,7 @@ label {
3223
3255
  font-size: 12px;
3224
3256
  padding: 5px 0;
3225
3257
  z-index: 1004;
3226
- border: 1px solid rgba(0, 0, 0, .2);
3258
+ border: 1px solid rgba(0, 0, 0, 0.2);
3227
3259
  background-color: #ffffff;
3228
3260
  }
3229
3261
 
@@ -3274,6 +3306,13 @@ label {
3274
3306
  top: 3px;
3275
3307
  right: -18px;
3276
3308
  }
3309
+
3310
+ .leankylin-sheet-color-change {
3311
+ position: absolute;
3312
+ left: 200px;
3313
+ bottom: -100px;
3314
+ }
3315
+
3277
3316
  .leankylin-sort-title {
3278
3317
  background-color: #fff;
3279
3318
  color: #000;
@@ -3298,76 +3337,6 @@ label {
3298
3337
  margin-bottom: 25px;
3299
3338
  }
3300
3339
 
3301
- #leankylin-change-color {
3302
- min-width: 164px;
3303
- height: 252px;
3304
- background: rgb(240, 240, 240);
3305
- position: absolute;
3306
- bottom: -110px;
3307
- left: 197px;
3308
- border-radius: 6px;
3309
- box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
3310
- border: 1px solid rgba(0, 0, 0, .2);
3311
- }
3312
-
3313
- #leankylin-change-color .color-reset {
3314
- position: relative;
3315
- color: #333;
3316
- cursor: pointer;
3317
- list-style: none;
3318
- padding: 10px;
3319
- white-space: nowrap;
3320
- padding-left: 8px;
3321
- vertical-align: middle;
3322
- padding-right: 24px;
3323
- -webkit-user-select: none;
3324
- -moz-user-select: none;
3325
- user-select: none;
3326
- border-radius: 6px;
3327
- background: white;
3328
- }
3329
-
3330
- #leankylin-change-color .color-reset:hover {
3331
- background: rgb(230, 230, 230);
3332
- }
3333
-
3334
- #leankylin-change-color .custom-color {
3335
- position: relative;
3336
- margin: auto;
3337
- padding: 10px;
3338
- border-radius: 6px;
3339
- background: white;
3340
- display: flex;
3341
- align-items: center;
3342
- margin: 1px 0px;
3343
- display: flex;
3344
- justify-content: space-around;
3345
- }
3346
-
3347
- .button-basic {
3348
- display: inline-block;
3349
- margin-bottom: 0;
3350
- font-weight: 400;
3351
- text-align: center;
3352
- vertical-align: middle;
3353
- touch-action: manipulation;
3354
- cursor: pointer;
3355
- white-space: nowrap;
3356
- padding: 4px 8px;
3357
- font-size: 12px;
3358
- line-height: 1.42857143;
3359
- border-radius: 2px;
3360
- -webkit-user-select: none;
3361
- -moz-user-select: none;
3362
- user-select: none;
3363
- }
3364
-
3365
- .button-primary {
3366
- background: #0188fb;
3367
- border: 1px solid #0188fb;
3368
- color: #fff;
3369
- margin-right: -4px;
3370
- }
3371
3340
  .leankylin-sheet-list {
3372
3341
  overflow-y: auto;
3373
3342
  overflow-x: hidden;