@alfalab/core-components-gallery 3.1.5 → 3.1.8

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 (64) hide show
  1. package/CHANGELOG.md +43 -35
  2. package/dist/Component.js +3 -3
  3. package/dist/components/header/Component.js +2 -2
  4. package/dist/components/header/buttons.js +1 -1
  5. package/dist/components/header/index.css +3 -3
  6. package/dist/components/header/index.js +1 -1
  7. package/dist/components/header-info-block/Component.js +1 -1
  8. package/dist/components/header-info-block/index.css +5 -5
  9. package/dist/components/image-preview/Component.js +1 -1
  10. package/dist/components/image-preview/index.css +12 -12
  11. package/dist/components/image-viewer/component.js +2 -2
  12. package/dist/components/image-viewer/index.css +19 -19
  13. package/dist/components/image-viewer/index.js +2 -2
  14. package/dist/components/image-viewer/slide.js +1 -1
  15. package/dist/components/index.js +2 -2
  16. package/dist/components/navigation-bar/Component.js +1 -1
  17. package/dist/components/navigation-bar/index.css +6 -6
  18. package/dist/esm/Component.js +3 -3
  19. package/dist/esm/components/header/Component.js +2 -2
  20. package/dist/esm/components/header/buttons.js +1 -1
  21. package/dist/esm/components/header/index.css +3 -3
  22. package/dist/esm/components/header/index.js +1 -1
  23. package/dist/esm/components/header-info-block/Component.js +1 -1
  24. package/dist/esm/components/header-info-block/index.css +5 -5
  25. package/dist/esm/components/image-preview/Component.js +1 -1
  26. package/dist/esm/components/image-preview/index.css +12 -12
  27. package/dist/esm/components/image-viewer/component.js +2 -2
  28. package/dist/esm/components/image-viewer/index.css +19 -19
  29. package/dist/esm/components/image-viewer/index.js +2 -2
  30. package/dist/esm/components/image-viewer/slide.js +1 -1
  31. package/dist/esm/components/index.js +2 -2
  32. package/dist/esm/components/navigation-bar/Component.js +1 -1
  33. package/dist/esm/components/navigation-bar/index.css +6 -6
  34. package/dist/esm/index.css +3 -3
  35. package/dist/esm/index.js +2 -2
  36. package/dist/esm/{slide-fd6ca9a5.d.ts → slide-84f3f6c1.d.ts} +0 -0
  37. package/dist/esm/{slide-fd6ca9a5.js → slide-84f3f6c1.js} +1 -1
  38. package/dist/esm/{tslib.es6-2c4d4f93.d.ts → tslib.es6-cb16a01a.d.ts} +0 -0
  39. package/dist/esm/{tslib.es6-2c4d4f93.js → tslib.es6-cb16a01a.js} +0 -0
  40. package/dist/index.css +3 -3
  41. package/dist/index.js +2 -2
  42. package/dist/modern/Component.js +2 -2
  43. package/dist/modern/components/header/Component.js +1 -1
  44. package/dist/modern/components/header/index.css +3 -3
  45. package/dist/modern/components/header-info-block/Component.js +1 -1
  46. package/dist/modern/components/header-info-block/index.css +5 -5
  47. package/dist/modern/components/image-preview/Component.js +1 -1
  48. package/dist/modern/components/image-preview/index.css +12 -12
  49. package/dist/modern/components/image-viewer/component.js +1 -1
  50. package/dist/modern/components/image-viewer/index.css +19 -19
  51. package/dist/modern/components/image-viewer/index.js +1 -1
  52. package/dist/modern/components/image-viewer/slide.js +1 -1
  53. package/dist/modern/components/index.js +1 -1
  54. package/dist/modern/components/navigation-bar/Component.js +1 -1
  55. package/dist/modern/components/navigation-bar/index.css +6 -6
  56. package/dist/modern/index.css +3 -3
  57. package/dist/modern/index.js +1 -1
  58. package/dist/modern/{slide-5740f132.d.ts → slide-794f2271.d.ts} +0 -0
  59. package/dist/modern/{slide-5740f132.js → slide-794f2271.js} +1 -1
  60. package/dist/{slide-f5629671.d.ts → slide-8f43d91b.d.ts} +0 -0
  61. package/dist/{slide-f5629671.js → slide-8f43d91b.js} +1 -1
  62. package/dist/{tslib.es6-85afc0b9.d.ts → tslib.es6-8450129b.d.ts} +0 -0
  63. package/dist/{tslib.es6-85afc0b9.js → tslib.es6-8450129b.js} +0 -0
  64. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
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.1.5](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@3.1.4...@alfalab/core-components-gallery@3.1.5) (2022-03-28)
6
+ ## [3.1.6](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@3.1.5...@alfalab/core-components-gallery@3.1.6) (2022-03-30)
7
7
 
8
8
  **Note:** Version bump only for package @alfalab/core-components-gallery
9
9
 
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- ## [3.1.4](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@3.1.3...@alfalab/core-components-gallery@3.1.4) (2022-03-24)
14
+ ## [3.1.5](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@3.1.4...@alfalab/core-components-gallery@3.1.5) (2022-03-28)
15
15
 
16
16
  **Note:** Version bump only for package @alfalab/core-components-gallery
17
17
 
@@ -19,7 +19,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
19
19
 
20
20
 
21
21
 
22
- ## [3.1.3](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@3.1.2...@alfalab/core-components-gallery@3.1.3) (2022-03-22)
22
+ ## [3.1.4](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@3.1.3...@alfalab/core-components-gallery@3.1.4) (2022-03-24)
23
23
 
24
24
  **Note:** Version bump only for package @alfalab/core-components-gallery
25
25
 
@@ -27,18 +27,26 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
27
27
 
28
28
 
29
29
 
30
- ## [3.1.2](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@3.1.1...@alfalab/core-components-gallery@3.1.2) (2022-03-04)
30
+ ## [3.1.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@3.1.2...@alfalab/core-components-gallery@3.1.3) (2022-03-22)
31
+
32
+ **Note:** Version bump only for package @alfalab/core-components-gallery
33
+
34
+
35
+
36
+
37
+
38
+ ## [3.1.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@3.1.1...@alfalab/core-components-gallery@3.1.2) (2022-03-04)
31
39
 
32
40
 
33
41
  ### Bug Fixes
34
42
 
35
- * update glyph deps ([#1019](https://github.com/alfa-laboratory/core-components/issues/1019)) ([3e910d0](https://github.com/alfa-laboratory/core-components/commit/3e910d0801c4c46bcd399163200c1f7bfaba375e))
43
+ * update glyph deps ([#1019](https://github.com/core-ds/core-components/issues/1019)) ([3e910d0](https://github.com/core-ds/core-components/commit/3e910d0801c4c46bcd399163200c1f7bfaba375e))
36
44
 
37
45
 
38
46
 
39
47
 
40
48
 
41
- ## [3.1.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@3.1.0...@alfalab/core-components-gallery@3.1.1) (2022-03-03)
49
+ ## [3.1.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@3.1.0...@alfalab/core-components-gallery@3.1.1) (2022-03-03)
42
50
 
43
51
  **Note:** Version bump only for package @alfalab/core-components-gallery
44
52
 
@@ -46,40 +54,40 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
46
54
 
47
55
 
48
56
 
49
- # [3.1.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@3.0.10...@alfalab/core-components-gallery@3.1.0) (2022-03-01)
57
+ # [3.1.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@3.0.10...@alfalab/core-components-gallery@3.1.0) (2022-03-01)
50
58
 
51
59
 
52
60
  ### Features
53
61
 
54
- * Исправить импорты в сторях. ([#998](https://github.com/alfa-laboratory/core-components/issues/998)) ([e6a654a](https://github.com/alfa-laboratory/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
62
+ * Исправить импорты в сторях. ([#998](https://github.com/core-ds/core-components/issues/998)) ([e6a654a](https://github.com/core-ds/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
55
63
 
56
64
 
57
65
 
58
66
 
59
67
 
60
- ## [3.0.10](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@3.0.9...@alfalab/core-components-gallery@3.0.10) (2022-02-17)
68
+ ## [3.0.10](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@3.0.9...@alfalab/core-components-gallery@3.0.10) (2022-02-17)
61
69
 
62
70
 
63
71
  ### Bug Fixes
64
72
 
65
- * imports for glyph icons ([#994](https://github.com/alfa-laboratory/core-components/issues/994)) ([8e807f2](https://github.com/alfa-laboratory/core-components/commit/8e807f26abf0f942fe8eadbd201caecb297b35dc))
73
+ * imports for glyph icons ([#994](https://github.com/core-ds/core-components/issues/994)) ([8e807f2](https://github.com/core-ds/core-components/commit/8e807f26abf0f942fe8eadbd201caecb297b35dc))
66
74
 
67
75
 
68
76
 
69
77
 
70
78
 
71
- ## [3.0.9](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@3.0.8...@alfalab/core-components-gallery@3.0.9) (2022-02-15)
79
+ ## [3.0.9](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@3.0.8...@alfalab/core-components-gallery@3.0.9) (2022-02-15)
72
80
 
73
81
 
74
82
  ### Bug Fixes
75
83
 
76
- * **gallery:** update header button's tooltip position ([#979](https://github.com/alfa-laboratory/core-components/issues/979)) ([8e2acfc](https://github.com/alfa-laboratory/core-components/commit/8e2acfcb772cf4d8051c185a3f1caaaf507b5bc9))
84
+ * **gallery:** update header button's tooltip position ([#979](https://github.com/core-ds/core-components/issues/979)) ([8e2acfc](https://github.com/core-ds/core-components/commit/8e2acfcb772cf4d8051c185a3f1caaaf507b5bc9))
77
85
 
78
86
 
79
87
 
80
88
 
81
89
 
82
- ## [3.0.8](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@3.0.7...@alfalab/core-components-gallery@3.0.8) (2022-02-09)
90
+ ## [3.0.8](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@3.0.7...@alfalab/core-components-gallery@3.0.8) (2022-02-09)
83
91
 
84
92
  **Note:** Version bump only for package @alfalab/core-components-gallery
85
93
 
@@ -87,7 +95,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
87
95
 
88
96
 
89
97
 
90
- ## [3.0.7](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@3.0.6...@alfalab/core-components-gallery@3.0.7) (2022-02-03)
98
+ ## [3.0.7](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@3.0.6...@alfalab/core-components-gallery@3.0.7) (2022-02-03)
91
99
 
92
100
  **Note:** Version bump only for package @alfalab/core-components-gallery
93
101
 
@@ -95,7 +103,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
95
103
 
96
104
 
97
105
 
98
- ## [3.0.6](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@3.0.5...@alfalab/core-components-gallery@3.0.6) (2022-02-02)
106
+ ## [3.0.6](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@3.0.5...@alfalab/core-components-gallery@3.0.6) (2022-02-02)
99
107
 
100
108
  **Note:** Version bump only for package @alfalab/core-components-gallery
101
109
 
@@ -103,7 +111,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
103
111
 
104
112
 
105
113
 
106
- ## [3.0.5](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@3.0.4...@alfalab/core-components-gallery@3.0.5) (2022-01-27)
114
+ ## [3.0.5](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@3.0.4...@alfalab/core-components-gallery@3.0.5) (2022-01-27)
107
115
 
108
116
  **Note:** Version bump only for package @alfalab/core-components-gallery
109
117
 
@@ -111,7 +119,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
111
119
 
112
120
 
113
121
 
114
- ## [3.0.4](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@3.0.3...@alfalab/core-components-gallery@3.0.4) (2022-01-17)
122
+ ## [3.0.4](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@3.0.3...@alfalab/core-components-gallery@3.0.4) (2022-01-17)
115
123
 
116
124
  **Note:** Version bump only for package @alfalab/core-components-gallery
117
125
 
@@ -119,7 +127,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
119
127
 
120
128
 
121
129
 
122
- ## [3.0.3](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@3.0.2...@alfalab/core-components-gallery@3.0.3) (2021-12-29)
130
+ ## [3.0.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@3.0.2...@alfalab/core-components-gallery@3.0.3) (2021-12-29)
123
131
 
124
132
  **Note:** Version bump only for package @alfalab/core-components-gallery
125
133
 
@@ -127,7 +135,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
127
135
 
128
136
 
129
137
 
130
- ## [3.0.2](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@3.0.1...@alfalab/core-components-gallery@3.0.2) (2021-12-14)
138
+ ## [3.0.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@3.0.1...@alfalab/core-components-gallery@3.0.2) (2021-12-14)
131
139
 
132
140
  **Note:** Version bump only for package @alfalab/core-components-gallery
133
141
 
@@ -135,7 +143,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
135
143
 
136
144
 
137
145
 
138
- ## [3.0.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@3.0.0...@alfalab/core-components-gallery@3.0.1) (2021-12-09)
146
+ ## [3.0.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@3.0.0...@alfalab/core-components-gallery@3.0.1) (2021-12-09)
139
147
 
140
148
  **Note:** Version bump only for package @alfalab/core-components-gallery
141
149
 
@@ -143,10 +151,10 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
143
151
 
144
152
 
145
153
 
146
- # [3.0.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@2.0.3...@alfalab/core-components-gallery@3.0.0) (2021-12-08)
154
+ # [3.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@2.0.3...@alfalab/core-components-gallery@3.0.0) (2021-12-08)
147
155
 
148
156
 
149
- * fix!: новый cdn иконок (#913) (#917) ([224831f](https://github.com/alfa-laboratory/core-components/commit/224831f41ed2de49dc1a228dc081b0629cf274b1)), closes [#913](https://github.com/alfa-laboratory/core-components/issues/913) [#917](https://github.com/alfa-laboratory/core-components/issues/917)
157
+ * fix!: новый cdn иконок (#913) (#917) ([224831f](https://github.com/core-ds/core-components/commit/224831f41ed2de49dc1a228dc081b0629cf274b1)), closes [#913](https://github.com/core-ds/core-components/issues/913) [#917](https://github.com/core-ds/core-components/issues/917)
150
158
 
151
159
 
152
160
  ### BREAKING CHANGES
@@ -159,30 +167,30 @@ This reverts commit 953fbcfec46a40089a5cfde670597315269b05f5.
159
167
 
160
168
 
161
169
 
162
- ## [2.0.3](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@2.0.2...@alfalab/core-components-gallery@2.0.3) (2021-12-08)
170
+ ## [2.0.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@2.0.2...@alfalab/core-components-gallery@2.0.3) (2021-12-08)
163
171
 
164
172
 
165
173
  ### Bug Fixes
166
174
 
167
- * revert 0e8124552206f96149d104f65cff1667e857bf01 ([#916](https://github.com/alfa-laboratory/core-components/issues/916)) ([953fbcf](https://github.com/alfa-laboratory/core-components/commit/953fbcfec46a40089a5cfde670597315269b05f5))
175
+ * revert 0e8124552206f96149d104f65cff1667e857bf01 ([#916](https://github.com/core-ds/core-components/issues/916)) ([953fbcf](https://github.com/core-ds/core-components/commit/953fbcfec46a40089a5cfde670597315269b05f5))
168
176
 
169
177
 
170
178
 
171
179
 
172
180
 
173
- ## [2.0.2](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@2.0.1...@alfalab/core-components-gallery@2.0.2) (2021-12-08)
181
+ ## [2.0.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@2.0.1...@alfalab/core-components-gallery@2.0.2) (2021-12-08)
174
182
 
175
183
 
176
184
  ### Bug Fixes
177
185
 
178
- * актуализируем @alfalab/utils ([#897](https://github.com/alfa-laboratory/core-components/issues/897)) ([30fb88e](https://github.com/alfa-laboratory/core-components/commit/30fb88eee36f68cabf80069e5125d911fabde4a5))
179
- * новый cdn иконок ([#913](https://github.com/alfa-laboratory/core-components/issues/913)) ([0e81245](https://github.com/alfa-laboratory/core-components/commit/0e8124552206f96149d104f65cff1667e857bf01))
186
+ * актуализируем @alfalab/utils ([#897](https://github.com/core-ds/core-components/issues/897)) ([30fb88e](https://github.com/core-ds/core-components/commit/30fb88eee36f68cabf80069e5125d911fabde4a5))
187
+ * новый cdn иконок ([#913](https://github.com/core-ds/core-components/issues/913)) ([0e81245](https://github.com/core-ds/core-components/commit/0e8124552206f96149d104f65cff1667e857bf01))
180
188
 
181
189
 
182
190
 
183
191
 
184
192
 
185
- ## [2.0.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@2.0.0...@alfalab/core-components-gallery@2.0.1) (2021-12-01)
193
+ ## [2.0.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@2.0.0...@alfalab/core-components-gallery@2.0.1) (2021-12-01)
186
194
 
187
195
  **Note:** Version bump only for package @alfalab/core-components-gallery
188
196
 
@@ -190,12 +198,12 @@ This reverts commit 953fbcfec46a40089a5cfde670597315269b05f5.
190
198
 
191
199
 
192
200
 
193
- # [2.0.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@1.2.2...@alfalab/core-components-gallery@2.0.0) (2021-11-26)
201
+ # [2.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@1.2.2...@alfalab/core-components-gallery@2.0.0) (2021-11-26)
194
202
 
195
203
 
196
204
  ### Features
197
205
 
198
- * **button:** добавлена кнопка размера 40px, изменены скругления ([#886](https://github.com/alfa-laboratory/core-components/issues/886)) ([88e657a](https://github.com/alfa-laboratory/core-components/commit/88e657a9f0f68b8b58f6e9437053954ee984f83c)), closes [#890](https://github.com/alfa-laboratory/core-components/issues/890)
206
+ * **button:** добавлена кнопка размера 40px, изменены скругления ([#886](https://github.com/core-ds/core-components/issues/886)) ([88e657a](https://github.com/core-ds/core-components/commit/88e657a9f0f68b8b58f6e9437053954ee984f83c)), closes [#890](https://github.com/core-ds/core-components/issues/890)
199
207
 
200
208
 
201
209
  ### BREAKING CHANGES
@@ -230,7 +238,7 @@ This reverts commit 953fbcfec46a40089a5cfde670597315269b05f5.
230
238
 
231
239
 
232
240
 
233
- ## [1.2.2](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@1.2.1...@alfalab/core-components-gallery@1.2.2) (2021-11-16)
241
+ ## [1.2.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@1.2.1...@alfalab/core-components-gallery@1.2.2) (2021-11-16)
234
242
 
235
243
  **Note:** Version bump only for package @alfalab/core-components-gallery
236
244
 
@@ -238,7 +246,7 @@ This reverts commit 953fbcfec46a40089a5cfde670597315269b05f5.
238
246
 
239
247
 
240
248
 
241
- ## [1.2.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@1.2.0...@alfalab/core-components-gallery@1.2.1) (2021-11-08)
249
+ ## [1.2.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@1.2.0...@alfalab/core-components-gallery@1.2.1) (2021-11-08)
242
250
 
243
251
  **Note:** Version bump only for package @alfalab/core-components-gallery
244
252
 
@@ -246,12 +254,12 @@ This reverts commit 953fbcfec46a40089a5cfde670597315269b05f5.
246
254
 
247
255
 
248
256
 
249
- # [1.2.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-gallery@1.1.0...@alfalab/core-components-gallery@1.2.0) (2021-09-22)
257
+ # [1.2.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-gallery@1.1.0...@alfalab/core-components-gallery@1.2.0) (2021-09-22)
250
258
 
251
259
 
252
260
  ### Features
253
261
 
254
- * **gallery:** add `canDownload` image prop, some refactoring ([#837](https://github.com/alfa-laboratory/core-components/issues/837)) ([b0c6665](https://github.com/alfa-laboratory/core-components/commit/b0c6665bb6a3d4b1e9d5bc176149f63ca2bd8542))
262
+ * **gallery:** add `canDownload` image prop, some refactoring ([#837](https://github.com/core-ds/core-components/issues/837)) ([b0c6665](https://github.com/core-ds/core-components/commit/b0c6665bb6a3d4b1e9d5bc176149f63ca2bd8542))
255
263
 
256
264
 
257
265
 
@@ -262,4 +270,4 @@ This reverts commit 953fbcfec46a40089a5cfde670597315269b05f5.
262
270
 
263
271
  ### Features
264
272
 
265
- * **gallery:** add component ([#815](https://github.com/alfa-laboratory/core-components/issues/815)) ([7ffd20e](https://github.com/alfa-laboratory/core-components/commit/7ffd20e2d007f658223d29aa943639c13ad51342)), closes [#774](https://github.com/alfa-laboratory/core-components/issues/774) [#795](https://github.com/alfa-laboratory/core-components/issues/795)
273
+ * **gallery:** add component ([#815](https://github.com/core-ds/core-components/issues/815)) ([7ffd20e](https://github.com/core-ds/core-components/commit/7ffd20e2d007f658223d29aa943639c13ad51342)), closes [#774](https://github.com/core-ds/core-components/issues/774) [#795](https://github.com/core-ds/core-components/issues/795)
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-85afc0b9.js');
17
+ require('./tslib.es6-8450129b.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-f5629671.js');
32
+ require('./slide-8f43d91b.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":"gallery__container_rsjci","modal":"gallery__modal_rsjci"};
39
+ var styles = {"container":"gallery__container_1ycq8","modal":"gallery__modal_1ycq8"};
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-85afc0b9.js');
12
+ require('../../tslib.es6-8450129b.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":"gallery__header_7u3jc","buttons":"gallery__buttons_7u3jc"};
25
+ var styles = {"header":"gallery__header_1eeaf","buttons":"gallery__buttons_1eeaf"};
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-85afc0b9.js');
6
+ var tslib_es6 = require('../../tslib.es6-8450129b.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: clgmj */
1
+ /* hash: d46vm */
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_7u3jc {
18
+ .gallery__header_1eeaf {
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_7u3jc {
27
+ .gallery__buttons_1eeaf {
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-85afc0b9.js');
12
+ require('../../tslib.es6-8450129b.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":"gallery__info_1ovl0","filenameHead":"gallery__filenameHead_1ovl0","filenameContainer":"gallery__filenameContainer_1ovl0","description":"gallery__description_1ovl0"};
13
+ var styles = {"info":"gallery__info_ibe4q","filenameHead":"gallery__filenameHead_ibe4q","filenameContainer":"gallery__filenameContainer_ibe4q","description":"gallery__description_ibe4q"};
14
14
  require('./index.css')
15
15
 
16
16
  var HeaderInfoBlock = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1jm9u */
1
+ /* hash: 1cn4q */
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_1ovl0 {
13
+ .gallery__info_ibe4q {
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_1ovl0 {
20
+ .gallery__filenameHead_ibe4q {
21
21
  display: inline;
22
22
  text-overflow: ellipsis;
23
23
  overflow: hidden;
24
24
  white-space: nowrap;
25
25
  }
26
- .gallery__filenameContainer_1ovl0 {
26
+ .gallery__filenameContainer_ibe4q {
27
27
  overflow: hidden;
28
28
  display: inline-flex;
29
29
  }
30
- .gallery__description_1ovl0 {
30
+ .gallery__description_ibe4q {
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":"gallery__component_58nt6","active":"gallery__active_58nt6","image":"gallery__image_58nt6","preview":"gallery__preview_58nt6","loading":"gallery__loading_58nt6","brokenImageWrapper":"gallery__brokenImageWrapper_58nt6","brokenIcon":"gallery__brokenIcon_58nt6","focused":"gallery__focused_58nt6"};
15
+ var styles = {"component":"gallery__component_xpkzg","active":"gallery__active_xpkzg","image":"gallery__image_xpkzg","preview":"gallery__preview_xpkzg","loading":"gallery__loading_xpkzg","brokenImageWrapper":"gallery__brokenImageWrapper_xpkzg","brokenIcon":"gallery__brokenIcon_xpkzg","focused":"gallery__focused_xpkzg"};
16
16
  require('./index.css')
17
17
 
18
18
  var ImagePreview = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: j01cd */
1
+ /* hash: ihb3a */
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
- .gallery__component_58nt6 {
28
+ .gallery__component_xpkzg {
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_58nt6 {
37
+ .gallery__active_xpkzg {
38
38
  border-color: var(--color-light-border-key-inverted)
39
39
  }
40
- .gallery__active_58nt6 > .gallery__image_58nt6 {
40
+ .gallery__active_xpkzg > .gallery__image_xpkzg {
41
41
  opacity: 0.7;
42
42
  }
43
- .gallery__preview_58nt6 {
43
+ .gallery__preview_xpkzg {
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_58nt6 {
52
+ .gallery__image_xpkzg {
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_58nt6:hover {
59
+ .gallery__image_xpkzg:hover {
60
60
  opacity: 0.7;
61
61
  }
62
- .gallery__loading_58nt6 {
62
+ .gallery__loading_xpkzg {
63
63
  /* TODO: цвета нет в палитре */
64
64
  background-color: #e9eaeb;
65
65
  }
66
- .gallery__brokenImageWrapper_58nt6 {
66
+ .gallery__brokenImageWrapper_xpkzg {
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_58nt6:hover {
72
+ .gallery__brokenImageWrapper_xpkzg:hover {
73
73
  opacity: 0.7;
74
74
  }
75
- .gallery__brokenIcon_58nt6 {
75
+ .gallery__brokenIcon_xpkzg {
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_58nt6 {
82
+ .gallery__focused_xpkzg {
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-85afc0b9.js');
12
+ var tslib_es6 = require('../../tslib.es6-8450129b.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-f5629671.js');
19
+ var components_imageViewer_slide = require('../../slide-8f43d91b.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: 19s9v */
1
+ /* hash: 199jm */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-link: #007aff;
@@ -29,14 +29,14 @@
29
29
  :root {
30
30
  --gallery-broken-image-icon: url('https://alfabank.gcdn.co/icons/art_no-image_s.svg');
31
31
  }
32
- .gallery__component_1t03l {
32
+ .gallery__component_mfwpf {
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_1t03l {
39
+ .gallery__swiper_mfwpf {
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_1t03l .gallery__swiper_1t03l {
49
+ .gallery__singleSlide_mfwpf .gallery__swiper_mfwpf {
50
50
  max-height: calc(100vh - 80px);
51
51
  padding: var(--gap-2xl);
52
52
  }
53
- .gallery__hidden_1t03l {
53
+ .gallery__hidden_mfwpf {
54
54
  display: none;
55
55
  }
56
- .gallery__slide_1t03l {
56
+ .gallery__slide_mfwpf {
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_1t03l {
64
+ .gallery__slideLoading_mfwpf {
65
65
  /* TODO: цвета нет в палитре */
66
66
  background-color: #e9eaeb;
67
67
  border-radius: var(--border-radius-m);
68
68
  }
69
- .gallery__image_1t03l {
69
+ .gallery__image_mfwpf {
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_1t03l {
77
+ .gallery__smallImage_mfwpf {
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_1t03l {
85
+ .gallery__verticalImageFit_mfwpf {
86
86
  width: auto;
87
87
  height: 100%;
88
88
  }
89
- .gallery__horizontalImageFit_1t03l {
89
+ .gallery__horizontalImageFit_mfwpf {
90
90
  width: 100%;
91
91
  height: auto;
92
92
  }
93
- .gallery__arrow_1t03l {
93
+ .gallery__arrow_mfwpf {
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_1t03l:hover {
106
+ .gallery__arrow_mfwpf:hover {
107
107
  background-color: var(--color-light-bg-primary-inverted-alpha-10);
108
108
  }
109
- .gallery__arrow_1t03l:active {
109
+ .gallery__arrow_mfwpf:active {
110
110
  background-color: var(--color-light-bg-primary-inverted-alpha-20);
111
111
  }
112
- .gallery__focused_1t03l {
112
+ .gallery__focused_mfwpf {
113
113
  outline: 2px solid var(--focus-color);
114
114
  outline-offset: 2px;
115
115
  }
116
- .gallery__placeholder_1t03l {
116
+ .gallery__placeholder_mfwpf {
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_1t03l {
125
+ .gallery__brokenImgWrapper_mfwpf {
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_1t03l {
133
+ .gallery__brokenImgIcon_mfwpf {
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_1t03l {
141
+ .gallery__fullScreenImage_mfwpf {
142
142
  width: 100%;
143
143
  height: auto;
144
144
  background-color: var(--color-light-bg-primary);