@instructure/ui-select 8.25.1-snapshot.0 → 8.26.1-snapshot-1

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,6 +3,18 @@
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.26.1-snapshot-1](https://github.com/instructure/instructure-ui/compare/v8.26.0...v8.26.1-snapshot-1) (2022-07-06)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-select
9
+
10
+
11
+
12
+
13
+
14
+ # [8.26.0](https://github.com/instructure/instructure-ui/compare/v8.25.0...v8.26.0) (2022-06-30)
15
+
16
+ **Note:** Version bump only for package @instructure/ui-select
17
+
6
18
  # [8.25.0](https://github.com/instructure/instructure-ui/compare/v8.24.5...v8.25.0) (2022-06-03)
7
19
 
8
20
  **Note:** Version bump only for package @instructure/ui-select
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-select",
3
- "version": "8.25.1-snapshot.0+59b6babce",
3
+ "version": "8.26.1-snapshot-1",
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,30 +23,30 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "8.25.1-snapshot.0+59b6babce",
27
- "@instructure/ui-color-utils": "8.25.1-snapshot.0+59b6babce",
28
- "@instructure/ui-test-locator": "8.25.1-snapshot.0+59b6babce",
29
- "@instructure/ui-test-utils": "8.25.1-snapshot.0+59b6babce",
30
- "@instructure/ui-themes": "8.25.1-snapshot.0+59b6babce"
26
+ "@instructure/ui-babel-preset": "8.26.1-snapshot-1",
27
+ "@instructure/ui-color-utils": "8.26.1-snapshot-1",
28
+ "@instructure/ui-test-locator": "8.26.1-snapshot-1",
29
+ "@instructure/ui-test-utils": "8.26.1-snapshot-1",
30
+ "@instructure/ui-themes": "8.26.1-snapshot-1"
31
31
  },
32
32
  "dependencies": {
33
33
  "@babel/runtime": "^7.13.10",
34
- "@instructure/emotion": "8.25.1-snapshot.0+59b6babce",
35
- "@instructure/shared-types": "8.25.1-snapshot.0+59b6babce",
36
- "@instructure/ui-dom-utils": "8.25.1-snapshot.0+59b6babce",
37
- "@instructure/ui-form-field": "8.25.1-snapshot.0+59b6babce",
38
- "@instructure/ui-icons": "8.25.1-snapshot.0+59b6babce",
39
- "@instructure/ui-options": "8.25.1-snapshot.0+59b6babce",
40
- "@instructure/ui-popover": "8.25.1-snapshot.0+59b6babce",
41
- "@instructure/ui-position": "8.25.1-snapshot.0+59b6babce",
42
- "@instructure/ui-prop-types": "8.25.1-snapshot.0+59b6babce",
43
- "@instructure/ui-react-utils": "8.25.1-snapshot.0+59b6babce",
44
- "@instructure/ui-selectable": "8.25.1-snapshot.0+59b6babce",
45
- "@instructure/ui-testable": "8.25.1-snapshot.0+59b6babce",
46
- "@instructure/ui-text-input": "8.25.1-snapshot.0+59b6babce",
47
- "@instructure/ui-utils": "8.25.1-snapshot.0+59b6babce",
48
- "@instructure/ui-view": "8.25.1-snapshot.0+59b6babce",
49
- "@instructure/uid": "8.25.1-snapshot.0+59b6babce",
34
+ "@instructure/emotion": "8.26.1-snapshot-1",
35
+ "@instructure/shared-types": "8.26.1-snapshot-1",
36
+ "@instructure/ui-dom-utils": "8.26.1-snapshot-1",
37
+ "@instructure/ui-form-field": "8.26.1-snapshot-1",
38
+ "@instructure/ui-icons": "8.26.1-snapshot-1",
39
+ "@instructure/ui-options": "8.26.1-snapshot-1",
40
+ "@instructure/ui-popover": "8.26.1-snapshot-1",
41
+ "@instructure/ui-position": "8.26.1-snapshot-1",
42
+ "@instructure/ui-prop-types": "8.26.1-snapshot-1",
43
+ "@instructure/ui-react-utils": "8.26.1-snapshot-1",
44
+ "@instructure/ui-selectable": "8.26.1-snapshot-1",
45
+ "@instructure/ui-testable": "8.26.1-snapshot-1",
46
+ "@instructure/ui-text-input": "8.26.1-snapshot-1",
47
+ "@instructure/ui-utils": "8.26.1-snapshot-1",
48
+ "@instructure/ui-view": "8.26.1-snapshot-1",
49
+ "@instructure/uid": "8.26.1-snapshot-1",
50
50
  "prop-types": "^15"
51
51
  },
52
52
  "peerDependencies": {
@@ -55,6 +55,5 @@
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  },
58
- "sideEffects": false,
59
- "gitHead": "59b6babce07a9242111475156f544ec11c1a9283"
58
+ "sideEffects": false
60
59
  }
@@ -52,7 +52,8 @@ import type { ViewProps } from '@instructure/ui-view'
52
52
  import type { TextInputProps } from '@instructure/ui-text-input'
53
53
  import type {
54
54
  OptionsItemProps,
55
- OptionsSeparatorProps
55
+ OptionsSeparatorProps,
56
+ OptionsItemRenderProps
56
57
  } from '@instructure/ui-options'
57
58
  import type {
58
59
  SelectableProps,
@@ -67,9 +68,7 @@ import generateComponentTheme from './theme'
67
68
  import { Group } from './Group'
68
69
  import type { SelectGroupProps } from './Group/props'
69
70
  import { Option } from './Option'
70
- import type { SelectOptionProps } from './Option/props'
71
-
72
- import type { RenderSelectOptionLabel } from './Option/props'
71
+ import type { SelectOptionProps, RenderSelectOptionLabel } from './Option/props'
73
72
 
74
73
  import type { SelectProps } from './props'
75
74
  import { allowedProps, propTypes } from './props'
@@ -348,7 +347,9 @@ class Select extends Component<SelectProps> {
348
347
 
349
348
  const getRenderOptionLabel = (
350
349
  renderOptionLabel: RenderSelectOptionLabel
351
- ): React.ReactNode => {
350
+ ):
351
+ | React.ReactNode
352
+ | ((_args: OptionsItemRenderProps) => React.ReactNode) => {
352
353
  return typeof renderOptionLabel === 'function' &&
353
354
  !renderOptionLabel?.prototype?.isReactComponent
354
355
  ? renderOptionLabel.bind(null, {