@patternfly/react-table 6.5.0-prerelease.7 → 6.5.0-prerelease.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-table",
3
- "version": "6.5.0-prerelease.7",
3
+ "version": "6.5.0-prerelease.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",
@@ -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.5.0-prerelease.7",
43
+ "@patternfly/react-core": "^6.5.0-prerelease.8",
44
44
  "@patternfly/react-icons": "^6.5.0-prerelease.3",
45
45
  "@patternfly/react-styles": "^6.5.0-prerelease.3",
46
46
  "@patternfly/react-tokens": "^6.5.0-prerelease.3",
@@ -51,5 +51,5 @@
51
51
  "react": "^17 || ^18 || ^19",
52
52
  "react-dom": "^17 || ^18 || ^19"
53
53
  },
54
- "gitHead": "d09b3a3cb11d10807ada3c9fbde44254818f2fa2"
54
+ "gitHead": "a88ecfa753389be67ee88657914fc030440838f3"
55
55
  }
@@ -150,3 +150,9 @@ test('Renders expandable toggle button in Th with pf-m-small class when variant
150
150
  expect(button).toHaveClass('pf-m-small');
151
151
  });
152
152
  });
153
+
154
+ test(`Renders with class ${styles.modifiers.plain} when isPlain is true`, () => {
155
+ render(<Table isPlain aria-label="Test table" />);
156
+
157
+ expect(screen.getByRole('grid', { name: 'Test table' })).toHaveClass(styles.modifiers.plain);
158
+ });