@webitel/ui-sdk 23.12.6 → 23.12.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "23.12.6",
3
+ "version": "23.12.7",
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', 'error', 'success', 'warning', 'on-dark', 'on-light', 'on-primary', 'info', 'chat', 'transfer'];
8
+ const colors = ['default', 'disabled', '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;"
@@ -18,6 +18,7 @@
18
18
  --icon-info-color: var(--info-color);
19
19
  --icon-chat-color: var(--chat-color);
20
20
  --icon-transfer-color: var(--transfer-color);
21
+ --icon-job-color: var(--job-color);
21
22
  --icon-disabled-color: var(--grey-lighten-4);
22
23
  }
23
24
 
@@ -33,4 +34,5 @@
33
34
  --icon-info-color: var(--info-color);
34
35
  --icon-chat-color: var(--chat-color);
35
36
  --icon-transfer-color: var(--transfer-color);
37
+ --icon-job-color: var(--job-color);
36
38
  }
@@ -35,7 +35,7 @@ const props = defineProps({
35
35
  default: 'md',
36
36
  },
37
37
  /**
38
- * @values 'default', 'disabled', 'error', 'success', 'warning', 'on-dark', 'on-light', 'on-primary', 'info', 'chat', 'transfer'
38
+ * @values 'default', 'disabled', 'error', 'success', 'warning', 'on-dark', 'on-light', 'on-primary', 'info', 'chat', 'transfer', 'job'
39
39
  */
40
40
  color: {
41
41
  type: String,
@@ -115,6 +115,9 @@ svg {
115
115
  &-transfer .wt-icon__icon {
116
116
  fill: var(--icon-transfer-color);
117
117
  }
118
+ &-job .wt-icon__icon {
119
+ fill: var(--icon-job-color);
120
+ }
118
121
  &-disabled .wt-icon__icon {
119
122
  fill: var(--icon-disabled-color);
120
123
  }