@sequencing/design-system 0.0.59 → 0.0.60
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/documentation.json +8 -1
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Atoms/Link/Link.d.ts +4 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/types/components/Atoms/Link/Link.d.ts +4 -2
- package/package.json +1 -1
|
@@ -4,6 +4,8 @@ export interface LinkProps {
|
|
|
4
4
|
customClass?: string;
|
|
5
5
|
/** The hint to be displayed when hovering over the link */
|
|
6
6
|
hint?: string;
|
|
7
|
+
/** When set to true, it will render an underscore below the link */
|
|
8
|
+
selected?: boolean;
|
|
7
9
|
/**
|
|
8
10
|
* The look and feel of the link.
|
|
9
11
|
* Default: ``primary``
|
|
@@ -18,9 +20,9 @@ export interface LinkProps {
|
|
|
18
20
|
* The Link component is used to render an anchor to navigate between SPA pages.
|
|
19
21
|
* To support the different frameworks we have in our repo (React, NextJs, Gatsby),
|
|
20
22
|
* this component is just a wrapper around an HTML anchor and the navigation should be
|
|
21
|
-
* handle by the developer using the
|
|
23
|
+
* handle by the developer using the ``onClick`` callback. Passed ``children`` will be
|
|
22
24
|
* rendered inside the anchor tag.
|
|
23
25
|
*
|
|
24
26
|
*/
|
|
25
|
-
declare const Link: ({ hint, children, customClass, variant, onClick, }: PropsWithChildren<LinkProps>) => React.JSX.Element;
|
|
27
|
+
declare const Link: ({ hint, children, selected, customClass, variant, onClick, }: PropsWithChildren<LinkProps>) => React.JSX.Element;
|
|
26
28
|
export default Link;
|