@webitel/ui-sdk 24.8.8 → 24.8.11

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": "24.8.8",
3
+ "version": "24.8.11",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -30,6 +30,7 @@ const fieldsToSend = [
30
30
  'device',
31
31
  'profile',
32
32
  'email',
33
+ 'contact',
33
34
  ];
34
35
 
35
36
  const getUsersList = async (params) => {
@@ -4,6 +4,7 @@
4
4
  colorClass,
5
5
  `wt-button--size-${size}`,
6
6
  {
7
+ 'wt-button--width-by-content': widthByContent,
7
8
  'wt-button--contains-icon': containsIcon,
8
9
  'wt-button--wide': wide,
9
10
  'wt-button--disabled': disabled,
@@ -65,6 +66,13 @@ export default {
65
66
  type: Boolean,
66
67
  default: false,
67
68
  },
69
+ /**
70
+ * Shrinks button to content width
71
+ */
72
+ widthByContent: {
73
+ type: Boolean,
74
+ default: false,
75
+ },
68
76
  /**
69
77
  * sets wt-button line-height to 0 to prevent height changing: [stack overflow](https://stackoverflow.com/a/11126701)
70
78
  */
@@ -143,6 +151,10 @@ export default {
143
151
  width: 100%;
144
152
  }
145
153
 
154
+ &--width-by-content{
155
+ min-width: 0;
156
+ }
157
+
146
158
  // https://stackoverflow.com/a/11126701
147
159
  &--contains-icon {
148
160
  line-height: 0;
@@ -86,6 +86,12 @@
86
86
  --secondary-light-color: var(--dp-16-surface-color);
87
87
  --secondary-on-color: var(--grey-darken-4);
88
88
 
89
+ // email colors
90
+ --email-color: var(--blue-darken-3);
91
+ --email-hover-color: var(--blue-darken-2);
92
+ --email-light-color: var(--blue-lighten-2);
93
+ --email-on-color: var(--black);
94
+
89
95
  // accent colors
90
96
  --accent-color: var(--purple-lighten-1);
91
97
  --sub-accent-color: var(--indigo-darken-3);
@@ -175,6 +181,12 @@
175
181
  // secondary colors
176
182
  --secondary-on-color: var(--grey-lighten-4);
177
183
 
184
+ // email colors
185
+ --email-color: var(--blue-darken-3);
186
+ --email-hover-color: var(--blue-darken-2);
187
+ --email-light-color: var(--blue-lighten-1);
188
+ --email-on-color: var(--white);
189
+
178
190
  // accent colors
179
191
  --accent-color: var(--purple-lighten-1);
180
192
  --sub-accent-color: var(--indigo-darken-3);
@@ -1,5 +1,6 @@
1
1
  const CrmSections = Object.freeze({
2
2
  CONTACTS: 'contacts',
3
+ CONFIGURATION: 'configuration'
3
4
  });
4
5
 
5
6
  export default CrmSections;
@@ -106,6 +106,7 @@ export default {
106
106
  phones: 'Phone | Phones',
107
107
  messaging: 'Messaging',
108
108
  emptyResultSearch: 'Your search yielded no results',
109
+ contact: 'Contact | Contacts',
109
110
  },
110
111
  // date-related texts
111
112
  date: {
@@ -105,6 +105,7 @@ export default {
105
105
  phones: 'Телефон | Телефоны',
106
106
  messaging: 'Сообщения',
107
107
  emptyResultSearch: 'Поиск не дал результатов',
108
+ contact: 'Контакт | Контакты',
108
109
  },
109
110
  // date-related texts
110
111
  date: {
@@ -105,6 +105,7 @@ export default {
105
105
  phones: 'Телефон | Телефони',
106
106
  messaging: 'Повідомлення',
107
107
  emptyResultSearch: 'Пошук не дав результатів',
108
+ contact: 'Контакт | Контакти',
108
109
  },
109
110
  // date-related texts
110
111
  date: {