@webitel/ui-sdk 24.6.28 → 24.6.30

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.
Files changed (36) hide show
  1. package/dist/ui-sdk.css +1 -1
  2. package/dist/ui-sdk.js +10794 -8064
  3. package/dist/ui-sdk.umd.cjs +21 -11
  4. package/package.json +1 -1
  5. package/src/api/axios/generateInstance.js +5 -2
  6. package/src/components/wt-app-header/wt-app-navigator.vue +2 -0
  7. package/src/components/wt-app-header/wt-header-actions.vue +2 -0
  8. package/src/components/wt-button/wt-button.vue +2 -0
  9. package/src/components/wt-checkbox/wt-checkbox.vue +1 -1
  10. package/src/components/wt-chip/wt-chip.scss +3 -0
  11. package/src/components/wt-context-menu/wt-context-menu.vue +1 -0
  12. package/src/components/wt-datepicker/wt-datepicker.vue +1 -0
  13. package/src/components/wt-dummy/wt-dummy.vue +2 -0
  14. package/src/components/wt-expansion-panel/wt-expansion-panel.vue +2 -0
  15. package/src/components/wt-headline/wt-headline.vue +1 -0
  16. package/src/components/wt-headline-nav/wt-headline-nav.vue +2 -0
  17. package/src/components/wt-indicator/wt-indicator.vue +1 -0
  18. package/src/components/wt-input/wt-input.vue +1 -0
  19. package/src/components/wt-input-info/wt-input-info.vue +1 -0
  20. package/src/components/wt-label/wt-label.vue +1 -0
  21. package/src/components/wt-navigation-bar/wt-navigation-bar.vue +1 -1
  22. package/src/components/wt-notification/wt-notification.vue +2 -1
  23. package/src/components/wt-notifications-bar/wt-notifications-bar.vue +1 -0
  24. package/src/components/wt-pagination/wt-pagination.vue +1 -0
  25. package/src/components/wt-player/wt-player.vue +2 -0
  26. package/src/components/wt-popup/wt-popup.vue +1 -0
  27. package/src/components/wt-radio/wt-radio.vue +1 -1
  28. package/src/components/wt-search-bar/wt-search-bar.vue +1 -0
  29. package/src/components/wt-select/_multiselect.scss +2 -0
  30. package/src/components/wt-switcher/wt-switcher.vue +1 -1
  31. package/src/components/wt-table/wt-table.vue +1 -0
  32. package/src/components/wt-table-column-select/wt-table-column-select.vue +2 -0
  33. package/src/components/wt-tabs/wt-tabs.vue +1 -0
  34. package/src/components/wt-textarea/wt-textarea.vue +1 -0
  35. package/src/components/wt-time-input/wt-time-input.vue +2 -0
  36. package/src/components/wt-tooltip/wt-tooltip.vue +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "24.6.28",
3
+ "version": "24.6.30",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -1,9 +1,12 @@
1
1
  import axios from 'axios';
2
2
 
3
3
  // 'X-Webitel-Access' ~ 'X-Access-Token'
4
- const generateInstance = ({ interceptors } = {}) => {
4
+ const generateInstance = ({
5
+ interceptors,
6
+ baseURL,
7
+ } = {}) => {
5
8
  const instance = axios.create({
6
- baseURL: import.meta.env.VITE_API_URL,
9
+ baseURL,
7
10
  headers: {
8
11
  'X-Webitel-Access': localStorage.getItem('access-token') || '',
9
12
  },
@@ -146,6 +146,8 @@ function close() {
146
146
  </script>
147
147
 
148
148
  <style lang="scss" scoped>
149
+ @import 'src/css/main.scss';
150
+
149
151
  .wt-app-navigator {
150
152
  position: relative;
151
153
  z-index: var(--wt-app-header-content-z-index);
@@ -133,6 +133,8 @@ export default {
133
133
  </script>
134
134
 
135
135
  <style lang="scss" scoped>
136
+ @import 'src/css/main.scss';
137
+
136
138
  .wt-header-actions {
137
139
  position: relative;
138
140
  z-index: var(--wt-app-header-content-z-index);
@@ -112,6 +112,8 @@ export default {
112
112
  </style>
113
113
 
114
114
  <style lang="scss" scoped>
115
+ @import 'src/css/main.scss';
116
+
115
117
  .wt-button {
116
118
  @extend %typo-button;
117
119
  position: relative;
@@ -112,7 +112,7 @@ export default {
112
112
  <style lang="scss" scoped>
113
113
 
114
114
  .wt-checkbox {
115
- @include width-fit-content;
115
+ width: fit-content;
116
116
  box-sizing: border-box;
117
117
 
118
118
  .wt-label {
@@ -1,3 +1,6 @@
1
+
2
+ @import 'src/css/main.scss';
3
+
1
4
  .wt-chip {
2
5
  @extend %typo-body-2;
3
6
 
@@ -81,6 +81,7 @@ function handleOptionClick({ option, index, hide }) {
81
81
  </style>
82
82
 
83
83
  <style lang="scss" scoped>
84
+ @import 'src/css/main.scss';
84
85
 
85
86
  .wt-context-menu {
86
87
  line-height: 0;
@@ -132,6 +132,7 @@ const isDateTime = props.mode === 'datetime';
132
132
  </style>
133
133
 
134
134
  <style lang="scss" scoped>
135
+ @import 'src/css/main.scss';
135
136
 
136
137
  .wt-datepicker :deep(.dp__main) {
137
138
  .dp__input_icon {
@@ -69,6 +69,8 @@ const dummy = computed(() => props.darkMode ? dummyDark : dummyLight);
69
69
  </style>
70
70
 
71
71
  <style lang="scss" scoped>
72
+ @import 'src/css/main.scss';
73
+
72
74
  .wt-dummy {
73
75
  display: flex;
74
76
  align-items: center;
@@ -84,6 +84,8 @@ watch(() => props.collapsed, (newVal) => {
84
84
  </style>
85
85
 
86
86
  <style lang="scss" scoped>
87
+ @import 'src/css/main.scss';
88
+
87
89
  .wt-expansion-panel {
88
90
  display: flex;
89
91
  flex-direction: column;
@@ -25,6 +25,7 @@ export default {
25
25
  </style>
26
26
 
27
27
  <style lang="scss" scoped>
28
+ @import 'src/css/main.scss';
28
29
 
29
30
  .wt-headline {
30
31
  display: flex;
@@ -48,6 +48,8 @@ const props = defineProps({
48
48
  </style>
49
49
 
50
50
  <style lang="scss" scoped>
51
+ @import 'src/css/main.scss';
52
+
51
53
  .wt-headline-nav {
52
54
  display: flex;
53
55
  align-items: center;
@@ -52,6 +52,7 @@ export default {
52
52
  </style>
53
53
 
54
54
  <style lang="scss" scoped>
55
+ @import 'src/css/main.scss';
55
56
 
56
57
  .wt-indicator {
57
58
  display: flex;
@@ -272,6 +272,7 @@ onMounted(() => {
272
272
  </style>
273
273
 
274
274
  <style lang="scss" scoped>
275
+ @import 'src/css/main.scss';
275
276
 
276
277
  .wt-input {
277
278
  cursor: text;
@@ -26,6 +26,7 @@ export default {
26
26
  </style>
27
27
 
28
28
  <style lang="scss" scoped>
29
+ @import 'src/css/main.scss';
29
30
 
30
31
  .wt-input-info {
31
32
  @extend %typo-caption;
@@ -39,6 +39,7 @@ export default {
39
39
  </style>
40
40
 
41
41
  <style lang="scss" scoped>
42
+ @import 'src/css/main.scss';
42
43
 
43
44
  .wt-label {
44
45
  @extend %typo-body-1;
@@ -197,11 +197,11 @@ export default {
197
197
  </style>
198
198
 
199
199
  <style lang="scss" scoped>
200
+ @import 'src/css/main.scss';
200
201
 
201
202
  .wt-navigation-bar__menu-btn {
202
203
  display: block;
203
204
  width: fit-content;
204
- width: -moz-fit-content;
205
205
  }
206
206
 
207
207
  .wt-navigation-bar__nav {
@@ -55,10 +55,11 @@ export default {
55
55
  </style>
56
56
 
57
57
  <style lang="scss" scoped>
58
+ @import 'src/css/main.scss';
58
59
 
59
60
  .wt-notification {
60
61
  @extend %typo-body-1;
61
- @include width-fit-content;
62
+ width: fit-content;
62
63
 
63
64
  position: relative;
64
65
  display: flex;
@@ -52,6 +52,7 @@ export default {
52
52
  </style>
53
53
 
54
54
  <style lang="scss" scoped>
55
+ @import 'src/css/main.scss';
55
56
 
56
57
  .wt-notifications-bar {
57
58
  @extend %wt-scrollbar;
@@ -112,6 +112,7 @@ export default {
112
112
  </style>
113
113
 
114
114
  <style lang="scss" scoped>
115
+ @import 'src/css/main.scss';
115
116
 
116
117
  .wt-pagination {
117
118
  @extend %typo-body-1;
@@ -160,6 +160,8 @@ export default {
160
160
  </style>
161
161
 
162
162
  <style lang="scss" scoped>
163
+ @import 'src/css/main.scss';
164
+
163
165
  .wt-player {
164
166
  @extend %typo-body-2;
165
167
  bottom: 60px;
@@ -92,6 +92,7 @@ export default {
92
92
  </style>
93
93
 
94
94
  <style lang="scss" scoped>
95
+ @import 'src/css/main.scss';
95
96
 
96
97
  .wt-popup {
97
98
  position: fixed;
@@ -96,7 +96,7 @@ export default {
96
96
 
97
97
  /* Customize the label (the container) */
98
98
  .wt-radio {
99
- @include width-fit-content;
99
+ width: fit-content;
100
100
  box-sizing: border-box;
101
101
 
102
102
  .wt-label {
@@ -151,6 +151,7 @@ function handleKeyup(event) {
151
151
  </style>
152
152
 
153
153
  <style lang="scss" scoped>
154
+ @import 'src/css/main.scss';
154
155
 
155
156
  .wt-search-bar {
156
157
  cursor: text;
@@ -1,4 +1,6 @@
1
1
 
2
+ @import 'src/css/main.scss';
3
+
2
4
  .multiselect :deep {
3
5
  position: relative;
4
6
  cursor: pointer;
@@ -84,7 +84,7 @@ export default {
84
84
  <style lang="scss" scoped>
85
85
 
86
86
  .wt-switcher {
87
- @include width-fit-content;
87
+ width: fit-content;
88
88
  position: relative;
89
89
  box-sizing: border-box;
90
90
 
@@ -254,6 +254,7 @@ export default {
254
254
  </style>
255
255
 
256
256
  <style lang="scss" scoped>
257
+ @import 'src/css/main.scss';
257
258
 
258
259
  .wt-table {
259
260
  @extend %wt-scrollbar;
@@ -130,6 +130,8 @@ export default {
130
130
  </script>
131
131
 
132
132
  <style lang="scss" scoped>
133
+ @import 'src/css/main.scss';
134
+
133
135
  $list-height: 400px;
134
136
  $list-width-sm: calc(500px - var(--spacing-xl)); // all popup width - (paddings + overflow-padding)
135
137
  $list-width-md: calc(800px - var(--spacing-xl)); // all popup width - (paddings + overflow-padding)
@@ -88,6 +88,7 @@ export default {
88
88
  </style>
89
89
 
90
90
  <style lang="scss" scoped>
91
+ @import 'src/css/main.scss';
91
92
 
92
93
  .wt-tabs {
93
94
  position: relative;
@@ -149,6 +149,7 @@ export default {
149
149
  </style>
150
150
 
151
151
  <style lang="scss" scoped>
152
+ @import 'src/css/main.scss';
152
153
 
153
154
  .wt-textarea {
154
155
  cursor: text;
@@ -111,6 +111,8 @@ export default {
111
111
  </script>
112
112
 
113
113
  <style lang="scss" scoped>
114
+ @import 'src/css/main.scss';
115
+
114
116
  .wt-time-input {
115
117
  display: inline-block;
116
118
  cursor: text;
@@ -112,6 +112,7 @@ onMounted(() => {
112
112
  </style>
113
113
 
114
114
  <style lang="scss" scoped>
115
+ @import 'src/css/main.scss';
115
116
 
116
117
  .wt-tooltip {
117
118
  display: inline-block;