@instructure/ui-grid 11.7.3 → 11.7.4-pr-snapshot-1781695314229
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 +8 -0
- package/LICENSE.md +1 -0
- package/{lib/Grid/v2/props.js → babel.config.cjs} +12 -7
- package/es/Grid/v1/index.js +6 -6
- package/es/Grid/v2/index.js +5 -5
- package/es/GridCol/v1/index.js +4 -4
- package/es/GridCol/v1/styles.js +0 -1
- package/es/GridCol/v2/index.js +3 -3
- package/es/GridCol/v2/styles.js +0 -1
- package/es/GridRow/v1/index.js +5 -5
- package/es/GridRow/v2/index.js +4 -4
- package/es/exports/a.js +1 -1
- package/es/exports/b.js +1 -1
- package/package.json +12 -17
- package/src/Grid/v1/index.tsx +6 -5
- package/src/Grid/v2/index.tsx +5 -4
- package/src/GridCol/v1/index.tsx +4 -3
- package/src/GridCol/v2/index.tsx +3 -2
- package/src/GridRow/v1/index.tsx +5 -4
- package/src/GridRow/v2/index.tsx +4 -3
- package/src/exports/a.ts +1 -1
- package/src/exports/b.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Grid/v1/index.d.ts +4 -3
- package/types/Grid/v1/index.d.ts.map +1 -1
- package/types/Grid/v2/index.d.ts +4 -3
- package/types/Grid/v2/index.d.ts.map +1 -1
- package/types/GridCol/v1/index.d.ts +2 -1
- package/types/GridCol/v1/index.d.ts.map +1 -1
- package/types/GridCol/v2/index.d.ts +2 -1
- package/types/GridCol/v2/index.d.ts.map +1 -1
- package/types/GridRow/v1/index.d.ts +3 -2
- package/types/GridRow/v1/index.d.ts.map +1 -1
- package/types/GridRow/v2/index.d.ts +3 -2
- package/types/GridRow/v2/index.d.ts.map +1 -1
- package/types/exports/a.d.ts +1 -1
- package/types/exports/a.d.ts.map +1 -1
- package/types/exports/b.d.ts +1 -1
- package/types/exports/b.d.ts.map +1 -1
- package/lib/Grid/v1/index.js +0 -120
- package/lib/Grid/v1/props.js +0 -31
- package/lib/Grid/v1/styles.js +0 -69
- package/lib/Grid/v1/theme.js +0 -51
- package/lib/Grid/v2/index.js +0 -119
- package/lib/Grid/v2/styles.js +0 -69
- package/lib/GridCol/v1/index.js +0 -110
- package/lib/GridCol/v1/props.js +0 -31
- package/lib/GridCol/v1/styles.js +0 -224
- package/lib/GridCol/v1/theme.js +0 -51
- package/lib/GridCol/v2/index.js +0 -109
- package/lib/GridCol/v2/props.js +0 -31
- package/lib/GridCol/v2/styles.js +0 -224
- package/lib/GridRow/v1/index.js +0 -100
- package/lib/GridRow/v1/props.js +0 -31
- package/lib/GridRow/v1/styles.js +0 -145
- package/lib/GridRow/v1/theme.js +0 -51
- package/lib/GridRow/v2/index.js +0 -99
- package/lib/GridRow/v2/props.js +0 -31
- package/lib/GridRow/v2/styles.js +0 -145
- package/lib/exports/a.js +0 -24
- package/lib/exports/b.js +0 -24
- package/lib/package.json +0 -1
- package/lib/utils/v1/GridTypes.js +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.4-pr-snapshot-1781695314229](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-pr-snapshot-1781695314229) (2026-06-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-grid
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [11.7.3](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3) (2026-05-07)
|
|
7
15
|
|
|
8
16
|
|
package/LICENSE.md
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.allowedProps = void 0;
|
|
7
1
|
/*
|
|
8
2
|
* The MIT License (MIT)
|
|
9
3
|
*
|
|
@@ -28,4 +22,15 @@ exports.allowedProps = void 0;
|
|
|
28
22
|
* SOFTWARE.
|
|
29
23
|
*/
|
|
30
24
|
|
|
31
|
-
|
|
25
|
+
module.exports = {
|
|
26
|
+
presets: [
|
|
27
|
+
[
|
|
28
|
+
require('@instructure/ui-babel-preset'),
|
|
29
|
+
{
|
|
30
|
+
esModules: Boolean(process.env.ES_MODULES),
|
|
31
|
+
removeConsole: process.env.NODE_ENV === 'production',
|
|
32
|
+
transformImports: Boolean(process.env.TRANSFORM_IMPORTS)
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
]
|
|
36
|
+
}
|
package/es/Grid/v1/index.js
CHANGED
|
@@ -25,12 +25,12 @@ var _dec, _class;
|
|
|
25
25
|
|
|
26
26
|
import { Component, Children } from 'react';
|
|
27
27
|
import { safeCloneElement, matchComponentTypes, omitProps, pickProps } from '@instructure/ui-react-utils';
|
|
28
|
-
import { GridRow } from
|
|
29
|
-
import { GridCol } from
|
|
28
|
+
import { GridRow } from '../../GridRow/v1/index.js';
|
|
29
|
+
import { GridCol } from '../../GridCol/v1/index.js';
|
|
30
30
|
import { withStyle } from '@instructure/emotion';
|
|
31
|
-
import generateStyle from
|
|
32
|
-
import generateComponentTheme from
|
|
33
|
-
import { allowedProps } from
|
|
31
|
+
import generateStyle from './styles.js';
|
|
32
|
+
import generateComponentTheme from './theme.js';
|
|
33
|
+
import { allowedProps } from './props.js';
|
|
34
34
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
35
35
|
/**
|
|
36
36
|
---
|
|
@@ -38,7 +38,7 @@ category: components
|
|
|
38
38
|
---
|
|
39
39
|
**/
|
|
40
40
|
let Grid = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class Grid extends Component {
|
|
41
|
-
static displayName =
|
|
41
|
+
static displayName = 'Grid';
|
|
42
42
|
static componentId = 'Grid';
|
|
43
43
|
static allowedProps = allowedProps;
|
|
44
44
|
static defaultProps = {
|
package/es/Grid/v2/index.js
CHANGED
|
@@ -25,11 +25,11 @@ var _dec, _class;
|
|
|
25
25
|
|
|
26
26
|
import { Component, Children } from 'react';
|
|
27
27
|
import { safeCloneElement, matchComponentTypes, omitProps, pickProps } from '@instructure/ui-react-utils';
|
|
28
|
-
import { GridRow } from
|
|
29
|
-
import { GridCol } from
|
|
28
|
+
import { GridRow } from '../../GridRow/v2/index.js';
|
|
29
|
+
import { GridCol } from '../../GridCol/v2/index.js';
|
|
30
30
|
import { withStyleNew } from '@instructure/emotion';
|
|
31
|
-
import generateStyle from
|
|
32
|
-
import { allowedProps } from
|
|
31
|
+
import generateStyle from './styles.js';
|
|
32
|
+
import { allowedProps } from './props.js';
|
|
33
33
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
34
34
|
/**
|
|
35
35
|
---
|
|
@@ -37,7 +37,7 @@ category: components
|
|
|
37
37
|
---
|
|
38
38
|
**/
|
|
39
39
|
let Grid = (_dec = withStyleNew(generateStyle), _dec(_class = class Grid extends Component {
|
|
40
|
-
static displayName =
|
|
40
|
+
static displayName = 'Grid';
|
|
41
41
|
static componentId = 'Grid';
|
|
42
42
|
static allowedProps = allowedProps;
|
|
43
43
|
static defaultProps = {
|
package/es/GridCol/v1/index.js
CHANGED
|
@@ -27,9 +27,9 @@ import { Component } from 'react';
|
|
|
27
27
|
import { omitProps } from '@instructure/ui-react-utils';
|
|
28
28
|
import { withStyle } from '@instructure/emotion';
|
|
29
29
|
import { logWarn as warn } from '@instructure/console';
|
|
30
|
-
import generateStyle from
|
|
31
|
-
import generateComponentTheme from
|
|
32
|
-
import { allowedProps } from
|
|
30
|
+
import generateStyle from './styles.js';
|
|
31
|
+
import generateComponentTheme from './theme.js';
|
|
32
|
+
import { allowedProps } from './props.js';
|
|
33
33
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
34
34
|
/**
|
|
35
35
|
---
|
|
@@ -38,7 +38,7 @@ id: Grid.Col
|
|
|
38
38
|
---
|
|
39
39
|
**/
|
|
40
40
|
let GridCol = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class GridCol extends Component {
|
|
41
|
-
static displayName =
|
|
41
|
+
static displayName = 'GridCol';
|
|
42
42
|
static componentId = 'Grid.Col';
|
|
43
43
|
static allowedProps = allowedProps;
|
|
44
44
|
static defaultProps = {
|
package/es/GridCol/v1/styles.js
CHANGED
package/es/GridCol/v2/index.js
CHANGED
|
@@ -27,8 +27,8 @@ import { Component } from 'react';
|
|
|
27
27
|
import { omitProps } from '@instructure/ui-react-utils';
|
|
28
28
|
import { withStyleNew } from '@instructure/emotion';
|
|
29
29
|
import { logWarn as warn } from '@instructure/console';
|
|
30
|
-
import generateStyle from
|
|
31
|
-
import { allowedProps } from
|
|
30
|
+
import generateStyle from './styles.js';
|
|
31
|
+
import { allowedProps } from './props.js';
|
|
32
32
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
33
33
|
/**
|
|
34
34
|
---
|
|
@@ -37,7 +37,7 @@ id: Grid.Col
|
|
|
37
37
|
---
|
|
38
38
|
**/
|
|
39
39
|
let GridCol = (_dec = withStyleNew(generateStyle), _dec(_class = class GridCol extends Component {
|
|
40
|
-
static displayName =
|
|
40
|
+
static displayName = 'GridCol';
|
|
41
41
|
static componentId = 'Grid.Col';
|
|
42
42
|
static allowedProps = allowedProps;
|
|
43
43
|
static defaultProps = {
|
package/es/GridCol/v2/styles.js
CHANGED
package/es/GridRow/v1/index.js
CHANGED
|
@@ -25,11 +25,11 @@ var _dec, _class;
|
|
|
25
25
|
|
|
26
26
|
import { Component, Children } from 'react';
|
|
27
27
|
import { safeCloneElement, matchComponentTypes, omitProps, pickProps } from '@instructure/ui-react-utils';
|
|
28
|
-
import { GridCol } from
|
|
28
|
+
import { GridCol } from '../../GridCol/v1/index.js';
|
|
29
29
|
import { withStyle } from '@instructure/emotion';
|
|
30
|
-
import generateStyle from
|
|
31
|
-
import generateComponentTheme from
|
|
32
|
-
import { allowedProps } from
|
|
30
|
+
import generateStyle from './styles.js';
|
|
31
|
+
import generateComponentTheme from './theme.js';
|
|
32
|
+
import { allowedProps } from './props.js';
|
|
33
33
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
34
34
|
/**
|
|
35
35
|
---
|
|
@@ -38,7 +38,7 @@ id: Grid.Row
|
|
|
38
38
|
---
|
|
39
39
|
**/
|
|
40
40
|
let GridRow = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class GridRow extends Component {
|
|
41
|
-
static displayName =
|
|
41
|
+
static displayName = 'GridRow';
|
|
42
42
|
static componentId = 'Grid.Row';
|
|
43
43
|
static allowedProps = allowedProps;
|
|
44
44
|
static defaultProps = {
|
package/es/GridRow/v2/index.js
CHANGED
|
@@ -25,10 +25,10 @@ var _dec, _class;
|
|
|
25
25
|
|
|
26
26
|
import { Component, Children } from 'react';
|
|
27
27
|
import { safeCloneElement, matchComponentTypes, omitProps, pickProps } from '@instructure/ui-react-utils';
|
|
28
|
-
import { GridCol } from
|
|
28
|
+
import { GridCol } from '../../GridCol/v2/index.js';
|
|
29
29
|
import { withStyleNew } from '@instructure/emotion';
|
|
30
|
-
import generateStyle from
|
|
31
|
-
import { allowedProps } from
|
|
30
|
+
import generateStyle from './styles.js';
|
|
31
|
+
import { allowedProps } from './props.js';
|
|
32
32
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
33
33
|
/**
|
|
34
34
|
---
|
|
@@ -37,7 +37,7 @@ id: Grid.Row
|
|
|
37
37
|
---
|
|
38
38
|
**/
|
|
39
39
|
let GridRow = (_dec = withStyleNew(generateStyle), _dec(_class = class GridRow extends Component {
|
|
40
|
-
static displayName =
|
|
40
|
+
static displayName = 'GridRow';
|
|
41
41
|
static componentId = 'Grid.Row';
|
|
42
42
|
static allowedProps = allowedProps;
|
|
43
43
|
static defaultProps = {
|
package/es/exports/a.js
CHANGED
package/es/exports/b.js
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-grid",
|
|
3
|
-
"version": "11.7.
|
|
3
|
+
"version": "11.7.4-pr-snapshot-1781695314229",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "A Grid component.",
|
|
5
6
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
7
|
"module": "./es/index.js",
|
|
7
|
-
"main": "./lib/index.js",
|
|
8
8
|
"types": "./types/index.d.ts",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -15,20 +15,20 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.2",
|
|
18
|
-
"@instructure/console": "11.7.
|
|
19
|
-
"@instructure/shared-types": "11.7.
|
|
20
|
-
"@instructure/
|
|
21
|
-
"@instructure/ui-
|
|
22
|
-
"@instructure/
|
|
23
|
-
"@instructure/ui-themes": "11.7.
|
|
24
|
-
"@instructure/ui-utils": "11.7.
|
|
18
|
+
"@instructure/console": "11.7.4-pr-snapshot-1781695314229",
|
|
19
|
+
"@instructure/shared-types": "11.7.4-pr-snapshot-1781695314229",
|
|
20
|
+
"@instructure/emotion": "11.7.4-pr-snapshot-1781695314229",
|
|
21
|
+
"@instructure/ui-a11y-content": "11.7.4-pr-snapshot-1781695314229",
|
|
22
|
+
"@instructure/ui-react-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
23
|
+
"@instructure/ui-themes": "11.7.4-pr-snapshot-1781695314229",
|
|
24
|
+
"@instructure/ui-utils": "11.7.4-pr-snapshot-1781695314229"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@testing-library/jest-dom": "^6.6.3",
|
|
28
28
|
"@testing-library/react": "15.0.7",
|
|
29
29
|
"vitest": "^3.2.2",
|
|
30
|
-
"@instructure/ui-
|
|
31
|
-
"@instructure/ui-
|
|
30
|
+
"@instructure/ui-babel-preset": "11.7.4-pr-snapshot-1781695314229",
|
|
31
|
+
"@instructure/ui-color-utils": "11.7.4-pr-snapshot-1781695314229"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": ">=18 <=19"
|
|
@@ -38,7 +38,6 @@
|
|
|
38
38
|
},
|
|
39
39
|
"sideEffects": false,
|
|
40
40
|
"exports": {
|
|
41
|
-
"./lib/*": "./lib/*",
|
|
42
41
|
"./es/*": "./es/*",
|
|
43
42
|
"./types/*": "./types/*",
|
|
44
43
|
"./package.json": "./package.json",
|
|
@@ -47,28 +46,24 @@
|
|
|
47
46
|
"src": "./src/exports/a.ts",
|
|
48
47
|
"types": "./types/exports/a.d.ts",
|
|
49
48
|
"import": "./es/exports/a.js",
|
|
50
|
-
"require": "./lib/exports/a.js",
|
|
51
49
|
"default": "./es/exports/a.js"
|
|
52
50
|
},
|
|
53
51
|
"./v11_6": {
|
|
54
52
|
"src": "./src/exports/a.ts",
|
|
55
53
|
"types": "./types/exports/a.d.ts",
|
|
56
54
|
"import": "./es/exports/a.js",
|
|
57
|
-
"require": "./lib/exports/a.js",
|
|
58
55
|
"default": "./es/exports/a.js"
|
|
59
56
|
},
|
|
60
57
|
"./v11_7": {
|
|
61
58
|
"src": "./src/exports/b.ts",
|
|
62
59
|
"types": "./types/exports/b.d.ts",
|
|
63
60
|
"import": "./es/exports/b.js",
|
|
64
|
-
"require": "./lib/exports/b.js",
|
|
65
61
|
"default": "./es/exports/b.js"
|
|
66
62
|
},
|
|
67
63
|
"./latest": {
|
|
68
64
|
"src": "./src/exports/b.ts",
|
|
69
65
|
"types": "./types/exports/b.d.ts",
|
|
70
66
|
"import": "./es/exports/b.js",
|
|
71
|
-
"require": "./lib/exports/b.js",
|
|
72
67
|
"default": "./es/exports/b.js"
|
|
73
68
|
}
|
|
74
69
|
},
|
|
@@ -76,7 +71,7 @@
|
|
|
76
71
|
"lint": "ui-scripts lint",
|
|
77
72
|
"lint:fix": "ui-scripts lint --fix",
|
|
78
73
|
"clean": "ui-scripts clean",
|
|
79
|
-
"build": "ui-scripts build
|
|
74
|
+
"build": "ui-scripts build",
|
|
80
75
|
"build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
|
|
81
76
|
"build:types": "tsc -p tsconfig.build.json",
|
|
82
77
|
"ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
|
package/src/Grid/v1/index.tsx
CHANGED
|
@@ -31,16 +31,16 @@ import {
|
|
|
31
31
|
pickProps
|
|
32
32
|
} from '@instructure/ui-react-utils'
|
|
33
33
|
|
|
34
|
-
import { GridRow } from '../../GridRow/v1'
|
|
34
|
+
import { GridRow } from '../../GridRow/v1/index.js'
|
|
35
35
|
import type { GridRowProps } from '../../GridRow/v1/props'
|
|
36
|
-
import { GridCol } from '../../GridCol/v1'
|
|
36
|
+
import { GridCol } from '../../GridCol/v1/index.js'
|
|
37
37
|
|
|
38
38
|
import { withStyle } from '@instructure/emotion'
|
|
39
39
|
|
|
40
|
-
import generateStyle from './styles'
|
|
41
|
-
import generateComponentTheme from './theme'
|
|
40
|
+
import generateStyle from './styles.js'
|
|
41
|
+
import generateComponentTheme from './theme.js'
|
|
42
42
|
|
|
43
|
-
import { allowedProps } from './props'
|
|
43
|
+
import { allowedProps } from './props.js'
|
|
44
44
|
import type { GridProps } from './props'
|
|
45
45
|
|
|
46
46
|
/**
|
|
@@ -50,6 +50,7 @@ category: components
|
|
|
50
50
|
**/
|
|
51
51
|
@withStyle(generateStyle, generateComponentTheme)
|
|
52
52
|
class Grid extends Component<GridProps> {
|
|
53
|
+
static displayName = 'Grid'
|
|
53
54
|
static readonly componentId = 'Grid'
|
|
54
55
|
|
|
55
56
|
static allowedProps = allowedProps
|
package/src/Grid/v2/index.tsx
CHANGED
|
@@ -31,15 +31,15 @@ import {
|
|
|
31
31
|
pickProps
|
|
32
32
|
} from '@instructure/ui-react-utils'
|
|
33
33
|
|
|
34
|
-
import { GridRow } from '../../GridRow/v2'
|
|
34
|
+
import { GridRow } from '../../GridRow/v2/index.js'
|
|
35
35
|
import type { GridRowProps } from '../../GridRow/v2/props'
|
|
36
|
-
import { GridCol } from '../../GridCol/v2'
|
|
36
|
+
import { GridCol } from '../../GridCol/v2/index.js'
|
|
37
37
|
|
|
38
38
|
import { withStyleNew } from '@instructure/emotion'
|
|
39
39
|
|
|
40
|
-
import generateStyle from './styles'
|
|
40
|
+
import generateStyle from './styles.js'
|
|
41
41
|
|
|
42
|
-
import { allowedProps } from './props'
|
|
42
|
+
import { allowedProps } from './props.js'
|
|
43
43
|
import type { GridProps } from './props'
|
|
44
44
|
|
|
45
45
|
/**
|
|
@@ -49,6 +49,7 @@ category: components
|
|
|
49
49
|
**/
|
|
50
50
|
@withStyleNew(generateStyle)
|
|
51
51
|
class Grid extends Component<GridProps> {
|
|
52
|
+
static displayName = 'Grid'
|
|
52
53
|
static readonly componentId = 'Grid'
|
|
53
54
|
|
|
54
55
|
static allowedProps = allowedProps
|
package/src/GridCol/v1/index.tsx
CHANGED
|
@@ -29,10 +29,10 @@ import { omitProps } from '@instructure/ui-react-utils'
|
|
|
29
29
|
import { withStyle } from '@instructure/emotion'
|
|
30
30
|
import { logWarn as warn } from '@instructure/console'
|
|
31
31
|
|
|
32
|
-
import generateStyle from './styles'
|
|
33
|
-
import generateComponentTheme from './theme'
|
|
32
|
+
import generateStyle from './styles.js'
|
|
33
|
+
import generateComponentTheme from './theme.js'
|
|
34
34
|
|
|
35
|
-
import { allowedProps } from './props'
|
|
35
|
+
import { allowedProps } from './props.js'
|
|
36
36
|
import type { GridColProps } from './props'
|
|
37
37
|
|
|
38
38
|
/**
|
|
@@ -43,6 +43,7 @@ id: Grid.Col
|
|
|
43
43
|
**/
|
|
44
44
|
@withStyle(generateStyle, generateComponentTheme)
|
|
45
45
|
class GridCol extends Component<GridColProps> {
|
|
46
|
+
static displayName = 'GridCol'
|
|
46
47
|
static readonly componentId = 'Grid.Col'
|
|
47
48
|
|
|
48
49
|
static allowedProps = allowedProps
|
package/src/GridCol/v2/index.tsx
CHANGED
|
@@ -29,9 +29,9 @@ import { omitProps } from '@instructure/ui-react-utils'
|
|
|
29
29
|
import { withStyleNew } from '@instructure/emotion'
|
|
30
30
|
import { logWarn as warn } from '@instructure/console'
|
|
31
31
|
|
|
32
|
-
import generateStyle from './styles'
|
|
32
|
+
import generateStyle from './styles.js'
|
|
33
33
|
|
|
34
|
-
import { allowedProps } from './props'
|
|
34
|
+
import { allowedProps } from './props.js'
|
|
35
35
|
import type { GridColProps } from './props'
|
|
36
36
|
|
|
37
37
|
/**
|
|
@@ -42,6 +42,7 @@ id: Grid.Col
|
|
|
42
42
|
**/
|
|
43
43
|
@withStyleNew(generateStyle)
|
|
44
44
|
class GridCol extends Component<GridColProps> {
|
|
45
|
+
static displayName = 'GridCol'
|
|
45
46
|
static readonly componentId = 'Grid.Col'
|
|
46
47
|
|
|
47
48
|
static allowedProps = allowedProps
|
package/src/GridRow/v1/index.tsx
CHANGED
|
@@ -31,15 +31,15 @@ import {
|
|
|
31
31
|
pickProps
|
|
32
32
|
} from '@instructure/ui-react-utils'
|
|
33
33
|
|
|
34
|
-
import { GridCol } from '../../GridCol/v1/'
|
|
34
|
+
import { GridCol } from '../../GridCol/v1/index.js'
|
|
35
35
|
import type { GridColProps } from '../../GridCol/v1/props'
|
|
36
36
|
|
|
37
37
|
import { withStyle } from '@instructure/emotion'
|
|
38
38
|
|
|
39
|
-
import generateStyle from './styles'
|
|
40
|
-
import generateComponentTheme from './theme'
|
|
39
|
+
import generateStyle from './styles.js'
|
|
40
|
+
import generateComponentTheme from './theme.js'
|
|
41
41
|
|
|
42
|
-
import { allowedProps } from './props'
|
|
42
|
+
import { allowedProps } from './props.js'
|
|
43
43
|
import type { GridRowProps } from './props'
|
|
44
44
|
|
|
45
45
|
/**
|
|
@@ -50,6 +50,7 @@ id: Grid.Row
|
|
|
50
50
|
**/
|
|
51
51
|
@withStyle(generateStyle, generateComponentTheme)
|
|
52
52
|
class GridRow extends Component<GridRowProps> {
|
|
53
|
+
static displayName = 'GridRow'
|
|
53
54
|
static readonly componentId = 'Grid.Row'
|
|
54
55
|
|
|
55
56
|
static allowedProps = allowedProps
|
package/src/GridRow/v2/index.tsx
CHANGED
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
pickProps
|
|
32
32
|
} from '@instructure/ui-react-utils'
|
|
33
33
|
|
|
34
|
-
import { GridCol } from '../../GridCol/v2/'
|
|
34
|
+
import { GridCol } from '../../GridCol/v2/index.js'
|
|
35
35
|
import type { GridColProps } from '../../GridCol/v2/props'
|
|
36
36
|
|
|
37
37
|
import { withStyleNew } from '@instructure/emotion'
|
|
38
38
|
|
|
39
|
-
import generateStyle from './styles'
|
|
39
|
+
import generateStyle from './styles.js'
|
|
40
40
|
|
|
41
|
-
import { allowedProps } from './props'
|
|
41
|
+
import { allowedProps } from './props.js'
|
|
42
42
|
import type { GridRowProps } from './props'
|
|
43
43
|
|
|
44
44
|
/**
|
|
@@ -49,6 +49,7 @@ id: Grid.Row
|
|
|
49
49
|
**/
|
|
50
50
|
@withStyleNew(generateStyle)
|
|
51
51
|
class GridRow extends Component<GridRowProps> {
|
|
52
|
+
static displayName = 'GridRow'
|
|
52
53
|
static readonly componentId = 'Grid.Row'
|
|
53
54
|
|
|
54
55
|
static allowedProps = allowedProps
|
package/src/exports/a.ts
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
export { Grid, GridRow, GridCol } from '../Grid/v1'
|
|
24
|
+
export { Grid, GridRow, GridCol } from '../Grid/v1/index.js'
|
|
25
25
|
|
|
26
26
|
export type { GridBreakpoints } from '../utils/v1/GridTypes'
|
|
27
27
|
|
package/src/exports/b.ts
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
export { Grid, GridRow, GridCol } from '../Grid/v2'
|
|
24
|
+
export { Grid, GridRow, GridCol } from '../Grid/v2/index.js'
|
|
25
25
|
|
|
26
26
|
export type { GridBreakpoints } from '../utils/v1/GridTypes'
|
|
27
27
|
|