Skip to content

Commit

Permalink
storybook deployed
Browse files Browse the repository at this point in the history
  • Loading branch information
GH Pages Bot committed Jan 7, 2020
1 parent 67e1b3a commit ac10865
Show file tree
Hide file tree
Showing 40 changed files with 14 additions and 2,600 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/whatsapp-button) [![npm version](https://badge.fury.io/js/whatsapp-button.svg)](https://badge.fury.io/js/whatsapp-button)
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/lit-place-input) [![npm version](https://badge.fury.io/js/whatsapp-button.svg)](https://badge.fury.io/js/lit-place-input)

[![Buy me a coffee][buymeacoffee-shield]][buymeacoffee]

Expand Down Expand Up @@ -105,3 +105,6 @@ To run a local development server that serves the basic demo located in `demo/in
npm start:compatibility
```
To run a local development server in compatibility mode for older browsers that serves the basic demo located in `demo/index.html`

[buymeacoffee-shield]: https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg
[buymeacoffee]: https://www.buymeacoffee.com/0lUd5Y3
4 changes: 2 additions & 2 deletions custom-elements.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"name": "apiKey",
"type": "String",
"description": "Required: A Maps API key. To obtain an API key, see developers.google.com/maps/documentation/javascript/tutorial#api_key.",
"default": "AIzaSyBmsetVvB1KlWoSbEXYQg1leRZO1PVPm_Q"
"default": "AIzaSyCQjwnft-x6cXQYDkGNYBzaevanW3mVNBA"
},
{
"name": "searchCountryCode",
"type": "String",
"description": "bias search results to a country code (ISO 3166-1 Alpha-2 country code, case insensitive).",
"default": "AIzaSyBmsetVvB1KlWoSbEXYQg1leRZO1PVPm_Q"
"default": "AIzaSyCQjwnft-x6cXQYDkGNYBzaevanW3mVNBA"
},
{
"name": "searchBounds",
Expand Down
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
html`
<lit-place-input class="left right"
helper="Almost there!"
.searchType="establishment" .apiKey=${"AIzaSyBmsetVvB1KlWoSbEXYQg1leRZO1PVPm_Q"} label="Choose your gym"
.searchType="establishment" .apiKey=${"AIzaSyCQjwnft-x6cXQYDkGNYBzaevanW3mVNBA"} label="Choose your gym"
outlined>
</lit-place-input>
`,
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lit-place-input",
"version": "0.0.0",
"version": "1.0.0",
"description": "A simple and fully customizable place autocomplete component extending @mwc-textfield, following open-wc recommendations",
"author": "Mohammed Shah <@smashah>",
"license": "MIT",
Expand All @@ -21,7 +21,8 @@
"test:bs": "karma start karma.bs.config.js --coverage",
"storybook": "start-storybook --node-resolve --watch --open",
"storybook:build": "build-storybook",
"deploy-storybook": "storybook-to-ghpages --existing-output-dir=.storybook-static"
"deploy-storybook": "storybook-to-ghpages --existing-output-dir=storybook-static",
"sbbad": "npm run storybook:build && npm run deploy-storybook"
},
"dependencies": {
"@google-web-components/google-apis": "^3.0.1",
Expand Down
7 changes: 4 additions & 3 deletions stories/index.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import '../lit-place-input.js';
decorators={[withKnobs, withWebComponentsKnobs]}
parameters={{
component: "lit-place-input",
options: { selectedPanel: "storybookjs/knobs/panel" }
options: { selectedPanel: "storybookjs/knobs/panel",
enableShortcuts: false }
}}
/>

Expand Down Expand Up @@ -35,7 +36,7 @@ import 'lit-place-input/lit-place-input.js';
<Preview withToolbar>
<Story name="Simple">
{html`
<lit-place-input .apiKey=${"AIzaSyBmsetVvB1KlWoSbEXYQg1leRZO1PVPm_Q"} .label=${'Choose Place'}></lit-place-input>
<lit-place-input .apiKey=${"AIzaSyCQjwnft-x6cXQYDkGNYBzaevanW3mVNBA"} .label=${'Choose Place'}></lit-place-input>
`}
</Story>
</Preview>
Expand All @@ -57,7 +58,7 @@ import 'lit-place-input/lit-place-input.js';
--mdc-notched-outline-trailing-border-radius: 0 28px 28px 0;
"
helper="Almost there!"
.searchType="establishment" .apiKey=${"AIzaSyBmsetVvB1KlWoSbEXYQg1leRZO1PVPm_Q"} label="Choose your gym"
.searchType="establishment" .apiKey=${"AIzaSyCQjwnft-x6cXQYDkGNYBzaevanW3mVNBA"} label="Choose your gym"
outlined>
</lit-place-input>
`}
Expand Down
235 changes: 0 additions & 235 deletions storybook-static/custom-elements.json

This file was deleted.

1 change: 0 additions & 1 deletion storybook-static/iframe.html

This file was deleted.

31 changes: 0 additions & 31 deletions storybook-static/index.html

This file was deleted.

Loading

0 comments on commit ac10865

Please sign in to comment.