diff --git a/packages/documentation/docs/controls/_category-filter_styleguide.md b/packages/documentation/docs/controls/_category-filter_styleguide.md index dcdccafb1ff..5ac32912c18 100644 --- a/packages/documentation/docs/controls/_category-filter_styleguide.md +++ b/packages/documentation/docs/controls/_category-filter_styleguide.md @@ -51,6 +51,5 @@ Category filter has six states: Default, hover, active, disabled, read-only and - [Expanding search](expanding-search.md) - [Input](input.mdx) -- [Input Legacy](input-legacy.md) - [Select](select.mdx) - [Dropdown button](./buttons/dropdown-button.md) diff --git a/packages/documentation/docs/controls/_date-input_code.mdx b/packages/documentation/docs/controls/_date-input_code.mdx index 2e392d6fa6f..be79543dc2a 100644 --- a/packages/documentation/docs/controls/_date-input_code.mdx +++ b/packages/documentation/docs/controls/_date-input_code.mdx @@ -1,12 +1,9 @@ import Playground from '@site/src/components/PlaygroundV2'; import Props from '@site/docs/auto-generated/ix-date-input/props.md'; import Events from '@site/docs/auto-generated/ix-date-input/events.md'; -import Tags from '@site/docs/auto-generated/ix-date-input/tags.md'; # Date input - - ## Examples ### Basic diff --git a/packages/documentation/docs/controls/_date-input_styleguide.mdx b/packages/documentation/docs/controls/_date-input_styleguide.mdx index a759d8f904d..493000e98f4 100644 --- a/packages/documentation/docs/controls/_date-input_styleguide.mdx +++ b/packages/documentation/docs/controls/_date-input_styleguide.mdx @@ -35,7 +35,7 @@ The date input component enables users to enter and select a date in a standardi - **Validation**: - Use feedback text for validation types valid, info, warning and invalid. - Invalid feedback automatically provided if entered date in not parsable. - - Refer to the [validation](./forms/forms-validation.md) chapter for detailed guidelines. + - Refer to the [validation](./forms/forms-validation.mdx) chapter for detailed guidelines. - **Overflow**: The input field should be wide enough to display the full date without truncation. - **Alignment**: Date inputs are always aligned to the left. @@ -62,7 +62,7 @@ Date input has five states: Default, hover, disabled, read-only and focused. - [Date picker](./date-picker.md) - [Date time picker](./date-picker.md) - [Forms field](./forms/forms-field.md) -- [Validation](./forms/forms-validation.md) +- [Validation](./forms/forms-validation.mdx) - [Dropdown](./dropdown.md) - [Input](input.mdx) - [Select](select.mdx) diff --git a/packages/documentation/docs/controls/forms/_forms-checkbox_styleguide.md b/packages/documentation/docs/controls/_forms-checkbox_styleguide.md similarity index 87% rename from packages/documentation/docs/controls/forms/_forms-checkbox_styleguide.md rename to packages/documentation/docs/controls/_forms-checkbox_styleguide.md index c92d7ccefb5..6adec179561 100644 --- a/packages/documentation/docs/controls/forms/_forms-checkbox_styleguide.md +++ b/packages/documentation/docs/controls/_forms-checkbox_styleguide.md @@ -4,16 +4,16 @@ A checkbox is a small interactive box that allows the user to toggle between an ## Options -- **Checkbox label:** See [form field](forms-field.md). +- **Checkbox label:** See [form field](forms/forms-field.md). - **Group label:** Add a label to the group of checkboxes to provide context to your users. We typically use short and descriptive labels to summarize the options in the group. -- **Helper text**: See [form field](forms-field.md). -- **Feedback text**: See [form field](forms-field.md). +- **Helper text**: See [form field](forms/forms-field.md). +- **Feedback text**: See [form field](forms/forms-field.md). - **Indeterminate checkbox:** Indicates that only some items in a checkbox group are selected. We offer the indeterminate state, but the implementation when this state is active is the responsibility of each individual. - **Checkbox group**: Group checkboxes to indicate that they are related. We typically use checkbox groups when multiple options need to be presented for selection, allowing users to choose any combination of the available choices. They are particularly useful in user interface design for forms, settings and preferences where multiple selections are possible. ## Behavior in context -- **Validation**: See [validation](forms-validation.md). +- **Validation**: See [validation](forms/forms-validation.mdx). - **Interaction**: Clicking on the checkbox toggles the state between checked and unchecked.  - **Grouping**: Checkbox groups have only one label and helper text for the entire group. Grouped checkboxes are validated collectively, not individually. @@ -28,4 +28,4 @@ A checkbox is a small interactive box that allows the user to toggle between an - Do use checkboxes in forms to allow users to select multiple options - Don’t use a checkbox for binary choices (yes/no, true/false) - use a toggle switch instead - Don’t use checkboxes for mutually exclusive options - use [radio buttons](forms-radio-button.md) instead -- Don’t use checkboxes for actions that have immediate consequences - use [buttons](buttons.md) or [links](links.md) instead \ No newline at end of file +- Don’t use checkboxes for actions that have immediate consequences - use [buttons](buttons.md) or [links](links.md) instead diff --git a/packages/documentation/docs/controls/forms/_forms-custom-field_styleguide.md b/packages/documentation/docs/controls/_forms-custom-field_styleguide.md similarity index 79% rename from packages/documentation/docs/controls/forms/_forms-custom-field_styleguide.md rename to packages/documentation/docs/controls/_forms-custom-field_styleguide.md index e154a75ae52..f3f92697110 100644 --- a/packages/documentation/docs/controls/forms/_forms-custom-field_styleguide.md +++ b/packages/documentation/docs/controls/_forms-custom-field_styleguide.md @@ -8,18 +8,18 @@ The custom field is a wrapper component that can host any forms component. Its p 4. Mandatory indicator ## Options -- **Label:** See [form field](forms-field.md). +- **Label:** See [form field](forms/forms-field.md). - **Group label:** Add a label to the group of radio buttons to provide context to your users. We typically use short and descriptive labels to summarize the options in the group. -- **Helper text**: See [form field](forms-field.md). -- **Feedback text**: See [form field](forms-field.md). +- **Helper text**: See [form field](forms/forms-field.md). +- **Feedback text**: See [form field](forms/forms-field.md). - **Customization**: Add form components to create the use case you need. For example, for a file upload field, add an input field with a `readonly` state and an [icon button](buttons/icon-button.md). ![Custom field example](https://www.figma.com/design/wEptRgAezDU1z80Cn3eZ0o/iX-Pattern-Illustrations?node-id=3483-7223&t=DlxXBQ9vTnyDcIUI-4) ## Behavior in context -- **Validation:** See [validation](forms-validation.md). -- **Form behavior:** See [behavior](forms-behavior.md). +- **Validation:** See [validation](forms/forms-validation.mdx). +- **Form behavior:** See [behavior](forms/forms-behavior.md). ## States The states depend on the component that you use in the custom field. The custom field itself does not have any interaction states. @@ -31,7 +31,7 @@ The states depend on the component that you use in the custom field. The custom - Don't use the custom field without a form component, it is a wrapper component that is meant to be used in combination with the form component ## Related patterns -- [Form field](forms-field.md) -- [Validation](forms-validation.md) -- [Behavior](forms-behavior.md) -- [Layout](forms-layout.md) +- [Form field](forms/forms-field.md) +- [Validation](forms/forms-validation.mdx) +- [Behavior](forms/forms-behavior.md) +- [Layout](forms/forms-layout.md) diff --git a/packages/documentation/docs/controls/forms/_forms-radio-button_styleguide.md b/packages/documentation/docs/controls/_forms-radio-button_styleguide.md similarity index 82% rename from packages/documentation/docs/controls/forms/_forms-radio-button_styleguide.md rename to packages/documentation/docs/controls/_forms-radio-button_styleguide.md index 7d25d706903..3f9dbf858de 100644 --- a/packages/documentation/docs/controls/forms/_forms-radio-button_styleguide.md +++ b/packages/documentation/docs/controls/_forms-radio-button_styleguide.md @@ -4,13 +4,13 @@ A radio button is a interface element that enables the user to choose only one o ## Options -- **Label:** See [form field](forms-field.md). -- **Helper text**: See [form field](forms-field.md). -- **Feedback text**: See [form field](forms-field.md). +- **Label:** See [form field](forms/forms-field.md). +- **Helper text**: See [form field](forms/forms-field.md). +- **Feedback text**: See [form field](forms/forms-field.md). ## Behavior in context -- **Validation**: Radio buttons are validated collectively, not individually. For more information on validation, see [validation](forms-validation.md). +- **Validation**: Radio buttons are validated collectively, not individually. For more information on validation, see [validation](forms/forms-validation.mdx). - **Interaction**: Clicking on a radio button toggles its state between checked and unchecked/default. Every other radio button in the group is automatically unchecked. ## States @@ -27,8 +27,8 @@ A radio button is a interface element that enables the user to choose only one o ## Related patterns -- [Form field](forms-field.md) -- [Validation](forms-validation.md) -- [Layout](forms-layout.md) +- [Form field](forms/forms-field.md) +- [Validation](forms/forms-validation.mdx) +- [Layout](forms/forms-layout.md) - Checkbox -- Toggle \ No newline at end of file +- Toggle diff --git a/packages/documentation/docs/controls/forms/_forms-toggle_styleguide.md b/packages/documentation/docs/controls/_forms-toggle_styleguide.md similarity index 52% rename from packages/documentation/docs/controls/forms/_forms-toggle_styleguide.md rename to packages/documentation/docs/controls/_forms-toggle_styleguide.md index 03a57bb31d1..ca1f30ef070 100644 --- a/packages/documentation/docs/controls/forms/_forms-toggle_styleguide.md +++ b/packages/documentation/docs/controls/_forms-toggle_styleguide.md @@ -4,13 +4,13 @@ A toggle is a user interface element that enables users to switch between two st ## Options -- **Label:** See [form field](forms-field.md). -- **Helper text**: See [form field](forms-field.md). -- **Feedback text**: See [form field](forms-field.md). +- **Label:** See [form field](forms/forms-field.md). +- **Helper text**: See [form field](forms/forms-field.md). +- **Feedback text**: See [form field](forms/forms-field.md). ## Behavior in context -- **Validation**: See [validation](forms-validation.md). +- **Validation**: See [validation](forms/forms-validation.mdx). - **Interaction**: Clicking on the toggle switch changes its state from on to off or vice versa. The toggle visually reflects the current state. ## States @@ -19,17 +19,17 @@ A toggle is a user interface element that enables users to switch between two st ## Dos and Don’ts -Do use toggles for single features or options that need to be switched quickly and easily -Do provide clear labels for toggles to indicate what they control -Do use toggles consistently throughout the interface for similar actions or settings -Don't use toggles for complex multi-state options or settings -Don't use toggles for actions that require a confirmation or additional input -Don't use toggles for actions that are irreversible or have serious consequences +- Do use toggles for single features or options that need to be switched quickly and easily +- Do provide clear labels for toggles to indicate what they control +- Do use toggles consistently throughout the interface for similar actions or settings +- Don't use toggles for complex multi-state options or settings +- Don't use toggles for actions that require a confirmation or additional input +- Don't use toggles for actions that are irreversible or have serious consequences ## Related patterns -- [Form field](forms-field.md) -- [Validation](forms-validation.md) -- [Layout](forms-layout.md) -- Checkbox -- Radio button \ No newline at end of file +- [Form field](forms/forms-field.md) +- [Validation](forms/forms-validation.mdx) +- [Layout](forms/forms-layout.md) +- [Checkbox](checkbox.mdx) +- [Radio](radio.mdx) diff --git a/packages/documentation/docs/controls/_input_styleguide.md b/packages/documentation/docs/controls/_input_styleguide.md index deb9d378a88..d9bb8e7786d 100644 --- a/packages/documentation/docs/controls/_input_styleguide.md +++ b/packages/documentation/docs/controls/_input_styleguide.md @@ -22,7 +22,7 @@ An input field is a user interface element that allows users to enter and edit t ## Behavior in context -- **Validation:** See [validation](./forms/forms-validation.md). +- **Validation:** See [validation](./forms/forms-validation.mdx). - **Interaction**: Clicking in the container enables the editing of the field. - **Text truncation**: The text in an input field is cut off with the length of the container. - **Alignment**: Inputs are always aligned to the left, while right alignment is reserved exclusively for [number fields](number-input.mdx). @@ -44,7 +44,7 @@ The input field has five states: default, focused, hover, disabled and read-only ## Related patterns - [Form field](./forms/forms-field.md) -- [Validation](./forms/forms-validation.md) +- [Validation](./forms/forms-validation.mdx) - [Layout](./forms/forms-layout.md) - [Number input](number-input.mdx) - [Date input](date-input.mdx) diff --git a/packages/documentation/docs/controls/_number-input_code.mdx b/packages/documentation/docs/controls/_number-input_code.mdx index 20848d1db14..f1952d5c3d6 100644 --- a/packages/documentation/docs/controls/_number-input_code.mdx +++ b/packages/documentation/docs/controls/_number-input_code.mdx @@ -2,8 +2,6 @@ import Playground from '@site/src/components/PlaygroundV3'; import Props from '@site/docs/auto-generated/ix-number-input/props.md'; import Events from '@site/docs/auto-generated/ix-number-input/events.md'; -# Number field - ## Examples ### Basic diff --git a/packages/documentation/docs/controls/_number-input_styleguide.mdx b/packages/documentation/docs/controls/_number-input_styleguide.mdx index eb6f118eec9..5dd6f6441ff 100644 --- a/packages/documentation/docs/controls/_number-input_styleguide.mdx +++ b/packages/documentation/docs/controls/_number-input_styleguide.mdx @@ -26,7 +26,7 @@ The number input component allows users to enter and adjust numerical values. It ## Behavior in context - **Interaction:** Users can type a value or use stepper buttons to adjust it. We typically recommend using stepper buttons, especially for touch interactions, to enhance usability and precision. -- **Validation:** See [form field](./forms/forms-validation.md) +- **Validation:** See [form field](./forms/forms-validation.mdx) - **Overflow:** Numbers are truncated to fit within the input field. Ensure that the expected value is visible in the input field so it can be properly displayed. - **Alignment:** Number inputs are always aligned to the right. @@ -42,7 +42,7 @@ The number input has five states: default, hover, focused, disabled and read-onl ## Related patterns - [Form fields](./forms/forms-field.md) -- [Validation](./forms/forms-validation.md) +- [Validation](./forms/forms-validation.mdx) - [Layout](./forms/forms-layout.md) - [Input](./input.mdx) - [Select](./select.mdx) diff --git a/packages/documentation/docs/controls/_select_styleguide.md b/packages/documentation/docs/controls/_select_styleguide.md index 70bd8d3bb2e..342cb99d5b9 100644 --- a/packages/documentation/docs/controls/_select_styleguide.md +++ b/packages/documentation/docs/controls/_select_styleguide.md @@ -30,7 +30,7 @@ A select component allows users to choose from a list of options. It supports si ## Behavior in context -- **Validation:** See [validation](./forms/forms-validation.md). +- **Validation:** See [validation](./forms/forms-validation.mdx). - **Interaction:** - Click or Enter key on button opens dropdown list. - Typing in the input field filters the dropdown list. @@ -54,7 +54,7 @@ The select field has five states: default, hover, focused, disabled and read-onl - Do take care of performance when loading an extensive list of items - Do use selects when there is a finite list of items available to avoid manual input errors or duplicates - Do sort items logically (for example alphabetically or numerically) -- Don't use selects for binary choices, like yes and no (use [radio buttons](radio.mdx), [checkboxes](checkbox.mdx) or [toggles](toggle.md) instead) +- Don't use selects for binary choices, like yes and no (use [radio buttons](radio.mdx), [checkboxes](checkbox.mdx) or [toggles](toggle.mdx) instead) - Don't use selects for navigational or search patterns (use [category filters](category-filter.md) or [search fields](expanding-search.md) instead) - Don't combine several data attributes in an item label (use [tables](html-grid.mdx) or [event lists](event-list.md) with a search functionality instead) @@ -63,10 +63,10 @@ The select field has five states: default, hover, focused, disabled and read-onl ## Related patterns - [Form field](./forms/forms-field.md) -- [Validation](./forms/forms-validation.md) +- [Validation](./forms/forms-validation.mdx) - [Layout](./forms/forms-layout.md) - [Input](input.mdx) - [Radio button](radio.mdx) - [Checkbox](checkbox.mdx) -- [Toggle](toggle.md) -- [Date input](date-input.mdx) \ No newline at end of file +- [Toggle](toggle.mdx) +- [Date input](date-input.mdx) diff --git a/packages/documentation/docs/controls/_textarea-field_styleguide.mdx b/packages/documentation/docs/controls/_textarea-field_styleguide.mdx index 21e168fc5f2..dfe02015cd8 100644 --- a/packages/documentation/docs/controls/_textarea-field_styleguide.mdx +++ b/packages/documentation/docs/controls/_textarea-field_styleguide.mdx @@ -32,7 +32,7 @@ The textarea component allows users to input multi-line text, making it ideal fo - Optional: Users can resize textareas to fit their needs. For example, vertical resizing can be useful in feedback forms when the entry exceeds the default height. - **Validation**: - Minimum and maximum length defines number of characters allowed. - - See [form validation](./forms/forms-validation.md) + - See [form validation](./forms/forms-validation.mdx) - **Overflow**: Text within the textarea is not truncated; it supports scrolling for overflow content. - **Alignment**: Text is always left-aligned in textareas. - **Sizing**: @@ -55,6 +55,6 @@ Textareas have five states: Default, hover, focused, read-only, and disabled ## Related patterns - [Form fields](./forms/forms-field.md) -- [Validation](./forms/forms-validation.md) +- [Validation](./forms/forms-validation.mdx) - [Layout](./forms/forms-layout.md) - [Input](./input.mdx) diff --git a/packages/documentation/docs/controls/_toggle_code.mdx b/packages/documentation/docs/controls/_toggle_code.mdx new file mode 100644 index 00000000000..9282868ae9f --- /dev/null +++ b/packages/documentation/docs/controls/_toggle_code.mdx @@ -0,0 +1,43 @@ +import Playground from '@site/src/components/PlaygroundV3'; +import Props from './../auto-generated/ix-toggle/props.md'; +import Events from './../auto-generated/ix-toggle/events.md'; + +## Examples + +### Basic + + + +### Disabled + + + +### Label + + + +### Readonly + + + +### StepperButton + + + +### Validation + + + +## API + +### Properties + + + +### Events + + diff --git a/packages/documentation/docs/controls/buttons/_toggle-button_styleguide.md b/packages/documentation/docs/controls/buttons/_toggle-button_styleguide.md index 911e99ac6b7..4164d5317fa 100644 --- a/packages/documentation/docs/controls/buttons/_toggle-button_styleguide.md +++ b/packages/documentation/docs/controls/buttons/_toggle-button_styleguide.md @@ -23,5 +23,5 @@ Toggle buttons have five states: Default, hover, active, disabled, loading and f - [Button](button.md) - [Icon button](icon-button.md) -- [Toggle](../toggle.md) +- [Toggle](../toggle.mdx) diff --git a/packages/documentation/docs/controls/checkbox.mdx b/packages/documentation/docs/controls/checkbox.mdx index 8c6bb0ced72..be2ef2e961e 100644 --- a/packages/documentation/docs/controls/checkbox.mdx +++ b/packages/documentation/docs/controls/checkbox.mdx @@ -3,10 +3,14 @@ import Playground from '@site/src/components/PlaygroundV3'; import Props from '@site/docs/auto-generated/ix-checkbox/props.md'; import Events from '@site/docs/auto-generated/ix-checkbox/events.md'; import Tags from '@site/docs/auto-generated/ix-checkbox/tags.md'; +import DeprecatedTags from '@site/src/components/Tags'; # Checkbox - +
+ + +
## Examples diff --git a/packages/documentation/docs/controls/date-input.mdx b/packages/documentation/docs/controls/date-input.mdx index 1bbfa130ede..2c9ce88a551 100644 --- a/packages/documentation/docs/controls/date-input.mdx +++ b/packages/documentation/docs/controls/date-input.mdx @@ -1,8 +1,19 @@ +import DeprecatedTags from '@site/src/components/Tags'; import DocsTabs from '@site/src/components/DocsTabs'; import DocsUx from './\_date-input_styleguide.mdx' import DocsCode from './\_date-input_code.mdx' +import Tags from '@site/docs/auto-generated/ix-date-input/tags.md'; + # Date input +
+ + +
+ +
+
+ diff --git a/packages/documentation/docs/controls/forms/forms-behavior.md b/packages/documentation/docs/controls/forms/forms-behavior.md index 48ef466f8cb..e9cf266adec 100644 --- a/packages/documentation/docs/controls/forms/forms-behavior.md +++ b/packages/documentation/docs/controls/forms/forms-behavior.md @@ -50,9 +50,9 @@ In this strategy, there is no need for a submit button. The form is automaticall - Con: Handling validation and error messages without a submit button can be challenging. - Con: Users may not have a chance to review and confirm their input before submission. -For more information on form validation, refer to the [Validation](forms-validation.md) chapter. +For more information on form validation, refer to the [Validation](forms-validation.mdx) chapter. ## Related patterns -- [Validation](forms-validation.md) +- [Validation](forms-validation.mdx) - [Layout](forms-layout.md) diff --git a/packages/documentation/docs/controls/forms/forms-field.md b/packages/documentation/docs/controls/forms/forms-field.md index 833f5322e8b..ef526859342 100644 --- a/packages/documentation/docs/controls/forms/forms-field.md +++ b/packages/documentation/docs/controls/forms/forms-field.md @@ -16,15 +16,15 @@ A field is a form element when user input is needed. It's typically used with ot - **Label:** Add a label for the field that provides context to your users. - **Required:** The asterisk states whether user input is required on the field before submitting the form. -- **Field:** Use the appropriate field based on the type of input data, e.g. use [text inputs](../input-legacy.md) for text-based data, [checkboxes](../checkbox.mdx) for selecting from a list of predefined options, or [toggle switches](../toggle.md) for a binary choice. +- **Field:** Use the appropriate field based on the type of input data, e.g. use [text inputs](../input.mdx) for text-based data, [checkboxes](../checkbox.mdx) for selecting from a list of predefined options, or [toggle switches](../toggle.mdx) for a binary choice. - **Helper text:** Use to help users understand the field better. We typically use this when there are input restrictions or more information is required. -- **Show text as tooltip:** Display validation feedback either below the input field or as tooltip when the user hovers or focuses on the form field. Use a different text for the individual validation states that apply (see [validation](forms-validation.md)). -- **Counter:** Use a counter to show the number of characters entered into the field and the maximum number of characters allowed. We typically use it for [text input](../input-legacy.md) or [textarea](../textarea.mdx) fields. +- **Show text as tooltip:** Display validation feedback either below the input field or as tooltip when the user hovers or focuses on the form field. Use a different text for the individual validation states that apply (see [validation](forms-validation.mdx)). +- **Counter:** Use a counter to show the number of characters entered into the field and the maximum number of characters allowed. We typically use it for [text input](../input.mdx) or [textarea](../textarea.mdx) fields. ## Behavior in context -- **Interaction:** See [validation](forms-validation.md). -- **Behavior of a field as part of a form:** See [behavior](forms-validation). +- **Interaction:** See [validation](forms-validation.mdx). +- **Behavior of a field as part of a form:** See [behavior](forms-validation.mdx). - **Text truncation:** Labels, feedback and helper texts are not truncated but break into multiple lines if they exceed the field's width. ## States @@ -35,7 +35,7 @@ When a feedback tooltip is chosen over a message, the field shows a tooltip when ![States](https://www.figma.com/design/wEptRgAezDU1z80Cn3eZ0o/iX-Pattern-Illustrations?node-id=2781-12426&t=pKzFQBhaXmjTsR8P-4) -**Note:** There are also several validation states (default, valid, info, warning, invalid) that are described in [validation](forms-validation.md). +**Note:** There are also several validation states (default, valid, info, warning, invalid) that are described in [validation](forms-validation.mdx). ## Dos and Don’ts @@ -47,12 +47,11 @@ When a feedback tooltip is chosen over a message, the field shows a tooltip when ## Related patterns -- [Validation](forms-validation.md) +- [Validation](forms-validation.mdx) - [Behavior](forms-behavior.md) - [Input](../input.mdx) -- [Input Legacy](../input-legacy.md) - [Textarea](../textarea.mdx) - [Select](../select.mdx) - [Checkbox](../checkbox.mdx) - [Radio button](../radio.mdx) -- [Toggle switch](../toggle.md) +- [Toggle switch](../toggle.mdx) diff --git a/packages/documentation/docs/controls/forms/forms-layout.md b/packages/documentation/docs/controls/forms/forms-layout.md index 5fc09b2222d..e3c918d725a 100644 --- a/packages/documentation/docs/controls/forms/forms-layout.md +++ b/packages/documentation/docs/controls/forms/forms-layout.md @@ -32,5 +32,5 @@ Effective ways to organize form elements enhance user comprehension and interact ## Related patterns -- [Validation](forms-validation.md) +- [Validation](forms-validation.mdx) - [Behavior](forms-behavior.md) diff --git a/packages/documentation/docs/controls/forms/forms-validation.md b/packages/documentation/docs/controls/forms/forms-validation.md deleted file mode 100644 index 23eefb52e43..00000000000 --- a/packages/documentation/docs/controls/forms/forms-validation.md +++ /dev/null @@ -1,18 +0,0 @@ -import Code from "./\_forms-validation_code.mdx"; -import Style from "./\_forms-validation_style.md"; -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; - -# Validation - - - - -