@alfalab/core-components-gallery 5.5.13 → 5.5.14

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 +1 -1
  2. package/{buttons-0e0683d9.js → buttons-437f8aea.js} +1 -1
  3. package/components/header/Component.js +1 -1
  4. package/components/header/buttons.js +1 -1
  5. package/components/header/index.css +6 -6
  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 +14 -14
  10. package/components/image-viewer/component.js +1 -1
  11. package/components/image-viewer/index.css +19 -19
  12. package/components/image-viewer/slide.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 +1 -1
  16. package/esm/{buttons-eabdb51b.js → buttons-442d6181.js} +1 -1
  17. package/esm/components/header/Component.js +1 -1
  18. package/esm/components/header/buttons.js +1 -1
  19. package/esm/components/header/index.css +6 -6
  20. package/esm/components/header-info-block/Component.js +1 -1
  21. package/esm/components/header-info-block/index.css +5 -5
  22. package/esm/components/image-preview/Component.js +1 -1
  23. package/esm/components/image-preview/index.css +14 -14
  24. package/esm/components/image-viewer/component.js +1 -1
  25. package/esm/components/image-viewer/index.css +19 -19
  26. package/esm/components/image-viewer/slide.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/{slide-a8f6ccc1.js → slide-aea33968.js} +1 -1
  31. package/index.css +3 -3
  32. package/modern/Component.js +1 -1
  33. package/modern/{buttons-062ff167.js → buttons-80064e86.js} +1 -1
  34. package/modern/components/header/Component.js +1 -1
  35. package/modern/components/header/buttons.js +1 -1
  36. package/modern/components/header/index.css +6 -6
  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 +14 -14
  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/slide.js +1 -1
  44. package/modern/components/navigation-bar/Component.js +1 -1
  45. package/modern/components/navigation-bar/index.css +6 -6
  46. package/modern/index.css +3 -3
  47. package/modern/{slide-b5566e19.js → slide-f6531b9f.js} +1 -1
  48. package/package.json +4 -4
  49. package/{slide-3d8ed06b.js → slide-c88e829f.js} +1 -1
  50. /package/{buttons-0e0683d9.d.ts → buttons-437f8aea.d.ts} +0 -0
  51. /package/esm/{buttons-eabdb51b.d.ts → buttons-442d6181.d.ts} +0 -0
  52. /package/esm/{slide-a8f6ccc1.d.ts → slide-aea33968.d.ts} +0 -0
  53. /package/modern/{buttons-062ff167.d.ts → buttons-80064e86.d.ts} +0 -0
  54. /package/modern/{slide-b5566e19.d.ts → slide-f6531b9f.d.ts} +0 -0
  55. /package/{slide-3d8ed06b.d.ts → slide-c88e829f.d.ts} +0 -0
package/Component.js CHANGED
@@ -15,7 +15,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
15
15
 
16
16
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
17
17
 
18
- var styles = {"container":"gallery__container_bvl2y","modal":"gallery__modal_bvl2y"};
18
+ var styles = {"container":"gallery__container_zlelo","modal":"gallery__modal_zlelo"};
19
19
  require('./index.css')
20
20
 
21
21
  var Backdrop = function () { return null; };
@@ -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 = {"header":"gallery__header_162p1","buttons":"gallery__buttons_162p1","iconButton":"gallery__iconButton_162p1"};
16
+ var styles = {"header":"gallery__header_6kjdn","buttons":"gallery__buttons_6kjdn","iconButton":"gallery__iconButton_6kjdn"};
17
17
  require('./components/header/index.css')
18
18
 
19
19
  var Fullscreen = function (_a) {
@@ -7,7 +7,7 @@ var context = require('../../context.js');
7
7
  var utils_utils = require('../../utils/utils.js');
8
8
  var utils_constants = require('../../utils/constants.js');
9
9
  var components_headerInfoBlock_Component = require('../header-info-block/Component.js');
10
- var components_header_buttons = require('../../buttons-0e0683d9.js');
10
+ var components_header_buttons = require('../../buttons-437f8aea.js');
11
11
 
12
12
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
13
13
 
@@ -10,7 +10,7 @@ require('@alfalab/icons-glyph/ArrowsInwardMIcon');
10
10
  require('@alfalab/icons-glyph/ArrowsOutwardMIcon');
11
11
  require('@alfalab/icons-glyph/CrossMIcon');
12
12
  require('@alfalab/icons-glyph/PointerDownMIcon');
13
- var components_header_buttons = require('../../buttons-0e0683d9.js');
13
+ var components_header_buttons = require('../../buttons-437f8aea.js');
14
14
 
15
15
 
16
16
 
@@ -1,4 +1,4 @@
1
- /* hash: 1len8 */
1
+ /* hash: outx1 */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root {
4
4
  --color-static-graphic-light: #fff; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -20,20 +20,20 @@
20
20
  --gap-2xl: 32px;
21
21
  } :root {
22
22
  } :root {
23
- } .gallery__header_162p1 {
23
+ } .gallery__header_6kjdn {
24
24
  display: flex;
25
25
  justify-content: space-between;
26
26
  flex-shrink: 0;
27
27
  width: 100%;
28
28
  padding: var(--gap-m) var(--gap-xl);
29
29
  box-sizing: border-box;
30
- } .gallery__buttons_162p1 {
30
+ } .gallery__buttons_6kjdn {
31
31
  display: flex;
32
32
  padding-left: var(--gap-2xl)
33
- } .gallery__buttons_162p1 path {
33
+ } .gallery__buttons_6kjdn path {
34
34
  color: var(--color-static-graphic-light);
35
- } /* TODO: применять static цвет через prop IconButton'а */ .gallery__iconButton_162p1:hover path {
35
+ } /* TODO: применять static цвет через prop IconButton'а */ .gallery__iconButton_6kjdn:hover path {
36
36
  color: var(--color-static-graphic-light-shade-7);
37
- } .gallery__iconButton_162p1:active path {
37
+ } .gallery__iconButton_6kjdn:active path {
38
38
  color: var(--color-static-graphic-light-shade-15);
39
39
  }
@@ -10,7 +10,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
10
10
 
11
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
12
 
13
- var styles = {"info":"gallery__info_qm843","filenameHead":"gallery__filenameHead_qm843","filenameContainer":"gallery__filenameContainer_qm843","description":"gallery__description_qm843"};
13
+ var styles = {"info":"gallery__info_1q556","filenameHead":"gallery__filenameHead_1q556","filenameContainer":"gallery__filenameContainer_1q556","description":"gallery__description_1q556"};
14
14
  require('./index.css')
15
15
 
16
16
  var HeaderInfoBlock = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: hncce */
1
+ /* hash: plv9j */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -15,21 +15,21 @@
15
15
  --gap-2xs: 4px;
16
16
  } :root {
17
17
  } :root {
18
- } .gallery__info_qm843 {
18
+ } .gallery__info_1q556 {
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_qm843 {
24
+ } .gallery__filenameHead_1q556 {
25
25
  display: inline;
26
26
  text-overflow: ellipsis;
27
27
  overflow: hidden;
28
28
  white-space: nowrap;
29
- } .gallery__filenameContainer_qm843 {
29
+ } .gallery__filenameContainer_1q556 {
30
30
  overflow: hidden;
31
31
  display: inline-flex;
32
- } .gallery__description_qm843 {
32
+ } .gallery__description_1q556 {
33
33
  display: inline;
34
34
  text-overflow: ellipsis;
35
35
  overflow: hidden;
@@ -24,7 +24,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
24
24
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
25
25
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
26
26
 
27
- var styles = {"component":"gallery__component_160ey","active":"gallery__active_160ey","image":"gallery__image_160ey","preview":"gallery__preview_160ey","loading":"gallery__loading_160ey","brokenImageWrapper":"gallery__brokenImageWrapper_160ey","brokenIcon":"gallery__brokenIcon_160ey","focused":"gallery__focused_160ey"};
27
+ var styles = {"component":"gallery__component_6i7yu","active":"gallery__active_6i7yu","image":"gallery__image_6i7yu","preview":"gallery__preview_6i7yu","loading":"gallery__loading_6i7yu","brokenImageWrapper":"gallery__brokenImageWrapper_6i7yu","brokenIcon":"gallery__brokenIcon_6i7yu","focused":"gallery__focused_6i7yu"};
28
28
  require('./index.css')
29
29
 
30
30
  var ImagePreview = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 844mo */
1
+ /* hash: g2njt */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -23,7 +23,7 @@
23
23
  } :root {
24
24
  } :root {
25
25
  --focus-color: var(--color-light-border-link);
26
- } .gallery__component_160ey {
26
+ } .gallery__component_6i7yu {
27
27
  display: flex;
28
28
  padding: var(--gap-2xs);
29
29
  border: 2px solid rgba(0, 0, 0, 0);
@@ -31,11 +31,11 @@
31
31
  overflow: hidden;
32
32
  transition: border 0.15s ease-in-out;
33
33
  outline: none;
34
- } .gallery__active_160ey {
34
+ } .gallery__active_6i7yu {
35
35
  border-color: var(--color-static-overlay-white-xhigh)
36
- } .gallery__active_160ey > .gallery__image_160ey {
36
+ } .gallery__active_6i7yu > .gallery__image_6i7yu {
37
37
  opacity: 0.7;
38
- } .gallery__preview_160ey {
38
+ } .gallery__preview_6i7yu {
39
39
  width: 56px;
40
40
  height: 56px;
41
41
  flex-shrink: 0;
@@ -43,9 +43,9 @@
43
43
  cursor: pointer;
44
44
  -webkit-user-select: none;
45
45
  user-select: none;
46
- } .gallery__image_160ey {
46
+ } .gallery__image_6i7yu {
47
47
  transition: opacity 0.15s ease-in-out
48
- } .gallery__image_160ey > img {
48
+ } .gallery__image_6i7yu > img {
49
49
  display: block;
50
50
  background-color: var(--color-light-bg-primary);
51
51
  width: 100%;
@@ -54,23 +54,23 @@
54
54
  object-fit: cover;
55
55
  overflow: clip;
56
56
  overflow-clip-margin: border-box;
57
- } .gallery__image_160ey:hover {
57
+ } .gallery__image_6i7yu:hover {
58
58
  opacity: 0.7;
59
- } .gallery__loading_160ey {
59
+ } .gallery__loading_6i7yu {
60
60
  background-color: var(--color-static-bg-secondary-dark)
61
- } .gallery__loading_160ey .gallery__active_160ey {
61
+ } .gallery__loading_6i7yu .gallery__active_6i7yu {
62
62
  background-color: var(--color-static-bg-quaternary-dark);
63
- } .gallery__brokenImageWrapper_160ey {
63
+ } .gallery__brokenImageWrapper_6i7yu {
64
64
  display: flex;
65
65
  justify-content: center;
66
66
  align-items: center;
67
67
  background-color: var(--color-static-bg-quaternary-dark)
68
- } .gallery__brokenImageWrapper_160ey:hover {
68
+ } .gallery__brokenImageWrapper_6i7yu:hover {
69
69
  opacity: 0.7;
70
- } .gallery__brokenIcon_160ey {
70
+ } .gallery__brokenIcon_6i7yu {
71
71
  width: 40px;
72
72
  height: 40px;
73
- } .gallery__focused_160ey {
73
+ } .gallery__focused_6i7yu {
74
74
  outline: 2px solid var(--focus-color);
75
75
  outline-offset: 2px;
76
76
  }
@@ -14,7 +14,7 @@ var ChevronForwardHeavyMIcon = require('@alfalab/icons-glyph/ChevronForwardHeavy
14
14
  var context = require('../../context.js');
15
15
  var utils_utils = require('../../utils/utils.js');
16
16
  var utils_constants = require('../../utils/constants.js');
17
- var components_imageViewer_slide = require('../../slide-3d8ed06b.js');
17
+ var components_imageViewer_slide = require('../../slide-c88e829f.js');
18
18
  require('swiper/swiper.min.css');
19
19
 
20
20
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
@@ -1,4 +1,4 @@
1
- /* hash: 1tad0 */
1
+ /* hash: uvnrv */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -27,13 +27,13 @@
27
27
  } :root {
28
28
  } :root {
29
29
  --focus-color: var(--color-light-border-link);
30
- } .gallery__component_uri2o {
30
+ } .gallery__component_v5g07 {
31
31
  display: flex;
32
32
  flex-grow: 1;
33
33
  justify-content: center;
34
34
  align-items: center;
35
35
  background-color: var(--color-static-bg-primary-dark);
36
- } .gallery__swiper_uri2o {
36
+ } .gallery__swiper_v5g07 {
37
37
  display: flex;
38
38
  width: 100%;
39
39
  height: 100%;
@@ -42,42 +42,42 @@
42
42
  max-height: calc(100vh - 168px);
43
43
  padding: var(--gap-2xl) var(--gap-m);
44
44
  box-sizing: border-box;
45
- } .gallery__singleSlide_uri2o .gallery__swiper_uri2o {
45
+ } .gallery__singleSlide_v5g07 .gallery__swiper_v5g07 {
46
46
  max-height: calc(100vh - 80px);
47
47
  padding: var(--gap-2xl);
48
- } .gallery__hidden_uri2o {
48
+ } .gallery__hidden_v5g07 {
49
49
  display: none;
50
- } .gallery__slide_uri2o {
50
+ } .gallery__slide_v5g07 {
51
51
  position: relative;
52
52
  display: flex;
53
53
  justify-content: center;
54
54
  align-items: center;
55
55
  width: 100%;
56
56
  height: 100%;
57
- } .gallery__slideLoading_uri2o {
57
+ } .gallery__slideLoading_v5g07 {
58
58
  background-color: var(--color-static-bg-secondary-dark);
59
59
  border-radius: var(--border-radius-m);
60
- } .gallery__image_uri2o {
60
+ } .gallery__image_v5g07 {
61
61
  width: 0;
62
62
  height: 0;
63
63
  -webkit-user-select: none;
64
64
  user-select: none;
65
65
  background-color: var(--color-light-bg-primary);
66
66
  border-radius: var(--border-radius-m);
67
- } .gallery__smallImage_uri2o {
67
+ } .gallery__smallImage_v5g07 {
68
68
  position: relative;
69
69
  width: auto;
70
70
  height: auto;
71
71
  -webkit-user-select: none;
72
72
  user-select: none;
73
73
  background-color: var(--color-light-bg-primary);
74
- } .gallery__verticalImageFit_uri2o {
74
+ } .gallery__verticalImageFit_v5g07 {
75
75
  width: auto;
76
76
  height: 100%;
77
- } .gallery__horizontalImageFit_uri2o {
77
+ } .gallery__horizontalImageFit_v5g07 {
78
78
  width: 100%;
79
79
  height: auto;
80
- } .gallery__arrow_uri2o {
80
+ } .gallery__arrow_v5g07 {
81
81
  display: flex;
82
82
  flex-direction: column;
83
83
  justify-content: center;
@@ -89,14 +89,14 @@
89
89
  color: var(--color-static-graphic-light);
90
90
  transition: background-color 0.15s ease-in-out;
91
91
  outline: none
92
- } .gallery__arrow_uri2o:hover {
92
+ } .gallery__arrow_v5g07:hover {
93
93
  background-color: var(--color-static-bg-primary-dark-tint-15);
94
- } .gallery__arrow_uri2o:active {
94
+ } .gallery__arrow_v5g07:active {
95
95
  background-color: var(--color-static-bg-primary-dark-tint-20);
96
- } .gallery__focused_uri2o {
96
+ } .gallery__focused_v5g07 {
97
97
  outline: 2px solid var(--focus-color);
98
98
  outline-offset: 2px;
99
- } .gallery__placeholder_uri2o {
99
+ } .gallery__placeholder_v5g07 {
100
100
  display: flex;
101
101
  justify-content: center;
102
102
  align-items: center;
@@ -104,18 +104,18 @@
104
104
  height: 300px;
105
105
  border-radius: var(--border-radius-m);
106
106
  background-color: var(--color-static-bg-quaternary-dark);
107
- } .gallery__brokenImgWrapper_uri2o {
107
+ } .gallery__brokenImgWrapper_v5g07 {
108
108
  position: relative;
109
109
  display: flex;
110
110
  flex-direction: column;
111
111
  align-items: center;
112
112
  width: 150px;
113
113
  text-align: center;
114
- } .gallery__brokenImgIcon_uri2o {
114
+ } .gallery__brokenImgIcon_v5g07 {
115
115
  width: 80px;
116
116
  height: 80px;
117
117
  margin-bottom: var(--gap-2xs);
118
- } .gallery__fullScreenImage_uri2o {
118
+ } .gallery__fullScreenImage_v5g07 {
119
119
  width: 100%;
120
120
  height: auto;
121
121
  background-color: var(--color-light-bg-primary);
@@ -8,7 +8,7 @@ require('@alfalab/core-components-typography');
8
8
  require('../../utils/utils.js');
9
9
  require('../../utils/constants.js');
10
10
  require('./paths.js');
11
- var components_imageViewer_slide = require('../../slide-3d8ed06b.js');
11
+ var components_imageViewer_slide = require('../../slide-c88e829f.js');
12
12
 
13
13
 
14
14
 
@@ -12,7 +12,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
12
12
 
13
13
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
14
 
15
- var styles = {"component":"gallery__component_hfomu","preview":"gallery__preview_hfomu"};
15
+ var styles = {"component":"gallery__component_1gylo","preview":"gallery__preview_1gylo"};
16
16
  require('./index.css')
17
17
 
18
18
  var MIN_SCROLL_STEP = 24;
@@ -1,4 +1,4 @@
1
- /* hash: 1n8jd */
1
+ /* hash: 1v72a */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -16,7 +16,7 @@
16
16
  --gap-xl: 24px;
17
17
  } :root {
18
18
  } :root {
19
- } .gallery__component_hfomu {
19
+ } .gallery__component_1gylo {
20
20
  display: flex;
21
21
  flex-wrap: nowrap;
22
22
  align-content: center;
@@ -26,13 +26,13 @@
26
26
  box-sizing: border-box;
27
27
  padding: 10px var(--gap-xl);
28
28
  scrollbar-width: none
29
- } .gallery__component_hfomu::-webkit-scrollbar {
29
+ } .gallery__component_1gylo::-webkit-scrollbar {
30
30
  display: none;
31
- } .gallery__preview_hfomu {
31
+ } .gallery__preview_1gylo {
32
32
  flex-shrink: 0;
33
33
  margin: 0 var(--gap-3xs)
34
- } .gallery__preview_hfomu:first-child {
34
+ } .gallery__preview_1gylo:first-child {
35
35
  margin-left: auto;
36
- } .gallery__preview_hfomu:last-child {
36
+ } .gallery__preview_1gylo:last-child {
37
37
  margin-right: auto;
38
38
  }
package/esm/Component.js CHANGED
@@ -7,7 +7,7 @@ import '@alfalab/hooks';
7
7
  import { GalleryContext } from './context.js';
8
8
  import { ImageViewer } from './components/image-viewer/component.js';
9
9
 
10
- var styles = {"container":"gallery__container_bvl2y","modal":"gallery__modal_bvl2y"};
10
+ var styles = {"container":"gallery__container_zlelo","modal":"gallery__modal_zlelo"};
11
11
  require('./index.css')
12
12
 
13
13
  var Backdrop = function () { return null; };
@@ -7,7 +7,7 @@ import { ArrowsOutwardMIcon } from '@alfalab/icons-glyph/ArrowsOutwardMIcon';
7
7
  import { CrossMIcon } from '@alfalab/icons-glyph/CrossMIcon';
8
8
  import { PointerDownMIcon } from '@alfalab/icons-glyph/PointerDownMIcon';
9
9
 
10
- var styles = {"header":"gallery__header_162p1","buttons":"gallery__buttons_162p1","iconButton":"gallery__iconButton_162p1"};
10
+ var styles = {"header":"gallery__header_6kjdn","buttons":"gallery__buttons_6kjdn","iconButton":"gallery__iconButton_6kjdn"};
11
11
  require('./components/header/index.css')
12
12
 
13
13
  var Fullscreen = function (_a) {
@@ -3,7 +3,7 @@ import { GalleryContext } from '../../context.js';
3
3
  import { isSmallImage } from '../../utils/utils.js';
4
4
  import { TestIds } from '../../utils/constants.js';
5
5
  import { HeaderInfoBlock } from '../header-info-block/Component.js';
6
- import { s as styles, D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-eabdb51b.js';
6
+ import { s as styles, D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-442d6181.js';
7
7
 
8
8
  var Header = function () {
9
9
  var _a;
@@ -6,4 +6,4 @@ import '@alfalab/icons-glyph/ArrowsInwardMIcon';
6
6
  import '@alfalab/icons-glyph/ArrowsOutwardMIcon';
7
7
  import '@alfalab/icons-glyph/CrossMIcon';
8
8
  import '@alfalab/icons-glyph/PointerDownMIcon';
9
- export { D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-eabdb51b.js';
9
+ export { D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-442d6181.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1len8 */
1
+ /* hash: outx1 */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root {
4
4
  --color-static-graphic-light: #fff; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -20,20 +20,20 @@
20
20
  --gap-2xl: 32px;
21
21
  } :root {
22
22
  } :root {
23
- } .gallery__header_162p1 {
23
+ } .gallery__header_6kjdn {
24
24
  display: flex;
25
25
  justify-content: space-between;
26
26
  flex-shrink: 0;
27
27
  width: 100%;
28
28
  padding: var(--gap-m) var(--gap-xl);
29
29
  box-sizing: border-box;
30
- } .gallery__buttons_162p1 {
30
+ } .gallery__buttons_6kjdn {
31
31
  display: flex;
32
32
  padding-left: var(--gap-2xl)
33
- } .gallery__buttons_162p1 path {
33
+ } .gallery__buttons_6kjdn path {
34
34
  color: var(--color-static-graphic-light);
35
- } /* TODO: применять static цвет через prop IconButton'а */ .gallery__iconButton_162p1:hover path {
35
+ } /* TODO: применять static цвет через prop IconButton'а */ .gallery__iconButton_6kjdn:hover path {
36
36
  color: var(--color-static-graphic-light-shade-7);
37
- } .gallery__iconButton_162p1:active path {
37
+ } .gallery__iconButton_6kjdn:active path {
38
38
  color: var(--color-static-graphic-light-shade-15);
39
39
  }
@@ -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_qm843","filenameHead":"gallery__filenameHead_qm843","filenameContainer":"gallery__filenameContainer_qm843","description":"gallery__description_qm843"};
5
+ var styles = {"info":"gallery__info_1q556","filenameHead":"gallery__filenameHead_1q556","filenameContainer":"gallery__filenameContainer_1q556","description":"gallery__description_1q556"};
6
6
  require('./index.css')
7
7
 
8
8
  var HeaderInfoBlock = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: hncce */
1
+ /* hash: plv9j */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -15,21 +15,21 @@
15
15
  --gap-2xs: 4px;
16
16
  } :root {
17
17
  } :root {
18
- } .gallery__info_qm843 {
18
+ } .gallery__info_1q556 {
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_qm843 {
24
+ } .gallery__filenameHead_1q556 {
25
25
  display: inline;
26
26
  text-overflow: ellipsis;
27
27
  overflow: hidden;
28
28
  white-space: nowrap;
29
- } .gallery__filenameContainer_qm843 {
29
+ } .gallery__filenameContainer_1q556 {
30
30
  overflow: hidden;
31
31
  display: inline-flex;
32
- } .gallery__description_qm843 {
32
+ } .gallery__description_1q556 {
33
33
  display: inline;
34
34
  text-overflow: ellipsis;
35
35
  overflow: hidden;
@@ -15,7 +15,7 @@ import '../image-viewer/component.js';
15
15
  import { useFocus } from '@alfalab/hooks';
16
16
  import { NoImagePaths } from './paths.js';
17
17
 
18
- var styles = {"component":"gallery__component_160ey","active":"gallery__active_160ey","image":"gallery__image_160ey","preview":"gallery__preview_160ey","loading":"gallery__loading_160ey","brokenImageWrapper":"gallery__brokenImageWrapper_160ey","brokenIcon":"gallery__brokenIcon_160ey","focused":"gallery__focused_160ey"};
18
+ var styles = {"component":"gallery__component_6i7yu","active":"gallery__active_6i7yu","image":"gallery__image_6i7yu","preview":"gallery__preview_6i7yu","loading":"gallery__loading_6i7yu","brokenImageWrapper":"gallery__brokenImageWrapper_6i7yu","brokenIcon":"gallery__brokenIcon_6i7yu","focused":"gallery__focused_6i7yu"};
19
19
  require('./index.css')
20
20
 
21
21
  var ImagePreview = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 844mo */
1
+ /* hash: g2njt */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -23,7 +23,7 @@
23
23
  } :root {
24
24
  } :root {
25
25
  --focus-color: var(--color-light-border-link);
26
- } .gallery__component_160ey {
26
+ } .gallery__component_6i7yu {
27
27
  display: flex;
28
28
  padding: var(--gap-2xs);
29
29
  border: 2px solid rgba(0, 0, 0, 0);
@@ -31,11 +31,11 @@
31
31
  overflow: hidden;
32
32
  transition: border 0.15s ease-in-out;
33
33
  outline: none;
34
- } .gallery__active_160ey {
34
+ } .gallery__active_6i7yu {
35
35
  border-color: var(--color-static-overlay-white-xhigh)
36
- } .gallery__active_160ey > .gallery__image_160ey {
36
+ } .gallery__active_6i7yu > .gallery__image_6i7yu {
37
37
  opacity: 0.7;
38
- } .gallery__preview_160ey {
38
+ } .gallery__preview_6i7yu {
39
39
  width: 56px;
40
40
  height: 56px;
41
41
  flex-shrink: 0;
@@ -43,9 +43,9 @@
43
43
  cursor: pointer;
44
44
  -webkit-user-select: none;
45
45
  user-select: none;
46
- } .gallery__image_160ey {
46
+ } .gallery__image_6i7yu {
47
47
  transition: opacity 0.15s ease-in-out
48
- } .gallery__image_160ey > img {
48
+ } .gallery__image_6i7yu > img {
49
49
  display: block;
50
50
  background-color: var(--color-light-bg-primary);
51
51
  width: 100%;
@@ -54,23 +54,23 @@
54
54
  object-fit: cover;
55
55
  overflow: clip;
56
56
  overflow-clip-margin: border-box;
57
- } .gallery__image_160ey:hover {
57
+ } .gallery__image_6i7yu:hover {
58
58
  opacity: 0.7;
59
- } .gallery__loading_160ey {
59
+ } .gallery__loading_6i7yu {
60
60
  background-color: var(--color-static-bg-secondary-dark)
61
- } .gallery__loading_160ey .gallery__active_160ey {
61
+ } .gallery__loading_6i7yu .gallery__active_6i7yu {
62
62
  background-color: var(--color-static-bg-quaternary-dark);
63
- } .gallery__brokenImageWrapper_160ey {
63
+ } .gallery__brokenImageWrapper_6i7yu {
64
64
  display: flex;
65
65
  justify-content: center;
66
66
  align-items: center;
67
67
  background-color: var(--color-static-bg-quaternary-dark)
68
- } .gallery__brokenImageWrapper_160ey:hover {
68
+ } .gallery__brokenImageWrapper_6i7yu:hover {
69
69
  opacity: 0.7;
70
- } .gallery__brokenIcon_160ey {
70
+ } .gallery__brokenIcon_6i7yu {
71
71
  width: 40px;
72
72
  height: 40px;
73
- } .gallery__focused_160ey {
73
+ } .gallery__focused_6i7yu {
74
74
  outline: 2px solid var(--focus-color);
75
75
  outline-offset: 2px;
76
76
  }
@@ -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-a8f6ccc1.js';
13
+ import { s as styles, S as Slide } from '../../slide-aea33968.js';
14
14
  import 'swiper/swiper.min.css';
15
15
 
16
16
  SwiperCore.use([EffectFade, A11y, Controller]);