@instructure/ui-modal 10.13.0 → 10.13.1-pr-snapshot-1741357986437
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/lib/Modal/ModalBody/__new-tests__/ModalBody.test.js +2 -2
- package/lib/Modal/ModalBody/index.js +8 -8
- package/lib/Modal/ModalFooter/index.js +4 -4
- package/lib/Modal/ModalHeader/index.js +6 -7
- package/lib/Modal/__new-tests__/Modal.test.js +2 -2
- package/lib/Modal/index.js +18 -19
- package/lib/Modal/props.js +3 -3
- package/package.json +19 -19
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
|
+
## [10.13.1-pr-snapshot-1741357986437](https://github.com/instructure/instructure-ui/compare/v10.13.0...v10.13.1-pr-snapshot-1741357986437) (2025-03-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-modal
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [10.13.0](https://github.com/instructure/instructure-ui/compare/v10.12.0...v10.13.0) (2025-03-06)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @instructure/ui-modal
|
|
@@ -7,7 +7,7 @@ var _vitest = require("vitest");
|
|
|
7
7
|
require("@testing-library/jest-dom");
|
|
8
8
|
var _uiColorUtils = require("@instructure/ui-color-utils");
|
|
9
9
|
var _uiThemes = _interopRequireDefault(require("@instructure/ui-themes"));
|
|
10
|
-
var
|
|
10
|
+
var _uiView = require("@instructure/ui-view");
|
|
11
11
|
var _index = require("../index");
|
|
12
12
|
var _theme = _interopRequireDefault(require("../theme"));
|
|
13
13
|
var _ModalBody, _ModalBody2, _ModalBody3;
|
|
@@ -75,7 +75,7 @@ describe('<ModalBody />', () => {
|
|
|
75
75
|
elementRef: () => {},
|
|
76
76
|
as: 'section'
|
|
77
77
|
};
|
|
78
|
-
const allProps =
|
|
78
|
+
const allProps = _uiView.View.allowedProps.filter(prop => prop !== 'children');
|
|
79
79
|
allProps.forEach(prop => {
|
|
80
80
|
if (prop in allowedProps) {
|
|
81
81
|
it(`should allow the '${prop}' prop`, () => {
|
|
@@ -7,10 +7,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = exports.ModalBody = void 0;
|
|
8
8
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
9
9
|
var _react = require("react");
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
10
|
+
var _uiView = require("@instructure/ui-view");
|
|
11
|
+
var _uiTestable = require("@instructure/ui-testable");
|
|
12
|
+
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
13
|
+
var _uiDomUtils = require("@instructure/ui-dom-utils");
|
|
14
14
|
var _emotion = require("@instructure/emotion");
|
|
15
15
|
var _styles = _interopRequireDefault(require("./styles"));
|
|
16
16
|
var _theme = _interopRequireDefault(require("./theme"));
|
|
@@ -47,7 +47,7 @@ parent: Modal
|
|
|
47
47
|
id: Modal.Body
|
|
48
48
|
---
|
|
49
49
|
**/
|
|
50
|
-
let ModalBody = exports.ModalBody = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0,
|
|
50
|
+
let ModalBody = exports.ModalBody = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _uiTestable.testable)(), _dec(_class = _dec2(_class = (_ModalBody = class ModalBody extends _react.Component {
|
|
51
51
|
constructor(props) {
|
|
52
52
|
super(props);
|
|
53
53
|
this.ref = null;
|
|
@@ -67,7 +67,7 @@ let ModalBody = exports.ModalBody = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
67
67
|
(_this$props$makeStyle = (_this$props = this.props).makeStyles) === null || _this$props$makeStyle === void 0 ? void 0 : _this$props$makeStyle.call(_this$props);
|
|
68
68
|
|
|
69
69
|
// We detect if -moz- prefixed style is present to identify whether we are in Firefox browser
|
|
70
|
-
const style = this.ref && (0,
|
|
70
|
+
const style = this.ref && (0, _uiDomUtils.getComputedStyle)(this.ref);
|
|
71
71
|
const isFirefox = !!(style && Array.prototype.slice.call(style).join('').match(/(?:-moz-)/));
|
|
72
72
|
if (isFirefox) {
|
|
73
73
|
this.setState({
|
|
@@ -89,9 +89,9 @@ let ModalBody = exports.ModalBody = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
89
89
|
padding = _this$props3.padding,
|
|
90
90
|
children = _this$props3.children,
|
|
91
91
|
rest = (0, _objectWithoutProperties2.default)(_this$props3, _excluded);
|
|
92
|
-
const passthroughProps =
|
|
92
|
+
const passthroughProps = _uiView.View.omitViewProps((0, _uiReactUtils.omitProps)(rest, ModalBody.allowedProps), ModalBody);
|
|
93
93
|
const isFit = overflow === 'fit';
|
|
94
|
-
return (0, _emotion.jsx)(
|
|
94
|
+
return (0, _emotion.jsx)(_uiView.View, Object.assign({}, passthroughProps, {
|
|
95
95
|
display: "block",
|
|
96
96
|
width: isFit ? '100%' : void 0,
|
|
97
97
|
height: isFit ? '100%' : void 0,
|
|
@@ -7,8 +7,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = exports.ModalFooter = void 0;
|
|
8
8
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
9
9
|
var _react = require("react");
|
|
10
|
-
var
|
|
11
|
-
var
|
|
10
|
+
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
11
|
+
var _uiTestable = require("@instructure/ui-testable");
|
|
12
12
|
var _emotion = require("@instructure/emotion");
|
|
13
13
|
var _styles = _interopRequireDefault(require("./styles"));
|
|
14
14
|
var _theme = _interopRequireDefault(require("./theme"));
|
|
@@ -45,7 +45,7 @@ parent: Modal
|
|
|
45
45
|
id: Modal.Footer
|
|
46
46
|
---
|
|
47
47
|
**/
|
|
48
|
-
let ModalFooter = exports.ModalFooter = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0,
|
|
48
|
+
let ModalFooter = exports.ModalFooter = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _uiTestable.testable)(), _dec(_class = _dec2(_class = (_ModalFooter = class ModalFooter extends _react.Component {
|
|
49
49
|
constructor(...args) {
|
|
50
50
|
super(...args);
|
|
51
51
|
this.ref = null;
|
|
@@ -68,7 +68,7 @@ let ModalFooter = exports.ModalFooter = (_dec = (0, _emotion.withStyle)(_styles.
|
|
|
68
68
|
rest = (0, _objectWithoutProperties2.default)(_this$props3, _excluded);
|
|
69
69
|
return (0, _emotion.jsx)("div", Object.assign({
|
|
70
70
|
css: (_this$props$styles = this.props.styles) === null || _this$props$styles === void 0 ? void 0 : _this$props$styles.modalFooter
|
|
71
|
-
}, (0,
|
|
71
|
+
}, (0, _uiReactUtils.passthroughProps)(rest), {
|
|
72
72
|
ref: this.handleRef
|
|
73
73
|
}), children);
|
|
74
74
|
}
|
|
@@ -8,11 +8,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.default = exports.ModalHeader = void 0;
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var _testable = require("@instructure/ui-testable/lib/testable.js");
|
|
11
|
+
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
12
|
+
var _uiTestable = require("@instructure/ui-testable");
|
|
14
13
|
var _emotion = require("@instructure/emotion");
|
|
15
|
-
var
|
|
14
|
+
var _uiButtons = require("@instructure/ui-buttons");
|
|
16
15
|
var _styles = _interopRequireDefault(require("./styles"));
|
|
17
16
|
var _theme = _interopRequireDefault(require("./theme"));
|
|
18
17
|
var _props = require("./props");
|
|
@@ -48,7 +47,7 @@ parent: Modal
|
|
|
48
47
|
id: Modal.Header
|
|
49
48
|
---
|
|
50
49
|
**/
|
|
51
|
-
let ModalHeader = exports.ModalHeader = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0,
|
|
50
|
+
let ModalHeader = exports.ModalHeader = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _uiTestable.testable)(), _dec(_class = _dec2(_class = (_ModalHeader = class ModalHeader extends _react.Component {
|
|
52
51
|
constructor(...args) {
|
|
53
52
|
super(...args);
|
|
54
53
|
this.ref = null;
|
|
@@ -72,7 +71,7 @@ let ModalHeader = exports.ModalHeader = (_dec = (0, _emotion.withStyle)(_styles.
|
|
|
72
71
|
get usesCloseButton() {
|
|
73
72
|
let hasCloseButton = false;
|
|
74
73
|
_react.default.Children.forEach(this.props.children, child => {
|
|
75
|
-
if (child && (0,
|
|
74
|
+
if (child && (0, _uiReactUtils.matchComponentTypes)(child, [_uiButtons.CloseButton])) {
|
|
76
75
|
hasCloseButton = true;
|
|
77
76
|
}
|
|
78
77
|
});
|
|
@@ -85,7 +84,7 @@ let ModalHeader = exports.ModalHeader = (_dec = (0, _emotion.withStyle)(_styles.
|
|
|
85
84
|
rest = (0, _objectWithoutProperties2.default)(_this$props3, _excluded);
|
|
86
85
|
return (0, _emotion.jsx)("div", Object.assign({
|
|
87
86
|
css: (_this$props$styles = this.props.styles) === null || _this$props$styles === void 0 ? void 0 : _this$props$styles.modalHeader
|
|
88
|
-
}, (0,
|
|
87
|
+
}, (0, _uiReactUtils.passthroughProps)(rest), {
|
|
89
88
|
ref: this.handleRef
|
|
90
89
|
}), children);
|
|
91
90
|
}
|
|
@@ -8,7 +8,7 @@ var _vitest = require("vitest");
|
|
|
8
8
|
var _userEvent = _interopRequireDefault(require("@testing-library/user-event"));
|
|
9
9
|
require("@testing-library/jest-dom");
|
|
10
10
|
var _index = require("../index");
|
|
11
|
-
var
|
|
11
|
+
var _uiView = require("@instructure/ui-view");
|
|
12
12
|
const _excluded = ["label"];
|
|
13
13
|
var _Modal, _Modal2, _Modal$Body, _Modal3, _Modal4, _View, _Modal5, _Modal$Body2, _Modal$Body3, _Modal$Body4, _Modal$Body5, _Modal$Body6, _Modal$Body7, _Modal6, _Modal7, _input, _Modal$Header, _Modal$Body8, _Modal$Footer;
|
|
14
14
|
/*
|
|
@@ -155,7 +155,7 @@ describe('<Modal />', () => {
|
|
|
155
155
|
open: true,
|
|
156
156
|
label: "Modal Dialog",
|
|
157
157
|
shouldReturnFocus: false
|
|
158
|
-
}, _View || (_View = /*#__PURE__*/_react.default.createElement(
|
|
158
|
+
}, _View || (_View = /*#__PURE__*/_react.default.createElement(_uiView.View, null, "This is a custom child")), /*#__PURE__*/_react.default.createElement(_index.Modal.Body, null, bodyText))),
|
|
159
159
|
findByText = _render7.findByText;
|
|
160
160
|
const modalBody = await findByText(bodyText);
|
|
161
161
|
const customChild = await findByText('This is a custom child');
|
package/lib/Modal/index.js
CHANGED
|
@@ -26,15 +26,14 @@ Object.defineProperty(exports, "ModalHeader", {
|
|
|
26
26
|
exports.default = void 0;
|
|
27
27
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
28
28
|
var _react = require("react");
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
35
|
-
var
|
|
36
|
-
var
|
|
37
|
-
var _Mask = require("@instructure/ui-overlays/lib/Mask");
|
|
29
|
+
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
30
|
+
var _uiUtils = require("@instructure/ui-utils");
|
|
31
|
+
var _uiTestable = require("@instructure/ui-testable");
|
|
32
|
+
var _uiDomUtils = require("@instructure/ui-dom-utils");
|
|
33
|
+
var _uiMotion = require("@instructure/ui-motion");
|
|
34
|
+
var _uiPortal = require("@instructure/ui-portal");
|
|
35
|
+
var _uiDialog = require("@instructure/ui-dialog");
|
|
36
|
+
var _uiOverlays = require("@instructure/ui-overlays");
|
|
38
37
|
var _ModalHeader = require("./ModalHeader");
|
|
39
38
|
var _ModalBody = require("./ModalBody");
|
|
40
39
|
var _ModalFooter = require("./ModalFooter");
|
|
@@ -74,7 +73,7 @@ category: components
|
|
|
74
73
|
tags: overlay, portal, dialog
|
|
75
74
|
---
|
|
76
75
|
**/
|
|
77
|
-
let Modal = exports.Modal = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0,
|
|
76
|
+
let Modal = exports.Modal = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _uiTestable.testable)(), _dec(_class = _dec2(_class = (_Modal = class Modal extends _react.Component {
|
|
78
77
|
constructor(props) {
|
|
79
78
|
var _props$open;
|
|
80
79
|
super(props);
|
|
@@ -105,7 +104,7 @@ let Modal = exports.Modal = (_dec = (0, _emotion.withStyle)(_styles.default, _th
|
|
|
105
104
|
};
|
|
106
105
|
this.getWindowHeightInRem = () => {
|
|
107
106
|
var _getComputedStyle;
|
|
108
|
-
if (!
|
|
107
|
+
if (!_uiDomUtils.canUseDOM) {
|
|
109
108
|
return Infinity;
|
|
110
109
|
}
|
|
111
110
|
const rootFontSize = parseFloat(((_getComputedStyle = getComputedStyle(document.documentElement)) === null || _getComputedStyle === void 0 ? void 0 : _getComputedStyle.fontSize) || '16');
|
|
@@ -183,7 +182,7 @@ let Modal = exports.Modal = (_dec = (0, _emotion.withStyle)(_styles.default, _th
|
|
|
183
182
|
if (/*#__PURE__*/(0, _react.isValidElement)(child)) {
|
|
184
183
|
if (child.type === Modal.Header || child.type === Modal.Body) {
|
|
185
184
|
if (child.type === Modal.Header) {
|
|
186
|
-
const headerWithProp = (0,
|
|
185
|
+
const headerWithProp = (0, _uiReactUtils.safeCloneElement)(child, {
|
|
187
186
|
smallViewPort: true
|
|
188
187
|
});
|
|
189
188
|
headerAndBody.push(headerWithProp);
|
|
@@ -210,7 +209,7 @@ let Modal = exports.Modal = (_dec = (0, _emotion.withStyle)(_styles.default, _th
|
|
|
210
209
|
cloneChildWithProps(child, variant, overflow) {
|
|
211
210
|
if (/*#__PURE__*/(0, _react.isValidElement)(child)) {
|
|
212
211
|
var _child$props;
|
|
213
|
-
return (0,
|
|
212
|
+
return (0, _uiReactUtils.safeCloneElement)(child, {
|
|
214
213
|
variant: variant,
|
|
215
214
|
overflow: (child === null || child === void 0 ? void 0 : (_child$props = child.props) === null || _child$props === void 0 ? void 0 : _child$props.overflow) || overflow
|
|
216
215
|
});
|
|
@@ -230,7 +229,7 @@ let Modal = exports.Modal = (_dec = (0, _emotion.withStyle)(_styles.default, _th
|
|
|
230
229
|
as = _this$props5.as,
|
|
231
230
|
styles = _this$props5.styles;
|
|
232
231
|
const isFullScreen = size === 'fullscreen';
|
|
233
|
-
const dialog = (0, _emotion.jsx)(
|
|
232
|
+
const dialog = (0, _emotion.jsx)(_uiDialog.Dialog, Object.assign({}, (0, _uiReactUtils.passthroughProps)(props), {
|
|
234
233
|
as: as,
|
|
235
234
|
open: true,
|
|
236
235
|
label: label,
|
|
@@ -245,7 +244,7 @@ let Modal = exports.Modal = (_dec = (0, _emotion.withStyle)(_styles.default, _th
|
|
|
245
244
|
ref: this.contentRef
|
|
246
245
|
// aria-modal="true" see VO bug https://bugs.webkit.org/show_bug.cgi?id=174667
|
|
247
246
|
}), this.renderChildren());
|
|
248
|
-
return (0, _emotion.jsx)(
|
|
247
|
+
return (0, _emotion.jsx)(_uiOverlays.Mask, {
|
|
249
248
|
placement: this.maskPlacement,
|
|
250
249
|
fullscreen: constrain === 'window',
|
|
251
250
|
themeOverride: isFullScreen ? {
|
|
@@ -273,21 +272,21 @@ let Modal = exports.Modal = (_dec = (0, _emotion.withStyle)(_styles.default, _th
|
|
|
273
272
|
overflow = _this$props6.overflow,
|
|
274
273
|
passthroughProps = (0, _objectWithoutProperties2.default)(_this$props6, _excluded);
|
|
275
274
|
const portalIsOpen = this.state.open || this.state.transitioning;
|
|
276
|
-
return (0, _emotion.jsx)(
|
|
275
|
+
return (0, _emotion.jsx)(_uiPortal.Portal, {
|
|
277
276
|
mountNode: mountNode,
|
|
278
277
|
insertAt: insertAt,
|
|
279
278
|
open: portalIsOpen,
|
|
280
279
|
onOpen: this.handlePortalOpen
|
|
281
|
-
}, (0, _emotion.jsx)(
|
|
280
|
+
}, (0, _emotion.jsx)(_uiMotion.Transition, {
|
|
282
281
|
in: open,
|
|
283
282
|
transitionOnMount: true,
|
|
284
283
|
type: transition,
|
|
285
284
|
onEnter: onEnter,
|
|
286
285
|
onEntering: onEntering,
|
|
287
|
-
onEntered: (0,
|
|
286
|
+
onEntered: (0, _uiUtils.createChainedFunction)(this.handleTransitionComplete, onEntered, onOpen),
|
|
288
287
|
onExit: onExit,
|
|
289
288
|
onExiting: onExiting,
|
|
290
|
-
onExited: (0,
|
|
289
|
+
onExited: (0, _uiUtils.createChainedFunction)(this.handleTransitionComplete, onExited, onClose)
|
|
291
290
|
}, constrain === 'parent' ? (0, _emotion.jsx)("span", {
|
|
292
291
|
css: (_this$props$styles = this.props.styles) === null || _this$props$styles === void 0 ? void 0 : _this$props$styles.constrainContext
|
|
293
292
|
}, this.renderDialog(passthroughProps)) : this.renderDialog(passthroughProps)));
|
package/lib/Modal/props.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.propTypes = exports.allowedProps = void 0;
|
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
var
|
|
9
|
+
var _uiPropTypes = require("@instructure/ui-prop-types");
|
|
10
10
|
var _uiMotion = require("@instructure/ui-motion");
|
|
11
11
|
/*
|
|
12
12
|
* The MIT License (MIT)
|
|
@@ -46,9 +46,9 @@ const propTypes = exports.propTypes = {
|
|
|
46
46
|
onClose: _propTypes.default.func,
|
|
47
47
|
onDismiss: _propTypes.default.func,
|
|
48
48
|
contentRef: _propTypes.default.func,
|
|
49
|
-
mountNode: _propTypes.default.oneOfType([
|
|
49
|
+
mountNode: _propTypes.default.oneOfType([_uiPropTypes.element, _propTypes.default.func]),
|
|
50
50
|
insertAt: _propTypes.default.oneOf(['bottom', 'top']),
|
|
51
|
-
liveRegion: _propTypes.default.oneOfType([
|
|
51
|
+
liveRegion: _propTypes.default.oneOfType([_uiPropTypes.element, _propTypes.default.arrayOf(_uiPropTypes.element), _propTypes.default.func]),
|
|
52
52
|
transition: _uiMotion.transitionTypePropType,
|
|
53
53
|
onEnter: _propTypes.default.func,
|
|
54
54
|
onEntering: _propTypes.default.func,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-modal",
|
|
3
|
-
"version": "10.13.
|
|
3
|
+
"version": "10.13.1-pr-snapshot-1741357986437",
|
|
4
4
|
"description": "A component for displaying content in a dialog overlay",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -24,30 +24,30 @@
|
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/runtime": "^7.26.0",
|
|
27
|
-
"@instructure/console": "10.13.
|
|
28
|
-
"@instructure/emotion": "10.13.
|
|
29
|
-
"@instructure/shared-types": "10.13.
|
|
30
|
-
"@instructure/ui-buttons": "10.13.
|
|
31
|
-
"@instructure/ui-dialog": "10.13.
|
|
32
|
-
"@instructure/ui-dom-utils": "10.13.
|
|
33
|
-
"@instructure/ui-motion": "10.13.
|
|
34
|
-
"@instructure/ui-overlays": "10.13.
|
|
35
|
-
"@instructure/ui-portal": "10.13.
|
|
36
|
-
"@instructure/ui-prop-types": "10.13.
|
|
37
|
-
"@instructure/ui-react-utils": "10.13.
|
|
38
|
-
"@instructure/ui-testable": "10.13.
|
|
39
|
-
"@instructure/ui-utils": "10.13.
|
|
40
|
-
"@instructure/ui-view": "10.13.
|
|
27
|
+
"@instructure/console": "10.13.1-pr-snapshot-1741357986437",
|
|
28
|
+
"@instructure/emotion": "10.13.1-pr-snapshot-1741357986437",
|
|
29
|
+
"@instructure/shared-types": "10.13.1-pr-snapshot-1741357986437",
|
|
30
|
+
"@instructure/ui-buttons": "10.13.1-pr-snapshot-1741357986437",
|
|
31
|
+
"@instructure/ui-dialog": "10.13.1-pr-snapshot-1741357986437",
|
|
32
|
+
"@instructure/ui-dom-utils": "10.13.1-pr-snapshot-1741357986437",
|
|
33
|
+
"@instructure/ui-motion": "10.13.1-pr-snapshot-1741357986437",
|
|
34
|
+
"@instructure/ui-overlays": "10.13.1-pr-snapshot-1741357986437",
|
|
35
|
+
"@instructure/ui-portal": "10.13.1-pr-snapshot-1741357986437",
|
|
36
|
+
"@instructure/ui-prop-types": "10.13.1-pr-snapshot-1741357986437",
|
|
37
|
+
"@instructure/ui-react-utils": "10.13.1-pr-snapshot-1741357986437",
|
|
38
|
+
"@instructure/ui-testable": "10.13.1-pr-snapshot-1741357986437",
|
|
39
|
+
"@instructure/ui-utils": "10.13.1-pr-snapshot-1741357986437",
|
|
40
|
+
"@instructure/ui-view": "10.13.1-pr-snapshot-1741357986437",
|
|
41
41
|
"prop-types": "^15.8.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": ">=16.14 <=18"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@instructure/ui-babel-preset": "10.13.
|
|
48
|
-
"@instructure/ui-color-utils": "10.13.
|
|
49
|
-
"@instructure/ui-position": "10.13.
|
|
50
|
-
"@instructure/ui-themes": "10.13.
|
|
47
|
+
"@instructure/ui-babel-preset": "10.13.1-pr-snapshot-1741357986437",
|
|
48
|
+
"@instructure/ui-color-utils": "10.13.1-pr-snapshot-1741357986437",
|
|
49
|
+
"@instructure/ui-position": "10.13.1-pr-snapshot-1741357986437",
|
|
50
|
+
"@instructure/ui-themes": "10.13.1-pr-snapshot-1741357986437",
|
|
51
51
|
"@testing-library/jest-dom": "^6.6.3",
|
|
52
52
|
"@testing-library/react": "^16.0.1",
|
|
53
53
|
"@testing-library/user-event": "^14.5.2",
|