1mpacto-react-ui 0.0.120 → 0.0.122

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,4 +1,4 @@
1
1
  import { IPaginationProps } from '../../interfaces/components/Pagination';
2
2
 
3
- declare const Pagination: ({ totalData, totalPage, pageNumber, pageSize, className, id, kind, prevIcon, nextIcon, onChange, optionPageSize, offset, zIndex, withOptionPageSize, }: IPaginationProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const Pagination: ({ totalData, totalPage, pageNumber, pageSize, className, id, kind, prevIcon, nextIcon, onChange, optionPageSize, offset, zIndex, withGotoPage, withMorePage, withOptionPageSize, }: IPaginationProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Pagination;
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react';
2
2
 
3
3
  declare const meta: {
4
4
  title: string;
5
- component: ({ totalData, totalPage, pageNumber, pageSize, className, id, kind, prevIcon, nextIcon, onChange, optionPageSize, offset, zIndex, withOptionPageSize, }: import('../../interfaces/components/Pagination').IPaginationProps) => import("react/jsx-runtime").JSX.Element;
5
+ component: ({ totalData, totalPage, pageNumber, pageSize, className, id, kind, prevIcon, nextIcon, onChange, optionPageSize, offset, zIndex, withGotoPage, withMorePage, withOptionPageSize, }: import('../../interfaces/components/Pagination').IPaginationProps) => import("react/jsx-runtime").JSX.Element;
6
6
  parameters: {
7
7
  layout: string;
8
8
  };
@@ -1,4 +1,4 @@
1
1
  import { ITabs } from '../../interfaces/components/Tabs';
2
2
 
3
- declare const Tabs: ({ id, value, keyValueTab, tabsList, className, classNameContainer, classNameButton, variant, size, borderRadius, disabled, animation, mountedExecuteChange, onChange, }: ITabs) => import("react/jsx-runtime").JSX.Element;
3
+ declare const Tabs: ({ id, value, keyValueTab, tabsList, className, classNameContainer, classNameButton, variant, size, borderRadius, disabled, animation, mountedExecuteChange, typeButton, onChange, }: ITabs) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Tabs;
@@ -19,4 +19,6 @@ export interface IPaginationProps extends IPagination {
19
19
  offset?: OffsetOptions;
20
20
  zIndex?: number | undefined | string;
21
21
  withOptionPageSize?: boolean;
22
+ withGotoPage?: boolean;
23
+ withMorePage?: boolean;
22
24
  }
@@ -24,6 +24,7 @@ export interface ITabs {
24
24
  animation?: boolean;
25
25
  mountedExecuteChange?: boolean;
26
26
  onChange?: (v: ITabsList) => void;
27
+ typeButton?: 'button' | 'submit';
27
28
  }
28
29
  export interface IStyleTabs {
29
30
  width: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "1mpacto-react-ui",
3
3
  "private": false,
4
- "version": "0.0.120",
4
+ "version": "0.0.122",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "copy:toastify-css": "cp ./node_modules/react-toastify/dist/ReactToastify.css ./dist/assets/toast.css",