Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@fluentui/react-hooks

microsoft624.7kMIT8.8.17TypeScript support: included

Fluent UI React hooks.

readme

@fluentui/react-hooks

Fluent UI React hooks

Helpful hooks not provided by React itself. These hooks were built for use in Fluent UI React (formerly Office UI Fabric React) but can be used in React apps built with any UI library.

  • useBoolean - Return a boolean value and callbacks for setting it to true or false, or toggling.
  • useConst - Initialize and return a value that's always constant.
  • useControllableValue - Manage the current value for a component that could be either controlled or uncontrolled.
  • useEventCallback - Modified useCallback that returns the same function reference every time, but always calls the latest implementation.
  • useForceUpdate - Force a function component to update.
  • useId - Get a globally unique ID.
  • useIsomorphicLayoutEffect - Calls useLayoutEffect in browser and useEffect in SSR, to avoid warnings.
  • useMergedRefs - Merge multiple refs into a single ref callback.
  • useOnEvent - Attach an event handler on mount and handle cleanup.
  • usePrevious - Get a value from the previous execution of the component.
  • useRefEffect - Call a function with cleanup when a ref changes. Like useEffect with a dependency on a ref.
  • useSetInterval - Version of setInterval that automatically cleans up when component is unmounted.
  • useSetTimeout - Version of setTimeout that automatically cleans up when component is unmounted.
  • useTarget - Logic used by several popup components to determine the target element or point to position against.
  • useWarnings - Display debug-only warnings for invalid or deprecated props or other issues.

useBoolean

function useBoolean(initialState: boolean): [boolean, IUseBooleanCallbacks];

interface IUseBooleanCallbacks {
  setTrue: () => void;
  setFalse: () => void;
  toggle: () => void;
}

Hook to store a boolean state value and generate callbacks for setting the value to true or false, or toggling the value.

The hook returns a tuple containing the current value and an object with callbacks for updating the value.

Each callback will always have the same identity.

Example

import { useBoolean } from '@fluentui/react-hooks';

const MyComponent = () => {
  const [value, { setTrue: showDialog, setFalse: hideDialog, toggle: toggleDialogVisible }] = useBoolean(false);
  // ^^^ Instead of:
  // const [isDialogVisible, setIsDialogVisible] = React.useState(false);
  // const showDialog = React.useCallback(() => setIsDialogVisible(true), []);
  // const hideDialog = React.useCallback(() => setIsDialogVisible(false), []);
  // const toggleDialogVisible = isDialogVisible ? setFalse : setTrue;

  // ... code that shows a dialog when a button is clicked ...
};

useConst

function useConst<T>(initialValue: T | (() => T)): T;

Hook to initialize and return a constant value. Unlike React.useMemo, this will always return the same value (and if the initializer is a function, only call it once). This is similar to setting a private member in a class constructor.

Its one parameter is the initial value, or a function to get the initial value. Similar to useState, only the first value/function passed in is respected.

If the value should ever change based on dependencies, use React.useMemo instead.

Example

import { useConst } from '@fluentui/react-hooks';

const MyComponent = () => {
  const value = useConst(() => {
    /* some computation that must only run once or has side effects */
  });
  const valueThatMustNeverChange = useConst(/*...*/);
  ...
};

Why not just useMemo?

According to the React docs:

You may rely on useMemo as a performance optimization, not as a semantic guarantee. In the future, React may choose to “forget” some previously memoized values and recalculate them on next render, e.g. to free memory for offscreen components. Write your code so that it still works without useMemo — and then add it to optimize performance.

In cases where the value must never change, the recommended workaround is to store it with useRef, but refs are more awkward to initialize and don't enforce or even communicate that the value should be immutable. An alternative workaround is const [value] = useState(initializer), but this is semantically wrong and more costly under the hood.

useControllableValue

// Without onChange
function useControllableValue<TValue, TElement extends HTMLElement>(
  controlledValue: TValue | undefined,
  defaultUncontrolledValue: TValue | undefined,
): Readonly<[TValue | undefined, (update: React.SetStateAction<TValue | undefined>) => void]>;

// With onChange
function useControllableValue<
  TValue,
  TElement extends HTMLElement,
  TCallback extends ChangeCallback<TElement, TValue> | undefined,
>(
  controlledValue: TValue | undefined,
  defaultUncontrolledValue: TValue | undefined,
  onChange: TCallback,
): Readonly<
  [TValue | undefined, (update: React.SetStateAction<TValue | undefined>, ev: React.FormEvent<TElement>) => void]
>;

type ChangeCallback<TElement extends HTMLElement, TValue> = (
  ev: React.FormEvent<TElement> | undefined,
  newValue: TValue | undefined,
) => void;

Hook to manage the current value for a component that could be either controlled or uncontrolled, such as a checkbox or input field. (See the React docs about the distinction between controlled and uncontrolled components.)

Parameters:

  • controlledValue (required): the current value if the component is controlled
  • defaultUncontrolledValue (required): the default value if the component is uncontrolled (will not be used if controlledValue is defined)
  • onChange (optional): callback to be notified of any changes triggered by the user

The returned value is an array with two elements:

  • The current value
  • A function that will update the internal state if uncontrolled, and invoke the onChange callback if present.
    • Like the setter returned by React.useState, the identity of this callback will never change.
    • Also like React.useState, you can call this function with either a value, or an updater function which takes the previous value as a parameter and returns the new value.

useEventCallback

// The type parameters just copy the type of the passed function to the returned function
function useEventCallback<Args extends unknown[], Return>(fn: (...args: Args) => Return): (...args: Args) => Return;

Modified useCallback that returns the same function reference every time, but internally calls the most-recently passed callback implementation. Can be useful in situations such as:

  • Event handler dependencies change too frequently, such as user props which might change on every render, or volatile values such as useState/useDispatch.
  • Callback must be referenced in a captured context (such as a window event handler or unmount handler that's registered once) but needs access to the latest props.

In general, prefer useCallback unless you've encountered one of the problems above.

useForceUpdate

function useForceUpdate(): () => void;

Returns a function which, when called, will force update a function component by updating a fake state value.

The returned function always has the same identity.

useId

function useId(prefix?: string): string;

Hook to generate a unique ID (with optional prefix) in the global scope. This will return the same ID on every render.

Useful for cases in which a component may be rendered multiple times on the same page and needs to use an ID for internal purposes, such as associating a label and an input.

Example

import { useId } from '@fluentui/react-hooks';

const TextField = ({ labelText, defaultValue }) => {
  const id = useId('field');
  return (
    <div>
      <label htmlFor={id}>{labelText}</label>
      <input id={id} type="text" defaultValue={defaultValue} />
    </div>
  );
};

useIsomorphicLayoutEffect

// Type is the same as React.useEffect (not fully specifying here)
function useIsomorphicLayoutEffect(effect, deps?): void;

To avoid warnings about useLayoutEffect when server-side rendering, this calls useEffect on the server (no-op) and useLayoutEffect on the client. SSR is determined based on setSSR from @fluentui/utilities.

Prefer useEffect unless you have a specific need to do something after mount and before paint.

useMergedRefs

function useMergedRefs<T>(...refs: React.Ref<T>[]): (instance: T) => void;

Hook to merge multiple refs (such as one passed in as a prop and one used locally) into a single ref callback that can be passed on to a child component.

const Example = React.forwardRef(function Example(props: {}, forwardedRef: React.Ref<HTMLDivElement>) {
  const localRef = React.useRef<HTMLDivElement>();
  const mergedRef = useMergedRef(localRef, forwardedRef);

  React.useEffect(() => {
    localRef.current.focus();
  }, []);

  return <div>Example</div>;
});

useMount

const useMount: (callback: () => void) => void;

Hook which asynchronously executes a callback once the component has been mounted using useEffect..

import { useMount } from '@fluentui/react-hooks';

const MyComponent = () => {
  useMount(() => {
    console.log('Example');
   })

  return <div />;
};
});

useOnEvent

function useOnEvent<TElement extends Element, TEvent extends Event>(
  element: React.RefObject<TElement | undefined | null> | TElement | Window | undefined | null,
  eventName: string,
  callback: (ev: TEvent) => void,
  useCapture?: boolean,
): void;

Attach an event handler on mount and handle cleanup. The event handler is attached using on() from @fluentui/utilities.

usePrevious

function usePrevious<T>(value: T): T | undefined;

Hook keeping track of a given value from a previous execution of the component the Hook is used in. See React Hooks FAQ.

useRefEffect

function useRefEffect<T>(callback: (value: T) => (() => void) | void, initial: T | null = null): RefCallback<T>;

type RefCallback<T> = ((value: T | null) => void) & React.RefObject<T>;

Creates a ref, and calls a callback whenever the ref changes to a non-null value. The callback can optionally return a cleanup function that'll be called before the value changes, and when the ref is unmounted.

The return value is a function that should be called to set the ref's value. The returned object also has a .current member that can be used to access the ref's value (like a normal RefObject). This can be hooked up to an element's ref property.

useRefEffect can be used to work around a limitation that useEffect cannot depend on ref.current.

Example

import { useRefEffect } from '@fluentui/react-hooks';

const MyComponent = () => {
  const myDivRef = useRefEffect<HTMLElement>(myDiv => {
    const observer = new ResizeObserver(entries => {
      console.log(`myDiv is ${entries[0].contentRect.width} px wide`);
    });
    observer.observe(myDiv);

    // Return a function to clean up the ResizeObserver when the ref is unmounted
    return () => observer.disconnect();
  });

  return <div ref={myDivRef} />;
};

useSetInterval

function useSetInterval(): {
  setInterval: (callback: () => void, duration: number) => number;
  clearInterval: (id: number) => void;
};

Hook which returns safe setInterval and clearInterval methods. Intervals set up using this hook will be automatically cleared when the component is unmounted.

The returned callbacks always have the same identity.

Example

import { useSetInterval } from '@fluentui/react-hooks';

const MyComponent = () => {
  const { setInterval, clearInterval } = useSetInterval();

  // Set an interval
  const id = setInterval(() => console.log('test'), 500);

  // If needed, clear an interval manually.
  clearInterval(id);
};

useSetTimeout

function useSetTimeout(): {
  setTimeout: (callback: () => void, duration: number) => number;
  clearTimeout: (id: number) => void;
};

Hook which returns safe setTimeout and clearTimeout methods. Timeout callbacks set up using this hook will be automatically cleared when the component is unmounted.

The returned callbacks always have the same identity.

Example

import { useSetTimeout } from '@fluentui/react-hooks';

const MyComponent = () => {
  const { setTimeout, clearTimeout } = useSetTimeout();

  // Set a timeout
  const id = setTimeout(() => console.log('test'), 500);

  // If needed, clear an timeout manually.
  clearTimeout(id);
};

useTarget

type Target = Element | string | MouseEvent | Point | null | React.RefObject<Element>;

function useTarget<TElement extends HTMLElement = HTMLElement>(
  target: Target | undefined,
  hostElement?: React.RefObject<TElement | null>,
): Readonly<[React.RefObject<Element | MouseEvent | Point | null>, React.RefObject<Window | undefined>]>;

Hook which queries the document for the element indicated by a CSS query string (if provided), or returns the element/event/point provided. Also attempts to determine the Window object for the provided target.

useUnmount

const useUnmount: (callback: () => void) => void;

Hook that asynchronously fires a callback during unmount using useEffect.

import { useUnmount } from '@fluentui/react-hooks';

const MyComponent = () => {
  useUnmount(() => {
    console.log('Example');
  });

  return <div />;
};

useWarnings

function useWarnings<P>(options: IWarningOptions<P>): void;

Display console warnings when certain conditions are met. If using webpack, the warning code will automatically be stripped out in production mode.

The following types of warnings are supported (see typings for details on how to specify all of these):

  • other: Generic string messages.
  • conditionallyRequired: Warns about props that are required if a condition is met.
  • deprecations: Warns when deprecated props are being used.
  • mutuallyExclusive: Warns when two props which are mutually exclusive are both being used.
  • controlledUsage: Warns on any of the following error conditions in a form component (mimicking the warnings React gives for these error conditions on an input element):
    • A value prop is provided (indicated it's being used as controlled) without a change handler, and the component is not read-only
    • Both the value and default value props are provided
    • The component is attempting to switch between controlled and uncontrolled

Note that all warnings except controlledUsage will only be shown on first render. New controlledUsage warnings may be shown later based on prop changes. All warnings are shown synchronously during render (not wrapped in useEffect) for easier tracing/debugging.

changelog

Change Log - @fluentui/react-hooks

This log was last generated on Fri, 21 Feb 2025 07:20:19 GMT and should not be manually modified.

8.8.17

Fri, 21 Feb 2025 07:20:19 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.29 (PR #33879 by beachball)
  • Bump @fluentui/set-version to v8.2.24 (PR #33879 by beachball)
  • Bump @fluentui/utilities to v8.15.20 (PR #33879 by beachball)

8.8.16

Fri, 11 Oct 2024 16:51:54 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.15.19 (PR #33024 by beachball)

8.8.15

Tue, 08 Oct 2024 07:23:46 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.15.18 (PR #32971 by beachball)

8.8.14

Wed, 02 Oct 2024 07:23:57 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.15.17 (PR #32920 by beachball)

8.8.13

Mon, 30 Sep 2024 07:23:12 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.15.16 (PR #32437 by beachball)

8.8.12

Thu, 08 Aug 2024 07:24:16 GMT Compare changes

Patches

8.8.11

Thu, 01 Aug 2024 07:24:48 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.28 (PR #32173 by beachball)
  • Bump @fluentui/utilities to v8.15.14 (PR #32173 by beachball)

8.8.10

Tue, 09 Jul 2024 07:36:35 GMT Compare changes

Patches

8.8.9

Tue, 25 Jun 2024 07:32:52 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.15.12 (commit by beachball)

8.8.8

Mon, 24 Jun 2024 07:33:22 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.27 (commit by beachball)
  • Bump @fluentui/set-version to v8.2.23 (commit by beachball)
  • Bump @fluentui/utilities to v8.15.11 (commit by beachball)

8.8.7

Fri, 14 Jun 2024 15:25:28 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.15.10 (PR #31716 by beachball)

8.8.6

Thu, 06 Jun 2024 07:26:46 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.26 (commit by beachball)
  • Bump @fluentui/set-version to v8.2.22 (commit by beachball)
  • Bump @fluentui/utilities to v8.15.9 (commit by beachball)

8.8.5

Tue, 28 May 2024 07:28:20 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.25 (PR #31324 by beachball)
  • Bump @fluentui/set-version to v8.2.21 (PR #31324 by beachball)
  • Bump @fluentui/utilities to v8.15.8 (PR #31324 by beachball)

8.8.4

Fri, 24 May 2024 07:28:17 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.24 (commit by beachball)
  • Bump @fluentui/set-version to v8.2.20 (commit by beachball)
  • Bump @fluentui/utilities to v8.15.7 (commit by beachball)

8.8.3

Thu, 23 May 2024 07:28:51 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.23 (commit by beachball)
  • Bump @fluentui/set-version to v8.2.19 (commit by beachball)
  • Bump @fluentui/utilities to v8.15.6 (commit by beachball)

8.8.2

Mon, 20 May 2024 07:29:20 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.22 (commit by beachball)
  • Bump @fluentui/set-version to v8.2.18 (commit by beachball)
  • Bump @fluentui/utilities to v8.15.5 (commit by beachball)

8.8.1

Wed, 24 Apr 2024 07:27:48 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.21 (PR #31130 by beachball)
  • Bump @fluentui/set-version to v8.2.17 (PR #31130 by beachball)
  • Bump @fluentui/utilities to v8.15.4 (PR #31130 by beachball)

8.8.0

Mon, 22 Apr 2024 07:28:26 GMT Compare changes

Minor changes

8.7.2

Fri, 12 Apr 2024 07:29:11 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.20 (PR #31022 by beachball)
  • Bump @fluentui/set-version to v8.2.16 (PR #31022 by beachball)
  • Bump @fluentui/utilities to v8.15.2 (PR #31022 by beachball)

8.7.1

Wed, 03 Apr 2024 07:29:31 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.19 (PR #30943 by beachball)
  • Bump @fluentui/set-version to v8.2.15 (PR #30943 by beachball)
  • Bump @fluentui/utilities to v8.15.1 (PR #30943 by beachball)

8.7.0

Fri, 22 Mar 2024 07:28:53 GMT Compare changes

Minor changes

8.6.37

Wed, 13 Mar 2024 07:30:28 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.14.0 (PR #30753 by beachball)

8.6.36

Fri, 19 Jan 2024 07:29:32 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.13.24 (PR #30225 by beachball)

8.6.35

Wed, 10 Jan 2024 07:28:50 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.18 (PR #30063 by beachball)
  • Bump @fluentui/set-version to v8.2.14 (PR #30063 by beachball)
  • Bump @fluentui/utilities to v8.13.23 (PR #30063 by beachball)

8.6.34

Thu, 14 Dec 2023 07:30:10 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.17 (PR #30061 by beachball)
  • Bump @fluentui/set-version to v8.2.13 (PR #30061 by beachball)
  • Bump @fluentui/utilities to v8.13.22 (PR #30061 by beachball)

8.6.33

Thu, 09 Nov 2023 07:29:20 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.13.21 (PR #29772 by beachball)

8.6.32

Wed, 01 Nov 2023 07:29:14 GMT Compare changes

Patches

8.6.31

Sat, 28 Oct 2023 00:29:16 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.16 (commit by beachball)
  • Bump @fluentui/set-version to v8.2.12 (commit by beachball)
  • Bump @fluentui/utilities to v8.13.20 (commit by beachball)

8.6.30

Fri, 29 Sep 2023 07:45:30 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.13.19 (PR #29313 by beachball)

8.6.29

Wed, 28 Jun 2023 07:37:36 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.13.18 (PR #28335 by beachball)

8.6.28

Mon, 19 Jun 2023 07:36:39 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.13.17 (PR #28234 by beachball)

8.6.27

Thu, 01 Jun 2023 07:38:37 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.13.16 (PR #28080 by beachball)

8.6.26

Wed, 31 May 2023 07:38:40 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.15 (commit by beachball)
  • Bump @fluentui/set-version to v8.2.11 (commit by beachball)
  • Bump @fluentui/utilities to v8.13.15 (commit by beachball)
  • Bump @fluentui/test-utilities to v8.3.6 (commit by beachball)

8.6.25

Tue, 30 May 2023 07:36:09 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.14 (PR #27685 by beachball)
  • Bump @fluentui/set-version to v8.2.10 (PR #27685 by beachball)
  • Bump @fluentui/utilities to v8.13.14 (PR #27685 by beachball)
  • Bump @fluentui/test-utilities to v8.3.5 (PR #27685 by beachball)

8.6.24

Fri, 05 May 2023 18:14:08 GMT Compare changes

Patches

8.6.23

Tue, 02 May 2023 22:20:25 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.12 (PR #27745 by beachball)
  • Bump @fluentui/utilities to v8.13.12 (PR #27745 by beachball)
  • Bump @fluentui/test-utilities to v8.3.3 (PR #27745 by beachball)

8.6.22

Tue, 02 May 2023 00:58:17 GMT Compare changes

Patches

8.6.21

Mon, 01 May 2023 07:39:54 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.10 (PR #27724 by beachball)
  • Bump @fluentui/set-version to v8.2.7 (PR #27724 by beachball)
  • Bump @fluentui/utilities to v8.13.10 (PR #27724 by beachball)
  • Bump @fluentui/test-utilities to v8.3.2 (PR #27724 by beachball)

8.6.20

Fri, 17 Mar 2023 08:15:56 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.9 (PR #27210 by beachball)
  • Bump @fluentui/set-version to v8.2.6 (PR #27210 by beachball)
  • Bump @fluentui/utilities to v8.13.9 (PR #27210 by beachball)
  • Bump @fluentui/test-utilities to v8.3.1 (PR #27210 by beachball)

8.6.19

Fri, 10 Mar 2023 07:38:25 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.8 (commit by beachball)

8.6.18

Wed, 01 Mar 2023 07:45:41 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.7 (PR #26980 by beachball)
  • Bump @fluentui/utilities to v8.13.8 (PR #26980 by beachball)
  • Bump @fluentui/test-utilities to v8.3.0 (PR #26980 by beachball)

8.6.17

Sat, 18 Feb 2023 01:37:02 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.13.7 (PR #26903 by beachball)

8.6.16

Fri, 03 Feb 2023 07:50:06 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.6 (PR #26569 by beachball)
  • Bump @fluentui/set-version to v8.2.5 (PR #26569 by beachball)
  • Bump @fluentui/utilities to v8.13.6 (PR #26569 by beachball)
  • Bump @fluentui/test-utilities to v8.2.6 (PR #26569 by beachball)

8.6.15

Tue, 10 Jan 2023 07:50:15 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.5 (PR #26260 by beachball)
  • Bump @fluentui/set-version to v8.2.4 (PR #26260 by beachball)
  • Bump @fluentui/utilities to v8.13.5 (PR #26260 by beachball)
  • Bump @fluentui/test-utilities to v8.2.5 (PR #26260 by beachball)

8.6.14

Tue, 15 Nov 2022 07:44:59 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.13.4 (PR #25643 by beachball)

8.6.13

Wed, 09 Nov 2022 07:48:12 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.4 (PR #25564 by beachball)
  • Bump @fluentui/set-version to v8.2.3 (PR #25564 by beachball)
  • Bump @fluentui/utilities to v8.13.3 (PR #25564 by beachball)
  • Bump @fluentui/test-utilities to v8.2.4 (PR #25564 by beachball)

8.6.12

Thu, 20 Oct 2022 07:43:12 GMT Compare changes

Patches

8.6.11

Fri, 02 Sep 2022 07:48:53 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.13.1 (PR #24394 by beachball)

8.6.10

Mon, 29 Aug 2022 07:44:38 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.13.0 (PR #24554 by beachball)

8.6.9

Wed, 24 Aug 2022 16:36:04 GMT Compare changes

Patches

8.6.8

Tue, 23 Aug 2022 07:22:49 GMT Compare changes

Patches

8.6.7

Thu, 18 Aug 2022 23:39:31 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.12.0 (PR #24406 by beachball)

8.6.6

Mon, 15 Aug 2022 07:39:41 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.11.0 (PR #24359 by beachball)

8.6.5

Mon, 08 Aug 2022 07:39:33 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.2 (PR #24212 by beachball)
  • Bump @fluentui/set-version to v8.2.2 (PR #24212 by beachball)
  • Bump @fluentui/utilities to v8.10.2 (PR #24212 by beachball)
  • Bump @fluentui/test-utilities to v8.2.2 (PR #24212 by beachball)

8.6.4

Tue, 02 Aug 2022 07:44:44 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.10.1 (PR #24032 by beachball)

8.6.3

Thu, 28 Jul 2022 07:41:18 GMT Compare changes

Patches

8.6.2

Tue, 26 Jul 2022 07:39:35 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.10.0 (PR #24068 by beachball)

8.6.1

Tue, 12 Jul 2022 07:41:00 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.9.0 (PR #23848 by beachball)

8.6.0

Mon, 13 Jun 2022 07:39:07 GMT Compare changes

Minor changes

8.5.5

Fri, 13 May 2022 07:45:35 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.2.1 (PR #22966 by beachball)
  • Bump @fluentui/set-version to v8.2.1 (PR #22966 by beachball)
  • Bump @fluentui/utilities to v8.8.3 (PR #22966 by beachball)
  • Bump @fluentui/test-utilities to v8.2.1 (PR #22966 by beachball)

8.5.4

Fri, 15 Apr 2022 07:42:48 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.8.2 (PR #22499 by beachball)

8.5.3

Tue, 15 Mar 2022 07:45:54 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.8.1 (PR #22094 by beachball)

8.5.2

Fri, 11 Mar 2022 07:34:41 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.8.0 (PR #22047 by beachball)

8.5.1

Wed, 09 Mar 2022 07:37:30 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.7.0 (PR #22008 by beachball)

8.5.0

Thu, 03 Mar 2022 07:24:23 GMT Compare changes

Minor changes

  • Adding explicit export maps on all consumer packages for FUIR 8 and 9. (PR #21508 by dzearing@microsoft.com)
  • Bump @fluentui/react-window-provider to v2.2.0 (PR #21919 by beachball)
  • Bump @fluentui/set-version to v8.2.0 (PR #21919 by beachball)
  • Bump @fluentui/utilities to v8.6.0 (PR #21919 by beachball)

8.4.0

Tue, 01 Mar 2022 07:23:42 GMT Compare changes

Minor changes

8.3.14

Thu, 24 Feb 2022 07:29:50 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.4.3 (PR #21837 by beachball)

8.3.13

Thu, 17 Feb 2022 07:28:31 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.4.2 (PR #21777 by beachball)

8.3.12

Fri, 11 Feb 2022 07:27:49 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.4.1 (PR #21706 by beachball)

8.3.11

Wed, 09 Feb 2022 07:30:50 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.4.0 (PR #21603 by beachball)

8.3.10

Thu, 03 Feb 2022 07:29:41 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.3.10 (PR #21545 by beachball)

8.3.9

Mon, 03 Jan 2022 23:32:11 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.3.9 (PR #20954 by beachball)

8.3.8

Wed, 15 Dec 2021 07:31:29 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.1.6 (PR #20716 by beachball)
  • Bump @fluentui/utilities to v8.3.8 (PR #20716 by beachball)
  • Bump @fluentui/test-utilities to v8.1.0 (PR #20716 by beachball)

8.3.7

Thu, 25 Nov 2021 14:54:16 GMT Compare changes

Patches

  • Bump @fluentui/react-window-provider to v2.1.5 (PR #20784 by beachball)
  • Bump @fluentui/set-version to v8.1.5 (PR #20784 by beachball)
  • Bump @fluentui/utilities to v8.3.7 (PR #20784 by beachball)
  • Bump @fluentui/test-utilities to v8.0.9 (PR #20784 by beachball)

8.3.6

Wed, 10 Nov 2021 07:31:59 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.3.6 (PR #20529 by beachball)

8.3.5

Tue, 02 Nov 2021 07:37:02 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.3.5 (PR #20331 by beachball)

8.3.4

Tue, 05 Oct 2021 07:37:17 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.3.4 (PR #20105 by beachball)

8.3.3

Tue, 28 Sep 2021 22:17:07 GMT Compare changes

Patches

  • Bump @fluentui/utilities to v8.3.3 (PR #20000 by beachball)

8.3.2

Thu, 02 Sep 2021 07:36:46 GMT Compare changes

Patches

8.3.1

Wed, 25 Aug 2021 07:35:19 GMT Compare changes

Patches

8.3.0

Tue, 24 Aug 2021 07:34:48 GMT Compare changes

Minor changes

8.2.7

Thu, 19 Aug 2021 07:41:35 GMT Compare changes

Patches

8.2.6

Tue, 03 Aug 2021 07:39:30 GMT Compare changes

Patches

8.2.5

Mon, 02 Aug 2021 07:36:20 GMT Compare changes

Patches

8.2.4

Fri, 09 Jul 2021 07:39:31 GMT Compare changes

Patches

8.2.3

Mon, 28 Jun 2021 07:35:16 GMT Compare changes

Patches

8.2.2

Mon, 07 Jun 2021 07:38:15 GMT Compare changes

Patches

8.2.1

Thu, 20 May 2021 07:41:54 GMT Compare changes

Patches

8.2.0

Fri, 30 Apr 2021 07:42:23 GMT Compare changes

Minor changes

Patches

8.1.3

Fri, 23 Apr 2021 07:37:10 GMT Compare changes

Patches

8.1.2

Tue, 13 Apr 2021 14:55:56 GMT Compare changes

Patches

8.1.1

Wed, 31 Mar 2021 00:53:43 GMT Compare changes

Patches

8.1.0

Thu, 18 Mar 2021 07:33:22 GMT Compare changes

Minor changes

8.0.2

Wed, 03 Mar 2021 00:10:09 GMT Compare changes

Patches

8.0.1

Fri, 26 Feb 2021 01:16:27 GMT Compare changes

Patches

8.0.0-beta.15

Mon, 22 Feb 2021 12:26:22 GMT Compare changes

Changes

8.0.0-beta.14

Thu, 18 Feb 2021 19:38:50 GMT Compare changes

Changes

  • Allow React 17 in peerDependencies. The library has not yet been fully validated with React 17, so please report any issues you find. (PR #17048 by elcraig@microsoft.com)

8.0.0-beta.13

Thu, 18 Feb 2021 12:27:34 GMT Compare changes

Changes

8.0.0-beta.12

Mon, 15 Feb 2021 12:22:00 GMT Compare changes

Changes

8.0.0-beta.11

Thu, 11 Feb 2021 00:58:10 GMT Compare changes

Changes

8.0.0-beta.10

Thu, 28 Jan 2021 12:25:56 GMT Compare changes

Changes

8.0.0-beta.9

Thu, 21 Jan 2021 12:36:12 GMT Compare changes

Changes

8.0.0-beta.0

Fri, 23 Oct 2020 03:26:15 GMT Compare changes

Changes

7.13.0

Fri, 11 Sep 2020 12:27:31 GMT Compare changes

Minor changes

Patches

7.12.0

Fri, 04 Sep 2020 12:28:23 GMT Compare changes

Minor changes

7.11.0

Fri, 28 Aug 2020 12:29:20 GMT Compare changes

Patches

7.10.0

Tue, 25 Aug 2020 12:36:19 GMT Compare changes

Minor changes

7.8.0

Mon, 10 Aug 2020 06:19:21 GMT Compare changes

Minor changes

7.7.0

Mon, 03 Aug 2020 12:45:42 GMT Compare changes

Minor changes

  • Add useWarnings hook; update useControllableValue to accept updater function and return a callback with constant identity (PR #14263 by elcraig@microsoft.com)

7.6.2

Wed, 22 Jul 2020 12:40:51 GMT Compare changes

Patches

7.6.0

Mon, 20 Jul 2020 12:44:29 GMT Compare changes

Minor changes

7.5.3

Thu, 16 Jul 2020 21:33:40 GMT Compare changes

Patches

7.5.0

Mon, 13 Jul 2020 23:14:39 GMT Compare changes

Minor changes

Patches

7.4.7

Mon, 22 Jun 2020 12:42:16 GMT Compare changes

Patches

7.4.0

Thu, 21 May 2020 12:34:43 GMT Compare changes

Minor changes

7.3.1

Thu, 07 May 2020 01:06:55 GMT Compare changes

Patches

7.3.0

Tue, 05 May 2020 12:34:22 GMT Compare changes

Minor changes

7.2.2

Thu, 30 Apr 2020 12:31:44 GMT Compare changes

Patches

7.2.0

Wed, 22 Apr 2020 12:33:04 GMT Compare changes

Minor changes

7.1.3

Thu, 16 Apr 2020 04:01:45 GMT Compare changes

Patches

7.1.1

Tue, 07 Apr 2020 12:35:07 GMT

Patches

  • Simplifying some of the examples for VerticalDivider and SearchBox. (czearing@outlook.com)

    7.1.0

    Fri, 03 Apr 2020 12:27:13 GMT

Minor changes

Patches

Patches

  • Replace OfficeDev/office-ui-fabric-react with microsoft/fluentui (elcraig@microsoft.com)

    7.0.2

    Fri, 17 Jan 2020 02:32:17 GMT

Patches

  • Update tslib minver to first version containing __spreadArrays helper due to changes in how TS emits spreads. (jagore@microsoft.com)

    7.0.1

    Mon, 16 Sep 2019 12:34:47 GMT

Patches