@formixru/b2b-ui 1.0.3 → 1.0.4

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/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## v1.0.4
2
+
3
+ - Добавлены новые переменные для .slider-nav
4
+ - Исправлены ошибки в работе FileInput
5
+
1
6
  ## v1.0.3
2
7
 
3
8
  - Исправлены ошибки в работе SuggestInput
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formixru/b2b-ui",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -48,7 +48,7 @@
48
48
 
49
49
  import { pluralize } from '@advdominion/pluralize';
50
50
  import mime from 'mime';
51
- import { computed, onMounted, ref, toRefs } from 'vue';
51
+ import { computed, nextTick, onMounted, ref, toRefs } from 'vue';
52
52
 
53
53
  const ICONS_PATH = window.ICONS_PATH;
54
54
 
@@ -265,6 +265,7 @@ const uploadFile = async (file) => {
265
265
  throw response;
266
266
  }
267
267
  files.value[index].uploaded = true;
268
+ await nextTick();
268
269
  emit('upload');
269
270
  } catch (error) {
270
271
  if (error.status === 401) {
@@ -56,6 +56,8 @@ $b: '.slider-nav';
56
56
 
57
57
  &:not(#{$b}__button_disabled):hover,
58
58
  &:not(#{$b}__button_disabled):focus-visible {
59
+ background-color: $slider-nav-button-fill-white-active-bg;
60
+ border-color: $slider-nav-button-fill-white-active-border-color;
59
61
  color: $slider-nav-button-fill-white-active-color;
60
62
  }
61
63
  }
@@ -1049,7 +1049,10 @@ $slider-nav-button-fill-white-bg: $color-white !default;
1049
1049
  $slider-nav-button-fill-white-border-color: $color-white !default;
1050
1050
  $slider-nav-button-fill-white-shadow: $shadow !default;
1051
1051
  $slider-nav-button-fill-white-color: $color-grey-70 !default;
1052
+
1053
+ $slider-nav-button-fill-white-active-bg: $slider-nav-button-fill-white-bg !default;
1052
1054
  $slider-nav-button-fill-white-active-color: $color-grey-40 !default;
1055
+ $slider-nav-button-fill-white-active-border-color: $slider-nav-button-fill-white-border-color !default;
1053
1056
 
1054
1057
  /********** Пагинация слайдеров (.slider-pagination) **********/
1055
1058