@producteca/producteca-ui-kit 1.38.0 → 1.39.1
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/index.d.js +2 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/link/index.d.js +2 -0
- package/dist/components/link/index.d.ts +2 -0
- package/dist/components/link/link.d.js +1 -0
- package/dist/components/link/link.d.ts +16 -0
- package/dist/locales/es.d.ts +15 -0
- package/dist/producteca-ui-kit.es.js +66 -66
- package/dist/producteca-ui-kit.umd.js +9 -9
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
type LinkSize = 'sm' | 'md' | 'lg';
|
|
4
|
+
type LinkDecoration = 'none' | 'underline';
|
|
5
|
+
type LinkWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
|
|
6
|
+
export interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
7
|
+
size?: LinkSize;
|
|
8
|
+
decoration?: LinkDecoration;
|
|
9
|
+
weight?: LinkWeight;
|
|
10
|
+
href: string;
|
|
11
|
+
onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
export declare const Link: React.MemoExoticComponent<({ size, decoration, weight, href, onClick, children, ...props }: LinkProps) => import("react/jsx-runtime").JSX.Element>;
|
|
15
|
+
export type { LinkSize, LinkDecoration, LinkWeight };
|
|
16
|
+
export default Link;
|
package/dist/locales/es.d.ts
CHANGED
|
@@ -273,5 +273,20 @@ declare const _default: {
|
|
|
273
273
|
itemsDescription: string;
|
|
274
274
|
itemsSummary: string;
|
|
275
275
|
};
|
|
276
|
+
link: {
|
|
277
|
+
label: string;
|
|
278
|
+
size: string;
|
|
279
|
+
decoration: string;
|
|
280
|
+
weight: string;
|
|
281
|
+
href: string;
|
|
282
|
+
onClick: string;
|
|
283
|
+
children: string;
|
|
284
|
+
default: string;
|
|
285
|
+
small: string;
|
|
286
|
+
medium: string;
|
|
287
|
+
large: string;
|
|
288
|
+
withUnderline: string;
|
|
289
|
+
exampleIntegrationName: string;
|
|
290
|
+
};
|
|
276
291
|
};
|
|
277
292
|
export default _default;
|