From 0c53b1d4bb4fa51820656bacfc2aece653d03182 Mon Sep 17 00:00:00 2001 From: Thomas Allmer Date: Thu, 23 Jan 2020 18:24:38 +0100 Subject: [PATCH] fix: update links in stories --- packages/checkbox-group/README.md | 2 +- .../checkbox-group/stories/index.stories.mdx | 4 +- packages/fieldset/README.md | 2 +- .../fieldset/stories/overview.stories.mdx | 8 ++-- .../form-system/stories/10-intro.stories.mdx | 9 ++-- .../stories/20-System-Overview.stories.mdx | 44 +++++++++---------- .../stories/25-System-ModelValue.stories.mdx | 2 +- ...System-creating-a-custom-field.stories.mdx | 4 +- packages/form/README.md | 2 +- packages/form/stories/overview.stories.mdx | 8 ++-- packages/input-amount/README.md | 2 +- .../input-amount/stories/index.stories.mdx | 4 +- packages/input-date/README.md | 2 +- packages/input-date/stories/index.stories.mdx | 6 +-- packages/input-datepicker/README.md | 2 +- .../stories/index.stories.mdx | 4 +- packages/input-email/README.md | 2 +- .../input-email/stories/index.stories.mdx | 4 +- packages/input-iban/README.md | 2 +- packages/input-iban/stories/index.stories.mdx | 4 +- packages/input-range/README.md | 2 +- .../input-range/stories/index.stories.mdx | 2 +- packages/input/README.md | 2 +- packages/input/stories/index.stories.mdx | 6 +-- .../stories/lion-web-components.stories.mdx | 6 +-- .../localize/stories/10-intro.stories.mdx | 2 +- packages/option/stories/index.stories.mdx | 4 +- packages/radio-group/README.md | 2 +- .../radio-group/stories/index.stories.mdx | 6 +-- packages/select/README.md | 2 +- packages/textarea/README.md | 2 +- .../validate/stories/Overview.stories.mdx | 2 +- 32 files changed, 78 insertions(+), 77 deletions(-) diff --git a/packages/checkbox-group/README.md b/packages/checkbox-group/README.md index 5bb0084185..87b1561e0d 100644 --- a/packages/checkbox-group/README.md +++ b/packages/checkbox-group/README.md @@ -8,7 +8,7 @@ You should use [lion-checkbox](../checkbox/)'s inside this element. ## Live Demo/Documentation -> See our [storybook](http://lion-web-components.netlify.com/?path=/docs/forms-checkbox-group) for a live demo and API documentation +> See our [storybook](http://lion-web-components.netlify.com/?path=/docs/forms-checkbox-group--default-story) for a live demo and API documentation ## How to use diff --git a/packages/checkbox-group/stories/index.stories.mdx b/packages/checkbox-group/stories/index.stories.mdx index 9e5acda9a5..dadaf1126b 100644 --- a/packages/checkbox-group/stories/index.stories.mdx +++ b/packages/checkbox-group/stories/index.stories.mdx @@ -37,11 +37,11 @@ Its purpose is to provide a way for users to check **multiple** options amongst ``` -> Make sure that the checkbox-group also has a name attribute, this is necessary for the [lion-form](?path=/docs/forms-form)'s serialization result. +> Make sure that the checkbox-group also has a name attribute, this is necessary for the [lion-form](?path=/docs/forms-form-overview--page)'s serialization result. ## Features -Since it extends from [lion-fieldset](?path=/docs/forms-fieldset), it has all the features a fieldset has. +Since it extends from [lion-fieldset](?path=/docs/forms-fieldset-overview--page), it has all the features a fieldset has. ## How to use diff --git a/packages/fieldset/README.md b/packages/fieldset/README.md index b4b3bd6af4..f7c857fea0 100644 --- a/packages/fieldset/README.md +++ b/packages/fieldset/README.md @@ -6,7 +6,7 @@ ## Live Demo/Documentation -> See our [storybook](http://lion-web-components.netlify.com/?path=/docs/forms-fieldset) for a live demo and documentation +> See our [storybook](http://lion-web-components.netlify.com/?path=/docs/forms-fieldset-overview--page) for a live demo and documentation ## How to use diff --git a/packages/fieldset/stories/overview.stories.mdx b/packages/fieldset/stories/overview.stories.mdx index 912220f9a2..4edaa7310c 100644 --- a/packages/fieldset/stories/overview.stories.mdx +++ b/packages/fieldset/stories/overview.stories.mdx @@ -14,8 +14,8 @@ import './helpers/demo-fieldset-child.js'; We have three specific fieldset implementations: - [lion-form](?path=/docs/forms-form-overview--page) -- [lion-checkbox-group](?path=/docs/forms-checkbox-group) -- [lion-radio-group](?path=/docs/forms-radio-group) +- [lion-checkbox-group](?path=/docs/forms-checkbox-group--default-story) +- [lion-radio-group](?path=/docs/forms-radio-group--default-story) ```html @@ -31,8 +31,8 @@ Our fieldset instead has a label attribute or you can add a label with a div- or ## Features - Easy retrieval of form data based on field names -- Advanced user interaction scenarios via [interaction states](?path=/docs/forms-system-interaction-states) -- Can have [validate](?path=/docs/forms-system-validate-system) on fieldset level and shows the validation feedback below the fieldset +- Advanced user interaction scenarios via [interaction states](?path=/docs/forms-system-interaction-states--interaction-states) +- Can have [validate](?path=/docs/forms-validation-overview--page) on fieldset level and shows the validation feedback below the fieldset - Can disable input fields on fieldset level - Accessible out of the box diff --git a/packages/form-system/stories/10-intro.stories.mdx b/packages/form-system/stories/10-intro.stories.mdx index 191eade714..c67614875b 100644 --- a/packages/form-system/stories/10-intro.stories.mdx +++ b/packages/form-system/stories/10-intro.stories.mdx @@ -6,7 +6,7 @@ The Form System allows you to create complex forms with various validations in a ## Features -- Built in [validate](?path=/docs/forms-system-validate-system) for error/warning/info/success +- Built in [validate](?path=/docs/forms-validation-overview--page) for error/warning/info/success - Formatting of values - Accessible @@ -14,12 +14,13 @@ For a more in depth description look into the [Form System Overview](?path=/docs ## Packages -| Package | Description | -| ---------------------------------------------------- | ---------------------------------- | +| Package | Description | +| ---------------------------------------------------- | ------------------------------------------------- | | [checkbox](?path=/docs/forms-checkbox--default-story) | Checkbox form element | | [checkbox-group](?path=/docs/forms-checkbox-group--default-story) | Group of checkboxes | | [field](?path=/docs/forms-field--default-story) | Base class for all inputs | -| [form](?path=/docs/forms-form--default-story) | Wrapper for multiple form elements | +| [fieldset](?path=/docs/forms-fieldset-overview--page) | Group for form inputs | +| [form](?path=/docs/forms-form-overview--page) | Wrapper for multiple form elements | | [input](?path=/docs/forms-input--default-story) | Input element for strings | | [input-amount](?path=/docs/forms-input-amount--default-story) | Input element for amounts | | [input-date](?path=/docs/forms-input-date--default-story) | Input element for dates | diff --git a/packages/form-system/stories/20-System-Overview.stories.mdx b/packages/form-system/stories/20-System-Overview.stories.mdx index 64a6a2c96c..733eea1377 100644 --- a/packages/form-system/stories/20-System-Overview.stories.mdx +++ b/packages/form-system/stories/20-System-Overview.stories.mdx @@ -29,8 +29,8 @@ They extend `LionField`, which in turn uses the `FormControlMixin`. Fields provide a normalized api for both platform components and custom made form controls. On top of this, they offer: -- [formatting/parsing/serializing](?path=/docs/forms-system-formatting-and-parsing) of view values -- advanced [validation](?path=/docs/forms-system-validate-system) possibilities +- [formatting/parsing/serializing](?path=/docs/forms-system-formatting-and-parsing--parser) of view values +- advanced [validation](?path=/docs/forms-validation-overview--page) possibilities - creation of advanced user interaction scenarios via [interaction states](?path=/docs/forms-system-interaction-states--interaction-states) - provision of labels and help texts in an easy, declarative manner - accessibility out of the box @@ -40,30 +40,30 @@ On top of this, they offer: Platform field wrappers add all of the functionality described above to native form elements. -- [LionInput](?path=/docs/forms-input), a wrapper for `` -- [LionTextarea](?path=/docs/forms-textarea), a wrapper for `