Skip to content

Commit

Permalink
updated deps, default label, api key check + tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GH Pages Bot committed Mar 22, 2020
1 parent 5d3935f commit b927509
Show file tree
Hide file tree
Showing 13 changed files with 15,475 additions and 62 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ Checkout the [Storybook here ↗](https://smashah.github.io/lit-place-input/)
## Installation

```bash
npm i lit-place-input
> npm i lit-place-input
Or
yarn add lit-place-input
> yarn add lit-place-input
```

then import
Expand Down
3 changes: 2 additions & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
lit-place-input {
width: -webkit-fill-available;
}

</style>
</head>
<body>
Expand All @@ -32,7 +33,7 @@
html`
<lit-place-input class="left right"
helper="Almost there!"
.searchType="establishment" .apiKey=${"AIzaSyCQjwnft-x6cXQYDkGNYBzaevanW3mVNBA"} label="Choose your gym"
.searchType="establishment" .apiKey=${"AIzaSyCQjwnft-x6cXQYDkGNYBzaevanW3mVNBA"} label="Choose your gym"
@place-changed=${_=>console.log('place changed',_.detail.place)}
outlined>
</lit-place-input>
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { LitPlaceInput } from './src/LitPlaceInput.js';
export { LitPlaceInput } from './lib/LitPlaceInput.js';
1 change: 1 addition & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = config => {
esm: {
nodeResolve: true,
},
captureConsole: false,
// you can overwrite/extend the config further
}),
);
Expand Down
2 changes: 1 addition & 1 deletion lib/LitPlaceInput.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ declare class LitPlaceInput extends TextField {
_value: any;
constructor();
updated(changedProperties: any): void;
readonly root: this | ShadowRoot;
get root(): this | ShadowRoot;
gbid(tag: string): any;
firstUpdated(): Promise<void>;
_mapsApiLoaded(): void;
Expand Down
2 changes: 1 addition & 1 deletion lib/LitPlaceInput.d.ts.map

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

47 changes: 26 additions & 21 deletions lib/LitPlaceInput.js

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

2 changes: 1 addition & 1 deletion lib/LitPlaceInput.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit b927509

Please sign in to comment.