@instructure/ui-popover 8.11.2-snapshot.71 → 8.12.1-snapshot.16
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 +20 -20
- package/src/Popover/props.ts +2 -5
- package/types/Popover/index.d.ts +2 -2
- package/types/Popover/props.d.ts +2 -2
- package/types/Popover/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-popover
|
|
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-popover
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-popover",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.12.1-snapshot.16+1160d54f5",
|
|
4
4
|
"description": "A component for hiding or showing content based on user interaction.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -25,28 +25,28 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.13.10",
|
|
28
|
-
"@instructure/console": "8.
|
|
29
|
-
"@instructure/emotion": "8.
|
|
30
|
-
"@instructure/ui-a11y-utils": "8.
|
|
31
|
-
"@instructure/ui-dialog": "8.
|
|
32
|
-
"@instructure/ui-dom-utils": "8.
|
|
33
|
-
"@instructure/ui-i18n": "8.
|
|
34
|
-
"@instructure/ui-position": "8.
|
|
35
|
-
"@instructure/ui-prop-types": "8.
|
|
36
|
-
"@instructure/ui-react-utils": "8.
|
|
37
|
-
"@instructure/ui-testable": "8.
|
|
38
|
-
"@instructure/ui-utils": "8.
|
|
39
|
-
"@instructure/ui-view": "8.
|
|
40
|
-
"@instructure/uid": "8.
|
|
28
|
+
"@instructure/console": "8.12.1-snapshot.16+1160d54f5",
|
|
29
|
+
"@instructure/emotion": "8.12.1-snapshot.16+1160d54f5",
|
|
30
|
+
"@instructure/ui-a11y-utils": "8.12.1-snapshot.16+1160d54f5",
|
|
31
|
+
"@instructure/ui-dialog": "8.12.1-snapshot.16+1160d54f5",
|
|
32
|
+
"@instructure/ui-dom-utils": "8.12.1-snapshot.16+1160d54f5",
|
|
33
|
+
"@instructure/ui-i18n": "8.12.1-snapshot.16+1160d54f5",
|
|
34
|
+
"@instructure/ui-position": "8.12.1-snapshot.16+1160d54f5",
|
|
35
|
+
"@instructure/ui-prop-types": "8.12.1-snapshot.16+1160d54f5",
|
|
36
|
+
"@instructure/ui-react-utils": "8.12.1-snapshot.16+1160d54f5",
|
|
37
|
+
"@instructure/ui-testable": "8.12.1-snapshot.16+1160d54f5",
|
|
38
|
+
"@instructure/ui-utils": "8.12.1-snapshot.16+1160d54f5",
|
|
39
|
+
"@instructure/ui-view": "8.12.1-snapshot.16+1160d54f5",
|
|
40
|
+
"@instructure/uid": "8.12.1-snapshot.16+1160d54f5",
|
|
41
41
|
"keycode": "^2",
|
|
42
42
|
"prop-types": "^15"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@instructure/ui-babel-preset": "8.
|
|
46
|
-
"@instructure/ui-color-utils": "8.
|
|
47
|
-
"@instructure/ui-test-locator": "8.
|
|
48
|
-
"@instructure/ui-test-queries": "8.
|
|
49
|
-
"@instructure/ui-test-utils": "8.
|
|
45
|
+
"@instructure/ui-babel-preset": "8.12.1-snapshot.16+1160d54f5",
|
|
46
|
+
"@instructure/ui-color-utils": "8.12.1-snapshot.16+1160d54f5",
|
|
47
|
+
"@instructure/ui-test-locator": "8.12.1-snapshot.16+1160d54f5",
|
|
48
|
+
"@instructure/ui-test-queries": "8.12.1-snapshot.16+1160d54f5",
|
|
49
|
+
"@instructure/ui-test-utils": "8.12.1-snapshot.16+1160d54f5"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">=16.8 <=17"
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
57
|
"sideEffects": false,
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "1160d54f5e25365b0204d2c0fcf72537eefd9017"
|
|
59
59
|
}
|
package/src/Popover/props.ts
CHANGED
|
@@ -36,7 +36,7 @@ import type {
|
|
|
36
36
|
PositionMountNode
|
|
37
37
|
} from '@instructure/ui-position'
|
|
38
38
|
import type { BidirectionalProps } from '@instructure/ui-i18n'
|
|
39
|
-
import type { PropValidators } from '@instructure/shared-types'
|
|
39
|
+
import type { PropValidators, LiveRegion } from '@instructure/shared-types'
|
|
40
40
|
|
|
41
41
|
// Copied list from "PositionPropTypes.placement" so that it appears as options in the properties table.
|
|
42
42
|
// TODO: try to use "PositionPropTypes.placement" again once Popover is fully typed and uses @tsProps
|
|
@@ -84,10 +84,7 @@ type PopoverOwnProps = {
|
|
|
84
84
|
mountNode?: PositionMountNode
|
|
85
85
|
positionTarget?: PositionMountNode
|
|
86
86
|
insertAt?: 'bottom' | 'top'
|
|
87
|
-
liveRegion?:
|
|
88
|
-
| React.ReactElement[]
|
|
89
|
-
| React.ReactElement
|
|
90
|
-
| ((...args: any[]) => any)
|
|
87
|
+
liveRegion?: LiveRegion
|
|
91
88
|
id?: string
|
|
92
89
|
shouldAlignArrow?: boolean
|
|
93
90
|
shouldTrackPosition?: boolean
|
package/types/Popover/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ declare class Popover extends Component<PopoverProps> {
|
|
|
27
27
|
mountNode?: import("@instructure/ui-position").PositionMountNode | undefined;
|
|
28
28
|
positionTarget?: import("@instructure/ui-position").PositionMountNode | undefined;
|
|
29
29
|
insertAt?: "top" | "bottom" | undefined;
|
|
30
|
-
liveRegion?:
|
|
30
|
+
liveRegion?: import("@instructure/shared-types").LiveRegion | undefined;
|
|
31
31
|
id?: string | undefined;
|
|
32
32
|
shouldAlignArrow?: boolean | undefined;
|
|
33
33
|
shouldTrackPosition?: boolean | undefined;
|
|
@@ -70,7 +70,7 @@ declare class Popover extends Component<PopoverProps> {
|
|
|
70
70
|
mountNode?: import("@instructure/ui-position").PositionMountNode | undefined;
|
|
71
71
|
positionTarget?: import("@instructure/ui-position").PositionMountNode | undefined;
|
|
72
72
|
insertAt?: "top" | "bottom" | undefined;
|
|
73
|
-
liveRegion?:
|
|
73
|
+
liveRegion?: import("@instructure/shared-types").LiveRegion | undefined;
|
|
74
74
|
id?: string | undefined;
|
|
75
75
|
shouldAlignArrow?: boolean | undefined;
|
|
76
76
|
shouldTrackPosition?: boolean | undefined;
|
package/types/Popover/props.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import type { Shadow, Stacking } from '@instructure/emotion';
|
|
3
3
|
import type { PlacementPropValues, PositionConstraint, PositionMountNode } from '@instructure/ui-position';
|
|
4
4
|
import type { BidirectionalProps } from '@instructure/ui-i18n';
|
|
5
|
-
import type { PropValidators } from '@instructure/shared-types';
|
|
5
|
+
import type { PropValidators, LiveRegion } from '@instructure/shared-types';
|
|
6
6
|
declare type PopoverOwnProps = {
|
|
7
7
|
isShowingContent?: boolean;
|
|
8
8
|
defaultIsShowingContent?: boolean;
|
|
@@ -21,7 +21,7 @@ declare type PopoverOwnProps = {
|
|
|
21
21
|
mountNode?: PositionMountNode;
|
|
22
22
|
positionTarget?: PositionMountNode;
|
|
23
23
|
insertAt?: 'bottom' | 'top';
|
|
24
|
-
liveRegion?:
|
|
24
|
+
liveRegion?: LiveRegion;
|
|
25
25
|
id?: string;
|
|
26
26
|
shouldAlignArrow?: boolean;
|
|
27
27
|
shouldTrackPosition?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/Popover/props.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,OAAO,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAE5D,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,0BAA0B,CAAA;AACjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/Popover/props.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,OAAO,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAE5D,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,0BAA0B,CAAA;AACjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AA8B3E,aAAK,eAAe,GAAG;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,uBAAuB,CAAC,EAAE,OAAO,CAAA;IACjC,EAAE,CAAC,EAAE,CAAC,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC,EAAE,CAAA;IACpE,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,SAAS,GAAG,iBAAiB,CAAA;IACrC,MAAM,CAAC,EAAE,MAA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