@webitel/ui-sdk 23.12.16 → 23.12.17

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": "23.12.16",
3
+ "version": "23.12.17",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "build": "vue-cli-service build --target lib --name ui-sdk ./src/install.js",
@@ -5,7 +5,7 @@
5
5
 
6
6
  Different color icons:
7
7
  ```vue
8
- const colors = ['default', 'disabled', 'primary', 'error', 'success', 'warning', 'on-dark', 'on-light', 'on-primary', 'info', 'chat', 'transfer', 'job'];
8
+ const colors = ['default', 'active', 'disabled', 'primary', 'error', 'success', 'warning', 'on-dark', 'on-light', 'on-primary', 'info', 'chat', 'transfer', 'job'];
9
9
 
10
10
  <div
11
11
  style="display: flex; align-items: center; gap: 5px;"
@@ -9,6 +9,7 @@
9
9
  --icon-xs-size: 8px;
10
10
 
11
11
  --icon-color: var(--grey-darken-2);
12
+ --icon-active-color: var(--grey-darken-4);
12
13
  --icon-primary-color: var(--primary-color);
13
14
  --icon-error-color: var(--error-color);
14
15
  --icon-success-color: var(--success-color);
@@ -25,5 +26,6 @@
25
26
 
26
27
  :root.theme--dark {
27
28
  --icon-color: var(--grey-lighten-2);
29
+ --icon-active-color: var(--grey-lighten-4);
28
30
  --icon-disabled-color: var(--grey-darken-2);
29
31
  }
@@ -35,7 +35,7 @@ const props = defineProps({
35
35
  default: 'md',
36
36
  },
37
37
  /**
38
- * @values 'default', 'disabled', 'primary', 'error', 'success', 'warning', 'on-dark', 'on-light', 'on-primary', 'info', 'chat', 'transfer', 'job'
38
+ * @values 'default', 'active', 'disabled', 'primary', 'error', 'success', 'warning', 'on-dark', 'on-light', 'on-primary', 'info', 'chat', 'transfer', 'job'
39
39
  */
40
40
  color: {
41
41
  type: String,
@@ -88,6 +88,9 @@ svg {
88
88
  &-default .wt-icon__icon {
89
89
  fill: var(--icon-color);
90
90
  }
91
+ &-active .wt-icon__icon {
92
+ fill: var(--icon-active-color);
93
+ }
91
94
  &-primary .wt-icon__icon {
92
95
  fill: var(--icon-primary-color);
93
96
  }