@patternfly/react-table 6.1.0-prerelease.3 → 6.1.0-prerelease.5
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 +10 -0
- package/components/package.json +1 -1
- package/deprecated/package.json +1 -1
- package/dist/dynamic/components/Table/package.json +1 -1
- package/dist/dynamic/components/Table/utils/decorators/package.json +1 -1
- package/dist/dynamic/components/Table/utils/package.json +1 -1
- package/dist/dynamic/deprecated/components/Table/base/package.json +1 -1
- package/dist/dynamic/deprecated/components/Table/package.json +1 -1
- package/dist/dynamic/deprecated/components/package.json +1 -1
- package/dist/esm/demos/DashboardHeader.d.ts.map +1 -1
- package/dist/esm/demos/DashboardHeader.js +2 -4
- package/dist/esm/demos/DashboardHeader.js.map +1 -1
- package/dist/js/demos/DashboardHeader.d.ts.map +1 -1
- package/dist/js/demos/DashboardHeader.js +2 -4
- package/dist/js/demos/DashboardHeader.js.map +1 -1
- package/dist/umd/assets/{output-BQn7m1TZ.css → output-CFc67MZc.css} +2612 -2612
- package/dist/umd/react-table.min.js +2 -2
- package/package.json +5 -5
- package/src/demos/DashboardHeader.tsx +4 -6
- package/src/demos/examples/TableColumnManagement.tsx +6 -6
- package/src/demos/examples/TableCompoundExpansion.tsx +7 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-table",
|
|
3
|
-
"version": "6.1.0-prerelease.
|
|
3
|
+
"version": "6.1.0-prerelease.5",
|
|
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",
|
|
@@ -40,16 +40,16 @@
|
|
|
40
40
|
"subpaths": "node ../../scripts/exportSubpaths.mjs --config subpaths.config.json"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@patternfly/react-core": "^6.1.0-prerelease.
|
|
44
|
-
"@patternfly/react-icons": "^6.1.0-prerelease.
|
|
43
|
+
"@patternfly/react-core": "^6.1.0-prerelease.5",
|
|
44
|
+
"@patternfly/react-icons": "^6.1.0-prerelease.2",
|
|
45
45
|
"@patternfly/react-styles": "^6.1.0-prerelease.1",
|
|
46
46
|
"@patternfly/react-tokens": "^6.1.0-prerelease.1",
|
|
47
47
|
"lodash": "^4.17.21",
|
|
48
|
-
"tslib": "^2.
|
|
48
|
+
"tslib": "^2.8.1"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"react": "^17 || ^18",
|
|
52
52
|
"react-dom": "^17 || ^18"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "62ed6ddebb30b6436da315e9e41897c1ac7561a8"
|
|
55
55
|
}
|
|
@@ -137,9 +137,8 @@ export const DashboardHeader: React.FC<DashboardHeaderProps> = ({ notificationBa
|
|
|
137
137
|
onClick={onKebabDropdownToggle}
|
|
138
138
|
variant="plain"
|
|
139
139
|
aria-label="Settings and help"
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
</MenuToggle>
|
|
140
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
141
|
+
/>
|
|
143
142
|
)}
|
|
144
143
|
>
|
|
145
144
|
<DropdownList>{kebabDropdownItems}</DropdownList>
|
|
@@ -158,9 +157,8 @@ export const DashboardHeader: React.FC<DashboardHeaderProps> = ({ notificationBa
|
|
|
158
157
|
onClick={onFullKebabToggle}
|
|
159
158
|
variant="plain"
|
|
160
159
|
aria-label="Toolbar menu"
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
</MenuToggle>
|
|
160
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
161
|
+
/>
|
|
164
162
|
)}
|
|
165
163
|
>
|
|
166
164
|
<DropdownGroup key="group 2" aria-label="User actions">
|
|
@@ -402,14 +402,14 @@ export const TableColumnManagement: React.FunctionComponent = () => {
|
|
|
402
402
|
<ToolbarItem variant="overflow-menu">
|
|
403
403
|
<OverflowMenu breakpoint="md">
|
|
404
404
|
<OverflowMenuItem>
|
|
405
|
-
<MenuToggle>
|
|
406
|
-
<FilterIcon /> Name
|
|
407
|
-
</MenuToggle>
|
|
405
|
+
<MenuToggle icon={<FilterIcon />}>Name</MenuToggle>
|
|
408
406
|
</OverflowMenuItem>
|
|
409
407
|
<OverflowMenuItem>
|
|
410
|
-
<MenuToggle
|
|
411
|
-
|
|
412
|
-
|
|
408
|
+
<MenuToggle
|
|
409
|
+
variant="plain"
|
|
410
|
+
aria-label="Sort columns"
|
|
411
|
+
icon={<SortAmountDownIcon aria-hidden="true" />}
|
|
412
|
+
/>
|
|
413
413
|
</OverflowMenuItem>
|
|
414
414
|
<OverflowMenuGroup groupType="button" isPersistent>
|
|
415
415
|
<OverflowMenuItem>
|
|
@@ -91,8 +91,13 @@ export const TableCompoundExpansion: React.FunctionComponent = () => {
|
|
|
91
91
|
id="select-example"
|
|
92
92
|
aria-label="Select Input"
|
|
93
93
|
toggle={(toggleRef: React.Ref<MenuToggleElement>) => (
|
|
94
|
-
<MenuToggle
|
|
95
|
-
|
|
94
|
+
<MenuToggle
|
|
95
|
+
ref={toggleRef}
|
|
96
|
+
onClick={() => setIsSelectOpen(!isSelectOpen)}
|
|
97
|
+
isExpanded={isSelectOpen}
|
|
98
|
+
icon={<FilterIcon />}
|
|
99
|
+
>
|
|
100
|
+
Status
|
|
96
101
|
</MenuToggle>
|
|
97
102
|
)}
|
|
98
103
|
isOpen={isSelectOpen}
|