@material/mwc-base
Advanced tools
Comparing version 0.15.0-canary.05c6a93c.0 to 0.15.0-canary.1884603d.0
@@ -18,12 +18,4 @@ /** | ||
import { addHasRemoveClass, BaseElement, CustomEventListener, EventType, SpecificEventListener } from './base-element.js'; | ||
export { addHasRemoveClass, BaseElement, CustomEventListener, EventType, SpecificEventListener }; | ||
export interface HTMLElementWithRipple extends HTMLElement { | ||
ripple?: RippleInterface; | ||
} | ||
export interface RippleInterface { | ||
activate: (e?: Event) => void; | ||
deactivate: () => void; | ||
handleFocus: () => void; | ||
handleBlur: () => void; | ||
} | ||
import { HTMLElementWithRipple, RippleInterface } from './utils.js'; | ||
export { addHasRemoveClass, BaseElement, CustomEventListener, EventType, HTMLElementWithRipple, RippleInterface, SpecificEventListener, }; | ||
export declare abstract class FormElement extends BaseElement { | ||
@@ -30,0 +22,0 @@ /** |
@@ -18,3 +18,3 @@ /** | ||
import { addHasRemoveClass, BaseElement } from './base-element.js'; | ||
export { addHasRemoveClass, BaseElement }; | ||
export { addHasRemoveClass, BaseElement, }; | ||
export class FormElement extends BaseElement { | ||
@@ -21,0 +21,0 @@ createRenderRoot() { |
{ | ||
"name": "@material/mwc-base", | ||
"version": "0.15.0-canary.05c6a93c.0", | ||
"version": "0.15.0-canary.1884603d.0", | ||
"description": "", | ||
@@ -12,5 +12,5 @@ "repository": { | ||
"dependencies": { | ||
"@material/base": "=6.0.0-canary.35a32aaea.0", | ||
"@material/dom": "=6.0.0-canary.35a32aaea.0", | ||
"@material/ripple": "=6.0.0-canary.35a32aaea.0", | ||
"@material/base": "=6.0.0-canary.10af6cf39.0", | ||
"@material/dom": "=6.0.0-canary.10af6cf39.0", | ||
"@material/ripple": "=6.0.0-canary.10af6cf39.0", | ||
"lit-element": "^2.3.0", | ||
@@ -25,3 +25,3 @@ "tslib": "^1.10.0" | ||
}, | ||
"gitHead": "62ce85b6b0e7c20ae9938ba7b42af970a40f1f00" | ||
"gitHead": "9a072ce4f7812e5120dbc51ed124d9669e1f7be5" | ||
} |
@@ -19,2 +19,3 @@ /** | ||
import {addHasRemoveClass, BaseElement, CustomEventListener, EventType, SpecificEventListener} from './base-element.js'; | ||
import {HTMLElementWithRipple, RippleInterface} from './utils.js'; | ||
@@ -26,16 +27,7 @@ export { | ||
EventType, | ||
SpecificEventListener | ||
HTMLElementWithRipple, | ||
RippleInterface, | ||
SpecificEventListener, | ||
}; | ||
export interface HTMLElementWithRipple extends HTMLElement { | ||
ripple?: RippleInterface; | ||
} | ||
export interface RippleInterface { | ||
activate: (e?: Event) => void; | ||
deactivate: () => void; | ||
handleFocus: () => void; | ||
handleBlur: () => void; | ||
} | ||
export abstract class FormElement extends BaseElement { | ||
@@ -42,0 +34,0 @@ /** |
@@ -117,1 +117,12 @@ /** | ||
}; | ||
export interface HTMLElementWithRipple extends HTMLElement { | ||
ripple?: RippleInterface; | ||
} | ||
export interface RippleInterface { | ||
activate: (e?: Event) => void; | ||
deactivate: () => void; | ||
handleFocus: () => void; | ||
handleBlur: () => void; | ||
} |
@@ -36,1 +36,10 @@ /** | ||
export declare const doesElementContainFocus: (element: HTMLElement) => boolean; | ||
export interface HTMLElementWithRipple extends HTMLElement { | ||
ripple?: RippleInterface; | ||
} | ||
export interface RippleInterface { | ||
activate: (e?: Event) => void; | ||
deactivate: () => void; | ||
handleFocus: () => void; | ||
handleBlur: () => void; | ||
} |
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
52954
617