@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.
Files changed (147) hide show
  1. package/es/components/ChainGraph/index.module.less +1 -1
  2. package/es/components/Chat/ChatInput/_components/SendButton/index.module.less +1 -1
  3. package/es/components/Chat/ChatInput/_components/UploadButton/index.module.less +1 -1
  4. package/es/components/Chat/ChatInput/index.module.less +2 -2
  5. package/es/components/Chat/ChatList/_components/Assistant/AssistantItem/index.module.less +1 -1
  6. package/es/components/Checkbox/CheckboxGroup/index.module.less +16 -16
  7. package/es/components/Checkbox/index.module.less +13 -13
  8. package/es/components/CodeMirror/index.module.less +4 -4
  9. package/es/components/DatePicker/RangePicker/index.module.less +1 -1
  10. package/es/components/DatePicker/StepPicker/index.module.less +1 -1
  11. package/es/components/DatePicker/index.module.less +1 -1
  12. package/es/components/Form/DrawerForm/index.module.less +2 -2
  13. package/es/components/FormItem/FormRadio/index.module.less +9 -9
  14. package/es/components/FormItem/FormSegmented/index.module.less +2 -2
  15. package/es/components/FormItem/FormUpload/index.module.less +4 -4
  16. package/es/components/FormItem/ItemContainer/index.module.less +22 -22
  17. package/es/components/Icon/index.js +9 -24
  18. package/es/components/Input/Number/index.module.less +9 -9
  19. package/es/components/Input/Password/index.module.less +3 -3
  20. package/es/components/Input/Search/index.module.less +5 -5
  21. package/es/components/Input/TextArea/index.module.less +5 -5
  22. package/es/components/Input/index.module.less +4 -4
  23. package/es/components/Modal/index.module.less +2 -2
  24. package/es/components/Operate/index.module.less +2 -2
  25. package/es/components/Panel/IframePanel/index.module.less +1 -1
  26. package/es/components/Panel/ListPanel/_components/ColumnMgt/index.module.less +1 -1
  27. package/es/components/Search/index.module.less +2 -2
  28. package/es/components/Select/AutoCompleteSelect/index.module.less +35 -35
  29. package/es/components/Select/IconSelect/index.module.less +3 -3
  30. package/es/components/Select/TreeSelect/index.module.less +17 -17
  31. package/es/components/Select/index.module.less +34 -34
  32. package/es/components/Slider/index.module.less +4 -4
  33. package/es/components/Spreadsheet/index.module.less +4 -4
  34. package/es/components/Table/_components/Pagination/index.module.less +23 -23
  35. package/es/components/Table/index.module.less +61 -61
  36. package/es/components/Tree/index.module.less +11 -11
  37. package/es/components/Upload/index.module.less +3 -3
  38. package/es/styles/antd-overload.less +1 -1
  39. package/lib/components/ChainGraph/index.module.less +1 -1
  40. package/lib/components/Chat/ChatInput/_components/SendButton/index.module.less +1 -1
  41. package/lib/components/Chat/ChatInput/_components/UploadButton/index.module.less +1 -1
  42. package/lib/components/Chat/ChatInput/index.module.less +2 -2
  43. package/lib/components/Chat/ChatList/_components/Assistant/AssistantItem/index.module.less +1 -1
  44. package/lib/components/Checkbox/CheckboxGroup/index.module.less +16 -16
  45. package/lib/components/Checkbox/index.module.less +13 -13
  46. package/lib/components/CodeMirror/index.module.less +4 -4
  47. package/lib/components/DatePicker/RangePicker/index.module.less +1 -1
  48. package/lib/components/DatePicker/StepPicker/index.module.less +1 -1
  49. package/lib/components/DatePicker/index.module.less +1 -1
  50. package/lib/components/Form/DrawerForm/index.module.less +2 -2
  51. package/lib/components/FormItem/FormRadio/index.module.less +9 -9
  52. package/lib/components/FormItem/FormSegmented/index.module.less +2 -2
  53. package/lib/components/FormItem/FormUpload/index.module.less +4 -4
  54. package/lib/components/FormItem/ItemContainer/index.module.less +22 -22
  55. package/lib/components/Icon/index.js +9 -27
  56. package/lib/components/Input/Number/index.module.less +9 -9
  57. package/lib/components/Input/Password/index.module.less +3 -3
  58. package/lib/components/Input/Search/index.module.less +5 -5
  59. package/lib/components/Input/TextArea/index.module.less +5 -5
  60. package/lib/components/Input/index.module.less +4 -4
  61. package/lib/components/Modal/index.module.less +2 -2
  62. package/lib/components/Operate/index.module.less +2 -2
  63. package/lib/components/Panel/IframePanel/index.module.less +1 -1
  64. package/lib/components/Panel/ListPanel/_components/ColumnMgt/index.module.less +1 -1
  65. package/lib/components/Search/index.module.less +2 -2
  66. package/lib/components/Select/AutoCompleteSelect/index.module.less +35 -35
  67. package/lib/components/Select/IconSelect/index.module.less +3 -3
  68. package/lib/components/Select/TreeSelect/index.module.less +17 -17
  69. package/lib/components/Select/index.module.less +34 -34
  70. package/lib/components/Slider/index.module.less +4 -4
  71. package/lib/components/Spreadsheet/index.module.less +4 -4
  72. package/lib/components/Table/_components/Pagination/index.module.less +23 -23
  73. package/lib/components/Table/index.module.less +61 -61
  74. package/lib/components/Tree/index.module.less +11 -11
  75. package/lib/components/Upload/index.module.less +3 -3
  76. package/lib/styles/antd-overload.less +1 -1
  77. package/package.json +1 -1
  78. package/src/components/Button/index.md +2 -3
  79. package/src/components/ChainGraph/index.md +66 -1
  80. package/src/components/ChainGraph/index.module.less +1 -1
  81. package/src/components/Chart/index.md +78 -1
  82. package/src/components/Chat/ChatInput/_components/SendButton/index.module.less +1 -1
  83. package/src/components/Chat/ChatInput/_components/UploadButton/index.module.less +1 -1
  84. package/src/components/Chat/ChatInput/index.module.less +2 -2
  85. package/src/components/Chat/ChatList/_components/Assistant/AssistantItem/index.module.less +1 -1
  86. package/src/components/Chat/index.md +97 -1
  87. package/src/components/Checkbox/CheckboxGroup/index.module.less +16 -16
  88. package/src/components/Checkbox/index.md +53 -1
  89. package/src/components/Checkbox/index.module.less +13 -13
  90. package/src/components/CodeMirror/index.md +41 -1
  91. package/src/components/CodeMirror/index.module.less +4 -4
  92. package/src/components/DatePicker/RangePicker/index.module.less +1 -1
  93. package/src/components/DatePicker/StepPicker/index.module.less +1 -1
  94. package/src/components/DatePicker/index.md +43 -1
  95. package/src/components/DatePicker/index.module.less +1 -1
  96. package/src/components/Descriptions/index.md +45 -1
  97. package/src/components/Editor/index.md +40 -1
  98. package/src/components/FileCol/index.md +24 -1
  99. package/src/components/FilePreview/index.md +45 -1
  100. package/src/components/FlexFill/index.md +46 -1
  101. package/src/components/Form/DrawerForm/index.module.less +2 -2
  102. package/src/components/Form/index.md +92 -1
  103. package/src/components/FormItem/FormRadio/index.module.less +9 -9
  104. package/src/components/FormItem/FormSegmented/index.module.less +2 -2
  105. package/src/components/FormItem/FormUpload/index.module.less +4 -4
  106. package/src/components/FormItem/ItemContainer/index.module.less +22 -22
  107. package/src/components/FormItem/index.md +459 -1
  108. package/src/components/Icon/index.md +21 -3
  109. package/src/components/Icon/index.tsx +9 -37
  110. package/src/components/Input/Number/index.module.less +9 -9
  111. package/src/components/Input/Password/index.module.less +3 -3
  112. package/src/components/Input/Search/index.module.less +5 -5
  113. package/src/components/Input/TextArea/index.module.less +5 -5
  114. package/src/components/Input/index.md +35 -1
  115. package/src/components/Input/index.module.less +4 -4
  116. package/src/components/Markdown/index.md +71 -1
  117. package/src/components/Modal/index.md +43 -1
  118. package/src/components/Modal/index.module.less +2 -2
  119. package/src/components/Operate/index.md +43 -1
  120. package/src/components/Operate/index.module.less +2 -2
  121. package/src/components/Panel/IframePanel/index.module.less +1 -1
  122. package/src/components/Panel/ListPanel/_components/ColumnMgt/index.module.less +1 -1
  123. package/src/components/Panel/index.md +146 -1
  124. package/src/components/Search/index.md +73 -1
  125. package/src/components/Search/index.module.less +2 -2
  126. package/src/components/SecondConf/index.md +39 -1
  127. package/src/components/Select/AutoCompleteSelect/index.module.less +35 -35
  128. package/src/components/Select/IconSelect/index.module.less +3 -3
  129. package/src/components/Select/TreeSelect/index.module.less +17 -17
  130. package/src/components/Select/index.md +47 -1
  131. package/src/components/Select/index.module.less +34 -34
  132. package/src/components/Slider/index.md +29 -1
  133. package/src/components/Slider/index.module.less +4 -4
  134. package/src/components/Spreadsheet/index.md +42 -1
  135. package/src/components/Spreadsheet/index.module.less +4 -4
  136. package/src/components/Switch/index.md +33 -1
  137. package/src/components/TabBar/index.md +53 -1
  138. package/src/components/Table/_components/Pagination/index.module.less +23 -23
  139. package/src/components/Table/index.md +60 -1
  140. package/src/components/Table/index.module.less +61 -61
  141. package/src/components/Tags/index.md +23 -1
  142. package/src/components/TextEllipsis/index.md +29 -1
  143. package/src/components/Tree/index.md +66 -1
  144. package/src/components/Tree/index.module.less +11 -11
  145. package/src/components/Upload/index.md +72 -1
  146. package/src/components/Upload/index.module.less +3 -3
  147. package/src/styles/antd-overload.less +1 -1
@@ -30,11 +30,11 @@
30
30
  .antdSelect {
31
31
  cursor: not-allowed;
32
32
 
33
- .ant-select-selection-item {
33
+ :global(.ant-select-selection-item) {
34
34
  color: var(--cf-text-3);
35
35
  }
36
36
 
37
- .ant-select-arrow {
37
+ :global(.ant-select-arrow) {
38
38
  cursor: not-allowed;
39
39
  }
40
40
  }
@@ -77,7 +77,7 @@
77
77
  margin-inline-start: 4px;
78
78
  }
79
79
 
80
- &:has(> .ant-select-status-error) {
80
+ &:has(> :global(.ant-select-status-error)) {
81
81
  border: 1px solid #ff4d4f;
82
82
 
83
83
  .prefix,
@@ -113,20 +113,20 @@
113
113
  font-weight: inherit;
114
114
  color: inherit !important;
115
115
 
116
- &:has(> .ant-select-arrow),
117
- &:has(> .ant-select-clear) {
118
- .ant-select-selector {
116
+ &:has(> :global(.ant-select-arrow)),
117
+ &:has(> :global(.ant-select-clear)) {
118
+ :global(.ant-select-selector) {
119
119
  padding-right: 20px;
120
120
  }
121
121
  }
122
122
 
123
123
  &.legacyHasArrowOrClear {
124
- .ant-select-selector {
124
+ :global(.ant-select-selector) {
125
125
  padding-right: 20px;
126
126
  }
127
127
  }
128
128
 
129
- .ant-select-selector {
129
+ :global(.ant-select-selector) {
130
130
  width: 100%;
131
131
  height: 100%;
132
132
  padding: 0;
@@ -145,7 +145,7 @@
145
145
  content: none;
146
146
  }
147
147
 
148
- .ant-select-selection-wrap {
148
+ :global(.ant-select-selection-wrap) {
149
149
  height: 100%;
150
150
 
151
151
  font-family: inherit;
@@ -154,7 +154,7 @@
154
154
  color: inherit;
155
155
  }
156
156
 
157
- .ant-select-selection-search {
157
+ :global(.ant-select-selection-search) {
158
158
  inset-inline-start: 0px;
159
159
  inset-inline-end: 0px;
160
160
 
@@ -173,7 +173,7 @@
173
173
  }
174
174
  }
175
175
 
176
- .ant-select-selection-placeholder {
176
+ :global(.ant-select-selection-placeholder) {
177
177
  display: inline-flex;
178
178
  align-items: center;
179
179
 
@@ -185,7 +185,7 @@
185
185
  font-weight: inherit;
186
186
  }
187
187
 
188
- .ant-select-selection-item {
188
+ :global(.ant-select-selection-item) {
189
189
  padding-inline-end: 0px;
190
190
 
191
191
  font-family: inherit;
@@ -194,8 +194,8 @@
194
194
  color: inherit;
195
195
  }
196
196
 
197
- .ant-select-selection-overflow-item {
198
- .ant-select-selection-item {
197
+ :global(.ant-select-selection-overflow-item) {
198
+ :global(.ant-select-selection-item) {
199
199
  line-height: normal;
200
200
 
201
201
  padding-inline-end: 4px;
@@ -203,34 +203,34 @@
203
203
  }
204
204
  }
205
205
 
206
- &.ant-select-focused {
207
- .ant-select-selector {
206
+ &:global(.ant-select-focused) {
207
+ :global(.ant-select-selector) {
208
208
  border: none !important;
209
209
 
210
210
  box-shadow: none !important;
211
211
  }
212
212
  }
213
213
 
214
- &.ant-select-open {
215
- .ant-select-arrow {
214
+ &:global(.ant-select-open) {
215
+ :global(.ant-select-arrow) {
216
216
  transform: rotate(-180deg) translateY(50%);
217
217
  }
218
218
 
219
219
  &.noArrowAnimation {
220
- .ant-select-arrow {
220
+ :global(.ant-select-arrow) {
221
221
  transform: translateY(-50%);
222
222
  transition: none !important;
223
223
  }
224
224
  }
225
225
  }
226
226
 
227
- &.ant-select-status-error {
228
- .ant-select-selector {
227
+ &:global(.ant-select-status-error) {
228
+ :global(.ant-select-selector) {
229
229
  border: none !important;
230
230
  }
231
231
  }
232
232
 
233
- .ant-select-arrow {
233
+ :global(.ant-select-arrow) {
234
234
  width: 14px;
235
235
  height: 14px;
236
236
  margin-top: 0px;
@@ -244,7 +244,7 @@
244
244
  pointer-events: all;
245
245
  }
246
246
 
247
- .ant-select-clear {
247
+ :global(.ant-select-clear) {
248
248
  width: 14px;
249
249
  height: 14px;
250
250
  margin-top: 0px;
@@ -256,17 +256,17 @@
256
256
  inset-inline-end: 0px;
257
257
  }
258
258
 
259
- &.ant-select-multiple {
260
- > .ant-select-selector {
261
- > .ant-select-selection-overflow {
262
- .ant-select-selection-search {
259
+ &:global(.ant-select-multiple) {
260
+ > :global(.ant-select-selector) {
261
+ > :global(.ant-select-selection-overflow) {
262
+ :global(.ant-select-selection-search) {
263
263
  width: 0px !important;
264
264
 
265
265
  margin-inline-start: 0px;
266
266
  }
267
267
  }
268
268
 
269
- > .ant-select-selection-placeholder {
269
+ > :global(.ant-select-selection-placeholder) {
270
270
  inset-inline-start: 0px;
271
271
  }
272
272
  }
@@ -274,14 +274,14 @@
274
274
  }
275
275
 
276
276
  &.popupMatchContentWidth {
277
- .ant-select-dropdown {
277
+ :global(.ant-select-dropdown) {
278
278
  [class="rc-virtual-list-holder-inner"] {
279
279
  position: relative !important;
280
280
  }
281
281
  }
282
282
  }
283
283
 
284
- .ant-select-dropdown {
284
+ :global(.ant-select-dropdown) {
285
285
  position: fixed;
286
286
 
287
287
  font-family: inherit;
@@ -291,7 +291,7 @@
291
291
 
292
292
  border-radius: inherit;
293
293
 
294
- .ant-select-item {
294
+ :global(.ant-select-item) {
295
295
  font-family: inherit;
296
296
  font-size: inherit;
297
297
  font-weight: inherit;
@@ -300,9 +300,9 @@
300
300
  border-radius: inherit;
301
301
  }
302
302
 
303
- .ant-select-item-empty,
304
- .ant-empty,
305
- .ant-empty-description {
303
+ :global(.ant-select-item-empty),
304
+ :global(.ant-empty),
305
+ :global(.ant-empty-description) {
306
306
  font-family: inherit;
307
307
  font-size: inherit;
308
308
  font-weight: inherit;
@@ -6,14 +6,14 @@
6
6
  overflow-x: hidden;
7
7
  overflow-y: visible;
8
8
 
9
- .ant-slider-step,
10
- .ant-slider-track,
11
- .ant-slider-rail {
9
+ :global(.ant-slider-step),
10
+ :global(.ant-slider-track),
11
+ :global(.ant-slider-rail) {
12
12
  top: 0px;
13
13
  height: 100% !important;
14
14
  }
15
15
 
16
- .ant-slider-handle {
16
+ :global(.ant-slider-handle) {
17
17
  position: relative;
18
18
  top: 50%;
19
19
  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
  }
@@ -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
  }
@@ -15,16 +15,16 @@
15
15
  cursor: pointer;
16
16
  }
17
17
 
18
- .ant-table-container {
18
+ :global(.ant-table-container) {
19
19
  border-left: none !important;
20
20
  }
21
21
 
22
- .ant-table-thead {
22
+ :global(.ant-table-thead) {
23
23
  tr {
24
- .ant-table-cell {
24
+ :global(.ant-table-cell) {
25
25
  padding: var(--th-padding);
26
26
 
27
- &.ant-table-column-has-sorters {
27
+ &:global(.ant-table-column-has-sorters) {
28
28
  background: var(--cf-subtle);
29
29
 
30
30
  &:hover {
@@ -35,22 +35,22 @@
35
35
  }
36
36
  }
37
37
 
38
- .ant-table-tbody {
39
- .ant-table-placeholder {
38
+ :global(.ant-table-tbody) {
39
+ :global(.ant-table-placeholder) {
40
40
  height: 100%;
41
41
  }
42
42
 
43
- .ant-table-expanded-row {
44
- .ant-table-cell {
43
+ :global(.ant-table-expanded-row) {
44
+ :global(.ant-table-cell) {
45
45
  padding: var(--expanded-cell-padding);
46
46
  }
47
47
  }
48
48
 
49
- .ant-table-row {
50
- .ant-table-cell {
49
+ :global(.ant-table-row) {
50
+ :global(.ant-table-cell) {
51
51
  padding: var(--td-padding);
52
52
 
53
- &:not(.ant-table-cell-ellipsis):not(.noWarp) {
53
+ &:not(:global(.ant-table-cell-ellipsis)):not(.noWarp) {
54
54
  white-space: pre-wrap;
55
55
  word-break: break-all;
56
56
  }
@@ -59,21 +59,21 @@
59
59
  white-space: nowrap;
60
60
  }
61
61
 
62
- &.ant-table-column-sort {
62
+ &:global(.ant-table-column-sort) {
63
63
  background: transparent;
64
64
 
65
- &.ant-table-cell-row-hover {
65
+ &:global(.ant-table-cell-row-hover) {
66
66
  background: var(--cf-subtle);
67
67
  }
68
68
  }
69
69
  }
70
70
 
71
- &.ant-table-row-selected {
72
- .ant-table-cell {
73
- &.ant-table-column-sort {
71
+ &:global(.ant-table-row-selected) {
72
+ :global(.ant-table-cell) {
73
+ &:global(.ant-table-column-sort) {
74
74
  background: rgba(19, 194, 194, 0.12);
75
75
 
76
- &.ant-table-cell-row-hover {
76
+ &:global(.ant-table-cell-row-hover) {
77
77
  background: rgba(19, 194, 194, 0.22);
78
78
  }
79
79
  }
@@ -82,15 +82,15 @@
82
82
  }
83
83
  }
84
84
 
85
- .ant-table-summary {
85
+ :global(.ant-table-summary) {
86
86
  > tr {
87
- .ant-table-cell {
87
+ :global(.ant-table-cell) {
88
88
  padding: var(--td-padding);
89
89
 
90
- &.ant-table-column-sort {
90
+ &:global(.ant-table-column-sort) {
91
91
  background: transparent;
92
92
 
93
- &.ant-table-cell-row-hover {
93
+ &:global(.ant-table-cell-row-hover) {
94
94
  background: var(--cf-subtle);
95
95
  }
96
96
  }
@@ -98,11 +98,11 @@
98
98
  }
99
99
  }
100
100
 
101
- .ant-table-tbody-virtual-scrollbar {
101
+ :global(.ant-table-tbody-virtual-scrollbar) {
102
102
  display: none;
103
103
  }
104
104
 
105
- .ant-table-cell {
105
+ :global(.ant-table-cell) {
106
106
  &.hidden {
107
107
  width: 0px !important;
108
108
  overflow: hidden !important;
@@ -115,7 +115,7 @@
115
115
  }
116
116
  }
117
117
 
118
- .ant-table-row-expand-icon {
118
+ :global(.ant-table-row-expand-icon) {
119
119
  &::before {
120
120
  top: calc(50% - 0.5px);
121
121
  }
@@ -128,9 +128,9 @@
128
128
  content: none !important;
129
129
  }
130
130
 
131
- .ant-checkbox {
132
- &.ant-checkbox-checked {
133
- .ant-checkbox-inner {
131
+ :global(.ant-checkbox) {
132
+ &:global(.ant-checkbox-checked) {
133
+ :global(.ant-checkbox-inner) {
134
134
  &::after {
135
135
  top: 45%;
136
136
  inset-inline-start: 25%;
@@ -147,10 +147,10 @@
147
147
  .antdTable {
148
148
  border-color: var(--cf-border-weak);
149
149
 
150
- *:not(.ant-table-cell *) {
150
+ *:not(:global(.ant-table-cell) *) {
151
151
  border-color: inherit !important;
152
152
 
153
- .ant-table-cell::after {
153
+ :global(.ant-table-cell)::after {
154
154
  border-color: inherit !important;
155
155
  }
156
156
  }
@@ -164,15 +164,15 @@
164
164
  }
165
165
 
166
166
  &.hideEmpty {
167
- .ant-table-placeholder {
167
+ :global(.ant-table-placeholder) {
168
168
  display: none !important;
169
169
  }
170
170
  }
171
171
 
172
172
  &:not(.scroll) {
173
- .ant-table-bordered {
174
- .ant-table-container {
175
- .ant-table-content {
173
+ :global(.ant-table-bordered) {
174
+ :global(.ant-table-container) {
175
+ :global(.ant-table-content) {
176
176
  > table {
177
177
  border-left: 1px solid var(--cf-border-weak);
178
178
  }
@@ -181,12 +181,12 @@
181
181
  }
182
182
  }
183
183
 
184
- .ant-table {
184
+ :global(.ant-table) {
185
185
  line-height: normal;
186
186
  }
187
187
 
188
188
  &.isExpandedCellTable {
189
- .ant-table-tbody {
189
+ :global(.ant-table-tbody) {
190
190
  tr {
191
191
  &:last-child {
192
192
  td {
@@ -196,9 +196,9 @@
196
196
  }
197
197
  }
198
198
 
199
- .ant-table-bordered {
200
- .ant-table-container {
201
- > .ant-table-content {
199
+ :global(.ant-table-bordered) {
200
+ :global(.ant-table-container) {
201
+ > :global(.ant-table-content) {
202
202
  > table {
203
203
  border-radius: 0 !important;
204
204
  border-left: none !important;
@@ -212,7 +212,7 @@
212
212
  }
213
213
  }
214
214
 
215
- .ant-table-thead {
215
+ :global(.ant-table-thead) {
216
216
  tr {
217
217
  th {
218
218
  &:first-child {
@@ -235,23 +235,23 @@
235
235
  width: 100%;
236
236
  min-height: 0px;
237
237
 
238
- .ant-table-bordered {
239
- .ant-table-container {
240
- > .ant-table-header {
238
+ :global(.ant-table-bordered) {
239
+ :global(.ant-table-container) {
240
+ > :global(.ant-table-header) {
241
241
  > table {
242
242
  border-radius: 6px 6px 0 0;
243
243
  border-left: 1px solid var(--cf-border-weak);
244
244
  }
245
245
  }
246
246
 
247
- > .ant-table-body {
247
+ > :global(.ant-table-body) {
248
248
  > table {
249
249
  border-radius: 0px !important;
250
250
  border-left: 1px solid var(--cf-border-weak);
251
251
  }
252
252
  }
253
253
 
254
- > .ant-table-summary {
254
+ > :global(.ant-table-summary) {
255
255
  > table {
256
256
  border-radius: 0px !important;
257
257
  border-left: 1px solid var(--cf-border-weak);
@@ -262,23 +262,23 @@
262
262
  }
263
263
 
264
264
  &.isExpanded {
265
- .ant-table-bordered {
266
- .ant-table-container {
267
- > .ant-table-header {
265
+ :global(.ant-table-bordered) {
266
+ :global(.ant-table-container) {
267
+ > :global(.ant-table-header) {
268
268
  > table {
269
269
  border-radius: 0px !important;
270
270
  border-left: none !important;
271
271
  }
272
272
  }
273
273
 
274
- > .ant-table-body {
274
+ > :global(.ant-table-body) {
275
275
  > table {
276
276
  border-radius: 0px !important;
277
277
  border-left: none !important;
278
278
  }
279
279
  }
280
280
 
281
- > .ant-table-summary {
281
+ > :global(.ant-table-summary) {
282
282
  > table {
283
283
  border-radius: 0px !important;
284
284
  border-left: none !important;
@@ -289,38 +289,38 @@
289
289
  }
290
290
  }
291
291
 
292
- .ant-table-wrapper {
292
+ :global(.ant-table-wrapper) {
293
293
  width: 100%;
294
294
  height: 100%;
295
295
  }
296
296
 
297
- .ant-spin-nested-loading {
297
+ :global(.ant-spin-nested-loading) {
298
298
  width: 100%;
299
299
  height: 100%;
300
300
 
301
- .ant-spin-container {
301
+ :global(.ant-spin-container) {
302
302
  display: flex;
303
303
  flex-direction: column;
304
304
 
305
305
  width: 100%;
306
306
  height: 100%;
307
307
 
308
- .ant-table {
308
+ :global(.ant-table) {
309
309
  width: 100%;
310
310
  height: 100%;
311
311
 
312
- .ant-table-container {
312
+ :global(.ant-table-container) {
313
313
  display: flex;
314
314
  flex-direction: column;
315
315
 
316
316
  width: 100%;
317
317
  height: 100%;
318
318
 
319
- > .ant-table-header {
319
+ > :global(.ant-table-header) {
320
320
  min-height: max-content;
321
321
  }
322
322
 
323
- > .ant-table-body {
323
+ > :global(.ant-table-body) {
324
324
  position: relative;
325
325
 
326
326
  flex: 1;
@@ -344,11 +344,11 @@
344
344
  }
345
345
 
346
346
  &.y-unScroll {
347
- .ant-spin-nested-loading {
348
- .ant-spin-container {
349
- .ant-table {
350
- .ant-table-container {
351
- > .ant-table-body {
347
+ :global(.ant-spin-nested-loading) {
348
+ :global(.ant-spin-container) {
349
+ :global(.ant-table) {
350
+ :global(.ant-table-container) {
351
+ > :global(.ant-table-body) {
352
352
  overflow-y: visible !important;
353
353
  }
354
354
  }