@artaio/arta-browser 2.15.0 → 2.15.1-add-multiple-shipments-tracking84f7900dff6b10b5097c0d3885ad192fb1189334
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/ModalStatus.js +1 -1
- package/dist/bundle.js +1 -1
- package/dist/components/Date/SimpleDate.js +1 -12
- package/dist/components/Destination/index.js +3 -14
- package/dist/components/Disqualified/index.js +1 -12
- package/dist/components/DrawerFooter/index.js +1 -12
- package/dist/components/DrawerHeader/index.d.ts +6 -1
- package/dist/components/DrawerHeader/index.js +5 -13
- package/dist/components/DrawerInsurance/index.js +1 -12
- package/dist/components/Footer/index.d.ts +1 -1
- package/dist/components/Footer/index.js +1 -12
- package/dist/components/Header/index.js +1 -12
- package/dist/components/Modal/index.js +4 -4
- package/dist/components/Package/index.d.ts +2 -1
- package/dist/components/Package/index.js +28 -38
- package/dist/components/PackageEvents/index.js +13 -24
- package/dist/components/Pill/index.d.ts +3 -3
- package/dist/components/Pill/index.js +3 -13
- package/dist/components/Quotes/index.js +3 -14
- package/dist/components/SelectTrackingShipment/index.d.ts +9 -0
- package/dist/components/SelectTrackingShipment/index.js +48 -0
- package/dist/components/ShipToFrom/index.js +1 -12
- package/dist/components/ShipmentException/icons/HexagonAlertBase.js +1 -12
- package/dist/components/ShipmentException/icons/HexagonPauseBase.js +1 -12
- package/dist/components/ShipmentException/icons/HexagonStopBase.js +1 -12
- package/dist/components/ShipmentException/index.d.ts +4 -1
- package/dist/components/ShipmentException/index.js +4 -12
- package/dist/components/Summary/index.js +1 -12
- package/dist/components/Timeline/CheckedStep.js +1 -12
- package/dist/components/Timeline/CheckedSteps.js +1 -12
- package/dist/components/Timeline/EmptyStep.js +1 -12
- package/dist/components/Timeline/SecondaryStep.js +1 -12
- package/dist/components/Timeline/SecondarySteps.js +1 -12
- package/dist/components/Timeline/TimelineDefault.js +2 -13
- package/dist/components/Timeline/TimlineMinimal.js +1 -12
- package/dist/components/Timeline/defaultIcons/CancelledIcon.js +1 -12
- package/dist/components/Timeline/defaultIcons/CollectedIcon.js +1 -12
- package/dist/components/Timeline/defaultIcons/CompletedIcon.js +1 -12
- package/dist/components/Timeline/defaultIcons/ConfirmedIcon.js +1 -12
- package/dist/components/Timeline/defaultIcons/InTransitIcon.js +1 -12
- package/dist/components/Timeline/defaultIcons/PendingIcon.js +1 -12
- package/dist/components/Timeline/icons/CancelledIconBase.js +1 -12
- package/dist/components/Timeline/icons/CollectedIconBase.js +1 -12
- package/dist/components/Timeline/icons/CompletedIconBase.js +1 -12
- package/dist/components/Timeline/icons/ConfirmedIconBase.js +1 -12
- package/dist/components/Timeline/icons/InTransitIconBase.js +1 -12
- package/dist/components/Timeline/icons/PendingIconBase.js +1 -12
- package/dist/components/Timeline/index.js +1 -12
- package/dist/components/TrackingDrawer/index.css +104 -15
- package/dist/components/TrackingDrawer/index.d.ts +2 -2
- package/dist/components/TrackingDrawer/index.js +25 -39
- package/dist/components/TrackingShipment/index.d.ts +9 -0
- package/dist/components/TrackingShipment/index.js +73 -0
- package/dist/components/TrackingTop/index.d.ts +4 -0
- package/dist/components/TrackingTop/index.js +50 -62
- package/dist/estimate.js +2 -2
- package/dist/helper.d.ts +6 -0
- package/dist/helper.js +11 -5
- package/dist/requests.js +18 -5
- package/dist/tracking.d.ts +3 -2
- package/dist/tracking.js +53 -10
- package/dist/trackingConfig.d.ts +14 -0
- package/dist/trackingConfig.js +40 -10
- package/package.json +2 -2
package/dist/trackingConfig.js
CHANGED
|
@@ -16,6 +16,12 @@ exports.defaultTrackingConfig = {
|
|
|
16
16
|
iconSecondary: 'white',
|
|
17
17
|
iconTertiary: '#8C8984',
|
|
18
18
|
exceptionIcon: '#F59E0B',
|
|
19
|
+
buttonBackground: '#110F10',
|
|
20
|
+
buttonBackgroundHover: '#6F6C65',
|
|
21
|
+
buttonBorder: '#110F10',
|
|
22
|
+
buttonText: '#FFFFFF',
|
|
23
|
+
buttonTextHover: '#FFFFFF',
|
|
24
|
+
buttonBorderHover: '#110F10',
|
|
19
25
|
},
|
|
20
26
|
variant: 'default',
|
|
21
27
|
position: 'right',
|
|
@@ -27,6 +33,8 @@ exports.defaultTrackingConfig = {
|
|
|
27
33
|
text: {
|
|
28
34
|
header: {
|
|
29
35
|
title: 'Track Shipment',
|
|
36
|
+
titleShipmentList: 'Shipments List',
|
|
37
|
+
titleShipmentDetail: 'Shipment Detail',
|
|
30
38
|
},
|
|
31
39
|
pendingLabel: 'Pending',
|
|
32
40
|
completedLabel: 'Completed',
|
|
@@ -58,6 +66,8 @@ exports.defaultTrackingConfig = {
|
|
|
58
66
|
multipleShipmentsHeldAtCustomsLabel: 'One or more packages are being held by Customs',
|
|
59
67
|
changeOfAddressRequestLabel: 'A change of address was requested which may impact delivery timelines.',
|
|
60
68
|
shipmentExceptionDefaultLabel: 'There is an exception with this shipment.',
|
|
69
|
+
viewShipmentDetailLabel: 'View Details',
|
|
70
|
+
viewShipmentsListLabel: '< All Shipments',
|
|
61
71
|
dates: {
|
|
62
72
|
weekdays: {
|
|
63
73
|
sunday: 'Sun',
|
|
@@ -87,26 +97,26 @@ exports.defaultTrackingConfig = {
|
|
|
87
97
|
pill: {
|
|
88
98
|
unknown: {
|
|
89
99
|
textColor: '#202020',
|
|
90
|
-
backgroundColor: '#
|
|
100
|
+
backgroundColor: '#E7E7E7',
|
|
91
101
|
text: 'Unknown',
|
|
92
102
|
},
|
|
93
103
|
pending: {
|
|
94
104
|
textColor: '#202020',
|
|
95
|
-
backgroundColor: '#
|
|
105
|
+
backgroundColor: '#E7E7E7',
|
|
96
106
|
text: 'Pending',
|
|
97
107
|
},
|
|
98
108
|
notfound: {
|
|
99
109
|
textColor: '#202020',
|
|
100
|
-
backgroundColor: '#
|
|
110
|
+
backgroundColor: '#E7E7E7',
|
|
101
111
|
text: 'Not Found',
|
|
102
112
|
},
|
|
103
113
|
transit: {
|
|
104
|
-
textColor: '#
|
|
114
|
+
textColor: '#276947',
|
|
105
115
|
backgroundColor: '#EFF8F3',
|
|
106
116
|
text: 'In Transit',
|
|
107
117
|
},
|
|
108
118
|
out_for_delivery: {
|
|
109
|
-
textColor: '#
|
|
119
|
+
textColor: '#276947',
|
|
110
120
|
backgroundColor: '#EFF8F3',
|
|
111
121
|
text: 'Out for Delivery',
|
|
112
122
|
},
|
|
@@ -116,19 +126,39 @@ exports.defaultTrackingConfig = {
|
|
|
116
126
|
text: 'Delivered',
|
|
117
127
|
},
|
|
118
128
|
undelivered: {
|
|
119
|
-
textColor: '#
|
|
120
|
-
backgroundColor: '#
|
|
129
|
+
textColor: '#8C8984',
|
|
130
|
+
backgroundColor: '#E7E7E7',
|
|
121
131
|
text: 'Undelivered',
|
|
122
132
|
},
|
|
123
133
|
exception: {
|
|
124
|
-
textColor: '#
|
|
125
|
-
backgroundColor: '#
|
|
134
|
+
textColor: '#875706',
|
|
135
|
+
backgroundColor: '#FEF9F9',
|
|
126
136
|
text: 'Exception',
|
|
127
137
|
},
|
|
128
138
|
expired: {
|
|
139
|
+
textColor: '#8C8984',
|
|
140
|
+
backgroundColor: '#E7E7E7',
|
|
141
|
+
text: 'Expired',
|
|
142
|
+
},
|
|
143
|
+
cancelled: {
|
|
129
144
|
textColor: '#772424',
|
|
130
145
|
backgroundColor: '#FEF9F9',
|
|
131
|
-
text: '
|
|
146
|
+
text: 'Cancelled',
|
|
147
|
+
},
|
|
148
|
+
collected: {
|
|
149
|
+
textColor: '#173E2A',
|
|
150
|
+
backgroundColor: '#D6EDE1',
|
|
151
|
+
text: 'Collected',
|
|
152
|
+
},
|
|
153
|
+
completed: {
|
|
154
|
+
textColor: '#173E2A',
|
|
155
|
+
backgroundColor: '#D6EDE1',
|
|
156
|
+
text: 'Completed',
|
|
157
|
+
},
|
|
158
|
+
confirmed: {
|
|
159
|
+
textColor: '#173E2A',
|
|
160
|
+
backgroundColor: '#D6EDE1',
|
|
161
|
+
text: 'Confirmed',
|
|
132
162
|
},
|
|
133
163
|
},
|
|
134
164
|
animation: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artaio/arta-browser",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.1-add-multiple-shipments-tracking84f7900dff6b10b5097c0d3885ad192fb1189334",
|
|
4
4
|
"description": "",
|
|
5
5
|
"source": "lib/index.ts",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"eslint-plugin-promise": "^6.0.1",
|
|
28
28
|
"microbundle": "^0.15.1",
|
|
29
29
|
"prettier": "2.7.1",
|
|
30
|
-
"typescript": "^
|
|
30
|
+
"typescript": "^5.7.2",
|
|
31
31
|
"typescript-plugin-css-modules": "^4.1.1"
|
|
32
32
|
},
|
|
33
33
|
"repository": {
|