cf-component-box
Advanced tools
Comparing version 2.8.10 to 2.9.0
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="2.9.0"></a> | ||
# [2.9.0](http://stash.cfops.it:7999/www/cf-ux/compare/cf-component-box@2.8.10...cf-component-box@2.9.0) (2018-02-12) | ||
### Features | ||
* **cf-component-box:** UI-338 - Add support for extra props ([15098a3](http://stash.cfops.it:7999/www/cf-ux/commits/15098a3)) | ||
<a name="2.8.10"></a> | ||
@@ -8,0 +19,0 @@ ## [2.8.10](http://stash.cfops.it:7999/www/cf-ux/compare/cf-component-box@2.8.9...cf-component-box@2.8.10) (2018-01-18) |
@@ -208,3 +208,3 @@ import PropTypes from 'prop-types'; | ||
display: { | ||
propType: PropTypes.oneOf(['inline', 'block', 'inline-block', 'flex', 'inline-flex', 'table', 'table-cell']), | ||
propType: PropTypes.oneOf(['inline', 'block', 'inline-block', 'flex', 'inline-flex', 'table', 'table-cell', 'none']), | ||
default: 'block' | ||
@@ -352,2 +352,7 @@ }, | ||
textTransform: { | ||
propType: PropTypes.oneOf(['none', 'capitalize', 'uppercase', 'lowercase', 'full-width']), | ||
default: 'none' | ||
}, | ||
opacity: { | ||
@@ -354,0 +359,0 @@ propType: numberOrString, |
@@ -219,3 +219,3 @@ 'use strict'; | ||
display: { | ||
propType: _propTypes2.default.oneOf(['inline', 'block', 'inline-block', 'flex', 'inline-flex', 'table', 'table-cell']), | ||
propType: _propTypes2.default.oneOf(['inline', 'block', 'inline-block', 'flex', 'inline-flex', 'table', 'table-cell', 'none']), | ||
default: 'block' | ||
@@ -363,2 +363,7 @@ }, | ||
textTransform: { | ||
propType: _propTypes2.default.oneOf(['none', 'capitalize', 'uppercase', 'lowercase', 'full-width']), | ||
default: 'none' | ||
}, | ||
opacity: { | ||
@@ -365,0 +370,0 @@ propType: numberOrString, |
{ | ||
"name": "cf-component-box", | ||
"description": "Cloudflare Box Component\n\nThis is styling component similar to cf-component-flex which allows for arbitrary styling.\n\n This component should only be used when the built in style doesn't quite fit the bill and when it can't be done with fela. Ideally, cfui components should have the right styling built in for most cases. In the few edge cases that pop up in real world feature development, this is an alternative to wrapping your component in a `<div>` or `<span>` and styling it with css to accomodate one-offs. \n\n Also, note that using Box effectively performs a component level CSS reset, as all props not provided will be pulled from the default theme. These defaults, outlined in propertiesSpec, either match the browser defaults, or are taken from our global styles as defined by cf-style-const.", | ||
"version": "2.8.10", | ||
"version": "2.9.0", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "module": "es/index.js", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
40183
963
0