@webitel/ui-sdk 1.0.16 → 1.0.20

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": "1.0.16",
3
+ "version": "1.0.20",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve-lib": "vue-cli-service serve",
@@ -221,9 +221,9 @@ export default {
221
221
  // cant test this thing cause vue test utils doesnt render elements width :/
222
222
  const afterWrapperWidth = this.$refs['after-wrapper'].offsetWidth;
223
223
  const inputEl = this.$refs['wt-input'];
224
- const defaultInputPadding = parseInt(getComputedStyle(document.documentElement)
225
- .getPropertyValue('--input-padding'), 10);
226
- inputEl.style.paddingRight = `${defaultInputPadding + afterWrapperWidth + defaultInputPadding}px`;
224
+ const defaultInputPadding = getComputedStyle(document.documentElement)
225
+ .getPropertyValue('--input-padding');
226
+ inputEl.style.paddingRight = `calc(${defaultInputPadding} * 2 + ${afterWrapperWidth}px)`;
227
227
  },
228
228
  },
229
229
  mounted() {
@@ -28,7 +28,7 @@
28
28
  --btn-secondary--hover-color: hsla(var(--_secondary-color), var(--_opacity--hover));
29
29
 
30
30
  --btn-disabled-font-color: var(--secondary-color-50);
31
- --btn-disabled-color: hsla(var(--_secondary-color-hue), 15%, 80%, var(--_opacity--active));
31
+ --btn-disabled-color: hsla(var(--_secondary-color-hue), 15%, 75%, var(--_opacity--active));
32
32
 
33
33
  --btn-true-color: var(--true-color);
34
34
  --btn-true--hover-color: var(--true--hover-color);
@@ -1,7 +1,7 @@
1
1
 
2
2
  :root {
3
- --chip-padding: var(--spacing-3xs) var(--spacing-xs);
3
+ --chip-padding: var(--spacing-3xs) var(--spacing-sm);
4
4
  --chip-border-radius: var(--spacing-lg);
5
5
  --chip-bg-color: var(--accent-secondary-color);
6
6
  --chip-bg-color--outline: var(--secondary-color);
7
- }
7
+ }
@@ -1,3 +1,6 @@
1
+ /*
2
+ NOTE: text-transform: none; is set explicitly cause t-t is inherited from parent
3
+ */
1
4
 
2
5
  %typo-heading-1 {
3
6
  font: {
@@ -6,6 +9,7 @@
6
9
  weight: 600;
7
10
  }
8
11
  line-height: 48px;
12
+ text-transform: none;
9
13
  //letter-spacing: 0.28px; // 0.02em
10
14
  }
11
15
 
@@ -16,6 +20,7 @@
16
20
  weight: 600;
17
21
  }
18
22
  line-height: 40px;
23
+ text-transform: none;
19
24
  //letter-spacing: 0.28px; // 0.02em
20
25
  }
21
26
 
@@ -26,6 +31,7 @@
26
31
  weight: 600;
27
32
  }
28
33
  line-height: 32px;
34
+ text-transform: none;
29
35
  //letter-spacing: 0.28px; // 0.02em
30
36
  }
31
37
 
@@ -36,6 +42,7 @@
36
42
  weight: 500;
37
43
  }
38
44
  line-height: 24px;
45
+ text-transform: none;
39
46
  //letter-spacing: 0.28px; // 0.02em
40
47
  }
41
48
 
@@ -46,6 +53,7 @@
46
53
  weight: 500;
47
54
  }
48
55
  line-height: 20px;
56
+ text-transform: none;
49
57
  //letter-spacing: 0.28px; // 0.02em
50
58
  }
51
59
 
@@ -56,6 +64,7 @@
56
64
  weight: 400;
57
65
  }
58
66
  line-height: 24px;
67
+ text-transform: none;
59
68
  //letter-spacing: 0.56px; // 0.04em
60
69
  }
61
70
 
@@ -65,7 +74,8 @@
65
74
  size: 12px;
66
75
  weight: 400;
67
76
  }
68
- line-height: 20px;
77
+ line-height: 16px;
78
+ text-transform: none;
69
79
  //letter-spacing: 0.16px; // 0.01em
70
80
  }
71
81
 
@@ -87,6 +97,7 @@
87
97
  weight: 400;
88
98
  }
89
99
  line-height: 16px;
100
+ text-transform: none;
90
101
  //letter-spacing: 0.48px; // 0.03em
91
102
  }
92
103