element-vir 14.2.0 → 14.2.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.
@@ -7,7 +7,7 @@ import { CssVars } from './properties/css-vars';
7
7
  import { EventDescriptorMap, EventsInitMap } from './properties/element-events';
8
8
  import { ElementPropertyDescriptorMap, PropertyInitMapBase } from './properties/element-properties';
9
9
  import { HostClassNamesMap } from './properties/host-classes';
10
- import { AllowObservablePropertySetter, FlattenObservablePropertyGetters, FlattenObservablePropertySetters, ObservablePropertyHandlerMap } from './properties/observable-property/observable-property-handler';
10
+ import { AllowObservablePropertySetter, FlattenObservablePropertyGetters, ObservablePropertyHandlerMap } from './properties/observable-property/observable-property-handler';
11
11
  import { RenderCallback, RenderParams, UpdateStateCallback } from './render-callback';
12
12
  export type DeclarativeElementHost<TagName extends CustomElementTagName = any, Inputs extends PropertyInitMapBase = any, StateInit extends PropertyInitMapBase = any, EventsInit extends EventsInitMap = any, HostClassKeys extends BaseCssPropertyName<TagName> = any, CssVarKeys extends BaseCssPropertyName<TagName> = any> = RequiredAndNotNullBy<Omit<DeclarativeElement<TagName, Inputs, StateInit, EventsInit, HostClassKeys, CssVarKeys, any>, Exclude<keyof StaticDeclarativeElementProperties<any, any, any, any, any, any, any>, keyof HTMLElement>>, 'shadowRoot'>;
13
13
  export type DeclarativeElementDefinition<TagName extends CustomElementTagName = any, Inputs extends PropertyInitMapBase = any, StateInit extends PropertyInitMapBase = any, EventsInit extends EventsInitMap = any, HostClassKeys extends BaseCssPropertyName<TagName> = any, CssVarKeys extends BaseCssPropertyName<TagName> = any, RenderOutputGeneric = any> = (new () => DeclarativeElementHost<TagName, Inputs, StateInit, EventsInit, HostClassKeys, CssVarKeys>) & StaticDeclarativeElementProperties<TagName, Inputs, StateInit, EventsInit, HostClassKeys, CssVarKeys, RenderOutputGeneric> & {
@@ -49,7 +49,7 @@ export interface StaticDeclarativeElementProperties<TagName extends CustomElemen
49
49
  readonly events: EventDescriptorMap<EventsInit>;
50
50
  readonly stateInitStatic: ElementPropertyDescriptorMap<StateInit>;
51
51
  readonly init: RequiredBy<DeclarativeElementInit<TagName, Inputs, StateInit, EventsInit, HostClassKeys, CssVarKeys, RenderOutputGeneric>, 'stateInitStatic' | 'events'>;
52
- readonly inputsType: Readonly<FlattenObservablePropertySetters<Inputs, Inputs>>;
52
+ readonly inputsType: Inputs;
53
53
  readonly stateType: Readonly<FlattenObservablePropertyGetters<StateInit>>;
54
54
  readonly updateStateType: UpdateStateCallback<StateInit>;
55
55
  readonly isStrictInstance: (element: unknown) => element is DeclarativeElement<TagName, Inputs, StateInit, EventsInit, HostClassKeys, CssVarKeys, RenderOutputGeneric>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "element-vir",
3
- "version": "14.2.0",
3
+ "version": "14.2.1",
4
4
  "keywords": [
5
5
  "custom",
6
6
  "web",