@formixru/b2b-ui 1.5.2 → 1.6.1

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,12 @@
1
+ ## v1.6.1
2
+
3
+ - Исправление в WarningMessage
4
+ - Доработки по стилям .form
5
+
6
+ ## v1.6.0
7
+
8
+ - Доработки для PWA
9
+
1
10
  ## v1.5.2
2
11
 
3
12
  - Исправлен баг в работе FontInput
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formixru/b2b-ui",
3
- "version": "1.5.2",
3
+ "version": "1.6.1",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -388,6 +388,20 @@ $b: '.form';
388
388
  order: 1;
389
389
  }
390
390
  }
391
+
392
+ &:first-child {
393
+ margin-bottom: 0;
394
+
395
+ @media (--tablet-landscape-up) {
396
+ margin-top: 0;
397
+ }
398
+
399
+ #{$b}_vertical & {
400
+ @media (--tablet-landscape-up) {
401
+ margin-bottom: 0;
402
+ }
403
+ }
404
+ }
391
405
  }
392
406
 
393
407
  &__trigger {
@@ -22,8 +22,16 @@ $b: '.header-announcement';
22
22
 
23
23
  @include font($header-announcement-font);
24
24
 
25
- @media (--tablet-landscape-up) {
26
- position: sticky;
25
+ body:not(.pwa) & {
26
+ @media (--tablet-landscape-up) {
27
+ position: sticky;
28
+ }
29
+ }
30
+
31
+ .pwa & {
32
+ @media (--desktop-up) {
33
+ position: sticky;
34
+ }
27
35
  }
28
36
 
29
37
  &_secondary {
@@ -62,11 +62,11 @@ const { type, small, solid, title, descr } = toRefs(props);
62
62
 
63
63
  const classes = computed(() => {
64
64
  return {
65
- warning_small: small.value,
66
- warning_solid: solid.value,
67
- warning_success: type.value === 'success',
68
- warning_info: type.value === 'info',
69
- warning_error: type.value === 'error',
65
+ 'warning-message_small': small.value,
66
+ 'warning-message_solid': solid.value,
67
+ 'warning-message_success': type.value === 'success',
68
+ 'warning-message_info': type.value === 'info',
69
+ 'warning-message_error': type.value === 'error',
70
70
  };
71
71
  });
72
72