@douyinfe/semi-foundation 2.16.1 → 2.17.0-beta.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.
- package/collapse/collapse.scss +8 -0
- package/collapse/variables.scss +1 -0
- package/datePicker/constants.ts +1 -0
- package/datePicker/datePicker.scss +335 -17
- package/datePicker/foundation.ts +2 -0
- package/datePicker/monthsGridFoundation.ts +4 -1
- package/datePicker/rtl.scss +6 -6
- package/datePicker/variables.scss +58 -6
- package/datePicker/yearAndMonthFoundation.ts +4 -0
- package/lib/cjs/collapse/collapse.css +6 -0
- package/lib/cjs/collapse/collapse.scss +8 -0
- package/lib/cjs/collapse/variables.scss +1 -0
- package/lib/cjs/datePicker/constants.d.ts +1 -0
- package/lib/cjs/datePicker/constants.js +1 -0
- package/lib/cjs/datePicker/datePicker.css +267 -27
- package/lib/cjs/datePicker/datePicker.scss +335 -17
- package/lib/cjs/datePicker/foundation.d.ts +2 -0
- package/lib/cjs/datePicker/monthsGridFoundation.d.ts +5 -1
- package/lib/cjs/datePicker/rtl.scss +6 -6
- package/lib/cjs/datePicker/variables.scss +58 -6
- package/lib/cjs/datePicker/yearAndMonthFoundation.d.ts +5 -0
- package/lib/cjs/select/foundation.d.ts +11 -0
- package/lib/cjs/select/foundation.js +188 -44
- package/lib/cjs/select/select.css +5 -5
- package/lib/cjs/select/select.scss +9 -6
- package/lib/cjs/tagInput/foundation.d.ts +11 -0
- package/lib/cjs/tagInput/foundation.js +47 -1
- package/lib/cjs/tagInput/tagInput.css +11 -0
- package/lib/cjs/tagInput/tagInput.scss +17 -0
- package/lib/cjs/tagInput/variables.scss +2 -0
- package/lib/cjs/tooltip/foundation.js +13 -5
- package/lib/cjs/transfer/foundation.d.ts +0 -1
- package/lib/cjs/transfer/foundation.js +3 -11
- package/lib/cjs/utils/arrayMove.d.ts +1 -0
- package/lib/cjs/utils/arrayMove.js +21 -0
- package/lib/es/collapse/collapse.css +6 -0
- package/lib/es/collapse/collapse.scss +8 -0
- package/lib/es/collapse/variables.scss +1 -0
- package/lib/es/datePicker/constants.d.ts +1 -0
- package/lib/es/datePicker/constants.js +1 -0
- package/lib/es/datePicker/datePicker.css +267 -27
- package/lib/es/datePicker/datePicker.scss +335 -17
- package/lib/es/datePicker/foundation.d.ts +2 -0
- package/lib/es/datePicker/monthsGridFoundation.d.ts +5 -1
- package/lib/es/datePicker/rtl.scss +6 -6
- package/lib/es/datePicker/variables.scss +58 -6
- package/lib/es/datePicker/yearAndMonthFoundation.d.ts +5 -0
- package/lib/es/select/foundation.d.ts +11 -0
- package/lib/es/select/foundation.js +187 -44
- package/lib/es/select/select.css +5 -5
- package/lib/es/select/select.scss +9 -6
- package/lib/es/tagInput/foundation.d.ts +11 -0
- package/lib/es/tagInput/foundation.js +46 -1
- package/lib/es/tagInput/tagInput.css +11 -0
- package/lib/es/tagInput/tagInput.scss +17 -0
- package/lib/es/tagInput/variables.scss +2 -0
- package/lib/es/tooltip/foundation.js +13 -5
- package/lib/es/transfer/foundation.d.ts +0 -1
- package/lib/es/transfer/foundation.js +3 -12
- package/lib/es/utils/arrayMove.d.ts +1 -0
- package/lib/es/utils/arrayMove.js +9 -0
- package/package.json +2 -2
- package/select/foundation.ts +149 -36
- package/select/select.scss +9 -6
- package/tagInput/foundation.ts +39 -0
- package/tagInput/tagInput.scss +17 -0
- package/tagInput/variables.scss +2 -0
- package/tooltip/foundation.ts +8 -5
- package/transfer/foundation.ts +2 -6
- package/utils/arrayMove.ts +5 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
$color-collapse_item-border-default: var(--semi-color-border); // 分割线颜色
|
|
2
2
|
$color-collapse_header-text-default: var(--semi-color-text-0); // 标题文字颜色
|
|
3
|
+
$color-collapse_header-text-disabled: var( --semi-color-disabled-text); // 标题文字颜色 禁用
|
|
3
4
|
$color-collapse_header-icon-default: var(--semi-color-text-2); // 展开箭头图标颜色
|
|
4
5
|
$color-collapse_header-bg-hover: var(--semi-color-fill-0); // 菜单项背景颜色 - 悬浮
|
|
5
6
|
$color-collapse_header-bg-active: var(--semi-color-fill-1); // 菜单项背景颜色 - 按下
|
|
@@ -36,6 +36,7 @@ declare const strings: {
|
|
|
36
36
|
readonly DEFAULT_SEPARATOR_RANGE: " ~ ";
|
|
37
37
|
readonly SIZE_SET: readonly ["small", "default", "large"];
|
|
38
38
|
readonly TYPE_SET: readonly ["date", "dateRange", "year", "month", "dateTime", "dateTimeRange"];
|
|
39
|
+
readonly PRESET_POSITION_SET: readonly ["left", "right", "top", "bottom"];
|
|
39
40
|
readonly DENSITY_SET: readonly ["default", "compact"];
|
|
40
41
|
readonly PANEL_TYPE_LEFT: "left";
|
|
41
42
|
readonly PANEL_TYPE_RIGHT: "right";
|
|
@@ -59,6 +59,7 @@ const strings = (0, _assign.default)({
|
|
|
59
59
|
DEFAULT_SEPARATOR_RANGE: ' ~ ',
|
|
60
60
|
SIZE_SET: ['small', 'default', 'large'],
|
|
61
61
|
TYPE_SET: ['date', 'dateRange', 'year', 'month', 'dateTime', 'dateTimeRange'],
|
|
62
|
+
PRESET_POSITION_SET: ['left', 'right', 'top', 'bottom'],
|
|
62
63
|
DENSITY_SET: ['default', 'compact'],
|
|
63
64
|
PANEL_TYPE_LEFT: 'left',
|
|
64
65
|
PANEL_TYPE_RIGHT: 'right',
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
}
|
|
33
33
|
.semi-datepicker-month-grid[x-insetinput=true] .semi-datepicker-month-grid-left[x-open-type=year],
|
|
34
34
|
.semi-datepicker-month-grid[x-insetinput=true] .semi-datepicker-month-grid-right[x-open-type=year] {
|
|
35
|
-
min-height:
|
|
35
|
+
min-height: 317px;
|
|
36
36
|
}
|
|
37
37
|
.semi-datepicker-month-grid[x-insetinput=true] .semi-datepicker-month-grid-left[x-open-type=time],
|
|
38
38
|
.semi-datepicker-month-grid[x-insetinput=true] .semi-datepicker-month-grid-right[x-open-type=time] {
|
|
39
|
-
min-height:
|
|
39
|
+
min-height: 317px;
|
|
40
40
|
}
|
|
41
41
|
.semi-datepicker-month-grid[x-insetinput=true] .semi-datepicker-navigation {
|
|
42
42
|
padding-top: 8px;
|
|
@@ -48,6 +48,9 @@
|
|
|
48
48
|
.semi-datepicker-month-grid[x-insetinput=true][x-type=dateTime] .semi-datepicker-yam, .semi-datepicker-month-grid[x-insetinput=true][x-type=dateTimeRange] .semi-datepicker-yam {
|
|
49
49
|
height: 100%;
|
|
50
50
|
}
|
|
51
|
+
.semi-datepicker-month-grid[x-preset-position=left][x-insetinput=false] .semi-datepicker-month, .semi-datepicker-month-grid[x-preset-position=right][x-insetinput=false] .semi-datepicker-month {
|
|
52
|
+
height: 253px;
|
|
53
|
+
}
|
|
51
54
|
.semi-datepicker-month-grid .semi-datepicker-yearmonth-header {
|
|
52
55
|
background: var(--semi-color-bg-3);
|
|
53
56
|
padding: 12px 16px;
|
|
@@ -95,7 +98,7 @@
|
|
|
95
98
|
min-height: 216px;
|
|
96
99
|
}
|
|
97
100
|
.semi-datepicker-panel-yam {
|
|
98
|
-
max-width:
|
|
101
|
+
max-width: 484px;
|
|
99
102
|
}
|
|
100
103
|
.semi-datepicker-panel-yam .semi-scrolllist {
|
|
101
104
|
box-shadow: none;
|
|
@@ -355,23 +358,147 @@
|
|
|
355
358
|
}
|
|
356
359
|
.semi-datepicker-quick-control {
|
|
357
360
|
box-sizing: border-box;
|
|
358
|
-
border-top: 1px solid var(--semi-color-border);
|
|
359
|
-
display: flex;
|
|
360
|
-
align-items: center;
|
|
361
361
|
background-color: transparent;
|
|
362
|
-
padding: 16px;
|
|
363
|
-
border-radius: 0 0 var(--semi-border-radius-medium) var(--semi-border-radius-medium);
|
|
364
|
-
flex-wrap: wrap;
|
|
365
362
|
}
|
|
366
|
-
.semi-datepicker-quick-control-
|
|
367
|
-
|
|
363
|
+
.semi-datepicker-quick-control-header {
|
|
364
|
+
padding: 18px 12px 0;
|
|
365
|
+
font-weight: 600;
|
|
366
|
+
}
|
|
367
|
+
.semi-datepicker-quick-control-left {
|
|
368
|
+
border-right: 1px solid var(--semi-color-border);
|
|
369
|
+
}
|
|
370
|
+
.semi-datepicker-quick-control-right {
|
|
371
|
+
border-left: 1px solid var(--semi-color-border);
|
|
372
|
+
}
|
|
373
|
+
.semi-datepicker-quick-control-top {
|
|
374
|
+
border-bottom: 1px solid var(--semi-color-border);
|
|
375
|
+
}
|
|
376
|
+
.semi-datepicker-quick-control-bottom {
|
|
377
|
+
border-top: 1px solid var(--semi-color-border);
|
|
378
|
+
}
|
|
379
|
+
.semi-datepicker-quick-control-left-content-wrapper, .semi-datepicker-quick-control-right-content-wrapper {
|
|
380
|
+
max-width: 200px;
|
|
381
|
+
margin-top: 14px;
|
|
382
|
+
overflow-y: auto;
|
|
383
|
+
}
|
|
384
|
+
.semi-datepicker-quick-control-top-content-wrapper, .semi-datepicker-quick-control-bottom-content-wrapper {
|
|
385
|
+
overflow-y: auto;
|
|
386
|
+
max-height: 100px;
|
|
387
|
+
}
|
|
388
|
+
.semi-datepicker-quick-control-left-content, .semi-datepicker-quick-control-right-content {
|
|
389
|
+
box-sizing: border-box;
|
|
390
|
+
display: grid;
|
|
391
|
+
align-content: flex-start;
|
|
392
|
+
grid-gap: 8px;
|
|
393
|
+
grid-template-columns: repeat(2, minmax(76.5px, 84px));
|
|
394
|
+
padding: 0 12px 12px;
|
|
395
|
+
}
|
|
396
|
+
.semi-datepicker-quick-control-left-content-item, .semi-datepicker-quick-control-right-content-item {
|
|
397
|
+
max-width: 84px;
|
|
398
|
+
}
|
|
399
|
+
.semi-datepicker-quick-control-left-content-item-ellipsis, .semi-datepicker-quick-control-right-content-item-ellipsis {
|
|
400
|
+
width: 68px;
|
|
401
|
+
color: var(--semi-color-primary);
|
|
402
|
+
}
|
|
403
|
+
.semi-datepicker-quick-control-top-content, .semi-datepicker-quick-control-bottom-content {
|
|
404
|
+
display: grid;
|
|
405
|
+
grid-gap: 8px;
|
|
406
|
+
grid-template-columns: repeat(3, minmax(71px, 76px));
|
|
407
|
+
align-content: flex-start;
|
|
408
|
+
padding: 8px 20px;
|
|
409
|
+
}
|
|
410
|
+
.semi-datepicker-quick-control-top-content-item, .semi-datepicker-quick-control-bottom-content-item {
|
|
411
|
+
max-width: 76px;
|
|
368
412
|
}
|
|
369
|
-
.semi-datepicker-quick-control-
|
|
413
|
+
.semi-datepicker-quick-control-top-content-item-ellipsis, .semi-datepicker-quick-control-bottom-content-item-ellipsis {
|
|
414
|
+
width: 60px;
|
|
415
|
+
color: var(--semi-color-primary);
|
|
416
|
+
}
|
|
417
|
+
.semi-datepicker-quick-control-top-range-content, .semi-datepicker-quick-control-bottom-range-content {
|
|
418
|
+
box-sizing: border-box;
|
|
419
|
+
display: grid;
|
|
420
|
+
align-content: flex-start;
|
|
421
|
+
grid-template-columns: repeat(5, minmax(96.2px, 99.2px));
|
|
422
|
+
grid-gap: 8px;
|
|
423
|
+
padding: 8px 20px;
|
|
424
|
+
}
|
|
425
|
+
.semi-datepicker-quick-control-top-range-content-item, .semi-datepicker-quick-control-bottom-range-content-item {
|
|
426
|
+
max-width: 99.2px;
|
|
427
|
+
}
|
|
428
|
+
.semi-datepicker-quick-control-top-range-content-item-ellipsis, .semi-datepicker-quick-control-bottom-range-content-item-ellipsis {
|
|
429
|
+
width: 83.2px;
|
|
430
|
+
color: var(--semi-color-primary);
|
|
431
|
+
}
|
|
432
|
+
.semi-datepicker-quick-control-top-month-content, .semi-datepicker-quick-control-bottom-month-content {
|
|
433
|
+
box-sizing: border-box;
|
|
434
|
+
display: grid;
|
|
435
|
+
grid-template-columns: repeat(2, minmax(65.5px, 73px));
|
|
436
|
+
grid-gap: 8px;
|
|
437
|
+
align-content: flex-start;
|
|
438
|
+
padding: 8px 20px;
|
|
439
|
+
}
|
|
440
|
+
.semi-datepicker-quick-control-top-month-content-item, .semi-datepicker-quick-control-bottom-month-content-item {
|
|
441
|
+
max-width: 73px;
|
|
442
|
+
}
|
|
443
|
+
.semi-datepicker-quick-control-top-month-content-item-ellipsis, .semi-datepicker-quick-control-bottom-month-content-item-ellipsis {
|
|
444
|
+
max-width: 57px;
|
|
445
|
+
color: var(--semi-color-primary);
|
|
446
|
+
}
|
|
447
|
+
.semi-datepicker-quick-control-month {
|
|
370
448
|
max-width: 284px;
|
|
371
449
|
}
|
|
372
|
-
.semi-datepicker-quick-control-
|
|
450
|
+
.semi-datepicker-quick-control-month[x-insetinput=true] .semi-datepicker-quick-control-right-content-wrapper,
|
|
451
|
+
.semi-datepicker-quick-control-month[x-insetinput=true] .semi-datepicker-quick-control-left-content-wrapper {
|
|
452
|
+
max-height: 258px;
|
|
453
|
+
}
|
|
454
|
+
.semi-datepicker-quick-control-month .semi-datepicker-quick-control-right-content-wrapper,
|
|
455
|
+
.semi-datepicker-quick-control-month .semi-datepicker-quick-control-left-content-wrapper {
|
|
456
|
+
max-height: 214px;
|
|
457
|
+
}
|
|
458
|
+
.semi-datepicker-quick-control-date {
|
|
459
|
+
max-width: 284px;
|
|
460
|
+
}
|
|
461
|
+
.semi-datepicker-quick-control-date[x-insetinput=true] .semi-datepicker-quick-control-right-content-wrapper,
|
|
462
|
+
.semi-datepicker-quick-control-date[x-insetinput=true] .semi-datepicker-quick-control-left-content-wrapper {
|
|
463
|
+
max-height: 309px;
|
|
464
|
+
}
|
|
465
|
+
.semi-datepicker-quick-control-date .semi-datepicker-quick-control-right-content-wrapper,
|
|
466
|
+
.semi-datepicker-quick-control-date .semi-datepicker-quick-control-left-content-wrapper {
|
|
467
|
+
max-height: 273px;
|
|
468
|
+
}
|
|
469
|
+
.semi-datepicker-quick-control-dateTime {
|
|
470
|
+
max-width: 284px;
|
|
471
|
+
}
|
|
472
|
+
.semi-datepicker-quick-control-dateTime[x-insetinput=true] .semi-datepicker-quick-control-right-content-wrapper,
|
|
473
|
+
.semi-datepicker-quick-control-dateTime[x-insetinput=true] .semi-datepicker-quick-control-left-content-wrapper {
|
|
474
|
+
max-height: 309px;
|
|
475
|
+
}
|
|
476
|
+
.semi-datepicker-quick-control-dateTime .semi-datepicker-quick-control-right-content-wrapper,
|
|
477
|
+
.semi-datepicker-quick-control-dateTime .semi-datepicker-quick-control-left-content-wrapper {
|
|
478
|
+
max-height: 326px;
|
|
479
|
+
}
|
|
480
|
+
.semi-datepicker-quick-control-dateRange {
|
|
481
|
+
max-width: 568px;
|
|
482
|
+
}
|
|
483
|
+
.semi-datepicker-quick-control-dateRange[x-insetinput=true] .semi-datepicker-quick-control-right-content-wrapper,
|
|
484
|
+
.semi-datepicker-quick-control-dateRange[x-insetinput=true] .semi-datepicker-quick-control-left-content-wrapper {
|
|
485
|
+
max-height: 309px;
|
|
486
|
+
}
|
|
487
|
+
.semi-datepicker-quick-control-dateRange .semi-datepicker-quick-control-right-content-wrapper,
|
|
488
|
+
.semi-datepicker-quick-control-dateRange .semi-datepicker-quick-control-left-content-wrapper {
|
|
489
|
+
max-height: 273px;
|
|
490
|
+
}
|
|
491
|
+
.semi-datepicker-quick-control-dateTimeRange {
|
|
373
492
|
max-width: 568px;
|
|
374
493
|
}
|
|
494
|
+
.semi-datepicker-quick-control-dateTimeRange[x-insetinput=true] .semi-datepicker-quick-control-right-content-wrapper,
|
|
495
|
+
.semi-datepicker-quick-control-dateTimeRange[x-insetinput=true] .semi-datepicker-quick-control-left-content-wrapper {
|
|
496
|
+
max-height: 309px;
|
|
497
|
+
}
|
|
498
|
+
.semi-datepicker-quick-control-dateTimeRange .semi-datepicker-quick-control-right-content-wrapper,
|
|
499
|
+
.semi-datepicker-quick-control-dateTimeRange .semi-datepicker-quick-control-left-content-wrapper {
|
|
500
|
+
max-height: 326px;
|
|
501
|
+
}
|
|
375
502
|
.semi-datepicker-topSlot {
|
|
376
503
|
border-bottom: 1px solid var(--semi-color-border);
|
|
377
504
|
}
|
|
@@ -582,11 +709,14 @@
|
|
|
582
709
|
border-right: 1px solid var(--semi-color-border);
|
|
583
710
|
}
|
|
584
711
|
.semi-datepicker-compact .semi-datepicker-month-grid .semi-datepicker-yam-showing {
|
|
585
|
-
min-height:
|
|
712
|
+
min-height: 288px;
|
|
586
713
|
min-width: 216px;
|
|
587
714
|
}
|
|
588
715
|
.semi-datepicker-compact .semi-datepicker-month-grid[x-type=date] .semi-datepicker-yam-showing {
|
|
589
|
-
min-height:
|
|
716
|
+
min-height: 256px;
|
|
717
|
+
}
|
|
718
|
+
.semi-datepicker-compact .semi-datepicker-month-grid[x-preset-position=left][x-insetinput=false] .semi-datepicker-month, .semi-datepicker-compact .semi-datepicker-month-grid[x-preset-position=right][x-insetinput=false] .semi-datepicker-month {
|
|
719
|
+
height: 220px;
|
|
590
720
|
}
|
|
591
721
|
.semi-datepicker-compact .semi-datepicker-month-grid .semi-datepicker-yearmonth-header {
|
|
592
722
|
box-sizing: border-box;
|
|
@@ -622,14 +752,14 @@
|
|
|
622
752
|
}
|
|
623
753
|
.semi-datepicker-compact .semi-datepicker-month-grid[x-insetinput=true] .semi-datepicker-month-grid-left[x-open-type=year],
|
|
624
754
|
.semi-datepicker-compact .semi-datepicker-month-grid[x-insetinput=true] .semi-datepicker-month-grid-right[x-open-type=year] {
|
|
625
|
-
min-height:
|
|
755
|
+
min-height: 256px;
|
|
626
756
|
}
|
|
627
757
|
.semi-datepicker-compact .semi-datepicker-month-grid[x-insetinput=true] .semi-datepicker-month-grid-left[x-open-type=time],
|
|
628
758
|
.semi-datepicker-compact .semi-datepicker-month-grid[x-insetinput=true] .semi-datepicker-month-grid-right[x-open-type=time] {
|
|
629
|
-
min-height:
|
|
759
|
+
min-height: 256px;
|
|
630
760
|
}
|
|
631
761
|
.semi-datepicker-compact .semi-datepicker-month-grid[x-insetinput=true] .semi-datepicker-yam-showing {
|
|
632
|
-
min-height:
|
|
762
|
+
min-height: 256px;
|
|
633
763
|
}
|
|
634
764
|
.semi-datepicker-compact .semi-datepicker-month-grid[x-insetinput=true] .semi-datepicker-tpk {
|
|
635
765
|
min-height: 100%;
|
|
@@ -738,15 +868,130 @@
|
|
|
738
868
|
.semi-datepicker-compact .semi-datepicker-switch-text {
|
|
739
869
|
padding-left: 0;
|
|
740
870
|
}
|
|
741
|
-
.semi-datepicker-compact .semi-datepicker-quick-control {
|
|
742
|
-
padding: 12px;
|
|
871
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-header {
|
|
872
|
+
padding: 16px 12px 0;
|
|
873
|
+
font-weight: 600;
|
|
874
|
+
}
|
|
875
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-left-content-wrapper, .semi-datepicker-compact .semi-datepicker-quick-control-right-content-wrapper {
|
|
876
|
+
margin-top: 12px;
|
|
877
|
+
}
|
|
878
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-left-content, .semi-datepicker-compact .semi-datepicker-quick-control-right-content {
|
|
879
|
+
box-sizing: border-box;
|
|
880
|
+
display: grid;
|
|
881
|
+
align-content: flex-start;
|
|
882
|
+
grid-gap: 8px;
|
|
883
|
+
grid-template-columns: repeat(2, minmax(76.5px, 84px));
|
|
884
|
+
padding: 0 12px 12px;
|
|
885
|
+
}
|
|
886
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-left-content-item, .semi-datepicker-compact .semi-datepicker-quick-control-right-content-item {
|
|
887
|
+
max-width: 84px;
|
|
888
|
+
}
|
|
889
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-left-content-item-ellipsis, .semi-datepicker-compact .semi-datepicker-quick-control-right-content-item-ellipsis {
|
|
890
|
+
width: 68px;
|
|
891
|
+
font-size: 12px;
|
|
892
|
+
color: var(--semi-color-primary);
|
|
893
|
+
}
|
|
894
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-top-content, .semi-datepicker-compact .semi-datepicker-quick-control-bottom-content {
|
|
895
|
+
box-sizing: border-box;
|
|
896
|
+
display: grid;
|
|
897
|
+
grid-gap: 8px;
|
|
898
|
+
grid-template-columns: repeat(3, minmax(55px, 60px));
|
|
899
|
+
align-content: flex-start;
|
|
900
|
+
padding: 8px 10px;
|
|
901
|
+
}
|
|
902
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-top-content-item, .semi-datepicker-compact .semi-datepicker-quick-control-bottom-content-item {
|
|
903
|
+
max-width: 60px;
|
|
904
|
+
}
|
|
905
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-top-content-item-ellipsis, .semi-datepicker-compact .semi-datepicker-quick-control-bottom-content-item-ellipsis {
|
|
906
|
+
width: 44px;
|
|
907
|
+
font-size: 12px;
|
|
908
|
+
color: var(--semi-color-primary);
|
|
909
|
+
}
|
|
910
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-top-range-content, .semi-datepicker-compact .semi-datepicker-quick-control-bottom-range-content {
|
|
911
|
+
display: grid;
|
|
912
|
+
grid-template-columns: repeat(5, minmax(73px, 76px));
|
|
913
|
+
grid-gap: 8px;
|
|
914
|
+
align-content: flex-start;
|
|
915
|
+
padding: 8px 10px;
|
|
916
|
+
}
|
|
917
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-top-range-content-item, .semi-datepicker-compact .semi-datepicker-quick-control-bottom-range-content-item {
|
|
918
|
+
max-width: 76px;
|
|
919
|
+
}
|
|
920
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-top-range-content-item-ellipsis, .semi-datepicker-compact .semi-datepicker-quick-control-bottom-range-content-item-ellipsis {
|
|
921
|
+
width: 60px;
|
|
922
|
+
font-size: 12px;
|
|
923
|
+
color: var(--semi-color-primary);
|
|
743
924
|
}
|
|
744
|
-
.semi-datepicker-compact .semi-datepicker-quick-control-month, .semi-datepicker-compact .semi-datepicker-quick-control-
|
|
925
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-top-month-content, .semi-datepicker-compact .semi-datepicker-quick-control-bottom-month-content {
|
|
926
|
+
display: grid;
|
|
927
|
+
grid-template-columns: repeat(2, minmax(75.5px, 83px));
|
|
928
|
+
grid-gap: 8px;
|
|
929
|
+
align-content: flex-start;
|
|
930
|
+
padding: 8px 10px;
|
|
931
|
+
}
|
|
932
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-top-month-content-item, .semi-datepicker-compact .semi-datepicker-quick-control-bottom-month-content-item {
|
|
933
|
+
max-width: 83px;
|
|
934
|
+
}
|
|
935
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-top-month-content-item-ellipsis, .semi-datepicker-compact .semi-datepicker-quick-control-bottom-month-content-item-ellipsis {
|
|
936
|
+
max-width: 67px;
|
|
937
|
+
font-size: 12px;
|
|
938
|
+
color: var(--semi-color-primary);
|
|
939
|
+
}
|
|
940
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-month {
|
|
941
|
+
max-width: 216px;
|
|
942
|
+
}
|
|
943
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-month[x-insetinput=true] .semi-datepicker-quick-control-right-content-wrapper,
|
|
944
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-month[x-insetinput=true] .semi-datepicker-quick-control-left-content-wrapper {
|
|
945
|
+
max-height: 254px;
|
|
946
|
+
}
|
|
947
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-month .semi-datepicker-quick-control-right-content-wrapper,
|
|
948
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-month .semi-datepicker-quick-control-left-content-wrapper {
|
|
949
|
+
max-height: 218px;
|
|
950
|
+
}
|
|
951
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-date {
|
|
952
|
+
max-width: 216px;
|
|
953
|
+
}
|
|
954
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-date[x-insetinput=true] .semi-datepicker-quick-control-right-content-wrapper,
|
|
955
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-date[x-insetinput=true] .semi-datepicker-quick-control-left-content-wrapper {
|
|
956
|
+
max-height: 248px;
|
|
957
|
+
}
|
|
958
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-date .semi-datepicker-quick-control-right-content-wrapper,
|
|
959
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-date .semi-datepicker-quick-control-left-content-wrapper {
|
|
960
|
+
max-height: 208px;
|
|
961
|
+
}
|
|
962
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-dateTime {
|
|
745
963
|
max-width: 216px;
|
|
746
964
|
}
|
|
747
|
-
.semi-datepicker-compact .semi-datepicker-quick-control-
|
|
965
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-dateTime[x-insetinput=true] .semi-datepicker-quick-control-right-content-wrapper,
|
|
966
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-dateTime[x-insetinput=true] .semi-datepicker-quick-control-left-content-wrapper {
|
|
967
|
+
max-height: 248px;
|
|
968
|
+
}
|
|
969
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-dateTime .semi-datepicker-quick-control-right-content-wrapper,
|
|
970
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-dateTime .semi-datepicker-quick-control-left-content-wrapper {
|
|
971
|
+
max-height: 240px;
|
|
972
|
+
}
|
|
973
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-dateRange {
|
|
974
|
+
max-width: 432px;
|
|
975
|
+
}
|
|
976
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-dateRange[x-insetinput=true] .semi-datepicker-quick-control-right-content-wrapper,
|
|
977
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-dateRange[x-insetinput=true] .semi-datepicker-quick-control-left-content-wrapper {
|
|
978
|
+
max-height: 248px;
|
|
979
|
+
}
|
|
980
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-dateRange .semi-datepicker-quick-control-right-content-wrapper,
|
|
981
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-dateRange .semi-datepicker-quick-control-left-content-wrapper {
|
|
982
|
+
max-height: 208px;
|
|
983
|
+
}
|
|
984
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-dateTimeRange {
|
|
748
985
|
max-width: 432px;
|
|
749
986
|
}
|
|
987
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-dateTimeRange[x-insetinput=true] .semi-datepicker-quick-control-right-content-wrapper,
|
|
988
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-dateTimeRange[x-insetinput=true] .semi-datepicker-quick-control-left-content-wrapper {
|
|
989
|
+
max-height: 248px;
|
|
990
|
+
}
|
|
991
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-dateTimeRange .semi-datepicker-quick-control-right-content-wrapper,
|
|
992
|
+
.semi-datepicker-compact .semi-datepicker-quick-control-dateTimeRange .semi-datepicker-quick-control-left-content-wrapper {
|
|
993
|
+
max-height: 240px;
|
|
994
|
+
}
|
|
750
995
|
.semi-datepicker-compact .semi-datepicker-footer {
|
|
751
996
|
padding-top: 10px;
|
|
752
997
|
padding-right: 8px;
|
|
@@ -846,11 +1091,6 @@
|
|
|
846
1091
|
padding-left: 0;
|
|
847
1092
|
padding-right: 8px;
|
|
848
1093
|
}
|
|
849
|
-
.semi-rtl .semi-datepicker-quick-control-item,
|
|
850
|
-
.semi-portal-rtl .semi-datepicker-quick-control-item {
|
|
851
|
-
margin-left: 0;
|
|
852
|
-
margin-right: 8px;
|
|
853
|
-
}
|
|
854
1094
|
.semi-rtl .semi-datepicker-navigation .semi-icon-chevron_left,
|
|
855
1095
|
.semi-rtl .semi-datepicker-navigation .semi-icon-chevron_right,
|
|
856
1096
|
.semi-rtl .semi-datepicker-navigation .semi-icon-double_chevron_left,
|