Skip to content

Commit 2c3c823

Browse files
authored
Merge branch 'main' into main
2 parents cdc9194 + ad9b909 commit 2c3c823

File tree

145 files changed

+5056
-1621
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+5056
-1621
lines changed

.vscode/extensions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"recommendations": ["Vue.volar"]
2+
"recommendations": ["Vue.volar", "dbaeumer.vscode-eslint"]
33
}

apps/docs/docs/.vuepress/PluginComponentReference/client/components/component-doc.vue

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
</div>
144144
</template>
145145
<script lang="ts">
146-
import {resolveComponent, defineComponent, computed, ComputedRef, ConcreteComponent, ref, Ref} from 'vue'
146+
import {resolveComponent, defineComponent, computed, ConcreteComponent, ref, Ref} from 'vue'
147147
import AnchoredHeading from './anchored-heading'
148148
import {hyphenate} from '../../../utils'
149149
// type definitions
@@ -191,15 +191,15 @@ export default defineComponent({
191191
props.component as string
192192
) as ConcreteComponent
193193
194-
const componentPropsMetaObj: ComputedRef<any> = computed(() => {
194+
const componentPropsMetaObj = computed(() => {
195195
return props.propsMeta.reduce((obj, propMeta) => {
196196
if (propMeta.prop) {
197197
obj[propMeta.prop] = propMeta
198198
}
199199
return obj
200200
}, {})
201201
})
202-
const githubURL: ComputedRef<string> = computed(() => {
202+
const githubURL = computed(() => {
203203
const name = component.name ?? component.__name ?? ''
204204
if (name.indexOf('{') !== -1) {
205205
// Example component (most likely an auto generated component)
@@ -213,14 +213,14 @@ export default defineComponent({
213213
214214
// component name kebab
215215
216-
const componentName: ComputedRef<string> = computed(() => {
216+
const componentName = computed(() => {
217217
return hyphenate(component.name ?? component.__name ?? '')
218218
})
219-
const tag: ComputedRef<string> = computed(() => {
219+
const tag = computed(() => {
220220
return `<${componentName.value}>`
221221
})
222222
223-
const propsItems: ComputedRef<any> = computed(() => {
223+
const propsItems = computed(() => {
224224
const props: any = component.props
225225
const propsMetaObj = componentPropsMetaObj
226226
return Object.keys(props)
@@ -280,7 +280,7 @@ export default defineComponent({
280280
})
281281
})
282282
283-
const propFields: ComputedRef<any> = computed(() => {
283+
const propFields = computed(() => {
284284
const sortable = propsItems.value.length >= SORT_THRESHOLD
285285
286286
// TODO define Type for propItems
@@ -296,7 +296,7 @@ export default defineComponent({
296296
]
297297
})
298298
299-
const emitsFields: ComputedRef<any> = computed(() => {
299+
const emitsFields = computed(() => {
300300
const sortable = component.emits?.length >= SORT_THRESHOLD
301301
return [
302302
{key: 'emit', label: 'Emit', sortable},
@@ -305,7 +305,7 @@ export default defineComponent({
305305
]
306306
})
307307
308-
const slotsFields: ComputedRef<any> = computed(() => {
308+
const slotsFields = computed(() => {
309309
const sortable = props.slots.length >= SORT_THRESHOLD
310310
const hasScopedSlots = props.slots.some(s => s.scope)
311311
return [
@@ -315,18 +315,18 @@ export default defineComponent({
315315
]
316316
})
317317
318-
const slotsItems: Ref<any[]> = ref(
318+
const slotsItems = ref(
319319
props.slots ? props.slots.map(slot => ({ ...slot as any})) : []
320320
)
321321
322322
323-
const vmodelItems: ComputedRef<any> = computed(() => {
323+
const vmodelItems = computed(() => {
324324
//TODO loop through props and emits to determine v-model
325325
// let match = VMODEL_REGEX.exec(myString);
326326
return []
327327
})
328328
329-
const vmodelFields: ComputedRef<any> = computed(() => {
329+
const vmodelFields = computed(() => {
330330
//TODO loop
331331
return []
332332
})

apps/docs/docs/.vuepress/components/DocReference.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
reference
55
</h2>
66

7-
<template v-for="component in reference.meta.components">
7+
<template v-for="(component, index) in reference.meta.components" :key="index">
88
<h3 :id="component.component" tabindex="-1">
99
<a class="header-anchor" :href="`#${component.component}`" aria-hidden="true">#</a>
1010
<code>&lt;{{ component.component }}&gt;</code>
@@ -25,7 +25,7 @@
2525
</tr>
2626
</thead>
2727
<tbody>
28-
<tr v-for="prop in component.props">
28+
<tr v-for="(prop, index) in component.props" :key="index">
2929
<td class="text-nowrap">
3030
<code>{{ prop.prop }}</code>
3131
</td>
@@ -60,7 +60,7 @@
6060
</tr>
6161
</thead>
6262
<tbody>
63-
<tr v-for="event in component.events">
63+
<tr v-for="(event, index) in component.events" :key="index">
6464
<td class="text-nowrap">
6565
<code>{{ event.event }}</code>
6666
</td>
@@ -83,7 +83,7 @@
8383
</tr>
8484
</thead>
8585
<tbody>
86-
<tr v-for="slot in component.slots">
86+
<tr v-for="(slot, index) in component.slots" :key="index">
8787
<td class="text-nowrap">
8888
<code>{{ slot.name }}</code>
8989
</td>

apps/docs/docs/components/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ BootstrapVue 3 components
44

55
<ClientOnly>
66
<b-list-group>
7-
<b-list-group-item v-for="(component, key) in componentList">
7+
<b-list-group-item v-for="(component, key) in componentList" :key="key">
88
<RouterLink :to="`./${key}.html`">{{component.name}}</RouterLink>
99
<b-badge v-if="component.status=='todo'" variant="warning" pill>TODO</b-badge>
1010
<b-badge v-else-if="component.status=='wip'" variant="warning" pill>WIP</b-badge>

apps/docs/docs/components/Skeleton.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Deprecation warning
66

7-
This component is soon to be deprecated in favor of native using Bootstrap [placeholder](https://getbootstrap.com/docs/5.2/components/placeholders/) components. Scheduled for removal in v0.4.0
7+
This component is soon to be deprecated in favor of native using Bootstrap [placeholder](https://getbootstrap.com/docs/5.2/components/placeholders/) components. Scheduled for removal in v0.5.0
88

99
**Example: Basic usage**
1010

apps/playground/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
"vue-router": "4.1.3"
1717
},
1818
"devDependencies": {
19-
"tsconfig": "workspace:*",
2019
"@vitejs/plugin-vue": "^3.0.0",
20+
"rollup-plugin-visualizer": "^5.7.1",
21+
"tsconfig": "workspace:*",
2122
"typescript": "^4.6.4",
2223
"vite": "^3.0.0",
2324
"vue-tsc": "^0.38.4"

apps/playground/src/components/Comps/TPagination.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const paginationPageNumber = ref(19)
125125
const paginationLimit = ref(8)
126126
const paginationPerPage = ref(2)
127127
const paginationRows = ref(40)
128-
const paginationDangerClasses = ref(['border-danger', 'border-5', 'border'])
128+
const paginationDangerClasses = ['border-danger', 'border-5', 'border']
129129
130130
const handlePaginationPageClick = (event: BvEvent, page: number) => {
131131
if (page === 7) {
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> 1%
2+
last 2 versions
3+
not dead
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [0.0.1] - 2022-10-18
9+
10+
### Added
11+
12+
- initial version
13+
14+
### Changed
15+
16+
### Fixed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Bootstrap-vue-3-icons
2+
3+
This is the root for the bootstrap-vue-3-icons package

0 commit comments

Comments
 (0)