@instructure/ui-simple-select 9.0.2-snapshot-2 → 9.0.2-snapshot-4
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/es/SimpleSelect/SimpleSelectLocator.js +1 -1
- package/es/SimpleSelect/index.js +4 -4
- package/lib/SimpleSelect/SimpleSelectLocator.js +1 -1
- package/lib/SimpleSelect/index.js +4 -4
- package/package.json +18 -18
- package/src/SimpleSelect/SimpleSelectLocator.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/SimpleSelect/Group/index.d.ts +1 -1
- package/types/SimpleSelect/Option/index.d.ts +1 -1
- package/types/SimpleSelect/SimpleSelectLocator.d.ts +36 -36
- package/types/SimpleSelect/index.d.ts +3 -3
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
|
-
## [9.0.2-snapshot-
|
6
|
+
## [9.0.2-snapshot-4](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-4) (2024-06-05)
|
7
7
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-simple-select
|
9
9
|
|
@@ -24,7 +24,7 @@
|
|
24
24
|
import { locator } from '@instructure/ui-test-locator';
|
25
25
|
|
26
26
|
/* eslint-disable no-restricted-imports */
|
27
|
-
// @ts-
|
27
|
+
// @ts-ignore: Cannot find module
|
28
28
|
import { SelectLocator } from '@instructure/ui-select/es/Select/SelectLocator';
|
29
29
|
/* eslint-enable no-restricted-imports */
|
30
30
|
|
package/es/SimpleSelect/index.js
CHANGED
@@ -2,7 +2,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutPr
|
|
2
2
|
const _excluded = ["id", "value", "children", "renderBeforeLabel", "renderAfterLabel"],
|
3
3
|
_excluded2 = ["id", "renderLabel", "children"],
|
4
4
|
_excluded3 = ["renderLabel", "value", "defaultValue", "id", "size", "assistiveText", "placeholder", "interaction", "isRequired", "isInline", "width", "optionsMaxWidth", "optionsMaxHeight", "visibleOptionsCount", "messages", "placement", "constrain", "mountNode", "inputRef", "listRef", "renderEmptyOption", "renderBeforeInput", "renderAfterInput", "onFocus", "onBlur", "onShowOptions", "onHideOptions", "children"];
|
5
|
-
var _dec, _dec2, _class,
|
5
|
+
var _dec, _dec2, _class, _SimpleSelect;
|
6
6
|
/*
|
7
7
|
* The MIT License (MIT)
|
8
8
|
*
|
@@ -40,7 +40,7 @@ category: components
|
|
40
40
|
tags: form, field, dropdown
|
41
41
|
---
|
42
42
|
**/
|
43
|
-
let SimpleSelect = (_dec = withDeterministicId(), _dec2 = testable(), _dec(_class = _dec2(_class = (
|
43
|
+
let SimpleSelect = (_dec = withDeterministicId(), _dec2 = testable(), _dec(_class = _dec2(_class = (_SimpleSelect = class SimpleSelect extends Component {
|
44
44
|
constructor(props) {
|
45
45
|
super(props);
|
46
46
|
this.ref = null;
|
@@ -350,7 +350,7 @@ let SimpleSelect = (_dec = withDeterministicId(), _dec2 = testable(), _dec(_clas
|
|
350
350
|
onRequestSelectOption: this.handleSelectOption
|
351
351
|
}, passthroughProps(rest)), this.renderChildren());
|
352
352
|
}
|
353
|
-
},
|
353
|
+
}, _SimpleSelect.displayName = "SimpleSelect", _SimpleSelect.componentId = 'SimpleSelect', _SimpleSelect.Option = Option, _SimpleSelect.Group = Group, _SimpleSelect.allowedProps = allowedProps, _SimpleSelect.propTypes = propTypes, _SimpleSelect.defaultProps = {
|
354
354
|
size: 'medium',
|
355
355
|
isRequired: false,
|
356
356
|
isInline: false,
|
@@ -358,6 +358,6 @@ let SimpleSelect = (_dec = withDeterministicId(), _dec2 = testable(), _dec(_clas
|
|
358
358
|
placement: 'bottom stretch',
|
359
359
|
constrain: 'window',
|
360
360
|
renderEmptyOption: '---'
|
361
|
-
},
|
361
|
+
}, _SimpleSelect)) || _class) || _class);
|
362
362
|
export { SimpleSelect };
|
363
363
|
export default SimpleSelect;
|
@@ -32,7 +32,7 @@ var _index = require("./index");
|
|
32
32
|
*/
|
33
33
|
|
34
34
|
/* eslint-disable no-restricted-imports */
|
35
|
-
// @ts-
|
35
|
+
// @ts-ignore: Cannot find module
|
36
36
|
|
37
37
|
/* eslint-enable no-restricted-imports */
|
38
38
|
|
@@ -21,7 +21,7 @@ var _props = require("./props");
|
|
21
21
|
const _excluded = ["id", "value", "children", "renderBeforeLabel", "renderAfterLabel"],
|
22
22
|
_excluded2 = ["id", "renderLabel", "children"],
|
23
23
|
_excluded3 = ["renderLabel", "value", "defaultValue", "id", "size", "assistiveText", "placeholder", "interaction", "isRequired", "isInline", "width", "optionsMaxWidth", "optionsMaxHeight", "visibleOptionsCount", "messages", "placement", "constrain", "mountNode", "inputRef", "listRef", "renderEmptyOption", "renderBeforeInput", "renderAfterInput", "onFocus", "onBlur", "onShowOptions", "onHideOptions", "children"];
|
24
|
-
var _dec, _dec2, _class,
|
24
|
+
var _dec, _dec2, _class, _SimpleSelect;
|
25
25
|
/*
|
26
26
|
* The MIT License (MIT)
|
27
27
|
*
|
@@ -51,7 +51,7 @@ category: components
|
|
51
51
|
tags: form, field, dropdown
|
52
52
|
---
|
53
53
|
**/
|
54
|
-
let SimpleSelect = exports.SimpleSelect = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (
|
54
|
+
let SimpleSelect = exports.SimpleSelect = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_SimpleSelect = class SimpleSelect extends _react.Component {
|
55
55
|
constructor(props) {
|
56
56
|
super(props);
|
57
57
|
this.ref = null;
|
@@ -361,7 +361,7 @@ let SimpleSelect = exports.SimpleSelect = (_dec = (0, _withDeterministicId.withD
|
|
361
361
|
onRequestSelectOption: this.handleSelectOption
|
362
362
|
}, (0, _passthroughProps.passthroughProps)(rest)), this.renderChildren());
|
363
363
|
}
|
364
|
-
},
|
364
|
+
}, _SimpleSelect.displayName = "SimpleSelect", _SimpleSelect.componentId = 'SimpleSelect', _SimpleSelect.Option = _Option.Option, _SimpleSelect.Group = _Group.Group, _SimpleSelect.allowedProps = _props.allowedProps, _SimpleSelect.propTypes = _props.propTypes, _SimpleSelect.defaultProps = {
|
365
365
|
size: 'medium',
|
366
366
|
isRequired: false,
|
367
367
|
isInline: false,
|
@@ -369,5 +369,5 @@ let SimpleSelect = exports.SimpleSelect = (_dec = (0, _withDeterministicId.withD
|
|
369
369
|
placement: 'bottom stretch',
|
370
370
|
constrain: 'window',
|
371
371
|
renderEmptyOption: '---'
|
372
|
-
},
|
372
|
+
}, _SimpleSelect)) || _class) || _class);
|
373
373
|
var _default = exports.default = SimpleSelect;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@instructure/ui-simple-select",
|
3
|
-
"version": "9.0.2-snapshot-
|
3
|
+
"version": "9.0.2-snapshot-4",
|
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",
|
@@ -23,26 +23,26 @@
|
|
23
23
|
},
|
24
24
|
"license": "MIT",
|
25
25
|
"dependencies": {
|
26
|
-
"@babel/runtime": "^7.
|
27
|
-
"@instructure/console": "9.0.2-snapshot-
|
28
|
-
"@instructure/shared-types": "9.0.2-snapshot-
|
29
|
-
"@instructure/ui-form-field": "9.0.2-snapshot-
|
30
|
-
"@instructure/ui-position": "9.0.2-snapshot-
|
31
|
-
"@instructure/ui-prop-types": "9.0.2-snapshot-
|
32
|
-
"@instructure/ui-react-utils": "9.0.2-snapshot-
|
33
|
-
"@instructure/ui-select": "9.0.2-snapshot-
|
34
|
-
"@instructure/ui-testable": "9.0.2-snapshot-
|
26
|
+
"@babel/runtime": "^7.24.5",
|
27
|
+
"@instructure/console": "9.0.2-snapshot-4",
|
28
|
+
"@instructure/shared-types": "9.0.2-snapshot-4",
|
29
|
+
"@instructure/ui-form-field": "9.0.2-snapshot-4",
|
30
|
+
"@instructure/ui-position": "9.0.2-snapshot-4",
|
31
|
+
"@instructure/ui-prop-types": "9.0.2-snapshot-4",
|
32
|
+
"@instructure/ui-react-utils": "9.0.2-snapshot-4",
|
33
|
+
"@instructure/ui-select": "9.0.2-snapshot-4",
|
34
|
+
"@instructure/ui-testable": "9.0.2-snapshot-4",
|
35
35
|
"prop-types": "^15.8.1"
|
36
36
|
},
|
37
37
|
"devDependencies": {
|
38
|
-
"@instructure/ui-babel-preset": "9.0.2-snapshot-
|
39
|
-
"@instructure/ui-color-utils": "9.0.2-snapshot-
|
40
|
-
"@instructure/ui-icons": "9.0.2-snapshot-
|
41
|
-
"@instructure/ui-test-locator": "9.0.2-snapshot-
|
42
|
-
"@instructure/ui-test-utils": "9.0.2-snapshot-
|
43
|
-
"@instructure/ui-utils": "9.0.2-snapshot-
|
44
|
-
"@testing-library/jest-dom": "^6.
|
45
|
-
"@testing-library/react": "^
|
38
|
+
"@instructure/ui-babel-preset": "9.0.2-snapshot-4",
|
39
|
+
"@instructure/ui-color-utils": "9.0.2-snapshot-4",
|
40
|
+
"@instructure/ui-icons": "9.0.2-snapshot-4",
|
41
|
+
"@instructure/ui-test-locator": "9.0.2-snapshot-4",
|
42
|
+
"@instructure/ui-test-utils": "9.0.2-snapshot-4",
|
43
|
+
"@instructure/ui-utils": "9.0.2-snapshot-4",
|
44
|
+
"@testing-library/jest-dom": "^6.4.5",
|
45
|
+
"@testing-library/react": "^15.0.7"
|
46
46
|
},
|
47
47
|
"peerDependencies": {
|
48
48
|
"react": ">=16.8 <=18"
|
@@ -24,7 +24,7 @@
|
|
24
24
|
import { locator } from '@instructure/ui-test-locator'
|
25
25
|
|
26
26
|
/* eslint-disable no-restricted-imports */
|
27
|
-
// @ts-
|
27
|
+
// @ts-ignore: Cannot find module
|
28
28
|
import { SelectLocator } from '@instructure/ui-select/es/Select/SelectLocator'
|
29
29
|
/* eslint-enable no-restricted-imports */
|
30
30
|
|