Skip to content

Commit 6b74126

Browse files
committed
Rename package
1 parent 40ba107 commit 6b74126

19 files changed

+99
-94
lines changed

README.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,46 @@
1-
![Nodejs workflow status](https://github.com/mattzollinhofer/vue-typeahead-bootstrap/actions/workflows/nodejs.yml/badge.svg)
1+
![Nodejs workflow status](https://github.com/drikusroor/vue-bootstrap-autocomplete/actions/workflows/nodejs.yml/badge.svg)
22

33
# Looking for Maintainer
44
Hey everyone, I haven't had the time to put into this project as I did in the past and I'm looking for a maintainer(s) to hand this off to. We've advanced the project substantially in terms of accessibility and some functionality and am looking for the next person to carry this forward. Contact me directly or open an issue if you're interested!
55

6-
# vue-typeahead-bootstrap
6+
# vue-bootstrap-autocomplete
77

88
A simple `list-group` based typeahead/autocomplete using Bootstrap 4 and Vue 2
99

10-
<img src="https://raw.githubusercontent.com/mattzollinhofer/vue-typeahead-bootstrap/main/assets/screenshot.png" alt="Preview image of the vue-typeahead-bootstrap component">
10+
<img src="https://raw.githubusercontent.com/drikusroor/vue-bootstrap-autocomplete/main/assets/screenshot.png" alt="Preview image of the vue-bootstrap-autocomplete component">
1111

12-
Here are some live examples, [give them a try here.](https://mattzollinhofer.github.io/vue-typeahead-bootstrap-docs/examples/examples.html#custom-suggestion-slot)
12+
Here are some live examples, [give them a try here.](https://drikusroor.github.io/vue-bootstrap-autocomplete-docs/examples/examples.html#custom-suggestion-slot)
1313

1414
## Getting Started
15-
[Getting started guide is here.](https://mattzollinhofer.github.io/vue-typeahead-bootstrap-docs/guide/gettingStarted.html#installation)
15+
[Getting started guide is here.](https://drikusroor.github.io/vue-bootstrap-autocomplete-docs/guide/gettingStarted.html#installation)
1616

1717
## Documentation
18-
[Docs are here.](https://mattzollinhofer.github.io/vue-typeahead-bootstrap-docs/)
18+
[Docs are here.](https://drikusroor.github.io/vue-bootstrap-autocomplete-docs/)
1919

2020
## Contributing
2121
Please note that active development is done on the `main` branch. PR's are welcome! Here's the basic steps to get going.
2222

2323
Here's the steps to getting the project to work locally:
2424

25-
1. Clone the repo: `git clone [email protected]:mattzollinhofer/vue-typeahead-bootstrap.git`
25+
1. Clone the repo: `git clone [email protected]:drikusroor/vue-bootstrap-autocomplete.git`
2626
2. `npm ci`
2727
3. `vuepress dev docs`
2828
4. Open a browser and go to localhost:8080
2929

3030
* Then to run tests: `npm run test:unit`
3131

32-
## 2.0 Release - Migration Necessary
33-
If you were using a version prior to 2.0, you'll need to change all references of `vue-bootstrap-typeahead` to `vue-typeahead-bootstrap` and of `VueBootstrapTypeahead` to `VueTypeaheadBootstrap`.
32+
## 2.13.0 Release - Migration Necessary
33+
If you were using a version prior to 2.13.0, you'll need to change all references of `vue-bootstrap-typeahead` or `vue-typeahead-bootstrap` to `vue-bootstrap-autocomplete` and of `VueBootstrapTypeahead` or `VueTypeaheadBootstrap` to `VueBootstrapAutocomplete.
3434

35-
The original project lost it's maintainer and we picked it up to keep it moving. [More info here if you're interested.](https://github.com/alexurquhart/vue-bootstrap-typeahead/issues/60)
35+
The original projects lost it's maintainers and we picked it up to keep it moving.
36+
37+
More info here if you're interested:
38+
* [vue-bootstrap-typeahead](https://github.com/alexurquhart/vue-bootstrap-typeahead/issues/60)
39+
* [vue-typeahead-bootstrap](https://github.com/mattzollinhofer/vue-typeahead-bootstrap)
3640

3741
## Local Examples/Demo
38-
Clone this repository and run `vuepress dev docs`. Then, navigate to http://localhost:8080/vue-typeahead-bootstrap-docs/ to launch the documentation and examples. The source is in `docs/README.md` and `docs/.vuepress`
42+
Clone this repository and run `vuepress dev docs`. Then, navigate to http://localhost:8080/vue-bootstrap-autocomplete-docs/ to launch the documentation and examples. The source is in `docs/README.md` and `docs/.vuepress`
3943

4044
## Lineage
41-
I want to specifically acknowledge the original repository by Alex Urquhart for this work: https://github.com/alexurquhart/vue-bootstrap-typeahead. He brought this project into reality, we're simply trying to help keep it moving forward. Thanks, Alex!
45+
* I want to acknowledge the original repository by Alex Urquhart for this work: https://github.com/alexurquhart/vue-bootstrap-typeahead.
46+
* I also want to acknowledge the continuation of Matt Zollinhofer of this project: https://github.com/mattzollinhofer/vue-typeahead-bootstrap.

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ git add -A
1212
git commit -m 'deploy'
1313

1414
# force push to docs repo
15-
git push -f [email protected]:mattzollinhofer/vue-typeahead-bootstrap-docs.git master:gh-pages
15+
git push -f [email protected]:drikusroor/vue-bootstrap-autocomplete-docs.git master:gh-pages
1616

1717
cd -

docs/.vuepress/components/APIExample.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="pl-1 pb-2 pt-3">
44
Selected user: <span v-if="selecteduser">{{selecteduser.login}}</span>
55
</div>
6-
<vue-typeahead-bootstrap
6+
<vue-bootstrap-autocomplete
77
class="mb-4"
88
v-model="query"
99
:data="users"
@@ -20,12 +20,12 @@
2020

2121
<script>
2222
import 'bootstrap-vue/dist/bootstrap-vue.css'
23-
import VueTypeaheadBootstrap from "../../../src/components/VueTypeaheadBootstrap";
23+
import VueBootstrapAutocomplete from "../../../src/components/VueBootstrapAutocomplete";
2424
import {debounce} from 'lodash'
2525
2626
export default {
2727
name: "APIExample",
28-
components: {VueTypeaheadBootstrap},
28+
components: {VueBootstrapAutocomplete},
2929
data(){
3030
return {
3131
query: '',

docs/.vuepress/components/CustomSuggestion.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="pl-1 pb-2 pt-3">
44
Selected user: <span v-if="selecteduser">{{selecteduser.login}}</span>
55
</div>
6-
<vue-typeahead-bootstrap
6+
<vue-bootstrap-autocomplete
77
class="mb-4"
88
v-model="query"
99
:data="users"
@@ -30,18 +30,18 @@
3030
<i class="ml-auto fab fa-github-square fa-2x"></i>
3131
</div>
3232
</template>
33-
</vue-typeahead-bootstrap>
33+
</vue-bootstrap-autocomplete>
3434
</div>
3535
</template>
3636

3737
<script>
3838
import 'bootstrap-vue/dist/bootstrap-vue.css'
39-
import VueTypeaheadBootstrap from "../../../src/components/VueTypeaheadBootstrap";
39+
import VueBootstrapAutocomplete from "../../../src/components/VueBootstrapAutocomplete";
4040
import {debounce} from 'lodash'
4141
4242
export default {
4343
name: "APIExample",
44-
components: {VueTypeaheadBootstrap},
44+
components: {VueBootstrapAutocomplete},
4545
data(){
4646
return {
4747
query: '',

docs/.vuepress/components/HomePageDemo.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div>
33
<div class="pl-1 pb-2 pt-3">Selected Country: {{query}}</div>
4-
<vue-typeahead-bootstrap
4+
<vue-bootstrap-autocomplete
55
:data="['Canada', 'United Kingdom', 'United States', 'Mexico']"
66
v-model="query"
77
showOnFocus
@@ -12,11 +12,11 @@
1212

1313
<script>
1414
import 'bootstrap-vue/dist/bootstrap-vue.css'
15-
import VueTypeaheadBootstrap from "../../../src/components/VueTypeaheadBootstrap";
15+
import VueBootstrapAutocomplete from "../../../src/components/VueBootstrapAutocomplete";
1616
1717
export default {
1818
name: "HomePageDemo",
19-
components: {VueTypeaheadBootstrap},
19+
components: {VueBootstrapAutocomplete},
2020
data(){
2121
return {
2222
query: ''

docs/.vuepress/components/PendingAppendingExample.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div>
3-
<vue-typeahead-bootstrap
3+
<vue-bootstrap-autocomplete
44
class="mb-4"
55
v-model="query"
66
:data="users"
@@ -16,18 +16,18 @@
1616
Search
1717
</button>
1818
</template>
19-
</vue-typeahead-bootstrap>
19+
</vue-bootstrap-autocomplete>
2020
</div>
2121
</template>
2222

2323
<script>
2424
import 'bootstrap-vue/dist/bootstrap-vue.css'
25-
import VueTypeaheadBootstrap from "../../../src/components/VueTypeaheadBootstrap";
25+
import VueBootstrapAutocomplete from "../../../src/components/VueBootstrapAutocomplete";
2626
import {debounce} from 'lodash'
2727
2828
export default {
2929
name: "PendingAppendingExample",
30-
components: {VueTypeaheadBootstrap},
30+
components: {VueBootstrapAutocomplete},
3131
data(){
3232
return {
3333
query: '',

docs/.vuepress/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
base: '/vue-typeahead-bootstrap-docs/',
2+
base: '/vue-bootstrap-autocomplete-docs/',
33
chainWebpack(config) {
44
for (const lang of ["sass", "scss"]) {
55
for (const name of ["modules", "normal"]) {
@@ -24,7 +24,7 @@ module.exports = {
2424
}, {
2525
text: 'Examples', link: '/examples/examples'
2626
}, {
27-
text: 'Github', link: 'https://github.com/mattzollinhofer/vue-typeahead-bootstrap/'
27+
text: 'Github', link: 'https://github.com/drikusroor/vue-bootstrap-autocomplete/'
2828
}
2929
],
3030
sidebar: [

docs/examples/examples.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div class="pl-1 pb-2 pt-3">Selected Country: {{query}}</div>
99
<div>
1010
Options: `Canada, United States, Mexico`,
11-
<vue-typeahead-bootstrap
11+
<vue-bootstrap-autocomplete
1212
:data="['Canada', 'United States', 'Mexico']"
1313
v-model="query"
1414
placeholder="Choose a country"
@@ -36,7 +36,7 @@
3636
<div class="pl-1 pb-2 pt-3">
3737
Selected user: <span v-if="selecteduser">{{selecteduser.login}}</span>
3838
</div>
39-
<vue-typeahead-bootstrap
39+
<vue-bootstrap-autocomplete
4040
class="mb-4"
4141
v-model="query"
4242
:ieCloseFix="false"
@@ -86,7 +86,7 @@
8686
```vue
8787
<template>
8888
<div>
89-
<VueTypeaheadBootstrap
89+
<VueBootstrapAutocomplete
9090
class="mb-4"
9191
v-model="query"
9292
:data="users"
@@ -102,7 +102,7 @@
102102
Search
103103
</button>
104104
</template>
105-
</VueTypeaheadBootstrap>
105+
</VueBootstrapAutocomplete>
106106
</div>
107107
</template>
108108
@@ -144,7 +144,7 @@
144144
<div class="pl-1 pb-2 pt-3">
145145
Selected user: <span v-if="selecteduser">{{selecteduser.login}}</span>
146146
</div>
147-
<vue-typeahead-bootstrap
147+
<vue-bootstrap-autocomplete
148148
class="mb-4"
149149
v-model="query"
150150
:data="users"
@@ -171,7 +171,7 @@
171171
<i class="ml-auto fab fa-github-square fa-2x"></i>
172172
</div>
173173
</template>
174-
</vue-typeahead-bootstrap>
174+
</vue-bootstrap-autocomplete>
175175
</div>
176176
</template>
177177

docs/guide/gettingStarted.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,29 @@
33
## Installation
44
```js
55
// yarn
6-
yarn add vue-typeahead-bootstrap
6+
yarn add vue-bootstrap-autocomplete
77

88
// npm
9-
npm install vue-typeahead-bootstrap --save
9+
npm install vue-bootstrap-autocomplete --save
1010
```
1111

1212
## Registration
1313

1414
```js
15-
import VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';
15+
import VueBootstrapAutocomplete from 'vue-bootstrap-autocomplete';
1616

1717
// Required dependency of bootstrap css/scss files
1818
import 'bootstrap/scss/bootstrap.scss';
1919

2020
// Global registration
21-
Vue.component('vue-typeahead-bootstrap', VueTypeaheadBootstrap)
21+
Vue.component('vue-bootstrap-autocomplete', VueBootstrapAutocomplete)
2222

2323
// or
2424

2525
// Local Registration
2626
export default {
2727
components: {
28-
VueTypeaheadBootstrap
28+
VueBootstrapAutocomplete
2929
}
3030
}
3131
```
@@ -34,7 +34,7 @@ export default {
3434
The only required props are a `v-model` and a `data` array.
3535

3636
```html
37-
<vue-typeahead-bootstrap
37+
<vue-bootstrap-autocomplete
3838
v-model="query"
3939
:data="['Canada', 'United States', 'Mexico']"
4040
/>
@@ -47,7 +47,7 @@ Configure the [build transpile](https://nuxtjs.org/api/configuration-build/#tran
4747
{
4848
build: {
4949
transpile: [
50-
({ isServer }) => 'vue-typeahead-bootstrap'
50+
({ isServer }) => 'vue-bootstrap-autocomplete'
5151
]
5252
}
5353
}

docs/guide/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ See the [custom suggestion slot example][4] for more info.
4949
[1]: https://getbootstrap.com/docs/4.1/components/list-group/#contextual-classes
5050
[2]: https://getbootstrap.com/docs/4.1/utilities/colors/#color
5151
[3]: https://vuejs.org/v2/guide/components-slots.html#Scoped-Slots
52-
[4]: https://mattzollinhofer.github.io/vue-typeahead-bootstrap-docs/examples/examples.html#custom-suggestion-slot
52+
[4]: https://drikusroor.github.io/vue-bootstrap-autocomplete-docs/examples/examples.html#custom-suggestion-slot

0 commit comments

Comments
 (0)