@wayke-se/components-react 4.0.0-beta.7 → 4.0.0-beta.9
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/index.d.ts +5 -2
- package/dist/index.js +185 -185
- package/dist/index.js.map +3 -3
- package/dist/index.mjs +420 -420
- package/dist/index.mjs.map +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -529,6 +529,8 @@ declare module '@wayke-se/components-react/src/@types/search' {
|
|
|
529
529
|
format: string;
|
|
530
530
|
id: string;
|
|
531
531
|
url: string;
|
|
532
|
+
webp: string;
|
|
533
|
+
jpeg: string;
|
|
532
534
|
}
|
|
533
535
|
export interface File {
|
|
534
536
|
formats: Format[];
|
|
@@ -2101,11 +2103,12 @@ declare module '@wayke-se/components-react/src/components/PriceTable/wrapper' {
|
|
|
2101
2103
|
declare module '@wayke-se/components-react/src/components/ProductCard/index' {
|
|
2102
2104
|
import React from 'react';
|
|
2103
2105
|
import { ItemProps } from '@wayke-se/components-react/src/components/UspList/index';
|
|
2106
|
+
import { File } from '@wayke-se/components-react/src/@types/search';
|
|
2104
2107
|
interface Props {
|
|
2105
2108
|
id: string;
|
|
2106
2109
|
title: string;
|
|
2107
2110
|
href?: string;
|
|
2108
|
-
|
|
2111
|
+
imageFile?: File;
|
|
2109
2112
|
pathRoute?: string;
|
|
2110
2113
|
placeholderImage?: string;
|
|
2111
2114
|
description?: string;
|
|
@@ -2117,7 +2120,7 @@ declare module '@wayke-se/components-react/src/components/ProductCard/index' {
|
|
|
2117
2120
|
businessLeasingPrice?: string;
|
|
2118
2121
|
onClick?: (id: string) => void;
|
|
2119
2122
|
}
|
|
2120
|
-
const ProductCard: ({ id, title, href,
|
|
2123
|
+
const ProductCard: ({ id, title, href, imageFile, pathRoute, placeholderImage, branchName, description, uspList, price, oldPrice, leasingPrice, businessLeasingPrice, onClick, }: Props) => React.JSX.Element;
|
|
2121
2124
|
export default ProductCard;
|
|
2122
2125
|
|
|
2123
2126
|
}
|