UNPKG

@uifabric/utilities

Version:

Fluent UI React utilities for building components.

1,832 lines (1,071 loc) 54.8 kB
# Change Log - @uifabric/utilities This log was last generated on Mon, 31 Oct 2022 12:21:19 GMT and should not be manually modified. <!-- Start content --> ## [7.38.2](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.38.2) Mon, 31 Oct 2022 12:21:19 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.38.1..@uifabric/utilities_v7.38.2) ### Patches - Bump @uifabric/test-utilities to v7.3.5 ([PR #25387](https://github.com/microsoft/fluentui/pull/25387) by gcox@microsoft.com) ## [7.38.1](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.38.1) Fri, 30 Sep 2022 21:44:22 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.36.1..@uifabric/utilities_v7.38.1) ### Patches - Bump @uifabric/test-utilities to v7.3.4 ([PR #25035](https://github.com/microsoft/fluentui/pull/25035) by arujain@microsoft.com) ## [7.36.1](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.36.1) Thu, 01 Sep 2022 23:27:06 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.36.0..@uifabric/utilities_v7.36.1) ### Patches - Bump @uifabric/test-utilities to v7.3.3 ([PR #24628](https://github.com/microsoft/fluentui/pull/24628) by gcox@microsoft.com) ## [7.36.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.36.0) Tue, 30 Aug 2022 00:07:57 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.35.0..@uifabric/utilities_v7.36.0) ### Minor changes - Fix backwards-compatibility of Group Selection additions (#24554) ([PR #24555](https://github.com/microsoft/fluentui/pull/24555) by tmichon@microsoft.com) ## [7.35.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.35.0) Wed, 17 Aug 2022 12:21:32 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.34.1..@uifabric/utilities_v7.35.0) ### Minor changes - Standardize selection behavior of Groups in SelectionZone (#24278) ([PR #24370](https://github.com/microsoft/fluentui/pull/24370) by tmichon@microsoft.com) ## [7.34.1](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.34.1) Thu, 19 May 2022 12:29:07 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.34.0..@uifabric/utilities_v7.34.1) ### Patches - Update React compatibility to support React <18.0.0 ([PR #22921](https://github.com/microsoft/fluentui/pull/22921) by tmichon@microsoft.com) ## [7.34.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.34.0) Wed, 30 Mar 2022 12:25:54 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.33.4..@uifabric/utilities_v7.34.0) ### Minor changes - Improve Selection with more micro-management capabilities (#21970) ([PR #22039](https://github.com/microsoft/fluentui/pull/22039) by tmichon@microsoft.com) ## [7.33.4](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.33.4) Thu, 11 Feb 2021 12:25:26 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.33.3..@uifabric/utilities_v7.33.4) ### Patches - fix merge to correctly handle array value. ([PR #16910](https://github.com/microsoft/fluentui/pull/16910) by xgao@microsoft.com) ## [7.33.3](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.33.3) Tue, 09 Feb 2021 12:26:30 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.33.2..@uifabric/utilities_v7.33.3) ### Patches - Modify getInitials to strip [xyz] and {xyz} just like it strips (xyz) ([PR #16875](https://github.com/microsoft/fluentui/pull/16875) by elvonspa@microsoft.com) ## [7.33.2](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.33.2) Thu, 29 Oct 2020 12:24:41 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.33.1..@uifabric/utilities_v7.33.2) ### Patches - Make FocusTrapZone properly focus the first element of a FocusZone ([PR #14606](https://github.com/microsoft/fluentui/pull/14606) by tmichon@microsoft.com) ## [7.33.1](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.33.1) Wed, 28 Oct 2020 12:29:09 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.33.0..@uifabric/utilities_v7.33.1) ### Patches - isIE11 utility should use getWindow to get the window ([PR #15722](https://github.com/microsoft/fluentui/pull/15722) by elcraig@microsoft.com) ## [7.33.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.33.0) Tue, 27 Oct 2020 12:28:11 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.32.4..@uifabric/utilities_v7.33.0) ### Minor changes - Add option for where to store last language setting, and use getWindow utility for getting session storage values ([PR #15712](https://github.com/microsoft/fluentui/pull/15712) by elcraig@microsoft.com) ## [7.32.4](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.32.4) Tue, 06 Oct 2020 17:31:19 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.32.3..@uifabric/utilities_v7.32.4) ### Patches - getId now can take in a blank string as prefix. ([PR #15375](https://github.com/microsoft/fluentui/pull/15375) by dzearing@hotmail.com) ## [7.32.3](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.32.3) Tue, 22 Sep 2020 12:25:45 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.32.0..@uifabric/utilities_v7.32.3) ### Patches - Fix for Styled pure functions to have a displayName. ([PR #14940](https://github.com/microsoft/fluentui/pull/14940) by czearing@outlook.com) ## [7.32.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.32.0) Wed, 16 Sep 2020 12:27:22 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.31.0..@uifabric/utilities_v7.32.0) ### Minor changes - Consume virtual DOM functions from new location ([PR #15039](https://github.com/microsoft/fluentui/pull/15039) by tmichon@microsoft.com) ## [7.30.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.30.0) Tue, 25 Aug 2020 12:36:19 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.28.0..@uifabric/utilities_v7.30.0) ### Minor changes - Added document type to element parameter within on.ts utility. ([PR #14238](https://github.com/microsoft/fluentui/pull/14238) by czearing@outlook.com) ### Patches - Updating debounce and throttle type definitions for correctness to include a better inferred type for the throttled/debounced function ([PR #14204](https://github.com/microsoft/fluentui/pull/14204) by sllynn8907@gmail.com) ## [7.28.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.28.0) Fri, 14 Aug 2020 12:43:53 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.27.0..@uifabric/utilities_v7.28.0) ### Minor changes - Adding `createMergedRef` utility for merging refs in a class component. ([PR #14517](https://github.com/microsoft/fluentui/pull/14517) by dzearing@hotmail.com) ## [7.27.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.27.0) Mon, 10 Aug 2020 06:19:21 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.26.1..@uifabric/utilities_v7.27.0) ### Minor changes - Updating getNativeProps default attribute set to include "ref" as a safe prop. ([PR #14274](https://github.com/microsoft/fluentui/pull/14274) by dzearing@microsoft.com) - Adding `omit` helper to performantly create shallow object clones which omit a few props. ([PR #14268](https://github.com/microsoft/fluentui/pull/14268) by dzearing@microsoft.com) ## [7.26.1](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.26.1) Fri, 07 Aug 2020 12:40:14 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.26.0..@uifabric/utilities_v7.26.1) ### Patches - useCustomizationSettings: fix not getting correct settings from context when context updates, use it in styled ([PR #14393](https://github.com/microsoft/fluentui/pull/14393) by xgao@microsoft.com) ## [7.26.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.26.0) Thu, 06 Aug 2020 12:40:48 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.25.1..@uifabric/utilities_v7.26.0) ### Minor changes - Adding `omit` helper to performantly create shallow object clones which omit a few props. ([PR #14268](https://github.com/microsoft/fluentui/pull/14268) by dzearing@microsoft.com) ## [7.25.1](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.25.1) Tue, 04 Aug 2020 12:42:32 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.25.0..@uifabric/utilities_v7.25.1) ### Patches - omit: changed to for in for more perf improvement. ([PR #14313](https://github.com/microsoft/fluentui/pull/14313) by dzearing@microsoft.com) ## [7.25.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.25.0) Mon, 03 Aug 2020 12:45:42 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.24.6..@uifabric/utilities_v7.25.0) ### Minor changes - Adding omit utility as a tiny helper for cloning an object but omitting a few values. This is significantly faster than object spreading or using reduce. ([PR #14281](https://github.com/microsoft/fluentui/pull/14281) by dzearing@microsoft.com) ## [7.24.6](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.24.6) Fri, 31 Jul 2020 12:47:45 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.24.5..@uifabric/utilities_v7.24.6) ### Patches - useCustomizationSettings: get settings from CustomizerContext if exists. ([PR #14145](https://github.com/microsoft/fluentui/pull/14145) by xgao@microsoft.com) ## [7.24.5](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.24.5) Wed, 22 Jul 2020 12:40:51 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.24.4..@uifabric/utilities_v7.24.5) ### Patches - Fix "rules of hooks" lint rule violations ([PR #14099](https://github.com/microsoft/fluentui/pull/14099) by elcraig@microsoft.com) ## [7.24.3](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.24.3) Fri, 17 Jul 2020 12:38:41 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.24.2..@uifabric/utilities_v7.24.3) ### Patches - fix: useFocusRects should resolve window inside useEffect ([PR #14063](https://github.com/microsoft/fluentui/pull/14063) by olfedias@microsoft.com) ## [7.24.1](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.24.1) Mon, 13 Jul 2020 23:14:39 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.24.0..@uifabric/utilities_v7.24.1) ### Patches - Replace tslint with eslint and fix some violations ([PR #13944](https://github.com/microsoft/fluentui/pull/13944) by elcraig@microsoft.com) ## [7.24.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.24.0) Thu, 09 Jul 2020 21:59:04 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.23.0..@uifabric/utilities_v7.24.0) ### Minor changes - findScrollableParent: Adding missing `Window` and `undefined` return types. ([PR #13953](https://github.com/microsoft/fluentui/pull/13953) by KevinTCoughlin@users.noreply.github.com) ## [7.23.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.23.0) Fri, 03 Jul 2020 12:36:49 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.22.0..@uifabric/utilities_v7.23.0) ### Minor changes - Refactor styled to return a functional component (with optional ref attribute) ([PR #13891](https://github.com/microsoft/fluentui/pull/13891) by miclo@microsoft.com) ## [7.22.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.22.0) Tue, 30 Jun 2020 12:33:36 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.21.4..@uifabric/utilities_v7.22.0) ### Minor changes - getNativeProps: changed to object lookups rather than array searching to determine native props. ([PR #13842](https://github.com/microsoft/fluentui/pull/13842) by dzearing@microsoft.com) ## [7.21.4](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.21.4) Mon, 29 Jun 2020 12:36:08 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.21.3..@uifabric/utilities_v7.21.4) ### Patches - Fix scroll position math for overscrolling (#13555) ([PR #13622](https://github.com/microsoft/fluentui/pull/13622) by kai@substantial.com) ## [7.21.1](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.21.1) Mon, 22 Jun 2020 12:42:16 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.21.0..@uifabric/utilities_v7.21.1) ### Patches - add test util for react-test-renderer create with act wrapped ([PR #13713](https://github.com/microsoft/fluentui/pull/13713) by xgao@microsoft.com) ## [7.21.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.21.0) Mon, 15 Jun 2020 12:45:48 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.20.3..@uifabric/utilities_v7.21.0) ### Minor changes - add new Modalization utility ([PR #13281](https://github.com/microsoft/fluentui/pull/13281) by phkuo@microsoft.com) ## [7.20.3](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.20.3) Tue, 02 Jun 2020 12:36:30 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.20.2..@uifabric/utilities_v7.20.3) ### Patches - Removing side effect code that was breaking webpack treeshaking. ([PR #13360](https://github.com/microsoft/fluentui/pull/13360) by dzearing@microsoft.com) - Removing side-effect code which was causing webpack to bail out of optimizations. ([PR #13415](https://github.com/microsoft/fluentui/pull/13415) by dzearing@microsoft.com) - Fixed prototype pollution vulnerability. ([PR #13427](https://github.com/microsoft/fluentui/pull/13427) by esteban.230@hotmail.com) ## [7.20.2](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.20.2) Thu, 28 May 2020 12:42:08 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.20.1..@uifabric/utilities_v7.20.2) ### Patches - Add autoCapitalize property ([PR #13335](https://github.com/microsoft/fluentui/pull/13335) by suprememilanfan@gmail.com) ## [7.20.1](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.20.1) Wed, 27 May 2020 12:40:00 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.20.0..@uifabric/utilities_v7.20.1) ### Patches - Selection: respect 0 as selected key ([PR #13331](https://github.com/microsoft/fluentui/pull/13331) by elcraig@microsoft.com) ## [7.20.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.20.0) Mon, 25 May 2020 12:38:22 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.19.0..@uifabric/utilities_v7.20.0) ### Minor changes - findIndex: add fromIndex parameter ([PR #13295](https://github.com/microsoft/fluentui/pull/13295) by elcraig@microsoft.com) ## [7.19.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.19.0) Fri, 22 May 2020 12:37:35 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.18.0..@uifabric/utilities_v7.19.0) ### Minor changes - Adding `getNativeElementProps` helper which takes the element tag name in + props and filters out unrecognized props. ([PR #13272](https://github.com/microsoft/fluentui/pull/13272) by dzearing@microsoft.com) ## [7.18.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.18.0) Thu, 21 May 2020 12:34:43 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.17.2..@uifabric/utilities_v7.18.0) ### Minor changes - Add useCustomizationSettings hook ([PR #13146](https://github.com/microsoft/fluentui/pull/13146) by xgao@microsoft.com) ## [7.17.2](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.17.2) Fri, 15 May 2020 12:42:20 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.17.0..@uifabric/utilities_v7.17.2) ### Patches - Selection added `items` to prop constructor options ([PR #12849](https://github.com/microsoft/fluentui/pull/12849) by czearing@outlook.com) ## [7.17.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.17.0) Thu, 14 May 2020 12:34:32 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.16.4..@uifabric/utilities_v7.17.0) ### Minor changes - Add utility to apply default props for function components ([PR #13152](https://github.com/microsoft/fluentui/pull/13152) by miclo@microsoft.com) ## [7.16.4](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.16.4) Mon, 11 May 2020 12:36:34 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.16.2..@uifabric/utilities_v7.16.4) ### Patches - Update styled and classNamesFunction to support scss base styles ([PR #13014](https://github.com/microsoft/fluentui/pull/13014) by xgao@microsoft.com) ## [7.16.2](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.16.2) Thu, 07 May 2020 01:06:55 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.16.1..@uifabric/utilities_v7.16.2) ### Patches - Addressing commonjs imports. ([PR #13031](https://github.com/microsoft/fluentui/pull/13031) by dzearing@microsoft.com) ## [7.16.1](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.16.1) Tue, 05 May 2020 12:34:22 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.16.0..@uifabric/utilities_v7.16.1) ### Patches - Fixing errors when building @fluentui/docs. ([PR #12448](https://github.com/microsoft/fluentui/pull/12448) by humbertomakotomorimoto@gmail.com) ## [7.16.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.16.0) Tue, 28 Apr 2020 12:34:09 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.15.11..@uifabric/utilities_v7.16.0) ### Minor changes - Point: Renaming IPoint to point, x to left and y to top and deprecating old names. ([PR #12722](https://github.com/microsoft/fluentui/pull/12722) by humbertomakotomorimoto@gmail.com) ## [7.15.11](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.15.11) Tue, 21 Apr 2020 12:34:50 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.15.10..@uifabric/utilities_v7.15.11) ### Patches - classNamesFunction: fix not traversing the changed styles function ([PR #12752](https://github.com/microsoft/fluentui/pull/12752) by xgao@microsoft.com) - Revert changes to 'on': it should not use React events ([PR #12753](https://github.com/microsoft/fluentui/pull/12753) by behowell@microsoft.com) - Fix lint rule violation ([PR #12711](https://github.com/microsoft/fluentui/pull/12711) by elcraig@microsoft.com) ## [7.15.10](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.15.10) Sun, 19 Apr 2020 02:02:09 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.15.8..@uifabric/utilities_v7.15.10) ### Patches - classNamesFunction: add warning on cache full ([PR #12712](https://github.com/microsoft/fluentui/pull/12712) by xgao@microsoft.com) ## [7.15.8](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.15.8) Thu, 16 Apr 2020 12:37:31 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.15.7..@uifabric/utilities_v7.15.8) ### Patches - Update 'on' function to accept React events ([PR #12717](https://github.com/microsoft/fluentui/pull/12717) by behowell@microsoft.com) ## [7.15.7](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.15.7) Thu, 16 Apr 2020 04:01:45 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.15.6..@uifabric/utilities_v7.15.7) ### Patches - Readme: Remove irrelevant details; Fabric=>Fluent wording updates ([PR #12508](https://github.com/microsoft/fluentui/pull/12508) by elcraig@microsoft.com) - merge: null values are now preserved. ([PR #12646](https://github.com/microsoft/fluentui/pull/12646) by dzearing@microsoft.com) ## 7.15.6 Thu, 09 Apr 2020 12:24:31 GMT ### Patches - chore: bump @types/react (olfedias@microsoft.com) ## 7.15.5 Wed, 08 Apr 2020 12:28:27 GMT ### Patches - Customizable: improve perf by avoid mutating styles when concatination is enabled (xgao@microsoft.com) - fix: fix typings for asAsync & internal usages of React.Children.map (olfedias@microsoft.com) ## 7.15.4 Mon, 30 Mar 2020 19:10:08 GMT ### Patches - Fixing errors when building @fluentui/docs. (humbertomakotomorimoto@gmail.com) ## 7.15.3 Wed, 25 Mar 2020 12:30:04 GMT ### Patches - Changing references of Fabric to Fluent (mgodbolt@microsoft.com) ## 7.15.2 Mon, 23 Mar 2020 12:28:29 GMT ### Patches - Replace OfficeDev/office-ui-fabric-react with microsoft/fluentui (elcraig@microsoft.com) ## 7.15.0 Tue, 17 Mar 2020 12:28:58 GMT ### Minor changes - deprecate BaseComonent, remove all usages of BaseComponent and initializeFocusRects (xgao@microsoft.com) ## 7.14.1 Mon, 16 Mar 2020 12:28:27 GMT ### Patches - BaseComponent: remove initializeDir (xgao@microsoft.com) ## 7.14.0 Thu, 12 Mar 2020 12:35:00 GMT ### Minor changes - convert initializeFocusRects to hook (xgao@microsoft.com) ## 7.13.2 Tue, 10 Mar 2020 12:25:14 GMT ### Patches - Skips unnecessary equality check in shallowCompare to increase performance (chce@netcompany.com) ## 7.13.1 Sat, 07 Mar 2020 01:39:37 GMT ### Patches - Cleanup: Removing 'use strict' directive in ts files since modules are emitted with a 'use strict' prologue. (humbertomakotomorimoto@gmail.com) ## 7.13.0 Tue, 03 Mar 2020 12:27:24 GMT ### Minor changes - Turning on tslint 'deprecation' rule. (Humberto.Morimoto@microsoft.com) ## 7.12.4 Fri, 21 Feb 2020 12:20:14 GMT ### Patches - styled: do not create new styles function if styles prop is not changed (xgao@microsoft.com) ## 7.12.3 Thu, 20 Feb 2020 12:20:16 GMT ### Patches - fix memory leak caused by closure in scroll util (xgao@microsoft.com) ## 7.12.2 Wed, 19 Feb 2020 12:21:05 GMT ### Patches - Add syncpack and synchronize dependencies. Refresh fluent import. (jagore@microsoft.com) ## 7.12.1 Mon, 17 Feb 2020 17:06:50 GMT ### Patches - Utilities: forcing a publish, as the NPM outage last week did not seem to publish 7.12.1 of utilities. (dzearing@hotmail.com) ## 7.12.0 Wed, 12 Feb 2020 12:24:27 GMT ### Minor changes - Replacing deprecated StatelessComponent references with FunctionComponent. (Humberto.Morimoto@microsoft.com) ## 7.11.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.11.1 Thu, 16 Jan 2020 12:28:58 GMT ### Patches - Upgrade repo to TS3.7. (jagore@microsoft.com) ## 7.11.0 Mon, 13 Jan 2020 12:28:56 GMT ### Minor changes - Add composeComponentAs to compose React decorator components (tmichon@microsoft.com) - Change focus class behavior: Alternate between 'hidden' and 'visible' classes (paflakst@microsoft.com) ## 7.10.0 Thu, 09 Jan 2020 12:34:52 GMT ### Minor changes - memoizeFunction: The items for which callback method returned null/undefined value, null/undefined was being stored in cache for these items. In this PR, a new flag is introduced based on which the cached undefined/null value can be updated till the time non-undefined/null value is encountered for the first time. (vishgup@microsoft.com) ## 7.9.0 Mon, 06 Jan 2020 12:29:10 GMT ### Minor changes - Selection: accept generic item type (elcraig@microsoft.com) ### Patches - getClassNames: fix for LTR in RTL context. (jdh@microsoft.com) ## 7.8.0 Fri, 20 Dec 2019 12:32:45 GMT ### Minor changes - scroll.ts: added allowOverscrollOnElement, alternative to allowScrollOnElement that allows body scroll on touch devices (dmitriy.ravdin@siemens.com) ## 7.7.1 Tue, 17 Dec 2019 12:29:42 GMT ### Patches - add select to be a focusable target for focus utility (joschect@microsoft.com) ## 7.7.0 Sun, 15 Dec 2019 23:45:36 GMT ### Minor changes - getRTL uses RTL flag on theme if present. (jdh@microsoft.com) ## 7.6.0 Mon, 18 Nov 2019 12:33:30 GMT ### Minor changes - AutoScroll: Add horizontal scrolling (v-mare@microsoft.com) ## 7.5.0 Mon, 07 Oct 2019 12:33:45 GMT ### Minor changes - Reverting dependency on ReactDOM findDOMNode in getWindow and getDocument helpers to avoid bundle problems for partners. (dzearing@microsoft.com) ## 7.4.0 Thu, 03 Oct 2019 01:14:35 GMT ### Minor changes - Async methods can now take a React component as the target being passed to `getWindow`. (dzearing@microsoft.com) ## 7.3.0 Tue, 01 Oct 2019 12:33:48 GMT ### Minor changes - Async helpers now take in a target element which will be used to find the window object. (dzearing@microsoft.com) ## 7.2.0 Thu, 26 Sep 2019 12:32:32 GMT ### Minor changes - mergeStyles and mergeStyleSets have a companion method which accepts options for setting RTL (jdh@microsoft.com) ### Patches - Minor refinement to mergeAriaAttributeValues to correctly handleu false, therefore allowing (`cond && "something"). (cliff.koh@microsoft.com) ## 7.1.0 Mon, 23 Sep 2019 12:33:15 GMT ### Minor changes - Customizations: add a way to batch updates (phkuo@microsoft.com) ## 7.0.11 Fri, 20 Sep 2019 12:34:28 GMT ### Patches - Consuming latest merge-styles bits with `concatStyleSetsWithProps`. (dzearing@microsoft.com) ## 7.0.10 Mon, 16 Sep 2019 12:34:47 GMT ### Patches - Move getId to its own file (elcraig@microsoft.com) ## 7.0.9 Wed, 04 Sep 2019 04:09:58 GMT ### Patches - fix version file (kchau@microsoft.com) ## 7.0.8 Fri, 23 Aug 2019 12:35:28 GMT ### Patches - Update npmignores, delete unused jest setup files (elcraig@microsoft.com) - Fix up readme and package.json descriptions (elcraig@microsoft.com) ## 7.0.7 Wed, 17 Jul 2019 18:58:57 GMT ### Patches - Adding @types/react and @types/react-dom to package.json that have peer dependencies on react and react-dom. (makotom@microsoft.com) ## 7.0.6 Mon, 01 Jul 2019 18:51:42 GMT ### Patches - adds react-app-polyfill ## 7.0.5 Thu, 27 Jun 2019 22:14:22 GMT ### Patches - Utilities: Update implementation for raising a click event to support IE ## 7.0.4 Thu, 27 Jun 2019 18:25:04 GMT ### Patches - Adding a null check in the case a stylesheet instance is not avaiable or old. - The `getClassNames` function now returns memoized classnames, resulting in improved performance in high repeat scenarios (like lists rendering checks.) Reintroduction of #8761. - Add placeholder as TextArea property ## 7.0.3 Fri, 14 Jun 2019 12:26:30 GMT ### Patches - Fix missing assets in production build. ## 7.0.2 Thu, 13 Jun 2019 00:24:48 GMT ### Patches - Initial release of Fabric 7 ## 7.0.0 Wed, 12 Jun 2019 00:42:26 GMT ### Breaking changes - Remove deprecated `autobind` decorator. - createRef: removed (use React.createRef instead) ### Minor changes - Add utility for checking controlled/uncontrolled prop usage ### Patches - Update and dedupe React deps. ## 6.41.0 Tue, 11 Jun 2019 12:21:35 GMT ### Minor changes - Updating `getNativeAttributes` element allow lists to be more refined, reducing unexpected attributes from being injected on primative elements. For example, `min` and `max` were being allowed to be injected for `div` elements. Now they are only injected for `input` elements. ### Patches - Setting the styles props only when either of defaultProps or componentProps have it defined - upgrade to api-extractor 7.1.6 ## 6.40.1 Thu, 06 Jun 2019 12:22:24 GMT ### Patches - Fix ./index import from selection ## 6.40.0 Wed, 05 Jun 2019 12:22:30 GMT ### Minor changes - Migrate Selection to Utilities ## 6.39.3 Wed, 29 May 2019 12:21:24 GMT ### Patches - Revert styled and classNameFunctions perf improvements temporarily. ## 6.39.2 Fri, 24 May 2019 14:51:14 GMT ### Patches - remove usage of process ## 6.39.1 Fri, 24 May 2019 12:21:33 GMT ### Patches - Fix wrapped styled regression caused by nested style arrays. - Mutually exclusive warnings are not displayed if value of the prop is undefined ## 6.39.0 Wed, 22 May 2019 12:21:34 GMT ### Minor changes - The `getClassNames` function now returns memoized classnames, resulting in improved performance in high repeat scenarios (like lists rendering checks.) ## 6.38.3 Tue, 14 May 2019 07:50:30 GMT ### Patches - Update Fabric assets link ## 6.38.2 Tue, 14 May 2019 01:56:43 GMT ### Patches - Removed a few more `typeof window` references to avoid memory leaks with IE11. ## 6.38.1 Thu, 02 May 2019 12:36:35 GMT ### Patches - a new line is added to the end of the api-extractor.json file ## 6.38.0 Wed, 01 May 2019 12:34:24 GMT ### Minor changes - Export Omit from utilities ## 6.37.1 Tue, 30 Apr 2019 12:31:36 GMT ### Patches - Adds pointer events to baseElementProperties ## 6.37.0 Sat, 27 Apr 2019 00:04:47 GMT ### Minor changes - The `styled` helper can now take in a pure flag to create pure components. Note that in a future release we'd like to match the `styled` contracts of other libraries which can take in a View and an options property bag, but for now to make this non-breaking we'll add another argument. ## 6.36.0 Fri, 26 Apr 2019 12:35:24 GMT ### Minor changes - Make isFocusVisible toggleable by user. ## 6.35.7 Tue, 23 Apr 2019 12:32:00 GMT ### Patches - Removing closure from `styled` helper to improve performance. ## 6.35.6 Fri, 19 Apr 2019 12:33:02 GMT ### Patches - Removing closure from `styled` helper to improve performance. ## 6.35.5 Thu, 11 Apr 2019 12:37:10 GMT ### Patches - Documentation: add @docCategory inline tags ## 6.35.4 Mon, 08 Apr 2019 12:37:15 GMT ### Patches - Customizer modified to avoid BaseComponent. ## 6.35.3 Tue, 02 Apr 2019 00:38:15 GMT ### Patches - Use ^ ranges instead of >= ## 6.35.2 Wed, 27 Mar 2019 12:34:02 GMT ### Patches - update API file - update api file generated by api-extractor 7 ## 6.35.1 Fri, 15 Mar 2019 12:34:07 GMT ### Patches - Remove some unused variables and types from Customizer - Use typeof check on process before checking process.env.NODE_ENV ## 6.35.0 Tue, 12 Mar 2019 12:31:43 GMT ### Minor changes - Focus utilities: Fix tabbable element issue and add optional argument. ## 6.34.0 Wed, 06 Mar 2019 13:27:18 GMT ### Minor changes - Utilities for managing componentRef initialization added. ## 6.33.0 Tue, 05 Mar 2019 17:33:41 GMT ### Minor changes - Modify return type of styled (function to React.StatelessComponent) ## 6.32.1 Tue, 05 Mar 2019 04:25:07 GMT ### Patches - Utilities: removing redundant export for `setVirtualParent`. ## 6.32.0 Mon, 04 Mar 2019 13:29:58 GMT ### Minor changes - Utilities: Adding setVirtualParent export. ## 6.31.0 Fri, 01 Mar 2019 19:40:21 GMT ### Minor changes - Reinstroducing dom/warn top level imports. ## 6.30.0 Fri, 01 Mar 2019 13:33:08 GMT ### Minor changes - A number of files containing many exports have been split into smaller units for finer debuggability in bundle size implications. Some unneeded dependencies on EventGroup have been removed. ## 6.29.4 Tue, 26 Feb 2019 22:45:29 GMT ### Patches - ARIA: mergeAriaAttributeValues should produce space-delimited output by default ## 6.29.3 Fri, 22 Feb 2019 13:31:09 GMT ### Patches - mergeAriaAttributeValues: Trim output string - Add check for tabIndex in isElementTabbable if role=button ## 6.29.2 Wed, 20 Feb 2019 13:30:29 GMT ### Patches - getRTL: Check for existence of body element before reading attributes. ## 6.29.1 Thu, 14 Feb 2019 13:34:55 GMT ### Patches - Add fallback for reading direction attribute from body element. ## 6.29.0 Thu, 31 Jan 2019 20:10:48 GMT ### Minor changes - Adding helper functions to get and restore focus elements based on index paths. ## 6.28.1 Fri, 25 Jan 2019 13:38:07 GMT ### Patches - Updating 'customizable.tsx' to evaluate style functions. ## 6.28.0 Fri, 11 Jan 2019 05:00:46 GMT ### Minor changes - Scroll: use scrollableParent in _preventOverscrolling, allow EventGroup.on to take event options ## 6.27.2 Tue, 08 Jan 2019 13:34:49 GMT ### Patches - Deprecate utility using legacy context - BaseComponent: when updating componentRef, handle case where current or previous props are not given ## 6.27.1 Mon, 17 Dec 2018 13:36:58 GMT ### Patches - BaseComponent: Remove componentWillReceiveProps usage ## 6.27.0 Thu, 15 Nov 2018 13:36:22 GMT ### Minor changes - DevExp: get rid of const enum so the library is compatible with Typescript's isolatedModule compilation mode - Styled: now reacts to loadTheme changes even when not wrapped in a Customizer. ## 6.26.0 Wed, 14 Nov 2018 13:34:01 GMT ### Minor changes - Add osDetector utility ## 6.25.0 Wed, 31 Oct 2018 12:32:41 GMT ### Minor changes - Customizer: Add optional context transform prop. ## 6.24.0 Fri, 26 Oct 2018 12:32:35 GMT ### Minor changes - Add api-extractor.json ## 6.23.1 Thu, 18 Oct 2018 20:22:36 GMT ### Patches - Update api-extractor.json ## 6.23.0 Mon, 15 Oct 2018 12:29:12 GMT ### Minor changes - Adding `asAsync` HOC wrapper to abstract async loading for components. ## 6.22.0 Wed, 10 Oct 2018 12:29:05 GMT ### Minor changes - Add utilities.api.ts, update files to fix api-extractor errors ## 6.21.2 Mon, 08 Oct 2018 12:24:15 GMT ### Patches - Moving tslint/prettier dependencies ## 6.21.1 Wed, 26 Sep 2018 12:27:23 GMT ### Patches - Memoize: Do not use cached result when function instances are distinct. ## 6.21.0 Fri, 21 Sep 2018 14:25:46 GMT ### Minor changes - Expose Customizer's mergeCustomizations as new helper function. ### Patches - Adding a version stamp file - Add IComponentAsProps ## 6.20.0 Thu, 20 Sep 2018 12:25:33 GMT ### Minor changes - add optional defaultRender to IComponentAs ## 6.19.1 Thu, 13 Sep 2018 17:38:04 GMT ### Patches - allow stateless components to use customizable ## 6.19.0 Fri, 07 Sep 2018 22:04:50 GMT ### Minor changes - Customizer: moving to use React 16 context. ## 6.18.0 Fri, 07 Sep 2018 16:29:48 GMT ### Minor changes - Add helpers for setting and detecting portals ## 6.17.2 Wed, 05 Sep 2018 10:29:25 GMT ### Patches - Scroll: add flex-grow: 1 to scrollable content elements - Scroll: remove inline styles from scrollable content elements ## 6.17.1 Thu, 30 Aug 2018 10:32:49 GMT ### Patches - Replace comment reference to old ms-Fabric is-focusVisible with ms-Fabric--isFocusVisible ## 6.17.0 Tue, 28 Aug 2018 10:23:58 GMT ### Minor changes - Add mobileDetector to detect iOS devices ## 6.16.0 Fri, 24 Aug 2018 17:02:14 GMT ### Minor changes - Reverting Customizer React 16 context change. ## 6.15.1 Fri, 24 Aug 2018 10:26:08 GMT ### Patches - Fix @types/prop-types being inconsistently restrictive. ## 6.15.0 Thu, 23 Aug 2018 10:28:17 GMT ### Minor changes - Customizer: moving to use React 16 context. - Scroll: allow scrolling within a target element ### Patches - Scroll: disable ios body scrolling in disableBodyScroll ## 6.14.1 Tue, 14 Aug 2018 10:27:33 GMT ### Patches - disabling codepen task ## 6.14.0 Mon, 13 Aug 2018 03:43:25 GMT ### Minor changes - Customizer should allow for nesting. Right now, `settings` provided have the reverse precendence expected; the outer-most Customizer wins over an inner one. This is completely backwards. Fixing to be correct. ## 6.13.0 Fri, 10 Aug 2018 10:26:09 GMT ### Minor changes - Customizable: add optional flag to allow customizer styles to be merged with component styles prop rather than overriding component styles - Adding merge helper for deep merging. ## 6.12.1 Fri, 27 Jul 2018 10:25:39 GMT ### Patches - prop-types version ## 6.12.0 Mon, 23 Jul 2018 10:28:08 GMT ### Minor changes - Addressing bad imports. ## 6.11.0 Wed, 18 Jul 2018 10:25:50 GMT ### Minor changes - Tighten typings of APIs around merge-styles to be more correct ## 6.10.0 Tue, 17 Jul 2018 10:28:40 GMT ### Minor changes - Removing most `@customizable` decorator usage. This change should reduce extra React dom elements from being created. Also updating `componentRef` resolution to support `React.createRef()` usage. ## 6.9.0 Fri, 13 Jul 2018 21:32:37 GMT ### Minor changes - Reverting the TypeScript bump, to un ## 6.7.1 Wed, 20 Jun 2018 10:25:55 GMT ### Patches - Prettier fixes ## 6.7.0 Tue, 19 Jun 2018 10:26:26 GMT ### Minor changes - All `styled` props should be a style function which returns partial styles, or just a partial styles object. (Previously it was a "complete" styles object, which was not intended.) ### Patches - Handling `stylesheet.onReset` undefined scenarios better. ## 6.6.0 Thu, 14 Jun 2018 20:52:57 GMT ### Minor changes - Updating `styled` to pick up customizations without using the `customizable` decorator on the base component. ### Patches - Minor JSDoc improvements. ## 6.2.0 Thu, 07 Jun 2018 16:35:34 GMT ### Minor changes - Added getFirstTabbable, Updated getNextElement to take tabbable param like getPreviousElement. - Minor changes to improve server side rendering. ### Patches - Code format changes ## 6.0.5 Tue, 05 Jun 2018 00:44:30 GMT ### Patches - Added Prettier ## 6.0.4 Mon, 04 Jun 2018 10:16:13 GMT ### Patches - Updating react typings. ## 6.0.3 Fri, 01 Jun 2018 10:18:43 GMT ### Patches - Add utility function to help merge ARIA attributes. ## 6.0.2 Wed, 30 May 2018 22:05:04 GMT *Version update only* ## 6.0.1 Wed, 30 May 2018 20:28:33 GMT ### Patches - Minimum React version is now 16.3.2. - Added `resetIds` api for adding predictability in jest tests. ## 5.33.0 Wed, 23 May 2018 16:14:26 GMT ### Minor changes - Reverting the ChoiceGroup styling update along with updates to utilities to avoid potentially breaking changes. ## 5.32.0 Wed, 23 May 2018 10:28:50 GMT ### Minor changes - Added `resetIds` api for adding predictability in jest tests. - allow for customization of keycodes that cause the focus rect to appear ## 5.31.0 Tue, 15 May 2018 07:09:49 GMT ### Minor changes - Remove dependency on React from Async ## 5.30.1 Fri, 04 May 2018 15:58:39 GMT ### Patches - Updating React build version. ## 5.30.0 Wed, 02 May 2018 23:55:40 GMT ### Minor changes - Backing out `isEqual` change which is broken. - Add accompanying utilities work for Keytips ## 5.29.0 Fri, 27 Apr 2018 10:15:52 GMT ### Minor changes - Allow a function to be passed to the Customizers props ### Patches - Add isEqual and isNotEqual utilities ## 5.28.0 Wed, 25 Apr 2018 05:32:09 GMT ### Minor changes - Adding `isDirectionalKeyCode` helper. ## 5.27.0 Mon, 23 Apr 2018 10:24:54 GMT ### Minor changes - The focus styling no longer adds "ms-Fabric" classname to body. Instead a very specific class for controlling focus rects is added, which should not impact any existing code. ## 5.26.0 Fri, 20 Apr 2018 23:06:06 GMT ### Minor changes - InputMask: Added inputMask utilitiy and tests ## 5.25.0 Thu, 19 Apr 2018 18:25:59 GMT ### Minor changes - Update createRef to match React.createRef api ## 5.24.0 Mon, 16 Apr 2018 10:23:26 GMT ### Minor changes - Adding some helpers which ensure that `ms-Fabric.is-focusVisible` class name is added to the document body when focus rectangles should be fixible. Also ensuring that the `documentElement` has a `dir` attribute. - Upgrade to TypeScript 2.8.1 ### Patches - Removing module entry temporarily. (Will be added back in 6.0.) - Updating build to React 16.3.1. ## 5.23.0 Thu, 05 Apr 2018 10:15:39 GMT ### Minor changes - Added IComponentAs as a type for 'render as' props in components ## 5.22.1 Sat, 31 Mar 2018 17:40:00 GMT ### Patches - asyncFocus: passing a component which has a focus method, but no `ownerDocument`, should still call focus. ## 5.22.0 Wed, 28 Mar 2018 10:16:39 GMT ### Minor changes - The initials logic used in calculating Persona initials now takes in a `allowPhoneInitials` param to allow for translating phone text to initials. ## 5.21.0 Sun, 25 Mar 2018 03:08:03 GMT ### Minor changes - Update createRef type - Updating to webpack 4 for producting bundles. Adding appropriate `module` and `sideEffects` fl ## 5.20.0 Fri, 23 Mar 2018 01:29:21 GMT ### Minor changes - Introduced focusAsync for cheaper element focusing ## 5.19.1 Wed, 21 Mar 2018 10:18:29 GMT ### Patches - EventGroup.raise: event args are now correctly mixed into the event object. ## 5.19.0 Tue, 20 Mar 2018 10:27:37 GMT ### Minor changes - Make helper functions getWindow and getDocument accept `null`. ## 5.18.3 Mon, 19 Mar 2018 10:27:55 GMT ### Patches - Use arrow function properties instead of @autobind ## 5.18.2 Thu, 15 Mar 2018 02:42:27 GMT ### Patches - Revert focus changes ## 5.18.1 Tue, 13 Mar 2018 10:17:37 GMT ### Patches - Customizable: Fix hoist/customizations import so it doesn't break amd ## 5.18.0 Mon, 12 Mar 2018 06:29:20 GMT ### Minor changes - added hoistStatics function for use with decorators to fix broken statics issue, and added the fuction to the customizable decorator ### Patches - Focus utility getPreviousElement did not correctly consider the tabbable argument when considering the current node. This can affect how FocusZones are processed, since only one element in a zone will have tab index set. This, in turn, affects how FocusTrapZone traps focus, since getPreviousElement is used during trapping focus. - Styled: Add display name to styled wrapper ## 5.17.1 Fri, 09 Mar 2018 15:07:28 GMT ### Patches - Focus: Update getPreviousElement to traverse a potential childMatch's parent siblings (which was previously being skipped) ## 5.17.0 Fri, 09 Mar 2018 11:13:58 GMT ### Minor changes - Add hoistStatics function to withResponsiveMode decorator. ## 5.16.0 Thu, 08 Mar 2018 11:27:24 GMT ### Minor changes - Added hoistStatics function to @customizable decorator so static methods work properly ## 5.15.0 Tue, 06 Mar 2018 11:13:36 GMT ### Minor changes - Adds createRef polyfil to prepare for object refs. ## 5.14.1 Tue, 06 Mar 2018 02:06:59 GMT ### Patches - Replaced PureComponent with Component to appease website's UHF react version. ## 5.14.0 Fri, 02 Mar 2018 11:25:35 GMT ### Minor changes - Upgrade to TypeScript 2.7.2 - Update KeyCodes enum to include all key codes ## 5.13.0 Thu, 22 Feb 2018 11:15:23 GMT ### Minor changes - Focus/DOM: add the ability to find if an element (or any ancestor) contains a given attribute. Also, add a shouldrWapFocus function to the focus utility (which leverages the fild element attribute just described) which returns true if the given no wrap data attribute (data-no-vertical-wrap OR data-no-horizontal-wrap) exists and is set to true ## 5.12.1 Wed, 21 Feb 2018 11:12:11 GMT ### Patches - fix bug in IE that IE does not support Number.IsInteger ## 5.12.0 Fri, 16 Feb 2018 11:23:29 GMT ### Minor changes - Added a triangle abstraction class ### Patches - Focus: Fix getPreviousElement to correctly walk across previous siblings if a potential child match was found ## 5.11.0 Wed, 14 Feb 2018 22:10:50 GMT ### Minor changes - BaseComponent.onError default implementation removed, exceptions now simply bubble out which lets partners use React 16 error handling. ## 5.10.3 Tue, 13 Feb 2018 11:24:05 GMT ### Patches - Export IClassNames fro Utilities for creating private getClassNames methods ## 5.10.2 Thu, 08 Feb 2018 11:13:51 GMT ### Patches - Return empty initials for phone numbers ## 5.10.1 Wed, 07 Feb 2018 11:23:59 GMT ### Patches - Fixing direct reference to @uifabric/utilities/lib from ResizeGroup ## 5.10.0 Mon, 05 Feb 2018 11:24:23 GMT ### Minor changes - [Math] implemented precision rounding functions ## 5.9.0 Mon, 29 Jan 2018 11:23:40 GMT ### Minor changes - Add work week date range type and update date math getDateRangeArray to consume it, add unit tests ## 5.8.0 Fri, 26 Jan 2018 11:25:22 GMT ### Minor changes - IBaseProps: typings adjusted to be less restrictive and compatible with strict mode. ## 5.7.1 Thu, 25 Jan 2018 11:23:06 GMT ### Patches - Set timeout ids to null for cancel and flush functions ## 5.7.0 Mon, 22 Jan 2018 11:14:27 GMT ### Minor changes - Adding a helper component to inject context values ## 5.6.1 Tue, 19 Dec 2017 11:22:47 GMT ### Patches - Broaden the range of allowed prop-type versions ## 5.6.0 Sat, 16 Dec 2017 05:07:22 GMT ### Minor changes - Updated build to newest React version and typings. Updated tests and made various tweaks to the code to remove React warnings and keep Enzyme ## 5.5.0 Tue, 28 Nov 2017 02:24:21 GMT ### Minor changes - Moving `styled` and `getClassNameFunction` out of styling to utilities. ## 5.4.0 Mon, 13 Nov 2017 11:20:56 GMT ### Minor changes - BaseComponent: fixing some typings to be compatible with current React typings. ## 5.3.3 Fri, 10 Nov 2017 17:09:36 GMT ### Patches - Object: getId: updated so it will correctly return a string rather than an int ## 5.3.2 Wed, 08 Nov 2017 11:11:27 GMT ### Patches - This PR addresses #3226 by removing the automatic call to `setPeriodicReset`. Now it is only called when `measure` is called. This prevents unnecessary resets from occurring before measure is even called. Additionally, `reset` no longer calls `setPeriodicReset`, and instead waits again for the next `measure` to set the timeout. ## 5.3.1 Wed, 08 Nov 2017 06:05:34 GMT ### Patches - Update @uifabric/utilities ## 5.3.0 Wed, 18 Oct 2017 10:21:25 GMT ### Minor changes - Add cancel/flush to debounce ## 5.2.1 Fri, 06 Oct 2017 10:18:41 GMT ### Patches - TSConfig: update to use preserveConstEnums so that certain builds s ystems don't break when importing const enums ## 5.2.0 Thu, 05 Oct 2017 17:03:43 GMT ### Minor changes - Undoing 6.0 bump which was made by automation inadvertently. - Fixing version dependencies. ## 5.1.0 Thu, 05 Oct 2017 16:29:11 GMT ### Minor changes - Undoing 6.0 bump which was made by automation inadvertently. ## 6.0.0 Wed, 04 Oct 2017 22:40:22 GMT ### Breaking changes - Positioning: Refactored positioning and removed deprecated properties ## 5.0.1 Wed, 27 Sep 2017 00:20:58 GMT ### Patches - Updated for Fabric 5.0. ## 4.16.0 Tue, 26 Sep 2017 20:42:17 GMT ### Minor changes - Reverting Customizer changes, as they are breaking. Will include in 5.0. ## 4.15.0 Tue, 26 Sep 2017 10:09:04 GMT ### Minor changes - Updating Customizer to support `scopedSettings` prop. Adding a `Customizations` object for applying global and scoped customizations in non-React environments. ## 4.14.1 Mon, 25 Sep 2017 10:19:18 GMT ### Patches - Array: Add utility functions for updating arrays immutably ## 4.14.0 Fri, 22 Sep 2017 19:08:51 GMT ### Minor changes - Adding `mapEnumByName` helper. ## 4.13.1 Thu, 14 Sep 2017 00:34:57 GMT ### Patches - getLanguage: Use localStorage wrapper helpers to avoid exceptions thrown by the browser when accessing localStorage. ## 4.13.0 Mon, 04 Sep 2017 10:16:56 GMT ### Minor changes - Add ISize interface and fitContentToBounds utility function ## 4.12.1 Fri, 01 Sep 2017 18:06:55 GMT ### Patches - Set the RTL language when the language is read from session storage ## 4.12.0 Thu, 31 Aug 2017 15:41:56 GMT ### Minor changes - RTL: Persist rtl settings between sessions ## 4.11.1 Tue, 29 Aug 2017 20:55:35 GMT ### Patches - Adjusted build to produce sourcemaps with correct sourceRoot. ## 4.11.0 Tue, 29 Aug 2017 10:20:56 GMT ### Minor changes - Array: rename removeElement to removeIndex ## 4.10.3 Mon, 28 Aug 2017 10:09:32 GMT ### Patches - Array: Add removeElement method ## 4.10.2 Fri, 25 Aug 2017 20:31:51 GMT ### Patches - Adding back sourcemap content to .map files, which should alleviate "../src/* missing" issues when using webpack. ## 4.10.1 Fri, 25 Aug 2017 10:09:40 GMT ### Patches - Array: Add find utility method - BaseComponent: Make State type optional to be consistent with React.Component typing ## 4.10.0 Thu, 24 Aug 2017 05:38:14 GMT ### Minor changes - createArray: reverting previous change to make getItem optional, cleaning up so that the return value is correct. - Array: Add typesafety for createArray and findIndex ## 4.9.1 Mon, 21 Aug 2017 10:19:29 GMT ### Patches - Minor tweaks to utilities to reduce the graph edges. ## 4.9.0 Thu, 03 Aug 2017 10:13:03 GMT ### Minor changes - TypeScript 2.4.1 bump ## 4.8.1 Fri, 21 Jul 2017 10:21:45 GMT ### Patches - Fixing filteredAssign function ## 4.8.0 Wed, 19 Jul 2017 21:40:34 GMT ### Minor changes - Add assertNever function for exhaustive null checking ## 4.7.2 Wed, 12 Jul 2017 01:49:50 GMT ### Patches - Fixing typings for TypeScript 2.4.1 compatibility. ## 4.7.1 Sat, 08 Jul 2017 03:34:35 GMT ### Patches - Updating library comments. ## 4.7.0 Thu, 06 Jul 2017 10:11:47 GMT ### Minor changes - Adding export for GlobalSettings object. ## 4.6.0 Fri, 30 Jun 2017 19:44:26 GMT ### Minor changes - Customizer `setDefault` method moved to GlobalSettings `setValue` helper. This patches the customization code in 2 ways: 1. Multiple copies of the Customizer on the page will no longer create script errors complaining about missing themes, and 2. React is no longer pulled into the styling graph. ## 4.5.0 Thu, 29 Jun 2017 20:48:31 GMT ### Minor changes - Adding a new Gri