@instructure/ui-date-input 8.56.4 → 8.56.5-pr-snapshot-1728655013879
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
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
|
+
## [8.56.5-pr-snapshot-1728655013879](https://github.com/instructure/instructure-ui/compare/v8.56.4...v8.56.5-pr-snapshot-1728655013879) (2024-10-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-date-input
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [8.56.4](https://github.com/instructure/instructure-ui/compare/v8.56.3...v8.56.4) (2024-10-02)
|
|
7
15
|
|
|
8
16
|
|
|
@@ -6,8 +6,8 @@ var _react2 = require("@testing-library/react");
|
|
|
6
6
|
var _userEvent = _interopRequireDefault(require("@testing-library/user-event"));
|
|
7
7
|
require("@testing-library/jest-dom");
|
|
8
8
|
var _generateA11yTests = require("@instructure/ui-scripts/lib/test/generateA11yTests");
|
|
9
|
-
var
|
|
10
|
-
var
|
|
9
|
+
var _uiAxeCheck = require("@instructure/ui-axe-check");
|
|
10
|
+
var _uiCalendar = require("@instructure/ui-calendar");
|
|
11
11
|
var _DateInput = _interopRequireDefault(require("../__examples__/DateInput.examples"));
|
|
12
12
|
var _index = require("../index");
|
|
13
13
|
var _Calendar$Day, _button, _button2, _Calendar$Day2, _Calendar$Day3;
|
|
@@ -37,11 +37,11 @@ var _Calendar$Day, _button, _button2, _Calendar$Day2, _Calendar$Day3;
|
|
|
37
37
|
// eslint-disable-next-line no-restricted-imports
|
|
38
38
|
describe('<DateInput />', () => {
|
|
39
39
|
const weekdayLabels = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
|
|
40
|
-
const generateDays = (count =
|
|
40
|
+
const generateDays = (count = _uiCalendar.Calendar.DAY_COUNT) => {
|
|
41
41
|
const days = [];
|
|
42
42
|
const date = new Date('2019-07-28');
|
|
43
43
|
while (days.length < count) {
|
|
44
|
-
days.push( /*#__PURE__*/_react.default.createElement(
|
|
44
|
+
days.push( /*#__PURE__*/_react.default.createElement(_uiCalendar.Calendar.Day, {
|
|
45
45
|
key: date.toISOString(),
|
|
46
46
|
date: date.toISOString(),
|
|
47
47
|
label: date.toISOString()
|
|
@@ -429,7 +429,7 @@ describe('<DateInput />', () => {
|
|
|
429
429
|
const onRequestHideCalendar = jest.fn();
|
|
430
430
|
const onRequestValidateDate = jest.fn();
|
|
431
431
|
const days = generateDays();
|
|
432
|
-
days[4] = _Calendar$Day || (_Calendar$Day = /*#__PURE__*/_react.default.createElement(
|
|
432
|
+
days[4] = _Calendar$Day || (_Calendar$Day = /*#__PURE__*/_react.default.createElement(_uiCalendar.Calendar.Day, {
|
|
433
433
|
key: "4",
|
|
434
434
|
label: "4",
|
|
435
435
|
date: "2019-09-28",
|
|
@@ -502,7 +502,7 @@ describe('<DateInput />', () => {
|
|
|
502
502
|
});
|
|
503
503
|
it('should render days with the correct role', async () => {
|
|
504
504
|
const days = generateDays();
|
|
505
|
-
days[5] = _Calendar$Day2 || (_Calendar$Day2 = /*#__PURE__*/_react.default.createElement(
|
|
505
|
+
days[5] = _Calendar$Day2 || (_Calendar$Day2 = /*#__PURE__*/_react.default.createElement(_uiCalendar.Calendar.Day, {
|
|
506
506
|
key: "5",
|
|
507
507
|
label: "5",
|
|
508
508
|
date: "2019-09-28",
|
|
@@ -526,7 +526,7 @@ describe('<DateInput />', () => {
|
|
|
526
526
|
});
|
|
527
527
|
it('should assign aria-selected to the selected date and link it to the input', async () => {
|
|
528
528
|
const days = generateDays();
|
|
529
|
-
days[7] = _Calendar$Day3 || (_Calendar$Day3 = /*#__PURE__*/_react.default.createElement(
|
|
529
|
+
days[7] = _Calendar$Day3 || (_Calendar$Day3 = /*#__PURE__*/_react.default.createElement(_uiCalendar.Calendar.Day, {
|
|
530
530
|
key: "7",
|
|
531
531
|
label: "7",
|
|
532
532
|
date: "2019-09-28",
|
|
@@ -560,7 +560,7 @@ describe('<DateInput />', () => {
|
|
|
560
560
|
}) => {
|
|
561
561
|
const _render7 = (0, _react2.render)(content),
|
|
562
562
|
container = _render7.container;
|
|
563
|
-
const axeCheck = await (0,
|
|
563
|
+
const axeCheck = await (0, _uiAxeCheck.runAxeCheck)(container);
|
|
564
564
|
expect(axeCheck).toBe(true);
|
|
565
565
|
});
|
|
566
566
|
});
|
package/lib/DateInput/index.js
CHANGED
|
@@ -8,19 +8,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.default = exports.DateInput = 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
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
|
|
21
|
-
var _testable = require("@instructure/ui-testable/lib/testable.js");
|
|
22
|
-
var _DateTime = require("@instructure/ui-i18n/lib/DateTime.js");
|
|
23
|
-
var _Locale = require("@instructure/ui-i18n/lib/Locale.js");
|
|
11
|
+
var _uiCalendar = require("@instructure/ui-calendar");
|
|
12
|
+
var _uiIcons = require("@instructure/ui-icons");
|
|
13
|
+
var _uiPopover = require("@instructure/ui-popover");
|
|
14
|
+
var _uiSelectable = require("@instructure/ui-selectable");
|
|
15
|
+
var _uiTextInput = require("@instructure/ui-text-input");
|
|
16
|
+
var _uiUtils = require("@instructure/ui-utils");
|
|
17
|
+
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
18
|
+
var _uiTestable = require("@instructure/ui-testable");
|
|
19
|
+
var _uiI18n = require("@instructure/ui-i18n");
|
|
24
20
|
var _emotion = require("@instructure/emotion");
|
|
25
21
|
var _styles = _interopRequireDefault(require("./styles"));
|
|
26
22
|
var _props2 = require("./props");
|
|
@@ -58,7 +54,7 @@ category: components
|
|
|
58
54
|
The `DateInput` component provides a visual interface for inputting date data.
|
|
59
55
|
See <https://instructure.design/#DateInput/>
|
|
60
56
|
**/
|
|
61
|
-
let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec2 = (0,
|
|
57
|
+
let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec2 = (0, _uiTestable.testable)(), _dec(_class = _dec2(_class = (_class2 = class DateInput extends _react.Component {
|
|
62
58
|
constructor(...args) {
|
|
63
59
|
super(...args);
|
|
64
60
|
this.state = {
|
|
@@ -109,7 +105,7 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
109
105
|
const messages = [];
|
|
110
106
|
// check if date is enabled
|
|
111
107
|
const disabledDates = this.props.disabledDates;
|
|
112
|
-
if (typeof disabledDates === 'function' && disabledDates(date) || Array.isArray(disabledDates) && disabledDates.find(dateString =>
|
|
108
|
+
if (typeof disabledDates === 'function' && disabledDates(date) || Array.isArray(disabledDates) && disabledDates.find(dateString => _uiI18n.DateTime.parse(dateString, this.locale(), this.timezone()).isSame(_uiI18n.DateTime.parse(date, this.locale(), this.timezone()), 'day'))) {
|
|
113
109
|
messages.push(typeof disabledDateErrorMessage === 'function' ? disabledDateErrorMessage(date) : {
|
|
114
110
|
type: 'error',
|
|
115
111
|
text: disabledDateErrorMessage
|
|
@@ -117,7 +113,7 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
117
113
|
}
|
|
118
114
|
|
|
119
115
|
// check if date is valid
|
|
120
|
-
if (!
|
|
116
|
+
if (!_uiI18n.DateTime.parse(date, this.locale(), this.timezone(), [_uiI18n.DateTime.momentISOFormat, 'llll', 'LLLL', 'lll', 'LLL', 'll', 'LL', 'l', 'L'], true).isValid()) {
|
|
121
117
|
messages.push(typeof invalidDateErrorMessage === 'function' ? invalidDateErrorMessage(date) : {
|
|
122
118
|
type: 'error',
|
|
123
119
|
text: invalidDateErrorMessage
|
|
@@ -157,14 +153,14 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
157
153
|
onChange = _this$props7.onChange,
|
|
158
154
|
value = _this$props7.value,
|
|
159
155
|
currentDate = _this$props7.currentDate;
|
|
160
|
-
const isValueValid = value &&
|
|
156
|
+
const isValueValid = value && _uiI18n.DateTime.parse(value, this.locale(), this.timezone()).isValid();
|
|
161
157
|
if (direction === -1) {
|
|
162
158
|
if (onRequestSelectPrevDay) {
|
|
163
159
|
onRequestSelectPrevDay === null || onRequestSelectPrevDay === void 0 ? void 0 : onRequestSelectPrevDay(event);
|
|
164
160
|
} else {
|
|
165
161
|
// @ts-expect-error TODO
|
|
166
162
|
onChange(event, {
|
|
167
|
-
value:
|
|
163
|
+
value: _uiI18n.DateTime.parse(isValueValid ? value : currentDate, this.locale(), this.timezone()).subtract(1, 'day').format('LL')
|
|
168
164
|
});
|
|
169
165
|
this.setState({
|
|
170
166
|
messages: []
|
|
@@ -177,7 +173,7 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
177
173
|
} else {
|
|
178
174
|
// @ts-expect-error TODO
|
|
179
175
|
onChange(event, {
|
|
180
|
-
value:
|
|
176
|
+
value: _uiI18n.DateTime.parse(isValueValid ? value : currentDate, this.locale(), this.timezone()).add(1, 'day').format('LL')
|
|
181
177
|
});
|
|
182
178
|
this.setState({
|
|
183
179
|
messages: []
|
|
@@ -193,7 +189,7 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
193
189
|
} else if (this.context && this.context.locale) {
|
|
194
190
|
return this.context.locale;
|
|
195
191
|
}
|
|
196
|
-
return
|
|
192
|
+
return _uiI18n.Locale.browserLocale();
|
|
197
193
|
}
|
|
198
194
|
timezone() {
|
|
199
195
|
if (this.props.timezone) {
|
|
@@ -201,7 +197,7 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
201
197
|
} else if (this.context && this.context.timezone) {
|
|
202
198
|
return this.context.timezone;
|
|
203
199
|
}
|
|
204
|
-
return
|
|
200
|
+
return _uiI18n.DateTime.browserTimeZone();
|
|
205
201
|
}
|
|
206
202
|
componentDidMount() {
|
|
207
203
|
var _this$props$makeStyle, _this$props8;
|
|
@@ -224,7 +220,7 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
224
220
|
return selectedDateId;
|
|
225
221
|
}
|
|
226
222
|
get interaction() {
|
|
227
|
-
return (0,
|
|
223
|
+
return (0, _uiReactUtils.getInteraction)({
|
|
228
224
|
props: this.props
|
|
229
225
|
});
|
|
230
226
|
}
|
|
@@ -233,7 +229,7 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
233
229
|
renderPrevMonthButton = _this$props10.renderPrevMonthButton,
|
|
234
230
|
renderNextMonthButton = _this$props10.renderNextMonthButton;
|
|
235
231
|
const button = type === 'prev' ? renderPrevMonthButton : renderNextMonthButton;
|
|
236
|
-
return button && (0,
|
|
232
|
+
return button && (0, _uiReactUtils.safeCloneElement)((0, _uiReactUtils.callRenderProp)(button), {
|
|
237
233
|
tabIndex: -1
|
|
238
234
|
});
|
|
239
235
|
}
|
|
@@ -254,7 +250,7 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
254
250
|
onClick: optionProps.onClick,
|
|
255
251
|
role: 'presentation'
|
|
256
252
|
} : optionProps;
|
|
257
|
-
return (0,
|
|
253
|
+
return (0, _uiReactUtils.safeCloneElement)(day, propsAdded);
|
|
258
254
|
});
|
|
259
255
|
}
|
|
260
256
|
renderCalendar({
|
|
@@ -270,7 +266,7 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
270
266
|
onChange = _this$props11.onChange,
|
|
271
267
|
disabledDates = _this$props11.disabledDates,
|
|
272
268
|
currentDate = _this$props11.currentDate;
|
|
273
|
-
const isValidDate = value ?
|
|
269
|
+
const isValidDate = value ? _uiI18n.DateTime.parse(value, this.locale(), this.timezone()).isValid() : false;
|
|
274
270
|
const noChildrenProps = this.props.children ? {} : {
|
|
275
271
|
timezone: this.timezone(),
|
|
276
272
|
locale: this.locale(),
|
|
@@ -286,7 +282,7 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
286
282
|
this.handleHideCalendar(e, dateString);
|
|
287
283
|
}
|
|
288
284
|
};
|
|
289
|
-
return (0, _emotion.jsx)(
|
|
285
|
+
return (0, _emotion.jsx)(_uiCalendar.Calendar, Object.assign({}, getListProps({
|
|
290
286
|
onRequestRenderNextMonth,
|
|
291
287
|
onRequestRenderPrevMonth,
|
|
292
288
|
renderNavigationLabel,
|
|
@@ -322,8 +318,8 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
322
318
|
ref = _getTriggerProps.ref,
|
|
323
319
|
triggerProps = (0, _objectWithoutProperties2.default)(_getTriggerProps, _excluded2);
|
|
324
320
|
const messages = this.props.messages || this.state.messages;
|
|
325
|
-
return (0, _emotion.jsx)(
|
|
326
|
-
renderLabel: (0,
|
|
321
|
+
return (0, _emotion.jsx)(_uiTextInput.TextInput, Object.assign({}, triggerProps, (0, _uiReactUtils.passthroughProps)(rest), getInputProps({
|
|
322
|
+
renderLabel: (0, _uiReactUtils.callRenderProp)(renderLabel),
|
|
327
323
|
value,
|
|
328
324
|
placeholder,
|
|
329
325
|
size,
|
|
@@ -331,12 +327,12 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
331
327
|
width,
|
|
332
328
|
messages,
|
|
333
329
|
onChange: this.handleInputChange,
|
|
334
|
-
onBlur: (0,
|
|
335
|
-
inputRef: (0,
|
|
330
|
+
onBlur: (0, _uiUtils.createChainedFunction)(onBlur, this.handleHideCalendar),
|
|
331
|
+
inputRef: (0, _uiUtils.createChainedFunction)(ref, this.handleInputRef),
|
|
336
332
|
interaction,
|
|
337
333
|
isRequired,
|
|
338
334
|
display: isInline ? 'inline-block' : 'block',
|
|
339
|
-
renderAfterInput: _IconCalendarMonthLin || (_IconCalendarMonthLin = (0, _emotion.jsx)(
|
|
335
|
+
renderAfterInput: _IconCalendarMonthLin || (_IconCalendarMonthLin = (0, _emotion.jsx)(_uiIcons.IconCalendarMonthLine, {
|
|
340
336
|
inline: false
|
|
341
337
|
}))
|
|
342
338
|
}), {
|
|
@@ -358,7 +354,7 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
358
354
|
assistiveText = _this$props13.assistiveText,
|
|
359
355
|
styles = _this$props13.styles;
|
|
360
356
|
const isShowingCalendar = this.shouldShowCalendar();
|
|
361
|
-
return (0, _emotion.jsx)(
|
|
357
|
+
return (0, _emotion.jsx)(_uiSelectable.Selectable, {
|
|
362
358
|
isShowingOptions: isShowingCalendar,
|
|
363
359
|
onRequestShowOptions: this.handleShowCalendar,
|
|
364
360
|
onRequestHideOptions: this.handleHideCalendar,
|
|
@@ -382,7 +378,7 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
382
378
|
getTriggerProps
|
|
383
379
|
}), (0, _emotion.jsx)("span", Object.assign({}, getDescriptionProps(), {
|
|
384
380
|
css: styles === null || styles === void 0 ? void 0 : styles.assistiveText
|
|
385
|
-
}), assistiveText), (0, _emotion.jsx)(
|
|
381
|
+
}), assistiveText), (0, _emotion.jsx)(_uiPopover.Popover, {
|
|
386
382
|
placement: placement,
|
|
387
383
|
isShowingContent: isShowingCalendar,
|
|
388
384
|
positionTarget: this._input,
|
|
@@ -393,7 +389,7 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
393
389
|
getOptionProps
|
|
394
390
|
}))));
|
|
395
391
|
}
|
|
396
|
-
}, _class2.displayName = "DateInput", _class2.componentId = 'DateInput', _class2.Day =
|
|
392
|
+
}, _class2.displayName = "DateInput", _class2.componentId = 'DateInput', _class2.Day = _uiCalendar.Calendar.Day, _class2.propTypes = _props2.propTypes, _class2.allowedProps = _props2.allowedProps, _class2.defaultProps = {
|
|
397
393
|
value: '',
|
|
398
394
|
size: 'medium',
|
|
399
395
|
onBlur: () => {},
|
package/lib/DateInput/props.js
CHANGED
|
@@ -6,11 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.propTypes = exports.allowedProps = void 0;
|
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var _Calendar = require("@instructure/ui-calendar/lib/Calendar");
|
|
9
|
+
var _uiPropTypes = require("@instructure/ui-prop-types");
|
|
10
|
+
var _uiFormField = require("@instructure/ui-form-field");
|
|
11
|
+
var _uiPosition = require("@instructure/ui-position");
|
|
12
|
+
var _uiCalendar = require("@instructure/ui-calendar");
|
|
14
13
|
/*
|
|
15
14
|
* The MIT License (MIT)
|
|
16
15
|
*
|
|
@@ -37,7 +36,7 @@ var _Calendar = require("@instructure/ui-calendar/lib/Calendar");
|
|
|
37
36
|
|
|
38
37
|
const propTypes = exports.propTypes = {
|
|
39
38
|
renderLabel: _propTypes.default.oneOfType([_propTypes.default.node, _propTypes.default.func]).isRequired,
|
|
40
|
-
value: (0,
|
|
39
|
+
value: (0, _uiPropTypes.controllable)(_propTypes.default.string),
|
|
41
40
|
size: _propTypes.default.oneOf(['small', 'medium', 'large']),
|
|
42
41
|
placeholder: _propTypes.default.string,
|
|
43
42
|
onChange: _propTypes.default.func,
|
|
@@ -50,8 +49,8 @@ const propTypes = exports.propTypes = {
|
|
|
50
49
|
width: _propTypes.default.string,
|
|
51
50
|
display: _propTypes.default.oneOf(['inline-block', 'block']),
|
|
52
51
|
inputRef: _propTypes.default.func,
|
|
53
|
-
messages: _propTypes.default.arrayOf(
|
|
54
|
-
placement:
|
|
52
|
+
messages: _propTypes.default.arrayOf(_uiFormField.FormPropTypes.message),
|
|
53
|
+
placement: _uiPosition.PositionPropTypes.placement,
|
|
55
54
|
isShowingCalendar: _propTypes.default.bool,
|
|
56
55
|
onRequestValidateDate: _propTypes.default.func,
|
|
57
56
|
onRequestShowCalendar: _propTypes.default.func,
|
|
@@ -64,7 +63,7 @@ const propTypes = exports.propTypes = {
|
|
|
64
63
|
renderWeekdayLabels: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.node])),
|
|
65
64
|
renderNextMonthButton: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.node]),
|
|
66
65
|
renderPrevMonthButton: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.node]),
|
|
67
|
-
children:
|
|
66
|
+
children: _uiPropTypes.Children.oneOf([_uiCalendar.Calendar.Day]),
|
|
68
67
|
disabledDates: _propTypes.default.oneOfType([_propTypes.default.array, _propTypes.default.func]),
|
|
69
68
|
currentDate: _propTypes.default.string,
|
|
70
69
|
disabledDateErrorMessage: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.string]),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-date-input",
|
|
3
|
-
"version": "8.56.
|
|
3
|
+
"version": "8.56.5-pr-snapshot-1728655013879",
|
|
4
4
|
"description": "A UI component library made by Instructure Inc.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,29 +23,29 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-axe-check": "8.56.
|
|
27
|
-
"@instructure/ui-babel-preset": "8.56.
|
|
28
|
-
"@instructure/ui-scripts": "8.56.
|
|
29
|
-
"@instructure/ui-test-utils": "8.56.
|
|
26
|
+
"@instructure/ui-axe-check": "8.56.5-pr-snapshot-1728655013879",
|
|
27
|
+
"@instructure/ui-babel-preset": "8.56.5-pr-snapshot-1728655013879",
|
|
28
|
+
"@instructure/ui-scripts": "8.56.5-pr-snapshot-1728655013879",
|
|
29
|
+
"@instructure/ui-test-utils": "8.56.5-pr-snapshot-1728655013879",
|
|
30
30
|
"@testing-library/jest-dom": "^6.1.4",
|
|
31
31
|
"@testing-library/react": "^14.1.2",
|
|
32
32
|
"@testing-library/user-event": "^14.5.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@babel/runtime": "^7.23.2",
|
|
36
|
-
"@instructure/emotion": "8.56.
|
|
37
|
-
"@instructure/ui-calendar": "8.56.
|
|
38
|
-
"@instructure/ui-form-field": "8.56.
|
|
39
|
-
"@instructure/ui-i18n": "8.56.
|
|
40
|
-
"@instructure/ui-icons": "8.56.
|
|
41
|
-
"@instructure/ui-popover": "8.56.
|
|
42
|
-
"@instructure/ui-position": "8.56.
|
|
43
|
-
"@instructure/ui-prop-types": "8.56.
|
|
44
|
-
"@instructure/ui-react-utils": "8.56.
|
|
45
|
-
"@instructure/ui-selectable": "8.56.
|
|
46
|
-
"@instructure/ui-testable": "8.56.
|
|
47
|
-
"@instructure/ui-text-input": "8.56.
|
|
48
|
-
"@instructure/ui-utils": "8.56.
|
|
36
|
+
"@instructure/emotion": "8.56.5-pr-snapshot-1728655013879",
|
|
37
|
+
"@instructure/ui-calendar": "8.56.5-pr-snapshot-1728655013879",
|
|
38
|
+
"@instructure/ui-form-field": "8.56.5-pr-snapshot-1728655013879",
|
|
39
|
+
"@instructure/ui-i18n": "8.56.5-pr-snapshot-1728655013879",
|
|
40
|
+
"@instructure/ui-icons": "8.56.5-pr-snapshot-1728655013879",
|
|
41
|
+
"@instructure/ui-popover": "8.56.5-pr-snapshot-1728655013879",
|
|
42
|
+
"@instructure/ui-position": "8.56.5-pr-snapshot-1728655013879",
|
|
43
|
+
"@instructure/ui-prop-types": "8.56.5-pr-snapshot-1728655013879",
|
|
44
|
+
"@instructure/ui-react-utils": "8.56.5-pr-snapshot-1728655013879",
|
|
45
|
+
"@instructure/ui-selectable": "8.56.5-pr-snapshot-1728655013879",
|
|
46
|
+
"@instructure/ui-testable": "8.56.5-pr-snapshot-1728655013879",
|
|
47
|
+
"@instructure/ui-text-input": "8.56.5-pr-snapshot-1728655013879",
|
|
48
|
+
"@instructure/ui-utils": "8.56.5-pr-snapshot-1728655013879",
|
|
49
49
|
"prop-types": "^15.8.1"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|