@groupeactual/ui-kit 0.2.9 → 0.3.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/cjs/components/Link/Link.d.ts +3 -3
- package/dist/cjs/index.js +435 -168
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/Link/Link.d.ts +3 -3
- package/dist/esm/index.js +435 -168
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
- package/src/components/Link/Link.tsx +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { TypographyProps } from '@mui/material';
|
|
2
|
+
import { TypographyProps, LinkProps } from '@mui/material';
|
|
3
3
|
import { TypographyProps as TypographyProps$1 } from '@mui/material/Typography';
|
|
4
4
|
import { ButtonProps } from '@mui/material/Button';
|
|
5
5
|
import * as react from 'react';
|
|
@@ -14,9 +14,9 @@ interface Props$7 extends Omit<TypographyProps, 'variant'> {
|
|
|
14
14
|
}
|
|
15
15
|
declare const Text: (props: Props$7) => JSX.Element;
|
|
16
16
|
|
|
17
|
-
interface Props$6 extends Omit<
|
|
17
|
+
interface Props$6 extends Omit<LinkProps, 'variant'> {
|
|
18
18
|
variant?: 'link1' | 'link2';
|
|
19
|
-
component?:
|
|
19
|
+
component?: any;
|
|
20
20
|
}
|
|
21
21
|
declare const Link: (props: Props$6) => JSX.Element;
|
|
22
22
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Link as LinkMui, LinkProps } from '@mui/material';
|
|
2
2
|
|
|
3
|
-
interface Props extends Omit<
|
|
3
|
+
interface Props extends Omit<LinkProps, 'variant'> {
|
|
4
4
|
variant?: 'link1' | 'link2';
|
|
5
|
-
component?:
|
|
5
|
+
component?: any;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
const Link = (props: Props) => <
|
|
8
|
+
const Link = (props: Props) => <LinkMui {...(props as LinkProps)} />;
|
|
9
9
|
|
|
10
10
|
export default Link;
|