Socket
Socket
Sign inDemoInstall

@material/radio

Package Overview
Dependencies
11
Maintainers
14
Versions
1697
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 15.0.0-canary.5b40eb988.0 to 15.0.0-canary.5bebc0064.0

7

CHANGELOG.md

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

# [15.0.0-canary.5b40eb988.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.5b40eb988.0) (2022-05-12)
# [15.0.0-canary.5bebc0064.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.5bebc0064.0) (2024-04-11)
**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.5b40eb988.0",
"version": "15.0.0-canary.5bebc0064.0",
"license": "MIT",

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

"dependencies": {
"@material/animation": "15.0.0-canary.5b40eb988.0",
"@material/base": "15.0.0-canary.5b40eb988.0",
"@material/density": "15.0.0-canary.5b40eb988.0",
"@material/dom": "15.0.0-canary.5b40eb988.0",
"@material/feature-targeting": "15.0.0-canary.5b40eb988.0",
"@material/focus-ring": "15.0.0-canary.5b40eb988.0",
"@material/ripple": "15.0.0-canary.5b40eb988.0",
"@material/theme": "15.0.0-canary.5b40eb988.0",
"@material/touch-target": "15.0.0-canary.5b40eb988.0",
"@material/animation": "15.0.0-canary.5bebc0064.0",
"@material/base": "15.0.0-canary.5bebc0064.0",
"@material/density": "15.0.0-canary.5bebc0064.0",
"@material/dom": "15.0.0-canary.5bebc0064.0",
"@material/feature-targeting": "15.0.0-canary.5bebc0064.0",
"@material/focus-ring": "15.0.0-canary.5bebc0064.0",
"@material/ripple": "15.0.0-canary.5bebc0064.0",
"@material/theme": "15.0.0-canary.5bebc0064.0",
"@material/touch-target": "15.0.0-canary.5bebc0064.0",
"tslib": "^2.1.0"
},
"gitHead": "c30f2a613c97ecb48fd3f9ad7b0677e51a156449"
"gitHead": "ff39e65972de013a29dd14429e111139bc616366"
}

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc