@availity/mui-link 1.0.1 → 1.0.3
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/CHANGELOG.md +12 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +3 -3
- package/src/lib/Link.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [1.0.3](https://github.com/Availity/element/compare/@availity/mui-link@1.0.2...@availity/mui-link@1.0.3) (2025-04-24)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **mui-link:** fix onclick type collision ([fd98866](https://github.com/Availity/element/commit/fd98866b5d36ffb01567f46f66aeee11d6b2baf2))
|
|
11
|
+
|
|
12
|
+
## [1.0.2](https://github.com/Availity/element/compare/@availity/mui-link@1.0.1...@availity/mui-link@1.0.2) (2025-04-11)
|
|
13
|
+
|
|
14
|
+
### Dependency Updates
|
|
15
|
+
|
|
16
|
+
* `mui-icon` updated to version `1.0.1`
|
|
5
17
|
## [1.0.1](https://github.com/Availity/element/compare/@availity/mui-link@1.0.0...@availity/mui-link@1.0.1) (2025-03-07)
|
|
6
18
|
|
|
7
19
|
### Dependency Updates
|
package/dist/index.d.mts
CHANGED
|
@@ -19,7 +19,7 @@ type LinkProps = {
|
|
|
19
19
|
*
|
|
20
20
|
* @default 'start' */
|
|
21
21
|
iconPosition?: 'start' | 'end';
|
|
22
|
-
} & Omit<LinkProps$1, '
|
|
22
|
+
} & Omit<LinkProps$1, 'noWrap' | 'onClick' | 'underline' | 'variantMapping'>;
|
|
23
23
|
declare const Link: react.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & react.RefAttributes<HTMLAnchorElement>>;
|
|
24
24
|
|
|
25
25
|
export { Link, type LinkProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ type LinkProps = {
|
|
|
19
19
|
*
|
|
20
20
|
* @default 'start' */
|
|
21
21
|
iconPosition?: 'start' | 'end';
|
|
22
|
-
} & Omit<LinkProps$1, '
|
|
22
|
+
} & Omit<LinkProps$1, 'noWrap' | 'onClick' | 'underline' | 'variantMapping'>;
|
|
23
23
|
declare const Link: react.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & react.RefAttributes<HTMLAnchorElement>>;
|
|
24
24
|
|
|
25
25
|
export { Link, type LinkProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@availity/mui-link",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Availity MUI Link Component - part of the @availity/element design system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@mui/material": "^6.4.5",
|
|
44
44
|
"react": "18.2.0",
|
|
45
45
|
"react-dom": "18.2.0",
|
|
46
|
-
"tsup": "^8.
|
|
46
|
+
"tsup": "^8.4.0",
|
|
47
47
|
"typescript": "^5.4.5"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
@@ -54,6 +54,6 @@
|
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@availity/mui-icon": "^1.0.
|
|
57
|
+
"@availity/mui-icon": "^1.0.2"
|
|
58
58
|
}
|
|
59
59
|
}
|
package/src/lib/Link.tsx
CHANGED
|
@@ -57,7 +57,7 @@ export type LinkProps = {
|
|
|
57
57
|
*
|
|
58
58
|
* @default 'start' */
|
|
59
59
|
iconPosition?: 'start' | 'end';
|
|
60
|
-
} & Omit<MuiLinkProps, '
|
|
60
|
+
} & Omit<MuiLinkProps, 'noWrap' | 'onClick' | 'underline' | 'variantMapping'>;
|
|
61
61
|
|
|
62
62
|
export const Link = forwardRef<HTMLAnchorElement, LinkProps>((props, ref) => {
|
|
63
63
|
const { href, target = '_self', children, onClick, loadApp = true, rel, iconPosition = 'start', ...rest } = props;
|