@instructure/ui-range-input 10.11.1-snapshot-10 → 10.11.1-snapshot-12

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,7 +3,7 @@
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-snapshot-10](https://github.com/instructure/instructure-ui/compare/v10.11.0...v10.11.1-snapshot-10) (2025-02-21)
6
+ ## [10.11.1-snapshot-12](https://github.com/instructure/instructure-ui/compare/v10.11.0...v10.11.1-snapshot-12) (2025-02-21)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-range-input
9
9
 
@@ -0,0 +1,220 @@
1
+ var _RangeInput, _RangeInput2, _RangeInput3, _RangeInput4, _RangeInput5, _RangeInput6, _RangeInput7, _RangeInput8, _RangeInput9, _RangeInput10, _RangeInput11;
2
+ /*
3
+ * The MIT License (MIT)
4
+ *
5
+ * Copyright (c) 2015 - present Instructure, Inc.
6
+ *
7
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ * of this software and associated documentation files (the "Software"), to deal
9
+ * in the Software without restriction, including without limitation the rights
10
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ * copies of the Software, and to permit persons to whom the Software is
12
+ * furnished to do so, subject to the following conditions:
13
+ *
14
+ * The above copyright notice and this permission notice shall be included in all
15
+ * copies or substantial portions of the Software.
16
+ *
17
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ * SOFTWARE.
24
+ */
25
+
26
+ import React from 'react';
27
+ import { render, screen } from '@testing-library/react';
28
+ import { vi, expect } from 'vitest';
29
+ import { runAxeCheck } from '@instructure/ui-axe-check';
30
+ import '@testing-library/jest-dom';
31
+ import { RangeInput } from '../index';
32
+ describe('<RangeInput />', () => {
33
+ let consoleWarningMock;
34
+ beforeEach(() => {
35
+ // Mocking console to prevent test output pollution
36
+ consoleWarningMock = vi.spyOn(console, 'warn').mockImplementation(() => {});
37
+ });
38
+ afterEach(() => {
39
+ consoleWarningMock.mockRestore();
40
+ });
41
+ it('renders an input with type "range"', async () => {
42
+ const _render = render(_RangeInput || (_RangeInput = /*#__PURE__*/React.createElement(RangeInput, {
43
+ label: "Opacity",
44
+ name: "opacity",
45
+ max: 100,
46
+ min: 0
47
+ }))),
48
+ container = _render.container;
49
+ const label = container.querySelector('[class$="-formFieldLabel"]');
50
+ const input = container.querySelector('[class$="-rangeInput__input"]');
51
+ expect(label).toBeInTheDocument();
52
+ expect(label).toHaveTextContent('Opacity');
53
+ expect(input).toBeInTheDocument();
54
+ expect(input.tagName).toBe('INPUT');
55
+ expect(input).toHaveAttribute('name', 'opacity');
56
+ expect(input).toHaveAttribute('type', 'range');
57
+ });
58
+ it('displays the default value', async () => {
59
+ const _render2 = render(_RangeInput2 || (_RangeInput2 = /*#__PURE__*/React.createElement(RangeInput, {
60
+ label: "Opacity",
61
+ name: "opacity",
62
+ max: 100,
63
+ min: 0,
64
+ defaultValue: 42
65
+ }))),
66
+ container = _render2.container;
67
+ const output = container.querySelector('[class$="-rangeInput__value"]');
68
+ expect(output).toHaveTextContent('42');
69
+ });
70
+ it('sets input value to default value', async () => {
71
+ const _render3 = render(_RangeInput3 || (_RangeInput3 = /*#__PURE__*/React.createElement(RangeInput, {
72
+ label: "Opacity",
73
+ name: "opacity",
74
+ max: 100,
75
+ min: 0,
76
+ defaultValue: 25
77
+ }))),
78
+ container = _render3.container;
79
+ const input = container.querySelector('input');
80
+ expect(input).toHaveValue('25');
81
+ });
82
+ it('sets input value to controlled value', async () => {
83
+ const _render4 = render(/*#__PURE__*/React.createElement(RangeInput, {
84
+ label: "Opacity",
85
+ name: "opacity",
86
+ max: 100,
87
+ min: 0,
88
+ value: 25,
89
+ onChange: () => {}
90
+ })),
91
+ container = _render4.container;
92
+ const input = container.querySelector('input');
93
+ expect(input).toHaveValue('25');
94
+ });
95
+ describe('thumbVariant prop', () => {
96
+ it('should throw deprecation warning by default', async () => {
97
+ render(_RangeInput4 || (_RangeInput4 = /*#__PURE__*/React.createElement(RangeInput, {
98
+ label: "Opacity",
99
+ name: "opacity",
100
+ max: 100,
101
+ min: 0,
102
+ defaultValue: 30
103
+ })));
104
+ const expectedErrorMessage = "Warning: [RangeInput] The 'deprecated' value for the `thumbVariant` prop is deprecated. The `deprecated` variant is not fully accessible and will be removed in V9. The connected theme variables will be removed as well: `handleShadowColor`, `handleFocusOutlineColor`, `handleFocusOutlineWidth`. Please use the `accessible` variant.";
105
+ expect(consoleWarningMock).toHaveBeenCalledWith(expect.stringContaining(expectedErrorMessage), expect.any(String));
106
+ });
107
+ it('should throw deprecation warning when explicitly "deprecated"', async () => {
108
+ render(_RangeInput5 || (_RangeInput5 = /*#__PURE__*/React.createElement(RangeInput, {
109
+ label: "Opacity",
110
+ name: "opacity",
111
+ max: 100,
112
+ min: 0,
113
+ defaultValue: 30,
114
+ thumbVariant: "deprecated"
115
+ })));
116
+ const expectedErrorMessage = "Warning: [RangeInput] The 'deprecated' value for the `thumbVariant` prop is deprecated. The `deprecated` variant is not fully accessible and will be removed in V9. The connected theme variables will be removed as well: `handleShadowColor`, `handleFocusOutlineColor`, `handleFocusOutlineWidth`. Please use the `accessible` variant.";
117
+ expect(consoleWarningMock).toHaveBeenCalledWith(expect.stringContaining(expectedErrorMessage), expect.any(String));
118
+ });
119
+ it('should not throw deprecation warning when "accessible"', async () => {
120
+ render(_RangeInput6 || (_RangeInput6 = /*#__PURE__*/React.createElement(RangeInput, {
121
+ label: "Opacity",
122
+ name: "opacity",
123
+ max: 100,
124
+ min: 0,
125
+ defaultValue: 30,
126
+ thumbVariant: "accessible"
127
+ })));
128
+ expect(consoleWarningMock).not.toHaveBeenCalled();
129
+ });
130
+ });
131
+ it('sets min value', async () => {
132
+ render(_RangeInput7 || (_RangeInput7 = /*#__PURE__*/React.createElement(RangeInput, {
133
+ label: "Opacity",
134
+ name: "opacity",
135
+ max: 100,
136
+ min: 25
137
+ })));
138
+ const input = screen.getByLabelText('Opacity');
139
+ expect(input).toHaveAttribute('min', '25');
140
+ });
141
+ it('sets max value', async () => {
142
+ render(_RangeInput8 || (_RangeInput8 = /*#__PURE__*/React.createElement(RangeInput, {
143
+ label: "Opacity",
144
+ name: "opacity",
145
+ max: 75,
146
+ min: 0
147
+ })));
148
+ const input = screen.getByLabelText('Opacity');
149
+ expect(input).toHaveAttribute('max', '75');
150
+ });
151
+ it('sets step value', async () => {
152
+ render(_RangeInput9 || (_RangeInput9 = /*#__PURE__*/React.createElement(RangeInput, {
153
+ label: "Opacity",
154
+ name: "opacity",
155
+ max: 100,
156
+ min: 0,
157
+ step: 5
158
+ })));
159
+ const input = screen.getByLabelText('Opacity');
160
+ expect(input).toHaveAttribute('step', '5');
161
+ });
162
+ it('formats the value displayed', async () => {
163
+ const _render5 = render(/*#__PURE__*/React.createElement(RangeInput, {
164
+ label: "Opacity",
165
+ name: "opacity",
166
+ max: 100,
167
+ min: 0,
168
+ defaultValue: 45,
169
+ formatValue: value => {
170
+ return `${value}%`;
171
+ }
172
+ })),
173
+ container = _render5.container;
174
+ const output = container.querySelector('[class$="-rangeInput__value"]');
175
+ expect(output).toHaveTextContent('45%');
176
+ });
177
+ it('hides the value when displayValue is false', async () => {
178
+ const _render6 = render(_RangeInput10 || (_RangeInput10 = /*#__PURE__*/React.createElement(RangeInput, {
179
+ label: "Opacity",
180
+ name: "opacity",
181
+ max: 100,
182
+ min: 0,
183
+ displayValue: false
184
+ }))),
185
+ container = _render6.container;
186
+ const output = container.querySelector('[class$="-rangeInput__value"]');
187
+ expect(output).not.toBeInTheDocument();
188
+ });
189
+ describe('for a11y', () => {
190
+ it('should meet standards', async () => {
191
+ const _render7 = render(_RangeInput11 || (_RangeInput11 = /*#__PURE__*/React.createElement(RangeInput, {
192
+ label: "Opacity",
193
+ name: "opacity",
194
+ max: 100,
195
+ min: 0,
196
+ defaultValue: 50
197
+ }))),
198
+ container = _render7.container;
199
+ const axeCheck = await runAxeCheck(container);
200
+ expect(axeCheck).toBe(true);
201
+ });
202
+ it('formats the aria-valuetext attribute', async () => {
203
+ const _render8 = render(/*#__PURE__*/React.createElement(RangeInput, {
204
+ label: "Opacity",
205
+ name: "opacity",
206
+ max: 100,
207
+ min: 0,
208
+ defaultValue: 40,
209
+ formatValue: value => {
210
+ return `${value}%`;
211
+ }
212
+ })),
213
+ container = _render8.container;
214
+ const input = container.querySelector('input');
215
+ const output = container.querySelector('[class$="-rangeInput__value"]');
216
+ expect(input).toHaveAttribute('aria-valuetext', '40%');
217
+ expect(output).toHaveTextContent('40%');
218
+ });
219
+ });
220
+ });
@@ -103,13 +103,6 @@ let RangeInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle,
103
103
  const value = typeof this.props.value === 'undefined' ? this.state.value : this.props.value;
104
104
  return typeof value === 'string' ? parseInt(value) : value;
105
105
  }
106
-
107
- // TODO is this getter even user for anything?
108
- get invalid() {
109
- return this.props.messages && this.props.messages.findIndex(message => {
110
- return message.type === 'error' || message.type === 'newError';
111
- }) >= 0;
112
- }
113
106
  get id() {
114
107
  return this.props.id || this.defaultId;
115
108
  }
@@ -0,0 +1,222 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+ var _react = _interopRequireDefault(require("react"));
5
+ var _react2 = require("@testing-library/react");
6
+ var _vitest = require("vitest");
7
+ var _runAxeCheck = require("@instructure/ui-axe-check/lib/runAxeCheck.js");
8
+ require("@testing-library/jest-dom");
9
+ var _index = require("../index");
10
+ var _RangeInput, _RangeInput2, _RangeInput3, _RangeInput4, _RangeInput5, _RangeInput6, _RangeInput7, _RangeInput8, _RangeInput9, _RangeInput10, _RangeInput11;
11
+ /*
12
+ * The MIT License (MIT)
13
+ *
14
+ * Copyright (c) 2015 - present Instructure, Inc.
15
+ *
16
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
17
+ * of this software and associated documentation files (the "Software"), to deal
18
+ * in the Software without restriction, including without limitation the rights
19
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20
+ * copies of the Software, and to permit persons to whom the Software is
21
+ * furnished to do so, subject to the following conditions:
22
+ *
23
+ * The above copyright notice and this permission notice shall be included in all
24
+ * copies or substantial portions of the Software.
25
+ *
26
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
27
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
28
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
29
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
30
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
31
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
32
+ * SOFTWARE.
33
+ */
34
+ describe('<RangeInput />', () => {
35
+ let consoleWarningMock;
36
+ beforeEach(() => {
37
+ // Mocking console to prevent test output pollution
38
+ consoleWarningMock = _vitest.vi.spyOn(console, 'warn').mockImplementation(() => {});
39
+ });
40
+ afterEach(() => {
41
+ consoleWarningMock.mockRestore();
42
+ });
43
+ it('renders an input with type "range"', async () => {
44
+ const _render = (0, _react2.render)(_RangeInput || (_RangeInput = /*#__PURE__*/_react.default.createElement(_index.RangeInput, {
45
+ label: "Opacity",
46
+ name: "opacity",
47
+ max: 100,
48
+ min: 0
49
+ }))),
50
+ container = _render.container;
51
+ const label = container.querySelector('[class$="-formFieldLabel"]');
52
+ const input = container.querySelector('[class$="-rangeInput__input"]');
53
+ (0, _vitest.expect)(label).toBeInTheDocument();
54
+ (0, _vitest.expect)(label).toHaveTextContent('Opacity');
55
+ (0, _vitest.expect)(input).toBeInTheDocument();
56
+ (0, _vitest.expect)(input.tagName).toBe('INPUT');
57
+ (0, _vitest.expect)(input).toHaveAttribute('name', 'opacity');
58
+ (0, _vitest.expect)(input).toHaveAttribute('type', 'range');
59
+ });
60
+ it('displays the default value', async () => {
61
+ const _render2 = (0, _react2.render)(_RangeInput2 || (_RangeInput2 = /*#__PURE__*/_react.default.createElement(_index.RangeInput, {
62
+ label: "Opacity",
63
+ name: "opacity",
64
+ max: 100,
65
+ min: 0,
66
+ defaultValue: 42
67
+ }))),
68
+ container = _render2.container;
69
+ const output = container.querySelector('[class$="-rangeInput__value"]');
70
+ (0, _vitest.expect)(output).toHaveTextContent('42');
71
+ });
72
+ it('sets input value to default value', async () => {
73
+ const _render3 = (0, _react2.render)(_RangeInput3 || (_RangeInput3 = /*#__PURE__*/_react.default.createElement(_index.RangeInput, {
74
+ label: "Opacity",
75
+ name: "opacity",
76
+ max: 100,
77
+ min: 0,
78
+ defaultValue: 25
79
+ }))),
80
+ container = _render3.container;
81
+ const input = container.querySelector('input');
82
+ (0, _vitest.expect)(input).toHaveValue('25');
83
+ });
84
+ it('sets input value to controlled value', async () => {
85
+ const _render4 = (0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.RangeInput, {
86
+ label: "Opacity",
87
+ name: "opacity",
88
+ max: 100,
89
+ min: 0,
90
+ value: 25,
91
+ onChange: () => {}
92
+ })),
93
+ container = _render4.container;
94
+ const input = container.querySelector('input');
95
+ (0, _vitest.expect)(input).toHaveValue('25');
96
+ });
97
+ describe('thumbVariant prop', () => {
98
+ it('should throw deprecation warning by default', async () => {
99
+ (0, _react2.render)(_RangeInput4 || (_RangeInput4 = /*#__PURE__*/_react.default.createElement(_index.RangeInput, {
100
+ label: "Opacity",
101
+ name: "opacity",
102
+ max: 100,
103
+ min: 0,
104
+ defaultValue: 30
105
+ })));
106
+ const expectedErrorMessage = "Warning: [RangeInput] The 'deprecated' value for the `thumbVariant` prop is deprecated. The `deprecated` variant is not fully accessible and will be removed in V9. The connected theme variables will be removed as well: `handleShadowColor`, `handleFocusOutlineColor`, `handleFocusOutlineWidth`. Please use the `accessible` variant.";
107
+ (0, _vitest.expect)(consoleWarningMock).toHaveBeenCalledWith(_vitest.expect.stringContaining(expectedErrorMessage), _vitest.expect.any(String));
108
+ });
109
+ it('should throw deprecation warning when explicitly "deprecated"', async () => {
110
+ (0, _react2.render)(_RangeInput5 || (_RangeInput5 = /*#__PURE__*/_react.default.createElement(_index.RangeInput, {
111
+ label: "Opacity",
112
+ name: "opacity",
113
+ max: 100,
114
+ min: 0,
115
+ defaultValue: 30,
116
+ thumbVariant: "deprecated"
117
+ })));
118
+ const expectedErrorMessage = "Warning: [RangeInput] The 'deprecated' value for the `thumbVariant` prop is deprecated. The `deprecated` variant is not fully accessible and will be removed in V9. The connected theme variables will be removed as well: `handleShadowColor`, `handleFocusOutlineColor`, `handleFocusOutlineWidth`. Please use the `accessible` variant.";
119
+ (0, _vitest.expect)(consoleWarningMock).toHaveBeenCalledWith(_vitest.expect.stringContaining(expectedErrorMessage), _vitest.expect.any(String));
120
+ });
121
+ it('should not throw deprecation warning when "accessible"', async () => {
122
+ (0, _react2.render)(_RangeInput6 || (_RangeInput6 = /*#__PURE__*/_react.default.createElement(_index.RangeInput, {
123
+ label: "Opacity",
124
+ name: "opacity",
125
+ max: 100,
126
+ min: 0,
127
+ defaultValue: 30,
128
+ thumbVariant: "accessible"
129
+ })));
130
+ (0, _vitest.expect)(consoleWarningMock).not.toHaveBeenCalled();
131
+ });
132
+ });
133
+ it('sets min value', async () => {
134
+ (0, _react2.render)(_RangeInput7 || (_RangeInput7 = /*#__PURE__*/_react.default.createElement(_index.RangeInput, {
135
+ label: "Opacity",
136
+ name: "opacity",
137
+ max: 100,
138
+ min: 25
139
+ })));
140
+ const input = _react2.screen.getByLabelText('Opacity');
141
+ (0, _vitest.expect)(input).toHaveAttribute('min', '25');
142
+ });
143
+ it('sets max value', async () => {
144
+ (0, _react2.render)(_RangeInput8 || (_RangeInput8 = /*#__PURE__*/_react.default.createElement(_index.RangeInput, {
145
+ label: "Opacity",
146
+ name: "opacity",
147
+ max: 75,
148
+ min: 0
149
+ })));
150
+ const input = _react2.screen.getByLabelText('Opacity');
151
+ (0, _vitest.expect)(input).toHaveAttribute('max', '75');
152
+ });
153
+ it('sets step value', async () => {
154
+ (0, _react2.render)(_RangeInput9 || (_RangeInput9 = /*#__PURE__*/_react.default.createElement(_index.RangeInput, {
155
+ label: "Opacity",
156
+ name: "opacity",
157
+ max: 100,
158
+ min: 0,
159
+ step: 5
160
+ })));
161
+ const input = _react2.screen.getByLabelText('Opacity');
162
+ (0, _vitest.expect)(input).toHaveAttribute('step', '5');
163
+ });
164
+ it('formats the value displayed', async () => {
165
+ const _render5 = (0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.RangeInput, {
166
+ label: "Opacity",
167
+ name: "opacity",
168
+ max: 100,
169
+ min: 0,
170
+ defaultValue: 45,
171
+ formatValue: value => {
172
+ return `${value}%`;
173
+ }
174
+ })),
175
+ container = _render5.container;
176
+ const output = container.querySelector('[class$="-rangeInput__value"]');
177
+ (0, _vitest.expect)(output).toHaveTextContent('45%');
178
+ });
179
+ it('hides the value when displayValue is false', async () => {
180
+ const _render6 = (0, _react2.render)(_RangeInput10 || (_RangeInput10 = /*#__PURE__*/_react.default.createElement(_index.RangeInput, {
181
+ label: "Opacity",
182
+ name: "opacity",
183
+ max: 100,
184
+ min: 0,
185
+ displayValue: false
186
+ }))),
187
+ container = _render6.container;
188
+ const output = container.querySelector('[class$="-rangeInput__value"]');
189
+ (0, _vitest.expect)(output).not.toBeInTheDocument();
190
+ });
191
+ describe('for a11y', () => {
192
+ it('should meet standards', async () => {
193
+ const _render7 = (0, _react2.render)(_RangeInput11 || (_RangeInput11 = /*#__PURE__*/_react.default.createElement(_index.RangeInput, {
194
+ label: "Opacity",
195
+ name: "opacity",
196
+ max: 100,
197
+ min: 0,
198
+ defaultValue: 50
199
+ }))),
200
+ container = _render7.container;
201
+ const axeCheck = await (0, _runAxeCheck.runAxeCheck)(container);
202
+ (0, _vitest.expect)(axeCheck).toBe(true);
203
+ });
204
+ it('formats the aria-valuetext attribute', async () => {
205
+ const _render8 = (0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.RangeInput, {
206
+ label: "Opacity",
207
+ name: "opacity",
208
+ max: 100,
209
+ min: 0,
210
+ defaultValue: 40,
211
+ formatValue: value => {
212
+ return `${value}%`;
213
+ }
214
+ })),
215
+ container = _render8.container;
216
+ const input = container.querySelector('input');
217
+ const output = container.querySelector('[class$="-rangeInput__value"]');
218
+ (0, _vitest.expect)(input).toHaveAttribute('aria-valuetext', '40%');
219
+ (0, _vitest.expect)(output).toHaveTextContent('40%');
220
+ });
221
+ });
222
+ });
@@ -111,13 +111,6 @@ let RangeInput = exports.RangeInput = (_dec = (0, _withDeterministicId.withDeter
111
111
  const value = typeof this.props.value === 'undefined' ? this.state.value : this.props.value;
112
112
  return typeof value === 'string' ? parseInt(value) : value;
113
113
  }
114
-
115
- // TODO is this getter even user for anything?
116
- get invalid() {
117
- return this.props.messages && this.props.messages.findIndex(message => {
118
- return message.type === 'error' || message.type === 'newError';
119
- }) >= 0;
120
- }
121
114
  get id() {
122
115
  return this.props.id || this.defaultId;
123
116
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-range-input",
3
- "version": "10.11.1-snapshot-10",
3
+ "version": "10.11.1-snapshot-12",
4
4
  "description": "A styled HTML range input",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -24,26 +24,29 @@
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.26.0",
27
- "@instructure/console": "10.11.1-snapshot-10",
28
- "@instructure/emotion": "10.11.1-snapshot-10",
29
- "@instructure/shared-types": "10.11.1-snapshot-10",
30
- "@instructure/ui-color-utils": "10.11.1-snapshot-10",
31
- "@instructure/ui-dom-utils": "10.11.1-snapshot-10",
32
- "@instructure/ui-form-field": "10.11.1-snapshot-10",
33
- "@instructure/ui-i18n": "10.11.1-snapshot-10",
34
- "@instructure/ui-prop-types": "10.11.1-snapshot-10",
35
- "@instructure/ui-react-utils": "10.11.1-snapshot-10",
36
- "@instructure/ui-testable": "10.11.1-snapshot-10",
37
- "@instructure/ui-utils": "10.11.1-snapshot-10",
38
- "@instructure/ui-view": "10.11.1-snapshot-10",
39
- "@instructure/uid": "10.11.1-snapshot-10",
27
+ "@instructure/console": "10.11.1-snapshot-12",
28
+ "@instructure/emotion": "10.11.1-snapshot-12",
29
+ "@instructure/shared-types": "10.11.1-snapshot-12",
30
+ "@instructure/ui-color-utils": "10.11.1-snapshot-12",
31
+ "@instructure/ui-dom-utils": "10.11.1-snapshot-12",
32
+ "@instructure/ui-form-field": "10.11.1-snapshot-12",
33
+ "@instructure/ui-i18n": "10.11.1-snapshot-12",
34
+ "@instructure/ui-prop-types": "10.11.1-snapshot-12",
35
+ "@instructure/ui-react-utils": "10.11.1-snapshot-12",
36
+ "@instructure/ui-testable": "10.11.1-snapshot-12",
37
+ "@instructure/ui-utils": "10.11.1-snapshot-12",
38
+ "@instructure/ui-view": "10.11.1-snapshot-12",
39
+ "@instructure/uid": "10.11.1-snapshot-12",
40
40
  "prop-types": "^15.8.1"
41
41
  },
42
42
  "devDependencies": {
43
- "@instructure/ui-babel-preset": "10.11.1-snapshot-10",
44
- "@instructure/ui-test-locator": "10.11.1-snapshot-10",
45
- "@instructure/ui-test-utils": "10.11.1-snapshot-10",
46
- "@instructure/ui-themes": "10.11.1-snapshot-10"
43
+ "@instructure/ui-axe-check": "10.11.1-snapshot-12",
44
+ "@instructure/ui-babel-preset": "10.11.1-snapshot-12",
45
+ "@instructure/ui-test-utils": "10.11.1-snapshot-12",
46
+ "@instructure/ui-themes": "10.11.1-snapshot-12",
47
+ "@testing-library/jest-dom": "^6.6.3",
48
+ "@testing-library/react": "^16.0.1",
49
+ "vitest": "^2.1.8"
47
50
  },
48
51
  "peerDependencies": {
49
52
  "react": ">=16.14 <=18"