@instructure/ui-simple-select 8.50.1-snapshot-1 → 8.50.1-snapshot-14
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 +1 -1
- package/package.json +15 -15
- package/src/SimpleSelect/README.md +4 -8
- package/tsconfig.build.tsbuildinfo +1 -1
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.50.1-snapshot-
|
6
|
+
## [8.50.1-snapshot-14](https://github.com/instructure/instructure-ui/compare/v8.50.0...v8.50.1-snapshot-14) (2023-12-08)
|
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": "8.50.1-snapshot-
|
3
|
+
"version": "8.50.1-snapshot-14",
|
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.23.2",
|
27
|
-
"@instructure/console": "8.50.1-snapshot-
|
28
|
-
"@instructure/shared-types": "8.50.1-snapshot-
|
29
|
-
"@instructure/ui-form-field": "8.50.1-snapshot-
|
30
|
-
"@instructure/ui-position": "8.50.1-snapshot-
|
31
|
-
"@instructure/ui-prop-types": "8.50.1-snapshot-
|
32
|
-
"@instructure/ui-react-utils": "8.50.1-snapshot-
|
33
|
-
"@instructure/ui-select": "8.50.1-snapshot-
|
34
|
-
"@instructure/ui-testable": "8.50.1-snapshot-
|
27
|
+
"@instructure/console": "8.50.1-snapshot-14",
|
28
|
+
"@instructure/shared-types": "8.50.1-snapshot-14",
|
29
|
+
"@instructure/ui-form-field": "8.50.1-snapshot-14",
|
30
|
+
"@instructure/ui-position": "8.50.1-snapshot-14",
|
31
|
+
"@instructure/ui-prop-types": "8.50.1-snapshot-14",
|
32
|
+
"@instructure/ui-react-utils": "8.50.1-snapshot-14",
|
33
|
+
"@instructure/ui-select": "8.50.1-snapshot-14",
|
34
|
+
"@instructure/ui-testable": "8.50.1-snapshot-14",
|
35
35
|
"prop-types": "^15.8.1"
|
36
36
|
},
|
37
37
|
"devDependencies": {
|
38
|
-
"@instructure/ui-babel-preset": "8.50.1-snapshot-
|
39
|
-
"@instructure/ui-color-utils": "8.50.1-snapshot-
|
40
|
-
"@instructure/ui-icons": "8.50.1-snapshot-
|
41
|
-
"@instructure/ui-test-locator": "8.50.1-snapshot-
|
42
|
-
"@instructure/ui-test-utils": "8.50.1-snapshot-
|
43
|
-
"@instructure/ui-utils": "8.50.1-snapshot-
|
38
|
+
"@instructure/ui-babel-preset": "8.50.1-snapshot-14",
|
39
|
+
"@instructure/ui-color-utils": "8.50.1-snapshot-14",
|
40
|
+
"@instructure/ui-icons": "8.50.1-snapshot-14",
|
41
|
+
"@instructure/ui-test-locator": "8.50.1-snapshot-14",
|
42
|
+
"@instructure/ui-test-utils": "8.50.1-snapshot-14",
|
43
|
+
"@instructure/ui-utils": "8.50.1-snapshot-14",
|
44
44
|
"@testing-library/jest-dom": "^6.1.4",
|
45
45
|
"@testing-library/react": "^14.0.0"
|
46
46
|
},
|
@@ -10,8 +10,7 @@ For the most basic implementations, `SimpleSelect` can be uncontrolled. If desir
|
|
10
10
|
|
11
11
|
```javascript
|
12
12
|
---
|
13
|
-
|
14
|
-
render: true
|
13
|
+
type: example
|
15
14
|
---
|
16
15
|
<SimpleSelect renderLabel="Uncontrolled Select">
|
17
16
|
<SimpleSelect.Option id="foo" value="foo"
|
@@ -36,8 +35,7 @@ To use `SimpleSelect` controlled, simply provide the `value` prop the string tha
|
|
36
35
|
|
37
36
|
```javascript
|
38
37
|
---
|
39
|
-
|
40
|
-
render: false
|
38
|
+
type: example
|
41
39
|
---
|
42
40
|
class Example extends React.Component {
|
43
41
|
state = {
|
@@ -100,8 +98,7 @@ Like a HTML `<select>` element, `SimpleSelect` supports option groups. `SimpleSe
|
|
100
98
|
|
101
99
|
```javascript
|
102
100
|
---
|
103
|
-
|
104
|
-
render: true
|
101
|
+
type: example
|
105
102
|
---
|
106
103
|
<SimpleSelect renderLabel="Select with Groups">
|
107
104
|
<SimpleSelect.Group renderLabel="Group one" key="grp1">
|
@@ -129,8 +126,7 @@ To display icons (or other elements) before or after an option, pass it via the
|
|
129
126
|
|
130
127
|
```javascript
|
131
128
|
---
|
132
|
-
|
133
|
-
render: true
|
129
|
+
type: example
|
134
130
|
---
|
135
131
|
<SimpleSelect renderLabel="Option Icons">
|
136
132
|
<SimpleSelect.Option
|