@m1kapp/kit 0.0.51 → 0.0.52
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 +7 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/dist/meta.json +6 -6
- package/dist/pwa.d.mts +7 -3
- package/dist/pwa.d.ts +7 -3
- package/dist/pwa.js +2 -2
- package/dist/pwa.mjs +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1700,7 +1700,7 @@ interface CumulativeCurveProps {
|
|
|
1700
1700
|
/** 누적 성장 곡선 + 마일스톤 배지 + 다음 목표선. 방문자·판매·적립 총량류에. */
|
|
1701
1701
|
declare function CumulativeCurve({ daily, total, todayCount, accent, milestones, empty, className, }: CumulativeCurveProps): react_jsx_runtime.JSX.Element | null;
|
|
1702
1702
|
|
|
1703
|
-
type PWAInstallState = "android-ready" | "ios-safari" | "installed" | "unsupported";
|
|
1703
|
+
type PWAInstallState = "android-ready" | "ios-safari" | "in-app" | "installed" | "unsupported";
|
|
1704
1704
|
interface UsePWAInstallReturn {
|
|
1705
1705
|
state: PWAInstallState;
|
|
1706
1706
|
/** Android only — triggers the native install dialog */
|
|
@@ -1713,12 +1713,14 @@ interface IOSInstallSheetProps {
|
|
|
1713
1713
|
onClose(): void;
|
|
1714
1714
|
appName: string;
|
|
1715
1715
|
iconSrc?: string;
|
|
1716
|
+
/** "in-app": 인스타·카톡 안 브라우저 — 바깥 브라우저로 여는 법을 안내한다 */
|
|
1717
|
+
mode?: "safari" | "in-app";
|
|
1716
1718
|
}
|
|
1717
1719
|
/**
|
|
1718
1720
|
* Bottom-sheet guide for iOS "Add to Home Screen".
|
|
1719
1721
|
* Can also be used standalone if you need custom trigger UI.
|
|
1720
1722
|
*/
|
|
1721
|
-
declare function IOSInstallSheet({ open, onClose, appName, iconSrc }: IOSInstallSheetProps): React$1.ReactPortal | null;
|
|
1723
|
+
declare function IOSInstallSheet({ open, onClose, appName, iconSrc, mode }: IOSInstallSheetProps): React$1.ReactPortal | null;
|
|
1722
1724
|
|
|
1723
1725
|
interface PWAInstallButtonProps {
|
|
1724
1726
|
/** App name shown in iOS guide sheet */
|
|
@@ -1730,6 +1732,8 @@ interface PWAInstallButtonProps {
|
|
|
1730
1732
|
/** Label shown when already installed. Default: undefined — button hidden */
|
|
1731
1733
|
installedLabel?: string;
|
|
1732
1734
|
className?: string;
|
|
1735
|
+
/** "chip": 헤더용 — ShareButton 과 같은 연회색 알약. 기본 "solid"(검은 버튼) */
|
|
1736
|
+
variant?: "solid" | "chip";
|
|
1733
1737
|
}
|
|
1734
1738
|
/**
|
|
1735
1739
|
* PWA install button that handles both Android and iOS.
|
|
@@ -1742,7 +1746,7 @@ interface PWAInstallButtonProps {
|
|
|
1742
1746
|
* Usage:
|
|
1743
1747
|
* <PWAInstallButton appName="My App" iconSrc="/icon.png" />
|
|
1744
1748
|
*/
|
|
1745
|
-
declare function PWAInstallButton({ appName, iconSrc, label, installedLabel, className, }: PWAInstallButtonProps): react_jsx_runtime.JSX.Element | null;
|
|
1749
|
+
declare function PWAInstallButton({ appName, iconSrc, label, installedLabel, className, variant, }: PWAInstallButtonProps): react_jsx_runtime.JSX.Element | null;
|
|
1746
1750
|
|
|
1747
1751
|
/**
|
|
1748
1752
|
* Drop into <head> in your root layout to pre-load kit styles and
|
package/dist/index.d.ts
CHANGED
|
@@ -1700,7 +1700,7 @@ interface CumulativeCurveProps {
|
|
|
1700
1700
|
/** 누적 성장 곡선 + 마일스톤 배지 + 다음 목표선. 방문자·판매·적립 총량류에. */
|
|
1701
1701
|
declare function CumulativeCurve({ daily, total, todayCount, accent, milestones, empty, className, }: CumulativeCurveProps): react_jsx_runtime.JSX.Element | null;
|
|
1702
1702
|
|
|
1703
|
-
type PWAInstallState = "android-ready" | "ios-safari" | "installed" | "unsupported";
|
|
1703
|
+
type PWAInstallState = "android-ready" | "ios-safari" | "in-app" | "installed" | "unsupported";
|
|
1704
1704
|
interface UsePWAInstallReturn {
|
|
1705
1705
|
state: PWAInstallState;
|
|
1706
1706
|
/** Android only — triggers the native install dialog */
|
|
@@ -1713,12 +1713,14 @@ interface IOSInstallSheetProps {
|
|
|
1713
1713
|
onClose(): void;
|
|
1714
1714
|
appName: string;
|
|
1715
1715
|
iconSrc?: string;
|
|
1716
|
+
/** "in-app": 인스타·카톡 안 브라우저 — 바깥 브라우저로 여는 법을 안내한다 */
|
|
1717
|
+
mode?: "safari" | "in-app";
|
|
1716
1718
|
}
|
|
1717
1719
|
/**
|
|
1718
1720
|
* Bottom-sheet guide for iOS "Add to Home Screen".
|
|
1719
1721
|
* Can also be used standalone if you need custom trigger UI.
|
|
1720
1722
|
*/
|
|
1721
|
-
declare function IOSInstallSheet({ open, onClose, appName, iconSrc }: IOSInstallSheetProps): React$1.ReactPortal | null;
|
|
1723
|
+
declare function IOSInstallSheet({ open, onClose, appName, iconSrc, mode }: IOSInstallSheetProps): React$1.ReactPortal | null;
|
|
1722
1724
|
|
|
1723
1725
|
interface PWAInstallButtonProps {
|
|
1724
1726
|
/** App name shown in iOS guide sheet */
|
|
@@ -1730,6 +1732,8 @@ interface PWAInstallButtonProps {
|
|
|
1730
1732
|
/** Label shown when already installed. Default: undefined — button hidden */
|
|
1731
1733
|
installedLabel?: string;
|
|
1732
1734
|
className?: string;
|
|
1735
|
+
/** "chip": 헤더용 — ShareButton 과 같은 연회색 알약. 기본 "solid"(검은 버튼) */
|
|
1736
|
+
variant?: "solid" | "chip";
|
|
1733
1737
|
}
|
|
1734
1738
|
/**
|
|
1735
1739
|
* PWA install button that handles both Android and iOS.
|
|
@@ -1742,7 +1746,7 @@ interface PWAInstallButtonProps {
|
|
|
1742
1746
|
* Usage:
|
|
1743
1747
|
* <PWAInstallButton appName="My App" iconSrc="/icon.png" />
|
|
1744
1748
|
*/
|
|
1745
|
-
declare function PWAInstallButton({ appName, iconSrc, label, installedLabel, className, }: PWAInstallButtonProps): react_jsx_runtime.JSX.Element | null;
|
|
1749
|
+
declare function PWAInstallButton({ appName, iconSrc, label, installedLabel, className, variant, }: PWAInstallButtonProps): react_jsx_runtime.JSX.Element | null;
|
|
1746
1750
|
|
|
1747
1751
|
/**
|
|
1748
1752
|
* Drop into <head> in your root layout to pre-load kit styles and
|