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

@material/radio

Package Overview
Dependencies
Maintainers
14
Versions
1698
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material/radio - npm Package Compare versions

Comparing version 15.0.0-canary.c5018840c.0 to 15.0.0-canary.c51a0bbcc.0

7

CHANGELOG.md

@@ -6,4 +6,7 @@ # Change Log

# [15.0.0-canary.c5018840c.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.c5018840c.0) (2022-07-18)
# [15.0.0-canary.c51a0bbcc.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.c51a0bbcc.0) (2023-11-15)
**Note:** Version bump only for package @material/radio
### Bug Fixes
* **radio:** Attribute `hidden` now correctly hides the radio button. ([cf9f123](https://github.com/material-components/material-components-web/commit/cf9f12371c251063b3ed1553c439a23f69899377))

@@ -27,4 +27,5 @@ /**

import { MDCRadioFoundation } from './foundation';
/** MDC Radio */
export declare class MDCRadio extends MDCComponent<MDCRadioFoundation> implements MDCRippleCapableSurface {
static attachTo(root: Element): MDCRadio;
static attachTo(root: HTMLElement): MDCRadio;
get checked(): boolean;

@@ -31,0 +32,0 @@ set checked(checked: boolean);

@@ -29,2 +29,3 @@ /**

import { MDCRadioFoundation } from './foundation';
/** MDC Radio */
var MDCRadio = /** @class */ (function (_super) {

@@ -83,7 +84,12 @@ __extends(MDCRadio, _super);

var _this = this;
// DO NOT INLINE this variable. For backward compatibility, foundations take a Partial<MDCFooAdapter>.
// To ensure we don't accidentally omit any methods, we need a separate, strongly typed adapter variable.
// DO NOT INLINE this variable. For backward compatibility, foundations take
// a Partial<MDCFooAdapter>. To ensure we don't accidentally omit any
// methods, we need a separate, strongly typed adapter variable.
var adapter = {
addClass: function (className) { return _this.root.classList.add(className); },
removeClass: function (className) { return _this.root.classList.remove(className); },
addClass: function (className) {
_this.root.classList.add(className);
},
removeClass: function (className) {
_this.root.classList.remove(className);
},
setNativeControlDisabled: function (disabled) { return _this.nativeControl.disabled =

@@ -96,9 +102,10 @@ disabled; },

var _this = this;
// DO NOT INLINE this variable. For backward compatibility, foundations take a Partial<MDCFooAdapter>.
// To ensure we don't accidentally omit any methods, we need a separate, strongly typed adapter variable.
// DO NOT INLINE this variable. For backward compatibility, foundations take
// a Partial<MDCFooAdapter>. To ensure we don't accidentally omit any
// methods, we need a separate, strongly typed adapter variable.
// tslint:disable:object-literal-sort-keys Methods should be in the same order as the adapter interface.
var adapter = __assign(__assign({}, MDCRipple.createAdapter(this)), { registerInteractionHandler: function (evtType, handler) {
_this.nativeControl.addEventListener(evtType, handler, applyPassive());
}, deregisterInteractionHandler: function (evtType, handler) {
_this.nativeControl.removeEventListener(evtType, handler, applyPassive());
var adapter = __assign(__assign({}, MDCRipple.createAdapter(this)), { registerInteractionHandler: function (eventType, handler) {
_this.nativeControl.addEventListener(eventType, handler, applyPassive());
}, deregisterInteractionHandler: function (eventType, handler) {
_this.nativeControl.removeEventListener(eventType, handler, applyPassive());
},

@@ -105,0 +112,0 @@ // Radio buttons technically go "active" whenever there is *any* keyboard

@@ -25,2 +25,3 @@ /**

import { MDCRadioAdapter } from './adapter';
/** MDC Radio Foundation */
export declare class MDCRadioFoundation extends MDCFoundation<MDCRadioAdapter> {

@@ -27,0 +28,0 @@ static get cssClasses(): {

@@ -26,2 +26,3 @@ /**

import { cssClasses, strings } from './constants';
/** MDC Radio Foundation */
var MDCRadioFoundation = /** @class */ (function (_super) {

@@ -28,0 +29,0 @@ __extends(MDCRadioFoundation, _super);

{
"name": "@material/radio",
"description": "The Material Components for the web radio component",
"version": "15.0.0-canary.c5018840c.0",
"version": "15.0.0-canary.c51a0bbcc.0",
"license": "MIT",

@@ -20,14 +20,14 @@ "keywords": [

"dependencies": {
"@material/animation": "15.0.0-canary.c5018840c.0",
"@material/base": "15.0.0-canary.c5018840c.0",
"@material/density": "15.0.0-canary.c5018840c.0",
"@material/dom": "15.0.0-canary.c5018840c.0",
"@material/feature-targeting": "15.0.0-canary.c5018840c.0",
"@material/focus-ring": "15.0.0-canary.c5018840c.0",
"@material/ripple": "15.0.0-canary.c5018840c.0",
"@material/theme": "15.0.0-canary.c5018840c.0",
"@material/touch-target": "15.0.0-canary.c5018840c.0",
"@material/animation": "15.0.0-canary.c51a0bbcc.0",
"@material/base": "15.0.0-canary.c51a0bbcc.0",
"@material/density": "15.0.0-canary.c51a0bbcc.0",
"@material/dom": "15.0.0-canary.c51a0bbcc.0",
"@material/feature-targeting": "15.0.0-canary.c51a0bbcc.0",
"@material/focus-ring": "15.0.0-canary.c51a0bbcc.0",
"@material/ripple": "15.0.0-canary.c51a0bbcc.0",
"@material/theme": "15.0.0-canary.c51a0bbcc.0",
"@material/touch-target": "15.0.0-canary.c51a0bbcc.0",
"tslib": "^2.1.0"
},
"gitHead": "c86de383c50b7d72b8c5cf908c5fdf3e6efa94c4"
"gitHead": "e65c7fe6dcc6d6069f00d4d2f8c55e61710d046b"
}

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

Sorry, the diff of this file is too big to display

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 too big to display

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