New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@react-mdc/checkbox

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-mdc/checkbox - npm Package Compare versions

Comparing version 0.1.11 to 0.1.12

6

lib/Background.d.ts

@@ -5,3 +5,5 @@ /// <reference types="react" />

export declare const CLASS_NAME: string;
export declare type MetaProps = {};
export declare type MetaProps = {
className?: string;
};
export declare type ChildProps = {

@@ -16,4 +18,4 @@ className?: string;

protected getMetaComponent(): typeof Meta;
protected getMetaPropNames(): never[];
protected getMetaPropNames(): string[];
protected getChildComponent(): string;
}

@@ -36,3 +36,5 @@ "use strict";

Background.prototype.getMetaPropNames = function () {
return [];
return [
"className",
];
};

@@ -42,6 +44,6 @@ Background.prototype.getChildComponent = function () {

};
Background.Meta = Meta;
return Background;
}(base_1.DefaultComponentBase));
Background.Meta = Meta;
exports.default = Background;
//# sourceMappingURL=Background.js.map

@@ -12,2 +12,3 @@ /// <reference types="react" />

indeterminate?: boolean;
className?: string;
};

@@ -14,0 +15,0 @@ export declare type ChildProps = {

@@ -94,7 +94,7 @@ "use strict";

};
Meta.childContextTypes = {
adapter: PropTypes.instanceOf(adapter_1.FoundationAdapter),
};
return Meta;
}(base_1.ClassNameMetaBase));
Meta.childContextTypes = {
adapter: PropTypes.instanceOf(adapter_1.FoundationAdapter),
};
exports.Meta = Meta;

@@ -153,2 +153,3 @@ var ContainerAdapterImpl = (function (_super) {

return [
"className",
"checked",

@@ -162,6 +163,6 @@ "disabled",

};
Container.Meta = Meta;
return Container;
}(base_1.DefaultComponentBase));
Container.Meta = Meta;
exports.default = Container;
//# sourceMappingURL=Container.js.map

@@ -7,3 +7,3 @@ /// <reference types="react" />

value?: any;
onChange?: (evt: React.ChangeEvent<any>) => void;
onChange?: React.FormEventHandler<HTMLInputElement>;
checked?: boolean;

@@ -10,0 +10,0 @@ disabled?: boolean;

@@ -24,11 +24,11 @@ "use strict";

}
Checkbox.Background = Background_1.default;
Checkbox.Checkmark = Checkmark_1.default;
Checkbox.Container = Container_1.default;
Checkbox.Default = Default_1.default;
Checkbox.Mixedmark = Mixedmark_1.default;
Checkbox.NativeControl = NativeControl_1.default;
return Checkbox;
}(Container_1.default));
Checkbox.Background = Background_1.default;
Checkbox.Checkmark = Checkmark_1.default;
Checkbox.Container = Container_1.default;
Checkbox.Default = Default_1.default;
Checkbox.Mixedmark = Mixedmark_1.default;
Checkbox.NativeControl = NativeControl_1.default;
exports.default = Checkbox;
//# sourceMappingURL=index.js.map

@@ -5,3 +5,5 @@ /// <reference types="react" />

export declare const CLASS_NAME: string;
export declare type MetaProps = {};
export declare type MetaProps = {
className?: string;
};
export declare type ChildProps = {

@@ -16,4 +18,4 @@ className?: string;

protected getMetaComponent(): typeof Meta;
protected getMetaPropNames(): never[];
protected getMetaPropNames(): string[];
protected getChildComponent(): string;
}

@@ -36,3 +36,5 @@ "use strict";

Mixedmark.prototype.getMetaPropNames = function () {
return [];
return [
"className",
];
};

@@ -42,6 +44,6 @@ Mixedmark.prototype.getChildComponent = function () {

};
Mixedmark.Meta = Meta;
return Mixedmark;
}(base_1.DefaultComponentBase));
Mixedmark.Meta = Meta;
exports.default = Mixedmark;
//# sourceMappingURL=Mixedmark.js.map

@@ -9,3 +9,4 @@ /// <reference types="react" />

export declare type MetaProps = {
onChange?: React.ChangeEventHandler<any>;
onChange?: React.FormEventHandler<ChildProps>;
className?: string;
};

@@ -42,3 +43,3 @@ export declare type ChildProps = {

onChange: React.EventHandler<React.ChangeEvent<any>>;
checked?: boolean | undefined;
checked: boolean | undefined;
className?: string | undefined;

@@ -45,0 +46,0 @@ };

@@ -64,7 +64,7 @@ "use strict";

};
Meta.contextTypes = {
adapter: PropTypes.instanceOf(adapter_1.FoundationAdapter).isRequired,
};
return Meta;
}(base_1.ClassNameMetaBase));
Meta.contextTypes = {
adapter: PropTypes.instanceOf(adapter_1.FoundationAdapter).isRequired,
};
exports.Meta = Meta;

@@ -110,2 +110,3 @@ var NativeControlAdapterImpl = (function (_super) {

return [
"className",
"onChange",

@@ -117,6 +118,6 @@ ];

};
NativeControl.Meta = Meta;
return NativeControl;
}(base_1.DefaultComponentBase));
NativeControl.Meta = Meta;
exports.default = NativeControl;
//# sourceMappingURL=NativeControl.js.map
{
"name": "@react-mdc/checkbox",
"description": "React wrapper of @material/checkbox",
"version": "0.1.11",
"version": "0.1.12",
"license": "MIT",

@@ -14,3 +14,3 @@ "main": "lib/index",

"@material/checkbox": "^0.3.2",
"@react-mdc/base": "^0.1.11",
"@react-mdc/base": "^0.1.12",
"@types/classnames": "0.0.32",

@@ -38,3 +38,3 @@ "@types/prop-types": "^15.5.1",

"tslint-react": "^3.0.0",
"typescript": "^2.3.4"
"typescript": "^2.4.1"
},

@@ -41,0 +41,0 @@ "scripts": {

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

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