@patternfly/react-table 4.77.5 → 4.77.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist/umd/react-table.css +1204 -1199
- package/dist/umd/react-table.min.css +6 -1
- package/package.json +6 -6
- package/src/demos/Table.md +37 -28
|
@@ -16120,6 +16120,10 @@ ul.pf-c-list {
|
|
|
16120
16120
|
--pf-c-menu--m-nav__list-item--first-child--c-menu--Top: 0;
|
|
16121
16121
|
}
|
|
16122
16122
|
|
|
16123
|
+
.pf-c-menu .pf-c-menu__content {
|
|
16124
|
+
overflow: visible hidden;
|
|
16125
|
+
}
|
|
16126
|
+
|
|
16123
16127
|
.pf-c-menu .pf-c-menu__content .pf-c-menu .pf-c-menu__content {
|
|
16124
16128
|
overflow: visible;
|
|
16125
16129
|
}
|
|
@@ -16178,7 +16182,6 @@ ul.pf-c-list {
|
|
|
16178
16182
|
left: 100%;
|
|
16179
16183
|
width: 100%;
|
|
16180
16184
|
transition: var(--pf-c-menu--m-drilldown--c-menu--Transition);
|
|
16181
|
-
transition: 2s;
|
|
16182
16185
|
}
|
|
16183
16186
|
|
|
16184
16187
|
.pf-c-menu.pf-m-drilldown > .pf-c-menu__content .pf-c-menu.pf-m-drilled-in {
|
|
@@ -22562,6 +22565,7 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
22562
22565
|
--pf-c-tabs__link--PaddingRight: var(--pf-global--spacer--md);
|
|
22563
22566
|
--pf-c-tabs__link--PaddingBottom: var(--pf-global--spacer--sm);
|
|
22564
22567
|
--pf-c-tabs__link--PaddingLeft: var(--pf-global--spacer--md);
|
|
22568
|
+
--pf-c-tabs__link--disabled--Color: var(--pf-global--disabled-color--100);
|
|
22565
22569
|
--pf-c-tabs__link--disabled--BackgroundColor: var(--pf-global--palette--black-150);
|
|
22566
22570
|
--pf-c-tabs__item--m-current__link--Color: var(--pf-global--Color--100);
|
|
22567
22571
|
--pf-c-tabs__item--m-current__link--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
@@ -23136,6 +23140,7 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
23136
23140
|
}
|
|
23137
23141
|
|
|
23138
23142
|
.pf-c-tabs__item.pf-m-action.pf-m-disabled, .pf-c-tabs__link:disabled, .pf-c-tabs__link.pf-m-disabled, .pf-c-tabs__link.pf-m-aria-disabled {
|
|
23143
|
+
--pf-c-tabs__link--Color: var(--pf-c-tabs__link--disabled--Color);
|
|
23139
23144
|
--pf-c-tabs__link--BackgroundColor: var(--pf-c-tabs__link--disabled--BackgroundColor);
|
|
23140
23145
|
--pf-c-tabs__link--before--BorderRightWidth: var(--pf-c-tabs__link--disabled--before--BorderRightWidth);
|
|
23141
23146
|
--pf-c-tabs__link--before--BorderBottomWidth: var(--pf-c-tabs__link--disabled--before--BorderBottomWidth);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-table",
|
|
3
|
-
"version": "4.77.
|
|
3
|
+
"version": "4.77.8",
|
|
4
4
|
"description": "This library provides a set of React table components for use with the PatternFly 4",
|
|
5
5
|
"main": "dist/js/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"clean": "rimraf dist"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@patternfly/react-core": "^4.208.
|
|
35
|
-
"@patternfly/react-icons": "^4.59.
|
|
36
|
-
"@patternfly/react-styles": "^4.58.
|
|
37
|
-
"@patternfly/react-tokens": "^4.60.
|
|
34
|
+
"@patternfly/react-core": "^4.208.8",
|
|
35
|
+
"@patternfly/react-icons": "^4.59.8",
|
|
36
|
+
"@patternfly/react-styles": "^4.58.8",
|
|
37
|
+
"@patternfly/react-tokens": "^4.60.8",
|
|
38
38
|
"lodash": "^4.17.19",
|
|
39
39
|
"tslib": "^2.0.0"
|
|
40
40
|
},
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"react": "^16.8.0 || ^17.0.0",
|
|
47
47
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "db75c034e799613d84db755cc300a19806b70dba"
|
|
50
50
|
}
|
package/src/demos/Table.md
CHANGED
|
@@ -3,7 +3,7 @@ id: Table
|
|
|
3
3
|
section: components
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
import { Checkbox, ToolbarExpandIconWrapper, ToolbarContent } from '@patternfly/react-core';
|
|
6
|
+
import { Checkbox, PageSection, ToolbarExpandIconWrapper, ToolbarContent } from '@patternfly/react-core';
|
|
7
7
|
import CodeIcon from '@patternfly/react-icons/dist/esm/icons/code-icon';
|
|
8
8
|
import CodeBranchIcon from '@patternfly/react-icons/dist/esm/icons/code-branch-icon';
|
|
9
9
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
@@ -21,10 +21,11 @@ import AngleDownIcon from '@patternfly/react-icons/dist/esm/icons/angle-down-ico
|
|
|
21
21
|
import AngleRightIcon from '@patternfly/react-icons/dist/esm/icons/angle-right-icon';
|
|
22
22
|
import BarsIcon from '@patternfly/react-icons/dist/esm/icons/bars-icon';
|
|
23
23
|
import AttentionBellIcon from '@patternfly/react-icons/dist/esm/icons/attention-bell-icon';
|
|
24
|
+
import DashboardWrapper from '@patternfly/react-core/src/demos/examples/DashboardWrapper';
|
|
24
25
|
|
|
25
26
|
### Bulk select
|
|
26
27
|
|
|
27
|
-
```js
|
|
28
|
+
```js isFullscreen
|
|
28
29
|
import React from 'react';
|
|
29
30
|
import {
|
|
30
31
|
Dropdown,
|
|
@@ -32,13 +33,16 @@ import {
|
|
|
32
33
|
DropdownPosition,
|
|
33
34
|
DropdownToggle,
|
|
34
35
|
DropdownToggleCheckbox,
|
|
36
|
+
PageSection,
|
|
35
37
|
Pagination,
|
|
36
38
|
Title,
|
|
37
39
|
Toolbar,
|
|
40
|
+
ToolbarContent,
|
|
38
41
|
ToolbarGroup,
|
|
39
42
|
ToolbarItem
|
|
40
43
|
} from '@patternfly/react-core';
|
|
41
44
|
import { Table, TableHeader, TableBody } from '@patternfly/react-table';
|
|
45
|
+
import DashboardWrapper from '@patternfly/react-core/src/demos/examples/DashboardWrapper';
|
|
42
46
|
|
|
43
47
|
class BulkSelectTableDemo extends React.Component {
|
|
44
48
|
constructor(props) {
|
|
@@ -218,10 +222,12 @@ class BulkSelectTableDemo extends React.Component {
|
|
|
218
222
|
return (
|
|
219
223
|
<React.Fragment>
|
|
220
224
|
<Toolbar>
|
|
221
|
-
<
|
|
222
|
-
<
|
|
225
|
+
<ToolbarContent>
|
|
226
|
+
<ToolbarGroup>
|
|
227
|
+
<ToolbarItem variant="bulk-select">{this.buildSelectDropdown()}</ToolbarItem>
|
|
228
|
+
</ToolbarGroup>
|
|
223
229
|
<ToolbarItem variant="pagination">{this.renderPagination('top')}</ToolbarItem>
|
|
224
|
-
</
|
|
230
|
+
</ToolbarContent>
|
|
225
231
|
</Toolbar>
|
|
226
232
|
</React.Fragment>
|
|
227
233
|
);
|
|
@@ -235,29 +241,32 @@ class BulkSelectTableDemo extends React.Component {
|
|
|
235
241
|
}));
|
|
236
242
|
|
|
237
243
|
return (
|
|
238
|
-
<
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
244
|
+
<DashboardWrapper hasPageTemplateTitle>
|
|
245
|
+
<PageSection isWidthLimited>
|
|
246
|
+
{this.renderToolbar()}
|
|
247
|
+
{!loading && (
|
|
248
|
+
<Table
|
|
249
|
+
aria-label="Bulk Select Table Demo"
|
|
250
|
+
cells={['Title', 'Body']}
|
|
251
|
+
rows={rows}
|
|
252
|
+
onSelect={this.onSelect}
|
|
253
|
+
canSelectAll={false}
|
|
254
|
+
>
|
|
255
|
+
<TableHeader />
|
|
256
|
+
<TableBody />
|
|
257
|
+
</Table>
|
|
258
|
+
)}
|
|
259
|
+
|
|
260
|
+
{loading && (
|
|
261
|
+
<div className="pf-l-bullseye">
|
|
262
|
+
<Title headingLevel="h2" size="3xl">
|
|
263
|
+
Please wait while loading data
|
|
264
|
+
</Title>
|
|
265
|
+
</div>
|
|
266
|
+
)}
|
|
267
|
+
{this.renderPagination('bottom')}
|
|
268
|
+
</PageSection>
|
|
269
|
+
</DashboardWrapper>
|
|
261
270
|
);
|
|
262
271
|
}
|
|
263
272
|
}
|