@fluentui/react-popover 0.0.0-nightly-20230413-0419.1 → 0.0.0-nightly-20230417-0419.1
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.json +29 -23
- package/CHANGELOG.md +15 -14
- package/lib/components/PopoverSurface/renderPopoverSurface.js +5 -5
- package/lib/components/PopoverSurface/renderPopoverSurface.js.map +1 -1
- package/lib-commonjs/components/PopoverSurface/renderPopoverSurface.js +6 -7
- package/lib-commonjs/components/PopoverSurface/renderPopoverSurface.js.map +1 -1
- package/package.json +12 -11
package/CHANGELOG.json
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
"name": "@fluentui/react-popover",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
6
|
-
"tag": "@fluentui/react-popover_v0.0.0-nightly-
|
7
|
-
"version": "0.0.0-nightly-
|
5
|
+
"date": "Mon, 17 Apr 2023 04:24:46 GMT",
|
6
|
+
"tag": "@fluentui/react-popover_v0.0.0-nightly-20230417-0419.1",
|
7
|
+
"version": "0.0.0-nightly-20230417-0419.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
@@ -16,62 +16,68 @@
|
|
16
16
|
{
|
17
17
|
"author": "beachball",
|
18
18
|
"package": "@fluentui/react-popover",
|
19
|
-
"comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly-
|
20
|
-
"commit": "
|
19
|
+
"comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly-20230417-0419.1",
|
20
|
+
"commit": "bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3"
|
21
21
|
},
|
22
22
|
{
|
23
23
|
"author": "beachball",
|
24
24
|
"package": "@fluentui/react-popover",
|
25
|
-
"comment": "Bump @fluentui/react-aria to v0.0.0-nightly-
|
26
|
-
"commit": "
|
25
|
+
"comment": "Bump @fluentui/react-aria to v0.0.0-nightly-20230417-0419.1",
|
26
|
+
"commit": "bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3"
|
27
27
|
},
|
28
28
|
{
|
29
29
|
"author": "beachball",
|
30
30
|
"package": "@fluentui/react-popover",
|
31
|
-
"comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly-
|
32
|
-
"commit": "
|
31
|
+
"comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly-20230417-0419.1",
|
32
|
+
"commit": "bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3"
|
33
33
|
},
|
34
34
|
{
|
35
35
|
"author": "beachball",
|
36
36
|
"package": "@fluentui/react-popover",
|
37
|
-
"comment": "Bump @fluentui/react-portal to v0.0.0-nightly-
|
38
|
-
"commit": "
|
37
|
+
"comment": "Bump @fluentui/react-portal to v0.0.0-nightly-20230417-0419.1",
|
38
|
+
"commit": "bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3"
|
39
39
|
},
|
40
40
|
{
|
41
41
|
"author": "beachball",
|
42
42
|
"package": "@fluentui/react-popover",
|
43
|
-
"comment": "Bump @fluentui/react-positioning to v0.0.0-nightly-
|
44
|
-
"commit": "
|
43
|
+
"comment": "Bump @fluentui/react-positioning to v0.0.0-nightly-20230417-0419.1",
|
44
|
+
"commit": "bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3"
|
45
45
|
},
|
46
46
|
{
|
47
47
|
"author": "beachball",
|
48
48
|
"package": "@fluentui/react-popover",
|
49
|
-
"comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly-
|
50
|
-
"commit": "
|
49
|
+
"comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20230417-0419.1",
|
50
|
+
"commit": "bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3"
|
51
51
|
},
|
52
52
|
{
|
53
53
|
"author": "beachball",
|
54
54
|
"package": "@fluentui/react-popover",
|
55
|
-
"comment": "Bump @fluentui/react-tabster to v0.0.0-nightly-
|
56
|
-
"commit": "
|
55
|
+
"comment": "Bump @fluentui/react-tabster to v0.0.0-nightly-20230417-0419.1",
|
56
|
+
"commit": "bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3"
|
57
57
|
},
|
58
58
|
{
|
59
59
|
"author": "beachball",
|
60
60
|
"package": "@fluentui/react-popover",
|
61
|
-
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-
|
62
|
-
"commit": "
|
61
|
+
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20230417-0419.1",
|
62
|
+
"commit": "bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3"
|
63
63
|
},
|
64
64
|
{
|
65
65
|
"author": "beachball",
|
66
66
|
"package": "@fluentui/react-popover",
|
67
|
-
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-
|
68
|
-
"commit": "
|
67
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20230417-0419.1",
|
68
|
+
"commit": "bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3"
|
69
69
|
},
|
70
70
|
{
|
71
71
|
"author": "beachball",
|
72
72
|
"package": "@fluentui/react-popover",
|
73
|
-
"comment": "Bump @fluentui/react-
|
74
|
-
"commit": "
|
73
|
+
"comment": "Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20230417-0419.1",
|
74
|
+
"commit": "bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"author": "beachball",
|
78
|
+
"package": "@fluentui/react-popover",
|
79
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230417-0419.1",
|
80
|
+
"commit": "bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3"
|
75
81
|
}
|
76
82
|
]
|
77
83
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,27 +1,28 @@
|
|
1
1
|
# Change Log - @fluentui/react-popover
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Mon, 17 Apr 2023 04:24:46 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-nightly-
|
7
|
+
## [0.0.0-nightly-20230417-0419.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v0.0.0-nightly-20230417-0419.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.5.8..@fluentui/react-popover_v0.0.0-nightly-
|
9
|
+
Mon, 17 Apr 2023 04:24:46 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.5.8..@fluentui/react-popover_v0.0.0-nightly-20230417-0419.1)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
14
|
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
|
15
|
-
- Bump @fluentui/keyboard-keys to v0.0.0-nightly-
|
16
|
-
- Bump @fluentui/react-aria to v0.0.0-nightly-
|
17
|
-
- Bump @fluentui/react-context-selector to v0.0.0-nightly-
|
18
|
-
- Bump @fluentui/react-portal to v0.0.0-nightly-
|
19
|
-
- Bump @fluentui/react-positioning to v0.0.0-nightly-
|
20
|
-
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly-
|
21
|
-
- Bump @fluentui/react-tabster to v0.0.0-nightly-
|
22
|
-
- Bump @fluentui/react-theme to v0.0.0-nightly-
|
23
|
-
- Bump @fluentui/react-utilities to v0.0.0-nightly-
|
24
|
-
- Bump @fluentui/react-
|
15
|
+
- Bump @fluentui/keyboard-keys to v0.0.0-nightly-20230417-0419.1 ([commit](https://github.com/microsoft/fluentui/commit/bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3) by beachball)
|
16
|
+
- Bump @fluentui/react-aria to v0.0.0-nightly-20230417-0419.1 ([commit](https://github.com/microsoft/fluentui/commit/bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3) by beachball)
|
17
|
+
- Bump @fluentui/react-context-selector to v0.0.0-nightly-20230417-0419.1 ([commit](https://github.com/microsoft/fluentui/commit/bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3) by beachball)
|
18
|
+
- Bump @fluentui/react-portal to v0.0.0-nightly-20230417-0419.1 ([commit](https://github.com/microsoft/fluentui/commit/bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3) by beachball)
|
19
|
+
- Bump @fluentui/react-positioning to v0.0.0-nightly-20230417-0419.1 ([commit](https://github.com/microsoft/fluentui/commit/bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3) by beachball)
|
20
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20230417-0419.1 ([commit](https://github.com/microsoft/fluentui/commit/bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3) by beachball)
|
21
|
+
- Bump @fluentui/react-tabster to v0.0.0-nightly-20230417-0419.1 ([commit](https://github.com/microsoft/fluentui/commit/bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3) by beachball)
|
22
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly-20230417-0419.1 ([commit](https://github.com/microsoft/fluentui/commit/bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3) by beachball)
|
23
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly-20230417-0419.1 ([commit](https://github.com/microsoft/fluentui/commit/bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3) by beachball)
|
24
|
+
- Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20230417-0419.1 ([commit](https://github.com/microsoft/fluentui/commit/bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3) by beachball)
|
25
|
+
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230417-0419.1 ([commit](https://github.com/microsoft/fluentui/commit/bb0386ad4bfe6b30d15a35e03571fb3d14b6efc3) by beachball)
|
25
26
|
|
26
27
|
## [9.5.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.5.8)
|
27
28
|
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import
|
1
|
+
/** @jsxRuntime classic */ /** @jsx createElement */import { createElement } from '@fluentui/react-jsx-runtime';
|
2
|
+
import { getSlotsNext } from '@fluentui/react-utilities';
|
2
3
|
import { Portal } from '@fluentui/react-portal';
|
3
|
-
import { getSlots } from '@fluentui/react-utilities';
|
4
4
|
/**
|
5
5
|
* Render the final JSX of PopoverSurface
|
6
6
|
*/
|
@@ -8,15 +8,15 @@ export const renderPopoverSurface_unstable = state => {
|
|
8
8
|
const {
|
9
9
|
slots,
|
10
10
|
slotProps
|
11
|
-
} =
|
12
|
-
const surface = /*#__PURE__*/
|
11
|
+
} = getSlotsNext(state);
|
12
|
+
const surface = /*#__PURE__*/createElement(slots.root, slotProps.root, state.withArrow && /*#__PURE__*/createElement("div", {
|
13
13
|
ref: state.arrowRef,
|
14
14
|
className: state.arrowClassName
|
15
15
|
}), slotProps.root.children);
|
16
16
|
if (state.inline) {
|
17
17
|
return surface;
|
18
18
|
}
|
19
|
-
return /*#__PURE__*/
|
19
|
+
return /*#__PURE__*/createElement(Portal, {
|
20
20
|
mountNode: state.mountNode
|
21
21
|
}, surface);
|
22
22
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["
|
1
|
+
{"version":3,"names":["createElement","getSlotsNext","Portal","renderPopoverSurface_unstable","state","slots","slotProps","surface","root","withArrow","ref","arrowRef","className","arrowClassName","children","inline","mountNode"],"sources":["../../../src/components/PopoverSurface/renderPopoverSurface.tsx"],"sourcesContent":["/** @jsxRuntime classic */\n/** @jsx createElement */\n\nimport { createElement } from '@fluentui/react-jsx-runtime';\nimport { getSlotsNext } from '@fluentui/react-utilities';\nimport { Portal } from '@fluentui/react-portal';\nimport type { PopoverSurfaceSlots, PopoverSurfaceState } from './PopoverSurface.types';\n\n/**\n * Render the final JSX of PopoverSurface\n */\nexport const renderPopoverSurface_unstable = (state: PopoverSurfaceState) => {\n const { slots, slotProps } = getSlotsNext<PopoverSurfaceSlots>(state);\n\n const surface = (\n <slots.root {...slotProps.root}>\n {state.withArrow && <div ref={state.arrowRef} className={state.arrowClassName} />}\n {slotProps.root.children}\n </slots.root>\n );\n\n if (state.inline) {\n return surface;\n }\n\n return <Portal mountNode={state.mountNode}>{surface}</Portal>;\n};\n"],"mappings":"AAAA,2BACA,yBAEA,SAASA,aAAa,QAAQ;AAC9B,SAASC,YAAY,QAAQ;AAC7B,SAASC,MAAM,QAAQ;AAGvB;;;AAGA,OAAO,MAAMC,6BAAA,GAAiCC,KAAA,IAA+B;EAC3E,MAAM;IAAEC,KAAA;IAAOC;EAAS,CAAE,GAAGL,YAAA,CAAkCG,KAAA;EAE/D,MAAMG,OAAA,gBACJP,aAdJ,CAcKK,KAAA,CAAMG,IAAI,EAAKF,SAAA,CAAUE,IAAI,EAC3BJ,KAAA,CAAMK,SAAS,iBAAIT,aAf1B,CAe2B;IAAIU,GAAA,EAAKN,KAAA,CAAMO,QAAQ;IAAEC,SAAA,EAAWR,KAAA,CAAMS;MAC9DP,SAAA,CAAUE,IAAI,CAACM,QAAQ;EAI5B,IAAIV,KAAA,CAAMW,MAAM,EAAE;IAChB,OAAOR,OAAA;EACT;EAEA,oBAAOP,aAxBT,CAwBUE,MAAA;IAAOc,SAAA,EAAWZ,KAAA,CAAMY;KAAYT,OAAA;AAC9C"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";
|
1
|
+
/** @jsxRuntime classic */ /** @jsx createElement */ "use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
3
3
|
value: true
|
4
4
|
});
|
@@ -6,20 +6,19 @@ Object.defineProperty(exports, "renderPopoverSurface_unstable", {
|
|
6
6
|
enumerable: true,
|
7
7
|
get: ()=>renderPopoverSurface_unstable
|
8
8
|
});
|
9
|
-
const
|
10
|
-
const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
|
11
|
-
const _reactPortal = require("@fluentui/react-portal");
|
9
|
+
const _reactJsxRuntime = require("@fluentui/react-jsx-runtime");
|
12
10
|
const _reactUtilities = require("@fluentui/react-utilities");
|
11
|
+
const _reactPortal = require("@fluentui/react-portal");
|
13
12
|
const renderPopoverSurface_unstable = (state)=>{
|
14
|
-
const { slots , slotProps } = (0, _reactUtilities.
|
15
|
-
const surface = /*#__PURE__*/
|
13
|
+
const { slots , slotProps } = (0, _reactUtilities.getSlotsNext)(state);
|
14
|
+
const surface = /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.root, slotProps.root, state.withArrow && /*#__PURE__*/ (0, _reactJsxRuntime.createElement)("div", {
|
16
15
|
ref: state.arrowRef,
|
17
16
|
className: state.arrowClassName
|
18
17
|
}), slotProps.root.children);
|
19
18
|
if (state.inline) {
|
20
19
|
return surface;
|
21
20
|
}
|
22
|
-
return /*#__PURE__*/
|
21
|
+
return /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(_reactPortal.Portal, {
|
23
22
|
mountNode: state.mountNode
|
24
23
|
}, surface);
|
25
24
|
}; //# sourceMappingURL=renderPopoverSurface.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../lib/components/PopoverSurface/renderPopoverSurface.js"],"sourcesContent":["import
|
1
|
+
{"version":3,"sources":["../../../lib/components/PopoverSurface/renderPopoverSurface.js"],"sourcesContent":["/** @jsxRuntime classic */ /** @jsx createElement */import { createElement } from '@fluentui/react-jsx-runtime';\nimport { getSlotsNext } from '@fluentui/react-utilities';\nimport { Portal } from '@fluentui/react-portal';\n/**\n * Render the final JSX of PopoverSurface\n */\nexport const renderPopoverSurface_unstable = state => {\n const {\n slots,\n slotProps\n } = getSlotsNext(state);\n const surface = /*#__PURE__*/createElement(slots.root, slotProps.root, state.withArrow && /*#__PURE__*/createElement(\"div\", {\n ref: state.arrowRef,\n className: state.arrowClassName\n }), slotProps.root.children);\n if (state.inline) {\n return surface;\n }\n return /*#__PURE__*/createElement(Portal, {\n mountNode: state.mountNode\n }, surface);\n};\n//# sourceMappingURL=renderPopoverSurface.js.map"],"names":["renderPopoverSurface_unstable","state","slots","slotProps","getSlotsNext","surface","createElement","root","withArrow","ref","arrowRef","className","arrowClassName","children","inline","Portal","mountNode"],"mappings":"AAAA,wBAAwB,GAAG,uBAAuB;;;;+BAMrCA;;aAAAA;;iCANqE;gCACrD;6BACN;AAIhB,MAAMA,gCAAgCC,CAAAA,QAAS;IACpD,MAAM,EACJC,MAAK,EACLC,UAAS,EACV,GAAGC,IAAAA,4BAAY,EAACH;IACjB,MAAMI,UAAU,WAAW,GAAEC,IAAAA,8BAAa,EAACJ,MAAMK,IAAI,EAAEJ,UAAUI,IAAI,EAAEN,MAAMO,SAAS,IAAI,WAAW,GAAEF,IAAAA,8BAAa,EAAC,OAAO;QAC1HG,KAAKR,MAAMS,QAAQ;QACnBC,WAAWV,MAAMW,cAAc;IACjC,IAAIT,UAAUI,IAAI,CAACM,QAAQ;IAC3B,IAAIZ,MAAMa,MAAM,EAAE;QAChB,OAAOT;IACT,CAAC;IACD,OAAO,WAAW,GAAEC,IAAAA,8BAAa,EAACS,mBAAM,EAAE;QACxCC,WAAWf,MAAMe,SAAS;IAC5B,GAAGX;AACL,GACA,gDAAgD"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-popover",
|
3
|
-
"version": "0.0.0-nightly-
|
3
|
+
"version": "0.0.0-nightly-20230417-0419.1",
|
4
4
|
"description": "Popover component for Fluent UI",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -29,21 +29,22 @@
|
|
29
29
|
"devDependencies": {
|
30
30
|
"@fluentui/eslint-plugin": "*",
|
31
31
|
"@fluentui/react-conformance": "*",
|
32
|
-
"@fluentui/react-conformance-griffel": "0.0.0-nightly-
|
32
|
+
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20230417-0419.1",
|
33
33
|
"@fluentui/scripts-api-extractor": "*",
|
34
34
|
"@fluentui/scripts-cypress": "*",
|
35
35
|
"@fluentui/scripts-tasks": "*"
|
36
36
|
},
|
37
37
|
"dependencies": {
|
38
|
-
"@fluentui/keyboard-keys": "0.0.0-nightly-
|
39
|
-
"@fluentui/react-aria": "0.0.0-nightly-
|
40
|
-
"@fluentui/react-context-selector": "0.0.0-nightly-
|
41
|
-
"@fluentui/react-portal": "0.0.0-nightly-
|
42
|
-
"@fluentui/react-positioning": "0.0.0-nightly-
|
43
|
-
"@fluentui/react-shared-contexts": "0.0.0-nightly-
|
44
|
-
"@fluentui/react-tabster": "0.0.0-nightly-
|
45
|
-
"@fluentui/react-theme": "0.0.0-nightly-
|
46
|
-
"@fluentui/react-utilities": "0.0.0-nightly-
|
38
|
+
"@fluentui/keyboard-keys": "0.0.0-nightly-20230417-0419.1",
|
39
|
+
"@fluentui/react-aria": "0.0.0-nightly-20230417-0419.1",
|
40
|
+
"@fluentui/react-context-selector": "0.0.0-nightly-20230417-0419.1",
|
41
|
+
"@fluentui/react-portal": "0.0.0-nightly-20230417-0419.1",
|
42
|
+
"@fluentui/react-positioning": "0.0.0-nightly-20230417-0419.1",
|
43
|
+
"@fluentui/react-shared-contexts": "0.0.0-nightly-20230417-0419.1",
|
44
|
+
"@fluentui/react-tabster": "0.0.0-nightly-20230417-0419.1",
|
45
|
+
"@fluentui/react-theme": "0.0.0-nightly-20230417-0419.1",
|
46
|
+
"@fluentui/react-utilities": "0.0.0-nightly-20230417-0419.1",
|
47
|
+
"@fluentui/react-jsx-runtime": "0.0.0-nightly-20230417-0419.1",
|
47
48
|
"@griffel/react": "^1.5.2",
|
48
49
|
"@swc/helpers": "^0.4.14"
|
49
50
|
},
|