@instructure/ui-simple-select 10.10.1-snapshot-4 → 10.10.1-snapshot-6

Sign up to get free protection for your applications and to get access to all the features.
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.10.1-snapshot-4](https://github.com/instructure/instructure-ui/compare/v10.10.0...v10.10.1-snapshot-4) (2025-01-17)
6
+ ## [10.10.1-snapshot-6](https://github.com/instructure/instructure-ui/compare/v10.10.0...v10.10.1-snapshot-6) (2025-02-03)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-simple-select
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-simple-select",
3
- "version": "10.10.1-snapshot-4",
3
+ "version": "10.10.1-snapshot-6",
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.26.0",
27
- "@instructure/console": "10.10.1-snapshot-4",
28
- "@instructure/shared-types": "10.10.1-snapshot-4",
29
- "@instructure/ui-form-field": "10.10.1-snapshot-4",
30
- "@instructure/ui-position": "10.10.1-snapshot-4",
31
- "@instructure/ui-prop-types": "10.10.1-snapshot-4",
32
- "@instructure/ui-react-utils": "10.10.1-snapshot-4",
33
- "@instructure/ui-select": "10.10.1-snapshot-4",
34
- "@instructure/ui-testable": "10.10.1-snapshot-4",
27
+ "@instructure/console": "10.10.1-snapshot-6",
28
+ "@instructure/shared-types": "10.10.1-snapshot-6",
29
+ "@instructure/ui-form-field": "10.10.1-snapshot-6",
30
+ "@instructure/ui-position": "10.10.1-snapshot-6",
31
+ "@instructure/ui-prop-types": "10.10.1-snapshot-6",
32
+ "@instructure/ui-react-utils": "10.10.1-snapshot-6",
33
+ "@instructure/ui-select": "10.10.1-snapshot-6",
34
+ "@instructure/ui-testable": "10.10.1-snapshot-6",
35
35
  "prop-types": "^15.8.1"
36
36
  },
37
37
  "devDependencies": {
38
- "@instructure/ui-axe-check": "10.10.1-snapshot-4",
39
- "@instructure/ui-babel-preset": "10.10.1-snapshot-4",
40
- "@instructure/ui-color-utils": "10.10.1-snapshot-4",
41
- "@instructure/ui-icons": "10.10.1-snapshot-4",
42
- "@instructure/ui-test-utils": "10.10.1-snapshot-4",
43
- "@instructure/ui-utils": "10.10.1-snapshot-4",
38
+ "@instructure/ui-axe-check": "10.10.1-snapshot-6",
39
+ "@instructure/ui-babel-preset": "10.10.1-snapshot-6",
40
+ "@instructure/ui-color-utils": "10.10.1-snapshot-6",
41
+ "@instructure/ui-icons": "10.10.1-snapshot-6",
42
+ "@instructure/ui-test-utils": "10.10.1-snapshot-6",
43
+ "@instructure/ui-utils": "10.10.1-snapshot-6",
44
44
  "@testing-library/jest-dom": "^6.6.3",
45
45
  "@testing-library/react": "^16.0.1",
46
46
  "@testing-library/user-event": "^14.5.2",
@@ -43,7 +43,8 @@ type RenderSimpleSelectOptionLabel = Renderable<OptionProps>
43
43
 
44
44
  type SimpleSelectOptionOwnProps = {
45
45
  /**
46
- * The id for the option.
46
+ * The id for the option. **Must be globally unique**, it will be translated
47
+ * to an `id` prop in the DOM.
47
48
  */
48
49
  id: string
49
50
  /**
@@ -4,6 +4,9 @@ describes: SimpleSelect
4
4
 
5
5
  `SimpleSelect` is a higher level abstraction of [Select](#Select) that closely parallels the functionality of standard HTML `<select>` elements. It does not support autocomplete behavior and is much less configurable than [Select](#Select). However, because it is more opinionated, `SimpleSelect` can be implemented with very little boilerplate.
6
6
 
7
+ > Note: The `id` prop on options must be globally unique, it will be translated to an `id` prop
8
+ > in the DOM.
9
+
7
10
  ### Uncontrolled
8
11
 
9
12
  For the most basic implementations, `SimpleSelect` can be uncontrolled. If desired, the `defaultValue` prop can be used to set the initial selection.