@medixdeck/ui 0.1.15 → 0.1.16
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 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +646 -644
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +22 -0
- package/dist/sw.js +12 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1936,10 +1936,11 @@ export declare interface ProgressProps extends BoxProps {
|
|
|
1936
1936
|
* appName="MedixDeck"
|
|
1937
1937
|
* title="Install MedixDeck"
|
|
1938
1938
|
* description="Get faster access and offline support."
|
|
1939
|
+
* delaySeconds={5}
|
|
1939
1940
|
* />
|
|
1940
1941
|
* ```
|
|
1941
1942
|
*/
|
|
1942
|
-
export declare function PWAInstallPrompt({ title, description, installLabel, dismissLabel, cooldownDays, onInstall, onDismiss, appName, icon, position, forceVisible, forceIOS, }: PWAInstallPromptProps): JSX_2.Element;
|
|
1943
|
+
export declare function PWAInstallPrompt({ title, description, installLabel, dismissLabel, cooldownDays, onInstall, onDismiss, appName, icon, position, delaySeconds, forceVisible, forceIOS, }: PWAInstallPromptProps): JSX_2.Element;
|
|
1943
1944
|
|
|
1944
1945
|
export declare namespace PWAInstallPrompt {
|
|
1945
1946
|
var displayName: string;
|
|
@@ -1975,6 +1976,11 @@ export declare interface PWAInstallPromptProps {
|
|
|
1975
1976
|
* @default "bottom"
|
|
1976
1977
|
*/
|
|
1977
1978
|
position?: "top" | "bottom";
|
|
1979
|
+
/**
|
|
1980
|
+
* Number of seconds to delay the prompt after the conditions are met.
|
|
1981
|
+
* @default 0
|
|
1982
|
+
*/
|
|
1983
|
+
delaySeconds?: number;
|
|
1978
1984
|
/**
|
|
1979
1985
|
* For documentation/storybook purposes. Forces the banner to be visible.
|
|
1980
1986
|
*/
|