@fluentui/react-positioning 0.0.0-nightly-20250616-0406.1 → 0.0.0-nightly-20250617-0407.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 Mon, 16 Jun 2025 04:22:32 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 17 Jun 2025 04:23:09 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20250616-0406.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-positioning_v0.0.0-nightly-20250616-0406.1)
7
+ ## [0.0.0-nightly-20250617-0407.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-positioning_v0.0.0-nightly-20250617-0407.1)
8
8
 
9
- Mon, 16 Jun 2025 04:22:32 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-positioning_v9.18.1..@fluentui/react-positioning_v0.0.0-nightly-20250616-0406.1)
9
+ Tue, 17 Jun 2025 04:23:09 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-positioning_v9.18.1..@fluentui/react-positioning_v0.0.0-nightly-20250617-0407.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-20250616-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/0dd8cfa0ecbfc52648b9a91ab4336b10f6be73fc) by beachball)
16
- - Bump @fluentui/react-theme to v0.0.0-nightly-20250616-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/0dd8cfa0ecbfc52648b9a91ab4336b10f6be73fc) by beachball)
17
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20250616-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/0dd8cfa0ecbfc52648b9a91ab4336b10f6be73fc) by beachball)
15
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20250617-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/d9e763675b33eff2ac71a43f3e4a0c0d41802496) by beachball)
16
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20250617-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/d9e763675b33eff2ac71a43f3e4a0c0d41802496) by beachball)
17
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20250617-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/d9e763675b33eff2ac71a43f3e4a0c0d41802496) by beachball)
18
18
 
19
19
  ## [9.18.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-positioning_v9.18.1)
20
20
 
package/README.md CHANGED
@@ -1,23 +1,25 @@
1
1
  # @fluentui/react-positioning
2
2
 
3
- A react hook wrapper around [Popper.js](https://popper.js.org/) for Fluent UI.
3
+ A React utilities built on top of [Floating UI](https://floating-ui.com/) for positioning elements in the DOM.
4
4
 
5
5
  ## Usage
6
6
 
7
7
  ```tsx
8
- import React from 'react';
9
- import { usePopper } from '@fluentui/react-positioning';
8
+ import * as React from 'react';
9
+ import { usePositiniong } from '@fluentui/react-positioning';
10
10
 
11
- function PopupExample: React.FC = ({ children }) => {
12
- const {targetRef, containerRef} = usePopper();
11
+ const PopupExample: React.FC = ({ children }) => {
12
+ const { targetRef, containerRef } = usePositiniong();
13
13
  const [open, setOpen] = React.useState(false);
14
14
 
15
15
  const onClick = () => setOpen(s => !s);
16
16
  return (
17
17
  <>
18
- <button ref={targetRef} onClick={onClick}> Toggle popup </button>
19
- { open && <div ref={containerRef}>{children}</div> }
18
+ <button ref={targetRef} onClick={onClick}>
19
+ Toggle popup
20
+ </button>
21
+ {open && <div ref={containerRef}>{children}</div>}
20
22
  </>
21
- )
22
- }
23
+ );
24
+ };
23
25
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-positioning",
3
- "version": "0.0.0-nightly-20250616-0406.1",
3
+ "version": "0.0.0-nightly-20250617-0407.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",
@@ -19,9 +19,9 @@
19
19
  "dependencies": {
20
20
  "@floating-ui/dom": "^1.6.12",
21
21
  "@floating-ui/devtools": "0.2.1",
22
- "@fluentui/react-shared-contexts": "0.0.0-nightly-20250616-0406.1",
23
- "@fluentui/react-theme": "0.0.0-nightly-20250616-0406.1",
24
- "@fluentui/react-utilities": "0.0.0-nightly-20250616-0406.1",
22
+ "@fluentui/react-shared-contexts": "0.0.0-nightly-20250617-0407.1",
23
+ "@fluentui/react-theme": "0.0.0-nightly-20250617-0407.1",
24
+ "@fluentui/react-utilities": "0.0.0-nightly-20250617-0407.1",
25
25
  "@griffel/react": "^1.5.22",
26
26
  "@swc/helpers": "^0.5.1",
27
27
  "use-sync-external-store": "^1.2.0"