Skip to content

Commit fd2fc75

Browse files
Fix broken links (#6822)
Co-authored-by: Josh <12938082+joshwooding@users.noreply.github.com>
1 parent 3389711 commit fd2fc75

17 files changed

Lines changed: 39 additions & 41 deletions

File tree

site/docs/components/calendar/usage.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ import { CalendarGrid } from "@salt-ds/date-components";
7171

7272
### Setting the date
7373

74-
Date controls, require your application to contain a [LocalizationProvider](../LocalizationProvider).
74+
Date controls, require your application to contain a [LocalizationProvider](../localization-provider).
7575

7676
Pass a date object from your configured date framework via the `defaultDate` or `date` props.
7777

@@ -102,7 +102,7 @@ import {
102102

103103
The default locale for Salt's date adapters is "enUS".
104104

105-
`Calendar` uses the locale of the configured date adapter provided by the nearest [LocalizationProvider](../LocalizationProvider).
105+
`Calendar` uses the locale of the configured date adapter provided by the nearest [LocalizationProvider](../localization-provider).
106106
Configuration of locales is date framework specific and may require you to import specific locales from the date library you are using.
107107

108108
Refer to the documentation of the date library you are using for information on how to configure other locales.

site/docs/components/card/usage.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Cards may include text, images, or interactive elements. Make sure the content a
2121

2222
### When not to use
2323

24-
- To display sequential information or emphasize ranking. Instead, use [`List`](../list).
24+
- To display sequential information or emphasize ranking. Instead, use [`List`](../list-box).
2525
- As a stand-alone call to action. Instead, use [`Button`](../button).
2626
- For decoration purposes only.
2727

site/docs/components/date-input/examples.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ A custom parser can be provided through the `parse` prop.
5555

5656
### Locale
5757

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.
5959

6060
<LivePreview
6161
componentName="date-input"
@@ -103,7 +103,7 @@ A `DateInputRange` component with a border provides a visually distinct input fi
103103

104104
### Locale
105105

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.
107107

108108
<LivePreview
109109
componentName="date-input"

site/docs/components/date-input/usage.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import { DateInputRange } from "@salt-ds/date-components";
4141

4242
### Setting the date
4343

44-
Date controls, require your application to contain a [LocalizationProvider](../LocalizationProvider).
44+
Date controls, require your application to contain a [LocalizationProvider](../localization-provider).
4545

4646
Date input accept dates in two formats:
4747

@@ -109,7 +109,7 @@ Additionally, you can provide your own formatter through the `format` prop.
109109

110110
The default locale for Salt's date adapters is "enUS".
111111

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).
113113
Configuration of locales is date framework specific and may require you to import specific locales from the date library you are using.
114114

115115
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`.

site/docs/components/date-picker/examples.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ For the purpose of the examples, we use type `DateFrameworkType` so the examples
1717

1818
## Default
1919

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.
2121

2222
<LivePreview componentName="date-picker" exampleName="Single" />
2323

2424
## Controlled
2525

26-
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.
2727

2828
<LivePreview componentName="date-picker" exampleName="SingleControlled" />
2929

site/docs/components/date-picker/range-date-picker/accessibility.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ data:
1313
- 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/).
1414
- Clearly indicate dates that can’t be selected, such as weekends, non-trading days, or other blocked days, if relevant to your use case.
1515
- 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).
1717

1818
### Focus
1919

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.
2121
- After a date is selected, provide feedback and move focus appropriately to enhance the user experience.
2222

2323
### Provide instructions and feedback

site/docs/components/date-picker/range-date-picker/examples.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ For the purpose of the examples, we use type `DateFrameworkType` so the examples
1717

1818
## Default
1919

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.
2121

2222
<LivePreview componentName="date-picker" exampleName="Range" />
2323

2424
## Controlled
2525

26-
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.
2727

2828
<LivePreview componentName="date-picker" exampleName="RangeControlled" />
2929

site/docs/components/date-picker/range-date-picker/usage.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ Salt provides the following `children` for convenience:
2222

2323
When `selectionVariant` is "range":
2424

25-
- `DatePickerRangeInput` - a composable [DateInputRange](../DateInput) pre-wired to the `DatePicker` selection context.
26-
- `DatePickerRangeGridPanel` - composable [Calendar](../Calendar) grid pre-wired to the `DatePicker` selection context.
25+
- `DatePickerRangeInput` - a composable [DateInputRange](../../date-input) pre-wired to the `DatePicker` selection context.
26+
- `DatePickerRangeGridPanel` - composable [Calendar](../../calendar) grid pre-wired to the `DatePicker` selection context.
2727
- Opt for `DatePickerRangeGridPanel` when dealing with short date ranges or when displaying the dates in-between enhances the user experience.
28-
- `DatePickerRangePanel` - composable dual [Calendar](../Calendar) view pre-wired to the `DatePicker` selection context.
28+
- `DatePickerRangePanel` - composable dual [Calendar](../../calendar) view pre-wired to the `DatePicker` selection context.
2929
- Choose `DatePickerRangePanel` for long date ranges or when the focus is primarily on the start and end dates, rather than the dates in-between.
3030

3131
A composable API enables you to use provided child components, such as `DatePickerRangeInput` and `DatePickerRangePanel`.
@@ -58,7 +58,7 @@ import { DatePicker } from "@salt-ds/date-components";
5858

5959
### Setting the date
6060

61-
Date controls, require your application to contain a [LocalizationProvider](../LocalizationProvider).
61+
Date controls, require your application to contain a [LocalizationProvider](../../localization-provider).
6262

6363
Pass a range object from your configured date framework using the `defaultDate` or `date` props.
6464

@@ -94,7 +94,7 @@ import {
9494

9595
The default locale for Salt's date adapters is "enUS".
9696

97-
`DatePicker` uses the locale of the configured date adapter provided by the nearest [LocalizationProvider] (../LocalizationProvider).
97+
`DatePicker` uses the locale of the configured date adapter provided by the nearest [LocalizationProvider] (../../localization-provider).
9898
Configuration of locales is date framework specific and may require you to import specific locales from the date library you are using.
9999

100100
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`.
@@ -129,7 +129,7 @@ Valid values for `timezone` are date framework specific and can be one of the fo
129129
componentName="DatePickerSingleInput"
130130
/>
131131

132-
`DatePickerSingleInput` composes a [DateInputSingle](../DateInput) that uses the `DatePicker` context for single date selection.
132+
`DatePickerSingleInput` composes a [DateInputSingle](../../date-input) that uses the `DatePicker` context for single date selection.
133133

134134
### DatePickerRangeInput
135135

@@ -138,7 +138,7 @@ Valid values for `timezone` are date framework specific and can be one of the fo
138138
componentName="DatePickerRangeInput"
139139
/>
140140

141-
`DatePickerRangeInput` composes a [DateInputRange](../DateInput) that uses the `DatePicker` context for date range selection.
141+
`DatePickerRangeInput` composes a [DateInputRange](../../date-input) that uses the `DatePicker` context for date range selection.
142142

143143
### DatePickerSingleGridPanel
144144

@@ -147,7 +147,7 @@ Valid values for `timezone` are date framework specific and can be one of the fo
147147
componentName="DatePickerSingleGridPanel"
148148
/>
149149

150-
`DatePickerSingleGridPanel` composes a [Calendar](../Calendar) that uses the `DatePicker` context for single date selection.
150+
`DatePickerSingleGridPanel` composes a [Calendar](../../calendar) that uses the `DatePicker` context for single date selection.
151151

152152
### DatePickerRangePanel
153153

@@ -156,7 +156,7 @@ Valid values for `timezone` are date framework specific and can be one of the fo
156156
componentName="DatePickerRangePanel"
157157
/>
158158

159-
`DatePickerRangePanel` composes a [Calendar](../Calendar) that uses the `DatePicker` context for date range selection.
159+
`DatePickerRangePanel` composes a [Calendar](../../calendar) that uses the `DatePicker` context for date range selection.
160160

161161
### DatePickerOverlay
162162

site/docs/components/date-picker/usage.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Salt provides the following `children` for convenience:
2020

2121
When `selectionVariant` is "single":
2222

23-
- `DatePickerSingleInput` - a composable [DateInputSingle](../DateInput) component pre-wired to the `DatePicker` selection context.
23+
- `DatePickerSingleInput` - a composable [DateInputSingle](../date-input) component pre-wired to the `DatePicker` selection context.
2424
- `DatePickerSingleGridPanel` - a composable [Calendar](../Calendar) grid pre-wired to the `DatePicker` selection context.
2525

2626
#### When to use
@@ -57,7 +57,7 @@ import { DatePicker } from "@salt-ds/date-components";
5757

5858
### Setting the date
5959

60-
Date controls, require your application to contain a [LocalizationProvider](../LocalizationProvider).
60+
Date controls, require your application to contain a [LocalizationProvider](../localization-provider).
6161

6262
Pass a date object from your configured date framework via the `defaultDate` or `date` props.
6363

@@ -93,7 +93,7 @@ import {
9393

9494
The default locale for Salt's date adapters is "enUS".
9595

96-
`DatePicker` uses the locale of the configured date adapter provided by the nearest [LocalizationProvider] (../LocalizationProvider).
96+
`DatePicker` uses the locale of the configured date adapter provided by the nearest [LocalizationProvider] (../localization-provider).
9797
Configuration of locales is date framework specific and may require you to import specific locales from the date library you are using.
9898

9999
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`.
@@ -128,7 +128,7 @@ Valid values for `timezone` are date framework specific and can be one of the fo
128128
componentName="DatePickerSingleInput"
129129
/>
130130

131-
`DatePickerSingleInput` composes a [DateInputSingle](../DateInput) that uses the `DatePicker` context for single date selection.
131+
`DatePickerSingleInput` composes a [DateInputSingle](../date-input) that uses the `DatePicker` context for single date selection.
132132

133133
### DatePickerRangeInput
134134

@@ -137,7 +137,7 @@ Valid values for `timezone` are date framework specific and can be one of the fo
137137
componentName="DatePickerRangeInput"
138138
/>
139139

140-
`DatePickerRangeInput` composes a [DateInputRange](../DateInput) that uses the `DatePicker` context for date range selection.
140+
`DatePickerRangeInput` composes a [DateInputRange](../date-input) that uses the `DatePicker` context for date range selection.
141141

142142
### DatePickerSingleGridPanel
143143

site/docs/components/layouts/border-layout/usage.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ data:
1717
### When not to use
1818

1919
- 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).
2222

2323
## Import
2424

0 commit comments

Comments
 (0)