@producteca/producteca-ui-kit 1.20.0 → 1.21.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.
@@ -1,4 +1,4 @@
1
- type ChipVariant = 'primary' | 'success' | 'error' | 'secondary' | 'grey';
1
+ type ChipVariant = 'primary' | 'success' | 'error' | 'secondary' | 'grey' | 'tab';
2
2
  type ChipSize = 'sm' | 'lg';
3
3
  export interface ChipProps {
4
4
  text?: string;
@@ -10,3 +10,4 @@ export * from './image';
10
10
  export * from './breadcrumb';
11
11
  export * from './menuAction';
12
12
  export * from './modals';
13
+ export * from './tabs';
@@ -0,0 +1,2 @@
1
+ export { Tabs } from './tabs';
2
+ export type { TabsProps, TabItem } from './tabs';
@@ -0,0 +1,17 @@
1
+ import { default as React } from 'react';
2
+
3
+ export interface TabItem {
4
+ id: string;
5
+ label: React.ReactNode;
6
+ disabled?: boolean;
7
+ onClick?: () => void;
8
+ }
9
+ export interface TabsProps {
10
+ items: TabItem[];
11
+ value?: string;
12
+ defaultValue?: string;
13
+ onChange?: (id: string) => void;
14
+ className?: string;
15
+ }
16
+ export declare const Tabs: React.FC<TabsProps>;
17
+ export default Tabs;
@@ -218,5 +218,10 @@ declare const _default: {
218
218
  warning: string;
219
219
  dontShowAgain: string;
220
220
  };
221
+ tab: {
222
+ tab1: string;
223
+ tab2: string;
224
+ tab3: string;
225
+ };
221
226
  };
222
227
  export default _default;