@instructure/ui-modal 10.11.0 → 10.11.1-pr-snapshot-1741369431545
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 +15 -16
- 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.11.1-pr-snapshot-1741369431545](https://github.com/instructure/instructure-ui/compare/v10.11.0...v10.11.1-pr-snapshot-1741369431545) (2025-03-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-modal
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [10.11.0](https://github.com/instructure/instructure-ui/compare/v10.10.0...v10.11.0) (2025-02-03)
|
|
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,14 +26,13 @@ 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 _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 _uiMotion = require("@instructure/ui-motion");
|
|
33
|
+
var _uiPortal = require("@instructure/ui-portal");
|
|
34
|
+
var _uiDialog = require("@instructure/ui-dialog");
|
|
35
|
+
var _uiOverlays = require("@instructure/ui-overlays");
|
|
37
36
|
var _ModalHeader = require("./ModalHeader");
|
|
38
37
|
var _ModalBody = require("./ModalBody");
|
|
39
38
|
var _ModalFooter = require("./ModalFooter");
|
|
@@ -73,7 +72,7 @@ category: components
|
|
|
73
72
|
tags: overlay, portal, dialog
|
|
74
73
|
---
|
|
75
74
|
**/
|
|
76
|
-
let Modal = exports.Modal = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0,
|
|
75
|
+
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 {
|
|
77
76
|
constructor(props) {
|
|
78
77
|
var _props$open;
|
|
79
78
|
super(props);
|
|
@@ -142,7 +141,7 @@ let Modal = exports.Modal = (_dec = (0, _emotion.withStyle)(_styles.default, _th
|
|
|
142
141
|
|
|
143
142
|
if (/*#__PURE__*/(0, _react.isValidElement)(child)) {
|
|
144
143
|
var _child$props;
|
|
145
|
-
return (0,
|
|
144
|
+
return (0, _uiReactUtils.safeCloneElement)(child, {
|
|
146
145
|
variant: variant,
|
|
147
146
|
overflow: (child === null || child === void 0 ? void 0 : (_child$props = child.props) === null || _child$props === void 0 ? void 0 : _child$props.overflow) || overflow
|
|
148
147
|
});
|
|
@@ -163,7 +162,7 @@ let Modal = exports.Modal = (_dec = (0, _emotion.withStyle)(_styles.default, _th
|
|
|
163
162
|
as = _this$props4.as,
|
|
164
163
|
styles = _this$props4.styles;
|
|
165
164
|
const isFullScreen = size === 'fullscreen';
|
|
166
|
-
const dialog = (0, _emotion.jsx)(
|
|
165
|
+
const dialog = (0, _emotion.jsx)(_uiDialog.Dialog, Object.assign({}, (0, _uiReactUtils.passthroughProps)(props), {
|
|
167
166
|
as: as,
|
|
168
167
|
open: true,
|
|
169
168
|
label: label,
|
|
@@ -178,7 +177,7 @@ let Modal = exports.Modal = (_dec = (0, _emotion.withStyle)(_styles.default, _th
|
|
|
178
177
|
ref: this.contentRef
|
|
179
178
|
// aria-modal="true" see VO bug https://bugs.webkit.org/show_bug.cgi?id=174667
|
|
180
179
|
}), this.renderChildren());
|
|
181
|
-
return (0, _emotion.jsx)(
|
|
180
|
+
return (0, _emotion.jsx)(_uiOverlays.Mask, {
|
|
182
181
|
placement: this.maskPlacement,
|
|
183
182
|
fullscreen: constrain === 'window',
|
|
184
183
|
themeOverride: isFullScreen ? {
|
|
@@ -206,21 +205,21 @@ let Modal = exports.Modal = (_dec = (0, _emotion.withStyle)(_styles.default, _th
|
|
|
206
205
|
overflow = _this$props5.overflow,
|
|
207
206
|
passthroughProps = (0, _objectWithoutProperties2.default)(_this$props5, _excluded);
|
|
208
207
|
const portalIsOpen = this.state.open || this.state.transitioning;
|
|
209
|
-
return (0, _emotion.jsx)(
|
|
208
|
+
return (0, _emotion.jsx)(_uiPortal.Portal, {
|
|
210
209
|
mountNode: mountNode,
|
|
211
210
|
insertAt: insertAt,
|
|
212
211
|
open: portalIsOpen,
|
|
213
212
|
onOpen: this.handlePortalOpen
|
|
214
|
-
}, (0, _emotion.jsx)(
|
|
213
|
+
}, (0, _emotion.jsx)(_uiMotion.Transition, {
|
|
215
214
|
in: open,
|
|
216
215
|
transitionOnMount: true,
|
|
217
216
|
type: transition,
|
|
218
217
|
onEnter: onEnter,
|
|
219
218
|
onEntering: onEntering,
|
|
220
|
-
onEntered: (0,
|
|
219
|
+
onEntered: (0, _uiUtils.createChainedFunction)(this.handleTransitionComplete, onEntered, onOpen),
|
|
221
220
|
onExit: onExit,
|
|
222
221
|
onExiting: onExiting,
|
|
223
|
-
onExited: (0,
|
|
222
|
+
onExited: (0, _uiUtils.createChainedFunction)(this.handleTransitionComplete, onExited, onClose)
|
|
224
223
|
}, constrain === 'parent' ? (0, _emotion.jsx)("span", {
|
|
225
224
|
css: (_this$props$styles = this.props.styles) === null || _this$props$styles === void 0 ? void 0 : _this$props$styles.constrainContext
|
|
226
225
|
}, 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.11.
|
|
3
|
+
"version": "10.11.1-pr-snapshot-1741369431545",
|
|
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.11.
|
|
28
|
-
"@instructure/emotion": "10.11.
|
|
29
|
-
"@instructure/shared-types": "10.11.
|
|
30
|
-
"@instructure/ui-buttons": "10.11.
|
|
31
|
-
"@instructure/ui-dialog": "10.11.
|
|
32
|
-
"@instructure/ui-dom-utils": "10.11.
|
|
33
|
-
"@instructure/ui-motion": "10.11.
|
|
34
|
-
"@instructure/ui-overlays": "10.11.
|
|
35
|
-
"@instructure/ui-portal": "10.11.
|
|
36
|
-
"@instructure/ui-prop-types": "10.11.
|
|
37
|
-
"@instructure/ui-react-utils": "10.11.
|
|
38
|
-
"@instructure/ui-testable": "10.11.
|
|
39
|
-
"@instructure/ui-utils": "10.11.
|
|
40
|
-
"@instructure/ui-view": "10.11.
|
|
27
|
+
"@instructure/console": "10.11.1-pr-snapshot-1741369431545",
|
|
28
|
+
"@instructure/emotion": "10.11.1-pr-snapshot-1741369431545",
|
|
29
|
+
"@instructure/shared-types": "10.11.1-pr-snapshot-1741369431545",
|
|
30
|
+
"@instructure/ui-buttons": "10.11.1-pr-snapshot-1741369431545",
|
|
31
|
+
"@instructure/ui-dialog": "10.11.1-pr-snapshot-1741369431545",
|
|
32
|
+
"@instructure/ui-dom-utils": "10.11.1-pr-snapshot-1741369431545",
|
|
33
|
+
"@instructure/ui-motion": "10.11.1-pr-snapshot-1741369431545",
|
|
34
|
+
"@instructure/ui-overlays": "10.11.1-pr-snapshot-1741369431545",
|
|
35
|
+
"@instructure/ui-portal": "10.11.1-pr-snapshot-1741369431545",
|
|
36
|
+
"@instructure/ui-prop-types": "10.11.1-pr-snapshot-1741369431545",
|
|
37
|
+
"@instructure/ui-react-utils": "10.11.1-pr-snapshot-1741369431545",
|
|
38
|
+
"@instructure/ui-testable": "10.11.1-pr-snapshot-1741369431545",
|
|
39
|
+
"@instructure/ui-utils": "10.11.1-pr-snapshot-1741369431545",
|
|
40
|
+
"@instructure/ui-view": "10.11.1-pr-snapshot-1741369431545",
|
|
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.11.
|
|
48
|
-
"@instructure/ui-color-utils": "10.11.
|
|
49
|
-
"@instructure/ui-position": "10.11.
|
|
50
|
-
"@instructure/ui-themes": "10.11.
|
|
47
|
+
"@instructure/ui-babel-preset": "10.11.1-pr-snapshot-1741369431545",
|
|
48
|
+
"@instructure/ui-color-utils": "10.11.1-pr-snapshot-1741369431545",
|
|
49
|
+
"@instructure/ui-position": "10.11.1-pr-snapshot-1741369431545",
|
|
50
|
+
"@instructure/ui-themes": "10.11.1-pr-snapshot-1741369431545",
|
|
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",
|