Skip to content

Commit

Permalink
Unified composed components documentation (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
fraincs authored Oct 7, 2024
2 parents ba06920 + 497f678 commit 36d3953
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 2 deletions.
6 changes: 5 additions & 1 deletion apps/docs/content/components/buttons/ButtonGroup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ links:

### Composed Components

[Button](./Button)
#### ButtonGroup

A `ButtonGroup` uses the following component.

- [Button](./Button)

## Examples

Expand Down
5 changes: 4 additions & 1 deletion apps/docs/content/components/collections/Listbox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,16 @@ The Section component represents a `section` within a Hopper container.

#### ListBox

A `ListBox` uses the following components.

- [Header](./Listbox#header)
- [Section](./Listbox#section)
- [ListBoxItem](./Listbox#listboxitem)


#### ListBoxItem

A `ListBoxItem` uses the following components.

- [Text](./Text)
- [Avatar](Avatar)
- [Icon](./Icon)
Expand Down
6 changes: 6 additions & 0 deletions apps/docs/content/components/collections/TagGroup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,23 @@ links:

### Composed Components

#### TagGroup

A `TagGroup` uses the following components.

- [Label](Label)
- [TagList](#props-taglist)
- [ErrorMessage](ErrorMessage)
- [HelperMessage](HelperMessage)

#### TagList

A `TagList` uses the following components.

- [Tag](#props-tag)

#### Tag

A `Tag` uses the following components.

- [Avatar](Avatar)
Expand Down
4 changes: 4 additions & 0 deletions apps/docs/content/components/forms/Checkbox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,16 @@ links:

#### Checkbox

A `Checkbox` uses the following components.

- [Icon](./Icon)
- [IconList](./IconList)
- [Text](./Text)

#### CheckboxField

A `CheckboxField` uses the following components.

- [Checkbox](#props-checkbox)
- [Text](./Text)

Expand Down
4 changes: 4 additions & 0 deletions apps/docs/content/components/forms/CheckboxGroup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ links:

### Composed Components

#### CheckboxGroup

A `CheckboxGroup` uses the following components.

- [Checkbox](./Checkbox)

## Examples
Expand Down
2 changes: 2 additions & 0 deletions apps/docs/content/components/forms/Form.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ links:

### Composed Components

#### Form

A `Form` uses the following components.

- [TextField](./TextField)
Expand Down
2 changes: 2 additions & 0 deletions apps/docs/content/components/forms/SearchField.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ links:

### Composed Components

#### SearchField

A `SearchField` uses the following components.

- [Label](./Label)
Expand Down
2 changes: 2 additions & 0 deletions apps/docs/content/components/forms/TextArea.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ links:

### Composed Components

#### TextArea

A `TextArea` uses the following components.

- [Label](Label)
Expand Down
2 changes: 2 additions & 0 deletions apps/docs/content/components/forms/TextField.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ Specialized text fields are available for different scenarios:

### Composed Components

#### TextField

A `TextField` uses the following components.

- [Label](./Label)
Expand Down
2 changes: 2 additions & 0 deletions apps/docs/content/components/navigation/Link.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ links:

### Composed Components

#### Link

A `Link` uses the following components.

- [Icon](./Icon)
Expand Down
4 changes: 4 additions & 0 deletions apps/docs/content/components/overlays/Popover.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ links:

### Composed Components

#### Popover

A `Popover` uses the following components.

- [Button](./Button)
- [ButtonGroup](./ButtonGroup)
- Content
Expand Down
4 changes: 4 additions & 0 deletions apps/docs/content/components/pickers/ComboBox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ The Section component represents a `section` within a Hopper container.

#### ComboBox

A `ComboBox` uses the following components.

- [Label](./Label)
- [Helper Message](./HelperMessage)
- [Error Message](./ErrorMessage)
Expand All @@ -50,6 +52,8 @@ The Section component represents a `section` within a Hopper container.

#### ComboBoxOption

A `ComboBoxOption` uses the following components.

- [Text](./Text)
- [Avatar](Avatar)
- [Icon](./Icon)
Expand Down
4 changes: 4 additions & 0 deletions apps/docs/content/components/pickers/Select.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ The Section component represents a `section` within a Hopper container.

#### Select

A `Select` uses the following components.

- [Label](./Label)
- [Helper Message](./HelperMessage)
- [Error Message](./ErrorMessage)
Expand All @@ -49,6 +51,8 @@ The Section component represents a `section` within a Hopper container.

#### SelectOption

A `SelectOption` uses the following components.

- [Text](./Text)
- [Avatar](Avatar)
- [Icon](./Icon)
Expand Down

0 comments on commit 36d3953

Please sign in to comment.