@instructure/ui-modal 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/Modal/ModalBody/index.js +2 -2
- package/es/Modal/ModalFooter/index.js +2 -2
- package/es/Modal/ModalHeader/index.js +2 -2
- package/es/Modal/ModalLocator.js +6 -6
- package/lib/Modal/ModalBody/index.js +3 -3
- package/lib/Modal/ModalBody/props.js +1 -1
- package/lib/Modal/ModalFooter/index.js +3 -3
- package/lib/Modal/ModalFooter/props.js +1 -1
- package/lib/Modal/ModalHeader/index.js +3 -3
- package/lib/Modal/ModalHeader/props.js +1 -1
- package/lib/Modal/ModalLocator.js +6 -6
- package/lib/Modal/index.js +8 -7
- package/lib/Modal/props.js +1 -1
- package/package.json +21 -21
|
@@ -44,8 +44,8 @@ id: Modal.Body
|
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
46
|
let ModalBody = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class ModalBody extends Component {
|
|
47
|
-
constructor(
|
|
48
|
-
super(...
|
|
47
|
+
constructor() {
|
|
48
|
+
super(...arguments);
|
|
49
49
|
this.ref = null;
|
|
50
50
|
|
|
51
51
|
this.handleRef = el => {
|
|
@@ -43,8 +43,8 @@ id: Modal.Footer
|
|
|
43
43
|
---
|
|
44
44
|
**/
|
|
45
45
|
let ModalFooter = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class ModalFooter extends Component {
|
|
46
|
-
constructor(
|
|
47
|
-
super(...
|
|
46
|
+
constructor() {
|
|
47
|
+
super(...arguments);
|
|
48
48
|
this.ref = null;
|
|
49
49
|
|
|
50
50
|
this.handleRef = el => {
|
|
@@ -44,8 +44,8 @@ id: Modal.Header
|
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
46
|
let ModalHeader = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class ModalHeader extends Component {
|
|
47
|
-
constructor(
|
|
48
|
-
super(...
|
|
47
|
+
constructor() {
|
|
48
|
+
super(...arguments);
|
|
49
49
|
this.ref = null;
|
|
50
50
|
|
|
51
51
|
this.handleRef = el => {
|
package/es/Modal/ModalLocator.js
CHANGED
|
@@ -27,13 +27,13 @@ const ModalHeaderLocator = locator(Modal.Header.selector);
|
|
|
27
27
|
const ModalBodyLocator = locator(Modal.Body.selector);
|
|
28
28
|
const ModalFooterLocator = locator(Modal.Footer.selector);
|
|
29
29
|
export const ModalLocator = locator(Modal.selector, {
|
|
30
|
-
findHeader: (
|
|
31
|
-
return ModalHeaderLocator.find(...
|
|
30
|
+
findHeader: function () {
|
|
31
|
+
return ModalHeaderLocator.find(...arguments);
|
|
32
32
|
},
|
|
33
|
-
findBody: (
|
|
34
|
-
return ModalBodyLocator.find(...
|
|
33
|
+
findBody: function () {
|
|
34
|
+
return ModalBodyLocator.find(...arguments);
|
|
35
35
|
},
|
|
36
|
-
findFooter: (
|
|
37
|
-
return ModalFooterLocator.find(...
|
|
36
|
+
findFooter: function () {
|
|
37
|
+
return ModalFooterLocator.find(...arguments);
|
|
38
38
|
}
|
|
39
39
|
});
|
|
@@ -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.ModalBody = void 0;
|
|
9
9
|
|
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
11
|
|
|
@@ -36,8 +36,8 @@ id: Modal.Body
|
|
|
36
36
|
---
|
|
37
37
|
**/
|
|
38
38
|
let ModalBody = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class ModalBody extends _react.Component {
|
|
39
|
-
constructor(
|
|
40
|
-
super(...
|
|
39
|
+
constructor() {
|
|
40
|
+
super(...arguments);
|
|
41
41
|
this.ref = null;
|
|
42
42
|
|
|
43
43
|
this.handleRef = el => {
|
|
@@ -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
|
|
|
@@ -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.ModalFooter = void 0;
|
|
9
9
|
|
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
11
|
|
|
@@ -34,8 +34,8 @@ id: Modal.Footer
|
|
|
34
34
|
---
|
|
35
35
|
**/
|
|
36
36
|
let ModalFooter = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class ModalFooter extends _react.Component {
|
|
37
|
-
constructor(
|
|
38
|
-
super(...
|
|
37
|
+
constructor() {
|
|
38
|
+
super(...arguments);
|
|
39
39
|
this.ref = null;
|
|
40
40
|
|
|
41
41
|
this.handleRef = el => {
|
|
@@ -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
|
|
|
@@ -7,7 +7,7 @@ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWild
|
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
|
8
8
|
value: true
|
|
9
9
|
});
|
|
10
|
-
exports.
|
|
10
|
+
exports.default = exports.ModalHeader = void 0;
|
|
11
11
|
|
|
12
12
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
13
|
|
|
@@ -40,8 +40,8 @@ id: Modal.Header
|
|
|
40
40
|
---
|
|
41
41
|
**/
|
|
42
42
|
let ModalHeader = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class ModalHeader extends _react.Component {
|
|
43
|
-
constructor(
|
|
44
|
-
super(...
|
|
43
|
+
constructor() {
|
|
44
|
+
super(...arguments);
|
|
45
45
|
this.ref = null;
|
|
46
46
|
|
|
47
47
|
this.handleRef = el => {
|
|
@@ -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
|
|
|
@@ -36,14 +36,14 @@ const ModalHeaderLocator = (0, _locator.locator)(_index.Modal.Header.selector);
|
|
|
36
36
|
const ModalBodyLocator = (0, _locator.locator)(_index.Modal.Body.selector);
|
|
37
37
|
const ModalFooterLocator = (0, _locator.locator)(_index.Modal.Footer.selector);
|
|
38
38
|
const ModalLocator = (0, _locator.locator)(_index.Modal.selector, {
|
|
39
|
-
findHeader: (
|
|
40
|
-
return ModalHeaderLocator.find(...
|
|
39
|
+
findHeader: function () {
|
|
40
|
+
return ModalHeaderLocator.find(...arguments);
|
|
41
41
|
},
|
|
42
|
-
findBody: (
|
|
43
|
-
return ModalBodyLocator.find(...
|
|
42
|
+
findBody: function () {
|
|
43
|
+
return ModalBodyLocator.find(...arguments);
|
|
44
44
|
},
|
|
45
|
-
findFooter: (
|
|
46
|
-
return ModalFooterLocator.find(...
|
|
45
|
+
findFooter: function () {
|
|
46
|
+
return ModalFooterLocator.find(...arguments);
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
49
|
exports.ModalLocator = ModalLocator;
|
package/lib/Modal/index.js
CHANGED
|
@@ -5,12 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () {
|
|
11
|
-
return _ModalHeader.ModalHeader;
|
|
12
|
-
}
|
|
13
|
-
});
|
|
8
|
+
exports.Modal = void 0;
|
|
14
9
|
Object.defineProperty(exports, "ModalBody", {
|
|
15
10
|
enumerable: true,
|
|
16
11
|
get: function () {
|
|
@@ -23,7 +18,13 @@ Object.defineProperty(exports, "ModalFooter", {
|
|
|
23
18
|
return _ModalFooter.ModalFooter;
|
|
24
19
|
}
|
|
25
20
|
});
|
|
26
|
-
|
|
21
|
+
Object.defineProperty(exports, "ModalHeader", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () {
|
|
24
|
+
return _ModalHeader.ModalHeader;
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
exports.default = void 0;
|
|
27
28
|
|
|
28
29
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
29
30
|
|
package/lib/Modal/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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-modal",
|
|
3
|
-
"version": "8.12.1-snapshot.
|
|
3
|
+
"version": "8.12.1-snapshot.50+3786369ec",
|
|
4
4
|
"description": "A component for displaying content in a dialog overlay",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -25,35 +25,35 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.13.10",
|
|
28
|
-
"@instructure/console": "8.12.1-snapshot.
|
|
29
|
-
"@instructure/emotion": "8.12.1-snapshot.
|
|
30
|
-
"@instructure/shared-types": "8.12.1-snapshot.
|
|
31
|
-
"@instructure/ui-buttons": "8.12.1-snapshot.
|
|
32
|
-
"@instructure/ui-dialog": "8.12.1-snapshot.
|
|
33
|
-
"@instructure/ui-motion": "8.12.1-snapshot.
|
|
34
|
-
"@instructure/ui-overlays": "8.12.1-snapshot.
|
|
35
|
-
"@instructure/ui-portal": "8.12.1-snapshot.
|
|
36
|
-
"@instructure/ui-prop-types": "8.12.1-snapshot.
|
|
37
|
-
"@instructure/ui-react-utils": "8.12.1-snapshot.
|
|
38
|
-
"@instructure/ui-testable": "8.12.1-snapshot.
|
|
39
|
-
"@instructure/ui-utils": "8.12.1-snapshot.
|
|
40
|
-
"@instructure/ui-view": "8.12.1-snapshot.
|
|
28
|
+
"@instructure/console": "8.12.1-snapshot.50+3786369ec",
|
|
29
|
+
"@instructure/emotion": "8.12.1-snapshot.50+3786369ec",
|
|
30
|
+
"@instructure/shared-types": "8.12.1-snapshot.50+3786369ec",
|
|
31
|
+
"@instructure/ui-buttons": "8.12.1-snapshot.50+3786369ec",
|
|
32
|
+
"@instructure/ui-dialog": "8.12.1-snapshot.50+3786369ec",
|
|
33
|
+
"@instructure/ui-motion": "8.12.1-snapshot.50+3786369ec",
|
|
34
|
+
"@instructure/ui-overlays": "8.12.1-snapshot.50+3786369ec",
|
|
35
|
+
"@instructure/ui-portal": "8.12.1-snapshot.50+3786369ec",
|
|
36
|
+
"@instructure/ui-prop-types": "8.12.1-snapshot.50+3786369ec",
|
|
37
|
+
"@instructure/ui-react-utils": "8.12.1-snapshot.50+3786369ec",
|
|
38
|
+
"@instructure/ui-testable": "8.12.1-snapshot.50+3786369ec",
|
|
39
|
+
"@instructure/ui-utils": "8.12.1-snapshot.50+3786369ec",
|
|
40
|
+
"@instructure/ui-view": "8.12.1-snapshot.50+3786369ec",
|
|
41
41
|
"prop-types": "^15"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": ">=16.8 <=17"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@instructure/ui-babel-preset": "8.12.1-snapshot.
|
|
48
|
-
"@instructure/ui-color-utils": "8.12.1-snapshot.
|
|
49
|
-
"@instructure/ui-position": "8.12.1-snapshot.
|
|
50
|
-
"@instructure/ui-test-locator": "8.12.1-snapshot.
|
|
51
|
-
"@instructure/ui-test-utils": "8.12.1-snapshot.
|
|
52
|
-
"@instructure/ui-themes": "8.12.1-snapshot.
|
|
47
|
+
"@instructure/ui-babel-preset": "8.12.1-snapshot.50+3786369ec",
|
|
48
|
+
"@instructure/ui-color-utils": "8.12.1-snapshot.50+3786369ec",
|
|
49
|
+
"@instructure/ui-position": "8.12.1-snapshot.50+3786369ec",
|
|
50
|
+
"@instructure/ui-test-locator": "8.12.1-snapshot.50+3786369ec",
|
|
51
|
+
"@instructure/ui-test-utils": "8.12.1-snapshot.50+3786369ec",
|
|
52
|
+
"@instructure/ui-themes": "8.12.1-snapshot.50+3786369ec"
|
|
53
53
|
},
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
57
|
"sideEffects": false,
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "3786369ec892bc0f716844828cc2729447adb8be"
|
|
59
59
|
}
|