@instructure/ui-drilldown 8.44.1-snapshot-2 → 8.44.1-snapshot-4

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,9 +3,12 @@
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.44.1-snapshot-2](https://github.com/instructure/instructure-ui/compare/v8.44.0...v8.44.1-snapshot-2) (2023-09-28)
6
+ ## [8.44.1-snapshot-4](https://github.com/instructure/instructure-ui/compare/v8.44.0...v8.44.1-snapshot-4) (2023-09-29)
7
7
 
8
- **Note:** Version bump only for package @instructure/ui-drilldown
8
+
9
+ ### Bug Fixes
10
+
11
+ * **ui-drilldown:** call onBackButtonClicked function when ArrowLeft got pressed ([cd5e681](https://github.com/instructure/instructure-ui/commit/cd5e6814746b3fc42530c82c18409c6b7ad34ac3))
9
12
 
10
13
 
11
14
 
@@ -319,7 +319,7 @@ let Drilldown = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle,
319
319
  var _this$_popover;
320
320
  // if it is possible, we go a level up in the history
321
321
  if (this._pageHistory.length > 1) {
322
- this.goToPreviousPage();
322
+ this.handleBackButtonClick();
323
323
  }
324
324
 
325
325
  // if on root page and popover is open, we close it
@@ -332,7 +332,7 @@ let Drilldown = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 =
332
332
  var _this$_popover;
333
333
  // if it is possible, we go a level up in the history
334
334
  if (this._pageHistory.length > 1) {
335
- this.goToPreviousPage();
335
+ this.handleBackButtonClick();
336
336
  }
337
337
 
338
338
  // if on root page and popover is open, we close it
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-drilldown",
3
- "version": "8.44.1-snapshot-2",
3
+ "version": "8.44.1-snapshot-4",
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.22.15",
27
- "@instructure/console": "8.44.1-snapshot-2",
28
- "@instructure/emotion": "8.44.1-snapshot-2",
29
- "@instructure/shared-types": "8.44.1-snapshot-2",
30
- "@instructure/ui-dom-utils": "8.44.1-snapshot-2",
31
- "@instructure/ui-icons": "8.44.1-snapshot-2",
32
- "@instructure/ui-options": "8.44.1-snapshot-2",
33
- "@instructure/ui-popover": "8.44.1-snapshot-2",
34
- "@instructure/ui-position": "8.44.1-snapshot-2",
35
- "@instructure/ui-prop-types": "8.44.1-snapshot-2",
36
- "@instructure/ui-react-utils": "8.44.1-snapshot-2",
37
- "@instructure/ui-selectable": "8.44.1-snapshot-2",
38
- "@instructure/ui-testable": "8.44.1-snapshot-2",
39
- "@instructure/ui-utils": "8.44.1-snapshot-2",
40
- "@instructure/ui-view": "8.44.1-snapshot-2",
27
+ "@instructure/console": "8.44.1-snapshot-4",
28
+ "@instructure/emotion": "8.44.1-snapshot-4",
29
+ "@instructure/shared-types": "8.44.1-snapshot-4",
30
+ "@instructure/ui-dom-utils": "8.44.1-snapshot-4",
31
+ "@instructure/ui-icons": "8.44.1-snapshot-4",
32
+ "@instructure/ui-options": "8.44.1-snapshot-4",
33
+ "@instructure/ui-popover": "8.44.1-snapshot-4",
34
+ "@instructure/ui-position": "8.44.1-snapshot-4",
35
+ "@instructure/ui-prop-types": "8.44.1-snapshot-4",
36
+ "@instructure/ui-react-utils": "8.44.1-snapshot-4",
37
+ "@instructure/ui-selectable": "8.44.1-snapshot-4",
38
+ "@instructure/ui-testable": "8.44.1-snapshot-4",
39
+ "@instructure/ui-utils": "8.44.1-snapshot-4",
40
+ "@instructure/ui-view": "8.44.1-snapshot-4",
41
41
  "prop-types": "^15.8.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@instructure/ui-babel-preset": "8.44.1-snapshot-2",
45
- "@instructure/ui-color-utils": "8.44.1-snapshot-2",
46
- "@instructure/ui-test-locator": "8.44.1-snapshot-2",
47
- "@instructure/ui-test-utils": "8.44.1-snapshot-2",
48
- "@instructure/ui-themes": "8.44.1-snapshot-2"
44
+ "@instructure/ui-babel-preset": "8.44.1-snapshot-4",
45
+ "@instructure/ui-color-utils": "8.44.1-snapshot-4",
46
+ "@instructure/ui-test-locator": "8.44.1-snapshot-4",
47
+ "@instructure/ui-test-utils": "8.44.1-snapshot-4",
48
+ "@instructure/ui-themes": "8.44.1-snapshot-4"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "react": ">=16.8 <=18"
@@ -876,7 +876,7 @@ class Drilldown extends Component<DrilldownProps, DrilldownState> {
876
876
  if (event.key === 'ArrowLeft') {
877
877
  // if it is possible, we go a level up in the history
878
878
  if (this._pageHistory.length > 1) {
879
- this.goToPreviousPage()
879
+ this.handleBackButtonClick()
880
880
  }
881
881
 
882
882
  // if on root page and popover is open, we close it