Skip to content

Commit

Permalink
Fixed docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vicky-comeau committed Nov 28, 2024
1 parent 865ddbe commit 1ec61af
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 77 deletions.
6 changes: 5 additions & 1 deletion apps/docs/content/components/collections/Listbox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ links:

A `ListBox` uses the following components.

<ComposedComponents components={["Avatar", "Badge", "Header", "Icon", "Section", "Text"]}/>
<ComposedComponents components={["Avatar", "Badge", "Header", "Icon", "Text"]}/>

## Usage

Expand Down Expand Up @@ -170,6 +170,10 @@ List box items can vary in sizes.

<PropTable component="ListBox" />

### ListBoxSection

<PropTable component="ListBoxSection" />

### ListBoxItem

<PropTable component="ListBoxItem" />
Expand Down
57 changes: 0 additions & 57 deletions apps/docs/content/components/collections/Section.mdx

This file was deleted.

12 changes: 11 additions & 1 deletion apps/docs/content/components/pickers/ComboBox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The Section component represents a `section` within a Hopper container.

A `ComboBox` uses the following components.

<ComposedComponents components={["Avatar", "Badge", "Header", "Icon", "Section", "Text"]}/>
<ComposedComponents components={["Avatar", "Badge", "Header", "Icon", "Text"]}/>

## Usage

Expand Down Expand Up @@ -197,5 +197,15 @@ A combo box item can have a description.

## Props

### ComboBox

<PropTable component="ComboBox" />

### ComboBoxSection

<PropTable component="ListBoxSection" />

### ComboBoxItem

<PropTable component="ListBoxItem" />

12 changes: 11 additions & 1 deletion apps/docs/content/components/pickers/Select.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The Section component represents a `section` within a Hopper container.

A `Select` uses the following components.

<ComposedComponents components={["Avatar", "Badge", "Header", "Icon", "Section", "Text"]}/>
<ComposedComponents components={["Avatar", "Badge", "Header", "Icon", "Text"]}/>

## Usage

Expand Down Expand Up @@ -198,8 +198,18 @@ A select item can have a description.

## Props

### Select

<PropTable component="Select" />

### SelectSection

<PropTable component="ListBoxSection" />

### SelectItem

<PropTable component="ListBoxItem" />

## Migration Notes

<MigrateGuide src="Select/docs/migration-notes" />
3 changes: 0 additions & 3 deletions apps/docs/examples/Preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,6 @@ export const Previews: Record<string, Preview> = {
"ListBox/docs/multipleSizes": {
component: lazy(() => import("@/../../packages/components/src/ListBox/docs/multipleSizes.tsx"))
},
"Section/docs/preview": {
component: lazy(() => import("@/../../packages/components/src/Section/docs/preview.tsx"))
},
"tag/docs/preview": {
component: lazy(() => import("@/../../packages/components/src/tag/docs/preview.tsx"))
},
Expand Down
14 changes: 0 additions & 14 deletions packages/components/src/ListBoxSection/docs/preview.tsx

This file was deleted.

0 comments on commit 1ec61af

Please sign in to comment.