@material/radio
Advanced tools
Comparing version 15.0.0-canary.1f99f3c50.0 to 15.0.0-canary.1fb4b1a06.0
@@ -6,3 +6,3 @@ # Change Log | ||
# [15.0.0-canary.1f99f3c50.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.1f99f3c50.0) (2022-12-15) | ||
# [15.0.0-canary.1fb4b1a06.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.1fb4b1a06.0) (2023-06-27) | ||
@@ -9,0 +9,0 @@ |
@@ -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,4 +102,5 @@ 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. | ||
@@ -100,0 +107,0 @@ var adapter = __assign(__assign({}, MDCRipple.createAdapter(this)), { registerInteractionHandler: function (evtType, handler) { |
@@ -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.1f99f3c50.0", | ||
"version": "15.0.0-canary.1fb4b1a06.0", | ||
"license": "MIT", | ||
@@ -20,14 +20,14 @@ "keywords": [ | ||
"dependencies": { | ||
"@material/animation": "15.0.0-canary.1f99f3c50.0", | ||
"@material/base": "15.0.0-canary.1f99f3c50.0", | ||
"@material/density": "15.0.0-canary.1f99f3c50.0", | ||
"@material/dom": "15.0.0-canary.1f99f3c50.0", | ||
"@material/feature-targeting": "15.0.0-canary.1f99f3c50.0", | ||
"@material/focus-ring": "15.0.0-canary.1f99f3c50.0", | ||
"@material/ripple": "15.0.0-canary.1f99f3c50.0", | ||
"@material/theme": "15.0.0-canary.1f99f3c50.0", | ||
"@material/touch-target": "15.0.0-canary.1f99f3c50.0", | ||
"@material/animation": "15.0.0-canary.1fb4b1a06.0", | ||
"@material/base": "15.0.0-canary.1fb4b1a06.0", | ||
"@material/density": "15.0.0-canary.1fb4b1a06.0", | ||
"@material/dom": "15.0.0-canary.1fb4b1a06.0", | ||
"@material/feature-targeting": "15.0.0-canary.1fb4b1a06.0", | ||
"@material/focus-ring": "15.0.0-canary.1fb4b1a06.0", | ||
"@material/ripple": "15.0.0-canary.1fb4b1a06.0", | ||
"@material/theme": "15.0.0-canary.1fb4b1a06.0", | ||
"@material/touch-target": "15.0.0-canary.1fb4b1a06.0", | ||
"tslib": "^2.1.0" | ||
}, | ||
"gitHead": "c9094e8faca1eaab158d26f7ca8ee4b42fb54bdb" | ||
"gitHead": "1d1b86822f3fc9f22a5fdfc1c381d5a4ae983829" | ||
} |
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 too big to display
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
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
906286
6138
+ Added@material/animation@15.0.0-canary.1fb4b1a06.0(transitive)
+ Added@material/base@15.0.0-canary.1fb4b1a06.0(transitive)
+ Added@material/density@15.0.0-canary.1fb4b1a06.0(transitive)
+ Added@material/dom@15.0.0-canary.1fb4b1a06.0(transitive)
+ Added@material/feature-targeting@15.0.0-canary.1fb4b1a06.0(transitive)
+ Added@material/focus-ring@15.0.0-canary.1fb4b1a06.0(transitive)
+ Added@material/ripple@15.0.0-canary.1fb4b1a06.0(transitive)
+ Added@material/rtl@15.0.0-canary.1fb4b1a06.0(transitive)
+ Added@material/theme@15.0.0-canary.1fb4b1a06.0(transitive)
+ Added@material/touch-target@15.0.0-canary.1fb4b1a06.0(transitive)
- Removed@material/animation@15.0.0-canary.1f99f3c50.0(transitive)
- Removed@material/base@15.0.0-canary.1f99f3c50.0(transitive)
- Removed@material/density@15.0.0-canary.1f99f3c50.0(transitive)
- Removed@material/dom@15.0.0-canary.1f99f3c50.0(transitive)
- Removed@material/feature-targeting@15.0.0-canary.1f99f3c50.0(transitive)
- Removed@material/focus-ring@15.0.0-canary.1f99f3c50.0(transitive)
- Removed@material/ripple@15.0.0-canary.1f99f3c50.0(transitive)
- Removed@material/rtl@15.0.0-canary.1f99f3c50.0(transitive)
- Removed@material/theme@15.0.0-canary.1f99f3c50.0(transitive)
- Removed@material/touch-target@15.0.0-canary.1f99f3c50.0(transitive)
Updated@material/feature-targeting@15.0.0-canary.1fb4b1a06.0