@prom-ui/core 2.3.0 → 2.4.0
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/Avatar/package.json +1 -1
- package/Backdrop/package.json +1 -1
- package/Badge/package.json +1 -1
- package/Body/cjs/style.development.css +93 -115
- package/Body/cjs/style.development.v2.css +93 -115
- package/Body/cjs/style.production.css +1 -1
- package/Body/cjs/style.production.v2.css +1 -1
- package/Body/package.json +1 -1
- package/BodyProvider/package.json +1 -1
- package/BodyScrollLock/package.json +1 -1
- package/Box/cjs/style.development.css +11929 -12379
- package/Box/cjs/style.development.v2.css +11929 -12379
- package/Box/cjs/style.production.css +1 -1
- package/Box/cjs/style.production.v2.css +1 -1
- package/Box/package.json +1 -1
- package/Button/cjs/style.development.css +5141 -5989
- package/Button/cjs/style.development.v2.css +5141 -5989
- package/Button/cjs/style.production.css +1 -1
- package/Button/cjs/style.production.v2.css +1 -1
- package/Button/package.json +1 -1
- package/ButtonPageUp/package.json +1 -1
- package/Checkbox/cjs/style.development.css +16 -16
- package/Checkbox/cjs/style.development.v2.css +16 -16
- package/Checkbox/cjs/style.production.css +1 -1
- package/Checkbox/cjs/style.production.v2.css +1 -1
- package/Checkbox/package.json +1 -1
- package/ColorScheme/package.json +1 -1
- package/ContextMenu/package.json +1 -1
- package/ErrorCatch/package.json +1 -1
- package/Flex/cjs/style.development.css +2 -2
- package/Flex/cjs/style.development.v2.css +2 -2
- package/Flex/package.json +1 -1
- package/Grid/cjs/style.development.css +63 -81
- package/Grid/cjs/style.development.v2.css +63 -81
- package/Grid/cjs/style.production.css +1 -1
- package/Grid/cjs/style.production.v2.css +1 -1
- package/Grid/package.json +1 -1
- package/Icon/package.json +1 -1
- package/Image/cjs/style.development.css +133 -143
- package/Image/cjs/style.development.v2.css +133 -143
- package/Image/cjs/style.production.css +1 -1
- package/Image/cjs/style.production.v2.css +1 -1
- package/Image/package.json +1 -1
- package/ImageEmoji/package.json +1 -1
- package/Input/package.json +1 -1
- package/InputField/package.json +1 -1
- package/KeyPress/package.json +1 -1
- package/Label/package.json +1 -1
- package/Line/cjs/style.development.css +56 -104
- package/Line/cjs/style.development.v2.css +56 -104
- package/Line/cjs/style.production.css +1 -1
- package/Line/cjs/style.production.v2.css +1 -1
- package/Line/package.json +1 -1
- package/Link/cjs/style.development.css +116 -176
- package/Link/cjs/style.development.v2.css +116 -176
- package/Link/cjs/style.production.css +1 -1
- package/Link/cjs/style.production.v2.css +1 -1
- package/Link/package.json +1 -1
- package/List/cjs/style.development.css +129 -169
- package/List/cjs/style.development.v2.css +129 -169
- package/List/cjs/style.production.css +1 -1
- package/List/cjs/style.production.v2.css +1 -1
- package/List/package.json +1 -1
- package/Media/package.json +1 -1
- package/Modal/package.json +1 -1
- package/OutsideClick/package.json +1 -1
- package/Overlay/package.json +1 -1
- package/PhotoGallery/cjs/index.development.js +38 -11
- package/PhotoGallery/cjs/index.development.v2.js +38 -11
- package/PhotoGallery/cjs/index.production.js +1 -1
- package/PhotoGallery/cjs/index.production.v2.js +1 -1
- package/PhotoGallery/cjs/style.development.css +77 -72
- package/PhotoGallery/cjs/style.development.v2.css +77 -72
- package/PhotoGallery/cjs/style.production.css +1 -1
- package/PhotoGallery/cjs/style.production.v2.css +1 -1
- package/PhotoGallery/components/SlotContainer.d.ts +7 -1
- package/PhotoGallery/index.d.ts +2 -0
- package/PhotoGallery/package.json +1 -1
- package/Picture/cjs/style.development.css +737 -769
- package/Picture/cjs/style.development.v2.css +737 -769
- package/Picture/cjs/style.production.css +1 -1
- package/Picture/cjs/style.production.v2.css +1 -1
- package/Picture/package.json +1 -1
- package/Portal/package.json +1 -1
- package/Progress/package.json +1 -1
- package/QRCode/package.json +1 -1
- package/Rating/package.json +1 -1
- package/RatingSelect/package.json +1 -1
- package/Scroll/package.json +1 -1
- package/ScrollControls/cjs/style.development.css +1 -1
- package/ScrollControls/cjs/style.development.v2.css +1 -1
- package/ScrollControls/package.json +1 -1
- package/SimpleSlider/cjs/style.development.css +6 -9
- package/SimpleSlider/cjs/style.development.v2.css +6 -9
- package/SimpleSlider/cjs/style.production.css +1 -1
- package/SimpleSlider/cjs/style.production.v2.css +1 -1
- package/SimpleSlider/package.json +1 -1
- package/Skeleton/package.json +1 -1
- package/SnackBar/cjs/style.development.css +35 -44
- package/SnackBar/cjs/style.development.v2.css +35 -44
- package/SnackBar/cjs/style.production.css +1 -1
- package/SnackBar/cjs/style.production.v2.css +1 -1
- package/SnackBar/package.json +1 -1
- package/Spinner/package.json +1 -1
- package/Text/cjs/style.development.css +275 -441
- package/Text/cjs/style.development.v2.css +275 -441
- package/Text/cjs/style.production.css +1 -1
- package/Text/cjs/style.production.v2.css +1 -1
- package/Text/package.json +1 -1
- package/TextEmoji/package.json +1 -1
- package/Tooltip/package.json +1 -1
- package/Tumbler/cjs/style.development.css +22 -22
- package/Tumbler/cjs/style.development.v2.css +22 -22
- package/Tumbler/cjs/style.production.css +1 -1
- package/Tumbler/cjs/style.production.v2.css +1 -1
- package/Tumbler/package.json +1 -1
- package/Viewport/package.json +1 -1
- package/evokit/package.json +1 -1
- package/package.json +2 -2
- package/useBrowserLayoutEffect/package.json +1 -1
- package/useDebounce/package.json +1 -1
- package/useForwardRef/package.json +1 -1
- package/useInView/package.json +1 -1
- package/useIsMounted/package.json +1 -1
- package/useKeyPress/package.json +1 -1
- package/useMedia/package.json +1 -1
- package/useOutsideClick/package.json +1 -1
- package/usePortal/package.json +1 -1
- package/useScrollPosition/package.json +1 -1
- package/useSnackBar/package.json +1 -1
|
@@ -21,14 +21,6 @@
|
|
|
21
21
|
overflow: hidden;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
@media only screen and (min-width: 960px) {
|
|
25
|
-
.PhotoGallery__root___nJWgH {
|
|
26
|
-
max-width: 80%;
|
|
27
|
-
max-height: 80%;
|
|
28
|
-
border-radius: var(--pds-round-m);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
24
|
/* layout */
|
|
33
25
|
|
|
34
26
|
.PhotoGallery__layout___BDoOb {
|
|
@@ -41,6 +33,11 @@
|
|
|
41
33
|
padding: var(--pds-spacing-l) var(--pds-spacing-m);
|
|
42
34
|
}
|
|
43
35
|
|
|
36
|
+
.PhotoGallery__slotLayoutHeader___KxMxT {
|
|
37
|
+
display: block;
|
|
38
|
+
padding: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
44
41
|
.PhotoGallery__layoutContent___C-jWr {
|
|
45
42
|
flex: 1;
|
|
46
43
|
min-width: 0;
|
|
@@ -62,6 +59,18 @@
|
|
|
62
59
|
flex: 1;
|
|
63
60
|
min-width: 0;
|
|
64
61
|
min-height: 0;
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-direction: column;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.PhotoGallery__layoutSectionContent___WPu-a {
|
|
67
|
+
flex: 1;
|
|
68
|
+
min-width: 0;
|
|
69
|
+
min-height: 0;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.PhotoGallery__layoutSectionFooter___G5FaN {
|
|
73
|
+
display: block;
|
|
65
74
|
}
|
|
66
75
|
|
|
67
76
|
.PhotoGallery__layoutPreviews___gQFQR {
|
|
@@ -81,41 +90,6 @@
|
|
|
81
90
|
max-height: 50%;
|
|
82
91
|
}
|
|
83
92
|
|
|
84
|
-
@media only screen and (min-width: 960px) {
|
|
85
|
-
.PhotoGallery__layoutHeader___iNVA1 {
|
|
86
|
-
padding: var(--pds-spacing-3xl);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.PhotoGallery__layoutContent___C-jWr {
|
|
90
|
-
flex-direction: row;
|
|
91
|
-
padding: 0 var(--pds-spacing-3xl) var(--pds-spacing-3xl);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.PhotoGallery__layoutSection___3FXm5 {
|
|
95
|
-
order: 2;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.PhotoGallery__layoutPreviews___gQFQR {
|
|
99
|
-
align-self: flex-start;
|
|
100
|
-
order: 1;
|
|
101
|
-
padding: 0;
|
|
102
|
-
margin-right: var(--pds-spacing-xl);
|
|
103
|
-
height: 100%;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.PhotoGallery__layoutAdditional___pw0QV {
|
|
107
|
-
order: 3;
|
|
108
|
-
margin-left: var(--pds-spacing-xl);
|
|
109
|
-
height: 100%;
|
|
110
|
-
max-height: none;
|
|
111
|
-
max-width: 50%;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.PhotoGallery__layoutFooter___MQh-L {
|
|
115
|
-
margin: 0 var(--pds-spacing-3xl) var(--pds-spacing-3xl);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
93
|
/* header */
|
|
120
94
|
|
|
121
95
|
.PhotoGallery__header___meCSL {
|
|
@@ -134,16 +108,6 @@
|
|
|
134
108
|
padding-left: var(--pds-spacing-5xl);
|
|
135
109
|
}
|
|
136
110
|
|
|
137
|
-
@media only screen and (min-width: 960px) {
|
|
138
|
-
|
|
139
|
-
.PhotoGallery__headerTitle___NpSWI {
|
|
140
|
-
padding-left: 0;
|
|
141
|
-
text-align: left;
|
|
142
|
-
font-weight: normal;
|
|
143
|
-
font-size: var(--pds-font-size-h2);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
111
|
.PhotoGallery__headerClose___-B9Zg {
|
|
148
112
|
position: absolute;
|
|
149
113
|
right: 0;
|
|
@@ -233,7 +197,7 @@
|
|
|
233
197
|
position: relative;
|
|
234
198
|
overflow: hidden;
|
|
235
199
|
border-radius: var(--pds-round-m);
|
|
236
|
-
border:
|
|
200
|
+
border: 2px solid var(--black-400);
|
|
237
201
|
-webkit-tap-highlight-color: transparent;
|
|
238
202
|
cursor: pointer;
|
|
239
203
|
-webkit-user-select: none;
|
|
@@ -258,24 +222,6 @@
|
|
|
258
222
|
object-fit: cover;
|
|
259
223
|
}
|
|
260
224
|
|
|
261
|
-
@media only screen and (min-width: 960px) {
|
|
262
|
-
.PhotoGallery__preview___86-3f {
|
|
263
|
-
flex-direction: column;
|
|
264
|
-
}
|
|
265
|
-
.PhotoGallery__previewItem___gnB8m:first-child {
|
|
266
|
-
padding-left: 0;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.PhotoGallery__previewItem___gnB8m:last-child {
|
|
270
|
-
padding-right: 0;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
.PhotoGallery__previewItem___gnB8m + .PhotoGallery__previewItem___gnB8m {
|
|
274
|
-
margin-left: 0;
|
|
275
|
-
margin-top: var(--pds-spacing-xs);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
|
|
279
225
|
/* video */
|
|
280
226
|
|
|
281
227
|
.PhotoGallery__videoPlayLabel___2kU58 {
|
|
@@ -346,6 +292,65 @@
|
|
|
346
292
|
}
|
|
347
293
|
|
|
348
294
|
@media only screen and (min-width: 960px) {
|
|
295
|
+
.PhotoGallery__root___nJWgH {
|
|
296
|
+
max-width: 80%;
|
|
297
|
+
max-height: 80%;
|
|
298
|
+
border-radius: var(--pds-round-m);
|
|
299
|
+
}
|
|
300
|
+
.PhotoGallery__layoutHeader___iNVA1 {
|
|
301
|
+
padding: var(--pds-spacing-3xl);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.PhotoGallery__layoutContent___C-jWr {
|
|
305
|
+
flex-direction: row;
|
|
306
|
+
padding: 0 var(--pds-spacing-3xl) var(--pds-spacing-3xl);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.PhotoGallery__layoutSection___3FXm5 {
|
|
310
|
+
order: 2;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.PhotoGallery__layoutPreviews___gQFQR {
|
|
314
|
+
align-self: flex-start;
|
|
315
|
+
order: 1;
|
|
316
|
+
padding: 0;
|
|
317
|
+
margin-right: var(--pds-spacing-xl);
|
|
318
|
+
height: 100%;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.PhotoGallery__layoutAdditional___pw0QV {
|
|
322
|
+
order: 3;
|
|
323
|
+
margin-left: var(--pds-spacing-xl);
|
|
324
|
+
height: 100%;
|
|
325
|
+
max-height: none;
|
|
326
|
+
max-width: 50%;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.PhotoGallery__layoutFooter___MQh-L {
|
|
330
|
+
margin: 0 var(--pds-spacing-3xl) var(--pds-spacing-3xl);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.PhotoGallery__headerTitle___NpSWI {
|
|
334
|
+
padding-left: 0;
|
|
335
|
+
text-align: left;
|
|
336
|
+
font-weight: normal;
|
|
337
|
+
font-size: var(--pds-font-size-h2);
|
|
338
|
+
}
|
|
339
|
+
.PhotoGallery__preview___86-3f {
|
|
340
|
+
flex-direction: column;
|
|
341
|
+
}
|
|
342
|
+
.PhotoGallery__previewItem___gnB8m:first-child {
|
|
343
|
+
padding-left: 0;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.PhotoGallery__previewItem___gnB8m:last-child {
|
|
347
|
+
padding-right: 0;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.PhotoGallery__previewItem___gnB8m + .PhotoGallery__previewItem___gnB8m {
|
|
351
|
+
margin-left: 0;
|
|
352
|
+
margin-top: var(--pds-spacing-xs);
|
|
353
|
+
}
|
|
349
354
|
.PhotoGallery__enter___sM8Qu {
|
|
350
355
|
transform: translate(-50%, -46%);
|
|
351
356
|
opacity: 0;
|
|
@@ -21,14 +21,6 @@
|
|
|
21
21
|
overflow: hidden;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
@media only screen and (min-width: 960px) {
|
|
25
|
-
.PhotoGallery__root___KiBKq {
|
|
26
|
-
max-width: 80%;
|
|
27
|
-
max-height: 80%;
|
|
28
|
-
border-radius: var(--pds-round-m);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
24
|
/* layout */
|
|
33
25
|
|
|
34
26
|
.PhotoGallery__layout___JBDok {
|
|
@@ -41,6 +33,11 @@
|
|
|
41
33
|
padding: var(--pds-spacing-l) var(--pds-spacing-m);
|
|
42
34
|
}
|
|
43
35
|
|
|
36
|
+
.PhotoGallery__slotLayoutHeader___8R2r5 {
|
|
37
|
+
display: block;
|
|
38
|
+
padding: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
44
41
|
.PhotoGallery__layoutContent___O43ff {
|
|
45
42
|
flex: 1;
|
|
46
43
|
min-width: 0;
|
|
@@ -62,6 +59,18 @@
|
|
|
62
59
|
flex: 1;
|
|
63
60
|
min-width: 0;
|
|
64
61
|
min-height: 0;
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-direction: column;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.PhotoGallery__layoutSectionContent___2TSDW {
|
|
67
|
+
flex: 1;
|
|
68
|
+
min-width: 0;
|
|
69
|
+
min-height: 0;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.PhotoGallery__layoutSectionFooter___LTbHF {
|
|
73
|
+
display: block;
|
|
65
74
|
}
|
|
66
75
|
|
|
67
76
|
.PhotoGallery__layoutPreviews___-hzyv {
|
|
@@ -81,41 +90,6 @@
|
|
|
81
90
|
max-height: 50%;
|
|
82
91
|
}
|
|
83
92
|
|
|
84
|
-
@media only screen and (min-width: 960px) {
|
|
85
|
-
.PhotoGallery__layoutHeader___tVG4b {
|
|
86
|
-
padding: var(--pds-spacing-3xl);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.PhotoGallery__layoutContent___O43ff {
|
|
90
|
-
flex-direction: row;
|
|
91
|
-
padding: 0 var(--pds-spacing-3xl) var(--pds-spacing-3xl);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.PhotoGallery__layoutSection___CvZb6 {
|
|
95
|
-
order: 2;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.PhotoGallery__layoutPreviews___-hzyv {
|
|
99
|
-
align-self: flex-start;
|
|
100
|
-
order: 1;
|
|
101
|
-
padding: 0;
|
|
102
|
-
margin-right: var(--pds-spacing-xl);
|
|
103
|
-
height: 100%;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.PhotoGallery__layoutAdditional___mR5-f {
|
|
107
|
-
order: 3;
|
|
108
|
-
margin-left: var(--pds-spacing-xl);
|
|
109
|
-
height: 100%;
|
|
110
|
-
max-height: none;
|
|
111
|
-
max-width: 50%;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.PhotoGallery__layoutFooter___Gz4gH {
|
|
115
|
-
margin: 0 var(--pds-spacing-3xl) var(--pds-spacing-3xl);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
93
|
/* header */
|
|
120
94
|
|
|
121
95
|
.PhotoGallery__header___xfAad {
|
|
@@ -134,16 +108,6 @@
|
|
|
134
108
|
padding-left: var(--pds-spacing-5xl);
|
|
135
109
|
}
|
|
136
110
|
|
|
137
|
-
@media only screen and (min-width: 960px) {
|
|
138
|
-
|
|
139
|
-
.PhotoGallery__headerTitle___QiOEy {
|
|
140
|
-
padding-left: 0;
|
|
141
|
-
text-align: left;
|
|
142
|
-
font-weight: normal;
|
|
143
|
-
font-size: var(--pds-font-size-h2);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
111
|
.PhotoGallery__headerClose___qdl3x {
|
|
148
112
|
position: absolute;
|
|
149
113
|
right: 0;
|
|
@@ -233,7 +197,7 @@
|
|
|
233
197
|
position: relative;
|
|
234
198
|
overflow: hidden;
|
|
235
199
|
border-radius: var(--pds-round-m);
|
|
236
|
-
border:
|
|
200
|
+
border: 2px solid var(--black-400);
|
|
237
201
|
-webkit-tap-highlight-color: transparent;
|
|
238
202
|
cursor: pointer;
|
|
239
203
|
-webkit-user-select: none;
|
|
@@ -258,24 +222,6 @@
|
|
|
258
222
|
object-fit: cover;
|
|
259
223
|
}
|
|
260
224
|
|
|
261
|
-
@media only screen and (min-width: 960px) {
|
|
262
|
-
.PhotoGallery__preview___F-k0z {
|
|
263
|
-
flex-direction: column;
|
|
264
|
-
}
|
|
265
|
-
.PhotoGallery__previewItem___jf683:first-child {
|
|
266
|
-
padding-left: 0;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.PhotoGallery__previewItem___jf683:last-child {
|
|
270
|
-
padding-right: 0;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
.PhotoGallery__previewItem___jf683 + .PhotoGallery__previewItem___jf683 {
|
|
274
|
-
margin-left: 0;
|
|
275
|
-
margin-top: var(--pds-spacing-xs);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
|
|
279
225
|
/* video */
|
|
280
226
|
|
|
281
227
|
.PhotoGallery__videoPlayLabel___jQiDN {
|
|
@@ -346,6 +292,65 @@
|
|
|
346
292
|
}
|
|
347
293
|
|
|
348
294
|
@media only screen and (min-width: 960px) {
|
|
295
|
+
.PhotoGallery__root___KiBKq {
|
|
296
|
+
max-width: 80%;
|
|
297
|
+
max-height: 80%;
|
|
298
|
+
border-radius: var(--pds-round-m);
|
|
299
|
+
}
|
|
300
|
+
.PhotoGallery__layoutHeader___tVG4b {
|
|
301
|
+
padding: var(--pds-spacing-3xl);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.PhotoGallery__layoutContent___O43ff {
|
|
305
|
+
flex-direction: row;
|
|
306
|
+
padding: 0 var(--pds-spacing-3xl) var(--pds-spacing-3xl);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.PhotoGallery__layoutSection___CvZb6 {
|
|
310
|
+
order: 2;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.PhotoGallery__layoutPreviews___-hzyv {
|
|
314
|
+
align-self: flex-start;
|
|
315
|
+
order: 1;
|
|
316
|
+
padding: 0;
|
|
317
|
+
margin-right: var(--pds-spacing-xl);
|
|
318
|
+
height: 100%;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.PhotoGallery__layoutAdditional___mR5-f {
|
|
322
|
+
order: 3;
|
|
323
|
+
margin-left: var(--pds-spacing-xl);
|
|
324
|
+
height: 100%;
|
|
325
|
+
max-height: none;
|
|
326
|
+
max-width: 50%;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.PhotoGallery__layoutFooter___Gz4gH {
|
|
330
|
+
margin: 0 var(--pds-spacing-3xl) var(--pds-spacing-3xl);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.PhotoGallery__headerTitle___QiOEy {
|
|
334
|
+
padding-left: 0;
|
|
335
|
+
text-align: left;
|
|
336
|
+
font-weight: normal;
|
|
337
|
+
font-size: var(--pds-font-size-h2);
|
|
338
|
+
}
|
|
339
|
+
.PhotoGallery__preview___F-k0z {
|
|
340
|
+
flex-direction: column;
|
|
341
|
+
}
|
|
342
|
+
.PhotoGallery__previewItem___jf683:first-child {
|
|
343
|
+
padding-left: 0;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.PhotoGallery__previewItem___jf683:last-child {
|
|
347
|
+
padding-right: 0;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.PhotoGallery__previewItem___jf683 + .PhotoGallery__previewItem___jf683 {
|
|
351
|
+
margin-left: 0;
|
|
352
|
+
margin-top: var(--pds-spacing-xs);
|
|
353
|
+
}
|
|
349
354
|
.PhotoGallery__enter___Lnosr {
|
|
350
355
|
transform: translate(-50%, -46%);
|
|
351
356
|
opacity: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.BeLzR{overflow:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}.BeLzR::-webkit-scrollbar{display:none}.nJWgH{position:fixed;left:50%;top:50%;width:100%;height:100%;transform:translate(-50%,-50%);background:var(--white);z-index:1000;overflow:hidden}
|
|
1
|
+
.BeLzR{overflow:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}.BeLzR::-webkit-scrollbar{display:none}.nJWgH{position:fixed;left:50%;top:50%;width:100%;height:100%;transform:translate(-50%,-50%);background:var(--white);z-index:1000;overflow:hidden}.BDoOb{display:flex;flex-direction:column;height:100%}.iNVA1{padding:var(--pds-spacing-l) var(--pds-spacing-m)}.KxMxT{display:block;padding:0}.C-jWr{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}.MQh-L{box-sizing:border-box;min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;max-height:50%}._3FXm5{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}.WPu-a{flex:1;min-width:0;min-height:0}.G5FaN{display:block}.gQFQR{align-self:center;padding:var(--pds-spacing-m)0;min-width:0;min-height:0;max-width:100%}.pw0QV{box-sizing:border-box;min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;max-height:50%}.NpSWI{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font-size:var(--pds-font-size-h3);font-weight:700;line-height:24px;padding-right:var(--pds-spacing-5xl);padding-left:var(--pds-spacing-5xl)}.-B9Zg{position:absolute;right:0;top:0;margin:var(--pds-spacing-m)}.ckcap{height:100%;width:100%}.-r4WP{display:flex;flex-wrap:nowrap;min-width:0;scroll-snap-type:x mandatory;width:100%;height:100%}.Q7wDI{scroll-snap-align:center;scroll-snap-stop:always;flex:0 0 auto;width:100%;min-width:0;max-width:100%;overflow:hidden}.Q7wDI+.Q7wDI{margin-left:var(--pds-spacing-m)}.NrcBT{display:block;outline:0;border:0;max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.kObZY{width:100%;height:100%;border:0}._86-3f{display:flex;flex-wrap:nowrap;flex-direction:row;box-sizing:border-box;max-height:100%;max-width:100%;min-width:0}.gnB8m{flex:0 0 auto;box-sizing:border-box;min-width:0;min-height:0}.gnB8m:first-child{padding-left:var(--pds-spacing-m)}.gnB8m:last-child{padding-right:var(--pds-spacing-m)}.gnB8m+.gnB8m{margin-left:var(--pds-spacing-xs)}.L4PR-{display:block;position:relative;overflow:hidden;border-radius:var(--pds-round-m);border:2px solid var(--black-400);-webkit-tap-highlight-color:transparent;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.L4PR-:disabled{border-color:var(--violet-500)}._8dsDI{display:block;outline:0;border:0;max-width:100%;max-height:100%;-o-object-fit:cover;object-fit:cover}._2kU58{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;background:var(--black-100);width:45%;height:45%;min-width:24px;min-height:24px;max-width:48px;max-height:48px;display:flex;align-items:center;justify-content:center;color:var(--black-900);pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.WR7T8{width:100%;height:100%;min-width:10px;min-height:10px;max-width:16px;max-height:16px}.sM8Qu,.veHZr{pointer-events:auto}.VP4oy,.AMPJ3{pointer-events:none;transition:transform 240ms cubic-bezier(0,0,.2,1) 0ms,opacity 240ms cubic-bezier(0,0,.2,1) 0ms}.sM8Qu{transform:translate(-50%,100%);opacity:0}.VP4oy{transform:translate(-50%,-50%);opacity:1}.veHZr{transform:translate(-50%,-50%);opacity:1}.AMPJ3{transform:translate(-50%,100%);opacity:0}@media only screen and (min-width:960px){.nJWgH{max-width:80%;max-height:80%;border-radius:var(--pds-round-m)}.iNVA1{padding:var(--pds-spacing-3xl)}.C-jWr{flex-direction:row;padding:0 var(--pds-spacing-3xl) var(--pds-spacing-3xl)}._3FXm5{order:2}.gQFQR{align-self:flex-start;order:1;padding:0;margin-right:var(--pds-spacing-xl);height:100%}.pw0QV{order:3;margin-left:var(--pds-spacing-xl);height:100%;max-height:none;max-width:50%}.MQh-L{margin:0 var(--pds-spacing-3xl) var(--pds-spacing-3xl)}.NpSWI{padding-left:0;text-align:left;font-weight:400;font-size:var(--pds-font-size-h2)}._86-3f{flex-direction:column}.gnB8m:first-child{padding-left:0}.gnB8m:last-child{padding-right:0}.gnB8m+.gnB8m{margin-left:0;margin-top:var(--pds-spacing-xs)}.sM8Qu{transform:translate(-50%,-46%);opacity:0}.VP4oy{transform:translate(-50%,-50%);opacity:1}.veHZr{transform:translate(-50%,-50%);opacity:1}.AMPJ3{transform:translate(-50%,-46%);opacity:0}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.q1DKc{overflow:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}.q1DKc::-webkit-scrollbar{display:none}.KiBKq{position:fixed;left:50%;top:50%;width:100%;height:100%;transform:translate(-50%,-50%);background:var(--white);z-index:1000;overflow:hidden}
|
|
1
|
+
.q1DKc{overflow:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}.q1DKc::-webkit-scrollbar{display:none}.KiBKq{position:fixed;left:50%;top:50%;width:100%;height:100%;transform:translate(-50%,-50%);background:var(--white);z-index:1000;overflow:hidden}.JBDok{display:flex;flex-direction:column;height:100%}.tVG4b{padding:var(--pds-spacing-l) var(--pds-spacing-m)}._8R2r5{display:block;padding:0}.O43ff{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}.Gz4gH{box-sizing:border-box;min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;max-height:50%}.CvZb6{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}._2TSDW{flex:1;min-width:0;min-height:0}.LTbHF{display:block}.-hzyv{align-self:center;padding:var(--pds-spacing-m)0;min-width:0;min-height:0;max-width:100%}.mR5-f{box-sizing:border-box;min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;max-height:50%}.QiOEy{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font-size:var(--pds-font-size-h3);font-weight:700;line-height:24px;padding-right:var(--pds-spacing-5xl);padding-left:var(--pds-spacing-5xl)}.qdl3x{position:absolute;right:0;top:0;margin:var(--pds-spacing-m)}.PeY3Y{height:100%;width:100%}.QIMHy{display:flex;flex-wrap:nowrap;min-width:0;scroll-snap-type:x mandatory;width:100%;height:100%}.aZCyk{scroll-snap-align:center;scroll-snap-stop:always;flex:0 0 auto;width:100%;min-width:0;max-width:100%;overflow:hidden}.aZCyk+.aZCyk{margin-left:var(--pds-spacing-m)}._2aEr5{display:block;outline:0;border:0;max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.kThdT{width:100%;height:100%;border:0}.F-k0z{display:flex;flex-wrap:nowrap;flex-direction:row;box-sizing:border-box;max-height:100%;max-width:100%;min-width:0}.jf683{flex:0 0 auto;box-sizing:border-box;min-width:0;min-height:0}.jf683:first-child{padding-left:var(--pds-spacing-m)}.jf683:last-child{padding-right:var(--pds-spacing-m)}.jf683+.jf683{margin-left:var(--pds-spacing-xs)}.VAXOP{display:block;position:relative;overflow:hidden;border-radius:var(--pds-round-m);border:2px solid var(--black-400);-webkit-tap-highlight-color:transparent;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.VAXOP:disabled{border-color:var(--violet-500)}.Mx2Y-{display:block;outline:0;border:0;max-width:100%;max-height:100%;-o-object-fit:cover;object-fit:cover}.jQiDN{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;background:var(--black-100);width:45%;height:45%;min-width:24px;min-height:24px;max-width:48px;max-height:48px;display:flex;align-items:center;justify-content:center;color:var(--black-900);pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.wSdjd{width:100%;height:100%;min-width:10px;min-height:10px;max-width:16px;max-height:16px}.Lnosr,.NW-xY{pointer-events:auto}.LrirU,.L6st-{pointer-events:none;transition:transform 240ms cubic-bezier(0,0,.2,1) 0ms,opacity 240ms cubic-bezier(0,0,.2,1) 0ms}.Lnosr{transform:translate(-50%,100%);opacity:0}.LrirU{transform:translate(-50%,-50%);opacity:1}.NW-xY{transform:translate(-50%,-50%);opacity:1}.L6st-{transform:translate(-50%,100%);opacity:0}@media only screen and (min-width:960px){.KiBKq{max-width:80%;max-height:80%;border-radius:var(--pds-round-m)}.tVG4b{padding:var(--pds-spacing-3xl)}.O43ff{flex-direction:row;padding:0 var(--pds-spacing-3xl) var(--pds-spacing-3xl)}.CvZb6{order:2}.-hzyv{align-self:flex-start;order:1;padding:0;margin-right:var(--pds-spacing-xl);height:100%}.mR5-f{order:3;margin-left:var(--pds-spacing-xl);height:100%;max-height:none;max-width:50%}.Gz4gH{margin:0 var(--pds-spacing-3xl) var(--pds-spacing-3xl)}.QiOEy{padding-left:0;text-align:left;font-weight:400;font-size:var(--pds-font-size-h2)}.F-k0z{flex-direction:column}.jf683:first-child{padding-left:0}.jf683:last-child{padding-right:0}.jf683+.jf683{margin-left:0;margin-top:var(--pds-spacing-xs)}.Lnosr{transform:translate(-50%,-46%);opacity:0}.LrirU{transform:translate(-50%,-50%);opacity:1}.NW-xY{transform:translate(-50%,-50%);opacity:1}.L6st-{transform:translate(-50%,-46%);opacity:0}}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export type SlotContainerProps = {
|
|
3
3
|
selectedIndex: number;
|
|
4
|
+
itemsLength: number;
|
|
4
5
|
className?: string;
|
|
6
|
+
onClose: () => void;
|
|
5
7
|
slotProps: {
|
|
6
8
|
props?: React.ComponentPropsWithoutRef<'div'>;
|
|
7
|
-
|
|
9
|
+
component: React.FC<{
|
|
10
|
+
selectedIndex: number;
|
|
11
|
+
itemsLength: number;
|
|
12
|
+
onClose: () => void;
|
|
13
|
+
}>;
|
|
8
14
|
};
|
|
9
15
|
};
|
|
10
16
|
export declare const SlotContainer: React.FC<SlotContainerProps>;
|
package/PhotoGallery/index.d.ts
CHANGED
|
@@ -21,7 +21,9 @@ export type PhotoGalleryProps = {
|
|
|
21
21
|
}[];
|
|
22
22
|
/** Размещением по z-оси */
|
|
23
23
|
zIndex?: number;
|
|
24
|
+
slotHeader?: SlotContainerProps['slotProps'];
|
|
24
25
|
slotAside?: SlotContainerProps['slotProps'];
|
|
25
26
|
slotFooter?: SlotContainerProps['slotProps'];
|
|
27
|
+
slotMainPhotoFooter?: SlotContainerProps['slotProps'];
|
|
26
28
|
};
|
|
27
29
|
export declare const PhotoGallery: React.FC<PhotoGalleryProps>;
|