Skip to content

Commit

Permalink
docs: upgrade example versions
Browse files Browse the repository at this point in the history
  • Loading branch information
noclat committed Dec 8, 2023
1 parent aa208ea commit 171e817
Show file tree
Hide file tree
Showing 14 changed files with 55 additions and 55 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ For React implementations, check our [PlaceKit Autocomplete React](https://githu
First, import the library and the default stylesheet into the `<head>` tag in your HTML:

```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@placekit/[email protected].5/dist/placekit-autocomplete.min.css" />
<script src="https://cdn.jsdelivr.net/npm/@placekit/[email protected].5"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@placekit/[email protected].6/dist/placekit-autocomplete.min.css" />
<script src="https://cdn.jsdelivr.net/npm/@placekit/[email protected].6"></script>
```

After importing the library, `placekitAutocomplete` becomes available as a global:
Expand All @@ -66,7 +66,7 @@ Or if you are using native ES Modules:

```html
<script type="module">
import placekitAutocomplete from 'https://cdn.jsdelivr.net/npm/@placekit/[email protected].5/dist/placekit-autocomplete.esm.js';
import placekitAutocomplete from 'https://cdn.jsdelivr.net/npm/@placekit/[email protected].6/dist/placekit-autocomplete.esm.js';
const pka = placekitAutocomplete(/* ... */);
// ...
</script>
Expand Down
8 changes: 4 additions & 4 deletions examples/autocomplete-js-address-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
},
"devDependencies": {
"autoprefixer": "^10.4.16",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.5",
"vite": "^4.5.0"
"postcss": "^8.4.32",
"tailwindcss": "^3.3.6",
"vite": "^5.0.7"
},
"dependencies": {
"@placekit/autocomplete-js": "^2.1.5",
"@placekit/autocomplete-js": "^2.1.6",
"@tailwindcss/forms": "^0.5.7"
}
}
8 changes: 4 additions & 4 deletions examples/autocomplete-js-basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
},
"devDependencies": {
"autoprefixer": "^10.4.16",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.5",
"vite": "^4.5.0"
"postcss": "^8.4.32",
"tailwindcss": "^3.3.6",
"vite": "^5.0.7"
},
"dependencies": {
"@placekit/autocomplete-js": "^2.1.5"
"@placekit/autocomplete-js": "^2.1.6"
}
}
4 changes: 2 additions & 2 deletions examples/autocomplete-js-cdn/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>PlaceKit Autocomplete JS from CDN</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@placekit/[email protected].5/dist/placekit-autocomplete.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@placekit/[email protected].6/dist/placekit-autocomplete.min.css" />
<style>
body { padding: 4rem; }
.container {
Expand All @@ -27,7 +27,7 @@
/>
</main>

<script src="https://cdn.jsdelivr.net/npm/@placekit/[email protected].5"></script>
<script src="https://cdn.jsdelivr.net/npm/@placekit/[email protected].6"></script>
<script>
const pka = placekitAutocomplete('pk_MP9JDzZr6jBoPH6i1K5BsBbTe2N9D4monmQyEHY7Qhk=', {
target: '#placekit-input',
Expand Down
2 changes: 1 addition & 1 deletion examples/autocomplete-js-cdn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"preview": "vite preview"
},
"devDependencies": {
"vite": "^4.5.0"
"vite": "^5.0.7"
}
}
8 changes: 4 additions & 4 deletions examples/autocomplete-js-cities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
},
"devDependencies": {
"autoprefixer": "^10.4.16",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.5",
"vite": "^4.5.0"
"postcss": "^8.4.32",
"tailwindcss": "^3.3.6",
"vite": "^5.0.7"
},
"dependencies": {
"@placekit/autocomplete-js": "^2.1.5"
"@placekit/autocomplete-js": "^2.1.6"
}
}
8 changes: 4 additions & 4 deletions examples/autocomplete-js-countries-whitelist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
},
"devDependencies": {
"autoprefixer": "^10.4.16",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.5",
"vite": "^4.5.0"
"postcss": "^8.4.32",
"tailwindcss": "^3.3.6",
"vite": "^5.0.7"
},
"dependencies": {
"@placekit/autocomplete-js": "^2.1.5"
"@placekit/autocomplete-js": "^2.1.6"
}
}
8 changes: 4 additions & 4 deletions examples/autocomplete-js-countries/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
},
"devDependencies": {
"autoprefixer": "^10.4.16",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.5",
"vite": "^4.5.0"
"postcss": "^8.4.32",
"tailwindcss": "^3.3.6",
"vite": "^5.0.7"
},
"dependencies": {
"@placekit/autocomplete-js": "^2.1.5"
"@placekit/autocomplete-js": "^2.1.6"
}
}
8 changes: 4 additions & 4 deletions examples/autocomplete-js-geolocation-dark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
},
"devDependencies": {
"autoprefixer": "^10.4.16",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.5",
"vite": "^4.5.0"
"postcss": "^8.4.32",
"tailwindcss": "^3.3.6",
"vite": "^5.0.7"
},
"dependencies": {
"@placekit/autocomplete-js": "^2.1.5"
"@placekit/autocomplete-js": "^2.1.6"
}
}
8 changes: 4 additions & 4 deletions examples/autocomplete-js-geolocation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
},
"devDependencies": {
"autoprefixer": "^10.4.16",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.5",
"vite": "^4.5.0"
"postcss": "^8.4.32",
"tailwindcss": "^3.3.6",
"vite": "^5.0.7"
},
"dependencies": {
"@placekit/autocomplete-js": "^2.1.5"
"@placekit/autocomplete-js": "^2.1.6"
}
}
8 changes: 4 additions & 4 deletions examples/autocomplete-js-leaflet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
},
"devDependencies": {
"autoprefixer": "^10.4.16",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.5",
"vite": "^4.5.0"
"postcss": "^8.4.32",
"tailwindcss": "^3.3.6",
"vite": "^5.0.7"
},
"dependencies": {
"@placekit/autocomplete-js": "^2.1.5",
"@placekit/autocomplete-js": "^2.1.6",
"leaflet": "^1.9.4"
}
}
12 changes: 6 additions & 6 deletions examples/autocomplete-js-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
"@fontsource/fira-mono": "^5.0.8",
"@neoconfetti/svelte": "^1.0.0",
"@sveltejs/adapter-auto": "^2.1.1",
"@sveltejs/kit": "^1.27.5",
"@sveltejs/kit": "^1.27.7",
"autoprefixer": "^10.4.16",
"postcss": "^8.4.31",
"svelte": "^4.2.3",
"tailwindcss": "^3.3.5",
"vite": "^4.5.0"
"postcss": "^8.4.32",
"svelte": "^4.2.8",
"tailwindcss": "^3.3.6",
"vite": "^5.0.7"
},
"type": "module",
"dependencies": {
"@placekit/autocomplete-js": "^2.1.5"
"@placekit/autocomplete-js": "^2.1.6"
}
}
10 changes: 5 additions & 5 deletions examples/autocomplete-js-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
},
"devDependencies": {
"autoprefixer": "^10.4.16",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.5",
"typescript": "^5.2.2",
"vite": "^4.5.0"
"postcss": "^8.4.32",
"tailwindcss": "^3.3.6",
"typescript": "^5.3.3",
"vite": "^5.0.7"
},
"dependencies": {
"@placekit/autocomplete-js": "^2.1.5"
"@placekit/autocomplete-js": "^2.1.6"
}
}
12 changes: 6 additions & 6 deletions examples/autocomplete-js-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
"preview": "vite preview"
},
"dependencies": {
"@placekit/autocomplete-js": "^2.1.5",
"vue": "^3.3.8"
"@placekit/autocomplete-js": "^2.1.6",
"vue": "^3.3.11"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.4.1",
"@vitejs/plugin-vue": "^4.5.2",
"autoprefixer": "^10.4.16",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.5",
"vite": "^4.5.0"
"postcss": "^8.4.32",
"tailwindcss": "^3.3.6",
"vite": "^5.0.7"
}
}

0 comments on commit 171e817

Please sign in to comment.