@instructure/ui-drilldown 8.30.1-snapshot-1 → 8.31.0

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,66 +3,38 @@
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.30.1-snapshot-1](https://github.com/instructure/instructure-ui/compare/v8.30.0...v8.30.1-snapshot-1) (2022-11-09)
6
+ # [8.31.0](https://github.com/instructure/instructure-ui/compare/v8.30.0...v8.31.0) (2022-11-21)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-drilldown
9
9
 
10
-
11
-
12
-
13
-
14
10
  # [8.30.0](https://github.com/instructure/instructure-ui/compare/v8.29.0...v8.30.0) (2022-10-26)
15
11
 
16
12
  **Note:** Version bump only for package @instructure/ui-drilldown
17
13
 
18
-
19
-
20
-
21
-
22
14
  # [8.29.0](https://github.com/instructure/instructure-ui/compare/v8.28.0...v8.29.0) (2022-09-29)
23
15
 
24
-
25
16
  ### Bug Fixes
26
17
 
27
- * support react 18 ([972bb93](https://github.com/instructure/instructure-ui/commit/972bb93d2835fcca3548d624b1ba2497661b4243))
28
-
29
-
30
-
31
-
18
+ - support react 18 ([972bb93](https://github.com/instructure/instructure-ui/commit/972bb93d2835fcca3548d624b1ba2497661b4243))
32
19
 
33
20
  ## [8.28.2](https://github.com/instructure/instructure-ui/compare/v8.28.0...v8.28.2) (2022-09-16)
34
21
 
35
-
36
22
  ### Bug Fixes
37
23
 
38
- * support react 18 ([972bb93](https://github.com/instructure/instructure-ui/commit/972bb93d2835fcca3548d624b1ba2497661b4243))
39
-
40
-
41
-
42
-
24
+ - support react 18 ([972bb93](https://github.com/instructure/instructure-ui/commit/972bb93d2835fcca3548d624b1ba2497661b4243))
43
25
 
44
26
  ## [8.28.1](https://github.com/instructure/instructure-ui/compare/v8.28.0...v8.28.1) (2022-09-12)
45
27
 
46
-
47
28
  ### Bug Fixes
48
29
 
49
- * support react 18 ([972bb93](https://github.com/instructure/instructure-ui/commit/972bb93d2835fcca3548d624b1ba2497661b4243))
50
-
51
-
52
-
53
-
30
+ - support react 18 ([972bb93](https://github.com/instructure/instructure-ui/commit/972bb93d2835fcca3548d624b1ba2497661b4243))
54
31
 
55
32
  # [8.28.0](https://github.com/instructure/instructure-ui/compare/v8.27.0...v8.28.0) (2022-09-02)
56
33
 
57
-
58
34
  ### Features
59
35
 
60
- * **ui-drilldown:** add `minHeight` and `minWidth` props to Drilldown ([7e10b29](https://github.com/instructure/instructure-ui/commit/7e10b2966f4dfb79dfdecca62f12c3f9ba5b62b4))
61
- * **ui-drilldown:** add `positionContainerDisplay` prop to Drilldown ([834302c](https://github.com/instructure/instructure-ui/commit/834302c1510c96bde8436307465fa480957719bc))
62
-
63
-
64
-
65
-
36
+ - **ui-drilldown:** add `minHeight` and `minWidth` props to Drilldown ([7e10b29](https://github.com/instructure/instructure-ui/commit/7e10b2966f4dfb79dfdecca62f12c3f9ba5b62b4))
37
+ - **ui-drilldown:** add `positionContainerDisplay` prop to Drilldown ([834302c](https://github.com/instructure/instructure-ui/commit/834302c1510c96bde8436307465fa480957719bc))
66
38
 
67
39
  # [8.27.0](https://github.com/instructure/instructure-ui/compare/v8.26.3...v8.27.0) (2022-07-25)
68
40
 
@@ -39,7 +39,7 @@ const customMethods = {
39
39
  args[_key] = arguments[_key];
40
40
  }
41
41
 
42
- return await findAll('[role^=menuitem]', ...args);
42
+ return await findAll('[class$=-optionItem__container]:not([role="presentation"])', ...args);
43
43
  },
44
44
  findAllOptionWrappers: async function () {
45
45
  return await OptionsItemLocator.findAll(...arguments);
@@ -51,7 +51,7 @@ const customMethods = {
51
51
  args[_key] = arguments[_key];
52
52
  }
53
53
 
54
- return await (0, _uiTestUtils.findAll)('[role^=menuitem]', ...args);
54
+ return await (0, _uiTestUtils.findAll)('[class$=-optionItem__container]:not([role="presentation"])', ...args);
55
55
  },
56
56
  findAllOptionWrappers: async function () {
57
57
  return await _OptionsItemLocator.OptionsItemLocator.findAll(...arguments);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-drilldown",
3
- "version": "8.30.1-snapshot-1",
3
+ "version": "8.31.0",
4
4
  "description": "A drilldown menu component",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -24,28 +24,28 @@
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.13.10",
27
- "@instructure/console": "8.30.1-snapshot-1",
28
- "@instructure/emotion": "8.30.1-snapshot-1",
29
- "@instructure/shared-types": "8.30.1-snapshot-1",
30
- "@instructure/ui-dom-utils": "8.30.1-snapshot-1",
31
- "@instructure/ui-icons": "8.30.1-snapshot-1",
32
- "@instructure/ui-options": "8.30.1-snapshot-1",
33
- "@instructure/ui-popover": "8.30.1-snapshot-1",
34
- "@instructure/ui-position": "8.30.1-snapshot-1",
35
- "@instructure/ui-prop-types": "8.30.1-snapshot-1",
36
- "@instructure/ui-react-utils": "8.30.1-snapshot-1",
37
- "@instructure/ui-selectable": "8.30.1-snapshot-1",
38
- "@instructure/ui-testable": "8.30.1-snapshot-1",
39
- "@instructure/ui-utils": "8.30.1-snapshot-1",
40
- "@instructure/ui-view": "8.30.1-snapshot-1",
27
+ "@instructure/console": "8.31.0",
28
+ "@instructure/emotion": "8.31.0",
29
+ "@instructure/shared-types": "8.31.0",
30
+ "@instructure/ui-dom-utils": "8.31.0",
31
+ "@instructure/ui-icons": "8.31.0",
32
+ "@instructure/ui-options": "8.31.0",
33
+ "@instructure/ui-popover": "8.31.0",
34
+ "@instructure/ui-position": "8.31.0",
35
+ "@instructure/ui-prop-types": "8.31.0",
36
+ "@instructure/ui-react-utils": "8.31.0",
37
+ "@instructure/ui-selectable": "8.31.0",
38
+ "@instructure/ui-testable": "8.31.0",
39
+ "@instructure/ui-utils": "8.31.0",
40
+ "@instructure/ui-view": "8.31.0",
41
41
  "prop-types": "^15"
42
42
  },
43
43
  "devDependencies": {
44
- "@instructure/ui-babel-preset": "8.30.1-snapshot-1",
45
- "@instructure/ui-color-utils": "8.30.1-snapshot-1",
46
- "@instructure/ui-test-locator": "8.30.1-snapshot-1",
47
- "@instructure/ui-test-utils": "8.30.1-snapshot-1",
48
- "@instructure/ui-themes": "8.30.1-snapshot-1"
44
+ "@instructure/ui-babel-preset": "8.31.0",
45
+ "@instructure/ui-color-utils": "8.31.0",
46
+ "@instructure/ui-test-locator": "8.31.0",
47
+ "@instructure/ui-test-utils": "8.31.0",
48
+ "@instructure/ui-themes": "8.31.0"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "react": ">=16.8 <=18"
@@ -37,7 +37,10 @@ import { Drilldown } from './index'
37
37
  const customMethods = {
38
38
  // return the wrapper Option.Items
39
39
  findAllOptions: async (...args: any[]) => {
40
- return await findAll('[role^=menuitem]', ...args)
40
+ return await findAll(
41
+ '[class$=-optionItem__container]:not([role="presentation"])',
42
+ ...args
43
+ )
41
44
  },
42
45
  findAllOptionWrappers: async (...args: any[]) => {
43
46
  return await OptionsItemLocator.findAll(...args)