@croquiscom/pds 4.8.5 → 4.9.1

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,17 @@
1
1
  # @croquiscom/pds
2
2
 
3
+ ## 4.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 1bda41d: outlined button disabled 일때 스타일 수정
8
+
9
+ ## 4.9.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 3f27179: PageIndicator 컴포넌트 추가
14
+
3
15
  ## 4.8.5
4
16
 
5
17
  ### Patch Changes
@@ -12,5 +12,6 @@ export declare const StartIconWithColor: any;
12
12
  export declare const EndIcon: any;
13
13
  export declare const EndIconWithColor: any;
14
14
  export declare const Loading: any;
15
+ export declare const Disabled: any;
15
16
  export declare const FullWidth: any;
16
17
  export declare const Focus: ComponentStory<typeof Button>;
@@ -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;