You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/migration-guide.md
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -63,9 +63,9 @@ Include Bootstrap and Font Awesome icons to your app as easily as adding a Boots
63
63
64
64
## Components
65
65
66
-
There are six new components in _dash-bootstrap-components_: `Accordion`, `Breadcrumb`, `FormFloating`, `Offcanvas`, `Pagination`, and `Switch`. Additionally many components have changes to their props.
66
+
There are seven new components in _dash-bootstrap-components_: `Accordion`, `Breadcrumb`, `FormFloating`, `ModalTitle`, `Offcanvas`, `Pagination`, and `Switch`. Additionally many components have changes to their props.
67
67
68
-
Notably previously there was a mix of `size` and `bs_size` props for controlling the size of some components. All components that allow size to be changed now consistently use `size`. To set the HTML `size` property of the underlying `<input />` in the `Input` component, use `html_size` instead.
68
+
Notably previously there was a mix of `size` and `bs_size` props for controlling the size of some components. All components that allow size to be changed now consistently use `size`. To set the HTML `size` property of the underlying `<input />` in the `Input` component, or the underlying `<select />` in the `Select` component, use `html_size` instead.
- Added new accordion component. Check out the documentation [here](/docs/components/accordion)
@@ -131,15 +131,16 @@ the [Bootstrap grid docs](https://getbootstrap.com/docs/5.0/layout/grid/#row-col
131
131
- <spanclass="badge bg-danger">Breaking</span> Dropped the `ListGroupHeading` and `ListGroupItemText` components. Both are unnecessary since you can pass any Dash components to the children of `ListGroupItem`. See the [docs](/docs/components/list_group/) for updated examples.
132
132
133
133
### Modal
134
+
- <spanclass="badge bg-danger">Breaking</span> Wrap any title text with the new `ModalTitle` component to make sure the font size and style is set appropriately. This change is to allow more flexibility in the allowed children of the `ModalHeader`.
134
135
- Added `fullscreen` property
135
136
- Added `keyboard` property to close modal when escape key is pressed.
136
137
137
138
### Nav
138
-
- <spanclass="badge bg-danger">Breaking</span> - Dropped `active` property in `NavItem`. You should only need to set `active` on the child `NavLink` instead.
139
+
- <spanclass="badge bg-danger">Breaking</span> Dropped `active` property in `NavItem`. You should only need to set `active` on the child `NavLink` instead.
139
140
- Added `navbar_scroll` property. This enables vertical scrolling within the toggleable contents of the nav when used inside a collapsed `Navbar`.
140
141
141
142
### Navbar
142
-
- <spanclass="badge bg-danger">Breaking</span> - Bootstrap navbars now must be constructed with a container. If you're using `NavbarSimple` you don't need to make any changes! If you are using `Navbar` with a custom layout you probably will need to make changes. See the [docs](/docs/components/list_group/) for updated examples.
143
+
- <spanclass="badge bg-danger">Breaking</span> Bootstrap navbars now must be constructed with a container. If you're using `NavbarSimple` you don't need to make any changes! If you are using `Navbar` with a custom layout you probably will need to make changes. See the [docs](/docs/components/list_group/) for updated examples.
0 commit comments