@instructure/ui-table 11.7.3-snapshot-32 → 11.7.3-snapshot-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/CHANGELOG.md +1 -1
- package/es/Table/v1/Body/index.js +1 -1
- package/es/Table/v1/Cell/index.js +1 -1
- package/es/Table/v1/ColHeader/index.js +1 -1
- package/es/Table/v1/Head/index.js +1 -1
- package/es/Table/v1/Row/index.js +1 -1
- package/es/Table/v1/RowHeader/index.js +1 -1
- package/es/Table/v1/index.js +1 -1
- package/es/Table/v2/Body/index.js +2 -2
- package/es/Table/v2/Cell/index.js +2 -2
- package/es/Table/v2/ColHeader/index.js +2 -2
- package/es/Table/v2/Head/index.js +2 -2
- package/es/Table/v2/Row/index.js +2 -2
- package/es/Table/v2/RowHeader/index.js +2 -2
- package/es/Table/v2/index.js +2 -2
- package/lib/Table/v1/Body/index.js +1 -1
- package/lib/Table/v1/Cell/index.js +1 -1
- package/lib/Table/v1/ColHeader/index.js +1 -1
- package/lib/Table/v1/Head/index.js +1 -1
- package/lib/Table/v1/Row/index.js +1 -1
- package/lib/Table/v1/RowHeader/index.js +1 -1
- package/lib/Table/v1/index.js +1 -1
- package/lib/Table/v2/Body/index.js +1 -1
- package/lib/Table/v2/Cell/index.js +1 -1
- package/lib/Table/v2/ColHeader/index.js +1 -1
- package/lib/Table/v2/Head/index.js +1 -1
- package/lib/Table/v2/Row/index.js +1 -1
- package/lib/Table/v2/RowHeader/index.js +1 -1
- package/lib/Table/v2/index.js +1 -1
- package/package.json +14 -14
- package/src/Table/v1/Body/index.tsx +1 -1
- package/src/Table/v1/Cell/index.tsx +1 -1
- package/src/Table/v1/ColHeader/index.tsx +1 -1
- package/src/Table/v1/Head/index.tsx +1 -1
- package/src/Table/v1/Row/index.tsx +1 -1
- package/src/Table/v1/RowHeader/index.tsx +1 -1
- package/src/Table/v1/index.tsx +1 -1
- package/src/Table/v2/Body/index.tsx +2 -2
- package/src/Table/v2/Cell/index.tsx +2 -2
- package/src/Table/v2/ColHeader/index.tsx +2 -2
- package/src/Table/v2/Head/index.tsx +2 -2
- package/src/Table/v2/Row/index.tsx +2 -2
- package/src/Table/v2/RowHeader/index.tsx +2 -2
- package/src/Table/v2/index.tsx +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
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
|
-
## [11.7.3-snapshot-
|
|
6
|
+
## [11.7.3-snapshot-37](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-37) (2026-05-07)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
|
@@ -26,7 +26,7 @@ var _dec, _class;
|
|
|
26
26
|
import { Component, Children, isValidElement } from 'react';
|
|
27
27
|
import { safeCloneElement, omitProps } from '@instructure/ui-react-utils';
|
|
28
28
|
import { View } from '@instructure/ui-view/v11_6';
|
|
29
|
-
import {
|
|
29
|
+
import { withStyle } from '@instructure/emotion';
|
|
30
30
|
import generateStyle from "./styles.js";
|
|
31
31
|
import generateComponentTheme from "./theme.js";
|
|
32
32
|
import { allowedProps } from "./props.js";
|
|
@@ -26,7 +26,7 @@ var _dec, _class;
|
|
|
26
26
|
import { Component } from 'react';
|
|
27
27
|
import { omitProps, callRenderProp } from '@instructure/ui-react-utils';
|
|
28
28
|
import { View } from '@instructure/ui-view/v11_6';
|
|
29
|
-
import {
|
|
29
|
+
import { withStyle } from '@instructure/emotion';
|
|
30
30
|
import generateStyle from "./styles.js";
|
|
31
31
|
import generateComponentTheme from "./theme.js";
|
|
32
32
|
import { allowedProps } from "./props.js";
|
|
@@ -26,7 +26,7 @@ var _dec, _class;
|
|
|
26
26
|
import { Component } from 'react';
|
|
27
27
|
import { omitProps, callRenderProp } from '@instructure/ui-react-utils';
|
|
28
28
|
import { IconMiniArrowUpLine, IconMiniArrowDownLine, IconMiniArrowDoubleLine } from '@instructure/ui-icons';
|
|
29
|
-
import {
|
|
29
|
+
import { withStyle } from '@instructure/emotion';
|
|
30
30
|
import generateStyle from "./styles.js";
|
|
31
31
|
import generateComponentTheme from "./theme.js";
|
|
32
32
|
import { allowedProps } from "./props.js";
|
|
@@ -29,7 +29,7 @@ import { SimpleSelect } from '@instructure/ui-simple-select/v11_6';
|
|
|
29
29
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
30
30
|
import { IconCheckLine } from '@instructure/ui-icons';
|
|
31
31
|
import { warn } from '@instructure/console';
|
|
32
|
-
import {
|
|
32
|
+
import { withStyle } from '@instructure/emotion';
|
|
33
33
|
import generateStyle from "./styles.js";
|
|
34
34
|
import generateComponentTheme from "./theme.js";
|
|
35
35
|
import { allowedProps } from "./props.js";
|
package/es/Table/v1/Row/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var _dec, _class;
|
|
|
26
26
|
import { Component, Children, isValidElement } from 'react';
|
|
27
27
|
import { omitProps, safeCloneElement } from '@instructure/ui-react-utils';
|
|
28
28
|
import { View } from '@instructure/ui-view/v11_6';
|
|
29
|
-
import {
|
|
29
|
+
import { withStyle } from '@instructure/emotion';
|
|
30
30
|
import generateStyle from "./styles.js";
|
|
31
31
|
import generateComponentTheme from "./theme.js";
|
|
32
32
|
import { allowedProps } from "./props.js";
|
|
@@ -26,7 +26,7 @@ var _dec, _class;
|
|
|
26
26
|
import { Component } from 'react';
|
|
27
27
|
import { omitProps, callRenderProp } from '@instructure/ui-react-utils';
|
|
28
28
|
import { View } from '@instructure/ui-view/v11_6';
|
|
29
|
-
import {
|
|
29
|
+
import { withStyle } from '@instructure/emotion';
|
|
30
30
|
import generateStyle from "./styles.js";
|
|
31
31
|
import generateComponentTheme from "./theme.js";
|
|
32
32
|
import { allowedProps } from "./props.js";
|
package/es/Table/v1/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import { Component, Children, isValidElement } from 'react';
|
|
|
27
27
|
import { safeCloneElement, omitProps } from '@instructure/ui-react-utils';
|
|
28
28
|
import { View } from '@instructure/ui-view/v11_6';
|
|
29
29
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
30
|
-
import {
|
|
30
|
+
import { withStyle } from '@instructure/emotion';
|
|
31
31
|
import generateStyle from "./styles.js";
|
|
32
32
|
import generateComponentTheme from "./theme.js";
|
|
33
33
|
import { Head } from "./Head/index.js";
|
|
@@ -26,7 +26,7 @@ var _dec, _class;
|
|
|
26
26
|
import { Component, Children, isValidElement } from 'react';
|
|
27
27
|
import { safeCloneElement, omitProps } from '@instructure/ui-react-utils';
|
|
28
28
|
import { View } from '@instructure/ui-view/latest';
|
|
29
|
-
import {
|
|
29
|
+
import { withStyleNew } from '@instructure/emotion';
|
|
30
30
|
import generateStyle from "./styles.js";
|
|
31
31
|
import { allowedProps } from "./props.js";
|
|
32
32
|
import TableContext from "../TableContext.js";
|
|
@@ -37,7 +37,7 @@ id: Table.Body
|
|
|
37
37
|
---
|
|
38
38
|
**/
|
|
39
39
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
40
|
-
let Body = (_dec =
|
|
40
|
+
let Body = (_dec = withStyleNew(generateStyle), _dec(_class = class Body extends Component {
|
|
41
41
|
static displayName = "Body";
|
|
42
42
|
static componentId = 'Table.Body';
|
|
43
43
|
static contextType = TableContext;
|
|
@@ -26,7 +26,7 @@ var _dec, _class;
|
|
|
26
26
|
import { Component } from 'react';
|
|
27
27
|
import { omitProps, callRenderProp } from '@instructure/ui-react-utils';
|
|
28
28
|
import { View } from '@instructure/ui-view/latest';
|
|
29
|
-
import {
|
|
29
|
+
import { withStyleNew } from '@instructure/emotion';
|
|
30
30
|
import generateStyle from "./styles.js";
|
|
31
31
|
import { allowedProps } from "./props.js";
|
|
32
32
|
import TableContext from "../TableContext.js";
|
|
@@ -37,7 +37,7 @@ id: Table.Cell
|
|
|
37
37
|
---
|
|
38
38
|
**/
|
|
39
39
|
import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
40
|
-
let Cell = (_dec =
|
|
40
|
+
let Cell = (_dec = withStyleNew(generateStyle), _dec(_class = class Cell extends Component {
|
|
41
41
|
static displayName = "Cell";
|
|
42
42
|
static componentId = 'Table.Cell';
|
|
43
43
|
static contextType = TableContext;
|
|
@@ -25,7 +25,7 @@ var _dec, _class;
|
|
|
25
25
|
|
|
26
26
|
import { Component } from 'react';
|
|
27
27
|
import { omitProps, callRenderProp } from '@instructure/ui-react-utils';
|
|
28
|
-
import {
|
|
28
|
+
import { withStyleNew } from '@instructure/emotion';
|
|
29
29
|
import generateStyle from "./styles.js";
|
|
30
30
|
import { allowedProps } from "./props.js";
|
|
31
31
|
import { ChevronsUpDownInstUIIcon, ChevronUpInstUIIcon, ChevronDownInstUIIcon } from '@instructure/ui-icons';
|
|
@@ -37,7 +37,7 @@ id: Table.ColHeader
|
|
|
37
37
|
---
|
|
38
38
|
**/
|
|
39
39
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
40
|
-
let ColHeader = (_dec =
|
|
40
|
+
let ColHeader = (_dec = withStyleNew(generateStyle), _dec(_class = class ColHeader extends Component {
|
|
41
41
|
static displayName = "ColHeader";
|
|
42
42
|
static componentId = 'Table.ColHeader';
|
|
43
43
|
static allowedProps = allowedProps;
|
|
@@ -29,7 +29,7 @@ import { SimpleSelect } from '@instructure/ui-simple-select/latest';
|
|
|
29
29
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
30
30
|
import { CheckInstUIIcon } from '@instructure/ui-icons';
|
|
31
31
|
import { warn } from '@instructure/console';
|
|
32
|
-
import {
|
|
32
|
+
import { withStyleNew } from '@instructure/emotion';
|
|
33
33
|
import generateStyle from "./styles.js";
|
|
34
34
|
import { allowedProps } from "./props.js";
|
|
35
35
|
import TableContext from "../TableContext.js";
|
|
@@ -40,7 +40,7 @@ id: Table.Head
|
|
|
40
40
|
---
|
|
41
41
|
**/
|
|
42
42
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
43
|
-
let Head = (_dec =
|
|
43
|
+
let Head = (_dec = withStyleNew(generateStyle), _dec(_class = class Head extends Component {
|
|
44
44
|
static displayName = "Head";
|
|
45
45
|
static componentId = 'Table.Head';
|
|
46
46
|
static contextType = TableContext;
|
package/es/Table/v2/Row/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var _dec, _class;
|
|
|
26
26
|
import { Component, Children, isValidElement } from 'react';
|
|
27
27
|
import { omitProps, safeCloneElement } from '@instructure/ui-react-utils';
|
|
28
28
|
import { View } from '@instructure/ui-view/latest';
|
|
29
|
-
import {
|
|
29
|
+
import { withStyleNew } from '@instructure/emotion';
|
|
30
30
|
import generateStyle from "./styles.js";
|
|
31
31
|
import { allowedProps } from "./props.js";
|
|
32
32
|
import TableContext from "../TableContext.js";
|
|
@@ -37,7 +37,7 @@ id: Table.Row
|
|
|
37
37
|
---
|
|
38
38
|
**/
|
|
39
39
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
40
|
-
let Row = (_dec =
|
|
40
|
+
let Row = (_dec = withStyleNew(generateStyle), _dec(_class = class Row extends Component {
|
|
41
41
|
static displayName = "Row";
|
|
42
42
|
static componentId = 'Table.Row';
|
|
43
43
|
static contextType = TableContext;
|
|
@@ -26,7 +26,7 @@ var _dec, _class;
|
|
|
26
26
|
import { Component } from 'react';
|
|
27
27
|
import { omitProps, callRenderProp } from '@instructure/ui-react-utils';
|
|
28
28
|
import { View } from '@instructure/ui-view/latest';
|
|
29
|
-
import {
|
|
29
|
+
import { withStyleNew } from '@instructure/emotion';
|
|
30
30
|
import generateStyle from "./styles.js";
|
|
31
31
|
import { allowedProps } from "./props.js";
|
|
32
32
|
import TableContext from "../TableContext.js";
|
|
@@ -37,7 +37,7 @@ id: Table.RowHeader
|
|
|
37
37
|
---
|
|
38
38
|
**/
|
|
39
39
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
40
|
-
let RowHeader = (_dec =
|
|
40
|
+
let RowHeader = (_dec = withStyleNew(generateStyle), _dec(_class = class RowHeader extends Component {
|
|
41
41
|
static displayName = "RowHeader";
|
|
42
42
|
static componentId = 'Table.RowHeader';
|
|
43
43
|
static contextType = TableContext;
|
package/es/Table/v2/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import { Component, Children, isValidElement } from 'react';
|
|
|
27
27
|
import { safeCloneElement, omitProps } from '@instructure/ui-react-utils';
|
|
28
28
|
import { View } from '@instructure/ui-view/latest';
|
|
29
29
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
30
|
-
import {
|
|
30
|
+
import { withStyleNew } from '@instructure/emotion';
|
|
31
31
|
import generateStyle from "./styles.js";
|
|
32
32
|
import { Head } from "./Head/index.js";
|
|
33
33
|
import { Body } from "./Body/index.js";
|
|
@@ -45,7 +45,7 @@ category: components
|
|
|
45
45
|
---
|
|
46
46
|
**/
|
|
47
47
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
48
|
-
let Table = (_dec =
|
|
48
|
+
let Table = (_dec = withStyleNew(generateStyle), _dec(_class = class Table extends Component {
|
|
49
49
|
static displayName = "Table";
|
|
50
50
|
static componentId = 'Table';
|
|
51
51
|
static allowedProps = allowedProps;
|
|
@@ -45,7 +45,7 @@ parent: Table
|
|
|
45
45
|
id: Table.Body
|
|
46
46
|
---
|
|
47
47
|
**/
|
|
48
|
-
let Body = exports.Body = (_dec = (0, _emotion.
|
|
48
|
+
let Body = exports.Body = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class Body extends _react.Component {
|
|
49
49
|
static displayName = "Body";
|
|
50
50
|
static componentId = 'Table.Body';
|
|
51
51
|
static contextType = _TableContext.default;
|
|
@@ -45,7 +45,7 @@ parent: Table
|
|
|
45
45
|
id: Table.Cell
|
|
46
46
|
---
|
|
47
47
|
**/
|
|
48
|
-
let Cell = exports.Cell = (_dec = (0, _emotion.
|
|
48
|
+
let Cell = exports.Cell = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class Cell extends _react.Component {
|
|
49
49
|
static displayName = "Cell";
|
|
50
50
|
static componentId = 'Table.Cell';
|
|
51
51
|
static contextType = _TableContext.default;
|
|
@@ -46,7 +46,7 @@ parent: Table
|
|
|
46
46
|
id: Table.ColHeader
|
|
47
47
|
---
|
|
48
48
|
**/
|
|
49
|
-
let ColHeader = exports.ColHeader = (_dec = (0, _emotion.
|
|
49
|
+
let ColHeader = exports.ColHeader = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class ColHeader extends _react.Component {
|
|
50
50
|
static displayName = "ColHeader";
|
|
51
51
|
static componentId = 'Table.ColHeader';
|
|
52
52
|
static allowedProps = _props.allowedProps;
|
|
@@ -48,7 +48,7 @@ parent: Table
|
|
|
48
48
|
id: Table.Head
|
|
49
49
|
---
|
|
50
50
|
**/
|
|
51
|
-
let Head = exports.Head = (_dec = (0, _emotion.
|
|
51
|
+
let Head = exports.Head = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class Head extends _react.Component {
|
|
52
52
|
static displayName = "Head";
|
|
53
53
|
static componentId = 'Table.Head';
|
|
54
54
|
static contextType = _TableContext.default;
|
|
@@ -45,7 +45,7 @@ parent: Table
|
|
|
45
45
|
id: Table.Row
|
|
46
46
|
---
|
|
47
47
|
**/
|
|
48
|
-
let Row = exports.Row = (_dec = (0, _emotion.
|
|
48
|
+
let Row = exports.Row = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class Row extends _react.Component {
|
|
49
49
|
static displayName = "Row";
|
|
50
50
|
static componentId = 'Table.Row';
|
|
51
51
|
static contextType = _TableContext.default;
|
|
@@ -45,7 +45,7 @@ parent: Table
|
|
|
45
45
|
id: Table.RowHeader
|
|
46
46
|
---
|
|
47
47
|
**/
|
|
48
|
-
let RowHeader = exports.RowHeader = (_dec = (0, _emotion.
|
|
48
|
+
let RowHeader = exports.RowHeader = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class RowHeader extends _react.Component {
|
|
49
49
|
static displayName = "RowHeader";
|
|
50
50
|
static componentId = 'Table.RowHeader';
|
|
51
51
|
static contextType = _TableContext.default;
|
package/lib/Table/v1/index.js
CHANGED
|
@@ -52,7 +52,7 @@ var _dec, _class;
|
|
|
52
52
|
category: components
|
|
53
53
|
---
|
|
54
54
|
**/
|
|
55
|
-
let Table = exports.Table = (_dec = (0, _emotion.
|
|
55
|
+
let Table = exports.Table = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class Table extends _react.Component {
|
|
56
56
|
static displayName = "Table";
|
|
57
57
|
static componentId = 'Table';
|
|
58
58
|
static allowedProps = _props.allowedProps;
|
|
@@ -44,7 +44,7 @@ parent: Table
|
|
|
44
44
|
id: Table.Body
|
|
45
45
|
---
|
|
46
46
|
**/
|
|
47
|
-
let Body = exports.Body = (_dec = (0, _emotion.
|
|
47
|
+
let Body = exports.Body = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class Body extends _react.Component {
|
|
48
48
|
static displayName = "Body";
|
|
49
49
|
static componentId = 'Table.Body';
|
|
50
50
|
static contextType = _TableContext.default;
|
|
@@ -44,7 +44,7 @@ parent: Table
|
|
|
44
44
|
id: Table.Cell
|
|
45
45
|
---
|
|
46
46
|
**/
|
|
47
|
-
let Cell = exports.Cell = (_dec = (0, _emotion.
|
|
47
|
+
let Cell = exports.Cell = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class Cell extends _react.Component {
|
|
48
48
|
static displayName = "Cell";
|
|
49
49
|
static componentId = 'Table.Cell';
|
|
50
50
|
static contextType = _TableContext.default;
|
|
@@ -43,7 +43,7 @@ parent: Table
|
|
|
43
43
|
id: Table.ColHeader
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
|
-
let ColHeader = exports.ColHeader = (_dec = (0, _emotion.
|
|
46
|
+
let ColHeader = exports.ColHeader = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class ColHeader extends _react.Component {
|
|
47
47
|
static displayName = "ColHeader";
|
|
48
48
|
static componentId = 'Table.ColHeader';
|
|
49
49
|
static allowedProps = _props.allowedProps;
|
|
@@ -47,7 +47,7 @@ parent: Table
|
|
|
47
47
|
id: Table.Head
|
|
48
48
|
---
|
|
49
49
|
**/
|
|
50
|
-
let Head = exports.Head = (_dec = (0, _emotion.
|
|
50
|
+
let Head = exports.Head = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class Head extends _react.Component {
|
|
51
51
|
static displayName = "Head";
|
|
52
52
|
static componentId = 'Table.Head';
|
|
53
53
|
static contextType = _TableContext.default;
|
|
@@ -44,7 +44,7 @@ parent: Table
|
|
|
44
44
|
id: Table.Row
|
|
45
45
|
---
|
|
46
46
|
**/
|
|
47
|
-
let Row = exports.Row = (_dec = (0, _emotion.
|
|
47
|
+
let Row = exports.Row = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class Row extends _react.Component {
|
|
48
48
|
static displayName = "Row";
|
|
49
49
|
static componentId = 'Table.Row';
|
|
50
50
|
static contextType = _TableContext.default;
|
|
@@ -44,7 +44,7 @@ parent: Table
|
|
|
44
44
|
id: Table.RowHeader
|
|
45
45
|
---
|
|
46
46
|
**/
|
|
47
|
-
let RowHeader = exports.RowHeader = (_dec = (0, _emotion.
|
|
47
|
+
let RowHeader = exports.RowHeader = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class RowHeader extends _react.Component {
|
|
48
48
|
static displayName = "RowHeader";
|
|
49
49
|
static componentId = 'Table.RowHeader';
|
|
50
50
|
static contextType = _TableContext.default;
|
package/lib/Table/v2/index.js
CHANGED
|
@@ -51,7 +51,7 @@ var _dec, _class;
|
|
|
51
51
|
category: components
|
|
52
52
|
---
|
|
53
53
|
**/
|
|
54
|
-
let Table = exports.Table = (_dec = (0, _emotion.
|
|
54
|
+
let Table = exports.Table = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class Table extends _react.Component {
|
|
55
55
|
static displayName = "Table";
|
|
56
56
|
static componentId = 'Table';
|
|
57
57
|
static allowedProps = _props.allowedProps;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-table",
|
|
3
|
-
"version": "11.7.3-snapshot-
|
|
3
|
+
"version": "11.7.3-snapshot-37",
|
|
4
4
|
"description": "A styled HTML table component",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -15,25 +15,25 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.2",
|
|
18
|
-
"@instructure/console": "11.7.3-snapshot-
|
|
19
|
-
"@instructure/emotion": "11.7.3-snapshot-
|
|
20
|
-
"@instructure/shared-types": "11.7.3-snapshot-
|
|
21
|
-
"@instructure/ui-
|
|
22
|
-
"@instructure/ui-
|
|
23
|
-
"@instructure/ui-react-utils": "11.7.3-snapshot-
|
|
24
|
-
"@instructure/ui-simple-select": "11.7.3-snapshot-
|
|
25
|
-
"@instructure/ui-
|
|
26
|
-
"@instructure/ui-utils": "11.7.3-snapshot-
|
|
27
|
-
"@instructure/ui-
|
|
18
|
+
"@instructure/console": "11.7.3-snapshot-37",
|
|
19
|
+
"@instructure/emotion": "11.7.3-snapshot-37",
|
|
20
|
+
"@instructure/shared-types": "11.7.3-snapshot-37",
|
|
21
|
+
"@instructure/ui-icons": "11.7.3-snapshot-37",
|
|
22
|
+
"@instructure/ui-a11y-content": "11.7.3-snapshot-37",
|
|
23
|
+
"@instructure/ui-react-utils": "11.7.3-snapshot-37",
|
|
24
|
+
"@instructure/ui-simple-select": "11.7.3-snapshot-37",
|
|
25
|
+
"@instructure/ui-themes": "11.7.3-snapshot-37",
|
|
26
|
+
"@instructure/ui-utils": "11.7.3-snapshot-37",
|
|
27
|
+
"@instructure/ui-view": "11.7.3-snapshot-37"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@testing-library/jest-dom": "^6.6.3",
|
|
31
31
|
"@testing-library/react": "15.0.7",
|
|
32
32
|
"@testing-library/user-event": "^14.6.1",
|
|
33
33
|
"vitest": "^3.2.2",
|
|
34
|
-
"@instructure/ui-
|
|
35
|
-
"@instructure/ui-
|
|
36
|
-
"@instructure/ui-color-utils": "11.7.3-snapshot-
|
|
34
|
+
"@instructure/ui-babel-preset": "11.7.3-snapshot-37",
|
|
35
|
+
"@instructure/ui-axe-check": "11.7.3-snapshot-37",
|
|
36
|
+
"@instructure/ui-color-utils": "11.7.3-snapshot-37"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": ">=18 <=19"
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
|
|
33
33
|
import { safeCloneElement, omitProps } from '@instructure/ui-react-utils'
|
|
34
34
|
import { View } from '@instructure/ui-view/v11_6'
|
|
35
|
-
import {
|
|
35
|
+
import { withStyle } from '@instructure/emotion'
|
|
36
36
|
|
|
37
37
|
import generateStyle from './styles'
|
|
38
38
|
import generateComponentTheme from './theme'
|
|
@@ -27,7 +27,7 @@ import { Component, ContextType } from 'react'
|
|
|
27
27
|
import { omitProps, callRenderProp } from '@instructure/ui-react-utils'
|
|
28
28
|
import { View } from '@instructure/ui-view/v11_6'
|
|
29
29
|
|
|
30
|
-
import {
|
|
30
|
+
import { withStyle } from '@instructure/emotion'
|
|
31
31
|
|
|
32
32
|
import generateStyle from './styles'
|
|
33
33
|
import generateComponentTheme from './theme'
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
IconMiniArrowDoubleLine
|
|
32
32
|
} from '@instructure/ui-icons'
|
|
33
33
|
|
|
34
|
-
import {
|
|
34
|
+
import { withStyle } from '@instructure/emotion'
|
|
35
35
|
|
|
36
36
|
import generateStyle from './styles'
|
|
37
37
|
import generateComponentTheme from './theme'
|
|
@@ -31,7 +31,7 @@ import { ScreenReaderContent } from '@instructure/ui-a11y-content'
|
|
|
31
31
|
import { IconCheckLine } from '@instructure/ui-icons'
|
|
32
32
|
import { warn } from '@instructure/console'
|
|
33
33
|
|
|
34
|
-
import {
|
|
34
|
+
import { withStyle } from '@instructure/emotion'
|
|
35
35
|
|
|
36
36
|
import generateStyle from './styles'
|
|
37
37
|
import generateComponentTheme from './theme'
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
import { omitProps, safeCloneElement } from '@instructure/ui-react-utils'
|
|
34
34
|
import { View } from '@instructure/ui-view/v11_6'
|
|
35
35
|
|
|
36
|
-
import {
|
|
36
|
+
import { withStyle } from '@instructure/emotion'
|
|
37
37
|
|
|
38
38
|
import generateStyle from './styles'
|
|
39
39
|
import generateComponentTheme from './theme'
|
|
@@ -27,7 +27,7 @@ import { Component, ContextType } from 'react'
|
|
|
27
27
|
import { omitProps, callRenderProp } from '@instructure/ui-react-utils'
|
|
28
28
|
import { View } from '@instructure/ui-view/v11_6'
|
|
29
29
|
|
|
30
|
-
import {
|
|
30
|
+
import { withStyle } from '@instructure/emotion'
|
|
31
31
|
|
|
32
32
|
import generateStyle from './styles'
|
|
33
33
|
import generateComponentTheme from './theme'
|
package/src/Table/v1/index.tsx
CHANGED
|
@@ -28,7 +28,7 @@ import { safeCloneElement, omitProps } from '@instructure/ui-react-utils'
|
|
|
28
28
|
import { View } from '@instructure/ui-view/v11_6'
|
|
29
29
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content'
|
|
30
30
|
|
|
31
|
-
import {
|
|
31
|
+
import { withStyle } from '@instructure/emotion'
|
|
32
32
|
|
|
33
33
|
import generateStyle from './styles'
|
|
34
34
|
import generateComponentTheme from './theme'
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
|
|
33
33
|
import { safeCloneElement, omitProps } from '@instructure/ui-react-utils'
|
|
34
34
|
import { View } from '@instructure/ui-view/latest'
|
|
35
|
-
import {
|
|
35
|
+
import { withStyleNew } from '@instructure/emotion'
|
|
36
36
|
|
|
37
37
|
import generateStyle from './styles'
|
|
38
38
|
import type { TableBodyProps } from './props'
|
|
@@ -45,7 +45,7 @@ parent: Table
|
|
|
45
45
|
id: Table.Body
|
|
46
46
|
---
|
|
47
47
|
**/
|
|
48
|
-
@
|
|
48
|
+
@withStyleNew(generateStyle)
|
|
49
49
|
class Body extends Component<TableBodyProps> {
|
|
50
50
|
static readonly componentId = 'Table.Body'
|
|
51
51
|
static contextType = TableContext
|
|
@@ -27,7 +27,7 @@ import { Component, ContextType } from 'react'
|
|
|
27
27
|
import { omitProps, callRenderProp } from '@instructure/ui-react-utils'
|
|
28
28
|
import { View } from '@instructure/ui-view/latest'
|
|
29
29
|
|
|
30
|
-
import {
|
|
30
|
+
import { withStyleNew } from '@instructure/emotion'
|
|
31
31
|
|
|
32
32
|
import generateStyle from './styles'
|
|
33
33
|
import type { TableCellProps } from './props'
|
|
@@ -40,7 +40,7 @@ parent: Table
|
|
|
40
40
|
id: Table.Cell
|
|
41
41
|
---
|
|
42
42
|
**/
|
|
43
|
-
@
|
|
43
|
+
@withStyleNew(generateStyle)
|
|
44
44
|
class Cell extends Component<TableCellProps> {
|
|
45
45
|
static readonly componentId = 'Table.Cell'
|
|
46
46
|
static contextType = TableContext
|
|
@@ -26,7 +26,7 @@ import { Component } from 'react'
|
|
|
26
26
|
|
|
27
27
|
import { omitProps, callRenderProp } from '@instructure/ui-react-utils'
|
|
28
28
|
|
|
29
|
-
import {
|
|
29
|
+
import { withStyleNew } from '@instructure/emotion'
|
|
30
30
|
|
|
31
31
|
import generateStyle from './styles'
|
|
32
32
|
import type { TableColHeaderProps } from './props'
|
|
@@ -43,7 +43,7 @@ parent: Table
|
|
|
43
43
|
id: Table.ColHeader
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
|
-
@
|
|
46
|
+
@withStyleNew(generateStyle)
|
|
47
47
|
class ColHeader extends Component<TableColHeaderProps> {
|
|
48
48
|
static readonly componentId = 'Table.ColHeader'
|
|
49
49
|
|
|
@@ -31,7 +31,7 @@ import { ScreenReaderContent } from '@instructure/ui-a11y-content'
|
|
|
31
31
|
import { CheckInstUIIcon } from '@instructure/ui-icons'
|
|
32
32
|
import { warn } from '@instructure/console'
|
|
33
33
|
|
|
34
|
-
import {
|
|
34
|
+
import { withStyleNew } from '@instructure/emotion'
|
|
35
35
|
|
|
36
36
|
import generateStyle from './styles'
|
|
37
37
|
|
|
@@ -47,7 +47,7 @@ parent: Table
|
|
|
47
47
|
id: Table.Head
|
|
48
48
|
---
|
|
49
49
|
**/
|
|
50
|
-
@
|
|
50
|
+
@withStyleNew(generateStyle)
|
|
51
51
|
class Head extends Component<TableHeadProps> {
|
|
52
52
|
static readonly componentId = 'Table.Head'
|
|
53
53
|
static contextType = TableContext
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
import { omitProps, safeCloneElement } from '@instructure/ui-react-utils'
|
|
34
34
|
import { View } from '@instructure/ui-view/latest'
|
|
35
35
|
|
|
36
|
-
import {
|
|
36
|
+
import { withStyleNew } from '@instructure/emotion'
|
|
37
37
|
|
|
38
38
|
import generateStyle from './styles'
|
|
39
39
|
|
|
@@ -47,7 +47,7 @@ parent: Table
|
|
|
47
47
|
id: Table.Row
|
|
48
48
|
---
|
|
49
49
|
**/
|
|
50
|
-
@
|
|
50
|
+
@withStyleNew(generateStyle)
|
|
51
51
|
class Row extends Component<TableRowProps> {
|
|
52
52
|
static readonly componentId = 'Table.Row'
|
|
53
53
|
static contextType = TableContext
|
|
@@ -27,7 +27,7 @@ import { Component, ContextType } from 'react'
|
|
|
27
27
|
import { omitProps, callRenderProp } from '@instructure/ui-react-utils'
|
|
28
28
|
import { View } from '@instructure/ui-view/latest'
|
|
29
29
|
|
|
30
|
-
import {
|
|
30
|
+
import { withStyleNew } from '@instructure/emotion'
|
|
31
31
|
|
|
32
32
|
import generateStyle from './styles'
|
|
33
33
|
import type { TableRowHeaderProps } from './props'
|
|
@@ -40,7 +40,7 @@ parent: Table
|
|
|
40
40
|
id: Table.RowHeader
|
|
41
41
|
---
|
|
42
42
|
**/
|
|
43
|
-
@
|
|
43
|
+
@withStyleNew(generateStyle)
|
|
44
44
|
class RowHeader extends Component<TableRowHeaderProps> {
|
|
45
45
|
static readonly componentId = 'Table.RowHeader'
|
|
46
46
|
static contextType = TableContext
|
package/src/Table/v2/index.tsx
CHANGED
|
@@ -28,7 +28,7 @@ import { safeCloneElement, omitProps } from '@instructure/ui-react-utils'
|
|
|
28
28
|
import { View } from '@instructure/ui-view/latest'
|
|
29
29
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content'
|
|
30
30
|
|
|
31
|
-
import {
|
|
31
|
+
import { withStyleNew } from '@instructure/emotion'
|
|
32
32
|
|
|
33
33
|
import generateStyle from './styles'
|
|
34
34
|
|
|
@@ -50,7 +50,7 @@ import { error } from '@instructure/console'
|
|
|
50
50
|
category: components
|
|
51
51
|
---
|
|
52
52
|
**/
|
|
53
|
-
@
|
|
53
|
+
@withStyleNew(generateStyle)
|
|
54
54
|
class Table extends Component<TableProps> {
|
|
55
55
|
static readonly componentId = 'Table'
|
|
56
56
|
|