@patternfly/react-table 6.0.0 → 6.1.0-prerelease.1

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",
3
+ "version": "6.1.0-prerelease.1",
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.0.0",
44
- "@patternfly/react-icons": "^6.0.0",
45
- "@patternfly/react-styles": "^6.0.0",
46
- "@patternfly/react-tokens": "^6.0.0",
43
+ "@patternfly/react-core": "^6.1.0-prerelease.1",
44
+ "@patternfly/react-icons": "^6.1.0-prerelease.0",
45
+ "@patternfly/react-styles": "^6.1.0-prerelease.0",
46
+ "@patternfly/react-tokens": "^6.1.0-prerelease.0",
47
47
  "lodash": "^4.17.21",
48
48
  "tslib": "^2.7.0"
49
49
  },
@@ -51,5 +51,5 @@
51
51
  "react": "^17 || ^18",
52
52
  "react-dom": "^17 || ^18"
53
53
  },
54
- "gitHead": "69e205707d0228544b9b45467832e11d7a46ab45"
54
+ "gitHead": "07cc495ab53d6d3a0c10ccdd36d20b92ce800cb7"
55
55
  }
@@ -53,7 +53,7 @@ export const sortable: ITransform = (
53
53
 
54
54
  return {
55
55
  className: css(styles.tableSort, isSortedBy && styles.modifiers.selected, className),
56
- 'aria-sort': isSortedBy ? `${sortBy.direction}ending` : 'none',
56
+ ...(isSortedBy && { 'aria-sort': `${sortBy.direction}ending` }),
57
57
  children: (
58
58
  <SortColumn
59
59
  isSortedBy={isSortedBy}
@@ -20,7 +20,6 @@ exports[`Table Actions table 1`] = `
20
20
  data-ouia-safe="true"
21
21
  >
22
22
  <th
23
- aria-sort="none"
24
23
  class="pf-v6-c-table__th pf-v6-c-table__sort"
25
24
  data-key="0"
26
25
  data-label="Header cell"
@@ -861,7 +860,6 @@ exports[`Table Cell header table 1`] = `
861
860
  data-ouia-safe="true"
862
861
  >
863
862
  <th
864
- aria-sort="none"
865
863
  class="pf-v6-c-table__th pf-v6-c-table__sort"
866
864
  data-key="0"
867
865
  data-label="Header cell"
@@ -1433,7 +1431,6 @@ exports[`Table Collapsible nested table 1`] = `
1433
1431
  tabindex="-1"
1434
1432
  />
1435
1433
  <th
1436
- aria-sort="none"
1437
1434
  class="pf-v6-c-table__th pf-v6-c-table__sort"
1438
1435
  data-key="1"
1439
1436
  data-label="Header cell"
@@ -2198,7 +2195,6 @@ exports[`Table Collapsible table 1`] = `
2198
2195
  tabindex="-1"
2199
2196
  />
2200
2197
  <th
2201
- aria-sort="none"
2202
2198
  class="pf-v6-c-table__th pf-v6-c-table__sort"
2203
2199
  data-key="1"
2204
2200
  data-label="Header cell"
@@ -4234,7 +4230,6 @@ exports[`Table Selectable table 1`] = `
4234
4230
  </label>
4235
4231
  </th>
4236
4232
  <th
4237
- aria-sort="none"
4238
4233
  class="pf-v6-c-table__th pf-v6-c-table__sort"
4239
4234
  data-key="1"
4240
4235
  data-label="Header cell"
@@ -4927,7 +4922,6 @@ exports[`Table Selectable table with Radio 1`] = `
4927
4922
  tabindex="-1"
4928
4923
  />
4929
4924
  <th
4930
- aria-sort="none"
4931
4925
  class="pf-v6-c-table__th pf-v6-c-table__sort"
4932
4926
  data-key="1"
4933
4927
  data-label="Header cell"
@@ -5717,7 +5711,6 @@ exports[`Table Simple Actions table 1`] = `
5717
5711
  data-ouia-safe="true"
5718
5712
  >
5719
5713
  <th
5720
- aria-sort="none"
5721
5714
  class="pf-v6-c-table__th pf-v6-c-table__sort"
5722
5715
  data-key="0"
5723
5716
  data-label="Header cell"
@@ -6640,7 +6633,6 @@ exports[`Table Table variants Breakpoint - 1`] = `
6640
6633
  data-ouia-safe="true"
6641
6634
  >
6642
6635
  <th
6643
- aria-sort="none"
6644
6636
  class="pf-v6-c-table__th pf-v6-c-table__sort"
6645
6637
  data-key="0"
6646
6638
  data-label="Header cell"
@@ -7169,7 +7161,6 @@ exports[`Table Table variants Breakpoint - grid 1`] = `
7169
7161
  data-ouia-safe="true"
7170
7162
  >
7171
7163
  <th
7172
- aria-sort="none"
7173
7164
  class="pf-v6-c-table__th pf-v6-c-table__sort"
7174
7165
  data-key="0"
7175
7166
  data-label="Header cell"
@@ -7698,7 +7689,6 @@ exports[`Table Table variants Breakpoint - grid-2xl 1`] = `
7698
7689
  data-ouia-safe="true"
7699
7690
  >
7700
7691
  <th
7701
- aria-sort="none"
7702
7692
  class="pf-v6-c-table__th pf-v6-c-table__sort"
7703
7693
  data-key="0"
7704
7694
  data-label="Header cell"
@@ -8227,7 +8217,6 @@ exports[`Table Table variants Breakpoint - grid-lg 1`] = `
8227
8217
  data-ouia-safe="true"
8228
8218
  >
8229
8219
  <th
8230
- aria-sort="none"
8231
8220
  class="pf-v6-c-table__th pf-v6-c-table__sort"
8232
8221
  data-key="0"
8233
8222
  data-label="Header cell"
@@ -8756,7 +8745,6 @@ exports[`Table Table variants Breakpoint - grid-md 1`] = `
8756
8745
  data-ouia-safe="true"
8757
8746
  >
8758
8747
  <th
8759
- aria-sort="none"
8760
8748
  class="pf-v6-c-table__th pf-v6-c-table__sort"
8761
8749
  data-key="0"
8762
8750
  data-label="Header cell"
@@ -9285,7 +9273,6 @@ exports[`Table Table variants Breakpoint - grid-xl 1`] = `
9285
9273
  data-ouia-safe="true"
9286
9274
  >
9287
9275
  <th
9288
- aria-sort="none"
9289
9276
  class="pf-v6-c-table__th pf-v6-c-table__sort"
9290
9277
  data-key="0"
9291
9278
  data-label="Header cell"
@@ -9814,7 +9801,6 @@ exports[`Table Table variants Size - compact 1`] = `
9814
9801
  data-ouia-safe="true"
9815
9802
  >
9816
9803
  <th
9817
- aria-sort="none"
9818
9804
  class="pf-v6-c-table__th pf-v6-c-table__sort"
9819
9805
  data-key="0"
9820
9806
  data-label="Header cell"
@@ -10908,7 +10894,6 @@ exports[`Table simple Row click table 1`] = `
10908
10894
  data-ouia-safe="true"
10909
10895
  >
10910
10896
  <th
10911
- aria-sort="none"
10912
10897
  class="pf-v6-c-table__th pf-v6-c-table__sort"
10913
10898
  data-key="0"
10914
10899
  data-label="Header cell"
@@ -11437,7 +11422,6 @@ exports[`Table simple Sortable table 1`] = `
11437
11422
  data-ouia-safe="true"
11438
11423
  >
11439
11424
  <th
11440
- aria-sort="none"
11441
11425
  class="pf-v6-c-table__th pf-v6-c-table__sort"
11442
11426
  data-key="0"
11443
11427
  data-label="Header cell"