@fluentui/react-positioning 0.0.0-nightly-20241114-0406.1 → 0.0.0-nightly-20241118-0406.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.md
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
# Change Log - @fluentui/react-positioning
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Mon, 18 Nov 2024 04:11:05 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-20241118-0406.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-positioning_v0.0.0-nightly-20241118-0406.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-positioning_v9.15.11..@fluentui/react-positioning_v0.0.0-nightly-
|
9
|
+
Mon, 18 Nov 2024 04:11:05 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-positioning_v9.15.11..@fluentui/react-positioning_v0.0.0-nightly-20241118-0406.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/react-shared-contexts to v0.0.0-nightly-
|
16
|
-
- Bump @fluentui/react-theme to v0.0.0-nightly-
|
17
|
-
- Bump @fluentui/react-utilities to v0.0.0-nightly-
|
15
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20241118-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/f88b28d7369e92e0c38a14edea18755ff684761d) by beachball)
|
16
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly-20241118-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/f88b28d7369e92e0c38a14edea18755ff684761d) by beachball)
|
17
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly-20241118-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/f88b28d7369e92e0c38a14edea18755ff684761d) by beachball)
|
18
18
|
|
19
19
|
## [9.15.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-positioning_v9.15.11)
|
20
20
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
}
|
8
8
|
const { x: arrowX, y: arrowY } = middlewareData.arrow;
|
9
9
|
Object.assign(arrow.style, {
|
10
|
-
left: `${arrowX}px
|
11
|
-
top: `${arrowY}px`
|
10
|
+
left: arrowX !== null && arrowX !== undefined ? `${arrowX}px` : '',
|
11
|
+
top: arrowY !== null && arrowY !== undefined ? `${arrowY}px` : ''
|
12
12
|
});
|
13
13
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/utils/writeArrowUpdates.ts"],"sourcesContent":["import { MiddlewareData } from '@floating-ui/dom';\n\n/**\n * Writes all DOM element updates after position is computed\n */\nexport function writeArrowUpdates(options: { arrow: HTMLElement | null; middlewareData: MiddlewareData }) {\n const { arrow, middlewareData } = options;\n if (!middlewareData.arrow || !arrow) {\n return;\n }\n\n const { x: arrowX, y: arrowY } = middlewareData.arrow;\n\n Object.assign(arrow.style, {\n left: `${arrowX}px
|
1
|
+
{"version":3,"sources":["../src/utils/writeArrowUpdates.ts"],"sourcesContent":["import { MiddlewareData } from '@floating-ui/dom';\n\n/**\n * Writes all DOM element updates after position is computed\n */\nexport function writeArrowUpdates(options: { arrow: HTMLElement | null; middlewareData: MiddlewareData }) {\n const { arrow, middlewareData } = options;\n if (!middlewareData.arrow || !arrow) {\n return;\n }\n\n const { x: arrowX, y: arrowY } = middlewareData.arrow;\n\n Object.assign(arrow.style, {\n left: arrowX !== null && arrowX !== undefined ? `${arrowX}px` : '',\n top: arrowY !== null && arrowY !== undefined ? `${arrowY}px` : '',\n });\n}\n"],"names":["writeArrowUpdates","options","arrow","middlewareData","x","arrowX","y","arrowY","Object","assign","style","left","undefined","top"],"rangeMappings":";;;;;;;;;;;;","mappings":"AAEA;;CAEC,GACD,OAAO,SAASA,kBAAkBC,OAAsE;IACtG,MAAM,EAAEC,KAAK,EAAEC,cAAc,EAAE,GAAGF;IAClC,IAAI,CAACE,eAAeD,KAAK,IAAI,CAACA,OAAO;QACnC;IACF;IAEA,MAAM,EAAEE,GAAGC,MAAM,EAAEC,GAAGC,MAAM,EAAE,GAAGJ,eAAeD,KAAK;IAErDM,OAAOC,MAAM,CAACP,MAAMQ,KAAK,EAAE;QACzBC,MAAMN,WAAW,QAAQA,WAAWO,YAAY,CAAC,EAAEP,OAAO,EAAE,CAAC,GAAG;QAChEQ,KAAKN,WAAW,QAAQA,WAAWK,YAAY,CAAC,EAAEL,OAAO,EAAE,CAAC,GAAG;IACjE;AACF"}
|
@@ -15,7 +15,7 @@ function writeArrowUpdates(options) {
|
|
15
15
|
}
|
16
16
|
const { x: arrowX, y: arrowY } = middlewareData.arrow;
|
17
17
|
Object.assign(arrow.style, {
|
18
|
-
left: `${arrowX}px
|
19
|
-
top: `${arrowY}px`
|
18
|
+
left: arrowX !== null && arrowX !== undefined ? `${arrowX}px` : '',
|
19
|
+
top: arrowY !== null && arrowY !== undefined ? `${arrowY}px` : ''
|
20
20
|
});
|
21
21
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/utils/writeArrowUpdates.ts"],"sourcesContent":["import { MiddlewareData } from '@floating-ui/dom';\n\n/**\n * Writes all DOM element updates after position is computed\n */\nexport function writeArrowUpdates(options: { arrow: HTMLElement | null; middlewareData: MiddlewareData }) {\n const { arrow, middlewareData } = options;\n if (!middlewareData.arrow || !arrow) {\n return;\n }\n\n const { x: arrowX, y: arrowY } = middlewareData.arrow;\n\n Object.assign(arrow.style, {\n left: `${arrowX}px
|
1
|
+
{"version":3,"sources":["../src/utils/writeArrowUpdates.ts"],"sourcesContent":["import { MiddlewareData } from '@floating-ui/dom';\n\n/**\n * Writes all DOM element updates after position is computed\n */\nexport function writeArrowUpdates(options: { arrow: HTMLElement | null; middlewareData: MiddlewareData }) {\n const { arrow, middlewareData } = options;\n if (!middlewareData.arrow || !arrow) {\n return;\n }\n\n const { x: arrowX, y: arrowY } = middlewareData.arrow;\n\n Object.assign(arrow.style, {\n left: arrowX !== null && arrowX !== undefined ? `${arrowX}px` : '',\n top: arrowY !== null && arrowY !== undefined ? `${arrowY}px` : '',\n });\n}\n"],"names":["writeArrowUpdates","options","arrow","middlewareData","x","arrowX","y","arrowY","Object","assign","style","left","undefined","top"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAKgBA;;;eAAAA;;;AAAT,SAASA,kBAAkBC,OAAsE;IACtG,MAAM,EAAEC,KAAK,EAAEC,cAAc,EAAE,GAAGF;IAClC,IAAI,CAACE,eAAeD,KAAK,IAAI,CAACA,OAAO;QACnC;IACF;IAEA,MAAM,EAAEE,GAAGC,MAAM,EAAEC,GAAGC,MAAM,EAAE,GAAGJ,eAAeD,KAAK;IAErDM,OAAOC,MAAM,CAACP,MAAMQ,KAAK,EAAE;QACzBC,MAAMN,WAAW,QAAQA,WAAWO,YAAY,CAAC,EAAEP,OAAO,EAAE,CAAC,GAAG;QAChEQ,KAAKN,WAAW,QAAQA,WAAWK,YAAY,CAAC,EAAEL,OAAO,EAAE,CAAC,GAAG;IACjE;AACF"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-positioning",
|
3
|
-
"version": "0.0.0-nightly-
|
3
|
+
"version": "0.0.0-nightly-20241118-0406.1",
|
4
4
|
"description": "A react wrapper around Popper.js for Fluent UI",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -18,9 +18,9 @@
|
|
18
18
|
"dependencies": {
|
19
19
|
"@floating-ui/dom": "^1.2.0",
|
20
20
|
"@floating-ui/devtools": "0.2.1",
|
21
|
-
"@fluentui/react-shared-contexts": "0.0.0-nightly-
|
22
|
-
"@fluentui/react-theme": "0.0.0-nightly-
|
23
|
-
"@fluentui/react-utilities": "0.0.0-nightly-
|
21
|
+
"@fluentui/react-shared-contexts": "0.0.0-nightly-20241118-0406.1",
|
22
|
+
"@fluentui/react-theme": "0.0.0-nightly-20241118-0406.1",
|
23
|
+
"@fluentui/react-utilities": "0.0.0-nightly-20241118-0406.1",
|
24
24
|
"@griffel/react": "^1.5.22",
|
25
25
|
"@swc/helpers": "^0.5.1"
|
26
26
|
},
|