@patternfly/react-table 6.1.0-prerelease.8 → 6.1.0
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 +38 -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/DashboardWrapper.d.ts.map +1 -1
- package/dist/esm/demos/DashboardWrapper.js +8 -1
- package/dist/esm/demos/DashboardWrapper.js.map +1 -1
- package/dist/js/demos/DashboardWrapper.d.ts.map +1 -1
- package/dist/js/demos/DashboardWrapper.js +8 -1
- package/dist/js/demos/DashboardWrapper.js.map +1 -1
- package/dist/umd/assets/{output-CjZKikef.css → output-CgSNqxUl.css} +16027 -15974
- package/dist/umd/react-table.min.js +3 -3
- package/package.json +6 -6
- package/src/demos/DashboardWrapper.tsx +10 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-table",
|
|
3
|
-
"version": "6.1.0
|
|
3
|
+
"version": "6.1.0",
|
|
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,10 +40,10 @@
|
|
|
40
40
|
"subpaths": "node ../../scripts/exportSubpaths.mjs --config subpaths.config.json"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@patternfly/react-core": "^6.1.0
|
|
44
|
-
"@patternfly/react-icons": "^6.1.0
|
|
45
|
-
"@patternfly/react-styles": "^6.1.0
|
|
46
|
-
"@patternfly/react-tokens": "^6.1.0
|
|
43
|
+
"@patternfly/react-core": "^6.1.0",
|
|
44
|
+
"@patternfly/react-icons": "^6.1.0",
|
|
45
|
+
"@patternfly/react-styles": "^6.1.0",
|
|
46
|
+
"@patternfly/react-tokens": "^6.1.0",
|
|
47
47
|
"lodash": "^4.17.21",
|
|
48
48
|
"tslib": "^2.8.1"
|
|
49
49
|
},
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"react": "^17 || ^18",
|
|
52
52
|
"react-dom": "^17 || ^18"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "fc70165f6d07de6a24f6943c826c1432ea6d44cf"
|
|
55
55
|
}
|
|
@@ -168,8 +168,17 @@ export const DashboardWrapper: React.FC<DashboardWrapperProps> = ({
|
|
|
168
168
|
</PageSidebar>
|
|
169
169
|
);
|
|
170
170
|
|
|
171
|
+
const handleClick = (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => {
|
|
172
|
+
event.preventDefault();
|
|
173
|
+
|
|
174
|
+
const mainContentElement = document.getElementById(mainContainerId ?? 'main-content-page-layout-default-nav');
|
|
175
|
+
if (mainContentElement) {
|
|
176
|
+
mainContentElement.focus();
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
|
|
171
180
|
const PageSkipToContent = (
|
|
172
|
-
<SkipToContent href={`#${mainContainerId ?? 'main-content-page-layout-default-nav'}`}>
|
|
181
|
+
<SkipToContent onClick={handleClick} href={`#${mainContainerId ?? 'main-content-page-layout-default-nav'}`}>
|
|
173
182
|
Skip to content
|
|
174
183
|
</SkipToContent>
|
|
175
184
|
);
|