@faststore/components 2.0.66-alpha.0 → 2.0.70-alpha.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.
- package/dist/assets/ArrowElbowDownRight.d.ts +3 -2
- package/dist/assets/ArrowElbowDownRight.js +3 -3
- package/dist/assets/ArrowElbowDownRight.js.map +1 -1
- package/dist/assets/DotsThree.d.ts +4 -0
- package/dist/assets/DotsThree.js +9 -0
- package/dist/assets/DotsThree.js.map +1 -0
- package/dist/assets/House.d.ts +3 -2
- package/dist/assets/House.js +1 -1
- package/dist/assets/House.js.map +1 -1
- package/dist/assets/IconProps.d.ts +3 -0
- package/dist/assets/IconProps.js +2 -0
- package/dist/assets/IconProps.js.map +1 -0
- package/dist/assets/index.d.ts +1 -0
- package/dist/assets/index.js +1 -0
- package/dist/assets/index.js.map +1 -1
- package/dist/atoms/Price/Price.d.ts +4 -0
- package/dist/atoms/Price/Price.js +5 -2
- package/dist/atoms/Price/Price.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/molecules/Breadcrumb/Breadcrumb.d.ts +5 -0
- package/dist/molecules/Breadcrumb/Breadcrumb.js +7 -0
- package/dist/molecules/Breadcrumb/Breadcrumb.js.map +1 -0
- package/dist/molecules/Breadcrumb/BreadcrumbBase.d.ts +77 -0
- package/dist/molecules/Breadcrumb/BreadcrumbBase.js +51 -0
- package/dist/molecules/Breadcrumb/BreadcrumbBase.js.map +1 -0
- package/dist/molecules/Breadcrumb/BreadcrumbPure.d.ts +23 -0
- package/dist/molecules/Breadcrumb/BreadcrumbPure.js +12 -0
- package/dist/molecules/Breadcrumb/BreadcrumbPure.js.map +1 -0
- package/dist/molecules/Breadcrumb/Divider.d.ts +4 -0
- package/dist/molecules/Breadcrumb/Divider.js +14 -0
- package/dist/molecules/Breadcrumb/Divider.js.map +1 -0
- package/dist/molecules/Breadcrumb/HomeLink.d.ts +3 -0
- package/dist/molecules/Breadcrumb/HomeLink.js +6 -0
- package/dist/molecules/Breadcrumb/HomeLink.js.map +1 -0
- package/dist/molecules/Breadcrumb/ListItem.d.ts +10 -0
- package/dist/molecules/Breadcrumb/ListItem.js +20 -0
- package/dist/molecules/Breadcrumb/ListItem.js.map +1 -0
- package/dist/molecules/Breadcrumb/index.d.ts +4 -0
- package/dist/molecules/Breadcrumb/index.js +3 -0
- package/dist/molecules/Breadcrumb/index.js.map +1 -0
- package/dist/molecules/ProductCard/ProductCardContent.js +2 -2
- package/dist/molecules/ProductCard/ProductCardContent.js.map +1 -1
- package/dist/molecules/SearchProductCard/SearchProductCard.d.ts +20 -0
- package/dist/molecules/SearchProductCard/SearchProductCard.js +8 -0
- package/dist/molecules/SearchProductCard/SearchProductCard.js.map +1 -0
- package/dist/molecules/SearchProductCard/SearchProductCardContent.d.ts +20 -0
- package/dist/molecules/SearchProductCard/SearchProductCardContent.js +11 -0
- package/dist/molecules/SearchProductCard/SearchProductCardContent.js.map +1 -0
- package/dist/molecules/SearchProductCard/SearchProductCardImage.d.ts +10 -0
- package/dist/molecules/SearchProductCard/SearchProductCardImage.js +6 -0
- package/dist/molecules/SearchProductCard/SearchProductCardImage.js.map +1 -0
- package/dist/molecules/SearchProductCard/index.d.ts +6 -0
- package/dist/molecules/SearchProductCard/index.js +4 -0
- package/dist/molecules/SearchProductCard/index.js.map +1 -0
- package/package.json +2 -2
- package/src/assets/ArrowElbowDownRight.tsx +5 -11
- package/src/assets/DotsThree.tsx +21 -0
- package/src/assets/House.tsx +4 -4
- package/src/assets/IconProps.ts +3 -0
- package/src/assets/index.ts +1 -0
- package/src/atoms/Price/Price.tsx +8 -0
- package/src/index.ts +18 -0
- package/src/molecules/Breadcrumb/Breadcrumb.tsx +17 -0
- package/src/molecules/Breadcrumb/BreadcrumbBase.tsx +165 -0
- package/src/molecules/Breadcrumb/BreadcrumbPure.tsx +59 -0
- package/src/molecules/Breadcrumb/Divider.tsx +18 -0
- package/src/molecules/Breadcrumb/HomeLink.tsx +15 -0
- package/src/molecules/Breadcrumb/ListItem.tsx +38 -0
- package/src/molecules/Breadcrumb/index.ts +4 -0
- package/src/molecules/ProductCard/ProductCardContent.tsx +2 -0
- package/src/molecules/SearchProductCard/SearchProductCard.tsx +54 -0
- package/src/molecules/SearchProductCard/SearchProductCardContent.tsx +51 -0
- package/src/molecules/SearchProductCard/SearchProductCardImage.tsx +31 -0
- package/src/molecules/SearchProductCard/index.ts +8 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'react'
|
|
2
|
+
import React, { forwardRef } from 'react'
|
|
3
|
+
|
|
4
|
+
export interface SearchProductCardImageProps
|
|
5
|
+
extends HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
/**
|
|
7
|
+
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
8
|
+
*/
|
|
9
|
+
testId?: string
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const SearchProductCardImage = forwardRef<
|
|
13
|
+
HTMLDivElement,
|
|
14
|
+
SearchProductCardImageProps
|
|
15
|
+
>(function SearchProductCardImage(
|
|
16
|
+
{ testId = 'fs-search-product-card-image', children, ...otherProps },
|
|
17
|
+
ref
|
|
18
|
+
) {
|
|
19
|
+
return (
|
|
20
|
+
<div
|
|
21
|
+
ref={ref}
|
|
22
|
+
data-fs-search-product-card-image
|
|
23
|
+
data-testid={testId}
|
|
24
|
+
{...otherProps}
|
|
25
|
+
>
|
|
26
|
+
{children}
|
|
27
|
+
</div>
|
|
28
|
+
)
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
export default SearchProductCardImage
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default } from './SearchProductCard'
|
|
2
|
+
export type { SearchProductCardProps } from './SearchProductCard'
|
|
3
|
+
|
|
4
|
+
export { default as SearchProductCardImage } from './SearchProductCardImage'
|
|
5
|
+
export type { SearchProductCardImageProps } from './SearchProductCardImage'
|
|
6
|
+
|
|
7
|
+
export { default as SearchProductCardContent } from './SearchProductCardContent'
|
|
8
|
+
export type { SearchProductCardContentProps } from './SearchProductCardContent'
|