terra-disclosure-manager
Advanced tools
Comparing version 4.9.0 to 4.10.0
@@ -7,2 +7,7 @@ ChangeLog | ||
4.10.0 - (May 7, 2019) | ||
------------------ | ||
### Added | ||
* Added new width 560px to Disclosure Widths. | ||
4.9.0 - (April 24, 2019) | ||
@@ -9,0 +14,0 @@ ------------------ |
@@ -161,3 +161,3 @@ # Terra Disclosure Manager | ||
|`size`|optional|The String size desired for the disclosure. One of `tiny`, `small`, `medium`, `large`, `huge`, or `fullscreen`. The functional implementation of this size is determined by the rendering component. `size` should not be provided if `dimensions` are specified.| | ||
|`dimensions`|optional|An Object containing explicit `height` and `width` values for the disclosure. These values may not be honored due to the disclosure type or the available viewport size. `dimensions` should not be provided if a `size` is specified.<br />Supported `height` values include: `'240'`, `'420'`, `'600'`, `'690'`, `'780'`, `'870'`, `'960'`, `'1140'`.<br />Supported `width` values include: `'320'`, `'480'`, `'640'`, `'800'`, `'960'`, `'1120'`, `'1280'`, `'1440'`, `'1600'`, `'1760'`, `'1920'`.| | ||
|`dimensions`|optional|An Object containing explicit `height` and `width` values for the disclosure. These values may not be honored due to the disclosure type or the available viewport size. `dimensions` should not be provided if a `size` is specified.<br />Supported `height` values include: `'240'`, `'420'`, `'600'`, `'690'`, `'780'`, `'870'`, `'960'`, `'1140'`.<br />Supported `width` values include: `'320'`, `'480'`, `'560'`, `'640'`, `'800'`, `'960'`, `'1120'`, `'1280'`, `'1440'`, `'1600'`, `'1760'`, `'1920'`.| | ||
|`content`|**required**|An Object containing a key and a component describing the component to be disclosed. See the `content` API below.| | ||
@@ -164,0 +164,0 @@ |
@@ -55,3 +55,3 @@ 'use strict'; | ||
var availableDisclosureHeights = [240, 420, 600, 690, 780, 870, 960, 1140].reduce(arrayReducer, {}); | ||
var availableDisclosureWidths = [320, 480, 640, 800, 960, 1120, 1280, 1440, 1600, 1760, 1920].reduce(arrayReducer, {}); | ||
var availableDisclosureWidths = [320, 480, 560, 640, 800, 960, 1120, 1280, 1440, 1600, 1760, 1920].reduce(arrayReducer, {}); | ||
@@ -58,0 +58,0 @@ var defaultDimensions = { height: availableDisclosureHeights['690'], width: availableDisclosureWidths['1120'] }; |
{ | ||
"name": "terra-disclosure-manager", | ||
"main": "lib/DisclosureManager.js", | ||
"version": "4.9.0", | ||
"version": "4.10.0", | ||
"description": "A stateful component used to manage disclosure presentation.", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -18,3 +18,3 @@ import React from 'react'; | ||
const availableDisclosureHeights = [240, 420, 600, 690, 780, 870, 960, 1140].reduce(arrayReducer, {}); | ||
const availableDisclosureWidths = [320, 480, 640, 800, 960, 1120, 1280, 1440, 1600, 1760, 1920].reduce(arrayReducer, {}); | ||
const availableDisclosureWidths = [320, 480, 560, 640, 800, 960, 1120, 1280, 1440, 1600, 1760, 1920].reduce(arrayReducer, {}); | ||
@@ -21,0 +21,0 @@ const defaultDimensions = { height: availableDisclosureHeights['690'], width: availableDisclosureWidths['1120'] }; |
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
128788