Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
Starting to function
Browse files Browse the repository at this point in the history
  • Loading branch information
Lingomat committed Feb 8, 2018
1 parent 09ce00a commit cfdb9e2
Show file tree
Hide file tree
Showing 14 changed files with 47,306 additions and 13,039 deletions.
85 changes: 66 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
"test.watch": "jest --watch --no-cache"
},
"dependencies": {
"@stencil/core": "0.3.0",
"aikumic": "^0.0.3",
"@stencil/core": "0.4.0-1",
"aikumic": "^0.1.0",
"prettyprint": "^1.1.1",
"randomcolor": "^0.5.3",
"sketch-js": "^1.1.3",
"swiper": "^4.1.0"
Expand All @@ -28,7 +29,8 @@
"@stencil/dev-server": "latest",
"@stencil/utils": "latest",
"@types/jest": "^21.1.1",
"jest": "^21.2.1"
"jest": "^21.2.1",
"tslib": "^1.9.0"
},
"repository": {
"type": "git",
Expand All @@ -44,6 +46,9 @@
"transform": {
"^.+\\.(ts|tsx)$": "<rootDir>/node_modules/@stencil/core/testing/jest.preprocessor.js"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!aikumic)"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
"moduleFileExtensions": [
"ts",
Expand Down
17 changes: 13 additions & 4 deletions src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,21 @@
*/


declare global {
interface HTMLStencilElement extends HTMLElement {
componentOnReady(): Promise<this>;
componentOnReady(done: (ele?: this) => void): void;
}
}



import {
Gestate as AikumaGestate
} from './components/gestate/gestate';

declare global {
interface HTMLAikumaGestateElement extends AikumaGestate, HTMLElement {
interface HTMLAikumaGestateElement extends AikumaGestate, HTMLStencilElement {
}
var HTMLAikumaGestateElement: {
prototype: HTMLAikumaGestateElement;
Expand Down Expand Up @@ -40,7 +49,7 @@ import {
} from './components/image-gesture-voice/image-gesture-voice';

declare global {
interface HTMLAikumaImageGestureVoiceElement extends AikumaImageGestureVoice, HTMLElement {
interface HTMLAikumaImageGestureVoiceElement extends AikumaImageGestureVoice, HTMLStencilElement {
}
var HTMLAikumaImageGestureVoiceElement: {
prototype: HTMLAikumaImageGestureVoiceElement;
Expand Down Expand Up @@ -70,7 +79,7 @@ import {
} from './components/slide-show/slide-show';

declare global {
interface HTMLAikumaSlideShowElement extends AikumaSlideShow, HTMLElement {
interface HTMLAikumaSlideShowElement extends AikumaSlideShow, HTMLStencilElement {
}
var HTMLAikumaSlideShowElement: {
prototype: HTMLAikumaSlideShowElement;
Expand Down Expand Up @@ -100,7 +109,7 @@ import {
} from './components/translate-igv/translate-igv';

declare global {
interface HTMLAikumaTranslateIgvElement extends AikumaTranslateIgv, HTMLElement {
interface HTMLAikumaTranslateIgvElement extends AikumaTranslateIgv, HTMLStencilElement {
}
var HTMLAikumaTranslateIgvElement: {
prototype: HTMLAikumaTranslateIgvElement;
Expand Down
1 change: 1 addition & 0 deletions src/components/gestate/gestate.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
position: absolute;
border: 2px solid purple;
box-sizing: border-box;
z-index: 100;
}
Loading

0 comments on commit cfdb9e2

Please sign in to comment.