0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2026-11-16 06:58:43 +00:00

Compare commits

...

5 commits

Author SHA1 Message Date
Mark Otto
da71a10442
docs(migration): summarize the Alpha 2 changes (#43383)
Add top-level highlights before the detailed migration notes. Link
the main changes to their related guides and component docs so
readers can find the upgrade steps.
2026-11-14 12:51:09 -08:00
Mark Otto
5016ca00f0
Prose: space blockquote and details children, keep media aspect ratio (#43146)
* Prose: space blockquote and details children, keep media aspect ratio

Reboot removes margins from blockquote children, so paragraphs in a quote touch. Details had the same problem. Images with width and height attributes became distorted after max-width shrank them. Block-level media that are direct children stretched across the flex column. Also remove a duplicate img max-width rule.

* fix(prose): honor font weights and preserve excluded content

Custom font weights did not reach prose headings or description terms.
Use the shared weight tokens. Keep child spacing outside not-prose
content so an excluded block retains its own layout.

* docs(prose): show the elements covered by prose styles

The example used one-paragraph quotes and utility-styled placeholders,
so it did not show the spacing and media fixes. Add a disclosure,
plain images, heading code, and excluded content to show those rules.

* docs(prose): give the mobile example more room

The bordered example narrowed the text on phones. Extend its top and
bottom borders to the viewport edges, remove the side borders, and
add vertical padding. Keep its content aligned with the page gutters.

* docs(prose): replace the retired themes image

Use the existing Bootstrap and Vite illustration to show how images
keep their aspect ratio in Prose.
2026-11-14 12:49:40 -08:00
Mark Otto
0af63a38fb
chore(docs): remove retired themes images (#43380)
Use the documentation image in the hero example. Remove the themes
screenshots and the unused editor completion screenshot from v6.
2026-11-14 12:49:32 -08:00
Mark Otto
bf5eee882d
Prototype native gap gutters for the flexbox grid (#43282)
* feat(grid): prototype flexbox gutters with native gap

Size numbered columns and offsets against a gap-aware track width so
mixed spans fit the row without column padding or negative margins.
Keep standalone column widths and responsive row-column overrides.

Document the gutter migration and add real-browser layout coverage for
mixed spans, offsets, wrapping, nesting, RTL, and custom column counts.

* docs: highlight responsive grid columns in examples

Match column classes anywhere in the class attribute so responsive-only
columns receive the same background, border, and spacing as other grid
examples. Include the override locally while BUI carries the shared fix.

* docs: consolidate grid example highlighting

Keep the grid example override in the existing docs stylesheet and
include responsive equal-width columns such as sm:col. Remove the extra
stylesheet and retain the same styling for reordered column classes.

* ci: update bundle limits for gap-based grid sizing

Set the four affected CSS limits from measured gzip sizes. Round
limits up to the next 0.25 kB, as the bundlewatch helper does.

* test(grid): account for scrollbars in responsive layouts

Linux browsers reserve space for the vertical scrollbar. Use the
measured row width for expected column widths and offsets.

* fix(grid): preserve padded column widths and explain gap migration

Grid-only builds could wrap padded columns without Reboot. Include
padding and borders in column widths, and check both grid entry
points. Update migration and layout docs for native gaps, nested
rows, column breaks, and the gutter variables used by widths.

* docs(grid): remove container padding from previews

Native grid gaps no longer cancel container padding. Remove the
container classes from grid previews so the columns fill each
example. Keep the classes in the code and StackBlitz examples.

* docs(grid): remove containers from example snippets

Keep the grid previews, code snippets, and StackBlitz markup the
same. Remove container classes from the example source and remove
the preview-only filter. Explain when to add a parent container.

* docs(grid): keep example alignment in docs styles

Remove the outer wrappers and text-center classes from grid
examples. Center the labels with the component example styles.
Keep the code focused on rows, columns, and gaps.

* docs(grid): restore nested snippet indentation

MDX removes two leading spaces from the template lines. Add that
level back in the source so columns and their content remain
indented in the rendered snippets.
2026-11-14 12:49:08 -08:00
Mark Otto
b7c095bb78
fix(chip): use the theme color for keyboard focus (#43382)
Themed chip links and buttons showed the primary focus ring. Use
the chip theme for the ring and for its dismiss button. Keep the
global focus color when no theme applies.

Show themed interactive chips in the docs. Cover direct and
inherited themes, active chips, and dismiss buttons in both modes.
2026-11-14 12:49:04 -08:00
27 changed files with 886 additions and 494 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 KiB