@muraldevkit/ui-toolkit 4.13.0 → 4.14.0
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
|
@@ -17,7 +17,7 @@ We use Storybook as both a living documentation site and dev environment. To get
|
|
|
17
17
|
To run tests locally:
|
|
18
18
|
- `npm run test`
|
|
19
19
|
|
|
20
|
-
If you need to verify your local changes in an external project see our [Local
|
|
20
|
+
If you need to verify your local changes in an external project see our [Local Environment Guide](./docs/local-development.md).
|
|
21
21
|
|
|
22
22
|
## What's included
|
|
23
23
|
|
|
@@ -29,7 +29,7 @@ The source of truth for component and token documentation is at http://uitoolkit
|
|
|
29
29
|
If you have any questions or feedback, please let us know in slack `#ask-fe-platform`
|
|
30
30
|
|
|
31
31
|
### Development
|
|
32
|
-
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/
|
|
32
|
+
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/storybook_docs`. For documentation on how to write [Storybook stories](https://storybook.js.org/docs/react/writing-stories/introduction).
|
|
33
33
|
|
|
34
34
|
*During deployments we remove the docs and strip comments.*
|
|
35
35
|
|
|
@@ -180,6 +180,10 @@ export interface MrlSmartTableProps extends Partial<Pick<MrlTableProps, 'aria-la
|
|
|
180
180
|
* A function to override the default sort items when a sort descriptor is set.
|
|
181
181
|
*/
|
|
182
182
|
customSortItems?: ({ sortColumn, sortDescriptor }: MrlTableColumnSortOptions) => void;
|
|
183
|
+
/**
|
|
184
|
+
* Provides information on how the table should be sorted on initialization.
|
|
185
|
+
*/
|
|
186
|
+
defaultSortDescriptor?: MrlTableColumnSortDescriptor;
|
|
183
187
|
}
|
|
184
188
|
/**
|
|
185
189
|
* MrlSmartTable Component
|