@artaio/arta-browser 2.6.0 → 2.9.4-add-backdrop72cde9bc5f6b74ebbea4e133e6113ca295d73401

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 (93) hide show
  1. package/dist/arta.d.ts +5 -1
  2. package/dist/arta.js +14 -1
  3. package/dist/bundle.js +1 -1
  4. package/dist/components/Date/SimpleDate.d.ts +6 -0
  5. package/dist/components/Date/SimpleDate.js +25 -0
  6. package/dist/components/Date/index.d.ts +6 -0
  7. package/dist/components/Date/index.js +39 -0
  8. package/dist/components/DrawerFooter/index.d.ts +1 -0
  9. package/dist/components/DrawerFooter/index.js +19 -0
  10. package/dist/components/DrawerHeader/index.d.ts +6 -0
  11. package/dist/components/DrawerHeader/index.js +20 -0
  12. package/dist/components/DrawerInsurance/index.d.ts +1 -0
  13. package/dist/components/DrawerInsurance/index.js +19 -0
  14. package/dist/components/Loading/index.js +1 -1
  15. package/dist/components/Modal/index.js +2 -3
  16. package/dist/components/Package/index.d.ts +10 -0
  17. package/dist/components/Package/index.js +57 -0
  18. package/dist/components/PackageEvents/index.d.ts +15 -0
  19. package/dist/components/PackageEvents/index.js +131 -0
  20. package/dist/components/Pill/index.d.ts +8 -0
  21. package/dist/components/Pill/index.js +20 -0
  22. package/dist/components/ShipToFrom/index.d.ts +7 -0
  23. package/dist/components/ShipToFrom/index.js +29 -0
  24. package/dist/components/ShipmentException/icons/ExceptionIcon.d.ts +7 -0
  25. package/dist/components/ShipmentException/icons/ExceptionIcon.js +18 -0
  26. package/dist/components/ShipmentException/icons/HexagonAlertBase.d.ts +4 -0
  27. package/dist/components/ShipmentException/icons/HexagonAlertBase.js +20 -0
  28. package/dist/components/ShipmentException/icons/HexagonPauseBase.d.ts +4 -0
  29. package/dist/components/ShipmentException/icons/HexagonPauseBase.js +20 -0
  30. package/dist/components/ShipmentException/icons/HexagonStopBase.d.ts +4 -0
  31. package/dist/components/ShipmentException/icons/HexagonStopBase.js +20 -0
  32. package/dist/components/ShipmentException/index.d.ts +8 -0
  33. package/dist/components/ShipmentException/index.js +97 -0
  34. package/dist/components/Summary/index.d.ts +7 -0
  35. package/dist/components/Summary/index.js +20 -0
  36. package/dist/components/Timeline/CheckedStep.d.ts +8 -0
  37. package/dist/components/Timeline/CheckedStep.js +26 -0
  38. package/dist/components/Timeline/CheckedSteps.d.ts +4 -0
  39. package/dist/components/Timeline/CheckedSteps.js +20 -0
  40. package/dist/components/Timeline/EmptyStep.d.ts +3 -0
  41. package/dist/components/Timeline/EmptyStep.js +20 -0
  42. package/dist/components/Timeline/SecondaryStep.d.ts +4 -0
  43. package/dist/components/Timeline/SecondaryStep.js +20 -0
  44. package/dist/components/Timeline/SecondarySteps.d.ts +4 -0
  45. package/dist/components/Timeline/SecondarySteps.js +20 -0
  46. package/dist/components/Timeline/TimelineDefault.d.ts +2 -0
  47. package/dist/components/Timeline/TimelineDefault.js +44 -0
  48. package/dist/components/Timeline/TimlineMinimal.d.ts +2 -0
  49. package/dist/components/Timeline/TimlineMinimal.js +45 -0
  50. package/dist/components/Timeline/defaultIcons/CancelledIcon.d.ts +4 -0
  51. package/dist/components/Timeline/defaultIcons/CancelledIcon.js +21 -0
  52. package/dist/components/Timeline/defaultIcons/CollectedIcon.d.ts +2 -0
  53. package/dist/components/Timeline/defaultIcons/CollectedIcon.js +22 -0
  54. package/dist/components/Timeline/defaultIcons/CompletedIcon.d.ts +2 -0
  55. package/dist/components/Timeline/defaultIcons/CompletedIcon.js +22 -0
  56. package/dist/components/Timeline/defaultIcons/ConfirmedIcon.d.ts +2 -0
  57. package/dist/components/Timeline/defaultIcons/ConfirmedIcon.js +22 -0
  58. package/dist/components/Timeline/defaultIcons/InTransitIcon.d.ts +2 -0
  59. package/dist/components/Timeline/defaultIcons/InTransitIcon.js +22 -0
  60. package/dist/components/Timeline/defaultIcons/PendingIcon.d.ts +4 -0
  61. package/dist/components/Timeline/defaultIcons/PendingIcon.js +21 -0
  62. package/dist/components/Timeline/icons/CancelledIconBase.d.ts +4 -0
  63. package/dist/components/Timeline/icons/CancelledIconBase.js +20 -0
  64. package/dist/components/Timeline/icons/CollectedIconBase.d.ts +4 -0
  65. package/dist/components/Timeline/icons/CollectedIconBase.js +20 -0
  66. package/dist/components/Timeline/icons/CompletedIconBase.d.ts +4 -0
  67. package/dist/components/Timeline/icons/CompletedIconBase.js +20 -0
  68. package/dist/components/Timeline/icons/ConfirmedIconBase.d.ts +4 -0
  69. package/dist/components/Timeline/icons/ConfirmedIconBase.js +20 -0
  70. package/dist/components/Timeline/icons/InTransitIconBase.d.ts +4 -0
  71. package/dist/components/Timeline/icons/InTransitIconBase.js +20 -0
  72. package/dist/components/Timeline/icons/PendingIconBase.d.ts +4 -0
  73. package/dist/components/Timeline/icons/PendingIconBase.js +20 -0
  74. package/dist/components/Timeline/index.d.ts +7 -0
  75. package/dist/components/Timeline/index.js +22 -0
  76. package/dist/components/TrackingDrawer/index.css +1088 -0
  77. package/dist/components/TrackingDrawer/index.d.ts +114 -0
  78. package/dist/components/TrackingDrawer/index.js +98 -0
  79. package/dist/components/TrackingTop/index.d.ts +7 -0
  80. package/dist/components/TrackingTop/index.js +76 -0
  81. package/dist/estimateConfig.d.ts +5 -8
  82. package/dist/estimateConfig.js +4 -27
  83. package/dist/helper.d.ts +23 -1
  84. package/dist/helper.js +50 -6
  85. package/dist/index.d.ts +4 -1
  86. package/dist/index.js +2 -0
  87. package/dist/requests.d.ts +5 -0
  88. package/dist/requests.js +75 -27
  89. package/dist/tracking.d.ts +14 -0
  90. package/dist/tracking.js +86 -0
  91. package/dist/trackingConfig.d.ts +108 -0
  92. package/dist/trackingConfig.js +138 -0
  93. package/package.json +2 -2
@@ -0,0 +1,1088 @@
1
+ /* reset */
2
+
3
+ :root {
4
+ --background: #FFFFFF;
5
+ --text-primary: #110F10;
6
+ --text-secondary: #6F6C65;
7
+ --border: #D7D6D0;
8
+ --width: 540px;
9
+ --font-family: "Neue Haas Grotesk Text Pro, Helvetica, sans-serif, Arial";
10
+ --font-size: 14px;
11
+ --default-styling: 'flex';
12
+ --minimal-styling: 'none';
13
+
14
+ --location-direction: 'row';
15
+ --location-justify: 'center';
16
+ --location-align: 'flex-start';
17
+ --location-flex: '1 0 0';
18
+ --backdrop-color: rgba(0, 0, 0, 0.5);
19
+
20
+ }
21
+
22
+ .artajs__drawer,
23
+ .artajs__drawer__backdrop {
24
+ all: initial;
25
+ }
26
+
27
+ .artajs__drawer a,
28
+ .artajs__drawer button,
29
+ .artajs__drawer div,
30
+ .artajs__drawer input,
31
+ .artajs__drawer form,
32
+ .artajs__drawer p,
33
+ .artajs__drawer select,
34
+ .artajs__drawer__backdrop div {
35
+ all: unset;
36
+ }
37
+
38
+ /* Box sizing rules */
39
+ .artajs__drawer *,
40
+ .artajs__drawer *::before,
41
+ .artajs__drawer *::after,
42
+ .artajs__drawer__backdrop *,
43
+ .artajs__drawer__backdrop *::before,
44
+ .artajs__drawer__backdrop *::after {
45
+ box-sizing: border-box;
46
+ }
47
+
48
+ /* Remove default margin */
49
+ .artajs__drawer div,
50
+ .artajs__drawer h1,
51
+ .artajs__drawer h2,
52
+ .artajs__drawer h3,
53
+ .artajs__drawer h4,
54
+ .artajs__drawer p {
55
+ margin: 0;
56
+ }
57
+
58
+ .artajs__drawer div,
59
+ .artajs__drawer p {
60
+ display: block;
61
+ font-family: var(--font-family);
62
+ }
63
+
64
+ /* Inherit fonts for inputs and buttons */
65
+ .artajs__drawer input,
66
+ .artajs__drawer button,
67
+ .artajs__drawer select {
68
+ font: inherit;
69
+ margin: 0
70
+ }
71
+
72
+ /* drawer styles */
73
+ .artajs__drawer {
74
+ background-color: var(--background);
75
+ height: 100vh;
76
+ position: fixed;
77
+ z-index: 2001;
78
+ bottom: 0px;
79
+ font-family: var(--font-family);
80
+ }
81
+
82
+ .artajs__drawer__left {
83
+ left: 0;
84
+ right: auto;
85
+ }
86
+
87
+ .artajs__drawer__right {
88
+ left: auto;
89
+ right: 0;
90
+ }
91
+
92
+ /* backdrop */
93
+ .artajs__drawer__backdrop {
94
+ background-color: var(--backdrop-color);
95
+ bottom: 0;
96
+ left: 0;
97
+ position: fixed;
98
+ right: 0;
99
+ top: 0;
100
+ z-index: 2001;
101
+ }
102
+
103
+
104
+ .artajs__drawer .artajs__tracking__out__wrapper {
105
+ display: flex;
106
+ width: var(--width);
107
+ flex-direction: column;
108
+ align-items: flex-start;
109
+
110
+ background: var(--background, #FFF);
111
+
112
+ box-shadow: 0px 16px 32px 0px rgba(0, 0, 0, 0.25);
113
+ height: 100%;
114
+ }
115
+
116
+
117
+ /* Header styles */
118
+ .artajs__drawer .artajs__tracking__header {
119
+ display: flex;
120
+ flex-direction: column;
121
+ align-items: flex-start;
122
+ align-self: stretch;
123
+ }
124
+
125
+ .artajs__drawer .artajs__tracking__header__title {
126
+ display: flex;
127
+ padding: 16px 24px;
128
+ align-items: center;
129
+ align-self: stretch;
130
+ }
131
+
132
+ .artajs__drawer .artajs__tracking__header__text {
133
+ flex: 1 0 0;
134
+ font-size: calc(var(--font-size) + 2px);
135
+ font-weight: bold;
136
+ line-height: 150%;
137
+ color: var(--text-primary);
138
+ }
139
+
140
+ .artajs__drawer .artajs__tracking__header__icon {
141
+ display: flex;
142
+ width: 16px;
143
+ height: 16px;
144
+ padding-right: 0px;
145
+ justify-content: center;
146
+ align-items: center;
147
+ }
148
+
149
+ .artajs__drawer .artajs__tracking__header__icon a {
150
+ cursor: pointer;
151
+ display: block;
152
+ height: 24px;
153
+ text-decoration: none;
154
+ }
155
+
156
+ .artajs__drawer .artajs__tracking__header__icon a svg line {
157
+ stroke: var(--text-secondary);
158
+ }
159
+
160
+ .artajs__drawer .artajs__tracking__header__icon a:hover svg line {
161
+ stroke: var(--text-primary);
162
+ }
163
+
164
+ .artajs__drawer .artajs__tracking__header__line {
165
+ width: 100%;
166
+ height: 1px;
167
+ background-color: var(--border);
168
+ }
169
+
170
+ /* Body styles */
171
+ .artajs__drawer .artajs__tracking__body {
172
+ display: flex;
173
+ padding: 16px 24px;
174
+ flex-direction: column;
175
+ align-items: center;
176
+ gap: 16px;
177
+ align-self: stretch;
178
+ overflow-y: auto;
179
+ max-height: 100%;
180
+ flex-grow: 1;
181
+ }
182
+
183
+
184
+ /* Timeline Default styles */
185
+ .artajs__drawer .artajs__tracking__timeline__default__wrapper {
186
+ display: flex;
187
+ flex-direction: column;
188
+ justify-content: center;
189
+ align-items: center;
190
+ gap: 16px;
191
+ align-self: stretch;
192
+ }
193
+
194
+ .artajs__drawer .artajs__tracking__timeline__default__steps {
195
+ display: flex;
196
+ padding: 0px 16px;
197
+ justify-content: space-between;
198
+ align-items: flex-start;
199
+ align-self: stretch;
200
+ }
201
+
202
+ .artajs__drawer .artajs__tracking__timeline__default__step__icon {
203
+ display: flex;
204
+ flex-direction: column;
205
+ align-items: center;
206
+ gap: 8px;
207
+ }
208
+
209
+ .artajs__drawer .artajs__tracking__timeline__triple__dots {
210
+ display: flex;
211
+ padding-top: 22px;
212
+ align-items: flex-start;
213
+ gap: 4px;
214
+ }
215
+
216
+ .artajs__drawer .artajs__tracking__timeline__status__text__large {
217
+ color: var(--text-primary);
218
+ text-align: center;
219
+
220
+ font-family: var(--font-family);
221
+ font-size: calc(var(--font-size) + 2px);
222
+ font-style: normal;
223
+ font-weight: bold;
224
+ line-height: 150%;
225
+ }
226
+
227
+ .artajs__drawer .artajs__tracking__timeline__step {
228
+ display: flex;
229
+ padding-top: 12px;
230
+ flex-direction: column;
231
+ align-items: center;
232
+ gap: 8px;
233
+ }
234
+
235
+ .artajs__drawer .artajs__tracking__timeline__step__text__secondary {
236
+ color: var(--text-secondary);
237
+ font-family: var(--font-family);
238
+ font-size: var(--font-size);
239
+ line-height: 150%;
240
+ letter-spacing: 0.2px;
241
+ }
242
+
243
+ .artajs__drawer .artajs__tracking__timeline__step__text__primary {
244
+ color: var(--text-primary);
245
+ font-family: var(--font-family);
246
+ font-size: var(--font-size);
247
+ line-height: 150%;
248
+ letter-spacing: 0.2px;
249
+ }
250
+
251
+ .artajs__drawer .artajs__tracking__timeline__status__text__wrapper {
252
+ display: flex;
253
+ flex-direction: column;
254
+ align-items: center;
255
+ }
256
+
257
+ .artajs__drawer .artajs__tracking__timeline__status__date {
258
+ display: flex;
259
+ justify-content: center;
260
+ align-items: center;
261
+ align-content: center;
262
+ gap: 0px 4px;
263
+ align-self: stretch;
264
+ flex-wrap: wrap;
265
+ }
266
+
267
+ .artajs__drawer .artajs__tracking__timeline__status__date__content {
268
+ color: var(--text-primary);
269
+ text-align: center;
270
+ font-family: var(--font-family);
271
+ font-size: calc(var(--font-size) - 2px);
272
+ line-height: 150%;
273
+ /* 18px */
274
+ letter-spacing: 0.2px;
275
+ }
276
+
277
+ .artajs__drawer .artajs__tracking__timeline__status__date__secondary {
278
+ color: var(--text-secondary);
279
+ text-align: center;
280
+ font-family: var(--font-family);
281
+ font-size: calc(var(--font-size) - 3px);
282
+ line-height: 150%;
283
+ /* 18px */
284
+ letter-spacing: 0.2px;
285
+ }
286
+
287
+ /* Timeline Minimal styles */
288
+ .artajs__drawer .artajs__tracking__timeline__minimal__wrapper {
289
+ display: flex;
290
+ width: 140px;
291
+ flex-direction: column;
292
+ align-items: center;
293
+ gap: 4px;
294
+ }
295
+
296
+ .artajs__drawer .artajs__tracking__timeline__wrapper {
297
+ display: flex;
298
+ flex-direction: column;
299
+ align-items: center;
300
+ align-self: stretch;
301
+ }
302
+
303
+ @media (max-width: 540px) {
304
+ .artajs__drawer .artajs__tracking__out__wrapper {
305
+ width: 100% !important;
306
+ }
307
+
308
+ .artajs__drawer__right {
309
+ width: 100% !important;
310
+ }
311
+
312
+ .artajs__drawer__left {
313
+ width: 100% !important;
314
+ }
315
+
316
+ .artajs__drawer .artajs__tracking__timeline__default__wrapper {
317
+ display: none !important;
318
+ }
319
+
320
+ .artajs__drawer .artajs__tracking__timeline__minimal__wrapper {
321
+ display: flex !important;
322
+ }
323
+
324
+ .artajs__drawer .artajs__tracking__location {
325
+ flex-direction: column;
326
+ justify-content: flex-start;
327
+ align-items: center;
328
+ }
329
+
330
+ .artajs__drawer .artajs__tracking__location__item {
331
+ flex: 0 1 auto;
332
+ }
333
+
334
+ .artajs__drawer__backdrop {
335
+ display: none;
336
+ }
337
+ }
338
+
339
+ @media (min-width: 541px) {
340
+ .artajs__drawer .artajs__tracking__out__wrapper {
341
+ width: var(--width) !important;
342
+ }
343
+
344
+ .artajs__drawer__right {
345
+ width: var(--width) !important;
346
+ }
347
+
348
+ .artajs__drawer__left {
349
+ width: var(--width) !important;
350
+ }
351
+
352
+ .artajs__drawer .artajs__tracking__timeline__default__wrapper {
353
+ display: var(--default-styling) !important;
354
+ }
355
+
356
+ .artajs__drawer .artajs__tracking__timeline__minimal__wrapper {
357
+ display: var(--minimal-styling) !important;
358
+ }
359
+
360
+ .artajs__drawer .artajs__tracking__location {
361
+ flex-direction: var(--location-direction);
362
+ justify-content: var(--location-justify);
363
+ align-items: var(--location-align);
364
+ }
365
+
366
+ .artajs__drawer .artajs__tracking__location__item {
367
+ flex: var(--location-flex);
368
+ }
369
+
370
+ .artajs__drawer__backdrop {
371
+ display: unset;
372
+ }
373
+ }
374
+
375
+ .artajs__drawer .artajs__tracking__timeline__minimal__divider {
376
+ display: flex;
377
+ flex-direction: column;
378
+ align-items: center;
379
+ gap: 8px;
380
+ }
381
+
382
+ .artajs__drawer .artajs__tracking__timeline__minimal__step {
383
+ display: flex;
384
+ padding: 10px;
385
+ align-items: flex-start;
386
+ gap: 10px;
387
+ }
388
+
389
+ .artajs__drawer .artajs__tracking__timeline__minimal__spacing {
390
+ display: flex;
391
+ justify-content: center;
392
+ align-items: center;
393
+ gap: 12px;
394
+ }
395
+
396
+ .artajs__drawer .artajs__tracking__timeline__minimal__secondary__step {
397
+ fill: var(--border);
398
+ width: 8px;
399
+ height: 8px;
400
+ }
401
+
402
+ .artajs__drawer .artajs__tracking__timeline__divider {
403
+ display: flex;
404
+ width: 140px;
405
+ height: 1px;
406
+ flex-direction: column;
407
+ align-items: center;
408
+ gap: 4px;
409
+ border-bottom: 1px solid var(--border);
410
+ }
411
+
412
+ /* Tracking Top styles */
413
+ .artajs__drawer .artajs__tracking__top__wrapper {
414
+ display: flex;
415
+ padding-bottom: 16px;
416
+ flex-direction: column;
417
+ align-items: flex-start;
418
+ gap: 24px;
419
+ align-self: stretch;
420
+ border-bottom: 1px solid var(--border);
421
+ }
422
+
423
+ .artajs__drawer .artajs__tracking__top__divider {
424
+ display: flex;
425
+ flex-direction: column;
426
+ align-items: center;
427
+ gap: 8px;
428
+ align-self: stretch;
429
+ }
430
+
431
+ .artajs__drawer .artajs__tracking__top__cta {
432
+ display: flex;
433
+ justify-content: center;
434
+ align-items: center;
435
+ gap: 4px;
436
+ align-self: stretch;
437
+ }
438
+
439
+ .artajs__drawer .artajs__tracking__top__text {
440
+ color: var(--text-primary);
441
+ text-align: center;
442
+ font-family: var(--font-family);
443
+ font-size: var(--font-size);
444
+ font-style: normal;
445
+ font-weight: bold;
446
+ line-height: 150%;
447
+ letter-spacing: 0.2px;
448
+ }
449
+
450
+ .artajs__drawer .artajs__tracking__top__date__wrapper {
451
+ display: flex;
452
+ justify-content: center;
453
+ align-items: flex-end;
454
+ gap: 24px;
455
+ align-self: stretch;
456
+ }
457
+
458
+ .artajs__drawer .artajs__tracking__top__date__aligner {
459
+ display: flex;
460
+ height: 71px;
461
+ flex-direction: column;
462
+ align-items: center;
463
+ }
464
+
465
+ .artajs__drawer .artajs__tracking__top__date__day {
466
+ color: var(--text-primary);
467
+ text-align: center;
468
+ font-family: var(--font-family);
469
+ font-size: calc(var(--font-size) - 2px);
470
+ line-height: 150%;
471
+ font-weight: bold;
472
+ letter-spacing: 0.2px;
473
+ }
474
+
475
+ .artajs__drawer .artajs__tracking__top__date__day__numeric {
476
+ color: var(--text-primary);
477
+ text-align: center;
478
+ font-family: var(--font-family);
479
+ font-weight: bold;
480
+ font-size: calc(var(--font-size) + 42px);
481
+ line-height: calc(var(--font-size) + 42px);
482
+ }
483
+
484
+ .artajs__drawer .artajas__tracking__top__date__and {
485
+ justify-content: flex-end;
486
+ display: flex;
487
+ flex-direction: column;
488
+ font-size: calc(var(--font-size) - 1px);
489
+ height: 95%;
490
+ }
491
+
492
+ /* Tracking Location */
493
+ .artajs__drawer .artajas__tracking__location__wrapper {
494
+ display: flex;
495
+ padding-bottom: 16px;
496
+ flex-direction: column;
497
+ align-items: flex-start;
498
+ gap: 6px;
499
+ align-self: stretch;
500
+ border-bottom: 1px solid var(--border);
501
+ }
502
+
503
+ .artajs__drawer .artajs__tracking__location {
504
+ display: flex;
505
+ gap: 8px;
506
+ align-self: stretch;
507
+ }
508
+
509
+ .artajs__drawer .artajs__tracking__location__item {
510
+ display: flex;
511
+ align-items: flex-start;
512
+ gap: 8px;
513
+ align-self: stretch;
514
+ }
515
+
516
+ .artajs__drawer .artajs__tracking__location__text__wrapper {
517
+ display: flex;
518
+ flex-direction: column;
519
+ align-items: flex-start;
520
+ gap: 2px;
521
+ flex: 1 0 0;
522
+ }
523
+
524
+ .artajs__drawer .artajs__tracking__location__text__header {
525
+ display: flex;
526
+ align-items: center;
527
+ gap: 4px;
528
+ align-self: stretch;
529
+ }
530
+
531
+ /* Tracking Packings */
532
+
533
+ .artajs__drawer .artajs__packings__wrapper {
534
+ display: flex;
535
+ padding: 16px 16px;
536
+ flex-direction: column;
537
+ align-items: flex-start;
538
+ gap: 16px;
539
+ align-self: stretch;
540
+ border-radius: 8px;
541
+ border: 1px solid var(--border);
542
+ background: var(--background);
543
+
544
+ /* 1 */
545
+ box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.10);
546
+ }
547
+
548
+ .artajs__drawer .artajs__packings__spacer {
549
+ display: flex;
550
+ flex-direction: column;
551
+ align-items: flex-start;
552
+ gap: 16px;
553
+ align-self: stretch;
554
+ }
555
+
556
+ .artajs__drawer .artajs__packings__header {
557
+ display: flex;
558
+ flex-direction: column;
559
+ align-items: flex-start;
560
+ gap: 6px;
561
+ align-self: stretch;
562
+ }
563
+
564
+ .artajs__drawer .artajs__packings__header__top {
565
+ display: flex;
566
+ justify-content: center;
567
+ align-items: center;
568
+ gap: 4px;
569
+ align-self: stretch;
570
+ }
571
+
572
+ .artajs__drawer .artajs__packings__header__body {
573
+ display: flex;
574
+ align-items: flex-start;
575
+ gap: 4px;
576
+ align-self: stretch;
577
+ }
578
+
579
+
580
+ .artajs__drawer .artajs__packings__line {
581
+ width: 100%;
582
+ height: 1px;
583
+ background-color: var(--border);
584
+ }
585
+
586
+ .artajs__drawer .artajs__packings__item {
587
+ display: flex;
588
+ flex-direction: column;
589
+ align-items: flex-start;
590
+ gap: 8px;
591
+ align-self: stretch;
592
+ }
593
+
594
+ .artajs__drawer .artajs__packings__item__content {
595
+ display: flex;
596
+ flex-direction: column;
597
+ align-items: flex-start;
598
+ align-self: stretch;
599
+ }
600
+
601
+ .artajs__drawer .artajs__packings__text__wrapper {
602
+ display: flex;
603
+ flex-direction: column;
604
+ align-items: flex-start;
605
+ align-self: stretch;
606
+ }
607
+
608
+ .artajs__drawer .artajs__packings__text__regular__underline {
609
+ cursor: pointer;
610
+ color: var(--text-primary);
611
+ font-family: var(--font-family);
612
+ font-size: var(--font-size);
613
+ line-height: 150%;
614
+ /* 21px */
615
+ letter-spacing: 0.2px;
616
+ text-decoration-line: underline;
617
+ }
618
+
619
+ .artajs__drawer .artajs__packings__text__small__underline {
620
+ cursor: pointer;
621
+ color: var(--text-primary);
622
+ font-family: var(--font-family);
623
+ font-size: calc(var(--font-size) - 2px);
624
+ line-height: 150%;
625
+ /* 18px */
626
+ letter-spacing: 0.2px;
627
+ text-decoration-line: underline;
628
+ }
629
+
630
+ .artajs__drawer .artajs__tracking__title {
631
+ color: var(--text-primary);
632
+ font-family: var(--font-family);
633
+ font-size: var(--font-size);
634
+ font-style: normal;
635
+ font-weight: bold;
636
+ line-height: 150%;
637
+ letter-spacing: 0.2px;
638
+ }
639
+
640
+ .artajs__drawer .artajs__tracking__subtype {
641
+ color: var(--text-primary);
642
+ font-family: var(--font-family);
643
+ font-size: calc(var(--font-size) - 2px);
644
+ line-height: 150%;
645
+ /* 18px */
646
+ letter-spacing: 0.2px;
647
+ }
648
+
649
+ /* Footer */
650
+ .artajs__drawer .artajs__tracking__footer__wrapper {
651
+ display: flex;
652
+ flex-direction: column;
653
+ align-items: center;
654
+ gap: 10px;
655
+ align-self: stretch;
656
+ margin-bottom: 16px;
657
+ margin-top: auto;
658
+ }
659
+
660
+ .artajs__drawer .artajs__tracking__footer__content {
661
+ display: flex;
662
+ width: 240px;
663
+ padding: 8px 32px;
664
+ justify-content: center;
665
+ align-items: center;
666
+ gap: 8px;
667
+ }
668
+
669
+ .artajs__drawer .artajs__tracking__footer__powered__by__text {
670
+ color: #6F6C65;
671
+ text-align: center;
672
+ font-family: Helvetica;
673
+ font-size: 12px;
674
+ font-style: normal;
675
+ font-weight: 400;
676
+ line-height: 150%;
677
+ /* 18px */
678
+ }
679
+
680
+ .artajs__drawer .artajs__tracking__footer__powered__by__logo {
681
+ display: flex;
682
+ width: 48.32px;
683
+ height: 16px;
684
+ justify-content: center;
685
+ align-items: center;
686
+ flex-shrink: 0;
687
+ }
688
+
689
+ /* Insurance box */
690
+ .artajs__drawer .artajs__tracking__insurance__wrapper {
691
+ display: flex;
692
+ padding-top: 16px;
693
+ flex-direction: column;
694
+ align-items: flex-start;
695
+ gap: 4px;
696
+ align-self: stretch;
697
+ border-top: 1px solid var(--border);
698
+ }
699
+
700
+ .artajs__drawer .artajs__tracking__insurance__content {
701
+ display: flex;
702
+ flex-direction: column;
703
+ justify-content: center;
704
+ align-items: flex-start;
705
+ gap: 2px;
706
+ align-self: stretch;
707
+ border-radius: 8px;
708
+ }
709
+
710
+ .artajs__drawer .artajs__tracking__insurance__title {
711
+ color: var(--text-primary);
712
+ font-family: var(--font-family);
713
+ font-size: calc(var(--font-size) - 2px);
714
+ font-weight: bold;
715
+ line-height: 150%;
716
+ letter-spacing: 0.2px;
717
+ }
718
+
719
+ .artajs__drawer .artajs__tracking__insurance__body {
720
+ width: 154px;
721
+ height: 18px;
722
+ display: flex;
723
+ gap: 4px;
724
+ }
725
+
726
+ .artajs__drawer .artajs__tracking__insurance__body__icon {
727
+ display: flex;
728
+ width: 18px;
729
+ height: 20px;
730
+ justify-content: center;
731
+ align-items: center;
732
+ flex-shrink: 0;
733
+ }
734
+
735
+ .artajs__drawer .artajs__tracking__insurance__body__icon__text {
736
+ color: var(--text-primary);
737
+ font-family: var(--font-family);
738
+ font-size: calc(var(--font-size) - 2px);
739
+ font-weight: bold;
740
+ line-height: 150%;
741
+ letter-spacing: 0.2px;
742
+ text-decoration-line: underline;
743
+ cursor: pointer;
744
+ }
745
+
746
+ /* Summary styles */
747
+ .artajs__drawer .artajs__tracking__summary__wrapper {
748
+ display: flex;
749
+ padding-top: 16px;
750
+ flex-direction: column;
751
+ align-items: flex-start;
752
+ gap: 4px;
753
+ align-self: stretch;
754
+ border-top: 1px solid var(--border);
755
+ }
756
+
757
+ .artajs__drawer .artajs__tracking__summary__content {
758
+ display: flex;
759
+ align-items: center;
760
+ gap: 4px;
761
+ }
762
+
763
+ .artajs__drawer .artajs__tracking__summary__date {
764
+ color: var(--text-secondary);
765
+ font-family: var(--font-family);
766
+ font-size: calc(var(--font-size) - 2px);
767
+ line-height: 150%;
768
+ letter-spacing: 0.2px;
769
+ }
770
+
771
+ .artajs__drawer .artajs__tracking__summary__title {
772
+ color: var(--text-primary);
773
+ text-align: center;
774
+ font-family: var(--font-family);
775
+ font-size: var(--font-size);
776
+ font-weight: bold;
777
+ line-height: 150%;
778
+ letter-spacing: 0.2px;
779
+ }
780
+
781
+ /* Exceptions */
782
+ .artajs__drawer .artajs__tracking__exception__wrapper {
783
+ display: flex;
784
+ padding-bottom: 24px;
785
+ flex-direction: column;
786
+ align-items: center;
787
+ gap: 8px;
788
+ align-self: stretch;
789
+ border-bottom: 1px solid var(--border);
790
+ }
791
+
792
+ .artajs__drawer .artajs__tracking__exception__content {
793
+ display: flex;
794
+ flex-direction: column;
795
+ justify-content: center;
796
+ align-items: center;
797
+ gap: 2px;
798
+ align-self: stretch;
799
+ }
800
+
801
+ .artajs__drawer .artajs__tracking__exception__title {
802
+ color: var(--text-primary);
803
+ text-align: center;
804
+ align-self: stretch;
805
+ font-family: var(--font-family);
806
+ font-size: var(--font-size);
807
+ font-style: normal;
808
+ font-weight: bold;
809
+ line-height: 150%;
810
+ letter-spacing: 0.2px;
811
+ }
812
+
813
+ .artajs__drawer .artajs__tracking__exception__cta {
814
+ color: var(--text-primary);
815
+ text-align: center;
816
+ font-family: var(--font-family);
817
+ font-size: calc(var(--font-size) - 2px);
818
+ line-height: 150%;
819
+ letter-spacing: 0.2px;
820
+ text-decoration-line: underline;
821
+ align-self: stretch;
822
+ cursor: pointer;
823
+ }
824
+
825
+ /* Shipments Events List */
826
+
827
+ .artajs__drawer .artajs__tracking__events__wrapper {
828
+ display: flex;
829
+ padding: 16px 0px 16px 24px;
830
+ flex-direction: column;
831
+ align-items: center;
832
+ gap: 16px;
833
+ align-self: stretch;
834
+ flex-grow: 1;
835
+ overflow-y: auto;
836
+ }
837
+
838
+ .artajs__drawer .artajs__tracking__events__return {
839
+ display: flex;
840
+ padding-bottom: 16px;
841
+ flex-direction: column;
842
+ align-items: flex-start;
843
+ gap: 4px;
844
+ align-self: stretch;
845
+ border-bottom: 1px solid var(--border);
846
+ cursor: pointer;
847
+ }
848
+
849
+ .artajs__drawer .artajs__tracking__events__return__text {
850
+ color: var(--text-primary);
851
+ text-align: center;
852
+ font-family: var(--font-family);
853
+ font-style: normal;
854
+ line-height: 150%;
855
+ letter-spacing: 0.2px;
856
+ text-decoration-line: underline;
857
+ }
858
+
859
+ .artajs__drawer .artajs__tracking__events__header {
860
+ display: flex;
861
+ flex-direction: column;
862
+ align-items: flex-start;
863
+ gap: 6px;
864
+ align-self: stretch;
865
+ }
866
+
867
+ .artajs__drawer .artajs__tracking__events__header__title {
868
+ color: var(--text-primary);
869
+ font-family: var(--font-family);
870
+ font-size: var(--font-size);
871
+ font-style: normal;
872
+ font-weight: bold;
873
+ line-height: 150%;
874
+ /* 21px */
875
+ letter-spacing: 0.2px;
876
+ }
877
+
878
+ /* Loading */
879
+
880
+ .artajs__drawer .artajs__drawer__loading {
881
+ position: absolute;
882
+ top: 42%;
883
+ left: 44%;
884
+ transform: translate(-50%, -50%);
885
+ height: 56px;
886
+ width: 56px;
887
+ box-sizing: border-box;
888
+ background: conic-gradient(from 90deg at 50% 50%,
889
+ rgba(39, 174, 96, 0) 0deg,
890
+ rgba(31, 144, 255, 0) 0.04deg,
891
+ var(--text-secondary) 360deg);
892
+ border-radius: 56px;
893
+ /* previous code */
894
+ animation: 1s rotate infinite linear;
895
+ }
896
+
897
+ .artajs__drawer .artajs__drawer__loading::before {
898
+ content: "";
899
+ position: absolute;
900
+ left: 50%;
901
+ top: 50%;
902
+ transform: translate(-50%, -50%);
903
+ height: 40px;
904
+ width: 40px;
905
+ background: var(--background);
906
+ border-radius: 48px;
907
+ }
908
+
909
+ .artajs__drawer .artajs__drawer__loading::after {
910
+ content: "";
911
+ position: absolute;
912
+ right: 0;
913
+ top: 50%;
914
+ transform: translateY(-50%);
915
+ height: 8px;
916
+ width: 8px;
917
+ background: var(--text-secondary);
918
+ border-radius: 8px;
919
+ }
920
+
921
+ @keyframes rotate {
922
+ 0% {
923
+ transform: rotate(0deg);
924
+ }
925
+
926
+ 100% {
927
+ transform: rotate(360deg);
928
+ }
929
+ }
930
+
931
+ /* Pill */
932
+ .artajs__drawer .artajs__tracking__pill__wrapper {
933
+ display: flex;
934
+ align-items: center;
935
+ gap: 4px;
936
+ }
937
+
938
+ .artajs__drawer .artajs__tracking__pill__round {
939
+ display: flex;
940
+ padding: 4px 8px;
941
+ justify-content: center;
942
+ align-items: center;
943
+ gap: 8px;
944
+ border-radius: 12px;
945
+ }
946
+
947
+ .artajs__drawer .artajs__tracking__pill__text {
948
+ text-align: center;
949
+ font-family: var(--font-family);
950
+ font-size: calc(var(--font-size) - 3px);
951
+ font-style: normal;
952
+ font-weight: bold;
953
+ line-height: 130%;
954
+ letter-spacing: 0.2px;
955
+ }
956
+
957
+ .artajs__drawer .artajs__tracking__events__body {
958
+ display: flex;
959
+ flex-direction: column;
960
+ align-items: center;
961
+ gap: 16px;
962
+ align-self: stretch;
963
+ overflow-y: auto;
964
+ max-height: 100%;
965
+ flex-grow: 1;
966
+ }
967
+
968
+ .artajs__drawer .artajs__tracking__events__group {
969
+ align-self: stretch;
970
+ display: flex;
971
+ flex-direction: column;
972
+ margin-left: 6px;
973
+ padding-right: 24px;
974
+ }
975
+
976
+ .artajs__drawer .artajs__tracking__events__date {
977
+ color: var(--text-secondary);
978
+ font-family: var(--font-family);
979
+ font-size: calc(var(--font-size) - 2px);
980
+ font-style: normal;
981
+ font-weight: bold;
982
+ line-height: 130%;
983
+ letter-spacing: 0.2px;
984
+ margin-bottom: 4px;
985
+ }
986
+
987
+ .artajs__drawer .artajs__tracking__events__group__content {
988
+ display: flex;
989
+ flex-direction: row;
990
+ gap: 2px;
991
+ }
992
+
993
+ .artajs__drawer .artajs__tracking__events__group__item {
994
+ display: flex;
995
+ flex-direction: column;
996
+ gap: 8px;
997
+ }
998
+
999
+ .artajs__drawer .artajs__tracking__events__group__number__primary {
1000
+ color: var(--text-primary);
1001
+ font-family: var(--font-family);
1002
+ font-size: var(--font-size);
1003
+ font-style: normal;
1004
+ font-weight: bold;
1005
+ line-height: 130%;
1006
+ letter-spacing: 0.2px;
1007
+ margin-top: 6px;
1008
+ min-width: 24px;
1009
+ text-align: end;
1010
+ }
1011
+
1012
+ .artajs__drawer .artajs__tracking__events__group__number__secondary {
1013
+ color: var(--text-secondary);
1014
+ font-family: var(--font-family);
1015
+ font-size: var(--font-size);
1016
+ font-style: normal;
1017
+ font-weight: bold;
1018
+ line-height: 130%;
1019
+ letter-spacing: 0.2px;
1020
+ margin-top: 6px;
1021
+ min-width: 24px;
1022
+ text-align: end;
1023
+ }
1024
+
1025
+ .artajs__drawer .artajs__tracking__events__group__divider {
1026
+ display: flex;
1027
+ flex-direction: column;
1028
+ }
1029
+
1030
+ .artajs__drawer .artajs__tracking__events__group__summary {
1031
+ display: flex;
1032
+ flex-direction: column;
1033
+ gap: 6px;
1034
+ margin-top: 6px;
1035
+ }
1036
+
1037
+ .artajs__drawer .artajs__tracking__events__vertical {
1038
+ /* border: var(--border); */
1039
+ height: 100%;
1040
+ margin-top: 0;
1041
+ margin-bottom: 0;
1042
+ }
1043
+
1044
+ .artajs__drawer .artajs__tracking__events__round {
1045
+ margin-top: 0;
1046
+ margin-bottom: 0;
1047
+ height: 30px;
1048
+ width: 30px;
1049
+ }
1050
+
1051
+ .artajs__drawer .artajs__tracking__events__group__location {
1052
+ color: var(--text-primary);
1053
+ font-family: var(--font-family);
1054
+ font-size: var(--font-size);
1055
+ font-style: normal;
1056
+ font-weight: bold;
1057
+ line-height: 130%;
1058
+ letter-spacing: 0.2px;
1059
+ }
1060
+
1061
+ .artajs__drawer .artajs__tracking__events__group__location__secondary {
1062
+ color: var(--text-secondary);
1063
+ font-family: var(--font-family);
1064
+ font-size: var(--font-size);
1065
+ font-style: normal;
1066
+ font-weight: bold;
1067
+ line-height: 130%;
1068
+ letter-spacing: 0.2px;
1069
+ }
1070
+
1071
+ .artajs__drawer .artajs__tracking__events__group__time {
1072
+ color: var(--text-secondary);
1073
+ font-family: var(--font-family);
1074
+ font-size: calc(var(--font-size) - 2px);
1075
+ font-style: normal;
1076
+ line-height: 130%;
1077
+ letter-spacing: 0.2px;
1078
+ }
1079
+
1080
+ .artajs__drawer .artajs__tracking__events__group__description {
1081
+ color: var(--text-primary);
1082
+ font-family: var(--font-family);
1083
+ font-size: var(--font-size);
1084
+ font-style: normal;
1085
+ line-height: 130%;
1086
+ letter-spacing: 0.2px;
1087
+
1088
+ }