@material/radio
Advanced tools
Comparing version 15.0.0-canary.024ac5f16.0 to 15.0.0-canary.02702296e.0
@@ -6,3 +6,3 @@ # Change Log | ||
# [15.0.0-canary.024ac5f16.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.024ac5f16.0) (2022-10-17) | ||
# [15.0.0-canary.02702296e.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.02702296e.0) (2023-08-25) | ||
@@ -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.024ac5f16.0", | ||
"version": "15.0.0-canary.02702296e.0", | ||
"license": "MIT", | ||
@@ -20,14 +20,14 @@ "keywords": [ | ||
"dependencies": { | ||
"@material/animation": "15.0.0-canary.024ac5f16.0", | ||
"@material/base": "15.0.0-canary.024ac5f16.0", | ||
"@material/density": "15.0.0-canary.024ac5f16.0", | ||
"@material/dom": "15.0.0-canary.024ac5f16.0", | ||
"@material/feature-targeting": "15.0.0-canary.024ac5f16.0", | ||
"@material/focus-ring": "15.0.0-canary.024ac5f16.0", | ||
"@material/ripple": "15.0.0-canary.024ac5f16.0", | ||
"@material/theme": "15.0.0-canary.024ac5f16.0", | ||
"@material/touch-target": "15.0.0-canary.024ac5f16.0", | ||
"@material/animation": "15.0.0-canary.02702296e.0", | ||
"@material/base": "15.0.0-canary.02702296e.0", | ||
"@material/density": "15.0.0-canary.02702296e.0", | ||
"@material/dom": "15.0.0-canary.02702296e.0", | ||
"@material/feature-targeting": "15.0.0-canary.02702296e.0", | ||
"@material/focus-ring": "15.0.0-canary.02702296e.0", | ||
"@material/ripple": "15.0.0-canary.02702296e.0", | ||
"@material/theme": "15.0.0-canary.02702296e.0", | ||
"@material/touch-target": "15.0.0-canary.02702296e.0", | ||
"tslib": "^2.1.0" | ||
}, | ||
"gitHead": "9ad8e77cff1167055c10b93b4082fd5b4e1d8643" | ||
"gitHead": "22335673bc742932498b2538321ed9dcfd692879" | ||
} |
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
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.02702296e.0(transitive)
+ Added@material/base@15.0.0-canary.02702296e.0(transitive)
+ Added@material/density@15.0.0-canary.02702296e.0(transitive)
+ Added@material/dom@15.0.0-canary.02702296e.0(transitive)
+ Added@material/feature-targeting@15.0.0-canary.02702296e.0(transitive)
+ Added@material/focus-ring@15.0.0-canary.02702296e.0(transitive)
+ Added@material/ripple@15.0.0-canary.02702296e.0(transitive)
+ Added@material/rtl@15.0.0-canary.02702296e.0(transitive)
+ Added@material/theme@15.0.0-canary.02702296e.0(transitive)
+ Added@material/touch-target@15.0.0-canary.02702296e.0(transitive)
- Removed@material/animation@15.0.0-canary.024ac5f16.0(transitive)
- Removed@material/base@15.0.0-canary.024ac5f16.0(transitive)
- Removed@material/density@15.0.0-canary.024ac5f16.0(transitive)
- Removed@material/dom@15.0.0-canary.024ac5f16.0(transitive)
- Removed@material/feature-targeting@15.0.0-canary.024ac5f16.0(transitive)
- Removed@material/focus-ring@15.0.0-canary.024ac5f16.0(transitive)
- Removed@material/ripple@15.0.0-canary.024ac5f16.0(transitive)
- Removed@material/rtl@15.0.0-canary.024ac5f16.0(transitive)
- Removed@material/theme@15.0.0-canary.024ac5f16.0(transitive)
- Removed@material/touch-target@15.0.0-canary.024ac5f16.0(transitive)
Updated@material/feature-targeting@15.0.0-canary.02702296e.0