@rhtml/component 0.0.143 → 0.0.145

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.
package/dist/index.d.ts CHANGED
@@ -22,6 +22,7 @@ export interface OnRendererLoaded {
22
22
  }
23
23
  export declare const Partial: <S, D, K extends LitElement = LitElement>(options: Options) => (deps?: D) => (state?: StateToRender<S, D, K>) => (loading?: (this: K) => PossibleRender) => (error?: (this: K, e: Error) => PossibleRender) => (render?: RenderResult<S, D, K>) => <K_1 extends new (...args: any[]) => {}>(Base: K_1) => {
24
24
  new (...args: any[]): {
25
+ _registry: import("@rxdi/lit-html").CustomAttributeRegistry;
25
26
  getTemplateResult(): any;
26
27
  OnInit(): any;
27
28
  disconnectedCallback(): void;
@@ -42,6 +43,7 @@ export declare function Component<S, D, K extends LitElement = LitElement>({ Set
42
43
  Error?: (e: Error | unknown) => PossibleRender;
43
44
  }): <K_1 extends new (...args: any[]) => {}>(Base: K_1) => {
44
45
  new (...args: any[]): {
46
+ _registry: import("@rxdi/lit-html").CustomAttributeRegistry;
45
47
  getTemplateResult(): any;
46
48
  OnInit(): any;
47
49
  disconnectedCallback(): void;
package/dist/index.js CHANGED
@@ -37,7 +37,7 @@ function waitBeforeTrigger() {
37
37
  const Partial = (options) => (deps = []) => (state = () => ({})) => (loading = () => null) => (error = () => null) => (render = () => state) => (0, lit_html_1.Component)(Object.assign(Object.assign({}, options), { template() {
38
38
  return (0, lit_html_1.html) `
39
39
  <r-renderer
40
- style="display: none;"
40
+ style="display: contents;"
41
41
  @loaded=${waitBeforeTrigger.bind(this)}
42
42
  .options=${{
43
43
  state: state.bind(this).call(this, deps),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhtml/component",
3
- "version": "0.0.143",
3
+ "version": "0.0.145",
4
4
  "description": "Reactive HyperText Markup Language",
5
5
  "scripts": {
6
6
  "start": "npx parcel ./examples/index.html --out-dir build/examples",
@@ -17,8 +17,8 @@
17
17
  "url": "git@github.com:rhtml/rhtml.git"
18
18
  },
19
19
  "dependencies": {
20
- "@rxdi/lit-html": "^0.7.178",
21
- "@rhtml/renderer": "0.0.143"
20
+ "@rxdi/lit-html": "^0.7.225",
21
+ "@rhtml/renderer": "0.0.145"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "rxjs": "^7.8.0"
package/src/index.ts CHANGED
@@ -81,7 +81,7 @@ export const Partial =
81
81
  template(this: K) {
82
82
  return html`
83
83
  <r-renderer
84
- style="display: none;"
84
+ style="display: contents;"
85
85
  @loaded=${waitBeforeTrigger.bind(this)}
86
86
  .options=${{
87
87
  state: state.bind(this).call(this, deps),