@alfalab/core-components-gallery 3.2.4 → 3.2.9

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 (210) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/Component.d.ts → Component.d.ts} +0 -0
  3. package/{dist/Component.js → Component.js} +3 -3
  4. package/{dist/components → components}/header/Component.d.ts +0 -0
  5. package/{dist/components → components}/header/Component.js +2 -2
  6. package/{dist/components → components}/header/buttons.d.ts +0 -0
  7. package/{dist/components → components}/header/buttons.js +1 -1
  8. package/{dist/esm/components → components}/header/index.css +3 -3
  9. package/{dist/components → components}/header/index.d.ts +0 -0
  10. package/{dist/components → components}/header/index.js +1 -1
  11. package/{dist/components → components}/header-info-block/Component.d.ts +0 -0
  12. package/{dist/components → components}/header-info-block/Component.js +1 -1
  13. package/{dist/components → components}/header-info-block/index.css +5 -5
  14. package/{dist/components → components}/header-info-block/index.d.ts +0 -0
  15. package/{dist/components → components}/header-info-block/index.js +0 -0
  16. package/{dist/components → components}/image-preview/Component.d.ts +0 -0
  17. package/{dist/components → components}/image-preview/Component.js +1 -1
  18. package/{dist/esm/components → components}/image-preview/index.css +12 -12
  19. package/{dist/components → components}/image-preview/index.d.ts +0 -0
  20. package/{dist/components → components}/image-preview/index.js +0 -0
  21. package/{dist/components → components}/image-viewer/component.d.ts +0 -0
  22. package/{dist/components → components}/image-viewer/component.js +2 -2
  23. package/{dist/esm/components → components}/image-viewer/index.css +19 -19
  24. package/{dist/components → components}/image-viewer/index.d.ts +0 -0
  25. package/{dist/components → components}/image-viewer/index.js +2 -2
  26. package/{dist/components → components}/image-viewer/slide.d.ts +0 -0
  27. package/{dist/components → components}/image-viewer/slide.js +1 -1
  28. package/{dist/components → components}/index.d.ts +0 -0
  29. package/{dist/components → components}/index.js +2 -2
  30. package/{dist/components → components}/navigation-bar/Component.d.ts +0 -0
  31. package/{dist/components → components}/navigation-bar/Component.js +1 -1
  32. package/{dist/esm/components → components}/navigation-bar/index.css +6 -6
  33. package/{dist/components → components}/navigation-bar/index.d.ts +0 -0
  34. package/{dist/components → components}/navigation-bar/index.js +0 -0
  35. package/{dist/context.d.ts → context.d.ts} +0 -0
  36. package/{dist/context.js → context.js} +0 -0
  37. package/{dist/cssm → cssm}/Component.d.ts +0 -0
  38. package/{dist/cssm → cssm}/Component.js +4 -4
  39. package/{dist/cssm → cssm}/components/header/Component.d.ts +0 -0
  40. package/{dist/cssm → cssm}/components/header/Component.js +3 -3
  41. package/{dist/cssm → cssm}/components/header/buttons.d.ts +0 -0
  42. package/{dist/cssm → cssm}/components/header/buttons.js +2 -2
  43. package/{dist/cssm → cssm}/components/header/index.d.ts +0 -0
  44. package/{dist/cssm → cssm}/components/header/index.js +3 -3
  45. package/{dist/cssm → cssm}/components/header/index.module.css +0 -0
  46. package/{dist/cssm → cssm}/components/header-info-block/Component.d.ts +0 -0
  47. package/{dist/cssm → cssm}/components/header-info-block/Component.js +1 -1
  48. package/{dist/cssm → cssm}/components/header-info-block/index.d.ts +0 -0
  49. package/{dist/cssm → cssm}/components/header-info-block/index.js +1 -1
  50. package/{dist/cssm → cssm}/components/header-info-block/index.module.css +0 -0
  51. package/{dist/cssm → cssm}/components/image-preview/Component.d.ts +0 -0
  52. package/{dist/cssm → cssm}/components/image-preview/Component.js +0 -0
  53. package/{dist/cssm → cssm}/components/image-preview/index.d.ts +0 -0
  54. package/{dist/cssm → cssm}/components/image-preview/index.js +0 -0
  55. package/{dist/cssm → cssm}/components/image-preview/index.module.css +0 -0
  56. package/{dist/cssm → cssm}/components/image-viewer/component.d.ts +0 -0
  57. package/{dist/cssm → cssm}/components/image-viewer/component.js +1 -1
  58. package/{dist/cssm → cssm}/components/image-viewer/index.d.ts +0 -0
  59. package/{dist/cssm → cssm}/components/image-viewer/index.js +1 -1
  60. package/{dist/cssm → cssm}/components/image-viewer/index.module.css +0 -0
  61. package/{dist/cssm → cssm}/components/image-viewer/slide.d.ts +0 -0
  62. package/{dist/cssm → cssm}/components/image-viewer/slide.js +1 -1
  63. package/{dist/cssm → cssm}/components/index.d.ts +0 -0
  64. package/{dist/cssm → cssm}/components/index.js +3 -3
  65. package/{dist/cssm → cssm}/components/navigation-bar/Component.d.ts +0 -0
  66. package/{dist/cssm → cssm}/components/navigation-bar/Component.js +0 -0
  67. package/{dist/cssm → cssm}/components/navigation-bar/index.d.ts +0 -0
  68. package/{dist/cssm → cssm}/components/navigation-bar/index.js +0 -0
  69. package/{dist/cssm → cssm}/components/navigation-bar/index.module.css +0 -0
  70. package/{dist/cssm → cssm}/context.d.ts +0 -0
  71. package/{dist/cssm → cssm}/context.js +0 -0
  72. package/{dist/cssm → cssm}/index.d.ts +0 -0
  73. package/{dist/cssm → cssm}/index.js +4 -4
  74. package/{dist/cssm → cssm}/index.module.css +0 -0
  75. package/{dist/cssm → cssm}/tslib.es6-ce870b46.d.ts +0 -0
  76. package/{dist/cssm → cssm}/tslib.es6-ce870b46.js +0 -0
  77. package/{dist/cssm → cssm}/types.d.ts +0 -0
  78. package/{dist/cssm → cssm}/types.js +0 -0
  79. package/{dist/cssm → cssm}/utils/constants.d.ts +0 -0
  80. package/{dist/cssm → cssm}/utils/constants.js +0 -0
  81. package/{dist/cssm → cssm}/utils/index.d.ts +0 -0
  82. package/{dist/cssm → cssm}/utils/index.js +0 -0
  83. package/{dist/cssm → cssm}/utils/split-filename.d.ts +0 -0
  84. package/{dist/cssm → cssm}/utils/split-filename.js +0 -0
  85. package/{dist/cssm → cssm}/utils/utils.d.ts +0 -0
  86. package/{dist/cssm → cssm}/utils/utils.js +0 -0
  87. package/{dist/cssm → cssm}/vars.css +0 -0
  88. package/{dist/esm → esm}/Component.d.ts +0 -0
  89. package/{dist/esm → esm}/Component.js +7 -7
  90. package/{dist/esm → esm}/components/header/Component.d.ts +0 -0
  91. package/{dist/esm → esm}/components/header/Component.js +5 -5
  92. package/{dist/esm → esm}/components/header/buttons.d.ts +0 -0
  93. package/{dist/esm → esm}/components/header/buttons.js +3 -3
  94. package/{dist → esm}/components/header/index.css +3 -3
  95. package/{dist/esm → esm}/components/header/index.d.ts +0 -0
  96. package/{dist/esm → esm}/components/header/index.js +4 -4
  97. package/{dist/esm → esm}/components/header-info-block/Component.d.ts +0 -0
  98. package/{dist/esm → esm}/components/header-info-block/Component.js +2 -2
  99. package/{dist/esm → esm}/components/header-info-block/index.css +5 -5
  100. package/{dist/esm → esm}/components/header-info-block/index.d.ts +0 -0
  101. package/{dist/esm → esm}/components/header-info-block/index.js +1 -1
  102. package/{dist/esm → esm}/components/image-preview/Component.d.ts +0 -0
  103. package/{dist/esm → esm}/components/image-preview/Component.js +1 -1
  104. package/{dist → esm}/components/image-preview/index.css +12 -12
  105. package/{dist/esm → esm}/components/image-preview/index.d.ts +0 -0
  106. package/{dist/esm → esm}/components/image-preview/index.js +0 -0
  107. package/{dist/esm → esm}/components/image-viewer/component.d.ts +0 -0
  108. package/{dist/esm → esm}/components/image-viewer/component.js +3 -3
  109. package/{dist → esm}/components/image-viewer/index.css +19 -19
  110. package/{dist/esm → esm}/components/image-viewer/index.d.ts +0 -0
  111. package/{dist/esm → esm}/components/image-viewer/index.js +3 -3
  112. package/{dist/esm → esm}/components/image-viewer/slide.d.ts +0 -0
  113. package/esm/components/image-viewer/slide.js +6 -0
  114. package/{dist/esm → esm}/components/index.d.ts +0 -0
  115. package/{dist/esm → esm}/components/index.js +5 -5
  116. package/{dist/esm → esm}/components/navigation-bar/Component.d.ts +0 -0
  117. package/{dist/esm → esm}/components/navigation-bar/Component.js +1 -1
  118. package/{dist/modern → esm}/components/navigation-bar/index.css +6 -6
  119. package/{dist/esm → esm}/components/navigation-bar/index.d.ts +0 -0
  120. package/{dist/esm → esm}/components/navigation-bar/index.js +0 -0
  121. package/{dist/esm → esm}/context.d.ts +0 -0
  122. package/{dist/esm → esm}/context.js +0 -0
  123. package/{dist/esm → esm}/index.css +3 -3
  124. package/{dist/esm → esm}/index.d.ts +0 -0
  125. package/{dist/esm → esm}/index.js +6 -6
  126. package/{dist/esm/slide-b25136e4.d.ts → esm/slide-33e235a0.d.ts} +0 -0
  127. package/{dist/esm/slide-b25136e4.js → esm/slide-33e235a0.js} +2 -2
  128. package/{dist/esm/tslib.es6-1846db0b.d.ts → esm/tslib.es6-1aba2898.d.ts} +0 -0
  129. package/{dist/esm/tslib.es6-1846db0b.js → esm/tslib.es6-1aba2898.js} +0 -0
  130. package/{dist/esm → esm}/types.d.ts +0 -0
  131. package/{dist/esm → esm}/types.js +0 -0
  132. package/{dist/esm → esm}/utils/constants.d.ts +0 -0
  133. package/{dist/esm → esm}/utils/constants.js +0 -0
  134. package/{dist/esm → esm}/utils/index.d.ts +0 -0
  135. package/{dist/esm → esm}/utils/index.js +0 -0
  136. package/{dist/esm → esm}/utils/split-filename.d.ts +0 -0
  137. package/{dist/esm → esm}/utils/split-filename.js +0 -0
  138. package/{dist/esm → esm}/utils/utils.d.ts +0 -0
  139. package/{dist/esm → esm}/utils/utils.js +0 -0
  140. package/{dist/index.css → index.css} +3 -3
  141. package/{dist/index.d.ts → index.d.ts} +0 -0
  142. package/{dist/index.js → index.js} +2 -2
  143. package/{dist/modern → modern}/Component.d.ts +0 -0
  144. package/{dist/modern → modern}/Component.js +6 -6
  145. package/{dist/modern → modern}/components/header/Component.d.ts +0 -0
  146. package/{dist/modern → modern}/components/header/Component.js +4 -4
  147. package/{dist/modern → modern}/components/header/buttons.d.ts +0 -0
  148. package/{dist/modern → modern}/components/header/buttons.js +2 -2
  149. package/{dist/modern → modern}/components/header/index.css +3 -3
  150. package/{dist/modern → modern}/components/header/index.d.ts +0 -0
  151. package/{dist/modern → modern}/components/header/index.js +3 -3
  152. package/{dist/modern → modern}/components/header-info-block/Component.d.ts +0 -0
  153. package/{dist/modern → modern}/components/header-info-block/Component.js +2 -2
  154. package/{dist/modern → modern}/components/header-info-block/index.css +5 -5
  155. package/{dist/modern → modern}/components/header-info-block/index.d.ts +0 -0
  156. package/{dist/modern → modern}/components/header-info-block/index.js +1 -1
  157. package/{dist/modern → modern}/components/image-preview/Component.d.ts +0 -0
  158. package/{dist/modern → modern}/components/image-preview/Component.js +1 -1
  159. package/{dist/modern → modern}/components/image-preview/index.css +12 -12
  160. package/{dist/modern → modern}/components/image-preview/index.d.ts +0 -0
  161. package/{dist/modern → modern}/components/image-preview/index.js +0 -0
  162. package/{dist/modern → modern}/components/image-viewer/component.d.ts +0 -0
  163. package/{dist/modern → modern}/components/image-viewer/component.js +2 -2
  164. package/{dist/modern → modern}/components/image-viewer/index.css +19 -19
  165. package/{dist/modern → modern}/components/image-viewer/index.d.ts +0 -0
  166. package/{dist/modern → modern}/components/image-viewer/index.js +2 -2
  167. package/{dist/modern → modern}/components/image-viewer/slide.d.ts +0 -0
  168. package/modern/components/image-viewer/slide.js +6 -0
  169. package/{dist/modern → modern}/components/index.d.ts +0 -0
  170. package/{dist/modern → modern}/components/index.js +4 -4
  171. package/{dist/modern → modern}/components/navigation-bar/Component.d.ts +0 -0
  172. package/{dist/modern → modern}/components/navigation-bar/Component.js +1 -1
  173. package/{dist → modern}/components/navigation-bar/index.css +6 -6
  174. package/{dist/modern → modern}/components/navigation-bar/index.d.ts +0 -0
  175. package/{dist/modern → modern}/components/navigation-bar/index.js +0 -0
  176. package/{dist/modern → modern}/context.d.ts +0 -0
  177. package/{dist/modern → modern}/context.js +0 -0
  178. package/{dist/modern → modern}/index.css +3 -3
  179. package/{dist/modern → modern}/index.d.ts +0 -0
  180. package/{dist/modern → modern}/index.js +5 -5
  181. package/{dist/modern/slide-6fb4914a.d.ts → modern/slide-ae1427a7.d.ts} +0 -0
  182. package/{dist/modern/slide-6fb4914a.js → modern/slide-ae1427a7.js} +2 -2
  183. package/{dist/modern → modern}/types.d.ts +0 -0
  184. package/{dist/modern → modern}/types.js +0 -0
  185. package/{dist/modern → modern}/utils/constants.d.ts +0 -0
  186. package/{dist/modern → modern}/utils/constants.js +0 -0
  187. package/{dist/modern → modern}/utils/index.d.ts +0 -0
  188. package/{dist/modern → modern}/utils/index.js +0 -0
  189. package/{dist/modern → modern}/utils/split-filename.d.ts +0 -0
  190. package/{dist/modern → modern}/utils/split-filename.js +0 -0
  191. package/{dist/modern → modern}/utils/utils.d.ts +0 -0
  192. package/{dist/modern → modern}/utils/utils.js +0 -0
  193. package/package.json +11 -14
  194. package/{dist/send-stats.js → send-stats.js} +0 -0
  195. package/{dist/slide-8ffa7c9e.d.ts → slide-bbc8b1f6.d.ts} +0 -0
  196. package/{dist/slide-8ffa7c9e.js → slide-bbc8b1f6.js} +1 -1
  197. package/{dist/tslib.es6-18334644.d.ts → tslib.es6-79ad7e3e.d.ts} +0 -0
  198. package/{dist/tslib.es6-18334644.js → tslib.es6-79ad7e3e.js} +0 -0
  199. package/{dist/types.d.ts → types.d.ts} +0 -0
  200. package/{dist/types.js → types.js} +0 -0
  201. package/{dist/utils → utils}/constants.d.ts +0 -0
  202. package/{dist/utils → utils}/constants.js +0 -0
  203. package/{dist/utils → utils}/index.d.ts +0 -0
  204. package/{dist/utils → utils}/index.js +0 -0
  205. package/{dist/utils → utils}/split-filename.d.ts +0 -0
  206. package/{dist/utils → utils}/split-filename.js +0 -0
  207. package/{dist/utils → utils}/utils.d.ts +0 -0
  208. package/{dist/utils → utils}/utils.js +0 -0
  209. package/dist/esm/components/image-viewer/slide.js +0 -6
  210. package/dist/modern/components/image-viewer/slide.js +0 -6
@@ -1,4 +1,4 @@
1
- /* hash: m9kz9 */
1
+ /* hash: 1vh1r */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-link: #007aff;
@@ -29,14 +29,14 @@
29
29
  :root {
30
30
  --gallery-broken-image-icon: url('https://alfabank.gcdn.co/icons/art_no-image_s.svg');
31
31
  }
32
- .gallery__component_19bo3 {
32
+ .gallery__component_cvbqh {
33
33
  display: flex;
34
34
  flex-grow: 1;
35
35
  justify-content: center;
36
36
  align-items: center;
37
37
  background-color: var(--color-light-bg-primary-inverted-alpha-50);
38
38
  }
39
- .gallery__swiper_19bo3 {
39
+ .gallery__swiper_cvbqh {
40
40
  display: flex;
41
41
  width: 100%;
42
42
  height: 100%;
@@ -46,14 +46,14 @@
46
46
  padding: var(--gap-2xl) var(--gap-m);
47
47
  box-sizing: border-box;
48
48
  }
49
- .gallery__singleSlide_19bo3 .gallery__swiper_19bo3 {
49
+ .gallery__singleSlide_cvbqh .gallery__swiper_cvbqh {
50
50
  max-height: calc(100vh - 80px);
51
51
  padding: var(--gap-2xl);
52
52
  }
53
- .gallery__hidden_19bo3 {
53
+ .gallery__hidden_cvbqh {
54
54
  display: none;
55
55
  }
56
- .gallery__slide_19bo3 {
56
+ .gallery__slide_cvbqh {
57
57
  position: relative;
58
58
  display: flex;
59
59
  justify-content: center;
@@ -61,12 +61,12 @@
61
61
  width: 100%;
62
62
  height: 100%;
63
63
  }
64
- .gallery__slideLoading_19bo3 {
64
+ .gallery__slideLoading_cvbqh {
65
65
  /* TODO: цвета нет в палитре */
66
66
  background-color: #e9eaeb;
67
67
  border-radius: var(--border-radius-m);
68
68
  }
69
- .gallery__image_19bo3 {
69
+ .gallery__image_cvbqh {
70
70
  width: 0;
71
71
  height: 0;
72
72
  -webkit-user-select: none;
@@ -74,7 +74,7 @@
74
74
  background-color: var(--color-light-bg-primary);
75
75
  border-radius: var(--border-radius-m);
76
76
  }
77
- .gallery__smallImage_19bo3 {
77
+ .gallery__smallImage_cvbqh {
78
78
  position: relative;
79
79
  width: auto;
80
80
  height: auto;
@@ -82,15 +82,15 @@
82
82
  user-select: none;
83
83
  background-color: var(--color-light-bg-primary);
84
84
  }
85
- .gallery__verticalImageFit_19bo3 {
85
+ .gallery__verticalImageFit_cvbqh {
86
86
  width: auto;
87
87
  height: 100%;
88
88
  }
89
- .gallery__horizontalImageFit_19bo3 {
89
+ .gallery__horizontalImageFit_cvbqh {
90
90
  width: 100%;
91
91
  height: auto;
92
92
  }
93
- .gallery__arrow_19bo3 {
93
+ .gallery__arrow_cvbqh {
94
94
  display: flex;
95
95
  flex-direction: column;
96
96
  justify-content: center;
@@ -103,17 +103,17 @@
103
103
  transition: background-color 0.15s ease-in-out;
104
104
  outline: none
105
105
  }
106
- .gallery__arrow_19bo3:hover {
106
+ .gallery__arrow_cvbqh:hover {
107
107
  background-color: var(--color-light-bg-primary-inverted-alpha-10);
108
108
  }
109
- .gallery__arrow_19bo3:active {
109
+ .gallery__arrow_cvbqh:active {
110
110
  background-color: var(--color-light-bg-primary-inverted-alpha-20);
111
111
  }
112
- .gallery__focused_19bo3 {
112
+ .gallery__focused_cvbqh {
113
113
  outline: 2px solid var(--focus-color);
114
114
  outline-offset: 2px;
115
115
  }
116
- .gallery__placeholder_19bo3 {
116
+ .gallery__placeholder_cvbqh {
117
117
  display: flex;
118
118
  justify-content: center;
119
119
  align-items: center;
@@ -122,7 +122,7 @@
122
122
  border-radius: var(--border-radius-m);
123
123
  background-color: var(--color-light-bg-primary);
124
124
  }
125
- .gallery__brokenImgWrapper_19bo3 {
125
+ .gallery__brokenImgWrapper_cvbqh {
126
126
  position: relative;
127
127
  display: flex;
128
128
  flex-direction: column;
@@ -130,7 +130,7 @@
130
130
  width: 150px;
131
131
  text-align: center;
132
132
  }
133
- .gallery__brokenImgIcon_19bo3 {
133
+ .gallery__brokenImgIcon_cvbqh {
134
134
  width: 80px;
135
135
  height: 80px;
136
136
  margin-bottom: var(--gap-2xs);
@@ -138,7 +138,7 @@
138
138
  background-size: contain;
139
139
  background-repeat: no-repeat;
140
140
  }
141
- .gallery__fullScreenImage_19bo3 {
141
+ .gallery__fullScreenImage_cvbqh {
142
142
  width: 100%;
143
143
  height: auto;
144
144
  background-color: var(--color-light-bg-primary);
@@ -4,12 +4,12 @@ import '@alfalab/hooks';
4
4
  import '../../context.js';
5
5
  import '../../utils/utils.js';
6
6
  import '../../utils/constants.js';
7
- import '@alfalab/core-components-typography/dist/modern';
7
+ import '@alfalab/core-components-typography/modern';
8
8
  import 'swiper';
9
9
  import 'swiper/react';
10
10
  import 'element-closest';
11
11
  import 'swiper/swiper.min.css';
12
12
  import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
13
13
  import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
14
- import '../../slide-6fb4914a.js';
14
+ import '../../slide-ae1427a7.js';
15
15
  export { ImageViewer } from './component.js';
@@ -0,0 +1,6 @@
1
+ import 'react';
2
+ import 'classnames';
3
+ import '../../utils/utils.js';
4
+ import '../../utils/constants.js';
5
+ import '@alfalab/core-components-typography/modern';
6
+ export { S as Slide } from '../../slide-ae1427a7.js';
File without changes
@@ -7,10 +7,10 @@ export { NavigationBar } from './navigation-bar/Component.js';
7
7
  import '../utils/split-filename.js';
8
8
  import '../utils/utils.js';
9
9
  import '../utils/constants.js';
10
- import '@alfalab/core-components-typography/dist/modern';
10
+ import '@alfalab/core-components-typography/modern';
11
11
  import './header-info-block/Component.js';
12
- import '@alfalab/core-components-icon-button/dist/modern';
13
- import '@alfalab/core-components-tooltip/dist/modern';
12
+ import '@alfalab/core-components-icon-button/modern';
13
+ import '@alfalab/core-components-tooltip/modern';
14
14
  import '@alfalab/icons-glyph/PointerDownMIcon';
15
15
  import '@alfalab/icons-glyph/ArrowsOutwardMIcon';
16
16
  import '@alfalab/icons-glyph/ArrowsInwardMIcon';
@@ -23,5 +23,5 @@ import 'element-closest';
23
23
  import 'swiper/swiper.min.css';
24
24
  import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
25
25
  import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
26
- import '../slide-6fb4914a.js';
26
+ import '../slide-ae1427a7.js';
27
27
  export { ImageViewer } from './image-viewer/component.js';
@@ -6,7 +6,7 @@ import { ImagePreview } from '../image-preview/Component.js';
6
6
  import { getImageKey } from '../../utils/utils.js';
7
7
  import { TestIds } from '../../utils/constants.js';
8
8
 
9
- var styles = {"component":"gallery__component_1pvct","preview":"gallery__preview_1pvct"};
9
+ var styles = {"component":"gallery__component_1toad","preview":"gallery__preview_1toad"};
10
10
  require('./index.css')
11
11
 
12
12
  const MIN_SCROLL_STEP = 24;
@@ -1,4 +1,4 @@
1
- /* hash: gr43s */
1
+ /* hash: 2lcl4 */
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_1pvct {
17
+ .gallery__component_1toad {
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_1pvct::-webkit-scrollbar {
30
+ .gallery__component_1toad::-webkit-scrollbar {
31
31
  display: none;
32
32
  }
33
- .gallery__preview_1pvct {
33
+ .gallery__preview_1toad {
34
34
  flex-shrink: 0;
35
35
  margin: 0 var(--gap-3xs)
36
36
  }
37
- .gallery__preview_1pvct:first-child {
37
+ .gallery__preview_1toad:first-child {
38
38
  margin-left: auto;
39
39
  }
40
- .gallery__preview_1pvct:last-child {
40
+ .gallery__preview_1toad:last-child {
41
41
  margin-right: auto;
42
42
  }
File without changes
File without changes
@@ -1,4 +1,4 @@
1
- /* hash: 1k8bn */
1
+ /* hash: 1yeuk */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,14 +7,14 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .gallery__container_c0abf {
10
+ .gallery__container_1bvrs {
11
11
  display: flex;
12
12
  flex-direction: column;
13
13
  justify-content: space-between;
14
14
  height: 100%;
15
15
  width: 100%;
16
16
  }
17
- .gallery__modal_c0abf {
17
+ .gallery__modal_1bvrs {
18
18
  flex-grow: 1;
19
19
  width: 100%;
20
20
  background: transparent;
File without changes
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- import '@alfalab/core-components-base-modal/dist/modern';
2
+ import '@alfalab/core-components-base-modal/modern';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
5
  import './context.js';
@@ -8,10 +8,10 @@ import './components/navigation-bar/Component.js';
8
8
  export { splitFilename } from './utils/split-filename.js';
9
9
  export { PLACEHOLDER_HEIGHT, PLACEHOLDER_WIDTH, getImageAlt, getImageKey, isSmallImage } from './utils/utils.js';
10
10
  export { TestIds } from './utils/constants.js';
11
- import '@alfalab/core-components-typography/dist/modern';
11
+ import '@alfalab/core-components-typography/modern';
12
12
  import './components/header-info-block/Component.js';
13
- import '@alfalab/core-components-icon-button/dist/modern';
14
- import '@alfalab/core-components-tooltip/dist/modern';
13
+ import '@alfalab/core-components-icon-button/modern';
14
+ import '@alfalab/core-components-tooltip/modern';
15
15
  import '@alfalab/icons-glyph/PointerDownMIcon';
16
16
  import '@alfalab/icons-glyph/ArrowsOutwardMIcon';
17
17
  import '@alfalab/icons-glyph/ArrowsInwardMIcon';
@@ -24,6 +24,6 @@ import 'element-closest';
24
24
  import 'swiper/swiper.min.css';
25
25
  import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
26
26
  import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
27
- import './slide-6fb4914a.js';
27
+ import './slide-ae1427a7.js';
28
28
  import './components/image-viewer/component.js';
29
29
  export { Gallery } from './Component.js';
@@ -2,9 +2,9 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { isSmallImage, getImageAlt } from './utils/utils.js';
4
4
  import { TestIds } from './utils/constants.js';
5
- import { Typography } from '@alfalab/core-components-typography/dist/modern';
5
+ import { Typography } from '@alfalab/core-components-typography/modern';
6
6
 
7
- var styles = {"component":"gallery__component_19bo3","swiper":"gallery__swiper_19bo3","singleSlide":"gallery__singleSlide_19bo3","hidden":"gallery__hidden_19bo3","slide":"gallery__slide_19bo3","slideLoading":"gallery__slideLoading_19bo3","image":"gallery__image_19bo3","smallImage":"gallery__smallImage_19bo3","verticalImageFit":"gallery__verticalImageFit_19bo3","horizontalImageFit":"gallery__horizontalImageFit_19bo3","arrow":"gallery__arrow_19bo3","focused":"gallery__focused_19bo3","placeholder":"gallery__placeholder_19bo3","brokenImgWrapper":"gallery__brokenImgWrapper_19bo3","brokenImgIcon":"gallery__brokenImgIcon_19bo3","fullScreenImage":"gallery__fullScreenImage_19bo3"};
7
+ var styles = {"component":"gallery__component_cvbqh","swiper":"gallery__swiper_cvbqh","singleSlide":"gallery__singleSlide_cvbqh","hidden":"gallery__hidden_cvbqh","slide":"gallery__slide_cvbqh","slideLoading":"gallery__slideLoading_cvbqh","image":"gallery__image_cvbqh","smallImage":"gallery__smallImage_cvbqh","verticalImageFit":"gallery__verticalImageFit_cvbqh","horizontalImageFit":"gallery__horizontalImageFit_cvbqh","arrow":"gallery__arrow_cvbqh","focused":"gallery__focused_cvbqh","placeholder":"gallery__placeholder_cvbqh","brokenImgWrapper":"gallery__brokenImgWrapper_cvbqh","brokenImgIcon":"gallery__brokenImgIcon_cvbqh","fullScreenImage":"gallery__fullScreenImage_cvbqh"};
8
8
  require('./components/image-viewer/index.css')
9
9
 
10
10
  const Slide = ({ isActive, meta, swiperAspectRatio, imageAspectRatio, image, index, swiperHeight, slideVisible, handleLoad, handleLoadError, }) => {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,33 +1,30 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-gallery",
3
- "version": "3.2.4",
3
+ "version": "3.2.9",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
- "main": "dist/index.js",
8
- "module": "./dist/esm/index.js",
9
- "files": [
10
- "dist"
11
- ],
7
+ "main": "index.js",
8
+ "module": "./esm/index.js",
12
9
  "scripts": {
13
- "postinstall": "node ./dist/send-stats.js > /dev/null 2>&1 || exit 0"
10
+ "postinstall": "node -e \"if (require('fs').existsSync('./send-stats.js')){require('./send-stats.js')} \""
14
11
  },
15
12
  "publishConfig": {
16
- "access": "public"
13
+ "access": "public",
14
+ "directory": "dist"
17
15
  },
18
16
  "peerDependencies": {
19
17
  "react": "^16.9.0 || ^17.0.1"
20
18
  },
21
19
  "dependencies": {
22
- "@alfalab/core-components-base-modal": "^4.1.2",
23
- "@alfalab/core-components-icon-button": "^4.2.0",
24
- "@alfalab/core-components-tooltip": "^5.4.2",
25
- "@alfalab/core-components-typography": "^2.6.0",
20
+ "@alfalab/core-components-base-modal": "^4.2.1",
21
+ "@alfalab/core-components-icon-button": "^4.2.3",
22
+ "@alfalab/core-components-tooltip": "^5.6.0",
23
+ "@alfalab/core-components-typography": "^2.6.3",
26
24
  "@alfalab/hooks": "^1.4.1",
27
25
  "@alfalab/icons-glyph": "^2.16.0",
28
26
  "classnames": "^2.2.6",
29
27
  "element-closest": "^3.0.2",
30
28
  "swiper": "^6.8.2"
31
- },
32
- "gitHead": "a1e54f5b2894447f4a6c80347706c27f855d5710"
29
+ }
33
30
  }
File without changes
@@ -11,7 +11,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
11
11
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
12
12
  var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
13
13
 
14
- var styles = {"component":"gallery__component_19bo3","swiper":"gallery__swiper_19bo3","singleSlide":"gallery__singleSlide_19bo3","hidden":"gallery__hidden_19bo3","slide":"gallery__slide_19bo3","slideLoading":"gallery__slideLoading_19bo3","image":"gallery__image_19bo3","smallImage":"gallery__smallImage_19bo3","verticalImageFit":"gallery__verticalImageFit_19bo3","horizontalImageFit":"gallery__horizontalImageFit_19bo3","arrow":"gallery__arrow_19bo3","focused":"gallery__focused_19bo3","placeholder":"gallery__placeholder_19bo3","brokenImgWrapper":"gallery__brokenImgWrapper_19bo3","brokenImgIcon":"gallery__brokenImgIcon_19bo3","fullScreenImage":"gallery__fullScreenImage_19bo3"};
14
+ var styles = {"component":"gallery__component_cvbqh","swiper":"gallery__swiper_cvbqh","singleSlide":"gallery__singleSlide_cvbqh","hidden":"gallery__hidden_cvbqh","slide":"gallery__slide_cvbqh","slideLoading":"gallery__slideLoading_cvbqh","image":"gallery__image_cvbqh","smallImage":"gallery__smallImage_cvbqh","verticalImageFit":"gallery__verticalImageFit_cvbqh","horizontalImageFit":"gallery__horizontalImageFit_cvbqh","arrow":"gallery__arrow_cvbqh","focused":"gallery__focused_cvbqh","placeholder":"gallery__placeholder_cvbqh","brokenImgWrapper":"gallery__brokenImgWrapper_cvbqh","brokenImgIcon":"gallery__brokenImgIcon_cvbqh","fullScreenImage":"gallery__fullScreenImage_cvbqh"};
15
15
  require('./components/image-viewer/index.css')
16
16
 
17
17
  var Slide = function (_a) {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,6 +0,0 @@
1
- import 'react';
2
- import 'classnames';
3
- import '../../utils/utils.js';
4
- import '../../utils/constants.js';
5
- import '@alfalab/core-components-typography/dist/esm';
6
- export { S as Slide } from '../../slide-b25136e4.js';
@@ -1,6 +0,0 @@
1
- import 'react';
2
- import 'classnames';
3
- import '../../utils/utils.js';
4
- import '../../utils/constants.js';
5
- import '@alfalab/core-components-typography/dist/modern';
6
- export { S as Slide } from '../../slide-6fb4914a.js';