@patternfly/react-table 5.4.8 → 5.4.10
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 +10 -0
- package/components/package.json +1 -1
- package/deprecated/package.json +1 -1
- package/dist/dynamic/components/Table/package.json +1 -1
- package/dist/dynamic/components/Table/utils/decorators/package.json +1 -1
- package/dist/dynamic/components/Table/utils/package.json +1 -1
- package/dist/dynamic/deprecated/components/Table/base/package.json +1 -1
- package/dist/dynamic/deprecated/components/Table/package.json +1 -1
- package/dist/dynamic/deprecated/components/package.json +1 -1
- package/dist/esm/components/Table/utils/decorators/sortable.js +1 -5
- package/dist/esm/components/Table/utils/decorators/sortable.js.map +1 -1
- package/dist/js/components/Table/utils/decorators/sortable.js +1 -5
- package/dist/js/components/Table/utils/decorators/sortable.js.map +1 -1
- package/dist/umd/assets/{output--fUhih4t.css → output-C2bCKPhr.css} +19106 -19106
- package/dist/umd/react-table.min.js +1 -1
- package/package.json +3 -3
- package/src/components/Table/utils/decorators/sortable.tsx +1 -1
- package/src/deprecated/components/Table/__tests__/__snapshots__/Table.test.tsx.snap +0 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-table",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.10",
|
|
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.
|
|
42
|
+
"@patternfly/react-core": "^5.4.9",
|
|
43
43
|
"@patternfly/react-icons": "^5.4.2",
|
|
44
44
|
"@patternfly/react-styles": "^5.4.1",
|
|
45
45
|
"@patternfly/react-tokens": "^5.4.1",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"react": "^17 || ^18",
|
|
51
51
|
"react-dom": "^17 || ^18"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "9f4b31f42061a72ad67816d5a896a14b005f7c14"
|
|
54
54
|
}
|
|
@@ -52,7 +52,7 @@ export const sortable: ITransform = (
|
|
|
52
52
|
|
|
53
53
|
return {
|
|
54
54
|
className: css(styles.tableSort, isSortedBy && styles.modifiers.selected, className),
|
|
55
|
-
'aria-sort':
|
|
55
|
+
...(isSortedBy && { 'aria-sort': `${sortBy.direction}ending` }),
|
|
56
56
|
children: (
|
|
57
57
|
<SortColumn
|
|
58
58
|
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-v5-c-table__th pf-v5-c-table__sort"
|
|
25
24
|
data-key="0"
|
|
26
25
|
data-label="Header cell"
|
|
@@ -825,7 +824,6 @@ exports[`Table Cell header table 1`] = `
|
|
|
825
824
|
data-ouia-safe="true"
|
|
826
825
|
>
|
|
827
826
|
<th
|
|
828
|
-
aria-sort="none"
|
|
829
827
|
class="pf-v5-c-table__th pf-v5-c-table__sort"
|
|
830
828
|
data-key="0"
|
|
831
829
|
data-label="Header cell"
|
|
@@ -1396,7 +1394,6 @@ exports[`Table Collapsible nested table 1`] = `
|
|
|
1396
1394
|
tabindex="-1"
|
|
1397
1395
|
/>
|
|
1398
1396
|
<th
|
|
1399
|
-
aria-sort="none"
|
|
1400
1397
|
class="pf-v5-c-table__th pf-v5-c-table__sort"
|
|
1401
1398
|
data-key="1"
|
|
1402
1399
|
data-label="Header cell"
|
|
@@ -2148,7 +2145,6 @@ exports[`Table Collapsible table 1`] = `
|
|
|
2148
2145
|
tabindex="-1"
|
|
2149
2146
|
/>
|
|
2150
2147
|
<th
|
|
2151
|
-
aria-sort="none"
|
|
2152
2148
|
class="pf-v5-c-table__th pf-v5-c-table__sort"
|
|
2153
2149
|
data-key="1"
|
|
2154
2150
|
data-label="Header cell"
|
|
@@ -4175,7 +4171,6 @@ exports[`Table Selectable table 1`] = `
|
|
|
4175
4171
|
</label>
|
|
4176
4172
|
</th>
|
|
4177
4173
|
<th
|
|
4178
|
-
aria-sort="none"
|
|
4179
4174
|
class="pf-v5-c-table__th pf-v5-c-table__sort"
|
|
4180
4175
|
data-key="1"
|
|
4181
4176
|
data-label="Header cell"
|
|
@@ -4867,7 +4862,6 @@ exports[`Table Selectable table with Radio 1`] = `
|
|
|
4867
4862
|
tabindex="-1"
|
|
4868
4863
|
/>
|
|
4869
4864
|
<th
|
|
4870
|
-
aria-sort="none"
|
|
4871
4865
|
class="pf-v5-c-table__th pf-v5-c-table__sort"
|
|
4872
4866
|
data-key="1"
|
|
4873
4867
|
data-label="Header cell"
|
|
@@ -5656,7 +5650,6 @@ exports[`Table Simple Actions table 1`] = `
|
|
|
5656
5650
|
data-ouia-safe="true"
|
|
5657
5651
|
>
|
|
5658
5652
|
<th
|
|
5659
|
-
aria-sort="none"
|
|
5660
5653
|
class="pf-v5-c-table__th pf-v5-c-table__sort"
|
|
5661
5654
|
data-key="0"
|
|
5662
5655
|
data-label="Header cell"
|
|
@@ -6539,7 +6532,6 @@ exports[`Table Table variants Breakpoint - 1`] = `
|
|
|
6539
6532
|
data-ouia-safe="true"
|
|
6540
6533
|
>
|
|
6541
6534
|
<th
|
|
6542
|
-
aria-sort="none"
|
|
6543
6535
|
class="pf-v5-c-table__th pf-v5-c-table__sort"
|
|
6544
6536
|
data-key="0"
|
|
6545
6537
|
data-label="Header cell"
|
|
@@ -7068,7 +7060,6 @@ exports[`Table Table variants Breakpoint - grid 1`] = `
|
|
|
7068
7060
|
data-ouia-safe="true"
|
|
7069
7061
|
>
|
|
7070
7062
|
<th
|
|
7071
|
-
aria-sort="none"
|
|
7072
7063
|
class="pf-v5-c-table__th pf-v5-c-table__sort"
|
|
7073
7064
|
data-key="0"
|
|
7074
7065
|
data-label="Header cell"
|
|
@@ -7597,7 +7588,6 @@ exports[`Table Table variants Breakpoint - grid-2xl 1`] = `
|
|
|
7597
7588
|
data-ouia-safe="true"
|
|
7598
7589
|
>
|
|
7599
7590
|
<th
|
|
7600
|
-
aria-sort="none"
|
|
7601
7591
|
class="pf-v5-c-table__th pf-v5-c-table__sort"
|
|
7602
7592
|
data-key="0"
|
|
7603
7593
|
data-label="Header cell"
|
|
@@ -8126,7 +8116,6 @@ exports[`Table Table variants Breakpoint - grid-lg 1`] = `
|
|
|
8126
8116
|
data-ouia-safe="true"
|
|
8127
8117
|
>
|
|
8128
8118
|
<th
|
|
8129
|
-
aria-sort="none"
|
|
8130
8119
|
class="pf-v5-c-table__th pf-v5-c-table__sort"
|
|
8131
8120
|
data-key="0"
|
|
8132
8121
|
data-label="Header cell"
|
|
@@ -8655,7 +8644,6 @@ exports[`Table Table variants Breakpoint - grid-md 1`] = `
|
|
|
8655
8644
|
data-ouia-safe="true"
|
|
8656
8645
|
>
|
|
8657
8646
|
<th
|
|
8658
|
-
aria-sort="none"
|
|
8659
8647
|
class="pf-v5-c-table__th pf-v5-c-table__sort"
|
|
8660
8648
|
data-key="0"
|
|
8661
8649
|
data-label="Header cell"
|
|
@@ -9184,7 +9172,6 @@ exports[`Table Table variants Breakpoint - grid-xl 1`] = `
|
|
|
9184
9172
|
data-ouia-safe="true"
|
|
9185
9173
|
>
|
|
9186
9174
|
<th
|
|
9187
|
-
aria-sort="none"
|
|
9188
9175
|
class="pf-v5-c-table__th pf-v5-c-table__sort"
|
|
9189
9176
|
data-key="0"
|
|
9190
9177
|
data-label="Header cell"
|
|
@@ -9713,7 +9700,6 @@ exports[`Table Table variants Size - compact 1`] = `
|
|
|
9713
9700
|
data-ouia-safe="true"
|
|
9714
9701
|
>
|
|
9715
9702
|
<th
|
|
9716
|
-
aria-sort="none"
|
|
9717
9703
|
class="pf-v5-c-table__th pf-v5-c-table__sort"
|
|
9718
9704
|
data-key="0"
|
|
9719
9705
|
data-label="Header cell"
|
|
@@ -10782,7 +10768,6 @@ exports[`Table simple Row click table 1`] = `
|
|
|
10782
10768
|
data-ouia-safe="true"
|
|
10783
10769
|
>
|
|
10784
10770
|
<th
|
|
10785
|
-
aria-sort="none"
|
|
10786
10771
|
class="pf-v5-c-table__th pf-v5-c-table__sort"
|
|
10787
10772
|
data-key="0"
|
|
10788
10773
|
data-label="Header cell"
|
|
@@ -11311,7 +11296,6 @@ exports[`Table simple Sortable table 1`] = `
|
|
|
11311
11296
|
data-ouia-safe="true"
|
|
11312
11297
|
>
|
|
11313
11298
|
<th
|
|
11314
|
-
aria-sort="none"
|
|
11315
11299
|
class="pf-v5-c-table__th pf-v5-c-table__sort"
|
|
11316
11300
|
data-key="0"
|
|
11317
11301
|
data-label="Header cell"
|