@artaio/arta-browser 2.5.0 → 2.9.3-fixes-ci-and-pending038bddcebe8a6d451f2c916a417b98c4e79cb8b1

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