@patternfly/react-table 4.112.5 → 4.112.6

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 CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.112.6](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@4.112.5...@patternfly/react-table@4.112.6) (2022-12-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Remove package exports and replace subpaths script ([#8438](https://github.com/patternfly/patternfly-react/issues/8438)) ([75bea27](https://github.com/patternfly/patternfly-react/commit/75bea2790cffcfe2ffc9ca46d82748e3e85674fc))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [4.112.5](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@4.112.4...@patternfly/react-table@4.112.5) (2022-12-09)
7
18
 
8
19
  **Note:** Version bump only for package @patternfly/react-table
@@ -18169,6 +18169,16 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
18169
18169
  --pf-c-modal-box--BackgroundColor: var(--pf-global--BackgroundColor--300);
18170
18170
  }
18171
18171
 
18172
+ .pf-l-bullseye {
18173
+ --pf-l-bullseye--Padding: 0;
18174
+ display: flex;
18175
+ align-items: center;
18176
+ justify-content: center;
18177
+ height: 100%;
18178
+ padding: var(--pf-l-bullseye--Padding);
18179
+ margin: 0;
18180
+ }
18181
+
18172
18182
  .pf-c-multiple-file-upload {
18173
18183
  --pf-c-multiple-file-upload--GridTemplateColumns: 1fr;
18174
18184
  --pf-c-multiple-file-upload--Gap: var(--pf-global--spacer--lg);
@@ -19406,16 +19416,6 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
19406
19416
  --pf-c-nav__item--item__link--after--Top: 0;
19407
19417
  }
19408
19418
 
19409
- .pf-l-bullseye {
19410
- --pf-l-bullseye--Padding: 0;
19411
- display: flex;
19412
- align-items: center;
19413
- justify-content: center;
19414
- height: 100%;
19415
- padding: var(--pf-l-bullseye--Padding);
19416
- margin: 0;
19417
- }
19418
-
19419
19419
  .pf-c-notification-badge {
19420
19420
  --pf-c-notification-badge--PaddingTop: var(--pf-global--spacer--form-element);
19421
19421
  --pf-c-notification-badge--PaddingRight: var(--pf-global--spacer--md);
package/package.json CHANGED
@@ -1,15 +1,10 @@
1
1
  {
2
2
  "name": "@patternfly/react-table",
3
- "version": "4.112.5",
3
+ "version": "4.112.6",
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",
7
7
  "types": "dist/esm/index.d.ts",
8
- "exports": {
9
- ".": "./dist/esm/index.js",
10
- "./deprecated": "./dist/esm/deprecated/index.js",
11
- "./package.json": "./package.json"
12
- },
13
8
  "typesVersions": {
14
9
  "*": {
15
10
  "deprecated": [
@@ -40,10 +35,11 @@
40
35
  "homepage": "https://github.com/patternfly/patternfly-react/tree/main/packages/react-table#readme",
41
36
  "scripts": {
42
37
  "build:umd": "rollup -c --environment IS_PRODUCTION",
43
- "clean": "rimraf dist"
38
+ "clean": "rimraf dist",
39
+ "subpaths": "node scripts/copySubpaths.js"
44
40
  },
45
41
  "dependencies": {
46
- "@patternfly/react-core": "^4.267.5",
42
+ "@patternfly/react-core": "^4.267.6",
47
43
  "@patternfly/react-icons": "^4.93.3",
48
44
  "@patternfly/react-styles": "^4.92.3",
49
45
  "@patternfly/react-tokens": "^4.94.3",
@@ -58,5 +54,5 @@
58
54
  "react": "^16.8 || ^17 || ^18",
59
55
  "react-dom": "^16.8 || ^17 || ^18"
60
56
  },
61
- "gitHead": "caf893d71966a0eabcde909a29d9a872367d9897"
57
+ "gitHead": "eef7e620edc645d26d254d648dadb0e719d0a151"
62
58
  }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Copy subpath modules into the package root directory for ease of access.
3
+ */
4
+ const { copySync } = require('fs-extra');
5
+ const { resolve, dirname } = require('path');
6
+
7
+ ['deprecated', 'components'].forEach(subPathName => {
8
+ const source = dirname(require.resolve(`@patternfly/react-table/dist/esm/${subPathName}`));
9
+ const destination = resolve(__dirname, `../${subPathName}`);
10
+
11
+ copySync(source, destination);
12
+ });