@lion/core
Advanced tools
Comparing version 0.10.0 to 0.11.0
# Change Log | ||
## 0.11.0 | ||
### Minor Changes | ||
- 874ff483: Form-core typings | ||
#### Features | ||
Provided typings for the form-core package and core package. | ||
This also means that mixins that previously had implicit dependencies, now have explicit ones. | ||
#### Patches | ||
- lion-select-rich: invoker selectedElement now also clones text nodes (fix) | ||
- fieldset: runs a FormGroup suite | ||
## 0.10.0 | ||
@@ -4,0 +20,0 @@ |
@@ -43,3 +43,5 @@ # Guidelines Scoped Elements | ||
```js | ||
this.querySelector(getTagName('lion-input', this.constructor.scopedElements)); | ||
this.querySelector( | ||
this.constructor.getScopedTagName('lion-input', this.constructor.scopedElements), | ||
); | ||
``` | ||
@@ -46,0 +48,0 @@ |
{ | ||
"name": "@lion/core", | ||
"version": "0.10.0", | ||
"version": "0.11.0", | ||
"description": "Core functionality that is shared across all Lion Web Components", | ||
@@ -33,3 +33,3 @@ "license": "MIT", | ||
"@open-wc/dedupe-mixin": "^1.2.18", | ||
"@open-wc/scoped-elements": "^1.0.3", | ||
"@open-wc/scoped-elements": "^1.2.2", | ||
"lit-element": "~2.4.0", | ||
@@ -36,0 +36,0 @@ "lit-html": "^1.3.0" |
@@ -21,3 +21,3 @@ /* eslint-disable class-methods-use-this */ | ||
// eslint-disable-next-line | ||
class DelegateMixin extends superclass { | ||
class extends superclass { | ||
constructor() { | ||
@@ -24,0 +24,0 @@ super(); |
@@ -13,3 +13,3 @@ import { dedupeMixin } from '@open-wc/dedupe-mixin'; | ||
// eslint-disable-next-line no-shadow | ||
class DisabledMixinHost extends superclass { | ||
class extends superclass { | ||
static get properties() { | ||
@@ -16,0 +16,0 @@ return { |
@@ -14,3 +14,3 @@ import { dedupeMixin } from '@open-wc/dedupe-mixin'; | ||
// eslint-disable-next-line no-shadow | ||
class DisabledWithTabIndexMixinHost extends DisabledMixin(superclass) { | ||
class extends DisabledMixin(superclass) { | ||
static get properties() { | ||
@@ -17,0 +17,0 @@ return { |
@@ -15,3 +15,3 @@ /* eslint-disable class-methods-use-this */ | ||
// eslint-disable-next-line no-unused-vars, no-shadow | ||
class SlotMixinHost extends superclass { | ||
class extends superclass { | ||
/** | ||
@@ -18,0 +18,0 @@ * @return {SlotsMap} |
@@ -15,3 +15,3 @@ /* global ShadyCSS */ | ||
// eslint-disable-next-line no-shadow | ||
class UpdateStylesMixinHost extends superclass { | ||
class extends superclass { | ||
/** | ||
@@ -18,0 +18,0 @@ * @example |
@@ -12,3 +12,3 @@ import { Constructor } from '@open-wc/dedupe-mixin'; | ||
export declare class DelegateMixinHost { | ||
export declare class DelegateHost { | ||
delegations: Delegations; | ||
@@ -54,4 +54,4 @@ | ||
superclass: T, | ||
): T & Constructor<DelegateMixinHost>; | ||
): T & Constructor<DelegateHost>; | ||
export type DelegateMixin = typeof DelegateMixinImplementation; |
import { Constructor } from '@open-wc/dedupe-mixin'; | ||
import { LitElement } from 'lit-element'; | ||
export declare class DisabledMixinHost { | ||
static get properties(): { | ||
disabled: { | ||
type: BooleanConstructor; | ||
reflect: boolean; | ||
}; | ||
}; | ||
export declare class DisabledHost { | ||
disabled: boolean; | ||
@@ -29,4 +23,4 @@ | ||
superclass: T, | ||
): T & Constructor<DisabledMixinHost>; | ||
): T & Constructor<DisabledHost>; | ||
export type DisabledMixin = typeof DisabledMixinImplementation; |
import { Constructor } from '@open-wc/dedupe-mixin'; | ||
import { DisabledMixinHost } from './DisabledMixinTypes'; | ||
import { DisabledHost } from './DisabledMixinTypes'; | ||
import { LitElement } from 'lit-element'; | ||
export declare class DisabledWithTabIndexMixinHost { | ||
static get properties(): { | ||
tabIndex: { | ||
type: NumberConstructor; | ||
reflect: boolean; | ||
attribute: string; | ||
}; | ||
}; | ||
export declare class DisabledWithTabIndexHost { | ||
tabIndex: number; | ||
@@ -30,4 +23,4 @@ /** | ||
superclass: T, | ||
): T & Constructor<DisabledWithTabIndexMixinHost> & Constructor<DisabledMixinHost>; | ||
): T & Constructor<DisabledWithTabIndexHost> & Constructor<DisabledHost>; | ||
export type DisabledWithTabIndexMixin = typeof DisabledWithTabIndexMixinImplementation; |
@@ -9,3 +9,3 @@ import { Constructor } from '@open-wc/dedupe-mixin'; | ||
export declare class SlotMixinHost { | ||
export declare class SlotHost { | ||
/** | ||
@@ -54,4 +54,4 @@ * Obtains all the slots to create | ||
superclass: T, | ||
): T & Constructor<SlotMixinHost>; | ||
): T & Constructor<SlotHost>; | ||
export type SlotMixin = typeof SlotMixinImplementation; |
@@ -6,3 +6,3 @@ import { Constructor } from '@open-wc/dedupe-mixin'; | ||
}; | ||
export declare class UpdateStylesMixinHost { | ||
export declare class UpdateStylesHost { | ||
/** | ||
@@ -33,4 +33,4 @@ * @example | ||
superclass: T, | ||
): T & Constructor<UpdateStylesMixinHost>; | ||
): T & Constructor<UpdateStylesHost>; | ||
export type UpdateStylesMixin = typeof UpdateStylesMixinImplementation; |
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
86268
1572