UNPKG

52 kBMarkdownView Raw
1# Change Log - @uifabric/utilities
2
3This log was last generated on Thu, 11 Feb 2021 12:25:26 GMT and should not be manually modified.
4
5<!-- Start content -->
6
7## [7.33.4](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.33.4)
8
9Thu, 11 Feb 2021 12:25:26 GMT
10[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.33.3..@uifabric/utilities_v7.33.4)
11
12### Patches
13
14- fix merge to correctly handle array value. ([PR #16910](https://github.com/microsoft/fluentui/pull/16910) by xgao@microsoft.com)
15
16## [7.33.3](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.33.3)
17
18Tue, 09 Feb 2021 12:26:30 GMT
19[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.33.2..@uifabric/utilities_v7.33.3)
20
21### Patches
22
23- 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)
24
25## [7.33.2](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.33.2)
26
27Thu, 29 Oct 2020 12:24:41 GMT
28[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.33.1..@uifabric/utilities_v7.33.2)
29
30### Patches
31
32- Make FocusTrapZone properly focus the first element of a FocusZone ([PR #14606](https://github.com/microsoft/fluentui/pull/14606) by tmichon@microsoft.com)
33
34## [7.33.1](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.33.1)
35
36Wed, 28 Oct 2020 12:29:09 GMT
37[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.33.0..@uifabric/utilities_v7.33.1)
38
39### Patches
40
41- isIE11 utility should use getWindow to get the window ([PR #15722](https://github.com/microsoft/fluentui/pull/15722) by elcraig@microsoft.com)
42
43## [7.33.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.33.0)
44
45Tue, 27 Oct 2020 12:28:11 GMT
46[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.32.4..@uifabric/utilities_v7.33.0)
47
48### Minor changes
49
50- 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)
51
52## [7.32.4](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.32.4)
53
54Tue, 06 Oct 2020 17:31:19 GMT
55[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.32.3..@uifabric/utilities_v7.32.4)
56
57### Patches
58
59- getId now can take in a blank string as prefix. ([PR #15375](https://github.com/microsoft/fluentui/pull/15375) by dzearing@hotmail.com)
60
61## [7.32.3](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.32.3)
62
63Tue, 22 Sep 2020 12:25:45 GMT
64[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.32.0..@uifabric/utilities_v7.32.3)
65
66### Patches
67
68- Fix for Styled pure functions to have a displayName. ([PR #14940](https://github.com/microsoft/fluentui/pull/14940) by czearing@outlook.com)
69
70## [7.32.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.32.0)
71
72Wed, 16 Sep 2020 12:27:22 GMT
73[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.31.0..@uifabric/utilities_v7.32.0)
74
75### Minor changes
76
77- Consume virtual DOM functions from new location ([PR #15039](https://github.com/microsoft/fluentui/pull/15039) by tmichon@microsoft.com)
78
79## [7.30.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.30.0)
80
81Tue, 25 Aug 2020 12:36:19 GMT
82[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.28.0..@uifabric/utilities_v7.30.0)
83
84### Minor changes
85
86- Added document type to element parameter within on.ts utility. ([PR #14238](https://github.com/microsoft/fluentui/pull/14238) by czearing@outlook.com)
87
88### Patches
89
90- 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)
91
92## [7.28.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.28.0)
93
94Fri, 14 Aug 2020 12:43:53 GMT
95[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.27.0..@uifabric/utilities_v7.28.0)
96
97### Minor changes
98
99- Adding `createMergedRef` utility for merging refs in a class component. ([PR #14517](https://github.com/microsoft/fluentui/pull/14517) by dzearing@hotmail.com)
100
101## [7.27.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.27.0)
102
103Mon, 10 Aug 2020 06:19:21 GMT
104[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.26.1..@uifabric/utilities_v7.27.0)
105
106### Minor changes
107
108- 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)
109- 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)
110
111## [7.26.1](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.26.1)
112
113Fri, 07 Aug 2020 12:40:14 GMT
114[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.26.0..@uifabric/utilities_v7.26.1)
115
116### Patches
117
118- 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)
119
120## [7.26.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.26.0)
121
122Thu, 06 Aug 2020 12:40:48 GMT
123[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.25.1..@uifabric/utilities_v7.26.0)
124
125### Minor changes
126
127- 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)
128
129## [7.25.1](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.25.1)
130
131Tue, 04 Aug 2020 12:42:32 GMT
132[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.25.0..@uifabric/utilities_v7.25.1)
133
134### Patches
135
136- omit: changed to for in for more perf improvement. ([PR #14313](https://github.com/microsoft/fluentui/pull/14313) by dzearing@microsoft.com)
137
138## [7.25.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.25.0)
139
140Mon, 03 Aug 2020 12:45:42 GMT
141[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.24.6..@uifabric/utilities_v7.25.0)
142
143### Minor changes
144
145- 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)
146
147## [7.24.6](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.24.6)
148
149Fri, 31 Jul 2020 12:47:45 GMT
150[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.24.5..@uifabric/utilities_v7.24.6)
151
152### Patches
153
154- useCustomizationSettings: get settings from CustomizerContext if exists. ([PR #14145](https://github.com/microsoft/fluentui/pull/14145) by xgao@microsoft.com)
155
156## [7.24.5](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.24.5)
157
158Wed, 22 Jul 2020 12:40:51 GMT
159[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.24.4..@uifabric/utilities_v7.24.5)
160
161### Patches
162
163- Fix "rules of hooks" lint rule violations ([PR #14099](https://github.com/microsoft/fluentui/pull/14099) by elcraig@microsoft.com)
164
165## [7.24.3](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.24.3)
166
167Fri, 17 Jul 2020 12:38:41 GMT
168[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.24.2..@uifabric/utilities_v7.24.3)
169
170### Patches
171
172- fix: useFocusRects should resolve window inside useEffect ([PR #14063](https://github.com/microsoft/fluentui/pull/14063) by olfedias@microsoft.com)
173
174## [7.24.1](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.24.1)
175
176Mon, 13 Jul 2020 23:14:39 GMT
177[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.24.0..@uifabric/utilities_v7.24.1)
178
179### Patches
180
181- Replace tslint with eslint and fix some violations ([PR #13944](https://github.com/microsoft/fluentui/pull/13944) by elcraig@microsoft.com)
182
183## [7.24.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.24.0)
184
185Thu, 09 Jul 2020 21:59:04 GMT
186[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.23.0..@uifabric/utilities_v7.24.0)
187
188### Minor changes
189
190- findScrollableParent: Adding missing `Window` and `undefined` return types. ([PR #13953](https://github.com/microsoft/fluentui/pull/13953) by KevinTCoughlin@users.noreply.github.com)
191
192## [7.23.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.23.0)
193
194Fri, 03 Jul 2020 12:36:49 GMT
195[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.22.0..@uifabric/utilities_v7.23.0)
196
197### Minor changes
198
199- Refactor styled to return a functional component (with optional ref attribute) ([PR #13891](https://github.com/microsoft/fluentui/pull/13891) by miclo@microsoft.com)
200
201## [7.22.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.22.0)
202
203Tue, 30 Jun 2020 12:33:36 GMT
204[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.21.4..@uifabric/utilities_v7.22.0)
205
206### Minor changes
207
208- 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)
209
210## [7.21.4](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.21.4)
211
212Mon, 29 Jun 2020 12:36:08 GMT
213[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.21.3..@uifabric/utilities_v7.21.4)
214
215### Patches
216
217- Fix scroll position math for overscrolling (#13555) ([PR #13622](https://github.com/microsoft/fluentui/pull/13622) by kai@substantial.com)
218
219## [7.21.1](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.21.1)
220
221Mon, 22 Jun 2020 12:42:16 GMT
222[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.21.0..@uifabric/utilities_v7.21.1)
223
224### Patches
225
226- add test util for react-test-renderer create with act wrapped ([PR #13713](https://github.com/microsoft/fluentui/pull/13713) by xgao@microsoft.com)
227
228## [7.21.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.21.0)
229
230Mon, 15 Jun 2020 12:45:48 GMT
231[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.20.3..@uifabric/utilities_v7.21.0)
232
233### Minor changes
234
235- add new Modalization utility ([PR #13281](https://github.com/microsoft/fluentui/pull/13281) by phkuo@microsoft.com)
236
237## [7.20.3](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.20.3)
238
239Tue, 02 Jun 2020 12:36:30 GMT
240[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.20.2..@uifabric/utilities_v7.20.3)
241
242### Patches
243
244- Removing side effect code that was breaking webpack treeshaking. ([PR #13360](https://github.com/microsoft/fluentui/pull/13360) by dzearing@microsoft.com)
245- 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)
246- Fixed prototype pollution vulnerability. ([PR #13427](https://github.com/microsoft/fluentui/pull/13427) by esteban.230@hotmail.com)
247
248## [7.20.2](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.20.2)
249
250Thu, 28 May 2020 12:42:08 GMT
251[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.20.1..@uifabric/utilities_v7.20.2)
252
253### Patches
254
255- Add autoCapitalize property ([PR #13335](https://github.com/microsoft/fluentui/pull/13335) by suprememilanfan@gmail.com)
256
257## [7.20.1](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.20.1)
258
259Wed, 27 May 2020 12:40:00 GMT
260[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.20.0..@uifabric/utilities_v7.20.1)
261
262### Patches
263
264- Selection: respect 0 as selected key ([PR #13331](https://github.com/microsoft/fluentui/pull/13331) by elcraig@microsoft.com)
265
266## [7.20.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.20.0)
267
268Mon, 25 May 2020 12:38:22 GMT
269[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.19.0..@uifabric/utilities_v7.20.0)
270
271### Minor changes
272
273- findIndex: add fromIndex parameter ([PR #13295](https://github.com/microsoft/fluentui/pull/13295) by elcraig@microsoft.com)
274
275## [7.19.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.19.0)
276
277Fri, 22 May 2020 12:37:35 GMT
278[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.18.0..@uifabric/utilities_v7.19.0)
279
280### Minor changes
281
282- 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)
283
284## [7.18.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.18.0)
285
286Thu, 21 May 2020 12:34:43 GMT
287[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.17.2..@uifabric/utilities_v7.18.0)
288
289### Minor changes
290
291- Add useCustomizationSettings hook ([PR #13146](https://github.com/microsoft/fluentui/pull/13146) by xgao@microsoft.com)
292
293## [7.17.2](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.17.2)
294
295Fri, 15 May 2020 12:42:20 GMT
296[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.17.0..@uifabric/utilities_v7.17.2)
297
298### Patches
299
300- Selection added `items` to prop constructor options ([PR #12849](https://github.com/microsoft/fluentui/pull/12849) by czearing@outlook.com)
301
302## [7.17.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.17.0)
303
304Thu, 14 May 2020 12:34:32 GMT
305[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.16.4..@uifabric/utilities_v7.17.0)
306
307### Minor changes
308
309- Add utility to apply default props for function components ([PR #13152](https://github.com/microsoft/fluentui/pull/13152) by miclo@microsoft.com)
310
311## [7.16.4](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.16.4)
312
313Mon, 11 May 2020 12:36:34 GMT
314[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.16.2..@uifabric/utilities_v7.16.4)
315
316### Patches
317
318- Update styled and classNamesFunction to support scss base styles ([PR #13014](https://github.com/microsoft/fluentui/pull/13014) by xgao@microsoft.com)
319
320## [7.16.2](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.16.2)
321
322Thu, 07 May 2020 01:06:55 GMT
323[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.16.1..@uifabric/utilities_v7.16.2)
324
325### Patches
326
327- Addressing commonjs imports. ([PR #13031](https://github.com/microsoft/fluentui/pull/13031) by dzearing@microsoft.com)
328
329## [7.16.1](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.16.1)
330
331Tue, 05 May 2020 12:34:22 GMT
332[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.16.0..@uifabric/utilities_v7.16.1)
333
334### Patches
335
336- Fixing errors when building @fluentui/docs. ([PR #12448](https://github.com/microsoft/fluentui/pull/12448) by humbertomakotomorimoto@gmail.com)
337
338## [7.16.0](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.16.0)
339
340Tue, 28 Apr 2020 12:34:09 GMT
341[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.15.11..@uifabric/utilities_v7.16.0)
342
343### Minor changes
344
345- 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)
346
347## [7.15.11](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.15.11)
348
349Tue, 21 Apr 2020 12:34:50 GMT
350[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.15.10..@uifabric/utilities_v7.15.11)
351
352### Patches
353
354- classNamesFunction: fix not traversing the changed styles function ([PR #12752](https://github.com/microsoft/fluentui/pull/12752) by xgao@microsoft.com)
355- Revert changes to 'on': it should not use React events ([PR #12753](https://github.com/microsoft/fluentui/pull/12753) by behowell@microsoft.com)
356- Fix lint rule violation ([PR #12711](https://github.com/microsoft/fluentui/pull/12711) by elcraig@microsoft.com)
357
358## [7.15.10](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.15.10)
359
360Sun, 19 Apr 2020 02:02:09 GMT
361[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.15.8..@uifabric/utilities_v7.15.10)
362
363### Patches
364
365- classNamesFunction: add warning on cache full ([PR #12712](https://github.com/microsoft/fluentui/pull/12712) by xgao@microsoft.com)
366
367## [7.15.8](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.15.8)
368
369Thu, 16 Apr 2020 12:37:31 GMT
370[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.15.7..@uifabric/utilities_v7.15.8)
371
372### Patches
373
374- Update 'on' function to accept React events ([PR #12717](https://github.com/microsoft/fluentui/pull/12717) by behowell@microsoft.com)
375
376## [7.15.7](https://github.com/microsoft/fluentui/tree/@uifabric/utilities_v7.15.7)
377
378Thu, 16 Apr 2020 04:01:45 GMT
379[Compare changes](https://github.com/microsoft/fluentui/compare/@uifabric/utilities_v7.15.6..@uifabric/utilities_v7.15.7)
380
381### Patches
382
383- Readme: Remove irrelevant details; Fabric=>Fluent wording updates ([PR #12508](https://github.com/microsoft/fluentui/pull/12508) by elcraig@microsoft.com)
384- merge: null values are now preserved. ([PR #12646](https://github.com/microsoft/fluentui/pull/12646) by dzearing@microsoft.com)
385
386## 7.15.6
387Thu, 09 Apr 2020 12:24:31 GMT
388
389### Patches
390
391- chore: bump @types/react (olfedias@microsoft.com)
392## 7.15.5
393Wed, 08 Apr 2020 12:28:27 GMT
394
395### Patches
396
397- Customizable: improve perf by avoid mutating styles when concatination is enabled (xgao@microsoft.com)
398- fix: fix typings for asAsync & internal usages of React.Children.map (olfedias@microsoft.com)
399## 7.15.4
400Mon, 30 Mar 2020 19:10:08 GMT
401
402### Patches
403
404- Fixing errors when building @fluentui/docs. (humbertomakotomorimoto@gmail.com)
405## 7.15.3
406Wed, 25 Mar 2020 12:30:04 GMT
407
408### Patches
409
410- Changing references of Fabric to Fluent (mgodbolt@microsoft.com)
411## 7.15.2
412Mon, 23 Mar 2020 12:28:29 GMT
413
414### Patches
415
416- Replace OfficeDev/office-ui-fabric-react with microsoft/fluentui (elcraig@microsoft.com)
417## 7.15.0
418Tue, 17 Mar 2020 12:28:58 GMT
419
420### Minor changes
421
422- deprecate BaseComonent, remove all usages of BaseComponent and initializeFocusRects (xgao@microsoft.com)
423## 7.14.1
424Mon, 16 Mar 2020 12:28:27 GMT
425
426### Patches
427
428- BaseComponent: remove initializeDir (xgao@microsoft.com)
429## 7.14.0
430Thu, 12 Mar 2020 12:35:00 GMT
431
432### Minor changes
433
434- convert initializeFocusRects to hook (xgao@microsoft.com)
435## 7.13.2
436Tue, 10 Mar 2020 12:25:14 GMT
437
438### Patches
439
440- Skips unnecessary equality check in shallowCompare to increase performance (chce@netcompany.com)
441## 7.13.1
442Sat, 07 Mar 2020 01:39:37 GMT
443
444### Patches
445
446- Cleanup: Removing 'use strict' directive in ts files since modules are emitted with a 'use strict' prologue. (humbertomakotomorimoto@gmail.com)
447## 7.13.0
448Tue, 03 Mar 2020 12:27:24 GMT
449
450### Minor changes
451
452- Turning on tslint 'deprecation' rule. (Humberto.Morimoto@microsoft.com)
453## 7.12.4
454Fri, 21 Feb 2020 12:20:14 GMT
455
456### Patches
457
458- styled: do not create new styles function if styles prop is not changed (xgao@microsoft.com)
459## 7.12.3
460Thu, 20 Feb 2020 12:20:16 GMT
461
462### Patches
463
464- fix memory leak caused by closure in scroll util (xgao@microsoft.com)
465## 7.12.2
466Wed, 19 Feb 2020 12:21:05 GMT
467
468### Patches
469
470- Add syncpack and synchronize dependencies. Refresh fluent import. (jagore@microsoft.com)
471## 7.12.1
472Mon, 17 Feb 2020 17:06:50 GMT
473
474### Patches
475
476- Utilities: forcing a publish, as the NPM outage last week did not seem to publish 7.12.1 of utilities. (dzearing@hotmail.com)
477## 7.12.0
478Wed, 12 Feb 2020 12:24:27 GMT
479
480### Minor changes
481
482- Replacing deprecated StatelessComponent references with FunctionComponent. (Humberto.Morimoto@microsoft.com)
483## 7.11.2
484Fri, 17 Jan 2020 02:32:17 GMT
485
486### Patches
487
488- Update tslib minver to first version containing __spreadArrays helper due to changes in how TS emits spreads. (jagore@microsoft.com)
489## 7.11.1
490Thu, 16 Jan 2020 12:28:58 GMT
491
492### Patches
493
494- Upgrade repo to TS3.7. (jagore@microsoft.com)
495## 7.11.0
496Mon, 13 Jan 2020 12:28:56 GMT
497
498### Minor changes
499
500- Add composeComponentAs to compose React decorator components (tmichon@microsoft.com)
501- Change focus class behavior: Alternate between 'hidden' and 'visible' classes (paflakst@microsoft.com)
502## 7.10.0
503Thu, 09 Jan 2020 12:34:52 GMT
504
505### Minor changes
506
507- 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)
508## 7.9.0
509Mon, 06 Jan 2020 12:29:10 GMT
510
511### Minor changes
512
513- Selection: accept generic item type (elcraig@microsoft.com)
514### Patches
515
516- getClassNames: fix for LTR in RTL context. (jdh@microsoft.com)
517## 7.8.0
518Fri, 20 Dec 2019 12:32:45 GMT
519
520### Minor changes
521
522- scroll.ts: added allowOverscrollOnElement, alternative to allowScrollOnElement that allows body scroll on touch devices (dmitriy.ravdin@siemens.com)
523## 7.7.1
524Tue, 17 Dec 2019 12:29:42 GMT
525
526### Patches
527
528- add select to be a focusable target for focus utility (joschect@microsoft.com)
529## 7.7.0
530Sun, 15 Dec 2019 23:45:36 GMT
531
532### Minor changes
533
534- getRTL uses RTL flag on theme if present. (jdh@microsoft.com)
535## 7.6.0
536Mon, 18 Nov 2019 12:33:30 GMT
537
538### Minor changes
539
540- AutoScroll: Add horizontal scrolling (v-mare@microsoft.com)
541## 7.5.0
542Mon, 07 Oct 2019 12:33:45 GMT
543
544### Minor changes
545
546- Reverting dependency on ReactDOM findDOMNode in getWindow and getDocument helpers to avoid bundle problems for partners. (dzearing@microsoft.com)
547## 7.4.0
548Thu, 03 Oct 2019 01:14:35 GMT
549
550### Minor changes
551
552- Async methods can now take a React component as the target being passed to `getWindow`. (dzearing@microsoft.com)
553## 7.3.0
554Tue, 01 Oct 2019 12:33:48 GMT
555
556### Minor changes
557
558- Async helpers now take in a target element which will be used to find the window object. (dzearing@microsoft.com)
559## 7.2.0
560Thu, 26 Sep 2019 12:32:32 GMT
561
562### Minor changes
563
564- mergeStyles and mergeStyleSets have a companion method which accepts options for setting RTL (jdh@microsoft.com)
565### Patches
566
567- Minor refinement to mergeAriaAttributeValues to correctly handleu false, therefore allowing (`cond && "something"). (cliff.koh@microsoft.com)
568## 7.1.0
569Mon, 23 Sep 2019 12:33:15 GMT
570
571### Minor changes
572
573- Customizations: add a way to batch updates (phkuo@microsoft.com)
574## 7.0.11
575Fri, 20 Sep 2019 12:34:28 GMT
576
577### Patches
578
579- Consuming latest merge-styles bits with `concatStyleSetsWithProps`. (dzearing@microsoft.com)
580## 7.0.10
581Mon, 16 Sep 2019 12:34:47 GMT
582
583### Patches
584
585- Move getId to its own file (elcraig@microsoft.com)
586## 7.0.9
587Wed, 04 Sep 2019 04:09:58 GMT
588
589### Patches
590
591- fix version file (kchau@microsoft.com)
592## 7.0.8
593Fri, 23 Aug 2019 12:35:28 GMT
594
595### Patches
596
597- Update npmignores, delete unused jest setup files (elcraig@microsoft.com)
598- Fix up readme and package.json descriptions (elcraig@microsoft.com)
599
600## 7.0.7
601Wed, 17 Jul 2019 18:58:57 GMT
602
603### Patches
604
605- Adding @types/react and @types/react-dom to package.json that have peer dependencies on react and react-dom. (makotom@microsoft.com)
606
607## 7.0.6
608Mon, 01 Jul 2019 18:51:42 GMT
609
610### Patches
611
612- adds react-app-polyfill
613
614## 7.0.5
615Thu, 27 Jun 2019 22:14:22 GMT
616
617### Patches
618
619- Utilities: Update implementation for raising a click event to support IE
620
621## 7.0.4
622Thu, 27 Jun 2019 18:25:04 GMT
623
624### Patches
625
626- Adding a null check in the case a stylesheet instance is not avaiable or old.
627- The `getClassNames` function now returns memoized classnames, resulting in improved performance in high repeat scenarios (like lists rendering checks.) Reintroduction of #8761.
628- Add placeholder as TextArea property
629
630## 7.0.3
631Fri, 14 Jun 2019 12:26:30 GMT
632
633### Patches
634
635- Fix missing assets in production build.
636
637## 7.0.2
638Thu, 13 Jun 2019 00:24:48 GMT
639
640### Patches
641
642- Initial release of Fabric 7
643
644## 7.0.0
645Wed, 12 Jun 2019 00:42:26 GMT
646
647### Breaking changes
648
649- Remove deprecated `autobind` decorator.
650- createRef: removed (use React.createRef instead)
651
652### Minor changes
653
654- Add utility for checking controlled/uncontrolled prop usage
655
656### Patches
657
658- Update and dedupe React deps.
659
660## 6.41.0
661Tue, 11 Jun 2019 12:21:35 GMT
662
663### Minor changes
664
665- 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.
666
667### Patches
668
669- Setting the styles props only when either of defaultProps or componentProps have it defined
670- upgrade to api-extractor 7.1.6
671
672## 6.40.1
673Thu, 06 Jun 2019 12:22:24 GMT
674
675### Patches
676
677- Fix ./index import from selection
678
679## 6.40.0
680Wed, 05 Jun 2019 12:22:30 GMT
681
682### Minor changes
683
684- Migrate Selection to Utilities
685
686## 6.39.3
687Wed, 29 May 2019 12:21:24 GMT
688
689### Patches
690
691- Revert styled and classNameFunctions perf improvements temporarily.
692
693## 6.39.2
694Fri, 24 May 2019 14:51:14 GMT
695
696### Patches
697
698- remove usage of process
699
700## 6.39.1
701Fri, 24 May 2019 12:21:33 GMT
702
703### Patches
704
705- Fix wrapped styled regression caused by nested style arrays.
706- Mutually exclusive warnings are not displayed if value of the prop is undefined
707
708## 6.39.0
709Wed, 22 May 2019 12:21:34 GMT
710
711### Minor changes
712
713- The `getClassNames` function now returns memoized classnames, resulting in improved performance in high repeat scenarios (like lists rendering checks.)
714
715## 6.38.3
716Tue, 14 May 2019 07:50:30 GMT
717
718### Patches
719
720- Update Fabric assets link
721
722## 6.38.2
723Tue, 14 May 2019 01:56:43 GMT
724
725### Patches
726
727- Removed a few more `typeof window` references to avoid memory leaks with IE11.
728
729## 6.38.1
730Thu, 02 May 2019 12:36:35 GMT
731
732### Patches
733
734- a new line is added to the end of the api-extractor.json file
735
736## 6.38.0
737Wed, 01 May 2019 12:34:24 GMT
738
739### Minor changes
740
741- Export Omit from utilities
742
743## 6.37.1
744Tue, 30 Apr 2019 12:31:36 GMT
745
746### Patches
747
748- Adds pointer events to baseElementProperties
749
750## 6.37.0
751Sat, 27 Apr 2019 00:04:47 GMT
752
753### Minor changes
754
755- 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.
756
757## 6.36.0
758Fri, 26 Apr 2019 12:35:24 GMT
759
760### Minor changes
761
762- Make isFocusVisible toggleable by user.
763
764## 6.35.7
765Tue, 23 Apr 2019 12:32:00 GMT
766
767### Patches
768
769- Removing closure from `styled` helper to improve performance.
770
771## 6.35.6
772Fri, 19 Apr 2019 12:33:02 GMT
773
774### Patches
775
776- Removing closure from `styled` helper to improve performance.
777
778## 6.35.5
779Thu, 11 Apr 2019 12:37:10 GMT
780
781### Patches
782
783- Documentation: add @docCategory inline tags
784
785## 6.35.4
786Mon, 08 Apr 2019 12:37:15 GMT
787
788### Patches
789
790- Customizer modified to avoid BaseComponent.
791
792## 6.35.3
793Tue, 02 Apr 2019 00:38:15 GMT
794
795### Patches
796
797- Use ^ ranges instead of >=
798
799## 6.35.2
800Wed, 27 Mar 2019 12:34:02 GMT
801
802### Patches
803
804- update API file
805- update api file generated by api-extractor 7
806
807## 6.35.1
808Fri, 15 Mar 2019 12:34:07 GMT
809
810### Patches
811
812- Remove some unused variables and types from Customizer
813- Use typeof check on process before checking process.env.NODE_ENV
814
815## 6.35.0
816Tue, 12 Mar 2019 12:31:43 GMT
817
818### Minor changes
819
820- Focus utilities: Fix tabbable element issue and add optional argument.
821
822## 6.34.0
823Wed, 06 Mar 2019 13:27:18 GMT
824
825### Minor changes
826
827- Utilities for managing componentRef initialization added.
828
829## 6.33.0
830Tue, 05 Mar 2019 17:33:41 GMT
831
832### Minor changes
833
834- Modify return type of styled (function to React.StatelessComponent)
835
836## 6.32.1
837Tue, 05 Mar 2019 04:25:07 GMT
838
839### Patches
840
841- Utilities: removing redundant export for `setVirtualParent`.
842
843## 6.32.0
844Mon, 04 Mar 2019 13:29:58 GMT
845
846### Minor changes
847
848- Utilities: Adding setVirtualParent export.
849
850## 6.31.0
851Fri, 01 Mar 2019 19:40:21 GMT
852
853### Minor changes
854
855- Reinstroducing dom/warn top level imports.
856
857## 6.30.0
858Fri, 01 Mar 2019 13:33:08 GMT
859
860### Minor changes
861
862- 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.
863
864## 6.29.4
865Tue, 26 Feb 2019 22:45:29 GMT
866
867### Patches
868
869- ARIA: mergeAriaAttributeValues should produce space-delimited output by default
870
871## 6.29.3
872Fri, 22 Feb 2019 13:31:09 GMT
873
874### Patches
875
876- mergeAriaAttributeValues: Trim output string
877- Add check for tabIndex in isElementTabbable if role=button
878
879## 6.29.2
880Wed, 20 Feb 2019 13:30:29 GMT
881
882### Patches
883
884- getRTL: Check for existence of body element before reading attributes.
885
886## 6.29.1
887Thu, 14 Feb 2019 13:34:55 GMT
888
889### Patches
890
891- Add fallback for reading direction attribute from body element.
892
893## 6.29.0
894Thu, 31 Jan 2019 20:10:48 GMT
895
896### Minor changes
897
898- Adding helper functions to get and restore focus elements based on index paths.
899
900## 6.28.1
901Fri, 25 Jan 2019 13:38:07 GMT
902
903### Patches
904
905- Updating 'customizable.tsx' to evaluate style functions.
906
907## 6.28.0
908Fri, 11 Jan 2019 05:00:46 GMT
909
910### Minor changes
911
912- Scroll: use scrollableParent in _preventOverscrolling, allow EventGroup.on to take event options
913
914## 6.27.2
915Tue, 08 Jan 2019 13:34:49 GMT
916
917### Patches
918
919- Deprecate utility using legacy context
920- BaseComponent: when updating componentRef, handle case where current or previous props are not given
921
922## 6.27.1
923Mon, 17 Dec 2018 13:36:58 GMT
924
925### Patches
926
927- BaseComponent: Remove componentWillReceiveProps usage
928
929## 6.27.0
930Thu, 15 Nov 2018 13:36:22 GMT
931
932### Minor changes
933
934- DevExp: get rid of const enum so the library is compatible with Typescript's isolatedModule compilation mode
935- Styled: now reacts to loadTheme changes even when not wrapped in a Customizer.
936
937## 6.26.0
938Wed, 14 Nov 2018 13:34:01 GMT
939
940### Minor changes
941
942- Add osDetector utility
943
944## 6.25.0
945Wed, 31 Oct 2018 12:32:41 GMT
946
947### Minor changes
948
949- Customizer: Add optional context transform prop.
950
951## 6.24.0
952Fri, 26 Oct 2018 12:32:35 GMT
953
954### Minor changes
955
956- Add api-extractor.json
957
958## 6.23.1
959Thu, 18 Oct 2018 20:22:36 GMT
960
961### Patches
962
963- Update api-extractor.json
964
965## 6.23.0
966Mon, 15 Oct 2018 12:29:12 GMT
967
968### Minor changes
969
970- Adding `asAsync` HOC wrapper to abstract async loading for components.
971
972## 6.22.0
973Wed, 10 Oct 2018 12:29:05 GMT
974
975### Minor changes
976
977- Add utilities.api.ts, update files to fix api-extractor errors
978
979## 6.21.2
980Mon, 08 Oct 2018 12:24:15 GMT
981
982### Patches
983
984- Moving tslint/prettier dependencies
985
986## 6.21.1
987Wed, 26 Sep 2018 12:27:23 GMT
988
989### Patches
990
991- Memoize: Do not use cached result when function instances are distinct.
992
993## 6.21.0
994Fri, 21 Sep 2018 14:25:46 GMT
995
996### Minor changes
997
998- Expose Customizer's mergeCustomizations as new helper function.
999
1000### Patches
1001
1002- Adding a version stamp file
1003- Add IComponentAsProps
1004
1005## 6.20.0
1006Thu, 20 Sep 2018 12:25:33 GMT
1007
1008### Minor changes
1009
1010- add optional defaultRender to IComponentAs
1011
1012## 6.19.1
1013Thu, 13 Sep 2018 17:38:04 GMT
1014
1015### Patches
1016
1017- allow stateless components to use customizable
1018
1019## 6.19.0
1020Fri, 07 Sep 2018 22:04:50 GMT
1021
1022### Minor changes
1023
1024- Customizer: moving to use React 16 context.
1025
1026## 6.18.0
1027Fri, 07 Sep 2018 16:29:48 GMT
1028
1029### Minor changes
1030
1031- Add helpers for setting and detecting portals
1032
1033## 6.17.2
1034Wed, 05 Sep 2018 10:29:25 GMT
1035
1036### Patches
1037
1038- Scroll: add flex-grow: 1 to scrollable content elements
1039- Scroll: remove inline styles from scrollable content elements
1040
1041## 6.17.1
1042Thu, 30 Aug 2018 10:32:49 GMT
1043
1044### Patches
1045
1046- Replace comment reference to old ms-Fabric is-focusVisible with ms-Fabric--isFocusVisible
1047
1048## 6.17.0
1049Tue, 28 Aug 2018 10:23:58 GMT
1050
1051### Minor changes
1052
1053- Add mobileDetector to detect iOS devices
1054
1055## 6.16.0
1056Fri, 24 Aug 2018 17:02:14 GMT
1057
1058### Minor changes
1059
1060- Reverting Customizer React 16 context change.
1061
1062## 6.15.1
1063Fri, 24 Aug 2018 10:26:08 GMT
1064
1065### Patches
1066
1067- Fix @types/prop-types being inconsistently restrictive.
1068
1069## 6.15.0
1070Thu, 23 Aug 2018 10:28:17 GMT
1071
1072### Minor changes
1073
1074- Customizer: moving to use React 16 context.
1075- Scroll: allow scrolling within a target element
1076
1077### Patches
1078
1079- Scroll: disable ios body scrolling in disableBodyScroll
1080
1081## 6.14.1
1082Tue, 14 Aug 2018 10:27:33 GMT
1083
1084### Patches
1085
1086- disabling codepen task
1087
1088## 6.14.0
1089Mon, 13 Aug 2018 03:43:25 GMT
1090
1091### Minor changes
1092
1093- 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.
1094
1095## 6.13.0
1096Fri, 10 Aug 2018 10:26:09 GMT
1097
1098### Minor changes
1099
1100- Customizable: add optional flag to allow customizer styles to be merged with component styles prop rather than overriding component styles
1101- Adding merge helper for deep merging.
1102
1103## 6.12.1
1104Fri, 27 Jul 2018 10:25:39 GMT
1105
1106### Patches
1107
1108- prop-types version
1109
1110## 6.12.0
1111Mon, 23 Jul 2018 10:28:08 GMT
1112
1113### Minor changes
1114
1115- Addressing bad imports.
1116
1117## 6.11.0
1118Wed, 18 Jul 2018 10:25:50 GMT
1119
1120### Minor changes
1121
1122- Tighten typings of APIs around merge-styles to be more correct
1123
1124## 6.10.0
1125Tue, 17 Jul 2018 10:28:40 GMT
1126
1127### Minor changes
1128
1129- 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.
1130
1131## 6.9.0
1132Fri, 13 Jul 2018 21:32:37 GMT
1133
1134### Minor changes
1135
1136- Reverting the TypeScript bump, to un
1137
1138## 6.7.1
1139Wed, 20 Jun 2018 10:25:55 GMT
1140
1141### Patches
1142
1143- Prettier fixes
1144
1145## 6.7.0
1146Tue, 19 Jun 2018 10:26:26 GMT
1147
1148### Minor changes
1149
1150- 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.)
1151
1152### Patches
1153
1154- Handling `stylesheet.onReset` undefined scenarios better.
1155
1156## 6.6.0
1157Thu, 14 Jun 2018 20:52:57 GMT
1158
1159### Minor changes
1160
1161- Updating `styled` to pick up customizations without using the `customizable` decorator on the base component.
1162
1163### Patches
1164
1165- Minor JSDoc improvements.
1166
1167## 6.2.0
1168Thu, 07 Jun 2018 16:35:34 GMT
1169
1170### Minor changes
1171
1172- Added getFirstTabbable, Updated getNextElement to take tabbable param like getPreviousElement.
1173- Minor changes to improve server side rendering.
1174
1175### Patches
1176
1177- Code format changes
1178
1179## 6.0.5
1180Tue, 05 Jun 2018 00:44:30 GMT
1181
1182### Patches
1183
1184- Added Prettier
1185
1186## 6.0.4
1187Mon, 04 Jun 2018 10:16:13 GMT
1188
1189### Patches
1190
1191- Updating react typings.
1192
1193## 6.0.3
1194Fri, 01 Jun 2018 10:18:43 GMT
1195
1196### Patches
1197
1198- Add utility function to help merge ARIA attributes.
1199
1200## 6.0.2
1201Wed, 30 May 2018 22:05:04 GMT
1202
1203*Version update only*
1204
1205## 6.0.1
1206Wed, 30 May 2018 20:28:33 GMT
1207
1208### Patches
1209
1210- Minimum React version is now 16.3.2.
1211- Added `resetIds` api for adding predictability in jest tests.
1212
1213## 5.33.0
1214Wed, 23 May 2018 16:14:26 GMT
1215
1216### Minor changes
1217
1218- Reverting the ChoiceGroup styling update along with updates to utilities to avoid potentially breaking changes.
1219
1220## 5.32.0
1221Wed, 23 May 2018 10:28:50 GMT
1222
1223### Minor changes
1224
1225- Added `resetIds` api for adding predictability in jest tests.
1226- allow for customization of keycodes that cause the focus rect to appear
1227
1228## 5.31.0
1229Tue, 15 May 2018 07:09:49 GMT
1230
1231### Minor changes
1232
1233- Remove dependency on React from Async
1234
1235## 5.30.1
1236Fri, 04 May 2018 15:58:39 GMT
1237
1238### Patches
1239
1240- Updating React build version.
1241
1242## 5.30.0
1243Wed, 02 May 2018 23:55:40 GMT
1244
1245### Minor changes
1246
1247- Backing out `isEqual` change which is broken.
1248- Add accompanying utilities work for Keytips
1249
1250## 5.29.0
1251Fri, 27 Apr 2018 10:15:52 GMT
1252
1253### Minor changes
1254
1255- Allow a function to be passed to the Customizers props
1256
1257### Patches
1258
1259- Add isEqual and isNotEqual utilities
1260
1261## 5.28.0
1262Wed, 25 Apr 2018 05:32:09 GMT
1263
1264### Minor changes
1265
1266- Adding `isDirectionalKeyCode` helper.
1267
1268## 5.27.0
1269Mon, 23 Apr 2018 10:24:54 GMT
1270
1271### Minor changes
1272
1273- 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.
1274
1275## 5.26.0
1276Fri, 20 Apr 2018 23:06:06 GMT
1277
1278### Minor changes
1279
1280- InputMask: Added inputMask utilitiy and tests
1281
1282## 5.25.0
1283Thu, 19 Apr 2018 18:25:59 GMT
1284
1285### Minor changes
1286
1287- Update createRef to match React.createRef api
1288
1289## 5.24.0
1290Mon, 16 Apr 2018 10:23:26 GMT
1291
1292### Minor changes
1293
1294- 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.
1295- Upgrade to TypeScript 2.8.1
1296
1297### Patches
1298
1299- Removing module entry temporarily. (Will be added back in 6.0.)
1300- Updating build to React 16.3.1.
1301
1302## 5.23.0
1303Thu, 05 Apr 2018 10:15:39 GMT
1304
1305### Minor changes
1306
1307- Added IComponentAs as a type for 'render as' props in components
1308
1309## 5.22.1
1310Sat, 31 Mar 2018 17:40:00 GMT
1311
1312### Patches
1313
1314- asyncFocus: passing a component which has a focus method, but no `ownerDocument`, should still call focus.
1315
1316## 5.22.0
1317Wed, 28 Mar 2018 10:16:39 GMT
1318
1319### Minor changes
1320
1321- The initials logic used in calculating Persona initials now takes in a `allowPhoneInitials` param to allow for translating phone text to initials.
1322
1323## 5.21.0
1324Sun, 25 Mar 2018 03:08:03 GMT
1325
1326### Minor changes
1327
1328- Update createRef type
1329- Updating to webpack 4 for producting bundles. Adding appropriate `module` and `sideEffects` fl
1330
1331## 5.20.0
1332Fri, 23 Mar 2018 01:29:21 GMT
1333
1334### Minor changes
1335
1336- Introduced focusAsync for cheaper element focusing
1337
1338## 5.19.1
1339Wed, 21 Mar 2018 10:18:29 GMT
1340
1341### Patches
1342
1343- EventGroup.raise: event args are now correctly mixed into the event object.
1344
1345## 5.19.0
1346Tue, 20 Mar 2018 10:27:37 GMT
1347
1348### Minor changes
1349
1350- Make helper functions getWindow and getDocument accept `null`.
1351
1352## 5.18.3
1353Mon, 19 Mar 2018 10:27:55 GMT
1354
1355### Patches
1356
1357- Use arrow function properties instead of @autobind
1358
1359## 5.18.2
1360Thu, 15 Mar 2018 02:42:27 GMT
1361
1362### Patches
1363
1364- Revert focus changes
1365
1366## 5.18.1
1367Tue, 13 Mar 2018 10:17:37 GMT
1368
1369### Patches
1370
1371- Customizable: Fix hoist/customizations import so it doesn't break amd
1372
1373## 5.18.0
1374Mon, 12 Mar 2018 06:29:20 GMT
1375
1376### Minor changes
1377
1378- added hoistStatics function for use with decorators to fix broken statics issue, and added the fuction to the customizable decorator
1379
1380### Patches
1381
1382- 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.
1383- Styled: Add display name to styled wrapper
1384
1385## 5.17.1
1386Fri, 09 Mar 2018 15:07:28 GMT
1387
1388### Patches
1389
1390- Focus: Update getPreviousElement to traverse a potential childMatch's parent siblings (which was previously being skipped)
1391
1392## 5.17.0
1393Fri, 09 Mar 2018 11:13:58 GMT
1394
1395### Minor changes
1396
1397- Add hoistStatics function to withResponsiveMode decorator.
1398
1399## 5.16.0
1400Thu, 08 Mar 2018 11:27:24 GMT
1401
1402### Minor changes
1403
1404- Added hoistStatics function to @customizable decorator so static methods work properly
1405
1406## 5.15.0
1407Tue, 06 Mar 2018 11:13:36 GMT
1408
1409### Minor changes
1410
1411- Adds createRef polyfil to prepare for object refs.
1412
1413## 5.14.1
1414Tue, 06 Mar 2018 02:06:59 GMT
1415
1416### Patches
1417
1418- Replaced PureComponent with Component to appease website's UHF react version.
1419
1420## 5.14.0
1421Fri, 02 Mar 2018 11:25:35 GMT
1422
1423### Minor changes
1424
1425- Upgrade to TypeScript 2.7.2
1426- Update KeyCodes enum to include all key codes
1427
1428## 5.13.0
1429Thu, 22 Feb 2018 11:15:23 GMT
1430
1431### Minor changes
1432
1433- 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
1434
1435## 5.12.1
1436Wed, 21 Feb 2018 11:12:11 GMT
1437
1438### Patches
1439
1440- fix bug in IE that IE does not support Number.IsInteger
1441
1442## 5.12.0
1443Fri, 16 Feb 2018 11:23:29 GMT
1444
1445### Minor changes
1446
1447- Added a triangle abstraction class
1448
1449### Patches
1450
1451- Focus: Fix getPreviousElement to correctly walk across previous siblings if a potential child match was found
1452
1453## 5.11.0
1454Wed, 14 Feb 2018 22:10:50 GMT
1455
1456### Minor changes
1457
1458- BaseComponent.onError default implementation removed, exceptions now simply bubble out which lets partners use React 16 error handling.
1459
1460## 5.10.3
1461Tue, 13 Feb 2018 11:24:05 GMT
1462
1463### Patches
1464
1465- Export IClassNames fro Utilities for creating private getClassNames methods
1466
1467## 5.10.2
1468Thu, 08 Feb 2018 11:13:51 GMT
1469
1470### Patches
1471
1472- Return empty initials for phone numbers
1473
1474## 5.10.1
1475Wed, 07 Feb 2018 11:23:59 GMT
1476
1477### Patches
1478
1479- Fixing direct reference to @uifabric/utilities/lib from ResizeGroup
1480
1481## 5.10.0
1482Mon, 05 Feb 2018 11:24:23 GMT
1483
1484### Minor changes
1485
1486- [Math] implemented precision rounding functions
1487
1488## 5.9.0
1489Mon, 29 Jan 2018 11:23:40 GMT
1490
1491### Minor changes
1492
1493- Add work week date range type and update date math getDateRangeArray to consume it, add unit tests
1494
1495## 5.8.0
1496Fri, 26 Jan 2018 11:25:22 GMT
1497
1498### Minor changes
1499
1500- IBaseProps: typings adjusted to be less restrictive and compatible with strict mode.
1501
1502## 5.7.1
1503Thu, 25 Jan 2018 11:23:06 GMT
1504
1505### Patches
1506
1507- Set timeout ids to null for cancel and flush functions
1508
1509## 5.7.0
1510Mon, 22 Jan 2018 11:14:27 GMT
1511
1512### Minor changes
1513
1514- Adding a helper component to inject context values
1515
1516## 5.6.1
1517Tue, 19 Dec 2017 11:22:47 GMT
1518
1519### Patches
1520
1521- Broaden the range of allowed prop-type versions
1522
1523## 5.6.0
1524Sat, 16 Dec 2017 05:07:22 GMT
1525
1526### Minor changes
1527
1528- Updated build to newest React version and typings. Updated tests and made various tweaks to the code to remove React warnings and keep Enzyme
1529
1530## 5.5.0
1531Tue, 28 Nov 2017 02:24:21 GMT
1532
1533### Minor changes
1534
1535- Moving `styled` and `getClassNameFunction` out of styling to utilities.
1536
1537## 5.4.0
1538Mon, 13 Nov 2017 11:20:56 GMT
1539
1540### Minor changes
1541
1542- BaseComponent: fixing some typings to be compatible with current React typings.
1543
1544## 5.3.3
1545Fri, 10 Nov 2017 17:09:36 GMT
1546
1547### Patches
1548
1549- Object: getId: updated so it will correctly return a string rather than an int
1550
1551## 5.3.2
1552Wed, 08 Nov 2017 11:11:27 GMT
1553
1554### Patches
1555
1556- 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.
1557
1558## 5.3.1
1559Wed, 08 Nov 2017 06:05:34 GMT
1560
1561### Patches
1562
1563- Update @uifabric/utilities
1564
1565## 5.3.0
1566Wed, 18 Oct 2017 10:21:25 GMT
1567
1568### Minor changes
1569
1570- Add cancel/flush to debounce
1571
1572## 5.2.1
1573Fri, 06 Oct 2017 10:18:41 GMT
1574
1575### Patches
1576
1577- TSConfig: update to use preserveConstEnums so that certain builds s ystems don't break when importing const enums
1578
1579## 5.2.0
1580Thu, 05 Oct 2017 17:03:43 GMT
1581
1582### Minor changes
1583
1584- Undoing 6.0 bump which was made by automation inadvertently.
1585- Fixing version dependencies.
1586
1587## 5.1.0
1588Thu, 05 Oct 2017 16:29:11 GMT
1589
1590### Minor changes
1591
1592- Undoing 6.0 bump which was made by automation inadvertently.
1593
1594## 6.0.0
1595Wed, 04 Oct 2017 22:40:22 GMT
1596
1597### Breaking changes
1598
1599- Positioning: Refactored positioning and removed deprecated properties
1600
1601## 5.0.1
1602Wed, 27 Sep 2017 00:20:58 GMT
1603
1604### Patches
1605
1606- Updated for Fabric 5.0.
1607
1608## 4.16.0
1609Tue, 26 Sep 2017 20:42:17 GMT
1610
1611### Minor changes
1612
1613- Reverting Customizer changes, as they are breaking. Will include in 5.0.
1614
1615## 4.15.0
1616Tue, 26 Sep 2017 10:09:04 GMT
1617
1618### Minor changes
1619
1620- Updating Customizer to support `scopedSettings` prop. Adding a `Customizations` object for applying global and scoped customizations in non-React environments.
1621
1622## 4.14.1
1623Mon, 25 Sep 2017 10:19:18 GMT
1624
1625### Patches
1626
1627- Array: Add utility functions for updating arrays immutably
1628
1629## 4.14.0
1630Fri, 22 Sep 2017 19:08:51 GMT
1631
1632### Minor changes
1633
1634- Adding `mapEnumByName` helper.
1635
1636## 4.13.1
1637Thu, 14 Sep 2017 00:34:57 GMT
1638
1639### Patches
1640
1641- getLanguage: Use localStorage wrapper helpers to avoid exceptions thrown by the browser when accessing localStorage.
1642
1643## 4.13.0
1644Mon, 04 Sep 2017 10:16:56 GMT
1645
1646### Minor changes
1647
1648- Add ISize interface and fitContentToBounds utility function
1649
1650## 4.12.1
1651Fri, 01 Sep 2017 18:06:55 GMT
1652
1653### Patches
1654
1655- Set the RTL language when the language is read from session storage
1656
1657## 4.12.0
1658Thu, 31 Aug 2017 15:41:56 GMT
1659
1660### Minor changes
1661
1662- RTL: Persist rtl settings between sessions
1663
1664## 4.11.1
1665Tue, 29 Aug 2017 20:55:35 GMT
1666
1667### Patches
1668
1669- Adjusted build to produce sourcemaps with correct sourceRoot.
1670
1671## 4.11.0
1672Tue, 29 Aug 2017 10:20:56 GMT
1673
1674### Minor changes
1675
1676- Array: rename removeElement to removeIndex
1677
1678## 4.10.3
1679Mon, 28 Aug 2017 10:09:32 GMT
1680
1681### Patches
1682
1683- Array: Add removeElement method
1684
1685## 4.10.2
1686Fri, 25 Aug 2017 20:31:51 GMT
1687
1688### Patches
1689
1690- Adding back sourcemap content to .map files, which should alleviate "../src/* missing" issues when using webpack.
1691
1692## 4.10.1
1693Fri, 25 Aug 2017 10:09:40 GMT
1694
1695### Patches
1696
1697- Array: Add find utility method
1698- BaseComponent: Make State type optional to be consistent with React.Component typing
1699
1700## 4.10.0
1701Thu, 24 Aug 2017 05:38:14 GMT
1702
1703### Minor changes
1704
1705- createArray: reverting previous change to make getItem optional, cleaning up so that the return value is correct.
1706- Array: Add typesafety for createArray and findIndex
1707
1708## 4.9.1
1709Mon, 21 Aug 2017 10:19:29 GMT
1710
1711### Patches
1712
1713- Minor tweaks to utilities to reduce the graph edges.
1714
1715## 4.9.0
1716Thu, 03 Aug 2017 10:13:03 GMT
1717
1718### Minor changes
1719
1720- TypeScript 2.4.1 bump
1721
1722## 4.8.1
1723Fri, 21 Jul 2017 10:21:45 GMT
1724
1725### Patches
1726
1727- Fixing filteredAssign function
1728
1729## 4.8.0
1730Wed, 19 Jul 2017 21:40:34 GMT
1731
1732### Minor changes
1733
1734- Add assertNever function for exhaustive null checking
1735
1736## 4.7.2
1737Wed, 12 Jul 2017 01:49:50 GMT
1738
1739### Patches
1740
1741- Fixing typings for TypeScript 2.4.1 compatibility.
1742
1743## 4.7.1
1744Sat, 08 Jul 2017 03:34:35 GMT
1745
1746### Patches
1747
1748- Updating library comments.
1749
1750## 4.7.0
1751Thu, 06 Jul 2017 10:11:47 GMT
1752
1753### Minor changes
1754
1755- Adding export for GlobalSettings object.
1756
1757## 4.6.0
1758Fri, 30 Jun 2017 19:44:26 GMT
1759
1760### Minor changes
1761
1762- 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.
1763
1764## 4.5.0
1765Thu, 29 Jun 2017 20:48:31 GMT
1766
1767### Minor changes
1768
1769- Adding a new Grid utility
1770
1771## 4.4.2
1772Thu, 29 Jun 2017 10:13:16 GMT
1773
1774### Patches
1775
1776- Removing localstorage persistence for rtl helpers.
1777
1778## 4.4.1
1779Tue, 27 Jun 2017 01:26:31 GMT
1780
1781### Patches
1782
1783- Enable forceConsistentCasingInFileNames tsconfig option
1784
1785## 4.4.0
1786Wed, 21 Jun 2017 01:52:48 GMT
1787
1788### Minor changes
1789
1790- Add FabricPerformance utility to measure performance
1791
1792## 4.3.0
1793Wed, 14 Jun 2017 06:02:15 GMT
1794
1795### Minor changes
1796
1797- Enable strictNullChecks in utilities package
1798
1799### Patches
1800
1801- isTabbableElement: fixed edge cases with identifying focusable elements that have tabIndex assigned.
1802- Focus Utility should respect tabindex=-1 on tabable elements
1803
1804## 4.2.0
1805Mon, 12 Jun 2017 01:47:18 GMT
1806
1807### Minor changes
1808
1809- Enable no implicit any in utilities package
1810
1811## 4.1.2
1812Thu, 08 Jun 2017 00:18:05 GMT
1813
1814### Patches
1815
1816- Adding a try-catch around setting RTL in local storage for the browser
1817
1818## 4.1.1
1819Tue, 06 Jun 2017 06:06:46 GMT
1820
1821### Patches
1822
1823- Adding tslib dependency to reduce re
1824
1825## 4.1.0
1826Tue, 06 Jun 2017 00:50:06 GMT
1827
1828### Minor changes
1829
1830- Customizer/customizable: adjusting to take in fields, rather than a single string representing the thing to customize.
1831
1832### Patches
1833
1834- memoize: returns the callback in scenarios where WeakMap isn't available.
1835
1836## 4.0.1
1837Thu, 01 Jun 2017 16:34:03 GMT
1838
1839### Patches
1840
1841- getDocument/getWindow: now checks for doc/win undefined before accessing, making them ssr happy.
1842- Update Focus handling to suport immediately-nested focus zones
1843
1844## 4.0.0
1845Tue, 30 May 2017 03:27:20 GMT
1846
1847### Breaking changes
1848
1849- memoize/memoizeFunction: memoize converted to a decorator, memoizeFunction is now for memoizing functions.
1850- getLangauge/setLanguage: new apis added for getting/setting the language normally specified on the html lang attribute.
1851
1852### Patches
1853
1854- Introduce prop-types instead of React.PropTypes
1855
1856## 1.10.2
1857Fri, 26 May 2017 10:21:03 GMT
1858
1859### Patches
1860
1861- Utilities: Fixed incorrect calculation of initials. Properly remove unwanted ASCII characters, and do not calculate initials for Arabic and CJK based languages.
1862
1863## 1.10.1
1864Wed, 24 May 2017 23:52:09 GMT
1865
1866### Patches
1867
1868- Add utlities for unit tests that need to override or spy on React lifecycle methods
1869
1870## 1.10.0
1871Tue, 23 May 2017 10:16:04 GMT
1872
1873### Minor changes
1874
1875- warn: Making ISettingsMap have optionals so that the warn utilities can be used for Prop interfaces containing required params.
1876
1877## 1.9.0
1878Thu, 18 May 2017 10:09:58 GMT
1879
1880### Minor changes
1881
1882- Adding memoize utility. Updating css to handle serializable objects. Updating rtl helper to respect a localStorage setting.
1883
1884## 1.8.7
1885Fri, 05 May 2017 10:18:19 GMT
1886
1887### Patches
1888
1889- getRTL: fixing an issue to ensure it is once again SSR friendly.
1890
1891## 1.8.6
1892Thu, 04 May 2017 10:08:59 GMT
1893
1894### Patches
1895
1896- Removes label from native properties
1897
1898## 1.8.5
1899Tue, 02 May 2017 10:09:08 GMT
1900
1901### Patches
1902
1903- withViewport: Preserving the `forceUpdate` parameter when asynchronously re-resolving the viewport size.
1904
1905## 1.8.4
1906Fri, 21 Apr 2017 06:23:54 GMT
1907
1908### Patches
1909
1910- Updating setRTL to write isRTL to local storage. This allows the setting to persist across sessions.
1911
1912## 1.8.0
1913Wed, 19 Apr 2017 16:54:26 GMT
1914
1915### Minor changes
1916
1917- Adding warn utilities for console logging warnings on misuse.
1918
1919## 1.7.0
1920Fri, 14 Apr 2017 03:06:28 GMT
1921
1922### Minor changes
1923
1924- overflow: Utilities for detecting overflow in elements
1925
1926## 1.6.0
1927Thu, 06 Apr 2017 03:12:13 GMT
1928
1929### Minor changes
1930
1931- Updating typings in warn.ts.
1932
1933## 1.5.0
1934Tue, 04 Apr 2017 15:18:51 GMT
1935
1936### Minor changes
1937
1938- BaseComponent: added support for resolving `componentRef` automatically. Also added `_warnDeprecations` and `_warnMutualExclusion` helpers for warning on misuse.
1939
1940## 1.4.0
1941Thu, 30 Mar 2017 21:04:29 GMT
1942
1943### Minor changes
1944
1945- Adding `setBodyScroll` method to enable/disable body scrolling. Useful for Overlay scenarios where you would want to disable the scrolling behind the overlay.
1946
1947## 1.3.0
1948Thu, 23 Mar 2017 03:13:02 GMT
1949
1950### Minor changes
1951
1952- Adding some utility functions to handle date range calculations and determining if a date falls within a date range.
1953
1954## 1.2.0
1955Fri, 10 Mar 2017 20:41:05 GMT
1956
1957### Minor changes
1958
1959- Adjusting React peer dependency to i
1960
1961## 1.1.0
1962Wed, 01 Mar 2017 20:31:22 GMT
1963
1964### Minor changes
1965
1966- Utilities: adding getInitials utility.
1967
1968## 1.0.3
1969Mon, 13 Feb 2017 08:15:53 GMT
1970
1971### Patches
1972
1973- Updating package.json dependencies to exclude typings packages.
1974
1975## 1.0.2
1976Fri, 27 Jan 2017 04:09:14 GMT
1977
1978### Patches
1979
1980- autobind: Does not re-bind every time a decorated method is accessed anymore.
1981
1982## 1.0.1
1983Wed, 25 Jan 2017 04:11:36 GMT
1984
1985### Patches
1986
1987- rtl utility should read rtl attribute on first read.
1988
1989## 1.0.0
1990Mon, 16 Jan 2017 21:57:33 GMT
1991
1992### Breaking changes
1993
1994- Introducing a new package to contain all baseline utilities that are commonly used amongst Fabric components.