diff --git a/package.json b/package.json index 9a29d376..ad355af0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-data-table-component", - "version": "7.0.0-alpha-4", + "version": "7.0.0-alpha-5", "description": "A declarative react based data table", "main": "dist/index.cjs.js", "module": "dist/index.es.js", @@ -52,17 +52,17 @@ "@types/jest": "^26.0.20", "@types/lodash-es": "^4.17.4", "@types/lodash.orderby": "^4.6.6", - "@types/node": "^14.14.21", + "@types/node": "^14.14.22", "@types/react": "^17.0.0", "@types/react-dom": "^17.0.0", "@types/styled-components": "^5.1.7", - "@typescript-eslint/eslint-plugin": "^4.13.0", - "@typescript-eslint/parser": "^4.13.0", + "@typescript-eslint/eslint-plugin": "^4.14.0", + "@typescript-eslint/parser": "^4.14.0", "axios": "^0.21.1", "babel-eslint": "^10.1.0", "codecov": "^3.8.1", "eslint": "^7.18.0", - "eslint-config-prettier": "^7.1.0", + "eslint-config-prettier": "^7.2.0", "eslint-config-react-app": "^6.0.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jest": "^24.1.3", @@ -82,14 +82,14 @@ "react-app-polyfill": "^2.0.0", "react-dom": "^17.0.1", "rimraf": "^3.0.2", - "rollup": "^2.36.2", + "rollup": "^2.37.0", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.29.0", "rollup-plugin-visualizer": "^4.2.0", "styled-components": "^5.0.1", - "stylelint": "^13.8.0", + "stylelint": "^13.9.0", "stylelint-config-recommended": "^3.0.0", "stylelint-config-styled-components": "^0.1.1", "stylelint-processor-styled-components": "^1.10.0", diff --git a/src/DataTable/DataTable.tsx b/src/DataTable/DataTable.tsx index 63e16e7d..21713b43 100644 --- a/src/DataTable/DataTable.tsx +++ b/src/DataTable/DataTable.tsx @@ -121,18 +121,25 @@ function DataTable(props: TableProps): JSX.Element { defaultSortFieldId, ]); - const initialState: TableState = { - allSelected: false, - rows: [], - selectedCount: 0, - selectedRows: [], - selectedColumn: defaultSortColumn || { name: '' }, - sortDirection: defaultSortDirection, - currentPage: paginationDefaultPage, - rowsPerPage: paginationPerPage, - selectedRowsFlag: false, - contextMessage: defaultProps.contextMessage, - }; + // Run once + const initialState: TableState = React.useMemo( + () => ({ + allSelected: false, + rows: defaultSortColumn?.selector + ? sort(data, defaultSortColumn.selector, defaultSortDirection, sortFunction) + : data, + selectedCount: 0, + selectedRows: [], + selectedColumn: defaultSortColumn || { name: '' }, + sortDirection: defaultSortDirection, + currentPage: paginationDefaultPage, + rowsPerPage: paginationPerPage, + selectedRowsFlag: false, + contextMessage: defaultProps.contextMessage, + }), + // eslint-disable-next-line react-hooks/exhaustive-deps + [], + ); const [ { rowsPerPage, rows, currentPage, selectedRows, allSelected, selectedCount, selectedColumn, sortDirection }, @@ -148,6 +155,18 @@ function DataTable(props: TableProps): JSX.Element { const expandableRowsComponentMemo = React.useMemo(() => expandableRowsComponent, [expandableRowsComponent]); const wrapperProps = React.useMemo(() => ({ ...(direction !== 'auto' && { dir: direction }) }), [direction]); + const calculatedRows = React.useMemo(() => { + if (pagination && !paginationServer) { + // when using client-side pagination we can just slice the rows set + const lastIndex = currentPage * rowsPerPage; + const firstIndex = lastIndex - rowsPerPage; + + return rows.slice(firstIndex, lastIndex); + } + + return rows; + }, [currentPage, pagination, paginationServer, rows, rowsPerPage]); + const handleSort = (action: SortAction) => { dispatch(action); }; @@ -199,17 +218,21 @@ function DataTable(props: TableProps): JSX.Element { return rows.length > 0 && !progressPending; }; - const calculatedRows = React.useMemo(() => { - if (pagination && !paginationServer) { - // when using client-side pagination we can just slice the rows set - const lastIndex = currentPage * rowsPerPage; - const firstIndex = lastIndex - rowsPerPage; + const showHeader = () => { + if (noHeader) { + return false; + } - return rows.slice(firstIndex, lastIndex); + if (title) { + return true; } - return rows; - }, [currentPage, pagination, paginationServer, rows, rowsPerPage]); + if (actions) { + return true; + } + + return false; + }; // recalculate the pagination and currentPage if the rows length changes if (pagination && !paginationServer && rows.length > 0 && calculatedRows.length === 0) { @@ -278,7 +301,7 @@ function DataTable(props: TableProps): JSX.Element { return ( - {!noHeader && ( + {showHeader() && ( ( {title} - {actions} + {actions && {actions}} {showMenu && ( { expect(container.firstChild).toMatchSnapshot(); }); + test('header should not display with no title', () => { + const mock = dataMock(); + const { container } = render(); + + expect(container.firstChild).toMatchSnapshot(); + }); + test('should render header actions when they are provided', () => { const mock = dataMock(); const { container } = render( diff --git a/src/DataTable/__tests__/__snapshots__/DataTable.test.tsx.snap b/src/DataTable/__tests__/__snapshots__/DataTable.test.tsx.snap index d9e2ac9a..1b813613 100644 --- a/src/DataTable/__tests__/__snapshots__/DataTable.test.tsx.snap +++ b/src/DataTable/__tests__/__snapshots__/DataTable.test.tsx.snap @@ -1,164 +1,69 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`DataTable::Header should not render a context menu when noContextMenu and a row is selected 1`] = ` -.c0 { +exports[`DataTable::Header header should not display with no title 1`] = ` +.c2 { position: relative; box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; + height: 100%; + max-width: 100%; color: rgba(0,0,0,0.87); background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; -} - -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.c2 > * { - margin-left: 5px; + text-align: left; } -
-
- whoa! -
-
-
-`; - -exports[`DataTable::Header should render a custom component within the context menu when contextComponent 1`] = ` -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; +.c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; } -.c0 { +.c5 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; padding-left: 16px; - padding-right: 8px; -} - -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; + padding-right: 16px; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c10 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -167,75 +72,276 @@ exports[`DataTable::Header should render a custom component within the context m -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; } -.c2 > * { - margin-left: 5px; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; } -
-
- whoa! -
-
-
-
- Nice! You totally just selected 1 sweet items! -
-
-
-`; +.c11 { + font-weight: 400; +} -exports[`DataTable::Header should render context menu actions when they are provided and a row is selected 1`] = ` -.c4 { +.c11 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; height: 100%; - font-weight: 400; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.c5 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; +} + +
+
+
+
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
+
+
+`; + +exports[`DataTable::Header should not render a context menu when noContextMenu and a row is selected 1`] = ` +.c0 { + position: relative; + box-sizing: border-box; + overflow: hidden; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + width: 100%; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; flex-wrap: wrap; + font-size: 22px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 56px; + padding-left: 16px; + padding-right: 8px; } -.c3 { +.c1 { + -webkit-flex: 1 0 auto; + -ms-flex: 1 0 auto; + flex: 1 0 auto; + font-weight: 400; +} + +
+
+ whoa! +
+
+`; + +exports[`DataTable::Header should render a custom component within the context menu when contextComponent 1`] = ` +.c2 { position: absolute; top: 0; left: 0; @@ -312,28 +418,6 @@ exports[`DataTable::Header should render context menu actions when they are prov font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.c2 > * { - margin-left: 5px; -} -
-
-
- 1 item selected -
-
-
- some action -
- , -
- some action 2 -
+
+ Nice! You totally just selected 1 sweet items!
`; -exports[`DataTable::Header should render correctly when a custom contextMessage object is provided 1`] = ` -.c4 { +exports[`DataTable::Header should render context menu actions when they are provided and a row is selected 1`] = ` +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -387,7 +455,7 @@ exports[`DataTable::Header should render correctly when a custom contextMessage font-weight: 400; } -.c5 { +.c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -405,7 +473,7 @@ exports[`DataTable::Header should render correctly when a custom contextMessage flex-wrap: wrap; } -.c3 { +.c2 { position: absolute; top: 0; left: 0; @@ -482,28 +550,6 @@ exports[`DataTable::Header should render correctly when a custom contextMessage font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.c2 > * { - margin-left: 5px; -} -
-
- 1 artículo seleccionada + 1 item selected
+ class="c4" + > +
+ some action +
+ , +
+ some action 2 +
+
`; -exports[`DataTable::Header should render correctly when a custom contextMessage object is provided without a message prop 1`] = ` -.c4 { +exports[`DataTable::Header should render correctly when a custom contextMessage object is provided 1`] = ` +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -549,7 +600,7 @@ exports[`DataTable::Header should render correctly when a custom contextMessage font-weight: 400; } -.c5 { +.c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -567,7 +618,7 @@ exports[`DataTable::Header should render correctly when a custom contextMessage flex-wrap: wrap; } -.c3 { +.c2 { position: absolute; top: 0; left: 0; @@ -644,10 +695,49 @@ exports[`DataTable::Header should render correctly when a custom contextMessage font-weight: 400; } -.c2 { +
+
+ whoa! +
+
+
+ 1 artículo seleccionada +
+
+
+
+`; + +exports[`DataTable::Header should render correctly when a custom contextMessage object is provided without a message prop 1`] = ` +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; -webkit-flex: 1 0 auto; -ms-flex: 1 0 auto; flex: 1 0 auto; + height: 100%; + font-weight: 400; +} + +.c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -660,10 +750,86 @@ exports[`DataTable::Header should render correctly when a custom contextMessage -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; } -.c2 > * { - margin-left: 5px; +.c2 { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + box-sizing: inherit; + z-index: 1; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + background-color: #e3f2fd; + font-size: 18px; + font-weight: 400; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 8px; + -webkit-transform: translate3d(0,-100%,0); + -ms-transform: translate3d(0,-100%,0); + transform: translate3d(0,-100%,0); + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); + transition-timing-function: cubic-bezier(0,0,0.2,1); + will-change: transform; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); +} + +.c0 { + position: relative; + box-sizing: border-box; + overflow: hidden; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + width: 100%; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + font-size: 22px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 56px; + padding-left: 16px; + padding-right: 8px; +} + +.c1 { + -webkit-flex: 1 0 auto; + -ms-flex: 1 0 auto; + flex: 1 0 auto; + font-weight: 400; }
-
1 artículo
@@ -860,7 +1023,7 @@ exports[`DataTable::Header should render header actions when they are provided 1 `; exports[`DataTable::Header should render the default context menu when using selectableRows 1`] = ` -.c4 { +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -876,7 +1039,7 @@ exports[`DataTable::Header should render the default context menu when using sel font-weight: 400; } -.c5 { +.c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -894,7 +1057,7 @@ exports[`DataTable::Header should render the default context menu when using sel flex-wrap: wrap; } -.c3 { +.c2 { position: absolute; top: 0; left: 0; @@ -971,28 +1134,6 @@ exports[`DataTable::Header should render the default context menu when using sel font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.c2 > * { - margin-left: 5px; -} -
-
1 item selected
@@ -1310,7 +1448,7 @@ exports[`DataTable::Header should render without a header if noHeader is true 1` `; exports[`DataTable::Header title should render correctly 1`] = ` -.c4 { +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1326,7 +1464,7 @@ exports[`DataTable::Header title should render correctly 1`] = ` font-weight: 400; } -.c5 { +.c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1344,7 +1482,7 @@ exports[`DataTable::Header title should render correctly 1`] = ` flex-wrap: wrap; } -.c3 { +.c2 { position: absolute; top: 0; left: 0; @@ -1418,28 +1556,6 @@ exports[`DataTable::Header title should render correctly 1`] = ` font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.c2 > * { - margin-left: 5px; -} -
-
`; exports[`DataTable::Pagination should change the page position when using paginationServer if the last item is removed from a page 1`] = ` -.c8 { +.c2 { position: relative; box-sizing: border-box; display: -webkit-box; @@ -1484,7 +1597,7 @@ exports[`DataTable::Pagination should change the page position when using pagina background-color: #FFFFFF; } -.c9 { +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1492,7 +1605,7 @@ exports[`DataTable::Pagination should change the page position when using pagina text-align: left; } -.c10 { +.c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1509,7 +1622,7 @@ exports[`DataTable::Pagination should change the page position when using pagina border-bottom-style: solid; } -.c11 { +.c5 { position: relative; display: -webkit-box; display: -webkit-flex; @@ -1528,7 +1641,7 @@ exports[`DataTable::Pagination should change the page position when using pagina padding-right: 16px; } -.c16 { +.c10 { position: relative; display: -webkit-box; display: -webkit-flex; @@ -1545,7 +1658,7 @@ exports[`DataTable::Pagination should change the page position when using pagina word-break: break-word; } -.c12 { +.c6 { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; @@ -1560,17 +1673,17 @@ exports[`DataTable::Pagination should change the page position when using pagina min-width: 100px; } -.c17 { +.c11 { font-weight: 400; } -.c17 div:first-child { +.c11 div:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } -.c15 { +.c9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1590,13 +1703,13 @@ exports[`DataTable::Pagination should change the page position when using pagina min-height: 48px; } -.c15:not(:last-of-type) { +.c9:not(:last-of-type) { border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: rgba(0,0,0,.12); } -.c13 { +.c7 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1613,17 +1726,17 @@ exports[`DataTable::Pagination should change the page position when using pagina user-select: none; } -.c13:focus { +.c7:focus { outline: none; color: rgba(0,0,0,.54); } -.c13:hover { +.c7:hover { color: rgba(0,0,0,.54); } -.c13 span.__rdt_custom_sort_icon__ i, -.c13 span.__rdt_custom_sort_icon__ svg { +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { opacity: 0; color: inherit; font-size: 18px !important; @@ -1641,144 +1754,14 @@ exports[`DataTable::Pagination should change the page position when using pagina transition-property: transform; } -.c13 span.__rdt_custom_sort_icon__.asc i, -.c13 span.__rdt_custom_sort_icon__.asc svg { +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { -webkit-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); } -.c4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - height: 100%; - font-weight: 400; -} - -.c5 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} - -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; -} - -.c0 { - position: relative; - box-sizing: border-box; - overflow: hidden; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; -} - -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; -} - -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.c2 > * { - margin-left: 5px; -} - -.c14 { +.c8 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1788,7 +1771,7 @@ exports[`DataTable::Pagination should change the page position when using pagina flex-direction: column; } -.c6 { +.c0 { position: relative; width: 100%; border-radius: inherit; @@ -1797,13 +1780,13 @@ exports[`DataTable::Pagination should change the page position when using pagina min-height: 0; } -.c7 { +.c1 { position: relative; width: 100%; display: table; } -.c22 { +.c16 { cursor: pointer; height: 24px; min-width: 24px; @@ -1824,19 +1807,19 @@ exports[`DataTable::Pagination should change the page position when using pagina direction: ltr; } -.c22::-ms-expand { +.c16::-ms-expand { display: none; } -.c22:disabled::-ms-expand { +.c16:disabled::-ms-expand { background: #f60; } -.c22 option { +.c16 option { color: initial; } -.c21 { +.c15 { position: relative; -webkit-flex-shrink: 0; -ms-flex-negative: 0; @@ -1846,7 +1829,7 @@ exports[`DataTable::Pagination should change the page position when using pagina margin-top: 1px; } -.c21 svg { +.c15 svg { top: 0; right: 0; color: inherit; @@ -1862,7 +1845,7 @@ exports[`DataTable::Pagination should change the page position when using pagina pointer-events: none; } -.c18 { +.c12 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1891,7 +1874,7 @@ exports[`DataTable::Pagination should change the page position when using pagina border-top-color: rgba(0,0,0,.12); } -.c25 { +.c19 { position: relative; display: block; -webkit-user-select: none; @@ -1912,22 +1895,22 @@ exports[`DataTable::Pagination should change the page position when using pagina background-color: transparent; } -.c25:disabled { +.c19:disabled { cursor: unset; color: rgba(0,0,0,.18); fill: rgba(0,0,0,.18); } -.c25:hover:not(:disabled) { +.c19:hover:not(:disabled) { background-color: rgba(0,0,0,.12); } -.c25:focus { +.c19:focus { outline: none; background-color: rgba(0,0,0,.12); } -.c24 { +.c18 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1940,7 +1923,7 @@ exports[`DataTable::Pagination should change the page position when using pagina white-space: nowrap; } -.c19 { +.c13 { -webkit-flex-shrink: 1; -ms-flex-negative: 1; flex-shrink: 1; @@ -1950,16 +1933,16 @@ exports[`DataTable::Pagination should change the page position when using pagina user-select: none; } -.c23 { +.c17 { margin: 0 24px; } -.c20 { +.c14 { margin: 0 4px; } @media screen and (max-width:599px) { - .c24 { + .c18 { width: 100%; -webkit-box-pack: space-around; -webkit-justify-content: space-around; @@ -1970,50 +1953,28 @@ exports[`DataTable::Pagination should change the page position when using pagina
-
-
-
-
-
-
-
-
+
+
+
+
+ +
+
+
+ Apple +
+
+
+
+
+ +
+
+
+ Zuchinni +
+
+
+
+
+
+
+`; + +exports[`DataTable::expandableRows should expand a row if expandableRows is true and expandOnRowClicked is true 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + height: 100%; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; +} + +.c7 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; +} + +.c12 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; + padding: 0; +} + +.c8 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c15 { + font-weight: 400; +} + +.c15 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c14 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + white-space: nowrap; + border: none; + background-color: transparent; + color: rgba(0,0,0,.54); + fill: rgba(0,0,0,.54); + background-color: transparent; + border-radius: 2px; + -webkit-transition: 0.25s; + transition: 0.25s; + height: 100%; + width: 100%; +} + +.c14:hover:enabled { + cursor: pointer; +} + +.c14:disabled { + color: rgba(0,0,0,.18); +} + +.c14:hover:not(:disabled) { + cursor: pointer; + background-color: rgba(0,0,0,.12); +} + +.c14:focus { + outline: none; + background-color: rgba(0,0,0,.12); +} + +.c14 svg { + margin: auto; +} + +.c13 { + white-space: nowrap; + font-weight: 400; + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; +} + +.c16 { + width: 100%; + box-sizing: border-box; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c11 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c11:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c11:hover { + cursor: pointer; +} + +.c9 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c9:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c9:hover { + color: rgba(0,0,0,.54); +} + +.c9 span.__rdt_custom_sort_icon__ i, +.c9 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c9 span.__rdt_custom_sort_icon__.asc i, +.c9 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; +} + +.c6 { + white-space: nowrap; + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; +} + +
+
+
+
+
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+ +
+
+
+ Apple +
+
+
+
+
+ Add a custom expander component. Use props.data for row data +
+
+
+
+ +
+
+
+ Zuchinni +
+
+
+
+
+
+
+`; + +exports[`DataTable::expandableRows should expand a row if expandableRows is true and expandOnRowDoubleClicked is true 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + height: 100%; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; +} + +.c7 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; +} + +.c12 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; + padding: 0; +} + +.c8 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c15 { + font-weight: 400; +} + +.c15 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c14 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + white-space: nowrap; + border: none; + background-color: transparent; + color: rgba(0,0,0,.54); + fill: rgba(0,0,0,.54); + background-color: transparent; + border-radius: 2px; + -webkit-transition: 0.25s; + transition: 0.25s; + height: 100%; + width: 100%; +} + +.c14:hover:enabled { + cursor: pointer; +} + +.c14:disabled { + color: rgba(0,0,0,.18); +} + +.c14:hover:not(:disabled) { + cursor: pointer; + background-color: rgba(0,0,0,.12); +} + +.c14:focus { + outline: none; + background-color: rgba(0,0,0,.12); +} + +.c14 svg { + margin: auto; +} + +.c13 { + white-space: nowrap; + font-weight: 400; + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; +} + +.c16 { + width: 100%; + box-sizing: border-box; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c11 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c11:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c11:hover { + cursor: pointer; +} + +.c9 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c9:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c9:hover { + color: rgba(0,0,0,.54); +} + +.c9 span.__rdt_custom_sort_icon__ i, +.c9 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c9 span.__rdt_custom_sort_icon__.asc i, +.c9 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; +} + +.c6 { + white-space: nowrap; + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; +} + +
+
+
+
+
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+ +
+
+
+ Apple +
+
+
+
+
+ Add a custom expander component. Use props.data for row data +
+
+
+
+ +
+
+
+ Zuchinni +
+
+
+
+
+
+
+`; + +exports[`DataTable::expandableRows should not expand a row if the expander row is disabled and expandOnRowClicked is true 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + height: 100%; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; +} + +.c7 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; +} + +.c12 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; + padding: 0; +} + +.c8 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c15 { + font-weight: 400; +} + +.c15 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c14 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + white-space: nowrap; + border: none; + background-color: transparent; + color: rgba(0,0,0,.54); + fill: rgba(0,0,0,.54); + background-color: transparent; + border-radius: 2px; + -webkit-transition: 0.25s; + transition: 0.25s; + height: 100%; + width: 100%; +} + +.c14:hover:enabled { + cursor: pointer; +} + +.c14:disabled { + color: rgba(0,0,0,.18); +} + +.c14:hover:not(:disabled) { + cursor: pointer; + background-color: rgba(0,0,0,.12); +} + +.c14:focus { + outline: none; + background-color: rgba(0,0,0,.12); +} + +.c14 svg { + margin: auto; +} + +.c13 { + white-space: nowrap; + font-weight: 400; + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; +} + +.c11 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c11:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c16 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c16:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c16:hover { + cursor: pointer; +} + +.c9 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c9:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c9:hover { + color: rgba(0,0,0,.54); +} + +.c9 span.__rdt_custom_sort_icon__ i, +.c9 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c9 span.__rdt_custom_sort_icon__.asc i, +.c9 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; +} + +.c6 { + white-space: nowrap; + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; +} + +
+
+
+
+
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+ +
+
+
+ Apple +
+
+
+
+
+ +
+
+
+ Zuchinni +
+
+
+
+
+
+
+`; + +exports[`DataTable::expandableRows should not render expandableRows expandableRows is missing 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + height: 100%; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; +} + +.c10 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; +} + +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c11 { + font-weight: 400; +} + +.c11 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; +} + +
+
+
+
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
+
+
+`; + +exports[`DataTable::expandableRows should render correctly when expandableRowExpanded changes on render 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + height: 100%; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c14 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; +} + +.c7 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; +} + +.c12 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; + padding: 0; +} + +.c5 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; + padding: 0; +} + +.c8 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c15 { + font-weight: 400; +} + +.c15 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c13 { + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + white-space: nowrap; +} + +.c11 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c11:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c9 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c9:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c9:hover { + color: rgba(0,0,0,.54); +} + +.c9 span.__rdt_custom_sort_icon__ i, +.c9 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c9 span.__rdt_custom_sort_icon__.asc i, +.c9 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c6 { + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + white-space: nowrap; +} + +.c10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; +} + +
+
+
+
+
+
+ +
+
+
+
+ Test +
+
+
+
+
+
+
+
+ +
+
+
+ Apple +
+
+
+
+
+ +
+
+
+ Zuchinni +
+
+
+
+
+
+
+`; + +exports[`DataTable::expandableRows should render correctly when expandableRowExpanded is true 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + height: 100%; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; +} + +.c7 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; +} + +.c12 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; + padding: 0; +} + +.c8 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c15 { + font-weight: 400; +} + +.c15 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c14 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + white-space: nowrap; + border: none; + background-color: transparent; + color: rgba(0,0,0,.54); + fill: rgba(0,0,0,.54); + background-color: transparent; + border-radius: 2px; + -webkit-transition: 0.25s; + transition: 0.25s; + height: 100%; + width: 100%; +} + +.c14:hover:enabled { + cursor: pointer; +} + +.c14:disabled { + color: rgba(0,0,0,.18); +} + +.c14:hover:not(:disabled) { + cursor: pointer; + background-color: rgba(0,0,0,.12); +} + +.c14:focus { + outline: none; + background-color: rgba(0,0,0,.12); +} + +.c14 svg { + margin: auto; +} + +.c13 { + white-space: nowrap; + font-weight: 400; + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; +} + +.c16 { + width: 100%; + box-sizing: border-box; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c11 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c11:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c9 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c9:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c9:hover { + color: rgba(0,0,0,.54); +} + +.c9 span.__rdt_custom_sort_icon__ i, +.c9 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c9 span.__rdt_custom_sort_icon__.asc i, +.c9 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; +} + +.c6 { + white-space: nowrap; + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; +} + +
+
+
+
+
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+ +
+
+
+ Apple +
+
+
+
+
+ Add a custom expander component. Use props.data for row data +
+
+
+
+ +
+
+
+ Zuchinni +
+
+
+
+
+
+
+`; + +exports[`DataTable::expandableRows should render correctly when expandableRows is true 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + height: 100%; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; +} + +.c7 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; +} + +.c12 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; + padding: 0; +} + +.c8 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c15 { + font-weight: 400; +} + +.c15 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c14 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + white-space: nowrap; + border: none; + background-color: transparent; + color: rgba(0,0,0,.54); + fill: rgba(0,0,0,.54); + background-color: transparent; + border-radius: 2px; + -webkit-transition: 0.25s; + transition: 0.25s; + height: 100%; + width: 100%; +} + +.c14:hover:enabled { + cursor: pointer; +} + +.c14:disabled { + color: rgba(0,0,0,.18); +} + +.c14:hover:not(:disabled) { + cursor: pointer; + background-color: rgba(0,0,0,.12); +} + +.c14:focus { + outline: none; + background-color: rgba(0,0,0,.12); +} + +.c14 svg { + margin: auto; +} + +.c13 { + white-space: nowrap; + font-weight: 400; + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; +} + +.c11 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c11:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c9 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c9:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c9:hover { + color: rgba(0,0,0,.54); +} + +.c9 span.__rdt_custom_sort_icon__ i, +.c9 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c9 span.__rdt_custom_sort_icon__.asc i, +.c9 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; +} + +.c6 { + white-space: nowrap; + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; +} + +
+
+
+
+
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+ +
+
+
+ Apple +
+
+
+
+
+ +
+
+
+ Zuchinni +
+
+
+
+
+
+
+`; + +exports[`DataTable::expandableRows should render correctly when expandableRows is true and the row is toggled 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + height: 100%; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; +} + +.c7 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; +} + +.c12 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; + padding: 0; +} + +.c8 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c15 { + font-weight: 400; +} + +.c15 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c14 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + white-space: nowrap; + border: none; + background-color: transparent; + color: rgba(0,0,0,.54); + fill: rgba(0,0,0,.54); + background-color: transparent; + border-radius: 2px; + -webkit-transition: 0.25s; + transition: 0.25s; + height: 100%; + width: 100%; +} + +.c14:hover:enabled { + cursor: pointer; +} + +.c14:disabled { + color: rgba(0,0,0,.18); +} + +.c14:hover:not(:disabled) { + cursor: pointer; + background-color: rgba(0,0,0,.12); +} + +.c14:focus { + outline: none; + background-color: rgba(0,0,0,.12); +} + +.c14 svg { + margin: auto; +} + +.c13 { + white-space: nowrap; + font-weight: 400; + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; +} + +.c16 { + width: 100%; + box-sizing: border-box; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c11 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c11:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c9 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c9:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c9:hover { + color: rgba(0,0,0,.54); +} + +.c9 span.__rdt_custom_sort_icon__ i, +.c9 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c9 span.__rdt_custom_sort_icon__.asc i, +.c9 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; +} + +.c6 { + white-space: nowrap; + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; +} + +
+
+
+
+
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+ +
+
+
+ Apple +
+
+
+
+
+ Add a custom expander component. Use props.data for row data +
+
+
+
+ +
+
+
+ Zuchinni +
+
+
+
+
+
+
+`; + +exports[`DataTable::expandableRows should render correctly when expandableRowsHideExpander is true 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + height: 100%; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; +} + +.c10 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; +} + +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c11 { + font-weight: 400; +} + +.c11 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; +} + +
+
+
+
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
+
+
+`; + +exports[`DataTable::fixedHeader should render correctly when fixedHeader 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + height: 100%; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; +} + +.c10 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; +} + +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c11 { + font-weight: 400; +} + +.c11 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + max-height: 100vh; + overflow-y: scroll; + -webkit-overflow-scrolling: touch; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; +} + +
+
+
+
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
+
+
+`; + +exports[`DataTable::fixedHeader should render correctly when fixedHeader and fixedHeaderScrollHeight 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + height: 100%; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; +} + +.c10 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; +} + +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c11 { + font-weight: 400; +} + +.c11 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + max-height: 100px; + overflow-y: scroll; + -webkit-overflow-scrolling: touch; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; +} + +
+
+
+
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
+
+
+`; + +exports[`DataTable::fixedHeader should render correctly when fixedHeader with an offset 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + height: 100%; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; +} + +.c10 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; +} + +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c11 { + font-weight: 400; +} + +.c11 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + max-height: calc(100vh - 250px); + overflow-y: scroll; + -webkit-overflow-scrolling: touch; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; + padding-bottom: 250px; + margin-bottom: -250px; +} + +.c1 { + position: relative; + width: 100%; + display: table; +} + +
+
+
+
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
+
+
+`; + +exports[`DataTable::fixedHeader should render correctly when fixedHeader with an offset with a value 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + height: 100%; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; +} + +.c10 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; +} + +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c11 { + font-weight: 400; +} + +.c11 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + max-height: calc(100vh - 250px); + overflow-y: scroll; + -webkit-overflow-scrolling: touch; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; + padding-bottom: 250px; + margin-bottom: -250px; +} + +.c1 { + position: relative; + width: 100%; + display: table; +} + +
+
+
+
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
+
+
+`; + +exports[`DataTable::highlightOnHover should render correctly when highlightOnHover 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + height: 100%; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; +} + +.c10 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; +} + +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c11 { font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c11 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c9:hover { + color: rgba(0,0,0,0.87); + background-color: #EEEEEE; + -webkit-transition-duration: 0.15s; + transition-duration: 0.15s; + -webkit-transition-property: background-color; + transition-property: background-color; + border-bottom-color: #FFFFFF; + outline-style: solid; + outline-width: 1px; + outline-color: #FFFFFF; +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; +} + +
+
+
+
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
+
+
+`; + +exports[`DataTable::pointerOnHover should render correctly when pointerOnHover 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + height: 100%; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.c2 > * { - margin-left: 5px; + text-align: left; } -
-
-
-
-
-
-
-
-`; - -exports[`DataTable::fixedHeader should render correctly when fixedHeader 1`] = ` .c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - height: 100%; - font-weight: 400; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; } .c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -10376,248 +19910,277 @@ exports[`DataTable::fixedHeader should render correctly when fixedHeader 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} - -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + padding-right: 16px; } -.c0 { +.c10 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; + box-sizing: border-box; + line-height: normal; padding-left: 16px; - padding-right: 8px; + padding-right: 16px; + word-break: break-word; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c11 { font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c11 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c9:hover { + cursor: pointer; +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; } -.c2 > * { - margin-left: 5px; +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
`; -exports[`DataTable::fixedHeader should render correctly when fixedHeader and fixedHeaderScrollHeight 1`] = ` -.c4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - height: 100%; - font-weight: 400; -} - -.c5 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} - +exports[`DataTable::progress/nodata should only show Loading if progressPending prop changes 1`] = ` .c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; -} - -.c0 { position: relative; box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; + height: 100%; + max-width: 100%; color: rgba(0,0,0,0.87); background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; } .c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + position: relative; + box-sizing: border-box; + width: 100%; + height: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -10626,58 +20189,75 @@ exports[`DataTable::fixedHeader should render correctly when fixedHeader and fix -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c2 > * { - margin-left: 5px; +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
+ class="c2" + > +
+ Loading... +
+
`; -exports[`DataTable::fixedHeader should render correctly when fixedHeader with an offset 1`] = ` -.c4 { +exports[`DataTable::progress/nodata should render correctly when a component is passed that is a react component 1`] = ` +.c3 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c5 { +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c2 { + position: relative; + box-sizing: border-box; + width: 100%; + height: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -10686,93 +20266,73 @@ exports[`DataTable::fixedHeader should render correctly when fixedHeader with an -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c3 { - position: absolute; - top: 0; - left: 0; +.c1 { + position: relative; width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + display: table; } -.c0 { +
+
+
+
+ A String that is passed in +
+
+
+
+
+`; + +exports[`DataTable::progress/nodata should render correctly when a component is passed that is a string 1`] = ` +.c3 { position: relative; box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; + height: 100%; + max-width: 100%; color: rgba(0,0,0,0.87); background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; } .c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + position: relative; + box-sizing: border-box; + width: 100%; + height: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -10781,58 +20341,76 @@ exports[`DataTable::fixedHeader should render correctly when fixedHeader with an -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c2 > * { - margin-left: 5px; +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
+ class="c2" + > + A Component that is passed in +
`; -exports[`DataTable::fixedHeader should render correctly when fixedHeader with an offset with a value 1`] = ` -.c4 { +exports[`DataTable::progress/nodata should render correctly when progressPending is false and there are no row items 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c5 { +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; +} + +.c3 { + box-sizing: border-box; + width: 100%; + height: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -10841,93 +20419,147 @@ exports[`DataTable::fixedHeader should render correctly when fixedHeader with an -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } +
+
+
+
+
+ There are no records to display +
+
+
+
+
+`; + +exports[`DataTable::progress/nodata should render correctly when progressPending is true 1`] = ` .c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + height: 100%; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } .c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c2 { position: relative; box-sizing: border-box; - overflow: hidden; + width: 100%; + height: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; color: rgba(0,0,0,0.87); background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; } .c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; + position: relative; + width: 100%; + display: table; } +
+
+
+
+ Loading... +
+
+
+
+
+`; + +exports[`DataTable::progress/nodata when noTableHead should only Loading if progressPending prop changes 1`] = ` .c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + position: relative; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + height: 100%; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c3 { + position: relative; + box-sizing: border-box; + width: 100%; + height: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -10936,58 +20568,90 @@ exports[`DataTable::fixedHeader should render correctly when fixedHeader with an -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c2 > * { - margin-left: 5px; +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+ Loading... +
+
+
`; -exports[`DataTable::highlightOnHover should render correctly when highlightOnHover 1`] = ` -.c4 { +exports[`DataTable::progress/nodata when persistTableHead should disable TableHead if no data 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; + pointer-events: none; } .c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -10996,93 +20660,101 @@ exports[`DataTable::highlightOnHover should render correctly when highlightOnHov -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; -webkit-transition-duration: 125ms; transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); } .c0 { position: relative; - box-sizing: border-box; - overflow: hidden; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; } .c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; + position: relative; + width: 100%; + display: table; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c8 { + box-sizing: border-box; + width: 100%; + height: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -11091,58 +20763,109 @@ exports[`DataTable::highlightOnHover should render correctly when highlightOnHov -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.c2 > * { - margin-left: 5px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Test +
+
+
+
+
+
+
+ There are no records to display +
+
+
`; -exports[`DataTable::pointerOnHover should render correctly when pointerOnHover 1`] = ` -.c4 { +exports[`DataTable::progress/nodata when persistTableHead should disable TableHead if progressPending 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; + pointer-events: none; } .c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -11151,153 +20874,213 @@ exports[`DataTable::pointerOnHover should render correctly when pointerOnHover 1 -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; -webkit-transition-duration: 125ms; transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); } .c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c8 { position: relative; box-sizing: border-box; - overflow: hidden; + width: 100%; + height: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; color: rgba(0,0,0,0.87); background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; } .c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; -} - -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.c2 > * { - margin-left: 5px; + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Test +
+
+
+
+
+
+
+ Loading... +
+
+
`; -exports[`DataTable::progress/nodata should only show Loading if progressPending prop changes 1`] = ` -.c4 { +exports[`DataTable::progress/nodata when persistTableHead should only Loading and TableHead if progressPending prop changes 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; + pointer-events: none; } .c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -11306,153 +21089,212 @@ exports[`DataTable::progress/nodata should only show Loading if progressPending -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; -webkit-transition-duration: 125ms; transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); } .c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c8 { position: relative; box-sizing: border-box; - overflow: hidden; + width: 100%; + height: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; color: rgba(0,0,0,0.87); background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; } .c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; -} - -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.c2 > * { - margin-left: 5px; + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Test +
+
+
+
+
+
+
+ Loading... +
+
+
`; -exports[`DataTable::progress/nodata should render correctly when a component is passed that is a react component 1`] = ` -.c4 { +exports[`DataTable::responsive should not apply overFlowY without an overflowYOffset or not responsive 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; } .c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -11461,403 +21303,595 @@ exports[`DataTable::progress/nodata should render correctly when a component is -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; +.c10 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; +} + +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c11 { + font-weight: 400; +} + +.c11 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; } -.c0 { - position: relative; - box-sizing: border-box; - overflow: hidden; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c8 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } -.c2 > * { - margin-left: 5px; +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; + padding-bottom: 250px; + margin-bottom: -250px; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
`; -exports[`DataTable::progress/nodata should render correctly when a component is passed that is a string 1`] = ` -.c4 { +exports[`DataTable::responsive should render correctly responsive by default 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c5 { +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + text-align: left; } -.c3 { - position: absolute; - top: 0; - left: 0; +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + padding-right: 16px; } -.c0 { +.c10 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; + box-sizing: border-box; + line-height: normal; padding-left: 16px; - padding-right: 8px; + padding-right: 16px; + word-break: break-word; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c11 { font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c11 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.c2 > * { - margin-left: 5px; +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
`; -exports[`DataTable::progress/nodata should render correctly when progressPending is false and there are no row items 1`] = ` -.c4 { +exports[`DataTable::responsive should render correctly when responsive=false 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c5 { +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + text-align: left; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; +.c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; } -.c0 { +.c5 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; padding-left: 16px; - padding-right: 8px; -} - -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; + padding-right: 16px; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c10 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -11866,368 +21900,613 @@ exports[`DataTable::progress/nodata should render correctly when progressPending -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; } -.c2 > * { - margin-left: 5px; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; } -
-
-
-
-
-
-
-
-`; - -exports[`DataTable::progress/nodata should render correctly when progressPending is true 1`] = ` -.c4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - height: 100%; +.c11 { font-weight: 400; } -.c5 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; +.c11 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; +.c9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + background-color: #FFFFFF; + min-height: 48px; } -.c0 { - position: relative; - box-sizing: border-box; - overflow: hidden; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c8 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } -.c2 > * { - margin-left: 5px; +.c0 { + position: relative; + width: 100%; + border-radius: inherit; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
`; -exports[`DataTable::progress/nodata when noTableHead should only Loading if progressPending prop changes 1`] = ` -.c4 { +exports[`DataTable::selectableRows should not render a select all checkbox when selectableRowsNoSelectAll is true 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c5 { +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + text-align: left; } -.c3 { - position: absolute; - top: 0; - left: 0; +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; +} + +.c6 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + padding-right: 16px; } -.c0 { +.c11 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; + box-sizing: border-box; + line-height: normal; padding-left: 16px; - padding-right: 8px; + padding-right: 16px; + word-break: break-word; + padding: 0; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c7 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c13 { font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c13 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c12 { + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + white-space: nowrap; +} + +.c10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c10:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c8 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.c2 > * { - margin-left: 5px; +.c8:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c8:hover { + color: rgba(0,0,0,.54); +} + +.c8 span.__rdt_custom_sort_icon__ i, +.c8 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c8 span.__rdt_custom_sort_icon__.asc i, +.c8 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+ +
+
+
+ Apple +
+
+
+
+
+ +
+
+
+ Zuchinni +
+
+
+
+
`; -exports[`DataTable::progress/nodata when persistTableHead should disable TableHead if no data 1`] = ` -.c4 { +exports[`DataTable::selectableRows should render correctly when selectableRows is true 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; } .c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -12236,292 +22515,392 @@ exports[`DataTable::progress/nodata when persistTableHead should disable TableHe -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; + padding: 0; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; +.c7 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; +} + +.c12 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + padding-right: 16px; + word-break: break-word; + padding: 0; } -.c0 { +.c14 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; + box-sizing: border-box; + line-height: normal; padding-left: 16px; - padding-right: 8px; + padding-right: 16px; + word-break: break-word; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c8 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c15 { font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c15 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c13 { + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + white-space: nowrap; +} + +.c11 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c11:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c9 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.c2 > * { - margin-left: 5px; +.c9:focus { + outline: none; + color: rgba(0,0,0,.54); } -
-
-
-
-
-
-
-
-`; +.c9:hover { + color: rgba(0,0,0,.54); +} + +.c9 span.__rdt_custom_sort_icon__ i, +.c9 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} -exports[`DataTable::progress/nodata when persistTableHead should disable TableHead if progressPending 1`] = ` -.c4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - height: 100%; - font-weight: 400; +.c9 span.__rdt_custom_sort_icon__.asc i, +.c9 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); } -.c5 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; +.c6 { + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + white-space: nowrap; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; +.c10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; +} + +
+
+
+
+
+
+ +
+
+
+
+ Test +
+
+
+
+
+
+
+
+ +
+
+
+ Apple +
+
+
+
+
+ +
+
+
+ Zuchinni +
+
+
+
+
+
+
+`; + +exports[`DataTable::selectableRows should render correctly when selectableRowsHighlight is true and a row is selected 1`] = ` +.c2 { position: relative; box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; + height: 100%; + max-width: 100%; color: rgba(0,0,0,0.87); background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; -} - -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.c2 > * { - margin-left: 5px; + text-align: left; } -
-
-
-
-
-
-
-
-`; +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} -exports[`DataTable::progress/nodata when persistTableHead should only Loading and TableHead if progressPending prop changes 1`] = ` -.c4 { +.c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -12530,14 +22909,18 @@ exports[`DataTable::progress/nodata when persistTableHead should only Loading an -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - height: 100%; - font-weight: 400; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; + padding: 0; } -.c5 { +.c7 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -12546,558 +22929,733 @@ exports[`DataTable::progress/nodata when persistTableHead should only Loading an -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; +.c12 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + padding-right: 16px; + word-break: break-word; + padding: 0; } -.c0 { +.c14 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; + box-sizing: border-box; + line-height: normal; padding-left: 16px; - padding-right: 8px; + padding-right: 16px; + word-break: break-word; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c8 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c15 { font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; +.c15 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c13 { + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + white-space: nowrap; } -.c2 > * { - margin-left: 5px; +.c16 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; } -
-
-
-
-
-
-
-
-`; +.c16:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} -exports[`DataTable::responsive should not apply overFlowY without an overflowYOffset or not responsive 1`] = ` -.c4 { +.c11 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c11:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c11:nth-of-type(n) { + color: rgba(0,0,0,0.87); + background-color: #e3f2fd; + border-bottom-color: #FFFFFF; +} + +.c9 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; height: 100%; - font-weight: 400; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c9:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c9:hover { + color: rgba(0,0,0,.54); +} + +.c9 span.__rdt_custom_sort_icon__ i, +.c9 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; } -.c5 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; +.c9 span.__rdt_custom_sort_icon__.asc i, +.c9 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; +.c6 { + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + white-space: nowrap; +} + +.c10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .c0 { position: relative; - box-sizing: border-box; - overflow: hidden; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; } .c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; -} - -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.c2 > * { - margin-left: 5px; + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+ +
+
+
+
+ Test +
+
+
+
+
+
+
+
+ +
+
+
+ Apple +
+
+
+
+
+ +
+
+
+ Zuchinni +
+
+
+
+
`; -exports[`DataTable::responsive should render correctly responsive by default 1`] = ` -.c4 { +exports[`DataTable::sorting a custom column sorting function is used 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c5 { +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; +.c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + padding-right: 16px; } -.c0 { +.c11 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; + box-sizing: border-box; + line-height: normal; padding-left: 16px; - padding-right: 8px; + padding-right: 16px; + word-break: break-word; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c12 { font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c12 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c10:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c8 { + padding: 2px; + color: inherit; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + opacity: 1; +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + color: rgba(0,0,0,0.87); } -.c2 > * { - margin-left: 5px; +.c7:focus { + outline: none; +} + +.c7:hover:not(:focus) { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 1; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c7:hover { + cursor: pointer; +} + +.c9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Test +
+ + ▲ + +
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
`; -exports[`DataTable::responsive should render correctly when responsive=false 1`] = ` -.c4 { +exports[`DataTable::sorting should render correctly and bypass internal sort when sortServer = true and asc sort 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c5 { +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + text-align: left; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; +.c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; } -.c0 { +.c5 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; padding-left: 16px; - padding-right: 8px; -} - -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; + padding-right: 16px; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c11 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -13106,466 +23664,621 @@ exports[`DataTable::responsive should render correctly when responsive=false 1`] -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; } -.c2 > * { - margin-left: 5px; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; } -
-
-
-
-
-
-
-
-`; - -exports[`DataTable::selectableRows should not render a select all checkbox when selectableRowsNoSelectAll is true 1`] = ` -.c4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - height: 100%; +.c12 { font-weight: 400; } -.c5 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; +.c12 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; +.c10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + background-color: #FFFFFF; + min-height: 48px; } -.c0 { - position: relative; - box-sizing: border-box; - overflow: hidden; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; +.c10:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c8 { + padding: 2px; + color: inherit; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + opacity: 1; +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; +.c7:focus { + outline: none; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c7:hover:not(:focus) { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 1; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c7:hover { + cursor: pointer; +} + +.c9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } -.c2 > * { - margin-left: 5px; +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Test +
+ + ▲ + +
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
`; -exports[`DataTable::selectableRows should render correctly when selectableRows is true 1`] = ` -.c4 { +exports[`DataTable::sorting should render correctly and bypass internal sort when sortServer = true and desc sort 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c5 { +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + text-align: left; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + padding-right: 16px; } -.c0 { +.c11 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; + box-sizing: border-box; + line-height: normal; padding-left: 16px; - padding-right: 8px; + padding-right: 16px; + word-break: break-word; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c12 { font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c12 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c10:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c8 { + padding: 2px; + color: inherit; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + opacity: 1; + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + color: rgba(0,0,0,0.87); } -.c2 > * { - margin-left: 5px; +.c7:focus { + outline: none; +} + +.c7:hover:not(:focus) { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 1; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c7:hover { + cursor: pointer; +} + +.c9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Test +
+ + ▲ + +
+
+
+
+
+
+
+
+ Zuchinni +
+
+
+
+
+
+ Apple +
+
+
+
+
`; -exports[`DataTable::selectableRows should render correctly when selectableRowsHighlight is true and a row is selected 1`] = ` -.c4 { +exports[`DataTable::sorting should render correctly and not be sorted when a column.sort === false 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c5 { +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + text-align: left; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; +.c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; } -.c0 { +.c5 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; padding-left: 16px; - padding-right: 8px; -} - -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; + padding-right: 16px; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c10 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -13574,465 +24287,596 @@ exports[`DataTable::selectableRows should render correctly when selectableRowsHi -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; } -.c2 > * { - margin-left: 5px; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; } -
-
-
-
-
- 1 item selected -
-
-
-
-`; - -exports[`DataTable::sorting a custom column sorting function is used 1`] = ` -.c4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - height: 100%; +.c11 { font-weight: 400; } -.c5 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; +.c11 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; +.c9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; } -.c0 { - position: relative; - box-sizing: border-box; - overflow: hidden; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c8 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } -.c2 > * { - margin-left: 5px; +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
`; -exports[`DataTable::sorting should render correctly and bypass internal sort when sortServer = true and asc sort 1`] = ` -.c4 { +exports[`DataTable::sorting should render correctly when a column is sorted from asc to desc 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c5 { +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + text-align: left; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + padding-right: 16px; } -.c0 { +.c11 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; + box-sizing: border-box; + line-height: normal; padding-left: 16px; - padding-right: 8px; + padding-right: 16px; + word-break: break-word; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c12 { font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c12 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c10:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c8 { + padding: 2px; + color: inherit; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + opacity: 1; +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + color: rgba(0,0,0,0.87); } -.c2 > * { - margin-left: 5px; +.c7:focus { + outline: none; +} + +.c7:hover:not(:focus) { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 1; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c7:hover { + cursor: pointer; +} + +.c9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Test +
+ + ▲ + +
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
`; -exports[`DataTable::sorting should render correctly and bypass internal sort when sortServer = true and desc sort 1`] = ` -.c4 { +exports[`DataTable::sorting should render correctly when a column is sorted in default asc 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c5 { +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + text-align: left; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; +.c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; } -.c0 { +.c5 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; padding-left: 16px; - padding-right: 8px; -} - -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; + padding-right: 16px; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c11 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -14041,463 +24885,593 @@ exports[`DataTable::sorting should render correctly and bypass internal sort whe -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; } -.c2 > * { - margin-left: 5px; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; } -
-
-
-
-
-
-
-
-`; - -exports[`DataTable::sorting should render correctly and not be sorted when a column.sort === false 1`] = ` -.c4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - height: 100%; +.c12 { font-weight: 400; } -.c5 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; +.c12 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; +.c10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + background-color: #FFFFFF; + min-height: 48px; +} + +.c10:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c8 { + padding: 2px; + color: inherit; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + opacity: 1; } -.c0 { - position: relative; - box-sizing: border-box; - overflow: hidden; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; +.c7:focus { + outline: none; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c7:hover:not(:focus) { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 1; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c7:hover { + cursor: pointer; +} + +.c9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } -.c2 > * { - margin-left: 5px; +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Test +
+ + ▲ + +
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
`; -exports[`DataTable::sorting should render correctly when a column is sorted from asc to desc 1`] = ` -.c4 { +exports[`DataTable::sorting should render correctly with a custom sortIcon 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c5 { +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + text-align: left; } -.c3 { - position: absolute; - top: 0; - left: 0; +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + padding-right: 16px; } -.c0 { +.c10 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; + box-sizing: border-box; + line-height: normal; padding-left: 16px; - padding-right: 8px; + padding-right: 16px; + word-break: break-word; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c11 { font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c11 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.c2 > * { - margin-left: 5px; +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c7:hover { + cursor: pointer; +} + +.c7:hover span, +.c7:hover span.__rdt_custom_sort_icon__ * { + opacity: 1; +} + +.c8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Test +
+ +
+ ASC +
+
+
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
`; -exports[`DataTable::sorting should render correctly when a column is sorted in default asc 1`] = ` -.c4 { +exports[`DataTable::sorting should render correctly with a custom sortIcon and column.right = true 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; -} - -.c5 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } .c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + text-align: left; } -.c0 { - position: relative; - box-sizing: border-box; - overflow: hidden; +.c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); background-color: #FFFFFF; min-height: 56px; - padding-left: 16px; - padding-right: 8px; -} - -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -14506,42 +25480,17 @@ exports[`DataTable::sorting should render correctly when a column is sorted in d -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.c2 > * { - margin-left: 5px; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; } -
-
-
-
-
-
-
-
-`; - -exports[`DataTable::sorting should render correctly with a custom sortIcon 1`] = ` -.c4 { +.c10 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -14550,419 +25499,625 @@ exports[`DataTable::sorting should render correctly with a custom sortIcon 1`] = -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - height: 100%; - font-weight: 400; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; } -.c5 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - background-color: #e3f2fd; - font-size: 18px; +.c11 { font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; } -.c0 { - position: relative; - box-sizing: border-box; +.c11 div:first-child { + white-space: nowrap; overflow: hidden; + text-overflow: ellipsis; +} + +.c9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c7:hover { + cursor: pointer; +} + +.c7:hover span, +.c7:hover span.__rdt_custom_sort_icon__ * { + opacity: 1; +} + +.c8 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } -.c2 > * { - margin-left: 5px; +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+ +
+ ASC +
+
+
+ Test +
+
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
`; -exports[`DataTable::sorting should render correctly with a custom sortIcon and column.right = true 1`] = ` -.c4 { +exports[`DataTable::sorting should render correctly with a default sort field and the icon to the right when column.right = true and the native sort icon 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c5 { +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + text-align: left; } -.c3 { - position: absolute; - top: 0; - left: 0; +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + padding-right: 16px; } -.c0 { +.c11 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; + box-sizing: border-box; + line-height: normal; padding-left: 16px; - padding-right: 8px; + padding-right: 16px; + word-break: break-word; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} + +.c12 { font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c12 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c10:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c8 { + padding: 2px; + color: inherit; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + opacity: 0; +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.c2 > * { - margin-left: 5px; +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c7:hover { + cursor: pointer; +} + +.c7:hover span, +.c7:hover span.__rdt_custom_sort_icon__ * { + opacity: 1; +} + +.c9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+ + ▲ + +
+ Test +
+
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
`; -exports[`DataTable::sorting should render correctly with a default sort field and the icon to the right when column.right = true and the native sort icon 1`] = ` -.c4 { +exports[`DataTable::sorting should render correctly with a default sort field and the native sort icon 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c5 { +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + text-align: left; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; +.c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; } -.c0 { +.c5 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; padding-left: 16px; - padding-right: 8px; -} - -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; + padding-right: 16px; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c11 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -14971,662 +26126,925 @@ exports[`DataTable::sorting should render correctly with a default sort field an -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; } -.c2 > * { - margin-left: 5px; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; } -
-
-
-
-
-
-
-
-`; - -exports[`DataTable::sorting should render correctly with a default sort field and the native sort icon 1`] = ` -.c4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - height: 100%; +.c12 { font-weight: 400; } -.c5 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; +.c12 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; +.c10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + background-color: #FFFFFF; + min-height: 48px; +} + +.c10:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); } -.c0 { - position: relative; - box-sizing: border-box; - overflow: hidden; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; +.c8 { + padding: 2px; + color: inherit; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + opacity: 0; +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c7:hover { + cursor: pointer; +} + +.c7:hover span, +.c7:hover span.__rdt_custom_sort_icon__ * { + opacity: 1; +} + +.c9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } -.c2 > * { - margin-left: 5px; +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Test +
+ + ▲ + +
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
`; exports[`DataTable::sorting should render correctly with a defaultSortAsc = false 1`] = ` -.c4 { +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c5 { +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + text-align: left; } -.c3 { - position: absolute; - top: 0; - left: 0; +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + padding-right: 16px; } -.c0 { +.c11 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; + box-sizing: border-box; + line-height: normal; padding-left: 16px; - padding-right: 8px; + padding-right: 16px; + word-break: break-word; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c12 { font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c12 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c10:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c8 { + padding: 2px; + color: inherit; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + opacity: 0; + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.c2 > * { - margin-left: 5px; +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c7:hover { + cursor: pointer; +} + +.c7:hover span, +.c7:hover span.__rdt_custom_sort_icon__ * { + opacity: 1; +} + +.c9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Test +
+ + ▲ + +
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
`; exports[`DataTable::sorting should sort if the column is selected and the Enter key is pressed 1`] = ` -.c4 { +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c5 { +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + text-align: left; } -.c3 { - position: absolute; - top: 0; - left: 0; +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + padding-right: 16px; } -.c0 { +.c11 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; + box-sizing: border-box; + line-height: normal; padding-left: 16px; - padding-right: 8px; + padding-right: 16px; + word-break: break-word; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c12 { font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c12 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c10:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c8 { + padding: 2px; + color: inherit; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + opacity: 1; + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + color: rgba(0,0,0,0.87); +} + +.c7:focus { + outline: none; +} + +.c7:hover:not(:focus) { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 1; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c7:hover { + cursor: pointer; +} + +.c9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; } -.c2 > * { - margin-left: 5px; +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Test +
+ + ▲ + +
+
+
+
+
+
+
+
+ Zuchinni +
+
+
+
+
+
+ Apple +
+
+
+
+
`; exports[`DataTable::striped should render correctly when striped 1`] = ` -.c4 { +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; -} - -.c5 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } .c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + text-align: left; } -.c0 { - position: relative; - box-sizing: border-box; - overflow: hidden; +.c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); background-color: #FFFFFF; min-height: 56px; - padding-left: 16px; - padding-right: 8px; -} - -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; -} - -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.c2 > * { - margin-left: 5px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; } -
-
-
-
-
-
-
-
-`; - -exports[`DataTable::subHeader should render correctly when a subheader is enabled 1`] = ` -.c4 { +.c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -15635,14 +27053,17 @@ exports[`DataTable::subHeader should render correctly when a subheader is enable -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - height: 100%; - font-weight: 400; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; } -.c5 { +.c10 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -15651,161 +27072,267 @@ exports[`DataTable::subHeader should render correctly when a subheader is enable -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - background-color: #e3f2fd; - font-size: 18px; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c11 { font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; } -.c0 { - position: relative; - box-sizing: border-box; +.c11 div:first-child { + white-space: nowrap; overflow: hidden; + text-overflow: ellipsis; +} + +.c9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; + box-sizing: border-box; + font-size: 13px; color: rgba(0,0,0,0.87); background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; + min-height: 48px; + color: rgba(0,0,0,0.87); + background-color: #FAFAFA; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c12 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c12:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.c2 > * { - margin-left: 5px; +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
`; -exports[`DataTable::subHeader should render correctly with center align 1`] = ` -.c4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - height: 100%; - font-weight: 400; -} - -.c5 { +exports[`DataTable::subHeader should render correctly when a subheader is enabled 1`] = ` +.c0 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + box-sizing: border-box; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; + padding: 4px 16px 4px 24px; + width: 100%; -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; @@ -15813,48 +27340,20 @@ exports[`DataTable::subHeader should render correctly with center align 1`] = ` -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + background-color: #FFFFFF; + min-height: 52px; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; -} +
+
+
+`; +exports[`DataTable::subHeader should render correctly with center align 1`] = ` .c0 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -15862,154 +27361,69 @@ exports[`DataTable::subHeader should render correctly with center align 1`] = ` -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; + box-sizing: border-box; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + padding: 4px 16px 4px 24px; width: 100%; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; -} - -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; -} - -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.c2 > * { - margin-left: 5px; + min-height: 52px; } -
-
-
-
-
-
-
-
+
+ `; exports[`DataTable::subHeader should render correctly with left align 1`] = ` -.c4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - height: 100%; - font-weight: 400; -} - -.c5 { +.c0 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + box-sizing: border-box; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + padding: 4px 16px 4px 24px; + width: 100%; + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + background-color: #FFFFFF; + min-height: 52px; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; -} +
+
+
+`; +exports[`DataTable::subHeader should render correctly with right align 1`] = ` .c0 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -16017,252 +27431,356 @@ exports[`DataTable::subHeader should render correctly with left align 1`] = ` -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; + box-sizing: border-box; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + padding: 4px 16px 4px 24px; width: 100%; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; -} - -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + background-color: #FFFFFF; + min-height: 52px; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +
+
+
+`; + +exports[`DataTable::subHeader should render when subHeaderWrap is false 1`] = ` +.c0 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + box-sizing: border-box; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; + padding: 4px 16px 4px 24px; + width: 100%; -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + background-color: #FFFFFF; + min-height: 52px; } -.c2 > * { - margin-left: 5px; -} - -
-
-
-
-
-
-
-
+
+ `; -exports[`DataTable::subHeader should render correctly with right align 1`] = ` -.c4 { +exports[`data prop changes should update state if the data prop changes 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c5 { +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + text-align: left; } -.c3 { - position: absolute; - top: 0; - left: 0; +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} + +.c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + padding-right: 16px; } -.c0 { +.c10 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; +} + +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c11 { + font-weight: 400; +} + +.c11 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; + box-sizing: border-box; + font-size: 13px; color: rgba(0,0,0,0.87); background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; + min-height: 48px; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c8 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } -.c2 > * { - margin-left: 5px; +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+
+ Someone else +
+
+
+
+
`; -exports[`DataTable::subHeader should render when subHeaderWrap is false 1`] = ` -.c4 { +exports[`should not show the TableHead when noTableHead is true 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } .c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -16271,93 +27789,183 @@ exports[`DataTable::subHeader should render when subHeaderWrap is false 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c7 { + font-weight: 400; +} + +.c7 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + background-color: #FFFFFF; + min-height: 48px; +} + +.c4:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; } -.c0 { +
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
+
+
+`; + +exports[`should render and empty table correctly 1`] = ` +.c2 { position: relative; box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; + height: 100%; + max-width: 100%; color: rgba(0,0,0,0.87); background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; } .c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; + position: relative; + width: 100%; + display: table; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c3 { + box-sizing: border-box; + width: 100%; + height: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -16366,197 +27974,83 @@ exports[`DataTable::subHeader should render when subHeaderWrap is false 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.c2 > * { - margin-left: 5px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+ There are no records to display +
+
+
`; -exports[`data prop changes should update state if the data prop changes 1`] = ` -.c4 { +exports[`should render correctly when conditionalRowStyles is used with an expandableRows an expandableInheritConditionalStyles 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; -} - -.c5 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } .c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + text-align: left; } -.c0 { - position: relative; - box-sizing: border-box; - overflow: hidden; +.c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); background-color: #FFFFFF; min-height: 56px; - padding-left: 16px; - padding-right: 8px; -} - -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; -} - -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.c2 > * { - margin-left: 5px; -} - -
-
-
-
-
-
-
-
-`; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; +} -exports[`should not show the TableHead when noTableHead is true 1`] = ` -.c4 { +.c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -16565,14 +28059,15 @@ exports[`should not show the TableHead when noTableHead is true 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - height: 100%; - font-weight: 400; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; } -.c5 { +.c7 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -16581,308 +28076,466 @@ exports[`should not show the TableHead when noTableHead is true 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} - -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + padding-right: 16px; } -.c0 { +.c12 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; + box-sizing: border-box; + line-height: normal; padding-left: 16px; - padding-right: 8px; + padding-right: 16px; + word-break: break-word; + padding: 0; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c8 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c15 { font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; +.c15 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c14 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + white-space: nowrap; + border: none; + background-color: transparent; + color: rgba(0,0,0,.54); + fill: rgba(0,0,0,.54); + background-color: transparent; + border-radius: 2px; + -webkit-transition: 0.25s; + transition: 0.25s; + height: 100%; + width: 100%; } -.c2 > * { - margin-left: 5px; +.c14:hover:enabled { + cursor: pointer; } -
-
-
-
-
-
-
-
-`; +.c14:disabled { + color: rgba(0,0,0,.18); +} -exports[`should render and empty table correctly 1`] = ` -.c4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - height: 100%; +.c14:hover:not(:disabled) { + cursor: pointer; + background-color: rgba(0,0,0,.12); +} + +.c14:focus { + outline: none; + background-color: rgba(0,0,0,.12); +} + +.c14 svg { + margin: auto; +} + +.c13 { + white-space: nowrap; font-weight: 400; + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; } -.c5 { +.c16 { + width: 100%; + box-sizing: border-box; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + background-color: rgba(63,195,128,0.9); + color: white; +} + +.c16:hover { + cursor: pointer; +} + +.c11 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; + background-color: rgba(63,195,128,0.9); + color: white; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; +.c11:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c11:hover { + cursor: pointer; +} + +.c17 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + background-color: #FFFFFF; + min-height: 48px; } -.c0 { - position: relative; - box-sizing: border-box; - overflow: hidden; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; +.c17:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c9 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; +.c9:focus { + outline: none; + color: rgba(0,0,0,.54); } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c9:hover { + color: rgba(0,0,0,.54); +} + +.c9 span.__rdt_custom_sort_icon__ i, +.c9 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c9 span.__rdt_custom_sort_icon__.asc i, +.c9 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } -.c2 > * { - margin-left: 5px; +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; +} + +.c6 { + white-space: nowrap; + -webkit-flex: 0 0 48px; + -ms-flex: 0 0 48px; + flex: 0 0 48px; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+ +
+
+
+ Apple +
+
+
+
+
+ Add a custom expander component. Use props.data for row data +
+
+
+
+ +
+
+
+ Zuchinni +
+
+
+
+
`; -exports[`should render correctly when conditionalRowStyles is used with an expandableRows an expandableInheritConditionalStyles 1`] = ` +exports[`should render correctly when disabled 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + height: 100%; + max-width: 100%; + pointer-events: none; + opacity: 0.4; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; +} + +.c3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + text-align: left; +} + .c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - height: 100%; - font-weight: 400; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; } .c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -16891,292 +28544,287 @@ exports[`should render correctly when conditionalRowStyles is used with an expan -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} - -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + padding-right: 16px; } -.c0 { +.c10 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; + box-sizing: border-box; + line-height: normal; padding-left: 16px; - padding-right: 8px; + padding-right: 16px; + word-break: break-word; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c11 { font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c11 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.c2 > * { - margin-left: 5px; +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + disabled="" + role="table" + > +
+
+
+
+
+ Test +
+
+
+
+
+
+
+
+
+ Apple +
+
+
+
+
+
+ Zuchinni +
+
+
+
+
`; -exports[`should render correctly when disabled 1`] = ` -.c4 { +exports[`should render the correctly when using selector function 1`] = ` +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; -} - -.c5 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } .c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + text-align: left; } -.c0 { - position: relative; - box-sizing: border-box; - overflow: hidden; +.c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); background-color: #FFFFFF; min-height: 56px; - padding-left: 16px; - padding-right: 8px; -} - -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; -} - -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.c2 > * { - margin-left: 5px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; } -
-
-
-
-
-
-
-
-`; - -exports[`should render the correctly when using selector function 1`] = ` -.c4 { +.c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -17185,14 +28833,17 @@ exports[`should render the correctly when using selector function 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - height: 100%; - font-weight: 400; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; + color: rgba(0,0,0,0.87); + padding-left: 16px; + padding-right: 16px; } -.c5 { +.c10 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -17201,286 +28852,470 @@ exports[`should render the correctly when using selector function 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + box-sizing: border-box; + line-height: normal; + padding-left: 16px; + padding-right: 16px; + word-break: break-word; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - background-color: #e3f2fd; - font-size: 18px; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c11 { font-weight: 400; - color: rgba(0,0,0,0.87); - padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; } -.c0 { - position: relative; - box-sizing: border-box; +.c11 div:first-child { + white-space: nowrap; overflow: hidden; + text-overflow: ellipsis; +} + +.c9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; - padding-left: 16px; - padding-right: 8px; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - font-weight: 400; +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c8 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } -.c2 > * { - margin-left: 5px; +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Name +
+
+
+
+
+
+
+
+
+ Leia +
+
+
+
+
`; exports[`should render the correctly when using selector function and a format function 1`] = ` -.c4 { +.c2 { + position: relative; + box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; height: 100%; - font-weight: 400; + max-width: 100%; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; } -.c5 { +.c3 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + text-align: left; +} + +.c4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; + background-color: #FFFFFF; + min-height: 56px; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); + border-bottom-style: solid; } -.c3 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-sizing: inherit; - z-index: 1; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; +.c5 { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - background-color: #e3f2fd; - font-size: 18px; - font-weight: 400; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + box-sizing: border-box; + line-height: normal; + font-size: 12px; + font-weight: 500; color: rgba(0,0,0,0.87); padding-left: 16px; - padding-right: 8px; - -webkit-transform: translate3d(0,-100%,0); - -ms-transform: translate3d(0,-100%,0); - transform: translate3d(0,-100%,0); - -webkit-transition-duration: 125ms; - transition-duration: 125ms; - -webkit-transition-timing-function: cubic-bezier(0,0,0.2,1); - transition-timing-function: cubic-bezier(0,0,0.2,1); - will-change: transform; + padding-right: 16px; } -.c0 { +.c10 { position: relative; - box-sizing: border-box; - overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - font-size: 22px; - color: rgba(0,0,0,0.87); - background-color: #FFFFFF; - min-height: 56px; + box-sizing: border-box; + line-height: normal; padding-left: 16px; - padding-right: 8px; + padding-right: 16px; + word-break: break-word; } -.c1 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + min-width: 100px; +} + +.c11 { font-weight: 400; } -.c2 { - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; +.c11 div:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.c9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + width: 100%; + box-sizing: border-box; + font-size: 13px; + color: rgba(0,0,0,0.87); + background-color: #FFFFFF; + min-height: 48px; +} + +.c9:not(:last-of-type) { + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: rgba(0,0,0,.12); +} + +.c7 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; + height: 100%; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.c2 > * { - margin-left: 5px; +.c7:focus { + outline: none; + color: rgba(0,0,0,.54); +} + +.c7:hover { + color: rgba(0,0,0,.54); +} + +.c7 span.__rdt_custom_sort_icon__ i, +.c7 span.__rdt_custom_sort_icon__ svg { + opacity: 0; + color: inherit; + font-size: 18px !important; + height: 18px !important; + width: 18px !important; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-property: -webkit-transform; + -webkit-transition-property: transform; + transition-property: transform; +} + +.c7 span.__rdt_custom_sort_icon__.asc i, +.c7 span.__rdt_custom_sort_icon__.asc svg { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.c8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 { + position: relative; + width: 100%; + border-radius: inherit; + overflow-x: auto; + overflow-y: hidden; + min-height: 0; +} + +.c1 { + position: relative; + width: 100%; + display: table; }
-
-
-
+ class="c2 rdt_Table" + role="table" + > +
+
+
+
+
+ Name +
+
+
+
+
+
+
+
+
+ Le +
+
+
+
+
`; diff --git a/src/DataTable/defaultProps.tsx b/src/DataTable/defaultProps.tsx index 17bc6e3b..a593b844 100644 --- a/src/DataTable/defaultProps.tsx +++ b/src/DataTable/defaultProps.tsx @@ -47,8 +47,8 @@ export const defaultProps = { pointerOnHover: false, noContextMenu: false, contextMessage: { singular: 'item', plural: 'items', message: 'selected' }, - actions: [], - contextActions: [], + actions: null, + contextActions: null, contextComponent: null, defaultSortFieldId: null, defaultSortAsc: true, @@ -62,7 +62,7 @@ export const defaultProps = { subHeader: false, subHeaderAlign: Alignment.Right, subHeaderWrap: true, - subHeaderComponent: [], + subHeaderComponent: null, fixedHeader: false, fixedHeaderScrollHeight: '100vh', pagination: false, diff --git a/yarn.lock b/yarn.lock index a86240f1..a401b299 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2318,10 +2318,10 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.8.tgz#2127bd81949a95c8b7d3240f3254352d72563aec" integrity sha512-z/5Yd59dCKI5kbxauAJgw6dLPzW+TNOItNE00PkpzNwUIEwdj/Lsqwq94H5DdYBX7C13aRA0CY32BK76+neEUA== -"@types/node@^14.14.21": - version "14.14.21" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.21.tgz#d934aacc22424fe9622ebf6857370c052eae464e" - integrity sha512-cHYfKsnwllYhjOzuC5q1VpguABBeecUp24yFluHpn/BQaVxB1CuQ1FSRZCzrPxrkIfWISXV2LbeoBthLWg0+0A== +"@types/node@^14.14.22": + version "14.14.22" + resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.22.tgz#0d29f382472c4ccf3bd96ff0ce47daf5b7b84b18" + integrity sha512-g+f/qj/cNcqKkc3tFqlXOYjrmZA+jNBiDzbP3kH+B+otKFqAdPgVTGP1IeKRdMml/aE69as5S4FqtxAbl+LaMw== "@types/normalize-package-data@^2.4.0": version "2.4.0" @@ -2499,13 +2499,13 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/eslint-plugin@^4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.13.0.tgz#5f580ea520fa46442deb82c038460c3dd3524bb6" - integrity sha512-ygqDUm+BUPvrr0jrXqoteMqmIaZ/bixYOc3A4BRwzEPTZPi6E+n44rzNZWaB0YvtukgP+aoj0i/fyx7FkM2p1w== +"@typescript-eslint/eslint-plugin@^4.14.0": + version "4.14.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.14.0.tgz#92db8e7c357ed7d69632d6843ca70b71be3a721d" + integrity sha512-IJ5e2W7uFNfg4qh9eHkHRUCbgZ8VKtGwD07kannJvM5t/GU8P8+24NX8gi3Hf5jST5oWPY8kyV1s/WtfiZ4+Ww== dependencies: - "@typescript-eslint/experimental-utils" "4.13.0" - "@typescript-eslint/scope-manager" "4.13.0" + "@typescript-eslint/experimental-utils" "4.14.0" + "@typescript-eslint/scope-manager" "4.14.0" debug "^4.1.1" functional-red-black-tree "^1.0.1" lodash "^4.17.15" @@ -2513,15 +2513,15 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.13.0.tgz#9dc9ab375d65603b43d938a0786190a0c72be44e" - integrity sha512-/ZsuWmqagOzNkx30VWYV3MNB/Re/CGv/7EzlqZo5RegBN8tMuPaBgNK6vPBCQA8tcYrbsrTdbx3ixMRRKEEGVw== +"@typescript-eslint/experimental-utils@4.14.0": + version "4.14.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.14.0.tgz#5aa7b006736634f588a69ee343ca959cd09988df" + integrity sha512-6i6eAoiPlXMKRbXzvoQD5Yn9L7k9ezzGRvzC/x1V3650rUk3c3AOjQyGYyF9BDxQQDK2ElmKOZRD0CbtdkMzQQ== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/scope-manager" "4.13.0" - "@typescript-eslint/types" "4.13.0" - "@typescript-eslint/typescript-estree" "4.13.0" + "@typescript-eslint/scope-manager" "4.14.0" + "@typescript-eslint/types" "4.14.0" + "@typescript-eslint/typescript-estree" "4.14.0" eslint-scope "^5.0.0" eslint-utils "^2.0.0" @@ -2537,14 +2537,14 @@ eslint-scope "^5.0.0" eslint-utils "^2.0.0" -"@typescript-eslint/parser@^4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.13.0.tgz#c413d640ea66120cfcc37f891e8cb3fd1c9d247d" - integrity sha512-KO0J5SRF08pMXzq9+abyHnaGQgUJZ3Z3ax+pmqz9vl81JxmTTOUfQmq7/4awVfq09b6C4owNlOgOwp61pYRBSg== +"@typescript-eslint/parser@^4.14.0": + version "4.14.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.14.0.tgz#62d4cd2079d5c06683e9bfb200c758f292c4dee7" + integrity sha512-sUDeuCjBU+ZF3Lzw0hphTyScmDDJ5QVkyE21pRoBo8iDl7WBtVFS+WDN3blY1CH3SBt7EmYCw6wfmJjF0l/uYg== dependencies: - "@typescript-eslint/scope-manager" "4.13.0" - "@typescript-eslint/types" "4.13.0" - "@typescript-eslint/typescript-estree" "4.13.0" + "@typescript-eslint/scope-manager" "4.14.0" + "@typescript-eslint/types" "4.14.0" + "@typescript-eslint/typescript-estree" "4.14.0" debug "^4.1.1" "@typescript-eslint/scope-manager@4.12.0": @@ -2555,23 +2555,23 @@ "@typescript-eslint/types" "4.12.0" "@typescript-eslint/visitor-keys" "4.12.0" -"@typescript-eslint/scope-manager@4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.13.0.tgz#5b45912a9aa26b29603d8fa28f5e09088b947141" - integrity sha512-UpK7YLG2JlTp/9G4CHe7GxOwd93RBf3aHO5L+pfjIrhtBvZjHKbMhBXTIQNkbz7HZ9XOe++yKrXutYm5KmjWgQ== +"@typescript-eslint/scope-manager@4.14.0": + version "4.14.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.14.0.tgz#55a4743095d684e1f7b7180c4bac2a0a3727f517" + integrity sha512-/J+LlRMdbPh4RdL4hfP1eCwHN5bAhFAGOTsvE6SxsrM/47XQiPSgF5MDgLyp/i9kbZV9Lx80DW0OpPkzL+uf8Q== dependencies: - "@typescript-eslint/types" "4.13.0" - "@typescript-eslint/visitor-keys" "4.13.0" + "@typescript-eslint/types" "4.14.0" + "@typescript-eslint/visitor-keys" "4.14.0" "@typescript-eslint/types@4.12.0": version "4.12.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.12.0.tgz#fb891fe7ccc9ea8b2bbd2780e36da45d0dc055e5" integrity sha512-N2RhGeheVLGtyy+CxRmxdsniB7sMSCfsnbh8K/+RUIXYYq3Ub5+sukRCjVE80QerrUBvuEvs4fDhz5AW/pcL6g== -"@typescript-eslint/types@4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.13.0.tgz#6a7c6015a59a08fbd70daa8c83dfff86250502f8" - integrity sha512-/+aPaq163oX+ObOG00M0t9tKkOgdv9lq0IQv/y4SqGkAXmhFmCfgsELV7kOCTb2vVU5VOmVwXBXJTDr353C1rQ== +"@typescript-eslint/types@4.14.0": + version "4.14.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.14.0.tgz#d8a8202d9b58831d6fd9cee2ba12f8a5a5dd44b6" + integrity sha512-VsQE4VvpldHrTFuVPY1ZnHn/Txw6cZGjL48e+iBxTi2ksa9DmebKjAeFmTVAYoSkTk7gjA7UqJ7pIsyifTsI4A== "@typescript-eslint/typescript-estree@4.12.0": version "4.12.0" @@ -2587,13 +2587,13 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/typescript-estree@4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.13.0.tgz#cf6e2207c7d760f5dfd8d18051428fadfc37b45e" - integrity sha512-9A0/DFZZLlGXn5XA349dWQFwPZxcyYyCFX5X88nWs2uachRDwGeyPz46oTsm9ZJE66EALvEns1lvBwa4d9QxMg== +"@typescript-eslint/typescript-estree@4.14.0": + version "4.14.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.14.0.tgz#4bcd67486e9acafc3d0c982b23a9ab8ac8911ed7" + integrity sha512-wRjZ5qLao+bvS2F7pX4qi2oLcOONIB+ru8RGBieDptq/SudYwshveORwCVU4/yMAd4GK7Fsf8Uq1tjV838erag== dependencies: - "@typescript-eslint/types" "4.13.0" - "@typescript-eslint/visitor-keys" "4.13.0" + "@typescript-eslint/types" "4.14.0" + "@typescript-eslint/visitor-keys" "4.14.0" debug "^4.1.1" globby "^11.0.1" is-glob "^4.0.1" @@ -2609,12 +2609,12 @@ "@typescript-eslint/types" "4.12.0" eslint-visitor-keys "^2.0.0" -"@typescript-eslint/visitor-keys@4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.13.0.tgz#9acb1772d3b3183182b6540d3734143dce9476fe" - integrity sha512-6RoxWK05PAibukE7jElqAtNMq+RWZyqJ6Q/GdIxaiUj2Ept8jh8+FUVlbq9WxMYxkmEOPvCE5cRSyupMpwW31g== +"@typescript-eslint/visitor-keys@4.14.0": + version "4.14.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.14.0.tgz#b1090d9d2955b044b2ea2904a22496849acbdf54" + integrity sha512-MeHHzUyRI50DuiPgV9+LxcM52FCJFYjJiWHtXlbyC27b80mfOwKeiKI+MHOTEpcpfmoPFm/vvQS88bYIx6PZTA== dependencies: - "@typescript-eslint/types" "4.13.0" + "@typescript-eslint/types" "4.14.0" eslint-visitor-keys "^2.0.0" "@webassemblyjs/ast@1.9.0": @@ -2893,6 +2893,16 @@ ajv@^6.1.0, ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.3, ajv@^6.12.4, ajv@^6.12.5: json-schema-traverse "^0.4.1" uri-js "^4.2.2" +ajv@^7.0.2: + version "7.0.3" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-7.0.3.tgz#13ae747eff125cafb230ac504b2406cf371eece2" + integrity sha512-R50QRlXSxqXcQP5SvKUrw8VZeypvo12i2IX0EeR5PiZ7bEKeHWgzgo264LDadUsCU42lTJVhFikTqJwNeH34gQ== + dependencies: + fast-deep-equal "^3.1.1" + json-schema-traverse "^1.0.0" + require-from-string "^2.0.2" + uri-js "^4.2.2" + ansi-align@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-3.0.0.tgz#b536b371cf687caaef236c18d3e21fe3797467cb" @@ -4772,7 +4782,7 @@ debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.9: dependencies: ms "2.0.0" -debug@4, debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.2.0: +debug@4, debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1: version "4.2.0" resolved "https://registry.yarnpkg.com/debug/-/debug-4.2.0.tgz#7f150f93920e94c58f5574c2fd01a3110effe7f1" integrity sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg== @@ -4786,6 +4796,13 @@ debug@^3.0.0: dependencies: ms "^2.1.1" +debug@^4.3.1: + version "4.3.1" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee" + integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ== + dependencies: + ms "2.1.2" + decamelize-keys@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/decamelize-keys/-/decamelize-keys-1.1.0.tgz#d171a87933252807eb3cb61dc1c1445d078df2d9" @@ -5393,10 +5410,10 @@ escodegen@^1.14.1: optionalDependencies: source-map "~0.6.1" -eslint-config-prettier@^7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-7.1.0.tgz#5402eb559aa94b894effd6bddfa0b1ca051c858f" - integrity sha512-9sm5/PxaFG7qNJvJzTROMM1Bk1ozXVTKI0buKOyb0Bsr1hrwi0H/TzxF/COtf1uxikIK8SwhX7K6zg78jAzbeA== +eslint-config-prettier@^7.2.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-7.2.0.tgz#f4a4bd2832e810e8cc7c1411ec85b3e85c0c53f9" + integrity sha512-rV4Qu0C3nfJKPOAhFujFxB7RMP+URFyQqqOZW9DMRD7ZDTFyjaIlETU3xzHELt++4ugC0+Jm084HQYkkJe+Ivg== eslint-config-react-app@^6.0.0: version "6.0.0" @@ -5842,7 +5859,7 @@ fast-glob@^2.0.2, fast-glob@^2.2.6: merge2 "^1.2.3" micromatch "^3.1.10" -fast-glob@^3.1.1, fast-glob@^3.2.4: +fast-glob@^3.1.1: version "3.2.4" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.4.tgz#d20aefbf99579383e7f3cc66529158c9b98554d3" integrity sha512-kr/Oo6PX51265qeuCYsyGypiO5uJFgBS0jksyG7FUeCyQzNwYnzrNIMR1NXfkZXsMYXYLRAHgISHBz8gQcxKHQ== @@ -5854,6 +5871,18 @@ fast-glob@^3.1.1, fast-glob@^3.2.4: micromatch "^4.0.2" picomatch "^2.2.1" +fast-glob@^3.2.5: + version "3.2.5" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.5.tgz#7939af2a656de79a4f1901903ee8adcaa7cb9661" + integrity sha512-2DtFcgT68wiTTiwZ2hNdJfcHNke9XOfnwmBRWXhmeKM8rF0TGwmC/Qto3S7RoZKp5cilZbxzO5iTNTQsJ+EeDg== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.0" + merge2 "^1.3.0" + micromatch "^4.0.2" + picomatch "^2.2.1" + fast-json-parse@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/fast-json-parse/-/fast-json-parse-1.0.3.tgz#43e5c61ee4efa9265633046b770fb682a7577c4d" @@ -6424,6 +6453,18 @@ globby@^11.0.1: merge2 "^1.3.0" slash "^3.0.0" +globby@^11.0.2: + version "11.0.2" + resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.2.tgz#1af538b766a3b540ebfb58a32b2e2d5897321d83" + integrity sha512-2ZThXDvvV8fYFRVIxnrMQBipZQDr7MxKAmQK1vujaj9/7eF0efG7BPUKJ7jP7G5SLF37xKDXvO4S/KKLj/Z0og== + dependencies: + array-union "^2.1.0" + dir-glob "^3.0.1" + fast-glob "^3.1.1" + ignore "^5.1.4" + merge2 "^1.3.0" + slash "^3.0.0" + globby@^9.2.0: version "9.2.0" resolved "https://registry.yarnpkg.com/globby/-/globby-9.2.0.tgz#fd029a706c703d29bdd170f4b6db3a3f7a7cb63d" @@ -7920,6 +7961,11 @@ json-schema-traverse@^0.4.1: resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== +json-schema-traverse@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" + integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== + json-schema@0.2.3: version "0.2.3" resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" @@ -8467,13 +8513,14 @@ memory-fs@^0.5.0: errno "^0.1.3" readable-stream "^2.0.1" -meow@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/meow/-/meow-8.0.0.tgz#1aa10ee61046719e334ffdc038bb5069250ec99a" - integrity sha512-nbsTRz2fwniJBFgUkcdISq8y/q9n9VbiHYbfwklFh5V4V2uAcxtKQkDc0yCLPM/kP0d+inZBewn3zJqewHE7kg== +meow@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/meow/-/meow-9.0.0.tgz#cd9510bc5cac9dee7d03c73ee1f9ad959f4ea364" + integrity sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ== dependencies: "@types/minimist" "^1.2.0" camelcase-keys "^6.2.2" + decamelize "^1.2.0" decamelize-keys "^1.1.0" hard-rejection "^2.1.0" minimist-options "4.1.0" @@ -10422,6 +10469,11 @@ require-directory@^2.1.1: resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= +require-from-string@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" + integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== + require-main-filename@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" @@ -10569,10 +10621,10 @@ rollup-pluginutils@^2.8.1: dependencies: estree-walker "^0.6.1" -rollup@^2.36.2: - version "2.36.2" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.36.2.tgz#883fc793c70c8481ad604f1065cd79ab0a4e9c49" - integrity sha512-qjjiuJKb+/8n0EZyQYVW+gFU4bNRBcZaXVzUgSVrGw0HlQBlK2aWyaOMMs1Ufic1jV69b9kW3u3i9B+hISDm3A== +rollup@^2.37.0: + version "2.37.0" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.37.0.tgz#5baf631dc224a56d7eb88dd11b20aa28c1e8dc6f" + integrity sha512-cbxuxkMGCQV+TnVh+yZSUerbVb5i8soRydbzHYoMNojgt7MMi+jDLLs24U9HHCssKkwkXmsj+LXcOZMldTbz2w== optionalDependencies: fsevents "~2.1.2" @@ -11334,10 +11386,10 @@ stylelint-processor-styled-components@^1.10.0: micromatch "^4.0.2" postcss "^7.0.26" -stylelint@^13.8.0: - version "13.8.0" - resolved "https://registry.yarnpkg.com/stylelint/-/stylelint-13.8.0.tgz#446765dbe25e3617f819a0165956faf2563ddc23" - integrity sha512-iHH3dv3UI23SLDrH4zMQDjLT9/dDIz/IpoFeuNxZmEx86KtfpjDOscxLTFioQyv+2vQjPlRZnK0UoJtfxLICXQ== +stylelint@^13.9.0: + version "13.9.0" + resolved "https://registry.yarnpkg.com/stylelint/-/stylelint-13.9.0.tgz#93921ee6e11d4556b9f31131f485dc813b68e32a" + integrity sha512-VVWH2oixOAxpWL1vH+V42ReCzBjW2AeqskSAbi8+3OjV1Xg3VZkmTcAqBZfRRvJeF4BvYuDLXebW3tIHxgZDEg== dependencies: "@stylelint/postcss-css-in-js" "^0.37.2" "@stylelint/postcss-markdown" "^0.36.2" @@ -11345,14 +11397,14 @@ stylelint@^13.8.0: balanced-match "^1.0.0" chalk "^4.1.0" cosmiconfig "^7.0.0" - debug "^4.2.0" + debug "^4.3.1" execall "^2.0.0" - fast-glob "^3.2.4" + fast-glob "^3.2.5" fastest-levenshtein "^1.0.12" file-entry-cache "^6.0.0" get-stdin "^8.0.0" global-modules "^2.0.0" - globby "^11.0.1" + globby "^11.0.2" globjoin "^0.1.4" html-tags "^3.1.0" ignore "^5.1.8" @@ -11362,7 +11414,7 @@ stylelint@^13.8.0: lodash "^4.17.20" log-symbols "^4.0.0" mathml-tag-names "^2.1.3" - meow "^8.0.0" + meow "^9.0.0" micromatch "^4.0.2" normalize-selector "^0.2.0" postcss "^7.0.35" @@ -11384,7 +11436,7 @@ stylelint@^13.8.0: style-search "^0.1.0" sugarss "^2.0.0" svg-tags "^1.0.0" - table "^6.0.3" + table "^6.0.7" v8-compile-cache "^2.2.0" write-file-atomic "^3.0.3" @@ -11452,22 +11504,22 @@ symbol.prototype.description@^1.0.0: es-abstract "^1.17.0-next.1" has-symbols "^1.0.1" -table@^6.0.3: - version "6.0.3" - resolved "https://registry.yarnpkg.com/table/-/table-6.0.3.tgz#e5b8a834e37e27ad06de2e0fda42b55cfd8a0123" - integrity sha512-8321ZMcf1B9HvVX/btKv8mMZahCjn2aYrDlpqHaBFCfnox64edeH9kEid0vTLTRR8gWR2A20aDgeuTTea4sVtw== +table@^6.0.4: + version "6.0.4" + resolved "https://registry.yarnpkg.com/table/-/table-6.0.4.tgz#c523dd182177e926c723eb20e1b341238188aa0d" + integrity sha512-sBT4xRLdALd+NFBvwOz8bw4b15htyythha+q+DVZqy2RS08PPC8O2sZFgJYEY7bJvbCFKccs+WIZ/cd+xxTWCw== dependencies: ajv "^6.12.4" lodash "^4.17.20" slice-ansi "^4.0.0" string-width "^4.2.0" -table@^6.0.4: - version "6.0.4" - resolved "https://registry.yarnpkg.com/table/-/table-6.0.4.tgz#c523dd182177e926c723eb20e1b341238188aa0d" - integrity sha512-sBT4xRLdALd+NFBvwOz8bw4b15htyythha+q+DVZqy2RS08PPC8O2sZFgJYEY7bJvbCFKccs+WIZ/cd+xxTWCw== +table@^6.0.7: + version "6.0.7" + resolved "https://registry.yarnpkg.com/table/-/table-6.0.7.tgz#e45897ffbcc1bcf9e8a87bf420f2c9e5a7a52a34" + integrity sha512-rxZevLGTUzWna/qBLObOe16kB2RTnnbhciwgPbMMlazz1yZGVEgnZK762xyVdVznhqxrfCeBMmMkgOOaPwjH7g== dependencies: - ajv "^6.12.4" + ajv "^7.0.2" lodash "^4.17.20" slice-ansi "^4.0.0" string-width "^4.2.0"