@instructure/ui-select 11.7.4-snapshot-11 → 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.
Files changed (44) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/LICENSE.md +1 -0
  3. package/es/Select/v1/Group/index.js +3 -2
  4. package/es/Select/v1/Option/index.js +3 -2
  5. package/es/Select/v1/index.js +6 -6
  6. package/es/Select/v2/Group/index.js +3 -2
  7. package/es/Select/v2/Option/index.js +3 -2
  8. package/es/Select/v2/index.js +5 -5
  9. package/es/exports/a.js +4 -3
  10. package/es/exports/b.js +4 -3
  11. package/lib/Select/v1/Group/index.js +2 -2
  12. package/lib/Select/v1/Option/index.js +2 -2
  13. package/lib/Select/v1/index.js +16 -16
  14. package/lib/Select/v2/Group/index.js +2 -2
  15. package/lib/Select/v2/Option/index.js +2 -2
  16. package/lib/Select/v2/index.js +15 -15
  17. package/lib/exports/a.js +6 -6
  18. package/lib/exports/b.js +6 -6
  19. package/package.json +19 -19
  20. package/src/Select/v1/Group/index.tsx +2 -1
  21. package/src/Select/v1/Option/index.tsx +2 -1
  22. package/src/Select/v1/index.tsx +6 -5
  23. package/src/Select/v2/Group/index.tsx +2 -1
  24. package/src/Select/v2/Option/index.tsx +2 -1
  25. package/src/Select/v2/index.tsx +5 -4
  26. package/src/exports/a.ts +3 -3
  27. package/src/exports/b.ts +3 -3
  28. package/tsconfig.build.tsbuildinfo +1 -1
  29. package/types/Select/v1/Group/index.d.ts +1 -0
  30. package/types/Select/v1/Group/index.d.ts.map +1 -1
  31. package/types/Select/v1/Option/index.d.ts +1 -0
  32. package/types/Select/v1/Option/index.d.ts.map +1 -1
  33. package/types/Select/v1/index.d.ts +3 -2
  34. package/types/Select/v1/index.d.ts.map +1 -1
  35. package/types/Select/v2/Group/index.d.ts +1 -0
  36. package/types/Select/v2/Group/index.d.ts.map +1 -1
  37. package/types/Select/v2/Option/index.d.ts +1 -0
  38. package/types/Select/v2/Option/index.d.ts.map +1 -1
  39. package/types/Select/v2/index.d.ts +3 -2
  40. package/types/Select/v2/index.d.ts.map +1 -1
  41. package/types/exports/a.d.ts +3 -3
  42. package/types/exports/a.d.ts.map +1 -1
  43. package/types/exports/b.d.ts +3 -3
  44. 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
@@ -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'