@1d1s/design-system 0.1.10 → 0.1.12

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.
@@ -1 +1,3 @@
1
- export declare function GlobalChrome(): React.ReactElement | null;
1
+ export declare function GlobalChrome({ pathname: propPathname }?: {
2
+ pathname?: string;
3
+ }): React.ReactElement | null;
@@ -4,4 +4,6 @@ declare const meta: Meta<typeof GlobalChrome>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof GlobalChrome>;
6
6
  export declare const Default: Story;
7
+ export declare const Mobile: Story;
8
+ export declare const Desktop: Story;
7
9
  export declare const BackOnly: Story;
@@ -0,0 +1,14 @@
1
+ import * as React from "react";
2
+ export interface PaginationProps {
3
+ /** 현재 페이지 (1부터 시작) */
4
+ currentPage: number;
5
+ /** 총 페이지 수 */
6
+ totalPages: number;
7
+ /** 페이지 변경 핸들러 */
8
+ onPageChange: (page: number) => void;
9
+ /** 현재 페이지 양옆에 보여줄 페이지 개수 */
10
+ siblingCount?: number;
11
+ /** 추가 클래스 */
12
+ className?: string;
13
+ }
14
+ export declare function Pagination({ currentPage, totalPages, onPageChange, siblingCount, className, }: PaginationProps): React.ReactElement | null;
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Pagination } from './Pagination';
3
+ declare const meta: Meta<typeof Pagination>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Pagination>;
6
+ export declare const Default: Story;
7
+ export declare const Short: Story;
8
+ export declare const ManyPages: Story;
9
+ export declare const MobileView: Story;
@@ -0,0 +1 @@
1
+ export * from './Pagination';
@@ -20,6 +20,7 @@ export * from './Menu';
20
20
  export * from './PageBackground';
21
21
  export * from './PageTitle';
22
22
  export * from './PageWatermark';
23
+ export * from './Pagination';
23
24
  export * from './ProfileCard';
24
25
  export * from './Spacing';
25
26
  export * from './Tag';