@instructure/ui-select 11.7.4-snapshot-14 → 11.7.4-snapshot-49
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/LICENSE.md +1 -0
- package/es/Select/v1/Group/index.js +3 -2
- package/es/Select/v1/Option/index.js +3 -2
- package/es/Select/v1/index.js +6 -6
- package/es/Select/v2/Group/index.js +3 -2
- package/es/Select/v2/Option/index.js +3 -2
- package/es/Select/v2/index.js +5 -5
- package/es/exports/a.js +4 -3
- package/es/exports/b.js +4 -3
- package/lib/Select/v1/Group/index.js +2 -2
- package/lib/Select/v1/Option/index.js +2 -2
- package/lib/Select/v1/index.js +16 -16
- package/lib/Select/v2/Group/index.js +2 -2
- package/lib/Select/v2/Option/index.js +2 -2
- package/lib/Select/v2/index.js +15 -15
- package/lib/exports/a.js +6 -6
- package/lib/exports/b.js +6 -6
- package/package.json +19 -19
- package/src/Select/v1/Group/index.tsx +2 -1
- package/src/Select/v1/Option/index.tsx +2 -1
- package/src/Select/v1/index.tsx +6 -5
- package/src/Select/v2/Group/index.tsx +2 -1
- package/src/Select/v2/Option/index.tsx +2 -1
- package/src/Select/v2/index.tsx +5 -4
- package/src/exports/a.ts +3 -3
- package/src/exports/b.ts +3 -3
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Select/v1/Group/index.d.ts +1 -0
- package/types/Select/v1/Group/index.d.ts.map +1 -1
- package/types/Select/v1/Option/index.d.ts +1 -0
- package/types/Select/v1/Option/index.d.ts.map +1 -1
- package/types/Select/v1/index.d.ts +3 -2
- package/types/Select/v1/index.d.ts.map +1 -1
- package/types/Select/v2/Group/index.d.ts +1 -0
- package/types/Select/v2/Group/index.d.ts.map +1 -1
- package/types/Select/v2/Option/index.d.ts +1 -0
- package/types/Select/v2/Option/index.d.ts.map +1 -1
- package/types/Select/v2/index.d.ts +3 -2
- package/types/Select/v2/index.d.ts.map +1 -1
- package/types/exports/a.d.ts +3 -3
- package/types/exports/a.d.ts.map +1 -1
- package/types/exports/b.d.ts +3 -3
- package/types/exports/b.d.ts.map +1 -1
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
import { Component } from 'react'
|
|
26
26
|
import type { SelectOptionProps } from './props'
|
|
27
|
-
import { allowedProps } from './props'
|
|
27
|
+
import { allowedProps } from './props.js'
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
---
|
|
@@ -34,6 +34,7 @@ id: Select.Option
|
|
|
34
34
|
@module Option
|
|
35
35
|
**/
|
|
36
36
|
class Option extends Component<SelectOptionProps> {
|
|
37
|
+
static displayName = 'Option'
|
|
37
38
|
static readonly componentId = 'Select.Option'
|
|
38
39
|
|
|
39
40
|
static allowedProps = allowedProps
|
package/src/Select/v2/index.tsx
CHANGED
|
@@ -61,15 +61,15 @@ import type {
|
|
|
61
61
|
|
|
62
62
|
import { withStyleNew, BorderWidth } from '@instructure/emotion'
|
|
63
63
|
|
|
64
|
-
import generateStyle from './styles'
|
|
64
|
+
import generateStyle from './styles.js'
|
|
65
65
|
|
|
66
|
-
import { Group } from './Group'
|
|
66
|
+
import { Group } from './Group/index.js'
|
|
67
67
|
import type { SelectGroupProps } from './Group/props'
|
|
68
|
-
import { Option } from './Option'
|
|
68
|
+
import { Option } from './Option/index.js'
|
|
69
69
|
import type { SelectOptionProps, RenderSelectOptionLabel } from './Option/props'
|
|
70
70
|
|
|
71
71
|
import type { SelectProps } from './props'
|
|
72
|
-
import { allowedProps } from './props'
|
|
72
|
+
import { allowedProps } from './props.js'
|
|
73
73
|
import { Renderable } from '@instructure/shared-types'
|
|
74
74
|
|
|
75
75
|
const selectSizeToIconSize: Record<
|
|
@@ -139,6 +139,7 @@ tags: autocomplete, typeahead, combobox, dropdown, search, form
|
|
|
139
139
|
@withDeterministicId()
|
|
140
140
|
@withStyleNew(generateStyle)
|
|
141
141
|
class Select extends Component<SelectProps> {
|
|
142
|
+
static displayName = 'Select'
|
|
142
143
|
static readonly componentId = 'Select'
|
|
143
144
|
private readonly SCROLL_TOLERANCE = 0.5
|
|
144
145
|
|
package/src/exports/a.ts
CHANGED
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
export { Select } from '../Select/v1'
|
|
26
|
-
export { Group as SelectGroup } from '../Select/v1/Group'
|
|
27
|
-
export { Option as SelectOption } from '../Select/v1/Option'
|
|
25
|
+
export { Select } from '../Select/v1/index.js'
|
|
26
|
+
export { Group as SelectGroup } from '../Select/v1/Group/index.js'
|
|
27
|
+
export { Option as SelectOption } from '../Select/v1/Option/index.js'
|
|
28
28
|
|
|
29
29
|
export type { SelectProps, SelectOwnProps } from '../Select/v1/props'
|
|
30
30
|
export type { SelectGroupProps } from '../Select/v1/Group/props'
|
package/src/exports/b.ts
CHANGED
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
export { Select } from '../Select/v2'
|
|
26
|
-
export { Group as SelectGroup } from '../Select/v2/Group'
|
|
27
|
-
export { Option as SelectOption } from '../Select/v2/Option'
|
|
25
|
+
export { Select } from '../Select/v2/index.js'
|
|
26
|
+
export { Group as SelectGroup } from '../Select/v2/Group/index.js'
|
|
27
|
+
export { Option as SelectOption } from '../Select/v2/Option/index.js'
|
|
28
28
|
|
|
29
29
|
export type { SelectProps, SelectOwnProps } from '../Select/v2/props'
|
|
30
30
|
export type { SelectGroupProps } from '../Select/v2/Group/props'
|