@instructure/ui-simple-select 10.4.2-snapshot-10 → 10.4.2-snapshot-13
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -3,9 +3,12 @@
|
|
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.4.2-snapshot-
|
6
|
+
## [10.4.2-snapshot-13](https://github.com/instructure/instructure-ui/compare/v10.4.1...v10.4.2-snapshot-13) (2024-11-07)
|
7
7
|
|
8
|
-
|
8
|
+
|
9
|
+
### Features
|
10
|
+
|
11
|
+
* **many:** add new form field error msg style + add asterisk for required fields ([9b03683](https://github.com/instructure/instructure-ui/commit/9b03683dadeef4c5deae2c60bea10686f143ff5d))
|
9
12
|
|
10
13
|
|
11
14
|
|
@@ -155,7 +155,7 @@ describe('<SimpleSelect />', () => {
|
|
155
155
|
renderLabel: "Choose an option",
|
156
156
|
isRequired: true
|
157
157
|
})));
|
158
|
-
const input = screen.getByLabelText('Choose an option');
|
158
|
+
const input = screen.getByLabelText('Choose an option *');
|
159
159
|
expect(input).toHaveAttribute('required');
|
160
160
|
});
|
161
161
|
it('should allow assistive text', async () => {
|
@@ -157,7 +157,7 @@ describe('<SimpleSelect />', () => {
|
|
157
157
|
renderLabel: "Choose an option",
|
158
158
|
isRequired: true
|
159
159
|
})));
|
160
|
-
const input = _react2.screen.getByLabelText('Choose an option');
|
160
|
+
const input = _react2.screen.getByLabelText('Choose an option *');
|
161
161
|
expect(input).toHaveAttribute('required');
|
162
162
|
});
|
163
163
|
(0, _vitest.it)('should allow assistive text', async () => {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@instructure/ui-simple-select",
|
3
|
-
"version": "10.4.2-snapshot-
|
3
|
+
"version": "10.4.2-snapshot-13",
|
4
4
|
"description": "A component for standard select element behavior.",
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
6
6
|
"module": "./es/index.js",
|
@@ -24,23 +24,23 @@
|
|
24
24
|
"license": "MIT",
|
25
25
|
"dependencies": {
|
26
26
|
"@babel/runtime": "^7.25.6",
|
27
|
-
"@instructure/console": "10.4.2-snapshot-
|
28
|
-
"@instructure/shared-types": "10.4.2-snapshot-
|
29
|
-
"@instructure/ui-form-field": "10.4.2-snapshot-
|
30
|
-
"@instructure/ui-position": "10.4.2-snapshot-
|
31
|
-
"@instructure/ui-prop-types": "10.4.2-snapshot-
|
32
|
-
"@instructure/ui-react-utils": "10.4.2-snapshot-
|
33
|
-
"@instructure/ui-select": "10.4.2-snapshot-
|
34
|
-
"@instructure/ui-testable": "10.4.2-snapshot-
|
27
|
+
"@instructure/console": "10.4.2-snapshot-13",
|
28
|
+
"@instructure/shared-types": "10.4.2-snapshot-13",
|
29
|
+
"@instructure/ui-form-field": "10.4.2-snapshot-13",
|
30
|
+
"@instructure/ui-position": "10.4.2-snapshot-13",
|
31
|
+
"@instructure/ui-prop-types": "10.4.2-snapshot-13",
|
32
|
+
"@instructure/ui-react-utils": "10.4.2-snapshot-13",
|
33
|
+
"@instructure/ui-select": "10.4.2-snapshot-13",
|
34
|
+
"@instructure/ui-testable": "10.4.2-snapshot-13",
|
35
35
|
"prop-types": "^15.8.1"
|
36
36
|
},
|
37
37
|
"devDependencies": {
|
38
|
-
"@instructure/ui-axe-check": "10.4.2-snapshot-
|
39
|
-
"@instructure/ui-babel-preset": "10.4.2-snapshot-
|
40
|
-
"@instructure/ui-color-utils": "10.4.2-snapshot-
|
41
|
-
"@instructure/ui-icons": "10.4.2-snapshot-
|
42
|
-
"@instructure/ui-test-utils": "10.4.2-snapshot-
|
43
|
-
"@instructure/ui-utils": "10.4.2-snapshot-
|
38
|
+
"@instructure/ui-axe-check": "10.4.2-snapshot-13",
|
39
|
+
"@instructure/ui-babel-preset": "10.4.2-snapshot-13",
|
40
|
+
"@instructure/ui-color-utils": "10.4.2-snapshot-13",
|
41
|
+
"@instructure/ui-icons": "10.4.2-snapshot-13",
|
42
|
+
"@instructure/ui-test-utils": "10.4.2-snapshot-13",
|
43
|
+
"@instructure/ui-utils": "10.4.2-snapshot-13",
|
44
44
|
"@testing-library/jest-dom": "^6.4.6",
|
45
45
|
"@testing-library/react": "^16.0.1",
|
46
46
|
"@testing-library/user-event": "^14.5.2",
|
@@ -191,7 +191,7 @@ describe('<SimpleSelect />', () => {
|
|
191
191
|
|
192
192
|
it('should render required when isRequired={true}', async () => {
|
193
193
|
render(<SimpleSelect renderLabel="Choose an option" isRequired />)
|
194
|
-
const input = screen.getByLabelText('Choose an option')
|
194
|
+
const input = screen.getByLabelText('Choose an option *')
|
195
195
|
|
196
196
|
expect(input).toHaveAttribute('required')
|
197
197
|
})
|