@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.
Files changed (76) hide show
  1. package/dist/assets/ArrowElbowDownRight.d.ts +3 -2
  2. package/dist/assets/ArrowElbowDownRight.js +3 -3
  3. package/dist/assets/ArrowElbowDownRight.js.map +1 -1
  4. package/dist/assets/DotsThree.d.ts +4 -0
  5. package/dist/assets/DotsThree.js +9 -0
  6. package/dist/assets/DotsThree.js.map +1 -0
  7. package/dist/assets/House.d.ts +3 -2
  8. package/dist/assets/House.js +1 -1
  9. package/dist/assets/House.js.map +1 -1
  10. package/dist/assets/IconProps.d.ts +3 -0
  11. package/dist/assets/IconProps.js +2 -0
  12. package/dist/assets/IconProps.js.map +1 -0
  13. package/dist/assets/index.d.ts +1 -0
  14. package/dist/assets/index.js +1 -0
  15. package/dist/assets/index.js.map +1 -1
  16. package/dist/atoms/Price/Price.d.ts +4 -0
  17. package/dist/atoms/Price/Price.js +5 -2
  18. package/dist/atoms/Price/Price.js.map +1 -1
  19. package/dist/index.d.ts +4 -0
  20. package/dist/index.js +2 -0
  21. package/dist/index.js.map +1 -1
  22. package/dist/molecules/Breadcrumb/Breadcrumb.d.ts +5 -0
  23. package/dist/molecules/Breadcrumb/Breadcrumb.js +7 -0
  24. package/dist/molecules/Breadcrumb/Breadcrumb.js.map +1 -0
  25. package/dist/molecules/Breadcrumb/BreadcrumbBase.d.ts +77 -0
  26. package/dist/molecules/Breadcrumb/BreadcrumbBase.js +51 -0
  27. package/dist/molecules/Breadcrumb/BreadcrumbBase.js.map +1 -0
  28. package/dist/molecules/Breadcrumb/BreadcrumbPure.d.ts +23 -0
  29. package/dist/molecules/Breadcrumb/BreadcrumbPure.js +12 -0
  30. package/dist/molecules/Breadcrumb/BreadcrumbPure.js.map +1 -0
  31. package/dist/molecules/Breadcrumb/Divider.d.ts +4 -0
  32. package/dist/molecules/Breadcrumb/Divider.js +14 -0
  33. package/dist/molecules/Breadcrumb/Divider.js.map +1 -0
  34. package/dist/molecules/Breadcrumb/HomeLink.d.ts +3 -0
  35. package/dist/molecules/Breadcrumb/HomeLink.js +6 -0
  36. package/dist/molecules/Breadcrumb/HomeLink.js.map +1 -0
  37. package/dist/molecules/Breadcrumb/ListItem.d.ts +10 -0
  38. package/dist/molecules/Breadcrumb/ListItem.js +20 -0
  39. package/dist/molecules/Breadcrumb/ListItem.js.map +1 -0
  40. package/dist/molecules/Breadcrumb/index.d.ts +4 -0
  41. package/dist/molecules/Breadcrumb/index.js +3 -0
  42. package/dist/molecules/Breadcrumb/index.js.map +1 -0
  43. package/dist/molecules/ProductCard/ProductCardContent.js +2 -2
  44. package/dist/molecules/ProductCard/ProductCardContent.js.map +1 -1
  45. package/dist/molecules/SearchProductCard/SearchProductCard.d.ts +20 -0
  46. package/dist/molecules/SearchProductCard/SearchProductCard.js +8 -0
  47. package/dist/molecules/SearchProductCard/SearchProductCard.js.map +1 -0
  48. package/dist/molecules/SearchProductCard/SearchProductCardContent.d.ts +20 -0
  49. package/dist/molecules/SearchProductCard/SearchProductCardContent.js +11 -0
  50. package/dist/molecules/SearchProductCard/SearchProductCardContent.js.map +1 -0
  51. package/dist/molecules/SearchProductCard/SearchProductCardImage.d.ts +10 -0
  52. package/dist/molecules/SearchProductCard/SearchProductCardImage.js +6 -0
  53. package/dist/molecules/SearchProductCard/SearchProductCardImage.js.map +1 -0
  54. package/dist/molecules/SearchProductCard/index.d.ts +6 -0
  55. package/dist/molecules/SearchProductCard/index.js +4 -0
  56. package/dist/molecules/SearchProductCard/index.js.map +1 -0
  57. package/package.json +2 -2
  58. package/src/assets/ArrowElbowDownRight.tsx +5 -11
  59. package/src/assets/DotsThree.tsx +21 -0
  60. package/src/assets/House.tsx +4 -4
  61. package/src/assets/IconProps.ts +3 -0
  62. package/src/assets/index.ts +1 -0
  63. package/src/atoms/Price/Price.tsx +8 -0
  64. package/src/index.ts +18 -0
  65. package/src/molecules/Breadcrumb/Breadcrumb.tsx +17 -0
  66. package/src/molecules/Breadcrumb/BreadcrumbBase.tsx +165 -0
  67. package/src/molecules/Breadcrumb/BreadcrumbPure.tsx +59 -0
  68. package/src/molecules/Breadcrumb/Divider.tsx +18 -0
  69. package/src/molecules/Breadcrumb/HomeLink.tsx +15 -0
  70. package/src/molecules/Breadcrumb/ListItem.tsx +38 -0
  71. package/src/molecules/Breadcrumb/index.ts +4 -0
  72. package/src/molecules/ProductCard/ProductCardContent.tsx +2 -0
  73. package/src/molecules/SearchProductCard/SearchProductCard.tsx +54 -0
  74. package/src/molecules/SearchProductCard/SearchProductCardContent.tsx +51 -0
  75. package/src/molecules/SearchProductCard/SearchProductCardImage.tsx +31 -0
  76. 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'