@instructure/ui-grid 10.16.1-snapshot-0 → 10.16.1

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.
@@ -1,9 +1,7 @@
1
- /** @jsx jsx */
2
- import React, { Component } from 'react';
1
+ import { ComponentElement, Component } from 'react';
3
2
  import { GridRow } from '../GridRow';
4
3
  import type { GridRowProps } from '../GridRow/props';
5
4
  import { GridCol } from '../GridCol';
6
- import { jsx } from '@instructure/emotion';
7
5
  import type { GridProps } from './props';
8
6
  /**
9
7
  ---
@@ -13,13 +11,7 @@ category: components
13
11
  declare class Grid extends Component<GridProps> {
14
12
  static readonly componentId = "Grid";
15
13
  static propTypes: import("@instructure/shared-types").PropValidators<keyof {
16
- children?:
17
- /**
18
- ---
19
- category: components
20
- ---
21
- **/
22
- React.ReactNode;
14
+ children?: React.ReactNode;
23
15
  colSpacing?: "none" | "small" | "medium" | "large";
24
16
  rowSpacing?: "none" | "small" | "medium" | "large";
25
17
  hAlign?: "start" | "center" | "end" | "space-around" | "space-between";
@@ -28,13 +20,7 @@ declare class Grid extends Component<GridProps> {
28
20
  visualDebug?: boolean;
29
21
  }>;
30
22
  static allowedProps: readonly (keyof {
31
- children?:
32
- /**
33
- ---
34
- category: components
35
- ---
36
- **/
37
- React.ReactNode;
23
+ children?: React.ReactNode;
38
24
  colSpacing?: "none" | "small" | "medium" | "large";
39
25
  rowSpacing?: "none" | "small" | "medium" | "large";
40
26
  hAlign?: "start" | "center" | "end" | "space-around" | "space-between";
@@ -57,8 +43,8 @@ declare class Grid extends Component<GridProps> {
57
43
  handleRef: (el: Element | null) => void;
58
44
  componentDidMount(): void;
59
45
  componentDidUpdate(): void;
60
- renderChildren(): (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ComponentElement<GridRowProps, GridRow>)[];
61
- render(): jsx.JSX.Element;
46
+ renderChildren(): (string | number | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | ComponentElement<GridRowProps, GridRow>)[];
47
+ render(): import("@emotion/react/jsx-runtime").JSX.Element;
62
48
  }
63
49
  export default Grid;
64
50
  export { Grid, GridRow, GridCol };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Grid/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,KAAK,EAAE,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AASlD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAMrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC;;;;GAIG;AACH,cACM,IAAK,SAAQ,SAAS,CAAC,SAAS,CAAC;IACrC,MAAM,CAAC,QAAQ,CAAC,WAAW,UAAS;IAEpC,MAAM,CAAC,SAAS;;QATlB;;;;WAIG;QACH,MAJC,SACK;;;;;;;OAOwB;IAC5B,MAAM,CAAC,YAAY;;QAVrB;;;;WAIG;QACH,MAJC,SACK;;;;;;;SAQ8B;IAClC,MAAM,CAAC,YAAY;;;;;;;;MAQlB;IAED,MAAM,CAAC,GAAG,iBAAU;IACpB,MAAM,CAAC,GAAG,iBAAU;IAEpB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAE9B;IAED,iBAAiB;IAIjB,kBAAkB;IAIlB,cAAc;IAsBd,MAAM;CAWP;AAED,eAAe,IAAI,CAAA;AACnB,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Grid/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAS7D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAQpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC;;;;GAIG;AACH,cACM,IAAK,SAAQ,SAAS,CAAC,SAAS,CAAC;IACrC,MAAM,CAAC,QAAQ,CAAC,WAAW,UAAS;IAEpC,MAAM,CAAC,SAAS;mBAPlB,MAAO,SAAS;;;;;;;OAOc;IAC5B,MAAM,CAAC,YAAY;mBARrB,MAAO,SAAS;;;;;;;SAQoB;IAClC,MAAM,CAAC,YAAY;;;;;;;;MAQlB;IAED,MAAM,CAAC,GAAG,iBAAU;IACpB,MAAM,CAAC,GAAG,iBAAU;IAEpB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAE9B;IAED,iBAAiB;IAIjB,kBAAkB;IAIlB,cAAc;IAqBd,MAAM;CAWP;AAED,eAAe,IAAI,CAAA;AACnB,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Grid.test.d.ts","sourceRoot":"","sources":["../../../src/GridCol/__new-tests__/Grid.test.tsx"],"names":[],"mappings":"AA2BA,OAAO,2BAA2B,CAAA"}
1
+ {"version":3,"file":"Grid.test.d.ts","sourceRoot":"","sources":["../../../src/GridCol/__new-tests__/Grid.test.tsx"],"names":[],"mappings":"AA0BA,OAAO,2BAA2B,CAAA"}
@@ -1,6 +1,4 @@
1
- /** @jsx jsx */
2
1
  import { Component } from 'react';
3
- import { jsx } from '@instructure/emotion';
4
2
  import type { GridColProps } from './props';
5
3
  /**
6
4
  ---
@@ -71,7 +69,7 @@ declare class GridCol extends Component<GridColProps> {
71
69
  widthCheck(): void;
72
70
  componentDidMount(): void;
73
71
  componentDidUpdate(): void;
74
- render(): jsx.JSX.Element;
72
+ render(): import("@emotion/react/jsx-runtime").JSX.Element;
75
73
  }
76
74
  export default GridCol;
77
75
  export { GridCol };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/GridCol/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAIjC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAOrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C;;;;;GAKG;AACH,cACM,OAAQ,SAAQ,SAAS,CAAC,YAAY,CAAC;IAC3C,MAAM,CAAC,QAAQ,CAAC,WAAW,cAAa;IAExC,MAAM,CAAC,SAAS;mBAJa,MAAO,SAAS;;;;;;;;;iBAgBjC,CAAC;kBAEX,CAAD;iBAEM,CAAC;kBAA0B,CAAC;;;iBAMzB,CAAC;kBACP,CAAC;iBACF,CAAC;kBACS,CAAC;;;;;OAzBc;IAC5B,MAAM,CAAC,YAAY;mBALU,MAAO,SAAS;;;;;;;;;iBAgBjC,CAAC;kBAEX,CAAD;iBAEM,CAAC;kBAA0B,CAAC;;;iBAMzB,CAAC;kBACP,CAAC;iBACF,CAAC;kBACS,CAAC;;;;;SAxBoB;IAClC,MAAM,CAAC,YAAY;;;;;MAKlB;IAED,GAAG,EAAE,eAAe,GAAG,IAAI,CAAO;IAElC,SAAS,OAAQ,eAAe,GAAG,IAAI,UAQtC;IAED,UAAU;IAsBV,iBAAiB;IAKjB,kBAAkB;IAKlB,MAAM;CAWP;AAED,eAAe,OAAO,CAAA;AACtB,OAAO,EAAE,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/GridCol/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAWjC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C;;;;;GAKG;AACH,cACM,OAAQ,SAAQ,SAAS,CAAC,YAAY,CAAC;IAC3C,MAAM,CAAC,QAAQ,CAAC,WAAW,cAAa;IAExC,MAAM,CAAC,SAAS;mBAHhB,MAAO,SAAS;;;;;;;;;iBAeiB,CAAC;kBAIhC,CAAC;iBAAyB,CAAC;kBAClB,CAAC;;;iBAMV,CAAH;kBACG,CAAH;iBACQ,CAAC;kBAA0B,CAAC;;;;;OAzBP;IAC5B,MAAM,CAAC,YAAY;mBAJnB,MAAO,SAAS;;;;;;;;;iBAeiB,CAAC;kBAIhC,CAAC;iBAAyB,CAAC;kBAClB,CAAC;;;iBAMV,CAAH;kBACG,CAAH;iBACQ,CAAC;kBAA0B,CAAC;;;;;SAxBD;IAClC,MAAM,CAAC,YAAY;;;;;MAKlB;IAED,GAAG,EAAE,eAAe,GAAG,IAAI,CAAO;IAElC,SAAS,OAAQ,eAAe,GAAG,IAAI,UAQtC;IAED,UAAU;IAsBV,iBAAiB;IAKjB,kBAAkB;IAKlB,MAAM;CAWP;AAED,eAAe,OAAO,CAAA;AACtB,OAAO,EAAE,OAAO,EAAE,CAAA"}
@@ -1,8 +1,6 @@
1
- /** @jsx jsx */
2
- import React, { Component } from 'react';
1
+ import { ComponentElement, Component } from 'react';
3
2
  import { GridCol } from '../GridCol';
4
3
  import type { GridColProps } from '../GridCol/props';
5
- import { jsx } from '@instructure/emotion';
6
4
  import type { GridRowProps } from './props';
7
5
  /**
8
6
  ---
@@ -40,8 +38,8 @@ declare class GridRow extends Component<GridRowProps> {
40
38
  handleRef: (el: Element | null) => void;
41
39
  componentDidMount(): void;
42
40
  componentDidUpdate(): void;
43
- renderChildren(): (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ComponentElement<GridColProps, GridCol>)[] | null | undefined;
44
- render(): jsx.JSX.Element;
41
+ renderChildren(): (string | number | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | ComponentElement<GridColProps, GridCol>)[] | null | undefined;
42
+ render(): import("@emotion/react/jsx-runtime").JSX.Element;
45
43
  }
46
44
  export default GridRow;
47
45
  export { GridRow };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/GridRow/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,KAAK,EAAE,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AASlD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAEpD,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAMrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C;;;;;GAKG;AACH,cACM,OAAQ,SAAQ,SAAS,CAAC,YAAY,CAAC;IAC3C,MAAM,CAAC,QAAQ,CAAC,WAAW,cAAa;IAExC,MAAM,CAAC,SAAS;mBAJC,MAAO,SAAS;;;;;;;;OAIL;IAC5B,MAAM,CAAC,YAAY;mBALF,MAAO,SAAS;;;;;;;;SAKC;IAClC,MAAM,CAAC,YAAY;;;MAGlB;IAED,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAE9B;IAED,iBAAiB;IAIjB,kBAAkB;IAIlB,cAAc;IAsBd,MAAM;CAWP;AAED,eAAe,OAAO,CAAA;AACtB,OAAO,EAAE,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/GridRow/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAS7D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAQpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C;;;;;GAKG;AACH,cACM,OAAQ,SAAQ,SAAS,CAAC,YAAY,CAAC;IAC3C,MAAM,CAAC,QAAQ,CAAC,WAAW,cAAa;IAExC,MAAM,CAAC,SAAS;mBAJW,MAAO,SAAS;;;;;;;;OAIf;IAC5B,MAAM,CAAC,YAAY;mBALQ,MAAO,SAAS;;;;;;;;SAKT;IAClC,MAAM,CAAC,YAAY;;;MAGlB;IAED,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAE9B;IAED,iBAAiB;IAIjB,kBAAkB;IAIlB,cAAc;IAqBd,MAAM;CAWP;AAED,eAAe,OAAO,CAAA;AACtB,OAAO,EAAE,OAAO,EAAE,CAAA"}