@splpi/estore-shared-components 0.0.3 → 0.0.4
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.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3576,7 +3576,8 @@ var STEPS = [
|
|
|
3576
3576
|
];
|
|
3577
3577
|
var INSTALL_DIALOG_DISMISSED_KEY = "estore-install-dialog-dismissed";
|
|
3578
3578
|
function NotifyInstall({
|
|
3579
|
-
children
|
|
3579
|
+
children,
|
|
3580
|
+
appName
|
|
3580
3581
|
}) {
|
|
3581
3582
|
const { isInstalled, isMobile, canInstall, install } = useNotifyInstall();
|
|
3582
3583
|
const [isDismissed, setIsDismissed] = useState13(false);
|
|
@@ -3637,13 +3638,16 @@ function NotifyInstall({
|
|
|
3637
3638
|
}
|
|
3638
3639
|
),
|
|
3639
3640
|
/* @__PURE__ */ jsxs16(VStack8, { gap: 2, children: [
|
|
3640
|
-
/* @__PURE__ */
|
|
3641
|
+
/* @__PURE__ */ jsxs16(
|
|
3641
3642
|
Heading,
|
|
3642
3643
|
{
|
|
3643
3644
|
fontSize: { base: "lg", sm: "xl" },
|
|
3644
3645
|
fontWeight: "bold",
|
|
3645
3646
|
color: "gray.900",
|
|
3646
|
-
children:
|
|
3647
|
+
children: [
|
|
3648
|
+
"Install ",
|
|
3649
|
+
appName || "eStore"
|
|
3650
|
+
]
|
|
3647
3651
|
}
|
|
3648
3652
|
),
|
|
3649
3653
|
/* @__PURE__ */ jsx19(
|