@webitel/ui-sdk 0.9.32 → 0.9.33

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.32",
3
+ "version": "0.9.33",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve-lib": "vue-cli-service serve",
@@ -40,6 +40,7 @@ export default {
40
40
  .wt-context-menu {
41
41
  @extend %typo-body-sm;
42
42
  min-width: var(--context-menu-min-width);
43
+ max-width: var(--context-menu-max-width);
43
44
  background-color: var(--context-menu-background-color);
44
45
  border-radius: var(--border-radius);
45
46
  box-shadow: var(--box-shadow);
@@ -22,7 +22,6 @@
22
22
  :class="{'wt-button-select__select-arrow--active': isOpened}"
23
23
  v-bind="$attrs"
24
24
  icon="arrow-down"
25
- size="sm"
26
25
  ></wt-icon>
27
26
  </wt-button>
28
27
 
@@ -60,7 +59,7 @@ export default {
60
59
 
61
60
  .wt-context-menu {
62
61
  position: absolute;
63
- top: 100%;
62
+ top: calc(100% + 1px);
64
63
  left: 0;
65
64
  }
66
65
  }
@@ -1,8 +1,10 @@
1
1
  .wt-context-menu {
2
+ --context-menu-min-width : 160px;
3
+ --context-menu-max-width : 300px;
4
+
2
5
  --context-menu-option-color--hover: var(--secondary-color);
3
6
 
4
7
  --context-menu-background-color: var(--main-color);
5
8
 
6
9
  --context-menu-option-padding: var(--spacing--sm);
7
- --context-menu-min-width : 150px;
8
10
  }
@@ -4,7 +4,7 @@
4
4
  Reduce 1px from "spacing--md" for align a difference between arrow size in "wt-button-select__select"
5
5
  and line-height of text in "wt-button-select__button"
6
6
  */
7
- --button-select-icon-button-padding: calc(var(--spacing--md) - 1px);
7
+ --button-select-icon-button-padding: calc(var(--spacing--sm) - 1px);
8
8
 
9
9
  --button-select-buttons-gap: 1px;
10
10