vxe-pc-ui 4.4.6 → 4.4.7

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 (46) hide show
  1. package/es/calendar/src/calendar.js +42 -17
  2. package/es/date-picker/src/date-picker.js +33 -15
  3. package/es/date-picker/style.css +36 -21
  4. package/es/date-picker/style.min.css +1 -1
  5. package/es/icon/style.css +1 -1
  6. package/es/style.css +1 -1
  7. package/es/style.min.css +1 -1
  8. package/es/ui/index.js +1 -1
  9. package/es/ui/src/log.js +1 -1
  10. package/es/vxe-date-picker/style.css +36 -21
  11. package/es/vxe-date-picker/style.min.css +1 -1
  12. package/lib/calendar/src/calendar.js +32 -14
  13. package/lib/calendar/src/calendar.min.js +1 -1
  14. package/lib/date-picker/src/date-picker.js +26 -13
  15. package/lib/date-picker/src/date-picker.min.js +1 -1
  16. package/lib/date-picker/style/style.css +36 -21
  17. package/lib/date-picker/style/style.min.css +1 -1
  18. package/lib/icon/style/style.css +1 -1
  19. package/lib/icon/style/style.min.css +1 -1
  20. package/lib/index.umd.js +60 -29
  21. package/lib/index.umd.min.js +1 -1
  22. package/lib/style.css +1 -1
  23. package/lib/style.min.css +1 -1
  24. package/lib/ui/index.js +1 -1
  25. package/lib/ui/index.min.js +1 -1
  26. package/lib/ui/src/log.js +1 -1
  27. package/lib/ui/src/log.min.js +1 -1
  28. package/lib/vxe-date-picker/style/style.css +36 -21
  29. package/lib/vxe-date-picker/style/style.min.css +1 -1
  30. package/package.json +1 -1
  31. package/packages/calendar/src/calendar.ts +42 -16
  32. package/packages/date-picker/src/date-picker.ts +33 -14
  33. package/styles/components/date-picker.scss +25 -9
  34. package/styles/theme/base.scss +1 -1
  35. /package/es/icon/{iconfont.1741332991459.ttf → iconfont.1741345300345.ttf} +0 -0
  36. /package/es/icon/{iconfont.1741332991459.woff → iconfont.1741345300345.woff} +0 -0
  37. /package/es/icon/{iconfont.1741332991459.woff2 → iconfont.1741345300345.woff2} +0 -0
  38. /package/es/{iconfont.1741332991459.ttf → iconfont.1741345300345.ttf} +0 -0
  39. /package/es/{iconfont.1741332991459.woff → iconfont.1741345300345.woff} +0 -0
  40. /package/es/{iconfont.1741332991459.woff2 → iconfont.1741345300345.woff2} +0 -0
  41. /package/lib/icon/style/{iconfont.1741332991459.ttf → iconfont.1741345300345.ttf} +0 -0
  42. /package/lib/icon/style/{iconfont.1741332991459.woff → iconfont.1741345300345.woff} +0 -0
  43. /package/lib/icon/style/{iconfont.1741332991459.woff2 → iconfont.1741345300345.woff2} +0 -0
  44. /package/lib/{iconfont.1741332991459.ttf → iconfont.1741345300345.ttf} +0 -0
  45. /package/lib/{iconfont.1741332991459.woff → iconfont.1741345300345.woff} +0 -0
  46. /package/lib/{iconfont.1741332991459.woff2 → iconfont.1741345300345.woff2} +0 -0
@@ -325,7 +325,11 @@
325
325
  margin-right: 0.5em;
326
326
  }
327
327
  .vxe-date-picker--time-picker-btn {
328
+ display: flex;
328
329
  flex-shrink: 0;
330
+ &:active {
331
+ transform: scale(0.9);
332
+ }
329
333
  }
330
334
  .vxe-date-picker--time-picker-confirm,
331
335
  .vxe-date-picker--date-picker-confirm {
@@ -391,6 +395,7 @@
391
395
  &:not(.is--disabled) {
392
396
  cursor: pointer;
393
397
  &:hover {
398
+ color: var(--vxe-ui-font-primary-color);
394
399
  background-color: #fff;
395
400
  }
396
401
  &:active {
@@ -398,6 +403,14 @@
398
403
  }
399
404
  }
400
405
  }
406
+ .vxe-date-picker--date-picker-btns {
407
+ .vxe-date-picker--date-picker-btn {
408
+ margin-left: 0.6em;
409
+ &:first-child {
410
+ margin-left: 0;
411
+ }
412
+ }
413
+ }
401
414
  .vxe-date-picker--date-picker-body {
402
415
  border-radius: var(--vxe-ui-base-border-radius);
403
416
  border: 1px solid var(--vxe-ui-base-popup-border-color);
@@ -523,6 +536,8 @@
523
536
 
524
537
  .vxe-date-picker--date-label {
525
538
  position: relative;
539
+ font-size: 1.1em;
540
+ line-height: 1em;
526
541
  &.is-notice {
527
542
  &:before {
528
543
  content: "";
@@ -541,8 +556,8 @@
541
556
  position: absolute;
542
557
  right: 0.1em;
543
558
  top: -0.2em;
544
- font-size: 0.86em;
545
- transform: scale(0.85);
559
+ font-size: 12px;
560
+ transform: scale(0.9);
546
561
  color: var(--vxe-ui-input-date-extra-color);
547
562
  &.is-important {
548
563
  color: var(--vxe-ui-input-date-extra-important-color);
@@ -551,7 +566,8 @@
551
566
 
552
567
  .vxe-date-picker--date-festival {
553
568
  color: var(--vxe-ui-input-date-festival-color);
554
- height: 14px;
569
+ height: 1.2em;
570
+ line-height: 1.1em;
555
571
  overflow: hidden;
556
572
  &.is-important {
557
573
  color: var(--vxe-ui-input-date-festival-important-color);
@@ -559,8 +575,8 @@
559
575
  }
560
576
  .vxe-date-picker--date-festival--label {
561
577
  display: block;
562
- font-size: 0.86em;
563
- transform: scale(0.9);
578
+ font-size: 1em;
579
+ transform: scale(0.8);
564
580
  }
565
581
 
566
582
  @keyframes festivalOverlap2 {
@@ -760,6 +776,9 @@
760
776
  .vxe-date-picker--date-picker-btn-wrapper {
761
777
  .vxe-date-picker--date-picker-btn {
762
778
  margin-left: 9px - $sizeIndex;
779
+ &:active {
780
+ transform: scale(0.9);
781
+ }
763
782
  }
764
783
  .vxe-date-picker--date-picker-prev-btn,
765
784
  .vxe-date-picker--date-picker-current-btn,
@@ -771,7 +790,7 @@
771
790
  }
772
791
  .vxe-date-picker--date-picker-type-wrapper {
773
792
  .vxe-date-picker--date-picker-label,
774
- .vxe-date-picker--date-picker-btn {
793
+ .vxe-date-picker--date-picker-btns {
775
794
  padding: 0 10px - $sizeIndex;
776
795
  }
777
796
  }
@@ -831,9 +850,6 @@
831
850
  .vxe-date-picker--date-picker-confirm {
832
851
  height: 31px - $sizeIndex;
833
852
  }
834
- .vxe-date-picker--date-label {
835
- line-height: calc(list.nth($fontSizeList, $sizeIndex) + 1px);
836
- }
837
853
  }
838
854
 
839
855
  .vxe-date-picker--panel {
@@ -43,7 +43,7 @@
43
43
  /*input*/
44
44
  --vxe-ui-input-disabled-color: #dcdfe6;
45
45
  --vxe-ui-input-number-disabled-color: #e4e7ed;
46
- --vxe-ui-input-date-festival-color: #999999;
46
+ --vxe-ui-input-date-festival-color: #abaaaa;
47
47
  --vxe-ui-input-date-festival-important-color: var(--vxe-ui-font-primary-color);
48
48
  --vxe-ui-input-date-notice-background-color: #FF0000;
49
49
  --vxe-ui-input-date-picker-hover-background-color: #f2f6fc;