@sequencing/design-system 0.0.59 → 0.0.61

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.
@@ -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```onClick`` callback. Passed ``children`` will be
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sequencing/design-system",
3
- "version": "0.0.59",
3
+ "version": "0.0.61",
4
4
  "description": "Sequencing Design System",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\"",