@alfalab/core-components-gallery 5.1.13 → 5.1.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 (73) hide show
  1. package/Component.js +3 -3
  2. package/components/header/Component.js +2 -2
  3. package/components/header/buttons.js +7 -7
  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 +3 -3
  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/cssm/Component.js +1 -1
  18. package/cssm/components/header/Component.js +1 -1
  19. package/cssm/components/header/buttons.js +7 -7
  20. package/cssm/components/header/index.js +1 -1
  21. package/cssm/components/image-viewer/component.js +2 -2
  22. package/cssm/components/image-viewer/index.js +1 -1
  23. package/cssm/components/index.js +1 -1
  24. package/cssm/index.js +1 -1
  25. package/esm/Component.js +3 -3
  26. package/esm/components/header/Component.js +2 -2
  27. package/esm/components/header/buttons.js +1 -1
  28. package/esm/components/header/index.css +3 -3
  29. package/esm/components/header/index.js +1 -1
  30. package/esm/components/header-info-block/Component.js +1 -1
  31. package/esm/components/header-info-block/index.css +5 -5
  32. package/esm/components/image-preview/Component.js +1 -1
  33. package/esm/components/image-preview/index.css +12 -12
  34. package/esm/components/image-viewer/component.js +2 -2
  35. package/esm/components/image-viewer/index.css +19 -19
  36. package/esm/components/image-viewer/index.js +2 -2
  37. package/esm/components/image-viewer/slide.js +1 -1
  38. package/esm/components/index.js +2 -2
  39. package/esm/components/navigation-bar/Component.js +1 -1
  40. package/esm/components/navigation-bar/index.css +6 -6
  41. package/esm/index.css +3 -3
  42. package/esm/index.js +2 -2
  43. package/esm/{slide-de8d7d54.d.ts → slide-746d03af.d.ts} +0 -0
  44. package/esm/{slide-de8d7d54.js → slide-746d03af.js} +1 -1
  45. package/index.css +3 -3
  46. package/index.js +2 -2
  47. package/modern/Component.js +2 -2
  48. package/modern/components/header/Component.js +1 -1
  49. package/modern/components/header/index.css +3 -3
  50. package/modern/components/header-info-block/Component.js +1 -1
  51. package/modern/components/header-info-block/index.css +5 -5
  52. package/modern/components/image-preview/Component.js +1 -1
  53. package/modern/components/image-preview/index.css +12 -12
  54. package/modern/components/image-viewer/component.js +1 -1
  55. package/modern/components/image-viewer/index.css +19 -19
  56. package/modern/components/image-viewer/index.js +1 -1
  57. package/modern/components/image-viewer/slide.js +1 -1
  58. package/modern/components/index.js +1 -1
  59. package/modern/components/navigation-bar/Component.js +1 -1
  60. package/modern/components/navigation-bar/index.css +6 -6
  61. package/modern/index.css +3 -3
  62. package/modern/index.js +1 -1
  63. package/modern/{slide-ec907dae.d.ts → slide-88e3f94f.d.ts} +0 -0
  64. package/modern/{slide-ec907dae.js → slide-88e3f94f.js} +1 -1
  65. package/package.json +7 -6
  66. package/{slide-ee3bbf48.d.ts → slide-2c42ca22.d.ts} +0 -0
  67. package/{slide-ee3bbf48.js → slide-2c42ca22.js} +1 -1
  68. package/cssm/tslib.es6-bbd6cd2a.d.ts +0 -36
  69. package/cssm/tslib.es6-bbd6cd2a.js +0 -42
  70. package/esm/tslib.es6-e0d70486.d.ts +0 -36
  71. package/esm/tslib.es6-e0d70486.js +0 -40
  72. package/tslib.es6-25ea1724.d.ts +0 -36
  73. package/tslib.es6-25ea1724.js +0 -42
@@ -1,4 +1,4 @@
1
- /* hash: 1ncjy */
1
+ /* hash: qsqmm */
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_1qimz {
21
+ } .gallery__header_gzhg7 {
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_1qimz {
29
+ } .gallery__buttons_gzhg7 {
30
30
  display: flex;
31
31
  padding-left: var(--gap-2xl);
32
32
  }
@@ -7,7 +7,7 @@ import '../header-info-block/Component.js';
7
7
  import '@alfalab/core-components-typography/esm';
8
8
  import '../../utils/split-filename.js';
9
9
  import './buttons.js';
10
- import '../../tslib.es6-e0d70486.js';
10
+ import 'tslib';
11
11
  import '@alfalab/core-components-icon-button/esm';
12
12
  import '@alfalab/core-components-tooltip/esm';
13
13
  import '@alfalab/icons-glyph/ArrowsInwardMIcon';
@@ -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_1nwl5","filenameHead":"gallery__filenameHead_1nwl5","filenameContainer":"gallery__filenameContainer_1nwl5","description":"gallery__description_1nwl5"};
5
+ var styles = {"info":"gallery__info_b9x68","filenameHead":"gallery__filenameHead_b9x68","filenameContainer":"gallery__filenameContainer_b9x68","description":"gallery__description_b9x68"};
6
6
  require('./index.css')
7
7
 
8
8
  var HeaderInfoBlock = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: fpfmt */
1
+ /* hash: nnyjy */
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_1nwl5 {
18
+ } .gallery__info_b9x68 {
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_1nwl5 {
24
+ } .gallery__filenameHead_b9x68 {
25
25
  display: inline;
26
26
  text-overflow: ellipsis;
27
27
  overflow: hidden;
28
28
  white-space: nowrap;
29
- } .gallery__filenameContainer_1nwl5 {
29
+ } .gallery__filenameContainer_b9x68 {
30
30
  overflow: hidden;
31
31
  display: inline-flex;
32
- } .gallery__description_1nwl5 {
32
+ } .gallery__description_b9x68 {
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_a0sya","active":"gallery__active_a0sya","image":"gallery__image_a0sya","preview":"gallery__preview_a0sya","loading":"gallery__loading_a0sya","brokenImageWrapper":"gallery__brokenImageWrapper_a0sya","brokenIcon":"gallery__brokenIcon_a0sya","focused":"gallery__focused_a0sya"};
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"};
8
8
  require('./index.css')
9
9
 
10
10
  var ImagePreview = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 667x3 */
1
+ /* hash: e4qu8 */
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_a0sya {
24
+ } .gallery__component_wf91b {
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_a0sya {
32
+ } .gallery__active_wf91b {
33
33
  border-color: var(--color-light-border-key-inverted)
34
- } .gallery__active_a0sya > .gallery__image_a0sya {
34
+ } .gallery__active_wf91b > .gallery__image_wf91b {
35
35
  opacity: 0.7;
36
- } .gallery__preview_a0sya {
36
+ } .gallery__preview_wf91b {
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_a0sya {
44
+ } .gallery__image_wf91b {
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_a0sya:hover {
50
+ } .gallery__image_wf91b:hover {
51
51
  opacity: 0.7;
52
- } .gallery__loading_a0sya {
52
+ } .gallery__loading_wf91b {
53
53
  /* TODO: цвета нет в палитре */
54
54
  background-color: #e9eaeb;
55
- } .gallery__brokenImageWrapper_a0sya {
55
+ } .gallery__brokenImageWrapper_wf91b {
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_a0sya:hover {
60
+ } .gallery__brokenImageWrapper_wf91b:hover {
61
61
  opacity: 0.7;
62
- } .gallery__brokenIcon_a0sya {
62
+ } .gallery__brokenIcon_wf91b {
63
63
  width: 40px;
64
64
  height: 40px;
65
- } .gallery__focused_a0sya {
65
+ } .gallery__focused_wf91b {
66
66
  outline: 2px solid var(--focus-color);
67
67
  outline-offset: 2px;
68
68
  }
@@ -1,4 +1,4 @@
1
- import { _ as __assign } from '../../tslib.es6-e0d70486.js';
1
+ import { __assign } from 'tslib';
2
2
  import React, { useContext, useRef, useCallback, useEffect, useMemo } from 'react';
3
3
  import cn from 'classnames';
4
4
  import elementClosest from 'element-closest';
@@ -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-de8d7d54.js';
13
+ import { s as styles, S as Slide } from '../../slide-746d03af.js';
14
14
  import 'swiper/swiper.min.css';
15
15
  import '@alfalab/core-components-typography/esm';
16
16
  import './paths.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1rcgb */
1
+ /* hash: sxr2a */
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_1ooqb {
28
+ } .gallery__component_ndo9f {
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_1ooqb {
34
+ } .gallery__swiper_ndo9f {
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_1ooqb .gallery__swiper_1ooqb {
43
+ } .gallery__singleSlide_ndo9f .gallery__swiper_ndo9f {
44
44
  max-height: calc(100vh - 80px);
45
45
  padding: var(--gap-2xl);
46
- } .gallery__hidden_1ooqb {
46
+ } .gallery__hidden_ndo9f {
47
47
  display: none;
48
- } .gallery__slide_1ooqb {
48
+ } .gallery__slide_ndo9f {
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_1ooqb {
55
+ } .gallery__slideLoading_ndo9f {
56
56
  /* TODO: цвета нет в палитре */
57
57
  background-color: #e9eaeb;
58
58
  border-radius: var(--border-radius-m);
59
- } .gallery__image_1ooqb {
59
+ } .gallery__image_ndo9f {
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_1ooqb {
66
+ } .gallery__smallImage_ndo9f {
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_1ooqb {
73
+ } .gallery__verticalImageFit_ndo9f {
74
74
  width: auto;
75
75
  height: 100%;
76
- } .gallery__horizontalImageFit_1ooqb {
76
+ } .gallery__horizontalImageFit_ndo9f {
77
77
  width: 100%;
78
78
  height: auto;
79
- } .gallery__arrow_1ooqb {
79
+ } .gallery__arrow_ndo9f {
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_1ooqb:hover {
91
+ } .gallery__arrow_ndo9f:hover {
92
92
  background-color: var(--color-light-bg-primary-inverted-alpha-10);
93
- } .gallery__arrow_1ooqb:active {
93
+ } .gallery__arrow_ndo9f:active {
94
94
  background-color: var(--color-light-bg-primary-inverted-alpha-20);
95
- } .gallery__focused_1ooqb {
95
+ } .gallery__focused_ndo9f {
96
96
  outline: 2px solid var(--focus-color);
97
97
  outline-offset: 2px;
98
- } .gallery__placeholder_1ooqb {
98
+ } .gallery__placeholder_ndo9f {
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_1ooqb {
106
+ } .gallery__brokenImgWrapper_ndo9f {
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_1ooqb {
113
+ } .gallery__brokenImgIcon_ndo9f {
114
114
  width: 80px;
115
115
  height: 80px;
116
116
  margin-bottom: var(--gap-2xs);
117
- } .gallery__fullScreenImage_1ooqb {
117
+ } .gallery__fullScreenImage_ndo9f {
118
118
  width: 100%;
119
119
  height: auto;
120
120
  background-color: var(--color-light-bg-primary);
@@ -1,5 +1,5 @@
1
1
  export { ImageViewer } from './component.js';
2
- import '../../tslib.es6-e0d70486.js';
2
+ import 'tslib';
3
3
  import 'react';
4
4
  import 'classnames';
5
5
  import 'element-closest';
@@ -11,7 +11,7 @@ import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
11
11
  import '../../context.js';
12
12
  import '../../utils/utils.js';
13
13
  import '../../utils/constants.js';
14
- import '../../slide-de8d7d54.js';
14
+ import '../../slide-746d03af.js';
15
15
  import '@alfalab/core-components-typography/esm';
16
16
  import './paths.js';
17
17
  import 'swiper/swiper.min.css';
@@ -4,4 +4,4 @@ import '@alfalab/core-components-typography/esm';
4
4
  import '../../utils/utils.js';
5
5
  import '../../utils/constants.js';
6
6
  import './paths.js';
7
- export { S as Slide } from '../../slide-de8d7d54.js';
7
+ export { S as Slide } from '../../slide-746d03af.js';
@@ -13,7 +13,7 @@ import './header-info-block/Component.js';
13
13
  import '@alfalab/core-components-typography/esm';
14
14
  import '../utils/split-filename.js';
15
15
  import './header/buttons.js';
16
- import '../tslib.es6-e0d70486.js';
16
+ import 'tslib';
17
17
  import '@alfalab/core-components-icon-button/esm';
18
18
  import '@alfalab/core-components-tooltip/esm';
19
19
  import '@alfalab/icons-glyph/ArrowsInwardMIcon';
@@ -25,6 +25,6 @@ import 'swiper';
25
25
  import 'swiper/react';
26
26
  import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
27
27
  import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
28
- import '../slide-de8d7d54.js';
28
+ import '../slide-746d03af.js';
29
29
  import './image-viewer/paths.js';
30
30
  import 'swiper/swiper.min.css';
@@ -7,7 +7,7 @@ import 'classnames';
7
7
  import '@alfalab/hooks';
8
8
  import '../image-preview/paths.js';
9
9
 
10
- var styles = {"component":"gallery__component_ct2lm","preview":"gallery__preview_ct2lm"};
10
+ var styles = {"component":"gallery__component_hg7d4","preview":"gallery__preview_hg7d4"};
11
11
  require('./index.css')
12
12
 
13
13
  var MIN_SCROLL_STEP = 24;
@@ -1,4 +1,4 @@
1
- /* hash: 1p6g2 */
1
+ /* hash: 1x4yz */
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_ct2lm {
20
+ } .gallery__component_hg7d4 {
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_ct2lm::-webkit-scrollbar {
32
+ } .gallery__component_hg7d4::-webkit-scrollbar {
33
33
  display: none;
34
- } .gallery__preview_ct2lm {
34
+ } .gallery__preview_hg7d4 {
35
35
  flex-shrink: 0;
36
36
  margin: 0 var(--gap-3xs)
37
- } .gallery__preview_ct2lm:first-child {
37
+ } .gallery__preview_hg7d4:first-child {
38
38
  margin-left: auto;
39
- } .gallery__preview_ct2lm:last-child {
39
+ } .gallery__preview_hg7d4:last-child {
40
40
  margin-right: auto;
41
41
  }
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1sv5s */
1
+ /* hash: nvxp6 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -14,13 +14,13 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .gallery__container_19j7d {
17
+ } .gallery__container_wtfqa {
18
18
  display: flex;
19
19
  flex-direction: column;
20
20
  justify-content: space-between;
21
21
  height: 100%;
22
22
  width: 100%;
23
- } .gallery__modal_19j7d {
23
+ } .gallery__modal_wtfqa {
24
24
  flex-grow: 1;
25
25
  width: 100%;
26
26
  height: 100%;
package/esm/index.js CHANGED
@@ -14,7 +14,7 @@ import './components/header/Component.js';
14
14
  import './components/header-info-block/Component.js';
15
15
  import '@alfalab/core-components-typography/esm';
16
16
  import './components/header/buttons.js';
17
- import './tslib.es6-e0d70486.js';
17
+ import 'tslib';
18
18
  import '@alfalab/core-components-icon-button/esm';
19
19
  import '@alfalab/core-components-tooltip/esm';
20
20
  import '@alfalab/icons-glyph/ArrowsInwardMIcon';
@@ -27,6 +27,6 @@ import 'swiper';
27
27
  import 'swiper/react';
28
28
  import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
29
29
  import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
30
- import './slide-de8d7d54.js';
30
+ import './slide-746d03af.js';
31
31
  import './components/image-viewer/paths.js';
32
32
  import 'swiper/swiper.min.css';
File without changes
@@ -5,7 +5,7 @@ import { isSmallImage, getImageAlt } from './utils/utils.js';
5
5
  import { TestIds } from './utils/constants.js';
6
6
  import { NoImagePaths } from './components/image-viewer/paths.js';
7
7
 
8
- var styles = {"component":"gallery__component_1ooqb","swiper":"gallery__swiper_1ooqb","singleSlide":"gallery__singleSlide_1ooqb","hidden":"gallery__hidden_1ooqb","slide":"gallery__slide_1ooqb","slideLoading":"gallery__slideLoading_1ooqb","image":"gallery__image_1ooqb","smallImage":"gallery__smallImage_1ooqb","verticalImageFit":"gallery__verticalImageFit_1ooqb","horizontalImageFit":"gallery__horizontalImageFit_1ooqb","arrow":"gallery__arrow_1ooqb","focused":"gallery__focused_1ooqb","placeholder":"gallery__placeholder_1ooqb","brokenImgWrapper":"gallery__brokenImgWrapper_1ooqb","brokenImgIcon":"gallery__brokenImgIcon_1ooqb","fullScreenImage":"gallery__fullScreenImage_1ooqb"};
8
+ var styles = {"component":"gallery__component_ndo9f","swiper":"gallery__swiper_ndo9f","singleSlide":"gallery__singleSlide_ndo9f","hidden":"gallery__hidden_ndo9f","slide":"gallery__slide_ndo9f","slideLoading":"gallery__slideLoading_ndo9f","image":"gallery__image_ndo9f","smallImage":"gallery__smallImage_ndo9f","verticalImageFit":"gallery__verticalImageFit_ndo9f","horizontalImageFit":"gallery__horizontalImageFit_ndo9f","arrow":"gallery__arrow_ndo9f","focused":"gallery__focused_ndo9f","placeholder":"gallery__placeholder_ndo9f","brokenImgWrapper":"gallery__brokenImgWrapper_ndo9f","brokenImgIcon":"gallery__brokenImgIcon_ndo9f","fullScreenImage":"gallery__fullScreenImage_ndo9f"};
9
9
  require('./components/image-viewer/index.css')
10
10
 
11
11
  var SlideInner = function (_a) {
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1sv5s */
1
+ /* hash: nvxp6 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -14,13 +14,13 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .gallery__container_19j7d {
17
+ } .gallery__container_wtfqa {
18
18
  display: flex;
19
19
  flex-direction: column;
20
20
  justify-content: space-between;
21
21
  height: 100%;
22
22
  width: 100%;
23
- } .gallery__modal_19j7d {
23
+ } .gallery__modal_wtfqa {
24
24
  flex-grow: 1;
25
25
  width: 100%;
26
26
  height: 100%;
package/index.js CHANGED
@@ -16,7 +16,7 @@ require('./components/header/Component.js');
16
16
  require('./components/header-info-block/Component.js');
17
17
  require('@alfalab/core-components-typography');
18
18
  require('./components/header/buttons.js');
19
- require('./tslib.es6-25ea1724.js');
19
+ require('tslib');
20
20
  require('@alfalab/core-components-icon-button');
21
21
  require('@alfalab/core-components-tooltip');
22
22
  require('@alfalab/icons-glyph/ArrowsInwardMIcon');
@@ -29,7 +29,7 @@ require('swiper');
29
29
  require('swiper/react');
30
30
  require('@alfalab/icons-glyph/ChevronBackHeavyMIcon');
31
31
  require('@alfalab/icons-glyph/ChevronForwardHeavyMIcon');
32
- require('./slide-ee3bbf48.js');
32
+ require('./slide-2c42ca22.js');
33
33
  require('./components/image-viewer/paths.js');
34
34
  require('swiper/swiper.min.css');
35
35
 
@@ -25,11 +25,11 @@ import 'swiper';
25
25
  import 'swiper/react';
26
26
  import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
27
27
  import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
28
- import './slide-ec907dae.js';
28
+ import './slide-88e3f94f.js';
29
29
  import './components/image-viewer/paths.js';
30
30
  import 'swiper/swiper.min.css';
31
31
 
32
- const styles = {"container":"gallery__container_19j7d","modal":"gallery__modal_19j7d"};
32
+ const styles = {"container":"gallery__container_wtfqa","modal":"gallery__modal_wtfqa"};
33
33
  require('./index.css')
34
34
 
35
35
  const Backdrop = () => null;
@@ -13,7 +13,7 @@ import '@alfalab/icons-glyph/ArrowsOutwardMIcon';
13
13
  import '@alfalab/icons-glyph/CrossMIcon';
14
14
  import '@alfalab/icons-glyph/PointerDownMIcon';
15
15
 
16
- const styles = {"header":"gallery__header_1qimz","buttons":"gallery__buttons_1qimz"};
16
+ const styles = {"header":"gallery__header_gzhg7","buttons":"gallery__buttons_gzhg7"};
17
17
  require('./index.css')
18
18
 
19
19
  const Header = () => {
@@ -1,4 +1,4 @@
1
- /* hash: 1ncjy */
1
+ /* hash: qsqmm */
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_1qimz {
21
+ } .gallery__header_gzhg7 {
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_1qimz {
29
+ } .gallery__buttons_gzhg7 {
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/modern';
3
3
  import { splitFilename } from '../../utils/split-filename.js';
4
4
 
5
- const styles = {"info":"gallery__info_1nwl5","filenameHead":"gallery__filenameHead_1nwl5","filenameContainer":"gallery__filenameContainer_1nwl5","description":"gallery__description_1nwl5"};
5
+ const styles = {"info":"gallery__info_b9x68","filenameHead":"gallery__filenameHead_b9x68","filenameContainer":"gallery__filenameContainer_b9x68","description":"gallery__description_b9x68"};
6
6
  require('./index.css')
7
7
 
8
8
  const HeaderInfoBlock = ({ filename, description }) => {
@@ -1,4 +1,4 @@
1
- /* hash: fpfmt */
1
+ /* hash: nnyjy */
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_1nwl5 {
18
+ } .gallery__info_b9x68 {
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_1nwl5 {
24
+ } .gallery__filenameHead_b9x68 {
25
25
  display: inline;
26
26
  text-overflow: ellipsis;
27
27
  overflow: hidden;
28
28
  white-space: nowrap;
29
- } .gallery__filenameContainer_1nwl5 {
29
+ } .gallery__filenameContainer_b9x68 {
30
30
  overflow: hidden;
31
31
  display: inline-flex;
32
- } .gallery__description_1nwl5 {
32
+ } .gallery__description_b9x68 {
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
- const styles = {"component":"gallery__component_a0sya","active":"gallery__active_a0sya","image":"gallery__image_a0sya","preview":"gallery__preview_a0sya","loading":"gallery__loading_a0sya","brokenImageWrapper":"gallery__brokenImageWrapper_a0sya","brokenIcon":"gallery__brokenIcon_a0sya","focused":"gallery__focused_a0sya"};
7
+ const 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"};
8
8
  require('./index.css')
9
9
 
10
10
  const ImagePreview = ({ image, active = false, index, onSelect, className }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 667x3 */
1
+ /* hash: e4qu8 */
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_a0sya {
24
+ } .gallery__component_wf91b {
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_a0sya {
32
+ } .gallery__active_wf91b {
33
33
  border-color: var(--color-light-border-key-inverted)
34
- } .gallery__active_a0sya > .gallery__image_a0sya {
34
+ } .gallery__active_wf91b > .gallery__image_wf91b {
35
35
  opacity: 0.7;
36
- } .gallery__preview_a0sya {
36
+ } .gallery__preview_wf91b {
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_a0sya {
44
+ } .gallery__image_wf91b {
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_a0sya:hover {
50
+ } .gallery__image_wf91b:hover {
51
51
  opacity: 0.7;
52
- } .gallery__loading_a0sya {
52
+ } .gallery__loading_wf91b {
53
53
  /* TODO: цвета нет в палитре */
54
54
  background-color: #e9eaeb;
55
- } .gallery__brokenImageWrapper_a0sya {
55
+ } .gallery__brokenImageWrapper_wf91b {
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_a0sya:hover {
60
+ } .gallery__brokenImageWrapper_wf91b:hover {
61
61
  opacity: 0.7;
62
- } .gallery__brokenIcon_a0sya {
62
+ } .gallery__brokenIcon_wf91b {
63
63
  width: 40px;
64
64
  height: 40px;
65
- } .gallery__focused_a0sya {
65
+ } .gallery__focused_wf91b {
66
66
  outline: 2px solid var(--focus-color);
67
67
  outline-offset: 2px;
68
68
  }
@@ -9,7 +9,7 @@ import { ChevronForwardHeavyMIcon } from '@alfalab/icons-glyph/ChevronForwardHea
9
9
  import { GalleryContext } from '../../context.js';
10
10
  import { getImageAlt, getImageKey } from '../../utils/utils.js';
11
11
  import { TestIds } from '../../utils/constants.js';
12
- import { s as styles, S as Slide } from '../../slide-ec907dae.js';
12
+ import { s as styles, S as Slide } from '../../slide-88e3f94f.js';
13
13
  import 'swiper/swiper.min.css';
14
14
  import '@alfalab/core-components-typography/modern';
15
15
  import './paths.js';