@instructure/ui-select 10.4.2-snapshot-10 → 10.4.2-snapshot-11

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,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-10](https://github.com/instructure/instructure-ui/compare/v10.4.1...v10.4.2-snapshot-10) (2024-11-06)
6
+ ## [10.4.2-snapshot-11](https://github.com/instructure/instructure-ui/compare/v10.4.1...v10.4.2-snapshot-11) (2024-11-06)
7
7
 
8
- **Note:** Version bump only for package @instructure/ui-select
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
 
@@ -242,7 +242,7 @@ describe('<Select />', () => {
242
242
  renderLabel: "Choose an option",
243
243
  isRequired: true
244
244
  })));
245
- const input = screen.getByLabelText('Choose an option');
245
+ const input = screen.getByLabelText('Choose an option *');
246
246
  expect(input).toHaveAttribute('required');
247
247
  });
248
248
  it('should render with inputValue', () => {
@@ -245,7 +245,7 @@ describe('<Select />', () => {
245
245
  renderLabel: "Choose an option",
246
246
  isRequired: true
247
247
  })));
248
- const input = _react2.screen.getByLabelText('Choose an option');
248
+ const input = _react2.screen.getByLabelText('Choose an option *');
249
249
  expect(input).toHaveAttribute('required');
250
250
  });
251
251
  it('should render with inputValue', () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-select",
3
- "version": "10.4.2-snapshot-10",
3
+ "version": "10.4.2-snapshot-11",
4
4
  "description": "A component for select and autocomplete behavior.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,13 +23,13 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-axe-check": "10.4.2-snapshot-10",
27
- "@instructure/ui-babel-preset": "10.4.2-snapshot-10",
28
- "@instructure/ui-color-utils": "10.4.2-snapshot-10",
29
- "@instructure/ui-scripts": "10.4.2-snapshot-10",
30
- "@instructure/ui-test-locator": "10.4.2-snapshot-10",
31
- "@instructure/ui-test-utils": "10.4.2-snapshot-10",
32
- "@instructure/ui-themes": "10.4.2-snapshot-10",
26
+ "@instructure/ui-axe-check": "10.4.2-snapshot-11",
27
+ "@instructure/ui-babel-preset": "10.4.2-snapshot-11",
28
+ "@instructure/ui-color-utils": "10.4.2-snapshot-11",
29
+ "@instructure/ui-scripts": "10.4.2-snapshot-11",
30
+ "@instructure/ui-test-locator": "10.4.2-snapshot-11",
31
+ "@instructure/ui-test-utils": "10.4.2-snapshot-11",
32
+ "@instructure/ui-themes": "10.4.2-snapshot-11",
33
33
  "@testing-library/jest-dom": "^6.4.6",
34
34
  "@testing-library/react": "^16.0.1",
35
35
  "@testing-library/user-event": "^14.5.2",
@@ -37,22 +37,22 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@babel/runtime": "^7.25.6",
40
- "@instructure/emotion": "10.4.2-snapshot-10",
41
- "@instructure/shared-types": "10.4.2-snapshot-10",
42
- "@instructure/ui-dom-utils": "10.4.2-snapshot-10",
43
- "@instructure/ui-form-field": "10.4.2-snapshot-10",
44
- "@instructure/ui-icons": "10.4.2-snapshot-10",
45
- "@instructure/ui-options": "10.4.2-snapshot-10",
46
- "@instructure/ui-popover": "10.4.2-snapshot-10",
47
- "@instructure/ui-position": "10.4.2-snapshot-10",
48
- "@instructure/ui-prop-types": "10.4.2-snapshot-10",
49
- "@instructure/ui-react-utils": "10.4.2-snapshot-10",
50
- "@instructure/ui-selectable": "10.4.2-snapshot-10",
51
- "@instructure/ui-testable": "10.4.2-snapshot-10",
52
- "@instructure/ui-text-input": "10.4.2-snapshot-10",
53
- "@instructure/ui-utils": "10.4.2-snapshot-10",
54
- "@instructure/ui-view": "10.4.2-snapshot-10",
55
- "@instructure/uid": "10.4.2-snapshot-10",
40
+ "@instructure/emotion": "10.4.2-snapshot-11",
41
+ "@instructure/shared-types": "10.4.2-snapshot-11",
42
+ "@instructure/ui-dom-utils": "10.4.2-snapshot-11",
43
+ "@instructure/ui-form-field": "10.4.2-snapshot-11",
44
+ "@instructure/ui-icons": "10.4.2-snapshot-11",
45
+ "@instructure/ui-options": "10.4.2-snapshot-11",
46
+ "@instructure/ui-popover": "10.4.2-snapshot-11",
47
+ "@instructure/ui-position": "10.4.2-snapshot-11",
48
+ "@instructure/ui-prop-types": "10.4.2-snapshot-11",
49
+ "@instructure/ui-react-utils": "10.4.2-snapshot-11",
50
+ "@instructure/ui-selectable": "10.4.2-snapshot-11",
51
+ "@instructure/ui-testable": "10.4.2-snapshot-11",
52
+ "@instructure/ui-text-input": "10.4.2-snapshot-11",
53
+ "@instructure/ui-utils": "10.4.2-snapshot-11",
54
+ "@instructure/ui-view": "10.4.2-snapshot-11",
55
+ "@instructure/uid": "10.4.2-snapshot-11",
56
56
  "prop-types": "^15.8.1"
57
57
  },
58
58
  "peerDependencies": {
@@ -290,7 +290,7 @@ describe('<Select />', () => {
290
290
 
291
291
  it('should render required when isRequired={true}', () => {
292
292
  render(<Select renderLabel="Choose an option" isRequired />)
293
- const input = screen.getByLabelText('Choose an option')
293
+ const input = screen.getByLabelText('Choose an option *')
294
294
 
295
295
  expect(input).toHaveAttribute('required')
296
296
  })