@producteca/producteca-ui-kit 1.39.0 → 1.39.2
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,2 +1,2 @@
|
|
|
1
|
-
export { Link, type LinkProps, type LinkSize, type LinkDecoration } from './link';
|
|
1
|
+
export { Link, type LinkProps, type LinkSize, type LinkDecoration, type LinkWeight } from './link';
|
|
2
2
|
export { Link as default } from './link';
|
|
@@ -2,13 +2,15 @@ import { default as React } from 'react';
|
|
|
2
2
|
|
|
3
3
|
type LinkSize = 'sm' | 'md' | 'lg';
|
|
4
4
|
type LinkDecoration = 'none' | 'underline';
|
|
5
|
+
type LinkWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
|
|
5
6
|
export interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
6
7
|
size?: LinkSize;
|
|
7
8
|
decoration?: LinkDecoration;
|
|
9
|
+
weight?: LinkWeight;
|
|
8
10
|
href: string;
|
|
9
11
|
onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
|
|
10
12
|
children: React.ReactNode;
|
|
11
13
|
}
|
|
12
|
-
export declare const Link: React.MemoExoticComponent<({ size, decoration, href, onClick, children, ...props }: LinkProps) => import("react/jsx-runtime").JSX.Element>;
|
|
13
|
-
export type { LinkSize, LinkDecoration };
|
|
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 };
|
|
14
16
|
export default Link;
|
package/dist/locales/es.d.ts
CHANGED
|
@@ -240,6 +240,8 @@ declare const _default: {
|
|
|
240
240
|
edit: string;
|
|
241
241
|
delete: string;
|
|
242
242
|
duplicate: string;
|
|
243
|
+
retry: string;
|
|
244
|
+
retryTooltip: string;
|
|
243
245
|
itemsDescription: string;
|
|
244
246
|
id: string;
|
|
245
247
|
maxItems: string;
|
|
@@ -277,6 +279,7 @@ declare const _default: {
|
|
|
277
279
|
label: string;
|
|
278
280
|
size: string;
|
|
279
281
|
decoration: string;
|
|
282
|
+
weight: string;
|
|
280
283
|
href: string;
|
|
281
284
|
onClick: string;
|
|
282
285
|
children: string;
|