@webitel/ui-sdk 0.9.51 → 0.9.52

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "0.9.51",
3
+ "version": "0.9.52",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve-lib": "vue-cli-service serve",
@@ -92,6 +92,8 @@ export default {
92
92
  fill: var(--button-select-icon-color-dark);
93
93
  }
94
94
 
95
+ // For secondary color, the icon color and icon hover color are the same as in primary color mode
96
+
95
97
  &.danger,
96
98
  &.success,
97
99
  &.transfer {
@@ -152,18 +154,17 @@ export default {
152
154
  }
153
155
  }
154
156
  }
155
- }
156
-
157
- // SECONDARY MODE (is same for outline and normal modes)
158
- &.secondary::v-deep {
159
- .wt-icon__icon {
160
- fill: var(--button-select-icon-color-secondary);
161
- }
162
157
 
163
- &:hover,
164
- &:active {
158
+ &.secondary {
165
159
  .wt-icon__icon {
166
- fill: var(--button-select-icon-color-secondary--hover);
160
+ fill: var(--button-select-icon-color-secondary);
161
+ }
162
+
163
+ &:hover,
164
+ &:active {
165
+ .wt-icon__icon {
166
+ fill: var(--button-select-icon-color-secondary--hover);
167
+ }
167
168
  }
168
169
  }
169
170
  }