@instructure/ui-grid 11.7.11-snapshot-25 → 11.7.11-snapshot-26
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/Grid/v1/index.js +3 -3
- package/es/Grid/v2/index.js +3 -3
- package/es/GridCol/v1/index.js +3 -3
- package/es/GridCol/v2/index.js +3 -3
- package/es/GridRow/v1/index.js +3 -3
- package/es/GridRow/v2/index.js +3 -3
- package/lib/Grid/v1/index.js +6 -4
- package/lib/Grid/v2/index.js +6 -4
- package/lib/GridCol/v1/index.js +6 -4
- package/lib/GridCol/v2/index.js +6 -4
- package/lib/GridRow/v1/index.js +6 -4
- package/lib/GridRow/v2/index.js +6 -4
- package/package.json +10 -10
- package/src/Grid/v1/index.tsx +4 -2
- package/src/Grid/v2/index.tsx +4 -2
- package/src/GridCol/v1/index.tsx +4 -2
- package/src/GridCol/v2/index.tsx +4 -2
- package/src/GridRow/v1/index.tsx +4 -2
- package/src/GridRow/v2/index.tsx +4 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Grid/v1/index.d.ts +6 -4
- package/types/Grid/v1/index.d.ts.map +1 -1
- package/types/Grid/v2/index.d.ts +6 -4
- package/types/Grid/v2/index.d.ts.map +1 -1
- package/types/GridCol/v1/index.d.ts +3 -1
- package/types/GridCol/v1/index.d.ts.map +1 -1
- package/types/GridCol/v2/index.d.ts +3 -1
- package/types/GridCol/v2/index.d.ts.map +1 -1
- package/types/GridRow/v1/index.d.ts +4 -3
- package/types/GridRow/v1/index.d.ts.map +1 -1
- package/types/GridRow/v2/index.d.ts +4 -3
- package/types/GridRow/v2/index.d.ts.map +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.11-snapshot-
|
|
6
|
+
## [11.7.11-snapshot-26](https://github.com/instructure/instructure-ui/compare/v11.7.10...v11.7.11-snapshot-26) (2026-11-23)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-grid
|
|
9
9
|
|
package/es/Grid/v1/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
var _dec, _class;
|
|
2
1
|
/*
|
|
3
2
|
* The MIT License (MIT)
|
|
4
3
|
*
|
|
@@ -37,7 +36,7 @@ import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
|
37
36
|
category: components
|
|
38
37
|
---
|
|
39
38
|
**/
|
|
40
|
-
|
|
39
|
+
export class GridBase extends Component {
|
|
41
40
|
static displayName = 'Grid';
|
|
42
41
|
static componentId = 'Grid';
|
|
43
42
|
static allowedProps = allowedProps;
|
|
@@ -94,6 +93,7 @@ let Grid = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class
|
|
|
94
93
|
children: this.renderChildren()
|
|
95
94
|
});
|
|
96
95
|
}
|
|
97
|
-
}
|
|
96
|
+
}
|
|
97
|
+
const Grid = withStyle(generateStyle, generateComponentTheme)(GridBase);
|
|
98
98
|
export default Grid;
|
|
99
99
|
export { Grid, GridRow, GridCol };
|
package/es/Grid/v2/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
var _dec, _class;
|
|
2
1
|
/*
|
|
3
2
|
* The MIT License (MIT)
|
|
4
3
|
*
|
|
@@ -36,7 +35,7 @@ import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
|
36
35
|
category: components
|
|
37
36
|
---
|
|
38
37
|
**/
|
|
39
|
-
|
|
38
|
+
export class GridBase extends Component {
|
|
40
39
|
static displayName = 'Grid';
|
|
41
40
|
static componentId = 'Grid';
|
|
42
41
|
static allowedProps = allowedProps;
|
|
@@ -93,6 +92,7 @@ let Grid = (_dec = withStyleNew(generateStyle), _dec(_class = class Grid extends
|
|
|
93
92
|
children: this.renderChildren()
|
|
94
93
|
});
|
|
95
94
|
}
|
|
96
|
-
}
|
|
95
|
+
}
|
|
96
|
+
const Grid = withStyleNew(generateStyle)(GridBase);
|
|
97
97
|
export default Grid;
|
|
98
98
|
export { Grid, GridRow, GridCol };
|
package/es/GridCol/v1/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
var _dec, _class;
|
|
2
1
|
/*
|
|
3
2
|
* The MIT License (MIT)
|
|
4
3
|
*
|
|
@@ -37,7 +36,7 @@ parent: Grid
|
|
|
37
36
|
id: Grid.Col
|
|
38
37
|
---
|
|
39
38
|
**/
|
|
40
|
-
|
|
39
|
+
export class GridColBase extends Component {
|
|
41
40
|
static displayName = 'GridCol';
|
|
42
41
|
static componentId = 'Grid.Col';
|
|
43
42
|
static allowedProps = allowedProps;
|
|
@@ -100,6 +99,7 @@ let GridCol = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_cl
|
|
|
100
99
|
children: children
|
|
101
100
|
});
|
|
102
101
|
}
|
|
103
|
-
}
|
|
102
|
+
}
|
|
103
|
+
const GridCol = withStyle(generateStyle, generateComponentTheme)(GridColBase);
|
|
104
104
|
export default GridCol;
|
|
105
105
|
export { GridCol };
|
package/es/GridCol/v2/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
var _dec, _class;
|
|
2
1
|
/*
|
|
3
2
|
* The MIT License (MIT)
|
|
4
3
|
*
|
|
@@ -36,7 +35,7 @@ parent: Grid
|
|
|
36
35
|
id: Grid.Col
|
|
37
36
|
---
|
|
38
37
|
**/
|
|
39
|
-
|
|
38
|
+
export class GridColBase extends Component {
|
|
40
39
|
static displayName = 'GridCol';
|
|
41
40
|
static componentId = 'Grid.Col';
|
|
42
41
|
static allowedProps = allowedProps;
|
|
@@ -99,6 +98,7 @@ let GridCol = (_dec = withStyleNew(generateStyle), _dec(_class = class GridCol e
|
|
|
99
98
|
children: children
|
|
100
99
|
});
|
|
101
100
|
}
|
|
102
|
-
}
|
|
101
|
+
}
|
|
102
|
+
const GridCol = withStyleNew(generateStyle)(GridColBase);
|
|
103
103
|
export default GridCol;
|
|
104
104
|
export { GridCol };
|
package/es/GridRow/v1/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
var _dec, _class;
|
|
2
1
|
/*
|
|
3
2
|
* The MIT License (MIT)
|
|
4
3
|
*
|
|
@@ -37,7 +36,7 @@ parent: Grid
|
|
|
37
36
|
id: Grid.Row
|
|
38
37
|
---
|
|
39
38
|
**/
|
|
40
|
-
|
|
39
|
+
export class GridRowBase extends Component {
|
|
41
40
|
static displayName = 'GridRow';
|
|
42
41
|
static componentId = 'Grid.Row';
|
|
43
42
|
static allowedProps = allowedProps;
|
|
@@ -87,6 +86,7 @@ let GridRow = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_cl
|
|
|
87
86
|
children: this.renderChildren()
|
|
88
87
|
});
|
|
89
88
|
}
|
|
90
|
-
}
|
|
89
|
+
}
|
|
90
|
+
const GridRow = withStyle(generateStyle, generateComponentTheme)(GridRowBase);
|
|
91
91
|
export default GridRow;
|
|
92
92
|
export { GridRow };
|
package/es/GridRow/v2/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
var _dec, _class;
|
|
2
1
|
/*
|
|
3
2
|
* The MIT License (MIT)
|
|
4
3
|
*
|
|
@@ -36,7 +35,7 @@ parent: Grid
|
|
|
36
35
|
id: Grid.Row
|
|
37
36
|
---
|
|
38
37
|
**/
|
|
39
|
-
|
|
38
|
+
export class GridRowBase extends Component {
|
|
40
39
|
static displayName = 'GridRow';
|
|
41
40
|
static componentId = 'Grid.Row';
|
|
42
41
|
static allowedProps = allowedProps;
|
|
@@ -86,6 +85,7 @@ let GridRow = (_dec = withStyleNew(generateStyle), _dec(_class = class GridRow e
|
|
|
86
85
|
children: this.renderChildren()
|
|
87
86
|
});
|
|
88
87
|
}
|
|
89
|
-
}
|
|
88
|
+
}
|
|
89
|
+
const GridRow = withStyleNew(generateStyle)(GridRowBase);
|
|
90
90
|
export default GridRow;
|
|
91
91
|
export { GridRow };
|
package/lib/Grid/v1/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.Grid = void 0;
|
|
7
|
+
exports.GridBase = exports.Grid = void 0;
|
|
8
8
|
Object.defineProperty(exports, "GridCol", {
|
|
9
9
|
enumerable: true,
|
|
10
10
|
get: function () {
|
|
@@ -27,7 +27,6 @@ var _styles = _interopRequireDefault(require("./styles.js"));
|
|
|
27
27
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
28
28
|
var _props = require("./props.js");
|
|
29
29
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
30
|
-
var _dec, _class;
|
|
31
30
|
/*
|
|
32
31
|
* The MIT License (MIT)
|
|
33
32
|
*
|
|
@@ -51,12 +50,13 @@ var _dec, _class;
|
|
|
51
50
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
52
51
|
* SOFTWARE.
|
|
53
52
|
*/
|
|
53
|
+
|
|
54
54
|
/**
|
|
55
55
|
---
|
|
56
56
|
category: components
|
|
57
57
|
---
|
|
58
58
|
**/
|
|
59
|
-
|
|
59
|
+
class GridBase extends _react.Component {
|
|
60
60
|
static displayName = 'Grid';
|
|
61
61
|
static componentId = 'Grid';
|
|
62
62
|
static allowedProps = _props.allowedProps;
|
|
@@ -113,5 +113,7 @@ let Grid = exports.Grid = (_dec = (0, _emotion.withStyle)(_styles.default, _them
|
|
|
113
113
|
children: this.renderChildren()
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
|
-
}
|
|
116
|
+
}
|
|
117
|
+
exports.GridBase = GridBase;
|
|
118
|
+
const Grid = exports.Grid = (0, _emotion.withStyle)(_styles.default, _theme.default)(GridBase);
|
|
117
119
|
var _default = exports.default = Grid;
|
package/lib/Grid/v2/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.Grid = void 0;
|
|
7
|
+
exports.GridBase = exports.Grid = void 0;
|
|
8
8
|
Object.defineProperty(exports, "GridCol", {
|
|
9
9
|
enumerable: true,
|
|
10
10
|
get: function () {
|
|
@@ -26,7 +26,6 @@ var _emotion = require("@instructure/emotion");
|
|
|
26
26
|
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
27
27
|
var _props = require("./props.js");
|
|
28
28
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
29
|
-
var _dec, _class;
|
|
30
29
|
/*
|
|
31
30
|
* The MIT License (MIT)
|
|
32
31
|
*
|
|
@@ -50,12 +49,13 @@ var _dec, _class;
|
|
|
50
49
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
51
50
|
* SOFTWARE.
|
|
52
51
|
*/
|
|
52
|
+
|
|
53
53
|
/**
|
|
54
54
|
---
|
|
55
55
|
category: components
|
|
56
56
|
---
|
|
57
57
|
**/
|
|
58
|
-
|
|
58
|
+
class GridBase extends _react.Component {
|
|
59
59
|
static displayName = 'Grid';
|
|
60
60
|
static componentId = 'Grid';
|
|
61
61
|
static allowedProps = _props.allowedProps;
|
|
@@ -112,5 +112,7 @@ let Grid = exports.Grid = (_dec = (0, _emotion.withStyleNew)(_styles.default), _
|
|
|
112
112
|
children: this.renderChildren()
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
}
|
|
115
|
+
}
|
|
116
|
+
exports.GridBase = GridBase;
|
|
117
|
+
const Grid = exports.Grid = (0, _emotion.withStyleNew)(_styles.default)(GridBase);
|
|
116
118
|
var _default = exports.default = Grid;
|
package/lib/GridCol/v1/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.default = exports.GridCol = void 0;
|
|
7
|
+
exports.default = exports.GridColBase = exports.GridCol = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
10
10
|
var _emotion = require("@instructure/emotion");
|
|
@@ -13,7 +13,6 @@ var _styles = _interopRequireDefault(require("./styles.js"));
|
|
|
13
13
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
14
14
|
var _props = require("./props.js");
|
|
15
15
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
16
|
-
var _dec, _class;
|
|
17
16
|
/*
|
|
18
17
|
* The MIT License (MIT)
|
|
19
18
|
*
|
|
@@ -37,13 +36,14 @@ var _dec, _class;
|
|
|
37
36
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
38
37
|
* SOFTWARE.
|
|
39
38
|
*/
|
|
39
|
+
|
|
40
40
|
/**
|
|
41
41
|
---
|
|
42
42
|
parent: Grid
|
|
43
43
|
id: Grid.Col
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
|
-
|
|
46
|
+
class GridColBase extends _react.Component {
|
|
47
47
|
static displayName = 'GridCol';
|
|
48
48
|
static componentId = 'Grid.Col';
|
|
49
49
|
static allowedProps = _props.allowedProps;
|
|
@@ -106,5 +106,7 @@ let GridCol = exports.GridCol = (_dec = (0, _emotion.withStyle)(_styles.default,
|
|
|
106
106
|
children: children
|
|
107
107
|
});
|
|
108
108
|
}
|
|
109
|
-
}
|
|
109
|
+
}
|
|
110
|
+
exports.GridColBase = GridColBase;
|
|
111
|
+
const GridCol = exports.GridCol = (0, _emotion.withStyle)(_styles.default, _theme.default)(GridColBase);
|
|
110
112
|
var _default = exports.default = GridCol;
|
package/lib/GridCol/v2/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.default = exports.GridCol = void 0;
|
|
7
|
+
exports.default = exports.GridColBase = exports.GridCol = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
10
10
|
var _emotion = require("@instructure/emotion");
|
|
@@ -12,7 +12,6 @@ var _console = require("@instructure/console");
|
|
|
12
12
|
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
13
13
|
var _props = require("./props.js");
|
|
14
14
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
15
|
-
var _dec, _class;
|
|
16
15
|
/*
|
|
17
16
|
* The MIT License (MIT)
|
|
18
17
|
*
|
|
@@ -36,13 +35,14 @@ var _dec, _class;
|
|
|
36
35
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
37
36
|
* SOFTWARE.
|
|
38
37
|
*/
|
|
38
|
+
|
|
39
39
|
/**
|
|
40
40
|
---
|
|
41
41
|
parent: Grid
|
|
42
42
|
id: Grid.Col
|
|
43
43
|
---
|
|
44
44
|
**/
|
|
45
|
-
|
|
45
|
+
class GridColBase extends _react.Component {
|
|
46
46
|
static displayName = 'GridCol';
|
|
47
47
|
static componentId = 'Grid.Col';
|
|
48
48
|
static allowedProps = _props.allowedProps;
|
|
@@ -105,5 +105,7 @@ let GridCol = exports.GridCol = (_dec = (0, _emotion.withStyleNew)(_styles.defau
|
|
|
105
105
|
children: children
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
|
-
}
|
|
108
|
+
}
|
|
109
|
+
exports.GridColBase = GridColBase;
|
|
110
|
+
const GridCol = exports.GridCol = (0, _emotion.withStyleNew)(_styles.default)(GridColBase);
|
|
109
111
|
var _default = exports.default = GridCol;
|
package/lib/GridRow/v1/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.default = exports.GridRow = void 0;
|
|
7
|
+
exports.default = exports.GridRowBase = exports.GridRow = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
10
10
|
var _index = require("../../GridCol/v1/index.js");
|
|
@@ -13,7 +13,6 @@ var _styles = _interopRequireDefault(require("./styles.js"));
|
|
|
13
13
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
14
14
|
var _props = require("./props.js");
|
|
15
15
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
16
|
-
var _dec, _class;
|
|
17
16
|
/*
|
|
18
17
|
* The MIT License (MIT)
|
|
19
18
|
*
|
|
@@ -37,13 +36,14 @@ var _dec, _class;
|
|
|
37
36
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
38
37
|
* SOFTWARE.
|
|
39
38
|
*/
|
|
39
|
+
|
|
40
40
|
/**
|
|
41
41
|
---
|
|
42
42
|
parent: Grid
|
|
43
43
|
id: Grid.Row
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
|
-
|
|
46
|
+
class GridRowBase extends _react.Component {
|
|
47
47
|
static displayName = 'GridRow';
|
|
48
48
|
static componentId = 'Grid.Row';
|
|
49
49
|
static allowedProps = _props.allowedProps;
|
|
@@ -93,5 +93,7 @@ let GridRow = exports.GridRow = (_dec = (0, _emotion.withStyle)(_styles.default,
|
|
|
93
93
|
children: this.renderChildren()
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
|
-
}
|
|
96
|
+
}
|
|
97
|
+
exports.GridRowBase = GridRowBase;
|
|
98
|
+
const GridRow = exports.GridRow = (0, _emotion.withStyle)(_styles.default, _theme.default)(GridRowBase);
|
|
97
99
|
var _default = exports.default = GridRow;
|
package/lib/GridRow/v2/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.default = exports.GridRow = void 0;
|
|
7
|
+
exports.default = exports.GridRowBase = exports.GridRow = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
10
10
|
var _index = require("../../GridCol/v2/index.js");
|
|
@@ -12,7 +12,6 @@ var _emotion = require("@instructure/emotion");
|
|
|
12
12
|
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
13
13
|
var _props = require("./props.js");
|
|
14
14
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
15
|
-
var _dec, _class;
|
|
16
15
|
/*
|
|
17
16
|
* The MIT License (MIT)
|
|
18
17
|
*
|
|
@@ -36,13 +35,14 @@ var _dec, _class;
|
|
|
36
35
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
37
36
|
* SOFTWARE.
|
|
38
37
|
*/
|
|
38
|
+
|
|
39
39
|
/**
|
|
40
40
|
---
|
|
41
41
|
parent: Grid
|
|
42
42
|
id: Grid.Row
|
|
43
43
|
---
|
|
44
44
|
**/
|
|
45
|
-
|
|
45
|
+
class GridRowBase extends _react.Component {
|
|
46
46
|
static displayName = 'GridRow';
|
|
47
47
|
static componentId = 'Grid.Row';
|
|
48
48
|
static allowedProps = _props.allowedProps;
|
|
@@ -92,5 +92,7 @@ let GridRow = exports.GridRow = (_dec = (0, _emotion.withStyleNew)(_styles.defau
|
|
|
92
92
|
children: this.renderChildren()
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
|
-
}
|
|
95
|
+
}
|
|
96
|
+
exports.GridRowBase = GridRowBase;
|
|
97
|
+
const GridRow = exports.GridRow = (0, _emotion.withStyleNew)(_styles.default)(GridRowBase);
|
|
96
98
|
var _default = exports.default = GridRow;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-grid",
|
|
3
|
-
"version": "11.7.11-snapshot-
|
|
3
|
+
"version": "11.7.11-snapshot-26",
|
|
4
4
|
"description": "A Grid component.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.7",
|
|
18
|
-
"@instructure/console": "11.7.11-snapshot-
|
|
19
|
-
"@instructure/emotion": "11.7.11-snapshot-
|
|
20
|
-
"@instructure/shared-types": "11.7.11-snapshot-
|
|
21
|
-
"@instructure/ui-a11y-content": "11.7.11-snapshot-
|
|
22
|
-
"@instructure/ui-react-utils": "11.7.11-snapshot-
|
|
23
|
-
"@instructure/ui-themes": "11.7.11-snapshot-
|
|
24
|
-
"@instructure/ui-utils": "11.7.11-snapshot-
|
|
18
|
+
"@instructure/console": "11.7.11-snapshot-26",
|
|
19
|
+
"@instructure/emotion": "11.7.11-snapshot-26",
|
|
20
|
+
"@instructure/shared-types": "11.7.11-snapshot-26",
|
|
21
|
+
"@instructure/ui-a11y-content": "11.7.11-snapshot-26",
|
|
22
|
+
"@instructure/ui-react-utils": "11.7.11-snapshot-26",
|
|
23
|
+
"@instructure/ui-themes": "11.7.11-snapshot-26",
|
|
24
|
+
"@instructure/ui-utils": "11.7.11-snapshot-26"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@instructure/ui-babel-preset": "11.7.11-snapshot-
|
|
28
|
-
"@instructure/ui-color-utils": "11.7.11-snapshot-
|
|
27
|
+
"@instructure/ui-babel-preset": "11.7.11-snapshot-26",
|
|
28
|
+
"@instructure/ui-color-utils": "11.7.11-snapshot-26",
|
|
29
29
|
"vitest": "^5.0.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
package/src/Grid/v1/index.tsx
CHANGED
|
@@ -48,8 +48,7 @@ import type { GridProps } from './props'
|
|
|
48
48
|
category: components
|
|
49
49
|
---
|
|
50
50
|
**/
|
|
51
|
-
|
|
52
|
-
class Grid extends Component<GridProps> {
|
|
51
|
+
export class GridBase extends Component<GridProps> {
|
|
53
52
|
static displayName = 'Grid'
|
|
54
53
|
static readonly componentId = 'Grid'
|
|
55
54
|
|
|
@@ -115,5 +114,8 @@ class Grid extends Component<GridProps> {
|
|
|
115
114
|
}
|
|
116
115
|
}
|
|
117
116
|
|
|
117
|
+
const Grid = withStyle(generateStyle, generateComponentTheme)(GridBase)
|
|
118
|
+
type Grid = GridBase
|
|
119
|
+
|
|
118
120
|
export default Grid
|
|
119
121
|
export { Grid, GridRow, GridCol }
|
package/src/Grid/v2/index.tsx
CHANGED
|
@@ -47,8 +47,7 @@ import type { GridProps } from './props'
|
|
|
47
47
|
category: components
|
|
48
48
|
---
|
|
49
49
|
**/
|
|
50
|
-
|
|
51
|
-
class Grid extends Component<GridProps> {
|
|
50
|
+
export class GridBase extends Component<GridProps> {
|
|
52
51
|
static displayName = 'Grid'
|
|
53
52
|
static readonly componentId = 'Grid'
|
|
54
53
|
|
|
@@ -114,5 +113,8 @@ class Grid extends Component<GridProps> {
|
|
|
114
113
|
}
|
|
115
114
|
}
|
|
116
115
|
|
|
116
|
+
const Grid = withStyleNew(generateStyle)(GridBase)
|
|
117
|
+
type Grid = GridBase
|
|
118
|
+
|
|
117
119
|
export default Grid
|
|
118
120
|
export { Grid, GridRow, GridCol }
|
package/src/GridCol/v1/index.tsx
CHANGED
|
@@ -41,8 +41,7 @@ parent: Grid
|
|
|
41
41
|
id: Grid.Col
|
|
42
42
|
---
|
|
43
43
|
**/
|
|
44
|
-
|
|
45
|
-
class GridCol extends Component<GridColProps> {
|
|
44
|
+
export class GridColBase extends Component<GridColProps> {
|
|
46
45
|
static displayName = 'GridCol'
|
|
47
46
|
static readonly componentId = 'Grid.Col'
|
|
48
47
|
|
|
@@ -111,5 +110,8 @@ class GridCol extends Component<GridColProps> {
|
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
112
|
|
|
113
|
+
const GridCol = withStyle(generateStyle, generateComponentTheme)(GridColBase)
|
|
114
|
+
type GridCol = GridColBase
|
|
115
|
+
|
|
114
116
|
export default GridCol
|
|
115
117
|
export { GridCol }
|
package/src/GridCol/v2/index.tsx
CHANGED
|
@@ -40,8 +40,7 @@ parent: Grid
|
|
|
40
40
|
id: Grid.Col
|
|
41
41
|
---
|
|
42
42
|
**/
|
|
43
|
-
|
|
44
|
-
class GridCol extends Component<GridColProps> {
|
|
43
|
+
export class GridColBase extends Component<GridColProps> {
|
|
45
44
|
static displayName = 'GridCol'
|
|
46
45
|
static readonly componentId = 'Grid.Col'
|
|
47
46
|
|
|
@@ -110,5 +109,8 @@ class GridCol extends Component<GridColProps> {
|
|
|
110
109
|
}
|
|
111
110
|
}
|
|
112
111
|
|
|
112
|
+
const GridCol = withStyleNew(generateStyle)(GridColBase)
|
|
113
|
+
type GridCol = GridColBase
|
|
114
|
+
|
|
113
115
|
export default GridCol
|
|
114
116
|
export { GridCol }
|
package/src/GridRow/v1/index.tsx
CHANGED
|
@@ -48,8 +48,7 @@ parent: Grid
|
|
|
48
48
|
id: Grid.Row
|
|
49
49
|
---
|
|
50
50
|
**/
|
|
51
|
-
|
|
52
|
-
class GridRow extends Component<GridRowProps> {
|
|
51
|
+
export class GridRowBase extends Component<GridRowProps> {
|
|
53
52
|
static displayName = 'GridRow'
|
|
54
53
|
static readonly componentId = 'Grid.Row'
|
|
55
54
|
|
|
@@ -107,5 +106,8 @@ class GridRow extends Component<GridRowProps> {
|
|
|
107
106
|
}
|
|
108
107
|
}
|
|
109
108
|
|
|
109
|
+
const GridRow = withStyle(generateStyle, generateComponentTheme)(GridRowBase)
|
|
110
|
+
type GridRow = GridRowBase
|
|
111
|
+
|
|
110
112
|
export default GridRow
|
|
111
113
|
export { GridRow }
|
package/src/GridRow/v2/index.tsx
CHANGED
|
@@ -47,8 +47,7 @@ parent: Grid
|
|
|
47
47
|
id: Grid.Row
|
|
48
48
|
---
|
|
49
49
|
**/
|
|
50
|
-
|
|
51
|
-
class GridRow extends Component<GridRowProps> {
|
|
50
|
+
export class GridRowBase extends Component<GridRowProps> {
|
|
52
51
|
static displayName = 'GridRow'
|
|
53
52
|
static readonly componentId = 'Grid.Row'
|
|
54
53
|
|
|
@@ -106,5 +105,8 @@ class GridRow extends Component<GridRowProps> {
|
|
|
106
105
|
}
|
|
107
106
|
}
|
|
108
107
|
|
|
108
|
+
const GridRow = withStyleNew(generateStyle)(GridRowBase)
|
|
109
|
+
type GridRow = GridRowBase
|
|
110
|
+
|
|
109
111
|
export default GridRow
|
|
110
112
|
export { GridRow }
|