@alfalab/core-components-gallery 5.1.0 → 5.1.2

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 (63) hide show
  1. package/Component.js +3 -3
  2. package/components/header/Component.js +2 -2
  3. package/components/header/buttons.js +1 -1
  4. package/components/header/index.css +3 -3
  5. package/components/header/index.js +1 -1
  6. package/components/header-info-block/Component.js +1 -1
  7. package/components/header-info-block/index.css +5 -5
  8. package/components/image-preview/Component.js +1 -1
  9. package/components/image-preview/index.css +12 -12
  10. package/components/image-viewer/component.js +2 -2
  11. package/components/image-viewer/index.css +19 -19
  12. package/components/image-viewer/index.js +2 -2
  13. package/components/image-viewer/slide.js +1 -1
  14. package/components/index.js +2 -2
  15. package/components/navigation-bar/Component.js +1 -1
  16. package/components/navigation-bar/index.css +6 -6
  17. package/esm/Component.js +3 -3
  18. package/esm/components/header/Component.js +2 -2
  19. package/esm/components/header/buttons.js +1 -1
  20. package/esm/components/header/index.css +3 -3
  21. package/esm/components/header/index.js +1 -1
  22. package/esm/components/header-info-block/Component.js +1 -1
  23. package/esm/components/header-info-block/index.css +5 -5
  24. package/esm/components/image-preview/Component.js +1 -1
  25. package/esm/components/image-preview/index.css +12 -12
  26. package/esm/components/image-viewer/component.js +2 -2
  27. package/esm/components/image-viewer/index.css +19 -19
  28. package/esm/components/image-viewer/index.js +2 -2
  29. package/esm/components/image-viewer/slide.js +1 -1
  30. package/esm/components/index.js +2 -2
  31. package/esm/components/navigation-bar/Component.js +1 -1
  32. package/esm/components/navigation-bar/index.css +6 -6
  33. package/esm/index.css +3 -3
  34. package/esm/index.js +2 -2
  35. package/esm/{slide-25c42ce8.d.ts → slide-58b2fb7c.d.ts} +0 -0
  36. package/esm/{slide-25c42ce8.js → slide-58b2fb7c.js} +1 -1
  37. package/esm/{tslib.es6-9246d2d5.d.ts → tslib.es6-22fa6d99.d.ts} +0 -0
  38. package/esm/{tslib.es6-9246d2d5.js → tslib.es6-22fa6d99.js} +0 -0
  39. package/index.css +3 -3
  40. package/index.js +2 -2
  41. package/modern/Component.js +2 -2
  42. package/modern/components/header/Component.js +1 -1
  43. package/modern/components/header/index.css +3 -3
  44. package/modern/components/header-info-block/Component.js +1 -1
  45. package/modern/components/header-info-block/index.css +5 -5
  46. package/modern/components/image-preview/Component.js +1 -1
  47. package/modern/components/image-preview/index.css +12 -12
  48. package/modern/components/image-viewer/component.js +1 -1
  49. package/modern/components/image-viewer/index.css +19 -19
  50. package/modern/components/image-viewer/index.js +1 -1
  51. package/modern/components/image-viewer/slide.js +1 -1
  52. package/modern/components/index.js +1 -1
  53. package/modern/components/navigation-bar/Component.js +1 -1
  54. package/modern/components/navigation-bar/index.css +6 -6
  55. package/modern/index.css +3 -3
  56. package/modern/index.js +1 -1
  57. package/modern/{slide-b5114cdc.d.ts → slide-5e01c319.d.ts} +0 -0
  58. package/modern/{slide-b5114cdc.js → slide-5e01c319.js} +1 -1
  59. package/package.json +4 -4
  60. package/{slide-403f6a83.d.ts → slide-4734d536.d.ts} +0 -0
  61. package/{slide-403f6a83.js → slide-4734d536.js} +1 -1
  62. /package/{tslib.es6-778dc5ea.d.ts → tslib.es6-09b8d70e.d.ts} +0 -0
  63. /package/{tslib.es6-778dc5ea.js → tslib.es6-09b8d70e.js} +0 -0
package/Component.js CHANGED
@@ -15,7 +15,7 @@ require('./components/image-preview/Component.js');
15
15
  var components_navigationBar_Component = require('./components/navigation-bar/Component.js');
16
16
  require('@alfalab/core-components-typography');
17
17
  require('./components/header-info-block/Component.js');
18
- require('./tslib.es6-778dc5ea.js');
18
+ require('./tslib.es6-09b8d70e.js');
19
19
  require('@alfalab/core-components-icon-button');
20
20
  require('@alfalab/core-components-tooltip');
21
21
  require('@alfalab/icons-glyph/ArrowsInwardMIcon');
@@ -30,7 +30,7 @@ require('swiper/react');
30
30
  require('@alfalab/icons-glyph/ChevronBackHeavyMIcon');
31
31
  require('@alfalab/icons-glyph/ChevronForwardHeavyMIcon');
32
32
  require('./components/image-viewer/paths.js');
33
- require('./slide-403f6a83.js');
33
+ require('./slide-4734d536.js');
34
34
  require('swiper/swiper.min.css');
35
35
  var components_imageViewer_component = require('./components/image-viewer/component.js');
36
36
 
@@ -38,7 +38,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
38
38
 
39
39
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
40
40
 
41
- var styles = {"container":"gallery__container_m1gpb","modal":"gallery__modal_m1gpb"};
41
+ var styles = {"container":"gallery__container_z7dru","modal":"gallery__modal_z7dru"};
42
42
  require('./index.css')
43
43
 
44
44
  var Backdrop = function () { return null; };
@@ -9,7 +9,7 @@ var utils_utils = require('../../utils/utils.js');
9
9
  var utils_constants = require('../../utils/constants.js');
10
10
  require('@alfalab/core-components-typography');
11
11
  var components_headerInfoBlock_Component = require('../header-info-block/Component.js');
12
- require('../../tslib.es6-778dc5ea.js');
12
+ require('../../tslib.es6-09b8d70e.js');
13
13
  require('@alfalab/core-components-icon-button');
14
14
  require('@alfalab/core-components-tooltip');
15
15
  require('@alfalab/icons-glyph/ArrowsInwardMIcon');
@@ -22,7 +22,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
22
22
 
23
23
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
24
24
 
25
- var styles = {"header":"gallery__header_g8cia","buttons":"gallery__buttons_g8cia"};
25
+ var styles = {"header":"gallery__header_13m2c","buttons":"gallery__buttons_13m2c"};
26
26
  require('./index.css')
27
27
 
28
28
  var Header = function () {
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
- var tslib_es6 = require('../../tslib.es6-778dc5ea.js');
6
+ var tslib_es6 = require('../../tslib.es6-09b8d70e.js');
7
7
  var coreComponentsIconButton = require('@alfalab/core-components-icon-button');
8
8
  var coreComponentsTooltip = require('@alfalab/core-components-tooltip');
9
9
  var ArrowsInwardMIcon = require('@alfalab/icons-glyph/ArrowsInwardMIcon');
@@ -1,4 +1,4 @@
1
- /* hash: 1ldz3 */
1
+ /* hash: 1nkso */
2
2
  :root {
3
3
  --color-light-bg-tertiary-inverted: #3c4c5d;
4
4
  }
@@ -15,7 +15,7 @@
15
15
  --gap-xl: 24px;
16
16
  --gap-2xl: 32px;
17
17
  }
18
- .gallery__header_g8cia {
18
+ .gallery__header_13m2c {
19
19
  display: flex;
20
20
  justify-content: space-between;
21
21
  flex-shrink: 0;
@@ -24,7 +24,7 @@
24
24
  background-color: var(--color-light-bg-tertiary-inverted);
25
25
  box-sizing: border-box;
26
26
  }
27
- .gallery__buttons_g8cia {
27
+ .gallery__buttons_13m2c {
28
28
  display: flex;
29
29
  padding-left: var(--gap-2xl);
30
30
  }
@@ -9,7 +9,7 @@ require('../../utils/utils.js');
9
9
  require('../../utils/constants.js');
10
10
  require('@alfalab/core-components-typography');
11
11
  require('../header-info-block/Component.js');
12
- require('../../tslib.es6-778dc5ea.js');
12
+ require('../../tslib.es6-09b8d70e.js');
13
13
  require('@alfalab/core-components-icon-button');
14
14
  require('@alfalab/core-components-tooltip');
15
15
  require('@alfalab/icons-glyph/ArrowsInwardMIcon');
@@ -10,7 +10,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
10
10
 
11
11
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
12
12
 
13
- var styles = {"info":"gallery__info_1s80s","filenameHead":"gallery__filenameHead_1s80s","filenameContainer":"gallery__filenameContainer_1s80s","description":"gallery__description_1s80s"};
13
+ var styles = {"info":"gallery__info_14uay","filenameHead":"gallery__filenameHead_14uay","filenameContainer":"gallery__filenameContainer_14uay","description":"gallery__description_14uay"};
14
14
  require('./index.css')
15
15
 
16
16
  var HeaderInfoBlock = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: b7i97 */
1
+ /* hash: 5zrha */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -10,24 +10,24 @@
10
10
  :root {
11
11
  --gap-2xs: 4px;
12
12
  }
13
- .gallery__info_1s80s {
13
+ .gallery__info_14uay {
14
14
  height: 100%;
15
15
  display: flex;
16
16
  flex-direction: column;
17
17
  justify-content: center;
18
18
  overflow: hidden;
19
19
  }
20
- .gallery__filenameHead_1s80s {
20
+ .gallery__filenameHead_14uay {
21
21
  display: inline;
22
22
  text-overflow: ellipsis;
23
23
  overflow: hidden;
24
24
  white-space: nowrap;
25
25
  }
26
- .gallery__filenameContainer_1s80s {
26
+ .gallery__filenameContainer_14uay {
27
27
  overflow: hidden;
28
28
  display: inline-flex;
29
29
  }
30
- .gallery__description_1s80s {
30
+ .gallery__description_14uay {
31
31
  display: inline;
32
32
  text-overflow: ellipsis;
33
33
  overflow: hidden;
@@ -13,7 +13,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
13
13
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
14
14
  var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
15
15
 
16
- var styles = {"component":"gallery__component_8l3kw","active":"gallery__active_8l3kw","image":"gallery__image_8l3kw","preview":"gallery__preview_8l3kw","loading":"gallery__loading_8l3kw","brokenImageWrapper":"gallery__brokenImageWrapper_8l3kw","brokenIcon":"gallery__brokenIcon_8l3kw","focused":"gallery__focused_8l3kw"};
16
+ var styles = {"component":"gallery__component_1k8ht","active":"gallery__active_1k8ht","image":"gallery__image_1k8ht","preview":"gallery__preview_1k8ht","loading":"gallery__loading_1k8ht","brokenImageWrapper":"gallery__brokenImageWrapper_1k8ht","brokenIcon":"gallery__brokenIcon_1k8ht","focused":"gallery__focused_1k8ht"};
17
17
  require('./index.css')
18
18
 
19
19
  var ImagePreview = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1oajh */
1
+ /* hash: 14en0 */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-key-inverted: #fff;
@@ -22,7 +22,7 @@
22
22
  :root {
23
23
  --focus-color: var(--color-light-border-link);
24
24
  }
25
- .gallery__component_8l3kw {
25
+ .gallery__component_1k8ht {
26
26
  display: flex;
27
27
  padding: var(--gap-2xs);
28
28
  border: 2px solid rgba(0, 0, 0, 0);
@@ -31,13 +31,13 @@
31
31
  transition: border 0.15s ease-in-out;
32
32
  outline: none;
33
33
  }
34
- .gallery__active_8l3kw {
34
+ .gallery__active_1k8ht {
35
35
  border-color: var(--color-light-border-key-inverted)
36
36
  }
37
- .gallery__active_8l3kw > .gallery__image_8l3kw {
37
+ .gallery__active_1k8ht > .gallery__image_1k8ht {
38
38
  opacity: 0.7;
39
39
  }
40
- .gallery__preview_8l3kw {
40
+ .gallery__preview_1k8ht {
41
41
  width: 56px;
42
42
  height: 56px;
43
43
  flex-shrink: 0;
@@ -46,34 +46,34 @@
46
46
  -webkit-user-select: none;
47
47
  user-select: none;
48
48
  }
49
- .gallery__image_8l3kw {
49
+ .gallery__image_1k8ht {
50
50
  background-color: var(--color-light-bg-primary);
51
51
  background-size: cover;
52
52
  background-repeat: no-repeat;
53
53
  background-position: center;
54
54
  transition: opacity 0.15s ease-in-out
55
55
  }
56
- .gallery__image_8l3kw:hover {
56
+ .gallery__image_1k8ht:hover {
57
57
  opacity: 0.7;
58
58
  }
59
- .gallery__loading_8l3kw {
59
+ .gallery__loading_1k8ht {
60
60
  /* TODO: цвета нет в палитре */
61
61
  background-color: #e9eaeb;
62
62
  }
63
- .gallery__brokenImageWrapper_8l3kw {
63
+ .gallery__brokenImageWrapper_1k8ht {
64
64
  display: flex;
65
65
  justify-content: center;
66
66
  align-items: center;
67
67
  background-color: var(--color-light-bg-primary)
68
68
  }
69
- .gallery__brokenImageWrapper_8l3kw:hover {
69
+ .gallery__brokenImageWrapper_1k8ht:hover {
70
70
  opacity: 0.7;
71
71
  }
72
- .gallery__brokenIcon_8l3kw {
72
+ .gallery__brokenIcon_1k8ht {
73
73
  width: 40px;
74
74
  height: 40px;
75
75
  }
76
- .gallery__focused_8l3kw {
76
+ .gallery__focused_1k8ht {
77
77
  outline: 2px solid var(--focus-color);
78
78
  outline-offset: 2px;
79
79
  }
@@ -9,14 +9,14 @@ var utils_constants = require('../../utils/constants.js');
9
9
  var cn = require('classnames');
10
10
  var hooks = require('@alfalab/hooks');
11
11
  require('@alfalab/core-components-typography');
12
- var tslib_es6 = require('../../tslib.es6-778dc5ea.js');
12
+ var tslib_es6 = require('../../tslib.es6-09b8d70e.js');
13
13
  var elementClosest = require('element-closest');
14
14
  var SwiperCore = require('swiper');
15
15
  var react = require('swiper/react');
16
16
  var ChevronBackHeavyMIcon = require('@alfalab/icons-glyph/ChevronBackHeavyMIcon');
17
17
  var ChevronForwardHeavyMIcon = require('@alfalab/icons-glyph/ChevronForwardHeavyMIcon');
18
18
  require('./paths.js');
19
- var components_imageViewer_slide = require('../../slide-403f6a83.js');
19
+ var components_imageViewer_slide = require('../../slide-4734d536.js');
20
20
  require('swiper/swiper.min.css');
21
21
 
22
22
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -1,4 +1,4 @@
1
- /* hash: tekcq */
1
+ /* hash: y2z33 */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-link: #007aff;
@@ -26,14 +26,14 @@
26
26
  :root {
27
27
  --focus-color: var(--color-light-border-link);
28
28
  }
29
- .gallery__component_1klum {
29
+ .gallery__component_1xrro {
30
30
  display: flex;
31
31
  flex-grow: 1;
32
32
  justify-content: center;
33
33
  align-items: center;
34
34
  background-color: var(--color-light-bg-primary-inverted-alpha-50);
35
35
  }
36
- .gallery__swiper_1klum {
36
+ .gallery__swiper_1xrro {
37
37
  display: flex;
38
38
  width: 100%;
39
39
  height: 100%;
@@ -43,14 +43,14 @@
43
43
  padding: var(--gap-2xl) var(--gap-m);
44
44
  box-sizing: border-box;
45
45
  }
46
- .gallery__singleSlide_1klum .gallery__swiper_1klum {
46
+ .gallery__singleSlide_1xrro .gallery__swiper_1xrro {
47
47
  max-height: calc(100vh - 80px);
48
48
  padding: var(--gap-2xl);
49
49
  }
50
- .gallery__hidden_1klum {
50
+ .gallery__hidden_1xrro {
51
51
  display: none;
52
52
  }
53
- .gallery__slide_1klum {
53
+ .gallery__slide_1xrro {
54
54
  position: relative;
55
55
  display: flex;
56
56
  justify-content: center;
@@ -58,12 +58,12 @@
58
58
  width: 100%;
59
59
  height: 100%;
60
60
  }
61
- .gallery__slideLoading_1klum {
61
+ .gallery__slideLoading_1xrro {
62
62
  /* TODO: цвета нет в палитре */
63
63
  background-color: #e9eaeb;
64
64
  border-radius: var(--border-radius-m);
65
65
  }
66
- .gallery__image_1klum {
66
+ .gallery__image_1xrro {
67
67
  width: 0;
68
68
  height: 0;
69
69
  -webkit-user-select: none;
@@ -71,7 +71,7 @@
71
71
  background-color: var(--color-light-bg-primary);
72
72
  border-radius: var(--border-radius-m);
73
73
  }
74
- .gallery__smallImage_1klum {
74
+ .gallery__smallImage_1xrro {
75
75
  position: relative;
76
76
  width: auto;
77
77
  height: auto;
@@ -79,15 +79,15 @@
79
79
  user-select: none;
80
80
  background-color: var(--color-light-bg-primary);
81
81
  }
82
- .gallery__verticalImageFit_1klum {
82
+ .gallery__verticalImageFit_1xrro {
83
83
  width: auto;
84
84
  height: 100%;
85
85
  }
86
- .gallery__horizontalImageFit_1klum {
86
+ .gallery__horizontalImageFit_1xrro {
87
87
  width: 100%;
88
88
  height: auto;
89
89
  }
90
- .gallery__arrow_1klum {
90
+ .gallery__arrow_1xrro {
91
91
  display: flex;
92
92
  flex-direction: column;
93
93
  justify-content: center;
@@ -100,17 +100,17 @@
100
100
  transition: background-color 0.15s ease-in-out;
101
101
  outline: none
102
102
  }
103
- .gallery__arrow_1klum:hover {
103
+ .gallery__arrow_1xrro:hover {
104
104
  background-color: var(--color-light-bg-primary-inverted-alpha-10);
105
105
  }
106
- .gallery__arrow_1klum:active {
106
+ .gallery__arrow_1xrro:active {
107
107
  background-color: var(--color-light-bg-primary-inverted-alpha-20);
108
108
  }
109
- .gallery__focused_1klum {
109
+ .gallery__focused_1xrro {
110
110
  outline: 2px solid var(--focus-color);
111
111
  outline-offset: 2px;
112
112
  }
113
- .gallery__placeholder_1klum {
113
+ .gallery__placeholder_1xrro {
114
114
  display: flex;
115
115
  justify-content: center;
116
116
  align-items: center;
@@ -119,7 +119,7 @@
119
119
  border-radius: var(--border-radius-m);
120
120
  background-color: var(--color-light-bg-primary);
121
121
  }
122
- .gallery__brokenImgWrapper_1klum {
122
+ .gallery__brokenImgWrapper_1xrro {
123
123
  position: relative;
124
124
  display: flex;
125
125
  flex-direction: column;
@@ -127,12 +127,12 @@
127
127
  width: 150px;
128
128
  text-align: center;
129
129
  }
130
- .gallery__brokenImgIcon_1klum {
130
+ .gallery__brokenImgIcon_1xrro {
131
131
  width: 80px;
132
132
  height: 80px;
133
133
  margin-bottom: var(--gap-2xs);
134
134
  }
135
- .gallery__fullScreenImage_1klum {
135
+ .gallery__fullScreenImage_1xrro {
136
136
  width: 100%;
137
137
  height: auto;
138
138
  background-color: var(--color-light-bg-primary);
@@ -9,14 +9,14 @@ require('../../utils/constants.js');
9
9
  require('classnames');
10
10
  require('@alfalab/hooks');
11
11
  require('@alfalab/core-components-typography');
12
- require('../../tslib.es6-778dc5ea.js');
12
+ require('../../tslib.es6-09b8d70e.js');
13
13
  require('element-closest');
14
14
  require('swiper');
15
15
  require('swiper/react');
16
16
  require('@alfalab/icons-glyph/ChevronBackHeavyMIcon');
17
17
  require('@alfalab/icons-glyph/ChevronForwardHeavyMIcon');
18
18
  require('./paths.js');
19
- require('../../slide-403f6a83.js');
19
+ require('../../slide-4734d536.js');
20
20
  require('swiper/swiper.min.css');
21
21
  var components_imageViewer_component = require('./component.js');
22
22
 
@@ -8,7 +8,7 @@ require('../../utils/constants.js');
8
8
  require('classnames');
9
9
  require('@alfalab/core-components-typography');
10
10
  require('./paths.js');
11
- var components_imageViewer_slide = require('../../slide-403f6a83.js');
11
+ var components_imageViewer_slide = require('../../slide-4734d536.js');
12
12
 
13
13
 
14
14
 
@@ -14,7 +14,7 @@ var components_imagePreview_Component = require('./image-preview/Component.js');
14
14
  var components_navigationBar_Component = require('./navigation-bar/Component.js');
15
15
  require('@alfalab/core-components-typography');
16
16
  require('./header-info-block/Component.js');
17
- require('../tslib.es6-778dc5ea.js');
17
+ require('../tslib.es6-09b8d70e.js');
18
18
  require('@alfalab/core-components-icon-button');
19
19
  require('@alfalab/core-components-tooltip');
20
20
  require('@alfalab/icons-glyph/ArrowsInwardMIcon');
@@ -29,7 +29,7 @@ require('swiper/react');
29
29
  require('@alfalab/icons-glyph/ChevronBackHeavyMIcon');
30
30
  require('@alfalab/icons-glyph/ChevronForwardHeavyMIcon');
31
31
  require('./image-viewer/paths.js');
32
- require('../slide-403f6a83.js');
32
+ require('../slide-4734d536.js');
33
33
  require('swiper/swiper.min.css');
34
34
  var components_imageViewer_component = require('./image-viewer/component.js');
35
35
 
@@ -15,7 +15,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
15
15
 
16
16
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
17
17
 
18
- var styles = {"component":"gallery__component_8hmyo","preview":"gallery__preview_8hmyo"};
18
+ var styles = {"component":"gallery__component_1k516","preview":"gallery__preview_1k516"};
19
19
  require('./index.css')
20
20
 
21
21
  var MIN_SCROLL_STEP = 24;
@@ -1,4 +1,4 @@
1
- /* hash: wr7qj */
1
+ /* hash: 1smwl */
2
2
  :root {
3
3
  --color-light-bg-tertiary-inverted: #3c4c5d;
4
4
  }
@@ -14,7 +14,7 @@
14
14
  --gap-3xs: 2px;
15
15
  --gap-xl: 24px;
16
16
  }
17
- .gallery__component_8hmyo {
17
+ .gallery__component_1k516 {
18
18
  display: flex;
19
19
  flex-wrap: nowrap;
20
20
  align-content: center;
@@ -27,16 +27,16 @@
27
27
  background-color: var(--color-light-bg-tertiary-inverted);
28
28
  scrollbar-width: none
29
29
  }
30
- .gallery__component_8hmyo::-webkit-scrollbar {
30
+ .gallery__component_1k516::-webkit-scrollbar {
31
31
  display: none;
32
32
  }
33
- .gallery__preview_8hmyo {
33
+ .gallery__preview_1k516 {
34
34
  flex-shrink: 0;
35
35
  margin: 0 var(--gap-3xs)
36
36
  }
37
- .gallery__preview_8hmyo:first-child {
37
+ .gallery__preview_1k516:first-child {
38
38
  margin-left: auto;
39
39
  }
40
- .gallery__preview_8hmyo:last-child {
40
+ .gallery__preview_1k516:last-child {
41
41
  margin-right: auto;
42
42
  }
package/esm/Component.js CHANGED
@@ -11,7 +11,7 @@ import './components/image-preview/Component.js';
11
11
  import { NavigationBar } from './components/navigation-bar/Component.js';
12
12
  import '@alfalab/core-components-typography/esm';
13
13
  import './components/header-info-block/Component.js';
14
- import './tslib.es6-9246d2d5.js';
14
+ import './tslib.es6-22fa6d99.js';
15
15
  import '@alfalab/core-components-icon-button/esm';
16
16
  import '@alfalab/core-components-tooltip/esm';
17
17
  import '@alfalab/icons-glyph/ArrowsInwardMIcon';
@@ -26,11 +26,11 @@ import 'swiper/react';
26
26
  import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
27
27
  import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
28
28
  import './components/image-viewer/paths.js';
29
- import './slide-25c42ce8.js';
29
+ import './slide-58b2fb7c.js';
30
30
  import 'swiper/swiper.min.css';
31
31
  import { ImageViewer } from './components/image-viewer/component.js';
32
32
 
33
- var styles = {"container":"gallery__container_m1gpb","modal":"gallery__modal_m1gpb"};
33
+ var styles = {"container":"gallery__container_z7dru","modal":"gallery__modal_z7dru"};
34
34
  require('./index.css')
35
35
 
36
36
  var Backdrop = function () { return null; };
@@ -5,7 +5,7 @@ import { isSmallImage } from '../../utils/utils.js';
5
5
  import { TestIds } from '../../utils/constants.js';
6
6
  import '@alfalab/core-components-typography/esm';
7
7
  import { HeaderInfoBlock } from '../header-info-block/Component.js';
8
- import '../../tslib.es6-9246d2d5.js';
8
+ import '../../tslib.es6-22fa6d99.js';
9
9
  import '@alfalab/core-components-icon-button/esm';
10
10
  import '@alfalab/core-components-tooltip/esm';
11
11
  import '@alfalab/icons-glyph/ArrowsInwardMIcon';
@@ -14,7 +14,7 @@ import '@alfalab/icons-glyph/CrossMIcon';
14
14
  import '@alfalab/icons-glyph/PointerDownMIcon';
15
15
  import { ExitFullscreen, Fullscreen, Download, Exit } from './buttons.js';
16
16
 
17
- var styles = {"header":"gallery__header_g8cia","buttons":"gallery__buttons_g8cia"};
17
+ var styles = {"header":"gallery__header_13m2c","buttons":"gallery__buttons_13m2c"};
18
18
  require('./index.css')
19
19
 
20
20
  var Header = function () {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { a as __rest, _ as __assign } from '../../tslib.es6-9246d2d5.js';
2
+ import { a as __rest, _ as __assign } from '../../tslib.es6-22fa6d99.js';
3
3
  import { IconButton } from '@alfalab/core-components-icon-button/esm';
4
4
  import { Tooltip } from '@alfalab/core-components-tooltip/esm';
5
5
  import { ArrowsInwardMIcon } from '@alfalab/icons-glyph/ArrowsInwardMIcon';
@@ -1,4 +1,4 @@
1
- /* hash: 1ldz3 */
1
+ /* hash: 1nkso */
2
2
  :root {
3
3
  --color-light-bg-tertiary-inverted: #3c4c5d;
4
4
  }
@@ -15,7 +15,7 @@
15
15
  --gap-xl: 24px;
16
16
  --gap-2xl: 32px;
17
17
  }
18
- .gallery__header_g8cia {
18
+ .gallery__header_13m2c {
19
19
  display: flex;
20
20
  justify-content: space-between;
21
21
  flex-shrink: 0;
@@ -24,7 +24,7 @@
24
24
  background-color: var(--color-light-bg-tertiary-inverted);
25
25
  box-sizing: border-box;
26
26
  }
27
- .gallery__buttons_g8cia {
27
+ .gallery__buttons_13m2c {
28
28
  display: flex;
29
29
  padding-left: var(--gap-2xl);
30
30
  }
@@ -5,7 +5,7 @@ import '../../utils/utils.js';
5
5
  import '../../utils/constants.js';
6
6
  import '@alfalab/core-components-typography/esm';
7
7
  import '../header-info-block/Component.js';
8
- import '../../tslib.es6-9246d2d5.js';
8
+ import '../../tslib.es6-22fa6d99.js';
9
9
  import '@alfalab/core-components-icon-button/esm';
10
10
  import '@alfalab/core-components-tooltip/esm';
11
11
  import '@alfalab/icons-glyph/ArrowsInwardMIcon';
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { splitFilename } from '../../utils/split-filename.js';
3
3
  import { Typography } from '@alfalab/core-components-typography/esm';
4
4
 
5
- var styles = {"info":"gallery__info_1s80s","filenameHead":"gallery__filenameHead_1s80s","filenameContainer":"gallery__filenameContainer_1s80s","description":"gallery__description_1s80s"};
5
+ var styles = {"info":"gallery__info_14uay","filenameHead":"gallery__filenameHead_14uay","filenameContainer":"gallery__filenameContainer_14uay","description":"gallery__description_14uay"};
6
6
  require('./index.css')
7
7
 
8
8
  var HeaderInfoBlock = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: b7i97 */
1
+ /* hash: 5zrha */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -10,24 +10,24 @@
10
10
  :root {
11
11
  --gap-2xs: 4px;
12
12
  }
13
- .gallery__info_1s80s {
13
+ .gallery__info_14uay {
14
14
  height: 100%;
15
15
  display: flex;
16
16
  flex-direction: column;
17
17
  justify-content: center;
18
18
  overflow: hidden;
19
19
  }
20
- .gallery__filenameHead_1s80s {
20
+ .gallery__filenameHead_14uay {
21
21
  display: inline;
22
22
  text-overflow: ellipsis;
23
23
  overflow: hidden;
24
24
  white-space: nowrap;
25
25
  }
26
- .gallery__filenameContainer_1s80s {
26
+ .gallery__filenameContainer_14uay {
27
27
  overflow: hidden;
28
28
  display: inline-flex;
29
29
  }
30
- .gallery__description_1s80s {
30
+ .gallery__description_14uay {
31
31
  display: inline;
32
32
  text-overflow: ellipsis;
33
33
  overflow: hidden;
@@ -4,7 +4,7 @@ import cn from 'classnames';
4
4
  import { useFocus } from '@alfalab/hooks';
5
5
  import { NoImagePaths } from './paths.js';
6
6
 
7
- var styles = {"component":"gallery__component_8l3kw","active":"gallery__active_8l3kw","image":"gallery__image_8l3kw","preview":"gallery__preview_8l3kw","loading":"gallery__loading_8l3kw","brokenImageWrapper":"gallery__brokenImageWrapper_8l3kw","brokenIcon":"gallery__brokenIcon_8l3kw","focused":"gallery__focused_8l3kw"};
7
+ var styles = {"component":"gallery__component_1k8ht","active":"gallery__active_1k8ht","image":"gallery__image_1k8ht","preview":"gallery__preview_1k8ht","loading":"gallery__loading_1k8ht","brokenImageWrapper":"gallery__brokenImageWrapper_1k8ht","brokenIcon":"gallery__brokenIcon_1k8ht","focused":"gallery__focused_1k8ht"};
8
8
  require('./index.css')
9
9
 
10
10
  var ImagePreview = function (_a) {