formica-ui-lib 1.0.226 → 1.0.230

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.
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  export type ContentContainerMaxWidth = "sm" | "md" | "lg" | "xl" | "2xl" | "4xl" | "6xl";
3
- export type ContentContainerSpacing = "none" | "section" | "paddedSection" | "padded" | "preview" | "verticalPreview";
3
+ export type ContentContainerSpacing = "none" | "section" | "compactPaddedSection" | "paddedSection" | "padded" | "preview" | "verticalPreview";
4
4
  export type ContentContainerProps = {
5
5
  children?: React.ReactNode;
6
6
  className?: string;
@@ -1,5 +1,5 @@
1
1
  import type { SearchBarProps } from "../../searchbar/SearchBarProps";
2
- export type SearchFilterLayoutVariant = "default" | "category" | "wide";
2
+ export type SearchFilterLayoutVariant = "default" | "category" | "wide" | "full";
3
3
  export type SearchFilterProps = {
4
4
  searchBarProps: SearchBarProps;
5
5
  searchPlaceholder?: string;
@@ -8,10 +8,12 @@ export type FeaturedProductCarouselItem = {
8
8
  href?: string;
9
9
  rangeCode?: string;
10
10
  };
11
+ export type FeaturedProductsCarouselHeaderVariant = "default" | "compact";
11
12
  export type FeaturedProductsCarouselProps = {
12
13
  title?: string;
13
14
  body?: string;
14
15
  headerAlign?: "left" | "center";
16
+ headerVariant?: FeaturedProductsCarouselHeaderVariant;
15
17
  items: FeaturedProductCarouselItem[];
16
18
  onItemClick?: (item: FeaturedProductCarouselItem) => void;
17
19
  };
@@ -36,6 +36,8 @@ export type PurchasePanelTabOptionGroups = {
36
36
  gradeOptions?: PurchasePanelOptionProps[];
37
37
  textureOptions?: PurchasePanelOptionProps[];
38
38
  sizeOptions?: PurchasePanelOptionProps[];
39
+ minQuantity?: number;
40
+ maxQuantity?: number;
39
41
  };
40
42
  export type ProductVariantProps = {
41
43
  id: string;
@@ -1,5 +1,7 @@
1
1
  import type { RecentArticleCardProps } from "../../../molecules/cards/recentarticlecard/RecentArticleCardProps";
2
+ export type RecentArticleCollectionHeaderVariant = "default" | "compact";
2
3
  export interface RecentArticleCollectionProps {
3
4
  title?: string;
5
+ headerVariant?: RecentArticleCollectionHeaderVariant;
4
6
  items: RecentArticleCardProps[];
5
7
  }
@@ -102,6 +102,8 @@ export type ProductDetailPurchaseTabOptionIds = {
102
102
  productOptionIds?: string[];
103
103
  textureOptionIds?: string[];
104
104
  sizeOptionIds?: string[];
105
+ minQuantity?: number;
106
+ maxQuantity?: number;
105
107
  };
106
108
  export type ProductDetailPurchase = {
107
109
  defaults?: {
@@ -0,0 +1,24 @@
1
+ import type { SearchFilterProps } from "../../molecules/selectors/filterbar/SearchFilterProps";
2
+ import type { FeaturedProductCarouselItem } from "../../organisms/carousels/featureproductcarousel/FeaturedProductsCarouselProps";
3
+ import type { RecentArticleCardProps } from "../../molecules/cards/recentarticlecard/RecentArticleCardProps";
4
+ export type SearchResultsDecorResultsProps = {
5
+ title?: string;
6
+ items: FeaturedProductCarouselItem[];
7
+ visibleItemCount?: number;
8
+ viewMoreLabel?: string;
9
+ onItemClick?: (item: FeaturedProductCarouselItem) => void;
10
+ onViewMoreClick?: () => void;
11
+ };
12
+ export type SearchResultsResourceResultsProps = {
13
+ title?: string;
14
+ items: RecentArticleCardProps[];
15
+ visibleItemCount?: number;
16
+ viewMoreLabel?: string;
17
+ onViewMoreClick?: () => void;
18
+ };
19
+ export type SearchResultsTemplateProps = {
20
+ searchFilterProps: SearchFilterProps;
21
+ decorResultsProps?: SearchResultsDecorResultsProps;
22
+ resourceResultsProps?: SearchResultsResourceResultsProps;
23
+ noResultsMessage: string;
24
+ };