@instructure/ui-select 8.53.3-snapshot-7 → 8.53.3-snapshot-8

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
- ## [8.53.3-snapshot-7](https://github.com/instructure/instructure-ui/compare/v8.53.2...v8.53.3-snapshot-7) (2024-02-23)
6
+ ## [8.53.3-snapshot-8](https://github.com/instructure/instructure-ui/compare/v8.53.2...v8.53.3-snapshot-8) (2024-02-23)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-select
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-select",
3
- "version": "8.53.3-snapshot-7",
3
+ "version": "8.53.3-snapshot-8",
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,32 +23,32 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "8.53.3-snapshot-7",
27
- "@instructure/ui-color-utils": "8.53.3-snapshot-7",
28
- "@instructure/ui-test-locator": "8.53.3-snapshot-7",
29
- "@instructure/ui-test-utils": "8.53.3-snapshot-7",
30
- "@instructure/ui-themes": "8.53.3-snapshot-7",
26
+ "@instructure/ui-babel-preset": "8.53.3-snapshot-8",
27
+ "@instructure/ui-color-utils": "8.53.3-snapshot-8",
28
+ "@instructure/ui-test-locator": "8.53.3-snapshot-8",
29
+ "@instructure/ui-test-utils": "8.53.3-snapshot-8",
30
+ "@instructure/ui-themes": "8.53.3-snapshot-8",
31
31
  "@testing-library/jest-dom": "^6.1.4",
32
32
  "@testing-library/react": "^14.0.0"
33
33
  },
34
34
  "dependencies": {
35
35
  "@babel/runtime": "^7.23.2",
36
- "@instructure/emotion": "8.53.3-snapshot-7",
37
- "@instructure/shared-types": "8.53.3-snapshot-7",
38
- "@instructure/ui-dom-utils": "8.53.3-snapshot-7",
39
- "@instructure/ui-form-field": "8.53.3-snapshot-7",
40
- "@instructure/ui-icons": "8.53.3-snapshot-7",
41
- "@instructure/ui-options": "8.53.3-snapshot-7",
42
- "@instructure/ui-popover": "8.53.3-snapshot-7",
43
- "@instructure/ui-position": "8.53.3-snapshot-7",
44
- "@instructure/ui-prop-types": "8.53.3-snapshot-7",
45
- "@instructure/ui-react-utils": "8.53.3-snapshot-7",
46
- "@instructure/ui-selectable": "8.53.3-snapshot-7",
47
- "@instructure/ui-testable": "8.53.3-snapshot-7",
48
- "@instructure/ui-text-input": "8.53.3-snapshot-7",
49
- "@instructure/ui-utils": "8.53.3-snapshot-7",
50
- "@instructure/ui-view": "8.53.3-snapshot-7",
51
- "@instructure/uid": "8.53.3-snapshot-7",
36
+ "@instructure/emotion": "8.53.3-snapshot-8",
37
+ "@instructure/shared-types": "8.53.3-snapshot-8",
38
+ "@instructure/ui-dom-utils": "8.53.3-snapshot-8",
39
+ "@instructure/ui-form-field": "8.53.3-snapshot-8",
40
+ "@instructure/ui-icons": "8.53.3-snapshot-8",
41
+ "@instructure/ui-options": "8.53.3-snapshot-8",
42
+ "@instructure/ui-popover": "8.53.3-snapshot-8",
43
+ "@instructure/ui-position": "8.53.3-snapshot-8",
44
+ "@instructure/ui-prop-types": "8.53.3-snapshot-8",
45
+ "@instructure/ui-react-utils": "8.53.3-snapshot-8",
46
+ "@instructure/ui-selectable": "8.53.3-snapshot-8",
47
+ "@instructure/ui-testable": "8.53.3-snapshot-8",
48
+ "@instructure/ui-text-input": "8.53.3-snapshot-8",
49
+ "@instructure/ui-utils": "8.53.3-snapshot-8",
50
+ "@instructure/ui-view": "8.53.3-snapshot-8",
51
+ "@instructure/uid": "8.53.3-snapshot-8",
52
52
  "prop-types": "^15.8.1"
53
53
  },
54
54
  "peerDependencies": {
@@ -534,8 +534,7 @@ class MultipleSelectExample extends React.Component {
534
534
  const newSelection = this.state.selectedOptionId.filter((id) => id !== tag)
535
535
  this.setState({
536
536
  selectedOptionId: newSelection,
537
- highlightedOptionId: null,
538
- announcement: `${this.getOptionById(tag).label} removed`,
537
+ highlightedOptionId: null
539
538
  }, () => {
540
539
  this.inputRef.focus()
541
540
  })