@instructure/ui-table 8.26.2 → 8.26.4-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 +15 -0
- package/es/Table/ColHeader/index.js +1 -1
- package/lib/Table/ColHeader/index.js +1 -1
- package/package.json +17 -17
- package/src/Table/Cell/props.ts +3 -3
- package/src/Table/ColHeader/index.tsx +1 -1
- package/src/Table/ColHeader/props.ts +1 -1
- package/src/Table/Head/props.ts +2 -1
- package/src/Table/RowHeader/props.ts +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Table/Body/index.d.ts +2 -2
- package/types/Table/Cell/index.d.ts +4 -4
- package/types/Table/Cell/props.d.ts +3 -4
- package/types/Table/Cell/props.d.ts.map +1 -1
- package/types/Table/ColHeader/index.d.ts +3 -3
- package/types/Table/ColHeader/props.d.ts +1 -1
- package/types/Table/ColHeader/props.d.ts.map +1 -1
- package/types/Table/Head/index.d.ts +2 -2
- package/types/Table/Head/props.d.ts +2 -2
- package/types/Table/Head/props.d.ts.map +1 -1
- package/types/Table/Row/index.d.ts +2 -2
- package/types/Table/RowHeader/index.d.ts +2 -2
- package/types/Table/RowHeader/props.d.ts +2 -3
- package/types/Table/RowHeader/props.d.ts.map +1 -1
- package/types/Table/index.d.ts +1 -1
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,21 @@
|
|
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
|
+
## [8.26.4-snapshot-3](https://github.com/instructure/instructure-ui/compare/v8.26.3...v8.26.4-snapshot-3) (2022-07-18)
|
7
|
+
|
8
|
+
|
9
|
+
### Features
|
10
|
+
|
11
|
+
* support React 18 ([0a2bf0c](https://github.com/instructure/instructure-ui/commit/0a2bf0cdd4d8bcec6e42a7ccf28a787e4a35bc40))
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
## [8.26.3](https://github.com/instructure/instructure-ui/compare/v8.26.2...v8.26.3) (2022-07-14)
|
18
|
+
|
19
|
+
**Note:** Version bump only for package @instructure/ui-table
|
20
|
+
|
6
21
|
## [8.26.2](https://github.com/instructure/instructure-ui/compare/v8.26.1...v8.26.2) (2022-07-11)
|
7
22
|
|
8
23
|
**Note:** Version bump only for package @instructure/ui-table
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@instructure/ui-table",
|
3
|
-
"version": "8.26.
|
3
|
+
"version": "8.26.4-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,28 +23,28 @@
|
|
23
23
|
},
|
24
24
|
"license": "MIT",
|
25
25
|
"devDependencies": {
|
26
|
-
"@instructure/ui-babel-preset": "8.26.
|
27
|
-
"@instructure/ui-color-utils": "8.26.
|
28
|
-
"@instructure/ui-test-utils": "8.26.
|
29
|
-
"@instructure/ui-themes": "8.26.
|
26
|
+
"@instructure/ui-babel-preset": "8.26.4-snapshot-3",
|
27
|
+
"@instructure/ui-color-utils": "8.26.4-snapshot-3",
|
28
|
+
"@instructure/ui-test-utils": "8.26.4-snapshot-3",
|
29
|
+
"@instructure/ui-themes": "8.26.4-snapshot-3"
|
30
30
|
},
|
31
31
|
"dependencies": {
|
32
32
|
"@babel/runtime": "^7.13.10",
|
33
|
-
"@instructure/console": "8.26.
|
34
|
-
"@instructure/emotion": "8.26.
|
35
|
-
"@instructure/shared-types": "8.26.
|
36
|
-
"@instructure/ui-a11y-content": "8.26.
|
37
|
-
"@instructure/ui-icons": "8.26.
|
38
|
-
"@instructure/ui-prop-types": "8.26.
|
39
|
-
"@instructure/ui-react-utils": "8.26.
|
40
|
-
"@instructure/ui-simple-select": "8.26.
|
41
|
-
"@instructure/ui-testable": "8.26.
|
42
|
-
"@instructure/ui-utils": "8.26.
|
43
|
-
"@instructure/ui-view": "8.26.
|
33
|
+
"@instructure/console": "8.26.4-snapshot-3",
|
34
|
+
"@instructure/emotion": "8.26.4-snapshot-3",
|
35
|
+
"@instructure/shared-types": "8.26.4-snapshot-3",
|
36
|
+
"@instructure/ui-a11y-content": "8.26.4-snapshot-3",
|
37
|
+
"@instructure/ui-icons": "8.26.4-snapshot-3",
|
38
|
+
"@instructure/ui-prop-types": "8.26.4-snapshot-3",
|
39
|
+
"@instructure/ui-react-utils": "8.26.4-snapshot-3",
|
40
|
+
"@instructure/ui-simple-select": "8.26.4-snapshot-3",
|
41
|
+
"@instructure/ui-testable": "8.26.4-snapshot-3",
|
42
|
+
"@instructure/ui-utils": "8.26.4-snapshot-3",
|
43
|
+
"@instructure/ui-view": "8.26.4-snapshot-3",
|
44
44
|
"prop-types": "^15"
|
45
45
|
},
|
46
46
|
"peerDependencies": {
|
47
|
-
"react": ">=16.8 <=
|
47
|
+
"react": ">=16.8 <=18"
|
48
48
|
},
|
49
49
|
"publishConfig": {
|
50
50
|
"access": "public"
|
package/src/Table/Cell/props.ts
CHANGED
@@ -22,24 +22,24 @@
|
|
22
22
|
* SOFTWARE.
|
23
23
|
*/
|
24
24
|
|
25
|
-
import React from 'react'
|
26
25
|
import PropTypes from 'prop-types'
|
27
26
|
|
28
27
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
|
29
28
|
import type {
|
30
29
|
OtherHTMLAttributes,
|
31
30
|
PropValidators,
|
31
|
+
Renderable,
|
32
32
|
TableCellTheme
|
33
33
|
} from '@instructure/shared-types'
|
34
34
|
|
35
35
|
type TableCellOwnProps = {
|
36
36
|
isStacked?: boolean
|
37
|
-
header?:
|
37
|
+
header?: Renderable
|
38
38
|
/**
|
39
39
|
* Control the text alignment in cell
|
40
40
|
*/
|
41
41
|
textAlign?: 'start' | 'center' | 'end'
|
42
|
-
children?:
|
42
|
+
children?: Renderable
|
43
43
|
}
|
44
44
|
|
45
45
|
type PropKeys = keyof TableCellOwnProps
|
@@ -66,7 +66,7 @@ type TableColHeaderOwnProps = {
|
|
66
66
|
* The column header scope attribute. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-scope
|
67
67
|
*/
|
68
68
|
scope?: 'row' | 'col' | 'rowgroup' | 'colgroup' | 'auto'
|
69
|
-
children?: React.ReactNode
|
69
|
+
children?: React.ReactNode
|
70
70
|
}
|
71
71
|
|
72
72
|
type PropKeys = keyof TableColHeaderOwnProps
|
package/src/Table/Head/props.ts
CHANGED
@@ -32,13 +32,14 @@ import { Row } from '../Row'
|
|
32
32
|
import type {
|
33
33
|
OtherHTMLAttributes,
|
34
34
|
PropValidators,
|
35
|
+
Renderable,
|
35
36
|
TableHeadTheme
|
36
37
|
} from '@instructure/shared-types'
|
37
38
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
|
38
39
|
|
39
40
|
type TableHeadOwnProps = {
|
40
41
|
isStacked?: boolean
|
41
|
-
renderSortLabel?:
|
42
|
+
renderSortLabel?: Renderable
|
42
43
|
/**
|
43
44
|
* `Table.Row`
|
44
45
|
*/
|
@@ -22,12 +22,12 @@
|
|
22
22
|
* SOFTWARE.
|
23
23
|
*/
|
24
24
|
|
25
|
-
import React from 'react'
|
26
25
|
import PropTypes from 'prop-types'
|
27
26
|
|
28
27
|
import type {
|
29
28
|
OtherHTMLAttributes,
|
30
29
|
PropValidators,
|
30
|
+
Renderable,
|
31
31
|
TableRowHeaderTheme
|
32
32
|
} from '@instructure/shared-types'
|
33
33
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
|
@@ -38,7 +38,7 @@ type TableRowHeaderOwnProps = {
|
|
38
38
|
* Control the text alignment in row header
|
39
39
|
*/
|
40
40
|
textAlign?: 'start' | 'center' | 'end'
|
41
|
-
children?:
|
41
|
+
children?: Renderable
|
42
42
|
}
|
43
43
|
|
44
44
|
type PropKeys = keyof TableRowHeaderOwnProps
|