@webitel/ui-sdk 25.8.34 → 25.8.36

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": "25.8.34",
3
+ "version": "25.8.36",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run lint:fix || true) && npm run publish-lib",
@@ -1,17 +1,17 @@
1
1
  <template>
2
2
  <p-button
3
- v-bind="attrs"
4
- :severity="color"
5
- :disabled="disabled"
6
- :loading="showLoader"
7
- :size="primevueSizeMap[size]"
8
- class="wt-button"
9
3
  :class="{
10
4
  'p-button--width-by-content': widthByContent,
11
5
  'p-button--contains-icon': containsIcon,
12
6
  'p-button--wide': wide,
13
7
  'p-button--loading': showLoader,
14
8
  }"
9
+ :disabled="disabled"
10
+ :loading="showLoader"
11
+ :severity="color"
12
+ :size="primevueSizeMap[size]"
13
+ class="wt-button"
14
+ v-bind="attrs"
15
15
  @click.prevent="emit('click', $event)"
16
16
  >
17
17
  <wt-loader
@@ -25,7 +25,7 @@
25
25
  </p-button>
26
26
  </template>
27
27
 
28
- <script setup lang="ts">
28
+ <script lang="ts" setup>
29
29
  import type { ButtonProps } from 'primevue';
30
30
  import {computed, defineEmits, defineProps, ref, useAttrs, watch} from 'vue';
31
31
 
@@ -83,3 +83,9 @@ watch(
83
83
  },
84
84
  );
85
85
  </script>
86
+
87
+ <style lang="scss">
88
+ .wt-button__contents {
89
+ display: contents;
90
+ }
91
+ </style>
@@ -43,7 +43,7 @@ import { useI18n } from 'vue-i18n';
43
43
  import { useRoute, useRouter } from 'vue-router';
44
44
  import { useStore } from 'vuex';
45
45
 
46
- import RolesAPI from '../../../../api/clients/roles/roles.js';
46
+ import RolesAPI from '../../../../api/clients/roles/roles';
47
47
  import getNamespacedState from '../../../../store/helpers/getNamespacedState.js';
48
48
  import PermissionsRoleSelect from './permissions-role-select.vue';
49
49