Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gov.au/control-input

Package Overview
Dependencies
Maintainers
5
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gov.au/control-input - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

6

CHANGELOG.md

@@ -18,2 +18,3 @@ @gov.au/control-input CHANGELOG

* [v2.0.2 - Adding focus offset back to control inputs ](v202)
* [v2.0.1 - Fix dependencies ](v201)

@@ -33,2 +34,7 @@ * [v2.0.0 - Change to focus colour and border/muted color mix](v200)

### v2.0.2
- Added focus offset back to control inputs
### v2.0.1

@@ -35,0 +41,0 @@

4

lib/js/react.es5.js

@@ -1,2 +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 v2.0.1 *//***************************************************************************************************************************************************************
'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 v2.0.2 *//***************************************************************************************************************************************************************
*

@@ -34,2 +34,2 @@ * control-input function

*/var AUradio=function AUradio(_ref2){var dark=_ref2.dark,alt=_ref2.alt,small=_ref2.small,block=_ref2.block,label=_ref2.label,status=_ref2.status,_ref2$className=_ref2.className,className=_ref2$className===undefined?'':_ref2$className,attributeOptions=_objectWithoutProperties(_ref2,['dark','alt','small','block','label','status','className']);return _react2.default.createElement('label',{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'},attributeOptions)),_react2.default.createElement('span',{className:'au-control-input__text'},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,status:_propTypes2.default.oneOf(['valid','invalid']),className:_propTypes2.default.string};
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlYWN0LmVzNS5qcyJdLCJuYW1lcyI6WyJBVWNoZWNrYm94IiwiZGFyayIsImFsdCIsInNtYWxsIiwiYmxvY2siLCJsYWJlbCIsInN0YXR1cyIsImNsYXNzTmFtZSIsImF0dHJpYnV0ZU9wdGlvbnMiLCJwcm9wVHlwZXMiLCJib29sIiwic3RyaW5nIiwiaXNSZXF1aXJlZCIsIm9uZU9mIiwiQVVyYWRpbyJdLCJtYXBwaW5ncyI6ImlWQVNBLDRCLDJDQUNBLHFDLG1EQU1BLDZCLHFSQWhCQSxtQ0FDQTs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0FLbkJMLE1BQU8sb0JBQVVNLE1BQVYsQ0FBaUJDLFVBTEwsQ0FNbkJOLE9BQVEsb0JBQVVPLEtBQVYsQ0FBZ0IsQ0FBRSxPQUFGLENBQVcsU0FBWCxDQUFoQixDQU5XLENBT25CTixVQUFXLG9CQUFVSSxNQVBGLENBQXBCIiwiZmlsZSI6InJlYWN0LmVzNS5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8qISBAZ292LmF1L2NvbnRyb2wtaW5wdXQgdjIuMC4xICovXG4vKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gKlxuICogY29udHJvbC1pbnB1dCBmdW5jdGlvblxuICpcbiAqIENvbnRyb2wgaW5wdXRzIGluY2x1ZGUgcmFkaW8gYnV0dG9ucyBhbmQgY2hlY2tib3hlcy4gVGhleSBhbGxvdyB1c2VycyB0byBzZWxlY3Qgb25lIG9yIG1vcmUgb3B0aW9ucy5cbiAqXG4gKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiovXG5cbmltcG9ydCBSZWFjdCwgeyBGcmFnbWVudCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCBQcm9wVHlwZXMgZnJvbSAncHJvcC10eXBlcyc7XG5cblxuLy8gVGhlIGZvbGxvd2luZyBsaW5lIHdpbGwgYmUgcmVwbGFjZWQgYXV0b21hdGljYWxseSB3aXRoIGdlbmVyaWMgaW1wb3J0cyBmb3IgdGhlIEVTNSBwaXBlbGluZS5cbi8vIFlvdSBjYW4gc2FmZWx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G5cdFx0XHRgJHsgc3RhdHVzID09PSAnaW52YWxpZCcgPyAnIGF1LWNvbnRyb2wtaW5wdXQtLWludmFsaWQnIDogJycgfWBcblx0XHR9ID5cblx0XHRcdDxpbnB1dCBjbGFzc05hbWU9XCJhdS1jb250cm9sLWlucHV0X19pbnB1dFwiIHR5cGU9XCJyYWRpb1wiIHsgLi4uYXR0cmlidXRlT3B0aW9ucyB9IC8+XG5cdFx0XHQ8c3BhbiBjbGFzc05hbWU9XCJhdS1jb250cm9sLWlucHV0X190ZXh0XCI+eyBsYWJlbCB9PC9zcGFuPlxuXHRcdDwvbGFiZWw+XG5cdCk7XG59O1xuXG5BVXJhZGlvLnByb3BUeXBlcyA9IHtcblx0ZGFyazogUHJvcFR5cGVzLmJvb2wsXG5cdGFsdDogUHJvcFR5cGVzLmJvb2wsXG5cdHNtYWxsOiBQcm9wVHlwZXMuYm9vbCxcblx0YmxvY2s6IFByb3BUeXBlcy5ib29sLFxuXHRsYWJlbDogUHJvcFR5cGVzLnN0cmluZy5pc1JlcXVpcmVkLFxuXHRzdGF0dXM6IFByb3BUeXBlcy5vbmVPZihbICd2YWxpZCcsICdpbnZhbGlkJyBdKSxcblx0Y2xhc3NOYW1lOiBQcm9wVHlwZXMuc3RyaW5nLFxufTtcbiJdfQ==

@@ -1,2 +0,2 @@

/*! @gov.au/control-input v2.0.1 */
/*! @gov.au/control-input v2.0.2 */
/***************************************************************************************************************************************************************

@@ -3,0 +3,0 @@ *

{
"name": "@gov.au/control-input",
"version": "2.0.1",
"version": "2.0.2",
"description": "Control inputs include radio buttons and checkboxes. They allow users to select one or more options.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -119,2 +119,3 @@ @gov.au/control-input

* v2.0.2 - Adding focus offset back to control inputs
* v2.0.1 - Fix dependencies

@@ -121,0 +122,0 @@ * v2.0.0 - Change to focus colour and border/muted color mix

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc