@rebuy/rebuy 3.28.1 → 3.29.1
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.cjs +7 -3
- package/dist/index.mjs +7 -3
- package/dist/server/index.cjs +347 -142
- package/dist/server/index.mjs +347 -142
- package/dist/transforms/index.cjs +222 -17
- package/dist/transforms/index.mjs +222 -17
- package/dist/transforms/offerV1/offerTemplateSeed.d.ts +8 -5
- package/dist/transforms/postPurchase/convertImageBlock.d.ts +4 -0
- package/dist/transforms/postPurchase/convertImageContentBlock.d.ts +7 -0
- package/dist/transforms/postPurchase/convertImageContentText.d.ts +5 -0
- package/dist/transforms/postPurchase/convertImageFrame.d.ts +9 -0
- package/dist/transforms/postPurchase/convertMessagePreview.d.ts +3 -3
- package/dist/transforms/postPurchase/convertProductInformation.d.ts +4 -0
- package/dist/transforms/postPurchase/imageContentSettings.d.ts +50 -0
- package/dist/transforms/postPurchase/sizeImageSource.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4603,7 +4603,7 @@ var OFFER_TEMPLATE_SEED = {
|
|
|
4603
4603
|
marks: [
|
|
4604
4604
|
{
|
|
4605
4605
|
attrs: {
|
|
4606
|
-
color: "
|
|
4606
|
+
color: "base",
|
|
4607
4607
|
fontSize: "medium"
|
|
4608
4608
|
},
|
|
4609
4609
|
type: "textStyle"
|
|
@@ -4817,9 +4817,13 @@ var buildPriceContent = () => ({
|
|
|
4817
4817
|
content: [
|
|
4818
4818
|
{
|
|
4819
4819
|
content: [
|
|
4820
|
-
/**
|
|
4820
|
+
/**
|
|
4821
|
+
* Regular text color, not legacy's `<Text appearance="accent">`: the checkout's web components
|
|
4822
|
+
* can't render app text in the accent color, and `accent`'s nearest tint shows default blue on
|
|
4823
|
+
* most stores (REB-24049).
|
|
4824
|
+
*/
|
|
4821
4825
|
{
|
|
4822
|
-
marks: [{ attrs: { color: "
|
|
4826
|
+
marks: [{ attrs: { color: "base", fontSize: "base" }, type: "textStyle" }],
|
|
4823
4827
|
text: "{{variantPrice}}",
|
|
4824
4828
|
type: "text"
|
|
4825
4829
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -4277,7 +4277,7 @@ var OFFER_TEMPLATE_SEED = {
|
|
|
4277
4277
|
marks: [
|
|
4278
4278
|
{
|
|
4279
4279
|
attrs: {
|
|
4280
|
-
color: "
|
|
4280
|
+
color: "base",
|
|
4281
4281
|
fontSize: "medium"
|
|
4282
4282
|
},
|
|
4283
4283
|
type: "textStyle"
|
|
@@ -4491,9 +4491,13 @@ var buildPriceContent = () => ({
|
|
|
4491
4491
|
content: [
|
|
4492
4492
|
{
|
|
4493
4493
|
content: [
|
|
4494
|
-
/**
|
|
4494
|
+
/**
|
|
4495
|
+
* Regular text color, not legacy's `<Text appearance="accent">`: the checkout's web components
|
|
4496
|
+
* can't render app text in the accent color, and `accent`'s nearest tint shows default blue on
|
|
4497
|
+
* most stores (REB-24049).
|
|
4498
|
+
*/
|
|
4495
4499
|
{
|
|
4496
|
-
marks: [{ attrs: { color: "
|
|
4500
|
+
marks: [{ attrs: { color: "base", fontSize: "base" }, type: "textStyle" }],
|
|
4497
4501
|
text: "{{variantPrice}}",
|
|
4498
4502
|
type: "text"
|
|
4499
4503
|
},
|