@fluentui/react-popover 0.0.0-nightlyecca467a8920220110.1 → 0.0.0-nightlyf6116328d620220124.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.json +54 -24
- package/CHANGELOG.md +17 -15
- package/dist/react-popover.d.ts +0 -2
- package/lib/components/PopoverSurface/renderPopoverSurface.js +1 -2
- package/lib/components/PopoverSurface/renderPopoverSurface.js.map +1 -1
- package/lib/components/PopoverSurface/usePopoverSurface.d.ts +1 -2
- package/lib/components/PopoverSurface/usePopoverSurface.js +0 -1
- package/lib/components/PopoverSurface/usePopoverSurface.js.map +1 -1
- package/lib/components/PopoverSurface/usePopoverSurfaceStyles.js +4 -4
- package/lib-commonjs/components/PopoverSurface/renderPopoverSurface.js +1 -3
- package/lib-commonjs/components/PopoverSurface/renderPopoverSurface.js.map +1 -1
- package/lib-commonjs/components/PopoverSurface/usePopoverSurface.d.ts +1 -2
- package/lib-commonjs/components/PopoverSurface/usePopoverSurface.js +2 -3
- package/lib-commonjs/components/PopoverSurface/usePopoverSurface.js.map +1 -1
- package/lib-commonjs/components/PopoverSurface/usePopoverSurfaceStyles.js +4 -4
- package/package.json +13 -13
package/CHANGELOG.json
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
"name": "@fluentui/react-popover",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "Mon,
|
6
|
-
"tag": "@fluentui/react-popover_v0.0.0-
|
7
|
-
"version": "0.0.0-
|
5
|
+
"date": "Mon, 24 Jan 2022 04:14:08 GMT",
|
6
|
+
"tag": "@fluentui/react-popover_v0.0.0-nightlyf6116328d620220124.1",
|
7
|
+
"version": "0.0.0-nightlyf6116328d620220124.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
11
11
|
"author": "email not defined",
|
12
12
|
"package": "@fluentui/react-popover",
|
13
|
-
"commit": "
|
13
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941",
|
14
14
|
"comment": "Release nightly v9"
|
15
15
|
},
|
16
16
|
{
|
@@ -19,12 +19,24 @@
|
|
19
19
|
"commit": "38e8f42252c69b1c749c3ca7fca9315b49e6cf31",
|
20
20
|
"comment": "Replacing use of functions in makeStyles with direct use of tokens"
|
21
21
|
},
|
22
|
+
{
|
23
|
+
"author": "behowell@microsoft.com",
|
24
|
+
"package": "@fluentui/react-popover",
|
25
|
+
"commit": "7cc28ed8320b00f42d91c63882f10316db2205c5",
|
26
|
+
"comment": "Remove component's shorthandProps array"
|
27
|
+
},
|
22
28
|
{
|
23
29
|
"author": "behowell@microsoft.com",
|
24
30
|
"package": "@fluentui/react-popover",
|
25
31
|
"commit": "09804275c7f346db54c33d4ff347bffc33676014",
|
26
32
|
"comment": "Fix Popover arrow border in high contrast"
|
27
33
|
},
|
34
|
+
{
|
35
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
36
|
+
"package": "@fluentui/react-popover",
|
37
|
+
"commit": "6c32d0180e89674a46daf795de69e5dc6ca71ef7",
|
38
|
+
"comment": "Updating based on removal of functions from makeStyles."
|
39
|
+
},
|
28
40
|
{
|
29
41
|
"author": "olfedias@microsoft.com",
|
30
42
|
"package": "@fluentui/react-popover",
|
@@ -34,70 +46,88 @@
|
|
34
46
|
{
|
35
47
|
"author": "beachball",
|
36
48
|
"package": "@fluentui/react-popover",
|
37
|
-
"comment": "Bump @fluentui/react-context-selector to v0.0.0-
|
38
|
-
"commit": "
|
49
|
+
"comment": "Bump @fluentui/react-context-selector to v0.0.0-nightlyf6116328d620220124.1",
|
50
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941"
|
39
51
|
},
|
40
52
|
{
|
41
53
|
"author": "beachball",
|
42
54
|
"package": "@fluentui/react-popover",
|
43
|
-
"comment": "Bump @fluentui/react-make-styles to v0.0.0-
|
44
|
-
"commit": "
|
55
|
+
"comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlyf6116328d620220124.1",
|
56
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941"
|
45
57
|
},
|
46
58
|
{
|
47
59
|
"author": "beachball",
|
48
60
|
"package": "@fluentui/react-popover",
|
49
|
-
"comment": "Bump @fluentui/react-portal to v0.0.0-
|
50
|
-
"commit": "
|
61
|
+
"comment": "Bump @fluentui/react-portal to v0.0.0-nightlyf6116328d620220124.1",
|
62
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941"
|
51
63
|
},
|
52
64
|
{
|
53
65
|
"author": "beachball",
|
54
66
|
"package": "@fluentui/react-popover",
|
55
|
-
"comment": "Bump @fluentui/react-positioning to v0.0.0-
|
56
|
-
"commit": "
|
67
|
+
"comment": "Bump @fluentui/react-positioning to v0.0.0-nightlyf6116328d620220124.1",
|
68
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941"
|
57
69
|
},
|
58
70
|
{
|
59
71
|
"author": "beachball",
|
60
72
|
"package": "@fluentui/react-popover",
|
61
|
-
"comment": "Bump @fluentui/react-shared-contexts to v0.0.0-
|
62
|
-
"commit": "
|
73
|
+
"comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightlyf6116328d620220124.1",
|
74
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941"
|
63
75
|
},
|
64
76
|
{
|
65
77
|
"author": "beachball",
|
66
78
|
"package": "@fluentui/react-popover",
|
67
|
-
"comment": "Bump @fluentui/react-tabster to v0.0.0-
|
68
|
-
"commit": "
|
79
|
+
"comment": "Bump @fluentui/react-tabster to v0.0.0-nightlyf6116328d620220124.1",
|
80
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941"
|
69
81
|
},
|
70
82
|
{
|
71
83
|
"author": "beachball",
|
72
84
|
"package": "@fluentui/react-popover",
|
73
|
-
"comment": "Bump @fluentui/react-utilities to v0.0.0-
|
74
|
-
"commit": "
|
85
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightlyf6116328d620220124.1",
|
86
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941"
|
75
87
|
},
|
76
88
|
{
|
77
89
|
"author": "beachball",
|
78
90
|
"package": "@fluentui/react-popover",
|
79
|
-
"comment": "Bump @fluentui/babel-make-styles to v0.0.0-
|
80
|
-
"commit": "
|
91
|
+
"comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlyf6116328d620220124.1",
|
92
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941"
|
81
93
|
},
|
82
94
|
{
|
83
95
|
"author": "beachball",
|
84
96
|
"package": "@fluentui/react-popover",
|
85
|
-
"comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-
|
86
|
-
"commit": "
|
97
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyf6116328d620220124.1",
|
98
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941"
|
87
99
|
},
|
88
100
|
{
|
89
101
|
"author": "beachball",
|
90
102
|
"package": "@fluentui/react-popover",
|
91
|
-
"comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-
|
92
|
-
"commit": "
|
103
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyf6116328d620220124.1",
|
104
|
+
"commit": "7e40e770b133f0e9b5a0ba356e78ea25a8647941"
|
93
105
|
}
|
94
106
|
],
|
95
107
|
"none": [
|
108
|
+
{
|
109
|
+
"author": "martinhochel@microsoft.com",
|
110
|
+
"package": "@fluentui/react-popover",
|
111
|
+
"commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
|
112
|
+
"comment": "chore: use storybook runner for all vNext packages"
|
113
|
+
},
|
96
114
|
{
|
97
115
|
"author": "elcraig@microsoft.com",
|
98
116
|
"package": "@fluentui/react-popover",
|
99
117
|
"commit": "3360b45ec159250b1346c91afad7dce138e6bc20",
|
100
118
|
"comment": "Update API file to version generated by typescript 4.3"
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"author": "email not defined",
|
122
|
+
"package": "@fluentui/react-popover",
|
123
|
+
"commit": "97752a0e494875c4dc22b268030d7d5e51b19211",
|
124
|
+
"comment": "Add workaround for cypress bug"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"author": "olfedias@microsoft.com",
|
128
|
+
"package": "@fluentui/react-popover",
|
129
|
+
"commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
|
130
|
+
"comment": "remove inline-style-expand-shorthand from tsconfigs"
|
101
131
|
}
|
102
132
|
]
|
103
133
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,30 +1,32 @@
|
|
1
1
|
# Change Log - @fluentui/react-popover
|
2
2
|
|
3
|
-
This log was last generated on Mon,
|
3
|
+
This log was last generated on Mon, 24 Jan 2022 04:14:08 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-
|
7
|
+
## [0.0.0-nightlyf6116328d620220124.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v0.0.0-nightlyf6116328d620220124.1)
|
8
8
|
|
9
|
-
Mon,
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.0.0-beta.5..@fluentui/react-popover_v0.0.0-
|
9
|
+
Mon, 24 Jan 2022 04:14:08 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.0.0-beta.5..@fluentui/react-popover_v0.0.0-nightlyf6116328d620220124.1)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
|
-
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/
|
14
|
+
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by email not defined)
|
15
15
|
- Replacing use of functions in makeStyles with direct use of tokens ([PR #21049](https://github.com/microsoft/fluentui/pull/21049) by Humberto.Morimoto@microsoft.com)
|
16
|
+
- Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
|
16
17
|
- Fix Popover arrow border in high contrast ([PR #21086](https://github.com/microsoft/fluentui/pull/21086) by behowell@microsoft.com)
|
18
|
+
- Updating based on removal of functions from makeStyles. ([PR #21239](https://github.com/microsoft/fluentui/pull/21239) by Humberto.Morimoto@microsoft.com)
|
17
19
|
- update styles to not use CSS shorthands ([PR #20796](https://github.com/microsoft/fluentui/pull/20796) by olfedias@microsoft.com)
|
18
|
-
- Bump @fluentui/react-context-selector to v0.0.0-
|
19
|
-
- Bump @fluentui/react-make-styles to v0.0.0-
|
20
|
-
- Bump @fluentui/react-portal to v0.0.0-
|
21
|
-
- Bump @fluentui/react-positioning to v0.0.0-
|
22
|
-
- Bump @fluentui/react-shared-contexts to v0.0.0-
|
23
|
-
- Bump @fluentui/react-tabster to v0.0.0-
|
24
|
-
- Bump @fluentui/react-utilities to v0.0.0-
|
25
|
-
- Bump @fluentui/babel-make-styles to v0.0.0-
|
26
|
-
- Bump @fluentui/jest-serializer-make-styles to v0.0.0-
|
27
|
-
- Bump @fluentui/react-conformance-make-styles to v0.0.0-
|
20
|
+
- Bump @fluentui/react-context-selector to v0.0.0-nightlyf6116328d620220124.1 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by beachball)
|
21
|
+
- Bump @fluentui/react-make-styles to v0.0.0-nightlyf6116328d620220124.1 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by beachball)
|
22
|
+
- Bump @fluentui/react-portal to v0.0.0-nightlyf6116328d620220124.1 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by beachball)
|
23
|
+
- Bump @fluentui/react-positioning to v0.0.0-nightlyf6116328d620220124.1 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by beachball)
|
24
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightlyf6116328d620220124.1 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by beachball)
|
25
|
+
- Bump @fluentui/react-tabster to v0.0.0-nightlyf6116328d620220124.1 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by beachball)
|
26
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightlyf6116328d620220124.1 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by beachball)
|
27
|
+
- Bump @fluentui/babel-make-styles to v0.0.0-nightlyf6116328d620220124.1 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by beachball)
|
28
|
+
- Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyf6116328d620220124.1 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by beachball)
|
29
|
+
- Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyf6116328d620220124.1 ([commit](https://github.com/microsoft/fluentui/commit/7e40e770b133f0e9b5a0ba356e78ea25a8647941) by beachball)
|
28
30
|
|
29
31
|
## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.0.0-beta.5)
|
30
32
|
|
package/dist/react-popover.d.ts
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import { Portal } from '@fluentui/react-portal';
|
3
3
|
import { getSlots } from '@fluentui/react-utilities';
|
4
|
-
import { popoverSurfaceSlots } from './usePopoverSurface';
|
5
4
|
/**
|
6
5
|
* Render the final JSX of PopoverSurface
|
7
6
|
*/
|
@@ -10,7 +9,7 @@ export const renderPopoverSurface = state => {
|
|
10
9
|
const {
|
11
10
|
slots,
|
12
11
|
slotProps
|
13
|
-
} = getSlots(state
|
12
|
+
} = getSlots(state); // TODO should hidden Popovers be supported ?
|
14
13
|
|
15
14
|
if (!state.open) {
|
16
15
|
return null;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/PopoverSurface/renderPopoverSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,MAAT,QAAuB,wBAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;
|
1
|
+
{"version":3,"sources":["../../../src/components/PopoverSurface/renderPopoverSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,MAAT,QAAuB,wBAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;AAEG;;AACH,OAAO,MAAM,oBAAoB,GAAI,KAAD,IAA+B;AACjE,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAsB,KAAtB,CAArC,CADiE,CAGjE;;AACA,MAAI,CAAC,KAAK,CAAC,IAAX,EAAiB;AACf,WAAO,IAAP;AACD;;AAED,sBACE,KAAA,CAAA,aAAA,CAAC,MAAD,EAAO;AAAC,IAAA,SAAS,EAAE,KAAK,CAAC;AAAlB,GAAP,eACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,CAAC,KAAK,CAAC,OAAP,iBAAkB,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA;AAAK,IAAA,GAAG,EAAE,KAAK,CAAC,QAAhB;AAA0B,IAAA,SAAS,EAAE,KAAK,CAAC;AAA3C,GAAA,CADrB,EAEG,SAAS,CAAC,IAAV,CAAe,QAFlB,CADF,CADF;AAQD,CAhBM","sourceRoot":""}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import type { PopoverSurfaceProps,
|
3
|
-
export declare const popoverSurfaceSlots: Array<keyof PopoverSurfaceSlots>;
|
2
|
+
import type { PopoverSurfaceProps, PopoverSurfaceState } from './PopoverSurface.types';
|
4
3
|
/**
|
5
4
|
* Create the state required to render PopoverSurface.
|
6
5
|
*
|
@@ -2,7 +2,6 @@ import * as React from 'react';
|
|
2
2
|
import { getNativeElementProps, useMergedRefs } from '@fluentui/react-utilities';
|
3
3
|
import { useFocusFinders, useModalAttributes } from '@fluentui/react-tabster';
|
4
4
|
import { usePopoverContext } from '../../popoverContext';
|
5
|
-
export const popoverSurfaceSlots = ['root'];
|
6
5
|
/**
|
7
6
|
* Create the state required to render PopoverSurface.
|
8
7
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/PopoverSurface/usePopoverSurface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,qBAAT,EAAgC,aAAhC,QAAqD,2BAArD;AACA,SAAS,eAAT,EAA0B,kBAA1B,QAAoD,yBAApD;AACA,SAAS,iBAAT,QAAkC,sBAAlC;AAGA
|
1
|
+
{"version":3,"sources":["../../../src/components/PopoverSurface/usePopoverSurface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,qBAAT,EAAgC,aAAhC,QAAqD,2BAArD;AACA,SAAS,eAAT,EAA0B,kBAA1B,QAAoD,yBAApD;AACA,SAAS,iBAAT,QAAkC,sBAAlC;AAGA;;;;;;;;AAQG;;AACH,OAAO,MAAM,iBAAiB,GAAG,CAAC,KAAD,EAA6B,GAA7B,KAAoF;AACnH,QAAM,UAAU,GAAG,iBAAiB,CAAC,OAAO,IAAI,OAAO,CAAC,UAApB,CAApC;AACA,QAAM,IAAI,GAAG,iBAAiB,CAAC,OAAO,IAAI,OAAO,CAAC,IAApB,CAA9B;AACA,QAAM,WAAW,GAAG,iBAAiB,CAAC,OAAO,IAAI,OAAO,CAAC,WAApB,CAArC;AACA,QAAM,OAAO,GAAG,iBAAiB,CAAC,OAAO,IAAI,OAAO,CAAC,OAApB,CAAjC;AACA,QAAM,SAAS,GAAG,iBAAiB,CAAC,OAAO,IAAI,OAAO,CAAC,SAApB,CAAnC;AACA,QAAM,Q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
@@ -78,9 +78,9 @@ const useStyles = /*#__PURE__*/__styles({
|
|
78
78
|
"Bdn98qo": "f103af6e",
|
79
79
|
"Bbc2r3f": "f15umuo5",
|
80
80
|
"B1dvbpk": "f3wpjpt",
|
81
|
-
"D4ky5z":
|
82
|
-
"cqycoz":
|
83
|
-
"I89eb":
|
81
|
+
"D4ky5z": "f1k3tce7",
|
82
|
+
"cqycoz": "f1dkdgqi",
|
83
|
+
"I89eb": "f5ghsz",
|
84
84
|
"k1i1uq": "fyqop9u",
|
85
85
|
"Epwjcz": "f1m5ya7j",
|
86
86
|
"Bp1vogq": "f3sp63x",
|
@@ -96,7 +96,7 @@ const useStyles = /*#__PURE__*/__styles({
|
|
96
96
|
"Bwwlvwl": "fm1ycve"
|
97
97
|
}
|
98
98
|
}, {
|
99
|
-
"d": [".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f1hg901r{box-shadow:var(--shadow16);}", ".fff7au0{border-bottom-right-radius:4px;}", ".f1bjk9e1{border-bottom-left-radius:4px;}", ".fwsfkhu{border-top-right-radius:4px;}", ".f8wkphi{border-top-left-radius:4px;}", ".f5ogflp{border-top-width:1px;}", ".f1hqa2wf{border-right-width:1px;}", ".finvdd3{border-left-width:1px;}", ".f1f09k3d{border-bottom-width:1px;}", ".fzkkow9{border-top-style:solid;}", ".fcdblym{border-right-style:solid;}", ".fjik90z{border-left-style:solid;}", ".fg706s2{border-bottom-style:solid;}", ".fghlq4f{border-top-color:var(--colorTransparentStroke);}", ".f1gn591s{border-right-color:var(--colorTransparentStroke);}", ".fjscplz{border-left-color:var(--colorTransparentStroke);}", ".fb073pr{border-bottom-color:var(--colorTransparentStroke);}", ".f1c73kur{background-color:var(--colorNeutralForeground1);}", ".fqpbvvt{color:var(--colorNeutralForegroundInverted);}", ".ffp7eso{background-color:var(--colorBrandBackground);}", ".f1kcqot9{padding-top:12px;}", ".f11qrl6u{padding-right:12px;}", ".fjlbh76{padding-left:12px;}", ".fpe6lb7{padding-bottom:12px;}", ".fqag9an{padding-top:16px;}", ".f1gbmcue{padding-right:16px;}", ".f1rh9g5y{padding-left:16px;}", ".fp67ikv{padding-bottom:16px;}", ".fc7z3ec{padding-top:20px;}", ".fat0sn4{padding-right:20px;}", ".fekwl8i{padding-left:20px;}", ".fe2my4m{padding-bottom:20px;}", ".f1ekdpwm{width:8.484px;}", ".f83vc9z{height:8.484px;}", ".f1kmc0fn{width:11.312px;}", ".fb6lvc5{height:11.312px;}", ".f1euv43f{position:absolute;}", ".f1u2r49w{background-color:inherit;}", ".fd7fpy0{visibility:hidden;}", ".f1bsuimh{z-index:-1;}", ".fuzzvh5:before{content:\"\";}", ".fkk33zh:before{visibility:visible;}", ".fxf9f1y:before{position:absolute;}", ".f170vdtw:before{box-sizing:border-box;}", ".f103af6e:before{width:inherit;}", ".f15umuo5:before{height:inherit;}", ".f3wpjpt:before{background-color:inherit;}", ".
|
99
|
+
"d": [".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f1hg901r{box-shadow:var(--shadow16);}", ".fff7au0{border-bottom-right-radius:4px;}", ".f1bjk9e1{border-bottom-left-radius:4px;}", ".fwsfkhu{border-top-right-radius:4px;}", ".f8wkphi{border-top-left-radius:4px;}", ".f5ogflp{border-top-width:1px;}", ".f1hqa2wf{border-right-width:1px;}", ".finvdd3{border-left-width:1px;}", ".f1f09k3d{border-bottom-width:1px;}", ".fzkkow9{border-top-style:solid;}", ".fcdblym{border-right-style:solid;}", ".fjik90z{border-left-style:solid;}", ".fg706s2{border-bottom-style:solid;}", ".fghlq4f{border-top-color:var(--colorTransparentStroke);}", ".f1gn591s{border-right-color:var(--colorTransparentStroke);}", ".fjscplz{border-left-color:var(--colorTransparentStroke);}", ".fb073pr{border-bottom-color:var(--colorTransparentStroke);}", ".f1c73kur{background-color:var(--colorNeutralForeground1);}", ".fqpbvvt{color:var(--colorNeutralForegroundInverted);}", ".ffp7eso{background-color:var(--colorBrandBackground);}", ".f1kcqot9{padding-top:12px;}", ".f11qrl6u{padding-right:12px;}", ".fjlbh76{padding-left:12px;}", ".fpe6lb7{padding-bottom:12px;}", ".fqag9an{padding-top:16px;}", ".f1gbmcue{padding-right:16px;}", ".f1rh9g5y{padding-left:16px;}", ".fp67ikv{padding-bottom:16px;}", ".fc7z3ec{padding-top:20px;}", ".fat0sn4{padding-right:20px;}", ".fekwl8i{padding-left:20px;}", ".fe2my4m{padding-bottom:20px;}", ".f1ekdpwm{width:8.484px;}", ".f83vc9z{height:8.484px;}", ".f1kmc0fn{width:11.312px;}", ".fb6lvc5{height:11.312px;}", ".f1euv43f{position:absolute;}", ".f1u2r49w{background-color:inherit;}", ".fd7fpy0{visibility:hidden;}", ".f1bsuimh{z-index:-1;}", ".fuzzvh5:before{content:\"\";}", ".fkk33zh:before{visibility:visible;}", ".fxf9f1y:before{position:absolute;}", ".f170vdtw:before{box-sizing:border-box;}", ".f103af6e:before{width:inherit;}", ".f15umuo5:before{height:inherit;}", ".f3wpjpt:before{background-color:inherit;}", ".f1k3tce7:before{border-right-width:1px;}", ".f1dkdgqi:before{border-right-style:solid;}", ".f5ghsz:before{border-right-color:var(--colorTransparentStroke);}", ".fyqop9u:before{border-bottom-width:1px;}", ".f1m5ya7j:before{border-bottom-style:solid;}", ".f3sp63x:before{border-bottom-color:var(--colorTransparentStroke);}", ".f5bg3dr:before{border-bottom-right-radius:var(--borderRadiusSmall);}", ".f1rfdd74:before{border-bottom-left-radius:var(--borderRadiusSmall);}", ".fzd2j21:before{-webkit-transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);-moz-transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);-ms-transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);}", "[data-popper-placement^=\"top\"] .f1773hnp{bottom:-1px;}", "[data-popper-placement^=\"top\"] .f1n8855c{--angle:0;}", "[data-popper-placement^=\"right\"] .f1v7783n{left:-1px;}", "[data-popper-placement^=\"right\"] .fsw6im5{--angle:90deg;}", "[data-popper-placement^=\"bottom\"] .fh2hsk5{top:-1px;}", "[data-popper-placement^=\"bottom\"] .f159pzir{--angle:180deg;}", "[data-popper-placement^=\"left\"] .f11yvu4{right:-1px;}", "[data-popper-placement^=\"left\"] .fm1ycve{--angle:270deg;}"]
|
100
100
|
});
|
101
101
|
/**
|
102
102
|
* Apply styling to the PopoverSurface slots based on the state
|
@@ -10,8 +10,6 @@ const React = /*#__PURE__*/require("react");
|
|
10
10
|
const react_portal_1 = /*#__PURE__*/require("@fluentui/react-portal");
|
11
11
|
|
12
12
|
const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
|
13
|
-
|
14
|
-
const usePopoverSurface_1 = /*#__PURE__*/require("./usePopoverSurface");
|
15
13
|
/**
|
16
14
|
* Render the final JSX of PopoverSurface
|
17
15
|
*/
|
@@ -21,7 +19,7 @@ const renderPopoverSurface = state => {
|
|
21
19
|
const {
|
22
20
|
slots,
|
23
21
|
slotProps
|
24
|
-
} = react_utilities_1.getSlots(state
|
22
|
+
} = react_utilities_1.getSlots(state); // TODO should hidden Popovers be supported ?
|
25
23
|
|
26
24
|
if (!state.open) {
|
27
25
|
return null;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/PopoverSurface/renderPopoverSurface.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,cAAA,gBAAA,OAAA,CAAA,wBAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA
|
1
|
+
{"version":3,"sources":["../../../src/components/PopoverSurface/renderPopoverSurface.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,cAAA,gBAAA,OAAA,CAAA,wBAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;AAEG;;;AACI,MAAM,oBAAoB,GAAI,KAAD,IAA+B;AACjE,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAA8B,KAA9B,CAA7B,CADiE,CAGjE;;AACA,MAAI,CAAC,KAAK,CAAC,IAAX,EAAiB;AACf,WAAO,IAAP;AACD;;AAED,SACE,KAAA,CAAA,aAAA,CAAC,cAAA,CAAA,MAAD,EAAO;AAAC,IAAA,SAAS,EAAE,KAAK,CAAC;AAAlB,GAAP,EACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,CAAC,KAAK,CAAC,OAAP,IAAkB,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA;AAAK,IAAA,GAAG,EAAE,KAAK,CAAC,QAAhB;AAA0B,IAAA,SAAS,EAAE,KAAK,CAAC;AAA3C,GAAA,CADrB,EAEG,SAAS,CAAC,IAAV,CAAe,QAFlB,CADF,CADF;AAQD,CAhBM;;AAAM,OAAA,CAAA,oBAAA,GAAoB,oBAApB","sourceRoot":""}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import type { PopoverSurfaceProps,
|
3
|
-
export declare const popoverSurfaceSlots: Array<keyof PopoverSurfaceSlots>;
|
2
|
+
import type { PopoverSurfaceProps, PopoverSurfaceState } from './PopoverSurface.types';
|
4
3
|
/**
|
5
4
|
* Create the state required to render PopoverSurface.
|
6
5
|
*
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.usePopoverSurface =
|
6
|
+
exports.usePopoverSurface = void 0;
|
7
7
|
|
8
8
|
const React = /*#__PURE__*/require("react");
|
9
9
|
|
@@ -12,8 +12,6 @@ const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
|
|
12
12
|
const react_tabster_1 = /*#__PURE__*/require("@fluentui/react-tabster");
|
13
13
|
|
14
14
|
const popoverContext_1 = /*#__PURE__*/require("../../popoverContext");
|
15
|
-
|
16
|
-
exports.popoverSurfaceSlots = ['root'];
|
17
15
|
/**
|
18
16
|
* Create the state required to render PopoverSurface.
|
19
17
|
*
|
@@ -24,6 +22,7 @@ exports.popoverSurfaceSlots = ['root'];
|
|
24
22
|
* @param ref - reference to root HTMLDivElement of PopoverSurface
|
25
23
|
*/
|
26
24
|
|
25
|
+
|
27
26
|
const usePopoverSurface = (props, ref) => {
|
28
27
|
const contentRef = popoverContext_1.usePopoverContext(context => context.contentRef);
|
29
28
|
const open = popoverContext_1.usePopoverContext(context => context.open);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/PopoverSurface/usePopoverSurface.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AACA,MAAA,eAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AACA,MAAA,gBAAA,gBAAA,OAAA,CAAA,sBAAA,CAAA
|
1
|
+
{"version":3,"sources":["../../../src/components/PopoverSurface/usePopoverSurface.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AACA,MAAA,eAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AACA,MAAA,gBAAA,gBAAA,OAAA,CAAA,sBAAA,CAAA;AAGA;;;;;;;;AAQG;;;AACI,MAAM,iBAAiB,GAAG,CAAC,KAAD,EAA6B,GAA7B,KAAoF;AACnH,QAAM,UAAU,GAAG,gBAAA,CAAA,iBAAA,CAAkB,OAAO,IAAI,OAAO,CAAC,UAArC,CAAnB;AACA,QAAM,IAAI,GAAG,gBAAA,CAAA,iBAAA,CAAkB,OAAO,IAAI,OAAO,CAAC,IAArC,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EAA/B;AAEA,EAAA,KAAK,CAAC,SAAN,CAAgB,MAAK;AACnB,QAAI,KAAK,CAAC,IAAN,IAAc,UAAU,CAAC,OAA7B,EAAsC;AACpC,YAAM,cAAc,GAAG,kBAAkB,CAAC,UAAU,CAAC,OAAZ,CAAzC;AACA,MAAA,cAAc,KAAA,IAAd,IAAA,cAAc,KAAA,KAAA,CAAd,GAAc,KAAA,CAAd,GAAA,cAAc,CAAE,KAAhB,EAAA;AACD;AACF,GALD,EAKG,CAAC,UAAD,EAAa,kBAAb,EAAiC,KAAK,CAAC,IAAvC,CALH;AAMA,SAAO,KAAP;AACD,CAvEM;;AAAM,OAAA,CAAA,iBAAA,GAAiB,iBAAjB","sourceRoot":""}
|
@@ -88,9 +88,9 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
88
88
|
"Bdn98qo": "f103af6e",
|
89
89
|
"Bbc2r3f": "f15umuo5",
|
90
90
|
"B1dvbpk": "f3wpjpt",
|
91
|
-
"D4ky5z":
|
92
|
-
"cqycoz":
|
93
|
-
"I89eb":
|
91
|
+
"D4ky5z": "f1k3tce7",
|
92
|
+
"cqycoz": "f1dkdgqi",
|
93
|
+
"I89eb": "f5ghsz",
|
94
94
|
"k1i1uq": "fyqop9u",
|
95
95
|
"Epwjcz": "f1m5ya7j",
|
96
96
|
"Bp1vogq": "f3sp63x",
|
@@ -106,7 +106,7 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
106
106
|
"Bwwlvwl": "fm1ycve"
|
107
107
|
}
|
108
108
|
}, {
|
109
|
-
"d": [".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f1hg901r{box-shadow:var(--shadow16);}", ".fff7au0{border-bottom-right-radius:4px;}", ".f1bjk9e1{border-bottom-left-radius:4px;}", ".fwsfkhu{border-top-right-radius:4px;}", ".f8wkphi{border-top-left-radius:4px;}", ".f5ogflp{border-top-width:1px;}", ".f1hqa2wf{border-right-width:1px;}", ".finvdd3{border-left-width:1px;}", ".f1f09k3d{border-bottom-width:1px;}", ".fzkkow9{border-top-style:solid;}", ".fcdblym{border-right-style:solid;}", ".fjik90z{border-left-style:solid;}", ".fg706s2{border-bottom-style:solid;}", ".fghlq4f{border-top-color:var(--colorTransparentStroke);}", ".f1gn591s{border-right-color:var(--colorTransparentStroke);}", ".fjscplz{border-left-color:var(--colorTransparentStroke);}", ".fb073pr{border-bottom-color:var(--colorTransparentStroke);}", ".f1c73kur{background-color:var(--colorNeutralForeground1);}", ".fqpbvvt{color:var(--colorNeutralForegroundInverted);}", ".ffp7eso{background-color:var(--colorBrandBackground);}", ".f1kcqot9{padding-top:12px;}", ".f11qrl6u{padding-right:12px;}", ".fjlbh76{padding-left:12px;}", ".fpe6lb7{padding-bottom:12px;}", ".fqag9an{padding-top:16px;}", ".f1gbmcue{padding-right:16px;}", ".f1rh9g5y{padding-left:16px;}", ".fp67ikv{padding-bottom:16px;}", ".fc7z3ec{padding-top:20px;}", ".fat0sn4{padding-right:20px;}", ".fekwl8i{padding-left:20px;}", ".fe2my4m{padding-bottom:20px;}", ".f1ekdpwm{width:8.484px;}", ".f83vc9z{height:8.484px;}", ".f1kmc0fn{width:11.312px;}", ".fb6lvc5{height:11.312px;}", ".f1euv43f{position:absolute;}", ".f1u2r49w{background-color:inherit;}", ".fd7fpy0{visibility:hidden;}", ".f1bsuimh{z-index:-1;}", ".fuzzvh5:before{content:\"\";}", ".fkk33zh:before{visibility:visible;}", ".fxf9f1y:before{position:absolute;}", ".f170vdtw:before{box-sizing:border-box;}", ".f103af6e:before{width:inherit;}", ".f15umuo5:before{height:inherit;}", ".f3wpjpt:before{background-color:inherit;}", ".
|
109
|
+
"d": [".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f1hg901r{box-shadow:var(--shadow16);}", ".fff7au0{border-bottom-right-radius:4px;}", ".f1bjk9e1{border-bottom-left-radius:4px;}", ".fwsfkhu{border-top-right-radius:4px;}", ".f8wkphi{border-top-left-radius:4px;}", ".f5ogflp{border-top-width:1px;}", ".f1hqa2wf{border-right-width:1px;}", ".finvdd3{border-left-width:1px;}", ".f1f09k3d{border-bottom-width:1px;}", ".fzkkow9{border-top-style:solid;}", ".fcdblym{border-right-style:solid;}", ".fjik90z{border-left-style:solid;}", ".fg706s2{border-bottom-style:solid;}", ".fghlq4f{border-top-color:var(--colorTransparentStroke);}", ".f1gn591s{border-right-color:var(--colorTransparentStroke);}", ".fjscplz{border-left-color:var(--colorTransparentStroke);}", ".fb073pr{border-bottom-color:var(--colorTransparentStroke);}", ".f1c73kur{background-color:var(--colorNeutralForeground1);}", ".fqpbvvt{color:var(--colorNeutralForegroundInverted);}", ".ffp7eso{background-color:var(--colorBrandBackground);}", ".f1kcqot9{padding-top:12px;}", ".f11qrl6u{padding-right:12px;}", ".fjlbh76{padding-left:12px;}", ".fpe6lb7{padding-bottom:12px;}", ".fqag9an{padding-top:16px;}", ".f1gbmcue{padding-right:16px;}", ".f1rh9g5y{padding-left:16px;}", ".fp67ikv{padding-bottom:16px;}", ".fc7z3ec{padding-top:20px;}", ".fat0sn4{padding-right:20px;}", ".fekwl8i{padding-left:20px;}", ".fe2my4m{padding-bottom:20px;}", ".f1ekdpwm{width:8.484px;}", ".f83vc9z{height:8.484px;}", ".f1kmc0fn{width:11.312px;}", ".fb6lvc5{height:11.312px;}", ".f1euv43f{position:absolute;}", ".f1u2r49w{background-color:inherit;}", ".fd7fpy0{visibility:hidden;}", ".f1bsuimh{z-index:-1;}", ".fuzzvh5:before{content:\"\";}", ".fkk33zh:before{visibility:visible;}", ".fxf9f1y:before{position:absolute;}", ".f170vdtw:before{box-sizing:border-box;}", ".f103af6e:before{width:inherit;}", ".f15umuo5:before{height:inherit;}", ".f3wpjpt:before{background-color:inherit;}", ".f1k3tce7:before{border-right-width:1px;}", ".f1dkdgqi:before{border-right-style:solid;}", ".f5ghsz:before{border-right-color:var(--colorTransparentStroke);}", ".fyqop9u:before{border-bottom-width:1px;}", ".f1m5ya7j:before{border-bottom-style:solid;}", ".f3sp63x:before{border-bottom-color:var(--colorTransparentStroke);}", ".f5bg3dr:before{border-bottom-right-radius:var(--borderRadiusSmall);}", ".f1rfdd74:before{border-bottom-left-radius:var(--borderRadiusSmall);}", ".fzd2j21:before{-webkit-transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);-moz-transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);-ms-transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);}", "[data-popper-placement^=\"top\"] .f1773hnp{bottom:-1px;}", "[data-popper-placement^=\"top\"] .f1n8855c{--angle:0;}", "[data-popper-placement^=\"right\"] .f1v7783n{left:-1px;}", "[data-popper-placement^=\"right\"] .fsw6im5{--angle:90deg;}", "[data-popper-placement^=\"bottom\"] .fh2hsk5{top:-1px;}", "[data-popper-placement^=\"bottom\"] .f159pzir{--angle:180deg;}", "[data-popper-placement^=\"left\"] .f11yvu4{right:-1px;}", "[data-popper-placement^=\"left\"] .fm1ycve{--angle:270deg;}"]
|
110
110
|
});
|
111
111
|
/**
|
112
112
|
* Apply styling to the PopoverSurface slots based on the state
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-popover",
|
3
|
-
"version": "0.0.0-
|
3
|
+
"version": "0.0.0-nightlyf6116328d620220124.1",
|
4
4
|
"description": "Popover component for Fluent UI",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -20,18 +20,18 @@
|
|
20
20
|
"lint": "just-scripts lint",
|
21
21
|
"start": "yarn storybook",
|
22
22
|
"e2e": "e2e",
|
23
|
-
"storybook": "
|
24
|
-
"test": "jest",
|
23
|
+
"storybook": "node ../../scripts/storybook/runner",
|
24
|
+
"test": "jest --passWithNoTests",
|
25
25
|
"docs": "api-extractor run --config=config/api-extractor.local.json --local",
|
26
26
|
"build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output ./dist/packages/react-popover/src && yarn docs",
|
27
27
|
"type-check": "tsc -b tsconfig.json"
|
28
28
|
},
|
29
29
|
"devDependencies": {
|
30
|
-
"@fluentui/babel-make-styles": "0.0.0-
|
30
|
+
"@fluentui/babel-make-styles": "0.0.0-nightlyf6116328d620220124.1",
|
31
31
|
"@fluentui/eslint-plugin": "*",
|
32
|
-
"@fluentui/jest-serializer-make-styles": "0.0.0-
|
32
|
+
"@fluentui/jest-serializer-make-styles": "0.0.0-nightlyf6116328d620220124.1",
|
33
33
|
"@fluentui/react-conformance": "*",
|
34
|
-
"@fluentui/react-conformance-make-styles": "0.0.0-
|
34
|
+
"@fluentui/react-conformance-make-styles": "0.0.0-nightlyf6116328d620220124.1",
|
35
35
|
"@fluentui/scripts": "^1.0.0",
|
36
36
|
"@types/enzyme": "3.10.3",
|
37
37
|
"@types/enzyme-adapter-react-16": "1.0.3",
|
@@ -45,13 +45,13 @@
|
|
45
45
|
"react-test-renderer": "^16.3.0"
|
46
46
|
},
|
47
47
|
"dependencies": {
|
48
|
-
"@fluentui/react-context-selector": "0.0.0-
|
49
|
-
"@fluentui/react-make-styles": "0.0.0-
|
50
|
-
"@fluentui/react-portal": "0.0.0-
|
51
|
-
"@fluentui/react-positioning": "0.0.0-
|
52
|
-
"@fluentui/react-shared-contexts": "0.0.0-
|
53
|
-
"@fluentui/react-tabster": "0.0.0-
|
54
|
-
"@fluentui/react-utilities": "0.0.0-
|
48
|
+
"@fluentui/react-context-selector": "0.0.0-nightlyf6116328d620220124.1",
|
49
|
+
"@fluentui/react-make-styles": "0.0.0-nightlyf6116328d620220124.1",
|
50
|
+
"@fluentui/react-portal": "0.0.0-nightlyf6116328d620220124.1",
|
51
|
+
"@fluentui/react-positioning": "0.0.0-nightlyf6116328d620220124.1",
|
52
|
+
"@fluentui/react-shared-contexts": "0.0.0-nightlyf6116328d620220124.1",
|
53
|
+
"@fluentui/react-tabster": "0.0.0-nightlyf6116328d620220124.1",
|
54
|
+
"@fluentui/react-utilities": "0.0.0-nightlyf6116328d620220124.1",
|
55
55
|
"tslib": "^2.1.0"
|
56
56
|
},
|
57
57
|
"peerDependencies": {
|