@instructure/ui-drawer-layout 8.11.2-snapshot.71 → 8.12.1-snapshot.7
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,6 +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.12.0](https://github.com/instructure/instructure-ui/compare/v8.11.1...v8.12.0) (2021-11-17)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **ui-dialog,ui-drawer-layout:** fix Dialog role attribute ([2681e14](https://github.com/instructure/instructure-ui/commit/2681e145ad469e1396536d3e9eed75a19995eb8a))
|
|
11
|
+
|
|
6
12
|
## [8.11.1](https://github.com/instructure/instructure-ui/compare/v8.11.0...v8.11.1) (2021-10-19)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @instructure/ui-drawer-layout
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-drawer-layout",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.12.1-snapshot.7+1e7ac8219",
|
|
4
4
|
"description": "A main-content-plus-tray layout component",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -25,29 +25,29 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.13.10",
|
|
28
|
-
"@instructure/console": "8.
|
|
29
|
-
"@instructure/debounce": "8.
|
|
30
|
-
"@instructure/emotion": "8.
|
|
31
|
-
"@instructure/shared-types": "8.
|
|
32
|
-
"@instructure/ui-dialog": "8.
|
|
33
|
-
"@instructure/ui-dom-utils": "8.
|
|
34
|
-
"@instructure/ui-i18n": "8.
|
|
35
|
-
"@instructure/ui-motion": "8.
|
|
36
|
-
"@instructure/ui-portal": "8.
|
|
37
|
-
"@instructure/ui-position": "8.
|
|
38
|
-
"@instructure/ui-prop-types": "8.
|
|
39
|
-
"@instructure/ui-react-utils": "8.
|
|
40
|
-
"@instructure/ui-test-utils": "8.
|
|
41
|
-
"@instructure/ui-testable": "8.
|
|
42
|
-
"@instructure/ui-utils": "8.
|
|
43
|
-
"@instructure/ui-view": "8.
|
|
44
|
-
"@instructure/uid": "8.
|
|
28
|
+
"@instructure/console": "8.12.1-snapshot.7+1e7ac8219",
|
|
29
|
+
"@instructure/debounce": "8.12.1-snapshot.7+1e7ac8219",
|
|
30
|
+
"@instructure/emotion": "8.12.1-snapshot.7+1e7ac8219",
|
|
31
|
+
"@instructure/shared-types": "8.12.1-snapshot.7+1e7ac8219",
|
|
32
|
+
"@instructure/ui-dialog": "8.12.1-snapshot.7+1e7ac8219",
|
|
33
|
+
"@instructure/ui-dom-utils": "8.12.1-snapshot.7+1e7ac8219",
|
|
34
|
+
"@instructure/ui-i18n": "8.12.1-snapshot.7+1e7ac8219",
|
|
35
|
+
"@instructure/ui-motion": "8.12.1-snapshot.7+1e7ac8219",
|
|
36
|
+
"@instructure/ui-portal": "8.12.1-snapshot.7+1e7ac8219",
|
|
37
|
+
"@instructure/ui-position": "8.12.1-snapshot.7+1e7ac8219",
|
|
38
|
+
"@instructure/ui-prop-types": "8.12.1-snapshot.7+1e7ac8219",
|
|
39
|
+
"@instructure/ui-react-utils": "8.12.1-snapshot.7+1e7ac8219",
|
|
40
|
+
"@instructure/ui-test-utils": "8.12.1-snapshot.7+1e7ac8219",
|
|
41
|
+
"@instructure/ui-testable": "8.12.1-snapshot.7+1e7ac8219",
|
|
42
|
+
"@instructure/ui-utils": "8.12.1-snapshot.7+1e7ac8219",
|
|
43
|
+
"@instructure/ui-view": "8.12.1-snapshot.7+1e7ac8219",
|
|
44
|
+
"@instructure/uid": "8.12.1-snapshot.7+1e7ac8219",
|
|
45
45
|
"prop-types": "^15"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@instructure/ui-babel-preset": "8.
|
|
49
|
-
"@instructure/ui-test-locator": "8.
|
|
50
|
-
"@instructure/ui-themes": "8.
|
|
48
|
+
"@instructure/ui-babel-preset": "8.12.1-snapshot.7+1e7ac8219",
|
|
49
|
+
"@instructure/ui-test-locator": "8.12.1-snapshot.7+1e7ac8219",
|
|
50
|
+
"@instructure/ui-themes": "8.12.1-snapshot.7+1e7ac8219"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"react": ">=16.8 <=17"
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"access": "public"
|
|
57
57
|
},
|
|
58
58
|
"sideEffects": false,
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "1e7ac821932a91fe9ef761c96f747c7ea1f3925a"
|
|
60
60
|
}
|
|
@@ -34,7 +34,8 @@ import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
|
|
|
34
34
|
import type {
|
|
35
35
|
PropValidators,
|
|
36
36
|
DrawerLayoutTrayTheme,
|
|
37
|
-
OtherHTMLAttributes
|
|
37
|
+
OtherHTMLAttributes,
|
|
38
|
+
LiveRegion
|
|
38
39
|
} from '@instructure/shared-types'
|
|
39
40
|
|
|
40
41
|
type DrawerTrayPlacement = 'start' | 'end'
|
|
@@ -59,10 +60,7 @@ type DrawerLayoutTrayOwnProps = {
|
|
|
59
60
|
contentRef?: (...args: any[]) => any
|
|
60
61
|
mountNode?: PositionMountNode
|
|
61
62
|
defaultFocusElement?: React.ReactElement | ((...args: any[]) => any)
|
|
62
|
-
liveRegion?:
|
|
63
|
-
| React.ReactElement[]
|
|
64
|
-
| React.ReactElement
|
|
65
|
-
| ((...args: any[]) => any)
|
|
63
|
+
liveRegion?: LiveRegion
|
|
66
64
|
onDismiss?: (...args: any[]) => any
|
|
67
65
|
shouldContainFocus?: boolean
|
|
68
66
|
shouldReturnFocus?: boolean
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import type { PositionMountNode } from '@instructure/ui-position';
|
|
3
3
|
import type { BidirectionalProps } from '@instructure/ui-i18n';
|
|
4
4
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
5
|
-
import type { PropValidators, DrawerLayoutTrayTheme, OtherHTMLAttributes } from '@instructure/shared-types';
|
|
5
|
+
import type { PropValidators, DrawerLayoutTrayTheme, OtherHTMLAttributes, LiveRegion } from '@instructure/shared-types';
|
|
6
6
|
declare type DrawerTrayPlacement = 'start' | 'end';
|
|
7
7
|
declare type DrawerLayoutTrayOwnProps = {
|
|
8
8
|
label: string;
|
|
@@ -24,7 +24,7 @@ declare type DrawerLayoutTrayOwnProps = {
|
|
|
24
24
|
contentRef?: (...args: any[]) => any;
|
|
25
25
|
mountNode?: PositionMountNode;
|
|
26
26
|
defaultFocusElement?: React.ReactElement | ((...args: any[]) => any);
|
|
27
|
-
liveRegion?:
|
|
27
|
+
liveRegion?: LiveRegion;
|
|
28
28
|
onDismiss?: (...args: any[]) => any;
|
|
29
29
|
shouldContainFocus?: boolean;
|
|
30
30
|
shouldReturnFocus?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/DrawerLayout/DrawerTray/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1E,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/DrawerLayout/DrawerTray/props.ts"],"names":[],"mappings":"A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