UNPKG

lucid-ui

Version:

A UI component library from AppNexus.

265 lines 14.1 kB
import React from 'react'; import createClass from 'create-react-class'; import { Button, Checkbox, SuccessIcon, Table } from '../../../index'; var Thead = Table.Thead, Tbody = Table.Tbody, Tr = Table.Tr, Th = Table.Th, Td = Table.Td; export default createClass({ render: function render() { return /*#__PURE__*/React.createElement(Table, { hasLightHeader: false }, /*#__PURE__*/React.createElement(Thead, null, /*#__PURE__*/React.createElement(Tr, null, /*#__PURE__*/React.createElement(Th, { rowSpan: 2 }, "RS"), /*#__PURE__*/React.createElement(Th, { rowSpan: 2 }, /*#__PURE__*/React.createElement(Checkbox, null)), /*#__PURE__*/React.createElement(Th, { rowSpan: 2, isSortable: true }, "Lorem."), /*#__PURE__*/React.createElement(Th, { rowSpan: 2 }, /*#__PURE__*/React.createElement(SuccessIcon, null)), /*#__PURE__*/React.createElement(Th, { rowSpan: 2 }, "Button"), /*#__PURE__*/React.createElement(Th, { rowSpan: 2, isSorted: true, sortDirection: "up" }, "Sorted Column"), /*#__PURE__*/React.createElement(Th, { align: "left" }, "align left"), /*#__PURE__*/React.createElement(Th, { align: "center" }, "align center"), /*#__PURE__*/React.createElement(Th, { align: "right", isSortable: true, isSorted: true }, "align right"))), /*#__PURE__*/React.createElement(Tbody, null, /*#__PURE__*/React.createElement(Tr, null, /*#__PURE__*/React.createElement(Td, { rowSpan: 14, hasBorderRight: true }, "RS"), /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Checkbox, null)), /*#__PURE__*/React.createElement(Td, null, "Text"), /*#__PURE__*/React.createElement(Td, { hasBorderLeft: true, hasBorderRight: true }, /*#__PURE__*/React.createElement(SuccessIcon, null)), /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Button, { size: "small" }, "button")), /*#__PURE__*/React.createElement(Td, null, "Sorted Column"), /*#__PURE__*/React.createElement(Td, { align: "left", hasBorderLeft: true }, "align left"), /*#__PURE__*/React.createElement(Td, { align: "center" }, "align center"), /*#__PURE__*/React.createElement(Td, { align: "right" }, "align right")), /*#__PURE__*/React.createElement(Tr, { isDisabled: true }, /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Checkbox, null)), /*#__PURE__*/React.createElement(Td, null, "isDisabled"), /*#__PURE__*/React.createElement(Td, { hasBorderLeft: true, hasBorderRight: true }, /*#__PURE__*/React.createElement(SuccessIcon, null)), /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Button, { size: "small", isDisabled: true }, "button")), /*#__PURE__*/React.createElement(Td, null, "Sorted Column"), /*#__PURE__*/React.createElement(Td, { align: "left", hasBorderLeft: true }, "align left"), /*#__PURE__*/React.createElement(Td, { align: "center" }, "align center"), /*#__PURE__*/React.createElement(Td, { align: "right" }, "align right")), /*#__PURE__*/React.createElement(Tr, { isActionable: true }, /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Checkbox, null)), /*#__PURE__*/React.createElement(Td, null, "Text && isActionable"), /*#__PURE__*/React.createElement(Td, { hasBorderLeft: true, hasBorderRight: true }, /*#__PURE__*/React.createElement(SuccessIcon, null)), /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Button, { size: "small" }, "button")), /*#__PURE__*/React.createElement(Td, null, "Sorted Column"), /*#__PURE__*/React.createElement(Td, { align: "left", hasBorderLeft: true }, "align left"), /*#__PURE__*/React.createElement(Td, { align: "center" }, "align center"), /*#__PURE__*/React.createElement(Td, { align: "right" }, "align right")), /*#__PURE__*/React.createElement(Tr, { isDisabled: true, isActionable: true }, /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Checkbox, null)), /*#__PURE__*/React.createElement(Td, null, "isDisabled && isActionable"), /*#__PURE__*/React.createElement(Td, { hasBorderLeft: true, hasBorderRight: true }, /*#__PURE__*/React.createElement(SuccessIcon, null)), /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Button, { size: "small", isDisabled: true }, "button")), /*#__PURE__*/React.createElement(Td, null, "Sorted Column"), /*#__PURE__*/React.createElement(Td, { align: "left", hasBorderLeft: true }, "align left"), /*#__PURE__*/React.createElement(Td, { align: "center" }, "align center"), /*#__PURE__*/React.createElement(Td, { align: "right" }, "align right")), /*#__PURE__*/React.createElement(Tr, null, /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Checkbox, null)), /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement("a", { href: "#" }, "Link")), /*#__PURE__*/React.createElement(Td, { hasBorderLeft: true, hasBorderRight: true }, /*#__PURE__*/React.createElement(SuccessIcon, null)), /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Button, { size: "small" }, "button")), /*#__PURE__*/React.createElement(Td, null, "Sorted Column"), /*#__PURE__*/React.createElement(Td, { align: "left", hasBorderLeft: true }, "align left"), /*#__PURE__*/React.createElement(Td, { align: "center" }, "align center"), /*#__PURE__*/React.createElement(Td, { align: "right" }, "align right")), /*#__PURE__*/React.createElement(Tr, { isDisabled: true }, /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Checkbox, null)), /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement("a", { href: "#" }, "isDisabled Link")), /*#__PURE__*/React.createElement(Td, { hasBorderLeft: true, hasBorderRight: true }, /*#__PURE__*/React.createElement(SuccessIcon, null)), /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Button, { size: "small", isDisabled: true }, "button")), /*#__PURE__*/React.createElement(Td, null, "Sorted Column"), /*#__PURE__*/React.createElement(Td, { align: "left", hasBorderLeft: true }, "align left"), /*#__PURE__*/React.createElement(Td, { align: "center" }, "align center"), /*#__PURE__*/React.createElement(Td, { align: "right" }, "align right")), /*#__PURE__*/React.createElement(Tr, { isActionable: true }, /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Checkbox, null)), /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement("a", { href: "#" }, "Link && isActionable")), /*#__PURE__*/React.createElement(Td, { hasBorderLeft: true, hasBorderRight: true }, /*#__PURE__*/React.createElement(SuccessIcon, null)), /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Button, { size: "small" }, "button")), /*#__PURE__*/React.createElement(Td, null, "Sorted Column"), /*#__PURE__*/React.createElement(Td, { align: "left", hasBorderLeft: true }, "align left"), /*#__PURE__*/React.createElement(Td, { align: "center" }, "align center"), /*#__PURE__*/React.createElement(Td, { align: "right" }, "align right")), /*#__PURE__*/React.createElement(Tr, { isActionable: true, isDisabled: true }, /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Checkbox, null)), /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement("a", { href: "#" }, "isDisabled Link && isActionable")), /*#__PURE__*/React.createElement(Td, { hasBorderLeft: true, hasBorderRight: true }, /*#__PURE__*/React.createElement(SuccessIcon, null)), /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Button, { size: "small", isDisabled: true }, "button")), /*#__PURE__*/React.createElement(Td, null, "Sorted Column"), /*#__PURE__*/React.createElement(Td, { align: "left", hasBorderLeft: true }, "align left"), /*#__PURE__*/React.createElement(Td, { align: "center" }, "align center"), /*#__PURE__*/React.createElement(Td, { align: "right" }, "align right")), /*#__PURE__*/React.createElement(Tr, { isSelected: true }, /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Checkbox, { isSelected: true })), /*#__PURE__*/React.createElement(Td, null, "isSelected"), /*#__PURE__*/React.createElement(Td, { hasBorderLeft: true, hasBorderRight: true }, /*#__PURE__*/React.createElement(SuccessIcon, null)), /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Button, { size: "small" }, "button")), /*#__PURE__*/React.createElement(Td, null, "Sorted Column"), /*#__PURE__*/React.createElement(Td, { align: "left", hasBorderLeft: true }, "align left"), /*#__PURE__*/React.createElement(Td, { align: "center" }, "align center"), /*#__PURE__*/React.createElement(Td, { align: "right" }, "align right")), /*#__PURE__*/React.createElement(Tr, { isSelected: true, isDisabled: true }, /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Checkbox, { isSelected: true })), /*#__PURE__*/React.createElement(Td, null, "isSelected && isDisabled"), /*#__PURE__*/React.createElement(Td, { hasBorderLeft: true, hasBorderRight: true }, /*#__PURE__*/React.createElement(SuccessIcon, null)), /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Button, { size: "small", isDisabled: true }, "button")), /*#__PURE__*/React.createElement(Td, null, "Sorted Column"), /*#__PURE__*/React.createElement(Td, { align: "left", hasBorderLeft: true }, "align left"), /*#__PURE__*/React.createElement(Td, { align: "center" }, "align center"), /*#__PURE__*/React.createElement(Td, { align: "right" }, "align right")), /*#__PURE__*/React.createElement(Tr, { isSelected: true, isActionable: true }, /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Checkbox, { isSelected: true })), /*#__PURE__*/React.createElement(Td, null, "isSelected && isActionable"), /*#__PURE__*/React.createElement(Td, { hasBorderLeft: true, hasBorderRight: true }, /*#__PURE__*/React.createElement(SuccessIcon, null)), /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Button, { size: "small" }, "button")), /*#__PURE__*/React.createElement(Td, null, "Sorted Column"), /*#__PURE__*/React.createElement(Td, { align: "left", hasBorderLeft: true }, "align left"), /*#__PURE__*/React.createElement(Td, { align: "center" }, "align center"), /*#__PURE__*/React.createElement(Td, { align: "right" }, "align right")), /*#__PURE__*/React.createElement(Tr, { isSelected: true, isDisabled: true, isActionable: true }, /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Checkbox, { isSelected: true })), /*#__PURE__*/React.createElement(Td, null, "isSelected && isDisabled && isActionable"), /*#__PURE__*/React.createElement(Td, { hasBorderLeft: true, hasBorderRight: true }, /*#__PURE__*/React.createElement(SuccessIcon, null)), /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Button, { size: "small", isDisabled: true }, "button")), /*#__PURE__*/React.createElement(Td, null, "Sorted Column"), /*#__PURE__*/React.createElement(Td, { align: "left", hasBorderLeft: true }, "align left"), /*#__PURE__*/React.createElement(Td, { align: "center" }, "align center"), /*#__PURE__*/React.createElement(Td, { align: "right" }, "align right")), /*#__PURE__*/React.createElement(Tr, { isActionable: true, isActive: true }, /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Checkbox, null)), /*#__PURE__*/React.createElement(Td, null, "isActive"), /*#__PURE__*/React.createElement(Td, { hasBorderLeft: true, hasBorderRight: true }, /*#__PURE__*/React.createElement(SuccessIcon, null)), /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Button, { size: "small" }, "button")), /*#__PURE__*/React.createElement(Td, null, "Sorted Column"), /*#__PURE__*/React.createElement(Td, { align: "left", hasBorderLeft: true }, "align left"), /*#__PURE__*/React.createElement(Td, { align: "center" }, "align center"), /*#__PURE__*/React.createElement(Td, { align: "right" }, "align right")), /*#__PURE__*/React.createElement(Tr, { isActionable: true, isActive: true, isDisabled: true }, /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Checkbox, null)), /*#__PURE__*/React.createElement(Td, null, "isActive && isDisabled"), /*#__PURE__*/React.createElement(Td, { hasBorderLeft: true, hasBorderRight: true }, /*#__PURE__*/React.createElement(SuccessIcon, null)), /*#__PURE__*/React.createElement(Td, null, /*#__PURE__*/React.createElement(Button, { size: "small", isDisabled: true }, "button")), /*#__PURE__*/React.createElement(Td, null, "Sorted Column"), /*#__PURE__*/React.createElement(Td, { align: "left", hasBorderLeft: true }, "align left"), /*#__PURE__*/React.createElement(Td, { align: "center" }, "align center"), /*#__PURE__*/React.createElement(Td, { align: "right" }, "align right")))); } });