UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

120 lines 7.76 kB
import * as React from 'react'; import { DetailsListStatus } from './DetailsList.checklist'; import { DetailsListBasicExample } from './examples/DetailsList.Basic.Example'; var DetailsListBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DetailsList/examples/DetailsList.Basic.Example.tsx'); import { DetailsListCompactExample } from './examples/DetailsList.Compact.Example'; var DetailsListCompactExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DetailsList/examples/DetailsList.Compact.Example.tsx'); import { DetailsListCustomColumnsExample } from './examples/DetailsList.CustomColumns.Example'; var DetailsListCustomColumnsExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DetailsList/examples/DetailsList.CustomColumns.Example.tsx'); import { DetailsListCustomRowsExample } from './examples/DetailsList.CustomRows.Example'; var DetailsListCustomRowsExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DetailsList/examples/DetailsList.CustomRows.Example.tsx'); import { DetailsListCustomGroupHeadersExample } from './examples/DetailsList.CustomGroupHeaders.Example'; var DetailsListCustomGroupHeadersExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DetailsList/examples/DetailsList.CustomGroupHeaders.Example.tsx'); import { DetailsListAdvancedExample } from './examples/DetailsList.Advanced.Example'; var DetailsListAdvancedExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DetailsList/examples/DetailsList.Advanced.Example.tsx'); import { DetailsListGroupedExample } from './examples/DetailsList.Grouped.Example'; var DetailsListGroupedExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DetailsList/examples/DetailsList.Grouped.Example.tsx'); import { DetailsListGroupedLargeExample } from './examples/DetailsList.Grouped.Large.Example'; var DetailsListGroupedLargeExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DetailsList/examples/DetailsList.Grouped.Large.Example.tsx'); import { DetailsListDragDropExample } from './examples/DetailsList.DragDrop.Example'; var DetailsListDragDropExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DetailsList/examples/DetailsList.DragDrop.Example.tsx'); import { DetailsListDocumentsExample } from './examples/DetailsList.Documents.Example'; var DetailsListDocumentsExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DetailsList/examples/DetailsList.Documents.Example.tsx'); import { DetailsListNavigatingFocusExample } from './examples/DetailsList.NavigatingFocus.Example'; var DetailsListNavigatingFocusExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DetailsList/examples/DetailsList.NavigatingFocus.Example.tsx'); import { DetailsListShimmerExample } from './examples/DetailsList.Shimmer.Example'; var DetailsListShimmerExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DetailsList/examples/DetailsList.Shimmer.Example.tsx'); import { DetailsListCustomFooterExample } from './examples/DetailsList.CustomFooter.Example'; var DetailsListCustomFooterExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DetailsList/examples/DetailsList.CustomFooter.Example.tsx'); export var DetailsListPageProps = { title: 'DetailsList', componentName: 'DetailsList', componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/DetailsList', componentStatus: DetailsListStatus, examples: [ { title: 'Document DetailsList with 500 items, sorting, filtering, marquee selection, justified columns', code: DetailsListDocumentsExampleCode, view: React.createElement(DetailsListDocumentsExample, null) } ], propertiesTablesSources: [ require('!raw-loader!office-ui-fabric-react/src/components/DetailsList/DetailsList.types.ts') ], overview: require('!raw-loader!office-ui-fabric-react/src/components/DetailsList/docs/DetailsListOverview.md'), bestPractices: '', dos: require('!raw-loader!office-ui-fabric-react/src/components/DetailsList/docs/DetailsListDos.md'), donts: require('!raw-loader!office-ui-fabric-react/src/components/DetailsList/docs/DetailsListDonts.md'), isHeaderVisible: true }; function generateProps(example) { return { title: example.title, componentName: 'DetailsList', componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/DetailsList', examples: [example], isHeaderVisible: false, isFeedbackVisible: true }; } export var DetailsListBasicPageProps = generateProps({ title: 'Simple DetailsList with 500 items, filtering, marquee selection', code: DetailsListBasicExampleCode, view: React.createElement(DetailsListBasicExample, null) }); export var DetailsListCompactPageProps = generateProps({ title: 'Compact DetailsList with 500 items, filtering, marquee selection', code: DetailsListCompactExampleCode, view: React.createElement(DetailsListCompactExample, null) }); export var DetailsListSimpleGroupedPageProps = generateProps({ title: 'Simple Grouped DetailsList', code: DetailsListGroupedExampleCode, view: React.createElement(DetailsListGroupedExample, null) }); export var DetailsListLargeGroupedPageProps = generateProps({ title: 'Large Grouped DetailsList', code: DetailsListGroupedLargeExampleCode, view: React.createElement(DetailsListGroupedLargeExample, null) }); export var DetailsListCustomColumnsPageProps = generateProps({ title: 'Rendering custom item columns with sorting', code: DetailsListCustomColumnsExampleCode, view: React.createElement(DetailsListCustomColumnsExample, null) }); export var DetailsListCustomRowsPageProps = generateProps({ title: 'Rendering custom item rows', code: DetailsListCustomRowsExampleCode, view: React.createElement(DetailsListCustomRowsExample, null) }); export var DetailsListCustomGroupHeadersPageProps = generateProps({ title: 'Rendering custom group headers', code: DetailsListCustomGroupHeadersExampleCode, view: React.createElement(DetailsListCustomGroupHeadersExample, null) }); export var DetailsListAdvancedPageProps = generateProps({ title: 'Advanced DetailsList of 5000 items, variable row heights', code: DetailsListAdvancedExampleCode, view: React.createElement(DetailsListAdvancedExample, null) }); export var DetailsListDragDropPageProps = generateProps({ title: 'Drag and Drop DetailsList with 10 items', code: DetailsListDragDropExampleCode, view: React.createElement(DetailsListDragDropExample, null) }); export var DetailsListNavigatingFocusPageProps = generateProps({ title: 'Navigating to new content preserving keyboard focus with initialFocusedIndex', code: DetailsListNavigatingFocusExampleCode, view: React.createElement(DetailsListNavigatingFocusExample, null) }); export var DetailsListShimmerPageProps = generateProps({ title: 'DetailsList Shimmer - usually show before retrieving data from network', code: DetailsListShimmerExampleCode, view: React.createElement(DetailsListShimmerExample, null) }); export var DetailsListCustomFooterPageProps = generateProps({ title: 'Rendering custom details list footer', code: DetailsListCustomFooterExampleCode, view: React.createElement(DetailsListCustomFooterExample, null) }); //# sourceMappingURL=DetailsList.doc.js.map