8000 doc(BDropdown): Parity pass on component and helpers by dwgray · Pull Request #2243 · bootstrap-vue-next/bootstrap-vue-next · GitHub
[go: up one dir, main page]

Skip to content

doc(BDropdown): Parity pass on component and helpers #2243

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/docs/src/components/ComponentReference.vue
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ const sortData = computed(() =>
.map(([key, value]) => ({prop: kebabCase(key), ...value}))
.sort((a, b) => a.prop.localeCompare(b.prop)),
})),
emits: el.emits.sort((a, b) => a.event.localeCompare(b.event)),
slots: el.slots.sort((a, b) => a.name.localeCompare(b.name)),
emits: el.emits?.sort((a, b) => a.event.localeCompare(b.event)),
slots: el.slots?.sort((a, b) => a.name.localeCompare(b.name)),
}

data.sections = (['Properties', 'Events', 'Slots'] as ComponentSection[]).filter(
Expand Down
7 changes: 1 addition & 6 deletions apps/docs/src/data/components/accordion.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,19 +136,14 @@ export default {
default: false,
description: 'When true, the AccordionItem will be visible',
},
wrapperAttrs: {
type: 'Readonly<AttrsValue>',
default: undefined,
description: 'Attributes to be applied to the wrapper element',
},
...pick(
buildCommonProps({
id: {
description:
'The Id to be injected to accordion items and used to in BCollapse for state managment',
},
}),
['id', 'tag']
['id', 'tag', 'wrapperAttrs']
),
} satisfies Record<keyof BvnComponentProps['BAccordionItem'], PropertyReference>,
},
Expand Down
Loading
Loading
0