@producteca/producteca-ui-kit 1.19.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;
@@ -69,6 +69,16 @@ declare const _default: {
69
69
  saveButtonProps: string;
70
70
  cancelButtonProps: string;
71
71
  previousButtonProps: string;
72
+ withoutBorder: string;
73
+ saveChanges: string;
74
+ discard: string;
75
+ confirm: string;
76
+ verifySaveButtonOnly: string;
77
+ verifyInitialRendering: string;
78
+ clickSaveButton: string;
79
+ clickCancelButton: string;
80
+ clickPreviousButton: string;
81
+ clickSaveButtonOnly: string;
72
82
  };
73
83
  formField: {
74
84
  example: string;
@@ -208,5 +218,10 @@ declare const _default: {
208
218
  warning: string;
209
219
  dontShowAgain: string;
210
220
  };
221
+ tab: {
222
+ tab1: string;
223
+ tab2: string;
224
+ tab3: string;
225
+ };
211
226
  };
212
227
  export default _default;