@uifabric/react-hooks
Advanced tools
Comparing version 7.4.11 to 7.4.12
@@ -1,2 +0,2 @@ | ||
var FabricReactHooks=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=3)}([function(t,e){t.exports=React},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r={},i=void 0;try{i=window}catch(t){}function o(t,e){if(void 0!==i){var n=i.__packages__=i.__packages__||{};if(!n[t]||!r[t])r[t]=e,(n[t]=n[t]||[]).push(e)}}o("@uifabric/set-version","6.0.0")},,function(t,e,n){"use strict";n.r(e),n.d(e,"useBoolean",(function(){return s})),n.d(e,"useConst",(function(){return a})),n.d(e,"useConstCallback",(function(){return o})),n.d(e,"useId",(function(){return T})),n.d(e,"useMergedRefs",(function(){return E})),n.d(e,"useControllableValue",(function(){return w})),n.d(e,"useAsync",(function(){return C})),n.d(e,"useOnEvent",(function(){return R})),n.d(e,"useForceUpdate",(function(){return S})),n.d(e,"usePrevious",(function(){return N}));var r=n(1);Object(r.a)("@uifabric/react-hooks","7.4.11");var i=n(0);function o(t){var e=i.useRef();return e.current||(e.current=t),e.current}function s(t){var e=i.useState(t),n=e[0],r=e[1],s=i.useRef(n),a=o((function(){r(!0),s.current=!0})),u=o((function(){r(!1),s.current=!1})),c=o((function(){return s.current?u():a()}));return[n,{setTrue:a,setFalse:u,toggle:c}]}function a(t){var e=i.useRef();return void 0===e.current&&(e.current={value:"function"==typeof t?t():t}),e.current.value}var u=!1;var c=void 0;try{c=window}catch(t){}function l(t){if(!u&&void 0!==c){var e=t;return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:c}} | ||
var FabricReactHooks=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=3)}([function(t,e){t.exports=React},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r={},i=void 0;try{i=window}catch(t){}function o(t,e){if(void 0!==i){var n=i.__packages__=i.__packages__||{};if(!n[t]||!r[t])r[t]=e,(n[t]=n[t]||[]).push(e)}}o("@uifabric/set-version","6.0.0")},,function(t,e,n){"use strict";n.r(e),n.d(e,"useBoolean",(function(){return s})),n.d(e,"useConst",(function(){return a})),n.d(e,"useConstCallback",(function(){return o})),n.d(e,"useId",(function(){return T})),n.d(e,"useMergedRefs",(function(){return E})),n.d(e,"useControllableValue",(function(){return w})),n.d(e,"useAsync",(function(){return C})),n.d(e,"useOnEvent",(function(){return R})),n.d(e,"useForceUpdate",(function(){return S})),n.d(e,"usePrevious",(function(){return N}));var r=n(1);Object(r.a)("@uifabric/react-hooks","7.4.12");var i=n(0);function o(t){var e=i.useRef();return e.current||(e.current=t),e.current}function s(t){var e=i.useState(t),n=e[0],r=e[1],s=i.useRef(n),a=o((function(){r(!0),s.current=!0})),u=o((function(){r(!1),s.current=!1})),c=o((function(){return s.current?u():a()}));return[n,{setTrue:a,setFalse:u,toggle:c}]}function a(t){var e=i.useRef();return void 0===e.current&&(e.current={value:"function"==typeof t?t():t}),e.current.value}var u=!1;var c=void 0;try{c=window}catch(t){}function l(t){if(!u&&void 0!==c){var e=t;return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:c}} | ||
/*! ***************************************************************************** | ||
@@ -3,0 +3,0 @@ Copyright (c) Microsoft Corporation. All rights reserved. |
define(["require", "exports", "@uifabric/set-version"], function (require, exports, set_version_1) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
set_version_1.setVersion('@uifabric/react-hooks', '7.4.11'); | ||
set_version_1.setVersion('@uifabric/react-hooks', '7.4.12'); | ||
}); | ||
//# sourceMappingURL=version.js.map |
@@ -6,3 +6,3 @@ "use strict"; | ||
var set_version_1 = require("@uifabric/set-version"); | ||
set_version_1.setVersion('@uifabric/react-hooks', '7.4.11'); | ||
set_version_1.setVersion('@uifabric/react-hooks', '7.4.12'); | ||
//# sourceMappingURL=version.js.map |
// Do not modify this file; it is generated as part of publish. | ||
// The checked in version is a placeholder only and will not be updated. | ||
import { setVersion } from '@uifabric/set-version'; | ||
setVersion('@uifabric/react-hooks', '7.4.11'); | ||
setVersion('@uifabric/react-hooks', '7.4.12'); | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@uifabric/react-hooks", | ||
"version": "7.4.11", | ||
"version": "7.4.12", | ||
"description": "Fluent UI React hooks.", | ||
@@ -43,3 +43,3 @@ "main": "lib-commonjs/index.js", | ||
"@uifabric/set-version": "^7.0.15", | ||
"@uifabric/utilities": "^7.22.0", | ||
"@uifabric/utilities": "^7.23.0", | ||
"tslib": "^1.10.0" | ||
@@ -46,0 +46,0 @@ }, |
Sorry, the diff of this file is too big to display
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
873827
10221
Updated@uifabric/utilities@^7.23.0