@shipengine/elements 0.23.1 → 0.24.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.
Files changed (46) hide show
  1. package/index.cjs +251 -277
  2. package/index.js +255 -281
  3. package/package.json +1 -1
  4. package/src/components/add-funds-form/add-funds-form.styles.d.ts +21 -5
  5. package/src/components/auto-funding-form/auto-funding-form.styles.d.ts +18 -1
  6. package/src/components/carrier-balance/carrier-balance.styles.d.ts +5 -1
  7. package/src/components/date-range-select/date-range-select.styles.d.ts +7 -1
  8. package/src/components/disclosure/disclosure.styles.d.ts +23 -1
  9. package/src/components/field/rate-card/rate-card.d.ts +1 -2
  10. package/src/components/field/rate-card/rate-card.styles.d.ts +0 -2
  11. package/src/components/field/switch/switch.d.ts +3 -2
  12. package/src/components/fund-and-purchase/fund-and-purchase.styles.d.ts +20 -1
  13. package/src/components/history/history-card/history-card.styles.d.ts +44 -1
  14. package/src/components/inline-label/inline-label.styles.d.ts +8 -1
  15. package/src/components/items-breakdown/items-breakdown.styles.d.ts +21 -1
  16. package/src/components/label/label.styles.d.ts +8 -1
  17. package/src/components/label-layout/label-layout.styles.d.ts +106 -1
  18. package/src/components/section/section.styles.d.ts +33 -1
  19. package/src/components/settings-card/settings-card.styles.d.ts +41 -1
  20. package/src/components/templates/address-form/address-fields.styles.d.ts +27 -1
  21. package/src/components/templates/carrier-recovery-form/carrier-recovery-form.styles.d.ts +11 -1
  22. package/src/components/templates/carrier-terms-form/carrier-terms-form.styles.d.ts +56 -1
  23. package/src/components/templates/customs-items-display/customs-items-display.styles.d.ts +60 -1
  24. package/src/components/templates/edit-billing-form/edit-billing-form.styles.d.ts +16 -1
  25. package/src/components/templates/label/label.styles.d.ts +12 -1
  26. package/src/components/templates/landing-page/landing-page.styles.d.ts +14 -1
  27. package/src/components/templates/list-carriers/list-carriers.styles.d.ts +25 -1
  28. package/src/components/templates/list-carriers-row/list-carriers-row.styles.d.ts +23 -1
  29. package/src/components/templates/manage-wallet/manage-wallet.styles.d.ts +21 -1
  30. package/src/components/templates/manage-warehouses/manage-warehouse.styles.d.ts +14 -1
  31. package/src/components/templates/onboarding/onboarding.styles.d.ts +21 -1
  32. package/src/components/templates/rate-form/rate-form.d.ts +0 -1
  33. package/src/components/templates/rate-form/rate-form.styles.d.ts +16 -1
  34. package/src/components/templates/wallet-card/wallet-card.styles.d.ts +11 -1
  35. package/src/components/templates/wallet-form/wallet-form.styles.d.ts +5 -1
  36. package/src/elements/list-carriers/list-carriers.d.ts +7 -4
  37. package/src/elements/manage-warehouses/manage-warehouses.d.ts +7 -4
  38. package/src/elements/onboarding/onboarding.d.ts +7 -4
  39. package/src/elements/purchase-label/purchase-label.d.ts +7 -4
  40. package/src/elements/view-shipment/view-shipment.d.ts +7 -4
  41. package/src/elements/void-label/void-label.d.ts +7 -4
  42. package/src/features/wallet-history/wallet-history.styles.d.ts +77 -1
  43. package/src/hooks/options/use-rate-options.d.ts +1 -14
  44. package/src/locales/en/index.d.ts +7 -4
  45. package/src/public-sdk.d.ts +38 -0
  46. package/src/utilities/styles.d.ts +27 -6
@@ -1 +1,25 @@
1
- export declare const styles: Record<"carriersList" | "skeletonLogoContainer" | "skeletonRow", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
1
+ export declare const styles: {
2
+ carriersList: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
3
+ "& > li:not(:last-of-type)": {
4
+ borderBottom: string;
5
+ };
6
+ border: string;
7
+ borderRadius: string;
8
+ listStyle: "none";
9
+ };
10
+ skeletonLogoContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
11
+ alignItems: "center";
12
+ columnGap: string;
13
+ display: "flex";
14
+ };
15
+ skeletonRow: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
16
+ "&:not(:last-of-type)": {
17
+ borderBottom: string;
18
+ };
19
+ alignItems: "center";
20
+ display: "flex";
21
+ flexDirection: "row";
22
+ justifyContent: "space-between";
23
+ padding: string;
24
+ };
25
+ };
@@ -1 +1,23 @@
1
- export declare const getStyles: (isConnected?: boolean) => Record<"connectButton" | "container" | "logoContainer" | "rowContainer", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
1
+ export declare const styles: {
2
+ container: {
3
+ display: "flex";
4
+ flexDirection: "column";
5
+ };
6
+ getConnectButton: (isConnected?: boolean) => (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
7
+ backgroundColor?: string | undefined;
8
+ borderRadius?: string | undefined;
9
+ color?: string | undefined;
10
+ padding: string;
11
+ };
12
+ logoContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
13
+ alignItems: "center";
14
+ columnGap: string;
15
+ display: "flex";
16
+ };
17
+ rowContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
18
+ alignItems: "center";
19
+ display: "flex";
20
+ justifyContent: "space-between";
21
+ padding: string;
22
+ };
23
+ };
@@ -1 +1,21 @@
1
- export declare const styles: Record<"subtitle" | "container" | "headingContainer", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
1
+ export declare const styles: {
2
+ container: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
3
+ padding: string;
4
+ };
5
+ headingContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
6
+ backgroundColor: string;
7
+ padding: number;
8
+ position: "relative";
9
+ width: string;
10
+ };
11
+ subtitle: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
12
+ backgroundColor: string;
13
+ marginBottom: number;
14
+ padding: number;
15
+ position: "absolute";
16
+ textAlign: "left";
17
+ top: string;
18
+ transform: "translateY(-50%)";
19
+ width: string;
20
+ };
21
+ };
@@ -1 +1,14 @@
1
- export declare const styles: Record<"cardSpacing" | "header" | "well", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
1
+ export declare const styles: {
2
+ cardSpacing: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
3
+ display: "flex";
4
+ flexDirection: "column";
5
+ gap: number;
6
+ };
7
+ header: {
8
+ textAlign: "left";
9
+ };
10
+ well: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
11
+ backgroundColor: string;
12
+ padding: number;
13
+ };
14
+ };
@@ -1 +1,21 @@
1
- export declare const styles: Record<"container" | "step" | "walletFormHeader" | "walletFormTitle" | "wrapper", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
1
+ export declare const styles: {
2
+ container: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
3
+ padding: number;
4
+ };
5
+ step: {
6
+ "& > span:last-child": {
7
+ position: "static";
8
+ };
9
+ };
10
+ walletFormHeader: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
11
+ margin: number;
12
+ };
13
+ walletFormTitle: {
14
+ textAlign: "center";
15
+ };
16
+ wrapper: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
17
+ height: string;
18
+ padding: number;
19
+ width: string;
20
+ };
21
+ };
@@ -2,7 +2,6 @@ import { SE } from "@shipengine/alchemy";
2
2
  export type RateFormFeatures = {
3
3
  enableFunding?: boolean;
4
4
  enableGlobalPostFiltering?: boolean;
5
- includeRecommendedRates?: boolean;
6
5
  nicknameRate?: boolean;
7
6
  saveRate?: boolean;
8
7
  };
@@ -1 +1,16 @@
1
- export declare const styles: Record<"fundAndPurchase" | "ratesInterstitial" | "showMoreOrLessRatesButton", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
1
+ export declare const styles: {
2
+ fundAndPurchase: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
3
+ borderTop: string;
4
+ };
5
+ ratesInterstitial: {
6
+ alignItems: "center";
7
+ display: "flex";
8
+ flexDirection: "column";
9
+ justifyContent: "center";
10
+ textAlign: "center";
11
+ };
12
+ showMoreOrLessRatesButton: {
13
+ alignItems: "center";
14
+ display: "flex";
15
+ };
16
+ };
@@ -1 +1,11 @@
1
- export declare const styles: Record<"icon" | "container", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
1
+ export declare const styles: {
2
+ container: {
3
+ display: "flex";
4
+ height: string;
5
+ justifyContent: "center";
6
+ width: string;
7
+ };
8
+ icon: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
9
+ color: string;
10
+ };
11
+ };
@@ -1 +1,5 @@
1
- export declare const styles: Record<"grid", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
1
+ export declare const styles: {
2
+ grid: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
3
+ margin: number;
4
+ };
5
+ };
@@ -17,6 +17,7 @@ export declare const Element: ({ resources, ...props }: object & {
17
17
  };
18
18
  };
19
19
  "void-label": {
20
+ title: string;
20
21
  actions: {
21
22
  complete: string;
22
23
  confirmVoid: string;
@@ -35,6 +36,7 @@ export declare const Element: ({ resources, ...props }: object & {
35
36
  voidedOn: string;
36
37
  };
37
38
  "view-shipment": {
39
+ title: string;
38
40
  actions: {
39
41
  buyAnotherLabel: string;
40
42
  hideItems: string;
@@ -114,6 +116,7 @@ export declare const Element: ({ resources, ...props }: object & {
114
116
  agreeToTerms: string;
115
117
  };
116
118
  "purchase-label": {
119
+ title: string;
117
120
  actions: {
118
121
  calculateRates_one: string;
119
122
  calculateRates_other: string;
@@ -171,6 +174,7 @@ export declare const Element: ({ resources, ...props }: object & {
171
174
  fractional: string;
172
175
  };
173
176
  weightGroup: string;
177
+ today: string;
174
178
  };
175
179
  hints: {
176
180
  contentDescription: string;
@@ -183,10 +187,6 @@ export declare const Element: ({ resources, ...props }: object & {
183
187
  selectService: string;
184
188
  };
185
189
  multipleShippingServices: string;
186
- recommendedRates: {
187
- recommended: string;
188
- stayInformed: string;
189
- };
190
190
  schemaErrors: {
191
191
  shipFromUnitedStatesOnly: string;
192
192
  shipFromAddressRequired: string;
@@ -204,6 +204,7 @@ export declare const Element: ({ resources, ...props }: object & {
204
204
  };
205
205
  };
206
206
  onboarding: {
207
+ title: string;
207
208
  inlineTitle: string;
208
209
  landing: {
209
210
  action: string;
@@ -262,6 +263,7 @@ export declare const Element: ({ resources, ...props }: object & {
262
263
  };
263
264
  };
264
265
  "manage-warehouses": {
266
+ title: string;
265
267
  addNew: string;
266
268
  editWarehouse: string;
267
269
  contactName: string;
@@ -325,6 +327,7 @@ export declare const Element: ({ resources, ...props }: object & {
325
327
  maximumBalanceAmount: string;
326
328
  };
327
329
  "list-carriers": {
330
+ title: string;
328
331
  headers: {
329
332
  accountCarriers: string;
330
333
  carriers: string;
@@ -21,6 +21,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
21
21
  };
22
22
  };
23
23
  "void-label": {
24
+ title: string;
24
25
  actions: {
25
26
  complete: string;
26
27
  confirmVoid: string;
@@ -39,6 +40,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
39
40
  voidedOn: string;
40
41
  };
41
42
  "view-shipment": {
43
+ title: string;
42
44
  actions: {
43
45
  buyAnotherLabel: string;
44
46
  hideItems: string;
@@ -118,6 +120,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
118
120
  agreeToTerms: string;
119
121
  };
120
122
  "purchase-label": {
123
+ title: string;
121
124
  actions: {
122
125
  calculateRates_one: string;
123
126
  calculateRates_other: string;
@@ -175,6 +178,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
175
178
  fractional: string;
176
179
  };
177
180
  weightGroup: string;
181
+ today: string;
178
182
  };
179
183
  hints: {
180
184
  contentDescription: string;
@@ -187,10 +191,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
187
191
  selectService: string;
188
192
  };
189
193
  multipleShippingServices: string;
190
- recommendedRates: {
191
- recommended: string;
192
- stayInformed: string;
193
- };
194
194
  schemaErrors: {
195
195
  shipFromUnitedStatesOnly: string;
196
196
  shipFromAddressRequired: string;
@@ -208,6 +208,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
208
208
  };
209
209
  };
210
210
  onboarding: {
211
+ title: string;
211
212
  inlineTitle: string;
212
213
  landing: {
213
214
  action: string;
@@ -266,6 +267,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
266
267
  };
267
268
  };
268
269
  "manage-warehouses": {
270
+ title: string;
269
271
  addNew: string;
270
272
  editWarehouse: string;
271
273
  contactName: string;
@@ -329,6 +331,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
329
331
  maximumBalanceAmount: string;
330
332
  };
331
333
  "list-carriers": {
334
+ title: string;
332
335
  headers: {
333
336
  accountCarriers: string;
334
337
  carriers: string;
@@ -20,6 +20,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
20
20
  };
21
21
  };
22
22
  "void-label": {
23
+ title: string;
23
24
  actions: {
24
25
  complete: string;
25
26
  confirmVoid: string;
@@ -38,6 +39,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
38
39
  voidedOn: string;
39
40
  };
40
41
  "view-shipment": {
42
+ title: string;
41
43
  actions: {
42
44
  buyAnotherLabel: string;
43
45
  hideItems: string;
@@ -117,6 +119,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
117
119
  agreeToTerms: string;
118
120
  };
119
121
  "purchase-label": {
122
+ title: string;
120
123
  actions: {
121
124
  calculateRates_one: string;
122
125
  calculateRates_other: string;
@@ -174,6 +177,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
174
177
  fractional: string;
175
178
  };
176
179
  weightGroup: string;
180
+ today: string;
177
181
  };
178
182
  hints: {
179
183
  contentDescription: string;
@@ -186,10 +190,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
186
190
  selectService: string;
187
191
  };
188
192
  multipleShippingServices: string;
189
- recommendedRates: {
190
- recommended: string;
191
- stayInformed: string;
192
- };
193
193
  schemaErrors: {
194
194
  shipFromUnitedStatesOnly: string;
195
195
  shipFromAddressRequired: string;
@@ -207,6 +207,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
207
207
  };
208
208
  };
209
209
  onboarding: {
210
+ title: string;
210
211
  inlineTitle: string;
211
212
  landing: {
212
213
  action: string;
@@ -265,6 +266,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
265
266
  };
266
267
  };
267
268
  "manage-warehouses": {
269
+ title: string;
268
270
  addNew: string;
269
271
  editWarehouse: string;
270
272
  contactName: string;
@@ -328,6 +330,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
328
330
  maximumBalanceAmount: string;
329
331
  };
330
332
  "list-carriers": {
333
+ title: string;
331
334
  headers: {
332
335
  accountCarriers: string;
333
336
  carriers: string;
@@ -23,6 +23,7 @@ export declare const Element: ({ resources, ...props }: SalesOrderProps & {
23
23
  };
24
24
  };
25
25
  "void-label": {
26
+ title: string;
26
27
  actions: {
27
28
  complete: string;
28
29
  confirmVoid: string;
@@ -41,6 +42,7 @@ export declare const Element: ({ resources, ...props }: SalesOrderProps & {
41
42
  voidedOn: string;
42
43
  };
43
44
  "view-shipment": {
45
+ title: string;
44
46
  actions: {
45
47
  buyAnotherLabel: string;
46
48
  hideItems: string;
@@ -120,6 +122,7 @@ export declare const Element: ({ resources, ...props }: SalesOrderProps & {
120
122
  agreeToTerms: string;
121
123
  };
122
124
  "purchase-label": {
125
+ title: string;
123
126
  actions: {
124
127
  calculateRates_one: string;
125
128
  calculateRates_other: string;
@@ -177,6 +180,7 @@ export declare const Element: ({ resources, ...props }: SalesOrderProps & {
177
180
  fractional: string;
178
181
  };
179
182
  weightGroup: string;
183
+ today: string;
180
184
  };
181
185
  hints: {
182
186
  contentDescription: string;
@@ -189,10 +193,6 @@ export declare const Element: ({ resources, ...props }: SalesOrderProps & {
189
193
  selectService: string;
190
194
  };
191
195
  multipleShippingServices: string;
192
- recommendedRates: {
193
- recommended: string;
194
- stayInformed: string;
195
- };
196
196
  schemaErrors: {
197
197
  shipFromUnitedStatesOnly: string;
198
198
  shipFromAddressRequired: string;
@@ -210,6 +210,7 @@ export declare const Element: ({ resources, ...props }: SalesOrderProps & {
210
210
  };
211
211
  };
212
212
  onboarding: {
213
+ title: string;
213
214
  inlineTitle: string;
214
215
  landing: {
215
216
  action: string;
@@ -268,6 +269,7 @@ export declare const Element: ({ resources, ...props }: SalesOrderProps & {
268
269
  };
269
270
  };
270
271
  "manage-warehouses": {
272
+ title: string;
271
273
  addNew: string;
272
274
  editWarehouse: string;
273
275
  contactName: string;
@@ -331,6 +333,7 @@ export declare const Element: ({ resources, ...props }: SalesOrderProps & {
331
333
  maximumBalanceAmount: string;
332
334
  };
333
335
  "list-carriers": {
336
+ title: string;
334
337
  headers: {
335
338
  accountCarriers: string;
336
339
  carriers: string;
@@ -29,6 +29,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
29
29
  };
30
30
  };
31
31
  "void-label": {
32
+ title: string;
32
33
  actions: {
33
34
  complete: string;
34
35
  confirmVoid: string;
@@ -47,6 +48,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
47
48
  voidedOn: string;
48
49
  };
49
50
  "view-shipment": {
51
+ title: string;
50
52
  actions: {
51
53
  buyAnotherLabel: string;
52
54
  hideItems: string;
@@ -126,6 +128,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
126
128
  agreeToTerms: string;
127
129
  };
128
130
  "purchase-label": {
131
+ title: string;
129
132
  actions: {
130
133
  calculateRates_one: string;
131
134
  calculateRates_other: string;
@@ -183,6 +186,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
183
186
  fractional: string;
184
187
  };
185
188
  weightGroup: string;
189
+ today: string;
186
190
  };
187
191
  hints: {
188
192
  contentDescription: string;
@@ -195,10 +199,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
195
199
  selectService: string;
196
200
  };
197
201
  multipleShippingServices: string;
198
- recommendedRates: {
199
- recommended: string;
200
- stayInformed: string;
201
- };
202
202
  schemaErrors: {
203
203
  shipFromUnitedStatesOnly: string;
204
204
  shipFromAddressRequired: string;
@@ -216,6 +216,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
216
216
  };
217
217
  };
218
218
  onboarding: {
219
+ title: string;
219
220
  inlineTitle: string;
220
221
  landing: {
221
222
  action: string;
@@ -274,6 +275,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
274
275
  };
275
276
  };
276
277
  "manage-warehouses": {
278
+ title: string;
277
279
  addNew: string;
278
280
  editWarehouse: string;
279
281
  contactName: string;
@@ -337,6 +339,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
337
339
  maximumBalanceAmount: string;
338
340
  };
339
341
  "list-carriers": {
342
+ title: string;
340
343
  headers: {
341
344
  accountCarriers: string;
342
345
  carriers: string;
@@ -24,6 +24,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
24
24
  };
25
25
  };
26
26
  "void-label": {
27
+ title: string;
27
28
  actions: {
28
29
  complete: string;
29
30
  confirmVoid: string;
@@ -42,6 +43,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
42
43
  voidedOn: string;
43
44
  };
44
45
  "view-shipment": {
46
+ title: string;
45
47
  actions: {
46
48
  buyAnotherLabel: string;
47
49
  hideItems: string;
@@ -121,6 +123,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
121
123
  agreeToTerms: string;
122
124
  };
123
125
  "purchase-label": {
126
+ title: string;
124
127
  actions: {
125
128
  calculateRates_one: string;
126
129
  calculateRates_other: string;
@@ -178,6 +181,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
178
181
  fractional: string;
179
182
  };
180
183
  weightGroup: string;
184
+ today: string;
181
185
  };
182
186
  hints: {
183
187
  contentDescription: string;
@@ -190,10 +194,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
190
194
  selectService: string;
191
195
  };
192
196
  multipleShippingServices: string;
193
- recommendedRates: {
194
- recommended: string;
195
- stayInformed: string;
196
- };
197
197
  schemaErrors: {
198
198
  shipFromUnitedStatesOnly: string;
199
199
  shipFromAddressRequired: string;
@@ -211,6 +211,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
211
211
  };
212
212
  };
213
213
  onboarding: {
214
+ title: string;
214
215
  inlineTitle: string;
215
216
  landing: {
216
217
  action: string;
@@ -269,6 +270,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
269
270
  };
270
271
  };
271
272
  "manage-warehouses": {
273
+ title: string;
272
274
  addNew: string;
273
275
  editWarehouse: string;
274
276
  contactName: string;
@@ -332,6 +334,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
332
334
  maximumBalanceAmount: string;
333
335
  };
334
336
  "list-carriers": {
337
+ title: string;
335
338
  headers: {
336
339
  accountCarriers: string;
337
340
  carriers: string;
@@ -1 +1,77 @@
1
- export declare const styles: Record<"action" | "displayStateContainer" | "emptyStateContainer" | "gridContainer" | "linkAction" | "pagination" | "skeletonCard" | "skeletonCardColumnLeft" | "skeletonCardColumnRight" | "skeletonCardList" | "skeletonCardLogo" | "skeletonPagination", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
1
+ export declare const styles: {
2
+ action: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
3
+ minWidth: number;
4
+ placeContent: "center";
5
+ width: number;
6
+ };
7
+ displayStateContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
8
+ "& > *:not(:last-child)::after": {
9
+ borderBottom: string;
10
+ content: "\"\"";
11
+ display: "block";
12
+ width: string;
13
+ };
14
+ border: string;
15
+ display: "flex";
16
+ flexDirection: "column";
17
+ listStyle: "none";
18
+ };
19
+ emptyStateContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
20
+ backgroundColor: string;
21
+ padding: number;
22
+ textAlign: "center";
23
+ };
24
+ gridContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
25
+ display: "flex";
26
+ justifyContent: "space-between";
27
+ placeItems: "center";
28
+ };
29
+ linkAction: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
30
+ textAlign: "end";
31
+ };
32
+ pagination: {
33
+ "&& button": {
34
+ background: string;
35
+ };
36
+ "&& button[aria-current='step']": {
37
+ background: string;
38
+ };
39
+ textAlign: "center";
40
+ };
41
+ skeletonCard: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
42
+ backgroundColor: "#e3dfdf1f";
43
+ display: "flex";
44
+ justifyContent: "space-between";
45
+ padding: number;
46
+ };
47
+ skeletonCardColumnLeft: {
48
+ display: "flex";
49
+ flexDirection: "column";
50
+ justifyContent: "space-between";
51
+ };
52
+ skeletonCardColumnRight: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
53
+ alignItems: "flex-end";
54
+ display: "flex";
55
+ flexDirection: "column";
56
+ justifyContent: "space-between";
57
+ rowGap: number;
58
+ };
59
+ skeletonCardList: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
60
+ display: "flex";
61
+ flexDirection: "column";
62
+ rowGap: number;
63
+ };
64
+ skeletonCardLogo: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
65
+ alignItems: "center";
66
+ columnGap: number;
67
+ display: "flex";
68
+ };
69
+ skeletonPagination: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
70
+ alignItems: "center";
71
+ display: "flex";
72
+ justifyContent: "space-between";
73
+ marginLeft: string;
74
+ marginRight: string;
75
+ maxWidth: string;
76
+ };
77
+ };
@@ -2,20 +2,7 @@ import { SE } from "@shipengine/alchemy";
2
2
  export type RateOption = Omit<SE.Rate, "warningMessages"> & {
3
3
  balance?: number;
4
4
  messages: string[];
5
- recommended?: boolean;
6
5
  requiresAcknowledgement?: boolean;
7
6
  requiresFundedAmount?: boolean;
8
7
  };
9
- type RateRecommendation = {
10
- carrierCode: string;
11
- ignoreIfPresent?: string;
12
- serviceCode: string;
13
- tagline?: string;
14
- walleted: boolean;
15
- };
16
- type RateRecommendations = {
17
- domestic: RateRecommendation;
18
- international: RateRecommendation;
19
- };
20
- export declare const useRateOptions: (rates?: SE.Rate[], carriers?: SE.Carrier[], shipment?: SE.SalesOrderShipment, enableGlobalPostFiltering?: boolean, rateRecommendations?: RateRecommendations) => RateOption[];
21
- export {};
8
+ export declare const useRateOptions: (rates?: SE.Rate[], carriers?: SE.Carrier[], shipment?: SE.SalesOrderShipment, enableGlobalPostFiltering?: boolean) => RateOption[];