@patternfly/react-table 5.4.0-prerelease.35 → 5.4.0-prerelease.37

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": "5.4.0-prerelease.35",
3
+ "version": "5.4.0-prerelease.37",
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",
@@ -39,7 +39,7 @@
39
39
  "subpaths": "node ../../scripts/exportSubpaths.js --config subpaths.config.json"
40
40
  },
41
41
  "dependencies": {
42
- "@patternfly/react-core": "^5.4.0-prerelease.32",
42
+ "@patternfly/react-core": "^5.4.0-prerelease.33",
43
43
  "@patternfly/react-icons": "^5.4.0-prerelease.10",
44
44
  "@patternfly/react-styles": "^5.4.0-prerelease.11",
45
45
  "@patternfly/react-tokens": "^5.4.0-prerelease.10",
@@ -50,5 +50,5 @@
50
50
  "react": "^17 || ^18",
51
51
  "react-dom": "^17 || ^18"
52
52
  },
53
- "gitHead": "c28c94c1fab61a16d9db7073fea5029567ce6687"
53
+ "gitHead": "a76ba5e9fb844ccb4105f0382f2334bb5ceff80f"
54
54
  }
@@ -312,7 +312,7 @@ describe('Transformer functions', () => {
312
312
  });
313
313
 
314
314
  test('emptyCol', () => {
315
- expect(emptyCol('')).toEqual({ scope: '' });
315
+ expect(emptyCol('')).toEqual({ scope: null });
316
316
  expect(emptyCol('some')).toEqual({});
317
317
  });
318
318
 
@@ -9,7 +9,7 @@ export const scopeColTransformer: ITransform = () => ({
9
9
  });
10
10
 
11
11
  export const emptyCol: ITransform = (label: IFormatterValueType) => ({
12
- ...(label ? {} : { scope: '' })
12
+ ...(label ? {} : { scope: null })
13
13
  });
14
14
 
15
15
  export const parentId: ITransform = (_value: IFormatterValueType, { rowData }: IExtra) => ({
@@ -1393,7 +1393,6 @@ exports[`Table Collapsible nested table 1`] = `
1393
1393
  class="pf-v5-c-table__th"
1394
1394
  data-key="0"
1395
1395
  data-label=""
1396
- scope=""
1397
1396
  tabindex="-1"
1398
1397
  />
1399
1398
  <th
@@ -2146,7 +2145,6 @@ exports[`Table Collapsible table 1`] = `
2146
2145
  class="pf-v5-c-table__th"
2147
2146
  data-key="0"
2148
2147
  data-label=""
2149
- scope=""
2150
2148
  tabindex="-1"
2151
2149
  />
2152
2150
  <th
@@ -4166,7 +4164,6 @@ exports[`Table Selectable table 1`] = `
4166
4164
  class="pf-v5-c-table__th pf-v5-c-table__check"
4167
4165
  data-key="0"
4168
4166
  data-label=""
4169
- scope=""
4170
4167
  tabindex="-1"
4171
4168
  >
4172
4169
  <label>
@@ -4867,7 +4864,6 @@ exports[`Table Selectable table with Radio 1`] = `
4867
4864
  class="pf-v5-c-table__th"
4868
4865
  data-key="0"
4869
4866
  data-label=""
4870
- scope=""
4871
4867
  tabindex="-1"
4872
4868
  />
4873
4869
  <th
@@ -5560,7 +5556,6 @@ exports[`Table Selectable table with selected expandable row 1`] = `
5560
5556
  class="pf-v5-c-table__th pf-v5-c-table__check"
5561
5557
  data-key="0"
5562
5558
  data-label=""
5563
- scope=""
5564
5559
  tabindex="-1"
5565
5560
  >
5566
5561
  <label>
@@ -10291,7 +10286,6 @@ exports[`Table simple Editable table 1`] = `
10291
10286
  class="pf-v5-c-table__th"
10292
10287
  data-key="4"
10293
10288
  data-label=""
10294
- scope=""
10295
10289
  tabindex="-1"
10296
10290
  />
10297
10291
  </tr>