@alfalab/core-components-gallery 3.2.1 → 3.2.2
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.
- package/CHANGELOG.md +8 -0
- package/dist/Component.js +3 -3
- package/dist/components/header/Component.js +2 -2
- package/dist/components/header/buttons.js +1 -1
- package/dist/components/header/index.css +3 -3
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-info-block/Component.js +1 -1
- package/dist/components/header-info-block/index.css +5 -5
- package/dist/components/image-preview/Component.js +1 -1
- package/dist/components/image-preview/index.css +12 -12
- package/dist/components/image-viewer/component.js +2 -2
- package/dist/components/image-viewer/index.css +19 -19
- package/dist/components/image-viewer/index.js +2 -2
- package/dist/components/image-viewer/slide.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/navigation-bar/Component.js +1 -1
- package/dist/components/navigation-bar/index.css +6 -6
- package/dist/esm/Component.js +3 -3
- package/dist/esm/components/header/Component.js +2 -2
- package/dist/esm/components/header/buttons.js +1 -1
- package/dist/esm/components/header/index.css +3 -3
- package/dist/esm/components/header/index.js +1 -1
- package/dist/esm/components/header-info-block/Component.js +1 -1
- package/dist/esm/components/header-info-block/index.css +5 -5
- package/dist/esm/components/image-preview/Component.js +1 -1
- package/dist/esm/components/image-preview/index.css +12 -12
- package/dist/esm/components/image-viewer/component.js +2 -2
- package/dist/esm/components/image-viewer/index.css +19 -19
- package/dist/esm/components/image-viewer/index.js +2 -2
- package/dist/esm/components/image-viewer/slide.js +1 -1
- package/dist/esm/components/index.js +2 -2
- package/dist/esm/components/navigation-bar/Component.js +1 -1
- package/dist/esm/components/navigation-bar/index.css +6 -6
- package/dist/esm/index.css +3 -3
- package/dist/esm/index.js +2 -2
- package/dist/esm/{slide-bdca7358.d.ts → slide-76ced5ad.d.ts} +0 -0
- package/dist/esm/{slide-bdca7358.js → slide-76ced5ad.js} +1 -1
- package/dist/esm/{tslib.es6-f1a80c68.d.ts → tslib.es6-4da0bc04.d.ts} +0 -0
- package/dist/esm/{tslib.es6-f1a80c68.js → tslib.es6-4da0bc04.js} +0 -0
- package/dist/index.css +3 -3
- package/dist/index.js +2 -2
- package/dist/modern/Component.js +2 -2
- package/dist/modern/components/header/Component.js +1 -1
- package/dist/modern/components/header/index.css +3 -3
- package/dist/modern/components/header-info-block/Component.js +1 -1
- package/dist/modern/components/header-info-block/index.css +5 -5
- package/dist/modern/components/image-preview/Component.js +1 -1
- package/dist/modern/components/image-preview/index.css +12 -12
- package/dist/modern/components/image-viewer/component.js +1 -1
- package/dist/modern/components/image-viewer/index.css +19 -19
- package/dist/modern/components/image-viewer/index.js +1 -1
- package/dist/modern/components/image-viewer/slide.js +1 -1
- package/dist/modern/components/index.js +1 -1
- package/dist/modern/components/navigation-bar/Component.js +1 -1
- package/dist/modern/components/navigation-bar/index.css +6 -6
- package/dist/modern/index.css +3 -3
- package/dist/modern/index.js +1 -1
- package/dist/modern/{slide-cbc4d768.d.ts → slide-3d607a70.d.ts} +0 -0
- package/dist/modern/{slide-cbc4d768.js → slide-3d607a70.js} +1 -1
- package/dist/{slide-a6b5d7a4.d.ts → slide-1e42428d.d.ts} +0 -0
- package/dist/{slide-a6b5d7a4.js → slide-1e42428d.js} +1 -1
- package/dist/{tslib.es6-d94f6007.d.ts → tslib.es6-f22ffebd.d.ts} +0 -0
- package/dist/{tslib.es6-d94f6007.js → tslib.es6-f22ffebd.js} +0 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.2.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@3.2.1...@alfalab/core-components-gallery@3.2.2) (2022-06-30)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @alfalab/core-components-gallery
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [3.2.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@3.2.0...@alfalab/core-components-gallery@3.2.1) (2022-06-29)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @alfalab/core-components-gallery
|
package/dist/Component.js
CHANGED
|
@@ -14,7 +14,7 @@ require('./utils/utils.js');
|
|
|
14
14
|
require('./utils/constants.js');
|
|
15
15
|
require('@alfalab/core-components-typography');
|
|
16
16
|
require('./components/header-info-block/Component.js');
|
|
17
|
-
require('./tslib.es6-
|
|
17
|
+
require('./tslib.es6-f22ffebd.js');
|
|
18
18
|
require('@alfalab/core-components-icon-button');
|
|
19
19
|
require('@alfalab/core-components-tooltip');
|
|
20
20
|
require('@alfalab/icons-glyph/PointerDownMIcon');
|
|
@@ -29,14 +29,14 @@ 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-
|
|
32
|
+
require('./slide-1e42428d.js');
|
|
33
33
|
var components_imageViewer_component = require('./components/image-viewer/component.js');
|
|
34
34
|
|
|
35
35
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
36
36
|
|
|
37
37
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
38
38
|
|
|
39
|
-
var styles = {"container":"
|
|
39
|
+
var styles = {"container":"gallery__container_3rnc6","modal":"gallery__modal_3rnc6"};
|
|
40
40
|
require('./index.css')
|
|
41
41
|
|
|
42
42
|
var Backdrop = function () { return null; };
|
|
@@ -9,7 +9,7 @@ var utils_utils = require('../../utils/utils.js');
|
|
|
9
9
|
var utils_constants = require('../../utils/constants.js');
|
|
10
10
|
require('@alfalab/core-components-typography');
|
|
11
11
|
var components_headerInfoBlock_Component = require('../header-info-block/Component.js');
|
|
12
|
-
require('../../tslib.es6-
|
|
12
|
+
require('../../tslib.es6-f22ffebd.js');
|
|
13
13
|
require('@alfalab/core-components-icon-button');
|
|
14
14
|
require('@alfalab/core-components-tooltip');
|
|
15
15
|
require('@alfalab/icons-glyph/PointerDownMIcon');
|
|
@@ -22,7 +22,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
22
22
|
|
|
23
23
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
24
24
|
|
|
25
|
-
var styles = {"header":"
|
|
25
|
+
var styles = {"header":"gallery__header_vy2xe","buttons":"gallery__buttons_vy2xe"};
|
|
26
26
|
require('./index.css')
|
|
27
27
|
|
|
28
28
|
var Header = function () {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
6
|
+
var tslib_es6 = require('../../tslib.es6-f22ffebd.js');
|
|
7
7
|
var coreComponentsIconButton = require('@alfalab/core-components-icon-button');
|
|
8
8
|
var coreComponentsTooltip = require('@alfalab/core-components-tooltip');
|
|
9
9
|
var PointerDownMIcon = require('@alfalab/icons-glyph/PointerDownMIcon');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 2m56f */
|
|
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
|
-
.
|
|
18
|
+
.gallery__header_vy2xe {
|
|
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
|
-
.
|
|
27
|
+
.gallery__buttons_vy2xe {
|
|
28
28
|
display: flex;
|
|
29
29
|
padding-left: var(--gap-2xl);
|
|
30
30
|
}
|
|
@@ -9,7 +9,7 @@ require('../../utils/utils.js');
|
|
|
9
9
|
require('../../utils/constants.js');
|
|
10
10
|
require('@alfalab/core-components-typography');
|
|
11
11
|
require('../header-info-block/Component.js');
|
|
12
|
-
require('../../tslib.es6-
|
|
12
|
+
require('../../tslib.es6-f22ffebd.js');
|
|
13
13
|
require('@alfalab/core-components-icon-button');
|
|
14
14
|
require('@alfalab/core-components-tooltip');
|
|
15
15
|
require('@alfalab/icons-glyph/PointerDownMIcon');
|
|
@@ -10,7 +10,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
10
10
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
12
12
|
|
|
13
|
-
var styles = {"info":"
|
|
13
|
+
var styles = {"info":"gallery__info_15qhi","filenameHead":"gallery__filenameHead_15qhi","filenameContainer":"gallery__filenameContainer_15qhi","description":"gallery__description_15qhi"};
|
|
14
14
|
require('./index.css')
|
|
15
15
|
|
|
16
16
|
var HeaderInfoBlock = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1tllb */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -10,24 +10,24 @@
|
|
|
10
10
|
:root {
|
|
11
11
|
--gap-2xs: 4px;
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
.gallery__info_15qhi {
|
|
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
|
-
.
|
|
20
|
+
.gallery__filenameHead_15qhi {
|
|
21
21
|
display: inline;
|
|
22
22
|
text-overflow: ellipsis;
|
|
23
23
|
overflow: hidden;
|
|
24
24
|
white-space: nowrap;
|
|
25
25
|
}
|
|
26
|
-
.
|
|
26
|
+
.gallery__filenameContainer_15qhi {
|
|
27
27
|
overflow: hidden;
|
|
28
28
|
display: inline-flex;
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
.gallery__description_15qhi {
|
|
31
31
|
display: inline;
|
|
32
32
|
text-overflow: ellipsis;
|
|
33
33
|
overflow: hidden;
|
|
@@ -12,7 +12,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
12
12
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
13
13
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
14
14
|
|
|
15
|
-
var styles = {"component":"
|
|
15
|
+
var styles = {"component":"gallery__component_1fbt9","active":"gallery__active_1fbt9","image":"gallery__image_1fbt9","preview":"gallery__preview_1fbt9","loading":"gallery__loading_1fbt9","brokenImageWrapper":"gallery__brokenImageWrapper_1fbt9","brokenIcon":"gallery__brokenIcon_1fbt9","focused":"gallery__focused_1fbt9"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
18
|
var ImagePreview = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: szcsh */
|
|
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.gcdn.co/icons/art_no-image_s.svg');
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.gallery__component_1fbt9 {
|
|
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
|
-
.
|
|
37
|
+
.gallery__active_1fbt9 {
|
|
38
38
|
border-color: var(--color-light-border-key-inverted)
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.gallery__active_1fbt9 > .gallery__image_1fbt9 {
|
|
41
41
|
opacity: 0.7;
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.gallery__preview_1fbt9 {
|
|
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
|
-
.
|
|
52
|
+
.gallery__image_1fbt9 {
|
|
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
|
-
.
|
|
59
|
+
.gallery__image_1fbt9:hover {
|
|
60
60
|
opacity: 0.7;
|
|
61
61
|
}
|
|
62
|
-
.
|
|
62
|
+
.gallery__loading_1fbt9 {
|
|
63
63
|
/* TODO: цвета нет в палитре */
|
|
64
64
|
background-color: #e9eaeb;
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
.gallery__brokenImageWrapper_1fbt9 {
|
|
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
|
-
.
|
|
72
|
+
.gallery__brokenImageWrapper_1fbt9:hover {
|
|
73
73
|
opacity: 0.7;
|
|
74
74
|
}
|
|
75
|
-
.
|
|
75
|
+
.gallery__brokenIcon_1fbt9 {
|
|
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
|
-
.
|
|
82
|
+
.gallery__focused_1fbt9 {
|
|
83
83
|
outline: 2px solid var(--focus-color);
|
|
84
84
|
outline-offset: 2px;
|
|
85
85
|
}
|
|
@@ -9,14 +9,14 @@ var context = require('../../context.js');
|
|
|
9
9
|
var utils_utils = require('../../utils/utils.js');
|
|
10
10
|
var utils_constants = require('../../utils/constants.js');
|
|
11
11
|
require('@alfalab/core-components-typography');
|
|
12
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
12
|
+
var tslib_es6 = require('../../tslib.es6-f22ffebd.js');
|
|
13
13
|
var SwiperCore = require('swiper');
|
|
14
14
|
var react = require('swiper/react');
|
|
15
15
|
var elementClosest = require('element-closest');
|
|
16
16
|
require('swiper/swiper.min.css');
|
|
17
17
|
var ChevronBackHeavyMIcon = require('@alfalab/icons-glyph/ChevronBackHeavyMIcon');
|
|
18
18
|
var ChevronForwardHeavyMIcon = require('@alfalab/icons-glyph/ChevronForwardHeavyMIcon');
|
|
19
|
-
var components_imageViewer_slide = require('../../slide-
|
|
19
|
+
var components_imageViewer_slide = require('../../slide-1e42428d.js');
|
|
20
20
|
|
|
21
21
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
22
22
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1s8ub */
|
|
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
|
-
.
|
|
32
|
+
.gallery__component_11314 {
|
|
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
|
-
.
|
|
39
|
+
.gallery__swiper_11314 {
|
|
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
|
-
.
|
|
49
|
+
.gallery__singleSlide_11314 .gallery__swiper_11314 {
|
|
50
50
|
max-height: calc(100vh - 80px);
|
|
51
51
|
padding: var(--gap-2xl);
|
|
52
52
|
}
|
|
53
|
-
.
|
|
53
|
+
.gallery__hidden_11314 {
|
|
54
54
|
display: none;
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.gallery__slide_11314 {
|
|
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
|
-
.
|
|
64
|
+
.gallery__slideLoading_11314 {
|
|
65
65
|
/* TODO: цвета нет в палитре */
|
|
66
66
|
background-color: #e9eaeb;
|
|
67
67
|
border-radius: var(--border-radius-m);
|
|
68
68
|
}
|
|
69
|
-
.
|
|
69
|
+
.gallery__image_11314 {
|
|
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
|
-
.
|
|
77
|
+
.gallery__smallImage_11314 {
|
|
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
|
-
.
|
|
85
|
+
.gallery__verticalImageFit_11314 {
|
|
86
86
|
width: auto;
|
|
87
87
|
height: 100%;
|
|
88
88
|
}
|
|
89
|
-
.
|
|
89
|
+
.gallery__horizontalImageFit_11314 {
|
|
90
90
|
width: 100%;
|
|
91
91
|
height: auto;
|
|
92
92
|
}
|
|
93
|
-
.
|
|
93
|
+
.gallery__arrow_11314 {
|
|
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
|
-
.
|
|
106
|
+
.gallery__arrow_11314:hover {
|
|
107
107
|
background-color: var(--color-light-bg-primary-inverted-alpha-10);
|
|
108
108
|
}
|
|
109
|
-
.
|
|
109
|
+
.gallery__arrow_11314:active {
|
|
110
110
|
background-color: var(--color-light-bg-primary-inverted-alpha-20);
|
|
111
111
|
}
|
|
112
|
-
.
|
|
112
|
+
.gallery__focused_11314 {
|
|
113
113
|
outline: 2px solid var(--focus-color);
|
|
114
114
|
outline-offset: 2px;
|
|
115
115
|
}
|
|
116
|
-
.
|
|
116
|
+
.gallery__placeholder_11314 {
|
|
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
|
-
.
|
|
125
|
+
.gallery__brokenImgWrapper_11314 {
|
|
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
|
-
.
|
|
133
|
+
.gallery__brokenImgIcon_11314 {
|
|
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
|
-
.
|
|
141
|
+
.gallery__fullScreenImage_11314 {
|
|
142
142
|
width: 100%;
|
|
143
143
|
height: auto;
|
|
144
144
|
background-color: var(--color-light-bg-primary);
|
|
@@ -9,14 +9,14 @@ require('../../context.js');
|
|
|
9
9
|
require('../../utils/utils.js');
|
|
10
10
|
require('../../utils/constants.js');
|
|
11
11
|
require('@alfalab/core-components-typography');
|
|
12
|
-
require('../../tslib.es6-
|
|
12
|
+
require('../../tslib.es6-f22ffebd.js');
|
|
13
13
|
require('swiper');
|
|
14
14
|
require('swiper/react');
|
|
15
15
|
require('element-closest');
|
|
16
16
|
require('swiper/swiper.min.css');
|
|
17
17
|
require('@alfalab/icons-glyph/ChevronBackHeavyMIcon');
|
|
18
18
|
require('@alfalab/icons-glyph/ChevronForwardHeavyMIcon');
|
|
19
|
-
require('../../slide-
|
|
19
|
+
require('../../slide-1e42428d.js');
|
|
20
20
|
var components_imageViewer_component = require('./component.js');
|
|
21
21
|
|
|
22
22
|
|
|
@@ -7,7 +7,7 @@ require('classnames');
|
|
|
7
7
|
require('../../utils/utils.js');
|
|
8
8
|
require('../../utils/constants.js');
|
|
9
9
|
require('@alfalab/core-components-typography');
|
|
10
|
-
var components_imageViewer_slide = require('../../slide-
|
|
10
|
+
var components_imageViewer_slide = require('../../slide-1e42428d.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
package/dist/components/index.js
CHANGED
|
@@ -13,7 +13,7 @@ require('../utils/utils.js');
|
|
|
13
13
|
require('../utils/constants.js');
|
|
14
14
|
require('@alfalab/core-components-typography');
|
|
15
15
|
require('./header-info-block/Component.js');
|
|
16
|
-
require('../tslib.es6-
|
|
16
|
+
require('../tslib.es6-f22ffebd.js');
|
|
17
17
|
require('@alfalab/core-components-icon-button');
|
|
18
18
|
require('@alfalab/core-components-tooltip');
|
|
19
19
|
require('@alfalab/icons-glyph/PointerDownMIcon');
|
|
@@ -28,7 +28,7 @@ require('element-closest');
|
|
|
28
28
|
require('swiper/swiper.min.css');
|
|
29
29
|
require('@alfalab/icons-glyph/ChevronBackHeavyMIcon');
|
|
30
30
|
require('@alfalab/icons-glyph/ChevronForwardHeavyMIcon');
|
|
31
|
-
require('../slide-
|
|
31
|
+
require('../slide-1e42428d.js');
|
|
32
32
|
var components_imageViewer_component = require('./image-viewer/component.js');
|
|
33
33
|
|
|
34
34
|
|
|
@@ -14,7 +14,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
|
|
15
15
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
16
16
|
|
|
17
|
-
var styles = {"component":"
|
|
17
|
+
var styles = {"component":"gallery__component_1g3sl","preview":"gallery__preview_1g3sl"};
|
|
18
18
|
require('./index.css')
|
|
19
19
|
|
|
20
20
|
var MIN_SCROLL_STEP = 24;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ye97 */
|
|
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
|
-
.
|
|
17
|
+
.gallery__component_1g3sl {
|
|
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
|
-
.
|
|
30
|
+
.gallery__component_1g3sl::-webkit-scrollbar {
|
|
31
31
|
display: none;
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
.gallery__preview_1g3sl {
|
|
34
34
|
flex-shrink: 0;
|
|
35
35
|
margin: 0 var(--gap-3xs)
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.gallery__preview_1g3sl:first-child {
|
|
38
38
|
margin-left: auto;
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.gallery__preview_1g3sl:last-child {
|
|
41
41
|
margin-right: auto;
|
|
42
42
|
}
|
package/dist/esm/Component.js
CHANGED
|
@@ -10,7 +10,7 @@ import './utils/utils.js';
|
|
|
10
10
|
import './utils/constants.js';
|
|
11
11
|
import '@alfalab/core-components-typography/dist/esm';
|
|
12
12
|
import './components/header-info-block/Component.js';
|
|
13
|
-
import './tslib.es6-
|
|
13
|
+
import './tslib.es6-4da0bc04.js';
|
|
14
14
|
import '@alfalab/core-components-icon-button/dist/esm';
|
|
15
15
|
import '@alfalab/core-components-tooltip/dist/esm';
|
|
16
16
|
import '@alfalab/icons-glyph/PointerDownMIcon';
|
|
@@ -25,10 +25,10 @@ import 'element-closest';
|
|
|
25
25
|
import 'swiper/swiper.min.css';
|
|
26
26
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
27
27
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
28
|
-
import './slide-
|
|
28
|
+
import './slide-76ced5ad.js';
|
|
29
29
|
import { ImageViewer } from './components/image-viewer/component.js';
|
|
30
30
|
|
|
31
|
-
var styles = {"container":"
|
|
31
|
+
var styles = {"container":"gallery__container_3rnc6","modal":"gallery__modal_3rnc6"};
|
|
32
32
|
require('./index.css')
|
|
33
33
|
|
|
34
34
|
var Backdrop = function () { return null; };
|
|
@@ -5,7 +5,7 @@ import { isSmallImage } from '../../utils/utils.js';
|
|
|
5
5
|
import { TestIds } from '../../utils/constants.js';
|
|
6
6
|
import '@alfalab/core-components-typography/dist/esm';
|
|
7
7
|
import { HeaderInfoBlock } from '../header-info-block/Component.js';
|
|
8
|
-
import '../../tslib.es6-
|
|
8
|
+
import '../../tslib.es6-4da0bc04.js';
|
|
9
9
|
import '@alfalab/core-components-icon-button/dist/esm';
|
|
10
10
|
import '@alfalab/core-components-tooltip/dist/esm';
|
|
11
11
|
import '@alfalab/icons-glyph/PointerDownMIcon';
|
|
@@ -14,7 +14,7 @@ import '@alfalab/icons-glyph/ArrowsInwardMIcon';
|
|
|
14
14
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
15
15
|
import { ExitFullscreen, Fullscreen, Download, Exit } from './buttons.js';
|
|
16
16
|
|
|
17
|
-
var styles = {"header":"
|
|
17
|
+
var styles = {"header":"gallery__header_vy2xe","buttons":"gallery__buttons_vy2xe"};
|
|
18
18
|
require('./index.css')
|
|
19
19
|
|
|
20
20
|
var Header = function () {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { a as __rest, _ as __assign } from '../../tslib.es6-
|
|
2
|
+
import { a as __rest, _ as __assign } from '../../tslib.es6-4da0bc04.js';
|
|
3
3
|
import { IconButton } from '@alfalab/core-components-icon-button/dist/esm';
|
|
4
4
|
import { Tooltip } from '@alfalab/core-components-tooltip/dist/esm';
|
|
5
5
|
import { PointerDownMIcon } from '@alfalab/icons-glyph/PointerDownMIcon';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 2m56f */
|
|
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
|
-
.
|
|
18
|
+
.gallery__header_vy2xe {
|
|
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
|
-
.
|
|
27
|
+
.gallery__buttons_vy2xe {
|
|
28
28
|
display: flex;
|
|
29
29
|
padding-left: var(--gap-2xl);
|
|
30
30
|
}
|
|
@@ -5,7 +5,7 @@ import '../../utils/utils.js';
|
|
|
5
5
|
import '../../utils/constants.js';
|
|
6
6
|
import '@alfalab/core-components-typography/dist/esm';
|
|
7
7
|
import '../header-info-block/Component.js';
|
|
8
|
-
import '../../tslib.es6-
|
|
8
|
+
import '../../tslib.es6-4da0bc04.js';
|
|
9
9
|
import '@alfalab/core-components-icon-button/dist/esm';
|
|
10
10
|
import '@alfalab/core-components-tooltip/dist/esm';
|
|
11
11
|
import '@alfalab/icons-glyph/PointerDownMIcon';
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { splitFilename } from '../../utils/split-filename.js';
|
|
3
3
|
import { Typography } from '@alfalab/core-components-typography/dist/esm';
|
|
4
4
|
|
|
5
|
-
var styles = {"info":"
|
|
5
|
+
var styles = {"info":"gallery__info_15qhi","filenameHead":"gallery__filenameHead_15qhi","filenameContainer":"gallery__filenameContainer_15qhi","description":"gallery__description_15qhi"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var HeaderInfoBlock = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1tllb */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -10,24 +10,24 @@
|
|
|
10
10
|
:root {
|
|
11
11
|
--gap-2xs: 4px;
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
.gallery__info_15qhi {
|
|
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
|
-
.
|
|
20
|
+
.gallery__filenameHead_15qhi {
|
|
21
21
|
display: inline;
|
|
22
22
|
text-overflow: ellipsis;
|
|
23
23
|
overflow: hidden;
|
|
24
24
|
white-space: nowrap;
|
|
25
25
|
}
|
|
26
|
-
.
|
|
26
|
+
.gallery__filenameContainer_15qhi {
|
|
27
27
|
overflow: hidden;
|
|
28
28
|
display: inline-flex;
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
.gallery__description_15qhi {
|
|
31
31
|
display: inline;
|
|
32
32
|
text-overflow: ellipsis;
|
|
33
33
|
overflow: hidden;
|
|
@@ -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":"
|
|
6
|
+
var styles = {"component":"gallery__component_1fbt9","active":"gallery__active_1fbt9","image":"gallery__image_1fbt9","preview":"gallery__preview_1fbt9","loading":"gallery__loading_1fbt9","brokenImageWrapper":"gallery__brokenImageWrapper_1fbt9","brokenIcon":"gallery__brokenIcon_1fbt9","focused":"gallery__focused_1fbt9"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
var ImagePreview = function (_a) {
|