Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/react-core/src/demos/AlertGroup.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ This demonstrates how you can assemble a full page view including the use of ale

### Alert group toast with notification drawer

```js file='./examples/AlertGroup/AlertGroupToastWithNotificationDrawer.tsx' isFullscreen
```ts file="examples/AlertGroup/AlertGroupToastWithNotificationDrawer.tsx" isFullscreen

```
2 changes: 1 addition & 1 deletion packages/react-core/src/demos/BackToTop.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/Dashboard

Note that `tabIndex={0}` is added to the scrolling `PageSection` of the page to allow keyboard users the ability to focus and scroll.

```js isFullscreen file="./examples/BackToTop/BackToTopNameDemo.tsx"
```ts file="examples/BackToTop/BackToTopNameDemo.tsx" isFullscreen
```
2 changes: 1 addition & 1 deletion packages/react-core/src/demos/CardView/CardView.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ This demonstrates how you can assemble a full page view that contains a grid of

### Card view

```js file="./examples/CardView.tsx" isFullscreen
```ts file="examples/CardView.tsx" isFullscreen
```
8 changes: 4 additions & 4 deletions packages/react-core/src/demos/DataListDemo.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,24 @@ import { rows } from '@patternfly/react-core/dist/esm/demos/sampleData';

### Basic

```js file="./DataList/examples/DataListBasic.tsx" isFullscreen
```ts file="DataList/examples/DataListBasic.tsx" isFullscreen

```

### Expandable control in toolbar

```js file="./DataList/examples/DataListExpandableControlInToolbar.tsx" isFullscreen
```ts file="DataList/examples/DataListExpandableControlInToolbar.tsx" isFullscreen

```

### Actionable

```js file="./DataList/examples/DataListActionable.tsx" isFullscreen
```ts file="DataList/examples/DataListActionable.tsx" isFullscreen

```

### Static bottom pagination

```js file="./DataList/examples/DataListStaticBottomPagination.tsx" isFullscreen
```ts file="DataList/examples/DataListStaticBottomPagination.tsx" isFullscreen

```
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/Dashboard

### Basic

```js file='./examples/DescriptionListBasic.tsx' isFullscreen
```ts file="examples/DescriptionListBasic.tsx" isFullscreen
```

### In drawer

```js file='./examples/DescriptionListInDrawer.tsx' isFullscreen
```ts file="examples/DescriptionListInDrawer.tsx" isFullscreen
```
18 changes: 9 additions & 9 deletions packages/react-core/src/demos/Nav.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,45 +19,45 @@ import { DashboardHeader } from '@patternfly/react-core/dist/js/demos/DashboardH

### Default nav

```js file='./examples/Nav/NavDefault.tsx' isFullscreen
```ts file="./examples/Nav/NavDefault.tsx" isFullscreen
```

### Grouped nav

```js file='./examples/Nav/NavGrouped.tsx' isFullscreen
```ts file="./examples/Nav/NavGrouped.tsx" isFullscreen
```

### Expandable nav

```js file='./examples/Nav/NavExpandable.tsx' isFullscreen
```ts file="./examples/Nav/NavExpandable.tsx" isFullscreen
```

### Horizontal nav

```js file='./examples/Nav/NavHorizontal.tsx' isFullscreen
```ts file="./examples/Nav/NavHorizontal.tsx" isFullscreen
```

### Horizontal subnav

```js file='./examples/Nav/NavWithSubnav.tsx' isFullscreen
```ts file="./examples/Nav/NavWithSubnav.tsx" isFullscreen
```

### Horizontal nav with horizontal subnav

```js file='./examples/Nav/NavHorizontalWithSubnav.tsx' isFullscreen
```ts file="./examples/Nav/NavHorizontalWithSubnav.tsx" isFullscreen
```

### Manual nav

```js file='./examples/Nav/NavManual.tsx' isFullscreen
```ts file="./examples/Nav/NavManual.tsx" isFullscreen
```

### Flyout nav

```js file='./examples/Nav/NavFlyout.tsx' isFullscreen
```ts file="./examples/Nav/NavFlyout.tsx" isFullscreen
```

### Drilldown nav

```js isFullscreen file="./examples/Nav/NavDrilldown.tsx"
```ts isFullscreen file="./examples/Nav/NavDrilldown.tsx"
```
12 changes: 6 additions & 6 deletions packages/react-core/src/demos/PrimaryDetail.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,32 +31,32 @@ import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/Dashboard

### Primary-detail full page

```js file="./examples/PrimaryDetail/PrimaryDetailFullPage.tsx" isFullscreen
```ts file="examples/PrimaryDetail/PrimaryDetailFullPage.tsx" isFullscreen
```

### Primary-detail content padding

```js file="./examples/PrimaryDetail/PrimaryDetailContentPadding.tsx" isFullscreen
```ts file="examples/PrimaryDetail/PrimaryDetailContentPadding.tsx" isFullscreen

```

### Primary-detail card view

```js file="./examples/PrimaryDetail/PrimaryDetailCardView.tsx" isFullscreen
```ts file="examples/PrimaryDetail/PrimaryDetailCardView.tsx" isFullscreen
```

### Primary-detail simple list in card

```js file="./examples/PrimaryDetail/PrimaryDetailSimpleListInCard.tsx" isFullscreen
```ts file="examples/PrimaryDetail/PrimaryDetailSimpleListInCard.tsx" isFullscreen
```

### Primary-detail data list in card

```js file="./examples/PrimaryDetail/PrimaryDetailDataListInCard.tsx" isFullscreen
```ts file="examples/PrimaryDetail/PrimaryDetailDataListInCard.tsx" isFullscreen
```

### Primary-detail inline modifier

```js file="./examples/PrimaryDetail/PrimaryDetailInlineModifier.tsx" isFullscreen
```ts file="examples/PrimaryDetail/PrimaryDetailInlineModifier.tsx" isFullscreen

```
2 changes: 1 addition & 1 deletion packages/react-core/src/demos/RTL/RTL.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ This demonstrates how the UI adapts to the writing mode of the page.

### Paginated table

```js file="./examples/PaginatedTable.tsx" isFullscreen
```ts file="examples/PaginatedTable.tsx" isFullscreen

```
2 changes: 1 addition & 1 deletion packages/react-core/src/demos/Toolbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/Dashboard

This is an example of toolbar usage in log viewer.

```js file="./examples/Toolbar/ConsoleLogViewerToolbar.tsx" isFullscreen
```ts file="examples/Toolbar/ConsoleLogViewerToolbar.tsx" isFullscreen
```
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useState } from 'react';
import { BackToTop, Card, CardBody, Content, Gallery, GalleryItem, PageSection, Switch } from '@patternfly/react-core';
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';

export const Name = () => {
export const BacktoTopNameDemo: React.FunctionComponent = () => {
const [isAlwaysVisible, setIsAlwaysVisible] = useState(false);

const handleChange = (_event, isChecked) => {
Expand Down
16 changes: 8 additions & 8 deletions packages/react-table/src/demos/Table.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,49 +77,49 @@ import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';

### Bulk select

```js isFullscreen file="./examples/TableBulkSelect.tsx"
```ts isFullscreen file="examples/TableBulkSelect.tsx"

```

### Expand/collapse all

```js isFullscreen file="./examples/TableExpandCollapseAll.tsx"
```ts isFullscreen file="examples/TableExpandCollapseAll.tsx"

```

### Compact

```js isFullscreen file="./examples/TableCompact.tsx"
```ts isFullscreen file="examples/TableCompact.tsx"

```

### Compound expansion

```js isFullscreen file="./examples/TableCompoundExpansion.tsx"
```ts isFullscreen file="examples/TableCompoundExpansion.tsx"

```

### Column management

```js isFullscreen file="./examples/TableColumnManagement.tsx"
```ts isFullscreen file="examples/TableColumnManagement.tsx"

```

### Column management with draggable

```js isFullscreen file="./examples/TableColumnManagementWithDraggable.tsx"
```ts isFullscreen file="examples/TableColumnManagementWithDraggable.tsx"

```

### Filterable

```js isFullscreen file="./examples/TableFilterable.tsx"
```ts isFullscreen file="examples/TableFilterable.tsx"

```

### Sortable - responsive

```js isFullscreen file="./examples/TableSortableResponsive.tsx"
```ts isFullscreen file="examples/TableSortableResponsive.tsx"

```

Expand Down
Loading