@instructure/ui-drilldown 8.44.1-snapshot-3 → 8.44.1-snapshot-5
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 +5 -2
- package/es/Drilldown/index.js +1 -1
- package/lib/Drilldown/index.js +1 -1
- package/package.json +20 -20
- package/src/Drilldown/index.tsx +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
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-
|
|
6
|
+
## [8.44.1-snapshot-5](https://github.com/instructure/instructure-ui/compare/v8.44.0...v8.44.1-snapshot-5) (2023-10-03)
|
|
7
7
|
|
|
8
|
-
|
|
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
|
|
package/es/Drilldown/index.js
CHANGED
|
@@ -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.
|
|
322
|
+
this.handleBackButtonClick();
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
// if on root page and popover is open, we close it
|
package/lib/Drilldown/index.js
CHANGED
|
@@ -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.
|
|
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-
|
|
3
|
+
"version": "8.44.1-snapshot-5",
|
|
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-
|
|
28
|
-
"@instructure/emotion": "8.44.1-snapshot-
|
|
29
|
-
"@instructure/shared-types": "8.44.1-snapshot-
|
|
30
|
-
"@instructure/ui-dom-utils": "8.44.1-snapshot-
|
|
31
|
-
"@instructure/ui-icons": "8.44.1-snapshot-
|
|
32
|
-
"@instructure/ui-options": "8.44.1-snapshot-
|
|
33
|
-
"@instructure/ui-popover": "8.44.1-snapshot-
|
|
34
|
-
"@instructure/ui-position": "8.44.1-snapshot-
|
|
35
|
-
"@instructure/ui-prop-types": "8.44.1-snapshot-
|
|
36
|
-
"@instructure/ui-react-utils": "8.44.1-snapshot-
|
|
37
|
-
"@instructure/ui-selectable": "8.44.1-snapshot-
|
|
38
|
-
"@instructure/ui-testable": "8.44.1-snapshot-
|
|
39
|
-
"@instructure/ui-utils": "8.44.1-snapshot-
|
|
40
|
-
"@instructure/ui-view": "8.44.1-snapshot-
|
|
27
|
+
"@instructure/console": "8.44.1-snapshot-5",
|
|
28
|
+
"@instructure/emotion": "8.44.1-snapshot-5",
|
|
29
|
+
"@instructure/shared-types": "8.44.1-snapshot-5",
|
|
30
|
+
"@instructure/ui-dom-utils": "8.44.1-snapshot-5",
|
|
31
|
+
"@instructure/ui-icons": "8.44.1-snapshot-5",
|
|
32
|
+
"@instructure/ui-options": "8.44.1-snapshot-5",
|
|
33
|
+
"@instructure/ui-popover": "8.44.1-snapshot-5",
|
|
34
|
+
"@instructure/ui-position": "8.44.1-snapshot-5",
|
|
35
|
+
"@instructure/ui-prop-types": "8.44.1-snapshot-5",
|
|
36
|
+
"@instructure/ui-react-utils": "8.44.1-snapshot-5",
|
|
37
|
+
"@instructure/ui-selectable": "8.44.1-snapshot-5",
|
|
38
|
+
"@instructure/ui-testable": "8.44.1-snapshot-5",
|
|
39
|
+
"@instructure/ui-utils": "8.44.1-snapshot-5",
|
|
40
|
+
"@instructure/ui-view": "8.44.1-snapshot-5",
|
|
41
41
|
"prop-types": "^15.8.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@instructure/ui-babel-preset": "8.44.1-snapshot-
|
|
45
|
-
"@instructure/ui-color-utils": "8.44.1-snapshot-
|
|
46
|
-
"@instructure/ui-test-locator": "8.44.1-snapshot-
|
|
47
|
-
"@instructure/ui-test-utils": "8.44.1-snapshot-
|
|
48
|
-
"@instructure/ui-themes": "8.44.1-snapshot-
|
|
44
|
+
"@instructure/ui-babel-preset": "8.44.1-snapshot-5",
|
|
45
|
+
"@instructure/ui-color-utils": "8.44.1-snapshot-5",
|
|
46
|
+
"@instructure/ui-test-locator": "8.44.1-snapshot-5",
|
|
47
|
+
"@instructure/ui-test-utils": "8.44.1-snapshot-5",
|
|
48
|
+
"@instructure/ui-themes": "8.44.1-snapshot-5"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"react": ">=16.8 <=18"
|
package/src/Drilldown/index.tsx
CHANGED
|
@@ -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.
|
|
879
|
+
this.handleBackButtonClick()
|
|
880
880
|
}
|
|
881
881
|
|
|
882
882
|
// if on root page and popover is open, we close it
|