Skip to content

Commit 372c77f

Browse files
authored
docs(Grid): update broken links (#19368)
* docs(Grid): update broken links in Column * docs(Grid): update broken links in Grid mdx
1 parent 04965e3 commit 372c77f

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

packages/react/src/components/Grid/Column.tsx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,39 +48,39 @@ export interface ColumnBaseProps {
4848
* Specify column span for the `lg` breakpoint (Default breakpoint up to 1312px)
4949
* This breakpoint supports 16 columns by default.
5050
*
51-
* @see https://www.carbondesignsystem.com/guidelines/layout#breakpoints
51+
* @see https://carbondesignsystem.com/elements/2x-grid/overview/#breakpoints
5252
*/
5353
lg?: ColumnSpan;
5454

5555
/**
5656
* Specify column span for the `max` breakpoint. This breakpoint supports 16
5757
* columns by default.
5858
*
59-
* @see https://www.carbondesignsystem.com/guidelines/layout#breakpoints
59+
* @see https://carbondesignsystem.com/elements/2x-grid/overview/#breakpoints
6060
*/
6161
max?: ColumnSpan;
6262

6363
/**
6464
* Specify column span for the `md` breakpoint (Default breakpoint up to 1056px)
6565
* This breakpoint supports 8 columns by default.
6666
*
67-
* @see https://www.carbondesignsystem.com/guidelines/layout#breakpoints
67+
* @see https://carbondesignsystem.com/elements/2x-grid/overview/#breakpoints
6868
*/
6969
md?: ColumnSpan;
7070

7171
/**
7272
* Specify column span for the `sm` breakpoint (Default breakpoint up to 672px)
7373
* This breakpoint supports 4 columns by default.
7474
*
75-
* @see https://www.carbondesignsystem.com/guidelines/layout#breakpoints
75+
* @see https://carbondesignsystem.com/elements/2x-grid/overview/#breakpoints
7676
*/
7777
sm?: ColumnSpan;
7878

7979
/**
8080
* Specify column span for the `xlg` breakpoint (Default breakpoint up to
8181
* 1584px) This breakpoint supports 16 columns by default.
8282
*
83-
* @see https://www.carbondesignsystem.com/guidelines/layout#breakpoints
83+
* @see https://carbondesignsystem.com/elements/2x-grid/overview/#breakpoints
8484
*/
8585
xlg?: ColumnSpan;
8686

@@ -190,31 +190,31 @@ Column.propTypes = {
190190
* Specify column span for the `lg` breakpoint (Default breakpoint up to 1312px)
191191
* This breakpoint supports 16 columns by default.
192192
*
193-
* @see https://www.carbondesignsystem.com/guidelines/layout#breakpoints
193+
* @see https://carbondesignsystem.com/elements/2x-grid/overview/#breakpoints
194194
*/
195195
lg: spanPropType,
196196

197197
/**
198198
* Specify column span for the `max` breakpoint. This breakpoint supports 16
199199
* columns by default.
200200
*
201-
* @see https://www.carbondesignsystem.com/guidelines/layout#breakpoints
201+
* @see https://carbondesignsystem.com/elements/2x-grid/overview/#breakpoints
202202
*/
203203
max: spanPropType,
204204

205205
/**
206206
* Specify column span for the `md` breakpoint (Default breakpoint up to 1056px)
207207
* This breakpoint supports 8 columns by default.
208208
*
209-
* @see https://www.carbondesignsystem.com/guidelines/layout#breakpoints
209+
* @see https://carbondesignsystem.com/elements/2x-grid/overview/#breakpoints
210210
*/
211211
md: spanPropType,
212212

213213
/**
214214
* Specify column span for the `sm` breakpoint (Default breakpoint up to 672px)
215215
* This breakpoint supports 4 columns by default.
216216
*
217-
* @see https://www.carbondesignsystem.com/guidelines/layout#breakpoints
217+
* @see https://carbondesignsystem.com/elements/2x-grid/overview/#breakpoints
218218
*/
219219
sm: spanPropType,
220220

@@ -228,7 +228,7 @@ Column.propTypes = {
228228
* Specify column span for the `xlg` breakpoint (Default breakpoint up to
229229
* 1584px) This breakpoint supports 16 columns by default.
230230
*
231-
* @see https://www.carbondesignsystem.com/guidelines/layout#breakpoints
231+
* @see https://carbondesignsystem.com/elements/2x-grid/overview/#breakpoints
232232
*/
233233
xlg: spanPropType,
234234
};
@@ -282,31 +282,31 @@ CSSGridColumn.propTypes = {
282282
* Specify column span for the `lg` breakpoint (Default breakpoint up to 1312px)
283283
* This breakpoint supports 16 columns by default.
284284
*
285-
* @see https://www.carbondesignsystem.com/guidelines/layout#breakpoints
285+
* @see https://carbondesignsystem.com/elements/2x-grid/overview/#breakpoints
286286
*/
287287
lg: spanPropType,
288288

289289
/**
290290
* Specify column span for the `max` breakpoint. This breakpoint supports 16
291291
* columns by default.
292292
*
293-
* @see https://www.carbondesignsystem.com/guidelines/layout#breakpoints
293+
* @see https://carbondesignsystem.com/elements/2x-grid/overview/#breakpoints
294294
*/
295295
max: spanPropType,
296296

297297
/**
298298
* Specify column span for the `md` breakpoint (Default breakpoint up to 1056px)
299299
* This breakpoint supports 8 columns by default.
300300
*
301-
* @see https://www.carbondesignsystem.com/guidelines/layout#breakpoints
301+
* @see https://carbondesignsystem.com/elements/2x-grid/overview/#breakpoints
302302
*/
303303
md: spanPropType,
304304

305305
/**
306306
* Specify column span for the `sm` breakpoint (Default breakpoint up to 672px)
307307
* This breakpoint supports 4 columns by default.
308308
*
309-
* @see https://www.carbondesignsystem.com/guidelines/layout#breakpoints
309+
* @see https://carbondesignsystem.com/elements/2x-grid/overview/#breakpoints
310310
*/
311311
sm: spanPropType,
312312

@@ -328,7 +328,7 @@ CSSGridColumn.propTypes = {
328328
* Specify column span for the `xlg` breakpoint (Default breakpoint up to
329329
* 1584px) This breakpoint supports 16 columns by default.
330330
*
331-
* @see https://www.carbondesignsystem.com/guidelines/layout#breakpoints
331+
* @see https://carbondesignsystem.com/elements/2x-grid/overview/#breakpoints
332332
*/
333333
xlg: spanPropType,
334334
};

packages/react/src/components/Grid/Grid.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ don't span more columns than the total number of columns in the grid.
6969
To specify how many columns the `Column` component should span, you can use the
7070
`sm`, `md`, `lg`, `xlg`, or `max` props. These props are shorthand versions of
7171
the names given to each of the breakpoints defined by the
72-
[2x Grid](https://www.carbondesignsystem.com/guidelines/2x-grid/implementation/#responsive-options).
72+
[2x Grid](https://carbondesignsystem.com/elements/2x-grid/overview/#breakpoints).
7373
In the example below, we will use the `lg` prop for the large breakpoint and the
7474
number `4` to specify that each `Column` component should span 4 columns at that
7575
breakpoint.
@@ -124,7 +124,7 @@ among others.
124124
## Gutter modes
125125

126126
There are several
127-
[gutter modes](https://www.carbondesignsystem.com/guidelines/2x-grid/implementation/#gutter-modes)
127+
[gutter modes](https://carbondesignsystem.com/elements/2x-grid/overview/#gutters)
128128
that you can use depending on the layout effect you're looking to achieve. By
129129
default, `Grid` uses the wide gutter mode with a 32px gutter. However, you can
130130
use the `condensed` prop to enable the condensed gutter mode with a 1px gutter

0 commit comments

Comments
 (0)