@react-md/divider
Advanced tools
Comparing version 2.6.0 to 2.7.0
@@ -6,2 +6,20 @@ # Change Log | ||
# [2.7.0](https://github.com/mlaursen/react-md/compare/v2.6.0...v2.7.0) (2021-02-28) | ||
### Documentation | ||
* **tsdoc:** fixed remaining tsdoc syntax warnings ([946f4dd](https://github.com/mlaursen/react-md/commit/946f4dddf380b9f2313fb76d54d969aa2adbff53)) | ||
* **tsdoc:** fixed some tsdoc annotations and styling ([0449b86](https://github.com/mlaursen/react-md/commit/0449b86e4e51793710b35a452b7ebcbb6e7b5b2e)) | ||
### Other Internal Changes | ||
* updated test coverage to not include conditional component PropTypes ([24e5df1](https://github.com/mlaursen/react-md/commit/24e5df14c731411d7691253383435036326407b5)) | ||
# [2.6.0](https://github.com/mlaursen/react-md/compare/v2.5.5...v2.6.0) (2021-02-13) | ||
@@ -8,0 +26,0 @@ |
@@ -1,5 +0,1 @@ | ||
/** | ||
* This file was generated from @react-md/dev-utils and should not be updated | ||
* manually. | ||
*/ | ||
declare const _default: { | ||
@@ -6,0 +2,0 @@ "rmd-divider-size": string; |
"use strict"; | ||
/** | ||
/* | ||
* This file was generated from @react-md/dev-utils and should not be updated | ||
@@ -4,0 +4,0 @@ * manually. |
@@ -32,2 +32,3 @@ var __assign = (this && this.__assign) || function () { | ||
}); | ||
/* istanbul ignore next */ | ||
if (process.env.NODE_ENV !== "production") { | ||
@@ -34,0 +35,0 @@ try { |
@@ -27,8 +27,8 @@ var __assign = (this && this.__assign) || function () { | ||
/** | ||
* This is a small hook that is used to automatically create a vertical divider based | ||
* on the computed height of its parent element. | ||
* This is a small hook that is used to automatically create a vertical divider | ||
* based on the computed height of its parent element. | ||
* | ||
* @param maxHeight The max height for the vertical divider. When the value is between | ||
* 0 and 1, it will be used as a percentage. Otherwise the smaller value of parent element | ||
* height and this will be used. | ||
* @param maxHeight - The max height for the vertical divider. When the value is | ||
* between 0 and 1, it will be used as a percentage. Otherwise the smaller value | ||
* of parent element height and this will be used. | ||
*/ | ||
@@ -68,2 +68,3 @@ export function useVerticalDividerHeight(maxHeight, forwardedRef) { | ||
}); | ||
/* istanbul ignore next */ | ||
if (process.env.NODE_ENV !== "production") { | ||
@@ -70,0 +71,0 @@ try { |
@@ -57,2 +57,3 @@ "use strict"; | ||
}); | ||
/* istanbul ignore next */ | ||
if (process.env.NODE_ENV !== "production") { | ||
@@ -59,0 +60,0 @@ try { |
@@ -18,8 +18,8 @@ import React, { HTMLAttributes, Ref } from "react"; | ||
/** | ||
* This is a small hook that is used to automatically create a vertical divider based | ||
* on the computed height of its parent element. | ||
* This is a small hook that is used to automatically create a vertical divider | ||
* based on the computed height of its parent element. | ||
* | ||
* @param maxHeight The max height for the vertical divider. When the value is between | ||
* 0 and 1, it will be used as a percentage. Otherwise the smaller value of parent element | ||
* height and this will be used. | ||
* @param maxHeight - The max height for the vertical divider. When the value is | ||
* between 0 and 1, it will be used as a percentage. Otherwise the smaller value | ||
* of parent element height and this will be used. | ||
*/ | ||
@@ -26,0 +26,0 @@ export declare function useVerticalDividerHeight(maxHeight: number, forwardedRef?: Ref<HTMLDivElement | null> | undefined): VerticalDividerHeight; |
@@ -49,8 +49,8 @@ "use strict"; | ||
/** | ||
* This is a small hook that is used to automatically create a vertical divider based | ||
* on the computed height of its parent element. | ||
* This is a small hook that is used to automatically create a vertical divider | ||
* based on the computed height of its parent element. | ||
* | ||
* @param maxHeight The max height for the vertical divider. When the value is between | ||
* 0 and 1, it will be used as a percentage. Otherwise the smaller value of parent element | ||
* height and this will be used. | ||
* @param maxHeight - The max height for the vertical divider. When the value is | ||
* between 0 and 1, it will be used as a percentage. Otherwise the smaller value | ||
* of parent element height and this will be used. | ||
*/ | ||
@@ -91,2 +91,3 @@ function useVerticalDividerHeight(maxHeight, forwardedRef) { | ||
}); | ||
/* istanbul ignore next */ | ||
if (process.env.NODE_ENV !== "production") { | ||
@@ -93,0 +94,0 @@ try { |
{ | ||
"name": "@react-md/divider", | ||
"version": "2.6.0", | ||
"version": "2.7.0", | ||
"description": "This package is used to create horizontal or vertical dividers in your application.", | ||
@@ -38,4 +38,4 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@react-md/theme": "^2.6.0", | ||
"@react-md/utils": "^2.6.0", | ||
"@react-md/theme": "^2.7.0", | ||
"@react-md/utils": "^2.7.0", | ||
"classnames": "^2.2.6" | ||
@@ -56,3 +56,3 @@ }, | ||
}, | ||
"gitHead": "fe442494d054126c0ba9ee40260d234668e2ba18" | ||
"gitHead": "931e81f628b580837df3a97267a42c9880b13815" | ||
} |
@@ -1,2 +0,2 @@ | ||
/** | ||
/* | ||
* This file was generated from @react-md/dev-utils and should not be updated | ||
@@ -3,0 +3,0 @@ * manually. |
@@ -18,8 +18,8 @@ import React, { HTMLAttributes, Ref } from "react"; | ||
/** | ||
* This is a small hook that is used to automatically create a vertical divider based | ||
* on the computed height of its parent element. | ||
* This is a small hook that is used to automatically create a vertical divider | ||
* based on the computed height of its parent element. | ||
* | ||
* @param maxHeight The max height for the vertical divider. When the value is between | ||
* 0 and 1, it will be used as a percentage. Otherwise the smaller value of parent element | ||
* height and this will be used. | ||
* @param maxHeight - The max height for the vertical divider. When the value is | ||
* between 0 and 1, it will be used as a percentage. Otherwise the smaller value | ||
* of parent element height and this will be used. | ||
*/ | ||
@@ -26,0 +26,0 @@ export declare function useVerticalDividerHeight(maxHeight: number, forwardedRef?: Ref<HTMLDivElement | null> | undefined): VerticalDividerHeight; |
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
75174
809
Updated@react-md/theme@^2.7.0
Updated@react-md/utils@^2.7.0