@qn-pandora/pandora-component 2.1.1 → 2.2.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/es/components/AutoComplete/style.css +17 -13
- package/es/components/Button/style.css +2 -3
- package/es/components/Button/style.less +0 -1
- package/es/components/Card/index.js +2 -1
- package/es/components/CheckTransformList/Item/index.js +1 -1
- package/es/components/CheckTransformList/style.css +25 -17
- package/es/components/CheckboxList/index.d.ts +1 -0
- package/es/components/CheckboxList/index.js +3 -2
- package/es/components/Collapse/index.js +2 -1
- package/es/components/CollapsiblePanel/index.d.ts +2 -2
- package/es/components/ConfigProvider/index.js +2 -1
- package/es/components/DateTimePicker/Base/index.js +2 -2
- package/es/components/DateTimePicker/Base/style.css +13 -13
- package/es/components/DateTimePicker/BaseMobile/index.d.ts +1 -0
- package/es/components/DateTimePicker/BaseMobile/index.js +2 -2
- package/es/components/DateTimePicker/DisplayInput/style.css +16 -16
- package/es/components/DateTimePicker/index.d.ts +6 -1
- package/es/components/DateTimePicker/index.js +2 -2
- package/es/components/Input/NumberInput/index.d.ts +29 -0
- package/es/components/Input/NumberInput/index.js +116 -0
- package/es/components/Input/index.d.ts +1 -0
- package/es/components/Input/index.js +4 -1
- package/es/components/Input/style.css +19 -16
- package/es/components/Input/style.less +4 -0
- package/es/components/InputNumber/style.css +6 -6
- package/es/components/KeyValuePair/style.css +1 -0
- package/es/components/KeyValuePair/style.less +1 -0
- package/es/components/Menu/index.d.ts +2 -2
- package/es/components/NameLimiter/index.d.ts +3 -13
- package/es/components/NameLimiter/index.js +30 -39
- package/es/components/NameLimiter/style.css +9 -1
- package/es/components/NameLimiter/style.less +10 -1
- package/es/components/OptionList/index.js +2 -1
- package/es/components/RangeInput/style.css +22 -22
- package/es/components/RemarkName/index.d.ts +0 -2
- package/es/components/RemarkName/index.js +2 -4
- package/es/components/RemarkName/style.css +9 -5
- package/es/components/RemarkName/style.less +0 -5
- package/es/components/Selector/style.css +17 -13
- package/es/components/Selector/style.less +7 -3
- package/es/components/SolidRadioGroup/index.d.ts +3 -2
- package/es/components/SolidRadioGroup/index.js +7 -4
- package/es/components/SolidRadioGroup/style.css +13 -6
- package/es/components/SolidRadioGroup/style.less +16 -3
- package/es/components/Steps/index.js +2 -1
- package/es/components/Table/index.d.ts +9 -24
- package/es/components/Table/index.js +40 -8
- package/es/components/Table/style.css +11 -8
- package/es/components/Table/style.less +6 -0
- package/es/components/TagList/Tag/style.css +3 -3
- package/es/components/TagList/Tag/style.less +3 -3
- package/es/components/TagList/index.js +3 -2
- package/es/components/TagList/style.css +3 -3
- package/es/components/TagList/style.less +8 -8
- package/es/index.css +211 -190
- package/es/index.d.ts +2 -2
- package/es/index.js +1 -1
- package/es/index.less +6 -6
- package/es/style/theme.less +9 -7
- package/lib/components/AutoComplete/style.css +17 -13
- package/lib/components/Button/style.css +2 -3
- package/lib/components/Button/style.less +0 -1
- package/lib/components/Card/index.js +1 -1
- package/lib/components/CheckTransformList/Item/index.js +1 -1
- package/lib/components/CheckTransformList/style.css +25 -17
- package/lib/components/CheckboxList/index.d.ts +1 -0
- package/lib/components/CheckboxList/index.js +3 -2
- package/lib/components/Collapse/index.js +1 -1
- package/lib/components/CollapsiblePanel/index.d.ts +2 -2
- package/lib/components/ConfigProvider/index.js +1 -1
- package/lib/components/DateTimePicker/Base/index.js +2 -2
- package/lib/components/DateTimePicker/Base/style.css +13 -13
- package/lib/components/DateTimePicker/BaseMobile/index.d.ts +1 -0
- package/lib/components/DateTimePicker/BaseMobile/index.js +2 -2
- package/lib/components/DateTimePicker/DisplayInput/style.css +16 -16
- package/lib/components/DateTimePicker/index.d.ts +6 -1
- package/lib/components/DateTimePicker/index.js +2 -2
- package/lib/components/Input/NumberInput/index.d.ts +29 -0
- package/lib/components/Input/NumberInput/index.js +121 -0
- package/lib/components/Input/index.d.ts +1 -0
- package/lib/components/Input/index.js +3 -1
- package/lib/components/Input/style.css +19 -16
- package/lib/components/Input/style.less +4 -0
- package/lib/components/InputNumber/style.css +6 -6
- package/lib/components/KeyValuePair/style.css +1 -0
- package/lib/components/KeyValuePair/style.less +1 -0
- package/lib/components/Menu/index.d.ts +2 -2
- package/lib/components/NameLimiter/index.d.ts +3 -13
- package/lib/components/NameLimiter/index.js +30 -38
- package/lib/components/NameLimiter/style.css +9 -1
- package/lib/components/NameLimiter/style.less +10 -1
- package/lib/components/OptionList/index.js +1 -1
- package/lib/components/RangeInput/style.css +22 -22
- package/lib/components/RemarkName/index.d.ts +0 -2
- package/lib/components/RemarkName/index.js +2 -4
- package/lib/components/RemarkName/style.css +9 -5
- package/lib/components/RemarkName/style.less +0 -5
- package/lib/components/Selector/style.css +17 -13
- package/lib/components/Selector/style.less +7 -3
- package/lib/components/SolidRadioGroup/index.d.ts +3 -2
- package/lib/components/SolidRadioGroup/index.js +6 -3
- package/lib/components/SolidRadioGroup/style.css +13 -6
- package/lib/components/SolidRadioGroup/style.less +16 -3
- package/lib/components/Steps/index.js +1 -1
- package/lib/components/Table/index.d.ts +9 -24
- package/lib/components/Table/index.js +39 -7
- package/lib/components/Table/style.css +11 -8
- package/lib/components/Table/style.less +6 -0
- package/lib/components/TagList/Tag/style.css +3 -3
- package/lib/components/TagList/Tag/style.less +3 -3
- package/lib/components/TagList/index.js +2 -2
- package/lib/components/TagList/style.css +3 -3
- package/lib/components/TagList/style.less +8 -8
- package/lib/index.css +39 -18
- package/lib/index.d.ts +2 -2
- package/lib/index.js +0 -1
- package/lib/style/theme.less +9 -7
- package/package.json +23 -23
- package/es/components/NameLimiter/transformer.d.ts +0 -6
- package/es/components/NameLimiter/transformer.js +0 -84
- package/lib/components/NameLimiter/transformer.d.ts +0 -6
- package/lib/components/NameLimiter/transformer.js +0 -91
@@ -264,7 +264,7 @@
|
|
264
264
|
border-radius: 0;
|
265
265
|
}
|
266
266
|
.ant-table-tbody > tr.ant-table-row:hover > td {
|
267
|
-
background:
|
267
|
+
background: #e9f0fa;
|
268
268
|
}
|
269
269
|
.ant-table-tbody > tr.ant-table-row-selected > td {
|
270
270
|
background: #2c6dd2;
|
@@ -1145,7 +1145,7 @@ tr.ant-table-expanded-row .ant-descriptions-view table {
|
|
1145
1145
|
line-height: 1.5715;
|
1146
1146
|
background-color: transparent;
|
1147
1147
|
background-image: none;
|
1148
|
-
border: 1px solid #
|
1148
|
+
border: 1px solid #bfbfbf;
|
1149
1149
|
border-radius: 2px;
|
1150
1150
|
-webkit-transition: all 0.3s;
|
1151
1151
|
transition: all 0.3s;
|
@@ -1187,7 +1187,7 @@ tr.ant-table-expanded-row .ant-descriptions-view table {
|
|
1187
1187
|
opacity: 1;
|
1188
1188
|
}
|
1189
1189
|
.ant-pagination-options-quick-jumper input-disabled:hover {
|
1190
|
-
border-color: #
|
1190
|
+
border-color: #bfbfbf;
|
1191
1191
|
border-right-width: 1px !important;
|
1192
1192
|
}
|
1193
1193
|
.ant-pagination-options-quick-jumper input[disabled] {
|
@@ -1197,7 +1197,7 @@ tr.ant-table-expanded-row .ant-descriptions-view table {
|
|
1197
1197
|
opacity: 1;
|
1198
1198
|
}
|
1199
1199
|
.ant-pagination-options-quick-jumper input[disabled]:hover {
|
1200
|
-
border-color: #
|
1200
|
+
border-color: #bfbfbf;
|
1201
1201
|
border-right-width: 1px !important;
|
1202
1202
|
}
|
1203
1203
|
.ant-pagination-options-quick-jumper input-borderless,
|
@@ -1221,7 +1221,7 @@ textarea.ant-pagination-options-quick-jumper input {
|
|
1221
1221
|
transition: all 0.3s, height 0s;
|
1222
1222
|
}
|
1223
1223
|
.ant-pagination-options-quick-jumper input-lg {
|
1224
|
-
padding:
|
1224
|
+
padding: 6.5px 11px;
|
1225
1225
|
font-size: 16px;
|
1226
1226
|
}
|
1227
1227
|
.ant-pagination-options-quick-jumper input-sm {
|
@@ -1512,10 +1512,10 @@ textarea.ant-pagination-options-quick-jumper input {
|
|
1512
1512
|
background: #ffffff !important;
|
1513
1513
|
}
|
1514
1514
|
.pandora-sdk-table-wrapper .ant-table-row:hover {
|
1515
|
-
background:
|
1515
|
+
background: #e9f0fa;
|
1516
1516
|
}
|
1517
1517
|
.pandora-sdk-table-wrapper .ant-table-row-hover {
|
1518
|
-
background:
|
1518
|
+
background: #e9f0fa;
|
1519
1519
|
}
|
1520
1520
|
.pandora-sdk-table-wrapper .ant-table-placeholder {
|
1521
1521
|
border: none;
|
@@ -1608,7 +1608,7 @@ textarea.ant-pagination-options-quick-jumper input {
|
|
1608
1608
|
max-height: 200px;
|
1609
1609
|
}
|
1610
1610
|
.pandora-sdk-table-wrapper .ant-table-tbody > tr.ant-table-row:hover > td {
|
1611
|
-
background-color:
|
1611
|
+
background-color: #e9f0fa;
|
1612
1612
|
}
|
1613
1613
|
.pandora-sdk-table-wrapper .ant-table-filter-trigger {
|
1614
1614
|
display: block;
|
@@ -1647,3 +1647,6 @@ textarea.ant-pagination-options-quick-jumper input {
|
|
1647
1647
|
.ant-table-cell::before {
|
1648
1648
|
display: none;
|
1649
1649
|
}
|
1650
|
+
.ant-empty .ant-empty-description {
|
1651
|
+
color: #bfbfbf;
|
1652
|
+
}
|
@@ -9,7 +9,7 @@
|
|
9
9
|
line-height: 24px;
|
10
10
|
margin-right: 8px;
|
11
11
|
border-radius: 1px;
|
12
|
-
color: #
|
12
|
+
color: #333;
|
13
13
|
text-align: center;
|
14
14
|
vertical-align: middle;
|
15
15
|
border-radius: 2px;
|
@@ -47,8 +47,8 @@
|
|
47
47
|
border-left: 1px solid rgba(44, 109, 210, 0.1);
|
48
48
|
}
|
49
49
|
.pandora-sdk-root .pandora-sdk-content {
|
50
|
-
padding: 0
|
51
|
-
max-width:
|
50
|
+
padding: 0 8px;
|
51
|
+
max-width: 150px;
|
52
52
|
vertical-align: middle;
|
53
53
|
overflow: hidden;
|
54
54
|
white-space: nowrap;
|
@@ -5,7 +5,7 @@
|
|
5
5
|
line-height: 24px;
|
6
6
|
margin-right: 8px;
|
7
7
|
border-radius: 1px;
|
8
|
-
color: @font-color-
|
8
|
+
color: @font-color-7;
|
9
9
|
text-align: center;
|
10
10
|
vertical-align: middle;
|
11
11
|
border-radius: @border-radius-base;
|
@@ -45,8 +45,8 @@
|
|
45
45
|
}
|
46
46
|
|
47
47
|
.@{sdk-prefix}-content {
|
48
|
-
padding: 0
|
49
|
-
max-width:
|
48
|
+
padding: 0 8px;
|
49
|
+
max-width: 150px;
|
50
50
|
vertical-align: middle;
|
51
51
|
overflow: hidden;
|
52
52
|
white-space: nowrap;
|
@@ -26,7 +26,7 @@ import { MoreCircle } from '@qn-pandora/pandora-component-icons';
|
|
26
26
|
import Tag from './Tag';
|
27
27
|
import TagSwitch from './TagSwitch';
|
28
28
|
import { SDK_PREFIX } from '../../constants/style';
|
29
|
-
|
29
|
+
function TagList(props) {
|
30
30
|
var _a = props.mode, mode = _a === void 0 ? 'tag' : _a, className = props.className;
|
31
31
|
var handleSwitchChange = function (active, value) {
|
32
32
|
var values = props.values, onChange = props.onChange;
|
@@ -57,10 +57,11 @@ export default function TagList(props) {
|
|
57
57
|
}
|
58
58
|
return (React.createElement("div", { className: classnames(SDK_PREFIX + "-simplify", props.className) },
|
59
59
|
React.Children.toArray(children).slice(0, simplifyTo),
|
60
|
-
React.createElement(Popover, { content: React.createElement("div", { className: SDK_PREFIX + "-popover" }, children), getPopupContainer: getPopupContainer },
|
60
|
+
React.createElement(Popover, { content: React.createElement("div", { className: SDK_PREFIX + "-popover" }, React.Children.toArray(children).slice(simplifyTo, childSize)), getPopupContainer: getPopupContainer },
|
61
61
|
React.createElement(MoreCircle, { className: SDK_PREFIX + "-icon" }))));
|
62
62
|
};
|
63
63
|
return (React.createElement("div", { className: classnames(SDK_PREFIX + "-taglist-containter", className) }, mode === 'tag' ? getTagList() : getTagSwitchList()));
|
64
64
|
}
|
65
65
|
TagList.Tag = Tag;
|
66
66
|
TagList.TagSwitch = TagSwitch;
|
67
|
+
export default TagList;
|
@@ -266,12 +266,12 @@
|
|
266
266
|
.pandora-sdk-taglist-containter .pandora-sdk-simplify .pandora-sdk-icon:hover {
|
267
267
|
color: #7a869a;
|
268
268
|
}
|
269
|
-
.pandora-sdk-
|
269
|
+
.pandora-sdk-popover {
|
270
270
|
max-width: 400px;
|
271
271
|
max-height: 1000px;
|
272
272
|
overflow: auto;
|
273
|
-
padding:
|
273
|
+
padding: 8px !important;
|
274
274
|
}
|
275
|
-
.pandora-sdk-
|
275
|
+
.pandora-sdk-popover > div {
|
276
276
|
margin: 4px;
|
277
277
|
}
|
@@ -15,14 +15,14 @@
|
|
15
15
|
}
|
16
16
|
}
|
17
17
|
}
|
18
|
+
}
|
18
19
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
}
|
20
|
+
.@{sdk-prefix}-popover {
|
21
|
+
max-width: 400px;
|
22
|
+
max-height: 1000px;
|
23
|
+
overflow: auto;
|
24
|
+
padding: 8px !important;
|
25
|
+
> div {
|
26
|
+
margin: 4px;
|
27
27
|
}
|
28
28
|
}
|