sparta-ui 3.45.5 → 3.46.0
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/lib/epay/confirm/index.css +1 -1
- package/lib/epay/index.css +1 -0
- package/lib/epay/index.js +11 -11
- package/lib/epay/modal/index.css +1 -1
- package/lib/miniCashier/confirm/index.css +1 -1
- package/lib/miniCashier/index.css +1 -0
- package/lib/miniCashier/index.js +11 -11
- package/lib/miniCashier/modal/index.css +1 -1
- package/lib/model/ModalManage.js +1 -1
- package/lib/model/PopManage.js +1 -1
- package/lib/plusCashier/button/index.js +1 -1
- package/lib/plusCashier/checkbox/index.js +1 -1
- package/lib/plusCashier/checkbox-group/index.js +1 -1
- package/lib/plusCashier/confirm/index.css +1 -1
- package/lib/plusCashier/confirm/index.js +1 -1
- package/lib/plusCashier/dropdown/index.css +1 -0
- package/lib/plusCashier/dropdown/index.js +1 -0
- package/lib/plusCashier/dropdown-item/index.css +1 -0
- package/lib/plusCashier/dropdown-item/index.js +1 -0
- package/lib/plusCashier/form/index.js +1 -1
- package/lib/plusCashier/form-item/index.js +1 -1
- package/lib/plusCashier/index.css +161 -4
- package/lib/plusCashier/index.js +1172 -774
- package/lib/plusCashier/input/index.js +1 -1
- package/lib/plusCashier/modal/index.css +1 -1
- package/lib/plusCashier/modal/index.js +1 -1
- package/lib/plusCashier/option/index.js +1 -1
- package/lib/plusCashier/option-group/index.js +1 -1
- package/lib/plusCashier/password-input/index.js +1 -1
- package/lib/plusCashier/popup-tip/index.js +1 -1
- package/lib/plusCashier/radio/index.js +1 -1
- package/lib/plusCashier/radio-group/index.js +1 -1
- package/lib/plusCashier/row/index.js +1 -1
- package/lib/plusCashier/select/index.js +1 -1
- package/lib/plusCashier/style/index.js +1 -1
- package/lib/plusCashier/tag/index.js +1 -1
- package/lib/plusCashier/toast/index.js +1 -1
- package/package.json +1 -1
|
@@ -35,6 +35,8 @@
|
|
|
35
35
|
-------------------------- */
|
|
36
36
|
/* Confirm
|
|
37
37
|
-------------------------- */
|
|
38
|
+
/* Dropdown
|
|
39
|
+
-------------------------- */
|
|
38
40
|
/* Break-point
|
|
39
41
|
-------------------------- */
|
|
40
42
|
* {
|
|
@@ -442,6 +444,8 @@ input, textarea {
|
|
|
442
444
|
-------------------------- */
|
|
443
445
|
/* Confirm
|
|
444
446
|
-------------------------- */
|
|
447
|
+
/* Dropdown
|
|
448
|
+
-------------------------- */
|
|
445
449
|
/* Break-point
|
|
446
450
|
-------------------------- */
|
|
447
451
|
/* Break-points 做响应式用
|
|
@@ -501,6 +505,8 @@ input, textarea {
|
|
|
501
505
|
-------------------------- */
|
|
502
506
|
/* Confirm
|
|
503
507
|
-------------------------- */
|
|
508
|
+
/* Dropdown
|
|
509
|
+
-------------------------- */
|
|
504
510
|
/* Break-point
|
|
505
511
|
-------------------------- */
|
|
506
512
|
/* Break-points 做响应式用
|
|
@@ -760,6 +766,8 @@ input, textarea {
|
|
|
760
766
|
-------------------------- */
|
|
761
767
|
/* Confirm
|
|
762
768
|
-------------------------- */
|
|
769
|
+
/* Dropdown
|
|
770
|
+
-------------------------- */
|
|
763
771
|
/* Break-point
|
|
764
772
|
-------------------------- */
|
|
765
773
|
.sp-textarea {
|
|
@@ -1218,6 +1226,8 @@ input, textarea {
|
|
|
1218
1226
|
-------------------------- */
|
|
1219
1227
|
/* Confirm
|
|
1220
1228
|
-------------------------- */
|
|
1229
|
+
/* Dropdown
|
|
1230
|
+
-------------------------- */
|
|
1221
1231
|
/* Break-point
|
|
1222
1232
|
-------------------------- */
|
|
1223
1233
|
.sp-radio {
|
|
@@ -1360,6 +1370,8 @@ input, textarea {
|
|
|
1360
1370
|
-------------------------- */
|
|
1361
1371
|
/* Confirm
|
|
1362
1372
|
-------------------------- */
|
|
1373
|
+
/* Dropdown
|
|
1374
|
+
-------------------------- */
|
|
1363
1375
|
/* Break-point
|
|
1364
1376
|
-------------------------- */
|
|
1365
1377
|
.sp-radio-group {
|
|
@@ -1410,6 +1422,8 @@ input, textarea {
|
|
|
1410
1422
|
-------------------------- */
|
|
1411
1423
|
/* Confirm
|
|
1412
1424
|
-------------------------- */
|
|
1425
|
+
/* Dropdown
|
|
1426
|
+
-------------------------- */
|
|
1413
1427
|
/* Break-point
|
|
1414
1428
|
-------------------------- */
|
|
1415
1429
|
.sp-toast__contain {
|
|
@@ -1491,6 +1505,8 @@ input, textarea {
|
|
|
1491
1505
|
-------------------------- */
|
|
1492
1506
|
/* Confirm
|
|
1493
1507
|
-------------------------- */
|
|
1508
|
+
/* Dropdown
|
|
1509
|
+
-------------------------- */
|
|
1494
1510
|
/* Break-point
|
|
1495
1511
|
-------------------------- */
|
|
1496
1512
|
/* Break-points 做响应式用
|
|
@@ -1740,6 +1756,8 @@ input, textarea {
|
|
|
1740
1756
|
-------------------------- */
|
|
1741
1757
|
/* Confirm
|
|
1742
1758
|
-------------------------- */
|
|
1759
|
+
/* Dropdown
|
|
1760
|
+
-------------------------- */
|
|
1743
1761
|
/* Break-point
|
|
1744
1762
|
-------------------------- */
|
|
1745
1763
|
.sp-modal-wrap {
|
|
@@ -1783,6 +1801,7 @@ input, textarea {
|
|
|
1783
1801
|
font-size: 16px;
|
|
1784
1802
|
color: #999;
|
|
1785
1803
|
font-weight: bold;
|
|
1804
|
+
line-height: 1;
|
|
1786
1805
|
}
|
|
1787
1806
|
.sp-modal-wrap .sp-modal-content .sp-modal__body {
|
|
1788
1807
|
color: #1a1a1a;
|
|
@@ -1844,6 +1863,8 @@ input, textarea {
|
|
|
1844
1863
|
-------------------------- */
|
|
1845
1864
|
/* Confirm
|
|
1846
1865
|
-------------------------- */
|
|
1866
|
+
/* Dropdown
|
|
1867
|
+
-------------------------- */
|
|
1847
1868
|
/* Break-point
|
|
1848
1869
|
-------------------------- */
|
|
1849
1870
|
.sp-toast__box {
|
|
@@ -1908,6 +1929,8 @@ input, textarea {
|
|
|
1908
1929
|
-------------------------- */
|
|
1909
1930
|
/* Confirm
|
|
1910
1931
|
-------------------------- */
|
|
1932
|
+
/* Dropdown
|
|
1933
|
+
-------------------------- */
|
|
1911
1934
|
/* Break-point
|
|
1912
1935
|
-------------------------- */
|
|
1913
1936
|
.sp-confirm__body {
|
|
@@ -1927,16 +1950,16 @@ input, textarea {
|
|
|
1927
1950
|
}
|
|
1928
1951
|
.sp-confirm__foot {
|
|
1929
1952
|
text-align: center;
|
|
1930
|
-
padding-bottom:
|
|
1953
|
+
padding-bottom: 20px;
|
|
1931
1954
|
}
|
|
1932
1955
|
.sp-confirm__foot .sp-button {
|
|
1933
|
-
min-width:
|
|
1934
|
-
height:
|
|
1956
|
+
min-width: 174px;
|
|
1957
|
+
height: 40px;
|
|
1935
1958
|
font-size: 16px;
|
|
1936
1959
|
line-height: 1;
|
|
1937
1960
|
}
|
|
1938
1961
|
.sp-confirm__foot .sp-button + .sp-button {
|
|
1939
|
-
margin-left:
|
|
1962
|
+
margin-left: 12px;
|
|
1940
1963
|
}
|
|
1941
1964
|
@charset "UTF-8";
|
|
1942
1965
|
/* Transition
|
|
@@ -1975,6 +1998,8 @@ input, textarea {
|
|
|
1975
1998
|
-------------------------- */
|
|
1976
1999
|
/* Confirm
|
|
1977
2000
|
-------------------------- */
|
|
2001
|
+
/* Dropdown
|
|
2002
|
+
-------------------------- */
|
|
1978
2003
|
/* Break-point
|
|
1979
2004
|
-------------------------- */
|
|
1980
2005
|
/* Break-points 做响应式用
|
|
@@ -2151,6 +2176,8 @@ to {
|
|
|
2151
2176
|
-------------------------- */
|
|
2152
2177
|
/* Confirm
|
|
2153
2178
|
-------------------------- */
|
|
2179
|
+
/* Dropdown
|
|
2180
|
+
-------------------------- */
|
|
2154
2181
|
/* Break-point
|
|
2155
2182
|
-------------------------- */
|
|
2156
2183
|
.sp-popup-tip {
|
|
@@ -2276,6 +2303,8 @@ to {
|
|
|
2276
2303
|
-------------------------- */
|
|
2277
2304
|
/* Confirm
|
|
2278
2305
|
-------------------------- */
|
|
2306
|
+
/* Dropdown
|
|
2307
|
+
-------------------------- */
|
|
2279
2308
|
/* Break-point
|
|
2280
2309
|
-------------------------- */
|
|
2281
2310
|
/* Break-points 做响应式用
|
|
@@ -2572,6 +2601,8 @@ to {
|
|
|
2572
2601
|
-------------------------- */
|
|
2573
2602
|
/* Confirm
|
|
2574
2603
|
-------------------------- */
|
|
2604
|
+
/* Dropdown
|
|
2605
|
+
-------------------------- */
|
|
2575
2606
|
/* Break-point
|
|
2576
2607
|
-------------------------- */
|
|
2577
2608
|
.sp-option-group {
|
|
@@ -2647,6 +2678,8 @@ to {
|
|
|
2647
2678
|
-------------------------- */
|
|
2648
2679
|
/* Confirm
|
|
2649
2680
|
-------------------------- */
|
|
2681
|
+
/* Dropdown
|
|
2682
|
+
-------------------------- */
|
|
2650
2683
|
/* Break-point
|
|
2651
2684
|
-------------------------- */
|
|
2652
2685
|
.sp-option {
|
|
@@ -2747,6 +2780,8 @@ to {
|
|
|
2747
2780
|
-------------------------- */
|
|
2748
2781
|
/* Confirm
|
|
2749
2782
|
-------------------------- */
|
|
2783
|
+
/* Dropdown
|
|
2784
|
+
-------------------------- */
|
|
2750
2785
|
/* Break-point
|
|
2751
2786
|
-------------------------- */
|
|
2752
2787
|
.sp-checkbox {
|
|
@@ -2872,6 +2907,8 @@ to {
|
|
|
2872
2907
|
-------------------------- */
|
|
2873
2908
|
/* Confirm
|
|
2874
2909
|
-------------------------- */
|
|
2910
|
+
/* Dropdown
|
|
2911
|
+
-------------------------- */
|
|
2875
2912
|
/* Break-point
|
|
2876
2913
|
-------------------------- */
|
|
2877
2914
|
.sp-checkbox__group {
|
|
@@ -2913,6 +2950,8 @@ to {
|
|
|
2913
2950
|
-------------------------- */
|
|
2914
2951
|
/* Confirm
|
|
2915
2952
|
-------------------------- */
|
|
2953
|
+
/* Dropdown
|
|
2954
|
+
-------------------------- */
|
|
2916
2955
|
/* Break-point
|
|
2917
2956
|
-------------------------- */
|
|
2918
2957
|
.sp-tag {
|
|
@@ -2959,3 +2998,121 @@ to {
|
|
|
2959
2998
|
background-color: #e8292c;
|
|
2960
2999
|
border-color: #e8292c;
|
|
2961
3000
|
}
|
|
3001
|
+
/* Transition
|
|
3002
|
+
-------------------------- */
|
|
3003
|
+
/* Colors
|
|
3004
|
+
-------------------------- */
|
|
3005
|
+
/* Shadow
|
|
3006
|
+
-------------------------- */
|
|
3007
|
+
/* Disable base
|
|
3008
|
+
-------------------------- */
|
|
3009
|
+
/* Scrollbar
|
|
3010
|
+
-------------------------- */
|
|
3011
|
+
/* Border
|
|
3012
|
+
-------------------------- */
|
|
3013
|
+
/* Button
|
|
3014
|
+
-------------------------- */
|
|
3015
|
+
/* PasswordInput
|
|
3016
|
+
-------------------------- */
|
|
3017
|
+
/* Input
|
|
3018
|
+
-------------------------- */
|
|
3019
|
+
/* Radio
|
|
3020
|
+
-------------------------- */
|
|
3021
|
+
/* Select
|
|
3022
|
+
-------------------------- */
|
|
3023
|
+
/* Checkbox
|
|
3024
|
+
-------------------------- */
|
|
3025
|
+
/* Tag
|
|
3026
|
+
-------------------------- */
|
|
3027
|
+
/* Option
|
|
3028
|
+
-------------------------- */
|
|
3029
|
+
/* Form
|
|
3030
|
+
-------------------------- */
|
|
3031
|
+
/* Modal
|
|
3032
|
+
-------------------------- */
|
|
3033
|
+
/* Toast
|
|
3034
|
+
-------------------------- */
|
|
3035
|
+
/* Confirm
|
|
3036
|
+
-------------------------- */
|
|
3037
|
+
/* Dropdown
|
|
3038
|
+
-------------------------- */
|
|
3039
|
+
/* Break-point
|
|
3040
|
+
-------------------------- */
|
|
3041
|
+
.sp-dropdown {
|
|
3042
|
+
display: inline-block;
|
|
3043
|
+
}
|
|
3044
|
+
.sp-dropdown__content {
|
|
3045
|
+
cursor: pointer;
|
|
3046
|
+
}
|
|
3047
|
+
.sp-dropdown-item-wrap ul {
|
|
3048
|
+
margin: 5px 0;
|
|
3049
|
+
padding: 5px 0;
|
|
3050
|
+
border: 1px solid #eaeaea;
|
|
3051
|
+
border-radius: 6px;
|
|
3052
|
+
-webkit-box-shadow: 0 2px 10px 0 rgba(0, 53, 111, 0.1);
|
|
3053
|
+
box-shadow: 0 2px 10px 0 rgba(0, 53, 111, 0.1);
|
|
3054
|
+
-webkit-box-sizing: border-box;
|
|
3055
|
+
box-sizing: border-box;
|
|
3056
|
+
background-color: #fff;
|
|
3057
|
+
cursor: pointer;
|
|
3058
|
+
}
|
|
3059
|
+
/* Transition
|
|
3060
|
+
-------------------------- */
|
|
3061
|
+
/* Colors
|
|
3062
|
+
-------------------------- */
|
|
3063
|
+
/* Shadow
|
|
3064
|
+
-------------------------- */
|
|
3065
|
+
/* Disable base
|
|
3066
|
+
-------------------------- */
|
|
3067
|
+
/* Scrollbar
|
|
3068
|
+
-------------------------- */
|
|
3069
|
+
/* Border
|
|
3070
|
+
-------------------------- */
|
|
3071
|
+
/* Button
|
|
3072
|
+
-------------------------- */
|
|
3073
|
+
/* PasswordInput
|
|
3074
|
+
-------------------------- */
|
|
3075
|
+
/* Input
|
|
3076
|
+
-------------------------- */
|
|
3077
|
+
/* Radio
|
|
3078
|
+
-------------------------- */
|
|
3079
|
+
/* Select
|
|
3080
|
+
-------------------------- */
|
|
3081
|
+
/* Checkbox
|
|
3082
|
+
-------------------------- */
|
|
3083
|
+
/* Tag
|
|
3084
|
+
-------------------------- */
|
|
3085
|
+
/* Option
|
|
3086
|
+
-------------------------- */
|
|
3087
|
+
/* Form
|
|
3088
|
+
-------------------------- */
|
|
3089
|
+
/* Modal
|
|
3090
|
+
-------------------------- */
|
|
3091
|
+
/* Toast
|
|
3092
|
+
-------------------------- */
|
|
3093
|
+
/* Confirm
|
|
3094
|
+
-------------------------- */
|
|
3095
|
+
/* Dropdown
|
|
3096
|
+
-------------------------- */
|
|
3097
|
+
/* Break-point
|
|
3098
|
+
-------------------------- */
|
|
3099
|
+
.sp-dropdown-item {
|
|
3100
|
+
position: relative;
|
|
3101
|
+
padding: 10px 15px;
|
|
3102
|
+
font-size: 14px;
|
|
3103
|
+
text-align: left;
|
|
3104
|
+
margin: 0;
|
|
3105
|
+
color: #1a1a1a;
|
|
3106
|
+
-webkit-transition: background-color 0.1s;
|
|
3107
|
+
transition: background-color 0.1s;
|
|
3108
|
+
background-color: #fff;
|
|
3109
|
+
cursor: pointer;
|
|
3110
|
+
}
|
|
3111
|
+
.sp-dropdown-item:hover {
|
|
3112
|
+
background-color: #f5f6f7;
|
|
3113
|
+
color: #e8292c;
|
|
3114
|
+
}
|
|
3115
|
+
.sp-dropdown-item.is-disabled {
|
|
3116
|
+
color: #bfbfbf;
|
|
3117
|
+
cursor: not-allowed;
|
|
3118
|
+
}
|