vft 0.0.147 → 0.0.148

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 (131) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/es/app-components/form/form-label-wrap.d.ts +2 -2
  4. package/es/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +1 -1
  5. package/es/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +1 -1
  6. package/es/components/date-picker/panel-utils.d.ts +8 -8
  7. package/es/components/multiple-tabs/tab-content.vue.d.ts +1 -2
  8. package/es/components/table/table.vue2.js +141 -143
  9. package/es/components/table/use/use-table.js +4 -1
  10. package/es/components/verify-code/index.d.ts +5 -1
  11. package/es/components/verify-code/verify-code.vue.d.ts +5 -1
  12. package/es/package.json.d.ts +11 -11
  13. package/es/package.json.js +1 -1
  14. package/lib/app-components/form/form-label-wrap.d.ts +2 -2
  15. package/lib/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +1 -1
  16. package/lib/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +1 -1
  17. package/lib/components/date-picker/panel-utils.d.ts +8 -8
  18. package/lib/components/multiple-tabs/tab-content.vue.d.ts +1 -2
  19. package/lib/components/table/table.vue2.cjs +1 -1
  20. package/lib/components/table/use/use-table.cjs +1 -1
  21. package/lib/components/verify-code/index.d.ts +5 -1
  22. package/lib/components/verify-code/verify-code.vue.d.ts +5 -1
  23. package/lib/package.json.cjs +1 -1
  24. package/lib/package.json.d.ts +11 -11
  25. package/package.json +11 -11
  26. package/tags.json +1 -1
  27. package/theme-style/index.css +1 -1
  28. package/theme-style/src/autocomplete.scss +20 -20
  29. package/theme-style/src/badge.scss +8 -11
  30. package/theme-style/src/breadcrumb.scss +2 -0
  31. package/theme-style/src/button-group.scss +29 -22
  32. package/theme-style/src/calendar.scss +13 -12
  33. package/theme-style/src/carousel-item.scss +2 -0
  34. package/theme-style/src/carousel.scss +7 -7
  35. package/theme-style/src/cascader-panel.scss +28 -28
  36. package/theme-style/src/cascader.scss +63 -63
  37. package/theme-style/src/check-tag.scss +5 -5
  38. package/theme-style/src/checkbox-button.scss +13 -14
  39. package/theme-style/src/checkbox.scss +38 -37
  40. package/theme-style/src/clamp-toggle.scss +1 -0
  41. package/theme-style/src/col.scss +2 -5
  42. package/theme-style/src/collapse.scss +10 -5
  43. package/theme-style/src/color/index.scss +0 -1
  44. package/theme-style/src/common/popup.scss +2 -0
  45. package/theme-style/src/dark/css-vars.scss +0 -1
  46. package/theme-style/src/dark/var.scss +1 -1
  47. package/theme-style/src/date-picker/date-range-picker.scss +22 -22
  48. package/theme-style/src/date-picker/date-table.scss +5 -0
  49. package/theme-style/src/date-picker/month-table.scss +7 -0
  50. package/theme-style/src/date-picker/picker-panel.scss +15 -14
  51. package/theme-style/src/date-picker/picker.scss +35 -34
  52. package/theme-style/src/date-picker/year-table.scss +1 -0
  53. package/theme-style/src/date-time-select.scss +7 -6
  54. package/theme-style/src/drawer.scss +15 -13
  55. package/theme-style/src/dropdown.scss +45 -49
  56. package/theme-style/src/footer-layout.scss +4 -4
  57. package/theme-style/src/footer.scss +2 -2
  58. package/theme-style/src/header.scss +2 -2
  59. package/theme-style/src/image.scss +5 -0
  60. package/theme-style/src/md/figure.scss +0 -4
  61. package/theme-style/src/md-vue-playground.scss +2 -2
  62. package/theme-style/src/message-box.scss +28 -29
  63. package/theme-style/src/mixins/_button.scss +1 -1
  64. package/theme-style/src/mixins/_col.scss +8 -7
  65. package/theme-style/src/notification.scss +19 -18
  66. package/theme-style/src/option-group.scss +0 -1
  67. package/theme-style/src/option-item.scss +0 -1
  68. package/theme-style/src/option.scss +0 -1
  69. package/theme-style/src/overlay.scss +3 -3
  70. package/theme-style/src/page-wrapper.scss +1 -1
  71. package/theme-style/src/popover.scss +2 -1
  72. package/theme-style/src/popper.scss +44 -42
  73. package/theme-style/src/radio-button.scss +22 -23
  74. package/theme-style/src/radio.scss +43 -42
  75. package/theme-style/src/rate.scss +36 -38
  76. package/theme-style/src/result.scss +8 -7
  77. package/theme-style/src/row.scss +6 -0
  78. package/theme-style/src/scrollbar.scss +1 -1
  79. package/theme-style/src/search.scss +4 -4
  80. package/theme-style/src/select/common.scss +1 -0
  81. package/theme-style/src/select-dropdown-v2.scss +5 -5
  82. package/theme-style/src/select-dropdown.scss +0 -1
  83. package/theme-style/src/skeleton.scss +4 -2
  84. package/theme-style/src/slider.scss +16 -15
  85. package/theme-style/src/spinner.scss +3 -0
  86. package/theme-style/src/step.scss +5 -5
  87. package/theme-style/src/tag.scss +77 -76
  88. package/theme-style/src/timeline-item.scss +15 -12
  89. package/theme-style/src/transfer.scss +6 -2
  90. package/theme-style/src/var.scss +0 -1
  91. package/theme-style/src/virtual-list.scss +7 -2
  92. package/theme-style/vft-autocomplete.css +1 -1
  93. package/theme-style/vft-badge.css +1 -1
  94. package/theme-style/vft-button-group.css +1 -1
  95. package/theme-style/vft-calendar.css +1 -1
  96. package/theme-style/vft-carousel.css +1 -1
  97. package/theme-style/vft-cascader-panel.css +1 -1
  98. package/theme-style/vft-cascader.css +1 -1
  99. package/theme-style/vft-check-tag.css +1 -1
  100. package/theme-style/vft-checkbox-button.css +1 -1
  101. package/theme-style/vft-checkbox.css +1 -1
  102. package/theme-style/vft-col.css +1 -1
  103. package/theme-style/vft-collapse.css +1 -1
  104. package/theme-style/vft-date-picker.css +1 -1
  105. package/theme-style/vft-date-time-select.css +1 -1
  106. package/theme-style/vft-drawer.css +1 -1
  107. package/theme-style/vft-dropdown.css +1 -1
  108. package/theme-style/vft-footer-layout.css +1 -1
  109. package/theme-style/vft-footer.css +1 -1
  110. package/theme-style/vft-header.css +1 -1
  111. package/theme-style/vft-md-vue-playground.css +1 -1
  112. package/theme-style/vft-message-box.css +1 -1
  113. package/theme-style/vft-notification.css +1 -1
  114. package/theme-style/vft-page-wrapper.css +1 -1
  115. package/theme-style/vft-popover.css +1 -1
  116. package/theme-style/vft-popper.css +1 -1
  117. package/theme-style/vft-radio-button.css +1 -1
  118. package/theme-style/vft-radio.css +1 -1
  119. package/theme-style/vft-rate.css +1 -1
  120. package/theme-style/vft-result.css +1 -1
  121. package/theme-style/vft-search.css +1 -1
  122. package/theme-style/vft-select-dropdown-v2.css +1 -1
  123. package/theme-style/vft-select.css +1 -1
  124. package/theme-style/vft-slider.css +1 -1
  125. package/theme-style/vft-step.css +1 -1
  126. package/theme-style/vft-tag.css +1 -1
  127. package/theme-style/vft-time-picker.css +1 -1
  128. package/theme-style/vft-time-select.css +1 -1
  129. package/theme-style/vft-timeline-item.css +1 -1
  130. package/theme-style/vft-transfer.css +1 -1
  131. package/web-types.json +1 -1
@@ -1,5 +1,4 @@
1
1
  @use 'sass:map';
2
-
3
2
  @use 'common/var' as *;
4
3
  @use 'mixins/mixins' as *;
5
4
  @use 'mixins/var' as *;
@@ -7,7 +6,6 @@
7
6
 
8
7
  $checkbox-height: () !default;
9
8
  $checkbox-height: map.merge($common-component-size, $checkbox-height);
10
-
11
9
  $checkbox-bordered-input-height: () !default;
12
10
  $checkbox-bordered-input-height: map.merge(
13
11
  (
@@ -17,7 +15,6 @@ $checkbox-bordered-input-height: map.merge(
17
15
  ),
18
16
  $checkbox-bordered-input-height
19
17
  );
20
-
21
18
  $checkbox-font-size: () !default;
22
19
  $checkbox-font-size: map.merge(
23
20
  (
@@ -26,7 +23,6 @@ $checkbox-font-size: map.merge(
26
23
  ),
27
24
  $checkbox-font-size
28
25
  );
29
-
30
26
  $checkbox-bordered-input-width: () !default;
31
27
  $checkbox-bordered-input-width: map.merge(
32
28
  $checkbox-bordered-input-height,
@@ -38,6 +34,21 @@ $checkbox-bordered-input-width: map.merge(
38
34
  }
39
35
 
40
36
  @include b(checkbox) {
37
+ @each $size in (large, small) {
38
+ &.#{$namespace}-checkbox--#{$size} {
39
+ height: map.get($checkbox-height, $size);
40
+
41
+ @include e(label) {
42
+ font-size: map.get($checkbox-font-size, $size);
43
+ }
44
+
45
+ @include e(inner) {
46
+ width: map.get($checkbox-font-size, $size);
47
+ height: map.get($checkbox-font-size, $size);
48
+ }
49
+ }
50
+ }
51
+
41
52
  color: getCssVar('checkbox-text-color');
42
53
  font-weight: getCssVar('checkbox-font-weight');
43
54
  font-size: getCssVar('font-size', 'base');
@@ -55,27 +66,12 @@ $checkbox-bordered-input-width: map.merge(
55
66
  }
56
67
 
57
68
  @include when(bordered) {
58
- padding: 0 map.get($checkbox-bordered-padding-right, 'default')-$border-width
59
- 0 map.get($checkbox-bordered-padding-left, 'default')-$border-width;
60
- border-radius: getCssVar('border-radius-base');
61
- border: getCssVar('border');
62
- box-sizing: border-box;
63
-
64
- &.is-checked {
65
- border-color: getCssVar('primary-color');
66
- }
67
-
68
- &.is-disabled {
69
- border-color: getCssVar('border-color-lighter');
70
- }
71
-
72
69
  @each $size in (large, small) {
73
70
  &.#{$namespace}-checkbox--#{$size} {
74
71
  padding: 0
75
72
  map.get($checkbox-bordered-padding-right, $size)-$border-width
76
73
  0
77
74
  map.get($checkbox-bordered-padding-left, $size)-$border-width;
78
-
79
75
  border-radius: map.get($button-border-radius, $size);
80
76
 
81
77
  .#{$namespace}-checkbox__label {
@@ -89,6 +85,20 @@ $checkbox-bordered-input-width: map.merge(
89
85
  }
90
86
  }
91
87
 
88
+ padding: 0 map.get($checkbox-bordered-padding-right, 'default')-$border-width
89
+ 0 map.get($checkbox-bordered-padding-left, 'default')-$border-width;
90
+ border-radius: getCssVar('border-radius-base');
91
+ border: getCssVar('border');
92
+ box-sizing: border-box;
93
+
94
+ &.is-checked {
95
+ border-color: getCssVar('primary-color');
96
+ }
97
+
98
+ &.is-disabled {
99
+ border-color: getCssVar('border-color-lighter');
100
+ }
101
+
92
102
  &.#{$namespace}-checkbox--small {
93
103
  .#{$namespace}-checkbox__inner {
94
104
  &::after {
@@ -99,14 +109,6 @@ $checkbox-bordered-input-width: map.merge(
99
109
  }
100
110
  }
101
111
 
102
- input:focus-visible {
103
- & + .#{$namespace}-checkbox__inner {
104
- outline: 2px solid getCssVar('checkbox-input-border-color-hover');
105
- outline-offset: 1px;
106
- border-radius: getCssVar('checkbox-border-radius');
107
- }
108
- }
109
-
110
112
  @include e(input) {
111
113
  white-space: nowrap;
112
114
  cursor: pointer;
@@ -173,6 +175,7 @@ $checkbox-bordered-input-width: map.merge(
173
175
  color: getCssVar('checkbox-checked-text-color');
174
176
  }
175
177
  }
178
+
176
179
  @include when(focus) {
177
180
  // Visually distinguish when focus
178
181
  &:not(.is-checked) {
@@ -181,6 +184,7 @@ $checkbox-bordered-input-width: map.merge(
181
184
  }
182
185
  }
183
186
  }
187
+
184
188
  @include when(indeterminate) {
185
189
  .#{$namespace}-checkbox__inner {
186
190
  background-color: getCssVar('checkbox-checked-bg-color');
@@ -204,6 +208,7 @@ $checkbox-bordered-input-width: map.merge(
204
208
  }
205
209
  }
206
210
  }
211
+
207
212
  @include e(inner) {
208
213
  display: inline-block;
209
214
  position: relative;
@@ -256,16 +261,11 @@ $checkbox-bordered-input-width: map.merge(
256
261
  font-size: getCssVar('checkbox-font-size');
257
262
  }
258
263
 
259
- @each $size in (large, small) {
260
- &.#{$namespace}-checkbox--#{$size} {
261
- height: map.get($checkbox-height, $size);
262
- @include e(label) {
263
- font-size: map.get($checkbox-font-size, $size);
264
- }
265
- @include e(inner) {
266
- width: map.get($checkbox-font-size, $size);
267
- height: map.get($checkbox-font-size, $size);
268
- }
264
+ input:focus-visible {
265
+ & + .#{$namespace}-checkbox__inner {
266
+ outline: 2px solid getCssVar('checkbox-input-border-color-hover');
267
+ outline-offset: 1px;
268
+ border-radius: getCssVar('checkbox-border-radius');
269
269
  }
270
270
  }
271
271
 
@@ -279,6 +279,7 @@ $checkbox-bordered-input-width: map.merge(
279
279
  }
280
280
  }
281
281
  }
282
+
282
283
  @include e(inner) {
283
284
  &::after {
284
285
  width: 2px;
@@ -12,6 +12,7 @@ $name: clamp-toggle;
12
12
  @include b($name) {
13
13
  font-size: getCompCssVar('size');
14
14
  color: getCompCssVar('color');
15
+
15
16
  @include e(more) {
16
17
  font-size: getCompCssVar('toggle-size');
17
18
  color: getCompCssVar('toggle-color');
@@ -1,11 +1,11 @@
1
1
  @use 'sass:math';
2
-
3
2
  @use 'common/var' as *;
4
3
  @use 'mixins/mixins' as *;
5
4
  @use 'mixins/_col' as *;
6
5
 
7
6
  [class*='#{$namespace}-col-'] {
8
7
  box-sizing: border-box;
8
+
9
9
  @include when(guttered) {
10
10
  display: block;
11
11
  min-height: 1px;
@@ -14,6 +14,7 @@
14
14
 
15
15
  .#{$namespace}-col-0 {
16
16
  display: none;
17
+
17
18
  @include when(guttered) {
18
19
  display: none;
19
20
  }
@@ -41,11 +42,7 @@
41
42
  }
42
43
 
43
44
  @include col-size(xs);
44
-
45
45
  @include col-size(sm);
46
-
47
46
  @include col-size(md);
48
-
49
47
  @include col-size(lg);
50
-
51
48
  @include col-size(xl);
@@ -4,10 +4,10 @@
4
4
  @use 'common/transition';
5
5
 
6
6
  @include b(collapse) {
7
- @include set-component-css-var('collapse', $collapse);
8
-
9
7
  border-top: 1px solid getCssVar('collapse-border-color');
10
8
  border-bottom: 1px solid getCssVar('collapse-border-color');
9
+
10
+ @include set-component-css-var('collapse', $collapse);
11
11
  }
12
12
 
13
13
  @include b(collapse-item) {
@@ -17,6 +17,7 @@
17
17
  cursor: not-allowed;
18
18
  }
19
19
  }
20
+
20
21
  @include e(header) {
21
22
  display: flex;
22
23
  align-items: center;
@@ -30,20 +31,24 @@
30
31
  font-weight: 500;
31
32
  transition: border-bottom-color getCssVar('transition-duration');
32
33
  outline: none;
34
+
33
35
  @include e(arrow) {
34
36
  margin: 0 8px 0 auto;
35
37
  transition: transform getCssVar('transition-duration');
36
38
  font-weight: 300;
39
+
37
40
  @include when(active) {
38
41
  transform: rotate(90deg);
39
42
  }
40
43
  }
41
- &.focusing:focus:not(:hover) {
42
- color: getCssVar('primary-color');
43
- }
44
+
44
45
  @include when(active) {
45
46
  border-bottom-color: transparent;
46
47
  }
48
+
49
+ &.focusing:focus:not(:hover) {
50
+ color: getCssVar('primary-color');
51
+ }
47
52
  }
48
53
 
49
54
  @include e(wrap) {
@@ -8,7 +8,6 @@
8
8
  // rgba color above solid color
9
9
  @function mix-overlay-color($upper, $lower) {
10
10
  $opacity: color.alpha($upper);
11
-
12
11
  $red: color.red($upper) * $opacity + color.red($lower) * (1 - $opacity);
13
12
  $green: color.green($upper) * $opacity + color.green($lower) * (1 - $opacity);
14
13
  $blue: color.blue($upper) * $opacity + color.blue($lower) * (1 - $opacity);
@@ -18,6 +18,7 @@
18
18
  0% {
19
19
  opacity: 0;
20
20
  }
21
+
21
22
  100% {
22
23
  }
23
24
  }
@@ -25,6 +26,7 @@
25
26
  @keyframes v-modal-out {
26
27
  0% {
27
28
  }
29
+
28
30
  100% {
29
31
  opacity: 0;
30
32
  }
@@ -6,7 +6,6 @@
6
6
  @use '../mixins/mixins.scss' as *;
7
7
 
8
8
  html.dark {
9
-
10
9
  // hex colors
11
10
  @each $type in (primary, success, warning, danger, error, info) {
12
11
  @include set-css-color-type($colors, $type);
@@ -140,7 +140,7 @@ $fill-color: map.merge(
140
140
 
141
141
  // mix to hex to avoid overlay issues
142
142
  @each $key, $val in $fill-color {
143
- @if $key != 'blank' {
143
+ @if $key != 'blank' {
144
144
  $fill-color: map.merge(
145
145
  $fill-color,
146
146
  (
@@ -9,27 +9,6 @@
9
9
  @include b(date-range-picker) {
10
10
  width: 646px;
11
11
 
12
- &.has-sidebar {
13
- width: 756px;
14
- }
15
-
16
- &.has-time .#{$namespace}-picker-panel__body-wrapper {
17
- position: relative;
18
- }
19
-
20
- table {
21
- table-layout: fixed;
22
- width: 100%;
23
- }
24
-
25
- .#{$namespace}-picker-panel__body {
26
- min-width: 513px;
27
- }
28
-
29
- .#{$namespace}-picker-panel__content {
30
- margin: 0;
31
- }
32
-
33
12
  @include e(header) {
34
13
  position: relative;
35
14
  text-align: center;
@@ -81,7 +60,7 @@
81
60
  position: relative;
82
61
  border-bottom: 1px solid getCssVar('datepicker-inner-border-color');
83
62
  font-size: 12px;
84
- padding: 8px 5px 5px 5px;
63
+ padding: 8px 5px 5px;
85
64
  display: table;
86
65
  width: 100%;
87
66
  box-sizing: border-box;
@@ -110,4 +89,25 @@
110
89
  position: absolute;
111
90
  }
112
91
  }
92
+
93
+ &.has-sidebar {
94
+ width: 756px;
95
+ }
96
+
97
+ &.has-time .#{$namespace}-picker-panel__body-wrapper {
98
+ position: relative;
99
+ }
100
+
101
+ table {
102
+ table-layout: fixed;
103
+ width: 100%;
104
+ }
105
+
106
+ .#{$namespace}-picker-panel__body {
107
+ min-width: 513px;
108
+ }
109
+
110
+ .#{$namespace}-picker-panel__content {
111
+ margin: 0;
112
+ }
113
113
  }
@@ -11,6 +11,7 @@
11
11
  .#{$namespace}-date-table-cell {
12
12
  background-color: getCssVar('datepicker-inrange-bg-color');
13
13
  }
14
+
14
15
  td.available:hover {
15
16
  color: getCssVar('datepicker-text-color');
16
17
  }
@@ -45,6 +46,7 @@
45
46
  height: 30px;
46
47
  padding: 3px 0;
47
48
  box-sizing: border-box;
49
+
48
50
  @include b(date-table-cell__text) {
49
51
  width: 24px;
50
52
  height: 24px;
@@ -81,6 +83,7 @@
81
83
 
82
84
  &.in-range .#{$namespace}-date-table-cell {
83
85
  background-color: getCssVar('datepicker-inrange-bg-color');
86
+
84
87
  &:hover {
85
88
  background-color: getCssVar('datepicker-inrange-hover-bg-color');
86
89
  }
@@ -91,6 +94,7 @@
91
94
  color: $color-white;
92
95
  background-color: getCssVar('datepicker-active-color');
93
96
  }
97
+
94
98
  &:focus-visible {
95
99
  .#{$namespace}-date-table-cell__text {
96
100
  outline: 2px solid getCssVar('datepicker-active-color');
@@ -132,6 +136,7 @@
132
136
  margin-right: 5px;
133
137
  background-color: getCssVar('datepicker-inrange-bg-color');
134
138
  border-radius: 15px;
139
+
135
140
  &:hover {
136
141
  background-color: getCssVar('datepicker-inrange-hover-bg-color');
137
142
  }
@@ -10,16 +10,19 @@
10
10
  text-align: center;
11
11
  padding: 8px 0;
12
12
  cursor: pointer;
13
+
13
14
  & div {
14
15
  height: 48px;
15
16
  padding: 6px 0;
16
17
  box-sizing: border-box;
17
18
  }
19
+
18
20
  &.today {
19
21
  .cell {
20
22
  color: getCssVar('primary-color');
21
23
  font-weight: bold;
22
24
  }
25
+
23
26
  &.start-date .cell,
24
27
  &.end-date .cell {
25
28
  color: $color-white;
@@ -44,6 +47,7 @@
44
47
  color: getCssVar('datepicker-text-color');
45
48
  margin: 0 auto;
46
49
  border-radius: 18px;
50
+
47
51
  &:hover {
48
52
  color: getCssVar('datepicker-hover-text-color');
49
53
  }
@@ -51,10 +55,12 @@
51
55
 
52
56
  &.in-range div {
53
57
  background-color: getCssVar('datepicker-inrange-bg-color');
58
+
54
59
  &:hover {
55
60
  background-color: getCssVar('datepicker-inrange-hover-bg-color');
56
61
  }
57
62
  }
63
+
58
64
  &.start-date div,
59
65
  &.end-date div {
60
66
  color: $color-white;
@@ -82,6 +88,7 @@
82
88
 
83
89
  &:focus-visible {
84
90
  outline: none;
91
+
85
92
  .cell {
86
93
  outline: 2px solid getCssVar('datepicker-active-color');
87
94
  }
@@ -7,13 +7,6 @@
7
7
  border-radius: getCssVar('border-radius-base');
8
8
  line-height: 30px;
9
9
 
10
- .#{$namespace}-time-panel {
11
- margin: 5px 0;
12
- border: solid 1px getCssVar('datepicker-border-color');
13
- background-color: getCssVar('bg-color', 'overlay');
14
- box-shadow: getCssVar('box-shadow-light');
15
- }
16
-
17
10
  @include e((body, body-wrapper)) {
18
11
  &::after {
19
12
  content: '';
@@ -85,13 +78,6 @@
85
78
  outline: none;
86
79
  margin-top: 3px;
87
80
 
88
- &:hover {
89
- color: getCssVar('datepicker-hover-text-color');
90
- }
91
- &:focus-visible {
92
- color: getCssVar('datepicker-hover-text-color');
93
- }
94
-
95
81
  @include when(disabled) {
96
82
  color: getCssVar('text-disabled-color');
97
83
 
@@ -99,6 +85,14 @@
99
85
  cursor: not-allowed;
100
86
  }
101
87
  }
88
+
89
+ &:hover {
90
+ color: getCssVar('datepicker-hover-text-color');
91
+ }
92
+
93
+ &:focus-visible {
94
+ color: getCssVar('datepicker-hover-text-color');
95
+ }
102
96
  & .#{$namespace}-icon {
103
97
  cursor: pointer;
104
98
  }
@@ -107,6 +101,13 @@
107
101
  @include e(link-btn) {
108
102
  vertical-align: middle;
109
103
  }
104
+
105
+ .#{$namespace}-time-panel {
106
+ margin: 5px 0;
107
+ border: solid 1px getCssVar('datepicker-border-color');
108
+ background-color: getCssVar('bg-color', 'overlay');
109
+ box-shadow: getCssVar('box-shadow-light');
110
+ }
110
111
  }
111
112
 
112
113
  .#{$namespace}-picker-panel *[slot='sidebar'],
@@ -1,5 +1,4 @@
1
1
  @use 'sass:map';
2
-
3
2
  @use '../mixins/mixins' as *;
4
3
  @use '../mixins/var' as *;
5
4
  @use '../common/var' as *;
@@ -17,30 +16,12 @@
17
16
  }
18
17
 
19
18
  @include b(date-editor) {
20
- @include set-component-css-var('date-editor', $date-editor);
21
- @include set-component-css-var('input', $input);
22
19
  position: relative;
23
20
  display: inline-block;
24
21
  text-align: left;
25
22
 
26
- &.#{$namespace}-input__wrapper {
27
- @include inset-input-border(
28
- var(
29
- #{getCssVarName('input-border-color')},
30
- map.get($input, 'border-color')
31
- )
32
- );
33
-
34
- &:hover {
35
- @include inset-input-border(#{getCssVar('input', 'hover-border-color')});
36
- }
37
- }
38
-
39
- &.#{$namespace}-input,
40
- &.#{$namespace}-input__wrapper {
41
- width: getCssVar('date-editor-width');
42
- height: var(#{getCssVarName('input-height')}, getCssVar('component-size'));
43
- }
23
+ @include set-component-css-var('date-editor', $date-editor);
24
+ @include set-component-css-var('input', $input);
44
25
 
45
26
  @include m((monthrange)) {
46
27
  @include css-var-from-global(
@@ -70,6 +51,25 @@
70
51
  }
71
52
  }
72
53
 
54
+ &.#{$namespace}-input__wrapper {
55
+ @include inset-input-border(
56
+ var(
57
+ #{getCssVarName('input-border-color')},
58
+ map.get($input, 'border-color')
59
+ )
60
+ );
61
+
62
+ &:hover {
63
+ @include inset-input-border(#{getCssVar('input', 'hover-border-color')});
64
+ }
65
+ }
66
+
67
+ &.#{$namespace}-input,
68
+ &.#{$namespace}-input__wrapper {
69
+ width: getCssVar('date-editor-width');
70
+ height: var(#{getCssVarName('input-height')}, getCssVar('component-size'));
71
+ }
72
+
73
73
  .close-icon {
74
74
  cursor: pointer;
75
75
  }
@@ -147,19 +147,6 @@
147
147
  }
148
148
 
149
149
  @include b(range-editor) {
150
- &.#{$namespace}-input__wrapper {
151
- display: inline-flex;
152
- align-items: center;
153
- padding: 0 10px;
154
- }
155
-
156
- @include when(active) {
157
- @include inset-input-border(#{getCssVar('input', 'focus-border-color')});
158
- &:hover {
159
- @include inset-input-border(#{getCssVar('input', 'focus-border-color')});
160
- }
161
- }
162
-
163
150
  @each $size in (large, small) {
164
151
  @include m($size) {
165
152
  line-height: getCssVar('component-size', $size);
@@ -181,6 +168,14 @@
181
168
  }
182
169
  }
183
170
 
171
+ @include when(active) {
172
+ @include inset-input-border(#{getCssVar('input', 'focus-border-color')});
173
+
174
+ &:hover {
175
+ @include inset-input-border(#{getCssVar('input', 'focus-border-color')});
176
+ }
177
+ }
178
+
184
179
  @include when(disabled) {
185
180
  background-color: map.get($input-disabled, 'fill');
186
181
  border-color: map.get($input-disabled, 'border');
@@ -196,6 +191,7 @@
196
191
  background-color: map.get($input-disabled, 'fill');
197
192
  color: map.get($input-disabled, 'text-color');
198
193
  cursor: not-allowed;
194
+
199
195
  &::placeholder {
200
196
  color: map.get($input-disabled, 'placeholder-color');
201
197
  }
@@ -205,4 +201,9 @@
205
201
  color: map.get($input-disabled, 'text-color');
206
202
  }
207
203
  }
204
+ &.#{$namespace}-input__wrapper {
205
+ display: inline-flex;
206
+ align-items: center;
207
+ padding: 0 10px;
208
+ }
208
209
  }
@@ -52,6 +52,7 @@
52
52
 
53
53
  &:focus-visible {
54
54
  outline: none;
55
+
55
56
  .cell {
56
57
  outline: 2px solid getCssVar('datepicker-active-color');
57
58
  }
@@ -69,13 +69,14 @@ $name: date-time-select;
69
69
  font-size: 13px;
70
70
  line-height: 1;
71
71
  position: relative;
72
- &:hover {
72
+
73
+ @include when(active) {
73
74
  color: getCssVar('primary-color');
74
- background-color: getCssVar('primary-color-light-9');
75
75
  }
76
76
 
77
- @include when(active) {
77
+ &:hover {
78
78
  color: getCssVar('primary-color');
79
+ background-color: getCssVar('primary-color-light-9');
79
80
  }
80
81
  }
81
82
  }
@@ -95,6 +96,9 @@ $name: date-time-select;
95
96
  }
96
97
  }
97
98
 
99
+ @include icon-arrow-down;
100
+ @include icon-circle-close;
101
+
98
102
  .vft-scrollbar {
99
103
  overflow: visible;
100
104
  }
@@ -103,9 +107,6 @@ $name: date-time-select;
103
107
  @include icon-common($icon-check);
104
108
  }
105
109
 
106
- @include icon-arrow-down;
107
- @include icon-circle-close;
108
-
109
110
  //.#{$namespace}-popper {
110
111
  // padding-left: 16px;
111
112
  // padding-top: 16px;