Skip to content
Open
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
37 changes: 37 additions & 0 deletions Migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,43 @@ supplies local styles or overrides loading, review both the document stylesheets
and styles inside component shadow roots; document-level CSS does not style
shadow-root content automatically.

`DropdownButton` positions its menu below the trigger and handles outside clicks
across shadow roots. Trigger clicks toggle it; selecting a link closes it without
preventing navigation. Escape closes the menu and restores trigger focus without
also dismissing a containing drawer. Document listeners are removed on disconnect.

`DrawerNavbar` follows Bootstrap 6's container-based expansion rather than the
viewport width. Above `expand`, navigation is projected inline instead of relying
on navbar selectors to reach into the drawer's shadow root. Below it, the toggler
has explicit Bootstrap-style button styling and `aria-expanded` tracks the drawer.
Close-button, backdrop, Escape, and native dialog close actions synchronize the
drawer and navbar state; expanding an open navbar closes its modal drawer.

## Bootstrap 6 alpha.1 component corrections

- `DrawerNavbar.sticky` positions the block-level host, so the inner navbar is
not constrained to a one-navbar-high sticky containing block.
- `SplitView` loads Bootstrap inside its shadow root, reserves a touch-draggable
divider, and clamps resizing against the current pane origin and host width.
- `CountDown` uses explicit theme backgrounds and contrast colors with wrapping,
spaced, smaller time tiles. Semantic `Badge.bg` values also select their theme.
- `Carousel` discovers slides after mounting and slot changes, activates its
initial slide with or without autoplay, wraps backwards safely, and scrolls
the scroll-snap track when selecting a slide. Captions are anchored to their
own slide above the controls. Native button clicks handle Enter only once.
- Small spinners use `spinner-sm` with explicit small-size variables to avoid
the alpha.1 grow-spinner cascade overriding the requested size.
- `FormField` uses `form-field` layout and associates generated or supplied
control IDs with both regular and floating labels.
- `MediaObject` aligns the image wrapper and allows the text flex item to shrink.
- `NavLink.disabled` removes navigation and tab focus, adds disabled styling and
ARIA state, and suppresses its click callback.
- Tooltips use bottom placement with a positioned host and arrow.
- `Row` and `Col` retain every supplied responsive size. Sized columns stack
below their first breakpoint; only unsized columns use equal-width `col`.
- `MonthCalendar` keeps the inner table layout fixed independently of host
styles, and uses compact localized weekday headings with full-name titles.

## Downstream verification checklist

1. Update imports, custom-element tags, button props, color props, and breakpoint
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"@swc/helpers": "^0.5.23",
"browser-fs-access": "^0.38.0",
"classnames": "^2.5.1",
"dom-renderer": "^2.6.4",
"dom-renderer": "^2.7.0",
"iterable-observer": "^1.1.1",
"mime": "^4.1.1",
"mime": "^4.1.2",
"prismjs": "^1.30.0",
"regenerator-runtime": "^0.14.1",
"web-cell": "^3.2.2",
Expand Down Expand Up @@ -68,7 +68,7 @@
"jsdom": "^30.1.3",
"less": "^4.9.1",
"lint-staged": "^17.6.0",
"mobx": "^7.1.1",
"mobx": "^7.1.3",
"open-cli": "^9.0.0",
"parcel": "~2.16.4",
"prettier": "^3.9.10",
Expand Down
Loading