@producteca/producteca-ui-kit 1.39.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.
@@ -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;
@@ -277,6 +277,7 @@ declare const _default: {
277
277
  label: string;
278
278
  size: string;
279
279
  decoration: string;
280
+ weight: string;
280
281
  href: string;
281
282
  onClick: string;
282
283
  children: string;