@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.d.mts
CHANGED
|
@@ -140,8 +140,9 @@ type BottomQuickActionsProps = {
|
|
|
140
140
|
};
|
|
141
141
|
declare const BottomQuickActions: ({ open, onOpenChange, title, subtitle, headerSlot, actions, }: BottomQuickActionsProps) => react_jsx_runtime.JSX.Element;
|
|
142
142
|
|
|
143
|
-
declare function NotifyInstall({ children, }: {
|
|
143
|
+
declare function NotifyInstall({ children, appName, }: {
|
|
144
144
|
children: React.ReactNode;
|
|
145
|
+
appName: string;
|
|
145
146
|
}): string | number | bigint | boolean | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
146
147
|
|
|
147
148
|
type ColorModeValue = "light" | "dark";
|
package/dist/index.d.ts
CHANGED
|
@@ -140,8 +140,9 @@ type BottomQuickActionsProps = {
|
|
|
140
140
|
};
|
|
141
141
|
declare const BottomQuickActions: ({ open, onOpenChange, title, subtitle, headerSlot, actions, }: BottomQuickActionsProps) => react_jsx_runtime.JSX.Element;
|
|
142
142
|
|
|
143
|
-
declare function NotifyInstall({ children, }: {
|
|
143
|
+
declare function NotifyInstall({ children, appName, }: {
|
|
144
144
|
children: React.ReactNode;
|
|
145
|
+
appName: string;
|
|
145
146
|
}): string | number | bigint | boolean | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
146
147
|
|
|
147
148
|
type ColorModeValue = "light" | "dark";
|
package/dist/index.js
CHANGED
|
@@ -3535,7 +3535,8 @@ var STEPS = [
|
|
|
3535
3535
|
];
|
|
3536
3536
|
var INSTALL_DIALOG_DISMISSED_KEY = "estore-install-dialog-dismissed";
|
|
3537
3537
|
function NotifyInstall({
|
|
3538
|
-
children
|
|
3538
|
+
children,
|
|
3539
|
+
appName
|
|
3539
3540
|
}) {
|
|
3540
3541
|
const { isInstalled, isMobile, canInstall, install } = useNotifyInstall();
|
|
3541
3542
|
const [isDismissed, setIsDismissed] = (0, import_react32.useState)(false);
|
|
@@ -3596,13 +3597,16 @@ function NotifyInstall({
|
|
|
3596
3597
|
}
|
|
3597
3598
|
),
|
|
3598
3599
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_react33.VStack, { gap: 2, children: [
|
|
3599
|
-
/* @__PURE__ */ (0, import_jsx_runtime19.
|
|
3600
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
3600
3601
|
import_react33.Heading,
|
|
3601
3602
|
{
|
|
3602
3603
|
fontSize: { base: "lg", sm: "xl" },
|
|
3603
3604
|
fontWeight: "bold",
|
|
3604
3605
|
color: "gray.900",
|
|
3605
|
-
children:
|
|
3606
|
+
children: [
|
|
3607
|
+
"Install ",
|
|
3608
|
+
appName || "eStore"
|
|
3609
|
+
]
|
|
3606
3610
|
}
|
|
3607
3611
|
),
|
|
3608
3612
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|