formica-ui-lib 1.0.218 → 1.0.220
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.
- package/dist/componentProps/molecules/productinformation/colourmatchingchart/ColourMatchingChartProps.d.ts +10 -0
- package/dist/componentProps/organisms/cart/purchasepanel/PurchasePanelLeftPanelProps.d.ts +2 -0
- package/dist/componentProps/organisms/cart/purchasepanel/PurchasePanelProps.d.ts +2 -0
- package/dist/componentProps/organisms/sections/productinformationsection/ProductInformationSectionProps.d.ts +2 -0
- package/dist/componentProps/templates/productdetailpagetemplate/ProductDetailPageTemplateProps.d.ts +3 -0
- package/dist/index.cjs +7 -7
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1235 -1176
- package/dist/stories/molecules/productinformation/colourmatchingchart/ColourMatchingChart.d.ts +4 -0
- package/dist/stories/molecules/productinformation/colourmatchingchart/ColourMatchingChart.test.d.ts +1 -0
- package/dist/tailwind.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type ColourMatchingChartValue = string | number;
|
|
2
|
+
export type ColourMatchingChartCode = "LRV" | "RAL" | "NCS";
|
|
3
|
+
export type ColourMatchingChartData = {
|
|
4
|
+
lrv?: ColourMatchingChartValue | null;
|
|
5
|
+
ral?: ColourMatchingChartValue | null;
|
|
6
|
+
ncs?: ColourMatchingChartValue | null;
|
|
7
|
+
};
|
|
8
|
+
export type ColourMatchingChartProps = {
|
|
9
|
+
colourMatching?: ColourMatchingChartData;
|
|
10
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ButtonGridItem } from "../../../molecules/buttons/buttongrid/ButtonGridProps";
|
|
2
2
|
import type { ReactNode } from "react";
|
|
3
|
+
import type { ColourMatchingChartData } from "../../../molecules/productinformation/colourmatchingchart/ColourMatchingChartProps";
|
|
3
4
|
export type SwatchPurchasePanelTab = "Sample" | "Buy Now" | string;
|
|
4
5
|
export type SwatchOption = ButtonGridItem & {
|
|
5
6
|
id: string;
|
|
@@ -17,6 +18,7 @@ export type PurchasePanelLeftPanelProps = {
|
|
|
17
18
|
title?: string;
|
|
18
19
|
decor?: string;
|
|
19
20
|
description?: string;
|
|
21
|
+
colourMatching?: ColourMatchingChartData;
|
|
20
22
|
patternRepeat?: string;
|
|
21
23
|
onDownloadSwatch?: () => void;
|
|
22
24
|
onDownloadFullSheet?: () => void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { SwatchPurchasePanelCarousel } from "./PurchasePanelRightPanelProps";
|
|
2
|
+
import type { ColourMatchingChartData } from "../../../molecules/productinformation/colourmatchingchart/ColourMatchingChartProps";
|
|
2
3
|
export type PurchasePanelTab = "Sample" | "Buy Now" | string;
|
|
3
4
|
export type SwatchPurchasePanelNavigateMeta = {
|
|
4
5
|
kind: "availability" | "returnPolicy";
|
|
@@ -59,6 +60,7 @@ export type PurchasePanelProps = {
|
|
|
59
60
|
decor?: string;
|
|
60
61
|
title: string;
|
|
61
62
|
description?: string;
|
|
63
|
+
colourMatching?: ColourMatchingChartData;
|
|
62
64
|
patternRepeat?: string;
|
|
63
65
|
onDownloadSwatch?: () => void;
|
|
64
66
|
onDownloadFullSheet?: () => void;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import type { ColourMatchingChartData } from "../../../molecules/productinformation/colourmatchingchart/ColourMatchingChartProps";
|
|
2
3
|
export type ProductInformationTabKey = "details" | "texture" | "sizeAndGrade";
|
|
3
4
|
export type ProductDetailsData = {
|
|
4
5
|
summary?: string;
|
|
5
6
|
content?: React.ReactNode;
|
|
7
|
+
colourMatching?: ColourMatchingChartData;
|
|
6
8
|
};
|
|
7
9
|
export type TextureItem = {
|
|
8
10
|
key: string;
|
package/dist/componentProps/templates/productdetailpagetemplate/ProductDetailPageTemplateProps.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BreadcrumbsProps } from "../../molecules/selectors/breadcrumb/BreadcrumbsProps";
|
|
2
2
|
import { ProductInformationTabKey, SizeAndGradeDefinition } from "../../organisms/sections/productinformationsection/ProductInformationSectionProps";
|
|
3
3
|
import { CartFlyoutProps } from "../../organisms/cart/cartflyout/CartFlyoutProps";
|
|
4
|
+
import type { ColourMatchingChartData } from "../../molecules/productinformation/colourmatchingchart/ColourMatchingChartProps";
|
|
4
5
|
export type ProductDetailSimpleOption = {
|
|
5
6
|
id: string;
|
|
6
7
|
label: string;
|
|
@@ -30,6 +31,7 @@ export type ProductDetailProduct = {
|
|
|
30
31
|
title?: string;
|
|
31
32
|
brand?: string;
|
|
32
33
|
description?: string;
|
|
34
|
+
colourMatching?: ColourMatchingChartData;
|
|
33
35
|
sku?: string;
|
|
34
36
|
patternRepeat?: string;
|
|
35
37
|
currency?: string;
|
|
@@ -76,6 +78,7 @@ export type ProductDetailRange = {
|
|
|
76
78
|
details?: {
|
|
77
79
|
summary?: string;
|
|
78
80
|
content?: string;
|
|
81
|
+
colourMatching?: ColourMatchingChartData;
|
|
79
82
|
};
|
|
80
83
|
texture?: {
|
|
81
84
|
groups?: ProductDetailTextureGroup[];
|