@producteca/producteca-ui-kit 1.38.0 → 1.39.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.
@@ -13,4 +13,5 @@ export * from './modals';
13
13
  export * from './tabs';
14
14
  export * from './card';
15
15
  export * from './sidebar';
16
- export * from './dropdown';
16
+ export * from './dropdown';
17
+ export * from './link';
@@ -14,3 +14,4 @@ export * from './tabs';
14
14
  export * from './card';
15
15
  export * from './sidebar';
16
16
  export * from './dropdown';
17
+ export * from './link';
@@ -0,0 +1,2 @@
1
+ export { Link } from './link';
2
+ export { Link as default } from './link';
@@ -0,0 +1,2 @@
1
+ export { Link, type LinkProps, type LinkSize, type LinkDecoration } from './link';
2
+ export { Link as default } from './link';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+
3
+ type LinkSize = 'sm' | 'md' | 'lg';
4
+ type LinkDecoration = 'none' | 'underline';
5
+ export interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
6
+ size?: LinkSize;
7
+ decoration?: LinkDecoration;
8
+ href: string;
9
+ onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
10
+ children: React.ReactNode;
11
+ }
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 default Link;
@@ -273,5 +273,19 @@ 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
+ href: string;
281
+ onClick: string;
282
+ children: string;
283
+ default: string;
284
+ small: string;
285
+ medium: string;
286
+ large: string;
287
+ withUnderline: string;
288
+ exampleIntegrationName: string;
289
+ };
276
290
  };
277
291
  export default _default;