@croquiscom/pds 4.8.4 → 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 +12 -0
- package/dist/components/icons/generated/BoxKakaotalkShopping.d.ts +4 -0
- package/dist/components/icons/generated/index.d.ts +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/page-indicator/PageIndicator.d.ts +8 -0
- package/dist/components/page-indicator/PageIndicator.stories.d.ts +6 -0
- package/dist/components/page-indicator/PageIndicatorItem.d.ts +8 -0
- package/dist/components/page-indicator/index.d.ts +1 -0
- package/dist/components/page-indicator/styles.d.ts +2 -0
- package/dist/index.es.js +5 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/icons/generated/BoxTalkstore.d.ts +0 -4
- /package/assets/icons/{BoxTalkstore.svg → BoxKakaotalkShopping.svg} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -35,11 +35,11 @@ export { default as IconBoxGlobal } from './BoxGlobal';
|
|
|
35
35
|
export { default as IconBoxGraphDownFill } from './BoxGraphDownFill';
|
|
36
36
|
export { default as IconBoxHome } from './BoxHome';
|
|
37
37
|
export { default as IconBoxJapan } from './BoxJapan';
|
|
38
|
+
export { default as IconBoxKakaotalkShopping } from './BoxKakaotalkShopping';
|
|
38
39
|
export { default as IconBoxKorea } from './BoxKorea';
|
|
39
40
|
export { default as IconBoxMystore } from './BoxMystore';
|
|
40
41
|
export { default as IconBoxPosty } from './BoxPosty';
|
|
41
42
|
export { default as IconBoxReturn } from './BoxReturn';
|
|
42
|
-
export { default as IconBoxTalkstore } from './BoxTalkstore';
|
|
43
43
|
export { default as IconBoxUsa } from './BoxUsa';
|
|
44
44
|
export { default as IconBoxX } from './BoxX';
|
|
45
45
|
export { default as IconBoxZigzag } from './BoxZigzag';
|
|
@@ -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';
|