@shipengine/elements 0.38.0 → 0.39.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 (73) hide show
  1. package/index.cjs +65 -61
  2. package/index.js +65 -61
  3. package/package.json +6 -6
  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/collapsible-panel/collapsible-panel.d.ts +1 -1
  8. package/src/components/collapsible-panel/collapsible-panel.styles.d.ts +4 -4
  9. package/src/components/date-range-select/date-range-select.styles.d.ts +1 -1
  10. package/src/components/disclosure/disclosure.styles.d.ts +3 -3
  11. package/src/components/error-display/error-display.styles.d.ts +3 -3
  12. package/src/components/field/checkbox-input/checkbox-input.d.ts +1 -1
  13. package/src/components/field/credit-card-input/credit-card-input.d.ts +1 -1
  14. package/src/components/field/date-picker/date-picker.styles.d.ts +1 -1
  15. package/src/components/field/expiration-input/expiration-input.d.ts +1 -1
  16. package/src/components/field/field.styles.d.ts +1 -1
  17. package/src/components/field/money-input/money-input.d.ts +1 -1
  18. package/src/components/field/number-input/number-input.d.ts +1 -1
  19. package/src/components/field/rate-card/cost-breakdown/cost-breakdown.styles.d.ts +1 -1
  20. package/src/components/field/rate-card/rate-card.d.ts +1 -1
  21. package/src/components/field/rate-card/rate-card.styles.d.ts +1 -1
  22. package/src/components/field/rate-select/rate-select.styles.d.ts +1 -1
  23. package/src/components/field/select-auto-complete/select-auto-complete.d.ts +1 -1
  24. package/src/components/field/submit-button/submit-button.d.ts +1 -1
  25. package/src/components/field/switch/switch.d.ts +1 -1
  26. package/src/components/field/text-area/text-area.d.ts +1 -1
  27. package/src/components/field/text-input/text-input.d.ts +1 -1
  28. package/src/components/fund-and-purchase/fund-and-purchase.styles.d.ts +3 -3
  29. package/src/components/history/history-card/history-card.styles.d.ts +8 -8
  30. package/src/components/history/history-card-extension/history-card-extension.styles.d.ts +3 -3
  31. package/src/components/inline-label/inline-label.d.ts +1 -1
  32. package/src/components/inline-label/inline-label.styles.d.ts +1 -1
  33. package/src/components/items-breakdown/items-breakdown.styles.d.ts +6 -6
  34. package/src/components/label/label.d.ts +1 -1
  35. package/src/components/label/label.styles.d.ts +1 -1
  36. package/src/components/label-layout/label-layout.styles.d.ts +12 -12
  37. package/src/components/link-action/link-action.d.ts +2 -2
  38. package/src/components/loader/loader.d.ts +1 -1
  39. package/src/components/preset-descriptor/preset-descriptor.styles.d.ts +1 -1
  40. package/src/components/save-status/save-status-styles.d.ts +4 -4
  41. package/src/components/section/section.d.ts +1 -1
  42. package/src/components/section/section.styles.d.ts +4 -4
  43. package/src/components/settings-card/settings-card.styles.d.ts +5 -5
  44. package/src/components/spacer/spacer.d.ts +1 -1
  45. package/src/components/templates/account-settings/account-settings.d.ts +0 -1
  46. package/src/components/templates/address-form/address-fields.styles.d.ts +1 -1
  47. package/src/components/templates/carrier-recovery-form/carrier-recovery-form.styles.d.ts +1 -1
  48. package/src/components/templates/carrier-terms-form/carrier-terms-form.styles.d.ts +6 -6
  49. package/src/components/templates/customs-items-display/customs-items-display.styles.d.ts +16 -16
  50. package/src/components/templates/edit-billing-form/edit-billing-form.styles.d.ts +3 -3
  51. package/src/components/templates/label/label.styles.d.ts +2 -2
  52. package/src/components/templates/landing-page/landing-page.styles.d.ts +1 -1
  53. package/src/components/templates/list-carriers/list-carriers.styles.d.ts +3 -3
  54. package/src/components/templates/list-carriers-row/list-carriers-row.styles.d.ts +3 -3
  55. package/src/components/templates/manage-warehouses/manage-warehouse.styles.d.ts +2 -2
  56. package/src/components/templates/onboarding/onboarding.styles.d.ts +4 -4
  57. package/src/components/templates/rate-form/rate-form.styles.d.ts +1 -1
  58. package/src/components/templates/suspend-sales-order/suspend-sales-order.d.ts +1 -1
  59. package/src/components/templates/suspend-shipment/suspend-shipment.d.ts +1 -1
  60. package/src/components/templates/wallet-card/wallet-card.styles.d.ts +1 -1
  61. package/src/components/templates/wallet-form/wallet-form.styles.d.ts +1 -1
  62. package/src/elements/account-settings/account-settings.d.ts +1 -9
  63. package/src/elements/configure-shipment/hooks/use-request-preferred-rates.d.ts +1 -1
  64. package/src/elements/configure-shipment/hooks/use-request-rates.d.ts +1 -1
  65. package/src/elements/list-carriers/hooks/use-list-connected-carriers.d.ts +1 -1
  66. package/src/elements/purchase-label/hooks/use-load-shipment.d.ts +1 -1
  67. package/src/elements/view-shipment/view-shipment.d.ts +7 -1
  68. package/src/features/wallet-history/wallet-history.styles.d.ts +11 -11
  69. package/src/hooks/use-get-or-create-shipment.d.ts +1 -1
  70. package/src/testing/extensions/queries/by-icon-name.d.ts +1 -1
  71. package/src/testing/extensions/queries/index.d.ts +6 -6
  72. package/src/testing/test-utils.d.ts +1 -2
  73. package/src/utilities/styles.d.ts +1 -1
@@ -1,15 +1,15 @@
1
1
  export declare const styles: {
2
- boldLink: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
2
+ boldLink: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
3
3
  fontWeight: number;
4
4
  };
5
- container: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
5
+ container: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
6
6
  backgroundColor: string;
7
7
  rowGap: string;
8
8
  };
9
9
  heading: {
10
10
  textAlign: "center";
11
11
  };
12
- subtitle: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
12
+ subtitle: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
13
13
  paddingBottom: number;
14
14
  textAlign: "left";
15
15
  };
@@ -1,9 +1,9 @@
1
1
  export declare const styles: {
2
- trackingNumber: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
2
+ trackingNumber: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
3
3
  alignItems: "center";
4
4
  display: "flex";
5
5
  };
6
- truncatedTrackingNumber: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
6
+ truncatedTrackingNumber: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
7
7
  overflow: "hidden";
8
8
  textOverflow: "ellipsis";
9
9
  whiteSpace: "nowrap";
@@ -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: {
@@ -1,5 +1,5 @@
1
1
  export declare const styles: {
2
- carriersList: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
2
+ carriersList: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
3
3
  "& > li:not(:last-of-type)": {
4
4
  borderBottom: string;
5
5
  };
@@ -7,12 +7,12 @@ export declare const styles: {
7
7
  borderRadius: string;
8
8
  listStyle: "none";
9
9
  };
10
- skeletonLogoContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
10
+ skeletonLogoContainer: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
11
11
  alignItems: "center";
12
12
  columnGap: string;
13
13
  display: "flex";
14
14
  };
15
- skeletonRow: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
15
+ skeletonRow: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
16
16
  "&:not(:last-of-type)": {
17
17
  borderBottom: string;
18
18
  };
@@ -3,18 +3,18 @@ export declare const styles: {
3
3
  display: "flex";
4
4
  flexDirection: "column";
5
5
  };
6
- getConnectButton: (isConnected?: boolean) => (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
6
+ getConnectButton: (isConnected?: boolean) => (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
7
7
  backgroundColor?: string | undefined;
8
8
  borderRadius?: string | undefined;
9
9
  color?: string | undefined;
10
10
  padding: string;
11
11
  };
12
- logoContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
12
+ logoContainer: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
13
13
  alignItems: "center";
14
14
  columnGap: string;
15
15
  display: "flex";
16
16
  };
17
- rowContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
17
+ rowContainer: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
18
18
  alignItems: "center";
19
19
  display: "flex";
20
20
  justifyContent: "space-between";
@@ -1,5 +1,5 @@
1
1
  export declare const styles: {
2
- cardSpacing: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
2
+ cardSpacing: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
3
3
  display: "flex";
4
4
  flexDirection: "column";
5
5
  gap: number;
@@ -7,7 +7,7 @@ export declare const styles: {
7
7
  header: {
8
8
  textAlign: "left";
9
9
  };
10
- well: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
10
+ well: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
11
11
  backgroundColor: string;
12
12
  padding: number;
13
13
  };
@@ -1,8 +1,8 @@
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
- iconTooltip: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
5
+ iconTooltip: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
6
6
  color: string;
7
7
  display: "inline-block";
8
8
  marginLeft: number;
@@ -17,13 +17,13 @@ export declare const styles: {
17
17
  maxWidth: string;
18
18
  textAlign: "left";
19
19
  };
20
- walletFormHeader: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
20
+ walletFormHeader: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
21
21
  margin: number;
22
22
  };
23
23
  walletFormTitle: {
24
24
  textAlign: "center";
25
25
  };
26
- wrapper: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
26
+ wrapper: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
27
27
  height: string;
28
28
  padding: number;
29
29
  width: string;
@@ -1,5 +1,5 @@
1
1
  export declare const styles: {
2
- fundAndPurchase: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
2
+ fundAndPurchase: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
3
3
  borderTop: string;
4
4
  };
5
5
  ratesInterstitial: {
@@ -1,5 +1,5 @@
1
- import { WithChildrenCommonProps } from "@packlink/giger";
2
1
  import { SE } from "@shipengine/alchemy";
2
+ import { WithChildrenCommonProps } from "@shipengine/giger";
3
3
  export type SuspendSalesOrderProps = WithChildrenCommonProps<{
4
4
  errors?: SE.CodedError[];
5
5
  isLoading?: boolean;
@@ -1,5 +1,5 @@
1
- import { WithChildrenCommonProps } from "@packlink/giger";
2
1
  import { SE } from "@shipengine/alchemy";
2
+ import { WithChildrenCommonProps } from "@shipengine/giger";
3
3
  export type SuspendShipmentProps = WithChildrenCommonProps<{
4
4
  errors?: SE.CodedError[];
5
5
  isLoading?: boolean;
@@ -5,7 +5,7 @@ export declare const styles: {
5
5
  justifyContent: "center";
6
6
  width: string;
7
7
  };
8
- icon: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
8
+ icon: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
9
9
  color: string;
10
10
  };
11
11
  };
@@ -1,5 +1,5 @@
1
1
  export declare const styles: {
2
- grid: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
2
+ grid: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
3
3
  margin: number;
4
4
  };
5
5
  };
@@ -19,9 +19,6 @@ export type ComponentProps = {
19
19
  * - The `<AccountSettings />` component is used to display the user's account settings, as well as
20
20
  * allowing them to make changes to various aspects of their account.
21
21
  *
22
- * @param onSaveSettings Any `void` function you wish to execute when the user saves any changes
23
- * to their account settings.
24
- *
25
22
  * @returns Element An EmotionJSX.Element that will render the `<AccountSettings />` component
26
23
  * with all the appropriate wrappers.
27
24
  *
@@ -52,9 +49,7 @@ export declare const Component: ({ onSaveSettings }: ComponentProps) => import("
52
49
  * The `<Component />` is the source JSX that is rendered when you make use of the `AccountSettings`
53
50
  * Element directly. Here is a brief example of how you would use it within your application.
54
51
  * ```tsx
55
- * <AccountSettings.Element
56
- * onSaveSettings={() => console.log('Settings Saved!')}
57
- * />
52
+ * <AccountSettings.Element/>
58
53
  * ```
59
54
  *
60
55
  * <br />
@@ -313,9 +308,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
313
308
  * - The `<AccountSettings />` component is used to display the user's account settings, as well as
314
309
  * allowing them to make changes to various aspects of their account.
315
310
  *
316
- * @param onSaveSettings Any `void` function you wish to execute when the user saves any changes
317
- * to their account settings.
318
- *
319
311
  * @returns Element An EmotionJSX.Element that will render the `<AccountSettings />` component
320
312
  * with all the appropriate wrappers.
321
313
  *
@@ -4,4 +4,4 @@ export type RequestPreferredRatesProps = {
4
4
  getPreferredRates?: UseRequestRatesProps["getPreferredRates"];
5
5
  };
6
6
  export type CalculatePreferredRatesData = Parameters<Required<UseRequestRatesProps>["getPreferredRates"]>;
7
- export declare const useRequestPreferredRates: ({ getPreferredRates }: RequestPreferredRatesProps) => import("react-query").UseMutationResult<import("..").PreferredRatesResponse | undefined, SE.CodedError[], [shipment: SE.SalesOrderShipment, isInternational: boolean], unknown>;
7
+ export declare const useRequestPreferredRates: ({ getPreferredRates }: RequestPreferredRatesProps) => import("@tanstack/react-query").UseMutationResult<import("..").PreferredRatesResponse | undefined, SE.CodedError[], [shipment: SE.SalesOrderShipment, isInternational: boolean], unknown>;
@@ -9,7 +9,7 @@ export declare const useRequestRates: ({ onRatesCalculated, getPreferredRates }:
9
9
  preferredRatesResponse: PreferredRatesResponse | undefined;
10
10
  ratesErrors: SE.CodedError[] | null;
11
11
  ratesResponse: SE.RateResponse | undefined;
12
- requestPreferredRates: import("react-query").UseMutateAsyncFunction<PreferredRatesResponse | undefined, SE.CodedError[], [shipment: SE.SalesOrderShipment, isInternational: boolean], unknown>;
12
+ requestPreferredRates: import("@tanstack/react-query").UseMutateAsyncFunction<PreferredRatesResponse | undefined, SE.CodedError[], [shipment: SE.SalesOrderShipment, isInternational: boolean], unknown>;
13
13
  requestRates: (shipment: SE.SalesOrderShipment, isInternational: boolean) => Promise<void>;
14
14
  resetRates: () => void;
15
15
  };
@@ -7,5 +7,5 @@ export declare const useListConnectedCarriers: () => {
7
7
  data: ConnectedCarrierMetadata[];
8
8
  error: import("@shipengine/alchemy").CodedError[] | null;
9
9
  isLoading: boolean;
10
- refetch: <TPageData>(options?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<import("@shipengine/alchemy").Carrier[], import("@shipengine/alchemy").CodedError[]>>;
10
+ refetch: <TPageData>(options?: (import("@tanstack/query-core").RefetchOptions & import("@tanstack/query-core").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("@tanstack/query-core").QueryObserverResult<import("@shipengine/alchemy").Carrier[], import("@shipengine/alchemy").CodedError[]>>;
11
11
  };
@@ -4,6 +4,6 @@ export type UseLoadShipmentProps = {
4
4
  export declare const useLoadShipment: ({ shipmentId }: UseLoadShipmentProps) => {
5
5
  errors: import("@shipengine/alchemy").CodedError[] | undefined;
6
6
  isLoading: boolean;
7
- refetchShipment: <TPageData>(options?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<import("@shipengine/alchemy").SalesOrderShipment, import("@shipengine/alchemy").CodedError[]>>;
7
+ refetchShipment: <TPageData>(options?: (import("@tanstack/query-core").RefetchOptions & import("@tanstack/query-core").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("@tanstack/query-core").QueryObserverResult<import("@shipengine/alchemy").SalesOrderShipment, import("@shipengine/alchemy").CodedError[]>>;
8
8
  shipment: import("@shipengine/alchemy").SalesOrderShipment | undefined;
9
9
  };
@@ -613,7 +613,13 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
613
613
  unableToLoad: {
614
614
  accountSettings: string;
615
615
  autoFundingSettings: string;
616
- carrier: string;
616
+ carrier: string; /**
617
+ * # View Shipment Element Props
618
+ *
619
+ * - These are the base props that will be passed into the `<ViewShipment />` element.
620
+ *
621
+ * @see {@link ViewShipment.Element | See the full type that `typeof Element` will return}
622
+ */
617
623
  carriers: string;
618
624
  label: string;
619
625
  salesOrder: string;
@@ -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
  };
@@ -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,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