foo-component-jr
Advanced tools
Comparing version 0.0.2 to 0.0.3
'use strict'; | ||
const index = require('./index-26332373.js'); | ||
const index = require('./index-c998e6ce.js'); | ||
@@ -5,0 +5,0 @@ /* |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-26332373.js'); | ||
const index = require('./index-c998e6ce.js'); | ||
@@ -8,0 +8,0 @@ /* |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-26332373.js'); | ||
const index = require('./index-c998e6ce.js'); | ||
@@ -12,3 +12,3 @@ function format(first, middle, last) { | ||
const myComponentCss = ":host{display:block}"; | ||
const myComponentCss = ":host{display:block}.hello-world{color:white;padding:1rem;background-color:gray}"; | ||
@@ -23,3 +23,3 @@ let MyComponent = class { | ||
render() { | ||
return index.h("div", null, "Hello, World! I'm ", this.getText()); | ||
return index.h("div", { class: 'hello-world' }, "Hello, Great World! I'm ", this.getText()); | ||
} | ||
@@ -26,0 +26,0 @@ }; |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-26332373.js'); | ||
const index = require('./index-c998e6ce.js'); | ||
@@ -8,0 +8,0 @@ const secondComponentCss = ":host{display:block}"; |
@@ -8,4 +8,4 @@ import { Component, Prop, h } from '@stencil/core'; | ||
render() { | ||
return h("div", null, | ||
"Hello, World! I'm ", | ||
return h("div", { class: 'hello-world' }, | ||
"Hello, Great World! I'm ", | ||
this.getText()); | ||
@@ -12,0 +12,0 @@ } |
@@ -7,3 +7,3 @@ import { HTMLElement, h, proxyCustomElement } from '@stencil/core/internal/client'; | ||
const myComponentCss = ":host{display:block}"; | ||
const myComponentCss = ":host{display:block}.hello-world{color:white;padding:1rem;background-color:gray}"; | ||
@@ -20,3 +20,3 @@ let MyComponent$1 = class extends HTMLElement { | ||
render() { | ||
return h("div", null, "Hello, World! I'm ", this.getText()); | ||
return h("div", { class: 'hello-world' }, "Hello, Great World! I'm ", this.getText()); | ||
} | ||
@@ -23,0 +23,0 @@ static get style() { return myComponentCss; } |
@@ -1,2 +0,2 @@ | ||
import { p as promiseResolve, b as bootstrapLazy } from './index-14939342.js'; | ||
import { p as promiseResolve, b as bootstrapLazy } from './index-b29b1019.js'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
import { p as promiseResolve, b as bootstrapLazy } from './index-14939342.js'; | ||
import { p as promiseResolve, b as bootstrapLazy } from './index-b29b1019.js'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, h } from './index-14939342.js'; | ||
import { r as registerInstance, h } from './index-b29b1019.js'; | ||
@@ -7,3 +7,3 @@ function format(first, middle, last) { | ||
const myComponentCss = ":host{display:block}"; | ||
const myComponentCss = ":host{display:block}.hello-world{color:white;padding:1rem;background-color:gray}"; | ||
@@ -18,3 +18,3 @@ let MyComponent = class { | ||
render() { | ||
return h("div", null, "Hello, World! I'm ", this.getText()); | ||
return h("div", { class: 'hello-world' }, "Hello, Great World! I'm ", this.getText()); | ||
} | ||
@@ -21,0 +21,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, h } from './index-14939342.js'; | ||
import { r as registerInstance, h } from './index-b29b1019.js'; | ||
@@ -3,0 +3,0 @@ const secondComponentCss = ":host{display:block}"; |
@@ -1,1 +0,1 @@ | ||
import{p as o,b as n}from"./p-2b0ad396.js";(()=>{const n=import.meta.url,p={};return""!==n&&(p.resourcesUrl=new URL(".",n).href),o(p)})().then((o=>n([["p-42478e28",[[1,"my-component",{first:[1],middle:[1],last:[1]}]]],["p-51fbf98a",[[1,"second-component"]]]],o))); | ||
import{p as o,b as c}from"./p-0483ec85.js";(()=>{const c=import.meta.url,n={};return""!==c&&(n.resourcesUrl=new URL(".",c).href),o(n)})().then((o=>c([["p-fc449b49",[[1,"my-component",{first:[1],middle:[1],last:[1]}]]],["p-c4547cd4",[[1,"second-component"]]]],o))); |
{ | ||
"name": "foo-component-jr", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Stencil Component Starter", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
Sorry, the diff of this file is not supported yet
297834
4575