@qn-pandora/pandora-component 5.0.2 → 5.1.1
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/index.js +2 -2
- package/es/components/AutoComplete/style.css +110 -22
- package/es/components/Breadcrumb/style.css +13 -3
- package/es/components/Button/style.css +215 -109
- package/es/components/Card/RowExtra/style.css +6 -0
- package/es/components/Card/style.css +50 -55
- package/es/components/CheckTransformList/style.css +327 -103
- package/es/components/Checkbox/style.css +5 -0
- package/es/components/CheckboxList/style.css +5 -0
- package/es/components/Collapse/style.css +34 -2
- package/es/components/DateTimePicker/Base/style.css +446 -56
- package/es/components/DateTimePicker/DisplayInput/style.css +218 -40
- package/es/components/DateTimePicker/index.js +1 -1
- package/es/components/DateTimePicker/style.css +77 -46
- package/es/components/Descriptions/style.css +77 -46
- package/es/components/Drawer/index.d.ts +6 -6
- package/es/components/Drawer/index.js +4 -4
- package/es/components/Drawer/style.css +244 -169
- package/es/components/Drawer/style.less +8 -0
- package/es/components/FileResumable/style.css +12 -42
- package/es/components/Input/index.d.ts +1 -1
- package/es/components/Input/style.css +218 -40
- package/es/components/Menu/style.css +16 -7
- package/es/components/Modal/style.css +10 -7
- package/es/components/NameLimiter/index.js +1 -1
- package/es/components/NameLimiter/style.css +83 -55
- package/es/components/OptionList/InlineOptionList/style.css +21 -8
- package/es/components/OptionList/OptionItem/style.css +83 -55
- package/es/components/OptionList/PopoverOptionList/index.js +1 -1
- package/es/components/OptionList/PopoverOptionList/style.css +77 -46
- package/es/components/OptionList/style.css +181 -109
- package/es/components/RadioGroup/style.css +27 -16
- package/es/components/RangeInput/style.css +581 -64
- package/es/components/RemarkName/style.css +83 -55
- package/es/components/Selector/style.css +110 -22
- package/es/components/Spin/style.css +8 -6
- package/es/components/Steps/style.css +43 -5
- package/es/components/Table/ColumnSetting/style.css +2 -5
- package/es/components/Table/ColumnSetting/style.less +2 -3
- package/es/components/Table/index.d.ts +12 -9
- package/es/components/Table/index.js +73 -84
- package/es/components/Table/style.css +99 -61
- package/es/components/Tabs/style.css +117 -68
- package/es/components/TopologyChart/index.d.ts +7 -0
- package/es/components/TopologyChart/index.js +19 -0
- package/es/components/TopologyChart/style.css +14 -0
- package/es/components/TopologyChart/style.less +14 -0
- package/es/components/TreeSelector/style.css +21 -9
- package/es/index.css +4134 -3054
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/index.less +16 -15
- package/lib/components/AutoComplete/index.js +2 -2
- package/lib/components/AutoComplete/style.css +110 -22
- package/lib/components/Breadcrumb/style.css +13 -3
- package/lib/components/Button/style.css +215 -109
- package/lib/components/Card/RowExtra/style.css +6 -0
- package/lib/components/Card/style.css +50 -55
- package/lib/components/CheckTransformList/style.css +327 -103
- package/lib/components/Checkbox/style.css +5 -0
- package/lib/components/CheckboxList/style.css +5 -0
- package/lib/components/Collapse/style.css +34 -2
- package/lib/components/DateTimePicker/Base/style.css +446 -56
- package/lib/components/DateTimePicker/DisplayInput/style.css +218 -40
- package/lib/components/DateTimePicker/index.js +1 -1
- package/lib/components/DateTimePicker/style.css +77 -46
- package/lib/components/Descriptions/style.css +77 -46
- package/lib/components/Drawer/index.d.ts +6 -6
- package/lib/components/Drawer/index.js +4 -4
- package/lib/components/Drawer/style.css +244 -169
- package/lib/components/Drawer/style.less +8 -0
- package/lib/components/FileResumable/style.css +12 -42
- package/lib/components/Input/index.d.ts +1 -1
- package/lib/components/Input/style.css +218 -40
- package/lib/components/Menu/style.css +16 -7
- package/lib/components/Modal/style.css +10 -7
- package/lib/components/NameLimiter/index.js +1 -1
- package/lib/components/NameLimiter/style.css +83 -55
- package/lib/components/OptionList/InlineOptionList/style.css +21 -8
- package/lib/components/OptionList/OptionItem/style.css +83 -55
- package/lib/components/OptionList/PopoverOptionList/index.js +1 -1
- package/lib/components/OptionList/PopoverOptionList/style.css +77 -46
- package/lib/components/OptionList/style.css +181 -109
- package/lib/components/RadioGroup/style.css +27 -16
- package/lib/components/RangeInput/style.css +581 -64
- package/lib/components/RemarkName/style.css +83 -55
- package/lib/components/Selector/style.css +110 -22
- package/lib/components/Spin/style.css +8 -6
- package/lib/components/Steps/style.css +43 -5
- package/lib/components/Table/ColumnSetting/style.css +2 -5
- package/lib/components/Table/ColumnSetting/style.less +2 -3
- package/lib/components/Table/index.d.ts +12 -9
- package/lib/components/Table/index.js +73 -84
- package/lib/components/Table/style.css +99 -61
- package/lib/components/Tabs/style.css +117 -68
- package/lib/components/TopologyChart/index.d.ts +7 -0
- package/lib/components/TopologyChart/index.js +28 -0
- package/lib/components/TopologyChart/style.css +14 -0
- package/lib/components/TopologyChart/style.less +14 -0
- package/lib/components/TreeSelector/style.css +21 -9
- package/lib/index.css +10899 -9819
- package/lib/index.d.ts +1 -0
- package/lib/index.js +6 -1
- package/lib/index.less +23 -22
- package/package.json +7 -6
@@ -17,19 +17,20 @@
|
|
17
17
|
border-radius: 2px;
|
18
18
|
-webkit-transition: all 0.3s;
|
19
19
|
transition: all 0.3s;
|
20
|
-
/* stylelint-disable-next-line selector-no-vendor-prefix */
|
21
20
|
display: -webkit-inline-box;
|
22
21
|
display: -ms-inline-flexbox;
|
23
22
|
display: inline-flex;
|
24
23
|
}
|
25
|
-
.ant-input-affix-wrapper::-moz-placeholder {
|
26
|
-
opacity: 1;
|
27
|
-
}
|
28
24
|
.ant-input-affix-wrapper::-webkit-input-placeholder {
|
29
25
|
color: #bfbfbf;
|
30
26
|
-webkit-user-select: none;
|
31
27
|
user-select: none;
|
32
28
|
}
|
29
|
+
.ant-input-affix-wrapper::-moz-placeholder {
|
30
|
+
color: #bfbfbf;
|
31
|
+
-moz-user-select: none;
|
32
|
+
user-select: none;
|
33
|
+
}
|
33
34
|
.ant-input-affix-wrapper::-ms-input-placeholder {
|
34
35
|
color: #bfbfbf;
|
35
36
|
-ms-user-select: none;
|
@@ -47,7 +48,7 @@
|
|
47
48
|
}
|
48
49
|
.ant-input-affix-wrapper:hover {
|
49
50
|
border-color: #2c6dd2;
|
50
|
-
border-right-width: 1px
|
51
|
+
border-right-width: 1px;
|
51
52
|
}
|
52
53
|
.ant-input-rtl .ant-input-affix-wrapper:hover {
|
53
54
|
border-right-width: 0;
|
@@ -58,7 +59,7 @@
|
|
58
59
|
border-color: #9ca0a6;
|
59
60
|
-webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
|
60
61
|
box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
|
61
|
-
border-right-width: 1px
|
62
|
+
border-right-width: 1px;
|
62
63
|
outline: 0;
|
63
64
|
}
|
64
65
|
.ant-input-rtl .ant-input-affix-wrapper:focus,
|
@@ -77,7 +78,7 @@
|
|
77
78
|
}
|
78
79
|
.ant-input-affix-wrapper-disabled:hover {
|
79
80
|
border-color: #bfbfbf;
|
80
|
-
border-right-width: 1px
|
81
|
+
border-right-width: 1px;
|
81
82
|
}
|
82
83
|
.ant-input-affix-wrapper[disabled] {
|
83
84
|
color: rgba(0, 0, 0, 0.25);
|
@@ -90,7 +91,7 @@
|
|
90
91
|
}
|
91
92
|
.ant-input-affix-wrapper[disabled]:hover {
|
92
93
|
border-color: #bfbfbf;
|
93
|
-
border-right-width: 1px
|
94
|
+
border-right-width: 1px;
|
94
95
|
}
|
95
96
|
.ant-input-affix-wrapper-borderless,
|
96
97
|
.ant-input-affix-wrapper-borderless:hover,
|
@@ -124,7 +125,7 @@ textarea.ant-input-affix-wrapper {
|
|
124
125
|
}
|
125
126
|
.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {
|
126
127
|
border-color: #2c6dd2;
|
127
|
-
border-right-width: 1px
|
128
|
+
border-right-width: 1px;
|
128
129
|
z-index: 1;
|
129
130
|
}
|
130
131
|
.ant-input-rtl .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {
|
@@ -139,18 +140,22 @@ textarea.ant-input-affix-wrapper {
|
|
139
140
|
z-index: 1;
|
140
141
|
}
|
141
142
|
.ant-input-affix-wrapper-disabled .ant-input[disabled] {
|
142
|
-
background:
|
143
|
+
background: rgba(255, 255, 255, 0);
|
143
144
|
}
|
144
|
-
.ant-input-affix-wrapper >
|
145
|
-
|
145
|
+
.ant-input-affix-wrapper > .ant-input {
|
146
|
+
font-size: inherit;
|
146
147
|
border: none;
|
147
148
|
outline: none;
|
148
149
|
}
|
149
|
-
.ant-input-affix-wrapper >
|
150
|
+
.ant-input-affix-wrapper > .ant-input:focus {
|
150
151
|
-webkit-box-shadow: none !important;
|
151
152
|
box-shadow: none !important;
|
152
153
|
}
|
154
|
+
.ant-input-affix-wrapper > .ant-input:not(textarea) {
|
155
|
+
padding: 0;
|
156
|
+
}
|
153
157
|
.ant-input-affix-wrapper::before {
|
158
|
+
display: inline-block;
|
154
159
|
width: 0;
|
155
160
|
visibility: hidden;
|
156
161
|
content: '\a0';
|
@@ -167,13 +172,24 @@ textarea.ant-input-affix-wrapper {
|
|
167
172
|
-ms-flex-align: center;
|
168
173
|
align-items: center;
|
169
174
|
}
|
175
|
+
.ant-input-prefix > *:not(:last-child),
|
176
|
+
.ant-input-suffix > *:not(:last-child) {
|
177
|
+
margin-right: 8px;
|
178
|
+
}
|
179
|
+
.ant-input-show-count-suffix {
|
180
|
+
color: rgba(0, 0, 0, 0.45);
|
181
|
+
}
|
182
|
+
.ant-input-show-count-has-suffix {
|
183
|
+
margin-right: 2px;
|
184
|
+
}
|
170
185
|
.ant-input-prefix {
|
171
186
|
margin-right: 4px;
|
172
187
|
}
|
173
188
|
.ant-input-suffix {
|
174
189
|
margin-left: 4px;
|
175
190
|
}
|
176
|
-
.anticon.ant-input-clear-icon
|
191
|
+
.anticon.ant-input-clear-icon,
|
192
|
+
.ant-input-clear-icon {
|
177
193
|
margin: 0;
|
178
194
|
color: rgba(0, 0, 0, 0.25);
|
179
195
|
font-size: 12px;
|
@@ -182,28 +198,109 @@ textarea.ant-input-affix-wrapper {
|
|
182
198
|
-webkit-transition: color 0.3s;
|
183
199
|
transition: color 0.3s;
|
184
200
|
}
|
185
|
-
.anticon.ant-input-clear-icon:hover
|
201
|
+
.anticon.ant-input-clear-icon:hover,
|
202
|
+
.ant-input-clear-icon:hover {
|
186
203
|
color: rgba(0, 0, 0, 0.45);
|
187
204
|
}
|
188
|
-
.anticon.ant-input-clear-icon:active
|
205
|
+
.anticon.ant-input-clear-icon:active,
|
206
|
+
.ant-input-clear-icon:active {
|
189
207
|
color: rgba(0, 0, 0, 0.65);
|
190
208
|
}
|
191
|
-
.anticon.ant-input-clear-icon-hidden
|
209
|
+
.anticon.ant-input-clear-icon-hidden,
|
210
|
+
.ant-input-clear-icon-hidden {
|
192
211
|
visibility: hidden;
|
193
212
|
}
|
194
|
-
.anticon.ant-input-clear-icon-has-suffix
|
213
|
+
.anticon.ant-input-clear-icon-has-suffix,
|
214
|
+
.ant-input-clear-icon-has-suffix {
|
195
215
|
margin: 0 4px;
|
196
216
|
}
|
197
|
-
.ant-input-affix-wrapper-textarea-with-clear-btn {
|
198
|
-
padding: 0
|
199
|
-
border: 0 !important;
|
217
|
+
.ant-input-affix-wrapper.ant-input-affix-wrapper-textarea-with-clear-btn {
|
218
|
+
padding: 0;
|
200
219
|
}
|
201
|
-
.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input-clear-icon {
|
220
|
+
.ant-input-affix-wrapper.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input-clear-icon {
|
202
221
|
position: absolute;
|
203
222
|
top: 8px;
|
204
223
|
right: 8px;
|
205
224
|
z-index: 1;
|
206
225
|
}
|
226
|
+
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,
|
227
|
+
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {
|
228
|
+
background: transparent;
|
229
|
+
border-color: #f5222d;
|
230
|
+
}
|
231
|
+
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus,
|
232
|
+
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {
|
233
|
+
border-color: #ff4d4f;
|
234
|
+
-webkit-box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
|
235
|
+
box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
|
236
|
+
border-right-width: 1px;
|
237
|
+
outline: 0;
|
238
|
+
}
|
239
|
+
.ant-input-status-error .ant-input-prefix {
|
240
|
+
color: #f5222d;
|
241
|
+
}
|
242
|
+
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,
|
243
|
+
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {
|
244
|
+
background: transparent;
|
245
|
+
border-color: #f0a818;
|
246
|
+
}
|
247
|
+
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus,
|
248
|
+
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {
|
249
|
+
border-color: #fcc442;
|
250
|
+
-webkit-box-shadow: 0 0 0 2px rgba(240, 168, 24, 0.2);
|
251
|
+
box-shadow: 0 0 0 2px rgba(240, 168, 24, 0.2);
|
252
|
+
border-right-width: 1px;
|
253
|
+
outline: 0;
|
254
|
+
}
|
255
|
+
.ant-input-status-warning .ant-input-prefix {
|
256
|
+
color: #f0a818;
|
257
|
+
}
|
258
|
+
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,
|
259
|
+
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {
|
260
|
+
background: transparent;
|
261
|
+
border-color: #f5222d;
|
262
|
+
}
|
263
|
+
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,
|
264
|
+
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {
|
265
|
+
border-color: #ff4d4f;
|
266
|
+
-webkit-box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
|
267
|
+
box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
|
268
|
+
border-right-width: 1px;
|
269
|
+
outline: 0;
|
270
|
+
}
|
271
|
+
.ant-input-affix-wrapper-status-error .ant-input-prefix {
|
272
|
+
color: #f5222d;
|
273
|
+
}
|
274
|
+
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,
|
275
|
+
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {
|
276
|
+
background: transparent;
|
277
|
+
border-color: #f0a818;
|
278
|
+
}
|
279
|
+
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,
|
280
|
+
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {
|
281
|
+
border-color: #fcc442;
|
282
|
+
-webkit-box-shadow: 0 0 0 2px rgba(240, 168, 24, 0.2);
|
283
|
+
box-shadow: 0 0 0 2px rgba(240, 168, 24, 0.2);
|
284
|
+
border-right-width: 1px;
|
285
|
+
outline: 0;
|
286
|
+
}
|
287
|
+
.ant-input-affix-wrapper-status-warning .ant-input-prefix {
|
288
|
+
color: #f0a818;
|
289
|
+
}
|
290
|
+
.ant-input-textarea-status-error.ant-input-textarea-has-feedback .ant-input,
|
291
|
+
.ant-input-textarea-status-warning.ant-input-textarea-has-feedback .ant-input,
|
292
|
+
.ant-input-textarea-status-success.ant-input-textarea-has-feedback .ant-input,
|
293
|
+
.ant-input-textarea-status-validating.ant-input-textarea-has-feedback .ant-input {
|
294
|
+
padding-right: 24px;
|
295
|
+
}
|
296
|
+
.ant-input-group-wrapper-status-error .ant-input-group-addon {
|
297
|
+
color: #f5222d;
|
298
|
+
border-color: #f5222d;
|
299
|
+
}
|
300
|
+
.ant-input-group-wrapper-status-warning .ant-input-group-addon {
|
301
|
+
color: #f0a818;
|
302
|
+
border-color: #f0a818;
|
303
|
+
}
|
207
304
|
.ant-input {
|
208
305
|
-webkit-box-sizing: border-box;
|
209
306
|
box-sizing: border-box;
|
@@ -228,16 +325,17 @@ textarea.ant-input-affix-wrapper {
|
|
228
325
|
border-radius: 2px;
|
229
326
|
-webkit-transition: all 0.3s;
|
230
327
|
transition: all 0.3s;
|
231
|
-
/* stylelint-disable-next-line selector-no-vendor-prefix */
|
232
|
-
}
|
233
|
-
.ant-input::-moz-placeholder {
|
234
|
-
opacity: 1;
|
235
328
|
}
|
236
329
|
.ant-input::-webkit-input-placeholder {
|
237
330
|
color: #bfbfbf;
|
238
331
|
-webkit-user-select: none;
|
239
332
|
user-select: none;
|
240
333
|
}
|
334
|
+
.ant-input::-moz-placeholder {
|
335
|
+
color: #bfbfbf;
|
336
|
+
-moz-user-select: none;
|
337
|
+
user-select: none;
|
338
|
+
}
|
241
339
|
.ant-input::-ms-input-placeholder {
|
242
340
|
color: #bfbfbf;
|
243
341
|
-ms-user-select: none;
|
@@ -255,7 +353,7 @@ textarea.ant-input-affix-wrapper {
|
|
255
353
|
}
|
256
354
|
.ant-input:hover {
|
257
355
|
border-color: #2c6dd2;
|
258
|
-
border-right-width: 1px
|
356
|
+
border-right-width: 1px;
|
259
357
|
}
|
260
358
|
.ant-input-rtl .ant-input:hover {
|
261
359
|
border-right-width: 0;
|
@@ -266,7 +364,7 @@ textarea.ant-input-affix-wrapper {
|
|
266
364
|
border-color: #9ca0a6;
|
267
365
|
-webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
|
268
366
|
box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
|
269
|
-
border-right-width: 1px
|
367
|
+
border-right-width: 1px;
|
270
368
|
outline: 0;
|
271
369
|
}
|
272
370
|
.ant-input-rtl .ant-input:focus,
|
@@ -285,7 +383,7 @@ textarea.ant-input-affix-wrapper {
|
|
285
383
|
}
|
286
384
|
.ant-input-disabled:hover {
|
287
385
|
border-color: #bfbfbf;
|
288
|
-
border-right-width: 1px
|
386
|
+
border-right-width: 1px;
|
289
387
|
}
|
290
388
|
.ant-input[disabled] {
|
291
389
|
color: rgba(0, 0, 0, 0.25);
|
@@ -298,7 +396,7 @@ textarea.ant-input-affix-wrapper {
|
|
298
396
|
}
|
299
397
|
.ant-input[disabled]:hover {
|
300
398
|
border-color: #bfbfbf;
|
301
|
-
border-right-width: 1px
|
399
|
+
border-right-width: 1px;
|
302
400
|
}
|
303
401
|
.ant-input-borderless,
|
304
402
|
.ant-input-borderless:hover,
|
@@ -526,11 +624,8 @@ textarea.ant-input {
|
|
526
624
|
vertical-align: top;
|
527
625
|
border-radius: 0;
|
528
626
|
}
|
529
|
-
.ant-input-group.ant-input-group-compact > .ant-input-affix-wrapper
|
530
|
-
|
531
|
-
display: -ms-inline-flexbox;
|
532
|
-
display: inline-flex;
|
533
|
-
}
|
627
|
+
.ant-input-group.ant-input-group-compact > .ant-input-affix-wrapper,
|
628
|
+
.ant-input-group.ant-input-group-compact > .ant-input-number-affix-wrapper,
|
534
629
|
.ant-input-group.ant-input-group-compact > .ant-picker-range {
|
535
630
|
display: -webkit-inline-box;
|
536
631
|
display: -ms-inline-flexbox;
|
@@ -609,6 +704,7 @@ textarea.ant-input {
|
|
609
704
|
.ant-input-group-rtl .ant-input-group-addon:last-child {
|
610
705
|
border-right: 0;
|
611
706
|
border-left: 1px solid #bfbfbf;
|
707
|
+
border-radius: 2px 0 0 2px;
|
612
708
|
}
|
613
709
|
.ant-input-group-rtl.ant-input-group > .ant-input:last-child,
|
614
710
|
.ant-input-group-rtl.ant-input-group-addon:last-child {
|
@@ -652,13 +748,13 @@ textarea.ant-input {
|
|
652
748
|
text-align: start;
|
653
749
|
vertical-align: top;
|
654
750
|
}
|
655
|
-
.ant-input-password-icon {
|
751
|
+
.ant-input-password-icon.anticon {
|
656
752
|
color: rgba(0, 0, 0, 0.45);
|
657
753
|
cursor: pointer;
|
658
754
|
-webkit-transition: all 0.3s;
|
659
755
|
transition: all 0.3s;
|
660
756
|
}
|
661
|
-
.ant-input-password-icon:hover {
|
757
|
+
.ant-input-password-icon.anticon:hover {
|
662
758
|
color: rgba(0, 0, 0, 0.85);
|
663
759
|
}
|
664
760
|
.ant-input[type='color'] {
|
@@ -672,6 +768,9 @@ textarea.ant-input {
|
|
672
768
|
padding-top: 3px;
|
673
769
|
padding-bottom: 3px;
|
674
770
|
}
|
771
|
+
.ant-input-textarea-show-count > .ant-input {
|
772
|
+
height: 100%;
|
773
|
+
}
|
675
774
|
.ant-input-textarea-show-count::after {
|
676
775
|
float: right;
|
677
776
|
color: rgba(0, 0, 0, 0.45);
|
@@ -679,6 +778,56 @@ textarea.ant-input {
|
|
679
778
|
content: attr(data-count);
|
680
779
|
pointer-events: none;
|
681
780
|
}
|
781
|
+
.ant-input-textarea-show-count.ant-input-textarea-in-form-item::after {
|
782
|
+
margin-bottom: -22px;
|
783
|
+
}
|
784
|
+
.ant-input-textarea-suffix {
|
785
|
+
position: absolute;
|
786
|
+
top: 0;
|
787
|
+
right: 11px;
|
788
|
+
bottom: 0;
|
789
|
+
z-index: 1;
|
790
|
+
display: -webkit-inline-box;
|
791
|
+
display: -ms-inline-flexbox;
|
792
|
+
display: inline-flex;
|
793
|
+
-webkit-box-align: center;
|
794
|
+
-ms-flex-align: center;
|
795
|
+
align-items: center;
|
796
|
+
margin: auto;
|
797
|
+
}
|
798
|
+
.ant-input-compact-item:not(.ant-input-compact-last-item):not(.ant-input-compact-item-rtl) {
|
799
|
+
margin-right: -1px;
|
800
|
+
}
|
801
|
+
.ant-input-compact-item:not(.ant-input-compact-last-item).ant-input-compact-item-rtl {
|
802
|
+
margin-left: -1px;
|
803
|
+
}
|
804
|
+
.ant-input-compact-item:hover,
|
805
|
+
.ant-input-compact-item:focus,
|
806
|
+
.ant-input-compact-item:active {
|
807
|
+
z-index: 2;
|
808
|
+
}
|
809
|
+
.ant-input-compact-item[disabled] {
|
810
|
+
z-index: 0;
|
811
|
+
}
|
812
|
+
.ant-input-compact-item:not(.ant-input-compact-first-item):not(.ant-input-compact-last-item).ant-input {
|
813
|
+
border-radius: 0;
|
814
|
+
}
|
815
|
+
.ant-input-compact-item.ant-input.ant-input-compact-first-item:not(.ant-input-compact-last-item):not(.ant-input-compact-item-rtl) {
|
816
|
+
border-top-right-radius: 0;
|
817
|
+
border-bottom-right-radius: 0;
|
818
|
+
}
|
819
|
+
.ant-input-compact-item.ant-input.ant-input-compact-last-item:not(.ant-input-compact-first-item):not(.ant-input-compact-item-rtl) {
|
820
|
+
border-top-left-radius: 0;
|
821
|
+
border-bottom-left-radius: 0;
|
822
|
+
}
|
823
|
+
.ant-input-compact-item.ant-input.ant-input-compact-item-rtl.ant-input-compact-first-item:not(.ant-input-compact-last-item) {
|
824
|
+
border-top-left-radius: 0;
|
825
|
+
border-bottom-left-radius: 0;
|
826
|
+
}
|
827
|
+
.ant-input-compact-item.ant-input.ant-input-compact-item-rtl.ant-input-compact-last-item:not(.ant-input-compact-first-item) {
|
828
|
+
border-top-right-radius: 0;
|
829
|
+
border-bottom-right-radius: 0;
|
830
|
+
}
|
682
831
|
.ant-input-search .ant-input:hover,
|
683
832
|
.ant-input-search .ant-input:focus {
|
684
833
|
border-color: #2c6dd2;
|
@@ -725,6 +874,32 @@ textarea.ant-input {
|
|
725
874
|
.ant-input-search-small .ant-input-search-button {
|
726
875
|
height: 26px;
|
727
876
|
}
|
877
|
+
.ant-input-search.ant-input-compact-item:not(.ant-input-compact-item-rtl):not(.ant-input-compact-last-item) .ant-input-group-addon .ant-input-search-button {
|
878
|
+
margin-right: -1px;
|
879
|
+
border-radius: 0;
|
880
|
+
}
|
881
|
+
.ant-input-search.ant-input-compact-item:not(.ant-input-compact-first-item) .ant-input,
|
882
|
+
.ant-input-search.ant-input-compact-item:not(.ant-input-compact-first-item) .ant-input-affix-wrapper {
|
883
|
+
border-radius: 0;
|
884
|
+
}
|
885
|
+
.ant-input-search.ant-input-compact-item > .ant-input-group-addon .ant-input-search-button:hover,
|
886
|
+
.ant-input-search.ant-input-compact-item > .ant-input:hover,
|
887
|
+
.ant-input-search.ant-input-compact-item .ant-input-affix-wrapper:hover,
|
888
|
+
.ant-input-search.ant-input-compact-item > .ant-input-group-addon .ant-input-search-button:focus,
|
889
|
+
.ant-input-search.ant-input-compact-item > .ant-input:focus,
|
890
|
+
.ant-input-search.ant-input-compact-item .ant-input-affix-wrapper:focus,
|
891
|
+
.ant-input-search.ant-input-compact-item > .ant-input-group-addon .ant-input-search-button:active,
|
892
|
+
.ant-input-search.ant-input-compact-item > .ant-input:active,
|
893
|
+
.ant-input-search.ant-input-compact-item .ant-input-affix-wrapper:active {
|
894
|
+
z-index: 2;
|
895
|
+
}
|
896
|
+
.ant-input-search.ant-input-compact-item > .ant-input-affix-wrapper-focused {
|
897
|
+
z-index: 2;
|
898
|
+
}
|
899
|
+
.ant-input-search.ant-input-compact-item-rtl:not(.ant-input-compact-last-item) .ant-input-group-addon:last-child .ant-input-search-button {
|
900
|
+
margin-left: -1px;
|
901
|
+
border-radius: 0;
|
902
|
+
}
|
728
903
|
.ant-input-group-wrapper-rtl {
|
729
904
|
direction: rtl;
|
730
905
|
}
|
@@ -760,18 +935,21 @@ textarea.ant-input {
|
|
760
935
|
}
|
761
936
|
.ant-input-search-rtl .ant-input:hover + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),
|
762
937
|
.ant-input-search-rtl .ant-input:focus + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary) {
|
763
|
-
border-right-color: #2c6dd2;
|
764
938
|
border-left-color: #e5e5e5;
|
765
939
|
}
|
940
|
+
.ant-input-search-rtl .ant-input:hover + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary):hover,
|
941
|
+
.ant-input-search-rtl .ant-input:focus + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary):hover {
|
942
|
+
border-left-color: #2c6dd2;
|
943
|
+
}
|
766
944
|
.ant-input-search-rtl > .ant-input-group > .ant-input-affix-wrapper:hover,
|
767
945
|
.ant-input-search-rtl > .ant-input-group > .ant-input-affix-wrapper-focused {
|
768
946
|
border-right-color: #2c6dd2;
|
769
947
|
}
|
770
|
-
.ant-input-search-rtl > .ant-input-group > .ant-input-group-addon {
|
948
|
+
.ant-input-search-rtl > .ant-input-group > .ant-input-group-addon:last-child {
|
771
949
|
right: -1px;
|
772
950
|
left: auto;
|
773
951
|
}
|
774
|
-
.ant-input-search-rtl > .ant-input-group > .ant-input-group-addon .ant-input-search-button {
|
952
|
+
.ant-input-search-rtl > .ant-input-group > .ant-input-group-addon:last-child .ant-input-search-button {
|
775
953
|
border-radius: 2px 0 0 2px;
|
776
954
|
}
|
777
955
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
@@ -68,8 +68,8 @@
|
|
68
68
|
content: '';
|
69
69
|
}
|
70
70
|
.ant-menu.ant-menu-root:focus-visible {
|
71
|
-
-webkit-box-shadow: 0 0 0 2px #
|
72
|
-
box-shadow: 0 0 0 2px #
|
71
|
+
-webkit-box-shadow: 0 0 0 2px #c0c6cc;
|
72
|
+
box-shadow: 0 0 0 2px #c0c6cc;
|
73
73
|
}
|
74
74
|
.ant-menu ul,
|
75
75
|
.ant-menu ol {
|
@@ -266,10 +266,10 @@
|
|
266
266
|
.ant-menu-submenu-title.ant-menu-item-only-child > .ant-menu-item-icon {
|
267
267
|
margin-right: 0;
|
268
268
|
}
|
269
|
-
.ant-menu-item:focus-visible,
|
270
|
-
.ant-menu-submenu-title:focus-visible {
|
271
|
-
-webkit-box-shadow: 0 0 0 2px #
|
272
|
-
box-shadow: 0 0 0 2px #
|
269
|
+
.ant-menu-item:not(.ant-menu-item-disabled):focus-visible,
|
270
|
+
.ant-menu-submenu-title:not(.ant-menu-item-disabled):focus-visible {
|
271
|
+
-webkit-box-shadow: 0 0 0 2px #c0c6cc;
|
272
|
+
box-shadow: 0 0 0 2px #c0c6cc;
|
273
273
|
}
|
274
274
|
.ant-menu > .ant-menu-item-divider {
|
275
275
|
margin: 1px 0;
|
@@ -333,7 +333,7 @@
|
|
333
333
|
position: absolute;
|
334
334
|
width: 6px;
|
335
335
|
height: 1.5px;
|
336
|
-
background-color:
|
336
|
+
background-color: currentcolor;
|
337
337
|
border-radius: 2px;
|
338
338
|
-webkit-transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), top 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), -webkit-transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
339
339
|
transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), top 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), -webkit-transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
@@ -708,6 +708,15 @@
|
|
708
708
|
.ant-menu-light .ant-menu-submenu-title:hover {
|
709
709
|
color: #2c6dd2;
|
710
710
|
}
|
711
|
+
.ant-menu.ant-menu-root:focus-visible {
|
712
|
+
-webkit-box-shadow: 0 0 0 2px #555f73;
|
713
|
+
box-shadow: 0 0 0 2px #555f73;
|
714
|
+
}
|
715
|
+
.ant-menu-dark .ant-menu-item:focus-visible,
|
716
|
+
.ant-menu-dark .ant-menu-submenu-title:focus-visible {
|
717
|
+
-webkit-box-shadow: 0 0 0 2px #555f73;
|
718
|
+
box-shadow: 0 0 0 2px #555f73;
|
719
|
+
}
|
711
720
|
.ant-menu.ant-menu-dark,
|
712
721
|
.ant-menu-dark .ant-menu-sub,
|
713
722
|
.ant-menu.ant-menu-dark .ant-menu-sub {
|
@@ -23,7 +23,7 @@
|
|
23
23
|
padding-bottom: 24px;
|
24
24
|
}
|
25
25
|
.ant-modal.ant-zoom-enter,
|
26
|
-
.ant-modal.
|
26
|
+
.ant-modal.ant-zoom-appear {
|
27
27
|
-webkit-transform: none;
|
28
28
|
transform: none;
|
29
29
|
opacity: 0;
|
@@ -55,7 +55,6 @@
|
|
55
55
|
left: 0;
|
56
56
|
overflow: auto;
|
57
57
|
outline: 0;
|
58
|
-
-webkit-overflow-scrolling: touch;
|
59
58
|
}
|
60
59
|
.ant-modal-wrap {
|
61
60
|
z-index: 1200;
|
@@ -97,11 +96,11 @@
|
|
97
96
|
}
|
98
97
|
.ant-modal-close-x {
|
99
98
|
display: block;
|
100
|
-
width:
|
101
|
-
height:
|
99
|
+
width: 54px;
|
100
|
+
height: 54px;
|
102
101
|
font-size: 16px;
|
103
102
|
font-style: normal;
|
104
|
-
line-height:
|
103
|
+
line-height: 54px;
|
105
104
|
text-align: center;
|
106
105
|
text-transform: none;
|
107
106
|
text-rendering: auto;
|
@@ -151,6 +150,7 @@
|
|
151
150
|
.ant-modal-centered .ant-modal {
|
152
151
|
top: 0;
|
153
152
|
display: inline-block;
|
153
|
+
padding-bottom: 0;
|
154
154
|
text-align: left;
|
155
155
|
vertical-align: middle;
|
156
156
|
}
|
@@ -202,8 +202,8 @@
|
|
202
202
|
margin-left: 38px;
|
203
203
|
}
|
204
204
|
.ant-modal-confirm .ant-modal-confirm-btns {
|
205
|
-
float: right;
|
206
205
|
margin-top: 24px;
|
206
|
+
text-align: right;
|
207
207
|
}
|
208
208
|
.ant-modal-confirm .ant-modal-confirm-btns .ant-btn + .ant-btn {
|
209
209
|
margin-bottom: 0;
|
@@ -222,6 +222,9 @@
|
|
222
222
|
.ant-modal-confirm-success .ant-modal-confirm-body > .anticon {
|
223
223
|
color: #20c997;
|
224
224
|
}
|
225
|
+
.ant-modal-confirm .ant-zoom-leave .ant-modal-confirm-btns {
|
226
|
+
pointer-events: none;
|
227
|
+
}
|
225
228
|
.ant-modal-wrap-rtl {
|
226
229
|
direction: rtl;
|
227
230
|
}
|
@@ -249,7 +252,7 @@
|
|
249
252
|
margin-left: 0;
|
250
253
|
}
|
251
254
|
.ant-modal-wrap-rtl .ant-modal-confirm-btns {
|
252
|
-
|
255
|
+
text-align: left;
|
253
256
|
}
|
254
257
|
.ant-modal-wrap-rtl .ant-modal-confirm-btns .ant-btn + .ant-btn {
|
255
258
|
margin-right: 8px;
|
@@ -50,7 +50,7 @@ function NameLimiter(_a) {
|
|
50
50
|
}
|
51
51
|
setEllipsis(ref.current.clientWidth < ref.current.scrollWidth);
|
52
52
|
});
|
53
|
-
return (react_1.default.createElement(antd_1.Tooltip, { getPopupContainer: getPopupContainer, overlayClassName: style_1.SDK_PREFIX + "-name-limit-tooltip", placement: placement || 'top', title: title || name,
|
53
|
+
return (react_1.default.createElement(antd_1.Tooltip, { getPopupContainer: getPopupContainer, overlayClassName: style_1.SDK_PREFIX + "-name-limit-tooltip", placement: placement || 'top', title: title || name, open: (!!title || ellipsis) && visible, onOpenChange: setVisible },
|
54
54
|
react_1.default.createElement("span", { className: style_1.SDK_PREFIX + "-name-limit", ref: ref }, name)));
|
55
55
|
}
|
56
56
|
exports.default = NameLimiter;
|