@instructure/ui-menu 11.7.2-snapshot-52 → 11.7.2-snapshot-60

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.2-snapshot-52](https://github.com/instructure/instructure-ui/compare/v11.7.1...v11.7.2-snapshot-52) (2026-04-22)
6
+ ## [11.7.2-snapshot-60](https://github.com/instructure/instructure-ui/compare/v11.7.1...v11.7.2-snapshot-60) (2026-04-23)
7
7
 
8
8
 
9
9
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-menu",
3
- "version": "11.7.2-snapshot-52",
3
+ "version": "11.7.2-snapshot-60",
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.2-snapshot-52",
20
- "@instructure/emotion": "11.7.2-snapshot-52",
21
- "@instructure/shared-types": "11.7.2-snapshot-52",
22
- "@instructure/ui-dom-utils": "11.7.2-snapshot-52",
23
- "@instructure/ui-a11y-utils": "11.7.2-snapshot-52",
24
- "@instructure/ui-icons": "11.7.2-snapshot-52",
25
- "@instructure/ui-position": "11.7.2-snapshot-52",
26
- "@instructure/ui-popover": "11.7.2-snapshot-52",
27
- "@instructure/ui-utils": "11.7.2-snapshot-52",
28
- "@instructure/ui-react-utils": "11.7.2-snapshot-52",
29
- "@instructure/ui-view": "11.7.2-snapshot-52"
19
+ "@instructure/console": "11.7.2-snapshot-60",
20
+ "@instructure/emotion": "11.7.2-snapshot-60",
21
+ "@instructure/shared-types": "11.7.2-snapshot-60",
22
+ "@instructure/ui-a11y-utils": "11.7.2-snapshot-60",
23
+ "@instructure/ui-dom-utils": "11.7.2-snapshot-60",
24
+ "@instructure/ui-icons": "11.7.2-snapshot-60",
25
+ "@instructure/ui-position": "11.7.2-snapshot-60",
26
+ "@instructure/ui-popover": "11.7.2-snapshot-60",
27
+ "@instructure/ui-utils": "11.7.2-snapshot-60",
28
+ "@instructure/ui-view": "11.7.2-snapshot-60",
29
+ "@instructure/ui-react-utils": "11.7.2-snapshot-60"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@testing-library/jest-dom": "^6.6.3",
33
33
  "@testing-library/react": "15.0.7",
34
34
  "@testing-library/user-event": "^14.6.1",
35
35
  "vitest": "^3.2.2",
36
- "@instructure/ui-axe-check": "11.7.2-snapshot-52",
37
- "@instructure/ui-babel-preset": "11.7.2-snapshot-52",
38
- "@instructure/ui-color-utils": "11.7.2-snapshot-52",
39
- "@instructure/ui-themes": "11.7.2-snapshot-52"
36
+ "@instructure/ui-babel-preset": "11.7.2-snapshot-60",
37
+ "@instructure/ui-themes": "11.7.2-snapshot-60",
38
+ "@instructure/ui-axe-check": "11.7.2-snapshot-60",
39
+ "@instructure/ui-color-utils": "11.7.2-snapshot-60"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": ">=18 <=19"
@@ -36,7 +36,7 @@ import type { MenuItemProps, MenuItemStyle } from './props'
36
36
  * @return {Object} The final style object, which will be used in the component
37
37
  */
38
38
  const generateStyle = (
39
- componentTheme: NewComponentTypes['MenuItem'],
39
+ componentTheme: ReturnType<NewComponentTypes['MenuItem']>,
40
40
  props: MenuItemProps
41
41
  ): MenuItemStyle => {
42
42
  const { type, disabled, selected } = props
@@ -36,7 +36,7 @@ import type { MenuGroupStyle } from './props'
36
36
  * @return {Object} The final style object, which will be used in the component
37
37
  */
38
38
  const generateStyle = (
39
- componentTheme: NewComponentTypes['MenuGroup']
39
+ componentTheme: ReturnType<NewComponentTypes['MenuGroup']>
40
40
  ): MenuGroupStyle => {
41
41
  return {
42
42
  menuItemGroup: {
@@ -36,7 +36,7 @@ import type { MenuSeparatorStyle } from './props'
36
36
  * @return {Object} The final style object, which will be used in the component
37
37
  */
38
38
  const generateStyle = (
39
- componentTheme: NewComponentTypes['MenuSeparator']
39
+ componentTheme: ReturnType<NewComponentTypes['MenuSeparator']>
40
40
  ): MenuSeparatorStyle => {
41
41
  return {
42
42
  menuItemSeparator: {
@@ -37,7 +37,7 @@ import { calcFocusOutlineStyles } from '@instructure/emotion'
37
37
  * @return {Object} The final style object, which will be used in the component
38
38
  */
39
39
  const generateStyle = (
40
- componentTheme: NewComponentTypes['Menu'],
40
+ componentTheme: ReturnType<NewComponentTypes['Menu']>,
41
41
  props: MenuProps,
42
42
  sharedTokens: SharedTokens
43
43
  ): MenuStyle => {