@instructure/ui-menu 8.28.0 → 8.28.1-snapshot-2
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 +8 -0
- package/es/Menu/MenuItem/index.js +1 -2
- package/lib/Menu/MenuItem/index.js +1 -2
- package/package.json +19 -19
- package/src/Menu/MenuItem/index.tsx +0 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Menu/MenuItem/index.d.ts +3 -3
- package/types/Menu/MenuItem/index.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.28.1-snapshot-2](https://github.com/instructure/instructure-ui/compare/v8.28.0...v8.28.1-snapshot-2) (2022-09-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-menu
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [8.28.0](https://github.com/instructure/instructure-ui/compare/v8.27.0...v8.28.0) (2022-09-02)
|
|
7
15
|
|
|
8
16
|
|
|
@@ -222,8 +222,7 @@ let MenuItem = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, g
|
|
|
222
222
|
href = _this$props5.href;
|
|
223
223
|
const props = omitProps(this.props, MenuItem.allowedProps);
|
|
224
224
|
const ElementType = this.elementType;
|
|
225
|
-
return jsx(ElementType
|
|
226
|
-
, Object.assign({
|
|
225
|
+
return jsx(ElementType, Object.assign({
|
|
227
226
|
tabIndex: -1 // note: tabIndex can be overridden by Menu or MenuItemGroup components
|
|
228
227
|
|
|
229
228
|
}, props, {
|
|
@@ -227,8 +227,7 @@ let MenuItem = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 =
|
|
|
227
227
|
href = _this$props5.href;
|
|
228
228
|
const props = (0, _omitProps.omitProps)(this.props, MenuItem.allowedProps);
|
|
229
229
|
const ElementType = this.elementType;
|
|
230
|
-
return (0, _emotion.jsx)(ElementType
|
|
231
|
-
, Object.assign({
|
|
230
|
+
return (0, _emotion.jsx)(ElementType, Object.assign({
|
|
232
231
|
tabIndex: -1 // note: tabIndex can be overridden by Menu or MenuItemGroup components
|
|
233
232
|
|
|
234
233
|
}, props, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-menu",
|
|
3
|
-
"version": "8.28.
|
|
3
|
+
"version": "8.28.1-snapshot-2",
|
|
4
4
|
"description": "A dropdown menu component",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,27 +23,27 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "8.28.
|
|
27
|
-
"@instructure/ui-color-utils": "8.28.
|
|
28
|
-
"@instructure/ui-test-locator": "8.28.
|
|
29
|
-
"@instructure/ui-test-queries": "8.28.
|
|
30
|
-
"@instructure/ui-test-utils": "8.28.
|
|
31
|
-
"@instructure/ui-themes": "8.28.
|
|
26
|
+
"@instructure/ui-babel-preset": "8.28.1-snapshot-2",
|
|
27
|
+
"@instructure/ui-color-utils": "8.28.1-snapshot-2",
|
|
28
|
+
"@instructure/ui-test-locator": "8.28.1-snapshot-2",
|
|
29
|
+
"@instructure/ui-test-queries": "8.28.1-snapshot-2",
|
|
30
|
+
"@instructure/ui-test-utils": "8.28.1-snapshot-2",
|
|
31
|
+
"@instructure/ui-themes": "8.28.1-snapshot-2"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.13.10",
|
|
35
|
-
"@instructure/console": "8.28.
|
|
36
|
-
"@instructure/emotion": "8.28.
|
|
37
|
-
"@instructure/shared-types": "8.28.
|
|
38
|
-
"@instructure/ui-a11y-utils": "8.28.
|
|
39
|
-
"@instructure/ui-dom-utils": "8.28.
|
|
40
|
-
"@instructure/ui-icons": "8.28.
|
|
41
|
-
"@instructure/ui-popover": "8.28.
|
|
42
|
-
"@instructure/ui-position": "8.28.
|
|
43
|
-
"@instructure/ui-prop-types": "8.28.
|
|
44
|
-
"@instructure/ui-react-utils": "8.28.
|
|
45
|
-
"@instructure/ui-testable": "8.28.
|
|
46
|
-
"@instructure/ui-utils": "8.28.
|
|
35
|
+
"@instructure/console": "8.28.1-snapshot-2",
|
|
36
|
+
"@instructure/emotion": "8.28.1-snapshot-2",
|
|
37
|
+
"@instructure/shared-types": "8.28.1-snapshot-2",
|
|
38
|
+
"@instructure/ui-a11y-utils": "8.28.1-snapshot-2",
|
|
39
|
+
"@instructure/ui-dom-utils": "8.28.1-snapshot-2",
|
|
40
|
+
"@instructure/ui-icons": "8.28.1-snapshot-2",
|
|
41
|
+
"@instructure/ui-popover": "8.28.1-snapshot-2",
|
|
42
|
+
"@instructure/ui-position": "8.28.1-snapshot-2",
|
|
43
|
+
"@instructure/ui-prop-types": "8.28.1-snapshot-2",
|
|
44
|
+
"@instructure/ui-react-utils": "8.28.1-snapshot-2",
|
|
45
|
+
"@instructure/ui-testable": "8.28.1-snapshot-2",
|
|
46
|
+
"@instructure/ui-utils": "8.28.1-snapshot-2",
|
|
47
47
|
"keycode": "^2",
|
|
48
48
|
"prop-types": "^15"
|
|
49
49
|
},
|
|
@@ -240,7 +240,6 @@ class MenuItem extends Component<MenuItemProps, MenuItemState> {
|
|
|
240
240
|
|
|
241
241
|
return (
|
|
242
242
|
<ElementType
|
|
243
|
-
// @ts-expect-error TODO: `ref` prop causes: "Expression produces a union type that is too complex to represent.ts(2590)"
|
|
244
243
|
tabIndex={-1} // note: tabIndex can be overridden by Menu or MenuItemGroup components
|
|
245
244
|
{...props}
|
|
246
245
|
href={href}
|