@hsu-react/ui 0.0.1 → 0.0.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/ChainGraph/index.module.less +1 -1
- package/es/components/Chat/ChatInput/_components/SendButton/index.module.less +1 -1
- package/es/components/Chat/ChatInput/_components/UploadButton/index.module.less +1 -1
- package/es/components/Chat/ChatInput/index.module.less +2 -2
- package/es/components/Chat/ChatList/_components/Assistant/AssistantItem/index.module.less +1 -1
- package/es/components/Checkbox/CheckboxGroup/index.module.less +16 -16
- package/es/components/Checkbox/index.module.less +13 -13
- package/es/components/CodeMirror/index.module.less +4 -4
- package/es/components/DatePicker/RangePicker/index.module.less +1 -1
- package/es/components/DatePicker/StepPicker/index.module.less +1 -1
- package/es/components/DatePicker/index.module.less +1 -1
- package/es/components/Form/DrawerForm/index.module.less +2 -2
- package/es/components/FormItem/FormRadio/index.module.less +9 -9
- package/es/components/FormItem/FormSegmented/index.module.less +2 -2
- package/es/components/FormItem/FormUpload/index.module.less +4 -4
- package/es/components/FormItem/ItemContainer/index.module.less +22 -22
- package/es/components/Icon/index.js +9 -24
- package/es/components/Input/Number/index.module.less +9 -9
- package/es/components/Input/Password/index.module.less +3 -3
- package/es/components/Input/Search/index.module.less +5 -5
- package/es/components/Input/TextArea/index.module.less +5 -5
- package/es/components/Input/index.module.less +4 -4
- package/es/components/Modal/index.module.less +2 -2
- package/es/components/Operate/index.module.less +2 -2
- package/es/components/Panel/IframePanel/index.module.less +1 -1
- package/es/components/Panel/ListPanel/_components/ColumnMgt/index.module.less +1 -1
- package/es/components/Search/index.module.less +2 -2
- package/es/components/Select/AutoCompleteSelect/index.module.less +35 -35
- package/es/components/Select/IconSelect/index.module.less +3 -3
- package/es/components/Select/TreeSelect/index.module.less +17 -17
- package/es/components/Select/index.module.less +34 -34
- package/es/components/Slider/index.module.less +4 -4
- package/es/components/Spreadsheet/index.module.less +4 -4
- package/es/components/Table/_components/Pagination/index.module.less +23 -23
- package/es/components/Table/index.module.less +61 -61
- package/es/components/Tree/index.module.less +11 -11
- package/es/components/Upload/index.module.less +3 -3
- package/es/styles/antd-overload.less +1 -1
- package/lib/components/ChainGraph/index.module.less +1 -1
- package/lib/components/Chat/ChatInput/_components/SendButton/index.module.less +1 -1
- package/lib/components/Chat/ChatInput/_components/UploadButton/index.module.less +1 -1
- package/lib/components/Chat/ChatInput/index.module.less +2 -2
- package/lib/components/Chat/ChatList/_components/Assistant/AssistantItem/index.module.less +1 -1
- package/lib/components/Checkbox/CheckboxGroup/index.module.less +16 -16
- package/lib/components/Checkbox/index.module.less +13 -13
- package/lib/components/CodeMirror/index.module.less +4 -4
- package/lib/components/DatePicker/RangePicker/index.module.less +1 -1
- package/lib/components/DatePicker/StepPicker/index.module.less +1 -1
- package/lib/components/DatePicker/index.module.less +1 -1
- package/lib/components/Form/DrawerForm/index.module.less +2 -2
- package/lib/components/FormItem/FormRadio/index.module.less +9 -9
- package/lib/components/FormItem/FormSegmented/index.module.less +2 -2
- package/lib/components/FormItem/FormUpload/index.module.less +4 -4
- package/lib/components/FormItem/ItemContainer/index.module.less +22 -22
- package/lib/components/Icon/index.js +9 -27
- package/lib/components/Input/Number/index.module.less +9 -9
- package/lib/components/Input/Password/index.module.less +3 -3
- package/lib/components/Input/Search/index.module.less +5 -5
- package/lib/components/Input/TextArea/index.module.less +5 -5
- package/lib/components/Input/index.module.less +4 -4
- package/lib/components/Modal/index.module.less +2 -2
- package/lib/components/Operate/index.module.less +2 -2
- package/lib/components/Panel/IframePanel/index.module.less +1 -1
- package/lib/components/Panel/ListPanel/_components/ColumnMgt/index.module.less +1 -1
- package/lib/components/Search/index.module.less +2 -2
- package/lib/components/Select/AutoCompleteSelect/index.module.less +35 -35
- package/lib/components/Select/IconSelect/index.module.less +3 -3
- package/lib/components/Select/TreeSelect/index.module.less +17 -17
- package/lib/components/Select/index.module.less +34 -34
- package/lib/components/Slider/index.module.less +4 -4
- package/lib/components/Spreadsheet/index.module.less +4 -4
- package/lib/components/Table/_components/Pagination/index.module.less +23 -23
- package/lib/components/Table/index.module.less +61 -61
- package/lib/components/Tree/index.module.less +11 -11
- package/lib/components/Upload/index.module.less +3 -3
- package/lib/styles/antd-overload.less +1 -1
- package/package.json +1 -1
- package/src/components/Button/index.md +2 -3
- package/src/components/ChainGraph/index.md +66 -1
- package/src/components/ChainGraph/index.module.less +1 -1
- package/src/components/Chart/index.md +78 -1
- package/src/components/Chat/ChatInput/_components/SendButton/index.module.less +1 -1
- package/src/components/Chat/ChatInput/_components/UploadButton/index.module.less +1 -1
- package/src/components/Chat/ChatInput/index.module.less +2 -2
- package/src/components/Chat/ChatList/_components/Assistant/AssistantItem/index.module.less +1 -1
- package/src/components/Chat/index.md +97 -1
- package/src/components/Checkbox/CheckboxGroup/index.module.less +16 -16
- package/src/components/Checkbox/index.md +53 -1
- package/src/components/Checkbox/index.module.less +13 -13
- package/src/components/CodeMirror/index.md +41 -1
- package/src/components/CodeMirror/index.module.less +4 -4
- package/src/components/DatePicker/RangePicker/index.module.less +1 -1
- package/src/components/DatePicker/StepPicker/index.module.less +1 -1
- package/src/components/DatePicker/index.md +43 -1
- package/src/components/DatePicker/index.module.less +1 -1
- package/src/components/Descriptions/index.md +45 -1
- package/src/components/Editor/index.md +40 -1
- package/src/components/FileCol/index.md +24 -1
- package/src/components/FilePreview/index.md +45 -1
- package/src/components/FlexFill/index.md +46 -1
- package/src/components/Form/DrawerForm/index.module.less +2 -2
- package/src/components/Form/index.md +92 -1
- package/src/components/FormItem/FormRadio/index.module.less +9 -9
- package/src/components/FormItem/FormSegmented/index.module.less +2 -2
- package/src/components/FormItem/FormUpload/index.module.less +4 -4
- package/src/components/FormItem/ItemContainer/index.module.less +22 -22
- package/src/components/FormItem/index.md +459 -1
- package/src/components/Icon/index.md +21 -3
- package/src/components/Icon/index.tsx +9 -37
- package/src/components/Input/Number/index.module.less +9 -9
- package/src/components/Input/Password/index.module.less +3 -3
- package/src/components/Input/Search/index.module.less +5 -5
- package/src/components/Input/TextArea/index.module.less +5 -5
- package/src/components/Input/index.md +35 -1
- package/src/components/Input/index.module.less +4 -4
- package/src/components/Markdown/index.md +71 -1
- package/src/components/Modal/index.md +43 -1
- package/src/components/Modal/index.module.less +2 -2
- package/src/components/Operate/index.md +43 -1
- package/src/components/Operate/index.module.less +2 -2
- package/src/components/Panel/IframePanel/index.module.less +1 -1
- package/src/components/Panel/ListPanel/_components/ColumnMgt/index.module.less +1 -1
- package/src/components/Panel/index.md +146 -1
- package/src/components/Search/index.md +73 -1
- package/src/components/Search/index.module.less +2 -2
- package/src/components/SecondConf/index.md +39 -1
- package/src/components/Select/AutoCompleteSelect/index.module.less +35 -35
- package/src/components/Select/IconSelect/index.module.less +3 -3
- package/src/components/Select/TreeSelect/index.module.less +17 -17
- package/src/components/Select/index.md +47 -1
- package/src/components/Select/index.module.less +34 -34
- package/src/components/Slider/index.md +29 -1
- package/src/components/Slider/index.module.less +4 -4
- package/src/components/Spreadsheet/index.md +42 -1
- package/src/components/Spreadsheet/index.module.less +4 -4
- package/src/components/Switch/index.md +33 -1
- package/src/components/TabBar/index.md +53 -1
- package/src/components/Table/_components/Pagination/index.module.less +23 -23
- package/src/components/Table/index.md +60 -1
- package/src/components/Table/index.module.less +61 -61
- package/src/components/Tags/index.md +23 -1
- package/src/components/TextEllipsis/index.md +29 -1
- package/src/components/Tree/index.md +66 -1
- package/src/components/Tree/index.module.less +11 -11
- package/src/components/Upload/index.md +72 -1
- package/src/components/Upload/index.module.less +3 -3
- package/src/styles/antd-overload.less +1 -1
|
@@ -5,8 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = require("@iconify/react");
|
|
8
|
-
var
|
|
9
|
-
var AntdIcons = _icons;
|
|
8
|
+
var AntdIcons = _interopRequireWildcard(require("@ant-design/icons"));
|
|
10
9
|
var _react2 = _interopRequireWildcard(require("react"));
|
|
11
10
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
12
11
|
var _indexModule = _interopRequireDefault(require("./index.module.less"));
|
|
@@ -51,37 +50,20 @@ const Icon = props => {
|
|
|
51
50
|
ref: ref
|
|
52
51
|
});
|
|
53
52
|
}
|
|
54
|
-
|
|
53
|
+
|
|
54
|
+
// iconify 图标:直接用 span 承载 Iconify 自带的 svg,避免把它嵌套进 antd Icon
|
|
55
|
+
// 的 svg(其 viewBox 会把内层 svg 缩放成极小值导致图标不可见)。
|
|
56
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
55
57
|
...iconConfig,
|
|
56
|
-
|
|
57
|
-
viewBox: "0 0 1024 1024",
|
|
58
|
-
className: (0, _classnames.default)([_indexModule.default.icon, className]),
|
|
59
|
-
style: mergedStyle,
|
|
58
|
+
role: "img",
|
|
60
59
|
ref: ref,
|
|
60
|
+
className: (0, _classnames.default)(["anticon", _indexModule.default.icon, className]),
|
|
61
|
+
style: mergedStyle,
|
|
61
62
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_react.Icon, {
|
|
62
63
|
...iconProps,
|
|
63
64
|
icon: icon,
|
|
64
65
|
width: "1em",
|
|
65
|
-
height: "1em"
|
|
66
|
-
onLoad: () => {
|
|
67
|
-
setTimeout(() => {
|
|
68
|
-
if (ref.current) {
|
|
69
|
-
const svg = ref.current.childNodes[0];
|
|
70
|
-
const svg_i = svg.childNodes[0];
|
|
71
|
-
const {
|
|
72
|
-
height
|
|
73
|
-
} = svg.getBoundingClientRect();
|
|
74
|
-
const {
|
|
75
|
-
height: height_i
|
|
76
|
-
} = svg_i.getBoundingClientRect();
|
|
77
|
-
const viewBox_i = svg_i.getAttribute("viewBox");
|
|
78
|
-
const viewBox_i_height = viewBox_i?.split(" ")[3];
|
|
79
|
-
if (Number(viewBox_i_height) <= 24) return;
|
|
80
|
-
const y_i = Number(viewBox_i_height) - (Number(height) - Number(height_i));
|
|
81
|
-
svg_i.setAttribute("viewBox", `0 0 ${viewBox_i?.split(" ")[2]} ${y_i.toFixed(0)}`);
|
|
82
|
-
}
|
|
83
|
-
}, 1);
|
|
84
|
-
}
|
|
66
|
+
height: "1em"
|
|
85
67
|
})
|
|
86
68
|
});
|
|
87
69
|
};
|
|
@@ -10,22 +10,22 @@
|
|
|
10
10
|
width: 100%;
|
|
11
11
|
height: 100%;
|
|
12
12
|
|
|
13
|
-
.ant-input-number-wrapper {
|
|
13
|
+
:global(.ant-input-number-wrapper) {
|
|
14
14
|
height: 100%;
|
|
15
15
|
min-height: inherit;
|
|
16
16
|
|
|
17
|
-
> .ant-input-number,
|
|
18
|
-
> .ant-input-number-affix-wrapper {
|
|
17
|
+
> :global(.ant-input-number),
|
|
18
|
+
> :global(.ant-input-number-affix-wrapper) {
|
|
19
19
|
height: 100%;
|
|
20
20
|
min-height: inherit;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
> .ant-input-number {
|
|
24
|
-
> .ant-input-number-input-wrap {
|
|
23
|
+
> :global(.ant-input-number) {
|
|
24
|
+
> :global(.ant-input-number-input-wrap) {
|
|
25
25
|
height: 100%;
|
|
26
26
|
min-height: inherit;
|
|
27
27
|
|
|
28
|
-
> .ant-input-number-input {
|
|
28
|
+
> :global(.ant-input-number-input) {
|
|
29
29
|
height: 100%;
|
|
30
30
|
min-height: inherit;
|
|
31
31
|
}
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
> .ant-input-number-input-wrap {
|
|
36
|
+
> :global(.ant-input-number-input-wrap) {
|
|
37
37
|
height: 100%;
|
|
38
38
|
min-height: inherit;
|
|
39
39
|
|
|
40
|
-
> .ant-input-number-input {
|
|
40
|
+
> :global(.ant-input-number-input) {
|
|
41
41
|
height: 100%;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
// 当存在 addonAfter 时,调整清除图标位置
|
|
69
|
-
// Ant Design 的 addonAfter 会生成 .ant-input-number-group-addon
|
|
69
|
+
// Ant Design 的 addonAfter 会生成 :global(.ant-input-number-group-addon)
|
|
70
70
|
// 清除图标需要向左偏移,避免与 addon 重叠
|
|
71
71
|
// 使用 CSS 变量来动态设置 addon 宽度,默认值 60px 是合理的估算
|
|
72
72
|
// 通过 JS 动态计算实际宽度并设置 CSS 变量来覆盖
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
4
|
|
|
5
|
-
.ant-input-wrapper {
|
|
5
|
+
:global(.ant-input-wrapper) {
|
|
6
6
|
height: 100%;
|
|
7
7
|
min-height: inherit;
|
|
8
8
|
|
|
9
|
-
> .ant-input,
|
|
10
|
-
> .ant-input-affix-wrapper {
|
|
9
|
+
> :global(.ant-input),
|
|
10
|
+
> :global(.ant-input-affix-wrapper) {
|
|
11
11
|
height: 100%;
|
|
12
12
|
min-height: inherit;
|
|
13
13
|
}
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
4
|
|
|
5
|
-
.ant-input-wrapper {
|
|
5
|
+
:global(.ant-input-wrapper) {
|
|
6
6
|
height: 100%;
|
|
7
7
|
min-height: inherit;
|
|
8
8
|
|
|
9
|
-
> .ant-input,
|
|
10
|
-
> .ant-input-affix-wrapper {
|
|
9
|
+
> :global(.ant-input),
|
|
10
|
+
> :global(.ant-input-affix-wrapper) {
|
|
11
11
|
height: 100%;
|
|
12
12
|
min-height: inherit;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
> .ant-input-group-addon {
|
|
16
|
-
> .ant-btn {
|
|
15
|
+
> :global(.ant-input-group-addon) {
|
|
16
|
+
> :global(.ant-btn) {
|
|
17
17
|
height: 100%;
|
|
18
18
|
min-height: inherit;
|
|
19
19
|
}
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
|
|
62
62
|
background-color: transparent !important;
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
&:global(.ant-input-textarea-affix-wrapper) {
|
|
65
65
|
position: relative;
|
|
66
66
|
|
|
67
67
|
padding: 0px;
|
|
@@ -76,13 +76,13 @@
|
|
|
76
76
|
font-family: inherit;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
.ant-input-suffix {
|
|
79
|
+
:global(.ant-input-suffix) {
|
|
80
80
|
position: absolute;
|
|
81
81
|
top: 50%;
|
|
82
82
|
right: 10px;
|
|
83
83
|
transform: translateY(-50%);
|
|
84
84
|
|
|
85
|
-
.ant-input-data-count {
|
|
85
|
+
:global(.ant-input-data-count) {
|
|
86
86
|
position: relative;
|
|
87
87
|
bottom: auto;
|
|
88
88
|
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
font-size: 14px;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
.ant-input-clear-icon {
|
|
93
|
+
:global(.ant-input-clear-icon) {
|
|
94
94
|
position: relative;
|
|
95
95
|
|
|
96
96
|
inset-inline-end: 0;
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
|
|
122
122
|
box-shadow: 0 0 0 2px rgba(255, 38, 5, 0.06);
|
|
123
123
|
|
|
124
|
-
.ant-input-status-error {
|
|
124
|
+
:global(.ant-input-status-error) {
|
|
125
125
|
border: none !important;
|
|
126
126
|
|
|
127
127
|
box-shadow: none !important;
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
4
|
|
|
5
|
-
.ant-input-clear-icon {
|
|
5
|
+
:global(.ant-input-clear-icon) {
|
|
6
6
|
font-size: 14px;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
.ant-input-wrapper {
|
|
9
|
+
:global(.ant-input-wrapper) {
|
|
10
10
|
height: 100%;
|
|
11
11
|
min-height: inherit;
|
|
12
12
|
|
|
13
|
-
> .ant-input,
|
|
14
|
-
> .ant-input-affix-wrapper {
|
|
13
|
+
> :global(.ant-input),
|
|
14
|
+
> :global(.ant-input-affix-wrapper) {
|
|
15
15
|
height: 100%;
|
|
16
16
|
min-height: inherit;
|
|
17
17
|
}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
padding: 0px 0px 15px;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.ant-modal-close {
|
|
27
|
+
:global(.ant-modal-close) {
|
|
28
28
|
top: 15px;
|
|
29
29
|
inset-inline-end: 10px;
|
|
30
30
|
}
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.ant-modal-title {
|
|
50
|
+
:global(.ant-modal-title) {
|
|
51
51
|
display: flex;
|
|
52
52
|
align-items: center;
|
|
53
53
|
justify-content: space-between;
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.moreButton {
|
|
45
|
-
|
|
45
|
+
&:global(.ant-btn-icon-only) {
|
|
46
46
|
width: max-content;
|
|
47
47
|
|
|
48
48
|
padding-inline: 4px;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.ant-btn-icon {
|
|
51
|
+
:global(.ant-btn-icon) {
|
|
52
52
|
display: inline-flex;
|
|
53
53
|
align-items: center;
|
|
54
54
|
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
justify-content: flex-start;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.ant-btn-icon {
|
|
51
|
+
:global(.ant-btn-icon) {
|
|
52
52
|
font-size: 16px;
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
.filterDropdown {
|
|
169
|
-
.ant-dropdown-menu {
|
|
169
|
+
:global(.ant-dropdown-menu) {
|
|
170
170
|
height: max-content;
|
|
171
171
|
max-height: 500px;
|
|
172
172
|
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
.antdAutoComplete {
|
|
29
29
|
cursor: not-allowed;
|
|
30
30
|
|
|
31
|
-
.ant-select-selection-item {
|
|
31
|
+
:global(.ant-select-selection-item) {
|
|
32
32
|
color: var(--cf-text-3);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.ant-select-arrow {
|
|
35
|
+
:global(.ant-select-arrow) {
|
|
36
36
|
cursor: not-allowed;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
margin-inline-start: 4px;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
&:has(.ant-select-status-error) {
|
|
78
|
+
&:has(:global(.ant-select-status-error)) {
|
|
79
79
|
border: 1px solid #ff4d4f;
|
|
80
80
|
|
|
81
81
|
.prefix,
|
|
@@ -108,24 +108,24 @@
|
|
|
108
108
|
font-weight: inherit;
|
|
109
109
|
color: inherit !important;
|
|
110
110
|
|
|
111
|
-
&:has(> .ant-select-arrow),
|
|
112
|
-
&:has(> .ant-select-clear) {
|
|
113
|
-
.ant-select-selector {
|
|
111
|
+
&:has(> :global(.ant-select-arrow)),
|
|
112
|
+
&:has(> :global(.ant-select-clear)) {
|
|
113
|
+
:global(.ant-select-selector) {
|
|
114
114
|
padding-right: 20px;
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
&.legacyHasArrowOrClear {
|
|
119
|
-
.ant-select-selector {
|
|
119
|
+
:global(.ant-select-selector) {
|
|
120
120
|
padding-right: 20px;
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
|
|
124
|
+
&:global(.ant-select) {
|
|
125
125
|
width: 100%;
|
|
126
126
|
height: 100%;
|
|
127
127
|
|
|
128
|
-
.ant-select-selector {
|
|
128
|
+
:global(.ant-select-selector) {
|
|
129
129
|
width: 100%;
|
|
130
130
|
height: 100%;
|
|
131
131
|
padding: 0;
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
content: none;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
.ant-select-selection-wrap {
|
|
146
|
+
:global(.ant-select-selection-wrap) {
|
|
147
147
|
height: 100%;
|
|
148
148
|
|
|
149
149
|
font-family: inherit;
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
color: inherit;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
.ant-select-selection-search {
|
|
155
|
+
:global(.ant-select-selection-search) {
|
|
156
156
|
inset-inline-start: 0px;
|
|
157
157
|
inset-inline-end: 0px;
|
|
158
158
|
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
.ant-select-selection-placeholder {
|
|
174
|
+
:global(.ant-select-selection-placeholder) {
|
|
175
175
|
display: inline-flex;
|
|
176
176
|
align-items: center;
|
|
177
177
|
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
font-weight: inherit;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
.ant-select-selection-item {
|
|
186
|
+
:global(.ant-select-selection-item) {
|
|
187
187
|
padding-inline-end: 0px;
|
|
188
188
|
|
|
189
189
|
font-family: inherit;
|
|
@@ -192,8 +192,8 @@
|
|
|
192
192
|
color: inherit;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
.ant-select-selection-overflow-item {
|
|
196
|
-
.ant-select-selection-item {
|
|
195
|
+
:global(.ant-select-selection-overflow-item) {
|
|
196
|
+
:global(.ant-select-selection-item) {
|
|
197
197
|
line-height: normal;
|
|
198
198
|
|
|
199
199
|
padding-inline-end: 4px;
|
|
@@ -201,50 +201,50 @@
|
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
|
|
205
|
-
.ant-select-selector {
|
|
204
|
+
&:global(.ant-select-focused) {
|
|
205
|
+
:global(.ant-select-selector) {
|
|
206
206
|
border: none !important;
|
|
207
207
|
|
|
208
208
|
box-shadow: none !important;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
|
|
213
|
-
.ant-select-arrow {
|
|
212
|
+
&:global(.ant-select-open) {
|
|
213
|
+
:global(.ant-select-arrow) {
|
|
214
214
|
transform: rotate(-180deg) translateY(50%);
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
&.noArrowAnimation {
|
|
218
|
-
.ant-select-arrow {
|
|
218
|
+
:global(.ant-select-arrow) {
|
|
219
219
|
transform: translateY(-50%);
|
|
220
220
|
transition: none !important;
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
-
|
|
226
|
-
.ant-select-selector {
|
|
225
|
+
&:global(.ant-select-status-error) {
|
|
226
|
+
:global(.ant-select-selector) {
|
|
227
227
|
border: none !important;
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
|
|
232
|
-
> .ant-select-selector {
|
|
233
|
-
> .ant-select-selection-overflow {
|
|
234
|
-
.ant-select-selection-search {
|
|
231
|
+
&:global(.ant-select-multiple) {
|
|
232
|
+
> :global(.ant-select-selector) {
|
|
233
|
+
> :global(.ant-select-selection-overflow) {
|
|
234
|
+
:global(.ant-select-selection-search) {
|
|
235
235
|
width: 0px !important;
|
|
236
236
|
|
|
237
237
|
margin-inline-start: 0px;
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
> .ant-select-selection-placeholder {
|
|
241
|
+
> :global(.ant-select-selection-placeholder) {
|
|
242
242
|
inset-inline-start: 0px;
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
.ant-select-arrow {
|
|
247
|
+
:global(.ant-select-arrow) {
|
|
248
248
|
width: 14px;
|
|
249
249
|
height: 14px;
|
|
250
250
|
margin-top: 0px;
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
pointer-events: all;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
.ant-select-clear {
|
|
261
|
+
:global(.ant-select-clear) {
|
|
262
262
|
width: 14px;
|
|
263
263
|
height: 14px;
|
|
264
264
|
margin-top: 0px;
|
|
@@ -273,14 +273,14 @@
|
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
&.popupMatchContentWidth {
|
|
276
|
-
.ant-select-dropdown {
|
|
276
|
+
:global(.ant-select-dropdown) {
|
|
277
277
|
[class="rc-virtual-list-holder-inner"] {
|
|
278
278
|
position: relative !important;
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
.ant-select-dropdown {
|
|
283
|
+
:global(.ant-select-dropdown) {
|
|
284
284
|
position: fixed;
|
|
285
285
|
|
|
286
286
|
font-family: inherit;
|
|
@@ -288,16 +288,16 @@
|
|
|
288
288
|
font-weight: inherit;
|
|
289
289
|
color: inherit;
|
|
290
290
|
|
|
291
|
-
.ant-select-item {
|
|
291
|
+
:global(.ant-select-item) {
|
|
292
292
|
font-family: inherit;
|
|
293
293
|
font-size: inherit;
|
|
294
294
|
font-weight: inherit;
|
|
295
295
|
color: inherit;
|
|
296
296
|
}
|
|
297
297
|
|
|
298
|
-
.ant-select-item-empty,
|
|
299
|
-
.ant-empty,
|
|
300
|
-
.ant-empty-description {
|
|
298
|
+
:global(.ant-select-item-empty),
|
|
299
|
+
:global(.ant-empty),
|
|
300
|
+
:global(.ant-empty-description) {
|
|
301
301
|
font-family: inherit;
|
|
302
302
|
font-size: inherit;
|
|
303
303
|
font-weight: inherit;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
cursor: pointer;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.ant-input-group-addon {
|
|
13
|
+
:global(.ant-input-group-addon) {
|
|
14
14
|
padding: 0;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
.tabs {
|
|
27
27
|
max-width: min-content;
|
|
28
28
|
|
|
29
|
-
.ant-tabs-nav {
|
|
29
|
+
:global(.ant-tabs-nav) {
|
|
30
30
|
margin-bottom: 10px;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.ant-tabs-tab {
|
|
33
|
+
:global(.ant-tabs-tab) {
|
|
34
34
|
padding: 4px 0px 6px;
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
border: 1px solid var(--cf-border);
|
|
12
12
|
border-radius: 6px;
|
|
13
13
|
|
|
14
|
-
.ant-select-selector {
|
|
14
|
+
:global(.ant-select-selector) {
|
|
15
15
|
font-family: inherit;
|
|
16
16
|
font-size: inherit;
|
|
17
17
|
font-weight: inherit;
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
border: none !important;
|
|
22
22
|
border-radius: inherit !important;
|
|
23
23
|
|
|
24
|
-
.ant-select-selection-wrap {
|
|
24
|
+
:global(.ant-select-selection-wrap) {
|
|
25
25
|
font-family: inherit;
|
|
26
26
|
font-size: inherit;
|
|
27
27
|
font-weight: inherit;
|
|
28
28
|
color: inherit;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.ant-select-selection-search {
|
|
31
|
+
:global(.ant-select-selection-search) {
|
|
32
32
|
font-family: inherit;
|
|
33
33
|
font-size: inherit;
|
|
34
34
|
font-weight: inherit;
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.ant-select-selection-placeholder {
|
|
45
|
+
:global(.ant-select-selection-placeholder) {
|
|
46
46
|
font-family: inherit;
|
|
47
47
|
font-size: inherit;
|
|
48
48
|
font-weight: inherit;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.ant-select-selection-item {
|
|
51
|
+
:global(.ant-select-selection-item) {
|
|
52
52
|
font-family: inherit;
|
|
53
53
|
font-size: inherit;
|
|
54
54
|
font-weight: inherit;
|
|
@@ -56,21 +56,21 @@
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.ant-select-arrow {
|
|
59
|
+
:global(.ant-select-arrow) {
|
|
60
60
|
width: 14px;
|
|
61
61
|
height: 14px;
|
|
62
62
|
|
|
63
63
|
font-size: 14px;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.ant-select-clear {
|
|
66
|
+
:global(.ant-select-clear) {
|
|
67
67
|
width: 14px;
|
|
68
68
|
height: 14px;
|
|
69
69
|
|
|
70
70
|
font-size: 14px;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
.ant-tree-select-dropdown {
|
|
73
|
+
:global(.ant-tree-select-dropdown) {
|
|
74
74
|
position: fixed;
|
|
75
75
|
|
|
76
76
|
font-family: inherit;
|
|
@@ -78,17 +78,17 @@
|
|
|
78
78
|
font-weight: inherit;
|
|
79
79
|
color: inherit;
|
|
80
80
|
|
|
81
|
-
.ant-select-tree,
|
|
82
|
-
.ant-select-tree-treenode,
|
|
83
|
-
.ant-select-tree-node-content-wrapper,
|
|
84
|
-
.ant-select-tree-title {
|
|
81
|
+
:global(.ant-select-tree),
|
|
82
|
+
:global(.ant-select-tree-treenode),
|
|
83
|
+
:global(.ant-select-tree-node-content-wrapper),
|
|
84
|
+
:global(.ant-select-tree-title) {
|
|
85
85
|
font-family: inherit;
|
|
86
86
|
font-size: inherit;
|
|
87
87
|
font-weight: inherit;
|
|
88
88
|
color: inherit;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
.ant-select-tree-switcher {
|
|
91
|
+
:global(.ant-select-tree-switcher) {
|
|
92
92
|
display: inline-flex;
|
|
93
93
|
align-items: center;
|
|
94
94
|
justify-content: center;
|
|
@@ -103,19 +103,19 @@
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
.ant-select-tree-indent-unit {
|
|
106
|
+
:global(.ant-select-tree-indent-unit) {
|
|
107
107
|
width: var(--tree-indent-unit-width);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
.ant-empty,
|
|
111
|
-
.ant-empty-description {
|
|
110
|
+
:global(.ant-empty),
|
|
111
|
+
:global(.ant-empty-description) {
|
|
112
112
|
font-family: inherit;
|
|
113
113
|
font-size: inherit;
|
|
114
114
|
font-weight: inherit;
|
|
115
115
|
color: inherit;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
.ant-select-tree-list-scrollbar {
|
|
118
|
+
:global(.ant-select-tree-list-scrollbar) {
|
|
119
119
|
width: 5px !important;
|
|
120
120
|
|
|
121
121
|
> div {
|