formica-ui-lib 1.0.203 → 1.0.206

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.
@@ -6,6 +6,7 @@ export type CustomerTypeOption = "Commercial" | "Residential";
6
6
  export type BrandNavBarProps = {
7
7
  brands?: BrandNavItem[];
8
8
  showProPortalSelector?: boolean;
9
+ isNorthAmerica?: boolean;
9
10
  selectedCustomerType?: CustomerTypeOption;
10
11
  onBrandClick?: (brand: BrandNavItem) => void;
11
12
  onCustomerTypeChange?: (value: CustomerTypeOption) => void;
@@ -39,7 +39,6 @@ export type TopNavLogo = {
39
39
  };
40
40
  export type TopNavBarProps = {
41
41
  NavMenuWithSubItems?: NavItem[];
42
- Countries?: Country[];
43
42
  countries?: Country[];
44
43
  selectedCountry?: Country | null;
45
44
  Login?: TopNavLogin;
@@ -6,7 +6,7 @@ export type SwatchOption = ButtonGridItem & {
6
6
  value: string;
7
7
  disabled?: boolean;
8
8
  active?: boolean;
9
- onClick?: () => void;
9
+ onOptionClick?: () => void;
10
10
  };
11
11
  export type SwatchPurchasePanelLeftPanelNavigateMeta = {
12
12
  kind: "availability" | "returnPolicy";
@@ -35,7 +35,7 @@ export type SwatchPurchasePanelLeftPanelProps = {
35
35
  notReturnableText?: string;
36
36
  returnPolicyHref?: string;
37
37
  returnPolicyLabel?: string;
38
- onNavigate?: (href: string, meta?: SwatchPurchasePanelLeftPanelNavigateMeta) => void;
38
+ onPurchaseInfoLinkClick?: (href: string, meta?: SwatchPurchasePanelLeftPanelNavigateMeta) => void;
39
39
  priceLabel?: string;
40
40
  initialQuantity?: number;
41
41
  minQuantity?: number;
@@ -1,12 +1,9 @@
1
+ import type { SwatchPurchasePanelCarousel } from "../../cart/purchasepanel/PurchasePanelRightPanelProps";
1
2
  export type SwatchPurchasePanelTab = "Sample" | "Buy Now" | string;
2
3
  export type SwatchPurchasePanelNavigateMeta = {
3
4
  kind: "availability" | "returnPolicy";
4
5
  };
5
- export type SwatchPurchasePanelCarouselProps = {
6
- slides: any[];
7
- initialIndex?: number;
8
- text?: string;
9
- };
6
+ export type SwatchPurchasePanelCarouselProps = SwatchPurchasePanelCarousel;
10
7
  export type AddToFavoritesPayloadProps = {
11
8
  sku?: string;
12
9
  decor?: string;
@@ -17,7 +14,7 @@ export type SwatchPurchasePanelOptionProps = {
17
14
  disabled?: boolean;
18
15
  value?: string;
19
16
  active?: boolean;
20
- onClick?: (id: string) => void;
17
+ onOptionClick?: (id: string) => void;
21
18
  };
22
19
  export type CartOrderProps = {
23
20
  type: SwatchPurchasePanelTab;
@@ -85,7 +82,7 @@ export type SwatchPurchasePanelProps = {
85
82
  returnPolicyHref?: string;
86
83
  returnPolicyLabel?: string;
87
84
  notReturnableText?: string;
88
- onNavigate?: (href: string, meta?: SwatchPurchasePanelNavigateMeta) => void;
85
+ onPurchaseInfoLinkClick?: (href: string, meta?: SwatchPurchasePanelNavigateMeta) => void;
89
86
  };
90
87
  export type GroupName = "product" | "grade" | "texture" | "size";
91
88
  export type SelectedState = Record<GroupName, string | null>;
@@ -3,7 +3,7 @@ import type { MultiButtonBarProps } from "../../molecules/selectors/multibuttonb
3
3
  import type { FilterBarProps } from "../../molecules/selectors/filterbar/FilterBarProps";
4
4
  import type { DropdownFilterProps } from "../../molecules/selectors/filterbar/DropdownFilterProps";
5
5
  import type { ImageGridProps } from "../../organisms/grids/imagegrid/ImageGridProps";
6
- export type GallerySceneProps = {
6
+ export type GalleryTemplateProps = {
7
7
  standardCopyHeroProps: StandardCopyHeroProps;
8
8
  multiButtonBarProps: MultiButtonBarProps;
9
9
  filterBarProps: FilterBarProps;