@gov.au/control-input
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -18,2 +18,3 @@ @gov.au/control-input CHANGELOG | ||
* [v3.0.1 - Remove --save-dev flag from readme instructions](#v301) | ||
* [v3.0.0 - Use explicit labelling instead of implicit labelling for control inputs. Remove `margin-top` for control input block that is not followed by another control input block. Removed unused `Fragment` React import](#v300) | ||
@@ -47,2 +48,7 @@ * [v2.2.2 - Fixed radio input underlapping svg on small inputs](#v222) | ||
### v3.0.1 | ||
- Remove --save-dev flag from readme instructions | ||
### v3.0.0 | ||
@@ -49,0 +55,0 @@ |
@@ -1,11 +0,2 @@ | ||
'use strict';Object.defineProperty(exports,'__esModule',{value:true});exports.AUradio=exports.AUcheckbox=undefined;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key]}}}return target};var _react=require('react');var _react2=_interopRequireDefault(_react);var _propTypes=require('prop-types');var _propTypes2=_interopRequireDefault(_propTypes);require('../css/styles.css');function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}/*! @gov.au/control-input v3.0.0 *//*************************************************************************************************************************************************************** | ||
* | ||
* control-input function | ||
* | ||
* Control inputs include radio buttons and checkboxes. They allow users to select one or more options. | ||
* | ||
**************************************************************************************************************************************************************/// The following line will be replaced automatically with generic imports for the ES5 pipeline. | ||
// You can safely ignore this bit if you use this module with pancake | ||
// | ||
/** | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.AUradio=exports.AUcheckbox=void 0;var _react=_interopRequireDefault(require("react"));var _propTypes=_interopRequireDefault(require("prop-types"));require("../css/styles.css");function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key]}}}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}/** | ||
* The checkbox component | ||
@@ -23,3 +14,3 @@ * | ||
* | ||
*/var AUcheckbox=function AUcheckbox(_ref){var dark=_ref.dark,alt=_ref.alt,small=_ref.small,block=_ref.block,label=_ref.label,status=_ref.status,id=_ref.id,_ref$className=_ref.className,className=_ref$className===undefined?'':_ref$className,attributeOptions=_objectWithoutProperties(_ref,['dark','alt','small','block','label','status','id','className']);return _react2.default.createElement('div',{className:'au-control-input '+className+(''+(dark?' au-control-input--dark':''))+(''+(alt?' au-control-input--alt':''))+(''+(small?' au-control-input--small':''))+(''+(block?' au-control-input--block':''))+(''+(status==='valid'?' au-control-input--valid':''))+(''+(status==='invalid'?' au-control-input--invalid':''))},_react2.default.createElement('input',_extends({className:'au-control-input__input',id:id,type:'checkbox'},attributeOptions)),_react2.default.createElement('label',{className:'au-control-input__text',htmlFor:id},label))};exports.AUcheckbox=AUcheckbox;AUcheckbox.propTypes={dark:_propTypes2.default.bool,alt:_propTypes2.default.bool,small:_propTypes2.default.bool,block:_propTypes2.default.bool,label:_propTypes2.default.string.isRequired,id:_propTypes2.default.string.isRequired,status:_propTypes2.default.oneOf(['valid','invalid']),className:_propTypes2.default.string};/** | ||
*/var AUcheckbox=function AUcheckbox(_ref){var dark=_ref.dark,alt=_ref.alt,small=_ref.small,block=_ref.block,label=_ref.label,status=_ref.status,id=_ref.id,_ref$className=_ref.className,className=_ref$className===void 0?"":_ref$className,attributeOptions=_objectWithoutProperties(_ref,["dark","alt","small","block","label","status","id","className"]);return _react.default.createElement("div",{className:"au-control-input ".concat(className)+"".concat(dark?" au-control-input--dark":"")+"".concat(alt?" au-control-input--alt":"")+"".concat(small?" au-control-input--small":"")+"".concat(block?" au-control-input--block":"")+"".concat(status==="valid"?" au-control-input--valid":"")+"".concat(status==="invalid"?" au-control-input--invalid":"")},_react.default.createElement("input",_extends({className:"au-control-input__input",id:id,type:"checkbox"},attributeOptions)),_react.default.createElement("label",{className:"au-control-input__text",htmlFor:id},label))};exports.AUcheckbox=AUcheckbox;AUcheckbox.propTypes={dark:_propTypes.default.bool,alt:_propTypes.default.bool,small:_propTypes.default.bool,block:_propTypes.default.bool,label:_propTypes.default.string.isRequired,id:_propTypes.default.string.isRequired,status:_propTypes.default.oneOf(["valid","invalid"]),className:_propTypes.default.string};/** | ||
* The radio component | ||
@@ -36,3 +27,3 @@ * | ||
* @param {object} attributeOptions - Any other attribute options | ||
*/var AUradio=function AUradio(_ref2){var dark=_ref2.dark,alt=_ref2.alt,small=_ref2.small,block=_ref2.block,label=_ref2.label,status=_ref2.status,id=_ref2.id,_ref2$className=_ref2.className,className=_ref2$className===undefined?'':_ref2$className,attributeOptions=_objectWithoutProperties(_ref2,['dark','alt','small','block','label','status','id','className']);return _react2.default.createElement('div',{className:'au-control-input '+className+(''+(dark?' au-control-input--dark':''))+(''+(alt?' au-control-input--alt':''))+(''+(small?' au-control-input--small':''))+(''+(block?' au-control-input--block':''))+(''+(status==='valid'?' au-control-input--valid':''))+(''+(status==='invalid'?' au-control-input--invalid':''))},_react2.default.createElement('input',_extends({className:'au-control-input__input',type:'radio',id:id},attributeOptions)),_react2.default.createElement('label',{className:'au-control-input__text',htmlFor:id},label))};exports.AUradio=AUradio;AUradio.propTypes={dark:_propTypes2.default.bool,alt:_propTypes2.default.bool,small:_propTypes2.default.bool,block:_propTypes2.default.bool,label:_propTypes2.default.string.isRequired,id:_propTypes2.default.string.isRequired,status:_propTypes2.default.oneOf(['valid','invalid']),className:_propTypes2.default.string}; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlYWN0LmVzNS5qcyJdLCJuYW1lcyI6WyJBVWNoZWNrYm94IiwiZGFyayIsImFsdCIsInNtYWxsIiwiYmxvY2siLCJsYWJlbCIsInN0YXR1cyIsImlkIiwiY2xhc3NOYW1lIiwiYXR0cmlidXRlT3B0aW9ucyIsInByb3BUeXBlcyIsIlByb3BUeXBlcyIsImJvb2wiLCJzdHJpbmciLCJpc1JlcXVpcmVkIiwib25lT2YiLCJBVXJhZGlvIl0sIm1hcHBpbmdzIjoiaVZBU0EsNEIsMkNBQ0EscUMsbURBTUEsNkIscVJBaEJBLG1DQUNBOzs7Ozs7Z0tBWUE7QUFDQTtBQUNBO0FBSUE7Ozs7Ozs7Ozs7Ozs7R0FjTyxHQUFNQSxZQUFhLFFBQWJBLFdBQWEsTUFBeUYsSUFBdEZDLEtBQXNGLE1BQXRGQSxJQUFzRixDQUFoRkMsR0FBZ0YsTUFBaEZBLEdBQWdGLENBQTNFQyxLQUEyRSxNQUEzRUEsS0FBMkUsQ0FBcEVDLEtBQW9FLE1BQXBFQSxLQUFvRSxDQUE3REMsS0FBNkQsTUFBN0RBLEtBQTZELENBQXREQyxNQUFzRCxNQUF0REEsTUFBc0QsQ0FBOUNDLEVBQThDLE1BQTlDQSxFQUE4QyxxQkFBMUNDLFNBQTBDLENBQTFDQSxTQUEwQyw0QkFBOUIsRUFBOEIsZ0JBQXZCQyxnQkFBdUIsaUdBQ2xILE1BQ0Msc0NBQUssVUFDSixvQkFBcUJELFNBQXJCLE1BQ0lQLEtBQU8seUJBQVAsQ0FBbUMsRUFEdkMsUUFFSUMsSUFBTSx3QkFBT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5wdXQgdjMuMC4wICovXG4vKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gKlxuICogY29udHJvbC1pbnB1dCBmdW5jdGlvblxuICpcbiAqIENvbnRyb2wgaW5wdXRzIGluY2x1ZGUgcmFkaW8gYnV0dG9ucyBhbmQgY2hlY2tib3hlcy4gVGhleSBhbGxvdyB1c2VycyB0byBzZWxlY3Qgb25lIG9yIG1vcmUgb3B0aW9ucy5cbiAqXG4gKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiovXG5cbmltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgUHJvcFR5cGVzIGZyb20gJ3Byb3AtdHlwZXMnO1xuXG5cbi8vIFRoZSBmb2xsb3dpbmcgbGluZSB3aWxsIGJlIHJlcGxhY2VkIGF1dG9tYXRpY2FsbHkgd2l0aCBnZW5lcmljIGltcG9ydHMgZm9yIHRoZSBFUzUgcGlwZWxpbmUuXG4vLyBZb3UgY2FuIHNhZmVseSBpZ25vcmUgdGhpcyBiaXQgaWYgeW91IHVzZSB0aGlzIG1vZHVsZSB3aXRoIHBhbmNha2Vcbi8vXG5pbXBvcnQgJy4uL2Nzcy9zdHlsZXMuY3NzJztcblxuXG4vKipcbiAqIFRoZSBjaGVja2JveCBjb21wb25lbnRcbiAqXG4gKiBAcGFyYW0gIHtib29sZWFufSBkYXJrICAgICAgICAgICAgIC0gQWRkIHRoZSBkYXJrIHZhcmlhdGlvbiBjbGFzcywgb3B0aW9uYW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lcy5ib29sLFxuXHRibG9jazogUHJvcFR5cGVzLmJvb2wsXG5cdGxhYmVsOiBQcm9wVHlwZXMuc3RyaW5nLmlzUmVxdWlyZWQsXG5cdGlkOiBQcm9wVHlwZXMuc3RyaW5nLmlzUmVxdWlyZWQsXG5cdHN0YXR1czogUHJvcFR5cGVzLm9uZU9mKFsgJ3ZhbGlkJywgJ2ludmFsaWQnIF0pLFxuXHRjbGFzc05hbWU6IFByb3BUeXBlcy5zdHJpbmcsXG59O1xuIl19 | ||
*/var AUradio=function AUradio(_ref2){var dark=_ref2.dark,alt=_ref2.alt,small=_ref2.small,block=_ref2.block,label=_ref2.label,status=_ref2.status,id=_ref2.id,_ref2$className=_ref2.className,className=_ref2$className===void 0?"":_ref2$className,attributeOptions=_objectWithoutProperties(_ref2,["dark","alt","small","block","label","status","id","className"]);return _react.default.createElement("div",{className:"au-control-input ".concat(className)+"".concat(dark?" au-control-input--dark":"")+"".concat(alt?" au-control-input--alt":"")+"".concat(small?" au-control-input--small":"")+"".concat(block?" au-control-input--block":"")+"".concat(status==="valid"?" au-control-input--valid":"")+"".concat(status==="invalid"?" au-control-input--invalid":"")},_react.default.createElement("input",_extends({className:"au-control-input__input",type:"radio",id:id},attributeOptions)),_react.default.createElement("label",{className:"au-control-input__text",htmlFor:id},label))};exports.AUradio=AUradio;AUradio.propTypes={dark:_propTypes.default.bool,alt:_propTypes.default.bool,small:_propTypes.default.bool,block:_propTypes.default.bool,label:_propTypes.default.string.isRequired,id:_propTypes.default.string.isRequired,status:_propTypes.default.oneOf(["valid","invalid"]),className:_propTypes.default.string}; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlYWN0LmVzNS5qcyJdLCJuYW1lcyI6WyJBVWNoZWNrYm94IiwiZGFyayIsImFsdCIsInNtYWxsIiwiYmxvY2siLCJsYWJlbCIsInN0YXR1cyIsImlkIiwiY2xhc3NOYW1lIiwiYXR0cmlidXRl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qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICpcbiAqIGNvbnRyb2wtaW5wdXQgZnVuY3Rpb25cbiAqXG4gKiBDb250cm9sIGlucHV0cyBpbmNsdWRlIHJhZGlvIGJ1dHRvbnMgYW5kIGNoZWNrYm94ZXMuIFRoZXkgYWxsb3cgdXNlcnMgdG8gc2VsZWN0IG9uZSBvciBtb3JlIG9wdGlvbnMuXG4gKlxuICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqL1xuXG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcblxuXG4vLyBUaGUgZm9sbG93aW5nIGxpbmUgd2lsbCBiZSByZXBsYWNlZCBhdXRvbWF0aWNhbGx5IHdpdGggZ2VuZXJpYyBpbXBvcnRzIGZvciB0aGUgRVM1IHBpcGVsaW5lLlxuLy8gWW91IGNhbiBzYWZlbHkgaWdub3JlIHRoaXMgYml0IGlmIHlvdSB1c2UgdGhpcyBtb2R1bGUgd2l0aCBwYW5jYWtlXG4vL1xuaW1wb3J0ICcuLi9jc3Mvc3R5bGVzLmNzcyc7XG5cblxuLyoqXG4gKiBUaGUgY2hlY2tib3ggY29tcG9uZW50XG4gKlxuICogQHBhcmFtICB7Ym9vbGVhbn0gZGFyayAgICAgICAgICAgICAtIEFkZCB0aGUgZGFyayB2YXJpYXRpb24gY2xhc3MsIG9wdGlvbmFsXG4gKiBAcGFyYW0gIHtib29sZWFufSBhbHQgICAgICAgICAgICAgIC0gQWRkIHRoZSBhbH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lcXVpcmVkLFxuXHRpZDogUHJvcFR5cGVzLnN0cmluZy5pc1JlcXVpcmVkLFxuXHRzdGF0dXM6IFByb3BUeXBlcy5vbmVPZihbICd2YWxpZCcsICdpbnZhbGlkJyBdKSxcblx0Y2xhc3NOYW1lOiBQcm9wVHlwZXMuc3RyaW5nLFxufTtcbiJdfQ== |
@@ -1,2 +0,2 @@ | ||
/*! @gov.au/control-input v3.0.0 */ | ||
/*! @gov.au/control-input v3.0.1 */ | ||
/*************************************************************************************************************************************************************** | ||
@@ -3,0 +3,0 @@ * |
{ | ||
"name": "@gov.au/control-input", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Control inputs include radio buttons and checkboxes. They allow users to select one or more options.", | ||
@@ -68,14 +68,13 @@ "keywords": [ | ||
"devDependencies": { | ||
"babel-core": "^6.26.0", | ||
"babel-loader": "^7.1.2", | ||
"babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"babel-preset-es2015": "^6.24.1", | ||
"babel-preset-react": "^6.24.1", | ||
"babel-preset-stage-0": "^6.24.1", | ||
"browser-sync": "^2.18.13", | ||
"npm-run-all": "^4.1.2", | ||
"onchange": "^3.2.1", | ||
"react": "^16.1.1", | ||
"react-dom": "^16.1.1", | ||
"webpack": "^3.8.1" | ||
"@babel/core": "^7.3.4", | ||
"babel-loader": "^8.0.5", | ||
"@babel/preset-react": "^7.0.0", | ||
"@babel/preset-env": "^7.3.4", | ||
"browser-sync": "^2.26.3", | ||
"npm-run-all": "^4.1.5", | ||
"onchange": "^5.2.0", | ||
"react": "^16.8.4", | ||
"react-dom": "^16.8.4", | ||
"webpack": "^4.29.6", | ||
"webpack-cli": "^3.2.3" | ||
}, | ||
@@ -82,0 +81,0 @@ "files": [ |
@@ -28,3 +28,3 @@ @gov.au/control-input | ||
```shell | ||
npm install @gov.au/control-input --save-dev | ||
npm install @gov.au/control-input | ||
``` | ||
@@ -122,2 +122,3 @@ | ||
* v3.0.1 - Remove --save-dev flag from readme instructions | ||
* v3.0.0 - Use explicit labelling instead of implicit labelling for control inputs. Remove `margin-top` for control input block that is not followed by another control input block. Removed unused `Fragment` React import | ||
@@ -160,2 +161,2 @@ * v2.2.2 - Fixed radio input underlapping svg on small inputs | ||
# }; | ||
# }; |
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
68204
11
160
0
189
2