@instructure/ui-grid 8.12.1-snapshot.44 → 8.12.1-snapshot.50
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/es/Grid/index.js +2 -2
- package/es/GridCol/index.js +2 -2
- package/es/GridCol/styles.js +6 -2
- package/es/GridRow/index.js +2 -2
- package/lib/Grid/index.js +8 -7
- package/lib/Grid/props.js +1 -1
- package/lib/GridCol/index.js +3 -3
- package/lib/GridCol/props.js +1 -1
- package/lib/GridCol/styles.js +6 -2
- package/lib/GridRow/index.js +3 -3
- package/lib/GridRow/props.js +1 -1
- package/lib/index.js +4 -4
- package/package.json +13 -13
package/es/Grid/index.js
CHANGED
|
@@ -45,8 +45,8 @@ category: components
|
|
|
45
45
|
@tsProps
|
|
46
46
|
**/
|
|
47
47
|
let Grid = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_temp = _class2 = class Grid extends Component {
|
|
48
|
-
constructor(
|
|
49
|
-
super(...
|
|
48
|
+
constructor() {
|
|
49
|
+
super(...arguments);
|
|
50
50
|
this.ref = null;
|
|
51
51
|
|
|
52
52
|
this.handleRef = el => {
|
package/es/GridCol/index.js
CHANGED
|
@@ -40,8 +40,8 @@ id: Grid.Col
|
|
|
40
40
|
@tsProps
|
|
41
41
|
**/
|
|
42
42
|
let GridCol = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_temp = _class2 = class GridCol extends Component {
|
|
43
|
-
constructor(
|
|
44
|
-
super(...
|
|
43
|
+
constructor() {
|
|
44
|
+
super(...arguments);
|
|
45
45
|
this.ref = null;
|
|
46
46
|
|
|
47
47
|
this.handleRef = el => {
|
package/es/GridCol/styles.js
CHANGED
|
@@ -140,7 +140,9 @@ const generateStyle = (componentTheme, props) => {
|
|
|
140
140
|
return offset;
|
|
141
141
|
};
|
|
142
142
|
|
|
143
|
-
const getFlexColumnBySize = (
|
|
143
|
+
const getFlexColumnBySize = function () {
|
|
144
|
+
let size = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : '1';
|
|
145
|
+
|
|
144
146
|
switch (size) {
|
|
145
147
|
case 'auto':
|
|
146
148
|
return {
|
|
@@ -164,7 +166,9 @@ const generateStyle = (componentTheme, props) => {
|
|
|
164
166
|
}
|
|
165
167
|
};
|
|
166
168
|
|
|
167
|
-
const getColumnOffsetBySize = (
|
|
169
|
+
const getColumnOffsetBySize = function () {
|
|
170
|
+
let size = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : '1';
|
|
171
|
+
|
|
168
172
|
switch (size) {
|
|
169
173
|
case 'auto':
|
|
170
174
|
case 12:
|
package/es/GridRow/index.js
CHANGED
|
@@ -45,8 +45,8 @@ id: Grid.Row
|
|
|
45
45
|
@tsProps
|
|
46
46
|
**/
|
|
47
47
|
let GridRow = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_temp = _class2 = class GridRow extends Component {
|
|
48
|
-
constructor(
|
|
49
|
-
super(...
|
|
48
|
+
constructor() {
|
|
49
|
+
super(...arguments);
|
|
50
50
|
this.ref = null;
|
|
51
51
|
|
|
52
52
|
this.handleRef = el => {
|
package/lib/Grid/index.js
CHANGED
|
@@ -5,19 +5,20 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
|
|
8
|
+
exports.Grid = void 0;
|
|
9
|
+
Object.defineProperty(exports, "GridCol", {
|
|
9
10
|
enumerable: true,
|
|
10
11
|
get: function () {
|
|
11
|
-
return
|
|
12
|
+
return _GridCol.GridCol;
|
|
12
13
|
}
|
|
13
14
|
});
|
|
14
|
-
Object.defineProperty(exports, "
|
|
15
|
+
Object.defineProperty(exports, "GridRow", {
|
|
15
16
|
enumerable: true,
|
|
16
17
|
get: function () {
|
|
17
|
-
return
|
|
18
|
+
return _GridRow.GridRow;
|
|
18
19
|
}
|
|
19
20
|
});
|
|
20
|
-
exports.
|
|
21
|
+
exports.default = void 0;
|
|
21
22
|
|
|
22
23
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
23
24
|
|
|
@@ -55,8 +56,8 @@ category: components
|
|
|
55
56
|
@tsProps
|
|
56
57
|
**/
|
|
57
58
|
let Grid = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_temp = _class2 = class Grid extends _react.Component {
|
|
58
|
-
constructor(
|
|
59
|
-
super(...
|
|
59
|
+
constructor() {
|
|
60
|
+
super(...arguments);
|
|
60
61
|
this.ref = null;
|
|
61
62
|
|
|
62
63
|
this.handleRef = el => {
|
package/lib/Grid/props.js
CHANGED
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.propTypes = exports.allowedProps = void 0;
|
|
9
9
|
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
|
package/lib/GridCol/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.default = exports.GridCol = void 0;
|
|
9
9
|
|
|
10
10
|
var _react = require("react");
|
|
11
11
|
|
|
@@ -29,8 +29,8 @@ id: Grid.Col
|
|
|
29
29
|
@tsProps
|
|
30
30
|
**/
|
|
31
31
|
let GridCol = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_temp = _class2 = class GridCol extends _react.Component {
|
|
32
|
-
constructor(
|
|
33
|
-
super(...
|
|
32
|
+
constructor() {
|
|
33
|
+
super(...arguments);
|
|
34
34
|
this.ref = null;
|
|
35
35
|
|
|
36
36
|
this.handleRef = el => {
|
package/lib/GridCol/props.js
CHANGED
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.propTypes = exports.allowedProps = void 0;
|
|
9
9
|
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
|
package/lib/GridCol/styles.js
CHANGED
|
@@ -147,7 +147,9 @@ const generateStyle = (componentTheme, props) => {
|
|
|
147
147
|
return offset;
|
|
148
148
|
};
|
|
149
149
|
|
|
150
|
-
const getFlexColumnBySize = (
|
|
150
|
+
const getFlexColumnBySize = function () {
|
|
151
|
+
let size = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : '1';
|
|
152
|
+
|
|
151
153
|
switch (size) {
|
|
152
154
|
case 'auto':
|
|
153
155
|
return {
|
|
@@ -171,7 +173,9 @@ const generateStyle = (componentTheme, props) => {
|
|
|
171
173
|
}
|
|
172
174
|
};
|
|
173
175
|
|
|
174
|
-
const getColumnOffsetBySize = (
|
|
176
|
+
const getColumnOffsetBySize = function () {
|
|
177
|
+
let size = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : '1';
|
|
178
|
+
|
|
175
179
|
switch (size) {
|
|
176
180
|
case 'auto':
|
|
177
181
|
case 12:
|
package/lib/GridRow/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.default = exports.GridRow = void 0;
|
|
9
9
|
|
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
11
|
|
|
@@ -42,8 +42,8 @@ id: Grid.Row
|
|
|
42
42
|
@tsProps
|
|
43
43
|
**/
|
|
44
44
|
let GridRow = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_temp = _class2 = class GridRow extends _react.Component {
|
|
45
|
-
constructor(
|
|
46
|
-
super(...
|
|
45
|
+
constructor() {
|
|
46
|
+
super(...arguments);
|
|
47
47
|
this.ref = null;
|
|
48
48
|
|
|
49
49
|
this.handleRef = el => {
|
package/lib/GridRow/props.js
CHANGED
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.propTypes = exports.allowedProps = void 0;
|
|
9
9
|
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
|
package/lib/index.js
CHANGED
|
@@ -9,16 +9,16 @@ Object.defineProperty(exports, "Grid", {
|
|
|
9
9
|
return _Grid.Grid;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
Object.defineProperty(exports, "
|
|
12
|
+
Object.defineProperty(exports, "GridCol", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
|
-
return _Grid.
|
|
15
|
+
return _Grid.GridCol;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
Object.defineProperty(exports, "
|
|
18
|
+
Object.defineProperty(exports, "GridRow", {
|
|
19
19
|
enumerable: true,
|
|
20
20
|
get: function () {
|
|
21
|
-
return _Grid.
|
|
21
|
+
return _Grid.GridRow;
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-grid",
|
|
3
|
-
"version": "8.12.1-snapshot.
|
|
3
|
+
"version": "8.12.1-snapshot.50+3786369ec",
|
|
4
4
|
"description": "A Grid component.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.13.10",
|
|
28
|
-
"@instructure/emotion": "8.12.1-snapshot.
|
|
29
|
-
"@instructure/shared-types": "8.12.1-snapshot.
|
|
30
|
-
"@instructure/ui-a11y-content": "8.12.1-snapshot.
|
|
31
|
-
"@instructure/ui-prop-types": "8.12.1-snapshot.
|
|
32
|
-
"@instructure/ui-react-utils": "8.12.1-snapshot.
|
|
33
|
-
"@instructure/ui-testable": "8.12.1-snapshot.
|
|
34
|
-
"@instructure/ui-utils": "8.12.1-snapshot.
|
|
28
|
+
"@instructure/emotion": "8.12.1-snapshot.50+3786369ec",
|
|
29
|
+
"@instructure/shared-types": "8.12.1-snapshot.50+3786369ec",
|
|
30
|
+
"@instructure/ui-a11y-content": "8.12.1-snapshot.50+3786369ec",
|
|
31
|
+
"@instructure/ui-prop-types": "8.12.1-snapshot.50+3786369ec",
|
|
32
|
+
"@instructure/ui-react-utils": "8.12.1-snapshot.50+3786369ec",
|
|
33
|
+
"@instructure/ui-testable": "8.12.1-snapshot.50+3786369ec",
|
|
34
|
+
"@instructure/ui-utils": "8.12.1-snapshot.50+3786369ec",
|
|
35
35
|
"prop-types": "^15"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@instructure/ui-babel-preset": "8.12.1-snapshot.
|
|
39
|
-
"@instructure/ui-color-utils": "8.12.1-snapshot.
|
|
40
|
-
"@instructure/ui-test-utils": "8.12.1-snapshot.
|
|
41
|
-
"@instructure/ui-themes": "8.12.1-snapshot.
|
|
38
|
+
"@instructure/ui-babel-preset": "8.12.1-snapshot.50+3786369ec",
|
|
39
|
+
"@instructure/ui-color-utils": "8.12.1-snapshot.50+3786369ec",
|
|
40
|
+
"@instructure/ui-test-utils": "8.12.1-snapshot.50+3786369ec",
|
|
41
|
+
"@instructure/ui-themes": "8.12.1-snapshot.50+3786369ec"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": ">=16.8 <=17"
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"sideEffects": false,
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "3786369ec892bc0f716844828cc2729447adb8be"
|
|
51
51
|
}
|