@muraldevkit/ui-toolkit 2.43.0 → 2.43.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/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Shared React components for use across the Mural platform.
|
|
|
4
4
|
## Table of contents
|
|
5
5
|
- [Quick start](#quick-start)
|
|
6
6
|
- [Documentation](#documentation)
|
|
7
|
-
- [Component standards](./
|
|
7
|
+
- [Component standards](./src/storybook_docs/getting-started/component-standards.mdx)
|
|
8
8
|
- [Contribution Guide](./CONTRIBUTING.md)
|
|
9
9
|
## Quick start
|
|
10
10
|
|
|
@@ -20,7 +20,7 @@ To run tests locally:
|
|
|
20
20
|
If you need to verify your local changes in an external project see our [Local Enviroment Guide](./docs/local-development.md).
|
|
21
21
|
## What's included
|
|
22
22
|
|
|
23
|
-
Within the project you'll find the `src/` directory, which logically groups components together. For more information on our components see our [Component standards](./
|
|
23
|
+
Within the project you'll find the `src/` directory, which logically groups components together. For more information on our components see our [Component standards](./src/storybook_docs/getting-started/component-standards.mdx)
|
|
24
24
|
|
|
25
25
|
## Documentation
|
|
26
26
|
Our doc site uses Storybook as living documentation and dev environment. We support [mdx](https://mdxjs.com/) files and standard Storybook files, we use [CSF version 3](https://storybook.js.org/blog/component-story-format-3-0/). You can find examples on how to add markdown docs to the doc section of our site in the `src/storybookds_docs`. For documentation on how to write [Storybook stories](https://storybook.js.org/docs/react/writing-stories/introduction).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { LinkColor, LinkKind, LinkSize, LinkTargetType } from '../constants';
|
|
3
3
|
import { AttrsObject } from '../../../utils';
|
|
4
|
-
export interface MrlLinkProptypes {
|
|
4
|
+
export interface MrlLinkProptypes extends React.ComponentProps<'a'> {
|
|
5
5
|
/** The textual label describing the link's purpose */
|
|
6
6
|
text: string;
|
|
7
7
|
/** Specifies where to redirect the linked document */
|
|
@@ -46,4 +46,4 @@ export interface MrlLinkProptypes {
|
|
|
46
46
|
* @param {MrlLinkProptypes} props the props for your MrlLink
|
|
47
47
|
* @returns {React.ReactElement} an a element containing the text you pass
|
|
48
48
|
*/
|
|
49
|
-
export declare const MrlLink: ({ target, className, color, kind, size, href, attrs, onClick, text }: MrlLinkProptypes) => React.ReactElement;
|
|
49
|
+
export declare const MrlLink: ({ target, className, color, kind, size, href, attrs, onClick, text, ...remainingProps }: MrlLinkProptypes) => React.ReactElement;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { DSIconType } from '../../../';
|
|
3
|
-
interface MrlMenuItemLinkProps {
|
|
3
|
+
export interface MrlMenuItemLinkProps {
|
|
4
4
|
/** ID for associated description */
|
|
5
5
|
ariaDescribedBy?: string;
|
|
6
6
|
/**
|
|
@@ -35,4 +35,3 @@ interface MrlMenuItemLinkProps {
|
|
|
35
35
|
* @returns {Element} - rendered MrlMenuItem component
|
|
36
36
|
*/
|
|
37
37
|
export declare function MrlMenuItemLink({ ariaDescribedBy, children, className, dataQa, disabled, href, icon, id, onClick, selected, target }: MrlMenuItemLinkProps): JSX.Element;
|
|
38
|
-
export {};
|