@qn-pandora/pandora-component 5.1.1 → 5.1.2
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/README.md +36 -36
- package/es/components/AutoComplete/style.css +17 -17
- package/es/components/AutoComplete/style.less +8 -8
- package/es/components/Breadcrumb/style.less +9 -9
- package/es/components/Button/style.css +69 -69
- package/es/components/Button/style.less +51 -51
- package/es/components/Card/RowExtra/style.less +8 -8
- package/es/components/Card/SearchInput/style.less +8 -8
- package/es/components/Card/style.css +11 -11
- package/es/components/Card/style.less +11 -11
- package/es/components/CheckTransformList/style.css +19 -19
- package/es/components/CheckTransformList/style.less +35 -35
- package/es/components/Checkbox/index.js +9 -1
- package/es/components/Checkbox/style.less +5 -5
- package/es/components/CheckboxList/style.css +5 -5
- package/es/components/CheckboxList/style.less +11 -11
- package/es/components/Collapse/style.css +1 -1
- package/es/components/Collapse/style.less +58 -58
- package/es/components/CollapsiblePanel/style.less +63 -63
- package/es/components/DateTimePicker/Base/index.d.ts +3 -0
- package/es/components/DateTimePicker/Base/index.js +51 -6
- package/es/components/DateTimePicker/Base/style.css +67 -61
- package/es/components/DateTimePicker/Base/style.less +167 -160
- package/es/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
- package/es/components/DateTimePicker/BaseMobile/style.less +32 -32
- package/es/components/DateTimePicker/Collapse/Panel/style.less +26 -26
- package/es/components/DateTimePicker/DisplayInput/index.js +3 -1
- package/es/components/DateTimePicker/DisplayInput/style.css +14 -14
- package/es/components/DateTimePicker/DisplayInput/style.less +9 -9
- package/es/components/DateTimePicker/constants.d.ts +9 -3
- package/es/components/DateTimePicker/constants.js +1 -0
- package/es/components/DateTimePicker/style.less +19 -19
- package/es/components/DateTimePicker/time.d.ts +1 -0
- package/es/components/DateTimePicker/time.js +1 -0
- package/es/components/DateTimePicker/transform.js +4 -2
- package/es/components/Descriptions/style.less +16 -16
- package/es/components/Drawer/CloseIcon/style.less +8 -8
- package/es/components/Drawer/index.d.ts +1 -1
- package/es/components/Drawer/style.less +69 -69
- package/es/components/FileResumable/index.js +2 -3
- package/es/components/FileResumable/style.css +8 -8
- package/es/components/FileResumable/style.less +94 -94
- package/es/components/FlameGraph/customTooltip.d.ts +22 -0
- package/es/components/FlameGraph/customTooltip.js +91 -0
- package/es/components/FlameGraph/index.d.ts +16 -0
- package/es/components/FlameGraph/index.js +96 -0
- package/es/components/FlameGraph/style.css +8 -0
- package/es/components/FlameGraph/style.less +14 -0
- package/es/components/Input/style.css +14 -14
- package/es/components/Input/style.less +12 -12
- package/es/components/KeyValuePair/style.less +25 -25
- package/es/components/Menu/Option.d.ts +1 -1
- package/es/components/Menu/Option.js +12 -4
- package/es/components/Menu/style.css +23 -23
- package/es/components/Menu/style.less +18 -18
- package/es/components/Modal/style.css +1 -1
- package/es/components/Modal/style.less +30 -30
- package/es/components/NameExplainTooltip/style.css +1 -1
- package/es/components/NameExplainTooltip/style.less +10 -10
- package/es/components/NameLimiter/style.less +19 -19
- package/es/components/OptionList/InlineOptionList/style.css +1 -1
- package/es/components/OptionList/InlineOptionList/style.less +16 -16
- package/es/components/OptionList/OptionItem/style.css +2 -2
- package/es/components/OptionList/OptionItem/style.less +25 -25
- package/es/components/OptionList/PopoverOptionList/style.css +3 -3
- package/es/components/OptionList/PopoverOptionList/style.less +30 -30
- package/es/components/OptionList/style.css +6 -6
- package/es/components/OptionList/style.less +3 -3
- package/es/components/RadioGroup/style.css +32 -32
- package/es/components/RadioGroup/style.less +41 -41
- package/es/components/RangeInput/style.css +29 -29
- package/es/components/RangeInput/style.less +37 -37
- package/es/components/RemarkName/style.less +2 -2
- package/es/components/Selector/style.css +17 -17
- package/es/components/Selector/style.less +99 -99
- package/es/components/Spin/style.css +2 -2
- package/es/components/Spin/style.less +26 -26
- package/es/components/Steps/ControlButton/style.less +5 -5
- package/es/components/Steps/style.css +16 -16
- package/es/components/Steps/style.less +48 -48
- package/es/components/Table/ColumnSetting/index.d.ts +1 -0
- package/es/components/Table/ColumnSetting/index.js +19 -14
- package/es/components/Table/ColumnSetting/style.less +50 -50
- package/es/components/Table/ColumnTag/style.css +4 -4
- package/es/components/Table/ColumnTag/style.less +40 -40
- package/es/components/Table/EmptyText.d.ts +7 -0
- package/es/components/Table/EmptyText.js +22 -0
- package/es/components/Table/ResizableTitle/style.less +25 -25
- package/es/components/Table/index.d.ts +11 -83
- package/es/components/Table/index.js +113 -286
- package/es/components/Table/style.css +54 -44
- package/es/components/Table/style.less +364 -345
- package/es/components/Table/type.d.ts +63 -0
- package/es/components/Table/type.js +5 -0
- package/es/components/Table/util.d.ts +58 -0
- package/es/components/Table/util.js +218 -0
- package/es/components/Tabs/style.css +10 -10
- package/es/components/Tabs/style.less +33 -33
- package/es/components/TagList/Tag/style.css +5 -5
- package/es/components/TagList/Tag/style.less +72 -72
- package/es/components/TagList/TagSwitch/style.css +1 -1
- package/es/components/TagList/TagSwitch/style.less +28 -28
- package/es/components/TagList/style.css +6 -6
- package/es/components/TagList/style.less +28 -28
- package/es/components/Timeline/TimelineItem/style.css +1 -1
- package/es/components/Timeline/TimelineItem/style.less +49 -49
- package/es/components/Timeline/style.less +23 -23
- package/es/components/TopologyChart/style.less +14 -14
- package/es/components/Transfer/List/style.less +19 -19
- package/es/components/Transfer/ListBody/style.less +18 -18
- package/es/components/Transfer/style.less +14 -14
- package/es/components/TreeSelector/style.css +21 -21
- package/es/components/TreeSelector/style.less +56 -56
- package/es/constants/language/datetime/en.js +4 -2
- package/es/constants/language/datetime/type.d.ts +4 -2
- package/es/constants/language/datetime/zh.js +4 -2
- package/es/index.css +6268 -6244
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/index.less +56 -55
- package/es/style/mixin.less +45 -45
- package/es/style/theme.less +416 -416
- package/lib/components/AutoComplete/style.css +17 -17
- package/lib/components/AutoComplete/style.less +8 -8
- package/lib/components/Breadcrumb/style.less +9 -9
- package/lib/components/Button/style.css +69 -69
- package/lib/components/Button/style.less +51 -51
- package/lib/components/Card/RowExtra/style.less +8 -8
- package/lib/components/Card/SearchInput/style.less +8 -8
- package/lib/components/Card/style.css +11 -11
- package/lib/components/Card/style.less +11 -11
- package/lib/components/CheckTransformList/style.css +19 -19
- package/lib/components/CheckTransformList/style.less +35 -35
- package/lib/components/Checkbox/index.js +9 -1
- package/lib/components/Checkbox/style.less +5 -5
- package/lib/components/CheckboxList/style.css +5 -5
- package/lib/components/CheckboxList/style.less +11 -11
- package/lib/components/Collapse/style.css +1 -1
- package/lib/components/Collapse/style.less +58 -58
- package/lib/components/CollapsiblePanel/style.less +63 -63
- package/lib/components/DateTimePicker/Base/index.d.ts +3 -0
- package/lib/components/DateTimePicker/Base/index.js +51 -6
- package/lib/components/DateTimePicker/Base/style.css +67 -61
- package/lib/components/DateTimePicker/Base/style.less +167 -160
- package/lib/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
- package/lib/components/DateTimePicker/BaseMobile/style.less +32 -32
- package/lib/components/DateTimePicker/Collapse/Panel/style.less +26 -26
- package/lib/components/DateTimePicker/DisplayInput/index.js +3 -1
- package/lib/components/DateTimePicker/DisplayInput/style.css +14 -14
- package/lib/components/DateTimePicker/DisplayInput/style.less +9 -9
- package/lib/components/DateTimePicker/constants.d.ts +9 -3
- package/lib/components/DateTimePicker/constants.js +1 -0
- package/lib/components/DateTimePicker/style.less +19 -19
- package/lib/components/DateTimePicker/time.d.ts +1 -0
- package/lib/components/DateTimePicker/time.js +1 -0
- package/lib/components/DateTimePicker/transform.js +4 -2
- package/lib/components/Descriptions/style.less +16 -16
- package/lib/components/Drawer/CloseIcon/style.less +8 -8
- package/lib/components/Drawer/index.d.ts +1 -1
- package/lib/components/Drawer/style.less +69 -69
- package/lib/components/FileResumable/index.js +2 -3
- package/lib/components/FileResumable/style.css +8 -8
- package/lib/components/FileResumable/style.less +94 -94
- package/lib/components/FlameGraph/customTooltip.d.ts +22 -0
- package/lib/components/FlameGraph/customTooltip.js +114 -0
- package/lib/components/FlameGraph/index.d.ts +16 -0
- package/lib/components/FlameGraph/index.js +117 -0
- package/lib/components/FlameGraph/style.css +8 -0
- package/lib/components/FlameGraph/style.less +14 -0
- package/lib/components/Input/style.css +14 -14
- package/lib/components/Input/style.less +12 -12
- package/lib/components/KeyValuePair/style.less +25 -25
- package/lib/components/Menu/Option.d.ts +1 -1
- package/lib/components/Menu/Option.js +17 -25
- package/lib/components/Menu/style.css +23 -23
- package/lib/components/Menu/style.less +18 -18
- package/lib/components/Modal/style.css +1 -1
- package/lib/components/Modal/style.less +30 -30
- package/lib/components/NameExplainTooltip/style.css +1 -1
- package/lib/components/NameExplainTooltip/style.less +10 -10
- package/lib/components/NameLimiter/style.less +19 -19
- package/lib/components/OptionList/InlineOptionList/style.css +1 -1
- package/lib/components/OptionList/InlineOptionList/style.less +16 -16
- package/lib/components/OptionList/OptionItem/style.css +2 -2
- package/lib/components/OptionList/OptionItem/style.less +25 -25
- package/lib/components/OptionList/PopoverOptionList/style.css +3 -3
- package/lib/components/OptionList/PopoverOptionList/style.less +30 -30
- package/lib/components/OptionList/style.css +6 -6
- package/lib/components/OptionList/style.less +3 -3
- package/lib/components/RadioGroup/style.css +32 -32
- package/lib/components/RadioGroup/style.less +41 -41
- package/lib/components/RangeInput/style.css +29 -29
- package/lib/components/RangeInput/style.less +37 -37
- package/lib/components/RemarkName/style.less +2 -2
- package/lib/components/Selector/style.css +17 -17
- package/lib/components/Selector/style.less +99 -99
- package/lib/components/Spin/style.css +2 -2
- package/lib/components/Spin/style.less +26 -26
- package/lib/components/Steps/ControlButton/style.less +5 -5
- package/lib/components/Steps/style.css +16 -16
- package/lib/components/Steps/style.less +48 -48
- package/lib/components/Table/ColumnSetting/index.d.ts +1 -0
- package/lib/components/Table/ColumnSetting/index.js +19 -14
- package/lib/components/Table/ColumnSetting/style.less +50 -50
- package/lib/components/Table/ColumnTag/style.css +4 -4
- package/lib/components/Table/ColumnTag/style.less +40 -40
- package/lib/components/Table/EmptyText.d.ts +7 -0
- package/lib/components/Table/EmptyText.js +27 -0
- package/lib/components/Table/ResizableTitle/style.less +25 -25
- package/lib/components/Table/index.d.ts +11 -83
- package/lib/components/Table/index.js +117 -288
- package/lib/components/Table/style.css +54 -44
- package/lib/components/Table/style.less +364 -345
- package/lib/components/Table/type.d.ts +63 -0
- package/lib/components/Table/type.js +8 -0
- package/lib/components/Table/util.d.ts +58 -0
- package/lib/components/Table/util.js +227 -0
- package/lib/components/Tabs/style.css +10 -10
- package/lib/components/Tabs/style.less +33 -33
- package/lib/components/TagList/Tag/style.css +5 -5
- package/lib/components/TagList/Tag/style.less +72 -72
- package/lib/components/TagList/TagSwitch/style.css +1 -1
- package/lib/components/TagList/TagSwitch/style.less +28 -28
- package/lib/components/TagList/style.css +6 -6
- package/lib/components/TagList/style.less +28 -28
- package/lib/components/Timeline/TimelineItem/style.css +1 -1
- package/lib/components/Timeline/TimelineItem/style.less +49 -49
- package/lib/components/Timeline/style.less +23 -23
- package/lib/components/TopologyChart/style.less +14 -14
- package/lib/components/Transfer/List/style.less +19 -19
- package/lib/components/Transfer/ListBody/style.less +18 -18
- package/lib/components/Transfer/style.less +14 -14
- package/lib/components/TreeSelector/style.css +21 -21
- package/lib/components/TreeSelector/style.less +56 -56
- package/lib/constants/language/datetime/en.js +4 -2
- package/lib/constants/language/datetime/type.d.ts +4 -2
- package/lib/constants/language/datetime/zh.js +4 -2
- package/lib/index.css +4726 -4702
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -1
- package/lib/index.less +56 -55
- package/lib/style/mixin.less +45 -45
- package/lib/style/theme.less +416 -416
- package/package.json +7 -4
@@ -1,8 +1,8 @@
|
|
1
|
-
@import 'antd/lib/grid/style/index.less';
|
2
|
-
@import '../../../style/theme.less';
|
3
|
-
|
4
|
-
.@{sdk-prefix}-card-row-extra {
|
5
|
-
button {
|
6
|
-
min-width: 80px;
|
7
|
-
}
|
8
|
-
}
|
1
|
+
@import 'antd/lib/grid/style/index.less';
|
2
|
+
@import '../../../style/theme.less';
|
3
|
+
|
4
|
+
.@{sdk-prefix}-card-row-extra {
|
5
|
+
button {
|
6
|
+
min-width: 80px;
|
7
|
+
}
|
8
|
+
}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
@import '../../../style/theme.less';
|
2
|
-
|
3
|
-
.@{sdk-prefix}-card-search-input {
|
4
|
-
min-width: 200px;
|
5
|
-
i {
|
6
|
-
color: @input-placeholder-color;
|
7
|
-
}
|
8
|
-
}
|
1
|
+
@import '../../../style/theme.less';
|
2
|
+
|
3
|
+
.@{sdk-prefix}-card-search-input {
|
4
|
+
min-width: 200px;
|
5
|
+
i {
|
6
|
+
color: @input-placeholder-color;
|
7
|
+
}
|
8
|
+
}
|
@@ -192,7 +192,7 @@
|
|
192
192
|
cursor: pointer;
|
193
193
|
}
|
194
194
|
.ant-card-actions > li > span:hover {
|
195
|
-
color: #
|
195
|
+
color: #436bff;
|
196
196
|
-webkit-transition: color 0.3s;
|
197
197
|
transition: color 0.3s;
|
198
198
|
}
|
@@ -207,7 +207,7 @@
|
|
207
207
|
}
|
208
208
|
.ant-card-actions > li > span a:not(.ant-btn):hover,
|
209
209
|
.ant-card-actions > li > span > .anticon:hover {
|
210
|
-
color: #
|
210
|
+
color: #436bff;
|
211
211
|
}
|
212
212
|
.ant-card-actions > li > span > .anticon {
|
213
213
|
font-size: 16px;
|
@@ -691,10 +691,10 @@
|
|
691
691
|
cursor: pointer;
|
692
692
|
}
|
693
693
|
.ant-tabs-dropdown-menu-item-remove:hover {
|
694
|
-
color: #
|
694
|
+
color: #436bff;
|
695
695
|
}
|
696
696
|
.ant-tabs-dropdown-menu-item:hover {
|
697
|
-
background: rgba(
|
697
|
+
background: rgba(67, 107, 255, 0.05);
|
698
698
|
}
|
699
699
|
.ant-tabs-dropdown-menu-item-disabled,
|
700
700
|
.ant-tabs-dropdown-menu-item-disabled:hover {
|
@@ -713,7 +713,7 @@
|
|
713
713
|
}
|
714
714
|
.ant-tabs-card > .ant-tabs-nav .ant-tabs-tab-active,
|
715
715
|
.ant-tabs-card > div > .ant-tabs-nav .ant-tabs-tab-active {
|
716
|
-
color: #
|
716
|
+
color: #436bff;
|
717
717
|
background: #ffffff;
|
718
718
|
}
|
719
719
|
.ant-tabs-card > .ant-tabs-nav .ant-tabs-ink-bar,
|
@@ -880,13 +880,13 @@
|
|
880
880
|
}
|
881
881
|
.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:hover,
|
882
882
|
.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:hover {
|
883
|
-
color: #
|
883
|
+
color: #436bff;
|
884
884
|
}
|
885
885
|
.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:active,
|
886
886
|
.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:active,
|
887
887
|
.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:focus,
|
888
888
|
.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:focus {
|
889
|
-
color: #
|
889
|
+
color: #436bff;
|
890
890
|
}
|
891
891
|
.ant-tabs-extra-content {
|
892
892
|
-webkit-box-flex: 0;
|
@@ -901,7 +901,7 @@
|
|
901
901
|
}
|
902
902
|
.ant-tabs-ink-bar {
|
903
903
|
position: absolute;
|
904
|
-
background: #
|
904
|
+
background: #436bff;
|
905
905
|
pointer-events: none;
|
906
906
|
}
|
907
907
|
.ant-tabs-tab {
|
@@ -923,7 +923,7 @@
|
|
923
923
|
.ant-tabs-tab-remove:focus,
|
924
924
|
.ant-tabs-tab-btn:active,
|
925
925
|
.ant-tabs-tab-remove:active {
|
926
|
-
color: #
|
926
|
+
color: #436bff;
|
927
927
|
}
|
928
928
|
.ant-tabs-tab-btn {
|
929
929
|
outline: none;
|
@@ -949,10 +949,10 @@
|
|
949
949
|
color: #333;
|
950
950
|
}
|
951
951
|
.ant-tabs-tab:hover {
|
952
|
-
color: #
|
952
|
+
color: #436bff;
|
953
953
|
}
|
954
954
|
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
|
955
|
-
color: #
|
955
|
+
color: #436bff;
|
956
956
|
text-shadow: 0 0 0.25px currentcolor;
|
957
957
|
}
|
958
958
|
.ant-tabs-tab.ant-tabs-tab-disabled {
|
@@ -1,11 +1,11 @@
|
|
1
|
-
@import 'antd/lib/card/style/index.less';
|
2
|
-
@import 'antd/lib/tabs/style/index.less';
|
3
|
-
@import '../../style/theme.less';
|
4
|
-
|
5
|
-
.@{sdk-prefix}-card {
|
6
|
-
.@{ant-prefix}-card-head {
|
7
|
-
.@{ant-prefix}-card-extra {
|
8
|
-
padding: 0;
|
9
|
-
}
|
10
|
-
}
|
11
|
-
}
|
1
|
+
@import 'antd/lib/card/style/index.less';
|
2
|
+
@import 'antd/lib/tabs/style/index.less';
|
3
|
+
@import '../../style/theme.less';
|
4
|
+
|
5
|
+
.@{sdk-prefix}-card {
|
6
|
+
.@{ant-prefix}-card-head {
|
7
|
+
.@{ant-prefix}-card-extra {
|
8
|
+
padding: 0;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
}
|
@@ -175,7 +175,7 @@
|
|
175
175
|
.ant-checkbox-wrapper:hover .ant-checkbox-inner,
|
176
176
|
.ant-checkbox:hover .ant-checkbox-inner,
|
177
177
|
.ant-checkbox-input:focus + .ant-checkbox-inner {
|
178
|
-
border-color: #
|
178
|
+
border-color: #436bff;
|
179
179
|
}
|
180
180
|
.ant-checkbox-checked::after {
|
181
181
|
position: absolute;
|
@@ -183,7 +183,7 @@
|
|
183
183
|
left: 0;
|
184
184
|
width: 100%;
|
185
185
|
height: 100%;
|
186
|
-
border: 1px solid #
|
186
|
+
border: 1px solid #436bff;
|
187
187
|
border-radius: 2px;
|
188
188
|
visibility: hidden;
|
189
189
|
-webkit-animation: antCheckboxEffect 0.36s ease-in-out;
|
@@ -254,8 +254,8 @@
|
|
254
254
|
content: ' ';
|
255
255
|
}
|
256
256
|
.ant-checkbox-checked .ant-checkbox-inner {
|
257
|
-
background-color: #
|
258
|
-
border-color: #
|
257
|
+
background-color: #436bff;
|
258
|
+
border-color: #436bff;
|
259
259
|
}
|
260
260
|
.ant-checkbox-disabled {
|
261
261
|
cursor: not-allowed;
|
@@ -360,7 +360,7 @@
|
|
360
360
|
left: 50%;
|
361
361
|
width: 8px;
|
362
362
|
height: 8px;
|
363
|
-
background-color: #
|
363
|
+
background-color: #436bff;
|
364
364
|
border: 0;
|
365
365
|
-webkit-transform: translate(-50%, -50%) scale(1);
|
366
366
|
transform: translate(-50%, -50%) scale(1);
|
@@ -429,7 +429,7 @@
|
|
429
429
|
text-overflow: ellipsis;
|
430
430
|
}
|
431
431
|
.ant-input-affix-wrapper:hover {
|
432
|
-
border-color: #
|
432
|
+
border-color: #436bff;
|
433
433
|
border-right-width: 1px;
|
434
434
|
}
|
435
435
|
.ant-input-rtl .ant-input-affix-wrapper:hover {
|
@@ -438,9 +438,9 @@
|
|
438
438
|
}
|
439
439
|
.ant-input-affix-wrapper:focus,
|
440
440
|
.ant-input-affix-wrapper-focused {
|
441
|
-
border-color: #
|
442
|
-
-webkit-box-shadow: 0 0 0 2px rgba(
|
443
|
-
box-shadow: 0 0 0 2px rgba(
|
441
|
+
border-color: #6b90ff;
|
442
|
+
-webkit-box-shadow: 0 0 0 2px rgba(67, 107, 255, 0.2);
|
443
|
+
box-shadow: 0 0 0 2px rgba(67, 107, 255, 0.2);
|
444
444
|
border-right-width: 1px;
|
445
445
|
outline: 0;
|
446
446
|
}
|
@@ -506,7 +506,7 @@ textarea.ant-input-affix-wrapper {
|
|
506
506
|
direction: rtl;
|
507
507
|
}
|
508
508
|
.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {
|
509
|
-
border-color: #
|
509
|
+
border-color: #436bff;
|
510
510
|
border-right-width: 1px;
|
511
511
|
z-index: 1;
|
512
512
|
}
|
@@ -734,7 +734,7 @@ textarea.ant-input-affix-wrapper {
|
|
734
734
|
text-overflow: ellipsis;
|
735
735
|
}
|
736
736
|
.ant-input:hover {
|
737
|
-
border-color: #
|
737
|
+
border-color: #436bff;
|
738
738
|
border-right-width: 1px;
|
739
739
|
}
|
740
740
|
.ant-input-rtl .ant-input:hover {
|
@@ -743,9 +743,9 @@ textarea.ant-input-affix-wrapper {
|
|
743
743
|
}
|
744
744
|
.ant-input:focus,
|
745
745
|
.ant-input-focused {
|
746
|
-
border-color: #
|
747
|
-
-webkit-box-shadow: 0 0 0 2px rgba(
|
748
|
-
box-shadow: 0 0 0 2px rgba(
|
746
|
+
border-color: #6b90ff;
|
747
|
+
-webkit-box-shadow: 0 0 0 2px rgba(67, 107, 255, 0.2);
|
748
|
+
box-shadow: 0 0 0 2px rgba(67, 107, 255, 0.2);
|
749
749
|
border-right-width: 1px;
|
750
750
|
outline: 0;
|
751
751
|
}
|
@@ -899,7 +899,7 @@ textarea.ant-input {
|
|
899
899
|
}
|
900
900
|
.ant-input-group-addon .ant-select-open .ant-select-selector,
|
901
901
|
.ant-input-group-addon .ant-select-focused .ant-select-selector {
|
902
|
-
color: #
|
902
|
+
color: #436bff;
|
903
903
|
}
|
904
904
|
.ant-input-group-addon .ant-cascader-picker {
|
905
905
|
margin: -9px -12px;
|
@@ -1212,11 +1212,11 @@ textarea.ant-input {
|
|
1212
1212
|
}
|
1213
1213
|
.ant-input-search .ant-input:hover,
|
1214
1214
|
.ant-input-search .ant-input:focus {
|
1215
|
-
border-color: #
|
1215
|
+
border-color: #436bff;
|
1216
1216
|
}
|
1217
1217
|
.ant-input-search .ant-input:hover + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),
|
1218
1218
|
.ant-input-search .ant-input:focus + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary) {
|
1219
|
-
border-left-color: #
|
1219
|
+
border-left-color: #436bff;
|
1220
1220
|
}
|
1221
1221
|
.ant-input-search .ant-input-affix-wrapper {
|
1222
1222
|
border-radius: 0;
|
@@ -1321,11 +1321,11 @@ textarea.ant-input {
|
|
1321
1321
|
}
|
1322
1322
|
.ant-input-search-rtl .ant-input:hover + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary):hover,
|
1323
1323
|
.ant-input-search-rtl .ant-input:focus + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary):hover {
|
1324
|
-
border-left-color: #
|
1324
|
+
border-left-color: #436bff;
|
1325
1325
|
}
|
1326
1326
|
.ant-input-search-rtl > .ant-input-group > .ant-input-affix-wrapper:hover,
|
1327
1327
|
.ant-input-search-rtl > .ant-input-group > .ant-input-affix-wrapper-focused {
|
1328
|
-
border-right-color: #
|
1328
|
+
border-right-color: #436bff;
|
1329
1329
|
}
|
1330
1330
|
.ant-input-search-rtl > .ant-input-group > .ant-input-group-addon:last-child {
|
1331
1331
|
right: -1px;
|
@@ -1,35 +1,35 @@
|
|
1
|
-
@import 'antd/lib/divider/style/index.less';
|
2
|
-
@import 'antd/lib/checkbox/style/index.less';
|
3
|
-
@import 'antd/lib/input/style/index.less';
|
4
|
-
@import '../NameLimiter/style.less';
|
5
|
-
@import '../../style/theme.less';
|
6
|
-
|
7
|
-
.@{sdk-prefix}-check-transform-list {
|
8
|
-
display: flex;
|
9
|
-
margin-top: 20px;
|
10
|
-
padding-left: 5px;
|
11
|
-
padding-right: 5px;
|
12
|
-
.@{sdk-prefix}-check-transform-divider {
|
13
|
-
height: auto;
|
14
|
-
margin-left: 40px;
|
15
|
-
margin-right: 40px;
|
16
|
-
}
|
17
|
-
}
|
18
|
-
.@{sdk-prefix}-check-transform {
|
19
|
-
flex: 1;
|
20
|
-
.@{sdk-prefix}-check-transform-header {
|
21
|
-
margin-bottom: 10px;
|
22
|
-
}
|
23
|
-
.@{sdk-prefix}-check-transform-search {
|
24
|
-
width: 100%;
|
25
|
-
height: 40px;
|
26
|
-
margin-bottom: 10px;
|
27
|
-
}
|
28
|
-
.@{sdk-prefix}-check-transform-checkBox {
|
29
|
-
line-height: 40px;
|
30
|
-
|
31
|
-
.@{sdk-prefix}-check-transform-checkbox-group {
|
32
|
-
line-height: 40px;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
}
|
1
|
+
@import 'antd/lib/divider/style/index.less';
|
2
|
+
@import 'antd/lib/checkbox/style/index.less';
|
3
|
+
@import 'antd/lib/input/style/index.less';
|
4
|
+
@import '../NameLimiter/style.less';
|
5
|
+
@import '../../style/theme.less';
|
6
|
+
|
7
|
+
.@{sdk-prefix}-check-transform-list {
|
8
|
+
display: flex;
|
9
|
+
margin-top: 20px;
|
10
|
+
padding-left: 5px;
|
11
|
+
padding-right: 5px;
|
12
|
+
.@{sdk-prefix}-check-transform-divider {
|
13
|
+
height: auto;
|
14
|
+
margin-left: 40px;
|
15
|
+
margin-right: 40px;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
.@{sdk-prefix}-check-transform {
|
19
|
+
flex: 1;
|
20
|
+
.@{sdk-prefix}-check-transform-header {
|
21
|
+
margin-bottom: 10px;
|
22
|
+
}
|
23
|
+
.@{sdk-prefix}-check-transform-search {
|
24
|
+
width: 100%;
|
25
|
+
height: 40px;
|
26
|
+
margin-bottom: 10px;
|
27
|
+
}
|
28
|
+
.@{sdk-prefix}-check-transform-checkBox {
|
29
|
+
line-height: 40px;
|
30
|
+
|
31
|
+
.@{sdk-prefix}-check-transform-checkbox-group {
|
32
|
+
line-height: 40px;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
@@ -45,7 +45,15 @@ var React = __importStar(require("react"));
|
|
45
45
|
var antd_1 = require("antd");
|
46
46
|
function Checkbox(props) {
|
47
47
|
var value = props.value, onChange = props.onChange, other = __rest(props, ["value", "onChange"]);
|
48
|
-
var handleChange = React.useCallback(function () {
|
48
|
+
var handleChange = React.useCallback(function (e) {
|
49
|
+
/**
|
50
|
+
* 原因未知,可能是浏览器差异
|
51
|
+
* <Form mobxForm={xxx}><Form.Item><Checkbox/<</Form.Item></Form>
|
52
|
+
* 阻止事件冒泡(在火狐浏览器下,使用下面此列子,Checkbox onchange 事件不响应,click 事件响应两次, input 的点击事件冒泡没导致input 的执行一次,等层的label 执行一次)
|
53
|
+
*/
|
54
|
+
e.preventDefault();
|
55
|
+
e.stopPropagation();
|
56
|
+
e.nativeEvent.stopImmediatePropagation();
|
49
57
|
if (onChange) {
|
50
58
|
onChange(!value);
|
51
59
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
@import 'antd/lib/checkbox/style/index.less';
|
2
|
-
|
3
|
-
.@{ant-prefix}-checkbox-inner::after {
|
4
|
-
left: 20%;
|
5
|
-
}
|
1
|
+
@import 'antd/lib/checkbox/style/index.less';
|
2
|
+
|
3
|
+
.@{ant-prefix}-checkbox-inner::after {
|
4
|
+
left: 20%;
|
5
|
+
}
|
@@ -48,7 +48,7 @@
|
|
48
48
|
.ant-checkbox-wrapper:hover .ant-checkbox-inner,
|
49
49
|
.ant-checkbox:hover .ant-checkbox-inner,
|
50
50
|
.ant-checkbox-input:focus + .ant-checkbox-inner {
|
51
|
-
border-color: #
|
51
|
+
border-color: #436bff;
|
52
52
|
}
|
53
53
|
.ant-checkbox-checked::after {
|
54
54
|
position: absolute;
|
@@ -56,7 +56,7 @@
|
|
56
56
|
left: 0;
|
57
57
|
width: 100%;
|
58
58
|
height: 100%;
|
59
|
-
border: 1px solid #
|
59
|
+
border: 1px solid #436bff;
|
60
60
|
border-radius: 2px;
|
61
61
|
visibility: hidden;
|
62
62
|
-webkit-animation: antCheckboxEffect 0.36s ease-in-out;
|
@@ -127,8 +127,8 @@
|
|
127
127
|
content: ' ';
|
128
128
|
}
|
129
129
|
.ant-checkbox-checked .ant-checkbox-inner {
|
130
|
-
background-color: #
|
131
|
-
border-color: #
|
130
|
+
background-color: #436bff;
|
131
|
+
border-color: #436bff;
|
132
132
|
}
|
133
133
|
.ant-checkbox-disabled {
|
134
134
|
cursor: not-allowed;
|
@@ -233,7 +233,7 @@
|
|
233
233
|
left: 50%;
|
234
234
|
width: 8px;
|
235
235
|
height: 8px;
|
236
|
-
background-color: #
|
236
|
+
background-color: #436bff;
|
237
237
|
border: 0;
|
238
238
|
-webkit-transform: translate(-50%, -50%) scale(1);
|
239
239
|
transform: translate(-50%, -50%) scale(1);
|
@@ -1,11 +1,11 @@
|
|
1
|
-
@import 'antd/lib/checkbox/style/index.less';
|
2
|
-
@import '../../style/theme.less';
|
3
|
-
|
4
|
-
.@{sdk-prefix}-checkbox-item {
|
5
|
-
white-space: nowrap;
|
6
|
-
width: 100%;
|
7
|
-
&.@{ant-prefix}-checkbox-wrapper {
|
8
|
-
margin-left: 0;
|
9
|
-
line-height: 25px;
|
10
|
-
}
|
11
|
-
}
|
1
|
+
@import 'antd/lib/checkbox/style/index.less';
|
2
|
+
@import '../../style/theme.less';
|
3
|
+
|
4
|
+
.@{sdk-prefix}-checkbox-item {
|
5
|
+
white-space: nowrap;
|
6
|
+
width: 100%;
|
7
|
+
&.@{ant-prefix}-checkbox-wrapper {
|
8
|
+
margin-left: 0;
|
9
|
+
line-height: 25px;
|
10
|
+
}
|
11
|
+
}
|
@@ -1,58 +1,58 @@
|
|
1
|
-
@import 'antd/lib/collapse/style/index.less';
|
2
|
-
@import '../../style/theme.less';
|
3
|
-
|
4
|
-
.@{sdk-prefix}-collapse-simple {
|
5
|
-
border-width: 0px;
|
6
|
-
color: @heading-color;
|
7
|
-
}
|
8
|
-
|
9
|
-
.@{sdk-prefix}-collapse-simple > .@{ant-prefix}-collapse-item {
|
10
|
-
> .@{ant-prefix}-collapse-header {
|
11
|
-
background-color: @normal-color;
|
12
|
-
> .@{ant-prefix}-collapse-arrow {
|
13
|
-
color: @heading-color;
|
14
|
-
}
|
15
|
-
}
|
16
|
-
> .@{ant-prefix}-collapse-content {
|
17
|
-
color: heading-color;
|
18
|
-
border-top-width: 0px;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
.@{sdk-prefix}-collapse-primary,
|
23
|
-
.@{sdk-prefix}-collapse-dashed {
|
24
|
-
border: none;
|
25
|
-
}
|
26
|
-
|
27
|
-
.@{sdk-prefix}-collapse-primary > .@{ant-prefix}-collapse-item {
|
28
|
-
border: none;
|
29
|
-
> .@{ant-prefix}-collapse-header {
|
30
|
-
padding: 5px 16px;
|
31
|
-
border-bottom-width: 0px;
|
32
|
-
background-color: @table-thead-bg;
|
33
|
-
font-weight: 500;
|
34
|
-
position: relative;
|
35
|
-
.@{sdk-prefix}-header-line {
|
36
|
-
width: 2px;
|
37
|
-
height: 16px;
|
38
|
-
position: absolute;
|
39
|
-
top: 8px;
|
40
|
-
left: 0px;
|
41
|
-
background-color: @theme-color;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
> .@{ant-prefix}-collapse-content {
|
45
|
-
border: none;
|
46
|
-
}
|
47
|
-
}
|
48
|
-
|
49
|
-
.@{sdk-prefix}-collapse-dashed > .@{ant-prefix}-collapse-item {
|
50
|
-
border: 1px dashed @border-color-1;
|
51
|
-
margin-bottom: 12px;
|
52
|
-
> .@{ant-prefix}-collapse-header {
|
53
|
-
background-color: @normal-color;
|
54
|
-
}
|
55
|
-
> .@{ant-prefix}-collapse-content {
|
56
|
-
border: none;
|
57
|
-
}
|
58
|
-
}
|
1
|
+
@import 'antd/lib/collapse/style/index.less';
|
2
|
+
@import '../../style/theme.less';
|
3
|
+
|
4
|
+
.@{sdk-prefix}-collapse-simple {
|
5
|
+
border-width: 0px;
|
6
|
+
color: @heading-color;
|
7
|
+
}
|
8
|
+
|
9
|
+
.@{sdk-prefix}-collapse-simple > .@{ant-prefix}-collapse-item {
|
10
|
+
> .@{ant-prefix}-collapse-header {
|
11
|
+
background-color: @normal-color;
|
12
|
+
> .@{ant-prefix}-collapse-arrow {
|
13
|
+
color: @heading-color;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
> .@{ant-prefix}-collapse-content {
|
17
|
+
color: heading-color;
|
18
|
+
border-top-width: 0px;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
.@{sdk-prefix}-collapse-primary,
|
23
|
+
.@{sdk-prefix}-collapse-dashed {
|
24
|
+
border: none;
|
25
|
+
}
|
26
|
+
|
27
|
+
.@{sdk-prefix}-collapse-primary > .@{ant-prefix}-collapse-item {
|
28
|
+
border: none;
|
29
|
+
> .@{ant-prefix}-collapse-header {
|
30
|
+
padding: 5px 16px;
|
31
|
+
border-bottom-width: 0px;
|
32
|
+
background-color: @table-thead-bg;
|
33
|
+
font-weight: 500;
|
34
|
+
position: relative;
|
35
|
+
.@{sdk-prefix}-header-line {
|
36
|
+
width: 2px;
|
37
|
+
height: 16px;
|
38
|
+
position: absolute;
|
39
|
+
top: 8px;
|
40
|
+
left: 0px;
|
41
|
+
background-color: @theme-color;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
> .@{ant-prefix}-collapse-content {
|
45
|
+
border: none;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
.@{sdk-prefix}-collapse-dashed > .@{ant-prefix}-collapse-item {
|
50
|
+
border: 1px dashed @border-color-1;
|
51
|
+
margin-bottom: 12px;
|
52
|
+
> .@{ant-prefix}-collapse-header {
|
53
|
+
background-color: @normal-color;
|
54
|
+
}
|
55
|
+
> .@{ant-prefix}-collapse-content {
|
56
|
+
border: none;
|
57
|
+
}
|
58
|
+
}
|
@@ -1,63 +1,63 @@
|
|
1
|
-
@import '../../style/theme.less';
|
2
|
-
|
3
|
-
.@{sdk-prefix}-collapsible-panel {
|
4
|
-
& > .panel-header {
|
5
|
-
position: relative;
|
6
|
-
padding: 12px 16px 12px 40px;
|
7
|
-
cursor: pointer;
|
8
|
-
color: @text-color;
|
9
|
-
background-color: @gray-bg-color;
|
10
|
-
border: 1px solid @border-color-base;
|
11
|
-
> .icon {
|
12
|
-
position: absolute;
|
13
|
-
left: 16px;
|
14
|
-
top: 50%;
|
15
|
-
transform: translateY(-50%);
|
16
|
-
> i {
|
17
|
-
color: inherit;
|
18
|
-
> svg {
|
19
|
-
transition: transform 0.2s linear;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
&.disabled-header {
|
25
|
-
cursor: not-allowed;
|
26
|
-
}
|
27
|
-
}
|
28
|
-
& > .panel-content-box {
|
29
|
-
overflow-y: hidden;
|
30
|
-
padding: 0;
|
31
|
-
margin: 0;
|
32
|
-
border: none;
|
33
|
-
& > div > .panel-content {
|
34
|
-
padding: 8px 16px;
|
35
|
-
color: @text-color;
|
36
|
-
background-color: @component-background;
|
37
|
-
border: 1px solid @border-color-base;
|
38
|
-
border-top: none;
|
39
|
-
overflow-x: auto;
|
40
|
-
}
|
41
|
-
}
|
42
|
-
&.no-border {
|
43
|
-
& > .panel-header,
|
44
|
-
& > .panel-content-box > div > .panel-content {
|
45
|
-
border: none;
|
46
|
-
}
|
47
|
-
}
|
48
|
-
&.icon-right {
|
49
|
-
& > .panel-header {
|
50
|
-
padding: 12px 40px 12px 16px;
|
51
|
-
& > :local(.icon) {
|
52
|
-
left: unset;
|
53
|
-
right: 16px;
|
54
|
-
}
|
55
|
-
}
|
56
|
-
}
|
57
|
-
&.hide-arrow {
|
58
|
-
& > .panel-header {
|
59
|
-
padding-left: 16px;
|
60
|
-
padding-right: 16px;
|
61
|
-
}
|
62
|
-
}
|
63
|
-
}
|
1
|
+
@import '../../style/theme.less';
|
2
|
+
|
3
|
+
.@{sdk-prefix}-collapsible-panel {
|
4
|
+
& > .panel-header {
|
5
|
+
position: relative;
|
6
|
+
padding: 12px 16px 12px 40px;
|
7
|
+
cursor: pointer;
|
8
|
+
color: @text-color;
|
9
|
+
background-color: @gray-bg-color;
|
10
|
+
border: 1px solid @border-color-base;
|
11
|
+
> .icon {
|
12
|
+
position: absolute;
|
13
|
+
left: 16px;
|
14
|
+
top: 50%;
|
15
|
+
transform: translateY(-50%);
|
16
|
+
> i {
|
17
|
+
color: inherit;
|
18
|
+
> svg {
|
19
|
+
transition: transform 0.2s linear;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
&.disabled-header {
|
25
|
+
cursor: not-allowed;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
& > .panel-content-box {
|
29
|
+
overflow-y: hidden;
|
30
|
+
padding: 0;
|
31
|
+
margin: 0;
|
32
|
+
border: none;
|
33
|
+
& > div > .panel-content {
|
34
|
+
padding: 8px 16px;
|
35
|
+
color: @text-color;
|
36
|
+
background-color: @component-background;
|
37
|
+
border: 1px solid @border-color-base;
|
38
|
+
border-top: none;
|
39
|
+
overflow-x: auto;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
&.no-border {
|
43
|
+
& > .panel-header,
|
44
|
+
& > .panel-content-box > div > .panel-content {
|
45
|
+
border: none;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
&.icon-right {
|
49
|
+
& > .panel-header {
|
50
|
+
padding: 12px 40px 12px 16px;
|
51
|
+
& > :local(.icon) {
|
52
|
+
left: unset;
|
53
|
+
right: 16px;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
&.hide-arrow {
|
58
|
+
& > .panel-header {
|
59
|
+
padding-left: 16px;
|
60
|
+
padding-right: 16px;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|