@instructure/ui-menu 11.7.3-snapshot-4 → 11.7.3-snapshot-6

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,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
- ## [11.7.3-snapshot-4](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-4) (2026-04-28)
6
+ ## [11.7.3-snapshot-6](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-6) (2026-04-29)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-menu
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-menu",
3
- "version": "11.7.3-snapshot-4",
3
+ "version": "11.7.3-snapshot-6",
4
4
  "description": "A dropdown menu component",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -16,27 +16,27 @@
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.27.6",
18
18
  "keycode": "^2",
19
- "@instructure/console": "11.7.3-snapshot-4",
20
- "@instructure/emotion": "11.7.3-snapshot-4",
21
- "@instructure/shared-types": "11.7.3-snapshot-4",
22
- "@instructure/ui-dom-utils": "11.7.3-snapshot-4",
23
- "@instructure/ui-a11y-utils": "11.7.3-snapshot-4",
24
- "@instructure/ui-icons": "11.7.3-snapshot-4",
25
- "@instructure/ui-popover": "11.7.3-snapshot-4",
26
- "@instructure/ui-position": "11.7.3-snapshot-4",
27
- "@instructure/ui-react-utils": "11.7.3-snapshot-4",
28
- "@instructure/ui-utils": "11.7.3-snapshot-4",
29
- "@instructure/ui-view": "11.7.3-snapshot-4"
19
+ "@instructure/console": "11.7.3-snapshot-6",
20
+ "@instructure/emotion": "11.7.3-snapshot-6",
21
+ "@instructure/shared-types": "11.7.3-snapshot-6",
22
+ "@instructure/ui-a11y-utils": "11.7.3-snapshot-6",
23
+ "@instructure/ui-dom-utils": "11.7.3-snapshot-6",
24
+ "@instructure/ui-icons": "11.7.3-snapshot-6",
25
+ "@instructure/ui-popover": "11.7.3-snapshot-6",
26
+ "@instructure/ui-position": "11.7.3-snapshot-6",
27
+ "@instructure/ui-react-utils": "11.7.3-snapshot-6",
28
+ "@instructure/ui-themes": "11.7.3-snapshot-6",
29
+ "@instructure/ui-view": "11.7.3-snapshot-6",
30
+ "@instructure/ui-utils": "11.7.3-snapshot-6"
30
31
  },
31
32
  "devDependencies": {
32
33
  "@testing-library/jest-dom": "^6.6.3",
33
34
  "@testing-library/react": "15.0.7",
34
35
  "@testing-library/user-event": "^14.6.1",
35
36
  "vitest": "^3.2.2",
36
- "@instructure/ui-axe-check": "11.7.3-snapshot-4",
37
- "@instructure/ui-color-utils": "11.7.3-snapshot-4",
38
- "@instructure/ui-babel-preset": "11.7.3-snapshot-4",
39
- "@instructure/ui-themes": "11.7.3-snapshot-4"
37
+ "@instructure/ui-axe-check": "11.7.3-snapshot-6",
38
+ "@instructure/ui-babel-preset": "11.7.3-snapshot-6",
39
+ "@instructure/ui-color-utils": "11.7.3-snapshot-6"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": ">=18 <=19"
@@ -27,10 +27,10 @@ import MenuItem from '../MenuItem'
27
27
 
28
28
  import type {
29
29
  AsElementType,
30
- MenuItemTheme,
31
30
  OtherHTMLAttributes
32
31
  } from '@instructure/shared-types'
33
32
  import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
33
+ import type { NewComponentTypes } from '@instructure/ui-themes'
34
34
  import type { WithDeterministicIdProps } from '@instructure/ui-react-utils'
35
35
 
36
36
  type OnMenuItemSelect = (
@@ -100,7 +100,7 @@ type PropKeys = keyof MenuItemOwnProps
100
100
  type AllowedPropKeys = Readonly<Array<PropKeys>>
101
101
 
102
102
  type MenuItemProps = MenuItemOwnProps &
103
- WithStyleProps<MenuItemTheme, MenuItemStyle> &
103
+ WithStyleProps<ReturnType<NewComponentTypes['MenuItem']>, MenuItemStyle> &
104
104
  OtherHTMLAttributes<MenuItemOwnProps> &
105
105
  WithDeterministicIdProps
106
106
 
@@ -26,11 +26,9 @@ import React from 'react'
26
26
 
27
27
  import { MenuItem } from '../MenuItem'
28
28
 
29
- import type {
30
- MenuGroupTheme,
31
- OtherHTMLAttributes
32
- } from '@instructure/shared-types'
29
+ import type { OtherHTMLAttributes } from '@instructure/shared-types'
33
30
  import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
31
+ import type { NewComponentTypes } from '@instructure/ui-themes'
34
32
  import type { MenuItemProps } from '../MenuItem/props'
35
33
  import type { WithDeterministicIdProps } from '@instructure/ui-react-utils'
36
34
 
@@ -79,7 +77,7 @@ type PropKeys = keyof MenuGroupOwnProps
79
77
  type AllowedPropKeys = Readonly<Array<PropKeys>>
80
78
 
81
79
  type MenuGroupProps = MenuGroupOwnProps &
82
- WithStyleProps<MenuGroupTheme, MenuGroupStyle> &
80
+ WithStyleProps<ReturnType<NewComponentTypes['MenuGroup']>, MenuGroupStyle> &
83
81
  OtherHTMLAttributes<MenuGroupOwnProps> &
84
82
  WithDeterministicIdProps
85
83
 
@@ -23,10 +23,8 @@
23
23
  */
24
24
 
25
25
  import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
26
- import type {
27
- MenuSeparatorTheme,
28
- OtherHTMLAttributes
29
- } from '@instructure/shared-types'
26
+ import type { NewComponentTypes } from '@instructure/ui-themes'
27
+ import type { OtherHTMLAttributes } from '@instructure/shared-types'
30
28
 
31
29
  // keeping here to keep the structure of props.ts
32
30
  // eslint-disable-next-line
@@ -37,7 +35,10 @@ type PropKeys = keyof MenuSeparatorOwnProps
37
35
  type AllowedPropKeys = Readonly<Array<PropKeys>>
38
36
 
39
37
  type MenuSeparatorProps = MenuSeparatorOwnProps &
40
- WithStyleProps<MenuSeparatorTheme, MenuSeparatorStyle> &
38
+ WithStyleProps<
39
+ ReturnType<NewComponentTypes['MenuSeparator']>,
40
+ MenuSeparatorStyle
41
+ > &
41
42
  OtherHTMLAttributes<MenuSeparatorOwnProps>
42
43
 
43
44
  type MenuSeparatorStyle = ComponentStyle<'menuItemSeparator'>
@@ -24,8 +24,9 @@
24
24
 
25
25
  import React from 'react'
26
26
 
27
- import type { MenuTheme, OtherHTMLAttributes } from '@instructure/shared-types'
27
+ import type { OtherHTMLAttributes } from '@instructure/shared-types'
28
28
  import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
29
+ import type { NewComponentTypes } from '@instructure/ui-themes'
29
30
  import type {
30
31
  PlacementPropValues,
31
32
  PositionConstraint,
@@ -171,7 +172,7 @@ type PropKeys = keyof MenuOwnProps
171
172
  type AllowedPropKeys = Readonly<Array<PropKeys>>
172
173
 
173
174
  type MenuProps = MenuOwnProps &
174
- WithStyleProps<MenuTheme, MenuStyle> &
175
+ WithStyleProps<ReturnType<NewComponentTypes['Menu']>, MenuStyle> &
175
176
  // controls can be passed in renderChildren and used later as aria-controls
176
177
  Omit<OtherHTMLAttributes<MenuOwnProps>, 'controls'> & {
177
178
  controls?: React.AriaAttributes['aria-controls']