@prom-ui/core 2.2.0 → 2.3.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/cjs/style.development.css +85 -1
- package/Avatar/cjs/style.development.v2.css +85 -1
- package/Avatar/package.json +1 -1
- package/Backdrop/cjs/style.development.css +46 -1
- package/Backdrop/cjs/style.development.v2.css +46 -1
- package/Backdrop/package.json +1 -1
- package/Badge/cjs/style.development.css +85 -1
- package/Badge/cjs/style.development.v2.css +85 -1
- package/Badge/package.json +1 -1
- package/Body/cjs/style.development.css +865 -1
- package/Body/cjs/style.development.v2.css +865 -1
- package/Body/cjs/style.production.css +1 -1
- package/Body/cjs/style.production.v2.css +1 -1
- package/Body/index.d.ts +9 -8
- package/Body/package.json +1 -1
- package/BodyProvider/package.json +1 -1
- package/BodyScrollLock/cjs/style.development.css +15 -1
- package/BodyScrollLock/cjs/style.development.v2.css +15 -1
- package/BodyScrollLock/package.json +1 -1
- package/Box/cjs/style.development.css +17358 -1
- package/Box/cjs/style.development.v2.css +17358 -1
- package/Box/cjs/style.production.css +1 -1
- package/Box/cjs/style.production.v2.css +1 -1
- package/Box/index.d.ts +16 -15
- package/Box/package.json +1 -1
- package/Button/cjs/index.development.js +15 -15
- package/Button/cjs/index.development.v2.js +15 -15
- package/Button/cjs/index.production.js +1 -1
- package/Button/cjs/index.production.v2.js +1 -1
- package/Button/cjs/style.development.css +7552 -1
- package/Button/cjs/style.development.v2.css +7552 -1
- package/Button/cjs/style.production.css +1 -1
- package/Button/cjs/style.production.v2.css +1 -1
- package/Button/index.d.ts +11 -10
- package/Button/package.json +1 -1
- package/ButtonPageUp/cjs/style.development.css +5 -1
- package/ButtonPageUp/cjs/style.development.v2.css +5 -1
- package/ButtonPageUp/package.json +1 -1
- package/Checkbox/cjs/style.development.css +171 -1
- package/Checkbox/cjs/style.development.v2.css +171 -1
- 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/cjs/style.development.css +3 -1
- package/ColorScheme/cjs/style.development.v2.css +3 -1
- package/ColorScheme/package.json +1 -1
- package/ContextMenu/cjs/style.development.css +32 -1
- package/ContextMenu/cjs/style.development.v2.css +32 -1
- package/ContextMenu/package.json +1 -1
- package/ErrorCatch/cjs/style.development.css +34 -1
- package/ErrorCatch/cjs/style.development.v2.css +34 -1
- package/ErrorCatch/package.json +1 -1
- package/Flex/cjs/style.development.css +786 -1
- package/Flex/cjs/style.development.v2.css +786 -1
- package/Flex/index.d.ts +11 -10
- package/Flex/package.json +1 -1
- package/Grid/cjs/style.development.css +7439 -1
- package/Grid/cjs/style.development.v2.css +7439 -1
- package/Grid/cjs/style.production.css +1 -1
- package/Grid/cjs/style.production.v2.css +1 -1
- package/Grid/index.d.ts +14 -13
- package/Grid/package.json +1 -1
- package/Icon/cjs/style.development.css +67 -1
- package/Icon/cjs/style.development.v2.css +67 -1
- package/Icon/package.json +1 -1
- package/Image/cjs/style.development.css +969 -1
- package/Image/cjs/style.development.v2.css +969 -1
- package/Image/cjs/style.production.css +1 -1
- package/Image/cjs/style.production.v2.css +1 -1
- package/Image/index.d.ts +11 -11
- package/Image/package.json +1 -1
- package/ImageEmoji/package.json +1 -1
- package/Input/cjs/style.development.css +322 -1
- package/Input/cjs/style.development.v2.css +322 -1
- package/Input/package.json +1 -1
- package/InputField/cjs/style.development.css +53 -1
- package/InputField/cjs/style.development.v2.css +53 -1
- package/InputField/package.json +1 -1
- package/KeyPress/package.json +1 -1
- package/Label/cjs/style.development.css +50 -1
- package/Label/cjs/style.development.v2.css +50 -1
- package/Label/package.json +1 -1
- package/Line/cjs/index.development.js +1 -1
- package/Line/cjs/index.development.v2.js +1 -1
- package/Line/cjs/index.production.js +1 -1
- package/Line/cjs/index.production.v2.js +1 -1
- package/Line/cjs/style.development.css +193 -1
- package/Line/cjs/style.development.v2.css +193 -1
- package/Line/cjs/style.production.css +1 -1
- package/Line/cjs/style.production.v2.css +1 -1
- package/Line/index.d.ts +5 -4
- package/Line/package.json +1 -1
- package/Link/cjs/style.development.css +476 -1
- package/Link/cjs/style.development.v2.css +476 -1
- package/Link/cjs/style.production.css +1 -1
- package/Link/cjs/style.production.v2.css +1 -1
- package/Link/index.d.ts +9 -9
- package/Link/package.json +1 -1
- package/List/cjs/style.development.css +528 -1
- package/List/cjs/style.development.v2.css +528 -1
- package/List/cjs/style.production.css +1 -1
- package/List/cjs/style.production.v2.css +1 -1
- package/List/index.d.ts +6 -6
- package/List/package.json +1 -1
- package/Media/package.json +1 -1
- package/Modal/cjs/style.development.css +85 -1
- package/Modal/cjs/style.development.v2.css +85 -1
- package/Modal/package.json +1 -1
- package/OutsideClick/package.json +1 -1
- package/Overlay/cjs/style.development.css +305 -1
- package/Overlay/cjs/style.development.v2.css +305 -1
- package/Overlay/package.json +1 -1
- package/PhotoGallery/cjs/style.development.css +368 -1
- package/PhotoGallery/cjs/style.development.v2.css +368 -1
- package/PhotoGallery/cjs/style.production.css +1 -1
- package/PhotoGallery/cjs/style.production.v2.css +1 -1
- package/PhotoGallery/package.json +1 -1
- package/Picture/cjs/style.development.css +2406 -1
- package/Picture/cjs/style.development.v2.css +2406 -1
- package/Picture/cjs/style.production.css +1 -1
- package/Picture/cjs/style.production.v2.css +1 -1
- package/Picture/index.d.ts +8 -7
- package/Picture/package.json +1 -1
- package/Portal/package.json +1 -1
- package/Progress/cjs/style.development.css +43 -1
- package/Progress/cjs/style.development.v2.css +43 -1
- package/Progress/package.json +1 -1
- package/QRCode/cjs/style.development.css +3 -1
- package/QRCode/cjs/style.development.v2.css +3 -1
- package/QRCode/package.json +1 -1
- package/Rating/cjs/style.development.css +10 -1
- package/Rating/cjs/style.development.v2.css +10 -1
- package/Rating/package.json +1 -1
- package/RatingSelect/cjs/style.development.css +145 -1
- package/RatingSelect/cjs/style.development.v2.css +145 -1
- package/RatingSelect/package.json +1 -1
- package/Scroll/cjs/style.development.css +228 -1
- package/Scroll/cjs/style.development.v2.css +228 -1
- package/Scroll/package.json +1 -1
- package/ScrollControls/cjs/style.development.css +57 -1
- package/ScrollControls/cjs/style.development.v2.css +57 -1
- package/ScrollControls/package.json +1 -1
- package/SimpleSlider/cjs/style.development.css +196 -1
- package/SimpleSlider/cjs/style.development.v2.css +196 -1
- 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/cjs/style.development.css +96 -1
- package/Skeleton/cjs/style.development.v2.css +96 -1
- package/Skeleton/package.json +1 -1
- package/SnackBar/cjs/style.development.css +161 -1
- package/SnackBar/cjs/style.development.v2.css +161 -1
- 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/cjs/style.development.css +56 -1
- package/Spinner/cjs/style.development.v2.css +56 -1
- package/Spinner/package.json +1 -1
- package/Text/cjs/style.development.css +1450 -1
- package/Text/cjs/style.development.v2.css +1450 -1
- package/Text/cjs/style.production.css +1 -1
- package/Text/cjs/style.production.v2.css +1 -1
- package/Text/index.d.ts +11 -10
- package/Text/package.json +1 -1
- package/TextEmoji/package.json +1 -1
- package/Tooltip/cjs/style.development.css +146 -1
- package/Tooltip/cjs/style.development.v2.css +146 -1
- package/Tooltip/package.json +1 -1
- package/Tumbler/cjs/style.development.css +155 -1
- package/Tumbler/cjs/style.development.v2.css +155 -1
- 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/index.d.ts +2 -2
- package/evokit/package.json +1 -1
- package/evokit/types.d.ts +3 -2
- 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
|
@@ -1 +1,305 @@
|
|
|
1
|
-
.Overlay__root___-yvLz
|
|
1
|
+
.Overlay__root___-yvLz {
|
|
2
|
+
position: fixed;
|
|
3
|
+
right: 0;
|
|
4
|
+
bottom: 0;
|
|
5
|
+
top: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.Overlay__backdrop___MKZgL {
|
|
12
|
+
display: flex;
|
|
13
|
+
top: 0;
|
|
14
|
+
left: 0;
|
|
15
|
+
right: 0;
|
|
16
|
+
bottom: 0;
|
|
17
|
+
z-index: -1;
|
|
18
|
+
position: fixed;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
-webkit-tap-highlight-color: transparent;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.Overlay__popup___RJENA {
|
|
25
|
+
z-index: 1200;
|
|
26
|
+
position: fixed;
|
|
27
|
+
background: var(--white);
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
transform: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.Overlay__popup_placement_top___ERdxO,
|
|
35
|
+
.Overlay__popup_placement_bottom___MJb6v {
|
|
36
|
+
right: 0;
|
|
37
|
+
left: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.Overlay__popup_placement_right___nL79b,
|
|
41
|
+
.Overlay__popup_placement_left___p-p5e {
|
|
42
|
+
top: 0;
|
|
43
|
+
bottom: 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.Overlay__popup_placement_top___ERdxO {
|
|
47
|
+
top: 0;
|
|
48
|
+
box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.1);
|
|
49
|
+
border-radius: 0 0 var(--pds-round-3xl) var(--pds-round-3xl);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.Overlay__popup_placement_bottom___MJb6v {
|
|
53
|
+
bottom: 0;
|
|
54
|
+
box-shadow: 0 -3px 6px 0 rgba(0, 0, 0, 0.1);
|
|
55
|
+
border-radius: var(--pds-round-3xl) var(--pds-round-3xl) 0 0;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.Overlay__popup_placement_right___nL79b {
|
|
59
|
+
right: 0;
|
|
60
|
+
box-shadow: -3px 0 6px 0 rgba(0, 0, 0, 0.1);
|
|
61
|
+
border-radius: var(--pds-round-3xl) 0 0 var(--pds-round-3xl);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.Overlay__popup_placement_left___p-p5e {
|
|
65
|
+
left: 0;
|
|
66
|
+
box-shadow: 3px 0 6px 0 rgba(0, 0, 0, 0.1);
|
|
67
|
+
border-radius: 0 var(--pds-round-3xl) var(--pds-round-3xl) 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.Overlay__content___uHLyZ {
|
|
71
|
+
order: 2;
|
|
72
|
+
flex: 1;
|
|
73
|
+
min-width: 0;
|
|
74
|
+
min-height: 0;
|
|
75
|
+
box-sizing: border-box;
|
|
76
|
+
overflow-x: hidden;
|
|
77
|
+
overflow-y: auto;
|
|
78
|
+
-webkit-overflow-scrolling: touch;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.Overlay__content___uHLyZ:after {
|
|
82
|
+
clear: both;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.Overlay__content___uHLyZ:before,
|
|
86
|
+
.Overlay__content___uHLyZ:after {
|
|
87
|
+
content: '';
|
|
88
|
+
display: table;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* header */
|
|
92
|
+
|
|
93
|
+
.Overlay__header___ntf6X {
|
|
94
|
+
order: 1;
|
|
95
|
+
flex: 0;
|
|
96
|
+
box-sizing: border-box;
|
|
97
|
+
border-top-right-radius: inherit;
|
|
98
|
+
border-top-left-radius: inherit;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.Overlay__header___ntf6X:after {
|
|
102
|
+
clear: both;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.Overlay__header___ntf6X:before,
|
|
106
|
+
.Overlay__header___ntf6X:after {
|
|
107
|
+
content: '';
|
|
108
|
+
display: table;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.Overlay__header___ntf6X:empty ~ .Overlay__content___uHLyZ {
|
|
112
|
+
border-top-right-radius: inherit;
|
|
113
|
+
border-top-left-radius: inherit;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.Overlay__header__grid___-OCio {
|
|
117
|
+
box-sizing: border-box;
|
|
118
|
+
display: flex;
|
|
119
|
+
flex-wrap: wrap;
|
|
120
|
+
min-width: 0;
|
|
121
|
+
align-items: center;
|
|
122
|
+
min-height: 50px;
|
|
123
|
+
padding: var(--pds-spacing-xs);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.Overlay__header__item___gjOzy {
|
|
127
|
+
display: block;
|
|
128
|
+
box-sizing: border-box;
|
|
129
|
+
min-width: 0;
|
|
130
|
+
max-width: 100%;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.Overlay__header__title___-s4aZ {
|
|
134
|
+
flex: 1;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.Overlay__header__titleText___zkpK2 {
|
|
138
|
+
display: block;
|
|
139
|
+
overflow: hidden;
|
|
140
|
+
text-overflow: ellipsis;
|
|
141
|
+
white-space: nowrap;
|
|
142
|
+
text-align: center;
|
|
143
|
+
font-weight: 700;
|
|
144
|
+
font-size: var(--pds-font-size-h4);
|
|
145
|
+
line-height: var(--pds-line-height);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.Overlay__header__action___fzZrE {
|
|
149
|
+
min-width: 34px;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.Overlay__header__actionButton___CC-hv {
|
|
153
|
+
padding: 0;
|
|
154
|
+
width: 34px;
|
|
155
|
+
height: 34px;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.Overlay__header__actionIcon___LoRyP {
|
|
159
|
+
width: 24px;
|
|
160
|
+
height: 24px;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* footer */
|
|
164
|
+
|
|
165
|
+
.Overlay__footer___nE-cV {
|
|
166
|
+
order: 3;
|
|
167
|
+
flex: 0;
|
|
168
|
+
box-sizing: border-box;
|
|
169
|
+
border-bottom-right-radius: inherit;
|
|
170
|
+
border-bottom-left-radius: inherit;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.Overlay__footer___nE-cV:after {
|
|
174
|
+
clear: both;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.Overlay__footer___nE-cV:before,
|
|
178
|
+
.Overlay__footer___nE-cV:after {
|
|
179
|
+
content: '';
|
|
180
|
+
display: table;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.Overlay__footer___nE-cV:empty ~ .Overlay__content___uHLyZ {
|
|
184
|
+
border-bottom-right-radius: inherit;
|
|
185
|
+
border-bottom-left-radius: inherit;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/* animation */
|
|
189
|
+
|
|
190
|
+
.Overlay__enter___v7DoD,
|
|
191
|
+
.Overlay__exit___E0PkA {
|
|
192
|
+
pointer-events: auto;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.Overlay__enterActive___RFXzo,
|
|
196
|
+
.Overlay__exitActive___a2xd2 {
|
|
197
|
+
pointer-events: none;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.Overlay__enterActive___RFXzo .Overlay__popup_placement_top___ERdxO,
|
|
201
|
+
.Overlay__exitActive___a2xd2 .Overlay__popup_placement_top___ERdxO,
|
|
202
|
+
.Overlay__enterActive___RFXzo .Overlay__popup_placement_right___nL79b,
|
|
203
|
+
.Overlay__exitActive___a2xd2 .Overlay__popup_placement_right___nL79b,
|
|
204
|
+
.Overlay__enterActive___RFXzo .Overlay__popup_placement_bottom___MJb6v,
|
|
205
|
+
.Overlay__exitActive___a2xd2 .Overlay__popup_placement_bottom___MJb6v,
|
|
206
|
+
.Overlay__enterActive___RFXzo .Overlay__popup_placement_left___p-p5e,
|
|
207
|
+
.Overlay__exitActive___a2xd2 .Overlay__popup_placement_left___p-p5e {
|
|
208
|
+
transition: transform 225ms cubic-bezier(0, 0, 0.2, 1) 0ms;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.Overlay__enter___v7DoD .Overlay__popup_placement_top___ERdxO {
|
|
212
|
+
transform: translateY(-100%);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.Overlay__enter___v7DoD .Overlay__popup_placement_right___nL79b {
|
|
216
|
+
transform: translateX(100%);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.Overlay__enter___v7DoD .Overlay__popup_placement_bottom___MJb6v {
|
|
220
|
+
transform: translateY(100%);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.Overlay__enter___v7DoD .Overlay__popup_placement_left___p-p5e {
|
|
224
|
+
transform: translateX(-100%);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.Overlay__enterActive___RFXzo .Overlay__popup_placement_top___ERdxO,
|
|
228
|
+
.Overlay__enterActive___RFXzo .Overlay__popup_placement_bottom___MJb6v {
|
|
229
|
+
transform: translateY(0);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.Overlay__enterActive___RFXzo .Overlay__popup_placement_left___p-p5e,
|
|
233
|
+
.Overlay__enterActive___RFXzo .Overlay__popup_placement_right___nL79b {
|
|
234
|
+
transform: translateX(0);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.Overlay__exit___E0PkA .Overlay__popup_placement_top___ERdxO,
|
|
238
|
+
.Overlay__exit___E0PkA .Overlay__popup_placement_bottom___MJb6v {
|
|
239
|
+
transform: translateY(0);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.Overlay__exit___E0PkA .Overlay__popup_placement_left___p-p5e,
|
|
243
|
+
.Overlay__exit___E0PkA .Overlay__popup_placement_right___nL79b {
|
|
244
|
+
transform: translateX(0);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.Overlay__exitActive___a2xd2 .Overlay__popup_placement_top___ERdxO {
|
|
248
|
+
transform: translateY(-100%);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.Overlay__exitActive___a2xd2 .Overlay__popup_placement_right___nL79b {
|
|
252
|
+
transform: translateX(100%);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.Overlay__exitActive___a2xd2 .Overlay__popup_placement_bottom___MJb6v {
|
|
256
|
+
transform: translateY(100%);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.Overlay__exitActive___a2xd2 .Overlay__popup_placement_left___p-p5e {
|
|
260
|
+
transform: translateX(-100%);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/* error */
|
|
264
|
+
|
|
265
|
+
.Overlay__errorContainer___6Vqfn {
|
|
266
|
+
padding-top: var(--pds-spacing-3xl);
|
|
267
|
+
padding-bottom: var(--pds-spacing-5xl);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.Overlay__errorContainerLoading___1NWwx {
|
|
271
|
+
opacity: 0.4;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.Overlay__errorIcon___B2x3n {
|
|
275
|
+
width: 180px;
|
|
276
|
+
height: 161px;
|
|
277
|
+
margin: 0 auto var(--pds-spacing-m);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.Overlay__errorTitle___xzjW5 {
|
|
281
|
+
font-weight: 700;
|
|
282
|
+
font-size: var(--pds-font-size-h4);
|
|
283
|
+
text-align: center;
|
|
284
|
+
margin-bottom: var(--pds-spacing-s);
|
|
285
|
+
line-height: var(--pds-line-height);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.Overlay__errorDescription___9ITQZ {
|
|
289
|
+
text-align: center;
|
|
290
|
+
margin-bottom: var(--pds-spacing-l);
|
|
291
|
+
line-height: var(--pds-line-height);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.Overlay__errorWrapReloadButton___TztMO {
|
|
295
|
+
text-align: center;
|
|
296
|
+
margin-bottom: var(--pds-spacing-l);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.Overlay__errorWrapCloseButton___6pk7M {
|
|
300
|
+
text-align: center;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.Overlay__errorCloseButtonLoading___4NTmf {
|
|
304
|
+
pointer-events: none;
|
|
305
|
+
}
|
package/Overlay/package.json
CHANGED
|
@@ -1 +1,368 @@
|
|
|
1
|
-
.PhotoGallery__scrolling___BeLzR
|
|
1
|
+
.PhotoGallery__scrolling___BeLzR {
|
|
2
|
+
overflow: auto;
|
|
3
|
+
-webkit-overflow-scrolling: touch;
|
|
4
|
+
-ms-overflow-style: none;
|
|
5
|
+
scrollbar-width: none;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.PhotoGallery__scrolling___BeLzR::-webkit-scrollbar {
|
|
9
|
+
display: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.PhotoGallery__root___nJWgH {
|
|
13
|
+
position: fixed;
|
|
14
|
+
left: 50%;
|
|
15
|
+
top: 50%;
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
transform: translate(-50%, -50%);
|
|
19
|
+
background: var(--white);
|
|
20
|
+
z-index: 1000;
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
}
|
|
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
|
+
/* layout */
|
|
33
|
+
|
|
34
|
+
.PhotoGallery__layout___BDoOb {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
height: 100%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.PhotoGallery__layoutHeader___iNVA1 {
|
|
41
|
+
padding: var(--pds-spacing-l) var(--pds-spacing-m);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.PhotoGallery__layoutContent___C-jWr {
|
|
45
|
+
flex: 1;
|
|
46
|
+
min-width: 0;
|
|
47
|
+
min-height: 0;
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-direction: column;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.PhotoGallery__layoutFooter___MQh-L {
|
|
53
|
+
box-sizing: border-box;
|
|
54
|
+
min-width: 0;
|
|
55
|
+
min-height: 0;
|
|
56
|
+
overflow-x: hidden;
|
|
57
|
+
overflow-y: auto;
|
|
58
|
+
max-height: 50%;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.PhotoGallery__layoutSection___3FXm5 {
|
|
62
|
+
flex: 1;
|
|
63
|
+
min-width: 0;
|
|
64
|
+
min-height: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.PhotoGallery__layoutPreviews___gQFQR {
|
|
68
|
+
align-self: center;
|
|
69
|
+
padding: var(--pds-spacing-m) 0;
|
|
70
|
+
min-width: 0;
|
|
71
|
+
min-height: 0;
|
|
72
|
+
max-width: 100%;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.PhotoGallery__layoutAdditional___pw0QV {
|
|
76
|
+
box-sizing: border-box;
|
|
77
|
+
min-width: 0;
|
|
78
|
+
min-height: 0;
|
|
79
|
+
overflow-x: hidden;
|
|
80
|
+
overflow-y: auto;
|
|
81
|
+
max-height: 50%;
|
|
82
|
+
}
|
|
83
|
+
|
|
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
|
+
/* header */
|
|
120
|
+
|
|
121
|
+
.PhotoGallery__header___meCSL {
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.PhotoGallery__headerTitle___NpSWI {
|
|
125
|
+
display: block;
|
|
126
|
+
overflow: hidden;
|
|
127
|
+
text-overflow: ellipsis;
|
|
128
|
+
white-space: nowrap;
|
|
129
|
+
text-align: center;
|
|
130
|
+
font-size: var(--pds-font-size-h3);
|
|
131
|
+
font-weight: bold;
|
|
132
|
+
line-height: 24px;
|
|
133
|
+
padding-right: var(--pds-spacing-5xl);
|
|
134
|
+
padding-left: var(--pds-spacing-5xl);
|
|
135
|
+
}
|
|
136
|
+
|
|
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
|
+
.PhotoGallery__headerClose___-B9Zg {
|
|
148
|
+
position: absolute;
|
|
149
|
+
right: 0;
|
|
150
|
+
top: 0;
|
|
151
|
+
margin: var(--pds-spacing-m);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* MainPhotos.tsx */
|
|
155
|
+
|
|
156
|
+
.PhotoGallery__mainPhotoScrollControls___ckcap {
|
|
157
|
+
height: 100%;
|
|
158
|
+
width: 100%;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.PhotoGallery__mainPhoto___-r4WP {
|
|
162
|
+
display: flex;
|
|
163
|
+
flex-wrap: nowrap;
|
|
164
|
+
min-width: 0;
|
|
165
|
+
scroll-snap-type: x mandatory;
|
|
166
|
+
width: 100%;
|
|
167
|
+
height: 100%;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.PhotoGallery__mainPhotoItem___Q7wDI {
|
|
171
|
+
scroll-snap-align: center;
|
|
172
|
+
scroll-snap-stop: always;
|
|
173
|
+
flex: 0 0 auto;
|
|
174
|
+
width: 100%;
|
|
175
|
+
min-width: 0;
|
|
176
|
+
max-width: 100%;
|
|
177
|
+
overflow: hidden;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.PhotoGallery__mainPhotoItem___Q7wDI + .PhotoGallery__mainPhotoItem___Q7wDI {
|
|
181
|
+
margin-left: var(--pds-spacing-m);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.PhotoGallery__mainPhotoImage___NrcBT {
|
|
185
|
+
display: block;
|
|
186
|
+
outline: none;
|
|
187
|
+
border: 0;
|
|
188
|
+
max-width: 100%;
|
|
189
|
+
max-height: 100%;
|
|
190
|
+
-o-object-fit: contain;
|
|
191
|
+
object-fit: contain;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.PhotoGallery__mainPhotoIframe___kObZY {
|
|
195
|
+
width: 100%;
|
|
196
|
+
height: 100%;
|
|
197
|
+
border: 0;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/* PreviewPhotos.tsx */
|
|
201
|
+
|
|
202
|
+
.PhotoGallery__preview___86-3f {
|
|
203
|
+
display: flex;
|
|
204
|
+
flex-wrap: nowrap;
|
|
205
|
+
flex-direction: row;
|
|
206
|
+
box-sizing: border-box;
|
|
207
|
+
max-height: 100%;
|
|
208
|
+
max-width: 100%;
|
|
209
|
+
min-width: 0;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.PhotoGallery__previewItem___gnB8m {
|
|
213
|
+
flex: 0 0 auto;
|
|
214
|
+
box-sizing: border-box;
|
|
215
|
+
min-width: 0;
|
|
216
|
+
min-height: 0;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.PhotoGallery__previewItem___gnB8m:first-child {
|
|
220
|
+
padding-left: var(--pds-spacing-m);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.PhotoGallery__previewItem___gnB8m:last-child {
|
|
224
|
+
padding-right: var(--pds-spacing-m);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.PhotoGallery__previewItem___gnB8m + .PhotoGallery__previewItem___gnB8m {
|
|
228
|
+
margin-left: var(--pds-spacing-xs);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.PhotoGallery__previewButton___L4PR- {
|
|
232
|
+
display: block;
|
|
233
|
+
position: relative;
|
|
234
|
+
overflow: hidden;
|
|
235
|
+
border-radius: var(--pds-round-m);
|
|
236
|
+
border: 1px solid var(--black-400);
|
|
237
|
+
-webkit-tap-highlight-color: transparent;
|
|
238
|
+
cursor: pointer;
|
|
239
|
+
-webkit-user-select: none;
|
|
240
|
+
-moz-user-select: none;
|
|
241
|
+
user-select: none;
|
|
242
|
+
-webkit-appearance: none;
|
|
243
|
+
-moz-appearance: none;
|
|
244
|
+
appearance: none;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.PhotoGallery__previewButton___L4PR-:disabled {
|
|
248
|
+
border-color: var(--violet-500);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.PhotoGallery__previewImage___8dsDI {
|
|
252
|
+
display: block;
|
|
253
|
+
outline: none;
|
|
254
|
+
border: 0;
|
|
255
|
+
max-width: 100%;
|
|
256
|
+
max-height: 100%;
|
|
257
|
+
-o-object-fit: cover;
|
|
258
|
+
object-fit: cover;
|
|
259
|
+
}
|
|
260
|
+
|
|
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
|
+
/* video */
|
|
280
|
+
|
|
281
|
+
.PhotoGallery__videoPlayLabel___2kU58 {
|
|
282
|
+
position: absolute;
|
|
283
|
+
left: 50%;
|
|
284
|
+
top: 50%;
|
|
285
|
+
transform: translate(-50%, -50%);
|
|
286
|
+
border-radius: 50%;
|
|
287
|
+
background: var(--black-100);
|
|
288
|
+
width: 45%;
|
|
289
|
+
height: 45%;
|
|
290
|
+
min-width: 24px;
|
|
291
|
+
min-height: 24px;
|
|
292
|
+
max-width: 48px;
|
|
293
|
+
max-height: 48px;
|
|
294
|
+
display: flex;
|
|
295
|
+
align-items: center;
|
|
296
|
+
justify-content: center;
|
|
297
|
+
color: var(--black-900);
|
|
298
|
+
pointer-events: none;
|
|
299
|
+
-webkit-user-select: none;
|
|
300
|
+
-moz-user-select: none;
|
|
301
|
+
user-select: none;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.PhotoGallery__videoPlayLabelIcon___WR7T8 {
|
|
305
|
+
width: 100%;
|
|
306
|
+
height: 100%;
|
|
307
|
+
min-width: 10px;
|
|
308
|
+
min-height: 10px;
|
|
309
|
+
max-width: 16px;
|
|
310
|
+
max-height: 16px;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
/* animation */
|
|
314
|
+
|
|
315
|
+
.PhotoGallery__enter___sM8Qu,
|
|
316
|
+
.PhotoGallery__exit___veHZr {
|
|
317
|
+
pointer-events: auto;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.PhotoGallery__enterActive___VP4oy,
|
|
321
|
+
.PhotoGallery__exitActive___AMPJ3 {
|
|
322
|
+
pointer-events: none;
|
|
323
|
+
transition:
|
|
324
|
+
transform 240ms cubic-bezier(0, 0, 0.2, 1) 0ms,
|
|
325
|
+
opacity 240ms cubic-bezier(0, 0, 0.2, 1) 0ms;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.PhotoGallery__enter___sM8Qu {
|
|
329
|
+
transform: translate(-50%, 100%);
|
|
330
|
+
opacity: 0;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.PhotoGallery__enterActive___VP4oy {
|
|
334
|
+
transform: translate(-50%, -50%);
|
|
335
|
+
opacity: 1;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.PhotoGallery__exit___veHZr {
|
|
339
|
+
transform: translate(-50%, -50%);
|
|
340
|
+
opacity: 1;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.PhotoGallery__exitActive___AMPJ3 {
|
|
344
|
+
transform: translate(-50%, 100%);
|
|
345
|
+
opacity: 0;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
@media only screen and (min-width: 960px) {
|
|
349
|
+
.PhotoGallery__enter___sM8Qu {
|
|
350
|
+
transform: translate(-50%, -46%);
|
|
351
|
+
opacity: 0;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.PhotoGallery__enterActive___VP4oy {
|
|
355
|
+
transform: translate(-50%, -50%);
|
|
356
|
+
opacity: 1;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.PhotoGallery__exit___veHZr {
|
|
360
|
+
transform: translate(-50%, -50%);
|
|
361
|
+
opacity: 1;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.PhotoGallery__exitActive___AMPJ3 {
|
|
365
|
+
transform: translate(-50%, -46%);
|
|
366
|
+
opacity: 0;
|
|
367
|
+
}
|
|
368
|
+
}
|