sales-frontend-components 3.0.10 → 4.0.1
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/dist/camera/camera.module.scss +136 -1
- package/dist/index.cjs.js +763 -436
- package/dist/index.d.ts +186 -12
- package/dist/index.esm.js +763 -437
- package/dist/modal/standard/customer-search/customer-search.module.scss +8 -0
- package/package.json +11 -11
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
overflow: hidden;
|
|
77
77
|
border-radius: radius-basic(xlarge);
|
|
78
78
|
}
|
|
79
|
-
|
|
79
|
+
|
|
80
80
|
.photo-item {
|
|
81
81
|
position: relative;
|
|
82
82
|
width: 100%;
|
|
@@ -190,3 +190,138 @@
|
|
|
190
190
|
.photo-count-number {
|
|
191
191
|
color: colors(text-primary);
|
|
192
192
|
}
|
|
193
|
+
|
|
194
|
+
.video-capture-overlay {
|
|
195
|
+
position: fixed;
|
|
196
|
+
inset: 0;
|
|
197
|
+
z-index: 10000;
|
|
198
|
+
display: flex;
|
|
199
|
+
align-items: stretch;
|
|
200
|
+
justify-content: center;
|
|
201
|
+
background: rgb(0 0 0 / 88%);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.video-capture-dialog {
|
|
205
|
+
position: relative;
|
|
206
|
+
display: flex;
|
|
207
|
+
flex-direction: column;
|
|
208
|
+
width: 100%;
|
|
209
|
+
max-width: 720px;
|
|
210
|
+
height: 100%;
|
|
211
|
+
background: #111;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.video-capture-view {
|
|
215
|
+
flex: 1;
|
|
216
|
+
width: 100%;
|
|
217
|
+
min-height: 0;
|
|
218
|
+
object-fit: cover;
|
|
219
|
+
background: #111;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.video-capture-error {
|
|
223
|
+
position: absolute;
|
|
224
|
+
right: padding(medium);
|
|
225
|
+
bottom: 96px;
|
|
226
|
+
left: padding(medium);
|
|
227
|
+
padding: padding(small) padding(medium);
|
|
228
|
+
margin: 0;
|
|
229
|
+
color: #fff;
|
|
230
|
+
text-align: center;
|
|
231
|
+
background: rgb(0 0 0 / 72%);
|
|
232
|
+
border-radius: 8px;
|
|
233
|
+
|
|
234
|
+
@include apply-typography(body2);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.video-capture-actions {
|
|
238
|
+
display: flex;
|
|
239
|
+
flex-wrap: wrap;
|
|
240
|
+
gap: padding(small);
|
|
241
|
+
padding: padding(medium);
|
|
242
|
+
padding-bottom: calc(padding(medium) + env(safe-area-inset-bottom));
|
|
243
|
+
background: rgb(17 17 17 / 96%);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.video-capture-button {
|
|
247
|
+
flex: 1 1 0;
|
|
248
|
+
min-width: 0;
|
|
249
|
+
min-height: 48px;
|
|
250
|
+
color: colors(text-body);
|
|
251
|
+
cursor: pointer;
|
|
252
|
+
border: 0;
|
|
253
|
+
border-radius: 8px;
|
|
254
|
+
|
|
255
|
+
@include apply-typography(body2);
|
|
256
|
+
|
|
257
|
+
&:disabled {
|
|
258
|
+
cursor: not-allowed;
|
|
259
|
+
opacity: 0.45;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.video-capture-primary {
|
|
264
|
+
color: colors(text-body_0);
|
|
265
|
+
background: colors(surface-primary);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.video-capture-secondary {
|
|
269
|
+
color: colors(text-body);
|
|
270
|
+
background: colors(background-neutral);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.video-capture-thumbnails {
|
|
274
|
+
display: flex;
|
|
275
|
+
flex-direction: column;
|
|
276
|
+
gap: padding(xsmall);
|
|
277
|
+
padding: padding(small) padding(medium);
|
|
278
|
+
background: rgb(17 17 17 / 80%);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.video-capture-counter {
|
|
282
|
+
margin: 0;
|
|
283
|
+
color: colors(text-body_0);
|
|
284
|
+
|
|
285
|
+
@include apply-typography(body2);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.video-capture-thumbnail-list {
|
|
289
|
+
display: flex;
|
|
290
|
+
flex-wrap: wrap;
|
|
291
|
+
gap: padding(xsmall);
|
|
292
|
+
padding: 0;
|
|
293
|
+
margin: 0;
|
|
294
|
+
list-style: none;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.video-capture-thumbnail-item {
|
|
298
|
+
position: relative;
|
|
299
|
+
width: 64px;
|
|
300
|
+
height: 64px;
|
|
301
|
+
overflow: hidden;
|
|
302
|
+
border-radius: 6px;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.video-capture-thumbnail-image {
|
|
306
|
+
width: 100%;
|
|
307
|
+
height: 100%;
|
|
308
|
+
object-fit: cover;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.video-capture-thumbnail-remove {
|
|
312
|
+
position: absolute;
|
|
313
|
+
top: 2px;
|
|
314
|
+
right: 2px;
|
|
315
|
+
display: flex;
|
|
316
|
+
align-items: center;
|
|
317
|
+
justify-content: center;
|
|
318
|
+
width: 20px;
|
|
319
|
+
height: 20px;
|
|
320
|
+
font-size: 14px;
|
|
321
|
+
line-height: 1;
|
|
322
|
+
color: #fff;
|
|
323
|
+
cursor: pointer;
|
|
324
|
+
background: rgb(0 0 0 / 70%);
|
|
325
|
+
border: 0;
|
|
326
|
+
border-radius: 50%;
|
|
327
|
+
}
|