@alfalab/core-components-gallery 7.1.8 → 7.1.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 (79) hide show
  1. package/components/bottom-button/index.css +5 -5
  2. package/components/bottom-button/index.module.css.js +1 -1
  3. package/components/buttons/index.css +5 -5
  4. package/components/buttons/index.module.css.js +1 -1
  5. package/components/header/index.css +1 -1
  6. package/components/header/index.module.css.js +1 -1
  7. package/components/header-info-block/index.css +4 -4
  8. package/components/header-info-block/index.module.css.js +1 -1
  9. package/components/header-mobile/index.css +6 -6
  10. package/components/header-mobile/index.module.css.js +1 -1
  11. package/components/image-preview/index.css +17 -17
  12. package/components/image-preview/index.module.css.js +1 -1
  13. package/components/image-viewer/index.css +148 -124
  14. package/components/image-viewer/index.module.css.js +1 -1
  15. package/components/image-viewer/index.module.css.js.map +1 -1
  16. package/components/image-viewer/video/index.css +7 -7
  17. package/components/image-viewer/video/index.module.css.js +1 -1
  18. package/components/info-bar/index.css +3 -3
  19. package/components/info-bar/index.module.css.js +1 -1
  20. package/components/navigation-bar/index.css +8 -8
  21. package/components/navigation-bar/index.module.css.js +1 -1
  22. package/components/subtitles/index.css +3 -3
  23. package/components/subtitles/index.module.css.js +1 -1
  24. package/cssm/components/image-viewer/index.module.css +147 -123
  25. package/esm/components/bottom-button/index.css +5 -5
  26. package/esm/components/bottom-button/index.module.css.js +1 -1
  27. package/esm/components/buttons/index.css +5 -5
  28. package/esm/components/buttons/index.module.css.js +1 -1
  29. package/esm/components/header/index.css +1 -1
  30. package/esm/components/header/index.module.css.js +1 -1
  31. package/esm/components/header-info-block/index.css +4 -4
  32. package/esm/components/header-info-block/index.module.css.js +1 -1
  33. package/esm/components/header-mobile/index.css +6 -6
  34. package/esm/components/header-mobile/index.module.css.js +1 -1
  35. package/esm/components/image-preview/index.css +17 -17
  36. package/esm/components/image-preview/index.module.css.js +1 -1
  37. package/esm/components/image-viewer/index.css +148 -124
  38. package/esm/components/image-viewer/index.module.css.js +1 -1
  39. package/esm/components/image-viewer/index.module.css.js.map +1 -1
  40. package/esm/components/image-viewer/video/index.css +7 -7
  41. package/esm/components/image-viewer/video/index.module.css.js +1 -1
  42. package/esm/components/info-bar/index.css +3 -3
  43. package/esm/components/info-bar/index.module.css.js +1 -1
  44. package/esm/components/navigation-bar/index.css +8 -8
  45. package/esm/components/navigation-bar/index.module.css.js +1 -1
  46. package/esm/components/subtitles/index.css +3 -3
  47. package/esm/components/subtitles/index.module.css.js +1 -1
  48. package/esm/index.css +9 -9
  49. package/esm/index.module.css.js +1 -1
  50. package/index.css +9 -9
  51. package/index.module.css.js +1 -1
  52. package/modern/components/bottom-button/index.css +5 -5
  53. package/modern/components/bottom-button/index.module.css.js +1 -1
  54. package/modern/components/buttons/index.css +5 -5
  55. package/modern/components/buttons/index.module.css.js +1 -1
  56. package/modern/components/header/index.css +1 -1
  57. package/modern/components/header/index.module.css.js +1 -1
  58. package/modern/components/header-info-block/index.css +4 -4
  59. package/modern/components/header-info-block/index.module.css.js +1 -1
  60. package/modern/components/header-mobile/index.css +6 -6
  61. package/modern/components/header-mobile/index.module.css.js +1 -1
  62. package/modern/components/image-preview/index.css +17 -17
  63. package/modern/components/image-preview/index.module.css.js +1 -1
  64. package/modern/components/image-viewer/index.css +148 -124
  65. package/modern/components/image-viewer/index.module.css.js +1 -1
  66. package/modern/components/image-viewer/index.module.css.js.map +1 -1
  67. package/modern/components/image-viewer/video/index.css +7 -7
  68. package/modern/components/image-viewer/video/index.module.css.js +1 -1
  69. package/modern/components/info-bar/index.css +3 -3
  70. package/modern/components/info-bar/index.module.css.js +1 -1
  71. package/modern/components/navigation-bar/index.css +8 -8
  72. package/modern/components/navigation-bar/index.module.css.js +1 -1
  73. package/modern/components/subtitles/index.css +3 -3
  74. package/modern/components/subtitles/index.module.css.js +1 -1
  75. package/modern/index.css +9 -9
  76. package/modern/index.module.css.js +1 -1
  77. package/moderncssm/components/image-viewer/index.module.css +125 -125
  78. package/package.json +10 -10
  79. package/src/components/image-viewer/index.module.css +120 -120
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- var styles = {"component":"gallery__component_fcv7j","image":"gallery__image_fcv7j","mobile":"gallery__mobile_fcv7j","active":"gallery__active_fcv7j","preview":"gallery__preview_fcv7j","loading":"gallery__loading_fcv7j","brokenImageWrapper":"gallery__brokenImageWrapper_fcv7j","brokenIcon":"gallery__brokenIcon_fcv7j","focused":"gallery__focused_fcv7j","canvasPreview":"gallery__canvasPreview_fcv7j"};
3
+ var styles = {"component":"gallery__component_691o9","image":"gallery__image_691o9","mobile":"gallery__mobile_691o9","active":"gallery__active_691o9","preview":"gallery__preview_691o9","loading":"gallery__loading_691o9","brokenImageWrapper":"gallery__brokenImageWrapper_691o9","brokenIcon":"gallery__brokenIcon_691o9","focused":"gallery__focused_691o9","canvasPreview":"gallery__canvasPreview_691o9"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -24,7 +24,7 @@
24
24
  :root {
25
25
  --focus-color: var(--color-light-status-info);
26
26
  }
27
- .gallery__component_1653q {
27
+ .gallery__component_1yz96 {
28
28
  display: flex;
29
29
  flex-grow: 1;
30
30
  justify-content: center;
@@ -90,134 +90,158 @@
90
90
  opacity: 0;
91
91
  z-index: -1000;
92
92
  }
93
- }
94
- .gallery__swiper_1653q {
95
- display: flex;
96
- width: 100%;
97
- height: 100%;
98
- max-height: calc(100vh - 168px);
99
- padding: var(--gap-32) var(--gap-16);
100
- box-sizing: border-box;
101
- }
102
- .gallery__swiper_1653q.gallery__mobile_1653q {
103
- max-height: calc(100vh - 210px);
93
+
94
+ .gallery__swiper_1yz96 {
95
+ display: flex;
96
+ width: 100%;
97
+ height: 100%;
98
+ max-height: calc(100vh - 168px);
99
+ padding: var(--gap-32) var(--gap-16);
100
+ box-sizing: border-box;
104
101
  }
105
- .gallery__swiper_1653q.gallery__mobileVideo_1653q {
106
- max-height: 100vh;
102
+
103
+ .gallery__swiper_1yz96.gallery__mobile_1yz96 {
104
+ max-height: calc(100vh - 210px);
105
+ }
106
+
107
+ .gallery__swiper_1yz96.gallery__mobileVideo_1yz96 {
108
+ max-height: 100vh;
109
+ }
110
+
111
+ .gallery__singleSlideContainer_1yz96 {
112
+ display: flex;
113
+ width: 100%;
114
+ height: 100%;
115
+
116
+ max-height: calc(100vh - 80px);
117
+ padding: var(--gap-32);
118
+ box-sizing: border-box;
107
119
  }
108
- .gallery__singleSlideContainer_1653q {
109
- display: flex;
110
- width: 100%;
111
- height: 100%;
112
120
 
113
- max-height: calc(100vh - 80px);
114
- padding: var(--gap-32);
115
- box-sizing: border-box;
116
- }
117
- .gallery__singleSlideContainer_1653q.gallery__mobile_1653q {
118
- max-height: calc(100vh - 174px);
119
- padding: 0;
121
+ .gallery__singleSlideContainer_1yz96.gallery__mobile_1yz96 {
122
+ max-height: calc(100vh - 174px);
123
+ padding: 0;
124
+ }
125
+
126
+ .gallery__singleSlideContainer_1yz96.gallery__mobileVideo_1yz96 {
127
+ max-height: 100vh;
128
+ }
129
+
130
+ .gallery__hidden_1yz96 {
131
+ display: none;
120
132
  }
121
- .gallery__singleSlideContainer_1653q.gallery__mobileVideo_1653q {
122
- max-height: 100vh;
133
+
134
+ .gallery__slide_1yz96 {
135
+ position: relative;
136
+ display: flex;
137
+ justify-content: center;
138
+ align-items: center;
139
+ width: 100%;
140
+ height: 100%;
123
141
  }
124
- .gallery__hidden_1653q {
125
- display: none;
126
- }
127
- .gallery__slide_1653q {
128
- position: relative;
129
- display: flex;
130
- justify-content: center;
131
- align-items: center;
132
- width: 100%;
133
- height: 100%;
134
- }
135
- .gallery__slideLoading_1653q {
136
- background-color: var(--color-static-neutral-translucent-100-inverted);
137
- border-radius: var(--border-radius-8);
138
- }
139
- .gallery__spinner_1653q {
140
- position: absolute;
141
- color: var(--color-static-neutral-translucent-1300-inverted);
142
- }
143
- .gallery__image_1653q {
144
- width: 0;
145
- height: 0;
146
- -webkit-user-select: none;
147
- -moz-user-select: none;
148
- user-select: none;
149
- border-radius: var(--border-radius-8);
150
- }
151
- .gallery__image_1653q.gallery__mobile_1653q {
152
- border-radius: var(--border-radius-0);
153
- }
154
- .gallery__smallImage_1653q {
155
- position: relative;
156
- width: auto;
157
- height: auto;
158
- -webkit-user-select: none;
159
- -moz-user-select: none;
160
- user-select: none;
161
- }
162
- .gallery__verticalImageFit_1653q {
163
- width: auto;
164
- height: 100%;
165
- }
166
- .gallery__horizontalImageFit_1653q {
167
- width: 100%;
168
- height: auto;
169
- }
170
- .gallery__arrow_1653q {
171
- display: flex;
172
- flex-direction: column;
173
- justify-content: center;
174
- align-items: center;
175
- flex-shrink: 0;
176
- width: 96px;
177
- height: 100%;
178
- cursor: pointer;
179
- color: var(--color-static-neutral-translucent-1300-inverted);
180
- transition: background-color 0.15s ease-in-out;
181
- outline: none;
182
- }
183
- .gallery__arrow_1653q:hover {
184
- background-color: var(--color-static-neutral-0-inverted-hover);
142
+
143
+ .gallery__slideLoading_1yz96 {
144
+ background-color: var(--color-static-neutral-translucent-100-inverted);
145
+ border-radius: var(--border-radius-8);
185
146
  }
186
- .gallery__arrow_1653q:active {
187
- background-color: var(--color-static-neutral-0-inverted-press);
147
+
148
+ .gallery__spinner_1yz96 {
149
+ position: absolute;
150
+ color: var(--color-static-neutral-translucent-1300-inverted);
151
+ }
152
+
153
+ .gallery__image_1yz96 {
154
+ width: 0;
155
+ height: 0;
156
+ -webkit-user-select: none;
157
+ -moz-user-select: none;
158
+ user-select: none;
159
+ border-radius: var(--border-radius-8);
160
+ }
161
+
162
+ .gallery__image_1yz96.gallery__mobile_1yz96 {
163
+ border-radius: var(--border-radius-0);
164
+ }
165
+
166
+ .gallery__smallImage_1yz96 {
167
+ position: relative;
168
+ width: auto;
169
+ height: auto;
170
+ -webkit-user-select: none;
171
+ -moz-user-select: none;
172
+ user-select: none;
173
+ }
174
+
175
+ .gallery__verticalImageFit_1yz96 {
176
+ width: auto;
177
+ height: 100%;
178
+ }
179
+
180
+ .gallery__horizontalImageFit_1yz96 {
181
+ width: 100%;
182
+ height: auto;
183
+ }
184
+
185
+ .gallery__arrow_1yz96 {
186
+ display: flex;
187
+ flex-direction: column;
188
+ justify-content: center;
189
+ align-items: center;
190
+ flex-shrink: 0;
191
+ width: 96px;
192
+ height: 100%;
193
+ cursor: pointer;
194
+ color: var(--color-static-neutral-translucent-1300-inverted);
195
+ transition: background-color 0.15s ease-in-out;
196
+ outline: none;
197
+ }
198
+
199
+ .gallery__arrow_1yz96:hover {
200
+ background-color: var(--color-static-neutral-0-inverted-hover);
201
+ }
202
+
203
+ .gallery__arrow_1yz96:active {
204
+ background-color: var(--color-static-neutral-0-inverted-press);
205
+ }
206
+
207
+ .gallery__focused_1yz96 {
208
+ outline: 2px solid var(--focus-color);
209
+ outline-offset: 2px;
210
+ }
211
+
212
+ .gallery__placeholder_1yz96 {
213
+ display: flex;
214
+ justify-content: center;
215
+ align-items: center;
216
+ width: 100%;
217
+ height: 100%;
218
+ border-radius: var(--border-radius-8);
219
+ background-color: var(--color-static-neutral-300-inverted);
220
+ }
221
+
222
+ .gallery__brokenImgWrapper_1yz96 {
223
+ position: relative;
224
+ display: flex;
225
+ flex-direction: column;
226
+ align-items: center;
227
+ width: 150px;
228
+ text-align: center;
229
+ }
230
+
231
+ .gallery__brokenImgIcon_1yz96 {
232
+ width: 80px;
233
+ height: 80px;
234
+ margin-bottom: var(--gap-4);
235
+ }
236
+
237
+ .gallery__fullScreenImage_1yz96 {
238
+ width: 100%;
239
+ height: auto;
240
+ background-color: var(--color-light-base-bg-primary);
241
+ }
242
+
243
+ .gallery__fullScreenVideo_1yz96 {
244
+ width: calc(100% - 192px);
245
+ max-height: calc(100vh - 82px);
188
246
  }
189
- .gallery__focused_1653q {
190
- outline: 2px solid var(--focus-color);
191
- outline-offset: 2px;
192
- }
193
- .gallery__placeholder_1653q {
194
- display: flex;
195
- justify-content: center;
196
- align-items: center;
197
- width: 100%;
198
- height: 100%;
199
- border-radius: var(--border-radius-8);
200
- background-color: var(--color-static-neutral-300-inverted);
201
- }
202
- .gallery__brokenImgWrapper_1653q {
203
- position: relative;
204
- display: flex;
205
- flex-direction: column;
206
- align-items: center;
207
- width: 150px;
208
- text-align: center;
209
- }
210
- .gallery__brokenImgIcon_1653q {
211
- width: 80px;
212
- height: 80px;
213
- margin-bottom: var(--gap-4);
214
- }
215
- .gallery__fullScreenImage_1653q {
216
- width: 100%;
217
- height: auto;
218
- background-color: var(--color-light-base-bg-primary);
219
- }
220
- .gallery__fullScreenVideo_1653q {
221
- width: calc(100% - 192px);
222
- max-height: calc(100vh - 82px);
223
247
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- var styles = {"component":"gallery__component_1653q","swiper":"gallery__swiper_1653q","mobile":"gallery__mobile_1653q","mobileVideo":"gallery__mobileVideo_1653q","singleSlideContainer":"gallery__singleSlideContainer_1653q","hidden":"gallery__hidden_1653q","slide":"gallery__slide_1653q","slideLoading":"gallery__slideLoading_1653q","spinner":"gallery__spinner_1653q","image":"gallery__image_1653q","smallImage":"gallery__smallImage_1653q","verticalImageFit":"gallery__verticalImageFit_1653q","horizontalImageFit":"gallery__horizontalImageFit_1653q","arrow":"gallery__arrow_1653q","focused":"gallery__focused_1653q","placeholder":"gallery__placeholder_1653q","brokenImgWrapper":"gallery__brokenImgWrapper_1653q","brokenImgIcon":"gallery__brokenImgIcon_1653q","fullScreenImage":"gallery__fullScreenImage_1653q","fullScreenVideo":"gallery__fullScreenVideo_1653q"};
3
+ var styles = {"component":"gallery__component_1yz96","swiper":"gallery__swiper_1yz96","mobile":"gallery__mobile_1yz96","mobileVideo":"gallery__mobileVideo_1yz96","singleSlideContainer":"gallery__singleSlideContainer_1yz96","hidden":"gallery__hidden_1yz96","slide":"gallery__slide_1yz96","slideLoading":"gallery__slideLoading_1yz96","spinner":"gallery__spinner_1yz96","image":"gallery__image_1yz96","smallImage":"gallery__smallImage_1yz96","verticalImageFit":"gallery__verticalImageFit_1yz96","horizontalImageFit":"gallery__horizontalImageFit_1yz96","arrow":"gallery__arrow_1yz96","focused":"gallery__focused_1yz96","placeholder":"gallery__placeholder_1yz96","brokenImgWrapper":"gallery__brokenImgWrapper_1yz96","brokenImgIcon":"gallery__brokenImgIcon_1yz96","fullScreenImage":"gallery__fullScreenImage_1yz96","fullScreenVideo":"gallery__fullScreenVideo_1yz96"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.module.css.js","sources":["../../src/components/image-viewer/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n.component {\n display: flex;\n flex-grow: 1;\n justify-content: center;\n background-color: var(--color-static-neutral-0-inverted);\n\n /* swiper/swiper.css; */\n :global(.swiper) {\n margin-left: auto;\n margin-right: auto;\n position: relative;\n overflow: hidden;\n list-style: none;\n padding: 0;\n z-index: 1;\n display: block;\n }\n :global(.swiper-wrapper) {\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1;\n display: flex;\n transition-property: transform;\n transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);\n box-sizing: content-box;\n }\n :global(.swiper-android) :global(.swiper-slide),\n :global(.swiper-ios) :global(.swiper-slide),\n :global(.swiper-wrapper) {\n transform: translate3d(0, 0, 0);\n }\n :global(.swiper-horizontal) {\n touch-action: pan-y;\n }\n :global(.swiper-slide) {\n flex-shrink: 0;\n width: 100%;\n height: 100%;\n position: relative;\n transition-property: transform;\n display: block;\n }\n :global(.swiper-slide-invisible-blank) {\n visibility: hidden;\n }\n :global(.swiper-autoheight),\n :global(.swiper-autoheight) :global(.swiper-slide) {\n height: auto;\n }\n :global(.swiper-autoheight) :global(.swiper-wrapper) {\n align-items: flex-start;\n transition-property: transform, height;\n }\n :global(.swiper-backface-hidden) :global(.swiper-slide) {\n transform: translateZ(0);\n backface-visibility: hidden;\n }\n\n /* swiper/modules/a11y.css */\n :global(.swiper) :global(.swiper-notification) {\n position: absolute;\n left: 0;\n top: 0;\n pointer-events: none;\n opacity: 0;\n z-index: -1000;\n }\n}\n\n.swiper {\n display: flex;\n width: 100%;\n height: 100%;\n\n /* 168px - высота хэдера и футера */\n max-height: calc(100vh - 168px);\n padding: var(--gap-32) var(--gap-16);\n box-sizing: border-box;\n\n &.mobile {\n max-height: calc(100vh - 210px);\n }\n\n &.mobileVideo {\n max-height: 100vh;\n }\n}\n\n.singleSlideContainer {\n display: flex;\n width: 100%;\n height: 100%;\n\n max-height: calc(100vh - 80px);\n padding: var(--gap-32);\n box-sizing: border-box;\n\n &.mobile {\n max-height: calc(100vh - 174px);\n padding: 0;\n }\n\n &.mobileVideo {\n max-height: 100vh;\n }\n}\n\n.hidden {\n display: none;\n}\n\n.slide {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n\n.slideLoading {\n background-color: var(--color-static-neutral-translucent-100-inverted);\n border-radius: var(--border-radius-8);\n}\n\n.spinner {\n position: absolute;\n color: var(--color-static-neutral-translucent-1300-inverted);\n}\n\n.image {\n width: 0;\n height: 0;\n user-select: none;\n border-radius: var(--border-radius-8);\n\n &.mobile {\n border-radius: var(--border-radius-0);\n }\n}\n\n.smallImage {\n position: relative;\n width: auto;\n height: auto;\n user-select: none;\n}\n\n.verticalImageFit {\n width: auto;\n height: 100%;\n}\n\n.horizontalImageFit {\n width: 100%;\n height: auto;\n}\n\n.arrow {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n flex-shrink: 0;\n width: 96px;\n height: 100%;\n cursor: pointer;\n color: var(--color-static-neutral-translucent-1300-inverted);\n transition: background-color 0.15s ease-in-out;\n outline: none;\n\n &:hover {\n background-color: var(--color-static-neutral-0-inverted-hover);\n }\n\n &:active {\n background-color: var(--color-static-neutral-0-inverted-press);\n }\n}\n\n.focused {\n @mixin focus-outline;\n}\n\n.placeholder {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n border-radius: var(--border-radius-8);\n background-color: var(--color-static-neutral-300-inverted);\n}\n\n.brokenImgWrapper {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 150px;\n text-align: center;\n}\n\n.brokenImgIcon {\n width: 80px;\n height: 80px;\n margin-bottom: var(--gap-4);\n}\n\n.fullScreenImage {\n width: 100%;\n height: auto;\n background-color: var(--color-light-base-bg-primary);\n}\n\n.fullScreenVideo {\n width: calc(100% - 192px);\n max-height: calc(100vh - 82px);\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,WAAW,CAAC,0BAA0B,CAAC,QAAQ,CAAC,uBAAuB,CAAC,QAAQ,CAAC,uBAAuB,CAAC,aAAa,CAAC,4BAA4B,CAAC,sBAAsB,CAAC,qCAAqC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,CAAC,6BAA6B,CAAC,SAAS,CAAC,wBAAwB,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,CAAC,2BAA2B,CAAC,kBAAkB,CAAC,iCAAiC,CAAC,oBAAoB,CAAC,mCAAmC,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,CAAC,wBAAwB,CAAC,aAAa,CAAC,4BAA4B,CAAC,kBAAkB,CAAC,iCAAiC,CAAC,eAAe,CAAC,8BAA8B,CAAC,iBAAiB,CAAC,gCAAgC,CAAC,iBAAiB,CAAC,gCAAgC,CAAC;;;;"}
1
+ {"version":3,"file":"index.module.css.js","sources":["../../src/components/image-viewer/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n.component {\n display: flex;\n flex-grow: 1;\n justify-content: center;\n background-color: var(--color-static-neutral-0-inverted);\n\n /* swiper/swiper.css; */\n :global(.swiper) {\n margin-left: auto;\n margin-right: auto;\n position: relative;\n overflow: hidden;\n list-style: none;\n padding: 0;\n z-index: 1;\n display: block;\n }\n :global(.swiper-wrapper) {\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1;\n display: flex;\n transition-property: transform;\n transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);\n box-sizing: content-box;\n }\n :global(.swiper-android) :global(.swiper-slide),\n :global(.swiper-ios) :global(.swiper-slide),\n :global(.swiper-wrapper) {\n transform: translate3d(0, 0, 0);\n }\n :global(.swiper-horizontal) {\n touch-action: pan-y;\n }\n :global(.swiper-slide) {\n flex-shrink: 0;\n width: 100%;\n height: 100%;\n position: relative;\n transition-property: transform;\n display: block;\n }\n :global(.swiper-slide-invisible-blank) {\n visibility: hidden;\n }\n :global(.swiper-autoheight),\n :global(.swiper-autoheight) :global(.swiper-slide) {\n height: auto;\n }\n :global(.swiper-autoheight) :global(.swiper-wrapper) {\n align-items: flex-start;\n transition-property: transform, height;\n }\n :global(.swiper-backface-hidden) :global(.swiper-slide) {\n transform: translateZ(0);\n backface-visibility: hidden;\n }\n\n /* swiper/modules/a11y.css */\n :global(.swiper) :global(.swiper-notification) {\n position: absolute;\n left: 0;\n top: 0;\n pointer-events: none;\n opacity: 0;\n z-index: -1000;\n }\n\n .swiper {\n display: flex;\n width: 100%;\n height: 100%;\n\n /* 168px - высота хэдера и футера */\n max-height: calc(100vh - 168px);\n padding: var(--gap-32) var(--gap-16);\n box-sizing: border-box;\n\n &.mobile {\n max-height: calc(100vh - 210px);\n }\n\n &.mobileVideo {\n max-height: 100vh;\n }\n }\n\n .singleSlideContainer {\n display: flex;\n width: 100%;\n height: 100%;\n\n max-height: calc(100vh - 80px);\n padding: var(--gap-32);\n box-sizing: border-box;\n\n &.mobile {\n max-height: calc(100vh - 174px);\n padding: 0;\n }\n\n &.mobileVideo {\n max-height: 100vh;\n }\n }\n\n .hidden {\n display: none;\n }\n\n .slide {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n }\n\n .slideLoading {\n background-color: var(--color-static-neutral-translucent-100-inverted);\n border-radius: var(--border-radius-8);\n }\n\n .spinner {\n position: absolute;\n color: var(--color-static-neutral-translucent-1300-inverted);\n }\n\n .image {\n width: 0;\n height: 0;\n user-select: none;\n border-radius: var(--border-radius-8);\n\n &.mobile {\n border-radius: var(--border-radius-0);\n }\n }\n\n .smallImage {\n position: relative;\n width: auto;\n height: auto;\n user-select: none;\n }\n\n .verticalImageFit {\n width: auto;\n height: 100%;\n }\n\n .horizontalImageFit {\n width: 100%;\n height: auto;\n }\n\n .arrow {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n flex-shrink: 0;\n width: 96px;\n height: 100%;\n cursor: pointer;\n color: var(--color-static-neutral-translucent-1300-inverted);\n transition: background-color 0.15s ease-in-out;\n outline: none;\n\n &:hover {\n background-color: var(--color-static-neutral-0-inverted-hover);\n }\n\n &:active {\n background-color: var(--color-static-neutral-0-inverted-press);\n }\n }\n\n .focused {\n @mixin focus-outline;\n }\n\n .placeholder {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n border-radius: var(--border-radius-8);\n background-color: var(--color-static-neutral-300-inverted);\n }\n\n .brokenImgWrapper {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 150px;\n text-align: center;\n }\n\n .brokenImgIcon {\n width: 80px;\n height: 80px;\n margin-bottom: var(--gap-4);\n }\n\n .fullScreenImage {\n width: 100%;\n height: auto;\n background-color: var(--color-light-base-bg-primary);\n }\n\n .fullScreenVideo {\n width: calc(100% - 192px);\n max-height: calc(100vh - 82px);\n }\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,WAAW,CAAC,0BAA0B,CAAC,QAAQ,CAAC,uBAAuB,CAAC,QAAQ,CAAC,uBAAuB,CAAC,aAAa,CAAC,4BAA4B,CAAC,sBAAsB,CAAC,qCAAqC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,CAAC,6BAA6B,CAAC,SAAS,CAAC,wBAAwB,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,CAAC,2BAA2B,CAAC,kBAAkB,CAAC,iCAAiC,CAAC,oBAAoB,CAAC,mCAAmC,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,CAAC,wBAAwB,CAAC,aAAa,CAAC,4BAA4B,CAAC,kBAAkB,CAAC,iCAAiC,CAAC,eAAe,CAAC,8BAA8B,CAAC,iBAAiB,CAAC,gCAAgC,CAAC,iBAAiB,CAAC,gCAAgC,CAAC;;;;"}
@@ -7,22 +7,22 @@
7
7
  --border-radius-0: 0;
8
8
  --border-radius-24: var(--border-radius-3xl);
9
9
  }
10
- .gallery__videoWrapper_91hpk {
10
+ .gallery__videoWrapper_ojpyh {
11
11
  display: flex;
12
12
  justify-content: center;
13
13
  height: 100%;
14
14
  width: auto;
15
15
  position: relative;
16
16
  }
17
- .gallery__video_91hpk {
17
+ .gallery__video_ojpyh {
18
18
  max-width: 100%;
19
19
  max-height: 100%;
20
20
  border-radius: var(--border-radius-24);
21
21
  }
22
- .gallery__mobile_91hpk {
22
+ .gallery__mobile_ojpyh {
23
23
  border-radius: var(--border-radius-0);
24
24
  }
25
- .gallery__videoButton_91hpk {
25
+ .gallery__videoButton_ojpyh {
26
26
  position: absolute;
27
27
  top: 50%;
28
28
  left: 50%;
@@ -30,13 +30,13 @@
30
30
  z-index: 1;
31
31
  color: green;
32
32
  }
33
- .gallery__icon_91hpk {
33
+ .gallery__icon_ojpyh {
34
34
  color: var(--color-static-neutral-0);
35
35
  }
36
- .gallery__iconShape_91hpk {
36
+ .gallery__iconShape_ojpyh {
37
37
  fill: var(--color-static-neutral-translucent-700);
38
38
  }
39
- .gallery__bottomButton_91hpk {
39
+ .gallery__bottomButton_ojpyh {
40
40
  position: absolute;
41
41
  bottom: 48px;
42
42
  left: 32px;
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- var styles = {"videoWrapper":"gallery__videoWrapper_91hpk","video":"gallery__video_91hpk","mobile":"gallery__mobile_91hpk","videoButton":"gallery__videoButton_91hpk","icon":"gallery__icon_91hpk","iconShape":"gallery__iconShape_91hpk","bottomButton":"gallery__bottomButton_91hpk"};
3
+ var styles = {"videoWrapper":"gallery__videoWrapper_ojpyh","video":"gallery__video_ojpyh","mobile":"gallery__mobile_ojpyh","videoButton":"gallery__videoButton_ojpyh","icon":"gallery__icon_ojpyh","iconShape":"gallery__iconShape_ojpyh","bottomButton":"gallery__bottomButton_ojpyh"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -7,10 +7,10 @@
7
7
  --gap-4: var(--gap-2xs);
8
8
  --gap-8: var(--gap-xs);
9
9
  }
10
- .gallery__description_hcmd3 {
10
+ .gallery__description_1a6rt {
11
11
  text-align: center;
12
12
  }
13
- .gallery__infoWrapper_hcmd3 {
13
+ .gallery__infoWrapper_1a6rt {
14
14
  background-color: var(--color-static-neutral-0-inverted);
15
15
  display: flex;
16
16
  align-items: center;
@@ -19,7 +19,7 @@
19
19
  position: relative;
20
20
  height: 48px;
21
21
  }
22
- .gallery__infoWrapper_hcmd3.gallery__video_hcmd3 {
22
+ .gallery__infoWrapper_1a6rt.gallery__video_1a6rt {
23
23
  padding: 0 var(--gap-4) var(--gap-4);
24
24
  justify-content: space-between;
25
25
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- var styles = {"description":"gallery__description_hcmd3","infoWrapper":"gallery__infoWrapper_hcmd3","video":"gallery__video_hcmd3"};
3
+ var styles = {"description":"gallery__description_1a6rt","infoWrapper":"gallery__infoWrapper_1a6rt","video":"gallery__video_1a6rt"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -13,7 +13,7 @@
13
13
  --gap-12: var(--gap-s);
14
14
  --gap-24: var(--gap-xl);
15
15
  }
16
- .gallery__component_ipki0 {
16
+ .gallery__component_y7sqx {
17
17
  display: flex;
18
18
  flex-wrap: nowrap;
19
19
  align-content: center;
@@ -25,25 +25,25 @@
25
25
  scrollbar-width: none;
26
26
  background-color: var(--color-static-neutral-0-inverted);
27
27
  }
28
- .gallery__component_ipki0.gallery__mobile_ipki0 {
28
+ .gallery__component_y7sqx.gallery__mobile_y7sqx {
29
29
  padding: var(--gap-8) var(--gap-24);
30
30
  }
31
- .gallery__component_ipki0::-webkit-scrollbar {
31
+ .gallery__component_y7sqx::-webkit-scrollbar {
32
32
  display: none;
33
33
  }
34
- .gallery__previews_ipki0 {
34
+ .gallery__previews_y7sqx {
35
35
  display: flex;
36
36
  }
37
- .gallery__preview_ipki0 {
37
+ .gallery__preview_y7sqx {
38
38
  flex-shrink: 0;
39
39
  margin-right: var(--gap-4);
40
40
  }
41
- .gallery__preview_ipki0.gallery__mobile_ipki0 {
41
+ .gallery__preview_y7sqx.gallery__mobile_y7sqx {
42
42
  margin-right: var(--gap-2);
43
43
  }
44
- .gallery__preview_ipki0:first-child {
44
+ .gallery__preview_y7sqx:first-child {
45
45
  margin-left: auto;
46
46
  }
47
- .gallery__preview_ipki0:last-child {
47
+ .gallery__preview_y7sqx:last-child {
48
48
  margin-right: auto;
49
49
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- var styles = {"component":"gallery__component_ipki0","mobile":"gallery__mobile_ipki0","preview":"gallery__preview_ipki0"};
3
+ var styles = {"component":"gallery__component_y7sqx","mobile":"gallery__mobile_y7sqx","preview":"gallery__preview_y7sqx"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -5,7 +5,7 @@
5
5
  --gap-16: var(--gap-m);
6
6
  --gap-32: var(--gap-2xl);
7
7
  }
8
- .gallery__subtitles_2n7x6 {
8
+ .gallery__subtitles_16707 {
9
9
  position: absolute;
10
10
  align-self: flex-end;
11
11
  padding: var(--gap-0) var(--gap-32);
@@ -18,10 +18,10 @@
18
18
  opacity 500ms ease-in-out,
19
19
  margin-bottom 270ms ease-in-out;
20
20
  }
21
- .gallery__subtitles_2n7x6.gallery__mobile_2n7x6 {
21
+ .gallery__subtitles_16707.gallery__mobile_16707 {
22
22
  position: static;
23
23
  position: initial;
24
24
  }
25
- .gallery__hideSubtitles_2n7x6 {
25
+ .gallery__hideSubtitles_16707 {
26
26
  opacity: 0;
27
27
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- var styles = {"subtitles":"gallery__subtitles_2n7x6","mobile":"gallery__mobile_2n7x6","hideSubtitles":"gallery__hideSubtitles_2n7x6"};
3
+ var styles = {"subtitles":"gallery__subtitles_16707","mobile":"gallery__mobile_16707","hideSubtitles":"gallery__hideSubtitles_16707"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
package/esm/index.css CHANGED
@@ -13,7 +13,7 @@
13
13
  --sat: env(safe-area-inset-top, var(--gap-0));
14
14
  --sab: env(safe-area-inset-bottom, var(--gap-0));
15
15
  }
16
- .gallery__container_4v78w {
16
+ .gallery__container_10cj0 {
17
17
  position: relative;
18
18
  overflow-x: hidden;
19
19
  overflow-y: auto;
@@ -26,16 +26,16 @@
26
26
  padding-top: var(--sat);
27
27
  padding-bottom: var(--sab);
28
28
  }
29
- .gallery__container_4v78w.gallery__mobile_4v78w {
29
+ .gallery__container_10cj0.gallery__mobile_10cj0 {
30
30
  overflow: hidden;
31
31
  }
32
- .gallery__modal_4v78w {
32
+ .gallery__modal_10cj0 {
33
33
  flex-grow: 1;
34
34
  width: 100vw;
35
35
  height: 100vh;
36
36
  background: transparent;
37
37
  }
38
- .gallery__navigationVideo_4v78w {
38
+ .gallery__navigationVideo_10cj0 {
39
39
  z-index: 3;
40
40
  width: 100%;
41
41
  position: absolute;
@@ -44,18 +44,18 @@
44
44
  transition: transform 0.3s ease-in-out;
45
45
  text-align: center;
46
46
  }
47
- .gallery__hide_4v78w {
47
+ .gallery__hide_10cj0 {
48
48
  transform: translateY(114px);
49
49
  }
50
- .gallery__hideInfo_4v78w {
50
+ .gallery__hideInfo_10cj0 {
51
51
  transform: translateY(48px);
52
52
  }
53
- .gallery__bottomButton_4v78w {
53
+ .gallery__bottomButton_10cj0 {
54
54
  width: calc(100% - var(--gap-32));
55
55
  margin: var(--gap-16);
56
56
  background-color: var(--color-static-neutral-translucent-500-inverted);
57
57
  }
58
- .gallery__subtitles_4v78w {
58
+ .gallery__subtitles_10cj0 {
59
59
  padding: var(--gap-0) var(--gap-32);
60
60
  margin-bottom: var(--gap-16);
61
61
  width: 100%;
@@ -66,6 +66,6 @@
66
66
  opacity 500ms ease-in-out,
67
67
  margin-bottom 270ms ease-in-out;
68
68
  }
69
- .gallery__hideSubtitles_4v78w {
69
+ .gallery__hideSubtitles_10cj0 {
70
70
  opacity: 0;
71
71
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- var styles = {"container":"gallery__container_4v78w","mobile":"gallery__mobile_4v78w","modal":"gallery__modal_4v78w","navigationVideo":"gallery__navigationVideo_4v78w","hide":"gallery__hide_4v78w","hideInfo":"gallery__hideInfo_4v78w","bottomButton":"gallery__bottomButton_4v78w"};
3
+ var styles = {"container":"gallery__container_10cj0","mobile":"gallery__mobile_10cj0","modal":"gallery__modal_10cj0","navigationVideo":"gallery__navigationVideo_10cj0","hide":"gallery__hide_10cj0","hideInfo":"gallery__hideInfo_10cj0","bottomButton":"gallery__bottomButton_10cj0"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
package/index.css CHANGED
@@ -13,7 +13,7 @@
13
13
  --sat: env(safe-area-inset-top, var(--gap-0));
14
14
  --sab: env(safe-area-inset-bottom, var(--gap-0));
15
15
  }
16
- .gallery__container_4v78w {
16
+ .gallery__container_10cj0 {
17
17
  position: relative;
18
18
  overflow-x: hidden;
19
19
  overflow-y: auto;
@@ -26,16 +26,16 @@
26
26
  padding-top: var(--sat);
27
27
  padding-bottom: var(--sab);
28
28
  }
29
- .gallery__container_4v78w.gallery__mobile_4v78w {
29
+ .gallery__container_10cj0.gallery__mobile_10cj0 {
30
30
  overflow: hidden;
31
31
  }
32
- .gallery__modal_4v78w {
32
+ .gallery__modal_10cj0 {
33
33
  flex-grow: 1;
34
34
  width: 100vw;
35
35
  height: 100vh;
36
36
  background: transparent;
37
37
  }
38
- .gallery__navigationVideo_4v78w {
38
+ .gallery__navigationVideo_10cj0 {
39
39
  z-index: 3;
40
40
  width: 100%;
41
41
  position: absolute;
@@ -44,18 +44,18 @@
44
44
  transition: transform 0.3s ease-in-out;
45
45
  text-align: center;
46
46
  }
47
- .gallery__hide_4v78w {
47
+ .gallery__hide_10cj0 {
48
48
  transform: translateY(114px);
49
49
  }
50
- .gallery__hideInfo_4v78w {
50
+ .gallery__hideInfo_10cj0 {
51
51
  transform: translateY(48px);
52
52
  }
53
- .gallery__bottomButton_4v78w {
53
+ .gallery__bottomButton_10cj0 {
54
54
  width: calc(100% - var(--gap-32));
55
55
  margin: var(--gap-16);
56
56
  background-color: var(--color-static-neutral-translucent-500-inverted);
57
57
  }
58
- .gallery__subtitles_4v78w {
58
+ .gallery__subtitles_10cj0 {
59
59
  padding: var(--gap-0) var(--gap-32);
60
60
  margin-bottom: var(--gap-16);
61
61
  width: 100%;
@@ -66,6 +66,6 @@
66
66
  opacity 500ms ease-in-out,
67
67
  margin-bottom 270ms ease-in-out;
68
68
  }
69
- .gallery__hideSubtitles_4v78w {
69
+ .gallery__hideSubtitles_10cj0 {
70
70
  opacity: 0;
71
71
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./index.css');
4
4
 
5
- var styles = {"container":"gallery__container_4v78w","mobile":"gallery__mobile_4v78w","modal":"gallery__modal_4v78w","navigationVideo":"gallery__navigationVideo_4v78w","hide":"gallery__hide_4v78w","hideInfo":"gallery__hideInfo_4v78w","bottomButton":"gallery__bottomButton_4v78w"};
5
+ var styles = {"container":"gallery__container_10cj0","mobile":"gallery__mobile_10cj0","modal":"gallery__modal_10cj0","navigationVideo":"gallery__navigationVideo_10cj0","hide":"gallery__hide_10cj0","hideInfo":"gallery__hideInfo_10cj0","bottomButton":"gallery__bottomButton_10cj0"};
6
6
 
7
7
  module.exports = styles;
8
8
  //# sourceMappingURL=index.module.css.js.map