second-component
Advanced tools
Comparing version 0.0.8 to 0.0.9
{ | ||
"components": [ | ||
{ | ||
"tag": "app-home", | ||
"dependencies": [ | ||
"stencil-route-link" | ||
], | ||
"componentClass": "AppHome", | ||
"componentPath": "components/app-home/app-home.js", | ||
"styles": { | ||
"$": { | ||
"stylePaths": [ | ||
"components/app-home/app-home.css" | ||
] | ||
} | ||
} | ||
}, | ||
{ | ||
"tag": "app-profile", | ||
"tag": "app-sec-rofile", | ||
"dependencies": [], | ||
"componentClass": "AppProfile", | ||
"componentClass": "AppSeccProfile", | ||
"componentPath": "components/app-profile/app-profile.js", | ||
@@ -37,2 +22,17 @@ "styles": { | ||
{ | ||
"tag": "app-secc-home", | ||
"dependencies": [ | ||
"stencil-route-link" | ||
], | ||
"componentClass": "AppSeccHome", | ||
"componentPath": "components/app-home/app-home.js", | ||
"styles": { | ||
"$": { | ||
"stylePaths": [ | ||
"components/app-home/app-home.css" | ||
] | ||
} | ||
} | ||
}, | ||
{ | ||
"tag": "sec-comp", | ||
@@ -43,3 +43,3 @@ "dependencies": [ | ||
], | ||
"componentClass": "MyApp", | ||
"componentClass": "MySeccApp", | ||
"componentPath": "components/my-app/my-app.js", | ||
@@ -46,0 +46,0 @@ "styles": { |
@@ -1,2 +0,2 @@ | ||
export class AppHome { | ||
export class AppSeccHome { | ||
render() { | ||
@@ -8,4 +8,4 @@ return (h("div", { class: 'app-home' }, | ||
} | ||
static get is() { return "app-home"; } | ||
static get style() { return "/**style-placeholder:app-home:**/"; } | ||
static get is() { return "app-secc-home"; } | ||
static get style() { return "/**style-placeholder:app-secc-home:**/"; } | ||
} |
@@ -1,2 +0,2 @@ | ||
export class AppProfile { | ||
export class AppSeccProfile { | ||
render() { | ||
@@ -11,5 +11,5 @@ if (this.match && this.match.params.name) { | ||
} | ||
static get is() { return "app-profile"; } | ||
static get is() { return "app-sec-rofile"; } | ||
static get properties() { return { "match": { "type": "Any", "attr": "match" } }; } | ||
static get style() { return "/**style-placeholder:app-profile:**/"; } | ||
static get style() { return "/**style-placeholder:app-sec-rofile:**/"; } | ||
} |
@@ -1,2 +0,2 @@ | ||
export class MyApp { | ||
export class MySeccApp { | ||
render() { | ||
@@ -8,4 +8,4 @@ return (h("div", null, | ||
h("stencil-router", null, | ||
h("stencil-route", { url: '/seccom', component: 'app-home', exact: true }), | ||
h("stencil-route", { url: '/profiler/:name', component: 'app-profile' }))))); | ||
h("stencil-route", { url: '/seccom', component: 'app-secc-home', exact: true }), | ||
h("stencil-route", { url: '/profiler/:name', component: 'app-sec-rofile' }))))); | ||
} | ||
@@ -12,0 +12,0 @@ static get is() { return "sec-comp"; } |
@@ -76,2 +76,2 @@ /*! Built with http://stenciljs.com */ | ||
})(window, document, "seccomp","seccomp","/build/seccomp/",true,"seccomp.core.js","es5-build-disabled.js","hydrated",[["app-home","app-home",1],["app-profile","app-profile",1,[["match",1]]],["sec-comp","sec-comp",1],["stencil-route","sec-comp",0,[["activeRouter",3,0,0,"activeRouter"],["component",1,1,2],["componentProps",1],["exact",1,1,3],["group",1,1,2],["groupIndex",1,1,4],["location",3,0,0,"location"],["match",5],["routeRender",1],["url",1]]],["stencil-route-link","app-home",0,[["activeClass",1,1,2],["activeRouter",3,0,0,"activeRouter"],["anchorRole",1,1,2],["anchorTabIndex",1,1,2],["anchorTitle",1,1,2],["custom",1,1,2],["exact",1,1,3],["match",5],["url",1,1,2],["urlMatch",1]]],["stencil-router","sec-comp",0,[["activeRouter",3,0,0,"activeRouter"],["historyType",1],["match",5],["root",1,1,2],["titleSuffix",1,1,2]]]]); | ||
})(window, document, "seccomp","seccomp","/build/seccomp/",true,"seccomp.core.js","es5-build-disabled.js","hydrated",[["app-sec-rofile","app-sec-rofile",1,[["match",1]]],["app-secc-home","app-secc-home",1],["sec-comp","sec-comp",1],["stencil-route","sec-comp",0,[["activeRouter",3,0,0,"activeRouter"],["component",1,1,2],["componentProps",1],["exact",1,1,3],["group",1,1,2],["groupIndex",1,1,4],["location",3,0,0,"location"],["match",5],["routeRender",1],["url",1]]],["stencil-route-link","app-secc-home",0,[["activeClass",1,1,2],["activeRouter",3,0,0,"activeRouter"],["anchorRole",1,1,2],["anchorTabIndex",1,1,2],["anchorTitle",1,1,2],["custom",1,1,2],["exact",1,1,3],["match",5],["url",1,1,2],["urlMatch",1]]],["stencil-router","sec-comp",0,[["activeRouter",3,0,0,"activeRouter"],["historyType",1],["match",5],["root",1,1,2],["titleSuffix",1,1,2]]]]); |
@@ -6,3 +6,3 @@ /*! Built with http://stenciljs.com */ | ||
class MyApp { | ||
class MySeccApp { | ||
render() { | ||
@@ -14,4 +14,4 @@ return (h("div", null, | ||
h("stencil-router", null, | ||
h("stencil-route", { url: '/seccom', component: 'app-home', exact: true }), | ||
h("stencil-route", { url: '/profiler/:name', component: 'app-profile' }))))); | ||
h("stencil-route", { url: '/seccom', component: 'app-secc-home', exact: true }), | ||
h("stencil-route", { url: '/profiler/:name', component: 'app-sec-rofile' }))))); | ||
} | ||
@@ -947,2 +947,2 @@ static get is() { return "sec-comp"; } | ||
export { MyApp as SecComp, Route as StencilRoute, Router as StencilRouter }; | ||
export { MySeccApp as SecComp, Route as StencilRoute, Router as StencilRouter }; |
@@ -29,25 +29,25 @@ import './stencil.core'; | ||
import { | ||
AppHome as AppHome | ||
AppSeccHome as AppSeccHome | ||
} from './components/app-home/app-home'; | ||
declare global { | ||
interface HTMLAppHomeElement extends AppHome, HTMLStencilElement { | ||
interface HTMLAppSeccHomeElement extends AppSeccHome, HTMLStencilElement { | ||
} | ||
var HTMLAppHomeElement: { | ||
prototype: HTMLAppHomeElement; | ||
new (): HTMLAppHomeElement; | ||
var HTMLAppSeccHomeElement: { | ||
prototype: HTMLAppSeccHomeElement; | ||
new (): HTMLAppSeccHomeElement; | ||
}; | ||
interface HTMLElementTagNameMap { | ||
"app-home": HTMLAppHomeElement; | ||
"app-secc-home": HTMLAppSeccHomeElement; | ||
} | ||
interface ElementTagNameMap { | ||
"app-home": HTMLAppHomeElement; | ||
"app-secc-home": HTMLAppSeccHomeElement; | ||
} | ||
namespace JSX { | ||
interface IntrinsicElements { | ||
"app-home": JSXElements.AppHomeAttributes; | ||
"app-secc-home": JSXElements.AppSeccHomeAttributes; | ||
} | ||
} | ||
namespace JSXElements { | ||
export interface AppHomeAttributes extends HTMLAttributes { | ||
export interface AppSeccHomeAttributes extends HTMLAttributes { | ||
@@ -60,25 +60,25 @@ } | ||
import { | ||
AppProfile as AppProfile | ||
AppSeccProfile as AppSecRofile | ||
} from './components/app-profile/app-profile'; | ||
declare global { | ||
interface HTMLAppProfileElement extends AppProfile, HTMLStencilElement { | ||
interface HTMLAppSecRofileElement extends AppSecRofile, HTMLStencilElement { | ||
} | ||
var HTMLAppProfileElement: { | ||
prototype: HTMLAppProfileElement; | ||
new (): HTMLAppProfileElement; | ||
var HTMLAppSecRofileElement: { | ||
prototype: HTMLAppSecRofileElement; | ||
new (): HTMLAppSecRofileElement; | ||
}; | ||
interface HTMLElementTagNameMap { | ||
"app-profile": HTMLAppProfileElement; | ||
"app-sec-rofile": HTMLAppSecRofileElement; | ||
} | ||
interface ElementTagNameMap { | ||
"app-profile": HTMLAppProfileElement; | ||
"app-sec-rofile": HTMLAppSecRofileElement; | ||
} | ||
namespace JSX { | ||
interface IntrinsicElements { | ||
"app-profile": JSXElements.AppProfileAttributes; | ||
"app-sec-rofile": JSXElements.AppSecRofileAttributes; | ||
} | ||
} | ||
namespace JSXElements { | ||
export interface AppProfileAttributes extends HTMLAttributes { | ||
export interface AppSecRofileAttributes extends HTMLAttributes { | ||
match?: MatchResults; | ||
@@ -91,3 +91,3 @@ } | ||
import { | ||
MyApp as SecComp | ||
MySeccApp as SecComp | ||
} from './components/my-app/my-app'; | ||
@@ -94,0 +94,0 @@ |
import '../../stencil.core'; | ||
export declare class AppHome { | ||
export declare class AppSeccHome { | ||
render(): JSX.Element; | ||
} |
import '../../stencil.core'; | ||
import { MatchResults } from '@stencil/router'; | ||
export declare class AppProfile { | ||
export declare class AppSeccProfile { | ||
match: MatchResults; | ||
render(): JSX.Element; | ||
} |
import '../../stencil.core'; | ||
export declare class MyApp { | ||
export declare class MySeccApp { | ||
render(): JSX.Element; | ||
} |
{ | ||
"name": "second-component", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Stencil Component Starter", | ||
@@ -5,0 +5,0 @@ "main": "dist/seccomp.js", |
174143