@faststore/components 2.1.57 → 2.1.67
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.
|
@@ -5,7 +5,7 @@ const ProductTitle = forwardRef(function ProductTitle({ title, label, refTag = '
|
|
|
5
5
|
React.createElement("div", { "data-fs-product-title-header": true },
|
|
6
6
|
title,
|
|
7
7
|
!!label && label),
|
|
8
|
-
(refNumber || ratingValue) && (React.createElement("
|
|
8
|
+
(refNumber || ratingValue) && (React.createElement("div", { "data-fs-product-title-addendum": true },
|
|
9
9
|
ratingValue && React.createElement(Rating, { value: ratingValue }),
|
|
10
10
|
refNumber && (React.createElement(React.Fragment, null,
|
|
11
11
|
refTag,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductTitle.js","sourceRoot":"","sources":["../../../src/molecules/ProductTitle/ProductTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAkB,MAAM,OAAO,CAAA;AAGzD,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA8B/B,MAAM,YAAY,GAAG,UAAU,CAC7B,SAAS,YAAY,CACnB,EACE,KAAK,EACL,KAAK,EACL,MAAM,GAAG,QAAQ,EACjB,SAAS,EACT,MAAM,GAAG,kBAAkB,EAC3B,WAAW,EACX,GAAG,UAAU,EACd,EACD,GAAG;IAEH,OAAO,CACL,gCACE,GAAG,EAAE,GAAG,gDAEK,MAAM,KACf,UAAU;QAEd;YACG,KAAK;YACL,CAAC,CAAC,KAAK,IAAI,KAAK,CACb;QAEL,CAAC,SAAS,IAAI,WAAW,CAAC,IAAI,CAC7B;YACG,WAAW,IAAI,oBAAC,MAAM,IAAC,KAAK,EAAE,WAAW,GAAI;YAC7C,SAAS,IAAI,CACZ;gBACG,MAAM;;gBAAG,SAAS,CAClB,CACJ,
|
|
1
|
+
{"version":3,"file":"ProductTitle.js","sourceRoot":"","sources":["../../../src/molecules/ProductTitle/ProductTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAkB,MAAM,OAAO,CAAA;AAGzD,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA8B/B,MAAM,YAAY,GAAG,UAAU,CAC7B,SAAS,YAAY,CACnB,EACE,KAAK,EACL,KAAK,EACL,MAAM,GAAG,QAAQ,EACjB,SAAS,EACT,MAAM,GAAG,kBAAkB,EAC3B,WAAW,EACX,GAAG,UAAU,EACd,EACD,GAAG;IAEH,OAAO,CACL,gCACE,GAAG,EAAE,GAAG,gDAEK,MAAM,KACf,UAAU;QAEd;YACG,KAAK;YACL,CAAC,CAAC,KAAK,IAAI,KAAK,CACb;QAEL,CAAC,SAAS,IAAI,WAAW,CAAC,IAAI,CAC7B;YACG,WAAW,IAAI,oBAAC,MAAM,IAAC,KAAK,EAAE,WAAW,GAAI;YAC7C,SAAS,IAAI,CACZ;gBACG,MAAM;;gBAAG,SAAS,CAClB,CACJ,CACG,CACP,CACM,CACV,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,YAAY,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/components",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.67",
|
|
4
4
|
"module": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"author": "Emerson Laurentino @emersonlaurentino",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"node": "16.18.0",
|
|
31
31
|
"yarn": "1.19.1"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "0352b95e7422c5623328c0068f9dc35819539177"
|
|
34
34
|
}
|
|
@@ -57,14 +57,14 @@ const ProductTitle = forwardRef<HTMLElement, ProductTitleProps>(
|
|
|
57
57
|
</div>
|
|
58
58
|
|
|
59
59
|
{(refNumber || ratingValue) && (
|
|
60
|
-
<
|
|
60
|
+
<div data-fs-product-title-addendum>
|
|
61
61
|
{ratingValue && <Rating value={ratingValue} />}
|
|
62
62
|
{refNumber && (
|
|
63
63
|
<>
|
|
64
64
|
{refTag} {refNumber}
|
|
65
65
|
</>
|
|
66
66
|
)}
|
|
67
|
-
</
|
|
67
|
+
</div>
|
|
68
68
|
)}
|
|
69
69
|
</header>
|
|
70
70
|
)
|