@patternfly/react-table 6.0.0-prerelease.15 → 6.0.0-prerelease.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-table",
3
- "version": "6.0.0-prerelease.15",
3
+ "version": "6.0.0-prerelease.16",
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,7 +40,7 @@
40
40
  "subpaths": "node ../../scripts/exportSubpaths.mjs --config subpaths.config.json"
41
41
  },
42
42
  "dependencies": {
43
- "@patternfly/react-core": "^6.0.0-prerelease.14",
43
+ "@patternfly/react-core": "^6.0.0-prerelease.15",
44
44
  "@patternfly/react-icons": "^6.0.0-prerelease.4",
45
45
  "@patternfly/react-styles": "^6.0.0-prerelease.3",
46
46
  "@patternfly/react-tokens": "^6.0.0-prerelease.4",
@@ -51,5 +51,5 @@
51
51
  "react": "^17 || ^18",
52
52
  "react-dom": "^17 || ^18"
53
53
  },
54
- "gitHead": "57be8e17e5a827ffebd77d28c7e8944a21c5ae9e"
54
+ "gitHead": "d29e2351921da25429652d253e22eec26dc64ddf"
55
55
  }
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  import { css } from '@patternfly/react-styles';
3
3
  import styles from '@patternfly/react-styles/css/components/Table/table';
4
4
  import scrollStyles from '@patternfly/react-styles/css/components/Table/table-scrollable';
5
+ import accessibilityStyles from '@patternfly/react-styles/css/utilities/Accessibility/accessibility';
5
6
  import { info, sortable, sortableFavorites, selectable, collapsible, cellWidth, Visibility, classNames } from './utils';
6
7
  import { ThInfoType, ThSelectType, ThExpandType, ThSortType, formatterValueType } from './base/types';
7
8
  import { mergeProps } from './base/merge-props';
@@ -235,7 +236,8 @@ const ThBase: React.FunctionComponent<ThProps> = ({
235
236
  } as React.CSSProperties
236
237
  })}
237
238
  >
238
- {transformedChildren || (screenReaderText && <span className="pf-v5-screen-reader">{screenReaderText}</span>)}
239
+ {transformedChildren ||
240
+ (screenReaderText && <span className={accessibilityStyles.screenReader}>{screenReaderText}</span>)}
239
241
  </MergedComponent>
240
242
  );
241
243
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: Table
3
- cssPrefix: pf-c-table
3
+ cssPrefix: pf-v6-c-table
4
4
  section: components
5
5
  propComponents:
6
6
  [