You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/docs/components/date-input/examples.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ A custom parser can be provided through the `parse` prop.
55
55
56
56
### Locale
57
57
58
-
A `DateInputSingle` component will use the locale defined by the nearest [LocalizationProvider](../LocalizationProvider) to determine locale specifics, such as date format.
58
+
A `DateInputSingle` component will use the locale defined by the nearest [LocalizationProvider](../localization-provider) to determine locale specifics, such as date format.
59
59
60
60
<LivePreview
61
61
componentName="date-input"
@@ -103,7 +103,7 @@ A `DateInputRange` component with a border provides a visually distinct input fi
103
103
104
104
### Locale
105
105
106
-
A `DateInputRange` component will use the locale defined by the nearest [LocalizationProvider](../LocalizationProvider) to determine locale specifics, such as date format.
106
+
A `DateInputRange` component will use the locale defined by the nearest [LocalizationProvider](../localization-provider) to determine locale specifics, such as date format.
Copy file name to clipboardExpand all lines: site/docs/components/date-input/usage.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ import { DateInputRange } from "@salt-ds/date-components";
41
41
42
42
### Setting the date
43
43
44
-
Date controls, require your application to contain a [LocalizationProvider](../LocalizationProvider).
44
+
Date controls, require your application to contain a [LocalizationProvider](../localization-provider).
45
45
46
46
Date input accept dates in two formats:
47
47
@@ -109,7 +109,7 @@ Additionally, you can provide your own formatter through the `format` prop.
109
109
110
110
The default locale for Salt's date adapters is "enUS".
111
111
112
-
`DateInputSingle` and `DateInputRange` use the locale of the configured date adapter provided by the nearest [LocalizationProvider](../LocalizationProvider).
112
+
`DateInputSingle` and `DateInputRange` use the locale of the configured date adapter provided by the nearest [LocalizationProvider](../localization-provider).
113
113
Configuration of locales is date framework specific and may require you to import specific locales from the date library you are using.
114
114
115
115
For example, if you are using `date-fns`, you may need to import the specific locale you want to use, such as `es` or `frFR`.
Copy file name to clipboardExpand all lines: site/docs/components/date-picker/examples.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,13 +17,13 @@ For the purpose of the examples, we use type `DateFrameworkType` so the examples
17
17
18
18
## Default
19
19
20
-
An uncontrolled `DatePicker`, composed of a [DateInputSingle](../DateInput) and a [Calendar](../Calendar) component, allows users to select a single date when the `selectionVariant` prop is set to "single", without requiring explicit state management in the parent component, making it ideal for simple date selection tasks.
20
+
An uncontrolled `DatePicker`, composed of a [DateInputSingle](../date-input) and a [Calendar](../Calendar) component, allows users to select a single date when the `selectionVariant` prop is set to "single", without requiring explicit state management in the parent component, making it ideal for simple date selection tasks.
A controlled `DatePicker`, composed of a [DateInputSingle](../DateInput) and a [Calendar](../Calendar) component, allows users to select a single date when the `selectionVariant` prop is set to "single", with the parent component explicitly managing the date state, providing greater control over the date selection process.
26
+
A controlled `DatePicker`, composed of a [DateInputSingle](../date-input) and a [Calendar](../Calendar) component, allows users to select a single date when the `selectionVariant` prop is set to "single", with the parent component explicitly managing the date state, providing greater control over the date selection process.
Copy file name to clipboardExpand all lines: site/docs/components/date-picker/range-date-picker/accessibility.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,11 +13,11 @@ data:
13
13
- Wrap `DatePicker` in [`FormField`](/salt/components/form-field) to provide the field with a visible label, help text, and a status message for validation feedback. This will ensure it complies with accessibility guidelines. You can find more information [in the W3C form instructions](https://www.w3.org/WAI/tutorials/forms/instructions/).
14
14
- Clearly indicate dates that can’t be selected, such as weekends, non-trading days, or other blocked days, if relevant to your use case.
15
15
- Consider showing date options in a dropdown instead of a date picker if the date or range is pre-determined and cannot be specified by the user.
16
-
- As the `DatePicker` typically composes `DateInput` controls, refer to the accessibility guidance for [DateInput](../date-input/accessibility).
16
+
- As the `DatePicker` typically composes `DateInput` controls, refer to the accessibility guidance for [DateInput](../../date-input/accessibility).
17
17
18
18
### Focus
19
19
20
-
- If the `DatePicker` uses `children` to compose other components such as [Calendar](../Calendar), move focus to the first interactive element within that overlay.
20
+
- If the `DatePicker` uses `children` to compose other components such as [Calendar](../../calendar), move focus to the first interactive element within that overlay.
21
21
- After a date is selected, provide feedback and move focus appropriately to enhance the user experience.
Copy file name to clipboardExpand all lines: site/docs/components/date-picker/range-date-picker/examples.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,13 +17,13 @@ For the purpose of the examples, we use type `DateFrameworkType` so the examples
17
17
18
18
## Default
19
19
20
-
An uncontrolled `DatePicker`, composed of a [DateInputRange](../DateInput) and a [Calendar](../Calendar) component, allows users to select a date range when the `selectionVariant` prop is set to "range", without requiring explicit state management in the parent component, making it ideal for selecting start and end dates for various applications.
20
+
An uncontrolled `DatePicker`, composed of a [DateInputRange](../../date-input) and a [Calendar](../../calendar) component, allows users to select a date range when the `selectionVariant` prop is set to "range", without requiring explicit state management in the parent component, making it ideal for selecting start and end dates for various applications.
A controlled `DatePicker`, composed of a [DateInputRange](../DateInput) and a [Calendar](../Calendar) component, allows users to select a date range when the `selectionVariant` prop is set to "range", with the parent component explicitly managing the start and end date states, providing greater control over the date range selection process.
26
+
A controlled `DatePicker`, composed of a [DateInputRange](../../date-input) and a [Calendar](../../calendar) component, allows users to select a date range when the `selectionVariant` prop is set to "range", with the parent component explicitly managing the start and end date states, providing greater control over the date range selection process.
Copy file name to clipboardExpand all lines: site/docs/components/layouts/border-layout/usage.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,8 @@ data:
17
17
### When not to use
18
18
19
19
- When you're not managing the top-level layout of your application, but the layout inside one of the five border layout regions.
20
-
- For a customized layout that you can control in both row and column dimensions (for example, a dashboard). Instead, use [`GridLayout`](./grid-layout).
21
-
- For a side panel that temporarily reveals relevant content. Instead, use [`Drawer`](../drawer).
20
+
- For a customized layout that you can control in both row and column dimensions (for example, a dashboard). Instead, use [`GridLayout`](../grid-layout).
21
+
- For a side panel that temporarily reveals relevant content. Instead, use [`Drawer`](../../drawer).
0 commit comments