@hsu-react/ui 0.0.1 → 0.0.3

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.
Files changed (175) hide show
  1. package/README.md +2 -0
  2. package/es/components/ChainGraph/_components/SearchSelect/index.js +13 -10
  3. package/es/components/ChainGraph/_components/SearchSelect/index.module.less +8 -2
  4. package/es/components/ChainGraph/index.module.less +1 -1
  5. package/es/components/Chat/ChatInput/_components/SendButton/index.module.less +1 -1
  6. package/es/components/Chat/ChatInput/_components/UploadButton/index.module.less +1 -1
  7. package/es/components/Chat/ChatInput/index.module.less +2 -2
  8. package/es/components/Chat/ChatList/_components/Assistant/AssistantItem/index.module.less +1 -1
  9. package/es/components/Checkbox/CheckboxGroup/index.module.less +16 -16
  10. package/es/components/Checkbox/index.module.less +13 -13
  11. package/es/components/CodeMirror/index.module.less +4 -4
  12. package/es/components/DatePicker/RangePicker/index.module.less +1 -1
  13. package/es/components/DatePicker/StepPicker/index.module.less +1 -1
  14. package/es/components/DatePicker/index.module.less +2 -1
  15. package/es/components/Form/DrawerForm/index.module.less +2 -2
  16. package/es/components/FormItem/FormInput/FormPasswordStrength/index.js +2 -2
  17. package/es/components/FormItem/FormInput/FormPasswordStrength/index.module.less +12 -0
  18. package/es/components/FormItem/FormRadio/index.module.less +9 -9
  19. package/es/components/FormItem/FormSegmented/index.module.less +2 -2
  20. package/es/components/FormItem/FormUpload/index.module.less +4 -4
  21. package/es/components/FormItem/ItemContainer/index.module.less +22 -22
  22. package/es/components/Icon/index.js +9 -24
  23. package/es/components/Input/Number/index.module.less +9 -9
  24. package/es/components/Input/Password/index.module.less +3 -3
  25. package/es/components/Input/Range/index.module.less +4 -4
  26. package/es/components/Input/Search/index.module.less +5 -5
  27. package/es/components/Input/TextArea/index.module.less +5 -5
  28. package/es/components/Input/index.module.less +7 -4
  29. package/es/components/Modal/index.module.less +2 -2
  30. package/es/components/Operate/index.module.less +2 -2
  31. package/es/components/Panel/IframePanel/index.module.less +1 -1
  32. package/es/components/Panel/ListPanel/_components/ColumnMgt/index.module.less +1 -1
  33. package/es/components/Search/index.module.less +2 -2
  34. package/es/components/Select/AutoCompleteSelect/index.module.less +35 -35
  35. package/es/components/Select/IconSelect/index.module.less +3 -3
  36. package/es/components/Select/TreeSelect/index.module.less +17 -17
  37. package/es/components/Select/_utils/getElementPosition.d.ts +6 -2
  38. package/es/components/Select/_utils/getElementPosition.js +8 -6
  39. package/es/components/Select/index.module.less +37 -34
  40. package/es/components/Slider/index.module.less +5 -4
  41. package/es/components/Spreadsheet/index.module.less +4 -4
  42. package/es/components/Switch/index.js +12 -8
  43. package/es/components/Switch/index.module.less +7 -0
  44. package/es/components/Table/_components/Pagination/index.module.less +23 -23
  45. package/es/components/Table/index.module.less +61 -61
  46. package/es/components/Tree/index.module.less +11 -11
  47. package/es/components/Upload/index.module.less +3 -3
  48. package/es/styles/antd-overload.less +1 -1
  49. package/lib/components/ChainGraph/_components/SearchSelect/index.js +10 -7
  50. package/lib/components/ChainGraph/_components/SearchSelect/index.module.less +8 -2
  51. package/lib/components/ChainGraph/index.module.less +1 -1
  52. package/lib/components/Chat/ChatInput/_components/SendButton/index.module.less +1 -1
  53. package/lib/components/Chat/ChatInput/_components/UploadButton/index.module.less +1 -1
  54. package/lib/components/Chat/ChatInput/index.module.less +2 -2
  55. package/lib/components/Chat/ChatList/_components/Assistant/AssistantItem/index.module.less +1 -1
  56. package/lib/components/Checkbox/CheckboxGroup/index.module.less +16 -16
  57. package/lib/components/Checkbox/index.module.less +13 -13
  58. package/lib/components/CodeMirror/index.module.less +4 -4
  59. package/lib/components/DatePicker/RangePicker/index.module.less +1 -1
  60. package/lib/components/DatePicker/StepPicker/index.module.less +1 -1
  61. package/lib/components/DatePicker/index.module.less +2 -1
  62. package/lib/components/Form/DrawerForm/index.module.less +2 -2
  63. package/lib/components/FormItem/FormInput/FormPasswordStrength/index.js +2 -1
  64. package/lib/components/FormItem/FormInput/FormPasswordStrength/index.module.less +12 -0
  65. package/lib/components/FormItem/FormRadio/index.module.less +9 -9
  66. package/lib/components/FormItem/FormSegmented/index.module.less +2 -2
  67. package/lib/components/FormItem/FormUpload/index.module.less +4 -4
  68. package/lib/components/FormItem/ItemContainer/index.module.less +22 -22
  69. package/lib/components/Icon/index.js +9 -27
  70. package/lib/components/Input/Number/index.module.less +9 -9
  71. package/lib/components/Input/Password/index.module.less +3 -3
  72. package/lib/components/Input/Range/index.module.less +4 -4
  73. package/lib/components/Input/Search/index.module.less +5 -5
  74. package/lib/components/Input/TextArea/index.module.less +5 -5
  75. package/lib/components/Input/index.module.less +7 -4
  76. package/lib/components/Modal/index.module.less +2 -2
  77. package/lib/components/Operate/index.module.less +2 -2
  78. package/lib/components/Panel/IframePanel/index.module.less +1 -1
  79. package/lib/components/Panel/ListPanel/_components/ColumnMgt/index.module.less +1 -1
  80. package/lib/components/Search/index.module.less +2 -2
  81. package/lib/components/Select/AutoCompleteSelect/index.module.less +35 -35
  82. package/lib/components/Select/IconSelect/index.module.less +3 -3
  83. package/lib/components/Select/TreeSelect/index.module.less +17 -17
  84. package/lib/components/Select/_utils/getElementPosition.d.ts +6 -2
  85. package/lib/components/Select/_utils/getElementPosition.js +8 -6
  86. package/lib/components/Select/index.module.less +37 -34
  87. package/lib/components/Slider/index.module.less +5 -4
  88. package/lib/components/Spreadsheet/index.module.less +4 -4
  89. package/lib/components/Switch/index.js +8 -4
  90. package/lib/components/Switch/index.module.less +7 -0
  91. package/lib/components/Table/_components/Pagination/index.module.less +23 -23
  92. package/lib/components/Table/index.module.less +61 -61
  93. package/lib/components/Tree/index.module.less +11 -11
  94. package/lib/components/Upload/index.module.less +3 -3
  95. package/lib/styles/antd-overload.less +1 -1
  96. package/package.json +1 -1
  97. package/src/components/Button/index.md +20 -4
  98. package/src/components/ChainGraph/_components/SearchSelect/index.module.less +8 -2
  99. package/src/components/ChainGraph/_components/SearchSelect/index.tsx +18 -16
  100. package/src/components/ChainGraph/index.md +67 -1
  101. package/src/components/ChainGraph/index.module.less +1 -1
  102. package/src/components/Chart/index.md +351 -1
  103. package/src/components/Chat/ChatInput/_components/SendButton/index.module.less +1 -1
  104. package/src/components/Chat/ChatInput/_components/UploadButton/index.module.less +1 -1
  105. package/src/components/Chat/ChatInput/index.module.less +2 -2
  106. package/src/components/Chat/ChatList/_components/Assistant/AssistantItem/index.module.less +1 -1
  107. package/src/components/Chat/index.md +140 -1
  108. package/src/components/Checkbox/CheckboxGroup/index.module.less +16 -16
  109. package/src/components/Checkbox/index.md +85 -1
  110. package/src/components/Checkbox/index.module.less +13 -13
  111. package/src/components/CodeMirror/index.md +41 -1
  112. package/src/components/CodeMirror/index.module.less +4 -4
  113. package/src/components/Copy/index.md +1 -1
  114. package/src/components/DatePicker/RangePicker/index.module.less +1 -1
  115. package/src/components/DatePicker/StepPicker/index.module.less +1 -1
  116. package/src/components/DatePicker/index.md +82 -1
  117. package/src/components/DatePicker/index.module.less +2 -1
  118. package/src/components/Descriptions/index.md +45 -1
  119. package/src/components/Editor/index.md +40 -1
  120. package/src/components/FileCol/index.md +24 -1
  121. package/src/components/FilePreview/index.md +45 -1
  122. package/src/components/FlexFill/index.md +46 -1
  123. package/src/components/Form/DrawerForm/index.module.less +2 -2
  124. package/src/components/Form/index.md +179 -1
  125. package/src/components/FormItem/FormInput/FormPasswordStrength/index.module.less +12 -0
  126. package/src/components/FormItem/FormInput/FormPasswordStrength/index.tsx +2 -2
  127. package/src/components/FormItem/FormRadio/index.module.less +9 -9
  128. package/src/components/FormItem/FormSegmented/index.module.less +2 -2
  129. package/src/components/FormItem/FormUpload/index.module.less +4 -4
  130. package/src/components/FormItem/ItemContainer/index.module.less +22 -22
  131. package/src/components/FormItem/index.md +514 -1
  132. package/src/components/Icon/index.md +24 -4
  133. package/src/components/Icon/index.tsx +9 -37
  134. package/src/components/Input/Number/index.module.less +9 -9
  135. package/src/components/Input/Password/index.module.less +3 -3
  136. package/src/components/Input/Range/index.module.less +4 -4
  137. package/src/components/Input/Search/index.module.less +5 -5
  138. package/src/components/Input/TextArea/index.module.less +5 -5
  139. package/src/components/Input/index.md +148 -1
  140. package/src/components/Input/index.module.less +7 -4
  141. package/src/components/Markdown/index.md +73 -1
  142. package/src/components/Modal/index.md +43 -1
  143. package/src/components/Modal/index.module.less +2 -2
  144. package/src/components/Operate/index.md +43 -1
  145. package/src/components/Operate/index.module.less +2 -2
  146. package/src/components/Panel/IframePanel/index.module.less +1 -1
  147. package/src/components/Panel/ListPanel/_components/ColumnMgt/index.module.less +1 -1
  148. package/src/components/Panel/index.md +193 -1
  149. package/src/components/Search/index.md +248 -1
  150. package/src/components/Search/index.module.less +2 -2
  151. package/src/components/SecondConf/index.md +39 -1
  152. package/src/components/Select/AutoCompleteSelect/index.module.less +35 -35
  153. package/src/components/Select/IconSelect/index.module.less +3 -3
  154. package/src/components/Select/TreeSelect/index.module.less +17 -17
  155. package/src/components/Select/_utils/getElementPosition.ts +8 -6
  156. package/src/components/Select/index.md +47 -1
  157. package/src/components/Select/index.module.less +37 -34
  158. package/src/components/Slider/index.md +28 -1
  159. package/src/components/Slider/index.module.less +5 -4
  160. package/src/components/Spreadsheet/index.md +42 -1
  161. package/src/components/Spreadsheet/index.module.less +4 -4
  162. package/src/components/Switch/index.md +33 -1
  163. package/src/components/Switch/index.module.less +7 -0
  164. package/src/components/Switch/index.tsx +14 -11
  165. package/src/components/TabBar/index.md +70 -1
  166. package/src/components/Table/_components/Pagination/index.module.less +23 -23
  167. package/src/components/Table/index.md +60 -1
  168. package/src/components/Table/index.module.less +61 -61
  169. package/src/components/Tags/index.md +23 -1
  170. package/src/components/TextEllipsis/index.md +29 -1
  171. package/src/components/Tree/index.md +66 -1
  172. package/src/components/Tree/index.module.less +11 -11
  173. package/src/components/Upload/index.md +72 -1
  174. package/src/components/Upload/index.module.less +3 -3
  175. package/src/styles/antd-overload.less +1 -1
@@ -6,6 +6,9 @@
6
6
 
7
7
  width: 100%;
8
8
  height: 100%;
9
+ // 父级未给定高度时(height:100% 解析为 auto),保证最小高度,
10
+ // 与 Input 等录入控件高度一致,避免被压扁或在搜索行中高度异常。
11
+ min-height: 32px;
9
12
  padding: 0px 11px;
10
13
 
11
14
  // CF 风格:随外观切换的描边输入控件
@@ -30,11 +33,11 @@
30
33
  .antdSelect {
31
34
  cursor: not-allowed;
32
35
 
33
- .ant-select-selection-item {
36
+ :global(.ant-select-selection-item) {
34
37
  color: var(--cf-text-3);
35
38
  }
36
39
 
37
- .ant-select-arrow {
40
+ :global(.ant-select-arrow) {
38
41
  cursor: not-allowed;
39
42
  }
40
43
  }
@@ -77,7 +80,7 @@
77
80
  margin-inline-start: 4px;
78
81
  }
79
82
 
80
- &:has(> .ant-select-status-error) {
83
+ &:has(> :global(.ant-select-status-error)) {
81
84
  border: 1px solid #ff4d4f;
82
85
 
83
86
  .prefix,
@@ -113,20 +116,20 @@
113
116
  font-weight: inherit;
114
117
  color: inherit !important;
115
118
 
116
- &:has(> .ant-select-arrow),
117
- &:has(> .ant-select-clear) {
118
- .ant-select-selector {
119
+ &:has(> :global(.ant-select-arrow)),
120
+ &:has(> :global(.ant-select-clear)) {
121
+ :global(.ant-select-selector) {
119
122
  padding-right: 20px;
120
123
  }
121
124
  }
122
125
 
123
126
  &.legacyHasArrowOrClear {
124
- .ant-select-selector {
127
+ :global(.ant-select-selector) {
125
128
  padding-right: 20px;
126
129
  }
127
130
  }
128
131
 
129
- .ant-select-selector {
132
+ :global(.ant-select-selector) {
130
133
  width: 100%;
131
134
  height: 100%;
132
135
  padding: 0;
@@ -145,7 +148,7 @@
145
148
  content: none;
146
149
  }
147
150
 
148
- .ant-select-selection-wrap {
151
+ :global(.ant-select-selection-wrap) {
149
152
  height: 100%;
150
153
 
151
154
  font-family: inherit;
@@ -154,7 +157,7 @@
154
157
  color: inherit;
155
158
  }
156
159
 
157
- .ant-select-selection-search {
160
+ :global(.ant-select-selection-search) {
158
161
  inset-inline-start: 0px;
159
162
  inset-inline-end: 0px;
160
163
 
@@ -173,7 +176,7 @@
173
176
  }
174
177
  }
175
178
 
176
- .ant-select-selection-placeholder {
179
+ :global(.ant-select-selection-placeholder) {
177
180
  display: inline-flex;
178
181
  align-items: center;
179
182
 
@@ -185,7 +188,7 @@
185
188
  font-weight: inherit;
186
189
  }
187
190
 
188
- .ant-select-selection-item {
191
+ :global(.ant-select-selection-item) {
189
192
  padding-inline-end: 0px;
190
193
 
191
194
  font-family: inherit;
@@ -194,8 +197,8 @@
194
197
  color: inherit;
195
198
  }
196
199
 
197
- .ant-select-selection-overflow-item {
198
- .ant-select-selection-item {
200
+ :global(.ant-select-selection-overflow-item) {
201
+ :global(.ant-select-selection-item) {
199
202
  line-height: normal;
200
203
 
201
204
  padding-inline-end: 4px;
@@ -203,34 +206,34 @@
203
206
  }
204
207
  }
205
208
 
206
- &.ant-select-focused {
207
- .ant-select-selector {
209
+ &:global(.ant-select-focused) {
210
+ :global(.ant-select-selector) {
208
211
  border: none !important;
209
212
 
210
213
  box-shadow: none !important;
211
214
  }
212
215
  }
213
216
 
214
- &.ant-select-open {
215
- .ant-select-arrow {
217
+ &:global(.ant-select-open) {
218
+ :global(.ant-select-arrow) {
216
219
  transform: rotate(-180deg) translateY(50%);
217
220
  }
218
221
 
219
222
  &.noArrowAnimation {
220
- .ant-select-arrow {
223
+ :global(.ant-select-arrow) {
221
224
  transform: translateY(-50%);
222
225
  transition: none !important;
223
226
  }
224
227
  }
225
228
  }
226
229
 
227
- &.ant-select-status-error {
228
- .ant-select-selector {
230
+ &:global(.ant-select-status-error) {
231
+ :global(.ant-select-selector) {
229
232
  border: none !important;
230
233
  }
231
234
  }
232
235
 
233
- .ant-select-arrow {
236
+ :global(.ant-select-arrow) {
234
237
  width: 14px;
235
238
  height: 14px;
236
239
  margin-top: 0px;
@@ -244,7 +247,7 @@
244
247
  pointer-events: all;
245
248
  }
246
249
 
247
- .ant-select-clear {
250
+ :global(.ant-select-clear) {
248
251
  width: 14px;
249
252
  height: 14px;
250
253
  margin-top: 0px;
@@ -256,17 +259,17 @@
256
259
  inset-inline-end: 0px;
257
260
  }
258
261
 
259
- &.ant-select-multiple {
260
- > .ant-select-selector {
261
- > .ant-select-selection-overflow {
262
- .ant-select-selection-search {
262
+ &:global(.ant-select-multiple) {
263
+ > :global(.ant-select-selector) {
264
+ > :global(.ant-select-selection-overflow) {
265
+ :global(.ant-select-selection-search) {
263
266
  width: 0px !important;
264
267
 
265
268
  margin-inline-start: 0px;
266
269
  }
267
270
  }
268
271
 
269
- > .ant-select-selection-placeholder {
272
+ > :global(.ant-select-selection-placeholder) {
270
273
  inset-inline-start: 0px;
271
274
  }
272
275
  }
@@ -274,14 +277,14 @@
274
277
  }
275
278
 
276
279
  &.popupMatchContentWidth {
277
- .ant-select-dropdown {
280
+ :global(.ant-select-dropdown) {
278
281
  [class="rc-virtual-list-holder-inner"] {
279
282
  position: relative !important;
280
283
  }
281
284
  }
282
285
  }
283
286
 
284
- .ant-select-dropdown {
287
+ :global(.ant-select-dropdown) {
285
288
  position: fixed;
286
289
 
287
290
  font-family: inherit;
@@ -291,7 +294,7 @@
291
294
 
292
295
  border-radius: inherit;
293
296
 
294
- .ant-select-item {
297
+ :global(.ant-select-item) {
295
298
  font-family: inherit;
296
299
  font-size: inherit;
297
300
  font-weight: inherit;
@@ -300,9 +303,9 @@
300
303
  border-radius: inherit;
301
304
  }
302
305
 
303
- .ant-select-item-empty,
304
- .ant-empty,
305
- .ant-empty-description {
306
+ :global(.ant-select-item-empty),
307
+ :global(.ant-empty),
308
+ :global(.ant-empty-description) {
306
309
  font-family: inherit;
307
310
  font-size: inherit;
308
311
  font-weight: inherit;
@@ -1,4 +1,5 @@
1
1
  .slider {
2
+ width: 100%;
2
3
  height: 32px;
3
4
  margin: 0px;
4
5
  padding-block: 0px;
@@ -6,14 +7,14 @@
6
7
  overflow-x: hidden;
7
8
  overflow-y: visible;
8
9
 
9
- .ant-slider-step,
10
- .ant-slider-track,
11
- .ant-slider-rail {
10
+ :global(.ant-slider-step),
11
+ :global(.ant-slider-track),
12
+ :global(.ant-slider-rail) {
12
13
  top: 0px;
13
14
  height: 100% !important;
14
15
  }
15
16
 
16
- .ant-slider-handle {
17
+ :global(.ant-slider-handle) {
17
18
  position: relative;
18
19
  top: 50%;
19
20
  transform: translate(calc(-50% - 4px), calc(-50% + 1px)) !important;
@@ -4,8 +4,8 @@
4
4
 
5
5
  overflow: hidden;
6
6
 
7
- .x-spreadsheet-toolbar,
8
- .x-spreadsheet-bottombar {
7
+ :global(.x-spreadsheet-toolbar),
8
+ :global(.x-spreadsheet-bottombar) {
9
9
  width: 100% !important;
10
10
  }
11
11
 
@@ -13,14 +13,14 @@
13
13
  background-size: auto;
14
14
  }
15
15
 
16
- .x-spreadsheet-menu {
16
+ :global(.x-spreadsheet-menu) {
17
17
  > li:first-child {
18
18
  display: none;
19
19
  }
20
20
  }
21
21
 
22
22
  &.showBottomTool {
23
- .x-spreadsheet-menu {
23
+ :global(.x-spreadsheet-menu) {
24
24
  > li:first-child {
25
25
  display: list-item;
26
26
  }
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _antd = require("antd");
8
8
  var _react = _interopRequireDefault(require("react"));
9
+ var _indexModule = _interopRequireDefault(require("./index.module.less"));
9
10
  var _jsxRuntime = require("react/jsx-runtime");
10
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
12
  const Switch = props => {
@@ -17,10 +18,13 @@ const Switch = props => {
17
18
  unCheckedChildren,
18
19
  ...rest
19
20
  } = props;
20
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_antd.Switch, {
21
- ...rest,
22
- checkedChildren: checkedChildren || options?.find(item => item.value === trueValue)?.label,
23
- unCheckedChildren: unCheckedChildren || options?.find(item => item.value === falseValue)?.label
21
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
22
+ className: _indexModule.default.SwitchWrapper,
23
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_antd.Switch, {
24
+ ...rest,
25
+ checkedChildren: checkedChildren || options?.find(item => item.value === trueValue)?.label,
26
+ unCheckedChildren: unCheckedChildren || options?.find(item => item.value === falseValue)?.label
27
+ })
24
28
  });
25
29
  };
26
30
  var _default = exports.default = Switch;
@@ -0,0 +1,7 @@
1
+ // 让开关在表单/录入场景中与 Input、Select 等控件保持一致的 32px 最小高度。
2
+ // 开关本体(pill)保持原始尺寸,由该容器居中占位,故不会被拉大。
3
+ .SwitchWrapper {
4
+ display: inline-flex;
5
+ align-items: center;
6
+ min-height: 32px;
7
+ }
@@ -4,11 +4,11 @@
4
4
  justify-content: flex-end;
5
5
  column-gap: 8px;
6
6
 
7
- &.ant-pagination-start {
7
+ &:global(.ant-pagination-start) {
8
8
  justify-content: flex-start;
9
9
  }
10
10
 
11
- &.ant-pagination-center {
11
+ &:global(.ant-pagination-center) {
12
12
  justify-content: center;
13
13
  }
14
14
 
@@ -25,10 +25,10 @@
25
25
  width: 100%;
26
26
  height: 100%;
27
27
 
28
- .ant-pagination-item-container {
28
+ :global(.ant-pagination-item-container) {
29
29
  width: 100%;
30
30
 
31
- .ant-pagination-item-ellipsis {
31
+ :global(.ant-pagination-item-ellipsis) {
32
32
  width: 100%;
33
33
  }
34
34
  }
@@ -40,17 +40,17 @@
40
40
  justify-content: center;
41
41
  }
42
42
 
43
- &.ant-pagination-options {
44
- .ant-pagination-options-size-changer,
45
- .ant-pagination-options-quick-jumper {
43
+ &:global(.ant-pagination-options) {
44
+ :global(.ant-pagination-options-size-changer),
45
+ :global(.ant-pagination-options-quick-jumper) {
46
46
  height: 100% !important;
47
47
  }
48
48
 
49
- .ant-pagination-options-size-changer {
50
- .ant-select-selector {
49
+ :global(.ant-pagination-options-size-changer) {
50
+ :global(.ant-select-selector) {
51
51
  height: 100% !important;
52
52
 
53
- .ant-select-selection-item {
53
+ :global(.ant-select-selection-item) {
54
54
  display: flex;
55
55
  align-items: center;
56
56
 
@@ -58,14 +58,14 @@
58
58
  }
59
59
  }
60
60
 
61
- .ant-select-arrow {
61
+ :global(.ant-select-arrow) {
62
62
  margin-top: 0px;
63
63
 
64
64
  transform: translateY(-50%);
65
65
  }
66
66
  }
67
67
 
68
- .ant-pagination-options-quick-jumper {
68
+ :global(.ant-pagination-options-quick-jumper) {
69
69
  display: inline-flex;
70
70
  align-items: center;
71
71
 
@@ -78,18 +78,18 @@
78
78
 
79
79
  &.bordered {
80
80
  > li {
81
- &:not(.ant-pagination-options):not(.ant-pagination-total-text) {
81
+ &:not(:global(.ant-pagination-options)):not(:global(.ant-pagination-total-text)) {
82
82
  border: 1px solid var(--cf-border);
83
83
  border-radius: 4px;
84
84
  }
85
85
 
86
- &.ant-pagination-item {
86
+ &:global(.ant-pagination-item) {
87
87
  margin: 0px 4px 0px 0px;
88
88
 
89
- &:not(.ant-pagination-item-active):not(
90
- .ant-pagination-item-disabled
89
+ &:not(:global(.ant-pagination-item-active)):not(
90
+ :global(.ant-pagination-item-disabled)
91
91
  ):hover,
92
- &.ant-pagination-item-active {
92
+ &:global(.ant-pagination-item-active) {
93
93
  background-color: var(--primary-color, #1890ff);
94
94
  border-color: var(--primary-color, #1890ff);
95
95
 
@@ -98,11 +98,11 @@
98
98
  }
99
99
  }
100
100
 
101
- &:not(.ant-pagination-item-active):not(.ant-pagination-item-disabled) {
101
+ &:not(:global(.ant-pagination-item-active)):not(:global(.ant-pagination-item-disabled)) {
102
102
  border-color: var(--cf-border);
103
103
  }
104
104
 
105
- &:not(.ant-pagination-item-active).ant-pagination-item-disabled {
105
+ &:not(:global(.ant-pagination-item-active)):global(.ant-pagination-item-disabled) {
106
106
  cursor: not-allowed;
107
107
 
108
108
  &:hover {
@@ -117,16 +117,16 @@
117
117
  }
118
118
  }
119
119
 
120
- &.ant-pagination-prev {
120
+ &:global(.ant-pagination-prev) {
121
121
  margin-right: 4px;
122
122
  }
123
123
 
124
- &.ant-pagination-options {
124
+ &:global(.ant-pagination-options) {
125
125
  margin-left: 4px;
126
126
  }
127
127
 
128
- &.ant-pagination-jump-next,
129
- &.ant-pagination-jump-prev {
128
+ &:global(.ant-pagination-jump-next),
129
+ &:global(.ant-pagination-jump-prev) {
130
130
  margin-right: 4px;
131
131
  }
132
132
  }