@alfalab/core-components-gallery 4.1.1 → 4.1.4

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 +499 -0
  2. package/{Component.d.ts → dist/Component.d.ts} +0 -0
  3. package/{Component.js → dist/Component.js} +3 -3
  4. package/{components → dist/components}/header/Component.d.ts +0 -0
  5. package/{components → dist/components}/header/Component.js +2 -2
  6. package/{components → dist/components}/header/buttons.d.ts +0 -0
  7. package/{components → dist/components}/header/buttons.js +1 -1
  8. package/{esm → dist}/components/header/index.css +3 -3
  9. package/{components → dist/components}/header/index.d.ts +0 -0
  10. package/{components → dist/components}/header/index.js +1 -1
  11. package/{components → dist/components}/header-info-block/Component.d.ts +0 -0
  12. package/{components → dist/components}/header-info-block/Component.js +1 -1
  13. package/{components → dist/components}/header-info-block/index.css +5 -5
  14. package/{components → dist/components}/header-info-block/index.d.ts +0 -0
  15. package/{components → dist/components}/header-info-block/index.js +0 -0
  16. package/{components → dist/components}/image-preview/Component.d.ts +0 -0
  17. package/{components → dist/components}/image-preview/Component.js +1 -1
  18. package/{esm → dist}/components/image-preview/index.css +12 -12
  19. package/{components → dist/components}/image-preview/index.d.ts +0 -0
  20. package/{components → dist/components}/image-preview/index.js +0 -0
  21. package/{components → dist/components}/image-viewer/component.d.ts +0 -0
  22. package/{components → dist/components}/image-viewer/component.js +2 -2
  23. package/{esm → dist}/components/image-viewer/index.css +19 -19
  24. package/{components → dist/components}/image-viewer/index.d.ts +0 -0
  25. package/{components → dist/components}/image-viewer/index.js +2 -2
  26. package/{components → dist/components}/image-viewer/slide.d.ts +0 -0
  27. package/{components → dist/components}/image-viewer/slide.js +1 -1
  28. package/{components → dist/components}/index.d.ts +0 -0
  29. package/{components → dist/components}/index.js +2 -2
  30. package/{components → dist/components}/navigation-bar/Component.d.ts +0 -0
  31. package/{components → dist/components}/navigation-bar/Component.js +1 -1
  32. package/{esm → dist}/components/navigation-bar/index.css +6 -6
  33. package/{components → dist/components}/navigation-bar/index.d.ts +0 -0
  34. package/{components → dist/components}/navigation-bar/index.js +0 -0
  35. package/{context.d.ts → dist/context.d.ts} +0 -0
  36. package/{context.js → dist/context.js} +0 -0
  37. package/{cssm → dist/cssm}/Component.d.ts +0 -0
  38. package/{cssm → dist/cssm}/Component.js +4 -4
  39. package/{cssm → dist/cssm}/components/header/Component.d.ts +0 -0
  40. package/{cssm → dist/cssm}/components/header/Component.js +3 -3
  41. package/{cssm → dist/cssm}/components/header/buttons.d.ts +0 -0
  42. package/{cssm → dist/cssm}/components/header/buttons.js +2 -2
  43. package/{cssm → dist/cssm}/components/header/index.d.ts +0 -0
  44. package/{cssm → dist/cssm}/components/header/index.js +3 -3
  45. package/{cssm → dist/cssm}/components/header/index.module.css +0 -0
  46. package/{cssm → dist/cssm}/components/header-info-block/Component.d.ts +0 -0
  47. package/{cssm → dist/cssm}/components/header-info-block/Component.js +1 -1
  48. package/{cssm → dist/cssm}/components/header-info-block/index.d.ts +0 -0
  49. package/{cssm → dist/cssm}/components/header-info-block/index.js +1 -1
  50. package/{cssm → dist/cssm}/components/header-info-block/index.module.css +0 -0
  51. package/{cssm → dist/cssm}/components/image-preview/Component.d.ts +0 -0
  52. package/{cssm → dist/cssm}/components/image-preview/Component.js +0 -0
  53. package/{cssm → dist/cssm}/components/image-preview/index.d.ts +0 -0
  54. package/{cssm → dist/cssm}/components/image-preview/index.js +0 -0
  55. package/{cssm → dist/cssm}/components/image-preview/index.module.css +0 -0
  56. package/{cssm → dist/cssm}/components/image-viewer/component.d.ts +0 -0
  57. package/{cssm → dist/cssm}/components/image-viewer/component.js +1 -1
  58. package/{cssm → dist/cssm}/components/image-viewer/index.d.ts +0 -0
  59. package/{cssm → dist/cssm}/components/image-viewer/index.js +1 -1
  60. package/{cssm → dist/cssm}/components/image-viewer/index.module.css +0 -0
  61. package/{cssm → dist/cssm}/components/image-viewer/slide.d.ts +0 -0
  62. package/{cssm → dist/cssm}/components/image-viewer/slide.js +1 -1
  63. package/{cssm → dist/cssm}/components/index.d.ts +0 -0
  64. package/{cssm → dist/cssm}/components/index.js +3 -3
  65. package/{cssm → dist/cssm}/components/navigation-bar/Component.d.ts +0 -0
  66. package/{cssm → dist/cssm}/components/navigation-bar/Component.js +0 -0
  67. package/{cssm → dist/cssm}/components/navigation-bar/index.d.ts +0 -0
  68. package/{cssm → dist/cssm}/components/navigation-bar/index.js +0 -0
  69. package/{cssm → dist/cssm}/components/navigation-bar/index.module.css +0 -0
  70. package/{cssm → dist/cssm}/context.d.ts +0 -0
  71. package/{cssm → dist/cssm}/context.js +0 -0
  72. package/{cssm → dist/cssm}/index.d.ts +0 -0
  73. package/{cssm → dist/cssm}/index.js +4 -4
  74. package/{cssm → dist/cssm}/index.module.css +0 -0
  75. package/{cssm → dist/cssm}/tslib.es6-ce870b46.d.ts +0 -0
  76. package/{cssm → dist/cssm}/tslib.es6-ce870b46.js +0 -0
  77. package/{cssm → dist/cssm}/types.d.ts +0 -0
  78. package/{cssm → dist/cssm}/types.js +0 -0
  79. package/{cssm → dist/cssm}/utils/constants.d.ts +0 -0
  80. package/{cssm → dist/cssm}/utils/constants.js +0 -0
  81. package/{cssm → dist/cssm}/utils/index.d.ts +0 -0
  82. package/{cssm → dist/cssm}/utils/index.js +0 -0
  83. package/{cssm → dist/cssm}/utils/split-filename.d.ts +0 -0
  84. package/{cssm → dist/cssm}/utils/split-filename.js +0 -0
  85. package/{cssm → dist/cssm}/utils/utils.d.ts +0 -0
  86. package/{cssm → dist/cssm}/utils/utils.js +0 -0
  87. package/{cssm → dist/cssm}/vars.css +0 -0
  88. package/{esm → dist/esm}/Component.d.ts +0 -0
  89. package/{esm → dist/esm}/Component.js +7 -7
  90. package/{esm → dist/esm}/components/header/Component.d.ts +0 -0
  91. package/{esm → dist/esm}/components/header/Component.js +5 -5
  92. package/{esm → dist/esm}/components/header/buttons.d.ts +0 -0
  93. package/{esm → dist/esm}/components/header/buttons.js +3 -3
  94. package/{components → dist/esm/components}/header/index.css +3 -3
  95. package/{esm → dist/esm}/components/header/index.d.ts +0 -0
  96. package/{esm → dist/esm}/components/header/index.js +4 -4
  97. package/{esm → dist/esm}/components/header-info-block/Component.d.ts +0 -0
  98. package/{esm → dist/esm}/components/header-info-block/Component.js +2 -2
  99. package/{esm → dist/esm}/components/header-info-block/index.css +5 -5
  100. package/{esm → dist/esm}/components/header-info-block/index.d.ts +0 -0
  101. package/{esm → dist/esm}/components/header-info-block/index.js +1 -1
  102. package/{esm → dist/esm}/components/image-preview/Component.d.ts +0 -0
  103. package/{esm → dist/esm}/components/image-preview/Component.js +1 -1
  104. package/{components → dist/esm/components}/image-preview/index.css +12 -12
  105. package/{esm → dist/esm}/components/image-preview/index.d.ts +0 -0
  106. package/{esm → dist/esm}/components/image-preview/index.js +0 -0
  107. package/{esm → dist/esm}/components/image-viewer/component.d.ts +0 -0
  108. package/{esm → dist/esm}/components/image-viewer/component.js +3 -3
  109. package/{components → dist/esm/components}/image-viewer/index.css +19 -19
  110. package/{esm → dist/esm}/components/image-viewer/index.d.ts +0 -0
  111. package/{esm → dist/esm}/components/image-viewer/index.js +3 -3
  112. package/{esm → dist/esm}/components/image-viewer/slide.d.ts +0 -0
  113. package/dist/esm/components/image-viewer/slide.js +6 -0
  114. package/{esm → dist/esm}/components/index.d.ts +0 -0
  115. package/{esm → dist/esm}/components/index.js +5 -5
  116. package/{esm → dist/esm}/components/navigation-bar/Component.d.ts +0 -0
  117. package/{esm → dist/esm}/components/navigation-bar/Component.js +1 -1
  118. package/{modern → dist/esm}/components/navigation-bar/index.css +6 -6
  119. package/{esm → dist/esm}/components/navigation-bar/index.d.ts +0 -0
  120. package/{esm → dist/esm}/components/navigation-bar/index.js +0 -0
  121. package/{esm → dist/esm}/context.d.ts +0 -0
  122. package/{esm → dist/esm}/context.js +0 -0
  123. package/{esm → dist/esm}/index.css +3 -3
  124. package/{esm → dist/esm}/index.d.ts +0 -0
  125. package/{esm → dist/esm}/index.js +6 -6
  126. package/{esm/slide-025de3f8.d.ts → dist/esm/slide-96b0a51d.d.ts} +0 -0
  127. package/{esm/slide-025de3f8.js → dist/esm/slide-96b0a51d.js} +2 -2
  128. package/{esm/tslib.es6-fe32e06a.d.ts → dist/esm/tslib.es6-b8afed0e.d.ts} +0 -0
  129. package/{esm/tslib.es6-fe32e06a.js → dist/esm/tslib.es6-b8afed0e.js} +0 -0
  130. package/{esm → dist/esm}/types.d.ts +0 -0
  131. package/{esm → dist/esm}/types.js +0 -0
  132. package/{esm → dist/esm}/utils/constants.d.ts +0 -0
  133. package/{esm → dist/esm}/utils/constants.js +0 -0
  134. package/{esm → dist/esm}/utils/index.d.ts +0 -0
  135. package/{esm → dist/esm}/utils/index.js +0 -0
  136. package/{esm → dist/esm}/utils/split-filename.d.ts +0 -0
  137. package/{esm → dist/esm}/utils/split-filename.js +0 -0
  138. package/{esm → dist/esm}/utils/utils.d.ts +0 -0
  139. package/{esm → dist/esm}/utils/utils.js +0 -0
  140. package/{index.css → dist/index.css} +3 -3
  141. package/{index.d.ts → dist/index.d.ts} +0 -0
  142. package/{index.js → dist/index.js} +2 -2
  143. package/{modern → dist/modern}/Component.d.ts +0 -0
  144. package/{modern → dist/modern}/Component.js +6 -6
  145. package/{modern → dist/modern}/components/header/Component.d.ts +0 -0
  146. package/{modern → dist/modern}/components/header/Component.js +4 -4
  147. package/{modern → dist/modern}/components/header/buttons.d.ts +0 -0
  148. package/{modern → dist/modern}/components/header/buttons.js +2 -2
  149. package/{modern → dist/modern}/components/header/index.css +3 -3
  150. package/{modern → dist/modern}/components/header/index.d.ts +0 -0
  151. package/{modern → dist/modern}/components/header/index.js +3 -3
  152. package/{modern → dist/modern}/components/header-info-block/Component.d.ts +0 -0
  153. package/{modern → dist/modern}/components/header-info-block/Component.js +2 -2
  154. package/{modern → dist/modern}/components/header-info-block/index.css +5 -5
  155. package/{modern → dist/modern}/components/header-info-block/index.d.ts +0 -0
  156. package/{modern → dist/modern}/components/header-info-block/index.js +1 -1
  157. package/{modern → dist/modern}/components/image-preview/Component.d.ts +0 -0
  158. package/{modern → dist/modern}/components/image-preview/Component.js +1 -1
  159. package/{modern → dist/modern}/components/image-preview/index.css +12 -12
  160. package/{modern → dist/modern}/components/image-preview/index.d.ts +0 -0
  161. package/{modern → dist/modern}/components/image-preview/index.js +0 -0
  162. package/{modern → dist/modern}/components/image-viewer/component.d.ts +0 -0
  163. package/{modern → dist/modern}/components/image-viewer/component.js +2 -2
  164. package/{modern → dist/modern}/components/image-viewer/index.css +19 -19
  165. package/{modern → dist/modern}/components/image-viewer/index.d.ts +0 -0
  166. package/{modern → dist/modern}/components/image-viewer/index.js +2 -2
  167. package/{modern → dist/modern}/components/image-viewer/slide.d.ts +0 -0
  168. package/dist/modern/components/image-viewer/slide.js +6 -0
  169. package/{modern → dist/modern}/components/index.d.ts +0 -0
  170. package/{modern → dist/modern}/components/index.js +4 -4
  171. package/{modern → dist/modern}/components/navigation-bar/Component.d.ts +0 -0
  172. package/{modern → dist/modern}/components/navigation-bar/Component.js +1 -1
  173. package/{components → dist/modern/components}/navigation-bar/index.css +6 -6
  174. package/{modern → dist/modern}/components/navigation-bar/index.d.ts +0 -0
  175. package/{modern → dist/modern}/components/navigation-bar/index.js +0 -0
  176. package/{modern → dist/modern}/context.d.ts +0 -0
  177. package/{modern → dist/modern}/context.js +0 -0
  178. package/{modern → dist/modern}/index.css +3 -3
  179. package/{modern → dist/modern}/index.d.ts +0 -0
  180. package/{modern → dist/modern}/index.js +5 -5
  181. package/{modern/slide-be852369.d.ts → dist/modern/slide-0a5548d7.d.ts} +0 -0
  182. package/{modern/slide-be852369.js → dist/modern/slide-0a5548d7.js} +2 -2
  183. package/{modern → dist/modern}/types.d.ts +0 -0
  184. package/{modern → dist/modern}/types.js +0 -0
  185. package/{modern → dist/modern}/utils/constants.d.ts +0 -0
  186. package/{modern → dist/modern}/utils/constants.js +0 -0
  187. package/{modern → dist/modern}/utils/index.d.ts +0 -0
  188. package/{modern → dist/modern}/utils/index.js +0 -0
  189. package/{modern → dist/modern}/utils/split-filename.d.ts +0 -0
  190. package/{modern → dist/modern}/utils/split-filename.js +0 -0
  191. package/{modern → dist/modern}/utils/utils.d.ts +0 -0
  192. package/{modern → dist/modern}/utils/utils.js +0 -0
  193. package/{send-stats.js → dist/send-stats.js} +0 -0
  194. package/{slide-271423c4.d.ts → dist/slide-855296cb.d.ts} +0 -0
  195. package/{slide-271423c4.js → dist/slide-855296cb.js} +1 -1
  196. package/{tslib.es6-ea416c3a.d.ts → dist/tslib.es6-90133667.d.ts} +0 -0
  197. package/{tslib.es6-ea416c3a.js → dist/tslib.es6-90133667.js} +0 -0
  198. package/{types.d.ts → dist/types.d.ts} +0 -0
  199. package/{types.js → dist/types.js} +0 -0
  200. package/{utils → dist/utils}/constants.d.ts +0 -0
  201. package/{utils → dist/utils}/constants.js +0 -0
  202. package/{utils → dist/utils}/index.d.ts +0 -0
  203. package/{utils → dist/utils}/index.js +0 -0
  204. package/{utils → dist/utils}/split-filename.d.ts +0 -0
  205. package/{utils → dist/utils}/split-filename.js +0 -0
  206. package/{utils → dist/utils}/utils.d.ts +0 -0
  207. package/{utils → dist/utils}/utils.js +0 -0
  208. package/package.json +14 -11
  209. package/esm/components/image-viewer/slide.js +0 -6
  210. package/modern/components/image-viewer/slide.js +0 -6
File without changes
File without changes
File without changes
@@ -1,4 +1,4 @@
1
- /* hash: f4uf5 */
1
+ /* hash: 15w4b */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,14 +7,14 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .gallery__container_19x2i {
10
+ .gallery__container_qpmio {
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_19x2i {
17
+ .gallery__modal_qpmio {
18
18
  flex-grow: 1;
19
19
  width: 100%;
20
20
  background: transparent;
File without changes
@@ -14,7 +14,7 @@ var utils_utils = require('./utils/utils.js');
14
14
  var utils_constants = require('./utils/constants.js');
15
15
  require('@alfalab/core-components-typography');
16
16
  require('./components/header-info-block/Component.js');
17
- require('./tslib.es6-ea416c3a.js');
17
+ require('./tslib.es6-90133667.js');
18
18
  require('@alfalab/core-components-icon-button');
19
19
  require('@alfalab/core-components-tooltip');
20
20
  require('@alfalab/icons-glyph/PointerDownMIcon');
@@ -29,7 +29,7 @@ require('element-closest');
29
29
  require('swiper/swiper.min.css');
30
30
  require('@alfalab/icons-glyph/ChevronBackHeavyMIcon');
31
31
  require('@alfalab/icons-glyph/ChevronForwardHeavyMIcon');
32
- require('./slide-271423c4.js');
32
+ require('./slide-855296cb.js');
33
33
  require('./components/image-viewer/component.js');
34
34
  var Component = require('./Component.js');
35
35
 
File without changes
@@ -1,5 +1,5 @@
1
1
  import React, { useState, useCallback, useEffect } from 'react';
2
- import { BaseModal } from '@alfalab/core-components-base-modal/modern';
2
+ import { BaseModal } from '@alfalab/core-components-base-modal/dist/modern';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
5
  import { GalleryContext } from './context.js';
@@ -8,10 +8,10 @@ import { NavigationBar } from './components/navigation-bar/Component.js';
8
8
  import './utils/split-filename.js';
9
9
  import './utils/utils.js';
10
10
  import './utils/constants.js';
11
- import '@alfalab/core-components-typography/modern';
11
+ import '@alfalab/core-components-typography/dist/modern';
12
12
  import './components/header-info-block/Component.js';
13
- import '@alfalab/core-components-icon-button/modern';
14
- import '@alfalab/core-components-tooltip/modern';
13
+ import '@alfalab/core-components-icon-button/dist/modern';
14
+ import '@alfalab/core-components-tooltip/dist/modern';
15
15
  import '@alfalab/icons-glyph/PointerDownMIcon';
16
16
  import '@alfalab/icons-glyph/ArrowsOutwardMIcon';
17
17
  import '@alfalab/icons-glyph/ArrowsInwardMIcon';
@@ -24,10 +24,10 @@ 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-be852369.js';
27
+ import './slide-0a5548d7.js';
28
28
  import { ImageViewer } from './components/image-viewer/component.js';
29
29
 
30
- var styles = {"container":"gallery__container_19x2i","modal":"gallery__modal_19x2i"};
30
+ var styles = {"container":"gallery__container_qpmio","modal":"gallery__modal_qpmio"};
31
31
  require('./index.css')
32
32
 
33
33
  const Backdrop = () => null;
@@ -3,17 +3,17 @@ import { GalleryContext } from '../../context.js';
3
3
  import '../../utils/split-filename.js';
4
4
  import { isSmallImage } from '../../utils/utils.js';
5
5
  import { TestIds } from '../../utils/constants.js';
6
- import '@alfalab/core-components-typography/modern';
6
+ import '@alfalab/core-components-typography/dist/modern';
7
7
  import { HeaderInfoBlock } from '../header-info-block/Component.js';
8
- import '@alfalab/core-components-icon-button/modern';
9
- import '@alfalab/core-components-tooltip/modern';
8
+ import '@alfalab/core-components-icon-button/dist/modern';
9
+ import '@alfalab/core-components-tooltip/dist/modern';
10
10
  import '@alfalab/icons-glyph/PointerDownMIcon';
11
11
  import '@alfalab/icons-glyph/ArrowsOutwardMIcon';
12
12
  import '@alfalab/icons-glyph/ArrowsInwardMIcon';
13
13
  import '@alfalab/icons-glyph/CrossMIcon';
14
14
  import { ExitFullscreen, Fullscreen, Download, Exit } from './buttons.js';
15
15
 
16
- var styles = {"header":"gallery__header_14m02","buttons":"gallery__buttons_14m02"};
16
+ var styles = {"header":"gallery__header_1s1xu","buttons":"gallery__buttons_1s1xu"};
17
17
  require('./index.css')
18
18
 
19
19
  const Header = () => {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { IconButton } from '@alfalab/core-components-icon-button/modern';
3
- import { Tooltip } from '@alfalab/core-components-tooltip/modern';
2
+ import { IconButton } from '@alfalab/core-components-icon-button/dist/modern';
3
+ import { Tooltip } from '@alfalab/core-components-tooltip/dist/modern';
4
4
  import { PointerDownMIcon } from '@alfalab/icons-glyph/PointerDownMIcon';
5
5
  import { ArrowsOutwardMIcon } from '@alfalab/icons-glyph/ArrowsOutwardMIcon';
6
6
  import { ArrowsInwardMIcon } from '@alfalab/icons-glyph/ArrowsInwardMIcon';
@@ -1,4 +1,4 @@
1
- /* hash: 1drpp */
1
+ /* hash: wplyj */
2
2
  :root {
3
3
  --color-light-bg-tertiary-inverted: #3c4c5d;
4
4
  }
@@ -15,7 +15,7 @@
15
15
  --gap-xl: 24px;
16
16
  --gap-2xl: 32px;
17
17
  }
18
- .gallery__header_14m02 {
18
+ .gallery__header_1s1xu {
19
19
  display: flex;
20
20
  justify-content: space-between;
21
21
  flex-shrink: 0;
@@ -24,7 +24,7 @@
24
24
  background-color: var(--color-light-bg-tertiary-inverted);
25
25
  box-sizing: border-box;
26
26
  }
27
- .gallery__buttons_14m02 {
27
+ .gallery__buttons_1s1xu {
28
28
  display: flex;
29
29
  padding-left: var(--gap-2xl);
30
30
  }
@@ -3,10 +3,10 @@ import '../../context.js';
3
3
  import '../../utils/split-filename.js';
4
4
  import '../../utils/utils.js';
5
5
  import '../../utils/constants.js';
6
- import '@alfalab/core-components-typography/modern';
6
+ import '@alfalab/core-components-typography/dist/modern';
7
7
  import '../header-info-block/Component.js';
8
- import '@alfalab/core-components-icon-button/modern';
9
- import '@alfalab/core-components-tooltip/modern';
8
+ import '@alfalab/core-components-icon-button/dist/modern';
9
+ import '@alfalab/core-components-tooltip/dist/modern';
10
10
  import '@alfalab/icons-glyph/PointerDownMIcon';
11
11
  import '@alfalab/icons-glyph/ArrowsOutwardMIcon';
12
12
  import '@alfalab/icons-glyph/ArrowsInwardMIcon';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import { splitFilename } from '../../utils/split-filename.js';
3
- import { Typography } from '@alfalab/core-components-typography/modern';
3
+ import { Typography } from '@alfalab/core-components-typography/dist/modern';
4
4
 
5
- var styles = {"info":"gallery__info_4brx0","filenameHead":"gallery__filenameHead_4brx0","filenameContainer":"gallery__filenameContainer_4brx0","description":"gallery__description_4brx0"};
5
+ var styles = {"info":"gallery__info_174yn","filenameHead":"gallery__filenameHead_174yn","filenameContainer":"gallery__filenameContainer_174yn","description":"gallery__description_174yn"};
6
6
  require('./index.css')
7
7
 
8
8
  const HeaderInfoBlock = ({ filename, description }) => {
@@ -1,4 +1,4 @@
1
- /* hash: fsugk */
1
+ /* hash: zi4iy */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -10,24 +10,24 @@
10
10
  :root {
11
11
  --gap-2xs: 4px;
12
12
  }
13
- .gallery__info_4brx0 {
13
+ .gallery__info_174yn {
14
14
  height: 100%;
15
15
  display: flex;
16
16
  flex-direction: column;
17
17
  justify-content: center;
18
18
  overflow: hidden;
19
19
  }
20
- .gallery__filenameHead_4brx0 {
20
+ .gallery__filenameHead_174yn {
21
21
  display: inline;
22
22
  text-overflow: ellipsis;
23
23
  overflow: hidden;
24
24
  white-space: nowrap;
25
25
  }
26
- .gallery__filenameContainer_4brx0 {
26
+ .gallery__filenameContainer_174yn {
27
27
  overflow: hidden;
28
28
  display: inline-flex;
29
29
  }
30
- .gallery__description_4brx0 {
30
+ .gallery__description_174yn {
31
31
  display: inline;
32
32
  text-overflow: ellipsis;
33
33
  overflow: hidden;
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import '../../utils/split-filename.js';
3
- import '@alfalab/core-components-typography/modern';
3
+ import '@alfalab/core-components-typography/dist/modern';
4
4
  export { HeaderInfoBlock } from './Component.js';
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import { useFocus } from '@alfalab/hooks';
4
4
  import { GalleryContext } from '../../context.js';
5
5
 
6
- var styles = {"component":"gallery__component_ph3s3","active":"gallery__active_ph3s3","image":"gallery__image_ph3s3","preview":"gallery__preview_ph3s3","loading":"gallery__loading_ph3s3","brokenImageWrapper":"gallery__brokenImageWrapper_ph3s3","brokenIcon":"gallery__brokenIcon_ph3s3","focused":"gallery__focused_ph3s3"};
6
+ var styles = {"component":"gallery__component_1saai","active":"gallery__active_1saai","image":"gallery__image_1saai","preview":"gallery__preview_1saai","loading":"gallery__loading_1saai","brokenImageWrapper":"gallery__brokenImageWrapper_1saai","brokenIcon":"gallery__brokenIcon_1saai","focused":"gallery__focused_1saai"};
7
7
  require('./index.css')
8
8
 
9
9
  const ImagePreview = ({ image, active = false, index, onSelect, className }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1e7pz */
1
+ /* hash: 1xx02 */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-key-inverted: #fff;
@@ -25,7 +25,7 @@
25
25
  :root {
26
26
  --gallery-broken-image-icon: url('https://alfabank.servicecdn.ru/icons/art_no-image_s.svg');
27
27
  }
28
- .gallery__component_ph3s3 {
28
+ .gallery__component_1saai {
29
29
  display: flex;
30
30
  padding: var(--gap-2xs);
31
31
  border: 2px solid rgba(0, 0, 0, 0);
@@ -34,13 +34,13 @@
34
34
  transition: border 0.15s ease-in-out;
35
35
  outline: none;
36
36
  }
37
- .gallery__active_ph3s3 {
37
+ .gallery__active_1saai {
38
38
  border-color: var(--color-light-border-key-inverted)
39
39
  }
40
- .gallery__active_ph3s3 > .gallery__image_ph3s3 {
40
+ .gallery__active_1saai > .gallery__image_1saai {
41
41
  opacity: 0.7;
42
42
  }
43
- .gallery__preview_ph3s3 {
43
+ .gallery__preview_1saai {
44
44
  width: 56px;
45
45
  height: 56px;
46
46
  flex-shrink: 0;
@@ -49,37 +49,37 @@
49
49
  -webkit-user-select: none;
50
50
  user-select: none;
51
51
  }
52
- .gallery__image_ph3s3 {
52
+ .gallery__image_1saai {
53
53
  background-color: var(--color-light-bg-primary);
54
54
  background-size: cover;
55
55
  background-repeat: no-repeat;
56
56
  background-position: center;
57
57
  transition: opacity 0.15s ease-in-out
58
58
  }
59
- .gallery__image_ph3s3:hover {
59
+ .gallery__image_1saai:hover {
60
60
  opacity: 0.7;
61
61
  }
62
- .gallery__loading_ph3s3 {
62
+ .gallery__loading_1saai {
63
63
  /* TODO: цвета нет в палитре */
64
64
  background-color: #e9eaeb;
65
65
  }
66
- .gallery__brokenImageWrapper_ph3s3 {
66
+ .gallery__brokenImageWrapper_1saai {
67
67
  display: flex;
68
68
  justify-content: center;
69
69
  align-items: center;
70
70
  background-color: var(--color-light-bg-primary)
71
71
  }
72
- .gallery__brokenImageWrapper_ph3s3:hover {
72
+ .gallery__brokenImageWrapper_1saai:hover {
73
73
  opacity: 0.7;
74
74
  }
75
- .gallery__brokenIcon_ph3s3 {
75
+ .gallery__brokenIcon_1saai {
76
76
  width: 40px;
77
77
  height: 40px;
78
78
  background-image: var(--gallery-broken-image-icon);
79
79
  background-size: contain;
80
80
  background-repeat: no-repeat;
81
81
  }
82
- .gallery__focused_ph3s3 {
82
+ .gallery__focused_1saai {
83
83
  outline: 2px solid var(--focus-color);
84
84
  outline-offset: 2px;
85
85
  }
@@ -4,14 +4,14 @@ import { useFocus } from '@alfalab/hooks';
4
4
  import { GalleryContext } from '../../context.js';
5
5
  import { getImageAlt, getImageKey } from '../../utils/utils.js';
6
6
  import { TestIds } from '../../utils/constants.js';
7
- import '@alfalab/core-components-typography/modern';
7
+ import '@alfalab/core-components-typography/dist/modern';
8
8
  import SwiperCore, { EffectFade, A11y, Controller } from 'swiper';
9
9
  import { Swiper, SwiperSlide } from 'swiper/react';
10
10
  import elementClosest from 'element-closest';
11
11
  import 'swiper/swiper.min.css';
12
12
  import { ChevronBackHeavyMIcon } from '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
13
13
  import { ChevronForwardHeavyMIcon } from '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
14
- import { s as styles, S as Slide } from '../../slide-be852369.js';
14
+ import { s as styles, S as Slide } from '../../slide-0a5548d7.js';
15
15
 
16
16
  SwiperCore.use([EffectFade, A11y, Controller]);
17
17
  const ImageViewer = () => {
@@ -1,4 +1,4 @@
1
- /* hash: 1vvop */
1
+ /* hash: 1ohvk */
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.servicecdn.ru/icons/art_no-image_s.svg');
31
31
  }
32
- .gallery__component_1mff3 {
32
+ .gallery__component_1qr1w {
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_1mff3 {
39
+ .gallery__swiper_1qr1w {
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_1mff3 .gallery__swiper_1mff3 {
49
+ .gallery__singleSlide_1qr1w .gallery__swiper_1qr1w {
50
50
  max-height: calc(100vh - 80px);
51
51
  padding: var(--gap-2xl);
52
52
  }
53
- .gallery__hidden_1mff3 {
53
+ .gallery__hidden_1qr1w {
54
54
  display: none;
55
55
  }
56
- .gallery__slide_1mff3 {
56
+ .gallery__slide_1qr1w {
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_1mff3 {
64
+ .gallery__slideLoading_1qr1w {
65
65
  /* TODO: цвета нет в палитре */
66
66
  background-color: #e9eaeb;
67
67
  border-radius: var(--border-radius-m);
68
68
  }
69
- .gallery__image_1mff3 {
69
+ .gallery__image_1qr1w {
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_1mff3 {
77
+ .gallery__smallImage_1qr1w {
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_1mff3 {
85
+ .gallery__verticalImageFit_1qr1w {
86
86
  width: auto;
87
87
  height: 100%;
88
88
  }
89
- .gallery__horizontalImageFit_1mff3 {
89
+ .gallery__horizontalImageFit_1qr1w {
90
90
  width: 100%;
91
91
  height: auto;
92
92
  }
93
- .gallery__arrow_1mff3 {
93
+ .gallery__arrow_1qr1w {
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_1mff3:hover {
106
+ .gallery__arrow_1qr1w:hover {
107
107
  background-color: var(--color-light-bg-primary-inverted-alpha-10);
108
108
  }
109
- .gallery__arrow_1mff3:active {
109
+ .gallery__arrow_1qr1w:active {
110
110
  background-color: var(--color-light-bg-primary-inverted-alpha-20);
111
111
  }
112
- .gallery__focused_1mff3 {
112
+ .gallery__focused_1qr1w {
113
113
  outline: 2px solid var(--focus-color);
114
114
  outline-offset: 2px;
115
115
  }
116
- .gallery__placeholder_1mff3 {
116
+ .gallery__placeholder_1qr1w {
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_1mff3 {
125
+ .gallery__brokenImgWrapper_1qr1w {
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_1mff3 {
133
+ .gallery__brokenImgIcon_1qr1w {
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_1mff3 {
141
+ .gallery__fullScreenImage_1qr1w {
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/modern';
7
+ import '@alfalab/core-components-typography/dist/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-be852369.js';
14
+ import '../../slide-0a5548d7.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/dist/modern';
6
+ export { S as Slide } from '../../slide-0a5548d7.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/modern';
10
+ import '@alfalab/core-components-typography/dist/modern';
11
11
  import './header-info-block/Component.js';
12
- import '@alfalab/core-components-icon-button/modern';
13
- import '@alfalab/core-components-tooltip/modern';
12
+ import '@alfalab/core-components-icon-button/dist/modern';
13
+ import '@alfalab/core-components-tooltip/dist/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-be852369.js';
26
+ import '../slide-0a5548d7.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_pm73o","preview":"gallery__preview_pm73o"};
9
+ var styles = {"component":"gallery__component_1s86n","preview":"gallery__preview_1s86n"};
10
10
  require('./index.css')
11
11
 
12
12
  const MIN_SCROLL_STEP = 24;
@@ -1,4 +1,4 @@
1
- /* hash: 3evif */
1
+ /* hash: 93yvc */
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_pm73o {
17
+ .gallery__component_1s86n {
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_pm73o::-webkit-scrollbar {
30
+ .gallery__component_1s86n::-webkit-scrollbar {
31
31
  display: none;
32
32
  }
33
- .gallery__preview_pm73o {
33
+ .gallery__preview_1s86n {
34
34
  flex-shrink: 0;
35
35
  margin: 0 var(--gap-3xs)
36
36
  }
37
- .gallery__preview_pm73o:first-child {
37
+ .gallery__preview_1s86n:first-child {
38
38
  margin-left: auto;
39
39
  }
40
- .gallery__preview_pm73o:last-child {
40
+ .gallery__preview_1s86n:last-child {
41
41
  margin-right: auto;
42
42
  }
File without changes
File without changes
@@ -1,4 +1,4 @@
1
- /* hash: f4uf5 */
1
+ /* hash: 15w4b */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,14 +7,14 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .gallery__container_19x2i {
10
+ .gallery__container_qpmio {
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_19x2i {
17
+ .gallery__modal_qpmio {
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/modern';
2
+ import '@alfalab/core-components-base-modal/dist/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/modern';
11
+ import '@alfalab/core-components-typography/dist/modern';
12
12
  import './components/header-info-block/Component.js';
13
- import '@alfalab/core-components-icon-button/modern';
14
- import '@alfalab/core-components-tooltip/modern';
13
+ import '@alfalab/core-components-icon-button/dist/modern';
14
+ import '@alfalab/core-components-tooltip/dist/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-be852369.js';
27
+ import './slide-0a5548d7.js';
28
28
  import './components/image-viewer/component.js';
29
29
  export { Gallery } from './Component.js';