@webitel/ui-sdk 24.12.37 → 24.12.38

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 (90) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/ui-sdk.css +1 -1
  3. package/dist/ui-sdk.js +2637 -2634
  4. package/dist/ui-sdk.umd.cjs +17 -17
  5. package/package.json +2 -1
  6. package/src/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-1.vue +1 -1
  7. package/src/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-2.vue +1 -1
  8. package/src/components/on-demand/wt-navigation-menu/components/wt-navigation-menu.vue +3 -3
  9. package/src/components/on-demand/wt-navigation-menu/css/_nav-menu.scss +1 -1
  10. package/src/components/on-demand/wt-selection-popup/wt-selection-popup.vue +1 -1
  11. package/src/components/on-demand/wt-start-page/components/start-page-card.vue +2 -1
  12. package/src/components/wt-app-header/wt-app-header.vue +1 -1
  13. package/src/components/wt-app-header/wt-app-navigator.vue +2 -2
  14. package/src/components/wt-app-header/wt-header-actions.vue +1 -1
  15. package/src/components/wt-avatar/wt-avatar.vue +1 -1
  16. package/src/components/wt-badge/wt-badge.vue +1 -1
  17. package/src/components/wt-button/wt-button.vue +2 -2
  18. package/src/components/wt-button-select/wt-button-select.vue +1 -1
  19. package/src/components/wt-checkbox/wt-checkbox.vue +1 -1
  20. package/src/components/wt-chip/wt-chip.scss +1 -1
  21. package/src/components/wt-chip/wt-chip.vue +2 -2
  22. package/src/components/wt-context-menu/wt-context-menu.vue +2 -2
  23. package/src/components/wt-datepicker/wt-datepicker.vue +4 -3
  24. package/src/components/wt-divider/wt-divider.vue +1 -1
  25. package/src/components/wt-dual-panel/wt-dual-panel.vue +4 -3
  26. package/src/components/wt-dummy/wt-dummy.vue +3 -2
  27. package/src/components/wt-empty/wt-empty.vue +3 -2
  28. package/src/components/wt-expansion-panel/wt-expansion-panel.vue +4 -3
  29. package/src/components/wt-headline/wt-headline.vue +2 -2
  30. package/src/components/wt-headline-nav/wt-headline-nav.vue +2 -2
  31. package/src/components/wt-icon/wt-icon.vue +1 -1
  32. package/src/components/wt-icon-btn/wt-icon-btn.vue +1 -1
  33. package/src/components/wt-image/wt-image.vue +1 -1
  34. package/src/components/wt-indicator/wt-indicator.vue +2 -2
  35. package/src/components/wt-input/wt-input.vue +5 -4
  36. package/src/components/wt-input-info/wt-input-info.vue +2 -2
  37. package/src/components/wt-item-link/wt-item-link.vue +1 -1
  38. package/src/components/wt-label/wt-label.vue +2 -2
  39. package/src/components/wt-load-bar/wt-load-bar.vue +1 -1
  40. package/src/components/wt-loader/_internals/wt-loader--md.vue +3 -1
  41. package/src/components/wt-loader/wt-loader.vue +1 -1
  42. package/src/components/wt-logo/wt-logo.vue +1 -1
  43. package/src/components/wt-navigation-bar/wt-navigation-bar.vue +2 -2
  44. package/src/components/wt-notification/wt-notification.vue +2 -2
  45. package/src/components/wt-notifications-bar/wt-notifications-bar.vue +2 -2
  46. package/src/components/wt-page-wrapper/wt-page-wrapper.vue +1 -1
  47. package/src/components/wt-pagination/wt-pagination.vue +2 -2
  48. package/src/components/wt-player/wt-player.vue +3 -3
  49. package/src/components/wt-popup/wt-popup.vue +2 -2
  50. package/src/components/wt-progress-bar/wt-progress-bar.vue +1 -1
  51. package/src/components/wt-radio/wt-radio.vue +1 -1
  52. package/src/components/wt-rounded-action/wt-rounded-action.vue +1 -1
  53. package/src/components/wt-search-bar/wt-search-bar.vue +3 -2
  54. package/src/components/wt-select/_multiselect.scss +1 -1
  55. package/src/components/wt-select/wt-select.vue +2 -2
  56. package/src/components/wt-slider/wt-slider.vue +1 -1
  57. package/src/components/wt-status-select/wt-status-select.vue +1 -1
  58. package/src/components/wt-stepper/wt-stepper.vue +1 -1
  59. package/src/components/wt-switcher/wt-switcher.vue +1 -1
  60. package/src/components/wt-table/wt-table.vue +2 -2
  61. package/src/components/wt-table-actions/wt-table-actions.vue +1 -1
  62. package/src/components/wt-table-column-select/wt-table-column-select.vue +1 -1
  63. package/src/components/wt-tabs/wt-tabs.vue +2 -2
  64. package/src/components/wt-tags-input/wt-tags-input.vue +1 -1
  65. package/src/components/wt-textarea/wt-textarea.vue +4 -4
  66. package/src/components/wt-time-input/wt-time-input.vue +3 -3
  67. package/src/components/wt-timepicker/wt-timepicker.vue +1 -1
  68. package/src/components/wt-tooltip/wt-tooltip.vue +3 -2
  69. package/src/components/wt-tree-table/wt-tree-table.vue +33 -16
  70. package/src/components/wt-tree-table-row/wt-tree-table-row.vue +49 -15
  71. package/src/css/main.scss +5 -4
  72. package/src/css/pages/card-page.scss +2 -0
  73. package/src/css/pages/table-page.scss +3 -0
  74. package/src/css/styleguide/_styleguide.scss +5 -9
  75. package/src/css/styleguide/display-helpers/_display-helpers.scss +2 -1
  76. package/src/css/styleguide/placeholder/_placeholder.scss +14 -2
  77. package/src/css/styleguide/transitions/_transitions.scss +1 -1
  78. package/src/install.ts +3 -2
  79. package/src/modules/QueryFilters/components/filter-from-to.vue +2 -0
  80. package/src/css/styleguide/border-radius/_border-radius.scss +0 -4
  81. package/src/css/styleguide/colors/_colors.scss +0 -199
  82. package/src/css/styleguide/colors/_deprecated.scss +0 -210
  83. package/src/css/styleguide/colors/_palette.scss +0 -1447
  84. package/src/css/styleguide/colors/reusable/_text-field.scss +0 -47
  85. package/src/css/styleguide/elevations/_elevations.scss +0 -13
  86. package/src/css/styleguide/fonts/_fonts.scss +0 -143
  87. package/src/css/styleguide/scroll.scss +0 -44
  88. package/src/css/styleguide/spacings/_spacings.scss +0 -15
  89. package/src/css/styleguide/typography/_typography.scss +0 -124
  90. package/src/css/styleguide/viewport-breakpoints/_viewport-breakpoints.scss +0 -24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "24.12.37",
3
+ "version": "24.12.38",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -110,6 +110,7 @@
110
110
  "@vuelidate/validators": "^2.0.4",
111
111
  "@vuepic/vue-datepicker": "^4.5.1",
112
112
  "@vueuse/components": "^11.2.0",
113
+ "@webitel/styleguide": "^24.12.18",
113
114
  "autosize": "^6.0.1",
114
115
  "axios": "^1.7.7",
115
116
  "clipboard-copy": "^4.0.1",
@@ -51,7 +51,7 @@ function select(category) {
51
51
  </script>
52
52
 
53
53
  <style lang="scss" scoped>
54
- @import '../../css/nav-menu';
54
+ @use '../../css/nav-menu';
55
55
 
56
56
  .nav-menu__item {
57
57
  &--active {
@@ -28,7 +28,7 @@ const props = defineProps({
28
28
  </script>
29
29
 
30
30
  <style lang="scss" scoped>
31
- @import '../../css/nav-menu';
31
+ @use '../../css/nav-menu';
32
32
 
33
33
  .nav-menu-lvl-2 {
34
34
  @extend %wt-scrollbar;
@@ -21,7 +21,8 @@
21
21
  </template>
22
22
 
23
23
  <script setup>
24
- import { ref, computed, onMounted } from 'vue';
24
+ import { computed, onMounted, ref } from 'vue';
25
+
25
26
  import NavMenuLvl1 from './_internals/nav-menu-lvl-1.vue';
26
27
  import NavMenuLvl2 from './_internals/nav-menu-lvl-2.vue';
27
28
 
@@ -81,8 +82,7 @@ function select(category) {
81
82
  </script>
82
83
 
83
84
  <style lang="scss" scoped>
84
- @import '../../../../css/main.scss';
85
- @import '../../../../css/styleguide/viewport-breakpoints/_viewport-breakpoints.scss';
85
+ @use '../../../../css/main' as *;
86
86
  .wt-navigation-menu {
87
87
  display: flex;
88
88
  align-items: center;
@@ -1,4 +1,4 @@
1
- @import '../../../../css/main.scss';
1
+ @use '../../../../css/main' as *;
2
2
 
3
3
  .nav-menu {
4
4
  &__category {
@@ -118,7 +118,7 @@ function selectOption(option) {
118
118
  </script>
119
119
 
120
120
  <style lang="scss" scoped>
121
- @import '../../../css/main.scss';
121
+ @use '../../../css/main.scss';
122
122
 
123
123
  .wt-selection-popup {
124
124
  &__options {
@@ -47,7 +47,8 @@ const open = () => {
47
47
  </script>
48
48
 
49
49
  <style lang="scss" scoped>
50
- @import '../../../../css/main.scss';
50
+ @use '../../../../css/main.scss';
51
+
51
52
  .start-page-card {
52
53
  display: flex;
53
54
  flex-direction: column;
@@ -7,7 +7,7 @@
7
7
  <script setup></script>
8
8
 
9
9
  <style lang="scss">
10
- @import './variables.scss';
10
+ @use './variables.scss';
11
11
  </style>
12
12
 
13
13
  <style lang="scss" scoped>
@@ -54,8 +54,8 @@
54
54
 
55
55
  <script setup>
56
56
  import { computed, ref } from 'vue';
57
- import WebitelApplications from '../../enums/WebitelApplications/WebitelApplications.enum.js';
58
57
 
58
+ import WebitelApplications from '../../enums/WebitelApplications/WebitelApplications.enum.js';
59
59
  import AdminDark from './assets/admin-dark.svg';
60
60
  import AdminLight from './assets/admin-light.svg';
61
61
  import AgentDark from './assets/agent-dark.svg';
@@ -150,7 +150,7 @@ function close() {
150
150
  </script>
151
151
 
152
152
  <style lang="scss" scoped>
153
- @import '../../../src/css/main.scss';
153
+ @use '../../css/main.scss';
154
154
 
155
155
  .wt-app-navigator {
156
156
  position: relative;
@@ -131,7 +131,7 @@ export default {
131
131
  </script>
132
132
 
133
133
  <style lang="scss" scoped>
134
- @import '../../../src/css/main.scss';
134
+ @use '../../css/main.scss';
135
135
 
136
136
  .wt-header-actions {
137
137
  position: relative;
@@ -121,7 +121,7 @@ const badgeColorVar = computed(() => {
121
121
  </script>
122
122
 
123
123
  <style lang="scss">
124
- @import './variables.scss';
124
+ @use './variables.scss';
125
125
  </style>
126
126
 
127
127
  <style lang="scss" scoped>
@@ -53,7 +53,7 @@ export default {
53
53
  </script>
54
54
 
55
55
  <style lang="scss">
56
- @import './variables.scss';
56
+ @use './variables.scss';
57
57
  </style>
58
58
 
59
59
  <style lang="scss" scoped>
@@ -113,11 +113,11 @@ export default {
113
113
  </script>
114
114
 
115
115
  <style lang="scss">
116
- @import './variables.scss';
116
+ @use './variables.scss';
117
117
  </style>
118
118
 
119
119
  <style lang="scss" scoped>
120
- @import '../../../src/css/main.scss';
120
+ @use '../../css/main.scss';
121
121
 
122
122
  .wt-button {
123
123
  @extend %typo-button;
@@ -96,7 +96,7 @@ const atClickaway = () => {
96
96
  </script>
97
97
 
98
98
  <style lang="scss">
99
- @import './variables.scss';
99
+ @use './variables.scss';
100
100
  </style>
101
101
 
102
102
  <style lang="scss" scoped>
@@ -106,7 +106,7 @@ export default {
106
106
  </script>
107
107
 
108
108
  <style lang="scss">
109
- @import './variables.scss';
109
+ @use './variables.scss';
110
110
  </style>
111
111
 
112
112
  <style lang="scss" scoped>
@@ -1,4 +1,4 @@
1
- @import '../../../src/css/main.scss';
1
+ @use '../../css/main' as *;
2
2
 
3
3
  .wt-chip {
4
4
  @extend %typo-body-2;
@@ -24,6 +24,6 @@ export default {
24
24
  </script>
25
25
 
26
26
  <style lang="scss">
27
- @import './wt-chip.scss';
28
- @import './variables.scss';
27
+ @use './variables.scss';
28
+ @use './wt-chip.scss';
29
29
  </style>
@@ -82,11 +82,11 @@ function handleOptionClick({ option, index, hide }) {
82
82
  </script>
83
83
 
84
84
  <style lang="scss">
85
- @import './variables.scss';
85
+ @use './variables.scss';
86
86
  </style>
87
87
 
88
88
  <style lang="scss" scoped>
89
- @import '../../../src/css/main.scss';
89
+ @use '../../css/main.scss';
90
90
 
91
91
  .wt-context-menu {
92
92
  line-height: 0;
@@ -74,8 +74,9 @@
74
74
  </template>
75
75
 
76
76
  <script setup>
77
- import VueDatepicker from '@vuepic/vue-datepicker';
78
77
  import '@vuepic/vue-datepicker/dist/main.css';
78
+
79
+ import VueDatepicker from '@vuepic/vue-datepicker';
79
80
  import { computed, ref } from 'vue';
80
81
 
81
82
  const props = defineProps({
@@ -145,11 +146,11 @@ const requiredLabel = computed(() => {
145
146
  </script>
146
147
 
147
148
  <style lang="scss">
148
- @import './variables.scss';
149
+ @use './variables.scss';
149
150
  </style>
150
151
 
151
152
  <style lang="scss" scoped>
152
- @import '../../../src/css/main.scss';
153
+ @use '../../css/main.scss';
153
154
 
154
155
  .wt-datepicker :deep(.dp__main) {
155
156
  .dp__input_icon {
@@ -18,7 +18,7 @@ export default {
18
18
  </script>
19
19
 
20
20
  <style lang="scss">
21
- @import './variables.scss';
21
+ @use './variables.scss';
22
22
  </style>
23
23
 
24
24
  <style lang="scss" scoped>
@@ -31,7 +31,8 @@
31
31
  </template>
32
32
 
33
33
  <script setup>
34
- import { computed, ref, defineEmits } from 'vue';
34
+ import { computed, defineEmits, ref } from 'vue';
35
+
35
36
  import IconAction from '../../enums/IconAction/IconAction.enum.js';
36
37
  import { ComponentSize } from '../../enums/index.js';
37
38
 
@@ -61,11 +62,11 @@ const sidePanelSize = computed(() =>
61
62
  </script>
62
63
 
63
64
  <style lang="scss">
64
- @import './variables.scss';
65
+ @use './variables.scss';
65
66
  </style>
66
67
 
67
68
  <style lang="scss" scoped>
68
- @import '../../../src/css/main.scss';
69
+ @use '../../css/main.scss';
69
70
  $side-panel-md-width: 320px;
70
71
 
71
72
  .wt-dual-panel {
@@ -25,6 +25,7 @@
25
25
 
26
26
  <script setup>
27
27
  import { computed } from 'vue';
28
+
28
29
  import dummyDark from '../../assets/components/molecules/wt-dummy/dummyDark.svg';
29
30
  import dummyLight from '../../assets/components/molecules/wt-dummy/dummyLight.svg';
30
31
 
@@ -62,11 +63,11 @@ const dummy = computed(() => (props.darkMode ? dummyDark : dummyLight));
62
63
  </script>
63
64
 
64
65
  <style lang="scss">
65
- @import './variables.scss';
66
+ @use './variables.scss';
66
67
  </style>
67
68
 
68
69
  <style lang="scss" scoped>
69
- @import '../../../src/css/main.scss';
70
+ @use '../../css/main.scss';
70
71
 
71
72
  .wt-dummy {
72
73
  display: flex;
@@ -130,6 +130,7 @@
130
130
  // based on https://vuetifyjs.com/en/components/empty-states/
131
131
 
132
132
  import { computed, useSlots } from 'vue';
133
+
133
134
  import ComponentSize from '../../enums/ComponentSize/ComponentSize.enum.js';
134
135
  import { greaterOrEqual, smallerOrEqual } from '../../scripts/compareSize.ts';
135
136
  import WtImage from '../wt-image/wt-image.vue';
@@ -246,11 +247,11 @@ const onSecondaryClick = onClick('secondary');
246
247
  </script>
247
248
 
248
249
  <style lang="scss">
249
- @import './variables.scss';
250
+ @use './variables.scss';
250
251
  </style>
251
252
 
252
253
  <style lang="scss" scoped>
253
- @import '../../../src/css/main.scss';
254
+ @use '../../css/main.scss';
254
255
 
255
256
  .wt-empty {
256
257
  display: flex;
@@ -10,7 +10,7 @@
10
10
  @keypress.enter="toggle"
11
11
  >
12
12
  <slot name="title" />
13
- <div class="wt-expansion-panel-actions">
13
+ <div class="wt-expansion-panel-actions">
14
14
  <slot
15
15
  name="actions"
16
16
  v-bind="{ open, opened }"
@@ -32,6 +32,7 @@
32
32
 
33
33
  <script setup>
34
34
  import { ref, watch } from 'vue';
35
+
35
36
  import WtExpandTransition from '../transitions/wt-expand-transition.vue';
36
37
 
37
38
  const props = defineProps({
@@ -80,11 +81,11 @@ watch(
80
81
  </script>
81
82
 
82
83
  <style lang="scss">
83
- @import './variables.scss';
84
+ @use './variables.scss';
84
85
  </style>
85
86
 
86
87
  <style lang="scss" scoped>
87
- @import '../../../src/css/main.scss';
88
+ @use '../../css/main.scss';
88
89
 
89
90
  .wt-expansion-panel {
90
91
  display: flex;
@@ -21,11 +21,11 @@ export default {
21
21
  </script>
22
22
 
23
23
  <style lang="scss">
24
- @import './variables.scss';
24
+ @use './variables.scss';
25
25
  </style>
26
26
 
27
27
  <style lang="scss" scoped>
28
- @import '../../../src/css/main.scss';
28
+ @use '../../css/main.scss';
29
29
 
30
30
  .wt-headline {
31
31
  display: flex;
@@ -45,11 +45,11 @@ const props = defineProps({
45
45
  </script>
46
46
 
47
47
  <style lang="scss">
48
- @import './variables.scss';
48
+ @use './variables.scss';
49
49
  </style>
50
50
 
51
51
  <style lang="scss" scoped>
52
- @import '../../../src/css/main.scss';
52
+ @use '../../css/main.scss';
53
53
 
54
54
  .wt-headline-nav {
55
55
  display: flex;
@@ -62,7 +62,7 @@ const iconName = computed(() => {
62
62
  </script>
63
63
 
64
64
  <style lang="scss">
65
- @import './variables.scss';
65
+ @use './variables.scss';
66
66
  </style>
67
67
 
68
68
  <style lang="scss" scoped>
@@ -28,7 +28,7 @@ const emit = defineEmits<{
28
28
  </script>
29
29
 
30
30
  <style lang="scss">
31
- @import './variables.scss';
31
+ @use './variables.scss';
32
32
  </style>
33
33
 
34
34
  <style lang="scss" scoped>
@@ -110,7 +110,7 @@ const height = computed(() => {
110
110
  </script>
111
111
 
112
112
  <style lang="scss" scoped>
113
- @import '../../../src/css/main.scss';
113
+ @use '../../css/main.scss';
114
114
 
115
115
  .wt-image {
116
116
  display: flex;
@@ -72,11 +72,11 @@ export default {
72
72
  </script>
73
73
 
74
74
  <style lang="scss">
75
- @import './variables.scss';
75
+ @use './variables.scss';
76
76
  </style>
77
77
 
78
78
  <style lang="scss" scoped>
79
- @import '../../../src/css/main.scss';
79
+ @use '../../css/main.scss';
80
80
 
81
81
  .wt-indicator {
82
82
  display: flex;
@@ -71,6 +71,7 @@
71
71
 
72
72
  <script setup>
73
73
  import { computed, onMounted, ref, toRefs, useSlots } from 'vue';
74
+
74
75
  import { useValidation } from '../../mixins/validationMixin/useValidation.js';
75
76
 
76
77
  /*
@@ -276,11 +277,11 @@ defineExpose({
276
277
  </script>
277
278
 
278
279
  <style lang="scss">
279
- @import './variables.scss';
280
+ @use './variables.scss';
280
281
  </style>
281
282
 
282
283
  <style lang="scss" scoped>
283
- @import '../../../src/css/main.scss';
284
+ @use '../../css/main' as *;
284
285
 
285
286
  .wt-input {
286
287
  cursor: text;
@@ -311,16 +312,16 @@ defineExpose({
311
312
 
312
313
  .wt-input--invalid &,
313
314
  .wt-input--invalid:hover & {
314
- @include wt-placeholder('error');
315
315
  color: var(--wt-text-field-error-text-color);
316
316
  border-color: var(--wt-text-field-input-border-error-color);
317
317
  outline: none; // prevent outline overlapping false color
318
+ @include wt-placeholder('error');
318
319
  }
319
320
 
320
321
  .wt-input--disabled & {
321
- @include wt-placeholder('disabled');
322
322
  border-color: var(--wt-text-field-input-border-disabled-color);
323
323
  background: var(--wt-text-field-input-background-disabled-color);
324
+ @include wt-placeholder('disabled');
324
325
  }
325
326
  }
326
327
 
@@ -22,11 +22,11 @@ export default {
22
22
  </script>
23
23
 
24
24
  <style lang="scss">
25
- @import './variables.scss';
25
+ @use './variables.scss';
26
26
  </style>
27
27
 
28
28
  <style lang="scss" scoped>
29
- @import '../../../src/css/main.scss';
29
+ @use '../../css/main.scss';
30
30
 
31
31
  .wt-input-info {
32
32
  @extend %typo-caption;
@@ -70,7 +70,7 @@ const to = computed(
70
70
  </script>
71
71
 
72
72
  <style lang="scss">
73
- @import './variables.scss';
73
+ @use './variables.scss';
74
74
  </style>
75
75
 
76
76
  <style lang="scss" scoped>
@@ -32,11 +32,11 @@ export default {
32
32
  </script>
33
33
 
34
34
  <style lang="scss">
35
- @import './variables.scss';
35
+ @use './variables.scss';
36
36
  </style>
37
37
 
38
38
  <style lang="scss" scoped>
39
- @import '../../../src/css/main.scss';
39
+ @use '../../css/main.scss';
40
40
 
41
41
  .wt-label {
42
42
  @extend %typo-body-1;
@@ -32,7 +32,7 @@ export default {
32
32
  </script>
33
33
 
34
34
  <style lang="scss">
35
- @import './variables.scss';
35
+ @use './variables.scss';
36
36
  </style>
37
37
 
38
38
  <style lang="scss" scoped>
@@ -21,6 +21,8 @@ export default {};
21
21
 
22
22
  <style lang="scss" scoped>
23
23
  // https://codepen.io/aaroniker/pen/omvYNZ
24
+ @use "sass:math";
25
+
24
26
  .wt-loader--md {
25
27
  position: relative;
26
28
  width: var(--loader-size);
@@ -53,7 +55,7 @@ export default {};
53
55
  stroke-width: 10px;
54
56
  stroke-linejoin: round;
55
57
  stroke-linecap: round;
56
- stroke-dasharray: (256 / 4 * 3) (256 / 4) (256 / 4 * 3) (256 / 4);
58
+ stroke-dasharray: math.div(256, 4) * 3 math.div(256, 4) math.div(256, 4) * 3 math.div(256, 4);
57
59
  stroke-dashoffset: 0;
58
60
  }
59
61
  }
@@ -36,7 +36,7 @@ export default {
36
36
  </script>
37
37
 
38
38
  <style lang="scss">
39
- @import './variables.scss';
39
+ @use './variables.scss';
40
40
  </style>
41
41
 
42
42
  <style lang="scss" scoped></style>
@@ -19,7 +19,7 @@ const props = defineProps({
19
19
  </template>
20
20
 
21
21
  <style lang="scss">
22
- @import './variables.scss';
22
+ @use './variables.scss';
23
23
  </style>
24
24
 
25
25
  <style lang="scss" scoped>
@@ -209,11 +209,11 @@ export default {
209
209
  </script>
210
210
 
211
211
  <style lang="scss">
212
- @import './variables.scss';
212
+ @use './variables.scss';
213
213
  </style>
214
214
 
215
215
  <style lang="scss" scoped>
216
- @import '../../../src/css/main.scss';
216
+ @use '../../css/main.scss';
217
217
 
218
218
  .wt-navigation-bar__menu-btn {
219
219
  display: block;
@@ -47,11 +47,11 @@ export default {
47
47
  </script>
48
48
 
49
49
  <style lang="scss">
50
- @import './variables.scss';
50
+ @use './variables.scss';
51
51
  </style>
52
52
 
53
53
  <style lang="scss" scoped>
54
- @import '../../../src/css/main.scss';
54
+ @use '../../css/main.scss';
55
55
 
56
56
  .wt-notification {
57
57
  @extend %typo-body-1;
@@ -60,11 +60,11 @@ export default {
60
60
  </script>
61
61
 
62
62
  <style lang="scss">
63
- @import './variables.scss';
63
+ @use './variables.scss';
64
64
  </style>
65
65
 
66
66
  <style lang="scss" scoped>
67
- @import '../../../src/css/main.scss';
67
+ @use '../../css/main.scss';
68
68
 
69
69
  .wt-notifications-bar {
70
70
  @extend %wt-scrollbar;
@@ -28,7 +28,7 @@ export default {
28
28
  </script>
29
29
 
30
30
  <style lang="scss">
31
- @import './variables.scss';
31
+ @use './variables.scss';
32
32
  </style>
33
33
 
34
34
  <style lang="scss" scoped>
@@ -107,11 +107,11 @@ export default {
107
107
  </script>
108
108
 
109
109
  <style lang="scss">
110
- @import './variables.scss';
110
+ @use './variables.scss';
111
111
  </style>
112
112
 
113
113
  <style lang="scss" scoped>
114
- @import '../../../src/css/main.scss';
114
+ @use '../../css/main.scss';
115
115
 
116
116
  .wt-pagination {
117
117
  @extend %typo-body-1;
@@ -26,7 +26,7 @@
26
26
 
27
27
  <script>
28
28
  // import Plyr from 'plyr'; // breaks vitepress build, https://webitel.atlassian.net/browse/WTEL-5425?focusedCommentId=639144
29
- import 'plyr/src/sass/plyr.scss';
29
+ // import 'plyr/src/sass/plyr.scss';
30
30
 
31
31
  export default {
32
32
  name: 'WtPlayer',
@@ -174,11 +174,11 @@ export default {
174
174
  </script>
175
175
 
176
176
  <style lang="scss">
177
- @import './variables.scss';
177
+ @use './variables.scss';
178
178
  </style>
179
179
 
180
180
  <style lang="scss" scoped>
181
- @import '../../../src/css/main.scss';
181
+ @use '../../css/main' as *;
182
182
 
183
183
  .wt-player {
184
184
  @extend %typo-body-2;