@instructure/ui-tray 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 +4 -0
- package/package.json +18 -18
- package/src/Tray/props.ts +3 -5
- package/types/Tray/index.d.ts +2 -2
- package/types/Tray/props.d.ts +2 -2
- package/types/Tray/props.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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
|
+
**Note:** Version bump only for package @instructure/ui-tray
|
|
9
|
+
|
|
6
10
|
## [8.11.1](https://github.com/instructure/instructure-ui/compare/v8.11.0...v8.11.1) (2021-10-19)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @instructure/ui-tray
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-tray",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.12.1-snapshot.7+1e7ac8219",
|
|
4
4
|
"description": "Tray component for secondary/menu content",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -25,25 +25,25 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.13.10",
|
|
28
|
-
"@instructure/console": "8.
|
|
29
|
-
"@instructure/emotion": "8.
|
|
30
|
-
"@instructure/shared-types": "8.
|
|
31
|
-
"@instructure/ui-dialog": "8.
|
|
32
|
-
"@instructure/ui-i18n": "8.
|
|
33
|
-
"@instructure/ui-motion": "8.
|
|
34
|
-
"@instructure/ui-portal": "8.
|
|
35
|
-
"@instructure/ui-position": "8.
|
|
36
|
-
"@instructure/ui-prop-types": "8.
|
|
37
|
-
"@instructure/ui-react-utils": "8.
|
|
38
|
-
"@instructure/ui-testable": "8.
|
|
39
|
-
"@instructure/ui-utils": "8.
|
|
28
|
+
"@instructure/console": "8.12.1-snapshot.7+1e7ac8219",
|
|
29
|
+
"@instructure/emotion": "8.12.1-snapshot.7+1e7ac8219",
|
|
30
|
+
"@instructure/shared-types": "8.12.1-snapshot.7+1e7ac8219",
|
|
31
|
+
"@instructure/ui-dialog": "8.12.1-snapshot.7+1e7ac8219",
|
|
32
|
+
"@instructure/ui-i18n": "8.12.1-snapshot.7+1e7ac8219",
|
|
33
|
+
"@instructure/ui-motion": "8.12.1-snapshot.7+1e7ac8219",
|
|
34
|
+
"@instructure/ui-portal": "8.12.1-snapshot.7+1e7ac8219",
|
|
35
|
+
"@instructure/ui-position": "8.12.1-snapshot.7+1e7ac8219",
|
|
36
|
+
"@instructure/ui-prop-types": "8.12.1-snapshot.7+1e7ac8219",
|
|
37
|
+
"@instructure/ui-react-utils": "8.12.1-snapshot.7+1e7ac8219",
|
|
38
|
+
"@instructure/ui-testable": "8.12.1-snapshot.7+1e7ac8219",
|
|
39
|
+
"@instructure/ui-utils": "8.12.1-snapshot.7+1e7ac8219",
|
|
40
40
|
"prop-types": "^15"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@instructure/ui-babel-preset": "8.
|
|
44
|
-
"@instructure/ui-test-locator": "8.
|
|
45
|
-
"@instructure/ui-test-utils": "8.
|
|
46
|
-
"@instructure/ui-themes": "8.
|
|
43
|
+
"@instructure/ui-babel-preset": "8.12.1-snapshot.7+1e7ac8219",
|
|
44
|
+
"@instructure/ui-test-locator": "8.12.1-snapshot.7+1e7ac8219",
|
|
45
|
+
"@instructure/ui-test-utils": "8.12.1-snapshot.7+1e7ac8219",
|
|
46
|
+
"@instructure/ui-themes": "8.12.1-snapshot.7+1e7ac8219"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"react": ">=16.8 <=17"
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
54
|
"sideEffects": false,
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "1e7ac821932a91fe9ef761c96f747c7ea1f3925a"
|
|
56
56
|
}
|
package/src/Tray/props.ts
CHANGED
|
@@ -31,7 +31,8 @@ import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
|
|
|
31
31
|
import type {
|
|
32
32
|
OtherHTMLAttributes,
|
|
33
33
|
PropValidators,
|
|
34
|
-
TrayTheme
|
|
34
|
+
TrayTheme,
|
|
35
|
+
LiveRegion
|
|
35
36
|
} from '@instructure/shared-types'
|
|
36
37
|
import type { BidirectionalProps } from '@instructure/ui-i18n'
|
|
37
38
|
|
|
@@ -50,10 +51,7 @@ type TrayOwnProps = {
|
|
|
50
51
|
onDismiss?: (...args: any[]) => any
|
|
51
52
|
mountNode?: any // TODO: PropTypes.oneOfType([element, PropTypes.func])
|
|
52
53
|
insertAt?: 'bottom' | 'top'
|
|
53
|
-
liveRegion?:
|
|
54
|
-
| React.ReactElement[]
|
|
55
|
-
| React.ReactElement
|
|
56
|
-
| ((...args: any[]) => any)
|
|
54
|
+
liveRegion?: LiveRegion
|
|
57
55
|
onTransition?: (...args: any[]) => any
|
|
58
56
|
onEnter?: (...args: any[]) => any
|
|
59
57
|
onEntering?: (...args: any[]) => any
|
package/types/Tray/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ declare class Tray extends Component<TrayProps> {
|
|
|
25
25
|
onDismiss?: ((...args: any[]) => any) | undefined;
|
|
26
26
|
mountNode?: any;
|
|
27
27
|
insertAt?: "top" | "bottom" | undefined;
|
|
28
|
-
liveRegion?: import("
|
|
28
|
+
liveRegion?: import("@instructure/shared-types").LiveRegion | undefined;
|
|
29
29
|
onTransition?: ((...args: any[]) => any) | undefined;
|
|
30
30
|
onEnter?: ((...args: any[]) => any) | undefined;
|
|
31
31
|
onEntering?: ((...args: any[]) => any) | undefined;
|
|
@@ -52,7 +52,7 @@ declare class Tray extends Component<TrayProps> {
|
|
|
52
52
|
onDismiss?: ((...args: any[]) => any) | undefined;
|
|
53
53
|
mountNode?: any;
|
|
54
54
|
insertAt?: "top" | "bottom" | undefined;
|
|
55
|
-
liveRegion?: import("
|
|
55
|
+
liveRegion?: import("@instructure/shared-types").LiveRegion | undefined;
|
|
56
56
|
onTransition?: ((...args: any[]) => any) | undefined;
|
|
57
57
|
onEnter?: ((...args: any[]) => any) | undefined;
|
|
58
58
|
onEntering?: ((...args: any[]) => any) | undefined;
|
package/types/Tray/props.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
3
|
-
import type { OtherHTMLAttributes, PropValidators, TrayTheme } from '@instructure/shared-types';
|
|
3
|
+
import type { OtherHTMLAttributes, PropValidators, TrayTheme, LiveRegion } from '@instructure/shared-types';
|
|
4
4
|
import type { BidirectionalProps } from '@instructure/ui-i18n';
|
|
5
5
|
declare type TrayOwnProps = {
|
|
6
6
|
label: string;
|
|
@@ -17,7 +17,7 @@ declare type TrayOwnProps = {
|
|
|
17
17
|
onDismiss?: (...args: any[]) => any;
|
|
18
18
|
mountNode?: any;
|
|
19
19
|
insertAt?: 'bottom' | 'top';
|
|
20
|
-
liveRegion?:
|
|
20
|
+
liveRegion?: LiveRegion;
|
|
21
21
|
onTransition?: (...args: any[]) => any;
|
|
22
22
|
onEnter?: (...args: any[]) => any;
|
|
23
23
|
onEntering?: (...args: any[]) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/Tray/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,KAAK,EAAE,cAAc,EAAE,cA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