@m1kapp/kit 0.0.54 → 0.0.56
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 +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +4 -4
- package/dist/index.mjs +3 -3
- package/dist/meta.json +5 -5
- package/dist/pwa.d.mts +2 -2
- package/dist/pwa.d.ts +2 -2
- 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
|
@@ -825,8 +825,10 @@ interface ShareButtonProps {
|
|
|
825
825
|
appName?: string;
|
|
826
826
|
iconSrc?: string;
|
|
827
827
|
};
|
|
828
|
+
/** "ghost": 배경 없는 아이콘만(헤더용, label 은 aria-label 로). 기본 "chip"(연회색 알약) */
|
|
829
|
+
variant?: "chip" | "ghost";
|
|
828
830
|
}
|
|
829
|
-
declare function ShareButton({ url, title, text, label, copiedLabel, className, install, }: ShareButtonProps): react_jsx_runtime.JSX.Element;
|
|
831
|
+
declare function ShareButton({ url, title, text, label, copiedLabel, className, install, variant, }: ShareButtonProps): react_jsx_runtime.JSX.Element;
|
|
830
832
|
|
|
831
833
|
type ToastVariant = "default" | "success" | "error" | "info";
|
|
832
834
|
interface ToastOptions {
|
|
@@ -1735,8 +1737,8 @@ interface PWAInstallButtonProps {
|
|
|
1735
1737
|
/** Label shown when already installed. Default: undefined — button hidden */
|
|
1736
1738
|
installedLabel?: string;
|
|
1737
1739
|
className?: string;
|
|
1738
|
-
/** "chip": 헤더용 — ShareButton 과 같은 연회색 알약. 기본 "solid"(검은 버튼) */
|
|
1739
|
-
variant?: "solid" | "chip";
|
|
1740
|
+
/** "chip": 헤더용 — ShareButton 과 같은 연회색 알약. "ghost": 배경 없는 아이콘만(label 은 aria-label). 기본 "solid"(검은 버튼) */
|
|
1741
|
+
variant?: "solid" | "chip" | "ghost";
|
|
1740
1742
|
}
|
|
1741
1743
|
/**
|
|
1742
1744
|
* PWA install button that handles both Android and iOS.
|
package/dist/index.d.ts
CHANGED
|
@@ -825,8 +825,10 @@ interface ShareButtonProps {
|
|
|
825
825
|
appName?: string;
|
|
826
826
|
iconSrc?: string;
|
|
827
827
|
};
|
|
828
|
+
/** "ghost": 배경 없는 아이콘만(헤더용, label 은 aria-label 로). 기본 "chip"(연회색 알약) */
|
|
829
|
+
variant?: "chip" | "ghost";
|
|
828
830
|
}
|
|
829
|
-
declare function ShareButton({ url, title, text, label, copiedLabel, className, install, }: ShareButtonProps): react_jsx_runtime.JSX.Element;
|
|
831
|
+
declare function ShareButton({ url, title, text, label, copiedLabel, className, install, variant, }: ShareButtonProps): react_jsx_runtime.JSX.Element;
|
|
830
832
|
|
|
831
833
|
type ToastVariant = "default" | "success" | "error" | "info";
|
|
832
834
|
interface ToastOptions {
|
|
@@ -1735,8 +1737,8 @@ interface PWAInstallButtonProps {
|
|
|
1735
1737
|
/** Label shown when already installed. Default: undefined — button hidden */
|
|
1736
1738
|
installedLabel?: string;
|
|
1737
1739
|
className?: string;
|
|
1738
|
-
/** "chip": 헤더용 — ShareButton 과 같은 연회색 알약. 기본 "solid"(검은 버튼) */
|
|
1739
|
-
variant?: "solid" | "chip";
|
|
1740
|
+
/** "chip": 헤더용 — ShareButton 과 같은 연회색 알약. "ghost": 배경 없는 아이콘만(label 은 aria-label). 기본 "solid"(검은 버튼) */
|
|
1741
|
+
variant?: "solid" | "chip" | "ghost";
|
|
1740
1742
|
}
|
|
1741
1743
|
/**
|
|
1742
1744
|
* PWA install button that handles both Android and iOS.
|