sparta-ui 3.45.6 → 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/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.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 +156 -0
- package/lib/plusCashier/index.js +925 -531
- package/lib/plusCashier/input/index.js +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 {
|
|
@@ -1845,6 +1863,8 @@ input, textarea {
|
|
|
1845
1863
|
-------------------------- */
|
|
1846
1864
|
/* Confirm
|
|
1847
1865
|
-------------------------- */
|
|
1866
|
+
/* Dropdown
|
|
1867
|
+
-------------------------- */
|
|
1848
1868
|
/* Break-point
|
|
1849
1869
|
-------------------------- */
|
|
1850
1870
|
.sp-toast__box {
|
|
@@ -1909,6 +1929,8 @@ input, textarea {
|
|
|
1909
1929
|
-------------------------- */
|
|
1910
1930
|
/* Confirm
|
|
1911
1931
|
-------------------------- */
|
|
1932
|
+
/* Dropdown
|
|
1933
|
+
-------------------------- */
|
|
1912
1934
|
/* Break-point
|
|
1913
1935
|
-------------------------- */
|
|
1914
1936
|
.sp-confirm__body {
|
|
@@ -1976,6 +1998,8 @@ input, textarea {
|
|
|
1976
1998
|
-------------------------- */
|
|
1977
1999
|
/* Confirm
|
|
1978
2000
|
-------------------------- */
|
|
2001
|
+
/* Dropdown
|
|
2002
|
+
-------------------------- */
|
|
1979
2003
|
/* Break-point
|
|
1980
2004
|
-------------------------- */
|
|
1981
2005
|
/* Break-points 做响应式用
|
|
@@ -2152,6 +2176,8 @@ to {
|
|
|
2152
2176
|
-------------------------- */
|
|
2153
2177
|
/* Confirm
|
|
2154
2178
|
-------------------------- */
|
|
2179
|
+
/* Dropdown
|
|
2180
|
+
-------------------------- */
|
|
2155
2181
|
/* Break-point
|
|
2156
2182
|
-------------------------- */
|
|
2157
2183
|
.sp-popup-tip {
|
|
@@ -2277,6 +2303,8 @@ to {
|
|
|
2277
2303
|
-------------------------- */
|
|
2278
2304
|
/* Confirm
|
|
2279
2305
|
-------------------------- */
|
|
2306
|
+
/* Dropdown
|
|
2307
|
+
-------------------------- */
|
|
2280
2308
|
/* Break-point
|
|
2281
2309
|
-------------------------- */
|
|
2282
2310
|
/* Break-points 做响应式用
|
|
@@ -2573,6 +2601,8 @@ to {
|
|
|
2573
2601
|
-------------------------- */
|
|
2574
2602
|
/* Confirm
|
|
2575
2603
|
-------------------------- */
|
|
2604
|
+
/* Dropdown
|
|
2605
|
+
-------------------------- */
|
|
2576
2606
|
/* Break-point
|
|
2577
2607
|
-------------------------- */
|
|
2578
2608
|
.sp-option-group {
|
|
@@ -2648,6 +2678,8 @@ to {
|
|
|
2648
2678
|
-------------------------- */
|
|
2649
2679
|
/* Confirm
|
|
2650
2680
|
-------------------------- */
|
|
2681
|
+
/* Dropdown
|
|
2682
|
+
-------------------------- */
|
|
2651
2683
|
/* Break-point
|
|
2652
2684
|
-------------------------- */
|
|
2653
2685
|
.sp-option {
|
|
@@ -2748,6 +2780,8 @@ to {
|
|
|
2748
2780
|
-------------------------- */
|
|
2749
2781
|
/* Confirm
|
|
2750
2782
|
-------------------------- */
|
|
2783
|
+
/* Dropdown
|
|
2784
|
+
-------------------------- */
|
|
2751
2785
|
/* Break-point
|
|
2752
2786
|
-------------------------- */
|
|
2753
2787
|
.sp-checkbox {
|
|
@@ -2873,6 +2907,8 @@ to {
|
|
|
2873
2907
|
-------------------------- */
|
|
2874
2908
|
/* Confirm
|
|
2875
2909
|
-------------------------- */
|
|
2910
|
+
/* Dropdown
|
|
2911
|
+
-------------------------- */
|
|
2876
2912
|
/* Break-point
|
|
2877
2913
|
-------------------------- */
|
|
2878
2914
|
.sp-checkbox__group {
|
|
@@ -2914,6 +2950,8 @@ to {
|
|
|
2914
2950
|
-------------------------- */
|
|
2915
2951
|
/* Confirm
|
|
2916
2952
|
-------------------------- */
|
|
2953
|
+
/* Dropdown
|
|
2954
|
+
-------------------------- */
|
|
2917
2955
|
/* Break-point
|
|
2918
2956
|
-------------------------- */
|
|
2919
2957
|
.sp-tag {
|
|
@@ -2960,3 +2998,121 @@ to {
|
|
|
2960
2998
|
background-color: #e8292c;
|
|
2961
2999
|
border-color: #e8292c;
|
|
2962
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
|
+
}
|