@fluentui/react-utilities
Advanced tools
Comparing version 9.0.0-alpha.26 to 9.0.0-alpha.27
@@ -5,6 +5,51 @@ { | ||
{ | ||
"date": "Fri, 28 May 2021 07:33:18 GMT", | ||
"date": "Fri, 04 Jun 2021 07:33:25 GMT", | ||
"tag": "@fluentui/react-utilities_v9.0.0-alpha.27", | ||
"version": "9.0.0-alpha.27", | ||
"comments": { | ||
"prerelease": [ | ||
{ | ||
"comment": "Moving onlyChild to @fluentui/react-utilities and adding tests.", | ||
"author": "Humberto.Morimoto@microsoft.com", | ||
"commit": "1ca8c8f0c4eb633e6b34c0b6182c09103d4c7fcb", | ||
"package": "@fluentui/react-utilities" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Thu, 03 Jun 2021 07:36:03 GMT", | ||
"tag": "@fluentui/react-utilities_v9.0.0-alpha.26", | ||
"version": "9.0.0-alpha.26", | ||
"comments": { | ||
"none": [ | ||
{ | ||
"comment": "fix(react-utilities): explicitly provide context for setTimeout call", | ||
"author": "martinhochel@microsoft.com", | ||
"commit": "01f798f6ac6b7b0e4c968e34a0c3f0e692aa3d43", | ||
"package": "@fluentui/react-utilities" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Tue, 01 Jun 2021 07:31:58 GMT", | ||
"tag": "@fluentui/react-utilities_v9.0.0-alpha.26", | ||
"version": "9.0.0-alpha.26", | ||
"comments": { | ||
"none": [ | ||
{ | ||
"comment": "Revert \"chore: enable Jest aliases for converged packages (#18337)\"", | ||
"author": "olfedias@microsoft.com", | ||
"commit": "b5f2a02b37c8ea394a65f7a22bff057de93370dd", | ||
"package": "@fluentui/react-utilities" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Fri, 28 May 2021 07:33:57 GMT", | ||
"tag": "@fluentui/react-utilities_v9.0.0-alpha.26", | ||
"version": "9.0.0-alpha.26", | ||
"comments": { | ||
"prerelease": [ | ||
@@ -11,0 +56,0 @@ { |
# Change Log - @fluentui/react-utilities | ||
This log was last generated on Fri, 28 May 2021 07:33:18 GMT and should not be manually modified. | ||
This log was last generated on Fri, 04 Jun 2021 07:33:25 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [9.0.0-alpha.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-utilities_v9.0.0-alpha.27) | ||
Fri, 04 Jun 2021 07:33:25 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-utilities_v9.0.0-alpha.26..@fluentui/react-utilities_v9.0.0-alpha.27) | ||
### Changes | ||
- Moving onlyChild to @fluentui/react-utilities and adding tests. ([PR #18168](https://github.com/microsoft/fluentui/pull/18168) by Humberto.Morimoto@microsoft.com) | ||
## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-utilities_v9.0.0-alpha.26) | ||
Fri, 28 May 2021 07:33:18 GMT | ||
Fri, 28 May 2021 07:33:57 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-utilities_v9.0.0-alpha.25..@fluentui/react-utilities_v9.0.0-alpha.26) | ||
@@ -11,0 +20,0 @@ |
@@ -276,2 +276,7 @@ import * as React_2 from 'react'; | ||
/** | ||
* Similar to React.Children.only, but drills into fragments rather than treating them as a single child | ||
*/ | ||
export declare const onlyChild: (child: React_2.ReactNode) => React_2.ReactElement; | ||
export declare const optionProperties: Record<string, number>; | ||
@@ -278,0 +283,0 @@ |
@@ -160,2 +160,5 @@ ## API Report File for "@fluentui/react-utilities" | ||
// @public | ||
export const onlyChild: (child: React_2.ReactNode) => React_2.ReactElement; | ||
// @public (undocumented) | ||
@@ -162,0 +165,0 @@ export const optionProperties: Record<string, number>; |
@@ -36,3 +36,3 @@ define(["require", "exports", "react", "./useEventCallback"], function (require, exports, React, useEventCallback_1) { | ||
// Garbage collect this event after it's no longer useful to avoid memory leaks | ||
timeoutId.current = setTimeout(function () { | ||
timeoutId.current = window.setTimeout(function () { | ||
currentEvent = undefined; | ||
@@ -39,0 +39,0 @@ }, 1); |
export * from './getNativeElementProps'; | ||
export * from './omit'; | ||
export * from './onlyChild'; | ||
export * from './properties'; | ||
export * from './shouldPreventDefaultOnKeyDown'; |
@@ -1,2 +0,2 @@ | ||
define(["require", "exports", "tslib", "./getNativeElementProps", "./omit", "./properties", "./shouldPreventDefaultOnKeyDown"], function (require, exports, tslib_1, getNativeElementProps_1, omit_1, properties_1, shouldPreventDefaultOnKeyDown_1) { | ||
define(["require", "exports", "tslib", "./getNativeElementProps", "./omit", "./onlyChild", "./properties", "./shouldPreventDefaultOnKeyDown"], function (require, exports, tslib_1, getNativeElementProps_1, omit_1, onlyChild_1, properties_1, shouldPreventDefaultOnKeyDown_1) { | ||
"use strict"; | ||
@@ -6,2 +6,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
tslib_1.__exportStar(omit_1, exports); | ||
tslib_1.__exportStar(onlyChild_1, exports); | ||
tslib_1.__exportStar(properties_1, exports); | ||
@@ -8,0 +9,0 @@ tslib_1.__exportStar(shouldPreventDefaultOnKeyDown_1, exports); |
@@ -58,3 +58,3 @@ "use strict"; | ||
timeoutId.current = setTimeout(function () { | ||
timeoutId.current = window.setTimeout(function () { | ||
currentEvent = undefined; | ||
@@ -61,0 +61,0 @@ }, 1); |
export * from './getNativeElementProps'; | ||
export * from './omit'; | ||
export * from './onlyChild'; | ||
export * from './properties'; | ||
export * from './shouldPreventDefaultOnKeyDown'; |
@@ -13,2 +13,4 @@ "use strict"; | ||
tslib_1.__exportStar(require("./onlyChild"), exports); | ||
tslib_1.__exportStar(require("./properties"), exports); | ||
@@ -15,0 +17,0 @@ |
@@ -49,3 +49,3 @@ import * as React from 'react'; | ||
timeoutId.current = setTimeout(function () { | ||
timeoutId.current = window.setTimeout(function () { | ||
currentEvent = undefined; | ||
@@ -52,0 +52,0 @@ }, 1); |
export * from './getNativeElementProps'; | ||
export * from './omit'; | ||
export * from './onlyChild'; | ||
export * from './properties'; | ||
export * from './shouldPreventDefaultOnKeyDown'; |
export * from './getNativeElementProps'; | ||
export * from './omit'; | ||
export * from './onlyChild'; | ||
export * from './properties'; | ||
export * from './shouldPreventDefaultOnKeyDown'; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@fluentui/react-utilities", | ||
"version": "9.0.0-alpha.26", | ||
"version": "9.0.0-alpha.27", | ||
"description": "A set of general React-specific utilities.", | ||
@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
652245
118115
301
7513
40
22
286