element-vir 15.0.0 → 15.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { RequiredAndNotNullBy, RequiredBy } from '@augment-vir/common';
|
|
2
2
|
import { CSSResult, LitElement } from 'lit';
|
|
3
|
-
import { Exact } from 'type-fest';
|
|
4
3
|
import { WrappedMinimalDefinition } from '../template-transforms/minimal-element-definition';
|
|
5
4
|
import { CustomElementTagName, DeclarativeElementInit } from './declarative-element-init';
|
|
6
5
|
import { BaseCssPropertyName } from './properties/css-properties';
|
|
@@ -41,7 +40,7 @@ export declare abstract class DeclarativeElement<TagName extends CustomElementTa
|
|
|
41
40
|
}
|
|
42
41
|
export interface StaticDeclarativeElementProperties<TagName extends CustomElementTagName, Inputs extends PropertyInitMapBase, StateInit extends PropertyInitMapBase, EventsInit extends EventsInitMap, HostClassKeys extends BaseCssPropertyName<TagName>, CssVarKeys extends BaseCssPropertyName<TagName>, RenderOutputGeneric> {
|
|
43
42
|
/** Assign inputs to an element directly on its interpolated tag. */
|
|
44
|
-
readonly assign:
|
|
43
|
+
readonly assign: (inputsObject: {} extends Required<Inputs> ? never : Inputs) => WrappedMinimalDefinition;
|
|
45
44
|
assignedInputs: Inputs | undefined;
|
|
46
45
|
/** Pass through the render callback for direct unit testability */
|
|
47
46
|
readonly renderCallback: RenderCallback<TagName, Inputs, StateInit, EventsInit, HostClassKeys, CssVarKeys, RenderOutputGeneric>;
|