@shop-prompter/react 1.1.0 → 1.1.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/CHANGELOG.md +6 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/shop-prompter.component.jsx +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -2025,7 +2025,7 @@ function ShopPrompter(props) {
|
|
|
2025
2025
|
...styles2.welcomeDescription,
|
|
2026
2026
|
fontFamily: themeObj().fontFamily || styles2.welcomeDescription.fontFamily
|
|
2027
2027
|
},
|
|
2028
|
-
children: ((_c = agentExperience == null ? void 0 : agentExperience.greeting) == null ? void 0 : _c.
|
|
2028
|
+
children: ((_c = agentExperience == null ? void 0 : agentExperience.greeting) == null ? void 0 : _c.message) || TRANSLATIONS.welcomeDescription
|
|
2029
2029
|
}
|
|
2030
2030
|
),
|
|
2031
2031
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { style: styles2.buttonContainer, children: (_d = prompts()) == null ? void 0 : _d.map((item) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
package/dist/index.mjs
CHANGED
|
@@ -1989,7 +1989,7 @@ function ShopPrompter(props) {
|
|
|
1989
1989
|
...styles2.welcomeDescription,
|
|
1990
1990
|
fontFamily: themeObj().fontFamily || styles2.welcomeDescription.fontFamily
|
|
1991
1991
|
},
|
|
1992
|
-
children: ((_c = agentExperience == null ? void 0 : agentExperience.greeting) == null ? void 0 : _c.
|
|
1992
|
+
children: ((_c = agentExperience == null ? void 0 : agentExperience.greeting) == null ? void 0 : _c.message) || TRANSLATIONS.welcomeDescription
|
|
1993
1993
|
}
|
|
1994
1994
|
),
|
|
1995
1995
|
/* @__PURE__ */ jsx4("div", { style: styles2.buttonContainer, children: (_d = prompts()) == null ? void 0 : _d.map((item) => /* @__PURE__ */ jsx4(
|
package/package.json
CHANGED
|
@@ -1152,7 +1152,7 @@ function ShopPrompter(props) {
|
|
|
1152
1152
|
styles.welcomeDescription.fontFamily,
|
|
1153
1153
|
}}
|
|
1154
1154
|
>
|
|
1155
|
-
{agentExperience?.greeting?.
|
|
1155
|
+
{agentExperience?.greeting?.message ||
|
|
1156
1156
|
TRANSLATIONS.welcomeDescription}
|
|
1157
1157
|
</p>
|
|
1158
1158
|
<div style={styles.buttonContainer}>
|