Skip to content

Commit

Permalink
Add reciprocal for all similar components (#3989)
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Wooding <[email protected]>
  • Loading branch information
mlmsmith and joshwooding authored Aug 15, 2024
1 parent 0544a93 commit dae73c6
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions site/docs/components/button/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ data:
# Permitted values for relationship are: "similarTo" or
# "contains".
{ name: "Link", relationship: "similarTo" },
{ name: "Pill", relationship: "similarTo" },
{ name: "Icon", relationship: "contains" },
{ name: "Status indicator", relationship: "contains" },
]
Expand Down
1 change: 1 addition & 0 deletions site/docs/components/combo-box/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ data:
# Permitted values for relationship are: "similarTo" or
# "contains".
{ name: "Dropdown", relationship: "similarTo" },
{ name: "List box", relationship: "similarTo" },
{ name: "Input", relationship: "contains" },
]
layout: DetailComponent
Expand Down
1 change: 1 addition & 0 deletions site/docs/components/dialog/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ data:
relatedComponents:
[
{ name: "Banner", relationship: "similarTo" },
{ name: "Drawer", relationship: "similarTo" },
{ name: "Toast", relationship: "similarTo" },
]
relatedPatterns: ["Preferences dialog"]
Expand Down
1 change: 1 addition & 0 deletions site/docs/components/flex-layout/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ data:
relatedComponents:
[
{ name: "Flow layout", relationship: "similarTo" },
{ name: "Parent-child layout", relationship: "similarTo" },
{ name: "Split layout", relationship: "similarTo" },
{ name: "Stack layout", relationship: "similarTo" },
]
Expand Down
1 change: 1 addition & 0 deletions site/docs/components/overlay/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ data:
# Permitted values for relationship are: "similarTo" or
# "contains".
{ name: "Button", relationship: "contains" },
{ name: "Drawer", relationship: "similarTo" },
{ name: "Tooltip", relationship: "similarTo" },
]

Expand Down
2 changes: 1 addition & 1 deletion site/docs/components/progress/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data:
name: "@salt-ds/core"
initialVersion: "1.17.0"
alsoKnownAs: [Progress bar, Progress indicator]
relatedComponents: []
relatedComponents: [{ name: "Spinner", relationship: "similarTo" }]

status: Core component
# Leave this as is
Expand Down
2 changes: 2 additions & 0 deletions site/docs/components/radio-button/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ data:
# Permitted values for relationship are: "similarTo" or
# "contains".
{ name: "Checkbox", relationship: "similarTo" },
{ name: "Toggle button", relationship: "similarTo" },
{ name: "Switch", relationship: "similarTo" },
]

# Leave this as is
Expand Down
3 changes: 3 additions & 0 deletions site/docs/components/split-layout/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ data:
# Permitted values for relationship are: "similarTo" or
# "contains".
{ name: "Flex layout", relationship: "similarTo" },
{ name: "Flow layout", relationship: "similarTo" },
{ name: "Parent-child layout", relationship: "similarTo" },
{ name: "Stack layout", relationship: "similarTo" },
{ name: "Flex layout", relationship: "contains" },
]

Expand Down

0 comments on commit dae73c6

Please sign in to comment.