From e1af39320f2b10848c09f6570a975e6573d25a3c Mon Sep 17 00:00:00 2001 From: Joren Broekema Date: Thu, 4 Jun 2020 19:05:25 +0200 Subject: [PATCH] chore: fix more links for storybook --- packages/form-core/README.md | 4 ++-- packages/form-integrations/docs/20-system-overview.md | 4 ++-- packages/input-amount/README.md | 2 +- packages/input-date/README.md | 6 +++--- packages/input-datepicker/README.md | 8 ++++---- packages/input-email/README.md | 4 ++-- packages/input-iban/README.md | 4 ++-- packages/input-range/README.md | 4 ++-- packages/input/README.md | 2 +- packages/radio-group/README.md | 6 +++--- 10 files changed, 22 insertions(+), 22 deletions(-) diff --git a/packages/form-core/README.md b/packages/form-core/README.md index f1156ecae..8654ddab8 100644 --- a/packages/form-core/README.md +++ b/packages/form-core/README.md @@ -57,5 +57,5 @@ Fieldsets are the basis for: ## Other Resources -- [Formatting and parsing](?path=/docs/forms-field-formatting-and-parsing--page) -- [Custom Fields](?path=/docs/forms-field-custom-fields-tutorial--page) +- [Formatting and parsing](?path=/docs/forms-system-formatting-and-parsing--parser#formatting-and-parsing) +- [Custom Fields](?path=/docs/forms-system-creating-a-custom-field--page) diff --git a/packages/form-integrations/docs/20-system-overview.md b/packages/form-integrations/docs/20-system-overview.md index 112d51f08..2b511cdad 100644 --- a/packages/form-integrations/docs/20-system-overview.md +++ b/packages/form-integrations/docs/20-system-overview.md @@ -34,7 +34,7 @@ Fields provide a normalized api for both platform components and custom made for On top of this, they offer: - [formatting/parsing/serializing](?path=/docs/forms-system-formatting-and-parsing--parser) of view values -- advanced [validation](?path=/docs/forms-validation-overview--page) possibilities +- advanced [validation](?path=/docs/forms-validation-overview--main#validate) 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 @@ -94,4 +94,4 @@ Fieldsets are at the base of: - [Model Value](?path=/docs/forms-system-modelvalue--page) - [Formatting and parsing](?path=/docs/forms-system-formatting-and-parsing--parser) - [Interaction states](?path=/docs/forms-system-interaction-states--interaction-states) -- [Validation System](?path=/docs/forms-validation-overview--page) +- [Validation System](?path=/docs/forms-validation-overview--main#validate) diff --git a/packages/input-amount/README.md b/packages/input-amount/README.md index df1ae8ae6..3807f2f70 100644 --- a/packages/input-amount/README.md +++ b/packages/input-amount/README.md @@ -36,7 +36,7 @@ export const main = () => { - Option to override locale to change the formatting and parsing - Option to provide additional format options overrides - Default label in different languages -- Can make use of number specific [validators](?path=/docs/forms-validation-overview--page) with corresponding error messages in different languages +- Can make use of number specific [validators](?path=/docs/forms-validation-overview--main#validate) with corresponding error messages in different languages - IsNumber (default) - MinNumber - MaxNumber diff --git a/packages/input-date/README.md b/packages/input-date/README.md index edda603a3..06616e99f 100644 --- a/packages/input-date/README.md +++ b/packages/input-date/README.md @@ -23,11 +23,11 @@ export const main = () => html` ## Features -- Based on [lion-input](?path=/docs/forms-input--default-story) -- Makes use of [formatDate](?path=/docs/localize-dates--formatting)) for formatting and parsing. +- Based on [lion-input](?path=/docs/forms-input--main#input) +- Makes use of [formatDate](?path=/docs/localize-dates--formatting#date-localization) for formatting and parsing. - Option to override locale to change the formatting and parsing - Default label in different languages -- Can make use of date specific [validators](?path=/docs/forms-validation-overview--page) with corresponding error messages in different languages +- Can make use of date specific [validators](?path=/docs/forms-validation-overview--main#validate) with corresponding error messages in different languages - IsDate (default) - MinDate - MaxDate diff --git a/packages/input-datepicker/README.md b/packages/input-datepicker/README.md index d4e58f09c..0ff75d6a9 100644 --- a/packages/input-datepicker/README.md +++ b/packages/input-datepicker/README.md @@ -29,11 +29,11 @@ export const main = () => { ## Features - Input field with a datepicker to help to choose a date -- Based on [lion-input-date](?path=/docs/form-component-input-date) -- Makes use of [lion-calendar](?path=/docs/calendar-standalone) inside the datepicker -- Makes use of [formatDate](?path=/docs/localize-dates--formatting)) for formatting and parsing. +- Based on [lion-input-date](?path=/docs/forms-input-date--main#input) +- Makes use of [lion-calendar](?path=/docs/others-calendar--main#calendar) inside the datepicker +- Makes use of [formatDate](?path=/docs/localize-dates--formatting#date-localization) for formatting and parsing. - Option to overwrite locale to change the formatting and parsing -- Can make use of date specific [validators](?path=/docs/forms-validation-overview--page) with corresponding error messages in different languages +- Can make use of date specific [validators](?path=/docs/forms-validation-overview--main#validate) with corresponding error messages in different languages - IsDate (default) - MinDate - MaxDate diff --git a/packages/input-email/README.md b/packages/input-email/README.md index c76989955..f246314ee 100644 --- a/packages/input-email/README.md +++ b/packages/input-email/README.md @@ -23,8 +23,8 @@ export const main = () => { ## Features -- Based on [lion-input](?path=/docs/forms-input--default-story) -- Makes use of email [validators](?path=/docs/forms-validation-overview--page) with corresponding error messages in different languages +- Based on [lion-input](?path=/docs/forms-input--main#input) +- Makes use of email [validators](?path=/docs/forms-validation-overview--main#validate) with corresponding error messages in different languages - IsEmail (default) ## How to use diff --git a/packages/input-iban/README.md b/packages/input-iban/README.md index 8afdd5a9f..4a9b860cb 100644 --- a/packages/input-iban/README.md +++ b/packages/input-iban/README.md @@ -27,9 +27,9 @@ export const main = () => { ## Features -- Based on [lion-input](?path=/docs/forms-input--default-story) +- Based on [lion-input](?path=/docs/forms-input--main#input) - Default label in different languages -- Makes use of IBAN specific [validate](?path=/docs/forms-validation-overview--page) with corresponding error messages in different languages +- Makes use of IBAN specific [validate](?path=/docs/forms-validation-overview--main#validate) with corresponding error messages in different languages - IsIBAN (default) - IsCountryIBAN - Parses IBANs automatically diff --git a/packages/input-range/README.md b/packages/input-range/README.md index e92fb0d7b..06ef07ce7 100644 --- a/packages/input-range/README.md +++ b/packages/input-range/README.md @@ -21,11 +21,11 @@ export const main = () => html` ## Features -- Based on [lion-input](?path=/docs/forms-input--default-story). +- Based on [lion-input](?path=/docs/forms-input--main#input). - Shows `modelValue` and `unit` above the range input. - Shows `min` and `max` value after the range input. - Can hide the `min` and `max` value via `no-min-max-labels`. -- Makes use of [formatNumber](?path=/docs/localize-numbers) for formatting and parsing. +- Makes use of [formatNumber](?path=/docs/localize-numbers--formatting#formatting) for formatting and parsing. ## How to use diff --git a/packages/input/README.md b/packages/input/README.md index 795e0902c..f96333081 100644 --- a/packages/input/README.md +++ b/packages/input/README.md @@ -33,7 +33,7 @@ export const main = () => html` `; - **before**: does not have an active use case yet, but the option is in place. - **after**: can be used to show a currency or percentage. - Delegates attributes like `type`, `disabled`, `placeholder` and `read-only` to the native input. -- Can make us of [validation](?path=/docs/forms-validation-overview--page) +- Can make us of [validation](?path=/docs/forms-validation-overview--main#validate) ## How to use diff --git a/packages/radio-group/README.md b/packages/radio-group/README.md index 95292c993..f5e86da88 100644 --- a/packages/radio-group/README.md +++ b/packages/radio-group/README.md @@ -29,12 +29,12 @@ export const main = () => html` `; ``` -- Make sure that to use a name attribute as it is necessary for the [lion-form](?path=/docs/forms-form-overview--page)'s serialization result. -- If you have many options for a user to pick from, consider using [lion-select](?path=/docs/forms-select--default-story) instead +- Make sure that to use a name attribute as it is necessary for the [lion-form](?path=/docs/forms-form-overview--main#form)'s serialization result. +- If you have many options for a user to pick from, consider using [lion-select](?path=/docs/forms-select--main#select) instead ## Features -Since it extends from [lion-fieldset](?path=/docs/forms-fieldset-overview--page), it has all the features a fieldset has. +Since it extends from [lion-fieldset](?path=/docs/forms-fieldset-overview--main#fieldset), it has all the features a fieldset has. - Get or set the checked value of the group: - modelValue (default) - `checkedValue()`