@instructure/ui-select 11.0.2-snapshot-1 → 11.0.2-snapshot-2

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
- ## [11.0.2-snapshot-1](https://github.com/instructure/instructure-ui/compare/v11.0.1...v11.0.2-snapshot-1) (2025-10-17)
6
+ ## [11.0.2-snapshot-2](https://github.com/instructure/instructure-ui/compare/v11.0.1...v11.0.2-snapshot-2) (2025-10-20)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-select
9
9
 
package/README.md CHANGED
@@ -10,7 +10,7 @@ A component for select and autocomplete behavior.
10
10
 
11
11
  The `ui-select` package contains the following:
12
12
 
13
- - [Select](#Select)
13
+ - [Select](Select)
14
14
 
15
15
  ### Installation
16
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-select",
3
- "version": "11.0.2-snapshot-1",
3
+ "version": "11.0.2-snapshot-2",
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,10 +23,10 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "11.0.2-snapshot-1",
27
- "@instructure/ui-color-utils": "11.0.2-snapshot-1",
28
- "@instructure/ui-scripts": "11.0.2-snapshot-1",
29
- "@instructure/ui-themes": "11.0.2-snapshot-1",
26
+ "@instructure/ui-babel-preset": "11.0.2-snapshot-2",
27
+ "@instructure/ui-color-utils": "11.0.2-snapshot-2",
28
+ "@instructure/ui-scripts": "11.0.2-snapshot-2",
29
+ "@instructure/ui-themes": "11.0.2-snapshot-2",
30
30
  "@testing-library/jest-dom": "^6.6.3",
31
31
  "@testing-library/react": "15.0.7",
32
32
  "@testing-library/user-event": "^14.6.1",
@@ -34,20 +34,20 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@babel/runtime": "^7.27.6",
37
- "@instructure/emotion": "11.0.2-snapshot-1",
38
- "@instructure/shared-types": "11.0.2-snapshot-1",
39
- "@instructure/ui-dom-utils": "11.0.2-snapshot-1",
40
- "@instructure/ui-form-field": "11.0.2-snapshot-1",
41
- "@instructure/ui-icons": "11.0.2-snapshot-1",
42
- "@instructure/ui-options": "11.0.2-snapshot-1",
43
- "@instructure/ui-popover": "11.0.2-snapshot-1",
44
- "@instructure/ui-position": "11.0.2-snapshot-1",
45
- "@instructure/ui-react-utils": "11.0.2-snapshot-1",
46
- "@instructure/ui-selectable": "11.0.2-snapshot-1",
47
- "@instructure/ui-text-input": "11.0.2-snapshot-1",
48
- "@instructure/ui-utils": "11.0.2-snapshot-1",
49
- "@instructure/ui-view": "11.0.2-snapshot-1",
50
- "@instructure/uid": "11.0.2-snapshot-1"
37
+ "@instructure/emotion": "11.0.2-snapshot-2",
38
+ "@instructure/shared-types": "11.0.2-snapshot-2",
39
+ "@instructure/ui-dom-utils": "11.0.2-snapshot-2",
40
+ "@instructure/ui-form-field": "11.0.2-snapshot-2",
41
+ "@instructure/ui-icons": "11.0.2-snapshot-2",
42
+ "@instructure/ui-options": "11.0.2-snapshot-2",
43
+ "@instructure/ui-popover": "11.0.2-snapshot-2",
44
+ "@instructure/ui-position": "11.0.2-snapshot-2",
45
+ "@instructure/ui-react-utils": "11.0.2-snapshot-2",
46
+ "@instructure/ui-selectable": "11.0.2-snapshot-2",
47
+ "@instructure/ui-text-input": "11.0.2-snapshot-2",
48
+ "@instructure/ui-utils": "11.0.2-snapshot-2",
49
+ "@instructure/ui-view": "11.0.2-snapshot-2",
50
+ "@instructure/uid": "11.0.2-snapshot-2"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "react": ">=18 <=19"
@@ -4,13 +4,13 @@ describes: Select
4
4
 
5
5
  `Select` is an accessible, custom styled combobox component for inputting a variety of data types.
6
6
 
7
- - It behaves similar to [Popover](#Popover) but provides additional semantic markup and focus behavior as a form input.
8
- - It should not be used for navigation or as a list of actions/functions. (see [Menu](#Menu)).
7
+ - It behaves similar to [Popover](Popover) but provides additional semantic markup and focus behavior as a form input.
8
+ - It should not be used for navigation or as a list of actions/functions. (see [Menu](Menu)).
9
9
  - It can behave like a `<select>` element or implement autocomplete behavior.
10
10
 
11
11
  > Notes:
12
12
  >
13
- > - Before implementing Select, see if a [SimpleSelect](#SimpleSelect) will suffice.
13
+ > - Before implementing Select, see if a [SimpleSelect](SimpleSelect) will suffice.
14
14
  > - The `id` prop on options must be globally unique, it will be translated to an `id` prop in the DOM.
15
15
 
16
16
  #### Managing state for a Select
@@ -362,7 +362,7 @@ type: example
362
362
 
363
363
  #### Highlighting and selecting options
364
364
 
365
- To mark an option as "highlighted", use the option's `isHighlighted` prop. Note that only one highlighted option is permitted. Similarly, use `isSelected` to mark an option or multiple options as "selected". When allowing multiple selections, it's best to render a [Tag](#Tag) with [AccessibleContent](#AccessibleContent) for each selected option via the `renderBeforeInput` prop.
365
+ To mark an option as "highlighted", use the option's `isHighlighted` prop. Note that only one highlighted option is permitted. Similarly, use `isSelected` to mark an option or multiple options as "selected". When allowing multiple selections, it's best to render a [Tag](Tag) with [AccessibleContent](AccessibleContent) for each selected option via the `renderBeforeInput` prop.
366
366
 
367
367
  ```js
368
368
  ---
@@ -973,7 +973,7 @@ render(
973
973
 
974
974
  #### Asynchronous option loading
975
975
 
976
- If no results match the user's search, it's recommended to leave `isShowingOptions` as `true` and to display an "empty option" as a way of communicating that there are no matches. Similarly, it's helpful to display a [Spinner](#Spinner) in an empty option while options load.
976
+ If no results match the user's search, it's recommended to leave `isShowingOptions` as `true` and to display an "empty option" as a way of communicating that there are no matches. Similarly, it's helpful to display a [Spinner](Spinner) in an empty option while options load.
977
977
 
978
978
  ```js
979
979
  ---
@@ -1315,7 +1315,7 @@ render(
1315
1315
 
1316
1316
  #### Providing assistive text for screen readers
1317
1317
 
1318
- It's important to ensure screen reader users receive instruction and feedback while interacting with a `Select`, but screen reader support for the `combobox` role varies. The `assistiveText` prop should always be used to explain how a keyboard user can make a selection. Additionally, a live region should be updated with feedback as the component is interacted with, such as when options are filtered or highlighted. Using an [Alert](#Alert) with the `screenReaderOnly` prop is the easiest way to do this.
1318
+ It's important to ensure screen reader users receive instruction and feedback while interacting with a `Select`, but screen reader support for the `combobox` role varies. The `assistiveText` prop should always be used to explain how a keyboard user can make a selection. Additionally, a live region should be updated with feedback as the component is interacted with, such as when options are filtered or highlighted. Using an [Alert](Alert) with the `screenReaderOnly` prop is the easiest way to do this.
1319
1319
 
1320
1320
  > Note: This component uses a native `input` field to render the selected value. When it's included in a native HTML `form`, the text value will be sent to the backend instead of anything specified in the `value` field of the `Select.Option`-s. We do not recommend to use this component this way, rather write your own code that collects information and sends it to the backend.
1321
1321