@webitel/ui-sdk 25.4.77 → 25.4.78

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": "25.4.77",
3
+ "version": "25.4.78",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -52,7 +52,23 @@
52
52
  v-if="!isOpened"
53
53
  #limit
54
54
  >
55
- <wt-chip class="multiselect__limit"> +{{ value.length - 1 }} </wt-chip>
55
+ <wt-tooltip
56
+ :triggers="['click']"
57
+ class="multiselect__limit"
58
+ >
59
+ <template #activator>
60
+ <wt-chip> +{{ value.length - 1 }}</wt-chip>
61
+ </template>
62
+
63
+ <div>
64
+ <p
65
+ v-for="(option, idx) of value.slice(1)"
66
+ :key="idx"
67
+ >
68
+ {{ getOptionLabel({ option, optionLabel }) }}
69
+ </p>
70
+ </div>
71
+ </wt-tooltip>
56
72
  </template>
57
73
 
58
74
  <!-- Slot that is used for all selected options (tags)-->
@@ -299,6 +315,17 @@ export default {
299
315
  min-width: 0;
300
316
  }
301
317
 
318
+ /*
319
+ * @author: Oleksandr Palonnyi
320
+ *
321
+ * [WTEL-6814](https://webitel.atlassian.net/browse/WTEL-6814)
322
+ *
323
+ * added pointer-events: auto; to have access to multiselect__limit when select is disabled.
324
+ */
325
+ .multiselect__limit {
326
+ pointer-events: auto;
327
+ }
328
+
302
329
  :deep(.multiselect) {
303
330
  .multiselect__custom-tag,
304
331
  .multiselect__single-label {
@@ -326,11 +353,11 @@ export default {
326
353
  :deep(.multiselect) {
327
354
  .multiselect__tags {
328
355
  padding: var(--input-padding)
329
- calc(
330
- var(--input-padding) + var(--icon-md-size) +
331
- var(--select-caret-right-pos)
332
- )
333
- var(--input-padding) var(--input-padding);
356
+ calc(
357
+ var(--input-padding) + var(--icon-md-size) +
358
+ var(--select-caret-right-pos)
359
+ )
360
+ var(--input-padding) var(--input-padding);
334
361
  }
335
362
  }
336
363
  }
@@ -390,8 +417,8 @@ export default {
390
417
 
391
418
  $multiselect-limit-right-pos: calc(
392
419
  $multiselect-clear-right-pos + /* clear offet from border */
393
- var(--icon-md-size) /* clear size */ + var(--input-padding)
394
- /* cleat-to-chip offset */
420
+ var(--icon-md-size) /* clear size */ + var(--input-padding)
421
+ /* cleat-to-chip offset */
395
422
  );
396
423
 
397
424
  .multiselect__tags {