@shipengine/elements 0.32.1 → 0.33.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.
@@ -129,6 +129,9 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
129
129
  confirmAddress: string;
130
130
  description: string;
131
131
  };
132
+ blackBox: {
133
+ description: string;
134
+ };
132
135
  };
133
136
  };
134
137
  settings: {
@@ -546,6 +549,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
546
549
  accountSettings: string;
547
550
  carrier: string;
548
551
  carriers: string;
552
+ connectingCarriers: string;
549
553
  data: string;
550
554
  importingSalesOrder: string;
551
555
  label: string;
@@ -586,6 +590,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
586
590
  allMeasurementsOrNone: string;
587
591
  };
588
592
  invalidAddressName: string;
593
+ invalidAddressNameStrict: string;
589
594
  invalidAddressPoBox: string;
590
595
  invalidCreditCardType: string;
591
596
  invalidExpiration: string;
@@ -114,6 +114,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
114
114
  confirmAddress: string;
115
115
  description: string;
116
116
  };
117
+ blackBox: {
118
+ description: string;
119
+ };
117
120
  };
118
121
  };
119
122
  settings: {
@@ -531,6 +534,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
531
534
  accountSettings: string;
532
535
  carrier: string;
533
536
  carriers: string;
537
+ connectingCarriers: string;
534
538
  data: string;
535
539
  importingSalesOrder: string;
536
540
  label: string;
@@ -571,6 +575,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
571
575
  allMeasurementsOrNone: string;
572
576
  };
573
577
  invalidAddressName: string;
578
+ invalidAddressNameStrict: string;
574
579
  invalidAddressPoBox: string;
575
580
  invalidCreditCardType: string;
576
581
  invalidExpiration: string;
@@ -117,6 +117,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
117
117
  confirmAddress: string;
118
118
  description: string;
119
119
  };
120
+ blackBox: {
121
+ description: string;
122
+ };
120
123
  };
121
124
  };
122
125
  settings: {
@@ -534,6 +537,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
534
537
  accountSettings: string;
535
538
  carrier: string;
536
539
  carriers: string;
540
+ connectingCarriers: string;
537
541
  data: string;
538
542
  importingSalesOrder: string;
539
543
  label: string;
@@ -574,6 +578,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
574
578
  allMeasurementsOrNone: string;
575
579
  };
576
580
  invalidAddressName: string;
581
+ invalidAddressNameStrict: string;
577
582
  invalidAddressPoBox: string;
578
583
  invalidCreditCardType: string;
579
584
  invalidExpiration: string;
@@ -6,3 +6,4 @@ export * from "./use-root-portal";
6
6
  export * from "./use-run-once-on-true";
7
7
  export * from "./use-toggle";
8
8
  export * from "./use-address-validation";
9
+ export * from "./use-black-box-detection";
@@ -0,0 +1,23 @@
1
+ export type BlackBoxDetectionProps = {
2
+ onError: () => void;
3
+ onSuccess: (blackbox: string) => void;
4
+ };
5
+ type IoBlackBox = () => {
6
+ blackbox: string;
7
+ finished: boolean;
8
+ };
9
+ declare global {
10
+ interface Window {
11
+ io_enable_rip?: boolean;
12
+ io_exclude_stm?: number;
13
+ io_install_flash?: boolean;
14
+ io_install_stm?: boolean;
15
+ }
16
+ let ioGetBlackbox: IoBlackBox | undefined;
17
+ }
18
+ /**
19
+ * Creates an encoded device fingerprint string - aka black box - containing information about the end-user's computing device such as OS, browser, etc.
20
+ * https://developer.bazaarvoice.com/conversations-api/deprecations/iovation-web#snare_js_only
21
+ */
22
+ export declare const useBlackboxDetection: ({ onSuccess, onError }: BlackBoxDetectionProps) => void;
23
+ export {};
@@ -101,6 +101,9 @@ declare const _default: {
101
101
  confirmAddress: string;
102
102
  description: string;
103
103
  };
104
+ blackBox: {
105
+ description: string;
106
+ };
104
107
  };
105
108
  };
106
109
  settings: {
@@ -518,6 +521,7 @@ declare const _default: {
518
521
  accountSettings: string;
519
522
  carrier: string;
520
523
  carriers: string;
524
+ connectingCarriers: string;
521
525
  data: string;
522
526
  importingSalesOrder: string;
523
527
  label: string;
@@ -558,6 +562,7 @@ declare const _default: {
558
562
  allMeasurementsOrNone: string;
559
563
  };
560
564
  invalidAddressName: string;
565
+ invalidAddressNameStrict: string;
561
566
  invalidAddressPoBox: string;
562
567
  invalidCreditCardType: string;
563
568
  invalidExpiration: string;
@@ -1,4 +1,4 @@
1
1
  import { MatcherOptions, queryHelpers } from "@testing-library/react";
2
- import { IconNames } from "@packlink/brands";
2
+ import { IconNames } from "@packlink/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]>;