@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.
- package/dist/components/chip/chip.d.ts +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/tabs/index.d.ts +2 -0
- package/dist/components/tabs/tabs.d.ts +17 -0
- package/dist/locales/es.d.ts +15 -0
- package/dist/producteca-ui-kit.es.js +9294 -9210
- package/dist/producteca-ui-kit.umd.js +116 -116
- package/dist/style.css +1 -1
- package/package.json +13 -19
|
@@ -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;
|
package/dist/locales/es.d.ts
CHANGED
|
@@ -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;
|