From 7726155d20d51c16d353af3603c19b028bd94cba Mon Sep 17 00:00:00 2001 From: Alessandro Genova Date: Fri, 28 Sep 2018 15:28:36 -0400 Subject: [PATCH] Update to lastest stencil --- package.json | 6 +++--- src/components.d.ts | 49 +++++++++++++++++++-------------------------- 2 files changed, 24 insertions(+), 31 deletions(-) diff --git a/package.json b/package.json index b7acfb5..0acc2f8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "split-me", - "version": "1.0.0", + "version": "1.0.1", "description": "Universal web component to create arbitrary split layouts ", "module": "dist/esm/index.js", "main": "dist/index.js", @@ -20,10 +20,10 @@ "lodash.throttle": "^4.1.1" }, "devDependencies": { - "@stencil/core": "^0.12.4", + "@stencil/core": "^0.13.2", "@types/jest": "^23.3.2", "@types/lodash.throttle": "^4.1.4", - "husky": "^1.0.0-rc.15", + "husky": "^1.0.1", "jest": "^23.6.0", "prettier": "^1.14.3", "pretty-quick": "^1.7.0" diff --git a/src/components.d.ts b/src/components.d.ts index 871c643..c25d9a8 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -1,47 +1,42 @@ -/** -* This is an autogenerated file created by the Stencil compiler. -* It contains typing information for all components that exist in this project. -*/ /* tslint:disable */ +/** + * This is an autogenerated file created by the Stencil compiler. + * It contains typing information for all components that exist in this project. + */ import '@stencil/core'; - - - export namespace Components { - interface SplitMe { - 'd': 'horizontal' | 'vertical'; - 'fixed': boolean; - 'maxSizes': string; - 'minSizes': string; - 'n': number; - 'sizes': string; - 'throttle': number; + d: 'horizontal' | 'vertical'; + fixed: boolean; + maxSizes: string; + minSizes: string; + n: number; + sizes: string; + throttle: number; } interface SplitMeAttributes extends StencilHTMLAttributes { - 'd'?: 'horizontal' | 'vertical'; - 'fixed'?: boolean; - 'maxSizes'?: string; - 'minSizes'?: string; - 'n'?: number; - 'onSlotResized'?: (event: CustomEvent) => void; - 'sizes'?: string; - 'throttle'?: number; + d?: 'horizontal' | 'vertical'; + fixed?: boolean; + maxSizes?: string; + minSizes?: string; + n?: number; + onSlotResized?: (event: CustomEvent) => void; + sizes?: string; + throttle?: number; } } declare global { interface StencilElementInterfaces { - 'SplitMe': Components.SplitMe; + SplitMe: Components.SplitMe; } interface StencilIntrinsicElements { 'split-me': Components.SplitMeAttributes; } - interface HTMLSplitMeElement extends Components.SplitMe, HTMLStencilElement {} var HTMLSplitMeElement: { prototype: HTMLSplitMeElement; @@ -49,14 +44,13 @@ declare global { }; interface HTMLElementTagNameMap { - 'split-me': HTMLSplitMeElement + 'split-me': HTMLSplitMeElement; } interface ElementTagNameMap { 'split-me': HTMLSplitMeElement; } - export namespace JSX { export interface Element {} export interface IntrinsicElements extends StencilIntrinsicElements { @@ -64,5 +58,4 @@ declare global { } } export interface HTMLAttributes extends StencilHTMLAttributes {} - }