@m1kapp/kit 0.0.45 → 0.0.46
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 +1 -23
- package/dist/index.d.ts +1 -23
- package/dist/index.js +4 -9
- package/dist/index.mjs +4 -9
- package/dist/meta.json +4 -16
- package/dist/next.d.mts +23 -0
- package/dist/next.d.ts +23 -0
- package/dist/next.js +2 -0
- package/dist/next.mjs +2 -0
- package/dist/pwa.d.mts +1 -23
- package/dist/pwa.d.ts +1 -23
- package/dist/pwa.js +2 -2
- package/dist/pwa.mjs +2 -2
- package/package.json +6 -1
package/dist/index.d.mts
CHANGED
|
@@ -1736,28 +1736,6 @@ interface PWAInstallButtonProps {
|
|
|
1736
1736
|
*/
|
|
1737
1737
|
declare function PWAInstallButton({ appName, iconSrc, label, installedLabel, className, }: PWAInstallButtonProps): react_jsx_runtime.JSX.Element | null;
|
|
1738
1738
|
|
|
1739
|
-
declare function markTabNavigation(): void;
|
|
1740
|
-
/**
|
|
1741
|
-
* 뒤로가기 스크롤 복원 (Next 전용 — usePathname/useSearchParams 를 쓴다).
|
|
1742
|
-
*
|
|
1743
|
-
* AppShell 앱의 스크롤은 window 가 아니라 AppShellContent 의 내부 컨테이너
|
|
1744
|
-
* (`.tab-scroll`)에서 일어나서 브라우저 기본 복원이 안 먹는다 — URL 별 스크롤
|
|
1745
|
-
* 위치를 sessionStorage 에 저장해 두고 다시 그 URL 로 돌아오면 되돌린다.
|
|
1746
|
-
* 레이아웃에 한 번 두면 된다: `<Suspense><ScrollRestorer /></Suspense>`
|
|
1747
|
-
* (useSearchParams 때문에 Suspense 경계가 필요하다).
|
|
1748
|
-
*
|
|
1749
|
-
* 까다로운 점: 목록에서 상세(다른 레이아웃)로 갔다 돌아오면 컨테이너가 통째로
|
|
1750
|
-
* 새로 생기는데, 그 순간엔 목록이 아직 덜 그려져 높이가 부족하다. 그냥 scrollTop 을
|
|
1751
|
-
* 한 번 넣으면 잘려서(클램프) 맨 위로 튄다. 그래서 콘텐츠가 목표 높이에 도달할
|
|
1752
|
-
* 때까지 짧게 재시도하고(ResizeObserver + rAF), 복원 중엔 저장을 멈춘다(잘린
|
|
1753
|
-
* 위치가 좋은 값을 덮어쓰지 않도록). 사용자가 실제로 스크롤하면 즉시 포기한다.
|
|
1754
|
-
*
|
|
1755
|
-
* ytcc 에서 실전 검증된 코드를 그대로 올렸다.
|
|
1756
|
-
*/
|
|
1757
|
-
declare function ScrollRestorer({ selector }: {
|
|
1758
|
-
selector?: string;
|
|
1759
|
-
}): null;
|
|
1760
|
-
|
|
1761
1739
|
/**
|
|
1762
1740
|
* Drop into <head> in your root layout to pre-load kit styles and
|
|
1763
1741
|
* prevent the JS injection from re-running (eliminates FOUC).
|
|
@@ -2021,4 +1999,4 @@ declare function watermarkTint(accentHex: string, { saturation, lightness }?: {
|
|
|
2021
1999
|
lightness?: number | undefined;
|
|
2022
2000
|
}): string;
|
|
2023
2001
|
|
|
2024
|
-
export { APP_SHELL_HEADER_HEIGHT, ActionCard, type ActionCardLabels, type ActionCardProps, type ActionCardState, type ApiClient, type ApiClientOptions, ApiError, AppShell, AppShellContent, type AppShellContentProps, AppShellHeader, type AppShellHeaderProps, type AppShellProps, AsyncList, type AsyncListProps, type AsyncListStatus, Avatar, type AvatarProps, Badge, type BadgeProps, BarList, type BarListItem, type BarListProps, Button, type ButtonProps, Carousel, type CarouselProps, ChatBubble, type ChatBubbleProps, type ChatMessage, type ChatRole, CodeBlock, type CodeBlockProps, Collapsible, type CollapsibleProps, type ColorName, ColorPicker, type ColorPickerProps, ColumnChart, type ColumnChartProps, type ColumnDatum, CopyButton, type CopyButtonProps, Countdown, type CountdownLabels, type CountdownProps, CumulativeCurve, type CumulativeCurveProps, type DateCount, type DayGroup, Dialog, type DialogProps, Divider, type DividerProps, DuoBar, type DuoBarProps, type DuoBarSide, EmojiButton, type EmojiButtonProps, EmojiPicker, type EmojiPickerLabels, type EmojiPickerProps, EmptyState, type EmptyStateProps, EvidenceDialog, type EvidenceDialogProps, Fab, type FabProps, FetchProgress, type FetchProgressProps, Field, type FieldProps, FontLinks, type FontName, GrassMap, type GrassMapData, type GrassMapLabels, type GrassMapProps, IOSInstallSheet, IconButton, type IconButtonProps, Img, type ImgProps, InAppSheet, type InAppSheetProps, InlineEdit, type InlineEditProps, Input, type InputProps, type IsoDuration, KitStyles, LinkifiedText, type LinkifiedTextProps, ListRow, type ListRowProps, MediaCard, type MediaCardProps, MessageList, type MessageListProps, PWAInstallButton, type PWAInstallState, PoweredByKit, type PoweredByKitProps, ProgressRing, type ProgressRingProps,
|
|
2002
|
+
export { APP_SHELL_HEADER_HEIGHT, ActionCard, type ActionCardLabels, type ActionCardProps, type ActionCardState, type ApiClient, type ApiClientOptions, ApiError, AppShell, AppShellContent, type AppShellContentProps, AppShellHeader, type AppShellHeaderProps, type AppShellProps, AsyncList, type AsyncListProps, type AsyncListStatus, Avatar, type AvatarProps, Badge, type BadgeProps, BarList, type BarListItem, type BarListProps, Button, type ButtonProps, Carousel, type CarouselProps, ChatBubble, type ChatBubbleProps, type ChatMessage, type ChatRole, CodeBlock, type CodeBlockProps, Collapsible, type CollapsibleProps, type ColorName, ColorPicker, type ColorPickerProps, ColumnChart, type ColumnChartProps, type ColumnDatum, CopyButton, type CopyButtonProps, Countdown, type CountdownLabels, type CountdownProps, CumulativeCurve, type CumulativeCurveProps, type DateCount, type DayGroup, Dialog, type DialogProps, Divider, type DividerProps, DuoBar, type DuoBarProps, type DuoBarSide, EmojiButton, type EmojiButtonProps, EmojiPicker, type EmojiPickerLabels, type EmojiPickerProps, EmptyState, type EmptyStateProps, EvidenceDialog, type EvidenceDialogProps, Fab, type FabProps, FetchProgress, type FetchProgressProps, Field, type FieldProps, FontLinks, type FontName, GrassMap, type GrassMapData, type GrassMapLabels, type GrassMapProps, IOSInstallSheet, IconButton, type IconButtonProps, Img, type ImgProps, InAppSheet, type InAppSheetProps, InlineEdit, type InlineEditProps, Input, type InputProps, type IsoDuration, KitStyles, LinkifiedText, type LinkifiedTextProps, ListRow, type ListRowProps, MediaCard, type MediaCardProps, MessageList, type MessageListProps, PWAInstallButton, type PWAInstallState, PoweredByKit, type PoweredByKitProps, ProgressRing, type ProgressRingProps, Section, SectionHeader, type SectionHeaderProps, type SectionProps, type SegmentOption, SegmentedControl, type SegmentedControlProps, Select, type SelectOption, type SelectProps, ShareButton, type ShareButtonProps, Skeleton, type SkeletonProps, StatChip, type StatChipProps, type Step, Stepper, type StepperProps, Switch, type SwitchProps, THEME_SCRIPT, Tab, TabBar, type TabBarProps, type TabProps, type TabRootProps, Textarea, type TextareaProps, ThemeButton, type ThemeButtonProps, ThemeDialog, type ThemeDialogLabels, type ThemeDialogProps, type ToastOptions, ToastProvider, type ToastVariant, Tooltip, type TooltipProps, Typewriter, type TypewriterProps, TypingIndicator, type TypingIndicatorProps, type UnderlineTab, UnderlineTabs, type UnderlineTabsProps, type UseFetchOptions, type UseFetchResult, type UseFormSubmitOptions, type UseFormSubmitResult, type UseInViewOptions, type UseInViewResult, type UsePWAInstallReturn, type UsePollingOptions, type UsePollingResult, type UseShareOptions, type UseShareReturn, Watermark, type WatermarkProps, type WatermarkSponsor, clearFetchCache, cn, colors, createApiClient, createManifest, fillDateSeries, fontFamily, fonts, formatDayLabel, formatDollarEok, formatDuration, formatKoreanNumber, formatNumber, formatPrice, formatWon, formatWonTight, getFetchActiveCount, groupByDay, invalidateFetch, isKstToday, isoDurationToSec, isoWeekOfStart, kstDayOfMonth, kstMidnight, kstNowParts, kstToday, kstWeekLabel, kstWeekParam, kstWeekTitle, matchesQuery, mobileViewport, parseIsoDuration, particle, postJson, relativeTime, startOfKstWeek, subscribeFetchActivity, svgIcon, toChoseong, toKst, useCopy, useDebounce, useEscapeKey, useFetch, useFocusTrap, useFormSubmit, useImageLoader, useInView, useLocalStorage, usePWAInstall, usePolling, usePortalTarget, useScrollLock, useShare, useToast, watermarkTint, weeksAgoFromKstWeekParam, withParticle };
|
package/dist/index.d.ts
CHANGED
|
@@ -1736,28 +1736,6 @@ interface PWAInstallButtonProps {
|
|
|
1736
1736
|
*/
|
|
1737
1737
|
declare function PWAInstallButton({ appName, iconSrc, label, installedLabel, className, }: PWAInstallButtonProps): react_jsx_runtime.JSX.Element | null;
|
|
1738
1738
|
|
|
1739
|
-
declare function markTabNavigation(): void;
|
|
1740
|
-
/**
|
|
1741
|
-
* 뒤로가기 스크롤 복원 (Next 전용 — usePathname/useSearchParams 를 쓴다).
|
|
1742
|
-
*
|
|
1743
|
-
* AppShell 앱의 스크롤은 window 가 아니라 AppShellContent 의 내부 컨테이너
|
|
1744
|
-
* (`.tab-scroll`)에서 일어나서 브라우저 기본 복원이 안 먹는다 — URL 별 스크롤
|
|
1745
|
-
* 위치를 sessionStorage 에 저장해 두고 다시 그 URL 로 돌아오면 되돌린다.
|
|
1746
|
-
* 레이아웃에 한 번 두면 된다: `<Suspense><ScrollRestorer /></Suspense>`
|
|
1747
|
-
* (useSearchParams 때문에 Suspense 경계가 필요하다).
|
|
1748
|
-
*
|
|
1749
|
-
* 까다로운 점: 목록에서 상세(다른 레이아웃)로 갔다 돌아오면 컨테이너가 통째로
|
|
1750
|
-
* 새로 생기는데, 그 순간엔 목록이 아직 덜 그려져 높이가 부족하다. 그냥 scrollTop 을
|
|
1751
|
-
* 한 번 넣으면 잘려서(클램프) 맨 위로 튄다. 그래서 콘텐츠가 목표 높이에 도달할
|
|
1752
|
-
* 때까지 짧게 재시도하고(ResizeObserver + rAF), 복원 중엔 저장을 멈춘다(잘린
|
|
1753
|
-
* 위치가 좋은 값을 덮어쓰지 않도록). 사용자가 실제로 스크롤하면 즉시 포기한다.
|
|
1754
|
-
*
|
|
1755
|
-
* ytcc 에서 실전 검증된 코드를 그대로 올렸다.
|
|
1756
|
-
*/
|
|
1757
|
-
declare function ScrollRestorer({ selector }: {
|
|
1758
|
-
selector?: string;
|
|
1759
|
-
}): null;
|
|
1760
|
-
|
|
1761
1739
|
/**
|
|
1762
1740
|
* Drop into <head> in your root layout to pre-load kit styles and
|
|
1763
1741
|
* prevent the JS injection from re-running (eliminates FOUC).
|
|
@@ -2021,4 +1999,4 @@ declare function watermarkTint(accentHex: string, { saturation, lightness }?: {
|
|
|
2021
1999
|
lightness?: number | undefined;
|
|
2022
2000
|
}): string;
|
|
2023
2001
|
|
|
2024
|
-
export { APP_SHELL_HEADER_HEIGHT, ActionCard, type ActionCardLabels, type ActionCardProps, type ActionCardState, type ApiClient, type ApiClientOptions, ApiError, AppShell, AppShellContent, type AppShellContentProps, AppShellHeader, type AppShellHeaderProps, type AppShellProps, AsyncList, type AsyncListProps, type AsyncListStatus, Avatar, type AvatarProps, Badge, type BadgeProps, BarList, type BarListItem, type BarListProps, Button, type ButtonProps, Carousel, type CarouselProps, ChatBubble, type ChatBubbleProps, type ChatMessage, type ChatRole, CodeBlock, type CodeBlockProps, Collapsible, type CollapsibleProps, type ColorName, ColorPicker, type ColorPickerProps, ColumnChart, type ColumnChartProps, type ColumnDatum, CopyButton, type CopyButtonProps, Countdown, type CountdownLabels, type CountdownProps, CumulativeCurve, type CumulativeCurveProps, type DateCount, type DayGroup, Dialog, type DialogProps, Divider, type DividerProps, DuoBar, type DuoBarProps, type DuoBarSide, EmojiButton, type EmojiButtonProps, EmojiPicker, type EmojiPickerLabels, type EmojiPickerProps, EmptyState, type EmptyStateProps, EvidenceDialog, type EvidenceDialogProps, Fab, type FabProps, FetchProgress, type FetchProgressProps, Field, type FieldProps, FontLinks, type FontName, GrassMap, type GrassMapData, type GrassMapLabels, type GrassMapProps, IOSInstallSheet, IconButton, type IconButtonProps, Img, type ImgProps, InAppSheet, type InAppSheetProps, InlineEdit, type InlineEditProps, Input, type InputProps, type IsoDuration, KitStyles, LinkifiedText, type LinkifiedTextProps, ListRow, type ListRowProps, MediaCard, type MediaCardProps, MessageList, type MessageListProps, PWAInstallButton, type PWAInstallState, PoweredByKit, type PoweredByKitProps, ProgressRing, type ProgressRingProps,
|
|
2002
|
+
export { APP_SHELL_HEADER_HEIGHT, ActionCard, type ActionCardLabels, type ActionCardProps, type ActionCardState, type ApiClient, type ApiClientOptions, ApiError, AppShell, AppShellContent, type AppShellContentProps, AppShellHeader, type AppShellHeaderProps, type AppShellProps, AsyncList, type AsyncListProps, type AsyncListStatus, Avatar, type AvatarProps, Badge, type BadgeProps, BarList, type BarListItem, type BarListProps, Button, type ButtonProps, Carousel, type CarouselProps, ChatBubble, type ChatBubbleProps, type ChatMessage, type ChatRole, CodeBlock, type CodeBlockProps, Collapsible, type CollapsibleProps, type ColorName, ColorPicker, type ColorPickerProps, ColumnChart, type ColumnChartProps, type ColumnDatum, CopyButton, type CopyButtonProps, Countdown, type CountdownLabels, type CountdownProps, CumulativeCurve, type CumulativeCurveProps, type DateCount, type DayGroup, Dialog, type DialogProps, Divider, type DividerProps, DuoBar, type DuoBarProps, type DuoBarSide, EmojiButton, type EmojiButtonProps, EmojiPicker, type EmojiPickerLabels, type EmojiPickerProps, EmptyState, type EmptyStateProps, EvidenceDialog, type EvidenceDialogProps, Fab, type FabProps, FetchProgress, type FetchProgressProps, Field, type FieldProps, FontLinks, type FontName, GrassMap, type GrassMapData, type GrassMapLabels, type GrassMapProps, IOSInstallSheet, IconButton, type IconButtonProps, Img, type ImgProps, InAppSheet, type InAppSheetProps, InlineEdit, type InlineEditProps, Input, type InputProps, type IsoDuration, KitStyles, LinkifiedText, type LinkifiedTextProps, ListRow, type ListRowProps, MediaCard, type MediaCardProps, MessageList, type MessageListProps, PWAInstallButton, type PWAInstallState, PoweredByKit, type PoweredByKitProps, ProgressRing, type ProgressRingProps, Section, SectionHeader, type SectionHeaderProps, type SectionProps, type SegmentOption, SegmentedControl, type SegmentedControlProps, Select, type SelectOption, type SelectProps, ShareButton, type ShareButtonProps, Skeleton, type SkeletonProps, StatChip, type StatChipProps, type Step, Stepper, type StepperProps, Switch, type SwitchProps, THEME_SCRIPT, Tab, TabBar, type TabBarProps, type TabProps, type TabRootProps, Textarea, type TextareaProps, ThemeButton, type ThemeButtonProps, ThemeDialog, type ThemeDialogLabels, type ThemeDialogProps, type ToastOptions, ToastProvider, type ToastVariant, Tooltip, type TooltipProps, Typewriter, type TypewriterProps, TypingIndicator, type TypingIndicatorProps, type UnderlineTab, UnderlineTabs, type UnderlineTabsProps, type UseFetchOptions, type UseFetchResult, type UseFormSubmitOptions, type UseFormSubmitResult, type UseInViewOptions, type UseInViewResult, type UsePWAInstallReturn, type UsePollingOptions, type UsePollingResult, type UseShareOptions, type UseShareReturn, Watermark, type WatermarkProps, type WatermarkSponsor, clearFetchCache, cn, colors, createApiClient, createManifest, fillDateSeries, fontFamily, fonts, formatDayLabel, formatDollarEok, formatDuration, formatKoreanNumber, formatNumber, formatPrice, formatWon, formatWonTight, getFetchActiveCount, groupByDay, invalidateFetch, isKstToday, isoDurationToSec, isoWeekOfStart, kstDayOfMonth, kstMidnight, kstNowParts, kstToday, kstWeekLabel, kstWeekParam, kstWeekTitle, matchesQuery, mobileViewport, parseIsoDuration, particle, postJson, relativeTime, startOfKstWeek, subscribeFetchActivity, svgIcon, toChoseong, toKst, useCopy, useDebounce, useEscapeKey, useFetch, useFocusTrap, useFormSubmit, useImageLoader, useInView, useLocalStorage, usePWAInstall, usePolling, usePortalTarget, useScrollLock, useShare, useToast, watermarkTint, weeksAgoFromKstWeekParam, withParticle };
|