@fluentui/react-popover 9.5.8 → 9.5.9
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.json +64 -7
- package/CHANGELOG.md +24 -8
- 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 +8 -7
package/CHANGELOG.json
CHANGED
@@ -2,7 +2,64 @@
|
|
2
2
|
"name": "@fluentui/react-popover",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
5
|
+
"date": "Mon, 17 Apr 2023 17:50:03 GMT",
|
6
|
+
"tag": "@fluentui/react-popover_v9.5.9",
|
7
|
+
"version": "9.5.9",
|
8
|
+
"comments": {
|
9
|
+
"patch": [
|
10
|
+
{
|
11
|
+
"author": "bernardo.sunderhus@gmail.com",
|
12
|
+
"package": "@fluentui/react-popover",
|
13
|
+
"commit": "b415aefbc882a0e84a076df45c04f1efda26c34b",
|
14
|
+
"comment": "feat: adopt custom JSX pragma"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"author": "beachball",
|
18
|
+
"package": "@fluentui/react-popover",
|
19
|
+
"comment": "Bump @fluentui/react-aria to v9.3.18",
|
20
|
+
"commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-popover",
|
25
|
+
"comment": "Bump @fluentui/react-context-selector to v9.1.18",
|
26
|
+
"commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-popover",
|
31
|
+
"comment": "Bump @fluentui/react-portal to v9.2.6",
|
32
|
+
"commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"author": "beachball",
|
36
|
+
"package": "@fluentui/react-popover",
|
37
|
+
"comment": "Bump @fluentui/react-positioning to v9.5.10",
|
38
|
+
"commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"author": "beachball",
|
42
|
+
"package": "@fluentui/react-popover",
|
43
|
+
"comment": "Bump @fluentui/react-tabster to v9.6.5",
|
44
|
+
"commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"author": "beachball",
|
48
|
+
"package": "@fluentui/react-popover",
|
49
|
+
"comment": "Bump @fluentui/react-utilities to v9.8.0",
|
50
|
+
"commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"author": "beachball",
|
54
|
+
"package": "@fluentui/react-popover",
|
55
|
+
"comment": "Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.1",
|
56
|
+
"commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
|
57
|
+
}
|
58
|
+
]
|
59
|
+
}
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"date": "Wed, 12 Apr 2023 09:31:45 GMT",
|
6
63
|
"tag": "@fluentui/react-popover_v9.5.8",
|
7
64
|
"version": "9.5.8",
|
8
65
|
"comments": {
|
@@ -11,37 +68,37 @@
|
|
11
68
|
"author": "beachball",
|
12
69
|
"package": "@fluentui/react-popover",
|
13
70
|
"comment": "Bump @fluentui/react-aria to v9.3.17",
|
14
|
-
"commit": "
|
71
|
+
"commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
|
15
72
|
},
|
16
73
|
{
|
17
74
|
"author": "beachball",
|
18
75
|
"package": "@fluentui/react-popover",
|
19
76
|
"comment": "Bump @fluentui/react-context-selector to v9.1.17",
|
20
|
-
"commit": "
|
77
|
+
"commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
|
21
78
|
},
|
22
79
|
{
|
23
80
|
"author": "beachball",
|
24
81
|
"package": "@fluentui/react-popover",
|
25
82
|
"comment": "Bump @fluentui/react-portal to v9.2.5",
|
26
|
-
"commit": "
|
83
|
+
"commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
|
27
84
|
},
|
28
85
|
{
|
29
86
|
"author": "beachball",
|
30
87
|
"package": "@fluentui/react-popover",
|
31
88
|
"comment": "Bump @fluentui/react-positioning to v9.5.9",
|
32
|
-
"commit": "
|
89
|
+
"commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
|
33
90
|
},
|
34
91
|
{
|
35
92
|
"author": "beachball",
|
36
93
|
"package": "@fluentui/react-popover",
|
37
94
|
"comment": "Bump @fluentui/react-tabster to v9.6.4",
|
38
|
-
"commit": "
|
95
|
+
"commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
|
39
96
|
},
|
40
97
|
{
|
41
98
|
"author": "beachball",
|
42
99
|
"package": "@fluentui/react-popover",
|
43
100
|
"comment": "Bump @fluentui/react-utilities to v9.7.4",
|
44
|
-
"commit": "
|
101
|
+
"commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
|
45
102
|
}
|
46
103
|
]
|
47
104
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,22 +1,38 @@
|
|
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 17:50:03 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.5.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.5.9)
|
8
|
+
|
9
|
+
Mon, 17 Apr 2023 17:50:03 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.5.8..@fluentui/react-popover_v9.5.9)
|
11
|
+
|
12
|
+
### Patches
|
13
|
+
|
14
|
+
- feat: adopt custom JSX pragma ([PR #27546](https://github.com/microsoft/fluentui/pull/27546) by bernardo.sunderhus@gmail.com)
|
15
|
+
- Bump @fluentui/react-aria to v9.3.18 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
|
16
|
+
- Bump @fluentui/react-context-selector to v9.1.18 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
|
17
|
+
- Bump @fluentui/react-portal to v9.2.6 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
|
18
|
+
- Bump @fluentui/react-positioning to v9.5.10 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
|
19
|
+
- Bump @fluentui/react-tabster to v9.6.5 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
|
20
|
+
- Bump @fluentui/react-utilities to v9.8.0 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
|
21
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.1 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
|
22
|
+
|
7
23
|
## [9.5.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.5.8)
|
8
24
|
|
9
|
-
Wed, 12 Apr 2023 09:
|
25
|
+
Wed, 12 Apr 2023 09:31:45 GMT
|
10
26
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.5.7..@fluentui/react-popover_v9.5.8)
|
11
27
|
|
12
28
|
### Patches
|
13
29
|
|
14
|
-
- Bump @fluentui/react-aria to v9.3.17 ([
|
15
|
-
- Bump @fluentui/react-context-selector to v9.1.17 ([
|
16
|
-
- Bump @fluentui/react-portal to v9.2.5 ([
|
17
|
-
- Bump @fluentui/react-positioning to v9.5.9 ([
|
18
|
-
- Bump @fluentui/react-tabster to v9.6.4 ([
|
19
|
-
- Bump @fluentui/react-utilities to v9.7.4 ([
|
30
|
+
- Bump @fluentui/react-aria to v9.3.17 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
|
31
|
+
- Bump @fluentui/react-context-selector to v9.1.17 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
|
32
|
+
- Bump @fluentui/react-portal to v9.2.5 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
|
33
|
+
- Bump @fluentui/react-positioning to v9.5.9 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
|
34
|
+
- Bump @fluentui/react-tabster to v9.6.4 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
|
35
|
+
- Bump @fluentui/react-utilities to v9.7.4 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
|
20
36
|
|
21
37
|
## [9.5.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.5.7)
|
22
38
|
|
@@ -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": "9.5.
|
3
|
+
"version": "9.5.9",
|
4
4
|
"description": "Popover component for Fluent UI",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -36,14 +36,15 @@
|
|
36
36
|
},
|
37
37
|
"dependencies": {
|
38
38
|
"@fluentui/keyboard-keys": "^9.0.2",
|
39
|
-
"@fluentui/react-aria": "^9.3.
|
40
|
-
"@fluentui/react-context-selector": "^9.1.
|
41
|
-
"@fluentui/react-portal": "^9.2.
|
42
|
-
"@fluentui/react-positioning": "^9.5.
|
39
|
+
"@fluentui/react-aria": "^9.3.18",
|
40
|
+
"@fluentui/react-context-selector": "^9.1.18",
|
41
|
+
"@fluentui/react-portal": "^9.2.6",
|
42
|
+
"@fluentui/react-positioning": "^9.5.10",
|
43
43
|
"@fluentui/react-shared-contexts": "^9.3.3",
|
44
|
-
"@fluentui/react-tabster": "^9.6.
|
44
|
+
"@fluentui/react-tabster": "^9.6.5",
|
45
45
|
"@fluentui/react-theme": "^9.1.7",
|
46
|
-
"@fluentui/react-utilities": "^9.
|
46
|
+
"@fluentui/react-utilities": "^9.8.0",
|
47
|
+
"@fluentui/react-jsx-runtime": "^9.0.0-alpha.1",
|
47
48
|
"@griffel/react": "^1.5.2",
|
48
49
|
"@swc/helpers": "^0.4.14"
|
49
50
|
},
|