@instructure/ui-table 9.2.1-snapshot-11 → 9.2.1-snapshot-14
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 +16 -16
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Table/Body/index.d.ts +6 -6
- package/types/Table/Cell/index.d.ts +4 -4
- package/types/Table/ColHeader/index.d.ts +14 -14
- package/types/Table/ColHeader/index.d.ts.map +1 -1
- package/types/Table/Head/index.d.ts +2 -2
- package/types/Table/Row/index.d.ts +6 -6
- package/types/Table/RowHeader/index.d.ts +4 -4
- package/types/Table/index.d.ts +8 -8
@@ -11,15 +11,15 @@ id: Table.Body
|
|
11
11
|
declare class Body extends Component<TableBodyProps> {
|
12
12
|
static readonly componentId = "Table.Body";
|
13
13
|
static allowedProps: readonly (keyof {
|
14
|
-
hover?: boolean
|
15
|
-
isStacked?: boolean
|
16
|
-
headers?: import("
|
14
|
+
hover?: boolean;
|
15
|
+
isStacked?: boolean;
|
16
|
+
headers?: import("../..").TableRowProps["headers"];
|
17
17
|
children?: import("react").ReactNode;
|
18
18
|
})[];
|
19
19
|
static propTypes: import("@instructure/shared-types").PropValidators<keyof {
|
20
|
-
hover?: boolean
|
21
|
-
isStacked?: boolean
|
22
|
-
headers?: import("
|
20
|
+
hover?: boolean;
|
21
|
+
isStacked?: boolean;
|
22
|
+
headers?: import("../..").TableRowProps["headers"];
|
23
23
|
children?: import("react").ReactNode;
|
24
24
|
}>;
|
25
25
|
static defaultProps: {
|
@@ -11,15 +11,15 @@ id: Table.Cell
|
|
11
11
|
declare class Cell extends Component<TableCellProps> {
|
12
12
|
static readonly componentId = "Table.Cell";
|
13
13
|
static allowedProps: readonly (keyof {
|
14
|
-
isStacked?: boolean
|
14
|
+
isStacked?: boolean;
|
15
15
|
header?: import("@instructure/shared-types").Renderable;
|
16
|
-
textAlign?: "
|
16
|
+
textAlign?: "start" | "center" | "end";
|
17
17
|
children?: import("@instructure/shared-types").Renderable;
|
18
18
|
})[];
|
19
19
|
static propTypes: import("@instructure/shared-types").PropValidators<keyof {
|
20
|
-
isStacked?: boolean
|
20
|
+
isStacked?: boolean;
|
21
21
|
header?: import("@instructure/shared-types").Renderable;
|
22
|
-
textAlign?: "
|
22
|
+
textAlign?: "start" | "center" | "end";
|
23
23
|
children?: import("@instructure/shared-types").Renderable;
|
24
24
|
}>;
|
25
25
|
static defaultProps: {
|
@@ -12,26 +12,26 @@ declare class ColHeader extends Component<TableColHeaderProps> {
|
|
12
12
|
static readonly componentId = "Table.ColHeader";
|
13
13
|
static allowedProps: readonly (keyof {
|
14
14
|
id: string;
|
15
|
-
stackedSortByLabel?: string
|
16
|
-
width?: string | number
|
17
|
-
textAlign?: "
|
18
|
-
sortDirection?: "none" | "ascending" | "descending"
|
19
|
-
onRequestSort?: (
|
15
|
+
stackedSortByLabel?: string;
|
16
|
+
width?: string | number;
|
17
|
+
textAlign?: "start" | "center" | "end";
|
18
|
+
sortDirection?: "none" | "ascending" | "descending";
|
19
|
+
onRequestSort?: (event: React.SyntheticEvent, param: {
|
20
20
|
id: string;
|
21
|
-
}) => void
|
22
|
-
scope?: "
|
21
|
+
}) => void;
|
22
|
+
scope?: "row" | "col" | "rowgroup" | "colgroup" | "auto";
|
23
23
|
children?: React.ReactNode;
|
24
24
|
})[];
|
25
25
|
static propTypes: import("@instructure/shared-types").PropValidators<keyof {
|
26
26
|
id: string;
|
27
|
-
stackedSortByLabel?: string
|
28
|
-
width?: string | number
|
29
|
-
textAlign?: "
|
30
|
-
sortDirection?: "none" | "ascending" | "descending"
|
31
|
-
onRequestSort?: (
|
27
|
+
stackedSortByLabel?: string;
|
28
|
+
width?: string | number;
|
29
|
+
textAlign?: "start" | "center" | "end";
|
30
|
+
sortDirection?: "none" | "ascending" | "descending";
|
31
|
+
onRequestSort?: (event: React.SyntheticEvent, param: {
|
32
32
|
id: string;
|
33
|
-
}) => void
|
34
|
-
scope?: "
|
33
|
+
}) => void;
|
34
|
+
scope?: "row" | "col" | "rowgroup" | "colgroup" | "auto";
|
35
35
|
children?: React.ReactNode;
|
36
36
|
}>;
|
37
37
|
static defaultProps: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Table/ColHeader/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AASxC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAIrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAGlD;;;;;GAKG;AACH,cACM,SAAU,SAAQ,SAAS,CAAC,mBAAmB,CAAC;IACpD,MAAM,CAAC,QAAQ,CAAC,WAAW,qBAAoB;IAE/C,MAAM,CAAC,YAAY;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,SAAS;;;;;;;;;;;OAAY;IAE5B,MAAM,CAAC,YAAY;;;;;MAKlB;IAED,iBAAiB;IAIjB,kBAAkB;IAIlB,WAAW,UAAW,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Table/ColHeader/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AASxC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAIrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAGlD;;;;;GAKG;AACH,cACM,SAAU,SAAQ,SAAS,CAAC,mBAAmB,CAAC;IACpD,MAAM,CAAC,QAAQ,CAAC,WAAW,qBAAoB;IAE/C,MAAM,CAAC,YAAY;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,SAAS;;;;;;;;;;;OAAY;IAE5B,MAAM,CAAC,YAAY;;;;;MAKlB;IAED,iBAAiB;IAIjB,kBAAkB;IAIlB,WAAW,UAAW,KAAK,CAAC,cAAc,UAIzC;IAED,eAAe;IAef,MAAM;CA2BP;AAED,eAAe,SAAS,CAAA;AACxB,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
@@ -11,12 +11,12 @@ id: Table.Head
|
|
11
11
|
declare class Head extends Component<TableHeadProps> {
|
12
12
|
static readonly componentId = "Table.Head";
|
13
13
|
static allowedProps: readonly (keyof {
|
14
|
-
isStacked?: boolean
|
14
|
+
isStacked?: boolean;
|
15
15
|
renderSortLabel?: import("@instructure/shared-types").Renderable;
|
16
16
|
children?: import("react").ReactNode;
|
17
17
|
})[];
|
18
18
|
static propTypes: import("@instructure/shared-types").PropValidators<keyof {
|
19
|
-
isStacked?: boolean
|
19
|
+
isStacked?: boolean;
|
20
20
|
renderSortLabel?: import("@instructure/shared-types").Renderable;
|
21
21
|
children?: import("react").ReactNode;
|
22
22
|
}>;
|
@@ -11,15 +11,15 @@ id: Table.Row
|
|
11
11
|
declare class Row extends Component<TableRowProps> {
|
12
12
|
static readonly componentId = "Table.Row";
|
13
13
|
static allowedProps: readonly (keyof {
|
14
|
-
hover?: boolean
|
15
|
-
isStacked?: boolean
|
16
|
-
headers?: import("
|
14
|
+
hover?: boolean;
|
15
|
+
isStacked?: boolean;
|
16
|
+
headers?: import("../..").TableCellProps["header"][];
|
17
17
|
children?: import("react").ReactNode;
|
18
18
|
})[];
|
19
19
|
static propTypes: import("@instructure/shared-types").PropValidators<keyof {
|
20
|
-
hover?: boolean
|
21
|
-
isStacked?: boolean
|
22
|
-
headers?: import("
|
20
|
+
hover?: boolean;
|
21
|
+
isStacked?: boolean;
|
22
|
+
headers?: import("../..").TableCellProps["header"][];
|
23
23
|
children?: import("react").ReactNode;
|
24
24
|
}>;
|
25
25
|
static defaultProps: {
|
@@ -11,13 +11,13 @@ id: Table.RowHeader
|
|
11
11
|
declare class RowHeader extends Component<TableRowHeaderProps> {
|
12
12
|
static readonly componentId = "Table.RowHeader";
|
13
13
|
static allowedProps: readonly (keyof {
|
14
|
-
isStacked?: boolean
|
15
|
-
textAlign?: "
|
14
|
+
isStacked?: boolean;
|
15
|
+
textAlign?: "start" | "center" | "end";
|
16
16
|
children?: import("@instructure/shared-types").Renderable;
|
17
17
|
})[];
|
18
18
|
static propTypes: import("@instructure/shared-types").PropValidators<keyof {
|
19
|
-
isStacked?: boolean
|
20
|
-
textAlign?: "
|
19
|
+
isStacked?: boolean;
|
20
|
+
textAlign?: "start" | "center" | "end";
|
21
21
|
children?: import("@instructure/shared-types").Renderable;
|
22
22
|
}>;
|
23
23
|
static defaultProps: {
|
package/types/Table/index.d.ts
CHANGED
@@ -17,18 +17,18 @@ declare class Table extends Component<TableProps> {
|
|
17
17
|
static readonly componentId = "Table";
|
18
18
|
static allowedProps: readonly (keyof {
|
19
19
|
caption?: import("react").ReactNode;
|
20
|
-
margin?: import("@instructure/emotion").Spacing
|
21
|
-
elementRef?: (
|
22
|
-
hover?: boolean
|
23
|
-
layout?: "auto" | "fixed" | "stacked"
|
20
|
+
margin?: import("@instructure/emotion").Spacing;
|
21
|
+
elementRef?: (element: Element | null) => void;
|
22
|
+
hover?: boolean;
|
23
|
+
layout?: "auto" | "fixed" | "stacked";
|
24
24
|
children?: import("react").ReactNode;
|
25
25
|
})[];
|
26
26
|
static propTypes: import("@instructure/shared-types").PropValidators<keyof {
|
27
27
|
caption?: import("react").ReactNode;
|
28
|
-
margin?: import("@instructure/emotion").Spacing
|
29
|
-
elementRef?: (
|
30
|
-
hover?: boolean
|
31
|
-
layout?: "auto" | "fixed" | "stacked"
|
28
|
+
margin?: import("@instructure/emotion").Spacing;
|
29
|
+
elementRef?: (element: Element | null) => void;
|
30
|
+
hover?: boolean;
|
31
|
+
layout?: "auto" | "fixed" | "stacked";
|
32
32
|
children?: import("react").ReactNode;
|
33
33
|
}>;
|
34
34
|
static defaultProps: {
|