linkmore-design 1.1.16 → 1.1.18
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/CHANGELOG.md +44 -10
- package/dist/ConfigProvider/context.d.ts +1 -0
- package/dist/Form/demos/responsive.d.ts +0 -1
- package/dist/Form/interface.d.ts +2 -0
- package/dist/IconFont/demos/ConfigProvider.d.ts +2 -0
- package/dist/IconFont/index.d.ts +1 -2
- package/dist/QuickMenu/demos/useInDraw.d.ts +2 -0
- package/dist/QuickMenu/index.d.ts +1 -0
- package/dist/index.umd.js +371 -240
- package/dist/index.umd.min.js +17 -17
- package/dist/variables.css +99 -55
- package/es/ConfigProvider/context.d.ts +1 -0
- package/es/ConfigProvider/index.js +5 -3
- package/es/Form/FormWrapper.js +3 -4
- package/es/Form/WrapperItem.js +138 -70
- package/es/Form/interface.d.ts +2 -0
- package/es/Form/style/index.css +26 -1
- package/es/Form/style/variables.css +26 -1
- package/es/IconFont/index.d.ts +1 -2
- package/es/IconFont/index.js +18 -4
- package/es/ImageViewer/components/Operate.js +4 -7
- package/es/LmEditTable/EditTable.js +5 -1
- package/es/LmFilter/components/DropdownFIlter.js +164 -119
- package/es/LmFilter/filterFns/index.js +4 -6
- package/es/LmFilter/style/index.css +73 -54
- package/es/LmFilter/style/variables.css +73 -54
- package/es/LmFilter/utils.js +6 -6
- package/es/LmUpload/UploadList/ItemText.js +5 -1
- package/es/QuickMenu/index.d.ts +1 -0
- package/es/QuickMenu/index.js +12 -8
- package/es/styles/variables.css +99 -55
- package/lib/ConfigProvider/context.d.ts +1 -0
- package/lib/ConfigProvider/index.js +5 -3
- package/lib/Form/FormWrapper.js +3 -4
- package/lib/Form/WrapperItem.js +136 -69
- package/lib/Form/interface.d.ts +2 -0
- package/lib/Form/style/index.css +26 -1
- package/lib/Form/style/variables.css +26 -1
- package/lib/IconFont/index.d.ts +1 -2
- package/lib/IconFont/index.js +25 -4
- package/lib/ImageViewer/components/Operate.js +4 -8
- package/lib/LmEditTable/EditTable.js +5 -1
- package/lib/LmFilter/components/DropdownFIlter.js +164 -119
- package/lib/LmFilter/filterFns/index.js +4 -6
- package/lib/LmFilter/style/index.css +73 -54
- package/lib/LmFilter/style/variables.css +73 -54
- package/lib/LmFilter/utils.js +6 -6
- package/lib/LmUpload/UploadList/ItemText.js +5 -1
- package/lib/QuickMenu/index.d.ts +1 -0
- package/lib/QuickMenu/index.js +11 -7
- package/lib/styles/variables.css +99 -55
- package/package.json +1 -1
package/dist/variables.css
CHANGED
|
@@ -8956,20 +8956,45 @@ p {
|
|
|
8956
8956
|
background: #f0f0f0;
|
|
8957
8957
|
}
|
|
8958
8958
|
.lm_form_responsive_box .lm_form > .lm_container_wrapper {
|
|
8959
|
-
padding: 16px;
|
|
8960
8959
|
background: #f0f0f0;
|
|
8961
8960
|
margin-bottom: 0;
|
|
8962
8961
|
border-radius: 0;
|
|
8962
|
+
padding: 16px;
|
|
8963
8963
|
}
|
|
8964
8964
|
.lm_container_wrapper {
|
|
8965
8965
|
overflow: auto;
|
|
8966
8966
|
background: #fff;
|
|
8967
8967
|
margin-bottom: 16px;
|
|
8968
8968
|
border-radius: 2px;
|
|
8969
|
+
padding: 0;
|
|
8969
8970
|
}
|
|
8970
8971
|
.lm_container_wrapper .ant-cascader {
|
|
8971
8972
|
width: 100%;
|
|
8972
8973
|
}
|
|
8974
|
+
.form_responsive_group_title {
|
|
8975
|
+
display: flex;
|
|
8976
|
+
font-size: 14px;
|
|
8977
|
+
line-height: 22px;
|
|
8978
|
+
margin: 0;
|
|
8979
|
+
padding-top: 16px;
|
|
8980
|
+
color: var(--color-85);
|
|
8981
|
+
flex-basis: 100%;
|
|
8982
|
+
align-items: center;
|
|
8983
|
+
}
|
|
8984
|
+
.form_responsive_group_title h3 {
|
|
8985
|
+
flex: 1;
|
|
8986
|
+
font-weight: medium;
|
|
8987
|
+
font-size: 14px;
|
|
8988
|
+
}
|
|
8989
|
+
.form_responsive_group_title img {
|
|
8990
|
+
cursor: pointer;
|
|
8991
|
+
width: 16px;
|
|
8992
|
+
height: 16px;
|
|
8993
|
+
transition: transform 0.24s;
|
|
8994
|
+
}
|
|
8995
|
+
.form_responsive_group_title img.open {
|
|
8996
|
+
transform: rotate(180deg);
|
|
8997
|
+
}
|
|
8973
8998
|
.lm_form-item-tip-error .ant-form-item-explain {
|
|
8974
8999
|
width: 100%;
|
|
8975
9000
|
position: absolute;
|
|
@@ -9796,8 +9821,8 @@ p {
|
|
|
9796
9821
|
.lm_filter_wrapper .lm_filter_container .lm_filter {
|
|
9797
9822
|
display: flex;
|
|
9798
9823
|
flex-wrap: wrap;
|
|
9799
|
-
align-items: center;
|
|
9800
9824
|
gap: 8px;
|
|
9825
|
+
align-items: center;
|
|
9801
9826
|
font-size: 12px;
|
|
9802
9827
|
}
|
|
9803
9828
|
.lm_filter_wrapper .lm_filter_container .lm_filter .lm_filter_custom {
|
|
@@ -9808,14 +9833,14 @@ p {
|
|
|
9808
9833
|
display: inline-flex;
|
|
9809
9834
|
align-items: center;
|
|
9810
9835
|
justify-content: space-between;
|
|
9811
|
-
height: 32px;
|
|
9812
|
-
line-height: 1;
|
|
9813
9836
|
min-width: 100px;
|
|
9814
9837
|
max-width: 180px;
|
|
9838
|
+
height: 32px;
|
|
9839
|
+
padding: 0 8px;
|
|
9840
|
+
color: var(--font2-color);
|
|
9841
|
+
line-height: 1;
|
|
9815
9842
|
border: 1px solid var(--color-15);
|
|
9816
9843
|
border-radius: 2px;
|
|
9817
|
-
color: var(--font2-color);
|
|
9818
|
-
padding: 0 8px;
|
|
9819
9844
|
cursor: pointer;
|
|
9820
9845
|
transition: 0.3s;
|
|
9821
9846
|
}
|
|
@@ -9823,13 +9848,13 @@ p {
|
|
|
9823
9848
|
height: 24px;
|
|
9824
9849
|
}
|
|
9825
9850
|
.lm_filter_wrapper .lm_filter_container .lm_filter .lm_filter_custom .lm_filter_custom_select .lm_filter_custom_select_label span {
|
|
9826
|
-
text-overflow: ellipsis;
|
|
9827
|
-
white-space: nowrap;
|
|
9828
9851
|
overflow: hidden;
|
|
9852
|
+
white-space: nowrap;
|
|
9853
|
+
text-overflow: ellipsis;
|
|
9829
9854
|
}
|
|
9830
9855
|
.lm_filter_wrapper .lm_filter_container .lm_filter .lm_filter_custom .lm_filter_custom_select .lm_filter_custom_select_icon {
|
|
9831
|
-
font-size: 14px;
|
|
9832
9856
|
color: var(--text-color);
|
|
9857
|
+
font-size: 14px;
|
|
9833
9858
|
transition: 0.3s;
|
|
9834
9859
|
}
|
|
9835
9860
|
.lm_filter_wrapper .lm_filter_container .lm_filter .lm_filter_custom .lm_filter_custom_select:hover {
|
|
@@ -9858,16 +9883,17 @@ p {
|
|
|
9858
9883
|
height: 24px;
|
|
9859
9884
|
}
|
|
9860
9885
|
.lm_filter_basic_item {
|
|
9861
|
-
font-size: 12px;
|
|
9862
9886
|
display: inline-flex;
|
|
9887
|
+
gap: 4px;
|
|
9863
9888
|
align-items: center;
|
|
9889
|
+
height: 32px;
|
|
9890
|
+
padding: 0 8px;
|
|
9891
|
+
font-size: 12px;
|
|
9864
9892
|
line-height: 1;
|
|
9893
|
+
vertical-align: middle;
|
|
9865
9894
|
border-radius: 2px;
|
|
9866
|
-
padding: 0 8px;
|
|
9867
|
-
transition: 0.3s;
|
|
9868
9895
|
cursor: pointer;
|
|
9869
|
-
|
|
9870
|
-
gap: 4px;
|
|
9896
|
+
transition: 0.3s;
|
|
9871
9897
|
}
|
|
9872
9898
|
.lm_filter_basic_item.small {
|
|
9873
9899
|
height: 24px;
|
|
@@ -9877,16 +9903,26 @@ p {
|
|
|
9877
9903
|
.lm_filter_basic_item.active {
|
|
9878
9904
|
background-color: var(--color-4);
|
|
9879
9905
|
}
|
|
9906
|
+
.lm_filter_basic_item .filter_item_label {
|
|
9907
|
+
flex: 0 0 auto;
|
|
9908
|
+
}
|
|
9880
9909
|
.lm_filter_basic_item .filter_item_value {
|
|
9881
9910
|
display: inline-flex;
|
|
9882
|
-
align-items: center;
|
|
9883
9911
|
gap: 4px;
|
|
9912
|
+
align-items: center;
|
|
9913
|
+
max-width: 552px;
|
|
9914
|
+
overflow: hidden;
|
|
9884
9915
|
color: var(--text-color);
|
|
9885
9916
|
transition: 0.3s;
|
|
9886
9917
|
}
|
|
9918
|
+
.lm_filter_basic_item .filter_item_value span {
|
|
9919
|
+
overflow: hidden;
|
|
9920
|
+
white-space: nowrap;
|
|
9921
|
+
text-overflow: ellipsis;
|
|
9922
|
+
}
|
|
9887
9923
|
.lm_filter_basic_item .filter_item_icon {
|
|
9888
|
-
font-size: 14px;
|
|
9889
9924
|
color: var(--text-color);
|
|
9925
|
+
font-size: 14px;
|
|
9890
9926
|
transition: 0.3s;
|
|
9891
9927
|
}
|
|
9892
9928
|
.lm_filter_basic_item .filter_item_icon.addon_before {
|
|
@@ -9909,19 +9945,19 @@ p {
|
|
|
9909
9945
|
transform: translateY(-4px);
|
|
9910
9946
|
}
|
|
9911
9947
|
.ant-dropdown.filter_dropdown_container_date .ant-picker {
|
|
9912
|
-
visibility: hidden;
|
|
9913
9948
|
transform: translateY(-36px);
|
|
9949
|
+
visibility: hidden;
|
|
9914
9950
|
}
|
|
9915
9951
|
.filter_dropdown {
|
|
9916
9952
|
display: flex;
|
|
9917
9953
|
flex-flow: column;
|
|
9918
|
-
box-shadow: 0 2px 6px var(--box-shadow-color);
|
|
9919
9954
|
background-color: #fff;
|
|
9955
|
+
box-shadow: 0 2px 6px var(--box-shadow-color);
|
|
9920
9956
|
}
|
|
9921
9957
|
.filter_dropdown .filter_header {
|
|
9922
9958
|
min-height: 40px;
|
|
9923
|
-
border-bottom: 1px solid #eee;
|
|
9924
9959
|
padding: 8px;
|
|
9960
|
+
border-bottom: 1px solid #eee;
|
|
9925
9961
|
}
|
|
9926
9962
|
.filter_dropdown .filter_header .filter_header_operate {
|
|
9927
9963
|
display: flex;
|
|
@@ -9933,13 +9969,13 @@ p {
|
|
|
9933
9969
|
align-items: center;
|
|
9934
9970
|
}
|
|
9935
9971
|
.filter_dropdown .filter_header .filter_header_operate .filter_reset {
|
|
9936
|
-
font-size: 12px;
|
|
9937
9972
|
color: var(--primary-color);
|
|
9973
|
+
font-size: 12px;
|
|
9938
9974
|
cursor: pointer;
|
|
9939
9975
|
}
|
|
9940
9976
|
.filter_dropdown .filter_header .filter_header_operate .filter_tip {
|
|
9941
|
-
font-size: 12px;
|
|
9942
9977
|
color: var(--text-color);
|
|
9978
|
+
font-size: 12px;
|
|
9943
9979
|
}
|
|
9944
9980
|
.filter_dropdown .filter_header .ant-input-group {
|
|
9945
9981
|
line-height: 1;
|
|
@@ -9960,32 +9996,40 @@ p {
|
|
|
9960
9996
|
}
|
|
9961
9997
|
.filter_dropdown .filter_body .filter_item {
|
|
9962
9998
|
display: flex;
|
|
9999
|
+
gap: 8px;
|
|
9963
10000
|
align-items: center;
|
|
9964
10001
|
justify-content: space-between;
|
|
9965
|
-
font-size: 12px;
|
|
9966
|
-
height: 32px;
|
|
9967
10002
|
min-width: 120px;
|
|
10003
|
+
height: 32px;
|
|
9968
10004
|
padding: 0 8px;
|
|
9969
|
-
|
|
10005
|
+
font-size: 12px;
|
|
9970
10006
|
white-space: nowrap;
|
|
9971
10007
|
cursor: pointer;
|
|
9972
|
-
|
|
10008
|
+
transition: 0.3s;
|
|
9973
10009
|
}
|
|
9974
10010
|
.filter_dropdown .filter_body .filter_item.last_item {
|
|
9975
10011
|
border-top: 1px solid var(--line-color);
|
|
9976
10012
|
}
|
|
9977
10013
|
.filter_dropdown .filter_body .filter_item .filter_item_content {
|
|
9978
10014
|
flex: auto;
|
|
10015
|
+
overflow: hidden;
|
|
10016
|
+
white-space: nowrap;
|
|
10017
|
+
text-overflow: ellipsis;
|
|
10018
|
+
}
|
|
10019
|
+
.filter_dropdown .filter_body .filter_item .filter_item_content.lm-checkbox > span:last-child {
|
|
10020
|
+
max-width: none;
|
|
10021
|
+
overflow: hidden;
|
|
10022
|
+
text-overflow: ellipsis;
|
|
9979
10023
|
}
|
|
9980
10024
|
.filter_dropdown .filter_body .filter_item .filter_item_operate {
|
|
9981
10025
|
display: inline-flex;
|
|
9982
|
-
align-items: center;
|
|
9983
10026
|
gap: 4px;
|
|
10027
|
+
align-items: center;
|
|
9984
10028
|
}
|
|
9985
10029
|
.filter_dropdown .filter_body .filter_item .filter_item_operate .icon_hover {
|
|
9986
10030
|
font-size: 16px;
|
|
9987
|
-
transition: 0.3s;
|
|
9988
10031
|
opacity: 0;
|
|
10032
|
+
transition: 0.3s;
|
|
9989
10033
|
}
|
|
9990
10034
|
.filter_dropdown .filter_body .filter_item .filter_item_operate .icon_hover:hover {
|
|
9991
10035
|
color: var(--primary-color);
|
|
@@ -10007,15 +10051,15 @@ p {
|
|
|
10007
10051
|
display: flex;
|
|
10008
10052
|
align-items: center;
|
|
10009
10053
|
justify-content: space-between;
|
|
10010
|
-
font-size: 12px;
|
|
10011
10054
|
min-height: 32px;
|
|
10012
10055
|
padding: 6px 8px;
|
|
10013
|
-
|
|
10056
|
+
font-size: 12px;
|
|
10014
10057
|
letter-spacing: 1px;
|
|
10058
|
+
border-top: 1px solid #eee;
|
|
10015
10059
|
}
|
|
10016
10060
|
.filter_dropdown .filter_footer button {
|
|
10017
|
-
font-size: 12px;
|
|
10018
10061
|
padding: 0 8px;
|
|
10062
|
+
font-size: 12px;
|
|
10019
10063
|
}
|
|
10020
10064
|
.filter_dropdown .filter_footer .footer_save {
|
|
10021
10065
|
color: var(--primary-color);
|
|
@@ -10033,14 +10077,14 @@ p {
|
|
|
10033
10077
|
.filter_dropdown .filter_empty {
|
|
10034
10078
|
display: flex;
|
|
10035
10079
|
flex-flow: column;
|
|
10080
|
+
gap: 4px;
|
|
10036
10081
|
align-items: center;
|
|
10037
10082
|
justify-content: center;
|
|
10038
|
-
font-size: 12px;
|
|
10039
10083
|
min-height: 40px;
|
|
10040
|
-
color: #666;
|
|
10041
|
-
padding: 16px 8px;
|
|
10042
10084
|
margin: auto;
|
|
10043
|
-
|
|
10085
|
+
padding: 16px 8px;
|
|
10086
|
+
color: #666;
|
|
10087
|
+
font-size: 12px;
|
|
10044
10088
|
}
|
|
10045
10089
|
.filter_dropdown .filter_empty .filter_empty_text {
|
|
10046
10090
|
display: inline-flex;
|
|
@@ -10051,8 +10095,8 @@ p {
|
|
|
10051
10095
|
}
|
|
10052
10096
|
.filter_dropdown .ant-checkbox-wrapper {
|
|
10053
10097
|
flex: 1;
|
|
10054
|
-
font-size: 12px;
|
|
10055
10098
|
align-items: center;
|
|
10099
|
+
font-size: 12px;
|
|
10056
10100
|
}
|
|
10057
10101
|
.filter_dropdown .ant-checkbox-wrapper .ant-checkbox {
|
|
10058
10102
|
top: initial;
|
|
@@ -10088,18 +10132,18 @@ p {
|
|
|
10088
10132
|
padding: 0 0 8px;
|
|
10089
10133
|
}
|
|
10090
10134
|
.ant-drawer.lm_filter_drawer .filter_drawer_group_add .ant-btn {
|
|
10091
|
-
font-size: 12px;
|
|
10092
10135
|
max-width: initial;
|
|
10136
|
+
font-size: 12px;
|
|
10093
10137
|
}
|
|
10094
10138
|
.ant-drawer.lm_filter_drawer .filter_drawer_group_list .filter_drawer_group_item {
|
|
10095
10139
|
margin-bottom: var(--gap);
|
|
10096
10140
|
}
|
|
10097
10141
|
.ant-drawer.lm_filter_drawer .filter_drawer_group_list .filter_drawer_group_item .item_box {
|
|
10142
|
+
padding: calc(var(--gap) * 2);
|
|
10098
10143
|
line-height: 1;
|
|
10144
|
+
background: var(--background-color);
|
|
10099
10145
|
border: 1px solid transparent;
|
|
10100
10146
|
border-radius: 2px;
|
|
10101
|
-
background: var(--background-color);
|
|
10102
|
-
padding: calc(var(--gap) * 2);
|
|
10103
10147
|
cursor: pointer;
|
|
10104
10148
|
transition: 0.3s;
|
|
10105
10149
|
}
|
|
@@ -10109,12 +10153,12 @@ p {
|
|
|
10109
10153
|
justify-content: space-between;
|
|
10110
10154
|
}
|
|
10111
10155
|
.ant-drawer.lm_filter_drawer .filter_drawer_group_list .filter_drawer_group_item .item_box .item_header .item_header_title {
|
|
10112
|
-
font-size: 12px;
|
|
10113
10156
|
font-weight: 500;
|
|
10157
|
+
font-size: 12px;
|
|
10114
10158
|
}
|
|
10115
10159
|
.ant-drawer.lm_filter_drawer .filter_drawer_group_list .filter_drawer_group_item .item_box .item_header .item_header_icon {
|
|
10160
|
+
color: #8c8c8c;
|
|
10116
10161
|
font-size: 16px;
|
|
10117
|
-
color: #8C8C8C;
|
|
10118
10162
|
transition: 0.3s;
|
|
10119
10163
|
}
|
|
10120
10164
|
.ant-drawer.lm_filter_drawer .filter_drawer_group_list .filter_drawer_group_item .item_box .item_header .item_header_icon.icon_plus {
|
|
@@ -10130,9 +10174,9 @@ p {
|
|
|
10130
10174
|
padding-top: 12px;
|
|
10131
10175
|
}
|
|
10132
10176
|
.ant-drawer.lm_filter_drawer .filter_drawer_group_list .filter_drawer_group_item .item_box .item_tags .ant-tag {
|
|
10177
|
+
margin: 0;
|
|
10133
10178
|
color: var(--font-color);
|
|
10134
10179
|
background-color: var(--background-color);
|
|
10135
|
-
margin: 0;
|
|
10136
10180
|
}
|
|
10137
10181
|
.ant-drawer.lm_filter_drawer .filter_drawer_group_list .filter_drawer_group_item .item_box .item_tags .ant-tag.add_tags {
|
|
10138
10182
|
background: transparent;
|
|
@@ -10152,8 +10196,8 @@ p {
|
|
|
10152
10196
|
margin-bottom: 24px;
|
|
10153
10197
|
}
|
|
10154
10198
|
.ant-drawer.lm_filter_drawer .complex_filter_body .list_group .list_group_title {
|
|
10155
|
-
font-size: 14px;
|
|
10156
10199
|
font-weight: 500;
|
|
10200
|
+
font-size: 14px;
|
|
10157
10201
|
line-height: 1.25;
|
|
10158
10202
|
}
|
|
10159
10203
|
.ant-drawer.lm_filter_drawer .complex_filter_body .list_group .list_group_search {
|
|
@@ -10163,14 +10207,14 @@ p {
|
|
|
10163
10207
|
display: inline-flex;
|
|
10164
10208
|
align-items: center;
|
|
10165
10209
|
justify-content: center;
|
|
10166
|
-
font-size: 12px;
|
|
10167
10210
|
height: 24px;
|
|
10168
|
-
|
|
10211
|
+
padding: 0 8px;
|
|
10169
10212
|
color: var(--font-color);
|
|
10213
|
+
font-size: 12px;
|
|
10170
10214
|
background-color: var(--stripe-color);
|
|
10171
|
-
|
|
10172
|
-
transition: 0.3s;
|
|
10215
|
+
border-radius: 2px;
|
|
10173
10216
|
cursor: pointer;
|
|
10217
|
+
transition: 0.3s;
|
|
10174
10218
|
}
|
|
10175
10219
|
.ant-drawer.lm_det_drawer .checkbox_tag:hover,
|
|
10176
10220
|
.ant-drawer.lm_det_drawer .checkbox_tag.active {
|
|
@@ -10196,25 +10240,25 @@ p {
|
|
|
10196
10240
|
top: 0;
|
|
10197
10241
|
}
|
|
10198
10242
|
.ant-drawer.lm_det_drawer .ant-select {
|
|
10199
|
-
font-size: 12px;
|
|
10200
10243
|
width: 100%;
|
|
10244
|
+
font-size: 12px;
|
|
10201
10245
|
}
|
|
10202
10246
|
.ant-drawer.lm_det_drawer .custom_form {
|
|
10203
10247
|
display: flex;
|
|
10204
10248
|
flex-flow: column;
|
|
10205
|
-
height: 100%;
|
|
10206
10249
|
gap: 24px;
|
|
10250
|
+
height: 100%;
|
|
10207
10251
|
}
|
|
10208
10252
|
.ant-drawer.lm_det_drawer .custom_form .custom_label {
|
|
10209
|
-
font-size: 14px;
|
|
10210
|
-
font-weight: 500;
|
|
10211
10253
|
margin-bottom: 16px;
|
|
10212
10254
|
color: var(--font-color);
|
|
10255
|
+
font-weight: 500;
|
|
10256
|
+
font-size: 14px;
|
|
10213
10257
|
}
|
|
10214
10258
|
.ant-drawer.lm_det_drawer .custom_form .custom_full {
|
|
10215
10259
|
display: flex;
|
|
10216
|
-
flex-flow: column;
|
|
10217
10260
|
flex: 1;
|
|
10261
|
+
flex-flow: column;
|
|
10218
10262
|
}
|
|
10219
10263
|
.lm_filter_dropdown_picker {
|
|
10220
10264
|
padding: 0 !important;
|
|
@@ -10223,17 +10267,17 @@ p {
|
|
|
10223
10267
|
display: flex;
|
|
10224
10268
|
}
|
|
10225
10269
|
.lm_filter_dropdown_picker .filter_picker_box .filter_picker_aside {
|
|
10270
|
+
padding: 6px 0;
|
|
10226
10271
|
font-size: 12px;
|
|
10227
10272
|
border-right: 1px solid var(--background-color-hover);
|
|
10228
|
-
padding: 6px 0;
|
|
10229
10273
|
}
|
|
10230
10274
|
.lm_filter_dropdown_picker .filter_picker_box .filter_picker_aside .filter_picker_aside_item {
|
|
10231
10275
|
display: flex;
|
|
10232
10276
|
align-items: center;
|
|
10233
10277
|
height: 32px;
|
|
10234
10278
|
padding: 0 8px;
|
|
10235
|
-
transition: 0.3s;
|
|
10236
10279
|
cursor: pointer;
|
|
10280
|
+
transition: 0.3s;
|
|
10237
10281
|
}
|
|
10238
10282
|
.lm_filter_dropdown_picker .filter_picker_box .filter_picker_aside .filter_picker_aside_item:hover,
|
|
10239
10283
|
.lm_filter_dropdown_picker .filter_picker_box .filter_picker_aside .filter_picker_aside_item.active {
|
|
@@ -10244,13 +10288,13 @@ p {
|
|
|
10244
10288
|
align-items: center;
|
|
10245
10289
|
justify-content: space-between;
|
|
10246
10290
|
min-height: 40px;
|
|
10247
|
-
line-height: 1;
|
|
10248
10291
|
padding: 0 16px;
|
|
10292
|
+
line-height: 1;
|
|
10249
10293
|
border-bottom: 1px solid var(--background-color-hover);
|
|
10250
10294
|
}
|
|
10251
10295
|
.lm_filter_dropdown_picker .filter_picker_box .filter_picker_main .filter_picker_header .ant-radio-button-wrapper {
|
|
10252
|
-
font-size: 12px;
|
|
10253
10296
|
color: var(--font2-color);
|
|
10297
|
+
font-size: 12px;
|
|
10254
10298
|
}
|
|
10255
10299
|
.lm_filter_dropdown_picker .filter_picker_box .filter_picker_main .filter_picker_header .ant-radio-button-wrapper:hover,
|
|
10256
10300
|
.lm_filter_dropdown_picker .filter_picker_box .filter_picker_main .filter_picker_header .ant-radio-button-wrapper.ant-radio-button-wrapper-checked {
|
|
@@ -44,6 +44,7 @@ export interface ConfigConsumerProps {
|
|
|
44
44
|
requiredMark?: RequiredMark;
|
|
45
45
|
colon?: boolean;
|
|
46
46
|
};
|
|
47
|
+
iconUrl?: string | Array<string>;
|
|
47
48
|
}
|
|
48
49
|
export declare const ConfigContext: React.Context<ConfigConsumerProps>;
|
|
49
50
|
export declare const ConfigConsumer: React.Consumer<ConfigConsumerProps>;
|
|
@@ -14,7 +14,7 @@ import { registerTheme } from './cssVariables';
|
|
|
14
14
|
import { DisabledContextProvider } from './DisabledContext';
|
|
15
15
|
import SizeContext, { SizeContextProvider } from './SizeContext';
|
|
16
16
|
export { ConfigContext, ConfigConsumer };
|
|
17
|
-
export var configConsumerProps = ['getTargetContainer', 'getPopupContainer', 'rootPrefixCls', 'getPrefixCls', 'renderEmpty', 'csp', 'autoInsertSpaceInButton', 'locale', 'pageHeader']; // These props is used by `useContext` directly in sub component
|
|
17
|
+
export var configConsumerProps = ['getTargetContainer', 'getPopupContainer', 'rootPrefixCls', 'getPrefixCls', 'renderEmpty', 'csp', 'autoInsertSpaceInButton', 'locale', 'pageHeader', 'iconUrl']; // These props is used by `useContext` directly in sub component
|
|
18
18
|
|
|
19
19
|
var PASSED_PROPS = ['getTargetContainer', 'getPopupContainer', 'renderEmpty', 'pageHeader', 'input', 'pagination', 'form'];
|
|
20
20
|
export var defaultPrefixCls = ''; //'ant';
|
|
@@ -94,7 +94,8 @@ var ProviderChildren = function ProviderChildren(props) {
|
|
|
94
94
|
legacyLocale = props.legacyLocale,
|
|
95
95
|
parentContext = props.parentContext,
|
|
96
96
|
iconPrefixCls = props.iconPrefixCls,
|
|
97
|
-
componentDisabled = props.componentDisabled
|
|
97
|
+
componentDisabled = props.componentDisabled,
|
|
98
|
+
iconUrl = props.iconUrl;
|
|
98
99
|
var getPrefixCls = React.useCallback(function (suffixCls, customizePrefixCls) {
|
|
99
100
|
var prefixCls = props.prefixCls;
|
|
100
101
|
if (customizePrefixCls) return customizePrefixCls;
|
|
@@ -109,7 +110,8 @@ var ProviderChildren = function ProviderChildren(props) {
|
|
|
109
110
|
space: space,
|
|
110
111
|
virtual: virtual,
|
|
111
112
|
dropdownMatchSelectWidth: dropdownMatchSelectWidth,
|
|
112
|
-
getPrefixCls: getPrefixCls
|
|
113
|
+
getPrefixCls: getPrefixCls,
|
|
114
|
+
iconUrl: iconUrl
|
|
113
115
|
}); // Pass the props used by `useContext` directly with child component.
|
|
114
116
|
// These props should merged into `config`.
|
|
115
117
|
|
package/es/Form/FormWrapper.js
CHANGED
|
@@ -14,10 +14,9 @@ function withComponent(WrappedComponent) {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
var FormWrapper = function FormWrapper(props) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
});
|
|
17
|
+
return /*#__PURE__*/React.createElement(WrapperItem, Object.assign({}, props, {
|
|
18
|
+
user: true
|
|
19
|
+
}));
|
|
21
20
|
};
|
|
22
21
|
|
|
23
22
|
export default withComponent(FormWrapper);
|