@webitel/ui-sdk 1.0.4 → 1.0.8

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.4",
3
+ "version": "1.0.8",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve-lib": "vue-cli-service serve",
@@ -101,6 +101,10 @@
101
101
  .wt-checkbox {
102
102
  @include width-fit-content;
103
103
  box-sizing: border-box;
104
+
105
+ .wt-label {
106
+ cursor: pointer;
107
+ }
104
108
  }
105
109
 
106
110
  .wt-checkbox__wrapper {
@@ -108,7 +112,6 @@
108
112
  display: flex;
109
113
  align-items: center;
110
114
  user-select: none;
111
- cursor: pointer;
112
115
 
113
116
  .wt-checkbox__checkmark {
114
117
  line-height: 0; // prevent icon height >> content
@@ -118,6 +121,7 @@
118
121
  .wt-checkbox__label {
119
122
  margin-left: var(--checkbox-icon-margin);
120
123
  transition: var(--transition);
124
+ cursor: pointer;
121
125
  }
122
126
 
123
127
  /* Hide the browser's default checkbox */
@@ -306,6 +306,7 @@ export default {
306
306
  top: 50%;
307
307
  right: var(--input-icon-margin);
308
308
  transform: translateY(-50%);
309
+ pointer-events: auto; // override --disabled p-events none
309
310
 
310
311
  .wt-input__password-button {
311
312
  .wt-input--disabled & ::v-deep .wt-icon__icon {
@@ -1,9 +1,11 @@
1
1
  <template>
2
- <div class="wt-popup">
2
+ <div
3
+ class="wt-popup"
4
+ :class="{ 'wt-popup--overflow': overflow }"
5
+ >
3
6
  <div class="wt-popup__shadow"></div>
4
7
  <aside
5
8
  class="wt-popup__popup"
6
- :class="{'wt-popup__popup--overflow': overflow}"
7
9
  :style="popupStyle"
8
10
  >
9
11
  <header class="wt-popup__header">
@@ -82,10 +84,6 @@ export default {
82
84
  border-radius: var(--border-radius);
83
85
  box-shadow: var(--elevation-10);
84
86
  z-index: 1;
85
-
86
- &--overflow {
87
- overflow: visible;
88
- }
89
87
  }
90
88
 
91
89
  .wt-popup__header {
@@ -125,4 +123,15 @@ export default {
125
123
  gap: var(--popup-actions-padding);
126
124
  padding: var(--popup-actions-padding);
127
125
  }
126
+
127
+ .wt-popup--overflow {
128
+ .wt-popup__popup {
129
+ overflow: visible;
130
+ }
131
+
132
+ .wt-popup__main {
133
+ overflow: visible;
134
+ padding-right: 0;
135
+ }
136
+ }
128
137
  </style>
@@ -81,6 +81,10 @@
81
81
  .wt-radio {
82
82
  @include width-fit-content;
83
83
  box-sizing: border-box;
84
+
85
+ .wt-label {
86
+ cursor: pointer;
87
+ }
84
88
  }
85
89
 
86
90
  .wt-radio__wrapper {
@@ -70,6 +70,10 @@
70
70
  @include width-fit-content;
71
71
  position: relative;
72
72
  box-sizing: border-box;
73
+
74
+ .wt-label {
75
+ cursor: pointer;
76
+ }
73
77
  }
74
78
 
75
79
  .wt-switcher__wrapper {
@@ -203,7 +203,7 @@ export default {
203
203
  transition: var(--transition);
204
204
  border-radius: var(--border-radius);
205
205
  background: var(--wt-app-header-content-bg-color);
206
- box-shadow: var(--elevation-1);
206
+ box-shadow: var(--elevation-10);
207
207
  }
208
208
 
209
209
  .wt-app-navigator__nav-title {
@@ -26,7 +26,7 @@
26
26
  target="_blank"
27
27
  @click="close"
28
28
  >
29
- <wt-icon icon="docs" size="sm"></wt-icon>
29
+ <wt-icon icon="docs"></wt-icon>
30
30
  <span>{{ $t('webitelUI.headerActions.docs') }}</span>
31
31
  </a>
32
32
  </li>
@@ -35,7 +35,7 @@
35
35
  class="wt-header-actions__action__link"
36
36
  @click.prevent="settings"
37
37
  >
38
- <wt-icon icon="settings" size="sm"></wt-icon>
38
+ <wt-icon icon="settings"></wt-icon>
39
39
  <span>{{ $t('webitelUI.headerActions.settings') }}</span>
40
40
  </a>
41
41
  </li>
@@ -44,7 +44,7 @@
44
44
  class="wt-header-actions__action__link"
45
45
  @click.prevent="logout"
46
46
  >
47
- <wt-icon color="danger" icon="logout" size="sm"></wt-icon>
47
+ <wt-icon color="danger" icon="logout"></wt-icon>
48
48
  <span>{{ $t('webitelUI.headerActions.logout') }}</span>
49
49
  </a>
50
50
  </li>
@@ -137,7 +137,7 @@ export default {
137
137
  transition: var(--transition);
138
138
  border-radius: var(--border-radius);
139
139
  background: var(--wt-app-header-content-bg-color);
140
- box-shadow: var(--elevation-1);
140
+ box-shadow: var(--elevation-10);
141
141
  }
142
142
 
143
143
  .wt-header-actions__name {
@@ -198,7 +198,7 @@ export default {
198
198
  }
199
199
 
200
200
  .wt-navigation-bar__nav-expansion {
201
- @extend %typo-heading-3;
201
+ @extend %typo-subtitle-1;
202
202
  position: relative;
203
203
  display: flex;
204
204
  justify-content: space-between;
@@ -1,6 +1,6 @@
1
1
 
2
2
  :root {
3
- --tooltip-padding: var(--spacing-3xs) var(--spacing-2xs);
3
+ --tooltip-padding: var(--spacing-2xs) var(--spacing-xs);
4
4
  --tooltip-z-index: 100;
5
5
 
6
6
  --tooltip-light-text-color: var(--text-primary-color);
@@ -7,8 +7,8 @@
7
7
  --table-head-border-color: var(--secondary-color);
8
8
 
9
9
  --table-min-height: 24px; // 24px icon size or body-1 lh
10
- --table-column-gap: var(--spacing-sm);
11
- --table-row-padding: var(--spacing-sm);
10
+ --table-column-gap: var(--spacing-xs);
11
+ --table-row-padding: var(--spacing-xs);
12
12
 
13
13
  --table-primary-color: var(--main-color);
14
14
  --table--hover-color: var(--accent-secondary-color);