@alfalab/core-components-gallery 5.1.14 → 5.1.16

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 (55) hide show
  1. package/Component.js +2 -2
  2. package/components/header/Component.js +1 -1
  3. package/components/header/index.css +3 -3
  4. package/components/header-info-block/Component.js +1 -1
  5. package/components/header-info-block/index.css +5 -5
  6. package/components/image-preview/Component.js +1 -1
  7. package/components/image-preview/index.css +12 -12
  8. package/components/image-viewer/component.js +1 -1
  9. package/components/image-viewer/index.css +19 -19
  10. package/components/image-viewer/index.js +1 -1
  11. package/components/image-viewer/slide.js +1 -1
  12. package/components/index.js +1 -1
  13. package/components/navigation-bar/Component.js +1 -1
  14. package/components/navigation-bar/index.css +6 -6
  15. package/esm/Component.js +2 -2
  16. package/esm/components/header/Component.js +1 -1
  17. package/esm/components/header/index.css +3 -3
  18. package/esm/components/header-info-block/Component.js +1 -1
  19. package/esm/components/header-info-block/index.css +5 -5
  20. package/esm/components/image-preview/Component.js +1 -1
  21. package/esm/components/image-preview/index.css +12 -12
  22. package/esm/components/image-viewer/component.js +1 -1
  23. package/esm/components/image-viewer/index.css +19 -19
  24. package/esm/components/image-viewer/index.js +1 -1
  25. package/esm/components/image-viewer/slide.js +1 -1
  26. package/esm/components/index.js +1 -1
  27. package/esm/components/navigation-bar/Component.js +1 -1
  28. package/esm/components/navigation-bar/index.css +6 -6
  29. package/esm/index.css +3 -3
  30. package/esm/index.js +1 -1
  31. package/esm/{slide-746d03af.js → slide-947121d2.js} +1 -1
  32. package/index.css +3 -3
  33. package/index.js +1 -1
  34. package/modern/Component.js +2 -2
  35. package/modern/components/header/Component.js +1 -1
  36. package/modern/components/header/index.css +3 -3
  37. package/modern/components/header-info-block/Component.js +1 -1
  38. package/modern/components/header-info-block/index.css +5 -5
  39. package/modern/components/image-preview/Component.js +1 -1
  40. package/modern/components/image-preview/index.css +12 -12
  41. package/modern/components/image-viewer/component.js +1 -1
  42. package/modern/components/image-viewer/index.css +19 -19
  43. package/modern/components/image-viewer/index.js +1 -1
  44. package/modern/components/image-viewer/slide.js +1 -1
  45. package/modern/components/index.js +1 -1
  46. package/modern/components/navigation-bar/Component.js +1 -1
  47. package/modern/components/navigation-bar/index.css +6 -6
  48. package/modern/index.css +3 -3
  49. package/modern/index.js +1 -1
  50. package/modern/{slide-88e3f94f.js → slide-7e090b0e.js} +1 -1
  51. package/package.json +5 -5
  52. package/{slide-2c42ca22.js → slide-791b7f65.js} +1 -1
  53. /package/esm/{slide-746d03af.d.ts → slide-947121d2.d.ts} +0 -0
  54. /package/modern/{slide-88e3f94f.d.ts → slide-7e090b0e.d.ts} +0 -0
  55. /package/{slide-2c42ca22.d.ts → slide-791b7f65.d.ts} +0 -0
package/Component.js CHANGED
@@ -28,7 +28,7 @@ require('swiper');
28
28
  require('swiper/react');
29
29
  require('@alfalab/icons-glyph/ChevronBackHeavyMIcon');
30
30
  require('@alfalab/icons-glyph/ChevronForwardHeavyMIcon');
31
- require('./slide-2c42ca22.js');
31
+ require('./slide-791b7f65.js');
32
32
  require('./components/image-viewer/paths.js');
33
33
  require('swiper/swiper.min.css');
34
34
 
@@ -36,7 +36,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
36
36
 
37
37
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
38
38
 
39
- var styles = {"container":"gallery__container_wtfqa","modal":"gallery__modal_wtfqa"};
39
+ var styles = {"container":"gallery__container_1pmio","modal":"gallery__modal_1pmio"};
40
40
  require('./index.css')
41
41
 
42
42
  var Backdrop = function () { return null; };
@@ -20,7 +20,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
20
20
 
21
21
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
22
22
 
23
- var styles = {"header":"gallery__header_gzhg7","buttons":"gallery__buttons_gzhg7"};
23
+ var styles = {"header":"gallery__header_1qpis","buttons":"gallery__buttons_1qpis"};
24
24
  require('./index.css')
25
25
 
26
26
  var Header = function () {
@@ -1,4 +1,4 @@
1
- /* hash: qsqmm */
1
+ /* hash: sd44u */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-tertiary-inverted: #3c4c5d;
@@ -18,7 +18,7 @@
18
18
  --gap-2xl: 32px;
19
19
  } :root {
20
20
  } :root {
21
- } .gallery__header_gzhg7 {
21
+ } .gallery__header_1qpis {
22
22
  display: flex;
23
23
  justify-content: space-between;
24
24
  flex-shrink: 0;
@@ -26,7 +26,7 @@
26
26
  padding: var(--gap-m) var(--gap-xl);
27
27
  background-color: var(--color-light-bg-tertiary-inverted);
28
28
  box-sizing: border-box;
29
- } .gallery__buttons_gzhg7 {
29
+ } .gallery__buttons_1qpis {
30
30
  display: flex;
31
31
  padding-left: var(--gap-2xl);
32
32
  }
@@ -8,7 +8,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
8
8
 
9
9
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
10
10
 
11
- var styles = {"info":"gallery__info_b9x68","filenameHead":"gallery__filenameHead_b9x68","filenameContainer":"gallery__filenameContainer_b9x68","description":"gallery__description_b9x68"};
11
+ var styles = {"info":"gallery__info_d9vos","filenameHead":"gallery__filenameHead_d9vos","filenameContainer":"gallery__filenameContainer_d9vos","description":"gallery__description_d9vos"};
12
12
  require('./index.css')
13
13
 
14
14
  var HeaderInfoBlock = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: nnyjy */
1
+ /* hash: 1xtkw */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -15,21 +15,21 @@
15
15
  --gap-2xs: 4px;
16
16
  } :root {
17
17
  } :root {
18
- } .gallery__info_b9x68 {
18
+ } .gallery__info_d9vos {
19
19
  height: 100%;
20
20
  display: flex;
21
21
  flex-direction: column;
22
22
  justify-content: center;
23
23
  overflow: hidden;
24
- } .gallery__filenameHead_b9x68 {
24
+ } .gallery__filenameHead_d9vos {
25
25
  display: inline;
26
26
  text-overflow: ellipsis;
27
27
  overflow: hidden;
28
28
  white-space: nowrap;
29
- } .gallery__filenameContainer_b9x68 {
29
+ } .gallery__filenameContainer_d9vos {
30
30
  overflow: hidden;
31
31
  display: inline-flex;
32
- } .gallery__description_b9x68 {
32
+ } .gallery__description_d9vos {
33
33
  display: inline;
34
34
  text-overflow: ellipsis;
35
35
  overflow: hidden;
@@ -11,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
11
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
12
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
13
13
 
14
- var styles = {"component":"gallery__component_wf91b","active":"gallery__active_wf91b","image":"gallery__image_wf91b","preview":"gallery__preview_wf91b","loading":"gallery__loading_wf91b","brokenImageWrapper":"gallery__brokenImageWrapper_wf91b","brokenIcon":"gallery__brokenIcon_wf91b","focused":"gallery__focused_wf91b"};
14
+ var styles = {"component":"gallery__component_yf7jv","active":"gallery__active_yf7jv","image":"gallery__image_yf7jv","preview":"gallery__preview_yf7jv","loading":"gallery__loading_yf7jv","brokenImageWrapper":"gallery__brokenImageWrapper_yf7jv","brokenIcon":"gallery__brokenIcon_yf7jv","focused":"gallery__focused_yf7jv"};
15
15
  require('./index.css')
16
16
 
17
17
  var ImagePreview = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: e4qu8 */
1
+ /* hash: 1oad6 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -21,7 +21,7 @@
21
21
  } :root {
22
22
  } :root {
23
23
  --focus-color: var(--color-light-border-link);
24
- } .gallery__component_wf91b {
24
+ } .gallery__component_yf7jv {
25
25
  display: flex;
26
26
  padding: var(--gap-2xs);
27
27
  border: 2px solid rgba(0, 0, 0, 0);
@@ -29,11 +29,11 @@
29
29
  overflow: hidden;
30
30
  transition: border 0.15s ease-in-out;
31
31
  outline: none;
32
- } .gallery__active_wf91b {
32
+ } .gallery__active_yf7jv {
33
33
  border-color: var(--color-light-border-key-inverted)
34
- } .gallery__active_wf91b > .gallery__image_wf91b {
34
+ } .gallery__active_yf7jv > .gallery__image_yf7jv {
35
35
  opacity: 0.7;
36
- } .gallery__preview_wf91b {
36
+ } .gallery__preview_yf7jv {
37
37
  width: 56px;
38
38
  height: 56px;
39
39
  flex-shrink: 0;
@@ -41,28 +41,28 @@
41
41
  cursor: pointer;
42
42
  -webkit-user-select: none;
43
43
  user-select: none;
44
- } .gallery__image_wf91b {
44
+ } .gallery__image_yf7jv {
45
45
  background-color: var(--color-light-bg-primary);
46
46
  background-size: cover;
47
47
  background-repeat: no-repeat;
48
48
  background-position: center;
49
49
  transition: opacity 0.15s ease-in-out
50
- } .gallery__image_wf91b:hover {
50
+ } .gallery__image_yf7jv:hover {
51
51
  opacity: 0.7;
52
- } .gallery__loading_wf91b {
52
+ } .gallery__loading_yf7jv {
53
53
  /* TODO: цвета нет в палитре */
54
54
  background-color: #e9eaeb;
55
- } .gallery__brokenImageWrapper_wf91b {
55
+ } .gallery__brokenImageWrapper_yf7jv {
56
56
  display: flex;
57
57
  justify-content: center;
58
58
  align-items: center;
59
59
  background-color: var(--color-light-bg-primary)
60
- } .gallery__brokenImageWrapper_wf91b:hover {
60
+ } .gallery__brokenImageWrapper_yf7jv:hover {
61
61
  opacity: 0.7;
62
- } .gallery__brokenIcon_wf91b {
62
+ } .gallery__brokenIcon_yf7jv {
63
63
  width: 40px;
64
64
  height: 40px;
65
- } .gallery__focused_wf91b {
65
+ } .gallery__focused_yf7jv {
66
66
  outline: 2px solid var(--focus-color);
67
67
  outline-offset: 2px;
68
68
  }
@@ -12,7 +12,7 @@ var ChevronForwardHeavyMIcon = require('@alfalab/icons-glyph/ChevronForwardHeavy
12
12
  var context = require('../../context.js');
13
13
  var utils_utils = require('../../utils/utils.js');
14
14
  var utils_constants = require('../../utils/constants.js');
15
- var components_imageViewer_slide = require('../../slide-2c42ca22.js');
15
+ var components_imageViewer_slide = require('../../slide-791b7f65.js');
16
16
  require('swiper/swiper.min.css');
17
17
  require('@alfalab/core-components-typography');
18
18
  require('./paths.js');
@@ -1,4 +1,4 @@
1
- /* hash: sxr2a */
1
+ /* hash: oq78b */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -25,13 +25,13 @@
25
25
  } :root {
26
26
  } :root {
27
27
  --focus-color: var(--color-light-border-link);
28
- } .gallery__component_ndo9f {
28
+ } .gallery__component_1y7ir {
29
29
  display: flex;
30
30
  flex-grow: 1;
31
31
  justify-content: center;
32
32
  align-items: center;
33
33
  background-color: var(--color-light-bg-primary-inverted-alpha-50);
34
- } .gallery__swiper_ndo9f {
34
+ } .gallery__swiper_1y7ir {
35
35
  display: flex;
36
36
  width: 100%;
37
37
  height: 100%;
@@ -40,43 +40,43 @@
40
40
  max-height: calc(100vh - 168px);
41
41
  padding: var(--gap-2xl) var(--gap-m);
42
42
  box-sizing: border-box;
43
- } .gallery__singleSlide_ndo9f .gallery__swiper_ndo9f {
43
+ } .gallery__singleSlide_1y7ir .gallery__swiper_1y7ir {
44
44
  max-height: calc(100vh - 80px);
45
45
  padding: var(--gap-2xl);
46
- } .gallery__hidden_ndo9f {
46
+ } .gallery__hidden_1y7ir {
47
47
  display: none;
48
- } .gallery__slide_ndo9f {
48
+ } .gallery__slide_1y7ir {
49
49
  position: relative;
50
50
  display: flex;
51
51
  justify-content: center;
52
52
  align-items: center;
53
53
  width: 100%;
54
54
  height: 100%;
55
- } .gallery__slideLoading_ndo9f {
55
+ } .gallery__slideLoading_1y7ir {
56
56
  /* TODO: цвета нет в палитре */
57
57
  background-color: #e9eaeb;
58
58
  border-radius: var(--border-radius-m);
59
- } .gallery__image_ndo9f {
59
+ } .gallery__image_1y7ir {
60
60
  width: 0;
61
61
  height: 0;
62
62
  -webkit-user-select: none;
63
63
  user-select: none;
64
64
  background-color: var(--color-light-bg-primary);
65
65
  border-radius: var(--border-radius-m);
66
- } .gallery__smallImage_ndo9f {
66
+ } .gallery__smallImage_1y7ir {
67
67
  position: relative;
68
68
  width: auto;
69
69
  height: auto;
70
70
  -webkit-user-select: none;
71
71
  user-select: none;
72
72
  background-color: var(--color-light-bg-primary);
73
- } .gallery__verticalImageFit_ndo9f {
73
+ } .gallery__verticalImageFit_1y7ir {
74
74
  width: auto;
75
75
  height: 100%;
76
- } .gallery__horizontalImageFit_ndo9f {
76
+ } .gallery__horizontalImageFit_1y7ir {
77
77
  width: 100%;
78
78
  height: auto;
79
- } .gallery__arrow_ndo9f {
79
+ } .gallery__arrow_1y7ir {
80
80
  display: flex;
81
81
  flex-direction: column;
82
82
  justify-content: center;
@@ -88,14 +88,14 @@
88
88
  color: var(--color-light-graphic-primary-inverted);
89
89
  transition: background-color 0.15s ease-in-out;
90
90
  outline: none
91
- } .gallery__arrow_ndo9f:hover {
91
+ } .gallery__arrow_1y7ir:hover {
92
92
  background-color: var(--color-light-bg-primary-inverted-alpha-10);
93
- } .gallery__arrow_ndo9f:active {
93
+ } .gallery__arrow_1y7ir:active {
94
94
  background-color: var(--color-light-bg-primary-inverted-alpha-20);
95
- } .gallery__focused_ndo9f {
95
+ } .gallery__focused_1y7ir {
96
96
  outline: 2px solid var(--focus-color);
97
97
  outline-offset: 2px;
98
- } .gallery__placeholder_ndo9f {
98
+ } .gallery__placeholder_1y7ir {
99
99
  display: flex;
100
100
  justify-content: center;
101
101
  align-items: center;
@@ -103,18 +103,18 @@
103
103
  height: 300px;
104
104
  border-radius: var(--border-radius-m);
105
105
  background-color: var(--color-light-bg-primary);
106
- } .gallery__brokenImgWrapper_ndo9f {
106
+ } .gallery__brokenImgWrapper_1y7ir {
107
107
  position: relative;
108
108
  display: flex;
109
109
  flex-direction: column;
110
110
  align-items: center;
111
111
  width: 150px;
112
112
  text-align: center;
113
- } .gallery__brokenImgIcon_ndo9f {
113
+ } .gallery__brokenImgIcon_1y7ir {
114
114
  width: 80px;
115
115
  height: 80px;
116
116
  margin-bottom: var(--gap-2xs);
117
- } .gallery__fullScreenImage_ndo9f {
117
+ } .gallery__fullScreenImage_1y7ir {
118
118
  width: 100%;
119
119
  height: auto;
120
120
  background-color: var(--color-light-bg-primary);
@@ -13,7 +13,7 @@ require('@alfalab/icons-glyph/ChevronForwardHeavyMIcon');
13
13
  require('../../context.js');
14
14
  require('../../utils/utils.js');
15
15
  require('../../utils/constants.js');
16
- require('../../slide-2c42ca22.js');
16
+ require('../../slide-791b7f65.js');
17
17
  require('@alfalab/core-components-typography');
18
18
  require('./paths.js');
19
19
  require('swiper/swiper.min.css');
@@ -6,7 +6,7 @@ require('@alfalab/core-components-typography');
6
6
  require('../../utils/utils.js');
7
7
  require('../../utils/constants.js');
8
8
  require('./paths.js');
9
- var components_imageViewer_slide = require('../../slide-2c42ca22.js');
9
+ var components_imageViewer_slide = require('../../slide-791b7f65.js');
10
10
 
11
11
 
12
12
 
@@ -27,7 +27,7 @@ require('swiper');
27
27
  require('swiper/react');
28
28
  require('@alfalab/icons-glyph/ChevronBackHeavyMIcon');
29
29
  require('@alfalab/icons-glyph/ChevronForwardHeavyMIcon');
30
- require('../slide-2c42ca22.js');
30
+ require('../slide-791b7f65.js');
31
31
  require('./image-viewer/paths.js');
32
32
  require('swiper/swiper.min.css');
33
33
 
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
13
13
 
14
14
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
15
15
 
16
- var styles = {"component":"gallery__component_hg7d4","preview":"gallery__preview_hg7d4"};
16
+ var styles = {"component":"gallery__component_117h7","preview":"gallery__preview_117h7"};
17
17
  require('./index.css')
18
18
 
19
19
  var MIN_SCROLL_STEP = 24;
@@ -1,4 +1,4 @@
1
- /* hash: 1x4yz */
1
+ /* hash: mzcni */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-tertiary-inverted: #3c4c5d;
@@ -17,7 +17,7 @@
17
17
  --gap-xl: 24px;
18
18
  } :root {
19
19
  } :root {
20
- } .gallery__component_hg7d4 {
20
+ } .gallery__component_117h7 {
21
21
  display: flex;
22
22
  flex-wrap: nowrap;
23
23
  align-content: center;
@@ -29,13 +29,13 @@
29
29
  -ms-overflow-style: none;
30
30
  background-color: var(--color-light-bg-tertiary-inverted);
31
31
  scrollbar-width: none
32
- } .gallery__component_hg7d4::-webkit-scrollbar {
32
+ } .gallery__component_117h7::-webkit-scrollbar {
33
33
  display: none;
34
- } .gallery__preview_hg7d4 {
34
+ } .gallery__preview_117h7 {
35
35
  flex-shrink: 0;
36
36
  margin: 0 var(--gap-3xs)
37
- } .gallery__preview_hg7d4:first-child {
37
+ } .gallery__preview_117h7:first-child {
38
38
  margin-left: auto;
39
- } .gallery__preview_hg7d4:last-child {
39
+ } .gallery__preview_117h7:last-child {
40
40
  margin-right: auto;
41
41
  }
package/esm/Component.js CHANGED
@@ -26,11 +26,11 @@ import 'swiper';
26
26
  import 'swiper/react';
27
27
  import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
28
28
  import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
29
- import './slide-746d03af.js';
29
+ import './slide-947121d2.js';
30
30
  import './components/image-viewer/paths.js';
31
31
  import 'swiper/swiper.min.css';
32
32
 
33
- var styles = {"container":"gallery__container_wtfqa","modal":"gallery__modal_wtfqa"};
33
+ var styles = {"container":"gallery__container_1pmio","modal":"gallery__modal_1pmio"};
34
34
  require('./index.css')
35
35
 
36
36
  var Backdrop = function () { return null; };
@@ -14,7 +14,7 @@ import '@alfalab/icons-glyph/ArrowsOutwardMIcon';
14
14
  import '@alfalab/icons-glyph/CrossMIcon';
15
15
  import '@alfalab/icons-glyph/PointerDownMIcon';
16
16
 
17
- var styles = {"header":"gallery__header_gzhg7","buttons":"gallery__buttons_gzhg7"};
17
+ var styles = {"header":"gallery__header_1qpis","buttons":"gallery__buttons_1qpis"};
18
18
  require('./index.css')
19
19
 
20
20
  var Header = function () {
@@ -1,4 +1,4 @@
1
- /* hash: qsqmm */
1
+ /* hash: sd44u */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-tertiary-inverted: #3c4c5d;
@@ -18,7 +18,7 @@
18
18
  --gap-2xl: 32px;
19
19
  } :root {
20
20
  } :root {
21
- } .gallery__header_gzhg7 {
21
+ } .gallery__header_1qpis {
22
22
  display: flex;
23
23
  justify-content: space-between;
24
24
  flex-shrink: 0;
@@ -26,7 +26,7 @@
26
26
  padding: var(--gap-m) var(--gap-xl);
27
27
  background-color: var(--color-light-bg-tertiary-inverted);
28
28
  box-sizing: border-box;
29
- } .gallery__buttons_gzhg7 {
29
+ } .gallery__buttons_1qpis {
30
30
  display: flex;
31
31
  padding-left: var(--gap-2xl);
32
32
  }
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { Typography } from '@alfalab/core-components-typography/esm';
3
3
  import { splitFilename } from '../../utils/split-filename.js';
4
4
 
5
- var styles = {"info":"gallery__info_b9x68","filenameHead":"gallery__filenameHead_b9x68","filenameContainer":"gallery__filenameContainer_b9x68","description":"gallery__description_b9x68"};
5
+ var styles = {"info":"gallery__info_d9vos","filenameHead":"gallery__filenameHead_d9vos","filenameContainer":"gallery__filenameContainer_d9vos","description":"gallery__description_d9vos"};
6
6
  require('./index.css')
7
7
 
8
8
  var HeaderInfoBlock = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: nnyjy */
1
+ /* hash: 1xtkw */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -15,21 +15,21 @@
15
15
  --gap-2xs: 4px;
16
16
  } :root {
17
17
  } :root {
18
- } .gallery__info_b9x68 {
18
+ } .gallery__info_d9vos {
19
19
  height: 100%;
20
20
  display: flex;
21
21
  flex-direction: column;
22
22
  justify-content: center;
23
23
  overflow: hidden;
24
- } .gallery__filenameHead_b9x68 {
24
+ } .gallery__filenameHead_d9vos {
25
25
  display: inline;
26
26
  text-overflow: ellipsis;
27
27
  overflow: hidden;
28
28
  white-space: nowrap;
29
- } .gallery__filenameContainer_b9x68 {
29
+ } .gallery__filenameContainer_d9vos {
30
30
  overflow: hidden;
31
31
  display: inline-flex;
32
- } .gallery__description_b9x68 {
32
+ } .gallery__description_d9vos {
33
33
  display: inline;
34
34
  text-overflow: ellipsis;
35
35
  overflow: hidden;
@@ -4,7 +4,7 @@ import { useFocus } from '@alfalab/hooks';
4
4
  import { GalleryContext } from '../../context.js';
5
5
  import { NoImagePaths } from './paths.js';
6
6
 
7
- var styles = {"component":"gallery__component_wf91b","active":"gallery__active_wf91b","image":"gallery__image_wf91b","preview":"gallery__preview_wf91b","loading":"gallery__loading_wf91b","brokenImageWrapper":"gallery__brokenImageWrapper_wf91b","brokenIcon":"gallery__brokenIcon_wf91b","focused":"gallery__focused_wf91b"};
7
+ var styles = {"component":"gallery__component_yf7jv","active":"gallery__active_yf7jv","image":"gallery__image_yf7jv","preview":"gallery__preview_yf7jv","loading":"gallery__loading_yf7jv","brokenImageWrapper":"gallery__brokenImageWrapper_yf7jv","brokenIcon":"gallery__brokenIcon_yf7jv","focused":"gallery__focused_yf7jv"};
8
8
  require('./index.css')
9
9
 
10
10
  var ImagePreview = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: e4qu8 */
1
+ /* hash: 1oad6 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -21,7 +21,7 @@
21
21
  } :root {
22
22
  } :root {
23
23
  --focus-color: var(--color-light-border-link);
24
- } .gallery__component_wf91b {
24
+ } .gallery__component_yf7jv {
25
25
  display: flex;
26
26
  padding: var(--gap-2xs);
27
27
  border: 2px solid rgba(0, 0, 0, 0);
@@ -29,11 +29,11 @@
29
29
  overflow: hidden;
30
30
  transition: border 0.15s ease-in-out;
31
31
  outline: none;
32
- } .gallery__active_wf91b {
32
+ } .gallery__active_yf7jv {
33
33
  border-color: var(--color-light-border-key-inverted)
34
- } .gallery__active_wf91b > .gallery__image_wf91b {
34
+ } .gallery__active_yf7jv > .gallery__image_yf7jv {
35
35
  opacity: 0.7;
36
- } .gallery__preview_wf91b {
36
+ } .gallery__preview_yf7jv {
37
37
  width: 56px;
38
38
  height: 56px;
39
39
  flex-shrink: 0;
@@ -41,28 +41,28 @@
41
41
  cursor: pointer;
42
42
  -webkit-user-select: none;
43
43
  user-select: none;
44
- } .gallery__image_wf91b {
44
+ } .gallery__image_yf7jv {
45
45
  background-color: var(--color-light-bg-primary);
46
46
  background-size: cover;
47
47
  background-repeat: no-repeat;
48
48
  background-position: center;
49
49
  transition: opacity 0.15s ease-in-out
50
- } .gallery__image_wf91b:hover {
50
+ } .gallery__image_yf7jv:hover {
51
51
  opacity: 0.7;
52
- } .gallery__loading_wf91b {
52
+ } .gallery__loading_yf7jv {
53
53
  /* TODO: цвета нет в палитре */
54
54
  background-color: #e9eaeb;
55
- } .gallery__brokenImageWrapper_wf91b {
55
+ } .gallery__brokenImageWrapper_yf7jv {
56
56
  display: flex;
57
57
  justify-content: center;
58
58
  align-items: center;
59
59
  background-color: var(--color-light-bg-primary)
60
- } .gallery__brokenImageWrapper_wf91b:hover {
60
+ } .gallery__brokenImageWrapper_yf7jv:hover {
61
61
  opacity: 0.7;
62
- } .gallery__brokenIcon_wf91b {
62
+ } .gallery__brokenIcon_yf7jv {
63
63
  width: 40px;
64
64
  height: 40px;
65
- } .gallery__focused_wf91b {
65
+ } .gallery__focused_yf7jv {
66
66
  outline: 2px solid var(--focus-color);
67
67
  outline-offset: 2px;
68
68
  }
@@ -10,7 +10,7 @@ import { ChevronForwardHeavyMIcon } from '@alfalab/icons-glyph/ChevronForwardHea
10
10
  import { GalleryContext } from '../../context.js';
11
11
  import { getImageAlt, getImageKey } from '../../utils/utils.js';
12
12
  import { TestIds } from '../../utils/constants.js';
13
- import { s as styles, S as Slide } from '../../slide-746d03af.js';
13
+ import { s as styles, S as Slide } from '../../slide-947121d2.js';
14
14
  import 'swiper/swiper.min.css';
15
15
  import '@alfalab/core-components-typography/esm';
16
16
  import './paths.js';