vft 0.0.146 → 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 (141) 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/button/use-button.js +3 -3
  5. package/es/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +1 -1
  6. package/es/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +1 -1
  7. package/es/components/date-picker/panel-utils.d.ts +8 -8
  8. package/es/components/index.js +113 -113
  9. package/es/components/multiple-tabs/tab-content.vue.d.ts +1 -2
  10. package/es/components/table/index.d.ts +3 -0
  11. package/es/components/table/table.vue.d.ts +2 -0
  12. package/es/components/table/table.vue2.js +143 -145
  13. package/es/components/table/use/use-table.js +4 -1
  14. package/es/components/verify-code/index.d.ts +5 -1
  15. package/es/components/verify-code/verify-code.vue.d.ts +5 -1
  16. package/es/index.js +113 -113
  17. package/es/package.json.d.ts +11 -11
  18. package/es/package.json.js +1 -1
  19. package/lib/app-components/form/form-label-wrap.d.ts +2 -2
  20. package/lib/components/button/use-button.cjs +1 -1
  21. package/lib/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +1 -1
  22. package/lib/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +1 -1
  23. package/lib/components/date-picker/panel-utils.d.ts +8 -8
  24. package/lib/components/index.cjs +1 -1
  25. package/lib/components/multiple-tabs/tab-content.vue.d.ts +1 -2
  26. package/lib/components/table/index.d.ts +3 -0
  27. package/lib/components/table/table.vue.d.ts +2 -0
  28. package/lib/components/table/table.vue2.cjs +1 -1
  29. package/lib/components/table/use/use-table.cjs +1 -1
  30. package/lib/components/verify-code/index.d.ts +5 -1
  31. package/lib/components/verify-code/verify-code.vue.d.ts +5 -1
  32. package/lib/index.cjs +1 -1
  33. package/lib/package.json.cjs +1 -1
  34. package/lib/package.json.d.ts +11 -11
  35. package/package.json +15 -15
  36. package/tags.json +1 -1
  37. package/theme-style/index.css +1 -1
  38. package/theme-style/src/autocomplete.scss +20 -20
  39. package/theme-style/src/badge.scss +8 -11
  40. package/theme-style/src/breadcrumb.scss +2 -0
  41. package/theme-style/src/button-group.scss +29 -22
  42. package/theme-style/src/calendar.scss +13 -12
  43. package/theme-style/src/carousel-item.scss +2 -0
  44. package/theme-style/src/carousel.scss +7 -7
  45. package/theme-style/src/cascader-panel.scss +28 -28
  46. package/theme-style/src/cascader.scss +63 -63
  47. package/theme-style/src/check-tag.scss +5 -5
  48. package/theme-style/src/checkbox-button.scss +13 -14
  49. package/theme-style/src/checkbox.scss +38 -37
  50. package/theme-style/src/clamp-toggle.scss +1 -0
  51. package/theme-style/src/col.scss +2 -5
  52. package/theme-style/src/collapse.scss +10 -5
  53. package/theme-style/src/color/index.scss +0 -1
  54. package/theme-style/src/common/popup.scss +2 -0
  55. package/theme-style/src/dark/css-vars.scss +0 -1
  56. package/theme-style/src/dark/var.scss +1 -1
  57. package/theme-style/src/date-picker/date-range-picker.scss +22 -22
  58. package/theme-style/src/date-picker/date-table.scss +5 -0
  59. package/theme-style/src/date-picker/month-table.scss +7 -0
  60. package/theme-style/src/date-picker/picker-panel.scss +15 -14
  61. package/theme-style/src/date-picker/picker.scss +35 -34
  62. package/theme-style/src/date-picker/year-table.scss +1 -0
  63. package/theme-style/src/date-time-select.scss +7 -6
  64. package/theme-style/src/drawer.scss +15 -13
  65. package/theme-style/src/dropdown.scss +45 -49
  66. package/theme-style/src/footer-layout.scss +4 -4
  67. package/theme-style/src/footer.scss +2 -2
  68. package/theme-style/src/header.scss +2 -2
  69. package/theme-style/src/image.scss +5 -0
  70. package/theme-style/src/md/figure.scss +0 -4
  71. package/theme-style/src/md-vue-playground.scss +2 -2
  72. package/theme-style/src/message-box.scss +28 -29
  73. package/theme-style/src/mixins/_button.scss +1 -1
  74. package/theme-style/src/mixins/_col.scss +8 -7
  75. package/theme-style/src/notification.scss +19 -18
  76. package/theme-style/src/option-group.scss +0 -1
  77. package/theme-style/src/option-item.scss +0 -1
  78. package/theme-style/src/option.scss +0 -1
  79. package/theme-style/src/overlay.scss +3 -3
  80. package/theme-style/src/page-wrapper.scss +1 -1
  81. package/theme-style/src/popover.scss +2 -1
  82. package/theme-style/src/popper.scss +44 -42
  83. package/theme-style/src/radio-button.scss +22 -23
  84. package/theme-style/src/radio.scss +43 -42
  85. package/theme-style/src/rate.scss +36 -38
  86. package/theme-style/src/result.scss +8 -7
  87. package/theme-style/src/row.scss +6 -0
  88. package/theme-style/src/scrollbar.scss +1 -1
  89. package/theme-style/src/search.scss +4 -4
  90. package/theme-style/src/select/common.scss +1 -0
  91. package/theme-style/src/select-dropdown-v2.scss +5 -5
  92. package/theme-style/src/select-dropdown.scss +0 -1
  93. package/theme-style/src/skeleton.scss +4 -2
  94. package/theme-style/src/slider.scss +16 -15
  95. package/theme-style/src/spinner.scss +3 -0
  96. package/theme-style/src/step.scss +5 -5
  97. package/theme-style/src/tag.scss +77 -76
  98. package/theme-style/src/timeline-item.scss +15 -12
  99. package/theme-style/src/transfer.scss +6 -2
  100. package/theme-style/src/var.scss +0 -1
  101. package/theme-style/src/virtual-list.scss +7 -2
  102. package/theme-style/vft-autocomplete.css +1 -1
  103. package/theme-style/vft-badge.css +1 -1
  104. package/theme-style/vft-button-group.css +1 -1
  105. package/theme-style/vft-calendar.css +1 -1
  106. package/theme-style/vft-carousel.css +1 -1
  107. package/theme-style/vft-cascader-panel.css +1 -1
  108. package/theme-style/vft-cascader.css +1 -1
  109. package/theme-style/vft-check-tag.css +1 -1
  110. package/theme-style/vft-checkbox-button.css +1 -1
  111. package/theme-style/vft-checkbox.css +1 -1
  112. package/theme-style/vft-col.css +1 -1
  113. package/theme-style/vft-collapse.css +1 -1
  114. package/theme-style/vft-date-picker.css +1 -1
  115. package/theme-style/vft-date-time-select.css +1 -1
  116. package/theme-style/vft-drawer.css +1 -1
  117. package/theme-style/vft-dropdown.css +1 -1
  118. package/theme-style/vft-footer-layout.css +1 -1
  119. package/theme-style/vft-footer.css +1 -1
  120. package/theme-style/vft-header.css +1 -1
  121. package/theme-style/vft-md-vue-playground.css +1 -1
  122. package/theme-style/vft-message-box.css +1 -1
  123. package/theme-style/vft-notification.css +1 -1
  124. package/theme-style/vft-page-wrapper.css +1 -1
  125. package/theme-style/vft-popover.css +1 -1
  126. package/theme-style/vft-popper.css +1 -1
  127. package/theme-style/vft-radio-button.css +1 -1
  128. package/theme-style/vft-radio.css +1 -1
  129. package/theme-style/vft-rate.css +1 -1
  130. package/theme-style/vft-result.css +1 -1
  131. package/theme-style/vft-search.css +1 -1
  132. package/theme-style/vft-select-dropdown-v2.css +1 -1
  133. package/theme-style/vft-select.css +1 -1
  134. package/theme-style/vft-slider.css +1 -1
  135. package/theme-style/vft-step.css +1 -1
  136. package/theme-style/vft-tag.css +1 -1
  137. package/theme-style/vft-time-picker.css +1 -1
  138. package/theme-style/vft-time-select.css +1 -1
  139. package/theme-style/vft-timeline-item.css +1 -1
  140. package/theme-style/vft-transfer.css +1 -1
  141. package/web-types.json +1 -1
@@ -1,5 +1,4 @@
1
1
  @use 'sass:map';
2
-
3
2
  @use 'mixins/mixins' as *;
4
3
  @use 'common/var' as *;
5
4
 
@@ -31,6 +30,26 @@
31
30
  padding: 0;
32
31
  }
33
32
 
33
+ @include when(loading) {
34
+ li {
35
+ text-align: center;
36
+ height: 100px;
37
+ line-height: 100px;
38
+ font-size: 20px;
39
+ color: getCssVar('text-secondary-color');
40
+
41
+ @include utils-vertical-center;
42
+
43
+ &:hover {
44
+ background-color: getCssVar('bg-color', 'overlay');
45
+ }
46
+ }
47
+
48
+ & .#{$namespace}-icon-loading {
49
+ vertical-align: middle;
50
+ }
51
+ }
52
+
34
53
  & li {
35
54
  padding: 0 20px;
36
55
  margin: 0;
@@ -61,23 +80,4 @@
61
80
  margin-bottom: -6px;
62
81
  }
63
82
  }
64
-
65
- @include when(loading) {
66
- li {
67
- text-align: center;
68
- height: 100px;
69
- line-height: 100px;
70
- font-size: 20px;
71
- color: getCssVar('text-secondary-color');
72
- @include utils-vertical-center;
73
-
74
- &:hover {
75
- background-color: getCssVar('bg-color', 'overlay');
76
- }
77
- }
78
-
79
- & .#{$namespace}-icon-loading {
80
- vertical-align: middle;
81
- }
82
- }
83
83
  }
@@ -1,27 +1,30 @@
1
1
  @use 'sass:math';
2
2
  @use 'sass:map';
3
-
4
3
  @use 'mixins/mixins' as *;
5
4
  @use 'mixins/var' as *;
6
5
  @use 'common/var' as *;
7
6
 
8
7
  @include b(badge) {
9
- @include set-component-css-var('badge', $badge);
10
-
11
8
  position: relative;
12
9
  vertical-align: middle;
13
10
  display: inline-block;
14
11
  width: fit-content;
15
12
 
13
+ @include set-component-css-var('badge', $badge);
14
+
16
15
  @include e(content) {
16
+ @each $type in (primary, success, warning, info, danger) {
17
+ @include m($type) {
18
+ background-color: getCssVar('color', $type);
19
+ }
20
+ }
21
+
17
22
  background-color: getCssVar('badge', 'bg-color');
18
23
  border-radius: getCssVar('badge', 'radius');
19
24
  color: getCssVar('color', 'white');
20
-
21
25
  display: inline-flex;
22
26
  justify-content: center;
23
27
  align-items: center;
24
-
25
28
  font-size: getCssVar('badge', 'font-size');
26
29
  height: getCssVar('badge', 'size');
27
30
  padding: 0 getCssVar('badge', 'padding');
@@ -47,11 +50,5 @@
47
50
  right: 0;
48
51
  border-radius: 50%;
49
52
  }
50
-
51
- @each $type in (primary, success, warning, info, danger) {
52
- @include m($type) {
53
- background-color: getCssVar('color', $type);
54
- }
55
- }
56
53
  }
57
54
  }
@@ -4,6 +4,7 @@
4
4
  @include b(breadcrumb) {
5
5
  font-size: 14px;
6
6
  line-height: 1;
7
+
7
8
  @include utils-clearfix;
8
9
 
9
10
  @include e(separator) {
@@ -14,6 +15,7 @@
14
15
  &.#{$namespace}-icon {
15
16
  margin: 0 6px;
16
17
  font-weight: normal;
18
+
17
19
  svg {
18
20
  vertical-align: middle;
19
21
  }
@@ -1,27 +1,51 @@
1
1
  @use 'sass:map';
2
-
3
2
  @use 'common/var' as *;
4
3
  @use 'mixins/mixins' as *;
5
4
 
6
5
  @include b(button-group) {
7
- @include utils-clearfix;
6
+ @each $type in (primary, success, warning, danger, info) {
7
+ .#{$namespace}-button--#{$type} {
8
+ &:first-child {
9
+ border-right-color: getCssVar('button', 'divide-border-color');
10
+ }
11
+
12
+ &:last-child {
13
+ border-left-color: getCssVar('button', 'divide-border-color');
14
+ }
15
+
16
+ &:not(:first-child, :last-child) {
17
+ border-left-color: getCssVar('button', 'divide-border-color');
18
+ border-right-color: getCssVar('button', 'divide-border-color');
19
+ }
20
+ }
21
+ }
22
+
8
23
  display: inline-block;
9
24
  vertical-align: middle;
10
25
 
26
+ @include utils-clearfix;
27
+
11
28
  & > .#{$namespace}-button {
12
29
  float: left;
13
30
  position: relative;
31
+
32
+ @include when(active) {
33
+ z-index: 1;
34
+ }
14
35
  & + .#{$namespace}-button {
15
36
  margin-left: 0;
16
37
  }
38
+
17
39
  &:first-child {
18
40
  border-top-right-radius: 0;
19
41
  border-bottom-right-radius: 0;
20
42
  }
43
+
21
44
  &:last-child {
22
45
  border-top-left-radius: 0;
23
46
  border-bottom-left-radius: 0;
24
47
  }
48
+
25
49
  &:first-child:last-child {
26
50
  border-top-right-radius: map.get($button-border-radius, 'default');
27
51
  border-bottom-right-radius: map.get($button-border-radius, 'default');
@@ -36,9 +60,11 @@
36
60
  border-radius: 50%;
37
61
  }
38
62
  }
39
- &:not(:first-child):not(:last-child) {
63
+
64
+ &:not(:first-child, :last-child) {
40
65
  border-radius: 0;
41
66
  }
67
+
42
68
  &:not(:last-child) {
43
69
  margin-right: -1px;
44
70
  }
@@ -48,10 +74,6 @@
48
74
  &:active {
49
75
  z-index: 1;
50
76
  }
51
-
52
- @include when(active) {
53
- z-index: 1;
54
- }
55
77
  }
56
78
 
57
79
  & > .#{$namespace}-dropdown {
@@ -61,19 +83,4 @@
61
83
  border-left-color: getCssVar('button', 'divide-border-color');
62
84
  }
63
85
  }
64
-
65
- @each $type in (primary, success, warning, danger, info) {
66
- .#{$namespace}-button--#{$type} {
67
- &:first-child {
68
- border-right-color: getCssVar('button', 'divide-border-color');
69
- }
70
- &:last-child {
71
- border-left-color: getCssVar('button', 'divide-border-color');
72
- }
73
- &:not(:first-child):not(:last-child) {
74
- border-left-color: getCssVar('button', 'divide-border-color');
75
- border-right-color: getCssVar('button', 'divide-border-color');
76
- }
77
- }
78
- }
79
86
  }
@@ -3,10 +3,10 @@
3
3
  @use 'common/var' as *;
4
4
 
5
5
  @include b(calendar) {
6
- @include set-component-css-var('calendar', $calendar);
7
-
8
6
  background-color: getCssVar('fill-color', 'blank');
9
7
 
8
+ @include set-component-css-var('calendar', $calendar);
9
+
10
10
  @include e(header) {
11
11
  display: flex;
12
12
  justify-content: space-between;
@@ -28,6 +28,17 @@
28
28
  table-layout: fixed;
29
29
  width: 100%;
30
30
 
31
+ @include b(calendar-day) {
32
+ box-sizing: border-box;
33
+ padding: 8px;
34
+ height: getCssVar('calendar', 'cell-width');
35
+
36
+ &:hover {
37
+ cursor: pointer;
38
+ background-color: getCssVar('calendar', 'selected-bg-color');
39
+ }
40
+ }
41
+
31
42
  thead th {
32
43
  padding: 12px 0;
33
44
  color: getCssVar('text-regular-color');
@@ -67,14 +78,4 @@
67
78
  tr.#{$namespace}-calendar-table__row--hide-border td {
68
79
  border-top: none;
69
80
  }
70
-
71
- @include b(calendar-day) {
72
- box-sizing: border-box;
73
- padding: 8px;
74
- height: getCssVar('calendar', 'cell-width');
75
- &:hover {
76
- cursor: pointer;
77
- background-color: getCssVar('calendar', 'selected-bg-color');
78
- }
79
- }
80
81
  }
@@ -23,6 +23,7 @@
23
23
  @include m(card) {
24
24
  width: 50%;
25
25
  transition: transform 0.4s ease-in-out;
26
+
26
27
  &.is-in-stage {
27
28
  cursor: pointer;
28
29
  z-index: getCssVar('z-index', 'normal');
@@ -31,6 +32,7 @@
31
32
  opacity: 0.12;
32
33
  }
33
34
  }
35
+
34
36
  &.is-active {
35
37
  z-index: calc(getCssVar('z-index', 'normal') + 1);
36
38
  }
@@ -1,14 +1,13 @@
1
1
  @use 'sass:math';
2
-
3
2
  @use 'mixins/mixins' as *;
4
3
  @use 'mixins/var' as *;
5
4
  @use 'common/var' as *;
6
5
 
7
6
  @include b(carousel) {
8
- @include set-component-css-var('carousel', $carousel);
9
-
10
7
  position: relative;
11
8
 
9
+ @include set-component-css-var('carousel', $carousel);
10
+
12
11
  @include m(horizontal) {
13
12
  overflow-x: hidden;
14
13
  }
@@ -90,6 +89,7 @@
90
89
  .#{$namespace}-carousel__indicator:hover button {
91
90
  opacity: 0.64;
92
91
  }
92
+
93
93
  button {
94
94
  background-color: getCssVar('carousel', 'indicator-out-color');
95
95
  opacity: 0.24;
@@ -120,10 +120,6 @@
120
120
  background-color: transparent;
121
121
  cursor: pointer;
122
122
 
123
- &:hover button {
124
- opacity: 0.72;
125
- }
126
-
127
123
  @include m(horizontal) {
128
124
  display: inline-block;
129
125
  padding: getCssVar('carousel-indicator-padding-vertical')
@@ -144,6 +140,10 @@
144
140
  opacity: 1;
145
141
  }
146
142
  }
143
+
144
+ &:hover button {
145
+ opacity: 0.72;
146
+ }
147
147
  }
148
148
 
149
149
  @include e(button) {
@@ -23,14 +23,6 @@
23
23
  color: getCssVar('cascader-menu', 'text-color');
24
24
  border-right: getCssVar('cascader-menu', 'border');
25
25
 
26
- &:last-child {
27
- border-right: none;
28
-
29
- .#{$namespace}-cascader-node {
30
- padding-right: 20px;
31
- }
32
- }
33
-
34
26
  @include e(wrap) {
35
27
  // Raise the priority
36
28
  &.#{$namespace}-scrollbar__wrap {
@@ -69,6 +61,14 @@
69
61
  margin-right: 2px;
70
62
  }
71
63
  }
64
+
65
+ &:last-child {
66
+ border-right: none;
67
+
68
+ .#{$namespace}-cascader-node {
69
+ padding-right: 20px;
70
+ }
71
+ }
72
72
  }
73
73
 
74
74
  @include b(cascader-node) {
@@ -80,26 +80,6 @@
80
80
  line-height: 34px;
81
81
  outline: none;
82
82
 
83
- &.is-selectable.in-active-path {
84
- color: getCssVar('cascader-menu', 'text-color');
85
- }
86
-
87
- &.in-active-path,
88
- &.is-selectable.in-checked-path,
89
- &.is-active {
90
- color: getCssVar('cascader-menu', 'selected-text-color');
91
- font-weight: bold;
92
- }
93
-
94
- &:not(.is-disabled) {
95
- cursor: pointer;
96
-
97
- &:hover,
98
- &:focus {
99
- background: getCssVar('cascader-node', 'background-hover');
100
- }
101
- }
102
-
103
83
  @include when(disabled) {
104
84
  color: getCssVar('cascader-node', 'color-disabled');
105
85
  cursor: not-allowed;
@@ -124,6 +104,26 @@
124
104
  text-overflow: ellipsis;
125
105
  }
126
106
 
107
+ &.is-selectable.in-active-path {
108
+ color: getCssVar('cascader-menu', 'text-color');
109
+ }
110
+
111
+ &.in-active-path,
112
+ &.is-selectable.in-checked-path,
113
+ &.is-active {
114
+ color: getCssVar('cascader-menu', 'selected-text-color');
115
+ font-weight: bold;
116
+ }
117
+
118
+ &:not(.is-disabled) {
119
+ cursor: pointer;
120
+
121
+ &:hover,
122
+ &:focus {
123
+ background: getCssVar('cascader-node', 'background-hover');
124
+ }
125
+ }
126
+
127
127
  > .#{$namespace}-checkbox {
128
128
  margin-right: 0;
129
129
  }
@@ -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 *;
@@ -36,7 +35,12 @@
36
35
  }
37
36
 
38
37
  @include b(cascader) {
39
- @include set-component-css-var('cascader', $cascader);
38
+ @each $size in (large, small) {
39
+ @include m($size) {
40
+ font-size: map.get($input-font-size, $size);
41
+ line-height: map.get($input-height, $size);
42
+ }
43
+ }
40
44
 
41
45
  display: inline-block;
42
46
  vertical-align: middle;
@@ -45,66 +49,7 @@
45
49
  line-height: map.get($input-height, 'default');
46
50
  outline: none;
47
51
 
48
- &:not(.is-disabled):hover {
49
- .#{$namespace}-input__wrapper {
50
- cursor: pointer;
51
- box-shadow: 0 0 0 1px getCssVar('input', 'hover-border-color') inset;
52
- }
53
- }
54
-
55
- .#{$namespace}-input {
56
- display: flex;
57
- cursor: pointer;
58
-
59
- .#{$namespace}-input__inner {
60
- text-overflow: ellipsis;
61
- cursor: pointer;
62
- }
63
-
64
- .#{$namespace}-input__suffix-inner {
65
- .#{$namespace}-icon {
66
- height: calc(100% - 2px);
67
-
68
- svg {
69
- vertical-align: middle;
70
- }
71
- }
72
- }
73
-
74
- .icon-arrow-down {
75
- transition: transform getCssVar('transition-duration');
76
- font-size: 14px;
77
-
78
- @include when(reverse) {
79
- transform: rotateZ(180deg);
80
- }
81
- }
82
-
83
- .icon-circle-close:hover {
84
- color: var(
85
- #{getCssVarName('input', 'clear-hover-color')},
86
- map.get($input, 'clear-hover-color')
87
- );
88
- }
89
-
90
- @include when(focus) {
91
- .#{$namespace}-input__wrapper {
92
- box-shadow: 0 0 0 1px
93
- var(
94
- #{getCssVarName('input', 'focus-border-color')},
95
- map.get($input, 'focus-border-color')
96
- )
97
- inset;
98
- }
99
- }
100
- }
101
-
102
- @each $size in (large, small) {
103
- @include m($size) {
104
- font-size: map.get($input-font-size, $size);
105
- line-height: map.get($input-height, $size);
106
- }
107
- }
52
+ @include set-component-css-var('cascader', $cascader);
108
53
 
109
54
  @include when(disabled) {
110
55
  .#{$namespace}-cascader__label {
@@ -143,12 +88,14 @@
143
88
  line-height: normal;
144
89
  text-align: left;
145
90
  box-sizing: border-box;
91
+
146
92
  @include cascader-tag-normal(getCssVar('cascader-tag-background'));
147
93
  }
148
94
 
149
95
  @include e(collapse-tags) {
150
96
  white-space: normal;
151
97
  z-index: getCssVar('z-index-normal');
98
+
152
99
  @include cascader-tag-normal(getCssVar('fill-color'));
153
100
  }
154
101
 
@@ -205,7 +152,6 @@
205
152
  border: none;
206
153
  outline: none;
207
154
  box-sizing: border-box;
208
-
209
155
  background: transparent;
210
156
 
211
157
  &::placeholder {
@@ -213,4 +159,58 @@
213
159
  color: transparent;
214
160
  }
215
161
  }
162
+
163
+ &:not(.is-disabled):hover {
164
+ .#{$namespace}-input__wrapper {
165
+ cursor: pointer;
166
+ box-shadow: 0 0 0 1px getCssVar('input', 'hover-border-color') inset;
167
+ }
168
+ }
169
+
170
+ .#{$namespace}-input {
171
+ display: flex;
172
+ cursor: pointer;
173
+
174
+ @include when(focus) {
175
+ .#{$namespace}-input__wrapper {
176
+ box-shadow: 0 0 0 1px
177
+ var(
178
+ #{getCssVarName('input', 'focus-border-color')},
179
+ map.get($input, 'focus-border-color')
180
+ )
181
+ inset;
182
+ }
183
+ }
184
+
185
+ .#{$namespace}-input__inner {
186
+ text-overflow: ellipsis;
187
+ cursor: pointer;
188
+ }
189
+
190
+ .#{$namespace}-input__suffix-inner {
191
+ .#{$namespace}-icon {
192
+ height: calc(100% - 2px);
193
+
194
+ svg {
195
+ vertical-align: middle;
196
+ }
197
+ }
198
+ }
199
+
200
+ .icon-arrow-down {
201
+ transition: transform getCssVar('transition-duration');
202
+ font-size: 14px;
203
+
204
+ @include when(reverse) {
205
+ transform: rotateZ(180deg);
206
+ }
207
+ }
208
+
209
+ .icon-circle-close:hover {
210
+ color: var(
211
+ #{getCssVarName('input', 'clear-hover-color')},
212
+ map.get($input, 'clear-hover-color')
213
+ );
214
+ }
215
+ }
216
216
  }
@@ -1,5 +1,4 @@
1
1
  @use 'sass:map';
2
-
3
2
  @use 'mixins/mixins' as *;
4
3
  @use 'common/var' as *;
5
4
 
@@ -15,15 +14,16 @@
15
14
  transition: getCssVar('transition', 'all');
16
15
  font-weight: bold;
17
16
 
18
- &:hover {
19
- background-color: getCssVar('color', 'info', 'light-7');
20
- }
21
-
22
17
  @include when(checked) {
23
18
  background-color: getCssVar('primary-color', 'light-8');
24
19
  color: getCssVar('primary-color');
20
+
25
21
  &:hover {
26
22
  background-color: getCssVar('primary-color', 'light-7');
27
23
  }
28
24
  }
25
+
26
+ &:hover {
27
+ background-color: getCssVar('color', 'info', 'light-7');
28
+ }
29
29
  }
@@ -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 *;
@@ -10,6 +9,19 @@
10
9
  }
11
10
 
12
11
  @include b(checkbox-button) {
12
+ @each $size in (large, small) {
13
+ @include m($size) {
14
+ .#{$namespace}-checkbox-button__inner {
15
+ @include button-size(
16
+ map.get($button-padding-vertical, $size) - $button-border-width,
17
+ map.get($button-padding-horizontal, $size) - $button-border-width,
18
+ map.get($button-font-size, $size),
19
+ 0
20
+ );
21
+ }
22
+ }
23
+ }
24
+
13
25
  position: relative;
14
26
  display: inline-block;
15
27
 
@@ -123,17 +135,4 @@
123
135
  border-bottom-right-radius: getCssVar('border-radius-base');
124
136
  }
125
137
  }
126
-
127
- @each $size in (large, small) {
128
- @include m($size) {
129
- .#{$namespace}-checkbox-button__inner {
130
- @include button-size(
131
- map.get($button-padding-vertical, $size) - $button-border-width,
132
- map.get($button-padding-horizontal, $size) - $button-border-width,
133
- map.get($button-font-size, $size),
134
- 0
135
- );
136
- }
137
- }
138
- }
139
138
  }