@douyinfe/semi-foundation 2.24.3 → 2.25.0

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 (84) hide show
  1. package/button/iconButton.scss +1 -0
  2. package/carousel/carousel.scss +4 -0
  3. package/input/input.scss +2 -0
  4. package/lib/cjs/button/iconButton.css +1 -0
  5. package/lib/cjs/button/iconButton.scss +1 -0
  6. package/lib/cjs/carousel/carousel.css +4 -0
  7. package/lib/cjs/carousel/carousel.scss +4 -0
  8. package/lib/cjs/input/input.css +13 -0
  9. package/lib/cjs/input/input.scss +2 -0
  10. package/lib/cjs/modal/modal.css +4 -0
  11. package/lib/cjs/modal/modal.scss +4 -0
  12. package/lib/cjs/notification/notification.css +12 -0
  13. package/lib/cjs/notification/notification.scss +13 -1
  14. package/lib/cjs/popover/popover.css +2 -0
  15. package/lib/cjs/popover/popover.scss +2 -0
  16. package/lib/cjs/sideSheet/sideSheet.css +10 -0
  17. package/lib/cjs/sideSheet/sideSheet.scss +10 -0
  18. package/lib/cjs/skeleton/skeleton.css +1 -0
  19. package/lib/cjs/skeleton/skeleton.scss +1 -0
  20. package/lib/cjs/spin/spin.css +2 -0
  21. package/lib/cjs/spin/spin.scss +2 -0
  22. package/lib/cjs/switch/switch.css +4 -0
  23. package/lib/cjs/switch/switch.scss +5 -0
  24. package/lib/cjs/table/constants.d.ts +0 -1
  25. package/lib/cjs/table/constants.js +2 -4
  26. package/lib/cjs/tabs/tabs.css +4 -0
  27. package/lib/cjs/tabs/tabs.scss +4 -0
  28. package/lib/cjs/tag/tag.css +14 -6
  29. package/lib/cjs/tag/tag.scss +14 -4
  30. package/lib/cjs/tag/variables.scss +2 -0
  31. package/lib/cjs/tagInput/tagInput.css +7 -9
  32. package/lib/cjs/tagInput/tagInput.scss +9 -12
  33. package/lib/cjs/toast/toast.css +2 -0
  34. package/lib/cjs/toast/toast.scss +2 -0
  35. package/lib/cjs/tooltip/tooltip.css +2 -0
  36. package/lib/cjs/tooltip/tooltip.scss +2 -0
  37. package/lib/es/button/iconButton.css +1 -0
  38. package/lib/es/button/iconButton.scss +1 -0
  39. package/lib/es/carousel/carousel.css +4 -0
  40. package/lib/es/carousel/carousel.scss +4 -0
  41. package/lib/es/input/input.css +13 -0
  42. package/lib/es/input/input.scss +2 -0
  43. package/lib/es/modal/modal.css +4 -0
  44. package/lib/es/modal/modal.scss +4 -0
  45. package/lib/es/notification/notification.css +12 -0
  46. package/lib/es/notification/notification.scss +13 -1
  47. package/lib/es/popover/popover.css +2 -0
  48. package/lib/es/popover/popover.scss +2 -0
  49. package/lib/es/sideSheet/sideSheet.css +10 -0
  50. package/lib/es/sideSheet/sideSheet.scss +10 -0
  51. package/lib/es/skeleton/skeleton.css +1 -0
  52. package/lib/es/skeleton/skeleton.scss +1 -0
  53. package/lib/es/spin/spin.css +2 -0
  54. package/lib/es/spin/spin.scss +2 -0
  55. package/lib/es/switch/switch.css +4 -0
  56. package/lib/es/switch/switch.scss +5 -0
  57. package/lib/es/table/constants.d.ts +0 -1
  58. package/lib/es/table/constants.js +2 -4
  59. package/lib/es/tabs/tabs.css +4 -0
  60. package/lib/es/tabs/tabs.scss +4 -0
  61. package/lib/es/tag/tag.css +14 -6
  62. package/lib/es/tag/tag.scss +14 -4
  63. package/lib/es/tag/variables.scss +2 -0
  64. package/lib/es/tagInput/tagInput.css +7 -9
  65. package/lib/es/tagInput/tagInput.scss +9 -12
  66. package/lib/es/toast/toast.css +2 -0
  67. package/lib/es/toast/toast.scss +2 -0
  68. package/lib/es/tooltip/tooltip.css +2 -0
  69. package/lib/es/tooltip/tooltip.scss +2 -0
  70. package/modal/modal.scss +4 -0
  71. package/notification/notification.scss +13 -1
  72. package/package.json +2 -2
  73. package/popover/popover.scss +2 -0
  74. package/sideSheet/sideSheet.scss +10 -0
  75. package/skeleton/skeleton.scss +1 -0
  76. package/spin/spin.scss +2 -0
  77. package/switch/switch.scss +5 -0
  78. package/table/constants.ts +0 -2
  79. package/tabs/tabs.scss +4 -0
  80. package/tag/tag.scss +14 -4
  81. package/tag/variables.scss +2 -0
  82. package/tagInput/tagInput.scss +9 -12
  83. package/toast/toast.scss +2 -0
  84. package/tooltip/tooltip.scss +2 -0
@@ -25,6 +25,7 @@ $module: #{$prefix}-button;
25
25
  width: 16px;
26
26
  height: 16px;
27
27
  animation: .6s linear infinite #{$prefix}-animation-rotate;
28
+ animation-fill-mode: forwards;
28
29
  }
29
30
  }
30
31
  }
@@ -44,21 +44,25 @@ $module: #{$prefix}-carousel;
44
44
  .#{$module}-content-item-slide-out {
45
45
  display: block;
46
46
  animation: #{$module}-content-item-keyframe-slide-out;
47
+ animation-fill-mode: forwards;
47
48
  }
48
49
 
49
50
  .#{$module}-content-item-slide-in {
50
51
  display: block;
51
52
  animation: #{$module}-content-item-keyframe-slide-in;
53
+ animation-fill-mode: forwards;
52
54
  }
53
55
  }
54
56
 
55
57
  &-reverse {
56
58
  .#{$module}-content-item-slide-out {
57
59
  animation: #{$module}-content-item-keyframe-slide-out-reverse;
60
+ animation-fill-mode: forwards;
58
61
  }
59
62
 
60
63
  .#{$module}-content-item-slide-in {
61
64
  animation: #{$module}-content-item-keyframe-slide-in-reverse;
65
+ animation-fill-mode: forwards;
62
66
  }
63
67
  }
64
68
  }
package/input/input.scss CHANGED
@@ -593,6 +593,7 @@ $module: #{$prefix}-input;
593
593
 
594
594
  // select与autocomplete的border-radius都是基于select
595
595
  .#{$prefix}-select,
596
+ .#{$prefix}-tagInput,
596
597
  .#{$prefix}-cascader,
597
598
  .#{$prefix}-tree-select,
598
599
  & > .#{$module}-wrapper {
@@ -624,6 +625,7 @@ $module: #{$prefix}-input;
624
625
 
625
626
  .#{$prefix}-input-number,
626
627
  .#{$prefix}-datepicker,
628
+ .#{$prefix}-timepicker,
627
629
  .#{$prefix}-autocomplete {
628
630
  border-radius: 0;
629
631
 
@@ -18,6 +18,7 @@
18
18
  width: 16px;
19
19
  height: 16px;
20
20
  animation: 0.6s linear infinite semi-animation-rotate;
21
+ animation-fill-mode: forwards;
21
22
  }
22
23
  .semi-button.semi-button-with-icon-only {
23
24
  padding-left: 8px;
@@ -25,6 +25,7 @@ $module: #{$prefix}-button;
25
25
  width: 16px;
26
26
  height: 16px;
27
27
  animation: .6s linear infinite #{$prefix}-animation-rotate;
28
+ animation-fill-mode: forwards;
28
29
  }
29
30
  }
30
31
  }
@@ -34,16 +34,20 @@
34
34
  .semi-carousel-content-slide .semi-carousel-content-item-slide-out {
35
35
  display: block;
36
36
  animation: semi-carousel-content-item-keyframe-slide-out;
37
+ animation-fill-mode: forwards;
37
38
  }
38
39
  .semi-carousel-content-slide .semi-carousel-content-item-slide-in {
39
40
  display: block;
40
41
  animation: semi-carousel-content-item-keyframe-slide-in;
42
+ animation-fill-mode: forwards;
41
43
  }
42
44
  .semi-carousel-content-reverse .semi-carousel-content-item-slide-out {
43
45
  animation: semi-carousel-content-item-keyframe-slide-out-reverse;
46
+ animation-fill-mode: forwards;
44
47
  }
45
48
  .semi-carousel-content-reverse .semi-carousel-content-item-slide-in {
46
49
  animation: semi-carousel-content-item-keyframe-slide-in-reverse;
50
+ animation-fill-mode: forwards;
47
51
  }
48
52
  .semi-carousel-indicator {
49
53
  display: flex;
@@ -44,21 +44,25 @@ $module: #{$prefix}-carousel;
44
44
  .#{$module}-content-item-slide-out {
45
45
  display: block;
46
46
  animation: #{$module}-content-item-keyframe-slide-out;
47
+ animation-fill-mode: forwards;
47
48
  }
48
49
 
49
50
  .#{$module}-content-item-slide-in {
50
51
  display: block;
51
52
  animation: #{$module}-content-item-keyframe-slide-in;
53
+ animation-fill-mode: forwards;
52
54
  }
53
55
  }
54
56
 
55
57
  &-reverse {
56
58
  .#{$module}-content-item-slide-out {
57
59
  animation: #{$module}-content-item-keyframe-slide-out-reverse;
60
+ animation-fill-mode: forwards;
58
61
  }
59
62
 
60
63
  .#{$module}-content-item-slide-in {
61
64
  animation: #{$module}-content-item-keyframe-slide-in-reverse;
65
+ animation-fill-mode: forwards;
62
66
  }
63
67
  }
64
68
  }
@@ -451,26 +451,31 @@
451
451
  flex-wrap: wrap;
452
452
  }
453
453
  .semi-input-group .semi-select,
454
+ .semi-input-group .semi-tagInput,
454
455
  .semi-input-group .semi-cascader,
455
456
  .semi-input-group .semi-tree-select, .semi-input-group > .semi-input-wrapper {
456
457
  border-radius: 0;
457
458
  }
458
459
  .semi-input-group .semi-select:first-child,
460
+ .semi-input-group .semi-tagInput:first-child,
459
461
  .semi-input-group .semi-cascader:first-child,
460
462
  .semi-input-group .semi-tree-select:first-child, .semi-input-group > .semi-input-wrapper:first-child {
461
463
  border-radius: var(--semi-border-radius-small) 0 0 var(--semi-border-radius-small);
462
464
  }
463
465
  .semi-input-group .semi-select:last-child,
466
+ .semi-input-group .semi-tagInput:last-child,
464
467
  .semi-input-group .semi-cascader:last-child,
465
468
  .semi-input-group .semi-tree-select:last-child, .semi-input-group > .semi-input-wrapper:last-child {
466
469
  border-radius: 0 var(--semi-border-radius-small) var(--semi-border-radius-small) 0;
467
470
  }
468
471
  .semi-input-group .semi-select:not(:last-child),
472
+ .semi-input-group .semi-tagInput:not(:last-child),
469
473
  .semi-input-group .semi-cascader:not(:last-child),
470
474
  .semi-input-group .semi-tree-select:not(:last-child), .semi-input-group > .semi-input-wrapper:not(:last-child) {
471
475
  position: relative;
472
476
  }
473
477
  .semi-input-group .semi-select:not(:last-child)::after,
478
+ .semi-input-group .semi-tagInput:not(:last-child)::after,
474
479
  .semi-input-group .semi-cascader:not(:last-child)::after,
475
480
  .semi-input-group .semi-tree-select:not(:last-child)::after, .semi-input-group > .semi-input-wrapper:not(:last-child)::after {
476
481
  content: "";
@@ -483,11 +488,13 @@
483
488
  }
484
489
  .semi-input-group .semi-input-number,
485
490
  .semi-input-group .semi-datepicker,
491
+ .semi-input-group .semi-timepicker,
486
492
  .semi-input-group .semi-autocomplete {
487
493
  border-radius: 0;
488
494
  }
489
495
  .semi-input-group .semi-input-number .semi-datepicker-range-input,
490
496
  .semi-input-group .semi-datepicker .semi-datepicker-range-input,
497
+ .semi-input-group .semi-timepicker .semi-datepicker-range-input,
491
498
  .semi-input-group .semi-autocomplete .semi-datepicker-range-input {
492
499
  border-radius: 0;
493
500
  }
@@ -495,6 +502,8 @@
495
502
  .semi-input-group .semi-input-number:first-child .semi-datepicker-range-input,
496
503
  .semi-input-group .semi-datepicker:first-child .semi-input-wrapper,
497
504
  .semi-input-group .semi-datepicker:first-child .semi-datepicker-range-input,
505
+ .semi-input-group .semi-timepicker:first-child .semi-input-wrapper,
506
+ .semi-input-group .semi-timepicker:first-child .semi-datepicker-range-input,
498
507
  .semi-input-group .semi-autocomplete:first-child .semi-input-wrapper,
499
508
  .semi-input-group .semi-autocomplete:first-child .semi-datepicker-range-input {
500
509
  border-radius: var(--semi-border-radius-small) 0 0 var(--semi-border-radius-small);
@@ -503,17 +512,21 @@
503
512
  .semi-input-group .semi-input-number:last-child .semi-datepicker-range-input,
504
513
  .semi-input-group .semi-datepicker:last-child .semi-input-wrapper,
505
514
  .semi-input-group .semi-datepicker:last-child .semi-datepicker-range-input,
515
+ .semi-input-group .semi-timepicker:last-child .semi-input-wrapper,
516
+ .semi-input-group .semi-timepicker:last-child .semi-datepicker-range-input,
506
517
  .semi-input-group .semi-autocomplete:last-child .semi-input-wrapper,
507
518
  .semi-input-group .semi-autocomplete:last-child .semi-datepicker-range-input {
508
519
  border-radius: 0 var(--semi-border-radius-small) var(--semi-border-radius-small) 0;
509
520
  }
510
521
  .semi-input-group .semi-input-number:not(:last-child),
511
522
  .semi-input-group .semi-datepicker:not(:last-child),
523
+ .semi-input-group .semi-timepicker:not(:last-child),
512
524
  .semi-input-group .semi-autocomplete:not(:last-child) {
513
525
  position: relative;
514
526
  }
515
527
  .semi-input-group .semi-input-number:not(:last-child)::after,
516
528
  .semi-input-group .semi-datepicker:not(:last-child)::after,
529
+ .semi-input-group .semi-timepicker:not(:last-child)::after,
517
530
  .semi-input-group .semi-autocomplete:not(:last-child)::after {
518
531
  content: "";
519
532
  background-color: var(--semi-color-border);
@@ -593,6 +593,7 @@ $module: #{$prefix}-input;
593
593
 
594
594
  // select与autocomplete的border-radius都是基于select
595
595
  .#{$prefix}-select,
596
+ .#{$prefix}-tagInput,
596
597
  .#{$prefix}-cascader,
597
598
  .#{$prefix}-tree-select,
598
599
  & > .#{$module}-wrapper {
@@ -624,6 +625,7 @@ $module: #{$prefix}-input;
624
625
 
625
626
  .#{$prefix}-input-number,
626
627
  .#{$prefix}-datepicker,
628
+ .#{$prefix}-timepicker,
627
629
  .#{$prefix}-autocomplete {
628
630
  border-radius: 0;
629
631
 
@@ -163,18 +163,22 @@
163
163
 
164
164
  .semi-modal-content-animate-show {
165
165
  animation: 120ms semi-modal-content-keyframe-show cubic-bezier(0.215, 0.61, 0.355, 1) 0ms forwards;
166
+ animation-fill-mode: forwards;
166
167
  }
167
168
 
168
169
  .semi-modal-content-animate-hide {
169
170
  animation: 120ms semi-modal-content-keyframe-hide cubic-bezier(0.215, 0.61, 0.355, 1) 0ms forwards;
171
+ animation-fill-mode: forwards;
170
172
  }
171
173
 
172
174
  .semi-modal-mask-animate-show {
173
175
  animation: 90ms semi-modal-mask-keyframe-show cubic-bezier(0.215, 0.61, 0.355, 1) 0ms forwards;
176
+ animation-fill-mode: forwards;
174
177
  }
175
178
 
176
179
  .semi-modal-mask-animate-hide {
177
180
  animation: 90ms semi-modal-mask-keyframe-hide cubic-bezier(0.215, 0.61, 0.355, 1) 0ms forwards;
181
+ animation-fill-mode: forwards;
178
182
  }
179
183
 
180
184
  @keyframes semi-modal-content-keyframe-show {
@@ -209,18 +209,22 @@ $module: #{$prefix}-modal;
209
209
 
210
210
  .#{$module}-content-animate-show {
211
211
  animation: $animation_duration-modal-show #{$module}-content-keyframe-show $animation_function-modal-show $animation_delay-modal-show forwards;
212
+ animation-fill-mode: forwards;
212
213
  }
213
214
 
214
215
  .#{$module}-content-animate-hide {
215
216
  animation: $animation_duration-modal-hide #{$module}-content-keyframe-hide $animation_function-modal-hide $animation_delay-modal-hide forwards;
217
+ animation-fill-mode: forwards;
216
218
  }
217
219
 
218
220
  .#{$module}-mask-animate-show {
219
221
  animation: $animation_duration-modal_mask-show #{$module}-mask-keyframe-show $animation_function-modal_mask-show $animation_delay-modal_mask-show forwards;
222
+ animation-fill-mode: forwards;
220
223
  }
221
224
 
222
225
  .#{$module}-mask-animate-hide {
223
226
  animation: $animation_duration-modal_mask-hide #{$module}-mask-keyframe-hide $animation_function-modal_mask-hide $animation_delay-modal_mask-hide forwards;
227
+ animation-fill-mode: forwards;
224
228
  }
225
229
 
226
230
 
@@ -264,39 +264,51 @@
264
264
  }
265
265
  .semi-notification-notice-animation-show_top {
266
266
  animation: semi-notification-slideShow_top 300ms cubic-bezier(0.62, 0.63, 0, 1.13) 0ms;
267
+ animation-fill-mode: forwards;
267
268
  }
268
269
  .semi-notification-notice-animation-hide_top {
269
270
  animation: semi-notification-slideHide_top 300ms cubic-bezier(0.62, 0.63, 0, 1.13) 0ms;
271
+ animation-fill-mode: forwards;
270
272
  }
271
273
  .semi-notification-notice-animation-show_topLeft {
272
274
  animation: semi-notification-slideShow_topLeft 300ms cubic-bezier(0.62, 0.63, 0, 1.13) 0ms;
275
+ animation-fill-mode: forwards;
273
276
  }
274
277
  .semi-notification-notice-animation-hide_topLeft {
275
278
  animation: semi-notification-slideHide_topLeft 300ms cubic-bezier(0.62, 0.63, 0, 1.13) 0ms;
279
+ animation-fill-mode: forwards;
276
280
  }
277
281
  .semi-notification-notice-animation-show_topRight {
278
282
  animation: semi-notification-slideShow_topRight 300ms cubic-bezier(0.62, 0.63, 0, 1.13) 0ms;
283
+ animation-fill-mode: forwards;
279
284
  }
280
285
  .semi-notification-notice-animation-hide_topRight {
281
286
  animation: semi-notification-slideHide_topRight 300ms cubic-bezier(0.62, 0.63, 0, 1.13) 0ms;
287
+ animation-fill-mode: forwards;
282
288
  }
283
289
  .semi-notification-notice-animation-show_bottom {
284
290
  animation: semi-notification-slideShow_bottom 300ms cubic-bezier(0.62, 0.63, 0, 1.13) 0ms;
291
+ animation-fill-mode: forwards;
285
292
  }
286
293
  .semi-notification-notice-animation-hide_bottom {
287
294
  animation: semi-notification-slideHide_bottom 300ms cubic-bezier(0.62, 0.63, 0, 1.13) 0ms;
295
+ animation-fill-mode: forwards;
288
296
  }
289
297
  .semi-notification-notice-animation-show_bottomLeft {
290
298
  animation: semi-notification-slideShow_bottomLeft 300ms cubic-bezier(0.62, 0.63, 0, 1.13) 0ms;
299
+ animation-fill-mode: forwards;
291
300
  }
292
301
  .semi-notification-notice-animation-hide_bottomLeft {
293
302
  animation: semi-notification-slideHide_bottomLeft 300ms cubic-bezier(0.62, 0.63, 0, 1.13) 0ms;
303
+ animation-fill-mode: forwards;
294
304
  }
295
305
  .semi-notification-notice-animation-show_bottomRight {
296
306
  animation: semi-notification-slideShow_bottomRight 300ms cubic-bezier(0.62, 0.63, 0, 1.13) 0ms;
307
+ animation-fill-mode: forwards;
297
308
  }
298
309
  .semi-notification-notice-animation-hide_bottomRight {
299
310
  animation: semi-notification-slideHide_bottomRight 300ms cubic-bezier(0.62, 0.63, 0, 1.13) 0ms;
311
+ animation-fill-mode: forwards;
300
312
  }
301
313
 
302
314
  .semi-notification-notice.semi-notification-notice-rtl {
@@ -299,53 +299,65 @@ $module: #{$prefix}-notification;
299
299
  }
300
300
  }
301
301
 
302
-
302
+
303
303
 
304
304
  &-animation-show_top{
305
305
  animation: #{$module}-slideShow_top $animation_duration-notification-show $animation_function-notification-show $animation_delay-notification-show;
306
+ animation-fill-mode: forwards;
306
307
  }
307
308
 
308
309
  &-animation-hide_top{
309
310
  animation: #{$module}-slideHide_top $animation_duration-notification-hide $animation_function-notification-hide $animation_delay-notification-hide;
311
+ animation-fill-mode: forwards;
310
312
  }
311
313
 
312
314
  &-animation-show_topLeft{
313
315
  animation: #{$module}-slideShow_topLeft $animation_duration-notification-show $animation_function-notification-show $animation_delay-notification-show;
316
+ animation-fill-mode: forwards;
314
317
  }
315
318
 
316
319
  &-animation-hide_topLeft{
317
320
  animation: #{$module}-slideHide_topLeft $animation_duration-notification-hide $animation_function-notification-hide $animation_delay-notification-hide;
321
+ animation-fill-mode: forwards;
318
322
  }
319
323
 
320
324
  &-animation-show_topRight{
321
325
  animation: #{$module}-slideShow_topRight $animation_duration-notification-show $animation_function-notification-show $animation_delay-notification-show;
326
+ animation-fill-mode: forwards;
322
327
  }
323
328
 
324
329
  &-animation-hide_topRight{
325
330
  animation: #{$module}-slideHide_topRight $animation_duration-notification-hide $animation_function-notification-hide $animation_delay-notification-hide;
331
+ animation-fill-mode: forwards;
326
332
  }
327
333
 
328
334
  &-animation-show_bottom{
329
335
  animation: #{$module}-slideShow_bottom $animation_duration-notification-show $animation_function-notification-show $animation_delay-notification-show;
336
+ animation-fill-mode: forwards;
330
337
  }
331
338
 
332
339
  &-animation-hide_bottom{
333
340
  animation: #{$module}-slideHide_bottom $animation_duration-notification-hide $animation_function-notification-hide $animation_delay-notification-hide;
341
+ animation-fill-mode: forwards;
334
342
  }
335
343
 
336
344
  &-animation-show_bottomLeft{
337
345
  animation: #{$module}-slideShow_bottomLeft $animation_duration-notification-show $animation_function-notification-show $animation_delay-notification-show;
346
+ animation-fill-mode: forwards;
338
347
  }
339
348
 
340
349
  &-animation-hide_bottomLeft{
341
350
  animation: #{$module}-slideHide_bottomLeft $animation_duration-notification-hide $animation_function-notification-hide $animation_delay-notification-hide;
351
+ animation-fill-mode: forwards;
342
352
  }
343
353
  &-animation-show_bottomRight{
344
354
  animation: #{$module}-slideShow_bottomRight $animation_duration-notification-show $animation_function-notification-show $animation_delay-notification-show;
355
+ animation-fill-mode: forwards;
345
356
  }
346
357
 
347
358
  &-animation-hide_bottomRight{
348
359
  animation: #{$module}-slideHide_bottomRight $animation_duration-notification-hide $animation_function-notification-hide $animation_delay-notification-hide;
360
+ animation-fill-mode: forwards;
349
361
  }
350
362
  }
351
363
  }
@@ -54,9 +54,11 @@
54
54
  }
55
55
  .semi-popover-animation-show {
56
56
  animation: semi-popover-zoomIn 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
57
+ animation-fill-mode: forwards;
57
58
  }
58
59
  .semi-popover-animation-hide {
59
60
  animation: semi-popover-zoomOut 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
61
+ animation-fill-mode: forwards;
60
62
  }
61
63
 
62
64
  .semi-popover-wrapper .semi-popover-icon-arrow {
@@ -79,10 +79,12 @@ $module-icon: #{$module}-icon-arrow;
79
79
  }
80
80
  &-animation-show{
81
81
  animation: #{$module}-zoomIn $animation_duration-popover-in $animation_function-popover-in;
82
+ animation-fill-mode: forwards;
82
83
  }
83
84
 
84
85
  &-animation-hide{
85
86
  animation: #{$module}-zoomOut $animation_duration-popover-out $animation_function-popover-out;
87
+ animation-fill-mode: forwards;
86
88
  }
87
89
  }
88
90
 
@@ -186,33 +186,43 @@
186
186
  }
187
187
  .semi-sidesheet-animation-content_show_top {
188
188
  animation: semi-sidesheet-slideShow_top 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
189
+ animation-fill-mode: forwards;
189
190
  }
190
191
  .semi-sidesheet-animation-content_hide_top {
191
192
  animation: semi-sidesheet-slideHide_top 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
193
+ animation-fill-mode: forwards;
192
194
  }
193
195
  .semi-sidesheet-animation-content_show_bottom {
194
196
  animation: semi-sidesheet-slideShow_bottom 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
197
+ animation-fill-mode: forwards;
195
198
  }
196
199
  .semi-sidesheet-animation-content_hide_bottom {
197
200
  animation: semi-sidesheet-slideHide_bottom 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
201
+ animation-fill-mode: forwards;
198
202
  }
199
203
  .semi-sidesheet-animation-content_show_left {
200
204
  animation: semi-sidesheet-slideShow_left 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
205
+ animation-fill-mode: forwards;
201
206
  }
202
207
  .semi-sidesheet-animation-content_hide_left {
203
208
  animation: semi-sidesheet-slideHide_left 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
209
+ animation-fill-mode: forwards;
204
210
  }
205
211
  .semi-sidesheet-animation-content_show_right {
206
212
  animation: semi-sidesheet-slideShow_right 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
213
+ animation-fill-mode: forwards;
207
214
  }
208
215
  .semi-sidesheet-animation-content_hide_right {
209
216
  animation: semi-sidesheet-slideHide_right 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
217
+ animation-fill-mode: forwards;
210
218
  }
211
219
  .semi-sidesheet-animation-mask_show {
212
220
  animation: semi-sidesheet-opacityShow 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
221
+ animation-fill-mode: forwards;
213
222
  }
214
223
  .semi-sidesheet-animation-mask_hide {
215
224
  animation: semi-sidesheet-opacityHide 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
225
+ animation-fill-mode: forwards;
216
226
  }
217
227
 
218
228
  .semi-sidesheet-fixed .semi-sidesheet-inner {
@@ -224,42 +224,52 @@ $module: #{$prefix}-sidesheet;
224
224
 
225
225
  &-animation-content_show_top{
226
226
  animation: #{$module}-slideShow_top $animation_duration-sideSheet_inner-show $animation_function-sideSheet_inner-show $animation_delay-sideSheet_inner-show;
227
+ animation-fill-mode: forwards;
227
228
  }
228
229
 
229
230
  &-animation-content_hide_top{
230
231
  animation: #{$module}-slideHide_top $animation_duration-sideSheet_inner-hide $animation_function-sideSheet_inner-hide $animation_delay-sideSheet_inner-hide;
232
+ animation-fill-mode: forwards;
231
233
  }
232
234
 
233
235
  &-animation-content_show_bottom{
234
236
  animation: #{$module}-slideShow_bottom $animation_duration-sideSheet_inner-show $animation_function-sideSheet_inner-show $animation_delay-sideSheet_inner-show;
237
+ animation-fill-mode: forwards;
235
238
  }
236
239
 
237
240
  &-animation-content_hide_bottom{
238
241
  animation: #{$module}-slideHide_bottom $animation_duration-sideSheet_inner-hide $animation_function-sideSheet_inner-hide $animation_delay-sideSheet_inner-hide;
242
+ animation-fill-mode: forwards;
239
243
  }
240
244
 
241
245
  &-animation-content_show_left{
242
246
  animation: #{$module}-slideShow_left $animation_duration-sideSheet_inner-show $animation_function-sideSheet_inner-show $animation_delay-sideSheet_inner-show;
247
+ animation-fill-mode: forwards;
243
248
  }
244
249
 
245
250
  &-animation-content_hide_left{
246
251
  animation: #{$module}-slideHide_left $animation_duration-sideSheet_inner-hide $animation_function-sideSheet_inner-hide $animation_delay-sideSheet_inner-hide;
252
+ animation-fill-mode: forwards;
247
253
  }
248
254
 
249
255
  &-animation-content_show_right{
250
256
  animation: #{$module}-slideShow_right $animation_duration-sideSheet_inner-show $animation_function-sideSheet_inner-show $animation_delay-sideSheet_inner-show;
257
+ animation-fill-mode: forwards;
251
258
  }
252
259
 
253
260
  &-animation-content_hide_right{
254
261
  animation: #{$module}-slideHide_right $animation_duration-sideSheet_inner-hide $animation_function-sideSheet_inner-hide $animation_delay-sideSheet_inner-hide;
262
+ animation-fill-mode: forwards;
255
263
  }
256
264
 
257
265
  &-animation-mask_show{
258
266
  animation: #{$module}-opacityShow $animation_duration-sideSheet_mask-show $animation_function-sideSheet_mask-show $animation_delay-sideSheet_mask-show;
267
+ animation-fill-mode: forwards;
259
268
  }
260
269
 
261
270
  &-animation-mask_hide{
262
271
  animation: #{$module}-opacityHide $animation_duration-sideSheet_mask-hide $animation_function-sideSheet_mask-hide $animation_delay-sideSheet_mask-hide;
272
+ animation-fill-mode: forwards;
263
273
  }
264
274
 
265
275
  }
@@ -71,6 +71,7 @@
71
71
  background: linear-gradient(90deg, var(--semi-color-fill-0) 25%, var(--semi-color-fill-1) 44%, var(--semi-color-fill-0) 88%);
72
72
  background-size: 400% 100%;
73
73
  animation: 1400ms skeleton-loading ease infinite;
74
+ animation-fill-mode: forwards;
74
75
  }
75
76
  @keyframes skeleton-loading {
76
77
  0% {
@@ -99,6 +99,7 @@ $module: #{$prefix}-skeleton;
99
99
  );
100
100
  background-size: 400% 100%;
101
101
  animation: $animation_duration-skeleton-highlight skeleton-loading $animation_function-skeleton-highlight infinite;
102
+ animation-fill-mode: forwards;
102
103
  }
103
104
  }
104
105
 
@@ -25,12 +25,14 @@
25
25
  }
26
26
  .semi-spin-wrapper > svg {
27
27
  animation: 600ms linear infinite semi-animation-rotate;
28
+ animation-fill-mode: forwards;
28
29
  width: 20px;
29
30
  height: 20px;
30
31
  }
31
32
  .semi-spin-animate {
32
33
  display: inline-flex;
33
34
  animation: 1600ms linear infinite semi-animation-rotate;
35
+ animation-fill-mode: forwards;
34
36
  }
35
37
  .semi-spin-children {
36
38
  opacity: 0.5;
@@ -28,6 +28,7 @@ $module: #{$prefix}-spin;
28
28
 
29
29
  & > svg {
30
30
  animation: $animation_duration-spin_wrapper-spin linear infinite #{$prefix}-animation-rotate;
31
+ animation-fill-mode: forwards;
31
32
  @include size($width-spin_middle);
32
33
  }
33
34
  }
@@ -35,6 +36,7 @@ $module: #{$prefix}-spin;
35
36
  &-animate {
36
37
  display: inline-flex;
37
38
  animation: $animation_duration-spin_customChildren-spin linear infinite #{$prefix}-animation-rotate;
39
+ animation-fill-mode: forwards;
38
40
  }
39
41
 
40
42
  &-children {
@@ -56,6 +56,10 @@
56
56
  box-shadow: none;
57
57
  border: 1px var(--semi-color-border) solid;
58
58
  }
59
+ .semi-switch-disabled .semi-switch-native-control {
60
+ pointer-events: none;
61
+ cursor: not-allowed;
62
+ }
59
63
  .semi-switch-disabled.semi-switch-checked {
60
64
  border-color: transparent;
61
65
  background-color: var(--semi-color-success-disabled);
@@ -76,6 +76,11 @@ $module: #{$prefix}-switch;
76
76
  @include shadow-0;
77
77
  border: $width-switch_knob_disabled-border $color-switch_knob-border-default solid;
78
78
  }
79
+
80
+ .#{$module}-native-control {
81
+ pointer-events: none;
82
+ cursor: not-allowed;
83
+ }
79
84
 
80
85
  &.#{$module}-checked {
81
86
  border-color: $color-switch_checked_disabled-border-default;
@@ -73,6 +73,5 @@ declare const numbers: {
73
73
  readonly DEFAULT_VIRTUALIZED_SECTION_ROW_SMALL_HEIGHT: number;
74
74
  readonly DEFAULT_VIRTUALIZED_ROW_SMALL_HEIGHT: number;
75
75
  readonly DEFAULT_VIRTUALIZED_ROW_SMALL_MIN_HEIGHT: number;
76
- readonly DEFAULT_EMPTYSLOT_HEIGHT: 52;
77
76
  };
78
77
  export { cssClasses, strings, numbers };
@@ -66,8 +66,7 @@ const DEFAULT_CELL_MIDDLE_PADDING_TOP = 12;
66
66
  const DEFAULT_CELL_MIDDLE_PADDING_BOTTOM = 12;
67
67
  const DEFAULT_CELL_SMALL_PADDING_TOP = 8;
68
68
  const DEFAULT_CELL_SMALL_PADDING_BOTTOM = 8;
69
- const DEFAULT_CELL_LINE_HEIGHT = 20;
70
- const DEFAULT_EMPTYSLOT_HEIGHT = 52; // normal size
69
+ const DEFAULT_CELL_LINE_HEIGHT = 20; // normal size
71
70
 
72
71
  const DEFAULT_VIRTUALIZED_ROW_HEIGHT = DEFAULT_CELL_LINE_HEIGHT + DEFAULT_CELL_BORDER_WITH_BOTTOM + DEFAULT_CELL_BORDER_WITH_TOP + DEFAULT_CELL_PADDING_TOP + DEFAULT_CELL_PADDING_BOTTOM;
73
72
  const DEFAULT_VIRTUALIZED_ROW_MIN_HEIGHT = DEFAULT_CELL_PADDING_TOP + DEFAULT_CELL_PADDING_BOTTOM + DEFAULT_CELL_BORDER_WITH_BOTTOM; // middle size
@@ -103,7 +102,6 @@ const numbers = {
103
102
  DEFAULT_VIRTUALIZED_ROW_MIDDLE_MIN_HEIGHT,
104
103
  DEFAULT_VIRTUALIZED_SECTION_ROW_SMALL_HEIGHT: DEFAULT_VIRTUALIZED_ROW_SMALL_HEIGHT,
105
104
  DEFAULT_VIRTUALIZED_ROW_SMALL_HEIGHT,
106
- DEFAULT_VIRTUALIZED_ROW_SMALL_MIN_HEIGHT,
107
- DEFAULT_EMPTYSLOT_HEIGHT
105
+ DEFAULT_VIRTUALIZED_ROW_SMALL_MIN_HEIGHT
108
106
  };
109
107
  exports.numbers = numbers;
@@ -398,15 +398,19 @@
398
398
  }
399
399
  .semi-tabs-pane-animate-leftShow {
400
400
  animation: 200ms semi-tabs-panel-keyframe-leftShow ease-in-out 0s;
401
+ animation-fill-mode: forwards;
401
402
  }
402
403
  .semi-tabs-pane-animate-rightShow {
403
404
  animation: 200ms semi-tabs-panel-keyframe-rightShow ease-in-out 0s;
405
+ animation-fill-mode: forwards;
404
406
  }
405
407
  .semi-tabs-pane-animate-topShow {
406
408
  animation: 200ms semi-tabs-panel-keyframe-topShow ease-in-out 0s;
409
+ animation-fill-mode: forwards;
407
410
  }
408
411
  .semi-tabs-pane-animate-bottomShow {
409
412
  animation: 200ms semi-tabs-panel-keyframe-bottomShow ease-in-out 0s;
413
+ animation-fill-mode: forwards;
410
414
  }
411
415
 
412
416
  .semi-rtl .semi-tabs,
@@ -542,16 +542,20 @@ $module: #{$prefix}-tabs;
542
542
 
543
543
  &-pane-animate-leftShow{
544
544
  animation: $animation_duration-tabs_tabPanel-show #{$module}-panel-keyframe-leftShow $animation_function-tabs_tabPanel-show $animation_delay-tabs_tabPanel-show;
545
+ animation-fill-mode: forwards;
545
546
  }
546
547
  &-pane-animate-rightShow{
547
548
  animation: $animation_duration-tabs_tabPanel-show #{$module}-panel-keyframe-rightShow $animation_function-tabs_tabPanel-show $animation_delay-tabs_tabPanel-show;
549
+ animation-fill-mode: forwards;
548
550
  }
549
551
 
550
552
  &-pane-animate-topShow{
551
553
  animation: $animation_duration-tabs_tabPanel-show #{$module}-panel-keyframe-topShow $animation_function-tabs_tabPanel-show $animation_delay-tabs_tabPanel-show;
554
+ animation-fill-mode: forwards;
552
555
  }
553
556
  &-pane-animate-bottomShow{
554
557
  animation: $animation_duration-tabs_tabPanel-show #{$module}-panel-keyframe-bottomShow $animation_function-tabs_tabPanel-show $animation_delay-tabs_tabPanel-show;
558
+ animation-fill-mode: forwards;
555
559
  }
556
560
  }
557
561