@aurora-ds/components 1.7.0 → 1.7.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/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -958,7 +958,7 @@ const LINK_STYLES = createStyles((theme) => ({
|
|
|
958
958
|
* @example <Link href='/terms' underline='none' label='Terms' />
|
|
959
959
|
* @example <Link onClick={() => navigate('/about')} label='About (SPA)' />
|
|
960
960
|
*/
|
|
961
|
-
const Link = ({ ref, label, fontSize = '
|
|
961
|
+
const Link = ({ ref, label, fontSize = 'sm', underline = 'hover', color = 'default', external = false, disabled = false, startIcon: StartIcon, endIcon: EndIcon, className, href, onClick, onKeyDown, ...rest }) => {
|
|
962
962
|
// An <a> without href has no implicit ARIA role and is not focusable.
|
|
963
963
|
// When used for SPA navigation (onClick only), we restore both behaviours.
|
|
964
964
|
const hasHref = !!href;
|