@shipengine/elements 0.25.0 → 0.26.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 (53) hide show
  1. package/index.cjs +1101 -640
  2. package/index.js +1108 -654
  3. package/package.json +12 -4
  4. package/src/components/field/field.styles.d.ts +2 -12
  5. package/src/components/index.d.ts +1 -0
  6. package/src/components/label-layout/label-layout-settings.d.ts +3 -1
  7. package/src/components/powered-by-shipengine/index.d.ts +1 -0
  8. package/src/components/powered-by-shipengine/powered-by-shipengine.d.ts +1 -0
  9. package/src/components/powered-by-shipengine/powered-by-shipengine.styles.d.ts +11 -0
  10. package/src/components/save-status/index.d.ts +2 -0
  11. package/src/components/save-status/save-status-styles.d.ts +43 -0
  12. package/src/components/save-status/save-status.d.ts +6 -0
  13. package/src/components/templates/index.d.ts +0 -1
  14. package/src/components/templates/rate-form/rate-form.d.ts +1 -0
  15. package/src/constants/shipengine/address.d.ts +2 -0
  16. package/src/elements/list-carriers/list-carriers.d.ts +26 -14
  17. package/src/elements/manage-warehouses/manage-warehouses.d.ts +26 -14
  18. package/src/elements/onboarding/onboarding.d.ts +26 -14
  19. package/src/elements/purchase-label/hooks/use-load-or-create-shipment.d.ts +6 -0
  20. package/src/elements/purchase-label/purchase-label-by-shipment.d.ts +5 -2
  21. package/src/elements/purchase-label/purchase-label.d.ts +38 -20
  22. package/src/elements/view-shipment/view-shipment.d.ts +26 -14
  23. package/src/{components/templates/void-label/void-label.d.ts → elements/void-label/components/actions/actions.d.ts} +3 -3
  24. package/src/elements/void-label/components/actions/index.d.ts +1 -0
  25. package/src/elements/void-label/components/index.d.ts +2 -0
  26. package/src/elements/void-label/components/message/index.d.ts +1 -0
  27. package/src/elements/void-label/components/message/message.d.ts +6 -0
  28. package/src/elements/void-label/void-label.d.ts +26 -14
  29. package/src/hooks/options/index.d.ts +1 -0
  30. package/src/hooks/options/use-package-options.d.ts +1 -1
  31. package/src/hooks/options/use-service-code-options.d.ts +1 -1
  32. package/src/hooks/options/use-shipment-metadata.d.ts +8 -0
  33. package/src/hooks/options/use-shipping-presets-options.d.ts +2 -1
  34. package/src/hooks/use-get-or-create-shipment.d.ts +2 -0
  35. package/src/locales/en/index.d.ts +26 -14
  36. package/src/mocks/server.d.ts +1 -0
  37. package/src/testing/extensions/index.d.ts +2 -0
  38. package/src/testing/extensions/matchers/extend-matchers.d.ts +8 -0
  39. package/src/testing/extensions/matchers/index.d.ts +1 -0
  40. package/src/testing/extensions/matchers/matchers.d.ts +1 -0
  41. package/src/testing/extensions/matchers/to-have-loading-spinner.d.ts +2 -0
  42. package/src/testing/extensions/queries/by-icon-name.d.ts +4 -0
  43. package/src/testing/extensions/queries/index.d.ts +57 -0
  44. package/src/testing/extensions/queries/queries.d.ts +1 -0
  45. package/src/testing/index.d.ts +1 -1
  46. package/src/testing/test-utils.d.ts +292 -0
  47. package/src/utilities/error.d.ts +13 -0
  48. package/src/utilities/i18nDateUtils.d.ts +16 -0
  49. package/src/utilities/shipengine/address.d.ts +4 -0
  50. package/src/utilities/shipengine/carrier.d.ts +1 -0
  51. package/src/components/templates/void-label/index.d.ts +0 -1
  52. package/src/public-sdk.d.ts +0 -38
  53. package/src/testing/render.d.ts +0 -6
@@ -35,6 +35,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
35
35
  confirmVoid: string;
36
36
  viewShipment: string;
37
37
  };
38
+ errorMessages: {
39
+ labelIdRequired: string;
40
+ };
38
41
  resultMessages: {
39
42
  approved: string;
40
43
  rejected: string;
@@ -180,6 +183,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
180
183
  shipDate: string;
181
184
  service: string;
182
185
  shipTo: string;
186
+ addShipToAddress: string;
183
187
  warehouse: string;
184
188
  weight: {
185
189
  whole: string;
@@ -245,21 +249,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
245
249
  };
246
250
  };
247
251
  "manage-defaults": {
248
- units: {
249
- title: string;
250
- dimensions: {
251
- title: string;
252
- standard: string;
253
- metric: string;
254
- };
255
- weight: {
256
- title: string;
257
- standard: string;
258
- g: string;
259
- kg: string;
260
- };
261
- };
262
252
  label: {
253
+ title: string;
263
254
  letter: {
264
255
  title: string;
265
256
  description: string;
@@ -272,7 +263,25 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
272
263
  title: string;
273
264
  description: string;
274
265
  };
266
+ };
267
+ status: {
268
+ saving: string;
269
+ saved: string;
270
+ savingFailed: string;
271
+ };
272
+ units: {
275
273
  title: string;
274
+ dimensions: {
275
+ title: string;
276
+ standard: string;
277
+ metric: string;
278
+ };
279
+ weight: {
280
+ title: string;
281
+ standard: string;
282
+ g: string;
283
+ kg: string;
284
+ };
276
285
  };
277
286
  };
278
287
  "manage-warehouses": {
@@ -487,6 +496,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
487
496
  autoFundingSettings: string;
488
497
  carrier: string;
489
498
  carriers: string;
499
+ label: string;
490
500
  salesOrder: string;
491
501
  shipment: string;
492
502
  warehouses: string;
@@ -517,6 +527,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
517
527
  carriers: string;
518
528
  data: string;
519
529
  importingSalesOrder: string;
530
+ label: string;
520
531
  onboarding: string;
521
532
  salesOrder: string;
522
533
  shipment: string;
@@ -543,6 +554,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
543
554
  packageCodes: {
544
555
  package: string;
545
556
  };
557
+ "powered-by": string;
546
558
  schema: {
547
559
  optionalLabel: string;
548
560
  };
@@ -1,9 +1,9 @@
1
1
  import { SE } from "@shipengine/alchemy";
2
- export type VoidLabelProps = {
2
+ export type ActionsProps = {
3
3
  onComplete: (request: SE.VoidRequest, shipment: SE.SalesOrderShipment) => void;
4
4
  onSubmit: () => Promise<void>;
5
5
  onViewShipment: (shipment: SE.SalesOrderShipment) => void;
6
- shipment?: SE.SalesOrderShipment;
6
+ shipment: SE.SalesOrderShipment;
7
7
  voidRequest?: SE.VoidRequest;
8
8
  };
9
- export declare const VoidLabel: ({ onComplete, onSubmit, onViewShipment, shipment, voidRequest, }: VoidLabelProps) => import("@emotion/react/jsx-runtime").JSX.Element;
9
+ export declare const Actions: ({ onComplete, onSubmit, onViewShipment, shipment, voidRequest, }: ActionsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from "./actions";
@@ -0,0 +1,2 @@
1
+ export * from "./actions";
2
+ export * from "./message";
@@ -0,0 +1 @@
1
+ export * from "./message";
@@ -0,0 +1,6 @@
1
+ import { SE } from "@shipengine/alchemy";
2
+ type MessageProps = {
3
+ voidRequest?: SE.VoidRequest;
4
+ };
5
+ export declare const Message: ({ voidRequest }: MessageProps) => import("@emotion/react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -30,6 +30,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
30
30
  confirmVoid: string;
31
31
  viewShipment: string;
32
32
  };
33
+ errorMessages: {
34
+ labelIdRequired: string;
35
+ };
33
36
  resultMessages: {
34
37
  approved: string;
35
38
  rejected: string;
@@ -175,6 +178,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
175
178
  shipDate: string;
176
179
  service: string;
177
180
  shipTo: string;
181
+ addShipToAddress: string;
178
182
  warehouse: string;
179
183
  weight: {
180
184
  whole: string;
@@ -240,21 +244,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
240
244
  };
241
245
  };
242
246
  "manage-defaults": {
243
- units: {
244
- title: string;
245
- dimensions: {
246
- title: string;
247
- standard: string;
248
- metric: string;
249
- };
250
- weight: {
251
- title: string;
252
- standard: string;
253
- g: string;
254
- kg: string;
255
- };
256
- };
257
247
  label: {
248
+ title: string;
258
249
  letter: {
259
250
  title: string;
260
251
  description: string;
@@ -267,7 +258,25 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
267
258
  title: string;
268
259
  description: string;
269
260
  };
261
+ };
262
+ status: {
263
+ saving: string;
264
+ saved: string;
265
+ savingFailed: string;
266
+ };
267
+ units: {
270
268
  title: string;
269
+ dimensions: {
270
+ title: string;
271
+ standard: string;
272
+ metric: string;
273
+ };
274
+ weight: {
275
+ title: string;
276
+ standard: string;
277
+ g: string;
278
+ kg: string;
279
+ };
271
280
  };
272
281
  };
273
282
  "manage-warehouses": {
@@ -482,6 +491,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
482
491
  autoFundingSettings: string;
483
492
  carrier: string;
484
493
  carriers: string;
494
+ label: string;
485
495
  salesOrder: string;
486
496
  shipment: string;
487
497
  warehouses: string;
@@ -512,6 +522,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
512
522
  carriers: string;
513
523
  data: string;
514
524
  importingSalesOrder: string;
525
+ label: string;
515
526
  onboarding: string;
516
527
  salesOrder: string;
517
528
  shipment: string;
@@ -538,6 +549,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
538
549
  packageCodes: {
539
550
  package: string;
540
551
  };
552
+ "powered-by": string;
541
553
  schema: {
542
554
  optionalLabel: string;
543
555
  };
@@ -8,6 +8,7 @@ export * from "./use-insurance-provider-options";
8
8
  export * from "./use-package-options";
9
9
  export * from "./use-rate-options";
10
10
  export * from "./use-service-code-options";
11
+ export * from "./use-shipment-metadata";
11
12
  export * from "./use-shipping-presets-options";
12
13
  export * from "./use-state-code-options";
13
14
  export * from "./use-warehouse-options";
@@ -1,3 +1,3 @@
1
1
  import { SE } from "@shipengine/alchemy";
2
2
  import { SelectCategory } from "../../components/field/select";
3
- export declare const usePackageOptions: (carriers?: SE.Carrier[], customPackageTypes?: SE.CustomPackage[], poBox?: boolean) => SelectCategory[] | undefined;
3
+ export declare const usePackageOptions: (carriers?: SE.Carrier[], customPackageTypes?: SE.CustomPackage[], shipment?: SE.SalesOrderShipment) => SelectCategory[] | undefined;
@@ -1,3 +1,3 @@
1
1
  import { SE } from "@shipengine/alchemy";
2
2
  import { SelectCategory } from "../../components/field/select";
3
- export declare const useServiceCodeOptions: (carriers?: SE.Carrier[], domestic?: boolean, poBox?: boolean) => SelectCategory[];
3
+ export declare const useServiceCodeOptions: (carriers?: SE.Carrier[], shipment?: SE.SalesOrderShipment) => SelectCategory[];
@@ -0,0 +1,8 @@
1
+ import { SE } from "@shipengine/alchemy";
2
+ export declare const useShipmentMetadata: (shipment?: SE.SalesOrderShipment) => {
3
+ isContentDescriptionRequired: boolean;
4
+ isCustomsRequired: boolean;
5
+ isInternational: boolean;
6
+ isPoBox: boolean | undefined;
7
+ isUnsupportedUpsCountry: boolean | undefined;
8
+ };
@@ -1,3 +1,4 @@
1
+ import { SE } from "@shipengine/alchemy";
1
2
  import { ShippingPreset } from "../../types";
2
3
  export type UseShippingPresetsOptionsProps = {
3
4
  platform?: {
@@ -9,7 +10,7 @@ export type UseShippingPresetsOptionsProps = {
9
10
  international: ShippingPreset[];
10
11
  };
11
12
  };
12
- export declare const useShippingPresetsOptions: ({ platform, user }: UseShippingPresetsOptionsProps | undefined, isInternationalShipment: boolean) => {
13
+ export declare const useShippingPresetsOptions: ({ platform, user }?: UseShippingPresetsOptionsProps, shipment?: SE.SalesOrderShipment) => {
13
14
  categoryName: string;
14
15
  options: {
15
16
  description: import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { CodedError, SalesOrderShipment } from "@shipengine/alchemy";
2
+ export declare const useGetOrCreateShipment: (shipmentId?: string) => import("react-query").UseQueryResult<SalesOrderShipment, CodedError[]>;
@@ -19,6 +19,9 @@ declare const _default: {
19
19
  confirmVoid: string;
20
20
  viewShipment: string;
21
21
  };
22
+ errorMessages: {
23
+ labelIdRequired: string;
24
+ };
22
25
  resultMessages: {
23
26
  approved: string;
24
27
  rejected: string;
@@ -164,6 +167,7 @@ declare const _default: {
164
167
  shipDate: string;
165
168
  service: string;
166
169
  shipTo: string;
170
+ addShipToAddress: string;
167
171
  warehouse: string;
168
172
  weight: {
169
173
  whole: string;
@@ -229,21 +233,8 @@ declare const _default: {
229
233
  };
230
234
  };
231
235
  "manage-defaults": {
232
- units: {
233
- title: string;
234
- dimensions: {
235
- title: string;
236
- standard: string;
237
- metric: string;
238
- };
239
- weight: {
240
- title: string;
241
- standard: string;
242
- g: string;
243
- kg: string;
244
- };
245
- };
246
236
  label: {
237
+ title: string;
247
238
  letter: {
248
239
  title: string;
249
240
  description: string;
@@ -256,7 +247,25 @@ declare const _default: {
256
247
  title: string;
257
248
  description: string;
258
249
  };
250
+ };
251
+ status: {
252
+ saving: string;
253
+ saved: string;
254
+ savingFailed: string;
255
+ };
256
+ units: {
259
257
  title: string;
258
+ dimensions: {
259
+ title: string;
260
+ standard: string;
261
+ metric: string;
262
+ };
263
+ weight: {
264
+ title: string;
265
+ standard: string;
266
+ g: string;
267
+ kg: string;
268
+ };
260
269
  };
261
270
  };
262
271
  "manage-warehouses": {
@@ -471,6 +480,7 @@ declare const _default: {
471
480
  autoFundingSettings: string;
472
481
  carrier: string;
473
482
  carriers: string;
483
+ label: string;
474
484
  salesOrder: string;
475
485
  shipment: string;
476
486
  warehouses: string;
@@ -501,6 +511,7 @@ declare const _default: {
501
511
  carriers: string;
502
512
  data: string;
503
513
  importingSalesOrder: string;
514
+ label: string;
504
515
  onboarding: string;
505
516
  salesOrder: string;
506
517
  shipment: string;
@@ -527,6 +538,7 @@ declare const _default: {
527
538
  packageCodes: {
528
539
  package: string;
529
540
  };
541
+ "powered-by": string;
530
542
  schema: {
531
543
  optionalLabel: string;
532
544
  };
@@ -1,2 +1,3 @@
1
+ export declare const baseUrl = "http://mock-service-worker";
1
2
  declare const _default: import("msw/lib/SetupServerApi-39df862c").S;
2
3
  export default _default;
@@ -0,0 +1,2 @@
1
+ export * from "./matchers";
2
+ export * from "./queries";
@@ -0,0 +1,8 @@
1
+ export declare const extendMatchers: () => void;
2
+ declare global {
3
+ namespace jest {
4
+ interface Matchers<R> {
5
+ toHaveLoadingSpinner(): R;
6
+ }
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ export * from "./extend-matchers";
@@ -0,0 +1 @@
1
+ export * from "./to-have-loading-spinner";
@@ -0,0 +1,2 @@
1
+ import type { MatcherFunction } from "expect";
2
+ export declare const toHaveLoadingSpinner: MatcherFunction;
@@ -0,0 +1,4 @@
1
+ import { MatcherOptions, queryHelpers } from "@testing-library/react";
2
+ import { IconNames } from "@packlink/brands";
3
+ export declare const queryAllByIconName: (container: HTMLElement, iconName: IconNames, options?: MatcherOptions | undefined) => HTMLElement[];
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]>;
@@ -0,0 +1,57 @@
1
+ import { queries } from "@testing-library/react";
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]>;
9
+ getByLabelText<T extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): T;
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
+ queryByLabelText<T_2 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): T_2 | null;
12
+ queryAllByLabelText<T_3 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): T_3[];
13
+ findByLabelText<T_4 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_4>;
14
+ findAllByLabelText<T_5 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_5[]>;
15
+ getByPlaceholderText<T_6 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_6;
16
+ getAllByPlaceholderText<T_7 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_7[];
17
+ queryByPlaceholderText<T_8 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_8 | null;
18
+ queryAllByPlaceholderText<T_9 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_9[];
19
+ findByPlaceholderText<T_10 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_10>;
20
+ findAllByPlaceholderText<T_11 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_11[]>;
21
+ getByText<T_12 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): T_12;
22
+ getAllByText<T_13 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): T_13[];
23
+ queryByText<T_14 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): T_14 | null;
24
+ queryAllByText<T_15 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): T_15[];
25
+ findByText<T_16 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_16>;
26
+ findAllByText<T_17 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_17[]>;
27
+ getByAltText<T_18 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_18;
28
+ getAllByAltText<T_19 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_19[];
29
+ queryByAltText<T_20 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_20 | null;
30
+ queryAllByAltText<T_21 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_21[];
31
+ findByAltText<T_22 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_22>;
32
+ findAllByAltText<T_23 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_23[]>;
33
+ getByTitle<T_24 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_24;
34
+ getAllByTitle<T_25 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_25[];
35
+ queryByTitle<T_26 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_26 | null;
36
+ queryAllByTitle<T_27 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_27[];
37
+ findByTitle<T_28 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_28>;
38
+ findAllByTitle<T_29 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_29[]>;
39
+ getByDisplayValue<T_30 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_30;
40
+ getAllByDisplayValue<T_31 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_31[];
41
+ queryByDisplayValue<T_32 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_32 | null;
42
+ queryAllByDisplayValue<T_33 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_33[];
43
+ findByDisplayValue<T_34 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_34>;
44
+ findAllByDisplayValue<T_35 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_35[]>;
45
+ getByRole<T_36 extends HTMLElement = HTMLElement>(container: HTMLElement, role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined): T_36;
46
+ getAllByRole<T_37 extends HTMLElement = HTMLElement>(container: HTMLElement, role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined): T_37[];
47
+ queryByRole<T_38 extends HTMLElement = HTMLElement>(container: HTMLElement, role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined): T_38 | null;
48
+ queryAllByRole<T_39 extends HTMLElement = HTMLElement>(container: HTMLElement, role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined): T_39[];
49
+ findByRole<T_40 extends HTMLElement = HTMLElement>(container: HTMLElement, role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_40>;
50
+ findAllByRole<T_41 extends HTMLElement = HTMLElement>(container: HTMLElement, role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_41[]>;
51
+ getByTestId<T_42 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_42;
52
+ getAllByTestId<T_43 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_43[];
53
+ queryByTestId<T_44 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_44 | null;
54
+ queryAllByTestId<T_45 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_45[];
55
+ findByTestId<T_46 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_46>;
56
+ findAllByTestId<T_47 extends HTMLElement = HTMLElement>(container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_47[]>;
57
+ };
@@ -0,0 +1 @@
1
+ export * from "./by-icon-name";
@@ -1 +1 @@
1
- export * from "./render";
1
+ export * from "./test-utils";