@react-md/utils
Advanced tools
Comparing version 2.3.0-alpha.1 to 2.3.0-alpha.2
@@ -6,2 +6,25 @@ # Change Log | ||
# [2.3.0-alpha.2](https://github.com/mlaursen/react-md/compare/v2.2.0...v2.3.0-alpha.2) (2020-09-05) | ||
### Features | ||
- **a11y:** improved `LabelRequiredForA11y` type definition | ||
([b7aa4fa](https://github.com/mlaursen/react-md/commit/b7aa4fadb7b4f1a23fba4008e42d2f4a4bd47c07)) | ||
- **grid:** added hook to access grid list size | ||
([a448816](https://github.com/mlaursen/react-md/commit/a44881602de57447e9cb5ba720f5f2c031936863)) | ||
- **grid:** added new `cloneStyles` prop so grid styles can be applied to any | ||
child | ||
([ca913e7](https://github.com/mlaursen/react-md/commit/ca913e75926a6d665c6aeed56faa292d201a5287)) | ||
- [@react-md/utils](../utils): added `Dir` component to help determine current | ||
writing direction | ||
([a929e04](https://github.com/mlaursen/react-md/commit/a929e04b20bf41c3bff109714d9cf850bac99eb3)) | ||
- [@react-md/utils](../utils): added `useGridList` hook | ||
([56ecc19](https://github.com/mlaursen/react-md/commit/56ecc19d748e3c63b6d27180ceedb385364fba43)) | ||
- [@react-md/utils](../utils): added useIsomorphicLayoutEffect from react-redux | ||
([deacf1c](https://github.com/mlaursen/react-md/commit/deacf1c01f62adebbfbfbb3f0d5709cdab0cc537)) | ||
- [@react-md/utils](../utils): created a new useResizeObserver implementation | ||
([dc3f4df](https://github.com/mlaursen/react-md/commit/dc3f4df744e4357c21e527986f4b762351345dfe)) | ||
- [@react-md/utils](../utils): more verbose useAppSize usage error message | ||
([2c81982](https://github.com/mlaursen/react-md/commit/2c81982c6aef1a28c774b5b8263b141a44ab0949)) | ||
# [2.3.0-alpha.1](https://github.com/mlaursen/react-md/compare/v2.2.0...v2.3.0-alpha.1) (2020-09-03) | ||
@@ -8,0 +31,0 @@ |
@@ -80,4 +80,4 @@ var __assign = (this && this.__assign) || function () { | ||
}; | ||
for (var j = 0; j < subscriptions.length; j += 1) { | ||
var subscription = subscriptions[j]; | ||
for (var j = 0; j < currentSubscriptions.length; j += 1) { | ||
var subscription = currentSubscriptions[j]; | ||
var handler = subscription.handler, prevSize = subscription.prevSize, disableHeight = subscription.disableHeight, disableWidth = subscription.disableWidth; | ||
@@ -84,0 +84,0 @@ var isNewHeight = isHeightChange(prevSize, nextSize); |
@@ -86,4 +86,4 @@ "use strict"; | ||
}; | ||
for (var j = 0; j < subscriptions.length; j += 1) { | ||
var subscription = subscriptions[j]; | ||
for (var j = 0; j < currentSubscriptions.length; j += 1) { | ||
var subscription = currentSubscriptions[j]; | ||
var handler = subscription.handler, prevSize = subscription.prevSize, disableHeight = subscription.disableHeight, disableWidth = subscription.disableWidth; | ||
@@ -90,0 +90,0 @@ var isNewHeight = isHeightChange(prevSize, nextSize); |
{ | ||
"name": "@react-md/utils", | ||
"version": "2.3.0-alpha.1", | ||
"version": "2.3.0-alpha.2", | ||
"description": "General utils for react-md.", | ||
@@ -53,3 +53,3 @@ "scripts": { | ||
}, | ||
"gitHead": "a1c24cacc88fcb9ba3ba8bec2dd0a97a2b885553" | ||
"gitHead": "71089d4a203d944465d73ac5f940c1d8798974a5" | ||
} |
@@ -173,4 +173,4 @@ import { Ref } from "react"; | ||
for (let j = 0; j < subscriptions.length; j += 1) { | ||
const subscription = subscriptions[j]; | ||
for (let j = 0; j < currentSubscriptions.length; j += 1) { | ||
const subscription = currentSubscriptions[j]; | ||
const { handler, prevSize, disableHeight, disableWidth } = subscription; | ||
@@ -177,0 +177,0 @@ const isNewHeight = isHeightChange(prevSize, nextSize); |
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
1478707
29323