8000 doc(BButtonToolbar): Parity pass by dwgray · Pull Request #2140 · bootstrap-vue-next/bootstrap-vue-next · GitHub
[go: up one dir, main page]

Skip to content

doc(BButtonToolbar): Parity pass #2140

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 1 commit into from
Aug 26, 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
15 changes: 5 additions & 10 deletions apps/docs/src/data/components/buttonToolbar.data.ts
Original file line number Diff line number Diff line change
@@ -1,31 +1,26 @@
import type {BvnComponentProps} from 'bootstrap-vue-next'
import type {ComponentReference, PropertyReference} from '../../types'
import {buildCommonProps, pick} from '../../utils'

export default {
load: (): ComponentReference[] => [
{
component: 'BButtonToolbar',
props: {
'': {
ariaLabel: {
type: 'string',
default: 'Group',
},
justify: {
type: 'boolean',
default: false,
description:
'Make the toolbar span the maximum available width, by increasing spacing between the button groups, input groups and dropdowns',
},
role: {
type: 'string',
default: 'toolbar',
},
...pick(buildCommonProps(), ['ariaLabel', 'role']),
} satisfies Record<keyof BvnComponentProps['BButtonToolbar'], PropertyReference>,
},
slots: [
{
description: '',
name: 'default',
scope: [],
description: 'Content to place in the button toolbar',
},
],
emits: [],
Expand Down
5 changes: 5 additions & 0 deletions apps/docs/src/docs/migration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ details.
The `content` and `text-variant` props have been deprecated since Bootstrap 5 moved to using an
embedded svg for the close icon. See [their migration guide](https://getbootstrap.com/docs/5.3/migration/#close-button-1) for details.

## BButtonToolbar

[Keyboard navigation](https://bootstrap-vue.org/docs/components/button-toolbar#keyboard-navigation) is
not implemented.

## BForm

Bootstrap 5 has dropped form-specific layout classes for the grid system. See the
Expand Down
Loading
0