@instructure/ui-table 9.2.1-snapshot-10 → 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.
@@ -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 | undefined;
15
- isStacked?: boolean | undefined;
16
- headers?: import("@instructure/shared-types").Renderable[] | undefined;
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 | undefined;
21
- isStacked?: boolean | undefined;
22
- headers?: import("@instructure/shared-types").Renderable[] | undefined;
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 | undefined;
14
+ isStacked?: boolean;
15
15
  header?: import("@instructure/shared-types").Renderable;
16
- textAlign?: "center" | "start" | "end" | undefined;
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 | undefined;
20
+ isStacked?: boolean;
21
21
  header?: import("@instructure/shared-types").Renderable;
22
- textAlign?: "center" | "start" | "end" | undefined;
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 | undefined;
16
- width?: string | number | undefined;
17
- textAlign?: "center" | "start" | "end" | undefined;
18
- sortDirection?: "none" | "ascending" | "descending" | undefined;
19
- onRequestSort?: ((event: React.SyntheticEvent<Element, Event>, param: {
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) | undefined;
22
- scope?: "col" | "colgroup" | "row" | "rowgroup" | "auto" | undefined;
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 | undefined;
28
- width?: string | number | undefined;
29
- textAlign?: "center" | "start" | "end" | undefined;
30
- sortDirection?: "none" | "ascending" | "descending" | undefined;
31
- onRequestSort?: ((event: React.SyntheticEvent<Element, Event>, param: {
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) | undefined;
34
- scope?: "col" | "colgroup" | "row" | "rowgroup" | "auto" | undefined;
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,MAAM,cAAc,UAIzC;IAED,eAAe;IAef,MAAM;CA2BP;AAED,eAAe,SAAS,CAAA;AACxB,OAAO,EAAE,SAAS,EAAE,CAAA"}
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 | undefined;
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 | undefined;
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 | undefined;
15
- isStacked?: boolean | undefined;
16
- headers?: import("@instructure/shared-types").Renderable[] | undefined;
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 | undefined;
21
- isStacked?: boolean | undefined;
22
- headers?: import("@instructure/shared-types").Renderable[] | undefined;
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 | undefined;
15
- textAlign?: "center" | "start" | "end" | undefined;
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 | undefined;
20
- textAlign?: "center" | "start" | "end" | undefined;
19
+ isStacked?: boolean;
20
+ textAlign?: "start" | "center" | "end";
21
21
  children?: import("@instructure/shared-types").Renderable;
22
22
  }>;
23
23
  static defaultProps: {
@@ -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 | undefined;
21
- elementRef?: ((element: Element | null) => void) | undefined;
22
- hover?: boolean | undefined;
23
- layout?: "auto" | "fixed" | "stacked" | undefined;
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 | undefined;
29
- elementRef?: ((element: Element | null) => void) | undefined;
30
- hover?: boolean | undefined;
31
- layout?: "auto" | "fixed" | "stacked" | undefined;
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: {