@shipengine/elements 0.38.0 → 1.0.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 (142) hide show
  1. package/index.cjs +4520 -4443
  2. package/index.js +4519 -4446
  3. package/package.json +11 -14
  4. package/src/components/add-funds-form/add-funds-form.styles.d.ts +3 -3
  5. package/src/components/auto-funding-form/auto-funding-form.styles.d.ts +1 -1
  6. package/src/components/carrier-balance/carrier-balance.styles.d.ts +1 -1
  7. package/src/components/carrier-logo/carrier-logo.d.ts +11 -0
  8. package/src/components/carrier-logo/index.d.ts +1 -0
  9. package/src/components/collapsible-panel/collapsible-panel.d.ts +1 -1
  10. package/src/components/collapsible-panel/collapsible-panel.styles.d.ts +4 -4
  11. package/src/components/date-range-select/date-range-select.styles.d.ts +1 -1
  12. package/src/components/disclosure/disclosure.styles.d.ts +3 -3
  13. package/src/components/display-term/display-term.d.ts +5 -0
  14. package/src/components/display-term/display-term.styles.d.ts +23 -0
  15. package/src/components/display-term/index.d.ts +1 -0
  16. package/src/components/error-display/error-display.styles.d.ts +3 -3
  17. package/src/components/field/checkbox-input/checkbox-input.d.ts +1 -1
  18. package/src/components/field/credit-card-input/credit-card-input.d.ts +1 -1
  19. package/src/components/field/date-picker/date-picker.styles.d.ts +1 -1
  20. package/src/components/field/expiration-input/expiration-input.d.ts +1 -1
  21. package/src/components/field/field.styles.d.ts +1 -1
  22. package/src/components/field/money-input/money-input.d.ts +1 -1
  23. package/src/components/field/number-input/number-input.d.ts +1 -1
  24. package/src/components/field/rate-card/cost-breakdown/cost-breakdown.styles.d.ts +1 -1
  25. package/src/components/field/rate-card/rate-card.d.ts +1 -1
  26. package/src/components/field/rate-card/rate-card.styles.d.ts +1 -1
  27. package/src/components/field/rate-select/rate-select.styles.d.ts +1 -1
  28. package/src/components/field/select-auto-complete/select-auto-complete.d.ts +1 -1
  29. package/src/components/field/submit-button/submit-button.d.ts +1 -1
  30. package/src/components/field/switch/switch.d.ts +1 -1
  31. package/src/components/field/text-area/text-area.d.ts +1 -1
  32. package/src/components/field/text-input/text-input.d.ts +1 -1
  33. package/src/components/fund-and-purchase/fund-and-purchase.styles.d.ts +3 -3
  34. package/src/components/history/history-card/history-card.styles.d.ts +8 -8
  35. package/src/components/history/history-card-extension/history-card-extension.styles.d.ts +3 -3
  36. package/src/components/index.d.ts +2 -0
  37. package/src/components/inline-label/inline-label.d.ts +1 -1
  38. package/src/components/inline-label/inline-label.styles.d.ts +1 -1
  39. package/src/components/items-breakdown/items-breakdown.styles.d.ts +6 -6
  40. package/src/components/label/label.d.ts +1 -1
  41. package/src/components/label/label.styles.d.ts +1 -1
  42. package/src/components/label-layout/label-layout.styles.d.ts +12 -12
  43. package/src/components/link-action/link-action.d.ts +2 -2
  44. package/src/components/loader/loader.d.ts +1 -1
  45. package/src/components/loader/loader.styles.d.ts +11 -0
  46. package/src/components/preset-descriptor/preset-descriptor.styles.d.ts +1 -1
  47. package/src/components/save-status/save-status-styles.d.ts +4 -4
  48. package/src/components/section/section.d.ts +1 -1
  49. package/src/components/section/section.styles.d.ts +4 -4
  50. package/src/components/settings-card/settings-card.styles.d.ts +5 -5
  51. package/src/components/spacer/spacer.d.ts +1 -1
  52. package/src/components/templates/account-settings/account-settings.d.ts +0 -1
  53. package/src/components/templates/address-form/address-fields.styles.d.ts +1 -1
  54. package/src/components/templates/customs-items-display/customs-items-display.styles.d.ts +16 -16
  55. package/src/components/templates/display-carrier-terms/display-carrier-terms.d.ts +2 -2
  56. package/src/components/templates/display-carrier-terms/display-carrier-terms.styles.d.ts +25 -0
  57. package/src/components/templates/edit-billing-form/edit-billing-form.styles.d.ts +3 -3
  58. package/src/components/templates/index.d.ts +2 -6
  59. package/src/components/templates/label/label.styles.d.ts +2 -2
  60. package/src/components/templates/list-carriers/list-carriers.d.ts +2 -2
  61. package/src/components/templates/list-carriers/list-carriers.styles.d.ts +3 -3
  62. package/src/components/templates/list-carriers-row/list-carriers-row.styles.d.ts +3 -3
  63. package/src/components/templates/manage-warehouses/manage-warehouse.styles.d.ts +2 -2
  64. package/src/components/templates/rate-form/rate-form.d.ts +2 -2
  65. package/src/components/templates/rate-form/rate-form.styles.d.ts +1 -1
  66. package/src/components/templates/suspend-sales-order/suspend-sales-order.d.ts +1 -1
  67. package/src/components/templates/suspend-shipment/suspend-shipment.d.ts +1 -1
  68. package/src/components/templates/wallet-card/wallet-card.styles.d.ts +1 -1
  69. package/src/components/templates/wallet-form/wallet-form.styles.d.ts +1 -1
  70. package/src/components/templates/warehouse-form/warehouse-form.d.ts +2 -2
  71. package/src/elements/account-settings/account-settings.d.ts +35 -38
  72. package/src/elements/configure-shipment/hooks/use-rates-form.d.ts +0 -1
  73. package/src/elements/configure-shipment/hooks/use-request-preferred-rates.d.ts +1 -1
  74. package/src/elements/configure-shipment/hooks/use-request-rates.d.ts +1 -1
  75. package/src/elements/index.d.ts +0 -1
  76. package/src/elements/list-carriers/hooks/use-list-connected-carriers.d.ts +1 -1
  77. package/src/elements/list-carriers/list-carriers.d.ts +2 -2
  78. package/src/elements/purchase-label/hooks/use-load-shipment.d.ts +1 -1
  79. package/src/elements/purchase-label/purchase-label.d.ts +37 -10
  80. package/src/elements/view-shipment/view-shipment.d.ts +34 -11
  81. package/src/elements/void-label/void-label.d.ts +45 -36
  82. package/src/features/wallet-history/wallet-history.styles.d.ts +11 -11
  83. package/src/hooks/use-get-or-create-shipment.d.ts +1 -1
  84. package/src/index.d.ts +1 -0
  85. package/src/locales/en/index.d.ts +34 -7
  86. package/src/testing/extensions/queries/by-icon-name.d.ts +1 -1
  87. package/src/testing/extensions/queries/index.d.ts +6 -6
  88. package/src/testing/test-utils.d.ts +1 -2
  89. package/src/types/index.d.ts +1 -0
  90. package/src/types/patch.d.ts +13 -0
  91. package/src/utilities/assertions.d.ts +2 -0
  92. package/src/utilities/feature-flags.d.ts +1 -1
  93. package/src/utilities/index.d.ts +1 -0
  94. package/src/utilities/styles.d.ts +1 -1
  95. package/src/workflows/onboarding/components/account-registration-form/account-registration-form-schema.d.ts +10 -0
  96. package/src/workflows/onboarding/components/account-registration-form/account-registration-form.d.ts +4 -0
  97. package/src/workflows/onboarding/components/account-registration-form/index.d.ts +1 -0
  98. package/src/workflows/onboarding/components/account-registration-step/account-registration-step.d.ts +5 -0
  99. package/src/{components/templates/landing-page/landing-page.styles.d.ts → workflows/onboarding/components/account-registration-step/account-registration-step.styles.d.ts} +1 -1
  100. package/src/workflows/onboarding/components/account-registration-step/index.d.ts +2 -0
  101. package/src/workflows/onboarding/components/account-registration-step/use-account-registration-step.d.ts +7 -0
  102. package/src/workflows/onboarding/components/carrier-recovery-form/carrier-recovery-form-schema.d.ts +241 -0
  103. package/src/{components/templates → workflows/onboarding/components}/carrier-recovery-form/carrier-recovery-form.d.ts +4 -2
  104. package/src/{components/templates → workflows/onboarding/components}/carrier-recovery-form/carrier-recovery-form.styles.d.ts +1 -1
  105. package/src/workflows/onboarding/components/carrier-recovery-form/index.d.ts +1 -0
  106. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.d.ts +9 -0
  107. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.styles.d.ts +18 -0
  108. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/index.d.ts +2 -0
  109. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/use-funding-and-carrier-connection-step.d.ts +25 -0
  110. package/src/workflows/onboarding/components/onboarding-wizard/index.d.ts +1 -0
  111. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +27 -0
  112. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.styles.d.ts +10 -0
  113. package/src/workflows/onboarding/components/ship-from-address-step/index.d.ts +2 -0
  114. package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +7 -0
  115. package/src/workflows/onboarding/components/ship-from-address-step/use-ship-from-address-step.d.ts +9 -0
  116. package/src/workflows/onboarding/components/step-header/index.d.ts +1 -0
  117. package/src/workflows/onboarding/components/step-header/step-header.d.ts +5 -0
  118. package/src/workflows/onboarding/components/terms-agreement-form/index.d.ts +1 -0
  119. package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form-schema.d.ts +10 -0
  120. package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.d.ts +7 -0
  121. package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.styles.d.ts +24 -0
  122. package/src/workflows/onboarding/components/terms-agreement-step/index.d.ts +1 -0
  123. package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.d.ts +8 -0
  124. package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.styles.d.ts +17 -0
  125. package/src/workflows/onboarding/components/terms-agreement-step/use-terms-agreement-step.d.ts +18 -0
  126. package/src/{elements → workflows}/onboarding/onboarding.d.ts +55 -48
  127. package/src/components/templates/carrier-recovery-form/carrier-recovery-form-schema.d.ts +0 -241
  128. package/src/components/templates/carrier-recovery-form/index.d.ts +0 -2
  129. package/src/components/templates/carrier-terms-form/carrier-terms-form-schema.d.ts +0 -10
  130. package/src/components/templates/carrier-terms-form/carrier-terms-form.d.ts +0 -6
  131. package/src/components/templates/carrier-terms-form/carrier-terms-form.styles.d.ts +0 -65
  132. package/src/components/templates/carrier-terms-form/index.d.ts +0 -1
  133. package/src/components/templates/landing-page/index.d.ts +0 -1
  134. package/src/components/templates/landing-page/landing-page-form-schema.d.ts +0 -10
  135. package/src/components/templates/landing-page/landing-page-form.d.ts +0 -4
  136. package/src/components/templates/landing-page/landing-page.d.ts +0 -5
  137. package/src/components/templates/onboarding/onboarding.d.ts +0 -42
  138. package/src/components/templates/onboarding/onboarding.styles.d.ts +0 -31
  139. /package/src/{components/templates/onboarding → workflows}/index.d.ts +0 -0
  140. /package/src/{components/templates → workflows/onboarding/components}/completion-page/completion-page.d.ts +0 -0
  141. /package/src/{components/templates → workflows/onboarding/components}/completion-page/index.d.ts +0 -0
  142. /package/src/{elements → workflows}/onboarding/index.d.ts +0 -0
@@ -1,10 +1,10 @@
1
1
  export declare const styles: {
2
- action: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
2
+ action: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
3
3
  minWidth: number;
4
4
  placeContent: "center";
5
5
  width: number;
6
6
  };
7
- displayStateContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
7
+ displayStateContainer: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
8
8
  "& > *:not(:last-child)::after": {
9
9
  borderBottom: string;
10
10
  content: "\"\"";
@@ -16,17 +16,17 @@ export declare const styles: {
16
16
  flexDirection: "column";
17
17
  listStyle: "none";
18
18
  };
19
- emptyStateContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
19
+ emptyStateContainer: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
20
20
  backgroundColor: string;
21
21
  padding: number;
22
22
  textAlign: "center";
23
23
  };
24
- gridContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
24
+ gridContainer: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
25
25
  display: "flex";
26
26
  justifyContent: "space-between";
27
27
  placeItems: "center";
28
28
  };
29
- linkAction: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
29
+ linkAction: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
30
30
  textAlign: "end";
31
31
  };
32
32
  pagination: {
@@ -38,7 +38,7 @@ export declare const styles: {
38
38
  };
39
39
  textAlign: "center";
40
40
  };
41
- skeletonCard: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
41
+ skeletonCard: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
42
42
  backgroundColor: "#e3dfdf1f";
43
43
  display: "flex";
44
44
  justifyContent: "space-between";
@@ -49,28 +49,28 @@ export declare const styles: {
49
49
  flexDirection: "column";
50
50
  justifyContent: "space-between";
51
51
  };
52
- skeletonCardColumnRight: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
52
+ skeletonCardColumnRight: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
53
53
  alignItems: "flex-end";
54
54
  display: "flex";
55
55
  flexDirection: "column";
56
56
  justifyContent: "space-between";
57
57
  rowGap: number;
58
58
  };
59
- skeletonCardList: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
59
+ skeletonCardList: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
60
60
  display: "flex";
61
61
  flexDirection: "column";
62
62
  rowGap: number;
63
63
  };
64
- skeletonCardLogo: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
64
+ skeletonCardLogo: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
65
65
  alignItems: "center";
66
66
  columnGap: number;
67
67
  display: "flex";
68
68
  };
69
- skeletonCardTransactionRow: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
69
+ skeletonCardTransactionRow: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
70
70
  columnGap: string;
71
71
  display: "flex";
72
72
  };
73
- skeletonPagination: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
73
+ skeletonPagination: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
74
74
  alignItems: "center";
75
75
  display: "flex";
76
76
  justifyContent: "space-between";
@@ -2,6 +2,6 @@ import { SalesOrderShipment } from "@shipengine/alchemy";
2
2
  export declare const useGetOrCreateShipment: (onShipmentUpdated: ((shipment: SalesOrderShipment) => void | Promise<void>) | undefined, shipmentId?: string) => {
3
3
  errors: import("@shipengine/alchemy").CodedError[] | undefined;
4
4
  isLoading: boolean;
5
- refetchShipment: <TPageData>(options?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<SalesOrderShipment, import("@shipengine/alchemy").CodedError[]>>;
5
+ refetchShipment: <TPageData>(options?: (import("@tanstack/query-core").RefetchOptions & import("@tanstack/query-core").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("@tanstack/query-core").QueryObserverResult<SalesOrderShipment, import("@shipengine/alchemy").CodedError[]>>;
6
6
  shipment: SalesOrderShipment | undefined;
7
7
  };
package/src/index.d.ts CHANGED
@@ -6,3 +6,4 @@ export * from "./hooks";
6
6
  export * from "./schemas";
7
7
  export * from "./types";
8
8
  export * from "./utilities";
9
+ export * from "./workflows";
@@ -226,7 +226,7 @@ declare const _default: {
226
226
  onboarding: {
227
227
  title: string;
228
228
  inlineTitle: string;
229
- landing: {
229
+ accountRegistration: {
230
230
  action: string;
231
231
  title: string;
232
232
  subtitle: string;
@@ -235,11 +235,11 @@ declare const _default: {
235
235
  partnerMessageLine1: string;
236
236
  messageLine2: string;
237
237
  };
238
- steps: {
239
- register: string;
240
- carriers: string;
241
- addresses: string;
242
- billing: string;
238
+ stepLabel: {
239
+ accountRegistration: string;
240
+ termsAgreement: string;
241
+ shipFromAddress: string;
242
+ fundingAndCarrierConnection: string;
243
243
  };
244
244
  warehouse: {
245
245
  title: string;
@@ -251,6 +251,22 @@ declare const _default: {
251
251
  subtitle: string;
252
252
  action: string;
253
253
  };
254
+ termsAndAgreementLinkText: {
255
+ aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
256
+ "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
257
+ "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9jb25kaXRpb25zLw==": string;
258
+ "aHR0cHM6Ly93d3cudXBzLmNvbS91cy9lbi9zdXBwb3J0L3NoaXBwaW5nLXN1cHBvcnQvc2hpcHBpbmctc3BlY2lhbC1jYXJlLXJlZ3VsYXRlZC1pdGVtcy9wcm9oaWJpdGVkLWl0ZW1zLnBhZ2U=": string;
259
+ aHR0cHM6Ly93d3cudXBzLmNvbS9hc3NldHMvcmVzb3VyY2VzL21lZGlhL2VuX1VTL1VQU19EQVBfVEMucGRm: string;
260
+ "aHR0cHM6Ly93d3cudXBzLmNvbS9hc3NldHMvcmVzb3VyY2VzL21lZGlhL2VuX1VTL1VUQS5wZGY=": string;
261
+ "aHR0cHM6Ly93d3cuZXZyaS5jb20vdGVybXMtYW5kLWNvbmRpdGlvbnM=": string;
262
+ "aHR0cHM6Ly93d3cueW9kZWxkaXJlY3QuY28udWsvY29udGVudC9hYm91dC10ZXJtcw==": string;
263
+ aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
264
+ };
265
+ termsAndAgreementTitles: {
266
+ "WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
267
+ "RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
268
+ "VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
269
+ };
254
270
  };
255
271
  "manage-defaults": {
256
272
  label: {
@@ -388,6 +404,7 @@ declare const _default: {
388
404
  fields: {
389
405
  name: string;
390
406
  company: string;
407
+ county: string;
391
408
  countryCode: string;
392
409
  addressLine1: string;
393
410
  addressLine2: string;
@@ -502,6 +519,7 @@ declare const _default: {
502
519
  autoFundingSettings: string;
503
520
  carrier: string;
504
521
  carriers: string;
522
+ fundingSourceMetadata: string;
505
523
  label: string;
506
524
  salesOrder: string;
507
525
  shipment: string;
@@ -509,7 +527,6 @@ declare const _default: {
509
527
  };
510
528
  unknown: string;
511
529
  noRatesAvailable: string;
512
- saveRateError: string;
513
530
  };
514
531
  errorTypes: {
515
532
  accountStatus: string;
@@ -535,6 +552,7 @@ declare const _default: {
535
552
  carrier: string;
536
553
  carriers: string;
537
554
  connectingCarriers: string;
555
+ creatingFundingSource: string;
538
556
  data: string;
539
557
  importingSalesOrder: string;
540
558
  label: string;
@@ -596,6 +614,14 @@ declare const _default: {
596
614
  platform: string;
597
615
  user: string;
598
616
  };
617
+ terms: {
618
+ fields: {
619
+ agreement: string;
620
+ };
621
+ agreeToTerms: string;
622
+ carriersTitle: string;
623
+ fundingSourceTitle: string;
624
+ };
599
625
  weight: {
600
626
  ounces: string;
601
627
  pounds_one: string;
@@ -611,6 +637,7 @@ declare const _default: {
611
637
  gram: string;
612
638
  kilogram: string;
613
639
  };
640
+ T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
614
641
  "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
615
642
  "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkNTAuCg==": string;
616
643
  QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnN1ZmZpY2llbnQgYWNjb3VudCBiYWxhbmNlLiBBY2NvdW50IGV4Y2VwdGlvbiBFeGNlcHRpb24gd2l0aCBjb2RlIDB4MDA1NjAxMDE7IG1vZHVsZSA4NiwgY2F0ZWdvcnkgMSwgaXRlbSAx: string;
@@ -1,4 +1,4 @@
1
1
  import { MatcherOptions, queryHelpers } from "@testing-library/react";
2
- import { IconNames } from "@packlink/giger-theme";
2
+ import { IconNames } from "@shipengine/giger-theme";
3
3
  export declare const queryAllByIconName: (container: HTMLElement, iconName: IconNames, options?: MatcherOptions | undefined) => HTMLElement[];
4
4
  export declare const queryByIconName: queryHelpers.QueryBy<[dataIdValue: IconNames]>, getAllByIconName: queryHelpers.GetAllBy<[dataIdValue: IconNames]>, getByIconName: queryHelpers.GetBy<[dataIdValue: IconNames]>, findAllByIconName: queryHelpers.FindAllBy<[dataIdValue: IconNames]>, findByIconName: queryHelpers.FindBy<[dataIdValue: IconNames]>;
@@ -1,11 +1,11 @@
1
1
  import { queries } from "@testing-library/react";
2
2
  export declare const extendedQueries: {
3
- queryAllByIconName: (container: HTMLElement, iconName: import("@packlink/giger-theme/dist/lib/Icons").IconNames, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
4
- queryByIconName: import("@testing-library/react").QueryBy<[dataIdValue: import("@packlink/giger-theme/dist/lib/Icons").IconNames]>;
5
- getAllByIconName: import("@testing-library/react").GetAllBy<[dataIdValue: import("@packlink/giger-theme/dist/lib/Icons").IconNames]>;
6
- getByIconName: import("@testing-library/react").GetBy<[dataIdValue: import("@packlink/giger-theme/dist/lib/Icons").IconNames]>;
7
- findAllByIconName: import("@testing-library/react").FindAllBy<[dataIdValue: import("@packlink/giger-theme/dist/lib/Icons").IconNames]>;
8
- findByIconName: import("@testing-library/react").FindBy<[dataIdValue: import("@packlink/giger-theme/dist/lib/Icons").IconNames]>;
3
+ queryAllByIconName: (container: HTMLElement, iconName: import("@shipengine/giger-theme/dist/lib/Icons").IconNames, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
4
+ queryByIconName: import("@testing-library/react").QueryBy<[dataIdValue: import("@shipengine/giger-theme/dist/lib/Icons").IconNames]>;
5
+ getAllByIconName: import("@testing-library/react").GetAllBy<[dataIdValue: import("@shipengine/giger-theme/dist/lib/Icons").IconNames]>;
6
+ getByIconName: import("@testing-library/react").GetBy<[dataIdValue: import("@shipengine/giger-theme/dist/lib/Icons").IconNames]>;
7
+ findAllByIconName: import("@testing-library/react").FindAllBy<[dataIdValue: import("@shipengine/giger-theme/dist/lib/Icons").IconNames]>;
8
+ findByIconName: import("@testing-library/react").FindBy<[dataIdValue: import("@shipengine/giger-theme/dist/lib/Icons").IconNames]>;
9
9
  getByLabelText<T extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): T;
10
10
  getAllByLabelText<T_1 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): T_1[];
11
11
  queryByLabelText<T_2 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): T_2 | null;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { prettyFormat as __ } from "@testing-library/dom/types/pretty-dom";
3
2
  import { UserEvent } from "@testing-library/user-event/dist/types/setup/setup";
4
- import { IconNames, Theme } from "@packlink/giger-theme";
3
+ import { IconNames, Theme } from "@shipengine/giger-theme";
5
4
  import server, { baseUrl } from "../mocks/server";
6
5
  declare const theme: Theme;
7
6
  declare const delayedFn: () => Promise<void>;
@@ -1,2 +1,3 @@
1
1
  export * from "./carrier-metadata";
2
+ export * from "./patch";
2
3
  export * from "./shipping-preset";
@@ -0,0 +1,13 @@
1
+ import { MetadataRequiredTerm, MetadataResponse } from "@shipengine/alchemy";
2
+ interface TermsLink {
3
+ link: string;
4
+ locale: string;
5
+ title: string;
6
+ }
7
+ export interface MetadataTermsLinks {
8
+ links: TermsLink[];
9
+ }
10
+ export interface MetadataRequiredTermWithLinks extends MetadataRequiredTerm, MetadataTermsLinks {
11
+ }
12
+ export type CarrierProfile = MetadataResponse["defaultRegionProfile"]["carrierProfiles"][number];
13
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare function assert(condition: any, errorMessage: string): asserts condition;
2
+ export declare function raise(errorMessage: string): never;
@@ -146,7 +146,7 @@ export declare const featureFlags: {
146
146
  * `enabledCarriers` is a list of all `carriers` that are enabled for use in ShipEngine
147
147
  * Elements.
148
148
  */
149
- readonly enabledCarriers: readonly ["stamps_com", "ups", "dhl_express_walleted"];
149
+ readonly enabledCarriers: readonly ["stamps_com", "ups_walleted", "dhl_express_walleted", "ups", "hermes", "yodel_walleted"];
150
150
  };
151
151
  /**
152
152
  * All global `presentation` related feature flags.
@@ -1,3 +1,4 @@
1
+ export * from "./assertions";
1
2
  export * from "./create-dictionary";
2
3
  export * from "./date";
3
4
  export * from "./error";
@@ -1,5 +1,5 @@
1
1
  import { Interpolation } from "@emotion/serialize";
2
- import { Theme } from "@packlink/giger-theme";
2
+ import { Theme } from "@shipengine/giger-theme";
3
3
  /**
4
4
  * The verbose typing is necessary to get around TypeScript's limitations on contextual inference
5
5
  * with generics. https://stackoverflow.com/questions/75999792/ide-autocompletion-broken-with-typescript-mapped-type-conditionals
@@ -0,0 +1,10 @@
1
+ import { z } from "zod";
2
+ export declare const accountRegistrationFormSchema: z.ZodObject<{
3
+ email: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ email: string;
6
+ }, {
7
+ email: string;
8
+ }>;
9
+ export type AccountRegistrationFormFields = z.input<typeof accountRegistrationFormSchema>;
10
+ export type AccountRegistrationFormPayload = z.output<typeof accountRegistrationFormSchema>;
@@ -0,0 +1,4 @@
1
+ export type AccountRegistrationFormProps = {
2
+ onSubmit: (payload: string) => void;
3
+ };
4
+ export declare const AccountRegistrationForm: ({ onSubmit }: AccountRegistrationFormProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from "./account-registration-form";
@@ -0,0 +1,5 @@
1
+ export type AccountRegistrationStepProps = {
2
+ onSubmit: (payload: string) => void;
3
+ partnerName?: string;
4
+ };
5
+ export declare const AccountRegistrationStep: ({ onSubmit, partnerName, }: AccountRegistrationStepProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  export declare const styles: {
2
- container: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
2
+ container: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
3
3
  padding: number;
4
4
  };
5
5
  description: {
@@ -0,0 +1,2 @@
1
+ export * from "./account-registration-step";
2
+ export * from "./use-account-registration-step";
@@ -0,0 +1,7 @@
1
+ export type UseAccountRegistrationStepProps = {
2
+ onStepComplete: () => void;
3
+ };
4
+ export declare const useAccountRegistrationStep: ({ onStepComplete }: UseAccountRegistrationStepProps) => {
5
+ email: string | undefined;
6
+ handleSubmitAccountRegistration: (email: string) => void;
7
+ };