@instructure/ui-table 10.18.2-snapshot-2 → 10.18.2-snapshot-3
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 +1 -1
- package/package.json +17 -17
- package/src/Table/README.md +36 -4
package/CHANGELOG.md
CHANGED
@@ -3,7 +3,7 @@
|
|
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
|
-
## [10.18.2-snapshot-
|
6
|
+
## [10.18.2-snapshot-3](https://github.com/instructure/instructure-ui/compare/v10.18.1...v10.18.2-snapshot-3) (2025-06-03)
|
7
7
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-table
|
9
9
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@instructure/ui-table",
|
3
|
-
"version": "10.18.2-snapshot-
|
3
|
+
"version": "10.18.2-snapshot-3",
|
4
4
|
"description": "A styled HTML table component",
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
6
6
|
"module": "./es/index.js",
|
@@ -23,11 +23,11 @@
|
|
23
23
|
},
|
24
24
|
"license": "MIT",
|
25
25
|
"devDependencies": {
|
26
|
-
"@instructure/ui-axe-check": "10.18.2-snapshot-
|
27
|
-
"@instructure/ui-babel-preset": "10.18.2-snapshot-
|
28
|
-
"@instructure/ui-color-utils": "10.18.2-snapshot-
|
29
|
-
"@instructure/ui-test-utils": "10.18.2-snapshot-
|
30
|
-
"@instructure/ui-themes": "10.18.2-snapshot-
|
26
|
+
"@instructure/ui-axe-check": "10.18.2-snapshot-3",
|
27
|
+
"@instructure/ui-babel-preset": "10.18.2-snapshot-3",
|
28
|
+
"@instructure/ui-color-utils": "10.18.2-snapshot-3",
|
29
|
+
"@instructure/ui-test-utils": "10.18.2-snapshot-3",
|
30
|
+
"@instructure/ui-themes": "10.18.2-snapshot-3",
|
31
31
|
"@testing-library/jest-dom": "^6.6.3",
|
32
32
|
"@testing-library/react": "^16.0.1",
|
33
33
|
"@testing-library/user-event": "^14.5.2",
|
@@ -35,17 +35,17 @@
|
|
35
35
|
},
|
36
36
|
"dependencies": {
|
37
37
|
"@babel/runtime": "^7.26.0",
|
38
|
-
"@instructure/console": "10.18.2-snapshot-
|
39
|
-
"@instructure/emotion": "10.18.2-snapshot-
|
40
|
-
"@instructure/shared-types": "10.18.2-snapshot-
|
41
|
-
"@instructure/ui-a11y-content": "10.18.2-snapshot-
|
42
|
-
"@instructure/ui-icons": "10.18.2-snapshot-
|
43
|
-
"@instructure/ui-prop-types": "10.18.2-snapshot-
|
44
|
-
"@instructure/ui-react-utils": "10.18.2-snapshot-
|
45
|
-
"@instructure/ui-simple-select": "10.18.2-snapshot-
|
46
|
-
"@instructure/ui-testable": "10.18.2-snapshot-
|
47
|
-
"@instructure/ui-utils": "10.18.2-snapshot-
|
48
|
-
"@instructure/ui-view": "10.18.2-snapshot-
|
38
|
+
"@instructure/console": "10.18.2-snapshot-3",
|
39
|
+
"@instructure/emotion": "10.18.2-snapshot-3",
|
40
|
+
"@instructure/shared-types": "10.18.2-snapshot-3",
|
41
|
+
"@instructure/ui-a11y-content": "10.18.2-snapshot-3",
|
42
|
+
"@instructure/ui-icons": "10.18.2-snapshot-3",
|
43
|
+
"@instructure/ui-prop-types": "10.18.2-snapshot-3",
|
44
|
+
"@instructure/ui-react-utils": "10.18.2-snapshot-3",
|
45
|
+
"@instructure/ui-simple-select": "10.18.2-snapshot-3",
|
46
|
+
"@instructure/ui-testable": "10.18.2-snapshot-3",
|
47
|
+
"@instructure/ui-utils": "10.18.2-snapshot-3",
|
48
|
+
"@instructure/ui-view": "10.18.2-snapshot-3",
|
49
49
|
"prop-types": "^15.8.1"
|
50
50
|
},
|
51
51
|
"peerDependencies": {
|
package/src/Table/README.md
CHANGED
@@ -486,7 +486,14 @@ By default, the options in the `Select` for sorting in stacked layout are genera
|
|
486
486
|
sortDirection: id === sortBy ? direction : 'none'
|
487
487
|
})}
|
488
488
|
>
|
489
|
-
{
|
489
|
+
{id === sortBy ? (
|
490
|
+
text
|
491
|
+
) : (
|
492
|
+
<>
|
493
|
+
<span aria-hidden="true">{text}</span>
|
494
|
+
<ScreenReaderContent>sort by {text}</ScreenReaderContent>
|
495
|
+
</>
|
496
|
+
)}
|
490
497
|
</Table.ColHeader>
|
491
498
|
))}
|
492
499
|
</Table.Row>
|
@@ -726,7 +733,14 @@ By default, the options in the `Select` for sorting in stacked layout are genera
|
|
726
733
|
sortDirection: id === sortBy ? direction : 'none'
|
727
734
|
})}
|
728
735
|
>
|
729
|
-
{
|
736
|
+
{id === sortBy ? (
|
737
|
+
text
|
738
|
+
) : (
|
739
|
+
<>
|
740
|
+
<span aria-hidden="true">{text}</span>
|
741
|
+
<ScreenReaderContent>sort by {text}</ScreenReaderContent>
|
742
|
+
</>
|
743
|
+
)}
|
730
744
|
</Table.ColHeader>
|
731
745
|
))}
|
732
746
|
</Table.Row>
|
@@ -980,7 +994,16 @@ that selection does not re-paginate or re-sort the table, and pagination does no
|
|
980
994
|
onRequestSort={onSort}
|
981
995
|
sortDirection={id === sortBy ? direction : 'none'}
|
982
996
|
>
|
983
|
-
{
|
997
|
+
{id === sortBy ? (
|
998
|
+
text
|
999
|
+
) : (
|
1000
|
+
<>
|
1001
|
+
<span aria-hidden="true">{text}</span>
|
1002
|
+
<ScreenReaderContent>
|
1003
|
+
sort by {text}
|
1004
|
+
</ScreenReaderContent>
|
1005
|
+
</>
|
1006
|
+
)}
|
984
1007
|
</Table.ColHeader>
|
985
1008
|
))}
|
986
1009
|
</Table.Row>
|
@@ -1310,7 +1333,16 @@ that selection does not re-paginate or re-sort the table, and pagination does no
|
|
1310
1333
|
onRequestSort={onSort}
|
1311
1334
|
sortDirection={id === sortBy ? direction : 'none'}
|
1312
1335
|
>
|
1313
|
-
{
|
1336
|
+
{id === sortBy ? (
|
1337
|
+
text
|
1338
|
+
) : (
|
1339
|
+
<>
|
1340
|
+
<span aria-hidden="true">{text}</span>
|
1341
|
+
<ScreenReaderContent>
|
1342
|
+
sort by {text}
|
1343
|
+
</ScreenReaderContent>
|
1344
|
+
</>
|
1345
|
+
)}
|
1314
1346
|
</Table.ColHeader>
|
1315
1347
|
))}
|
1316
1348
|
</Table.Row>
|