@react-md/divider
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -6,2 +6,10 @@ # Change Log | ||
## [4.0.1](https://github.com/mlaursen/react-md/compare/v4.0.0...v4.0.1) (2021-11-27) | ||
**Note:** Version bump only for package @react-md/divider | ||
# [4.0.0](https://github.com/mlaursen/react-md/compare/v3.1.1...v4.0.0) (2021-11-24) | ||
@@ -8,0 +16,0 @@ |
@@ -23,2 +23,18 @@ var __assign = (this && this.__assign) || function () { | ||
}; | ||
var __read = (this && this.__read) || function (o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
}; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
@@ -40,3 +56,3 @@ import { forwardRef, useCallback, useState } from "react"; | ||
} | ||
var _a = useState(undefined), height = _a[0], setHeight = _a[1]; | ||
var _a = __read(useState(undefined), 2), height = _a[0], setHeight = _a[1]; | ||
var ref = useCallback(function (instance) { | ||
@@ -43,0 +59,0 @@ applyRef(instance, forwardedRef); |
@@ -24,2 +24,18 @@ "use strict"; | ||
}; | ||
var __read = (this && this.__read) || function (o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -43,3 +59,3 @@ exports.VerticalDivider = exports.useVerticalDividerHeight = void 0; | ||
} | ||
var _a = (0, react_1.useState)(undefined), height = _a[0], setHeight = _a[1]; | ||
var _a = __read((0, react_1.useState)(undefined), 2), height = _a[0], setHeight = _a[1]; | ||
var ref = (0, react_1.useCallback)(function (instance) { | ||
@@ -46,0 +62,0 @@ (0, utils_1.applyRef)(instance, forwardedRef); |
{ | ||
"name": "@react-md/divider", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "This package is used to create horizontal or vertical dividers in your application.", | ||
@@ -31,4 +31,4 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@react-md/theme": "^4.0.0", | ||
"@react-md/utils": "^4.0.0", | ||
"@react-md/theme": "^4.0.1", | ||
"@react-md/utils": "^4.0.1", | ||
"classnames": "^2.3.1" | ||
@@ -46,3 +46,3 @@ }, | ||
}, | ||
"gitHead": "a9f2d64a777698fa65bb3196f6063cdd8321f5cb" | ||
"gitHead": "0df0f24d688ea7c867b7ef656ee9887f00215705" | ||
} |
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
59306
586
Updated@react-md/theme@^4.0.1
Updated@react-md/utils@^4.0.1