@croquiscom/pds 4.8.5 → 4.9.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @croquiscom/pds
2
2
 
3
+ ## 4.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 3f27179: PageIndicator 컴포넌트 추가
8
+
3
9
  ## 4.8.5
4
10
 
5
11
  ### Patch Changes
@@ -24,6 +24,7 @@ export * from './banner';
24
24
  export * from './tabs';
25
25
  export * from './date-picker';
26
26
  export * from './time-picker';
27
+ export * from './page-indicator';
27
28
  export * from './pagination';
28
29
  export * from './file-upload';
29
30
  export * from './table';
@@ -0,0 +1,8 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ export interface PageIndicatorProps extends HTMLAttributes<HTMLDivElement> {
3
+ disabled?: boolean;
4
+ totalPages: number;
5
+ currentPage: number;
6
+ onChangePage?: (page: number) => void;
7
+ }
8
+ export declare const PageIndicator: React.FC<PageIndicatorProps>;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.FC<import("./PageIndicator").PageIndicatorProps>>;
4
+ export default _default;
5
+ export declare const Base: any;
6
+ export declare const Disabled: any;
@@ -0,0 +1,8 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ export interface PageIndicatorItemProps extends Omit<HTMLAttributes<HTMLButtonElement>, 'onClick'> {
3
+ page: number;
4
+ isSelected?: boolean;
5
+ onClick?: (page: number) => void;
6
+ disabled?: boolean;
7
+ }
8
+ export declare const PageIndicatorItem: React.ForwardRefExoticComponent<PageIndicatorItemProps & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1 @@
1
+ export * from './PageIndicator';
@@ -0,0 +1,2 @@
1
+ export declare const page_indicator_item_base_css: import("@emotion/utils").SerializedStyles;
2
+ export declare const page_indicator_item_selected_css: import("@emotion/utils").SerializedStyles;