@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/dist/ui-sdk.common.js +215 -213
- package/dist/ui-sdk.common.js.map +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.umd.js +215 -213
- package/dist/ui-sdk.umd.js.map +1 -1
- package/dist/ui-sdk.umd.min.js +2 -2
- package/dist/ui-sdk.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/wt-checkbox/wt-checkbox.vue +5 -1
- package/src/components/molecules/wt-input/wt-input.vue +1 -0
- package/src/components/molecules/wt-popup/wt-popup.vue +15 -6
- package/src/components/molecules/wt-radio/wt-radio.vue +4 -0
- package/src/components/molecules/wt-switcher/wt-switcher.vue +4 -0
- package/src/components/organisms/wt-app-header/wt-app-navigator.vue +1 -1
- package/src/components/organisms/wt-app-header/wt-header-actions.vue +4 -4
- package/src/components/organisms/wt-navigation-bar/wt-navigation-bar.vue +1 -1
- package/src/css/components/atoms/wt-tooltip/_variables.scss +1 -1
- package/src/css/components/organisms/wt-table/_variables.scss +2 -2
package/package.json
CHANGED
|
@@ -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 */
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
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>
|
|
@@ -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-
|
|
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"
|
|
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"
|
|
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"
|
|
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-
|
|
140
|
+
box-shadow: var(--elevation-10);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
.wt-header-actions__name {
|
|
@@ -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-
|
|
11
|
-
--table-row-padding: var(--spacing-
|
|
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);
|